* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: PTRoot, sans-serif !important;
}

body {
    min-height: 100vh;
    width: 100%;
    background-color: #1F264A !important;
    /*background-image: url("../img/bg.png");*/
    background-size:cover;
    background-position-y: bottom;
    display: grid;
    grid: 1fr / 1fr;
    height: 100vh;
    overflow-x: hidden;
}
#content {
    background: #e2e2e2;
}
#submitBtnEsia {
    opacity: 0.5;
    background: white;
    background-repeat: no-repeat;
    background-position: 8px 10px;
    border: 1px solid gray;
    color: black;
}
#preview {
    background-image: url("../img/bg.png");
    background-size: cover;
    align-content: center;
    display: grid;
    height: 100vh;
    text-align: center;
    background-color: #dcdcdc;
}
.navigation
{
    position: absolute;
    right: 24px;
    top:24px
}
 .navigation a
{
    margin-left: 36px;
    color: #1f264a !important;
    border-bottom: 1px solid;
    cursor: pointer;
}
#preview h2 {
    color: #1f264a;
    margin-bottom: 36px;
    font-size: 32px;
}
#preview h3
{
    font-size: 24px;
    color: #1f264a;
    text-shadow: 1px 0px white;
    cursor: pointer;
    margin-left: 8px;
    -webkit-transition: all 1s ease;
    transition: all 1s ease; /* Время изменения цвета */
    margin-bottom: 0;
    line-height: 32px;
}


#preview h3:hover{
    color: #BD9A7A ; /* Меняем цвет ссылки */
    text-shadow: black;
}

.btn_in {
    display: flex;
    margin: 0 36px;
    width:270px;
    justify-content: center;
    background-color: rgba(255,255,255,0.4);
    padding: 5px 15px;border-radius: 5px;
    box-shadow: 1px 1px 8px rgba(0,0,0,0.5);
    line-height: 24px;
}
.btn_in:hover {
    box-shadow:0 0 0;
}

h4 {
    color: white;
    font-size: 32px !important;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}
h4 div {
    text-align: center;
    font-size: 18px !important;
    line-height: 45px;
}
.instruction {
    text-align: unset;
    grid-gap: 0.5rem;
    display: grid;
    align-items: start;
    align-self: end;
    padding-left: 56px;
    font-size: 16px;
    grid-area: 1 / 1;
    bottom: 24px;
    text-align: left;
    width: 550px;
    margin: 0 auto;
    position: absolute;
}

.system__layout {
    grid-gap: 0;
    display: grid;
    grid-auto-columns: .40fr .60fr;
    grid-auto-flow: column;
    align-items: stretch;
    justify-content: space-between;
}

#content {
    margin: 0 auto;
    padding-top: 0px;
    text-align: center;
    overflow-y: auto;
    max-height: 100vh;
    overflow-x: hidden;

}

#content h2 {
    color: #404040;
    font-size: 14pt;
    font-weight: normal;
    margin-bottom: 45px;
    margin-top: 0;
    text-align: center;
    line-height: 1.2em;
}

#content .logo {
    margin-bottom: 10px;
    width: 200px;
    height: 140px;
}
/*=================================================================*/
/*=================================================================*/
 h1 {
    color: #7E1B2C;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    line-height: 24px;
    text-transform: uppercase;
    margin-bottom: 36px;
    font-family: "DIN 2014", Arial, sans-serif;
}
 a, a:visited {
    color: #1F264A !important;
 }

.container {
    position: relative;
    /* transform: translate(-50%,-50%);*/
    max-width: 624px !important;
    width: 100%;
}

.container .registration {
    display: none;

}

#check:checked ~ .registration {
    display: block;
}

#check:checked ~ .login {
    display: none;
}

#check {
    display: none;
}

.container .form {
    padding: 24px;
}

.form header {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    font-family: 'DIN 2014';
    text-transform: capitalize;
    font-weight: 600;
}

.form a {
    font-size: 16px;
    color: #7E1B2C;
    text-decoration: none;
}

.form a:hover {
    text-decoration: underline;
    color: #7E1B2C;
}

.form .button {
    border-radius: 5px;
    height: 44px;
    padding: auto 45px;
    color: white;
    font-size: 16px;
    font-family: PTRoot, Arial, sans-serif;
    border: 0px;
    background-color: #1F264A;
}
.form input.button:hover {
    background-color: #1F264A;
    box-shadow: none;
}
.form input.button:active {
    background-color: #1F264A;
    box-shadow: inset -4px 4px 8px rgba(0, 0, 0, 0.8);
}

.signup  {
    text-align: center;
    margin-top: 11px;
    font-size: 20px;
    padding-top: 18px;
    color: gray;
}

.signup label, .signup a  {
    color: #1F264A !important;
    cursor: pointer;
    text-decoration: none;
    font-size: 18px;
    line-height: 24px;
    margin-top: 16px;
    border-bottom: 1px solid;
}

.signup label:hover, .signup a:hover {
    text-decoration: underline;
    color: #7E1B2C;
}


/* The container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 24px;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#mrpFile {
    border: 0;
    background: transparent;
    margin: 0;
    padding: 0;
    font-family: PTRoot;
}
.oferta {
    text-decoration: underline!important;
    font-size: 18px !important;

}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 3px;
    border: 1px solid #ddd;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #1F264A;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 4px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* Create a custom radio */
.checkmark2 {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 3px;
    border-radius: 13px;
    border: 1px solid #ddd;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark2 {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark2 {
    background-color: #1F264A;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark2:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark2:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark2:after {
    left: 9px;
    top: 4px;
    width: 7px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

form input {
    border: 1px solid #D4D4D4;
    border-radius: 5px;
    background-color: #FFFFFF;
    height: 40px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    width: 100%;
    padding: 0 8px;
}

form label {
    padding: 0;
    font-size: 18px;
    font-family: 'DIN 2014', Arial, sans-serif;
    display: block;
    text-align: left;
    font-weight: 400;
    padding-left: 5px;
    margin-bottom: 0px;
}
form label.checkbox-container {
    text-align: left;
}

.require {
    color: #9D2235;
}

.form input {
    height: 44px;
    width: 100%;
    padding: 0 15px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}


.form input[type=checkbox] {
    height: 22px;
}

.form input.button:focus {
    border: 1px solid #4a4a4a73;
    background-color: #1F264A;
}

.form input:focus {
}

.forgotpassword {
    padding-bottom: 16px;
    display: block;
    text-align: right;
    font-size: 14px !important;
    color: #1F264A !important;
    margin-bottom: 24px;
    line-height: 36px;
}

#submitBtnReg, #submitBtnLegal {
    margin-top: 36px;
}

input.fieldError{
    border: solid #9D2235 1px;
}
/* MESSAGES --------------------------------- */
.errors, .success {
    clear: both;
    padding: 5px;
    font-size: 10px;
    line-height: 1.5;
    text-align: left;
}
.errors {
    color: #9D2235;
    font-size: 12px;
    margin-top: -26px;
    position: absolute;
}

/*
.errors {
	border: 1px dotted #d21033;
	background: #fed url('../../../images/error.gif') no-repeat 20px 18px;
	color: #d21033;
}
*/

#content .errors h2, #content .success h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	font-weight: 400;
	margin: 0 18px 0 0;
	padding: 0;
}

#content .errors h2 {
	color: #b00 !important;
}
div#msg.errors {
    color: #CA4A44;
    font-size: 100%;
    font-weight: bold;
    margin: 0 0 15px;
    padding: 4px 3px;
    text-align: center;
    background: none;
    border-width: 0;
}
/**/
input:-internal-autofill-selected {
    background-color: white;
}

*, :after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
}

/* Hide the input element */
.form input.c-choice-chip__input {
  width: 24px;
  height: 24px;
  border: 0;
  margin: -1px;
  padding: 0;
}

input#legal-entity-radio:checked ~ #registration-individual,  input#individual-entity-radio:checked ~ #registration-legal{
  display: block;
  -webkit-transition: opacity 1s ease-out;
  transition: opacity 1s ease-out;
  opacity: 0;
  height: 0;
  font-size: 0;
  overflow: hidden;
}
input#legal-entity-radio:checked ~ #registration-legal,  input#individual-entity-radio:checked ~ #registration-individual{
  opacity: 1;
  font-size: 100%;
  height: auto;
}

/*=================================================================*/

.help-representative {
    float: left;
    font-family: sans-serif;
    background: #333;
    color: #fff;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s 0s;
    margin-top:-20px;
    font-size:8pt;
    position: absolute;
    top: -12px;
    z-index: 1000;
}

div.col-sm-9:hover > .help-representative {
    visibility: visible;
    opacity: 1;
}

.steps {

}
.step {
    background: #dddddd;
    text-align: center;
    width: 70%;
    margin: 12px auto;
    padding: 16px;
    border-radius: 8px;
    font-size: 18px;
    color: #1f264a;
    font-weight: 700;
}
.step .gray {
    color: gray;
}
.steps .number {
    background-color: transparent;
    font-weight: 600;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 auto;
    color: black;
    line-height: 32px;
    border: 1px solid #bd9a7a;
}
.steps .arrow {
    text-align: center;
}
.steps .arrow img{
    height: 36px;
}

.service {
    text-align:  left;
    font-size: 18px;
    line-height: 25px;
    color: gray;
    margin: 24px auto;
    width: 80%;
    font-weight: 600;
}
.service h3 {
    font-size: 22px !important;
    line-height: 24px !important;
    color: lightgrey;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.service h3 img  {
    width: 32px;
}
.service h3 .icon {
    width: 36px;
    height: 36px;
}
.header-list {
    font-size: 22px !important;
    color: lightgrey;
    line-height: 28px;
    display: block;
    margin-bottom: 24px;
}
.services {
    display: grid;
    grid-gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(45%, 2fr));
    margin-bottom: 16px;
    width: 424px;
    margin: 0 auto;
    color: black;
    margin-bottom: 60px;
}
.block-service .icon img{
    width: 64px;
    margin-bottom: 16px;
    margin-top: 36px;
}

.block-service  {
   height: 200px;
    width: 200px;
    border-radius: 8px;;
    background-color: #dddddd;
    margin: 0 auto;
    text-align: center;
    padding: 0px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
}

.users {
    font-size: 12px;
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(24%, 2fr));
    margin-bottom: 16px;
    width: 85%;
}
.users img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}
.user {
    background-color: #dddddd;
    color: black;
    text-align: left;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}
.user .type_service {
    height: 24px;
    line-height: 14px;
    text-align: left;
    margin-bottom: 8px;
    padding: 0px;
    color: gray;
}
.user .profile {
    display: flex;
    font-size: 11px;
    color: gray;
    line-height: 18px;
}
.user .profile b{
    font-weight: 500;
    color: black;
}
.user .profile img{
   margin-right: 5px;
}
.user .name_user {
    text-align: left;
    margin-left: 4px;
    margin-bottom: 8px;
    font-size: 14px;
}
.user .star img{
    width: 12px;
    height: 12px;
    margin-bottom: 3px;
}
.user .star {
    margin-top: 8px;
}
.user .star .gray {
    color: gray;
    font-weight: normal;
}


/* Slider wrapper*/
.css-slider-wrapper {
    display: block;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
/* Slider */
.slider {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
    z-index: 0;
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-direction: row;
    flex-wrap: wrap;
    -webkit-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    -webkit-transition: -webkit-transform 1600ms;
    transition: -webkit-transform 1600ms, transform 1600ms;
    -webkit-transform: scale(1);
    transform: scale(1);
}
/* each slide backgound color */
.slide1 {

    left: 0;
}
.slide2 {

    left: 100%
}
.slide3 {

    left: 200%
}
.slide4 {
    left: 300%;
}
.slider > div {
    text-align: center;
}
/* Slider inner slide effect */
.slider h2 {
    color: #FFF;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 45px;
    line-height: 120%;
    opacity: 0;
    -webkit-transform: translateX(500px);
    transform: translateX(500px);
}
.slider .button {
    color: #FFF;
    padding: 5px 30px;
    text-decoration: none;
    opacity: 0;
    font-size: 15px;
    line-height: 30px;
    display: inline-block;
    -webkit-transform: translateX(-500px);
    transform: translateX(-500px);
}
.slider h2, .slider .button {
    -webkit-transition: opacity 800ms, -webkit-transform 800ms;
    transition: transform 800ms, opacity 800ms;
    -webkit-transition-delay: 1s; /* Safari */
    transition-delay: 1s;
}
/* Next and Preive arrow */
.control {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    z-index: 55;
}
.control label {
    z-index: 0;
    display: none;
    text-align: center;
    line-height: 24px;
    font-size: 50px;
    color: #FFF;
    cursor: pointer;
    opacity: 0.2;
}
.control label:hover {
    opacity: 0.5;
}
.next {
    right: 1%;
}
.previous {
    left: 1%;
}
/* Slider Pagger */
.slider-pagination {
    position: absolute;
    bottom: 16px;
    width: 100%;
    left: 0;
    text-align: center;
    z-index: 1000;
}
.slider-pagination label {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    border: solid 1px rgba(255,255,255,0.4);
    cursor: pointer;
}
/* Slider Pagger arrow event */
.slide-radio1:checked ~ .next .numb2,
.slide-radio2:checked ~ .next .numb3,
.slide-radio3:checked ~ .next .numb4,
.slide-radio2:checked ~ .previous .numb1,
.slide-radio3:checked ~ .previous .numb2,
.slide-radio4:checked ~ .previous .numb3 {
    display: block;
    z-index: 1
}
/* Slider Pagger event */
.slide-radio1:checked ~ .slider-pagination .page1,
.slide-radio2:checked ~ .slider-pagination .page2,
.slide-radio3:checked ~ .slider-pagination .page3,
.slide-radio4:checked ~ .slider-pagination .page4 {
    background: rgba(255,255,255,1)
}
/* Slider slide effect */
.slide-radio1:checked ~ .slider {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}
.slide-radio2:checked ~ .slider {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}
.slide-radio3:checked ~ .slider {
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%);
}
.slide-radio4:checked ~ .slider {
    -webkit-transform: translateX(-300%);
    transform: translateX(-300%);
}
.slide-radio1:checked ~ .slide1 h2,
.slide-radio2:checked ~ .slide2 h2,
.slide-radio3:checked ~ .slide3 h2,
.slide-radio4:checked ~ .slide4 h2,
.slide-radio1:checked ~ .slide1 .button,
.slide-radio2:checked ~ .slide2 .button,
.slide-radio3:checked ~ .slide3 .button,
.slide-radio4:checked ~ .slide4 .button {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1
}

.css-slider-wrapper input {
    opacity: 0;
}
.modal-header {
    border-bottom: 0px !important;
}
.modal-footer {
    border-top: 0px solid !important;
}
form .alert-danger {
    border: 0px;;
    background: transparent;
    padding: 0px 0 15px 0;
    font-family: PTRoot, sans-serif !important;
}

div#msg.errors {
    color: #9D2235 !important;
}