/* jQuery Overrides */
/*********************************************************************/
.ui-datepicker-trigger {
	width: 30px;
	height: 30px;
	font-family: Peptasia;
	font-size: 20px;
	/*color: #78899E !important;*/
	color: #169DBE !important;
	padding: 0;
	background:none;
	border:none;
	top: -95px;
	position: relative;
	left: 135px;	
}
.ui-dialog {
	z-index: 10001 !important;
}
div.ui-datepicker {
	font-size: 12px;
	margin: 24px auto;
	width: 25em !important;
}
.ui-datepicker table {
	width: 80%;
	margin: 0 auto 0 auto;
}
.ui-datepicker-group {
	width: 43% !important;
}
.ui-datepicker-group-first {
	margin-left: 7%;
}
.ui-datepicker-header {
	border: 0 !important;
	background: none !important;
}
td > span.ui-state-default {
	border: 0 !important;
	background: none !important;
	opacity: .7 !important;
}
td > a.ui-state-default {
	color: #169DBE !important;
	border: 0 !important;
	background: none !important;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
	float: right;
}
/*div.ui-datepicker {
	font-size: 12px;
}*/
.ui-datepicker-prev {
	top: 102px !important;
	left: 0 !important;
	color: #169DBE !important;
	font-size: 15px !important;
	width: 1em !important;
}
.ui-datepicker-next {
	top: 102px !important;
	left: 405px !important;
	color: #169DBE !important;
	font-size: 15px !important;
	width: 1em !important;
}
.ui-datepicker-prev:hover,
.ui-datepicker-next:hover,
.ui-widget-content .ui-datepicker-prev.ui-state-hover,
.ui-widget-content .ui-datepicker-next.ui-state-hover{
	background: none !important;
	border: 0 !important;
	cursor: pointer;
}
.ui-datepicker.ui-widget.ui-widget-content {
	width: 614px;
	margin-top: 24px;
	margin-left: -183px;
	border: 1px solid #A1AFC0;
	border-radius: 4px;
	padding: 22px 20px;
	font-size: 14px;
	height:255px !important;
}

.ui-datepicker.ui-widget.ui-widget-content:before{
    content: "";
    position: absolute;
    bottom: 100%;
    left:50%;
    z-index: 1000;
	width: 27px;
	height: 14px;
	background-repeat: no-repeat;
	background-image: url('../images/dcl-datepicker-arrow-up.png');
}
@media only screen and (max-device-width: 480px) {
	.ui-datepicker.ui-widget.ui-widget-content:before{display:none;}
}

.ui-datepicker .ui-datepicker-title {
	font-family: Avenir-Medium;
	font-style: normal;
	font-weight: normal;
	color: #253B56;
	font-size: 14px;
}
.ui-datepicker th {
	font-size: 12px;
	font-family: Avenir-Roman;
	font-weight: normal !important;
	color: #78899E;
}
tbody {
	border-top: 1 px solid #D0D7DE !important;
}
.ui-datepicker td {
	text-align:center !important;
}
.ui-datepicker-group-first {
	margin-left: 5%;
}
.ui-datepicker-group-last {
	margin-left:5%;
}
td a.ui-state-hover, td a.ui-state-highlight, .ui-state-default.ui-state-highlight.ui-state-active {
	color: #FFFFFF !important;
}
td a.ui-state-highlight, td.ui-datepicker-current-day, .ui-state-default.ui-state-highlight.ui-state-active  {
	background: #253B56 !important;
}
td.ui-datepicker-current-day a {
	color: #FFFFFF !important;
}
td a.ui-state-default.ui-state-highlight, td a.ui-state-default.ui-state-highlight.ui-state-hover {
	color: #117E98 !important;
	background-color: white !important;
}
td a.ui-state-default.ui-state-highlight.ui-state-hover {
	color: white !important;
	background-color: #117E98 !important;
}
.ui-state-disabled {
	font-style: normal !important;
}
.ui-datepicker td span, .ui-datepicker td a {
	text-align: center !important;
}
.arrow-icon {
	font-family: Peptasia;
	font-size: 20px;
	font-weight: normal;
}
.arrow-icon-prev:after {
	content: 'T';
}
.arrow-icon-next:after {
	content: 'Y';
}

/* TABLETS and up */
/*********************************************************************/
@media (min-width: 768px) {
	.container {
		max-width: 1000px;
	}
	div.ui-datepicker {
		font-size: 10px;
		margin: 0 auto;
		width: 45em !important;
	}
	.ui-datepicker-prev {
		left: -25px !important;
	}
	.ui-datepicker-next {
		left: 255px !important;
	}
}

/* DESKTOPS and up */
/*********************************************************************/
@media (min-width: 1025px) {
	.container {
		max-width: 1440px;
	}
}


/* ADDED BY SB, 3/15/19 */
/*********************************************************************/
select {
    width: 100%;
}
.menu-overflow {
	height:225px !important;
}
.ui-selectmenu-button, .ui-selectmenu-menu {
	width: 300px !important;
	margin-bottom:38px;
}
:focus {outline: none !important;-moz-outline:none;}
.step1-character-container:focus{border:3px solid #253B56;-webkit-transition:all 0s;transition:all 0s;}
.back-btn:focus a span{color:#253B56;text-decoration:none;font-weight:bold;}
.back-btn a:focus span{color:#253B56;text-decoration:none;font-weight:bold;}
.step1-go-back a:focus {text-decoration:underline;}
.desktop-faq-arrow-down:focus, .desktop-faq-arrow-up:focus {color: #253B56;}
.ui-corner-all {
    border-bottom-left-radius: 0px; 
    border-bottom-right-radius: 0px;
    border-top-left-radius: 0px; 
    border-top-right-radius: 0px;
}
.ui-state-default {
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid #A1AFC0;
	background: #ffffff;
}
.ui-state-hover {
    border-bottom: 2px solid #117E98;
}
.ui-state-focus {
    border-bottom: 2px solid #253B56;
}
.ui-state-error {
	border-bottom: 2px solid #AC162C !important;
	background: none !important;
	margin-bottom: 0px !important;
	color: #AC162C !important
}
.ui-datepicker-trigger.ui-state-error {
	border-bottom: none !important;
	top: -35px;
}
.ui-state-default .ui-icon {
	background: url('../js/jquery-ui-1.11.4.smoothness/images/dropdowndefault.svg') !important;
	width: 12px;
	height: 9px;
	background-repeat: no-repeat;
}
.ui-state-hover .ui-icon {
    background: url('../js/jquery-ui-1.11.4.smoothness/images/dropdownhover.svg') !important;
	width: 12px;
	height: 9px;
	background-repeat: no-repeat;
}
.ui-state-focus .ui-icon {
    background: url('../js/jquery-ui-1.11.4.smoothness/images/dropdownfocus.svg') !important;
	width: 12px;
	height: 9px;
	background-repeat: no-repeat;
}
.ui-state-error .ui-icon {
    background: url('../js/jquery-ui-1.11.4.smoothness/images/dropdownerror.svg') !important;
	width: 12px;
	height: 9px;
	background-repeat: no-repeat;
}
.ui-selectmenu-button span.ui-selectmenu-text {
    font-family: Avenir-Roman;
    color: #A1AFC0;;
    font-size: 16px;
    padding: 0.4em 2.1em 0.4em 0em;
}

.ui-state-hover.ui-selectmenu-button span.ui-selectmenu-text {
   color: #117E98;
}
.ui-state-focus.ui-selectmenu-button span.ui-selectmenu-text {
   color: #253B56;
}
.ui-state-error.ui-selectmenu-button span.ui-selectmenu-text {
   color: #AC162C;
}
.error-msg {
	color: #AC162C;
	font-family: Avenir-Roman;
	font-size: 14px;
	display: block;
	margin-bottom: 35px;
	text-align:left !important;
}
.desktop-block .cruise-date-error.error-msg, .desktop-block .call-date-error.error-msg {
	margin-top:-25px;
}
.mobile-block .cruise-date-error.error-msg, .mobile-block .call-date-error.error-msg {
	margin-top:-25px;
}
.error-label {
	color: #AC162C !important;
}

.ui-widget-content {
    border: 1px solid #D0D7DE;
    color: #253B56;
    font-family: Avenir-Roman;
    font-size: 16px;
}

.ui-widget-content .ui-state-hover, .ui-widget-content .ui-state-selected {
    border: none;
    background: #117E98 !important;
    color: #FFFFFF;
}

.ui-widget-content .ui-state-focus, .ui-widget-content .ui-state-focus:checked {
    border: none;
    background: #253B56;
    color: #FFFFFF;
    margin: 0px;
}

.ui-widget-content .ui-state-focus:hover {
    background: #117E98 !important;
}

.ui-widget-content .ui-state-active {
    border: none;
    /*background: red;*/
    color: #FFFFFF;
}

.ui-menu .ui-menu-item {
    height: 43px;
    padding-top: 10px;
}

.ui-state-disabled {
    font-style: italic;
}

.desktop-input {
	width:300px !important;
	font-family: Avenir-Roman;
	font-size: 16px;
	color: #253B56;
	border-bottom:2px solid #A1AFC0;
}
.mobile-input, .mobile-date-input {
	width:345px !important;
	font-family: Avenir-Roman;
	font-size: 16px;
	color: #253B56;
	border-bottom:2px solid #A1AFC0;
	border-radius: 0 !important;
}
.desktop-input:hover, .mobile-input:hover {
    border-bottom:2px solid #117E98;
    color: #117E98;
}
.desktop-input:focus, .mobile-input:focus {
    border-bottom:2px solid #253B56;
	color: #253B56;
}

.form-label {
	font-family: Avenir-Roman;
	font-size: 12px;
	color: #78899E;
	position: absolute;
	/*top: -19px;*/
	top: 0px;
	left: 2px;
	text-align: left;
	width: 300px;
	display: block;
	pointer-events: none;
	opacity: 0.001;
	-webkit-transition: all 0.5s; transition: all 0.5s;
	letter-spacing:0;
}
.form-label:hover {
	color: #117E98;
}
.form-element {
	width: 300px;
	margin-left: auto;
	margin-right: auto;
	height: 50px;
	margin-bottom: 30px !important;
}
.show-label {
	top: -19px;
	opacity: 1;
}

#mobile-back-button:hover, #desktop-back-button:hover {
	text-decoration: none;
}

/* disable background color of auto-fills - SB: not working, browser seems to override */
.edge-autofilled, input:-webkit-autofill {
	background-color: rgb(255,255,255)  !important;
	box-shadow: inset 0px 0px 0px 50px white;
}

@media (max-width:768px) {
	.ui-selectmenu-button, .ui-selectmenu-menu {
		width: 345px !important;
	}	
	.ui-icon-triangle-1-s {
		background-position: -63px -16px;
	}
	.ui-datepicker.ui-widget.ui-widget-content {
		width: 345px !important;
		margin-left: 0px;
	}
	.ui-datepicker-prev {
		left: -2px !important;
	}
	.ui-datepicker-next {
		left: 284px !important;
	}
	.ui-datepicker-trigger  {
		margin-top: 15px !important;
		left: 155px;
		/*top: -75px;
		position: relative;
		left: 135px;*/
	}
	.ui-datepicker-trigger.ui-state-error {
		left: 155px;
	}
	.form-element {
		width: 345px;
		margin-left: 10px !important;
		height: 50px;
	}
	/* CHANGE IN STYLING of CALENDAR on MOBILE DEVICES */
	.ui-datepicker.mobileDevice .ui-datepicker-prev {
		top: 5px !important;
		left: 10px !important;
	}
	.ui-datepicker.mobileDevice .ui-datepicker-next {
		top: 5px !important;
		left: 314px !important;
	}
	.ui-datepicker.ui-widget.ui-widget-content.mobileDevice {
		padding: 12px 0 20px 0;
		font-size: 18px;
		height: auto !important;
	}
	.ui-datepicker.mobileDevice .ui-datepicker-title {
		font-size: 17px;
	}
	.ui-datepicker.mobileDevice th {
		font-size: 17px;
		padding: 0.6em 0.3em;
		border-bottom: 2px solid #d8dee3;
	}
	.ui-datepicker.mobileDevice table {
		width: 90%;
	}
	.ui-datepicker.mobileDevice td {
		padding: 8px 5px;
		font-size: 19px;
	}
}