/*ОБЩЕЕ*/

body{
    background: #ECECF1;
    background-image: url("https://static.tildacdn.com/tild3863-3732-4065-b631-653731376432/background-image.svg");
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tn-molecule{
    pointer-events: auto !important;
}

/*ИНПУТЫ И ФОРМЫ*/

/*.t-input-block:active, .t-input-block:focus, .t-input-block:valid{*/
/*    border: 1px solid #91D836;*/
/*}*/
#rec1195458141 div.t-input-group:nth-child(2) > div:nth-child(1) > div:nth-child(1){
    margin-bottom: 20px;
}


.t-form__successbox{
    background: none !important;
    padding: 0 !important;
    text-align: center !important;
    margin: 56px 0;
}

.t-form__successbox strong{
    color: #19191A !important;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    font-weight: 400 !important;
}

/*КНОПКИ*/

.main-button .tn-molecule, .main-button .tn-molecule .t396__elem:nth-child(1) > div:nth-child(1), .main-button img{
    transition: 0.4s ease-in;
}

.main-button:hover .tn-molecule {
    background: #222F1F !important;
}
.main-button:hover .tn-molecule .t396__elem:nth-child(1) > div:nth-child(1){
    color: #fff !important;
}

.main-button:hover img{
    filter: invert(100%);
    transform: rotate(180deg);
}

.white-button .tn-molecule{
     transition: 0.4s ease-in;
}
.white-button:hover .tn-molecule{
    background: #222F1F !important;
}
.white-button:hover .tn-molecule .t396__elem:nth-child(1) > div:nth-child(1){
    color: #fff !important;
}

.inst-button .tn-molecule{
     transition: 0.4s ease-in;
}
.inst-button:hover .tn-molecule{
    background-color: #91D836 !important;
}


.social-icon img{
    transition: 0.1s ease-in;
}

.social-icon:hover img{
    filter: brightness(0) saturate(100%) invert(89%) sepia(29%) saturate(1105%) hue-rotate(28deg) brightness(91%) contrast(85%);
}

.button-link > a{
    position: relative;
}
.button-link a:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: -4px;
    display: block;
    width: 0;
    height: 1px;
    background: #fff;
    transition: 0.3s;
    border-radius: 2px;
}
.button-link a:hover:after {
    width: 100%;
}


/*АДАПТИВЫ*/

@media only screen and (max-width: 1200px) {
    #rec1195458141 div.t-input-group:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > p:nth-child(1){
        font-size: 40px;
    }
    #rec1195458141 div.t-input-group:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > p:nth-child(1){
        font-size: 16px !important;
    }
    #rec1195458141 div.t-input-group:nth-child(2) > div:nth-child(1) > div:nth-child(1){
        margin-bottom: 16px !important;
    }
}

@media only screen and (max-width: 640px) {
    body{
        background-size: auto !important;
        background-position: right !important;
    }
    #rec1195458141 div.t-input-group:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > p:nth-child(1){
        font-size: 28px !important;
        max-height: 52px !important;
    }
    #rec1195458141  div.t-input-group:nth-child(1){
        margin: 0;
    }
    
    .t-form__successbox{
    margin: 32px 0 !important;
    }
    
    #form1195458141.t-form.t-form_inputs-total_9.js-form-proccess div.t-form__inputsbox.t-form__inputsbox_flex.t-form__inputsbox_inrow div.t-input-group.t-input-group_tx.t-input-group_inrow.t-input-group_width100.t-input-group_inrow-last{
        margin: 0 !important;
    }

    .t-form__successbox strong{
        display: block !important;
        text-align: center;
        font-size: 28px !important;
        line-height: 120% !important;
    }
    .t-form__successbox span{
        line-height: 100% !important;
    }
}