@font-face {
    font-family: OpenSans; /* Имя шрифта */
    src: url('../fonts/OpenSans-Regular.ttf'); /* Путь к файлу со шрифтом */
}

* {
    padding: 0 ;
    margin: 0 ;
}
.clearfix::after {
    display: block;
    content: "";
    clear: both;
}
body ,html {
    font-family: OpenSans;
}
.yellow {
    min-height: 80px;
    background-color: #fdc70f;
    margin-bottom: 25px;
}
.yellow h3 {
    height: 100%;
    margin: 0;
    padding: 20px 10px 15px 0px;
    font-family: OpenSans;
    font-size: 20px;

}
.yellow .col-xs-2 {
    font-size: 40px;
    padding-top: 10px;
    text-align: center;
}

fieldset {
    border:  none !important;
}
.first {
    padding-bottom: 50px;
}
.first label {
    display: block;
    width: 90%;
    margin:auto;
    margin-bottom: 80px;
}
.first label span {
    display: block;
    width: 100%;
    position: absolute;
    bottom: -55px;
    text-align: center;
    left: 0px;
    color: black;
    font-family: OpenSans;
    font-size: 11px;
    font-style: italic;
    font-weight: 400;
}


.container.no-gutters > [class^="col-"] {
    padding-left: 0;
    padding-right: 0;
}
p {
    margin-bottom: 20px;
    font-family: OpenSans;

}
.atention {
    color: grey;
    font-style: italic;
    margin-bottom: 30px;
    padding-left: 30px;
}
.fourth label {
    color: black;
    font-family: OpenSans;
    font-size: 18px;

}
input {outline:none;}
/*checkboxes*/


/*checkboxes-type*/

/* Cначала обозначаем стили для IE8 и более старых версий
т.е. здесь мы немного облагораживаем стандартный чекбокс. */
.checkbox {
    vertical-align: top;

}
/* Это для всех браузеров, кроме совсем старых, которые не поддерживают
селекторы с плюсом. Показываем, что label кликабелен. */
.checkbox + label {
    cursor: pointer;
}

/* Далее идет оформление чекбокса в современных браузерах, а также IE9 и выше.
Благодаря тому, что старые браузеры не поддерживают селекторы :not и :checked,
в них все нижеследующие стили не сработают. */

/* Прячем оригинальный чекбокс. */
.checkbox:not(checked) {
    position: absolute;
    opacity: 0;
}
.checkbox:not(checked) + label {
    position: relative; /* будем позиционировать псевдочекбокс относительно label */

}
/* Оформление первой части чекбокса в выключенном состоянии (фон). */
.checkbox:not(checked) + label:before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 41%;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-image: url("../img/heart.png");
    background-position: center center;
    background-repeat:no-repeat;
    background-size:35px 35px;

    transition: 0.3s;
}
.styles .checkbox:not(checked) + label:before {
    bottom: auto;
    left: auto;
    right: 5px;
    top: 5px;
}
.checkbox:not(checked) + label:before:hover {
    background-image: url("../img/heart-like.png");
    background-position: center center;
    background-size:35px 35px;
    background-repeat:no-repeat;
}

/* Меняем фон чекбокса, когда он включен. */
.checkbox:checked + label:before {
    background-image: url("../img/heart-like.png");
    background-position: center center;
    background-repeat:no-repeat;
    background-size:35px 35px;
}

.saturated input[type="checkbox"] {

    vertical-align: top;

}
.saturated input[type="checkbox"]:not(checked) + label {
    position: relative; /* будем позиционировать псевдочекбокс относительно label */

}
.saturated input[type="checkbox"] + label {
    cursor: pointer;
}
.saturated input[type="checkbox"]:not(checked) {
    margin-right: 5px;
    opacity: 0;
}
.saturated input[type="checkbox"]:not(checked) + label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 50%;
    background-color:#ff0000;
    transition: 0.3s;
}
.saturated input[type="checkbox"]:checked + label:before {
    background-image: url("../img/arrow.png");
    background-position: center center;
    background-repeat:no-repeat;
    background-size:10px 10px;
}
.colors {
    margin-bottom: 20px;
}
.colors-header {
    padding-top: 8px;
}
#ffa800:not(checked) + label:before {
    background-color:#ffa800;
}
#fffc00:not(checked) + label:before {
    background-color:#fffc00;
}
#g18ff00:not(checked) + label:before {
    background-color:#18ff00;
}
#b00f6ff:not(checked) + label:before {
    background-color:#00f6ff;
}
#b000cff:not(checked) + label:before {
    background-color:#000cff;
}
#ba00ff:not(checked) + label:before {
    background-color:#ba00ff;
}
#ff00a8:not(checked) + label:before {
    background-color:#ff00a8;
}


#e74c3c:not(checked) + label:before {
    background-color:#e74c3c;
    opacity: 0.6;
}
#e67e22:not(checked) + label:before {
    background-color:#e67e22;
    opacity: 0.6;;
}
#f1c40f:not(checked) + label:before {
    background-color:#f1c40f;opacity: 0.6;
}
#b2ecc71:not(checked) + label:before {
    background-color:#2ecc71; opacity: 0.6;
}
#b3498db:not(checked) + label:before {
    background-color:#3498db; opacity: 0.6;
}
#b1958ae:not(checked) + label:before {
    background-color:#1958ae; opacity: 0.6;
}
#b8e4ba9:not(checked) + label:before {
    background-color:#8e4ba9; opacity: 0.6;
}
#ce4ea2:not(checked) + label:before {
    background-color:#ce4ea2; opacity: 0.6;
}

#se74c3c:not(checked) + label:before {
    background-color:#f7b9b2;
    opacity: 0.7;
}
#se67e22:not(checked) + label:before {
    background-color:#f8d0ac;
    opacity: 0.7;
}
#sf1c40f:not(checked) + label:before {
    background-color:#f7e6a3;
    opacity: 0.7;
}
#sb2ecc71:not(checked) + label:before {
    background-color:#b4ebcb;
    opacity: 0.7;
}
#sb3498db:not(checked) + label:before {
    background-color:#b2e7f8;
    opacity: 0.7;
}
#sb1958ae:not(checked) + label:before {
    background-color:#8fb5e8;
    opacity: 0.7;
}
#sb8e4ba9:not(checked) + label:before {
    background-color:#eac6f9;
    opacity: 0.7;
}
#sce4ea2:not(checked) + label:before {
    background-color:#f7c9e7;
    opacity: 0.7;
}


#ffffff:not(checked) + label:before {
    background-color:#ffffff;
    border:1px solid #000;
    opacity: 0.7;
}
#dbdbdb:not(checked) + label:before {
    background-color:#dbdbdb;
    opacity: 0.7;
}
#b8b8b8:not(checked) + label:before {
    background-color:#b8b8b8;
    opacity: 0.7;
}
#s949494:not(checked) + label:before {
    background-color:#949494;
    opacity: 0.7;
}
#s6b6b6b:not(checked) + label:before {
    background-color:#6b6b6b;
    opacity: 0.7;
}
#s474747:not(checked) + label:before {
    background-color:#474747;
    opacity: 0.7;
}
#s242424:not(checked) + label:before {
    background-color:#242424;
    opacity: 0.7;
}
#s000000:not(checked) + label:before {
    background-color:#000000;
    opacity: 0.7;
}
input[type="submit"] {
    color: black;
    font-family: OpenSans;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    width: 280px;
    height: 50px;
    margin:auto;
    border: none;
    background-color: #ffc200;
}
.copyrignt  {
    padding-left: 140px;
    min-height: 120px;
    color: black;
    font-family: OpenSans;
    font-size: 20px;
    font-weight: 400;
    background-image: url(../img/attention.png);
    background-position: 20px 0;
    background-repeat: no-repeat;
    background-size: 100px 100px;
    margin-top: 50px;
}
.styles-item {
    padding-left: 60px;
    padding-right: 60px;
}
@media (max-width: 400px) {
    .saturated input[type="checkbox"]:not(checked) {
        margin-right: 20px;
        opacity: 0;
        margin-bottom: 9px;
    }
    .copyrignt  {
        padding-left: 10px;
        min-height: 120px;
        color: black;
        font-family: OpenSans;
        font-size: 18px;
        font-weight: 400;
        background-image: none;
    }
    .text-right {
        margin-top: 10px;
    }

}
.error {

}
.error {
    transition: 0.3s;
    position: fixed;
    right: 20px;
    bottom: 40px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 9px;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
   opacity: 0;
    z-index: 100;
}
.success {
    font-family: OpenSans;
    font-size: 18px;
    width: 260px;
    margin:auto;
    margin-top: 5%;
    background-color: limegreen;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
}

/*checkboxes-style*/
.fourth label {
    display: block;
    padding-left: 65px;
    margin-bottom: 10px;
}
.fourth .first label {
    display: block;
    padding-left: 0px;
    margin-bottom: 30px;
    margin-top: 30px;
}
.inner-label figure {
    height: 150px !important;
    width: 150px !important;
    margin: auto;
}
/* Cначала обозначаем стили для IE8 и более старых версий
т.е. здесь мы немного облагораживаем стандартный чекбокс. */
.checkbox-style {
    vertical-align: top;

}
/* Это для всех браузеров, кроме совсем старых, которые не поддерживают
селекторы с плюсом. Показываем, что label кликабелен. */
.checkbox-style + label , .checkbox-inner + label{
    cursor: pointer;
}

/* Далее идет оформление чекбокса в современных браузерах, а также IE9 и выше.
Благодаря тому, что старые браузеры не поддерживают селекторы :not и :checked,
в них все нижеследующие стили не сработают. */

/* Прячем оригинальный чекбокс. */
.checkbox-style:not(checked) , .checkbox-inner {
    position: absolute;
    opacity: 0;
}
.checkbox-style:not(checked) + label {
    position: relative; /* будем позиционировать псевдочекбокс относительно label */

}
/* Оформление первой части чекбокса в выключенном состоянии (фон). */
.checkbox-style:not(checked) + label:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-image: url("../img/heart.png");
    background-position: center center;
    background-repeat:no-repeat;
    background-size:35px 35px;
    transition: 0.3s;
}


/* Меняем фон чекбокса, когда он включен. */
.checkbox-style:checked + label:before {
    background-image: url("../img/heart-like.png");
    background-position: center center;
    background-repeat:no-repeat;
    background-size:35px 35px;
}


.checkbox-inner:checked +label img {
    border: 2px solid #fdc70f;
    display: block;
}
.checkbox-inner:checked + label figure {
    position: relative;
}
.checkbox-inner:checked + label figure:before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 55555;
    background-image: url("../img/heart-like.png");
    background-position: center center;
    background-repeat:no-repeat;
    background-size:35px 35px;
}




/*2section*/
.second h4 {
    color: black;
    font-family: OpenSans;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
}
.second .group {
    background-color:#fff;
    width:100%;
    min-height: 315px;
    border: 1px solid #fbf6cf;
    padding: 20px 45px;
    margin:auto;
    margin-bottom: 60px;
}

.emotion {
    margin-bottom: 15px;
}


input[type=range] {
    -webkit-appearance: none;
    margin-top: 8px;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    border-radius: 8px;
    height: 2px;
    border: 1px solid #bdc3c7;
    background-color: #fff;
}
input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    background-color: #fdc70f;
    border: 1px solid #bdc3c7;
    width: 13px;
    height: 13px;
    border-radius: 10px;
    cursor: pointer;
}

input[type=range]::-moz-range-track {
    border-radius: 8px;
    height: 7px;
    border: 1px solid #bdc3c7;
    background-color: #fff;
}
input[type=range]::-moz-range-thumb {
    background-color: #fdc70f;
    border: 1px solid #bdc3c7;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    cursor: pointer;
}

.first img {
    width: 100%;
    height:auto;
}
/* third section*/
.third {
    margin-bottom: 55px;
}
.third input {
    height: 40px;
    padding-left: 10px;
}
.third textarea {
    padding-top: 10px;
}
.third input ,.third textarea {
    width: 100%;
    background-color: white;
    border: 1px solid #ffc610;
    padding-left: 10px;
}
.third label {
    color: black;
    font-family: OpenSans;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    margin-top: 30px;
}

/*fourth*/

.fourth img {
    width: 100%;
}

