@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700');

body {
    margin: 0;
    padding: 0;
    font-family: Roboto, sans-serif;

    background: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.3)), url("../images/main/bg.jpg");
    -webkit-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
}

/* Обертка - Выравнивание по центру */
.wrapper-centre {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%, -0%);
}

.clg-forms {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    min-width: 370px;
}

.clg-forms a {
    text-decoration: none;
    transition: .5s;
    color: #298cad;
}

.clg-forms a:hover {
    color: #36d2ff;
}

.tab-form {
    background-color: #fff;
    display: none;
    padding: 30px 20px 20px;
}

.tab-form.active {
    display: block;
}

label.tab {
    color: #ffffff;
    font-weight: 600;
    padding: 15px;
    display: inline-block;
    border-radius: 3px 3px 0 0;
    margin-bottom: -1px;
    cursor: pointer;
}

label.tab.active,
input[name="tabs"]:checked + label {
    background-color: #fff;
    color: #1d5f75;
}

.box-inline {
    width: 100%;
}

.input {
    font-size: 14px;
    border: 2px solid #e9eaea;
    /*padding: 12px 14px;*/
    box-sizing: border-box;
    margin-bottom: 26px;
    color: #1e8da6;
    outline: none;
}

.input:focus {
    border-bottom: 2px solid #298cad;
}

::-webkit-input-placeholder {color: #c4c9c9} /* Webkit */
::-moz-placeholder          {color: #298cad} /* Firefox 19+ */
:-moz-placeholder           {color: #298cad} /* Firefox 18- */
:-ms-input-placeholder      {color: #298cad} /* IE */

a.button {
    background: #298cad;
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    display: block;
    text-align: center;
    line-height: 46px;
    margin-top: 30px;
    margin-bottom: 30px;
}

a.button:hover {
    background: #1f1f1f;
    color: #ffffff;
    border-radius: 7px 7px 7px 7px ;
    cursor: pointer;
}

.box-input_leftposition {
    display: flex;
    width: 100%;
}

.select_w50_left {
    width: 50%;
    padding-right: 25px;
}

.select_w50_right {
    width: 50%;
}

/* Плавающий текст */
.box-input {
    position: relative;
    min-width: 150px; /* Calligraff */
}

.box-input input,
.box-input select,
.box-input textarea {
    border: none;
    border-bottom: 2px solid #e9eaea;
    padding: 4px 0;
    width: 100%; /* Calligraff */
}

.box-input textarea {
    min-height: 150px; /* Calligraff */
}

.box-input label {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 3px;
    color: #c4c9c9;
    transition: .5s;
    pointer-events: none;
}

/*.box-input select:valid ~ label {*/
/*    top: -18px;*/
/*    font-size: 12px;*/
/*    color: #33d3fe;*/
/*}*/

.box-input input:focus ~ label,
.box-input textarea:focus ~ label,
.box-input input:valid ~ label,
.box-input select:valid ~ label,
.box-input textarea:valid ~ label {
    top: -18px;
    font-size: 12px;
    color: #33d3fe;
}

/* Поле комментария */
.box-comment {
    top: -18px;
    position: relative;
    min-width: 150px; /* Calligraff */
    border: dotted;
    border-width: 1px 1px 1px 1px;
    border-color: #d18528;
    padding: 5px 5px 5px 5px;
    margin-bottom: 5px;
}
.box-comment label {
    position: relative;
    top: 0;
    left: 0;
    color: #d18528;
    font-size: 12px;
    font-weight: bold;
}

.box-comment div {
    position: relative;
    padding-top: 3px;
    color: #d18528;
    font-size: 12px;
}

/* Checkbox */
.checkbox--read-and-agree {
    //margin-top: -25px;
    position: relative;
    font-size: 12px;
}

label[for='ckbox'],
label[for='ckbox2'] {
    cursor: pointer;
    padding-left: 30px;
    display: block;
    position: relative;
    box-sizing: border-box;
}

label[for='ckbox']::before,
label[for='ckbox2']::before {
    content: '';
    position: absolute;
    border: 2px solid #c4c9c9;
    width: 18px;
    height: 18px;
    top: 0;
    left: 0;
    border-radius: 3px;
    transition: .2s;
}

#ckbox:checked + label::before,
#ckbox2:checked + label::before {
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #408cc2;
    border-bottom: 2px solid #408cc2;
    transform: rotate(40deg);
    width: 12px;
    height: 22px;
    top: -5px;
    left: 1px;
}

#ckbox:not(:checked),
#ckbox:checked,
#ckbox2:not(:checked),
#ckbox2:checked {
    display: none;
}

.background_dimming {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*opacity: 0.5;*/
    background-color: rgba(27, 27, 33, 0.7);
    z-index: 100;
}
.background_dimming .win-wait_element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #298cad;
    z-index: 101;
    border-radius: 17px 17px 17px 17px ;
    padding: 25px;
    cursor: wait;
}

.background_dimming .win-mBox_Complite {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    z-index: 101;
    border-radius: 17px 17px 17px 17px ;
    padding: 25px;
    font-size: 14px;
    text-align: center;
    color: #1e8da6;
}

.win-mBox_Complite input {
    text-align: center;
}
.win-mBox_requestInfo {
    position: relative;
    vertical-align: top;
    color: #1e8da6;
}

.win-mBox_requestInfo .requestStatus-item {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

/*Стрелка указатель ошибки*/
.err_arrow-right span {
    display: block;
    position: absolute;
    top: 7px;
    left: -15px;
    width: 10px;
    height: 10px;
    border-bottom: 3px solid #ff3140;
    border-left: 3px solid #ff3140;
    margin: -2px;
    animation: err_arrow-right 0.7s infinite;
    float: left;
}
.err_arrow-right span:nth-child(2){
    animation-delay: -0.1s;
    left: -20px;
}
.err_arrow-right span:nth-child(3){
    animation-delay: -0.2s;
    left: -140px;
}
@keyframes err_arrow-right {
    0%{
        opacity: 0;
        transform: rotate(-135deg) translate(-0px,-0px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(-135deg) translate(0px,0px);
    }
}

/* Стили секции, в которой выводится капча */
.captcha {
    display: flex;
    //flex-wrap: nowrap;
    //white-space: nowrap;
    align-items: center;
    margin-top: -25px;
    //margin-bottom: -25px;
}

.captcha_image {
    border-radius: 4px;
    margin-right: 0.5rem;
	width: 114px;
	height: 40px;
}

.captcha_refresh {
    padding: 0.5rem 0.75rem;
    line-height: 1;
    border: 1px solid #ced4da;
    margin-right: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.captcha_refresh:hover {
    background-color: #eee;
}

.captcha_input {
    flex-grow: 1;
    position: relative;
    margin-right: 10px;
	margin-top: 20px;
	margin-bottom: 0;
}

@media (max-width: 400px) {
    .captcha {
        flex-wrap: wrap;
    }

    .captcha_input {
        //min-width: 150px;
        margin-top: 0.5rem;
    }
}

.captcha_input .invalid_review {
    position: absolute;
    bottom: -1.5rem;
}

.captcha_captcha
{
	//width: 300px;
}

.box-bg {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px;
    min-width: 330px;
}


.box-body {
    background-color: #fff;
    padding: 30px 20px 20px;
}


.display_none {
    display: none;
}
