/*
Theme Name: Tibs
Theme URI: https://www.thepercentage.asia/
Author: The Percentage Company
Author URI: https://www.thepercentage.asia/
Description: THE THAILAND INTERNATIONAL BOAT SHOW
Version: 1.2.6
Tags: one-column, two-columns, right-sidebar, left-sidebar, custom-menu, post-formats, sticky-post
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reflector
*/

/* CUSTOM STYLE */
/* Red Table */
.table-red-styled {
	color: #FFF;
}
.table-red-styled thead tr {
    height: 88px;
    text-align: center;
}
.table-red-styled thead tr {
    height: 88px;
	font-weight: 400;
    text-align: center;
	background-color: #e12d23;
    text-transform: uppercase;
}
.table-red-styled thead tr th {
	width: 12.5%;
	font-weight: 400;
    text-align: center;
    padding: 10px;
	border: 1px solid #e12d23;
    border-left-color: transparent;
    border-right-color: transparent;
	border-bottom-color: transparent;
}
.table-red-styled thead tr th:first-child {
	width:50%;
    font-size: 40px;
	font-weight: 400;
    text-align: left;
	border-left-color: #e12d23;
}
.table-red-styled thead tr th:last-child {
	border-right-color: #e12d23;
}
.table-red-styled tbody tr:first-child th,
.table-red-styled tbody tr:first-child td {
	color: #FFF;
    font-size: 18px;
	font-weight: 400;
	padding: 7px 10px;
	border-top-color: #FFF;
	background-color: #e12d23;
    text-transform: uppercase;
	border-left-color: #e12d23;
}
.table-red-styled tbody tr th,
.table-red-styled tbody tr td {
	color: #184578;
	font-size: 15px;
	font-weight: 600;
    padding: 7px 10px;
	border: 1px solid #e12d23;
}
.table-red-styled tbody tr td {
	text-align: center;
}
.table-red-styled tbody tr th {
	border-left-color: transparent;
}
.table-red-styled tbody tr td:last-child {
	border-right-color: transparent;
}
@media(max-width: 991px){
	.table-responsive {
		overflow: auto;
	}
}

/* Form Style */
.wpcf7 select {
    background-color:transparent;
}
.wpcf7 select:focus {
    border: 1px solid #184578 !important;
}
.wpcf7 label {
    float: left;
	font-size: 17px;
    font-weight: 300;
    display: inline-block;
    width: calc(50% - 15px) !important;
}
.wpcf7 label:nth-of-type(even),
.wpcf7 .wpcf7-form-control-wrap:not(.textarea-form):nth-of-type(odd) + br + label {
    width: calc(50% - 15px);
    display: inline-block;
    margin-left: 30px;
    float: none;
}
.wpcf7 .wpcf7-form-control-wrap:not(.textarea-form):nth-of-type(odd) + br + label + br + .wpcf7-form-control-wrap:not(.textarea-form):nth-of-type(even) {
    width: calc(50% - 15px);
    margin-left: 0;
    float: left;
}
.wpcf7 label:nth-of-type(odd){
    margin-left: 0;
}
.wpcf7 label span.wpcf7-form-control-wrap {
    width: 100% !important;
}
.wpcf7 span.wpcf7-form-control-wrap select {
    border: 1px solid rgba(34,34,34,.2);
    padding: 15px 10px;
    margin-bottom: 30px;
    width: 100%;
	font-size: 17px;
    font-weight: 300;
    line-height: 1.67;
}
.wpcf7 .wpcf7-form-control-wrap.textarea-form {
	display: contents !important;
}
.wpcf7 .wpcf7-form-control.wpcf7-acceptance label {
	display: flex;
    width: 100% !important;
}
.wpcf7 .wpcf7-form-control.wpcf7-acceptance input {
    margin-top: 5px;
	margin-right: 16px;
    width: 25px !important;
}
.wpcf7 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
	margin-right: auto;
	margin-left: 0 !important;
}
.wpcf7 p.space {
	min-height: 50px;
}
.wpcf7 input[type="submit"]:disabled {
	cursor: no-drop !important;
    background-color: #dddddd4a !important;
    border-color: #7474748c !important;
    color: #939393 !important;
}
.wpcf7 label.dropdown-label .wpcf7-not-valid-tip {
    font-size: 14px;
	bottom: 5px !important;
}
.wpcf7 label.dropdown-label + br {
	display: none;
}
.wpcf7 p > .wpcf7-form-control-wrap.consent {
	width: 100% !important;
}
.wpcf7 .wpcf7-form-control-wrap.consent {
	margin-left: 0 !important;
}
@media(max-width: 768px){
	.wpcf7-form-control-wrap {
		width: 100% !important;
	}
	.wpcf7 label,
	.wpcf7 label:nth-of-type(even),
	.wpcf7 .wpcf7-form-control-wrap:not(.textarea-form):nth-of-type(odd) + br + label {
		margin-left: 0;
		margin-bottom: 0;
		width: 100% !important;
	}
	.wpcf7 p.space {
		display: none;
	}
}

/* Footer & Copyright */
.copyright {
	color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    background-color: #184578;
}
.copyright .inner-wrap {
	padding: 10px 15px !important;
}
.copyright a {
	color: #fff;
    font-size: 12px;
    font-weight: 500;
}
.copyright a:hover {
	color: #ff9393;
}
.copyright .social-icon {
	display: flex;
    margin-left: auto;	
    margin-right: 10px;
}
.copyright .social-icon img {
    width: 22px;
    margin-top: auto;
    margin-left: 15px;
    margin-bottom: auto;
}
.copyright .social-icon a:last-child {
    margin: 2px 9px 0 22px;
}
.copyright .social-icon a:hover img {
    filter: opacity(0.7);
}
.copyright img.pct-logo {
	width: 120px;
    margin-left: 5px;
	margin-bottom: 1px;
}
.copyright .inner-wrap > div:last-child {
	display: flex;
	min-width: 50%;
	align-items: center;
}
#footer.modern .footer-bottom-phone.footer-bottom a {
	text-decoration: none;
	line-break: anywhere;
}
@media(max-width: 1024px){
	.copyright .inner-wrap {
		padding: 10px 30px !important;
	}
}
@media(max-width: 1199px){
	.copyright .inner-wrap {
		display: block !important;
		padding: 10px 10px 5px 10px !important;
	}
	.copyright .inner-wrap > div:first-child {
		margin-bottom: 5px;
	}
	.copyright .inner-wrap > div:last-child {
		display: block;
		min-width: unset;
	}
	.copyright .social-icon {
		display: block;
		margin-top: 15px;
		margin-bottom: 15px;
	}
	.copyright .social-icon a:last-child {
		display: none;
	}
}
@media(max-width: 768px){
	.copyright a,
	.copyright div {
		font-size: 9px;
	}
}

/* Countdown Timer */
.countdown-timer-area {
	width: 100%;
	position: relative;
	margin: 0 !important;
    max-width: unset !important;
}
#countdown-timer {
	position: absolute;
	display: grid;
    right: 40px;
	top: 75px;
}
#countdown-timer h3.text-title {
	color: #fff;
	padding: 10px;
    font-size: 45px;
	font-weight: 500;
    text-align: right;
    text-transform: uppercase;
}
#countdown-timer .countdown-timer-box {
    top: -35px;
	display: flex;
	position: relative;
	margin-left: auto;
	padding-right: 5px;
}
#countdown-timer .countdown-timer-box .time-items {
	display: grid;
	padding: 15px;
	min-width: 100px;
	text-align: center;
}
#countdown-timer .countdown-timer-box .time-items:first-child {
	padding-left: 0;
}
#countdown-timer .countdown-timer-box .time-items:last-child {
	padding-right: 0;
}
#countdown-timer .countdown-timer-box .time-items > div:first-child {
    color: #FFF;
	font-size: 65px;
    font-weight: 300;
    padding-bottom: 5px;
}
#countdown-timer .countdown-timer-box .time-items > div:last-child {
    bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffffed;
    position: relative;
}
@media(max-width: 1024px){
	#countdown-timer {
		right: 35px;
	}
	#countdown-timer h3.text-title {
		font-size: 35px;
	}
	#countdown-timer .countdown-timer-box .time-items > div:first-child {
		font-size: 50px;
	}
}
@media(max-width: 991px){
	#countdown-timer h3.text-title {
		font-size: 28px;
	}
	#countdown-timer .countdown-timer-box {
		top: -30px;
	}
	#countdown-timer .countdown-timer-box .time-items {
		min-width: 75px;
	}
	#countdown-timer .countdown-timer-box .time-items > div:first-child {
		font-size: 35px;
	}
	#countdown-timer .countdown-timer-box .time-items > div:last-child {
		bottom: 10px;
	}
}
@media(max-width: 465px){
	#countdown-timer h3.text-title {
		font-size: 18px;
		padding-right: 0;
	}
	#countdown-timer .countdown-timer-box .time-items {
		min-width: 40px;
	}
	#countdown-timer .countdown-timer-box .time-items > div:first-child {
		font-size: 25px;
	}
}
@media(max-width: 320px){
	#countdown-timer {
		right: 28px;
	}
	#countdown-timer .countdown-timer-box {
		margin-right: auto;
	}
}


/* Navbar & Mobile Menu */
#topmenu a.logo img.main-logo,
#topmenu a.logo img.main-logo {
	display: block !important;
}
#topmenu a.logo img.main-logo.logo-mobile,
#topmenu a.logo img.logo-hover {
	display: none !important;
}
#menu-main-menu > li > ul {
	padding: 15px 0 !important;
}
#menu-main-menu li.menu-item-5395 ul.sub-menu {
	right: 0;
	left: unset;
	min-width: 180px;
	position: absolute;
}
@media(max-width: 1415px) {
	.menu-wrapper ul.menu li {
		margin: 0 10px !important;
	}
}
@media(max-width: 1199px) {
	.logo-mobile a.logo img.main-logo,
	.logo-mobile a.logo img.logo-hover {
		display: none !important;
	}
	.logo-mobile a.logo img.main-logo.logo-mobile {
		display: block !important;
	}
	#menu-main-menu {
		overflow-x: hidden;
	}
	#menu-main-menu li i:before {
		color: #eb2727;
	}
}


/* Countdown Timer in navbar */
.countdown-timer-navbar-area {
	left: 325px;
	margin-top: 20px;
	position: absolute;
}
.countdown-timer-navbar-box {
	display: flex;
}
.time-items {
    font-size: 35px;
    min-width: 50px;
	text-align: center;
}
.time-items > div:last-child {
    top: -14px;
	font-size: 11px;
    font-weight: 500;
    position: relative;
}
.countdown-timer-navbar-area:before {
    top: -9px;
	color: #184578;
	font-size: 9px;
	font-weight: 600;
    position: absolute;
	content: 'COUNTDOWN TO THE SHOW';
}
@media(max-width: 1680px) {
	#topmenu {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	.countdown-timer-navbar-area {
		left: 230px;
	}
}
@media(max-width: 1470px) {
	#topmenu #menu-main-menu li {
		margin-left: 10px !important;
		margin-right: 10px !important;
	}
	.countdown-timer-navbar-area {
		margin-top: 3px;
	}
	.countdown-timer-navbar-area:before {
		top: -8px;
	}
	.time-items {
		font-size: 25px;
		min-width: 35px;
		font-weight: 400;
	}
	.time-items > div:last-child {
		top: -10px;
	}
	
}
@media only screen and (max-width: 1350px) and (min-width: 1200px) {
	#topmenu #menu-main-menu li {
		margin-left: 5px !important;
		margin-right: 5px !important;
	}
	#topmenu #menu-main-menu li a {
		font-size: 10px;
	}
}
@media(max-width: 1199px) {
	a.mob-nav-close {
		z-index: 9999;
		position: relative;
		background-color: #fff;
	}
	.logo-mobile img {
		padding: 0 !important;
	}
	#topmenu {
		overflow-x: hidden;
		background-color: #fff !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.countdown-timer-navbar-area {
		top: 26px;
		right: 15px;
		left: unset;
		z-index: 999;
		margin-top: 0;
		bottom: unset;
		position: fixed;
/* 		transform: scaleX(1); */
/* 		transform: translateX(0); */
/* 		transform: translate3d(0,0,0); */
/* 		-webkit-transform: translateZ(0); */
	}
	.admin_bar_showing .countdown-timer-navbar-area {
		top: 60px;
	}
	.countdown-timer-navbar-area:before {
		font-size: 9px;
		display: block;
		top: -10px;
	}
	.time-items {
		font-size: 25px;
		min-width: 35px;
		font-weight: 400;
	}
	.time-items > div:last-child {
		top: -9px;
		font-size: 9px;
	}
}
@media(max-width: 768px){
	.admin_bar_showing .countdown-timer-navbar-area {
		top: 70px;
	}
}
@media(max-width: 525px){
	.countdown-timer-navbar-area {
		right: 10px;
		margin-top: -3px;
	}
	.countdown-timer-navbar-area:before {
		font-size: 7px;
		top: -7px;
	}
	.time-items {
		font-size: 23px;
		min-width: 30px;
	}
	.time-items > div:last-child {
		top: -7px;
		font-size: 8px;
	}
}
@media(max-width: 425px){
	.logo-mobile img {
		margin-right: 60px;
	}
	.admin_bar_showing .countdown-timer-navbar-area {
		top: 72px;
	}
	.countdown-timer-navbar-area {
		margin-top: -4px;
	}
	.countdown-timer-navbar-area:before {
		top: -4.5px;
	}
	.time-items {
		font-size: 20px;
		min-width: 26px;
	}
	.time-items > div:last-child {
		top: -8px;
	}
}
@media(max-width: 335px){
	.logo-mobile img {
		padding: 5px !important;
	}
	.countdown-timer-navbar-area {
		margin-top: 0px;
	}
	.countdown-timer-navbar-area:before {
		min-width: max-content;
	}
	.time-items {
		font-size: 17px;
	}
}
@media(max-width: 320px){
	.logo-mobile img {
		margin-right: 70px;
	}
}

/* home page portfolio slider */
.portfolio-slider-wrap.urban_slider .gallery-top-slide {
	min-height: 500px !important;
}
.urban_slider .slick-prev::before,
.urban_slider .slick-next::before {
	color: #184578;
}
.urban_slider .slick-prev:hover::before,
.urban_slider .slick-next:hover::before {
	color: #FFF;
}
.gallery-thumb.slick-initialized.slick-slider {
	position: absolute;
    bottom: -20px;
}
.gallery-thumb-slide.slick-slide {
	padding: 0 35px;
}
.gallery-thumb-slide.slick-slide .pagination-bullet a {
	white-space: break-word;
}
.gallery-thumb-slide.slick-slide.slick-current .pagination-bullet a,
.gallery-thumb-slide.slick-slide.slick-current .pagination-bullet i,
.gallery-thumb-slide.slick-slide.slick-current {
	color: #fff !important;
}
.pagination-bullet i.pagination-category:after {
	display: none;
}
.gallery-top-slide-links.slick-slide.slick-current > .gallery-top-slide {
	filter: brightness(0.7) !important;
}
.contacts-info-wrap.image_form .socials-wrap a {
	font-size: 16px;
    margin-right: 20px;
}
@media(max-width: 768px){
	.portfolio-slider-wrap.urban_slider .gallery-top-slide {
		min-height: 350px !important;
	}	
	.gallery-thumb.slick-initialized.slick-slider {
		position: absolute;
		bottom: -7px;
	}
}

/* Home Page Group Btn */
@media(max-width: 767px){
	#media-partnet-button-grp a.a-btn-3 {
		min-width: 300px;
	}
}

/* Homepage Contact form */
.contacts-info-wrap.image_form .socials-wrap a {
	font-size: 16px !important;
	margin-right: 21px !important;
}
.contacts-info-wrap.image_form .images-wrap a.img-wrap {
	pointer-events: none;
}
@media(max-width: 1600px) {
	.contacts-info-wrap.image_form .socials-wrap {
		max-width: 515px;
		line-height: 30px;
	}
}
@media(max-width: 991px) {
	.contacts-info-wrap.image_form .socials-wrap {
		max-width: 100%;
	}
}

/* Spondsorship option page */
.spondsorship_packages .tabs.image-tabs {
	min-width: 50%;
}
.spondsorship_packages .content-wrap ul {
	margin-left: 15px;
}
@media(max-width: 576px){
	.spondsorship_packages .image-wrap {
		order: 2 !important;
		margin-top: 10px;
	}
}
@media(max-width: 991px){
	.spondsorship_packages .tabs.image-tabs {
		min-width: unset;
	}
}

/* Homepage Banner  */
@media(max-height: 425px){
	#banner .banner-slider-wrap.photography .swiper-slide .content-wrap .subtitle {
		margin-top: 51px !important;
		letter-spacing: 3px !important;
	}
	#banner .banner-slider-wrap.photography .swiper-slide .content-wrap .title {
		font-size: 20px !important;
		letter-spacing: 3px !important;
		margin-top: 15px !important;
	}
	#banner .banner-slider-wrap.photography .swiper-slide .content-wrap .btn-wrapper {
		margin-top: 30px !important;
	}
}

/* Search Page */
.search-list .post-wrap-item .info-wrap .text {
	word-break: break-all;
}

/* Sponsors Logo Images */
.line-of-images .line-item {
    margin: 0 auto;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
.line-of-images .line-item .line-logo {
	filter: none;
}
.line-of-images .line-item .line-logo:hover {
	filter: grayscale(1);
}
.line-of-images.logos2 img, .line-of-images.logos img {
	max-width: 160px !important;
}
.border-none {
	border: none !important;
}
.page-id-4045 .wpb_content_element,
.page-id-5559 .wpb_content_element {
	margin-bottom: 5px;
}
.page-id-4045 .vc_row,
.page-id-5559 .vc_row {
	margin-bottom: 0 !important;
}
.page-id-4045 .vc_column_container,
.page-id-5559 .vc_column_container {
	padding-top: 20px;
}
.page-id-4045 h3.title,
.page-id-5559 h3.title {
	margin-top: 30px;
}
@media(min-width: 768px){
	/* .page-id-4045 div.vc_row.wpb_row.vc_row-fluid > .wpb_column.vc_column_container.vc_col-sm-6:not(:first-child), */
	.page-id-5559 div.vc_row.wpb_row.vc_row-fluid > .wpb_column.vc_column_container.vc_col-sm-6:not(:first-child) {
		border-left: 1px dashed #ddd;
	}	
	.page-id-4045 div.vc_row.wpb_row.vc_row-fluid > .wpb_column.vc_column_container.vc_col-sm-6:first-child {
		border-right: 1px dashed #ddd;
	}
}
@media(max-width: 991px){
	.line-of-images .line-wrap {
		display: block;
	}
}


.post-media {
	filter: none !important;
}
.post-media:hover {
	filter: grayscale(100%) !important;
}


.line-of-images.logos2 .line-item, .line-of-images.logos .line-item {
	max-width: 100% !important;
}


/* WOW Modal */
.wow-modal-window .mw-close-btn:before {
	border-radius: 0 4px 0 7px !important;
    background: linear-gradient(to right,#fff 50%,#184578 50%) !important;
    background-size: 200% 100% !important;
    background-position: right bottom !important;
}
.wow-modal-window .mw-close-btn:hover:before {
	max-height: calc(100vh - 260px);
}
.wow-modal-window .mw-close-btn:hover:before {
	background-position: left bottom !important;
}
.wow-modal-window .modal-window-content {
	text-align: center;
	padding: 10px 30px;
	max-height: calc(100vh - 260px);
    overflow: auto;
}
.wow-modal-window .modal-window-content p{
	font-size: 20px;
    line-height: 25px;
}
.wow-modal-window .modal-window-content img{
    max-width: 200px;
    margin: 30px 0;
}

.modal-window .button-container {
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
	gap: 1rem;
}
@media screen and (min-width: 980px) {
	.modal-window .button-container {
		flex-direction: row;
	}	
}

.main-wrapper {
	padding-bottom: 0 !important;
	z-index: 32 !important;
}
#footer {
	z-index: 29 !important;
	position: relative !important;
}

.intercontinental-logo-div .line-of-images.logos2 img,
.intercontinental-logo-div .line-of-images.logos img {
	max-width: 230px!important;
}

/* sponsor logo */
.sponsor_supporting_authorities .line-of-images .line-wrap .line-item {
	margin: 0;
}
.sponsor_supporting_authorities .line-of-images .line-wrap .line-item:first-child {
	margin-left: auto;
}
.sponsor_supporting_authorities .line-of-images .line-wrap .line-item:last-child {
	margin-right: auto;
}

/* Pr & marketing logo */
.pr_marketing_support .line-of-images .line-wrap .line-item {
	padding: 0 !important;
}
.pr_marketing_support .line-of-images .line-wrap .line-item img {
	max-width: 250px !important;
}

.display-none {
	display: none;
}

body.blog .text {
	overflow: hidden;
    max-height: 36px;
    margin-right: -1em;
    padding-right: 3px;
}