 @media (min-width: 0) { 
 
    .slam-form-m{
        display: flex;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 auto;
        z-index: 2;    
        max-width: 580px; 
        position: relative;
        padding: 20px 10px;
    }
    .slam-form-m form{
        border-radius: 20px;
    }
}
@media (min-width: 768px){ 
    .slam-form-m{
        max-width: 1050px;
    }
    .slam-form-m form{
        border-radius: 25px;
    }
}      
@media (min-width: 1366px) { 
    .slam-form-m form{
        border-radius: 40px;
    }
} 
.slam-form-m form{
    background: #fff;
    padding: 0px 70px 50px 70px;
    
}
@media (max-width: 767px) {
  /* стили для xs-устройств */
  .slam-form-m form {
    background: #fff;
    padding: 0px 20px 50px 20px;
  }
}
@media (min-width: 768px) and (max-width: 990px) {
  /* стили для sm-устройств */
  .slam-form-m form {
    background: #fff;
    padding: 0px 20px 50px 20px;
  }
}
.slam-easyform .control-label{
    display: none !important;
}
.slam-easyform .modal {
    text-align: center;
}
@media screen and (min-width: 768px) {
    .slam-easyform  .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}
.slam-easyform  .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}
.slam-easyform .modal .modal-header .title {
    margin: 0;
    font-size: 22px;
    display: inline-block;
}
.hide-formvalidation small.help-block{
    display: none!important;
}

@keyframes spinner {
    to {
        transform: rotate(360deg)
    }
}

.slam-easyform .spinner,.slam-easyform .spinner:hover {
    position: relative;
    color: transparent
}

.slam-easyform .spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner .6s linear infinite
}

@media (min-width: 0) { 
    .slam-form-m .form-group input,
    .slam-form-m .form-control,
    .slam-form-m .file-selectdialog{
       border-radius: 20px; 
    }
}  
@media (min-width: 768px){ 
    .slam-form-m .form-group input,
    .slam-form-m .form-control,
    .slam-form-m .file-selectdialog{
       border-radius: 25px; 
    } 
}  
@media (min-width: 1366px) { 
    .slam-form-m .form-group input,
    .slam-form-m .form-control,
    .slam-form-m .file-selectdialog{
       border-radius: 30px; 
    } 
} 
.slam-form-m .b-button-bl{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
 .slam-easyform .btn-primary{
    border-radius: 40px !important;
    padding: 0px 20px !important;
    background-color: #6BB436;
    box-shadow: 0px 0px 20px rgba(34, 60, 80, 0.25);
    font-weight: 700;
    font-size: 18px;
    transition: 0.5s all;
    position: relative;
    border: none;
   
}

.form-group .form-control::placeholder{
    color: #687E8A;
}
.form-group .form-control{
    color: #000;
}
.slam-form-title{
    font-weight: 700; 
    color: #6BB436;
    width: 85%;
}

.slam-form-text{
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;  
}
@media (max-width: 767px) {
  /* стили для xs-устройств */ 
  .slam-form-text{    
    font-size: 15px;
  }
}
@media (min-width: 768px) and (max-width: 990px) {
  /* стили для sm-устройств */ 
  .slam-form-text{    
    font-size: 15px;
  }
}
@media (min-width: 0) { 
     .slam-form-m .form-control{
        font-weight: 700;
        font-size: 12px;
        color: #687E8A;
        height: 50px;
        border: 1px solid #CBD2D6;
        display: flex;
        align-items: center;
    }
}  
@media (min-width: 768px){ 
    .slam-form-m .form-control{
        font-size: 15px;
    }
}  

.slam-form-m input[type=checkbox], 
.slam-form-m input[type=radio]{
    height: 20px;
    width: 20px;
    margin: 1px 0 0;
    margin-left: 0px !important;
}
.slam-form-m input[type=radio]{
    left: 0px;
}
.slam-form-m .form-control:focus{
    border-color: #6bb436;
    outline: 0;
    
    box-shadow: none;
    border: 1px solid #bbdda2;
}

.slam-form-m .file-selectdialog .file-extended .file-uploader .file-but-text{
    color: #6bb436;
}

.slam-form-m input[type=checkbox] {
    height: 20px;
    width: 20px;
    margin: 1px 0 0;
    opacity: 1;
}
.slam-form-m input:checked{
    background: red;
}

.form-group textarea{
 
}

.b-grass-form-m-group{
    height: 100%;
}
.b-grass-form-m-textarea-bl{
    position: relative;
    height: 100%;
}
.b-grass-form-m-textarea-bl .b-grass-form-m-textarea{
    height: 100% !important;
}





.slam-easyform .b-gr-checkbox-inline:nth-child(1) {
    padding: 0;
}
.b-gr-checkbox-inline input{
    margin-top: 1px;
  position: absolute;
}
.b-gr-checkbox-inline span{
    margin-left: 0 !importantm;
    margin-right: 40px;
}
/* */

.b-button-bl .submit-button{
    padding: 13px 20px !important;
}
.b-button-bl .submit-button:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    background-color: #4C8126;
    -webkit-box-shadow: 0 5px 25px rgb(107 180 54 / 40%);
    box-shadow: 0 5px 25px rgb(107 180 54 / 40%);
}
.slam-easyform .has-error .form-control,
.slam-easyform .has-error .form-control:focus{
    border: 1.5px solid #D62B49;
    -webkit-box-shadow:0px 0px 10px rgba(214, 43, 73, 0.24);
    box-shadow: 0px 0px 10px rgba(214, 43, 73, 0.24);
     
}
.slam-form-m .slam-easyform .has-error .form-control {
    border-color: #D62B49;
    margin-top: 8px;
    margin-bottom: 6px !important;;
}
.slam-easyform .has-success .form-control,
.slam-easyform .has-success .form-control:focus{
    border-color: #6BB436;
    color: #000;
    box-shadow: none;
}
.slam-easyform .form-group.has-error .help-block{ 
    color: #D62B49;
    font-size: 15px;
    font-weight: 700;
}
.slam-easyform .bv-form .form-group{
    margin-bottom: 20px;
    width: 100%;
}
@import 'nice-select';

.switch-parent {
    display: flex;
    flex-direction: column;
    
    
    border-radius: 27px;
    position: absolute;       
    right: 0px;
    width: 360px; 
} 
.switch-parent.open {
    border-radius: 27px 27px 0 0;
}
.slam-easyform .radio-inline, .slam-easyform .checkbox-inline{
    padding-left: 0px;
}
@media (min-width: 0) { 
    .form-group .file-input.file-extended{
        max-width: 250px;
        width: 100%;
        margin: 0 auto;
        position: relative;
         
    }
}  
@media (min-width: 768px){ 
 
}  
@media (min-width: 1366px) { 
    .form-group .file-input.file-extended{        
        margin: 0;
        justify-content: flex-start;
    }
} 
@media (min-width: 1600px) { 
 
}
.b-grass-form-group{
    width: 100% !important;
    margin-bottom: 20px !important;
}
.union_div{
    display: flex;
    flex-direction: row;
}
.row_left{
    display: flex;
    flex-direction: column;
    width: 50%;
}
.row_right{
    display: flex;
    flex-direction: column;
    width: 50%;
}
.b-grass-form-m-checkbox-item{
    position: relative;
    display: block;
}
.b-grass-form-m-checkbox-centr .help-block{
    top: -10px;
}
@media (min-width: 0) { 
    .b-grass-form-m-checkbox-centr{
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
} 
@media (min-width: 1366px) { 
    .b-grass-form-m-checkbox-centr{ 
        justify-content: flex-start;
        margin-top: 25px;

    }
} 
.b-grass-form-m-checkbox{
  
}
.b-grass-form-m-checkbox_a{
    margin-left: 0;
    display: block;
    max-width: 312px;
    font-size: 16px;
}
.b-grass-form-m-checkbox_a a{
    font-size: 14px;
}
/* прячем input checkbox */
.b-grass-form-m-row_right input[type="checkbox"] {
  display: none;
}

/* стили для метки */
.b-grass-form-m-row_right label {
  color: #000;
  cursor: default;
  font-weight: normal;
  line-height: 30px;
  padding: 10px 0;
  vertical-align: middle;
}

/* формируем внешний вид чекбокса в псевдоэлементе before */
.b-grass-form-m-row_right label:before {
    content: " ";
    color: #6BB436;
    display: inline-block;
    font: 20px/30px Arial;
    margin-right: 15px;
    position: relative;
    text-align: center;
    text-indent: 0px;
    width: 30px;
    height: 30px;
    background: #FFF;
    border: 2px solid #6BB436;
    border-radius: 6px;
    border-image: initial;
    vertical-align: middle;
}

/* вариации внешнего вида в зав-ти от статуса checkbox */
/* checked */
.b-grass-form-m-row_right input:checked + label:before {
  content: " ";
  background-image: url(check.svg);
  background-repeat: no-repeat;
  background-position: center;
}
/* disabled */
.b-grass-form-m-row_right input:disabled + label:before {
  background: #eee;
  color: #aaa;
}
.b-order-btn-form-bl .slam-easyform .radio-inline, 
.slam-easyform .checkbox-inline{

}



.b-grass-form-m-checkbox{
    position: relative;
}
.b-grass-form-m-checkbox_a{
 
    display: block;
}
.b-grass-form-m-checkbox_a a{
    font-size: 14px;
}
/* прячем input checkbox */
.b-grass-checkbox-inline input[type=radio] {
  display: none;
}

/* стили для метки */
.b-grass-checkbox-inline label {
  color: #000;
  cursor: default;
  font-weight: normal;
  line-height: 30px;
  padding: 10px 0;
  vertical-align: middle;
}

/* формируем внешний вид чекбокса в псевдоэлементе before */
.b-grass-checkbox-inline label:before {
    content: " ";
    color: #6BB436;
    display: inline-block;
    font: 20px/30px Arial;
    margin-right: 15px;
    position: absolute;
    text-align: center;
    text-indent: 0px;
    width: 30px;
    height: 30px;
    background: #FFF;
    border: 2px solid #687E8A;
    border-radius: 50%;
    border-image: initial;
    vertical-align: middle;
}

/* вариации внешнего вида в зав-ти от статуса checkbox */
/* checked */
.b-grass-checkbox-inline input:checked + label:before {
  content: " ";
  background-image: url(radio.svg);
  background-repeat: no-repeat;
  background-position: center;
  border: 2px solid #6BB436;
}
/* disabled */
.b-grass-checkbox-inline input:disabled + label:before {
  background: #eee;
  color: #aaa;
}
.b-order-btn-form-bl .slam-easyform .radio-inline, 
.slam-easyform .checkbox-inline{

}
.slam-easyform .b-gr-radio-inline{
    margin-top: -1px;
    margin-bottom: 18px !important;
    width: 100%;
    display: flex !important;
    align-content: center;
    align-items: center;
}
.b-gr-radio-inline-checked{
    background: red;



}
.b-gr-radio-add{
    background: #ff000000;
    width: 96%;
    height: 53px;
    display: block;
    z-index: 2;
    position: absolute;
    
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}
.b-gr-radio-add_show{
  display: none;
}
.b-gr-radio-input{
  background: #E7EEF1 !important;  
  -webkit-text-fill-color: #CBD2D6; 
  text-fill-color: #CBD2D6; 
/*  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);*/
}
.bv-form .help-block{
    display: none;
}
.b-gr-radio-input_show{  
  background: #fff !important;   
  -webkit-text-fill-color: #687E8A;
}
.b-gr-radio-inline span{
    max-width: 220px;
    position: relative;
    display: block;
    font-size: 15px;
    margin-left: 40px;
    vertical-align: baseline;
    line-height: 18px;
}
.b-grass-form-m-btn{
     
}
.nice-select.form-control{
    max-width: 100%;
}

.has-error .nice-select.form-control{
    border: solid 1px #D62B49 ;
    box-shadow: 0px 0px 10px rgb(214 43 73 / 24%);
}







@media (min-width: 0) { 
   .fancybox-content .slam-form-m .fancybox-button--close{
        width: 49px;
        right: -4px;
        top: 10px;
        outline: none;
    }
}  
@media (min-width: 768px){ 
   .fancybox-content .slam-form-m .fancybox-button--close {
        width: 90px;
        height: 50px;
        right: -10px;
        top: -10px;
    }
    .slam-form-m .fancybox-button svg{
        left: 0;
    }
}



.slam-form-m .form-control{
    box-shadow: none;
}

.slam-easyform p.alert-success{
    background: none;
    text-align: center;
    margin: 0px;
}