/*Изменение Бутстрапа*/
.container {
    width: 100%;
    max-width: 1500px;
}
/* / / Изменение Бутстрапа*/


/*Общие стили*/
html, body {
    height:100%;
}
body{
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 23px;
    color: rgb(30, 30, 30);
    font-weight: 400;
    background-color: rgb(240, 244, 245);
}
.wrap{
    position: relative;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}
a{
    color: rgb(193, 16, 84);
    text-decoration: none;
    border-bottom: 1px solid rgba(207, 0, 16, .3);
    transition: border-color .3s, color .3s;
}


a:hover{
    color: rgb(166, 6, 67);
    text-decoration: none;
    border-bottom: 1px solid rgba(187, 0, 0, .5);
    transition: none;
}

a:active{
    outline: none;
}
a:focus{
    outline: none;
}
sup{
    font-size: .8em;
}
sub{
    font-size: .8em;
}
.row-padding{
    padding-left: 1%;
    padding-right: 1%;
}
.link-on-this-page{
    color: rgb(90, 90, 90);
    text-decoration: none;
    border-bottom: 1px dashed rgba(30, 30, 30, .3);
    cursor: pointer;
}
.link-on-this-page:hover{
    color: rgb(30, 30, 30);
    text-decoration: none;
    border-bottom: 1px dashed rgba(30, 30, 30, .6);
}
.link-on-this-page:focus{
    color: rgb(30, 30, 30);
    text-decoration: none;
    border-bottom: 1px dashed rgba(30, 30, 30, .6);
    outline: none;
}
.link-like-text{
    color: inherit;
    border-bottom: inherit;
    text-decoration: inherit;
}
.link-like-text:hover{
    color: inherit;
    border-bottom: inherit;
    text-decoration: inherit;
}
.hidden-container{
    visibility: hidden;
    overflow: hidden;
    height: 0;
}
.half-space{
    font-size: 0.65em;
}

@media (min-width: 500px) {
    .row-padding{
        padding-left: 4%;
        padding-right: 4%;
    }
}
/*Общие стили*/



/*Элементы формы*/
.form{
    display: block;
    border-radius: 4px;
    background-color: white;
    padding: 25px 33px;
}
.input-wrapper{
    margin: 0 0 20px 0;
}
.label{
    display: block;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 0 2px 0;
}

.text-input{
    display: block;
    width: 100%;
    font-size: 16px;
    border: 1px solid rgb(220, 220, 220);
    border-radius: 2px;
    -webkit-appearance: none;
    padding: 4px 8px 6px 8px;
    margin-bottom: 2px;
}


/* Подпись про обработку данных */
.form-data-processing-w{

}
.form-data-processing-w input[type="checkbox"]{
    float: left;
    margin-top: 5px;
}
.form-data-processing-text{
    font-size: 13px;
    line-height: 21px;
    color: rgb(120, 120, 120);
    padding: 0 0 0 18px;
}
.form-data-processing-text a{
    color: rgb(30, 30, 30);
    border-bottom-color: rgba(60, 60, 60, .15);
}
.form-data-processing-text a:hover{
    border-bottom-color: rgba(60, 60, 60, .3);
}
.form-data-processing-text a:focus{
    text-decoration: none;
}


.attach-file-btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    cursor: pointer;
}
.attach-file-btn:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><defs><style>.a,.b{fill:none;}.a{stroke:rgb(224, 49, 69);}</style></defs><path class="a" d="M2.62,8.2,8.32,2.51a4.28,4.28,0,0,1,6.06,6.06L7.09,15.85a2.81,2.81,0,0,1-4,0,2.79,2.79,0,0,1,0-3.95l7-7.25a1.58,1.58,0,0,1,2.24,2.24L6.83,12.41"/><rect class="b" width="18" height="18"/></svg>');
    background-repeat: no-repeat;
}
.attach-file-btn-text{
    display: inline-block;
    color: rgb(224, 49, 69);
    line-height: 1.5;
    border-bottom: 1px dashed rgba(207, 0, 16, .3);
    cursor: pointer;
    margin: 7px 0 7px 20px;
}


.attach-file-btn-input {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    font-size: 5px;
    cursor: pointer;
}



/* / / Элементы формы*/

/*Ошибки формы*/
.error-msg{
    display: block;
    max-height: 0;
    font-size: 0;
    line-height: 0;
    font-style: italic;
    color: rgb(137, 81, 81);
    opacity: 0;
    background-color: rgb(255, 228, 228);
    border-radius: 2px;
    padding: 0 8px;
    transform: translate(0, -20px);
    transition: max-height .3s, opacity .3s, transform .25s;
}
.error-msg-open{
    display: inline-block;
    max-height: 10em;
    font-size: 12px;
    line-height: 16px;
    padding: 3px 8px;
    opacity: 1;
    transform: translate(0, 0);
}
/*Ошибки формы*/


/*Кнопки*/
.btn{
    display: inline-block;
    font-size: 13px;
    line-height:13px;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 14px;
    background-color: rgb(193, 16, 84);
    padding: 8px 16px;
}
.btn:hover{
    color: white;
    text-decoration: none;
    background: rgb(166, 6, 67);
    border: none;
}

.btn:active{
    background: rgb(166, 6, 67);
}
.btn:active:focus{
    color: white;
}
.btn:focus{
    color: white;
    text-decoration: none;
}

.btn-big{
    font-size: 17px;
    font-weight: 700;
    border-radius: 18px 20px 18px 20px;
    padding: 14px 20px;
}
@media (min-width:500px){
    .btn-big{
        font-size: 20px;
        border-radius: 22px 22px 22px 22px;
        padding: 16px 23px;
    }
}
/* / / Кнопки*/

/* Радио кнопки */
input[type="radio"]:not(checked) {
    position: absolute;
    opacity: 0;
}

input[type="radio"] + label {
    padding-left: 25px;
    position: relative;
    cursor: pointer;
}

input[type="radio"]:not(checked) + label:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #fff;
    border:1px solid rgb(193, 16, 84);
}
input[type="radio"]:checked + label:before {
    box-shadow: inset 0 1px 1px rgba(166, 6, 67, .5);
    background-color: rgb(193, 16, 84);
}
input[type="radio"]:checked + label:after {
    content: '';
    position: absolute;
    top: 7px;
    left: 5px;
    width: 7px;
    height: 7px;
    box-shadow: 0 1px 1px rgba(166, 6, 67, .5);
    border-radius: 50%;
    background-color: white;
}
/* / / Радио кнопки */

/* Контент */
.a p{
    padding: 0 0 10px 0;
}
/* / / Контент */