/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:500;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{transition: box-shadow 0.6s ease-in-out;box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

.colorbox_box_shadow {
    padding: 9px 16px;
}

.colorbox_box_shadow #cboxWrapper {
    margin-left: 16px;
}

.colorbox_noborder {
    border: 0px solid transparent;
}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#0E1F35;opacity:0;}
#colorbox{outline:0;}
    #cboxContent{
		margin-top:32px;
		margin-bottom: 20px;
		overflow: visible;
	}
	
	#cboxLoadedContent {
		/* This par will be for small screens to allow a scrollbar which will croll the colorbox inner content */
		max-height: calc(100vh - 65px) !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
	}
	
	/* Colorbox overflow scrollbar */
	#cboxLoadedContent::-webkit-scrollbar {
		width: 7px;
		height: 7px;
		cursor: pointer;
	}
	 
	/* Track */
	#cboxLoadedContent::-webkit-scrollbar-track {
		-webkit-border-radius: 0px;
		border-radius: 0px;
		background: #F9F9FB;
		cursor: pointer;
	}
	 
	/* Handle */
	#cboxLoadedContent::-webkit-scrollbar-thumb {
		-webkit-border-radius: 0px;
		border-radius: 0px;
		background: rgba(237, 27, 45, 0.8);
		width: 7px;
		height: 7px;
	}
	#cboxLoadedContent::-webkit-scrollbar-thumb:window-inactive {
		background: rgba(237, 27, 45, 0.8); 
	}

	#cboxLoadedContent::-webkit-scrollbar-corner {
		background: #FFFFFF;
	}
	
    #cboxLoadedContent.forcedhidden {
        overflow: hidden !important;
    }
    
    #cboxLoadedContent.forcedVisibility {
        overflow: visible !important;
    }
    
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent {
            background-color: #ffffff;
            border: 1px solid #a5adbd;
        }
        #cboxLoadedContent.removeborder {
            border: 0px !important;
        }
        #cboxLoadedContent.roundedborder {
            background: #FFFFFF;
			border-radius: 8px;
        }
        #cboxLoadingGraphic{}
        #cboxLoadingOverlay{background: transparent;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(../gfx/colorbox-controls.png) no-repeat 0 0;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{background-position:0px 0px; right:44px;}
        #cboxPrevious:hover{background-position:0px -25px;}
        #cboxNext{background-position:-25px 0px; right:22px;}
        #cboxNext:hover{background-position:-25px -25px;}
        #cboxClose{background-position:-50px 0px; right:2px;top:-24px;display: none;}
        #cboxClose:hover{background-position:-50px -25px;}

#cboxContent.fullscreen_preview {
    margin: 0px !important;
}

#cboxLoadedContent.fullscreen_preview {
    background: transparent;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    border: 0px !important;
    box-shadow: none !important;
    max-height: 100vh !important;
}

.ndp_title {
    position: relative;
}

.ndp_title h2 {
	font-size: 19px;
    color: #3e5a7f;
    display: block;
    border-bottom: 1px solid #ededed;
    background-color: #fff !important;
    font-family: 'Roboto';
	margin-bottom: 0px;
	line-height: 20px;
	font-weight: 500;
    text-align: left !important;
    padding: 20px 22px;
    width: calc(100% - 44px);
}

.ndp_content {
    padding: 25px 20px 25px 20px !important;
    width: calc(100% - 40px) !important;
    margin: 0px !important;
    text-align: left !important;
}

.ndp_content label.deflabel {
    display: block;
    color: #3E5A7F;
    font-size: 14px;
    font-family: 'Roboto';
    margin-bottom: 10px;
}

.ndp_content label.deflabel.inlinelabel {
    margin-top: 10px !important;
    float: left;
}

.ndp_content input[type=radio] + label {
    padding-left: 30px;
    padding-top: 2px;
}

.ndp_content input[type=text] {
	height: 43px;
    max-width: 423px;
    width: 100%;
    width: calc(100% - 30px);
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
    border: 1px solid #9CAFC9;
    border-radius: 3px;
    background-color: #FFFFFF;
    font-family: 'Roboto';
    margin-bottom: 20px;
}

.ndp_content input[type=text]:focus {
    border-color: rgba(237, 27, 45, 0.8) !important;
}

.ndp_content input[type=text].smaller {
    max-width: 70px;
    margin-bottom: 0px;
}

.ndp_content b {
    font-family: 'Roboto';
}

.ndp_buttons  {
    background-color: #F9F9FB;
    padding: 8px 20px !important;
    margin: 0px !important;
    min-height: 10px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #EDEDED;
}

.close_ndp {
    display: inline-block;
    position: absolute;
    top: 22px;
    right: 27px;
    cursor: pointer;
    color: #8592A9;
    font-size: 18px;
}

.close_ndp:hover {
    color: #3E5A7F !important;
}