body {
    position: relative;
}

.fast_button_advanced {
    
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
  
.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #1B6F26;
    position: fixed;
    z-index: 20;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
}

.modal-body{
    padding: 2rem !important;
}

.main-green{
    color: #1B6F26;
}

.main-bottom-line{
    border-bottom: 1px solid #e6e4e4;
}

.main-header{
    background: #fff;
}

.main-header-top {
    /*padding-top: .2rem;*/
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.main-header-top-logo {
    /*
    width: 40px;
    height: 43px;
    */
    height: 40px;
    margin-right: 3%;
}

.main-header-top-logo-text{
    text-align: left;
    font-weight: 600;
}

#toTop {
    visibility: hidden;
    opacity: .8;
    z-index: 10;
    width:6rem;
    height:3rem;
    text-align:center;
    padding:10px;
    position:fixed;
    bottom:1rem;
    left:3rem;
    cursor:pointer;
    border-radius: .25rem;
}

#toqaa_show {
    opacity: .8;
    z-index: 10;
    width:18rem;
    text-align:center;
    position:fixed;
    bottom:1rem;
    right:1rem;
    cursor:pointer;
    border-radius: .25rem;
}

#toqaa_info{
    visibility: hidden;
    z-index: 12;
    width:18rem;
    position:fixed;
    bottom:1rem;
    right:1rem;
    cursor:pointer; 
    border-radius: 5%;
}

.main-menu span{
    text-align: left;
}

.main-menu-icon {
   display: none;
   width: 35px;
   height: 35px;
   position: relative;
   cursor: pointer;
   margin-top: 1rem;
}

.main-menu-icon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: #28a745;
  border-radius: 5px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .20s ease-in-out;
}

.main-menu-icon span{
    z-index: 20;
}

.main-menu-icon span:nth-child(1) {
    top: 0px;
}

.main-menu-icon span:nth-child(2), .menu-icon span:nth-child(3) {
    top: 8px;
}

.main-menu-icon span:nth-child(4) {
    top: 16px;
 }

.main-menu-links-item {
    display: inline-block;
    line-height: 10px;
    padding: 0 10px;
    cursor: pointer;
}

.main-menu-links-item:hover {
    text-decoration: underline;
}

.main-menu.main-menu_state_open .main-menu-icon span:nth-child(1) {
    top: 17px;
    width: 0%;
    left: 50%;
}

.main-menu.main-menu_state_open .main-menu-icon span:nth-child(2) {
    transform: rotate(45deg);
}

.main-menu.main-menu_state_open  .main-menu-icon span:nth-child(3) {
    top: .5rem;
    transform: rotate(-45deg);
}

.main-menu.main-menu_state_open  .main-menu-icon span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.main-header-menu{
    padding-left: 10px;
}

.main-header-menu-li{
    padding-top: 5px;
    padding-bottom: 5px;
}

.main-header-menu-li > .main-header-menu-grid {
    visibility: hidden;
    position: absolute;
    width: 100%;
    left: 0;
    top: 5.7rem;
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.20);
    overflow: hidden;
    max-width: 2560px;
    padding-top: 0px;
    -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.20);
    z-index: 5;
    
}

.main-header-menu-navbar span:hover{
    color: #1B6F26;
}

/*
.main-header-menu-navbar a:hover .main-header-menu-grid{
    visibility: visible; 
    opacity: 100;
}
*/

.main-header-link{
    padding: .5rem .5rem !important; 
}

.main-header-menu-grid-navbar div{
    list-style-type: none;
}

.main-header-menu-grid-navbar div a{
    color: #212529 !important;
}

.main-header-menu-grid-navbar div a:hover{
    color: #1B6F26 !important;
}

.main-header-menu-grid-navbar .row .col-12, .main-header-menu-grid-navbar .row .col-md-4, .main-header-menu-grid-navbar .row .col-xl-2{
    padding-bottom: 1rem;
}

.main-bg{
    background: #f2f2f2;
}

.main-body{
    background: #f2f2f2;
}

.main-carusel-body { 
    background: #fff;
    height: 350px;
}

.main-carusel{ 
    background: #fff;
}

.main-carusel img{ 
    margin-left: calc(50% - 1017px/2); /* 1017 px ширина изображения */
}

.main-carusel-grey{ 
    background: #e6e5e6;
}

.main-carusel-grey img{
    margin-left: calc(50% - 1017px/2); 
}

.main-carusel-blue{ 
    background: #c1d2db;
}

.main-carusel-blue img{
    margin-left: calc(50% - 1017px/2);
}

.main-scrollspy{
    position: relative;
}

.main-component-navbar{
    margin-left: auto;
    margin-right: auto;
}

.main-component-navbar ul li a{
    color: #212529 !important;
}

.main-component-navbar ul li a:hover{
    color: #1B6F26 !important;
}

.main-component-row{
    padding: 2rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.main-component-text h6{
    text-transform: uppercase;
    font-weight: 600;
    color: #1B6F26;
}

.main-component-row a:hover{
    color: #1B6F26 !important;
}

.main-component-row-card{
    border-radius: .7rem !important;
}

.main-component-fast-info{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -2.5rem;
    z-index: 20;
}

.main-component-fast-img{
    width: 85px;
}

.main-component-fast-info .card{
    border-radius: 50px !important;
}

.main-component-fast-info-card .col{
    margin-bottom: .5rem;
}

.main-component-href p{
    font-weight: 600;
    color: #1B6F26;
}

.main-component-row-top{
    margin-top: 1rem;
}

.main-card-news-bg{
    position: relative;
}

.main-card-img-bg img{
    border-radius: .7rem;
}

.news-margin{
    margin-top: 2rem;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 2rem;
}

.main-component-news-img{
    width: 10% !important;
    height: auto;
    max-width: 110px;
}

.component-news-img{
    width: 80% !important;
    height: auto;
    max-width: 500px;
    padding-bottom: 1rem;
}

.main-component-news-footer{
    margin-top: 1.5rem;
}

.main-component-btn{
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.20);
}

.main-component-btn:hover{
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08), 0 10px 10px rgba(0, 0, 0, .04);
    transition: all .6s;
    transition-property: all;
    transition-duration: 0.6s;
    transition-timing-function: ease;
    transition-delay: 0s; 
}

.main-component-shadow {
    -webkit-transition: all .6s;
    transition: all .6s
}

.main-component-shadow:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, .15), 0 10px 10px rgba(0, 0, 0, .04);
    transition: all .6s;
    transition-property: all;
    transition-duration: 0.6s;
    transition-timing-function: ease;
    transition-delay: 0s; 
}

.main-component-video iframe{
    background: #fff;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.20);
    width: inherit;
}

.main-component-adv{
    background: #82C174;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.main-component-adv-row{
    padding: 2rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.main-component-adv-row h6{
    color: #000;
}

.main-component-adv-card div{
    background: #fff;
    border: 1px solid #fff;
}

.main-component-adv-title p{
    color: #000;
    /*font-weight: 300;*/
}

#qaa1_info{
    display: none;
}

#qaa1_hide{
    display: none;
}

#qaa1_show{
    display: block;
}

#qaa2_info{
    display: none;
}

#qaa2_hide{
    display: none;
}

#qaa2_show{
    display: block;
}

.main-component-card{
    background: #fff;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.20);
}

.main-component-card-img{
    width: 60%;
    margin-top: .5rem;
    margin-bottom: .5rem;
    margin-right: auto;
    margin-left: auto;
}

.main-component-card-img{
    width: 70% !important;
    max-width: 80px;
    margin-bottom: 1rem;
}

.main-card-img{
    padding: 1rem 1rem;
    width: 50vw;
}

.main-component-modal-img img{
    width: 75%;
}   

.main-component-tab{
    color: #28a745 !important;
    background-color: #fff !important;
    text-align: left !important;
    margin-top: .5rem;
    margin-bottom: .5rem;
    margin-left: 1rem;
}

.main-component-tab:hover{
    color: #1e7e34 !important;
}

.main-component-tab-content li{
    list-style-type: none;
    margin-top: 1rem;
}

.main-component-ahref{
    font-weight: 600;
    color: #28a745!important;
}

.main-leftimg {
    float: left;
    margin-top: 0rem !important;
    padding-right: 1rem;
    width: auto !important;
}

.main-component-margin-bottom{
    margin-bottom: 1rem !important;
}

.main-component-margin-top{
    margin-top: 1rem;
}

.main-component-row-footer{
    margin-top:1.5rem;
    margin-bottom:0.5rem;
}

.main-component-form{
    margin-top:1rem;
    margin-bottom:0.5rem;
}

.main-component-form-doc{
    color: #696969;
    font-weight: 600;
}

.main-component-form-date{
    color: #696969;
    font-weight: 400;
}

.main-component-page-change{
    padding-top: .2rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto; 
}

.main-component-green-row{
    background: #82C174 !important;
}

.main-component-green-row h5{
    color: #fff;
}

.main-component-green-row p{
    color: #fff;
}

.main-align-middle{
    margin: auto;
    color: #212529 !important;
}

.main-a-href:hover{
    text-decoration: none !important;
}

.main-a-href:hover div{
    color: #1B6F26 !important;
}

textarea{
    outline: none;
    overflow: hidden;
    resize: none !important;
    border: none;
    background: none;
    width: 95%;
    height: 100%;
}

.tab-content{
    padding: .5rem;
    margin-bottom: .5rem;
}

/* футер*/
.main-footer {
    background: #82C174; 
    margin-top: 1rem;
}

.main-footer-top{
    padding-top: .2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.main-footer-menu-navbar a{
    color: #fff;
}

.main-footer-menu-navbar a:hover{
    color: #f2f2f2;
}

.main-footer-bottom{
    border-top: 1px solid #fff;
    padding-top: 1rem;
    padding-bottom: .5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.page-link-active{
    text-decoration: underline;
    background-color: #e9ecef!important;
    border-color: #dee2e6!important;
}

/* адаптивная верстка */
@media screen and (max-width: 999px) {    
    #modal_data{margin-top: 15%;}
    
    .main-menu-icon{
        display: inline-block;
    }
    
    .main-menu_state_open .main-menu-links {
        display: block;
    }

    .main-menu_state_open .main-bottom-line {
        z-index: 10;
        background-color: #fff;
    }


    .main-menu-links {
        height: 100vh; /* 100vh - 100%*/
        position: absolute;
        display: none;
        right: 0;
        top: 0;
        left: 0;
        z-index: 10;
        overflow: scroll ;
        background-color: #fff;
    }

    .main-menu-link-margin{
        margin-top: 3.5rem;
    }

    .main-menu-links-item {
        display: block;
        padding: 1rem .8rem;
        margin-left: 0rem;
    }

    .main-menu-links-item:hover {
        text-decoration: underline;
    }

    .main-header-menu-li{
        width: 100%;
    }
    
    .main-header-menu-li > .main-header-menu-grid {
        visibility: visible;
        position: inherit;
        background-color: #fff;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
        -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    }

    .main-component-fast-info{
        margin-left: 5% !important;
        margin-right: 5% !important;
        margin-top: -2.5rem;
        z-index: 20;
    }

    .main-header-top-logo-name{
        display: none;
    }

    .no-scroll{
        overflow: hidden; 
    }
        
    .main-row{
        overflow: scroll;
    }

    .main-header-top-logo-text{
        z-index: 20;
        background-color: #fff;
    }

    .main-leftimg {
        float: left;
        margin-top: 0rem !important;
        padding-right: 1rem;
        width: 60% !important;
    }
    
    .main-card-img {
        padding: 1rem 1rem;
        width: 80vw;
    }

    #toQaa {
        visibility: hidden;
    }
}

@media screen and (max-width: 767px) {   
    .main-component-fast-info .col-8{
        -webkit-box-flex: unset;
        -ms-flex:unset;
        flex: unset;
        max-width:unset;
    }
}

.main-row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.main-component-oms-vrpolis img{
    width: 80%;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
    .img-thumbnail{
        width: 10rem !important;
    } 

    .img-fluid{
        width: 5rem !important; 
    }

    .main-footer .img-fluid{
        width: 2.5rem !important;
    }

    .main-component-news .img-fluid{
        width: 70% !important;
    }

}


