/*Stop animation on mobile*/
@media only screen and (max-width: 768px) {
	body .wpb_animate_when_almost_visible {
		opacity: 1;
		filter: alpha(opacity=100);
		-webkit-animation: none;
		-moz-animation: none;
		-o-animation: none;
		animation: none;
	}
}

/*Header mobile menu plugin*/
@media only screen and (max-width: 5000px) {

	/*#content {margin-top: 0;}*/

	body.mob-menu-overlay, body.mob-menu-slideout,
	body.mob-menu-slideout-over, body.mob-menu-slideout-top {
		padding-top: 0 !important;
	}

	/*.mob-menu-header-holder{background:none !important;}*/

	/*.mob-menu-header-holder.mobmenu .mob-menu-logo-holder .mob-standard-logo,*/
	/*.mob-menu-header-holder.mobmenu .mob-menu-logo-holder .mob-retina-logo {*/
		/*filter: brightness(0) invert(1);*/
	/*}*/
	
	.mobmenu-right-panel{min-width:300px;}

	.mobmenu-left-panel .mobmenu-left-bt,
	.mobmenu-right-panel .mobmenu-right-bt {
		right: 15px;
		top: 15px;
		font-size: 25px;
	}

	.mobmenu-left-panel .mobmenu-left-bt .mob-cancel-button,
	.mobmenu-right-panel .mobmenu-right-bt .mob-cancel-button {
		font-size: 20px !important;
	}
	
	.mobmenu-right-panel .mobmenu-right-bt .mob-cancel-button:before {
	    content: "\58";
	    font-family: "Font Awesome 6 Free";
	    font-weight: 900;
	    color:#fff;
	}

	.mob-expand-submenu i {
		font-size: 12px !important;
		/*color:#777 !important;*/
	}

	.mobmenu-content ul.sub-menu>li,
	.mobmenu-content li a {
		/*border-bottom: 1px solid rgba(150,150,150,0.5);*/
		/*font-family: brandon !important;*/
	}

	.mobmenu-content ul#mobmenuright {
		padding-left: 5%;
		padding-right: 5%;
	}

	/*.mobmenu-content ul#mobmenuright > li  {*/
	/*    border-bottom: 1px solid #cccccc;*/
	/*}*/

	/*.mobmenu-content ul#mobmenuright > li:last-child  {*/
	/*    border-bottom:none;*/
	/*}*/

	.mobmenu-content ul#mobmenuright>li.current-menu-item>a,
	.mobmenu-content ul#mobmenuright>li.current-menu-ancestor>a,
	.mobmenu-content ul#mobmenuright>li a:hover {
		font-weight: 500;
		color: #fff;
		
	}

	.mobmenu-content ul#mobmenuright>li a {
		padding: 10px 0;
		font-size:18px;
		line-height:1.2;
	}

	.mobmenu-content ul.sub-menu>li a,
	.mobmenu-content ul.mobmenuright>li:last-child a {
		/*border-bottom: 0px solid transparent;*/
	}

	.mobmenu-content li>.sub-menu {
		margin-bottom: 10px !important;
	}

	.mobmenu-content li>.sub-menu li {
		padding-left: 0 !important;
		position: relative;
	}

	.mobmenu-content li>.sub-menu li:before {
		content: '-';
		position: absolute;
		top: calc(9px*1.5/2);
		left: 0;
		display: block;
		font-size: 14px;
		font-weight: 400;
		display: none !important;
	}

	.mobmenu-content li>.sub-menu li>a {
		font-size: 16px !important;
		padding: 2px 0 !important;
		font-size: 16px;
	}

	.mobmenu-content #mobmenuright .sub-menu {
		background-color: transparent !important;
	}

	#masthead {
		display: none;
	}

	#mobmenuright li a,
	#mobmenuright li a:visited,
	#mobmenuright .mobmenu-content h2,
	#mobmenuright .mobmenu-content h3,
	.mobmenu-left-panel .mobmenu-display-name {
		font-family: brandon,  sans-serif !important;
	}

	.mob-menu-logo-holder>.headertext span {
		font-size: 30px;
		line-height: 40px;
		font-weight: 600;
	}
	
	.mobmenur-container {
    	top: 50%;
    	transform: translateY(-50%);
    	margin-top: 0;
    }
	
	.mobmenur-container img{
	    width:auto;
	    height:15px;
	}
}

@media only screen and (max-width: 767px) {
    .mob-menu-header-holder.mobmenu .mob-menu-logo-holder .mob-standard-logo,
	.mob-menu-header-holder.mobmenu .mob-menu-logo-holder .mob-retina-logo {
		height:35px !important;
	}
	
	.mob-menu-header-holder{height: 55px !important;}
	
	.mobmenur-container img {
    	width: auto;
    	height: 10px;
    }
	
}

.rightmbottom{
    padding-top:40px;
    padding-left:5%;
    padding-right:5%;
}

.rightmbottom .widget{
    padding:0;
}

.rightmbottom .widget:not(:last-child){margin-bottom:20px;}

.rightmbottom .widget_text{
    font-size:30px;
    color:#fff !important;
    font-weight:500;
}

.rightmbottom .widget_custom_html .social-media{}

.rightmbottom .widget_custom_html .social-media, 
.social-media.footer {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.rightmbottom .widget_custom_html .social-media a,
.social-media.footer a {
	width: 35px;
	height: 35px;
	color: #fff;
	background: transparent;
	border-radius: 50%;
	border:2px solid #fff;
	/*outline:1px solid #fff;*/
	font-size: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
	position: relative;
	z-index: 2;
	overflow: hidden;
	transition: all 0.5s ease-in-out;
	padding:0;
}

.rightmbottom .widget_custom_html .social-media a:last-child,
.social-media.footer a:last-child {
	margin-right: 0;
}

.rightmbottom .widget_custom_html .social-media a:before,
.social-media.footer a:before {
	content: '';
	position: absolute;
	top: 151%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	background: #57a4da;
	z-index: -1;
	transition: all 0.5s ease-in-out;
}

.rightmbottom .widget_custom_html .social-media a:hover:before,
.social-media.footer a:hover:before {
	top: 50%;
}

.rightmbottom .widget_custom_html .social-media a i,
.social-media.footer a i {
	position: relative;
	z-index: 3;
}

.rightmbottom .widget_custom_html .social-media a:nth-child(1):before,
.social-media.footer a:nth-child(1):before {
	background: #3b5999;
}

.rightmbottom .widget_custom_html .social-media a:nth-child(2):before,
.social-media.footer a:nth-child(2):before {
	background: linear-gradient(29.61deg, #f38334 0%, #da2e7d 50.39%, #6b54c6 100%);
}

.social-media.footer{
    justify-content: center;
}

.social-media.footer a {
    color: #80B83F;
    border: 2px solid #80B83F;
    margin-right: 15px;
}

.social-media.footer a:hover {
    color: #fff;
    border: 0;
}

@media only screen and (max-width: 479px) {
    .mobmenu-left-panel .mobmenu-left-bt .mob-cancel-button, 
    .mobmenu-right-panel .mobmenu-right-bt .mob-cancel-button {
    	font-size: 20px !important;
    }
    
    .mobmenu-content ul#mobmenuright > li a {
    	font-size: 18px;
    	padding: 10px 0;
    }
    
    .rightmbottom .widget_text{
        font-size:27px;
    }
}

/*go top*/
@media only screen and (max-width: 767px) {
	.go-top {
		right: 15px !important;
	}

	.go-top.show {
		bottom: 22px !important;
		z-index: 9999999;
	}
}

/*vc_row more gaps*/
@media only screen and (max-width: 767px) {
	.row-2-col>.wpb_column:first-child {
		padding-right: 0;
	}

	.row-2-col>.wpb_column:last-child {
		padding-left: 0;
	}

	.row-2-col>.wpb_column:nth-child(2n+1) {
		padding-right: 0;
	}

	.row-2-col>.wpb_column:nth-child(2n) {
		padding-left: 0;
	}
}

/*Full width row*/
@media only screen and (max-width: 767px) {

	.full-right-img-row {
		display: flex;
		flex-direction: column-reverse;
		justify-content: center;
		align-items: center;
	}

	.full-right-img-row>.wpb_column,
	.full-left-img-row>.wpb_column {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}

/*banner*/
@media only screen and (max-width: 767px) {
	.banner {
		margin-bottom: 70px;
	}
}

@media only screen and (min-width: 1600px) {
    .full-image {
        height: 600px;
    }
}

/*------------xinyi---------------*/
.sticky-active .mob-menu-header-holder {
    background-color: #fff;
}

@media only screen and (max-width: 991px) {
    .mobmenu-right-panel {
        width: 100%;
    }
}


@media only screen and (max-width: 767px) {
    .text-block-title {
        font-size: 28px;
    }
    .home-about-title .text-block-title {
        width: auto;
    }
    .home-about-title .text-block-title span {
        padding-left: 65px;
    }
    .home-about-title {margin-bottom: 0;}
    .full-right-img-row.home-about {
        flex-direction: column;
        margin-bottom: 35px;
    }
    .home-about-section:before {
        top: auto;
        bottom: 0;
        left: 35%;
    }
    .home-counting > .wpb_column > .vc_column-inner > .wpb_wrapper > .evc-counter {
        width: 100%;
        flex-basis: 100%;
    }
    .home-counting > .wpb_column > .vc_column-inner > .wpb_wrapper > .evc-counter:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.9);
    }
    .home-counting > .wpb_column > .vc_column-inner > .wpb_wrapper {
        border-top: none;
        border-left: 1px solid rgba(0,0,0,0.9);
    }
    .home-counting > .wpb_column > .vc_column-inner > .wpb_wrapper > .evc-counter > .evc-c-inner {
        width: 100%;
        display: flex;
    }
    .home-counting > .wpb_column > .vc_column-inner > .wpb_wrapper > .evc-counter .evc-c-title {
        width: 150px;
        font-size: 20px;
    }
    .home-counting > .wpb_column > .vc_column-inner > .wpb_wrapper > .evc-counter span.evc-c-digit {
        font-size: 45px;
        width: 55%;
        padding-left: 35px;
    }
    .home-counting > .wpb_column > .vc_column-inner > .wpb_wrapper > .evc-counter:last-child {
        padding-bottom: 15px;
    }
    .home-counting {
        margin-bottom: 70px;
    }
    .full-image {
        height: 300px;
    }
    .home-media-section {
        margin-top: 70px;
    }
    .home-media-section .text-block-title.space-left {
        width: fit-content;
    }
    .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image {
        width: calc(100% / 3);
        padding: 35px 15px;
    }
    
    .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image:first-child{padding-top:15px}
    .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image:last-child{padding-bottom:15px}
    
    .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image img {
        height: auto;
        object-fit: contain;
    }
    .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image:nth-child(3n){
        border-right: 0;
    }
    .contact-us {
        margin-top: 35px;
        padding: 55px 0 75px
    }
    .contact-us .text-block-title small span{
        padding-left: 0;
    }
    .form {
        width: 80%;
        margin: auto;
        padding-left: 0;
    }
    .contact-us:after {
        right: -16%;
        top: -100px;
        height: 100%;
        width: 36%;
        z-index: 0;
    }
    #sidebar-footer .sidebar-column .widget_nav_menu ul li {
        padding: 0 7px;
        border-right: 1px solid;
    }
    #sidebar-footer .sidebar-column .widget_nav_menu ul li:last-child {
        border-right: 0;
    }
    #sidebar-footer .sidebar-column .widget_media_image img {
        max-height: 40px;
    }
    .about-dream .text-block-title {
        text-align: left;
    }
    .about-dream .vc_row.wpb_row.vc_inner .wpb_text_column {
        margin-bottom: 0;
    }
    .about-dream .wpb_column:nth-child(2) {padding-top: 10px;}
    .about-vision-mission {
        padding: 35px 0;
    }
    .about-vision-mission .vc_row.vc_inner .wpb_single_image {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 7px;
        margin-bottom: 20px;
    }
    .about-director-sec .director-row:nth-child(2) {
        margin-bottom: 35px;
        display: flex;
        flex-direction: column-reverse;
    }
    .director-row .wpb_single_image img {
        max-height: 350px;
        width: auto;
        object-fit: contain;
    }
    .director-row .wpb_single_image:before {
        width: 160%;
        height: 100%;
    }
    .director-row .director-name, .director-row .summary{
        margin-bottom: 25px;
    }
    .about-director-sec .director-row:nth-child(2) {margin-bottom: 0;}
    .about-our-team .team-col .wpb_column:last-child {
        position: absolute;
        right: auto;
        top: auto;
        left: 50%;
        transform: translate(-50%, -35px);
        width: 85%;
    }
    
}

@media only screen and (max-width: 991px) {
    .about-our-team .team-col .wpb_single_image * {width: 100%;}
    .team-col .wpb_single_image img {
        object-fit: contain;
        max-height: 400px;
        object-position: center;
    }
    .about-our-team > .wpb_column {
        width: 100%;
        margin-bottom: 35px;
    }
    .about-our-team {
        margin-bottom: 0;
    }
    .address-row .image-col {
        margin-left: 0;
        width: 100%;
    }
    .address-row .image-col .wpb_single_image {
        width: 100%;
        margin: auto;
    }
    .address-row .details-col {
        margin-right: 0;
        z-index: 9;
        margin-top: -85px;
        width: 80%;
    }
    .contact-address-sec .address-row {
        display: flex;
        flex-direction: column-reverse;
    }
    .address-row .details-col:before {
        content: '';
        background: transparent;
        width: 106%;
        height: calc(100% - 69px);
        position: absolute;
        left: 50%;
        top: auto;
        bottom: -15px;
        transform: translate(-50%, 0);
        z-index: -3;
        border: 1px solid #80ac3f;
        border-top: 0;
    }
    .address-row .details-col > .vc_column-inner {
        padding: 50px 20px 0 20px;
    }
    .contact-address-sec .address-row:not(:last-child) {
        margin-bottom: 65px;
    }
}

@media only screen and (max-width: 767px) {
    .about-director-sec {
        margin-bottom: 50px;
    }
    .about-our-team > .wpb_column {
        margin-bottom: 15em;
    }
    .our-team-sec {
        margin-bottom: 0;
    }
    .about-company-sec {
        margin-top: 70px;
        margin-bottom: 70px;
    }
    .about-companies-row .image-col:not(:last-child) {
        border-top: 0;
        border-right: 0;
    }
    .about-companies-row .image-col {
        padding: 35px 15px;
        border-left: 1px solid rgba(0,0,0,0.9);
    }
    .about-companies-row > .wpb_column >.vc_column-inner > .wpb_wrapper {
        justify-content: space-between;
    }
    .about-companies-row .image-col > div > div > div {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .about-companies-row .image-col .wpb_single_image img {
        width: 120px;
        padding: 10px;
    }
    .about-companies-row .image-col .vc_custom_heading {
        font-size: 18px;
        font-weight: 600;
        text-align: left !important;
    }
    .popup-intro-sec .director-photo {
        width: 80%;
    }
    .popup-intro-sec .director-photo figure {
        border-radius: 15px;
        overflow: hidden;
    }
    section.popup-intro-sec:after {
        content: '';
        position: absolute;
        top: -35px;
        right: -85px;
        background-size: 100% 100%;
    }
    .popup-intro-sec .cert-grid {
        width: 100%;
    }
    .page-id-35 .home-media-section .text-block-title {
        text-align: left;
    }
    .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image:not(:nth-child(3n)) {
        border-right: 1px solid rgba(0,0,0,0.9);
    }
    .home-media-section.media-news .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image {
        width: 100%;
    }
    .home-media-section.media-news .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image:not(:nth-child(4n+4)) {
        border: 0;
    }
    .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image .vc_figure {
        width: 100%;
    }
    .home-media-section.media-news .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image img {
        height: 300px;
    }
    .home-media-section.media-news .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid #808080 !important;
    }
    .home-media-section.media-news {
        margin-top: 0;
        margin-bottom: 65px;
    }
    .home-media-section.media-news .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image:last-child {border-bottom: 0 !important;}
    
    .contact-address-sec {
        margin-bottom: 75px;
    }
    
    .home-media-section.media-news .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image{border-top: none !important;}
    
}

/*CSK*/
@media only screen and (max-width: 767px) {
    #sidebar-footer .sidebar-column .widget_media_image {
    	margin-bottom: 30px;
    }
    
    #sidebar-footer .sidebar-column .widget{margin-bottom:30px;}
    
    #sidebar-footer .sidebar-column .widget:last-child{margin-bottom:10px;}
    
    .home-media-image-row {margin-bottom:35px;}
    
    .home-media-image-row > .wpb_column > .vc_column-inner > .wpb_wrapper {
    	display: flex;
    	justify-content: center;
    	align-items: stretch;
    	flex-wrap: wrap;
    }
    
    .home-about-title .text-block-title br {
    	display: block;
    }
    .home-media-section .text-block-title br {
    	display: block;
    }
    
    .contact-us  .text-block-title br {
    	display: block;
    }
    
    .arkos-project-row{margin-bottom:0;}
}