@import url('https://fonts.googleapis.com/css?family=Open+Sans:500,300');

html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 3vw;
    color: #757575;
    overflow: hidden;
}

.wrapper {
    flex: 1 0 auto;
    width: 100%;
    height: calc(100% - 15vw);
    overflow-y: auto;
}

input {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 3vw;
    border: 0;
    border-radius: 3vw;
    background: rgba(0, 0, 0, 0.1);
    font-family: Open Sans;
    font-weight: 300;
    font-size: 4vw;
    text-align: center;
    color: #FFFFFF;
}

nav {
    margin-top: 10vw;
}

ul {
    max-width: 87vw;
}

.input-wrapper {
    height: 12vw;
    margin-top: 7vw;
    margin-bottom: 7vw;
    position: relative;
}

.input-wrapper label{
    position: relative;
    display: block;
    top: 10%;
    left: 5%;
    height: 0;
    font-size: 3vw;
    font-weight: 500;
    pointer-events: none;
}

.box-90 {
    width: 90%;
    margin: auto;
}

/****************************************** Форма логина ******************************************/

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(17.86deg, #155563 0%, #145B57 36.25%, #1F3F64 68.87%, #133852 99.41%);
}

.login-title {
    display: block;
    width: 100%;
    font-weight: 300;
    font-size: 5vw;
    text-align: center;
    color: #757575;
   
}

    .login-title::before {
        content: "";
        display: block;
        position: absolute;
        background-image: url(img/cita-logo.png);
        background-size: 100%;
        background-repeat: no-repeat;
        width: 276px;
        height: 190px;
        top: 20px;
        left: calc(50% - 138px);
    
    }
    

.login-error {
    display: none;
}

.button-active {
    height: 15vw;
    margin-top: 5vw;   
    cursor: pointer;
    width: 100%;
    background-color: #78A85E;
    border: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 5vw;
    color: #fff;
    border-radius: 3vw;
}

.button-secondary {
    background-color: rgba(255, 255, 255, 0.1);
}

.button-active:hover {
    background-color: #8AC06D;
}

.hidden {
    display: none;
}

/****************************************** Главная страница ******************************************/

.menu {
    position: absolute;
    background: #012D3E;
    width: 100%;
    height: 100%;
}

.menu-item {
    display: block;
    width: 100%;
    font-weight: 300;
    font-size: 5vw;
    text-align: center;
    color: #518599;
    margin-top: 5vw;
    cursor: pointer;
}

.menu-item:hover {
    color: #FFCC74;
    text-decoration-line: underline;
}

.page {
    top: 0;
    height: 100vh;
    position: relative;
    background: linear-gradient(17.86deg, #155563 0%, #145B57 36.25%, #1F3F64 68.87%, #133852 99.41%);
    transition: 0.5s;
    display: flex;
    flex-direction: column;
}

.page.slided {
    top: 40vw;
    height: calc(100vh - 40vw);
}

.header {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-content: center;
    height: 15vw;
    background: linear-gradient(88.64deg, #155563 0%, #123651 100%);
    filter: drop-shadow(0 0 5vw rgba(0, 0, 0, 0.2));
}

.header-item {
    height: 15vw;
    width: 15vw;
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.hamburger {
    background-image: url(../img/hamburger-icon.png);
    cursor: pointer;
}

.filter {
    background-image: url(../img/filter-icon.png);
    cursor: pointer;
}

.main-content {
    height: auto;
    overflow-y: auto;
}

.tabs {
    position: absolute;
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
}

/****************************************** Карточка заявки (элемент главной страницы) ******************************************/

.order-box {
    position: relative;
    margin: auto;
    margin-top: 2.5vw;
    margin-bottom: 2.55vw;
    padding-top: 10vw;
    padding-bottom: 2vw;
    border-radius: 3vw;
    background-color: #157D77;
    width: 90vw;
    background-repeat: no-repeat;
    background-size: 8vw;
    background-position: 3vw 4.7vw;
    cursor: pointer;
}

.order-box:nth-of-type(1) {
    margin-top: 5vw;
}

.order-box-content {
    font-weight: 300;
    padding: 3vw;
    font-size: 3vw;
    color: #91AEBB;    
}


.order-box-name {
    position: absolute;
    left: 14vw;
    top: 4vw;
    font-weight: 500;
    font-size: 3.8vw;
    color: #FFFFFF;
}


.order-box-entity {
    position: absolute;
    left: 14vw;
    top: 9vw;
    font-weight: 300;
    font-size: 3vw;
    color: #91AEBB;
}


.order-box-date {
    position: absolute;
    right: 3vw;
    top: 9vw;
    font-weight: 300;
    font-size: 3vw;
    color: #91AEBB;
}


.order-box-footer {
    position: absolute;
    width: 100%;
    height: 4vw;
    bottom: 2vw;
    display: flex;
    justify-content: right;
}

.order-box-item {
    background-repeat: no-repeat;
    background-size: 3vw;
    background-position: 0vw 0.6vw;
    font-weight: 300;
    font-size: 3vw;
    color: #91AEBB;
    padding-left: 4vw;
    margin-right: 3vw;
}

.order-box-views {
    background-image: url(../img/views-icon.png);
}

.order-box-last {
    background-image: url(../img/time-icon.png);
}

.extranjeria {
    background-image: url(../img/extranjeria-icon.png);
}

.dgt {
    background-image: url(../img/dgt-icon.png);
}

.order-add {
    opacity: 0.4;
    background-image: url(../img/plus-icon.png);
    background-position: center;
}

.spacer {
margin-top: 20vw;  
}

/****************************************** Страница заявки ******************************************/

.back-btn {
    height: 50%;
    align-self: center;
    border: 0.4vw solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.4);
    border-radius: 2vw;
    margin-left: 5vw;
    line-height: 7.3vw;
    padding-left: 3vw;
    padding-right: 3vw;
    cursor: pointer;
}

.ok-btn {
    height: 50%;
    align-self: center;
    border: 0.4vw solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.4);
    border-radius: 2vw;
    margin-right: 5vw;
    line-height: 7.3vw;
    padding-left: 3vw;
    padding-right: 3vw;
    cursor: pointer;
}

.order-header {
    display: flex;
    justify-content: center;
    margin-top: 14vw;
    font-size: 6vw;
    font-weight: 300;
    color: #91AEBB;
}

.order-sub-header {
    margin-top: 1vw;
    font-size: 3vw;
    font-weight: 300;
    color: #91AEBB;
}

.transp-block {
    margin: auto;
    margin-top: 5vw;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3vw;
    width: 90%;
    min-height: 15vw;
    position: relative;
    padding-top: 8vw;
    padding-bottom: 5vw;
    cursor: pointer;
}

.block-header {
    position: absolute;
    left: 4vw;
    top: 3vw;
    font-size: 4vw;
    font-weight: 500;
    color: #FFFFFF; 
}

.block-sub-header {
    position: absolute;
    font-size: 3vw;
    font-weight: 300;
    color: #91AEBB; 
}

.block-content {
    width: 91%;
    margin-top: 2vw;
    margin-left: 4vw;
    margin-right: 4vw;
    font-size: 3vw;
    font-weight: 300;
    color: #91AEBB; 
}

.order-status {
    margin-top: 8vw;
}

.selector input {
    pointer-events: none;
}

.selector {
    cursor: pointer;
}

#select-modal {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(17.86deg, #155563 0%, #145B57 36.25%, #1F3F64 68.87%, #133852 99.41%);
    overflow-y: scroll;
}

#selector div {
    padding-top: 2vw;
    padding-bottom: 2vw;
    font-size: 3vw;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 2vw;
    margin-right: 2vw;
}

#selector li {
    display: flex;
    align-content: center;
    cursor: pointer;
    border-bottom-style: solid;
    border-bottom-width: 0.3vw;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

li.selected {
    background-color: rgba(255,255,255,0.1);
}




/*************** Страница с заявками **********/

.main-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 5vw;

}


/*********** новый заказ *************/

#selector {
    width: 100%;
    padding-inline-start: 0px;
}

#selector div {
    text-align: center;
    width: 100%;
}

#select-modal #main-content {
    height: calc(100% - 15vw);
    overflow-y: auto;
    margin: 0vw;
}



/*********** Данные заказа **********/

.wrapper-orders {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.wrapper-orders .main-content {
    display: block;
}

.input-wrapper .highlighted{ 
    color: #78A85E;
}

.input-wrapper .error{ 
    color: #dd732c;
}

.rdbTipoDocWrapper {
    display: flex;
    height: 20px;
    position: absolute;
    margin-left: 1%;
    overflow: hidden;
    top: 10%;
}    

.rdbTipoDocWrapper label {
    pointer-events: all;
    margin-right: 1vw;
    display: none;
}

.dnone {
    display: none;
}