.send_form { padding: 0; margin: 0; }
.form_title { font-size: 18px; text-align: center; font-weight: bold; }
.form_body input, .form_body textarea, .form_body select { width: 250px; margin: 0; padding: 2px 0; font-size: 13px; line-height: 18px; }
.form_body .radio, .form_body .checkbox { width: 18px; } 
.progress { position:relative; width:250px; border: 1px solid #9E9E9E; padding: 1px; margin: 5px 0; border-radius: 3px; }
.bar { background-color: #95F895; width:0%; height:20px; border-radius: 3px; }
.percent { position:absolute; display:inline-block; top:3px; left:45%; }
.send_form .sub_form {
    width: 254px;
    margin: 7px 0;
    padding: 7px 0;
    font-size: 20px;
    background-color: #495bff;
    color: #fff;
    cursor: pointer;
}
.status { font-size: 14px; padding: 3px 0; font-weight: bold; }
.error { background: #FDDCDC; padding: 0; }

body {
    display: flex;
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
}
body:after {
    content : "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(./img/back.jpg); 
    width: 100%;
    height: 100%;
    opacity : 0.2;
    z-index: -1;
}
.form_body {
  margin: auto;
}
/* стилизация radio */
body:not(#Foo) input[type="radio"] {
display: none}
body:not(#Foo) label font {
padding-left: 15px;
height: 15px}

body:not(#Foo) input[type="radio"] + font {
    background-color: #676767 !important;
    background: url(./radio-off.png) 25px no-repeat;
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
    box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
    text-align: left;
    margin: 9px 0;
    transition: all .35s ease;
    display: block;
    border-radius: 0 0 8px 8px;
    height: 42px;
    line-height: 1.5;
    padding-left: 55px;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
}

body:not(#Foo) input[type=radio] + font:hover {
background-color: #444444 !important;
background:url(./radio-cn.png) 25px no-repeat};

body:not(#Foo) input[type="radio"]:checked + font {
background-color: #000 !important;
background: url(./radio-on.png) 25px no-repeat}

/* стилизация checkbox */
body:not(#Foo) input[type="checkbox"] {
display: none}
body:not(#Foo) label font {
padding-left: 15px;
height: 15px}
body:not(#Foo) input[type="checkbox"] + font {
    background-color: #676767 !important;
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
    box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
    text-align: left;
    margin: 9px 0;
    transition: all .35s ease;
    display: block;
    border-radius: 0 0 8px 8px;
    height: 42px;
    line-height: 1.6;
    padding-left: 55px;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    background: url(./checkbox-off.png) 25px no-repeat;}
body:not(#Foo) input[type=checkbox] + font:hover {
background:url(./checkbox-cn.png) 25px no-repeat;
background-color: #444444 !important;}
body:not(#Foo) input[type="checkbox"]:checked + font {
background: url(./checkbox-on.png) 25px no-repeat;
background-color: #000 !important;}

.form_body select {
  display: block;
  width: 100%;
  margin: 25px 0;
  padding: 8px 0;
  font-size: 20px;
  border-radius: 0 0 8px 8px;
}
.tabcontent {
  display: none;
}
.tabcontent {
    animation: fadeEffect 1s;
    text-align: center;
}
/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

label img {
	width: 100%;
  cursor: pointer;
  transition: all .35s ease;
}
label:hover img {
  transform: scale(1.1,1.1);
}
.quiz_choose {
    width: calc(25% - 10px);
    margin: 5px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
}

.quiz_img_choose {
    text-align: center;
    width: 47.9%;
    display: inline-block;
    position: relative;
    -webkit-box-shadow: 0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22);
    box-shadow: 0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22);
    border-radius: 5px;
    cursor: pointer;
    transition: all .35s ease;
    margin: 10px 2%;
    max-width: 250px;
    overflow: hidden;
}

.quiz_img_choose label:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg,#000,transparent);
    opacity: 0;
    transform: translateZ(0);
    transition: opacity .8s ease;
}

.quiz_img_choose:hover label:before, .quiz_img_choose:hover font:before {
    opacity: 0.15;
}

.quiz_img_choose font {
    position: relative;
    padding: 10px 0 25px 0 !important;
    font-size: 25px;
    display: block;
    line-height: 1;
    background-color: #505050;
    cursor: pointer;
    border-radius: 0px 0px 5px 5px;
    color: #fff;
}

.quiz_img_choose font:before {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 25px;
    background: linear-gradient(0deg,#000,transparent);
    opacity: 0;
    transform: translateZ(0);
    transition: opacity .8s ease;
}

.radio_title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 35px;
}

button.tablinks {
    display: inline-block;
    margin: 10px 15px;
    font-size: 20px;
    background-color: rgb(255 255 255 / 100%);
    padding: 15px 30px;
    border: 1px solid;
    border-radius: 5px;
    -webkit-box-shadow: 0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22);
    box-shadow: 0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22);
    cursor: pointer;
    transition: .6s ease;
}
button.tablinks:hover {
    background-color: #505050;
    color: #fff;
}
.button_rule {
  margin-top:25px;
}
.checkbox label:before {
    border-radius: 3px;
}
.form-field-image-check {
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: 2;
    top: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity .4s ease;
    transform: scale(.85);
}
.quiz_img_choose input:checked~.form-field-image-check {
    opacity: 1;
    transform: translateZ(0);
}

body:not(#Foo) #final input[type="checkbox"] + font {
    background-color: rgba(0,0,0,0) !important;
    box-shadow: none;
    font-size: 16px;
    line-height: 2.9;
    color: #000;
    padding-left: 45px;
}
#final input {
    width: 250px;
    margin: 10px !important;
    font-size: 15px !important;
    line-height: 18px !important;
    padding: 10px !important;
}
@media (max-width: 575px) {
  .radio_title {
    font-size: 6vw;
}
button.tablinks {
    font-size: 6vw;
}
.quiz_img_choose font {
    padding: 20px 0 80px 0 !important;
    font-size: 4vw;
}
body:not(#Foo) input[type="radio"] + font, body:not(#Foo) input[type="checkbox"] + font {
    height: 90px;
    font-size: 5vw;
    line-height: 1.9
}
.form_body select {
    margin: 50px 0;
    font-size: 5vw;
}
#final input {
    width: 100%;
    font-size: 5vw !important;
}
}