/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Hanlding Updates
-----------------------------------------------------------------*/

a:hover {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.feature-box .fbox-icon i, .feature-box .fbox-icon img {
    background-color: #e66030;
}
.fbox-effect .fbox-icon i:hover, .fbox-effect:hover .fbox-icon i {
    background-color: #e66030;
}
.fbox-effect .fbox-icon i:after{
	box-shadow: 0 0 0 2px #e66030;
}
.subscribe {
    background-color: #e66030;
    padding: 25px 0;
    position: relative;
}
.about {
    position: relative;
    background-size: cover;
	background-position: center;
	background-color: rgba(7,143,203,.8);
}

.about .overlay_bg {
    background-color: rgba(7,143,203,.8);
}

.padding-120 {
    padding: 120px 0;
}
.white_after::after{
	border-top: 2px solid #fff;
}
.more-default {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-style: italic;
    background-color: #e66030;
    border-radius: 2px;
    padding: 11px 30px;
    margin-bottom: 20px;
    transition: .25s ease-out;
    cursor: pointer;
}
.violet_clr{
	color: #e66030 !important;
}
.violet_aft::after{
	border-top: 2px solid #e66030;
}
.i-plain {
    width: 36px !important;
    height: 36px !important;
    font-size: 28px;
    line-height: 36px !important;
    color: #fff;
    text-shadow: 1px 1px 1px #FFF;
}
.counter,.counter + h5{
    color: #fff;
}
.counter.counter-lined + h5:before {
    border-top: 2px solid #fff;  
}
/*-------------------------------------------------*/
/* =  2.MAIN MENU
/*-------------------------------------------------*/

#primary-menu ul li a{
    color: #5d5d5d;
    padding: 35px 15px 20px;
    line-height: 30px;
    font-size: 16px;
    font-weight: 400;
   /* text-transform: uppercase;
    */
    position:relative;
}
#primary-menu ul li a:hover{
    color: #312F92;
}

#primary-menu ul li:hover > a,
#primary-menu ul li.current > a { 
    color: #312F92; 
}
/* #primary-menu ul li a:hover:after{
    visibility: visible;
    transform: scaleX(1);
    transition: all .25s ease-out;
} */

#primary-menu ul li:hover > a:after,
#primary-menu ul li.current > a:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 12px;
    left: 0;
    color: #e66030;
    /* background-color: #e66030; */
    visibility: visible;
    -webkit-transform: scaleX(0);
    transform: scaleX(1);
    transition: all .25s ease-out;
    z-index: 1;
}
#primary-menu ul li:last-child a{
    padding-right:0px;
}
#header.full-header #logo {
    border-right: none;
}
#header.full-header #primary-menu > ul {
    border-right: none;
}
.spost {   
    border-top: none;
}
.testimonial-border-yellow{
    border: 2px solid #e66030
}
.testimonial-border-red{
    border: 2px solid #e84b3a
}
.testimonial-border-orange{
    border: 2px solid #fc7f0c
}

.slide_1{
    height: 620px;
}
.padding-50 {
    padding: 50px 0;
}
.popularclass,.gallery{
    background-color: #f7f7f7;
}
#copyrights {
    padding: 13px 0;
}
.dark #footer .social-icon.si-borderless, #footer.dark .social-icon.si-borderless {
    color: #e6e6e6 !important;
}
.rev_slider .caption, .rev_slider .tp-caption, .tp-simpleresponsive img{
    /* height: 620px!important; */
}

.tp-bannertimer {
    
    background: rgba(230, 96, 48, 0.7)!important;
   
}
.fancy-title > h3 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: normal;
}
h2.pagetitle{
    color: #1a156e !important;
}
.portfolio-overlay{
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, 0) !important;
}
#section-products .portfolio-overlay a {
    background-color: #032340 !important;
    margin: -28px 0 0 -86px !important;
    width: 171px !important;
    height: 40px !important;
    color: #fff !important;
    border-radius: unset !important;
}
.portfolio-item:hover .portfolio-overlay a.left-icon, .portfolio-item:hover .portfolio-overlay a.right-icon{
    margin: -28px 0 0 -44px !important;
}

.portfolio-item:hover .image_fade{
    -webkit-transform: scale(1.20, 1.20) !important;
    transform: scale(1.20, 1.20) !important;
    transition: all 0.8s ease !important;
    
    background-color: rgba(0,0,0,0.5) !important;
}

/* .portfolio-overlay:hover{
    background-color: rgba(0,0,0,0.5) !important;
} */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea {
    height: 30px !important;
    padding: 4px 18px !important;
}
#workfolw .oc-item:hover img{
    transform: scale(1.03, 1.03) !important;
    transition: all 0.8s ease !important;
}
#certificate #oc-images{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* menu mobile size */
@media only screen and (min-device-width : 992px) and (max-device-width : 1104px) {
    /* Styles */
    #primary-menu ul li > a {
        padding-left: 0px !important;
        padding-right: 2px !important;
    }
}
.portfolio-item .portfolio-image > a, .portfolio-item .portfolio-image img {
    height: 100% !important;
}
/* contact us */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea {
    background: #f4eeee !important;
}
/* footer */
#copyrights p{
    margin: 0px !important;
}
#contact_us .social-icon.si-small {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    line-height: 30px !important;
    padding: 5px 0px;
}
#dynamic {
    height: 60px !important;
}
@media only screen  and (max-device-width : 444px) {
    /* Styles */
    .social_media_link {
        display: none;
    }
}
/* mobile menu */
#primary-menu-trigger{
    color: #1a156e !important;
}
@media only screen  and (max-device-width : 991px) {
    /* Styles */
    #home .pagetitle {
        display: none;
    }
}
@media only screen and (max-device-width : 991px) and (min-device-width : 768px) {
    #section-products .portfolio-item .portfolio-image {
        /* height: auto; previous */
        height: 250px !important; /* current */
    }
}
@media only screen and (max-device-width : 767px) and (min-device-width : 576px) {
    #section-products .portfolio-item .portfolio-image {
        /* height: auto; previous */
        height: 200px !important; /* current */
    }
}
@media only screen and (min-device-width :992px) {
    #section-products .portfolio-item .portfolio-image {
        /* height: auto; previous */
        height: 400px !important; /* current */
    }
}
.email_link:hover{
    text-decoration: underline !important;
    color: #e3ecf5 !important;
}
.contact-info span {
    margin-right: 25px;
    margin-top: -5px; 
}
@media only screen and (max-device-width :991px) {
    .contact-info span {
        margin-right: 20px !important;
    }
}
@media only screen and (max-device-width :410px) {
    .contact-page-left {
        padding: 10% 6% 3%;
    }
    .contact-info-content{
        word-break: break-word;
    }
    .gallery .portfolio-item{
        margin:10px 0px !important;
    }
}
#product_list:hover #sub_product{
    display: block !important;
}

@media only screen and (min-device-width :534px) {
    .gallery .portfolio-item{
        padding-left: 12px !important;
    }
}