/*Writen by Cheah Siew Kwan (Inspiren)*/

/*Font face*/
@font-face {
  font-family: goth;
  font-weight:300;
  src: url(./fonts/Gotham-Light.otf);
}

@font-face {
  font-family: goth;
  font-weight:400;
  src: url(./fonts/Gotham-Book-Regular.otf);
}

@font-face {
  font-family: goth;
  font-weight:600;
  src: url(./fonts/Gotham-Medium.otf);
}

@font-face {
  font-family: goth;
  font-weight:700;
  src: url(./fonts/Gotham-Bold.otf);
}

/*grow Effect*/
.grow-effect figure {
    overflow: hidden;
}

.grow-effect img {
    -moz-transition: -moz-transform 1s;
    -o-transition: -o-transform 1s;
    -webkit-transition: -webkit-transform 1s;
    transition: transform 1s;
}

.grow-effect:hover img {
    -moz-transition: -moz-transform 1s;
    -o-transition: -o-transform 1s;
    -webkit-transition: -webkit-transform 1s;
    transition: transform 1s;
    transform: scale(1.15);
}

/*Gallery Grow Effect*/
/*.gallery-grow-effect .vc_gitem-animated-block{*/
/*    overflow: hidden;*/
/*}*/
/*.gallery-grow-effect .vc_gitem-zone{*/
/*    -moz-transition: -moz-transform 1s;*/
/*    -o-transition: -o-transform 1s;*/
/*    -webkit-transition: -webkit-transform 1s;*/
/*    transition: transform 1s;*/
/*}*/

/*.gallery-grow-effect .vc_gitem-animated-block:hover .vc_gitem-zone {*/
/*    -moz-transition: -moz-transform 1s;*/
/*    -o-transition: -o-transform 1s;*/
/*    -webkit-transition: -webkit-transform 1s;*/
/*    transition: transform 1s;*/
/*    transform: scale(1.15);*/
/*}*/

/***********Side Contact New Xiao Chen****************/
a.floating-button {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 160px;
    right: 30px;
    font-size: 20px;
    background-color: rgba(37, 211, 102, 1);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    z-index: 1000;
    animation: pulsess 3s infinite;
}
a.floating-button_phone {
    bottom: 240px;
    background-color: rgba(220, 16, 16, 1);
}

a.floating-button_mail {
    bottom: 80px;
    background-color: rgba(0, 114, 198, 1);
}

a.floating-button_fb {
    bottom: 320px;
    background-color: rgba(53, 120, 229, 1);
}

a.floating-button:hover {
    color: #fff;
    background-color: rgba(37, 211, 102, .45);
    animation-play-state: paused;
}
a.floating-button_phone:hover {
    background-color: rgba(220, 16, 16, .45);
}

a.floating-button_mail:hover {
    background-color: rgba(0, 114, 198, .45);
}

a.floating-button_fb:hover {
    background-color: rgba(53, 120, 229, 0.45);
}

@keyframes pulsess {
  0% {
    box-shadow: 0 0 0 0 rgba(0,0,0, .3);
  }
  30% {
    box-shadow: 0 0 0 10px rgba(0,0,0, 0.1);
  }
  50% {
    box-shadow: 0 0 0 0 rgba(0,0,0, 0);
  }
  80% {
    box-shadow: 0 0 0 10px rgba(0,0,0, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,0,0, 0);
  }
}


/*Overall*/
html{
    position: relative;
    height: 100%;
    overflow-x: hidden;
}

@media only screen and (max-width: 767px) {

    body{
        position: relative;
        height: 100%;
        overflow-x: hidden;
    }
	
}

body >*{
  line-height:1.2;
}

.preloader {display:none}

body, h1, h2, h3, h4, h5, h6, p, a, li #mainnav ul li a, .portfolio-info, .roll-testimonials .name, .roll-team .team-content .name, .roll-team .team-item .team-pop .name, .roll-tabs .menu-tab li a, .roll-testimonials .name, .roll-project .project-filter li a, button, .roll-button, .roll-counter .name-count, .roll-counter .numb-count button, input[type="button"], input[type="reset"], input[type="submit"] {
	font-family: goth !important;
}

h1, h2, h3, h4, h5, h6{
    margin-top:0 !important;
    /*font-weight:400 !important;*/
}

ul{
    list-style-position:outside;
    padding-left:20px;
}

ul li{
    margin-bottom:10px;
    position:relative;
}

.entry-header{display:none;}
.entry-footer{display:none;}

.single-post .entry-header{display:block;}
.single-post .entry-header .single-meta{display:none;}

.single-post .entry-header h1{padding:0;}

.page #content.page-wrap .content-wrapper, 
.single #content.page-wrap .content-wrapper,
.woocommerce #content.page-wrap .content-wrapper{
    padding-top:0;
    padding-bottom:0;
}

.content-wrapper .content-area .hentry{padding-bottom:0;}

/*Header*/
#masthead{
    padding:10px 0;
    background-color:transparent;
}

#masthead.float-header{
    background-color:rgba(0,0,0,0.6);
}

.header-clone{display:none !important;}

#masthead .site-logo{
    width:auto;
    height:45px;
}

#mainnav ul li{
    margin-bottom:0;
}

#mainnav ul.menu > li > a{
    /*text-transform:uppercase;*/
}

#mainnav ul.menu > li > a{
    position:relative;  
    font-weight:600;
}

#mainnav ul.menu > li > a:before {
    content:'';
    position:absolute;
    top:-2px;
    left:50%;
    transform:translateX(-50%);
    width:calc(100% + 20px);
    height:50%;
    border:1px solid #dcb805;
    border-bottom:none;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity:0;
    visibility:hidden;
    display:block;
}

/*#mainnav ul.menu > li > a:hover,*/
/*#mainnav ul.menu > li.current-menu-item > a,*/
/*#mainnav ul.menu > li.current-menu-ancestor > a{*/
/*    opacity:1;*/
/*    visibility:visible;*/
/*}*/

#mainnav ul.menu > li > a:hover:before,
#mainnav ul.menu > li.current-menu-item > a:before,
#mainnav ul.menu > li.current-menu-ancestor > a:before{
    opacity:1;
    visibility:visible;
}

#mainnav ul.menu > li > ul.sub-menu:after {
	display: none;
}

#mainnav ul.menu > li > .sub-menu > li > a{
    border:1px solid transparent;
    background-color:rgba(255,255,255,0.3);
    color:#fff;
    line-height:1.2;
    padding:5px 5px;
    text-align:center;
    text-transform:uppercase;
}

#masthead.float-header #mainnav ul.menu > li > .sub-menu > li > a{
    background-color:rgba(0,0,0,0.6);
}

#mainnav ul.menu > li > .sub-menu > li > a:hover,
#mainnav ul.menu > li > .sub-menu > li.current-menu-item > a{
    /*color:#cea653;*/
    border:1px solid #dcb805;
}

#mainnav ul.menu > li > ul.sub-menu{
    left: 50%;
    transform: translateX(-50%);
    /*padding-top:19px;*/
}

/*#mainnav ul.menu > li > .sub-menu > li.current-menu-item > a{
    background-color: #e6272a;
    color: #fff;
}*/

/*Sidebar-footer*/
#sidebar-footer{
    padding:35px 0;
    border:none;
}

#sidebar-footer .sidebar-column:nth-child(1){width:calc(100%*2/12)}
#sidebar-footer .sidebar-column:nth-child(2){width:calc(100%*6/12)}
#sidebar-footer .sidebar-column:nth-child(3){width:calc(100%*4/12)}

#sidebar-footer .sidebar-column:nth-child(2) .widget{
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left:auto;
    margin-right:auto;
}

#sidebar-footer .sidebar-column:nth-child(3) .widget{
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left:auto;
    margin-right:0;
}

#sidebar-footer .sidebar-column .widget{margin-bottom:20px;}
#sidebar-footer .sidebar-column .widget:last-child{margin-bottom:0;}
#sidebar-footer .sidebar-column .widget .textwidget :last-child{margin-bottom:0;}

#sidebar-footer .sidebar-column:nth-child(1) .widget_media_image img{
    width:auto;
    height:50px !important;
}

#sidebar-footer .sidebar-column .widget_text h3,
#sidebar-footer .sidebar-column .widget_text .textwidget h3{
    font-size:16px;
    font-weight:600;
    padding:0;
    margin-bottom:10px;
    color:#fff;
    text-transform:uppercase;
}

#sidebar-footer .sidebar-column .widget_text .reg{
    font-weight:400;
    font-size:13px;
}

#sidebar-footer .sidebar-column:nth-child(3) .widget_text img{
    width:auto;
    height:30px !important;
}

#sidebar-footer .sidebar-column:nth-child(1) .widget_media_image{
    margin-top:42px;
}

/*#sidebar-footer .sidebar-column:nth-child(3) .widget_text table{*/
/*    width:auto;*/
/*    margin-bottom:20px;*/
/*}*/

/*#sidebar-footer .sidebar-column:nth-child(3) .widget_text table tr td{*/
/*    border:none;*/
/*    text-align:left;*/
/*    vertical-align:top;*/
/*    padding:0 5px 0 0;*/
/*}*/

#sidebar-footer .sidebar-column:nth-child(3) .widget_text .tel2,
#sidebar-footer .sidebar-column:nth-child(3) .widget_text .tel3{
    padding-left:15px;
}



/*Footer*/
#colophon{
    padding:0;
}

#colophon .site-info{
    text-align:center;
}

#colophon p.inspiren{
    margin-bottom:0;
    font-size:14px;
    font-weight:400;
}

/*#colophon p.inspiren .inspiren-right a {*/
/*	text-transform: uppercase;*/
/*}*/

/*Banner*/
.banner{margin-bottom:35px;}

.product-banner{margin-bottom:70px;}

.banner .wpb_revslider_element .tp-revslider-slidesli .slotholder{
    position:relative;
}

.banner .wpb_revslider_element .tp-revslider-slidesli .slotholder:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.6);
	width: 100%;
	height: 100%;
	z-index: 1;
}

.banner .wpb_revslider_element .title-sb strong{
    font-weight:700 !important;
    font-size:inherit !important;
    line-height:inherit !important;
    color:#dcb805;
}

.banner .wpb_revslider_element .title-btn{
    position:relative;
    background:none !important;
}

.banner .wpb_revslider_element .title-btn:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#dcb805;
    display:block;
    z-index:-1;
    -webkit-clip-path: polygon(0 0, calc(100%  - 25px) 0, 100% 35%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, calc(100%  - 25px) 0, 100% 35%, 100% 100%, 0 100%);
}

/*.banner .wpb_revslider_element .title-desc{text-align:center !important;}*/

/*Style*/
.all-title{
    font-size:30px;
    font-weight:300;
    color:black;
    margin-bottom:24px;
}

.all-title strong{font-weight:600;}


.all-title.got-logo{
    position:relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-right:auto;
}
.all-title.got-logo:before{
    content:'';
    position:absolute;
    top:50%;
    left:calc(100% + 20px);
    width:365px;
    height:1px;
    background:rgba(255,255,255,1);
}

.all-title.got-logo:after{
    content:'';
    position:absolute;
    top:50%;
    left:calc(100% + 405px);
    transform:translateY(-50%);
    width:110px;
    height:45px;
    background-image:url('https://ybeengineering.com.my/wp-content/uploads/2020/06/ybe-logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

/*Read More*/
.readmore{margin-bottom:35px;}

.readmore .vc_general.vc_btn3{
    position:relative;
    background:none !important;
    background-image:none !important;
    padding:10px 25px;
    font-size:14px;
    font-weight:600;
    z-index:9;
}

.readmore .vc_general.vc_btn3:after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#dcb805;
    display:block;
    z-index:-1;
    -webkit-clip-path: polygon(0 0, calc(100%  - 25px) 0, 100% 35%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, calc(100%  - 25px) 0, 100% 35%, 100% 100%, 0 100%);
}

/*vc_row more gaps*/
.row-2-col > .wpb_column:first-child{padding-right:30px;}
.row-2-col > .wpb_column:last-child{padding-left:30px;}

/*Why choose us*/
#why-choose-us{
    position:relative;
    padding-top:35px;
    padding-bottom:35px;
    z-index:999;
}

#why-choose-us:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(188,39,45,0.95);
    display:block;
    z-index:1;
}

#why-choose-us .readmore a.vc_general.vc_btn3{
    font-size:19px;
}

#why-choose-us .readmore a.vc_general.vc_btn3:after{background:#fff;}

#why-choose-us p{color:#fff;}

#why-choose-us .choose-desc{font-size:24px;}

#why-choose-us .choose-desc strong{font-weight:700;}

#why-choose-us .choose-desc{margin-bottom:35px;}

.footer-choose-us #why-choose-us{padding-top:70px}

.footer-choose-us #why-choose-us .container{
    position:relative;
    z-index:9;
}

.footer-choose-us #why-choose-us .readmore{text-align:center;}

.footer-choose-us #why-choose-us{
	background-image: url(https://ybeengineering.com.my/wp-content/uploads/2020/06/why-choose-us-bg.jpg) !important;
	background-position: center;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

/*Home*/
.page-id-37 .banner{margin-bottom:0;}
.page-id-37 .banner .wpb_revslider_element{margin-bottom:0;}

.home-about{
    position:relative;
    margin-bottom:35px;
    padding-top:35px;
    padding-bottom:35px;
}

.home-about:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(25,25,112,0.8);
    display:block;
    z-index:1;
}

.home-about > .wpb_column{
    width:70%;
    margin-left:auto;
    margin-right:auto;
    float:none;
}

.home-about p{color:#fff;}

.home-expertise-title{}

.home-expertise{margin-bottom:90px;}

.home-expertise > .wpb_column > .vc_column-inner > .wpb_wrapper{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 20px;
    width:100%;
    margin-left:15px;
}

/*.home-expertise .expert-cat:nth-child(1),*/
/*.home-expertise .expert-cat:nth-child(2){*/
/*    grid-column: span 3 / auto;*/
/*}*/

/*.home-expertise .expert-cat:nth-child(3),*/
/*.home-expertise .expert-cat:nth-child(4),*/
/*.home-expertise .expert-cat:nth-child(5){*/
/*    grid-column: span 2 / auto;*/
/*}*/

.home-expertise .expert-cat{
    width:100%;
    position:relative;
    height:330px;
    grid-column: span 2 / auto;
}

.home-expertise .expert-cat:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.3);
    display:block;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.home-expertise .expert-cat:hover:before{
    background:rgba(25,25,112,0.8);
}

.home-expertise .expert-cat{
    display:flex;
    justify-content:flex-start;
    align-items:flex-end;
}

.home-expertise .expert-cat > .wpb_column > .vc_column-inner {
    padding-left:30px;
    padding-right:30px;
}

.home-expertise .expert-cat .icon{
    margin-bottom:20px;
    opacity:0;
    visibility:hidden;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    /*height:0;*/
}

.home-expertise .expert-cat .icon img{
    width:auto;
    height:33px;
}

.home-expertise .expert-cat .expert-title{
    font-size:22px;
    font-weight:600;
    color:#fff;
}


.home-expertise .expert-cat:hover .icon{
    opacity:1;
    visibility:visible;
    /*height:33px;*/
}

.home-expertise .expert-cat .readmore{
    opacity:0;
    visibility:hidden;
    height:0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin-bottom:0;
}

.home-expertise .expert-cat:hover .readmore{
    opacity:1;
    visibility:visible;
    height:37px;
    margin-bottom:35px;
}

.home-expertise .expert-cat .expert-title{}


.home-power-deck-content{margin-bottom:35px;}
.home-power-deck{margin-bottom:35px;}

.power-deck-row{margin-right:0px;}

.power-deck-row > .wpb_column:nth-child(1) > .vc_column-inner{padding-right:0;}

.power-deck-row .wpb_single_image{margin-bottom:0;}

.power-deck-row > .wpb_column:nth-child(2) > .vc_column-inner{padding-left:60px;}

.power-deck-row .power-deck-title{
    color:#191970;
    font-weight:600;
    font-size:24px;
}


.power-deck-row{margin-bottom:35px;}

.home-choose-us{margin-bottom:35px;}

.home-project{margin-bottom:35px;}

.home-project .blog-post .vc_grid-item {
	padding: 0 5px 35px 0 !important;
}

.home-project .blog-post .blog-content{
    position:absolute;
    top:0;
    bottom:auto;
    left:0;
    width:100%;
    z-index:8;
}

.home-project .blog-post .blog-content .vc_gitem-col{padding:35px 15px;}

.home-project .blog-post .blog-btn{
	opacity: 0;
	visibility: hidden;
	height: auto;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	margin-bottom: 0;
}

.home-project .blog-post .vc_grid-item:hover .blog-btn {
	opacity: 1;
	visibility: visible;
	height: auto;
	margin-bottom:24px;
}

/*About*/
.page-id-39 .banner{margin-bottom:0;}
.page-id-39 .banner .wpb_revslider_element{margin-bottom:0;}

.about-choose{margin-bottom:35px;}

/*.about-choose .all-title{margin-bottom:35px;}*/

.about-choose .icon{
    display:flex;
    flex-wrap:wrap;
    flex-direction:column-reverse;
    justify-content:center;
    align-items:center;
    
}

.about-choose .icon > *{width:100%;}
.about-choose .icon figure img{
    width:auto;
    height:70px;
}

.about-choose .icon figure{
    margin-bottom:20px;
    position:relative;
    padding-top:30px;
}

.about-choose .icon figure > *{
    position:relative;
    z-index:9;
}

.about-choose .icon figure:before{
    content:'';
    position:absolute;
    top:30%;
    left:60%;
    transform:translate(-50%,-50%);
    width:70px;
    height:70px;
    background-color:#e1e1e1;
    border-radius:50%;
    z-index:1;
}

.about-choose .icon h2{
    color:#000;
    font-size:16px;
    font-weight:600;
    margin-bottom:0;
}

/*Contact*/
.page-id-47 #sidebar-footer{display:none;}
.page-id-47 #colophon .site-info{border-top:1px solid rgba(174,174,174,1);}

.contact-map{margin-bottom:35px;}

.disable-map{display:none !important}

.contact-row{margin-bottom:35px;}

.contact-info .wpb_text_column p:first-child{
    margin-bottom:10px;
}

.contact-info .working-hour table tr td{
    border:none;
    padding:0 ;
    text-align:left;
}

.contact-info .tel2,
.contact-info .tel3{
    padding-left:15px;
}

/*Contact Form*/
.contact-form .wpcf7-form{
    margin-bottom:35px;
}

.contact-form .form{
    display:block;
    /*display: grid;*/
    /*grid-template-columns: auto auto auto;*/
    /*grid-gap:10px;*/
    margin-bottom:20px;
}

.contact-form .form #msg{
    grid-column: 1/ 4;
}

.contact-form .form input{
    width:100%;
    height:40px;
    background-color:#e1e1e1;
    border:none;
    font-size:16px;
    color: #000;
    border-radius:0;
    font-weight:400;
}

.contact-form .form > div{margin-bottom:10px;}

.contact-form .form textarea{
    width:100%;
    background-color:#e1e1e1;
    border:none;
    font-size:16px;
    color: #000;
    border-radius:0;
    font-weight:400;
}

.contact-form .form .enquiry::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  font-size:16px;
  text-transform:capitalize;
  opacity: 1; /* Firefox */
}

.contact-form .form .enquiry:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
  font-size:16px;
  text-transform:capitalize;
}

.contact-form .form .enquiry::-ms-input-placeholder { /* Microsoft Edge */
  color: #000;
  font-size:16px;
  text-transform:capitalize;
}

.contact-form .form .enquiry:focus{
    border:none;
}

.contact-form #recaptcha{
    text-align:left;
    margin-bottom:20px;
    display:flex;
    justify-content: flex-start;
}

.contact-form #send{
    text-align:left;
}

.contact-form #send input{
    /*width:100%;*/
    border-radius:0;
    background-color:#bc272d;
    border:none;
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight:700;
    font-size:14px;
    color:#fff;
    line-height:1.2;
    -webkit-clip-path: polygon(0 0, calc(100%  - 25px) 0, 100% 35%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, calc(100%  - 25px) 0, 100% 35%, 100% 100%, 0 100%);
}

.contact-form #send input:hover{
    color:#fff;
    background-color:#bc272d;
    border:none;
}

.contact-form span.wpcf7-not-valid-tip{
    margin-top:5px;
    color:#000;
}


.contact-form .wpcf7-response-output{color:#000;}


/*Expertise - Woocromerce*/
/*Woocormerce template*/
.woocommerce #content.page-wrap .content-wrapper .row {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
}

.woocommerce #content.page-wrap .content-wrapper .row #primary{
    padding-left:30px;
    padding-right:15px;
}
.woocommerce #content.page-wrap .content-wrapper .row #secondary{
    padding-right:30px;
    padding-left:15px;
    padding-top:0;
    padding-bottom:0;
    border:none;
}

/*expertise - detail page / Singple Product*/
.woocommerce.single-product #primary .product h3.product_title.entry-title{
    font-size: 30px;
    font-weight: 600;
    color: black;
    padding-bottom:0;
    margin-bottom:24px;
    width:100%;
}

.woocommerce.single-product #primary .product > .images{display:none;}
.woocommerce.single-product #primary .product > .entry-summary{display:none;}

.woocommerce.single-product #primary .product > .woocommerce-tabs .wc-tabs{display:none;}

/*sidebar woocormerce single page/ detail page*/
.woocommerce #secondary .widget_product_search{margin-bottom:10px;}

.woocommerce #secondary .widget_product_search .woocommerce-product-search{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-items:center;
    border:1px solid #000;
}

.widget_product_search .woocommerce-product-search .search-field{
    /*width:calc(100% - 40px);*/
    width:100%;
    height:40px;
    background:none;
    border:none;
    color:#000;
    padding-left:15px;
    padding-right:15px;
}

.widget_product_search .woocommerce-product-search .search-field::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #000;
  font-size:16px;
  text-transform:capitalize;
  opacity: 1; /* Firefox */
}

.widget_product_search .woocommerce-product-search .search-field:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
  font-size:16px;
  text-transform:capitalize;
}

.widget_product_search .woocommerce-product-search .search-field::-ms-input-placeholder { /* Microsoft Edge */
  color: #000;
  font-size:16px;
  text-transform:capitalize;
}

.widget_product_search .woocommerce-product-search .search-field:focus{border:none;}

.widget_product_search .woocommerce-product-search button{
    width:40px;
    height:40px;
    padding:0;
    border:none;
    border-radius:0;
    color:#000;
    background:transparent;
    opacity:1;
    visibility:hidden;
    display:none;
}

.woocommerce #secondary .widget_nav_menu{margin-bottom:35px;}

.woocommerce #secondary .widget_nav_menu ul.menu li{
    padding:0;
}

.woocommerce #secondary .widget_nav_menu ul.menu li a{
    padding:10px 15px;
    background-color:#e1e1e1;
    display:block;
    font-weight:400;
}

.woocommerce #secondary .widget_nav_menu ul.menu li a:hover,
.woocommerce #secondary .widget_nav_menu ul.menu li.current-menu-item a{
    font-weight:600;
    color:#dcb805;
    background-color:#191970;
}

/*Power deck page*/
.deck-main{margin-bottom:35px;}

.deck-table-flex > .wpb_column > .vc_column-inner > .wpb_wrapper{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
}

.deck-table-flex .wpb_text_column{
    min-width:calc(100%*1/3);
    padding-right:30px;
}

.deck-main > .wpb_column:nth-child(1) .wpb_text_column p{margin-bottom:10px;}

.deck-main > .wpb_column:nth-child(1) .wpb_text_column p strong{font-weight:700;}

.deck-main > .wpb_column:nth-child(1) table tr th,
.deck-main > .wpb_column:nth-child(1) table tr td{
    padding:5px 20px;
    border:2px solid #fff;
}

.deck-main > .wpb_column:nth-child(1) table tr th{
    background-color:#2a286b;
    color:#fff;
    font-weight:600;
}

.deck-main > .wpb_column:nth-child(1) table tr td{
    background-color:#e3e4e5;
    color:#231f20;
    font-weight:400;
}

.deck-icon{padding-top:35px;}

.deck-icon > .wpb_column > .vc_column-inner > .wpb_wrapper{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    align-items:flex-start;
}

.deck-icon > .wpb_column > .vc_column-inner > .wpb_wrapper > .wpb_single_image{
    width:calc(100%/6);
    padding-left:15px;
    padding-right:15px;
    display:flex;
    flex-direction:column-reverse;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.deck-icon .wpb_single_image figure{
    width:100%;
    margin-bottom:20px;
}
.deck-icon .wpb_single_image figure img{
    width:auto;
    height:60px;
}

.deck-icon .wpb_single_image h2{
    width:100%;
    font-size:16px;
    font-weight:600;
    color:#404041;
     text-transform:uppercase;
}

.deck-video{
    padding-top:35px;
    padding-bottom:35px;
    margin-bottom:35px;
}

.deck-video .wpb_video_widget,
.deck-video .video > .wpb_wrapper{
    width:70%;
    margin-left:auto;
    margin-right:auto;
}

.deck-video .video > .wpb_wrapper{
    display:flex;
    justify-content:center;
}

.deck-method-section{}

.deck-method{
    border-bottom:1px solid #aeaeae;
    margin-bottom:35px;
    padding-top:35px;
    padding-bottom:35px;
}

.deck-method:last-child{
    border-bottom:none;
    margin-bottom:0;
}

.deck-method .method-title{
    color:#231f20;
    margin-bottom:30px;
    font-weight:700;
    font-size:22px;
}

/*Project Main*/
.project-main{margin-bottom:35px;}

.blog-post .vc_grid-item {
	padding: 0 55px 35px 0 !important;
}

.blog-post .vc_grid-item .vc_grid-item-mini{position:relative;}
.blog-post .blog-content{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    z-index:8;
}

.blog-post .blog-content .vc_gitem-col{padding:0 15px;}

.blog-post .blog-img a{
    display:block;
    /*position:relative;*/
    pointer-events:none;
    cursor:default;
}

.blog-post .blog-img a:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.3);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display:block;
    z-index:9;
}

.blog-post .vc_grid-item:hover .blog-img a:before{
    background: rgba(25,25,112,0.8);
}

.blog-post .blog-title{margin-bottom:24px;}

.blog-post .blog-title h4{
    color:#fff;
    font-weight:600;
    font-size:22px;
}

.blog-post .blog-btn.readmore{margin-bottom:0;}

.blog-post .blog-btn{
	opacity: 0;
	visibility: hidden;
	height: 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	margin-bottom: 0;
}

.blog-post .vc_grid-item:hover .blog-btn {
	opacity: 1;
	visibility: visible;
	height: 37px;
	margin-bottom:24px;
}

/*Project post single*/
.single-post .entry-header{text-align:center;}
.single-post .post-navigation{display:none;}

.single-post .entry-header .meta-post{display:none;}

.single-post .entry-header .title-post{
    font-size:30px;
    font-weight:600;
    color:black;
    margin-bottom:24px;
}

.post-template-post_nosidebar .content-area{
    max-width:1140px;
}

@media (min-width:992px) {
.post-template-post_nosidebar .content-area{
  max-width:940px
 }
}
@media (min-width:1200px) {
.post-template-post_nosidebar .content-area{
  max-width:1140px
 }
}

.project-grid{margin-bottom:35px;}

/*Post related*/
.widget-related-post{
    background-color:#e1e1e1;
    padding-top:70px;
    padding-bottom:70px;
}

.widget-related-post ul{
    list-style:none;
    padding:0;
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:stretch;
}

.widget-related-post ul li{
    display:block;
    width:33%;
}

.related-post-item{position:relative;}

.related-post-item .related-post-img{
    position:relative;
}

.related-post-item .related-post-img:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.3);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display:block;
    z-index:9;
}

.related-post-item:hover .related-post-img:before{
    background: rgba(25,25,112,0.8);
}

.related-post-item .relatedcontent{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding:35px 15px;
    z-index:99;
}

.related-post-item .post-title{
    color:#fff;
    font-weight:600;
    font-size:22px;
}

.related-post-item .readmore .vc_general.vc_btn3{
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	margin-bottom: 0;
}

.related-post-item:hover .readmore .vc_general.vc_btn3{
	opacity: 1;
	visibility: visible;
}

/*post title block*/
.single-post .entry-header .title-post strong,
.blog-post .blog-title h4 strong,
.related-post-item .post-title strong{
    display:block;
    
}

.related-post-item .post-title,
.blog-post .blog-title h4{
    width:90%;
    margin-right:auto;
}

/*search page woocormerce*/
.search.woocommerce .woocommerce-products-header .archive-title{
    font-size:30px;
    font-weight:600;
    color:black;
    margin-bottom:24px;
}

/*woocomerce shop*/
.woocommerce  ul.products li.product{margin-bottom:35px !important;}

.woocommerce  ul.products li.product a{
    display:block;
    position:relative;
}

.woocommerce ul.products li.product .product-image{
    position:relative;
}

.woocommerce ul.products li.product .product-image:before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.3);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display:block;
    z-index:9;
}

.woocommerce ul.products li.product:hover .product-image:before{
    background: rgba(25,25,112,0.8);
}

.woocommerce ul.products li.product:hover .product-image{margin-bottom:0;}
.woocommerce ul.products li.product h2{
    padding:0 15px;
    margin-bottom:24px;
    color:#fff;
    font-weight:600;
    font-size:20px;
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    z-index:9;
    text-align:left;
}

/*fixing wp tile light box*/
#TB_closeWindowButton{bottom:0;}

#TB_window #TB_caption{
    height:auto;
}

#related-post li.related-post-item .relatedthumb,
#related-post li.related-post-item .relatedthumb .related-post-img,
#related-post li.related-post-item .relatedthumb .related-post-img img {
    height: 100%;
}

#related-post li.related-post-item .relatedthumb .related-post-img img {
    object-fit: cover;
}



