.main-color {
    color: #ade600;;
}

.loader-area {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 100%;
    width: 100%;
}

.dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 45vh;
    margin-left: 45vw;
    max-width: 80px;
}

.dots-item {
    position: relative;
    width: 20%;
    min-width: 20%;
    max-width: 20%;
    height: 16px;

    font-size: 0;
}

.dots-item--move-up {
    animation: .8s move-up linear infinite;
}

.dots-item--move-right {
    animation: .8s move-right linear infinite;
}

.dots-item--move-down {
    animation: .8s move-down linear infinite;
}

.dots-item--move-left {
    animation: .8s move-left linear infinite;
}

.dots-item:after {
    content: "";
    position: absolute;
    margin: auto;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;

    width: 8px;
    height: 8px;

    background-color: #ade600;
    /*border-radius: 50%;*/
}


@keyframes move-up {
    30%,
    100% {
        transform: translateY(-100%);
    }
}

@keyframes move-right {
    30%,
    100% {
        transform: translateX(100%);
    }
}

@keyframes move-down {
    30%,
    100% {
        transform: translateY(100%);
    }
}

@keyframes move-left {
    30%,
    100% {
        transform: translateX(-100%);
    }
}

* {
    font-family: Roboto, sans-serif;
}

.form-header {
    background: #ade600;
    color: whitesmoke;
}

@media (max-width: 500px) {
    .office-name-header {
        display: none;
    }

    .office-name-profile-menu {
        display: none;
    }
}

.anil_nepal {
    padding: 20px 0px;
    width: 100%;
    display: block;
}

.switch {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 70px;
    height: 30px;
    padding: 3px;
    margin: 0 10px 10px 0;
    background: linear-gradient(to bottom, #eeeeee, #FFFFFF 25px);
    background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF 25px);
    border-radius: 18px;
    box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    box-sizing: content-box;
}

.switch-4 {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 160px;
    height: 30px;
    padding: 3px;
    margin: 0 10px 10px 0;
    cursor: pointer;
    box-sizing: content-box;
}

label {
    font-weight: inherit;
}

input[type=checkbox], input[type=radio] {
    margin: 4px 0 0;

    line-height: normal;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

.switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    box-sizing: content-box;
}

.switch-left-right .switch-input:checked ~ .switch-label {
    background: inherit;
}

.switch-input:checked ~ .switch-label {
    background: #E1B42B;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.switch-left-right .switch-label {
    overflow: hidden;
}

.switch-label, .switch-handle {
    transition: All 0.3s ease;
    -webkit-transition: All 0.3s ease;
    -moz-transition: All 0.3s ease;
    -o-transition: All 0.3s ease;
}

.switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 10px;
    text-transform: uppercase;
    background: #eceeef;
    border-radius: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
    box-sizing: content-box;
}

.switch-left-right .switch-input:checked ~ .switch-label:before {
    opacity: 1;
    left: 50px;
}

.switch-input:checked ~ .switch-label:before {
    opacity: 0;
}

.switch-left-right .switch-label:before {
    background: #eceeef;
    text-align: left;
    padding-left: 50px !important;
}

.switch-left-right .switch-label:before, .switch-left-right .switch-label:after {
    width: 20px;
    height: 20px;
    top: 4px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 11px 0 0 0;
    text-indent: -12px;
    border-radius: 20px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2), inset 0 0 3px rgba(0, 0, 0, 0.1);
}

.switch-label:before {
    content: attr(data-off);
    right: 11px;
    color: #aaaaaa;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}

span.switch-label:after {
    content: attr(data-on);
    left: 11px;
    color: #FFFFFF;
    text-shadow: 0 1px rgba(0, 0, 0, 0.2);
    position: absolute;

}

.switch-label:before, .switch-label:after {
    position: absolute;
    top: 50%;
    margin-top: -5px;
    line-height: 1;
    -webkit-transition: inherit;
    -moz-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    box-sizing: content-box;
}

.switch-left-right .switch-input:checked ~ .switch-label:after {
    left: 0 !important;
    opacity: 1;
    padding-left: 20px;
}

.switch-input:checked ~ .switch-label:after {
    opacity: 1;
}

.switch-left-right .switch-label:after {
    text-align: left;
    text-indent: 9px;
    background: #ade600 !important;
    left: -70px !important;
    opacity: 1;
    width: 100% !important;

}

.switch-left-right .switch-label:before, .switch-left-right .switch-label:after {
    width: 20px;
    height: 20px;
    top: 4px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 11px 0 0 0;
    text-indent: -12px;
    border-radius: 20px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2), inset 0 0 3px rgba(0, 0, 0, 0.1);
}

.switch-input:checked ~ .switch-handle {
    left: 45px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

.switch-label, .switch-handle {
    transition: All 0.3s ease;
    -webkit-transition: All 0.3s ease;
    -moz-transition: All 0.3s ease;
    -o-transition: All 0.3s ease;
}

.switch-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    background: linear-gradient(to bottom, #FFFFFF 40%, #f0f0f0);
    background-image: -webkit-linear-gradient(top, #FFFFFF 40%, #f0f0f0);
    border-radius: 100%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.switch-handle:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    width: 12px;
    height: 12px;
    background: linear-gradient(to bottom, #eeeeee, #FFFFFF);
    background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF);
    border-radius: 6px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
}

.owl-dot {
    background: #b7b7b7 !important;
}

.owl-dot.active {
    background: #ade600 !important;
}

@media (min-width: 768px) {
    .form-group-margin {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .control {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .control {
        margin: 10px;
    }
}


.choose {
    padding: 0;
    border: 0;
}

.choose label {
    float: left;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.choose label span {
    background: #ade600;
    color: #FFF;
    line-height: 35px;
    height: 35px;
    padding: 0 15px;
    display: block;
    transition: all .2s ease;
}

.choose label:first-of-type span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-right: 0;
}

.choose label:last-of-type span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-left: 0;
}

.choose label input {
    display: none
}

.choose label input:checked + span {
    box-shadow: inset 0 0 0 32px rgba(0, 0, 0, 0.1);
}

/* Базовый контейнер табов */
.tabs {
    min-width: 180px;
    padding: 0px;
    margin: 0 auto;
}

/* Стили секций с содержанием */
.tabs > section {
    display: none;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
}

.tabs > section > div, .tabs > section > p {
    margin: 0 0 5px;
    line-height: 1.5;
    color: #383838;
    /* прикрутим анимацию */
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}

/* Описываем анимацию свойства opacity */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Прячем чекбоксы */
.tabs > input {
    display: none;
    position: absolute;
}

/* Стили переключателей вкладок (табов) */
.tabs > label {
    display: inline-block;
    margin: 0 0 -1px;
    width: 200px;
    padding: 15px 25px;
    font-weight: 600;
    text-align: center;
    color: #aaa;
    border: 0px solid #ddd;
    border-width: 1px 1px 1px 1px;
    background: #f1f1f1;
    border-radius: 3px 3px 0 0;
}

/* Шрифт-иконки от Font Awesome в формате Unicode */
.tabs > label:before {
    font-family: fontawesome;
    font-weight: normal;
    margin-right: 10px;
}

.tabs > label[for*="1"]:before {
    content: "\f14b";
}

.tabs > label[for*="2"]:before {
    content: "\f007";
}

.tabs > label[for*="3"]:before {
    content: "\f0c0";
}

.tabs > label[for*="4"]:before {
    content: "\f1b9";
}

.tabs > label[for*="5"]:before {
    content: "\f14a";
}

.tabs > label[for*="6"]:before {
    content: "\f234";
}

.tabs > label[for*="7"]:before {
    content: "\f234";
}

.tabs > label[for*="8"]:before {
    content: "\f234";
}

.tabs > label[for*="9"]:before {
    content: "\f234";
}

/* Изменения стиля переключателей вкладок при наведении */

.tabs > label:hover {
    color: #888;
    cursor: pointer;
}

/* Стили для активной вкладки */
.tabs > input:checked + label {
    color: #555;
    border-top: 1px solid #ade600;
    border-bottom: 1px solid #fff;
    background: #fff;
}

/* Активация секций с помощью псевдокласса :checked */
#tab1:checked ~ #content-tab1, #tab2:checked ~ #content-tab2, #tab3:checked ~ #content-tab3, #tab4:checked ~ #content-tab4, #tab5:checked ~ #content-tab5 {
    display: block;
}

#dtab1:checked ~ #driver-tab1, #dtab2:checked ~ #driver-tab2, #dtab3:checked ~ #driver-tab3, #dtab4:checked ~ #driver-tab4 {
    display: block;
}

#content-tab1, #content-tab2, #content-tab3, #content-tab4, #content-tab5 {
    min-height: 300px;
}

#driver-tab1, #driver-tab2, #driver-tab3, #driver-tab4 {
    min-height: 200px;
}

/* Убираем текст с переключателей
* и оставляем иконки на малых экранах
*/
@media screen and (max-width: 1200px) {
    .tabs > label {
        font-size: 0;
        width: 68px;
    }

    .tabs > label:before {
        margin: 0;
        font-size: 18px;
    }
}

/* Изменяем внутренние отступы
*  переключателей для малых экранов
*/
@media screen and (max-width: 400px) {
    .tabs > label {
        padding: 15px;
    }
}

/*
ГРЗ
*/
.grz_box {
    border-style: solid;
    border-color: #0b0b0b;
    border-width: 1px;
    border-radius: 1vw;
    position: relative;
    width: 100%;
}

.grz_box:before {
    content: "";
    display: block;
    padding-top: 21.538%;
}

.grz-content {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}


.word {
    line-height: 1vw;
    font-size: 12vw;
    width: 9.5vw;
    height: 12.5vw;
    border: none;
    text-align: center;
    font-weight: 600;
}

.word::placeholder {
    padding-top: 6vw;
    font-weight: 600;
}

.num {
    line-height: 1vw;
    font-size: 18vw;
    width: 30vw;
    height: 17.5vw;
    border: none;
    text-align: center;
    font-weight: 600;
    margin-right: 0;
}

.num::placeholder {
    padding-top: 9.2vw;
    font-weight: 600;
}

.word:focus {
    outline: none;
}

.num:focus {
    outline: none;
}

.region:focus {
    outline: none;
}

.word:focus::placeholder {
    /*color: transparent;*/
}

.num:focus::placeholder {
    /*color: transparent;*/
}

.region:focus::placeholder {
    /*color: transparent;*/
}

.num:focus {
    outline: none;
}

.region:focus {
    outline: none;
}

.region {
    line-height: 1vw;
    font-size: 10vw;
    width: 17vw;
    height: 12.5vw;
    border: none;
    text-align: center;
    font-weight: 600;
}

.region::placeholder {
    font-size: 10vw;
    padding-top: 5.3vw;
    font-weight: 600;
}

/*
Documents
*/
.button_in_input {
    padding: 9px 0 0;
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 5px;
    margin-top: 5px;
    background: #cecece;
    border-color: #cecece;
    color: whitesmoke !important;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    width: 40px;
    height: 40px;
}

.button_in_input:hover {
    background: #ade600;
    border-color: #ade600;
    padding: 6px 0 0;
    font-size: 18px;
}

.btn-main {
    background-color: #62b900;
    border-color: #62b900;
    color: white
}

.carreg-area {
    background-color: #04091e
}

.carreg-area:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 48%;
    height: 100%;
    background: url(/static/images/auto_registration.jpg) no-repeat center center/cover;
    z-index: 1
}

@media (max-width: 991px) {
    .carreg-area:after {
        display: none
    }
}

@media (max-width: 991px) {
    .carreg-area .justify-content-end {
        justify-content: flex-start !important
    }
}

.carreg-area h1 {
    margin-bottom: 20px
}

.carreg-area .carreg-right {
    max-width: 580px;
    padding-left: 35px
}

@media (max-width: 1024px) {
    .carreg-area .carreg-right {
        padding-left: 15px
    }
}

.carreg-area .carreg-right .form-control {
    padding: 12px
}

.carreg-area .carreg-right input,
.carreg-area .carreg-right textarea {
    color: #ccc;
    font-size: 13px;
    border-color: #505362;
    border-radius: 0;
    background-color: transparent
}

.carreg-area .carreg-right .primary-btn {
    border-radius: 0px;
    border: 1px solid transparent
}

.carreg-area .carreg-right .primary-btn:hover {
    border-color: #67bc00;
    color: #67bc00;
    background: transparent
}

@media (max-width: 991px) {
    .carreg-area .carreg-right {
        max-width: 100%;
        padding-right: 15px
    }
}

.form-error-block {
    display: none;
    position: absolute;
    top: 60px;
    left: 15px;
    right: 15px;
    z-index: 1000;
}

.form-error-header {
    color: #155724;
    font-weight: bold
}

.form-error-close {
    position: absolute;
    top: 5px;
    right: 5px
}

.form-error-text {
    letter-spacing: 0.1em;
}


.form-error-info-button {
    position: absolute;
    top: 28px;
    right: 27px;
    cursor: pointer;
    font-size: 30px;
    text-shadow: 0 0 10px #cc2d42;
}

.cap {
    background: url("/static/images/cap_1.png") no-repeat center center;
    background-size: 30%;
    width: 64px;
    height: 64px;
    position: absolute;
    margin-left: -28px;
    margin-top: -20px;
    z-index: 9999;
}

/* ГРЗ серия и номер в разном рамере в одной строке*/
:root {
  --grz_text-color: black;
}

.input_text {
    display: inline-block;
    width: 100%;
    height: 100%;
    /*background-color: #22282b;*/
    padding: 5px;
    box-sizing: border-box;
    color: var(--grz_text-color);
    font-size: 12vw;
    font-weight: 600;
    margin-top: 7vw;
    background-color: white;
    /*font-family: 'Helvetica';*/
}

.number {
    color: var(--grz_text-color);
    font-size: 19vw;
}


.invis {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10vw;
    font-size: 0vw;
    /*font-family: 'Helvetica';*/
    box-sizing: border-box;
    background-color: transparent;
    color: transparent;
    /*caret-color: #f7ed7e;*/
    outline: none;
    border: none;
    resize: none;
    overflow: hidden;
}

/*.invus:focus{*/
    /*color: transparent;*/
/*}*/