.d_moduleMain {
    margin-bottom: 15px;
    padding: unset;
}

.d_moduleMain a:hover {
    color: #00aff0 !important;
}

.d_moduleInner .link:hover {
    text-decoration-color: #00aff0 !important;
}

.d_moduleMain a img:hover {
    filter: invert(55%) sepia(84%) saturate(2596%) hue-rotate(160deg) brightness(97%) contrast(102%);
}

.d_moduleMain a:focus {
    outline: 1px solid #00aff0 !important;
}

.d_formBox input[type="text"]:hover,
.d_formBox select:hover {
    color: #00aff0;
    transition: color .2s ease-out;
}

.d_formBox input[type="text"]:focus,
.d_formBox select:focus {
    outline: 1px solid #00aff0 !important;
}

.d_formBox input[type="text"]::placeholder {
    color: #AAAAB3;
}

.d_moduleMain .d_calendarNav a:hover {
    color: #015E80 !important;
}

/* Over Write */
.d_moduleArea h2 {
    display: none !important;
}

.d_moduleInner {
    background-color: #191B31;
    color: #FFFFFF;
    padding: 50px;
}

.d_formBox label {
    font-size: 20px;
}

.d_formBox input[type="text"] {
    padding: 0 50px 0 20px;
}

.d_formBox input[type="text"], .d_formBox select {
    border: none;
    color: #ffffff;
    background: transparent;
    border-bottom: 2px solid #02B8F2;
    background-color: #191B31;
    font-size: 24px;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.d_formBox select{
    cursor: pointer;
    padding: 0 30px 0 10px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url("/common-layout2/module/common/image/open.svg") no-repeat scroll calc(100% - 10px) #191B31;
}

.d_formBox select::-ms-expand{
    display: none;
}

.d_formBox *:focus {
    outline: none !important;
}

.d_formBox + .d_formBox {
    margin-top: 40px;
}

.d_formBox .d_locationIcon {
    position: absolute;
    right: 20px;
    z-index: 10;
    margin: 4px 0;
    height: 19.5px;
}

.d_formBox .d_numberOfPassenger dl {
    width: 31%;
}

.d_formBox .d_addChild {
    padding-left: 50px;
}

.d_formBox .d_addChild a {
    background: url(/common-layout2/module/common/image/add.svg) no-repeat left center;
    color: #ffffff;
    font-size: 20px;
    text-decoration-color: #707070;
}

.d_formBox .d_numberOfPassenger dl {
    vertical-align: unset;
}

.d_formBox > dl {
    padding: 0 30px 0 0;
}

.d_formBox > dl + dl {
    padding: 0 0 0 30px;
}

.d_autocomplete {
    background: #191B31;
}

.d_listItem.d_active {
    background: #02B8F2;
}

/* Tab Style */
.d_moduleInner p {
    margin-bottom: 0;
    margin-block-end: 0;
}

.d_moduleInner .tab-menu-list li {
    margin-right: 60px;
    display: inline-block;
    line-height: normal;
}

.d_moduleInner .tab-menu-list a.is-selected {
    font-weight: bold;
}

.d_moduleInner .tab-menu-list a {
    font-size: 20px;
    position: relative;
    display: block;
    width: 100%;
    min-width: 10px;
    padding-bottom: 15px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #FFFFFF;
    text-decoration: none;
}

.d_moduleInner .tab-menu-list a:hover {
    text-decoration: none;
}

.d_moduleInner .tab-menu-list a.is-selected:before {
    width: 100%;
}


.d_moduleInner .tab-menu-list a:before {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 5px;
    content: "";
    -webkit-transition: width 0.3s ease-out;
    -o-transition: width 0.3s ease-out;
    transition: width 0.3s ease-out;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    background-color: #00aff0;
}

.d_moduleInner .link {
    text-decoration: underline !important;
}

/* Airport Row */
.d_moduleInner .d_airport_row {
    width: 96%;
}

.d_moduleInner .d_airport_row input {
    font-size: 30px;
}

.d_moduleInner dl {
    margin-top: 0px;
}

.d_formBox .d_locationIcon img {
    width: 20.5px;
    height: 20px;
}

/* Date Row */
.d_moduleInner .d_date_row {
    width: 45%;
    float: left;
}

.d_formBox .d_dateIcon {
    font-size: 20px;
    height: 20px;
}

.d_formBox .d_dateIcon img {
    width: 21px;
    height: 19.5px;
}

.d_moduleInner .d_date_row hr {
    position: absolute;
    top: 9px;
    margin-left: -40px;
    width: 20px;
    height: 1px;
    background-color: #ffffff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3) inset;
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3) inset;
    -ms-box-shadow: 0 1px 2px rgba(0,0,0,0.3) inset;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3) inset;
}

/* Passenger*/
.d_formBox .d_numberOfPassenger>dl>dd {
    padding-top: 7.5px;
}

.d_formBox .d_numberOfPassenger .d_addChild {
    width:75%;
}

.d_formBox .d_numberOfPassenger {
    margin-left: 5%;
}

/* Class Row */
.d_moduleInner .d_flex {
    display: flex;
}

.d_moduleInner .d_class_row {
    width: 70%;
}

/* Compare Fares */
.d_moduleInner .d_compare_fares {
    padding-left: 27px;
    font-size: 24px;
}

.d_formBox .d_showAsCalendar label+label{
    padding-left: 20px;
}

.d_formBox .d_input_optional {
    padding-right: 90px !important;
}
html:lang(ru-ru) .d_formBox .d_input_optional {
    padding-right: 145px !important;
}
html:lang(tr-tr) .d_formBox .d_input_optional {
    padding-right: 110px !important;
}
html:lang(it-it) .d_formBox .d_input_optional {
    padding-right: 100px !important;
}

.d_formBox .d_input_optional + label {
    position: absolute;
    right: 3%;
    top: 3px;
    font-size: 18px;
    color: #8A8A8A;
}

/* Checkbox */
.d_formBox input[name="comparisonSearchType"] {
    height: 0px;
    width: 0px;
    position: absolute;
}

.d_formBox i.d_icon_checkbox:before {
	width: 1.15em;
	display: inline-block;
	content: " ";
}

.d_formBox i.d_icon_checkbox {
  background: url(/common-layout2/module/common/image/check.svg) no-repeat center;
  background-size: 100%;
  margin-right: 15px;
  margin-left: 13px;
}

.d_formBox input[name="comparisonSearchType"]:focus+i.d_icon_checkbox {
    box-shadow: 0 0 8px 2px #00aff0;
}

.d_formBox input:checked + .d_icon_checkbox {
  background: url(/common-layout2/module/common/image/check-filled.svg) no-repeat center;
  background-size: 100%;
}

/* Button Row */
.d_moduleInner .d_button_row {
    margin-top: 40px;
}

.d_formBox .d_searchBtn {
    width: 25%;
    float: right;
    margin: 0;
}

/* Calendar Modal */
.d_moduleModal.d_patternPC.d_calendarPosition {
    position: relative;
    top: -200px !important;
}

.d_moduleInner dt {
    display: none;
}

.d_promotionCode input[type="text"]::placeholder {
    font-size: 20px;
}

html:lang(ru-ru) .d_promotionCode input[type="text"]::placeholder {
    font-size: 16px;
}
html:lang(th-th) .d_promotionCode input[type="text"]::placeholder {
    font-size: 18px;
}
html:lang(fr-fr) .d_promotionCode input[type="text"]::placeholder {
    font-size: 16px;
}
html:lang(es-mx) .d_promotionCode input[type="text"]::placeholder {
    font-size: 18px;
}
html:lang(it-it) .d_promotionCode input[type="text"]::placeholder {
    font-size: 18px;
}
@media print, screen and (max-width:1660px) {
    .d_promotionCode input[type="text"]::placeholder {
        font-size: 16px;
    }
    html:lang(ru-ru) .d_promotionCode input[type="text"]::placeholder,
    html:lang(th-th) .d_promotionCode input[type="text"]::placeholder,
    html:lang(fr-fr) .d_promotionCode input[type="text"]::placeholder,
    html:lang(es-mx) .d_promotionCode input[type="text"]::placeholder,
    html:lang(it-it) .d_promotionCode input[type="text"]::placeholder {
        font-size: 16px;
    }
}

@media print, screen and (max-width:1460px) {
    .d_promotionCode input[type="text"]::placeholder {
        font-size: 12px;
    }
    html:lang(ru-ru) .d_promotionCode input[type="text"]::placeholder,
    html:lang(th-th) .d_promotionCode input[type="text"]::placeholder,
    html:lang(fr-fr) .d_promotionCode input[type="text"]::placeholder,
    html:lang(es-mx) .d_promotionCode input[type="text"]::placeholder,
    html:lang(it-it) .d_promotionCode input[type="text"]::placeholder {
        font-size: 12px;
    }
}

@media print, screen and (max-width:1600px) {
    .d_moduleInner .d_compare_fares {
        padding-left: 15px;
    }
}


@media print,
screen and (min-width:768px) and (max-width:1200px) {
    .d_promotionCode input[type="text"]::placeholder {
        font-size: 16px;
    }
    html:lang(th-th) .d_promotionCode input[type="text"]::placeholder,
    html:lang(it-it) .d_promotionCode input[type="text"]::placeholder {
        font-size: 16px;
    }
    html:lang(ru-ru) .d_promotionCode input[type="text"]::placeholder,
    html:lang(fr-fr) .d_promotionCode input[type="text"]::placeholder,
    html:lang(tr-tr) .d_promotionCode input[type="text"]::placeholder,
    html:lang(es-mx) .d_promotionCode input[type="text"]::placeholder {
        font-size: 12px;
    }
    
    .d_moduleInner {
        padding: 40px 8.3%;
    }
    
    .d_moduleLarge .d_formBox > dl {
        float: left;
        width: 41%;
        padding: 0 5px 0 0;
    }
    
    .d_formBox + .d_formBox {
        margin-top: 32px;
    }
    
    .d_moduleLarge .d_formBox > dl + dl {
        margin-top: 32px;
    }
    
    .d_formBox input[type="text"],
    .d_formBox select,
    .d_formBox .d_addChild a,
    .d_formBox label
    {
        font-size: 18px;
    }
    
    .d_formBox input[type="text"] {
        padding: 0 35px 0 10px;
    }

    /* Airport Row */
    .d_moduleInner .d_airport_row input {
        font-size: 24px;
    }
    
    .d_formBox .d_locationIcon img {
        width: 14.5px;
        height: 14px;
    }

    .m_departureAirport, .m_arrivalAirport {
        width: 100% !important;
        float: none !important;
    }

    .d_formBox .d_locationIcon {
        top: 10px;
        right: 10px;
    }

    /* Date Row */
    .d_moduleInner .d_date_row {
        width: 55%;
        float: none;
    }
    
    .d_moduleInner .d_date_row .m_retDateDl{
        margin: 0 0 0 40px;
    }
    
    .d_formBox .d_dateIcon img {
        width: 15px;
        height: 14.5px;
    }

    .d_formBox .d_dateIcon {
        top: 0;
    }

    .d_moduleInner .d_date_row hr {
        top: 2px;
        width: 15px;
        margin-left: -30px;
    }
    
    /* Checkbox */    
    .d_formBox i.d_icon_checkbox {
        margin-right: 10px;
    }

    /* Passenger Row */
    .d_moduleLarge .d_formBox .d_numberOfPassenger {
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .d_moduleInner .d_passenger_row {
        margin-top: 30px;
    }

    .d_compare_fares {
        margin-top: -150px !important;
        margin-left: -100px;
    }

    .d_moduleInner .d_airport_row {
        width: 100%;
    }

    .d_formBox .d_numberOfPassenger {
        margin-left: 0;
    }

    /* Class Row */
    .d_moduleInner .d_class_row dl:first-child {
        float: unset;
    }
    
    .d_formBox .d_numberOfPassenger>dl>dd {
        padding-left: 0px;
        padding-right: 10px;
    }

    .d_moduleInner .d_class_row dl {
        width: 100%;
    }

    /* Button Row */
    .d_formBox .d_searchBtn {
        width: 41%;
        float: right;
        clear: none;
        margin-top: 15px;
    }
    
    .d_searchBtn button[type="submit"] {
        height: 50px;
    }
}

@media screen and (max-width: 767px) {
    .d_moduleLarge .d_moduleInner,
	.d_moduleMedium .d_moduleInner,
	.d_moduleSmall .d_moduleInner { 
        display: block !important;
        padding: 20px;
    }


	.d_moduleLarge .d_bookingLink,
	.d_moduleMedium .d_bookingLink,
	.d_moduleSmall .d_bookingLink {
		display: none;
	}

    .d_moduleInner .d_airport_row {
		width:100%;
	}

    .d_moduleInner .tab-menu-list li {
    	margin-right: 15px;
    }

    .d_moduleInner .tab-menu-list a {
		font-size: 14px;
    }
    .d_formBox + .d_formBox {
		margin-top: 12px;
    }
    .d_moduleInner .d_airport_row input {
		font-size:16px;
    }
    .d_moduleInner .d_date_row {
		float: none;
        width:100%;
        font-size: 0;
        display: flex;
	}
    .d_moduleLarge .d_formBox:not(.d_airport_row) > dl {
		width: 47%;
    	display: inline-block;
	}
    .d_moduleLarge .d_formBox:not(.d_airport_row) > dl input {
		width: 100%;
        font-size: 14px;
	}
    .d_moduleLarge .d_formBox:not(.d_airport_row) > dl + dl {
		width: 53%;
    	display: inline-block;
        margin-top:0;
        padding-left:17px;
	}

    .d_moduleLarge .d_formBox .d_numberOfPassenger {
		margin-left:0;
	}


    .d_moduleInner .d_date_row hr {
		margin-left: -13px;
	}


    .d_formBox input[type="text"], .d_formBox select{
		font-size:9px;
        padding:0
    }

    .d_formBox .d_numberOfPassenger>.d_addChild {
		position: static;
        padding-left:0;
	}

    .d_formBox .d_addChild a {
		font-size:12px;
	}
    .d_moduleInner .d_class_row {
		width:100%
	}

    .d_moduleInner .d_flex {
		display:block;
	}

    .d_moduleLarge .d_formBox:not(.d_airport_row).d_class_row > dl {
		width:100%;
        padding-left:0;
	}

    .d_moduleLarge .d_formBox:not(.d_airport_row).d_class_row > dl input {
		width:100%
	}
    .d_moduleInner .d_compare_fares {
		padding-left:0;
	}
    .d_formBox .d_showAsCalendar {
		text-align: left;
	}

     .d_formBox .d_showAsCalendar label {
		font-size:12px;
	}
    .d_formBox .d_searchBtn {
		width:auto;
	}
    .d_formBox .d_searchBtn .btn--primary {
		padding: 8px 20px;
        font-size:12px;
	}
    .d_formBox .d_locationIcon{
    	right:0px;
    }
    .d_formBox i.d_icon_checkbox{
    	margin-left:0px;
        margin-right:3px;
    } 
    .d_moduleLarge .d_formBox:not(.d_airport_row) > dl input{
    	font-size:12px;
    }
    .d_formBox .d_input_optional + label{
    	top:6px;
        right:0;
        font-size:12px;
        position:absolute;
    }
	.d_formBox .d_input_optional {
    	padding-right: 0 !important;
    }
    .d_moduleInner .d_date_row hr{
    	width:8px;
    }
    .d_formBox .d_dateIcon {
    	right:0;
    }
    .d_formBox .d_dateIcon img{
    	width:18px;
        height:18px;
    }
    .d_formBox .d_numberOfPassenger>dl>dd {
		min-width:none;
    }
    .d_formBox select{
    	background: url(/common-layout2/module/common/image/open.svg) no-repeat scroll calc(100% - 0px) #191B31;
    }
    .d_formBox .d_numberOfPassenger .m_adultCount{
    	width:85%;
    }
    .d_formBox .d_numberOfPassenger .m_childCount{
    	width:75%;
        margin-left:10px;

    }
    .d_formBox .d_locationIcon img{
    	width:18.5px;
        height:18px;
    }
    .d_formBox .d_addChild a{
    	background-size:15px 15px;
        padding: 7px 0 7px 23px;
    }
    .d_patternTablet .d_calendar .d_month{
    	width:100%;
    }

    .d_moduleLarge .d_formBox:not(.d_airport_row) > dl{
    	display:inline- block;
    }

    .calendar-module .d_patternTablet .d_moduleModalContents {
        height: calc( 100vh - 150px);
    }
    
    .d_country {
        width: 120px;
    }

    .d_country li {
        font-size: 10px;
    }

    .d_patternTablet .d_airport {
        padding: 0 0 0 0px;
    }

    .d_airportSection {
        position: absolute;
    }

    .d_airport li {
        font-size: 10px;
    }

    select#m_adultCount {
        font-size: 7px;
    }

    select#m_youngAdultCount {
        font-size: 7px;
    }

    select#m_childCount {
        font-size: 7px;
    }

    select#m_infantCount {
        font-size: 7px;
    }

}

@media screen and (max-height: 320px) {
    .d_country li a {
        padding: 2px 8px;
        font-size: 8px;
    }

    .d_patternTablet .d_airport {
        font-size: 8px;
    }

    .d_country li, .d_airport li {
        font-size: 8px;
    }

    .d_patternTablet .d_modalTitle {
        padding: 5px 0 10px;
    }

    .d_modalTitle {
        font-size: 12px
    }

    .d_modalSubTitle {
        font-size: 8px;
    }

    .d_patternTablet .d_calendar {
        padding: 0;
    }

    .calendar-module .d_patternTablet .d_moduleModalContents {
        height: calc( 100vh - 73px );
    }

    .m_airportListTable.d_patternTablet .d_moduleModalContents {
        height: 100%;
    }

    .d_modalClose img {
        height: 10px;
    }

    .d_modalClose > a {
        height: 10px;
        line-height: 0.5
    }

    .d_btnModalClose {
    margin-bottom: 10px;
    }
}