/*
 Theme Name:     BookYourTravel Child
 Theme URI:      http://themeforest.net/item/book-your-travel-online-booking-wordpress-theme/5632266?ref=themeenergy
 Description:    Book Your Travel Child Theme
 Author:         themeenergy
 Author URI:     http://themeforest.net/user/themeenergy
 Template:       BookYourTravel
 Version:        1.0.0
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
#mega-menu-wrap-primary-menu #mega-menu-primary-menu{
	text-align: left;
}
.ribbon .wpml-ls-legacy-dropdown a{
	padding-left: 3px;
    padding-right: 8px !important;
}
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after{
	right: 0;
}
.row-ticket{
	width: 100%;
	margin: 25px 0;
}
.bp-card {
	position: relative;
}
.bp-card .bp-card_label {
	position: absolute;
	top: 30px;
	left: 0;
	bottom: 30px;
	width: 135px;
	background: white;
	cursor: pointer;
}
.bp-card .bp-card_label::before {
	content: "";
	background-color: transparent;
	background-image: url("images/ticket-top.svg");
	background-size: contain;
	background-repeat: no-repeat;
	width: 130px;
	height: 100px;
	position: absolute;
	top: -30px;
	left: 0;
}
.bp-card .bp-card_label::after {
	content: "";
	background-image: url("images/ticket-bottom.svg");
	background-size: contain;
	background-position: bottom left;
	background-repeat: no-repeat;
	width: 130px;
	height: 100px;
	position: absolute;
	bottom: -30px;
	left: 0;
}
.bp-card .bp-card_label .bd-border_dotted {
	content: "";
	width: 0px;
	border-right: 5px dashed #f0f0f0;
	height: 100%;
	position: absolute;
	top: 0;
	right: 40px;
}
.bp-card .bp-card_label .bd-ticket_number {
	writing-mode:tb-rl;
    -webkit-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform:rotate(180deg);
    transform: rotate(180deg);
	letter-spacing: 3px;
	font-size: 18px;
	text-align: center;
	height: 100%;
	position: absolute;
	top: 0;
	left: calc(130px/ 3.1);
	font-family: 'sevenseg';
}
.bp-card .bp-card_content {
	position: relative;
	background: white;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	width: calc(100% - 128px);
	margin-left: calc(128px - 1px);
	display: flex;
}
.bp-card_content .bp-col{
	padding: 25px 20px !important;
    border-left: 1px solid rgba(0,0,0,0.2);
    margin-bottom: 0;
}
.bp-card_content .bp-logo{
	text-align: center;
}
.bp-card_content .bp-logo p{
	margin: 10px 0 0 0;
	font-size: 14px;
}
.bp-card_content .bp-logo span{
	font-size: 11px;
	color: rgba(0,0,0, 0.5);
}
.bp-card_content .bp-buy{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.bp-card_content .bp-buy .bp-price{
	margin: 15px 0;
    font-size: 1.2rem;
    font-weight: 700;
}
.bp-card_content .bp-col:last-child{
	border-left: none;
}
.bp-card .bp-card_content .bp-info{
	text-align: center;
	font-size: .9rem;
}
.bp-card .bp-card_content .bp-info-flight{
	display: flex;
}
.bp-card .bp-card_content p.secondary {
	color: #ffaf96;
	margin: 0;
	padding-top: 10px;
}
.bp-card .bp-card_content ul {
	list-style: none;
	margin: 50px 0 0 0;
	padding: 0;
}
.bp-card .bp-card_content ul span {
	display: block;
	color: #a8a8a8;
}
.bp-card .bp-card_content ul li {
	padding: 0;
	display: inline-block;
	padding-right: 30px;
}
.bp-card .bp-card_content a.price {
	color: #ffaf96;
	text-decoration: none;
	position: absolute;
	top: 35px;
	right: 35px;
	font-size: 36px;
	background: rgba(255, 175, 150, 0.1);
	padding: 10px;
	border-radius: 3px;
}
.flight-destination-mapicon{
	position: relative;
	color: #bdbdbd;
	font-size: 1.2em;
}
.flight-destination-mapicon:before{
	content: " ";
    position: absolute;
    top: 11px;
    right: 0;
    width: 100%;
    height: 1px;
    border-top: 1px dashed #d2d2d2;
}
.flight-destination-mapicon .fa-plane-departure{
    position: absolute;
    right: -30px;
    top: -2px;
}
.flight-destination-mapicon .fa-plane-arrival{
    position: absolute;
    left: -30px;
    top: -2px;
}
.bp-card .bp-card_content .bp-meta-flight{
	display: flex;
	color: rgba(0,0,0,0.5);
	font-size: .8rem;
}
.bp-card .bp-card_content .bp-meta-flight .bp-capacity i{
	margin-left: 5px;
}
.bp-card .bp-card_content .bp-buy button{
	padding: 10px 15px;
	font-size: 1rem;
	margin: auto;
    width: 100%;
}
.bp-card .bp-card_content .bp-buy button i{
	font-size: 1.2rem;
    vertical-align: middle;
    margin-left: 8px;
}
@media only screen and (max-width: 600px) {
	.bp-card {
		position: relative;
	}
	.bp-card_content .bp-col{
		border-left: none;
	}
	.bp-card .bp-card_label {
		top: 0;
		left: 0;
		bottom: 0;
		width: calc(100% - 40px);
		margin-left: 20px;
		height: 120px;
		position: relative;
	}
	.bp-card .bp-card_label:after, .bp-card .bp-card_label:before {
		-webkit-transform: rotate(90deg);
		transform: rotate(90deg);
		-webkit-transform-origin: top left;
		transform-origin: top left;
		width: 126px;
		top: -2px;
	}
	.bp-card .bp-card_label:after {
		left: 80px;
		right: auto;
	}
	.bp-card .bp-card_label:before {
		left: auto;
		right: -146px;
	}
	.bp-card .bp-card_label .bd-border_dotted {
		width: 100%;
		border-top: 4px dashed #f0f0f0;
		border-right: none;
		height: 4px;
		top: 92px;
		left: 0;
	}
	.bp-card .bp-card_label .bd-ticket_number {
		width: 80%;
		top: 45px;
		left: 10%;
		writing-mode:lr-tb;
	    -webkit-transform:rotate(0deg);
	    -moz-transform:rotate(0deg);
	    -o-transform: rotate(0deg);
	    -ms-transform:rotate(0deg);
	    transform: rotate(0deg);
	}
	.bp-card .bp-card_content {
		margin-left: 0;
		width: 100%;
		padding: 3% 5% 5% 5%;
		display: block;
	}
	.bp-card .bp-card_content h4 {
		font-size: 32px;
		margin: 0;
	}
	.bp-card .bp-card_content ul {
		list-style: none;
		margin: 20px 0 0 0;
		padding: 0;
	}
	.bp-card .bp-card_content ul span {
		display: block;
		color: #a8a8a8;
	}
	.bp-card .bp-card_content ul li {
		padding: 0;
		display: inline-block;
		width: 100%;
		padding-right: 30px;
		margin-bottom: 5px;
	}
	.bp-card .bp-card_content a.price {
		position: relative;
		width: 100%;
		display: block;
		margin: 0 auto;
		top: auto;
		right: auto;
		margin-top: 20px;
		text-align: center;
	}
	.bp-card .bp-card_content a.price:before {
		content: "";
		background-size: contain;
		position: absolute;
		right: 22px;
		top: 22px;
		width: 20px;
		height: 20px;
	}
}
.nsflight-search-form label{
	display: block;
}
.ui-datepicker{
	z-index: 99 !important;
}
.ns-textright{
	text-align: right;
}
.ns-textleft{
	text-align: left;
}
.lastsec_row{
	margin: 20px 0 !important;
}
.lastsec_row h2{
	margin-bottom: 0 !important;
	margin-top: 15px;
}
.lastsec_row .row-ticket:first-of-type{
	margin-top: 8px !important;
}

.modal_flight {
  position: fixed;
  z-index: 10000;
  top: 1%;
  left: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
}

.modal_flight.is-visible {
  visibility: visible;
}

.modal_flight-overlay {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsla(0, 0%, 0%, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.modal_flight.is-visible .modal_flight-overlay {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.modal_flight-wrapper {
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 50%;
  width: 40%;
  margin-left: -20%;
  background-color: #fff;
  box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
}

.modal_flight-transition {
  transition: all 0.3s 0.12s;
  transform: translateY(-10%);
  opacity: 0;
}

.modal_flight.is-visible .modal_flight-transition {
  transform: translateY(0);
  opacity: 1;
}

.modal_flight-header,
.modal_flight-content,
.modal_flight-footer{
  padding: 1em;
}

.modal_flight-header{
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.modal_flight-footer{
  position: relative;
  background-color: #fff;
  border-top: 1px solid #e8e8e8;
  color: red;
}
.modal_flight-footer p{
	margin: 0;
}

.modal_flight-heading {
  font-size: 1.2rem;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.modal_flight-content > *:first-child {
  margin-top: 0;
}

.modal_flight-content > *:last-child {
  margin-bottom: 0;
}

.modal_flight-content table tr td{
	background-color: rgba(0,0,0, 0.08);
	border-width: 2px;
}
.modal_flight-content table tr td:first-child{
	width: 30%;
	font-weight: 700;
}

.modal_flight-close {
  position: absolute;
  top: 0;
  left: 0;
  color: #aaa;
  border: 0;
}
.modal_flight-close i{
	font-size: 1rem;
	margin: 16px;
}

.modal_flight-close:hover {
  color: #777;
}
@media only screen and (max-width: 769px) {
	.modal_flight{
		top: 0;
	}
	.modal_flight-wrapper{
		left: 0;
		width: 100%;
		margin-left: 0;
	}
	.modal_flight-content .one-third{
		width: 33% !important;
	}
	.modal_flight-content .price_row input[type="text"]{
		font-size: .8rem;
	}
	#modal_flight_adlprice_full{
		font-size: 1.1rem;
		width: 35%;
	}
	.modal_flight_adlprice_full p{
		font-size: .9rem;
	}
	h2.modal_flight-heading{
		display: contents;
	}
	.modal_flight-content table td{
		font-size: .7rem;
	}
	.modal_flight-footer{
		font-size: .7rem;
	}
	.bp-info-flight i{
		display: none;
	}
	#modal_flight_adlprice_full{
		font-size: 1rem;
	}
	.modal_flight-content .price_row input[type="text"]{
		font-size: .9rem;
	}
}

.modal_flight-content table td{
	padding: 5px;
}

.ns_title_search_result{
	margin: 25px 0;
    font-size: .9rem;
    background: white;
    padding: 15px;
}
h3.no_result_flight{
	padding: 15px;
	background-color: #fff;
}
.ns_hide_field{
	display: none;
}
.modal_flight-body input[type="text"]{
	background-color: transparent;
	border: none;
	height: 20px;
}
.ns_flightcheck_loader{
	background: rgba( 255, 255, 255, .8 ) url(images/load.gif) no-repeat center center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    display: none;
}
.modal_flight-content .price_row, .modal_flight-content .price_row input[type="text"]{
	text-align: center;
}
.modal_flight-content .price_row input[type="text"]{
	font-size: 1.2rem;
    padding: 20px 0 !important;
    font-weight: 700;
}
#modal_flight_adlprice_full{
	font-size: 1.8rem;
	text-align: center;
	font-weight: 700;
	padding: 20px 0 !important;
	width: 20%;
}
.modal_flight_adlprice_full{
	text-align: center;
	font-size: 1.2rem;
	font-weight: 400 !important;
}
.modal_flight_adlprice_full p{
	display: flex;
	align-items: center;
}
#frm_modal_flight{
	text-align: center;
}
.start_reserve{
	font-size: 1rem !important;
	width: 50%;
}
.start_reserve i{
	margin-left: 5px;
    font-size: 1.3rem;
    vertical-align: middle;
}
#frm_modal_flight span{
	position: relative;
}
#frm_modal_flight table tr td{
	background: none;
	border: none;
	width: auto;
}
#frm_modal_flight select{
	width: 100%;
}

.flight-multi-step {
  margin: 1em 0;
}

.flight-multi-step-list {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-pack: justify;
          justify-content: space-between;
  list-style-type: none;
  padding: 0;
}
.flight-multi-step-list .flight-multi-step-item{
	list-style: none;
}
.flight-multi-step-list .flight-multi-step-item:first-child {
  margin-left: 0;
}
.flight-multi-step-list .flight-multi-step-item:last-child {
  margin-right: 0;
}

.flight-multi-step-item {
  position: relative;
  width: 100%;
  margin: 0 0.3333333333em;
  z-index: 2;
  border-radius: 0.2em;
}
@media only screen and (max-width: 786px) {
  .flight-multi-step-item {
    margin: 0 0.3333333333em;
  }
}
.flight-multi-step-item .item-title,
.flight-multi-step-item .item-subtitle {
  position: relative;
  margin: 0;
  z-index: 2;
}
@media only screen and (max-width: 786px) {
  .flight-multi-step-item .item-subtitle {
    display: none;
  }
}
.flight-multi-step-item .item-title {
  color: #454141;
  font-weight: 600;
  margin: 0;
}
.flight-multi-step-item.active:hover {
  cursor: pointer;
}
.flight-multi-step-item.current .item-title, .flight-multi-step-item.current .item-subtitle {
  color: #fff;
}
.flight-multi-step-item.active.current:hover .item-title, .flight-multi-step-item.active.current:hover .item-subtitle{
  color: #F7F0F0;
}
.flight-multi-step-item:hover .item-title, .flight-multi-step-item:hover .item-subtitle{
	color: #F7F0F0;
}
.flight-multi-step-item.error:after {
  position: absolute;
  top: 50%;
  z-index: 2;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: .5em;
  content: "!";
  color: #d50000;
}

.flight-multi-step .item-wrap {
  padding: 1em;
  position: relative;
  height: 100%;
}
.flight-multi-step .item-wrap:before, .flight-multi-step .item-wrap:after {
  position: absolute;
  left: 0;
  content: ' ';
  width: 100%;
  height: 50.5%;
  z-index: 1;
  background-color: #E9E9E9;
}
.flight-multi-step .item-wrap:before {
  top: 0;
  -webkit-transform: skew(20deg);
          transform: skew(20deg);
  border-radius: .2em .2em 0 0;
}
.flight-multi-step .item-wrap:after {
  bottom: 0;
  -webkit-transform: skew(-20deg);
          transform: skew(-20deg);
  border-radius: 0 0 .2em .2em;
}

.flight-multi-step .current .item-wrap:before,
.flight-multi-step .current .item-wrap:after {
  background-color: #5fc8c2;
}

.flight-multi-step .active:hover .item-wrap:before,
.flight-multi-step .active:hover .item-wrap:after {
  background-color: #5fc8c2;
}

.flight-multi-step-item.error .item-title,
.flight-multi-step-item.error .item-subtitle {
  padding-right: 2em;
}

.flight-multi-step-item:first-child .item-wrap,
.flight-multi-step-item:last-child .item-wrap {
  width: 100%;
  border-radius: 0.2em;
}
.flight-multi-step-item:first-child .item-wrap:before, .flight-multi-step-item:first-child .item-wrap:after,
.flight-multi-step-item:last-child .item-wrap:before,
.flight-multi-step-item:last-child .item-wrap:after {
  width: 50%;
}

.flight-multi-step-item:first-child .item-wrap {
  background: -webkit-gradient(linear, left top, right top, color-stop(95%, #E9E9E9), color-stop(5%, transparent));
  background: linear-gradient(to right, #E9E9E9 95%, transparent 5%);
}
.flight-multi-step-item:first-child .item-wrap:before, .flight-multi-step-item:first-child .item-wrap:after {
  left: 50%;
}

.active.flight-multi-step-item:first-child:hover .item-wrap {
  background: -webkit-gradient(linear, left top, right top, color-stop(95%, #5fc8c2), color-stop(5%, transparent));
  background: linear-gradient(to right, #5fc8c2 95%, transparent 5%);
}

.current.flight-multi-step-item:first-child .item-wrap {
  background: -webkit-gradient(linear, left top, right top, color-stop(95%, #5fc8c2), color-stop(5%, transparent));
  background: linear-gradient(to right, #5fc8c2 95%, transparent 5%);
}

.flight-multi-step-item:last-child .item-wrap {
  background: -webkit-gradient(linear, right top, left top, color-stop(95%, #E9E9E9), color-stop(5%, transparent));
  background: linear-gradient(to left, #E9E9E9 95%, transparent 5%);
}
.flight-multi-step-item:last-child .item-wrap:before, .flight-multi-step-item:last-child .item-wrap:after {
  right: 50%;
}

.active.flight-multi-step-item:last-child:hover .item-wrap {
  background: -webkit-gradient(linear, right top, left top, color-stop(95%, #5fc8c2), color-stop(5%, transparent));
  background: linear-gradient(to left, #5fc8c2 95%, transparent 5%);
}

.current.flight-multi-step-item:last-child .item-wrap {
  background: -webkit-gradient(linear, right top, left top, color-stop(95%, #5fc8c2), color-stop(5%, transparent));
  background: linear-gradient(to left, #5fc8c2 95%, transparent 5%);
}

.checked .flight-multi-step-item.completed:after {
  position: absolute;
  top: 50%;
  z-index: 2;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: .5em;
  content: "✓";
  color: #54b948;
}

.numbered .flight-multi-step-item {
  counter-increment: step-counter;
}
.numbered .flight-multi-step-item .item-wrap {
  padding-left: 5em;
}
.numbered .flight-multi-step-item:before {
  content: counter(step-counter);
  position: absolute;
  top: 50%;
  left: .75em;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  min-width: 1.65em;
  padding: 0.5em 1em;
  z-index: 2;
  font-size: .85em;
  background-color: #999;
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: 0.2em;
}

.flight-multi-step .item-wrap .badge {
  position: absolute;
  right: .5em;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 3;
}

.flight-multi-step .error .item-wrap .badge {
  right: 2em;
}
.flight-multi-step .error .item-wrap .badge ~ .item-title,
.flight-multi-step .error .item-wrap .badge ~ .item-subtitle {
  padding-right: 3em;
}

.flight-multi-step-loading {
  opacity: .75;
}

.current.flight-multi-step-loading:before {
  border-color: #fff;
  border-top-color: transparent;
  opacity: 1;
}
.passenger-sec, .bookdetail-sec{
	display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    justify-content:flex-start;
    align-items:stretch;
    background-color: #fff;
    align-items: center;
    padding: 25px 15px !important;
    margin-bottom: 12px;
}
.passenger-sec .header-pass{
	border-bottom: 1px solid rgba(0,0,0, .08);
	padding-bottom: 8px !important;
	font-size: .9rem;
	font-weight: 700;
}
#frm_book h2{
	width: 100%;
}
#frm_book .btn_container{
	text-align: center;
	padding: 25px;
}
#frm_book select{
	width: 100%;
} 
#frm_book .btn_submit_book{
	font-size: 1.1rem;
	width: 55%;
}
.bookdetail-sec-head{
	display: flex;
	align-items: center;
	margin-bottom: 0 !important;
	padding: 12px 10px !important;
}
.bookdetail-sec-head img{
	width: 50px;
	margin-left: 10px;
}
.bookdetail-sec-head h2{
	margin-bottom: 0 !important;
}
.bookdetail-sec .reqnumber{
	text-align: left;
	padding: 12px 10px;
}
.bookdetail-sec table{
	margin: 20px 0;
	overflow-x: auto;
}
@media only screen and (max-width: 600px) {
	.bookdetail-sec table{
		display: block;
	}
}
.bookdetail-sec table th{
	text-align: center;
	font-size: .8rem !important;
	font-weight: 700;
}
.bookdetail-sec table tr td{
	text-align: center;
}
.bookdetail-sec table.tbl1{
	border: 1px solid #aaa;
}
.bookdetail-sec table.tbl1 tr td{
	background-color: #E9E9E9;
	color: #616A6B;
	border: none;
	font-size: .85rem;
}
.bookdetail-sec table.tbl1 tr td:nth-child(2){
	text-align: left;
}
.bookdetail-sec table.tbl2 tr td.sum_fare{
	padding: 12px;
	font-size: 1.1rem;
	background-color: #28B463;
	font-weight: 700;
	color: #fff;
	background-clip: unset !important;
}
#payment_flight .break{
    flex-basis: 100%;
    height: 10px;
}
#payment_flight .btn_submit_reserve{
	width: 100%;
}
#payment_flight{
	width: 60%;
	margin: 20px auto;
	display: flex;
	flex-wrap: wrap;
}
#payment_flight .radio-wrap{
	align-items: center;
    justify-content: center;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
#payment_flight .radio-wrap input[type="radio"]{
	opacity: 0;
    width: 0;
    height: 0;
}
#payment_flight .radio-wrap input[type="radio"]:checked ~ label{
	opacity: 1;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
}
#payment_flight .radio-wrap label {
    padding: 15px 10px;
    width: 100%;
    text-align: center;
    border: 1px dashed rgba(0,0,0,0.05);
    display: block;
    line-height: 20px;
}
#payment_flight .radio-wrap label:hover {
    cursor: pointer;
}
#payment_flight .radio-wrap label[for*=zarinpal]:before {
    background-image: url(images/zarinpal.png);
}
#payment_flight .radio-wrap label[for*=sadad]:before {
    background-image: url(images/sadad.png);
}
#payment_flight .radio-wrap label:before {
    content: ' ';
    background-size: 40px 40px;
    height: 40px;
    width: 40px;
    display: block;
    margin: 0 auto;
    margin-bottom: 5px;
}
.bookdetail-sec span.reqnumber{
	font-size: .85rem;
    letter-spacing: 3px;
    font-family: tahoma;
    font-weight: 700;
}
.bookdetail-sec span.createdate{
	color: #F33636;
    font-weight: 700;
    letter-spacing: -.5px;
}
.bookdetail-sec span.region{
	font-size: .9rem;
    font-weight: 700;
    letter-spacing: -.2px;
}
.success_msg{
	text-align: center;
	padding: 25px;
	background-color: #fff;
}
.success_msg h2{
	letter-spacing: -.3px;
	color: #2ECC71;
}
.success_msg h4{
	color: #E74C3C;
}
.success_msg a.print_ticket{
	font-size: 1rem;
	width: 20%;
	position: relative;
}
.success_msg a.print_ticket:before{
	content: '\f02f';
    font-family: 'Font Awesome 5 Free';
    font-size: 1.2rem;
    vertical-align: middle;
    padding-left: 8px;
}
.passport:disabled,
.passport[disabled]{
	background: #ddd;
}
.social li a{
	line-height: 45px;
}