/*
Theme Name: Ingas
Text Domain: ing
Version: 1
*/


header.scrolled .current-menu-item a::before {
    background-color: #008ED6;
}

.current-menu-item a::before {
    width: 100%;
    left: 0;
    right: auto;
}

.header-menu-mobile .sub-menu {
    display: none !important;
}

.back-fix-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.back-fix-row .contact-block:nth-child(2n) {
    margin-top: 50px;
}

.back-fix-row .contact-block .contact-block-title::after {
    width: 98% !important;
}

.input-block {
    display: flex !important;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}
.input-block input {
    width: 100% !important;
}

.input-block span {
    display: block !important;
    width: 48% !important;
}


.btn input {
    color: #232A2E;
    font-size: 12px;
    background: transparent;
    position: relative;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    line-height: 1.1em;
    letter-spacing: 0.14em;
    font-weight: 600;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.wpcf7-not-valid {
    border: 1px solid red !important;
}
.wpcf7-not-valid::placeholder {
    color: red !important;
}

.wpcf7-not-valid-tip, .input-block .wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7 form .wpcf7-response-output {
    display: none !important;
}

div.wpcf7 .ajax-loader {
    position: absolute;
    right: 2px;
    top: 15px;
}

.yikes-easy-mc-success-message {
    display: none !important;
}

blockquote:before {
    background: url('img/icons/qwote.svg');
    background-repeat: no-repeat;
    background-position: 15% 15%;
}

.yikes-easy-mc-form input[type=email], .yikes-easy-mc-form input[type=number], .yikes-easy-mc-form input[type=text], .yikes-easy-mc-form input[type=url], .yikes-easy-mc-form select {
    background-color: #ffffff !important;
}

/*.opacity.bottom::before {*/
/*    bottom: 20px;*/
/*}*/
.custom-pagination .right {
    position: relative;
}

.custom-pagination .right a:before {
    position: absolute;
    content: '';
    
    transform: translate(-50%,-50%) rotate(
            45deg
    );
    width: 10px;
    height: 10px;
    border-right: 2px solid #585E62;
    border-top: 2px solid #585E62;
    left: 48%;
    top: 49%;

}

.custom-pagination ul li .arrow.right a:after {
    right: 0;
    border-left: 0;
}

.custom-pagination ul li .arrow a:after {
    position: absolute;
    content: '';
    top: 0;
    width: 44%;
    height: calc(100% + 1px);
    border: 2px solid #585E62;
    z-index: 1;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.custom-pagination ul li.arrow {
    border: none !important
}

.simple-page p iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 640px;
    max-height: calc(56.3vw - 30px);
    border: 0;
}

.edit-link {
    display: none !important;
}

.footer-top .footer-social button {
    width: 64px !important;
}

.simple-page iframe {
    margin: 40px 0 !important;
}

/*.post-template-default .opacity.bottom::before{*/
/*    bottom: 20px;*/
/*    height: 30%;*/
/*}*/

blockquote p {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    color: #232A2E !important;
    font-size: 22px !important;
    line-height: 1.5em !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
}

@media (max-width: 767px) {
    .footer-top .footer-social button {
        height: 39px;
    }
    .footer-top .footer-social button::before {
        position: relative !important;
        left: -2px !important;
        content: '' !important;
        width: 12px !important;
        height: 12px !important;
        border-top: 3px solid #fff !important;
        border-right: 3px solid #fff !important;
        transform: rotate(45deg) !important;
        -webkit-transition: all 0.3s !important;
        -o-transition: all 0.3s !important;
        transition: all 0.3s !important;
        opacity: 1 !important;
        display: block !important;
    }
    .yikes-easy-mc-form input[type=email], .yikes-easy-mc-form input[type=number], .yikes-easy-mc-form input[type=text], .yikes-easy-mc-form input[type=url], .yikes-easy-mc-form select {
        padding: 1.0278em !important;
        background-color: #f1f1f1;
        border: 2px solid rgba(51,51,51,.1);
        display: block;
        -moz-box-sizing: border-box;
        margin-bottom: 8px;
    }

    .swiper-entry .custom-fraction-wrap {
        bottom: -45px ;
    }

    #menu-item-97 > a {
        display: none !important;
    }

    .header-menu-mobile .sub-menu {
        display: block !important;
    }
    .number-block-item div span {
        font-size: 55px;
        line-height: 44px !important;
    }
    blockquote:before {
        background: none !important;
    }
    .simple-page h1, .simple-page h2, .simple-page h3, .simple-page h4, .simple-page h5, .simple-page h6 {
        margin-top: 20px !important;
    }
    .simple-page .simple-swiper, .simple-page img {
        margin-top: 20px !important;
    }

    .opacity.bottom::before {
        background-image: linear-gradient(
                360deg
                , rgba(0, 0, 0, 0.71), rgba(0, 0, 0, 0));
        height: 35%;
        /*bottom: 20px;*/
        top: auto;
        background-color: transparent;
    }

    .input-block {
        flex-direction: column;
    }
    .input-block span {
        width: 100% !important;
    }

    /*.table-block tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: row;
        width: 100%;
        padding-left: 8px;
    }*/
    .table-block tbody tr td:nth-child(1) {
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0.07em;
        color: #008ED6;
        min-width: 50px;
        width: auto;
    }
}

.contact-sublock .contact-sublock-info img {
    border-radius: 50%;
}
.contact-sublock .contact-sublock-item .contact-sublock-info p {
    padding-right: 3px;
}

@media (max-width: 767px){
    .spacer-xl, .spacer-lg, .spacer-md {
        height: 20px;
    }
    tbody * {
        font-size: 12px;
    }
}

.contact-sublock .contact-sublock-item .contact-sublock-info {
    height: 48px;
}
.table-block {
    border-bottom: 1px solid #E7E7E7;
}

.prod-block-item .prod-block-cont .prod-block-el a span::before {
    top: 100%;
    margin-top: -12px;}

.simple-page .wp-image-540 {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
}
.engineer-block-subitem {
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
}

.simple-page.text p {
    margin: 10px 0;
}

@media (min-width: 767px) {
    .table-block tr td {
        min-width: 100px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .table-block tbody tr td:nth-child(2) {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 575px) {
    .table-block tbody tr td {
        font-size: 12px;
    }
}
.home-swiper .banner-cont .text {
    margin-left: 0;
}
.services-block-item.text-empty {
    align-items: center;
}
.services-block-item.text-empty .services-block-cont .semi-bold {
    margin-bottom: 0;
}

/* change 13.05 */
.home .banner-slider .swiper-container {max-height: 765px;}
@media (max-width: 767px) {
    .only-desc {display: none !important;}
}

/* change 19.05 */
.decor-parallax{display:none;}
.slide-image img{height: 100%;position: absolute;top: 0;left: 0;width: 100%;object-fit: cover;}
.home-swiper .banner-cont{padding-top:50px;}
.home-swiper .banner-cont >*:last-child{margin-bottom:0;}
.home-swiper .banner-cont h1, .h1{font-size: 34px;}
.home-swiper.swiper-entry .swiper-button-lock + .swiper-button-lock + .slide-images-wrap + .swiper-container{padding-bottom:0;}
@media(min-width:992px){
	.banner,.banner.banner-full{padding-bottom:0;height:50vh;}
}
@media(max-width:1199px){
	.home-swiper .banner-cont{padding-top:0;}
}
@media(max-width: 1366px){
	.spacer-xl,.spacer-lg {height: 50px;}
	.single-services .vacancies-swiper .swiper-button-lock + .swiper-button-lock + .swiper-container{padding-bottom:0;}
	.home-swiper .banner-cont h1, .h1{font-size: 30px;}
}
@media (max-width: 767px){
	.spacer-xl, .spacer-lg, .spacer-md{height: 20px;}
}
@media (max-width: 575px){
	.home-swiper .banner-cont h1, .h1{font-size: 28px;}
}

/*change 24.06*/
.prod-two-item {
    position: relative;
    display: block;
    width: 32%;
    margin-right: 2%;
    margin-top: 50px;
    border: 1px solid #008ED6;
}

.footer-bottom {
    justify-content: space-between;
}

.wp-video {
    margin: 0 auto 20px;
}

@media (min-width: 720px) {
    .simple-page .wp-video {
        width: 100% !important;
    }
}

/*fix 30.06*/
.home .slide-image img {object-position: left;}
@media(min-width: 992px){
    .home .banner, .banner.banner-full {height: 0;padding-bottom: 27%;}
}
@media(max-width: 1199px){
    .home .slide-images-wrap {padding-bottom: 27%;height: 190px;}
}
@media(max-width: 991px){
    .home .banner.banner-full {padding-bottom: 27%;height: 190px;}
}

/*fix 12.08*/
.footer-top .footer-info div p {
    display: flex;
    flex-direction: column;
}

.footer-top .footer-schedule img {
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

.footer-top .footer-schedule {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer-top .footer-schedule .schedule {
    display: flex;
    flex-direction: column;
}

.footer-top .footer-schedule div p {
    width: 100%;
    max-width: 300px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4em;
    margin-bottom: 0;
    text-transform: none;
}