ul li:before{
    content: '' !important;
    margin: initial!important;
}
.services__banner-new {
    background-size: cover;
    width: auto;
    height: 500px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    color: #000;
    padding: 25px;

}
.services__banner-wrap{
    background-color: #ffffff77;
    border-radius: 5px;
    width: 61%;
    /*padding: 0px 3px;*/

}
.services__banner-header{
    float: right;
    color: #000;
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.126em;
    font-size: 1.967em;
    margin: 0;
    font-weight: 500;
}
.services__banner-text{
    float: left;
    width: 52%;
    color: #000;
    font-weight: 400;
    font-size: 20px;
    text-align: left;
    background-color: #ffffff77;
    border-radius: 5px;
    padding: 0px 3px;
    margin: 15px 0px!important;
}
.services__banner-link{
    background-color: #ff0045;
    border-color: #ff2053;
    color: #ffffff;
    margin-top: 50px!important;
}
.control__system{
    background-color: #f4f4f4;
    border-radius: 12px;
}
.control__system-grid{
    display: grid;
    grid-template-areas: "advant line history";
    grid-template-columns: 1fr 2px 1fr;
    margin-top: 6%;

    padding: 24px 0;
}
.control__system-text {
    padding: 24px 36px;
    text-align: center;
}
.line{
    grid-area: line;
    max-width: 2px;
    border: 2px solid #ff0045;
    border-radius: 3px;
}
.advant, .history{
    margin: auto 5%;
    color: #000;
}
.advant{
    grid-area: advant;
    text-align: right;
    font-weight: 500;
    font-size: 24px;
    padding-bottom: 0px;
}
.history{
    grid-area: history;
    padding: 12% 0;
    align-self: center;
    font-size: 18px;
}
.solutions {
    margin-top: 5%;
}
.solutions__grid{
    display: grid;
    gap: 36px 24px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.solution__item-caption{
    position: relative;
    text-align: center;
    padding-top: 6px;
}
.sect-head{
    color: #000;
    font-size: 1.6em;
    line-height: 28px;
    margin: 31px 0 23px;
}
.solutions__item {
    background-color: #fff;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0px;
    justify-self: auto;
}
.services__jobs h2{
    font-weight: 500;
}
.solutions__item > span img{
    max-height: 200px;
    height: 200px;
    width: 100%;
}
.solutions__item-link{
    color: #000;
    cursor: pointer;
}
.solutions__item-link:hover{
    color: #ff0045;
    transition-duration: 0.5s;
}
.services__form{
    margin-top: 8%;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-areas: "plus form1";
}
.plus, .form1{
padding: 15px 12px;
}
.plus{
    grid-area: plus;
    border: 2px solid #ff0045;
}
.form1{
    grid-area: form1;
    border-right: 2px solid #ff0045;
    border-top: 2px solid #ff0045;
    border-bottom: 2px solid #ff0045;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.plus p:first-child{
    margin-bottom: 50px;
    font-weight: 500;
    font-size: 1.6em;
}
.plus .heading{
    font-weight: 400;
    color: #000;
    margin-top: 0px;
    margin-bottom: 6px;
}
.plus .plus-text{
    margin: 0;
    margin-bottom: 24px;
}
.form1 .free{
    width: 66%;
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
}
.plus-text{
    margin-left: 24px;
}
.advantages, .result, .hardware-wrapper, .digital, .example, .case, .our_works {
    margin-top: 8%;
}
.advantages-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
    padding: 0 24px;
}
.advantages__item > p, .digital__item > p{
    margin-top: 18px!important;
}
.advantages__item-head, .digital__item-head{
    color: #ff0045;
    font-weight: 600;
    font-size: 18px;
}
.smalldoc{
    height: 300px;
    width: auto;
}
ul > li:first-of-type {
    margin: 8px 0px 0px 21px!important;
}
.result__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 24px;
    gap: 12px;
}
.result__grid li{
    font-size: 18px;
    color: #000;
}
.result__block-wrapper{
    background-color: #f4f4f4;
    border-radius: 12px;
}
summary {
    display: block;
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: '+';
    margin-left: 6px;
    /*border: 1px solid #ff0045;*/
    vertical-align: bottom;
    font-size: 24px;
    /*padding: 0px 3px;*/
    /*position: relative;*/
    /*bottom: 2px;*/
}
details[open] > summary::after {
    content: '-';
    /*padding: 0px 4px;*/
    position: relative;
    bottom: 2px;

}
details{
    margin-bottom: 5%;
}
.services__proccess-wrap{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 6px;
}
.services__proccess-item img{
    width: 100px;
    height: 100px;
    margin: 6px 0;
}
.services__proccess-item strong{
    text-transform: uppercase;
}
.services__proccess-item {
    text-align: center;
}
.hardware{
    margin: 6% 0;
}
.hardware__grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
}
.hardware__grid-item{
    text-align: center;
}
.digital-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    golumn-gap: 18px;
    padding: 36px 24px 0;
}
.visible {
    background-size: cover;
    width: 300px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.project-text{
    padding: 6px;
    color: #000;
    border-color: #fff;
    background-color: #fafafa;
    z-index: 1;
    height: 150px;
    width: 300px;
}
.item-wrapper{
    width: 300px;
}
.item-wrapper:hover{
    box-shadow: 10px 10px 20px 0px rgb(0 0 0 / 25%);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}
.services__order{
    border: 2px solid #ff0045;
    padding: 20px;
}
.form2 {
    width: 50%;
}

.heading{
    color: #000;
    font-size: 1.3em;
    line-height: 20px;
    margin: 36px 0 26px;
}

.close{
    bottom: 20px;
    position: relative;
}
.modal-open{
    overflow: auto!important;
}
.modal li{
    list-style-type: circle;
}
.modal-body img{
    height: auto;
}
.modal-dialog {
    padding-top: 90px!important;
    margin-left: auto!important;
    margin-right: auto!important;
}
.modal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0!important;
    background-color: #000000;
    display: none!important;
}
#modal_form-youtube, .modal_form-youtube{
    width: 700px;
    height: 550px;
    position: fixed;
    top: 45%;
    left: 50%;
    margin-top: -275px;
    margin-left: -350px;
    display: none;
    opacity: 0;
    z-index: 9999;
    padding: 20px 10px;
}
#overlay, .overlay {
    z-index:9998;
    position:fixed;
    background-color:#000;
    opacity:0.3;
    -moz-opacity:0.3;
    filter:alpha(opacity=03);
    width:100%;
    height:100%;
    top:0;
    left:0;
    cursor:pointer;
    display:none;
}


.modal_close-youtube {
    width: 21px;
    height: 21px;
    position: absolute;
    top: 10px;
    right: 0px;
    cursor: pointer;
    display: block;
    color:white;
}
.video-examples {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.footer-video{
    justify-content: center;
}
.video-frame{
    width: 33%;
    margin-bottom: 0px;
}
.case-head{
    font-size: 18px;
    color: #000;
}
#show_result{
    cursor: pointer;
}
#show_result::after{
    content: '(развернуть)';
    font-size: 12px;
    margin-left: 12px;
    color: #244ed5;
}
#show_result.change::after{
    content: '(свернуть)';
}
#hidden_result{
    display: none;
}
.footer-video{
    width: 60%;
}

@media (max-width: 1024px) {

}

@media (max-width: 768px) {

    .services__banner-new{
        background-size: auto;
        background-repeat: no-repeat;
        height: 100%;
    }
    .services__proccess-wrap{
        width: 100%;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        grid-gap: 6px;
    }
    .services__banner-wrap{
        width: auto;
        padding: 3px 3px;
    }
    .services__banner-header{
        font-size: 1.367em;
        text-align: right;
    }
    .services__banner-text{
        font-size: 16px;
    }
    .services__form{
        grid-template-columns: 1fr;
        grid-template-areas: "plus" "form1";
    }
    .form1{
        border-top: 0px;
        border-left: 2px solid #ff0045;
    }
    .services__banner-text{
        width: auto;
    }
    .services__proccess-item strong{
        font-size: small;
    }
    .control__system-grid{
        grid-template-areas: "advant" "history";
        grid-template-columns: 1fr;
    }
    .advant{
        text-align: center;
        padding-bottom: 24px;
    }
    .history{
        border-left: 0px;
        border-top: 2px solid #ff0045;
    }
    .plus p:first-child{
        line-height: 24px;
    }
    .services__documents-grid{
        grid-template-columns: 1fr;
        grid-gap: 6%;
    }
    .services__documents-btn{
        font-size: 0.9em;
        margin: 50px 0 0 0!important;
    }
    summary::after{
        position: relative;
        bottom: -2px;
        font-size: 18px;
    }
    .license-img{
        text-align: center;
    }
    .form2{
        width: auto;
    }
    .modal_close{
        right: 188px;
    }
    .video-examples{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .video-frame, .footer-video{
        width: 98%;
        margin-bottom: 24px;
    }

    .hardware__grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .solutions__grid{
        display: grid;
        gap: 36px 24px;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .advantages-grid{
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 18px;
        padding: 0 24px;
    }
    .result__grid {
        display: grid;
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 12px;
    }
    .digital-grid {
        display: grid;
        grid-template-columns: 1fr;
        golumn-gap: 18px;
        padding: 36px 24px 0;
    }
    .modal-footer{
        text-align: left!important;
    }
    .solutions__item > span img {
        max-width: 350px;
    }
    .solutions__item {
        justify-self: center;
    }

}