/* Core CSS */
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}
.alert-danger{
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
figure{
    margin: 0;
    padding: 0;
    
}

/* Primary Menu Custom style */
#mega-menu-primary-menu .mega-menu-item .mega-menu-link{
    font-family: "Century Bold" !important;
}
/* #top_header {
    padding-bottom: 30px !important;
} */
/* Slider custom style  */
.home-slider h1{
	text-shadow: 1px 2px 1px #580855;
     font-family: 'Century Bold' !important;
}
.home-slider .tp-bullet-title{
    display: none;
}

/* Featured Projects */
.featured-projects{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.featured-projects .fp-item{
    flex-basis: calc(100%/3 - 30px);
    margin: 15px;
    position: relative;
}
.fp-item figure{
    position: relative;
    width: 100%;
    padding-bottom: 80%;
    overflow: hidden;
}
.fp-item figure img{
   position: absolute;
    width: 100%;
    width: auto;
    top: 0;
    left: 0;
    transform: scale(1.6);
    right: 0;
    bottom: 0;
    margin: auto;
    display: block;
}
.fp-detail{
    padding: 50px 15px 15px;
    background-image: linear-gradient(to bottom, rgba(88, 8, 85,0), rgba(88, 8, 85,1));
    color: #f1f1f1;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.pc-name{
    font-size: 16px;
    line-height: 2.3rem;
}
.fp-title,.fp-location{
    font-size: 17px;
    line-height: 1.8rem;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}
.fp-title{ width: 250px;  }
.fp-location{ width: 260px;  }

/* Client & Architects Carousel */
body .wpcp-carousel-section .slick-arrow{
    font-size: 40px !important;
}

/* Contact Us Page */
.ctact-item {
    display: flex;
    align-items: center;
}
.ctact-item img{
    max-height: 32px;
    margin-top: 5px;
    max-width: 38px;
    margin-right: 10px;
}
.contact-infomation .et_pb_text_inner .ctact-item:first-child{
    align-items: flex-start;
}

/* About Us -- Client Logos */
body .et_pb_tabs_0 .et_pb_tabs_controls li.et_pb_tab_active a {
    color: #FFFFFF!important;
}
.c-logos {
    display: flex;  
    margin: 0 -15px;
    flex-wrap: wrap;
/*     justify-content: center; */
}
.c-logos .c-logo_item{
    flex-basis: calc(25% - 30px);
    margin: 15px;
    text-align: center;
    
}
.c-logos .c-logo_item figure{
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}
.c-logos .c-logo_item img{
    max-width: 212px;
    max-height: 193px;
    min-height: 193px;
}
.c-logos .c-logo_item h4{
    font-size: 1rem;
    line-height: 1.7rem;
    padding-bottom: 0;
}

/* Custom Project Page */
.project-slider .slider-item{
    background-size: cover !important;
    background-repeat: no-repeat !important;
    min-height: 500px;
}
.project-slider .project_title {
    line-height: 1.7rem;
    color: white;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%
}
.project-slider .slick-dots { margin-bottom: -30px;}
.project-slider .slick-dots  li button:before{
    content: '';
    width: 15px;
    height: 15px;
    background: rgba(229, 206, 230, 1);
    border-radius: 50%;
    opacity: 1 !important;
} 
.project-slider .slick-dots  li.slick-active button:before{
    background: rgba(155, 128, 154, 1);
}
.ot-projects {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.ot-projects .ot-cate_item{
    flex-basis: calc(25% - 30px);
    margin: 15px;
    position: relative;
}
.ot-cate_item figure{
    position: relative;
    width: 100%;
    padding-bottom: 80%;
    overflow: hidden;
  
}
.ot-cate_item figure img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: block;
}
.ot-projects .ot-cate_name{
    color: #f1f1f1;
    font-size: 16px;
    line-height: 1.4rem;
}
.ot-cate_infor{
    background: rgba(88, 8, 85, 0.6);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 20px;
}
.ot-cate_link{
    position: absolute;
    bottom: 0;
    left: 0;
    color: white;
    padding: 20px;
    width: 100%;
}

/* Individual Project Pages */
body.admin-bar .lg-toolbar{  top: 32px; }
.border-top {  border-top: 2px solid rgba(88,8,85,0.38); }
/* .bread-crum{  padding: 0 30px; } */
.pj-list{
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px 30px 30px;
}
.pj-list .pj-item {
    flex-basis: calc(100%/3 - 30px);
    margin: 15px;
    overflow: hidden;
    padding-bottom: 288px;
    position: relative;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.pj-list .pj-item img{
    display: none;
}
.pt-0{padding-top: 0 !important;}
.pj-title{
    padding: 30px 15px 15px;
    background-image: linear-gradient(to bottom, rgba(88, 8, 85,0), rgba(88, 8, 85,1));
    color: #f1f1f1;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: all ease-in-out 1s;
    display: none;
}
.pj-item:hover .pj-title{
    opacity: 1;
    display: block;
}
.single-wistec_projects .the-content .et_pb_row.et_pb_row_2{
	padding: 10px 0;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after{
	display: none;
}
@media screen and (max-width: 1366px){
    .pj-list .pj-item { max-height: 269px;  }
}
@media screen and (max-width: 1024px){
    .logo img{max-width: 240px;}
    .primary-menu.et_pb_code{
        padding-top: 25px;
    }
    .wa-wistec .et_pb_column_3{
        padding-top: 0;
        padding-bottom: 0;
    }
    .wa-wistec .et_pb_column_3 .et_pb_text_0{
        padding-top: 0 !important;
        margin-bottom: 50px!important;
    }
    .featured-projects .fp-item {
        flex-basis: calc(50% - 30px);
    }

    .c-logos .c-logo_item{
        flex-basis: calc(100%/3 - 30px);
    }
    .pj-list .pj-item {  padding-bottom: 185px; }
}
@media screen and (max-width: 980px){
    .primary-menu.et_pb_code {
        padding-top: 0;
    }
    .wa-wistec .et_pb_column_3 .et_pb_text_0{
        padding-top: 0 !important;
        margin-bottom: 0px!important;
    }
    #mega-menu-wrap-primary-menu #mega-menu-primary-menu{text-align: center;}

    .ot-projects .ot-cate_item {
        flex-basis: calc(100%/3 - 30px);
    }
}
@media screen and (max-width: 768px){
    .c-logos .c-logo_item{
        flex-basis: calc(50% - 30px);
    }
    .project-slider .slider-item{
        min-height: 350px;
    }
    .ot-projects .ot-cate_item {
        flex-basis: calc(50% - 30px);
    }
    .pj-list .pj-item { 
        flex-basis: calc(50% - 30px );
    }
}
@media screen and (max-width: 600px){
    .featured-projects .fp-item {
        flex-basis: 100%;
    }
    .wa-wistec .et_pb_column_3 .et_pb_text_0{
        padding-top: 0 !important;
    }
    .custom-client-logos.et_pb_tabs_0.et_pb_tabs .et_pb_tabs_controls li{
        padding: 0;
        border: none;
    }
    .custom-client-logos.et_pb_tabs_0.et_pb_tabs .et_pb_tabs_controls li, 
    .custom-client-logos.et_pb_tabs_0.et_pb_tabs .et_pb_tabs_controls li a{
        font-size: 14px;
    }
    .custom-client-logos .et_pb_tabs_controls li a{
        padding: 4px 20px 4px;
    }
    .c-logos .c-logo_item img {
        max-width: 140px;
        max-height: 128px;
        min-height: 128px;
    }
    .project-slider .slider-item{
        min-height: 200px;
    }
    .project-slider .project_title{
        padding: 15px;
        font-size: 16px;
    }
    .project-slider .slick-dots li button:before{
        width: 12px;
        height: 12px;
    }
    .ot-projects .ot-cate_item {
        flex-basis: 100%;
    }
    .ot-cate_item figure{
        padding-bottom: 60%;
    }
    .ot-cate_item figure img{
        height: auto;
    }
    .pj-list .pj-item { 
        flex-basis: 100%;
    }
	#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-align-bottom-left.mega-toggle-on > a.mega-menu-link{
		border-radius: unset;
	}
	#mega-menu-wrap-primary-menu #mega-menu-primary-menu ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link{
		background: #840f87;
		color: #fff;
/* 		text-align: center; */
	}
	.c-logos .c-logo_item{
		flex-basis: 50%;
	}
	.c-logos{
		justify-content: center;
	}
	#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after{display: inline-block;}
    
}

@media screen and (max-width: 320px){
    .custom-client-logos .et_pb_tabs_controls li a{
        padding: 4px 10px 4px;
    }
    
}