@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i&display=swap&subset=cyrillic);@import url(https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&display=swap&subset=cyrillic);


/*
;@import url(https://kit.fontawesome.com/00c75d54ff.css)
*/

body {
    font-family: Roboto, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: rgb(26,107,159);
    background: linear-gradient(180deg, rgba(26,107,159,1) 0%, rgba(33,108,157,1) 24%, rgba(70,133,174,1) 43%, rgba(214,234,247,1) 84%, rgba(214,234,247,1) 100%);
    height: 100dvh;
    overflow: hidden;
    margin:0;
    padding:0;
    color:white;
    max-height: -webkit-fill-available;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
body.terex {
    background: #464648;
}

.help-view {
    background-color: rgba(255, 255, 255, .85);
    color: black;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    padding: 16px;
    display: none;

}
.help-view .help-wrap {
    display:none;
    height:calc(100vh - 296px);
    overflow:auto;
}
body.show-form.show-help .help-view {
    display: block;
}

body.show-form.show-help.sn .help-view #help-sn{
    display: block;
}


body.show-form  img.logo {
    width: 180px;
}

body.show-form .inner-wrap {
    margin-top: 60px;
    height: calc(100% - 60px);
}

h1, h2 {
    font-size:18px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

h2 {
    margin-bottom: 8px;
}

select,
input {
    width: 100%;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.14286;
    border: none;
    height: auto;
    padding: 0px;
    border-radius: 4px;
    border: 1px solid #cfcfd2;
}

select {
    padding: 15px;
    border-radius: 4px;
}

select.full,
input.full {
    width: 100%;
    height: 48px;
    padding: 15px 16px;
    background-color: #fff;
    margin-bottom: 8px;
}

label {
    display: block;
    margin-bottom: 4px;
    color: black;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.14286;
}

.error {
    color: #ff3d3d;
    font-size: 16px;
}
.title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.logo {
    width: 256px;
    transition: all .25s ease-in-out
}
body.terex .logo {
    padding-bottom: 16px;
}
.inner-wrap {
    padding: 8px 8px 0 8px;
    max-width: 600px;
    margin: auto;
    height: calc(100% - 80px);
    position: relative;
    margin-top: 80px;
}
.inner-wrap > div {
    width: 100%;
}
#scanner {
    width: 100%;
    max-height: 400px;
}

.scan-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scan-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
}
.scannerDiv {
    position: relative;
    display: none;
}

.scannerDiv.show {
    display: inline-flex;
}


.scan-btn-wrap.hide {
    display: none;
}
.scan-btn {
    width: 80px;
    height: 80px;
    background: url(/assets/i-scan.png) no-repeat center;
    background-color: white;
    border-radius: 100%;
    background-size: 40px;
    margin-bottom: 16px;
}
.manual-wrap {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: black;
    z-index: 2;
}
.manual-wrap.show {
    background-color: white;
    font-size: 18px;
    font-weight: bold;
}
.keyboard-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}
.keyboard-btn-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
button.keyboard-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
    color: #1B6B9F;
}
body.terex button.keyboard-btn {
    color:white;
}
.keyboard {
   width:30px; 
   padding-right: 8px;
}

.close-btn {
    position: absolute;
    right: 0px;
    border: 2px solid white;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 4px;
    background-color: rgb(255,255,255,.5);
}

.radio-wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    margin-left: 8px;
    margin-top: 24px;
}
.radio-wrap .radio-group{
    display: flex;
    align-items: center;
}
.radio-wrap label {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: black;
    margin-right: 8px;
    white-space: nowrap;
    cursor: hand;
}

.radio-wrap .radio-group input {
    margin: 0 8px  0 0;
    width: auto;
}

.radio-wrap .radio-group {
    padding-right: 16px;
}
/*
#mainView [data-qr_group='url'],
#mainView [data-qr_group='notUrl'],
#mainView [data-qr_group='notUrl'] {
    display: none;
}
*/

#mainView.url [data-qr_group='url'],
#mainView.gpn [data-qr_group='notUrl'],
#mainView.sn [data-qr_group='notUrl'] {
    display: block;
}
.url-select select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}
.url-select {
    position: relative;
}
.url-select::after {
    content: "▼";
    font-size: 14px;
    right: 14px;
    position: absolute;
    color: black;
    top: 15px;
    display: none;
}
.fake-arrow {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 13px;
    color: black;
    top: 30%;
}

#maualQR .form-wrap {
    display: none;
}
#maualQR.show .form-wrap {
    display: block;
    margin: 24px;
}
#maualQR.show .keyboard-btn-wrap {
    display: none;
}

.bottom-group {
    color: black;
    font-size: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    top: 0;
    bottom: 0;
    background-color: white;
    align-items: center;
    margin: 0;
    padding: 24;
    z-index: 3;
}

.bottom-group.show {
    display: flex;
}

.bottom-group .inner {
    background-color: rgba(255, 255, 255, .5);
    padding: 16px 16px;
    margin: auto;
}
.bottom-group .inner p {
    font-weight: normal;
}
.bottom-group .inner p.link{
    margin: 24px 0 40px;
}
.bottom-group .inner p.notes {
    color: #69696c;
}
.bottom-group .inner p.link {
    max-height: 80px;
    overflow: auto;
}
.inner-wrap.url p.link {
    max-height: 40px;
}
#qrLink {
    color:#1a6ca1;
    word-wrap: break-word;
}

.btn {
    background-color:#1a6ca1;
    color:white;
    width:100%;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
}

body.terex .btn  {
    background-color:#a11a1a;
}


button.btn.cancel,
body.terex button.btn.cancel {
    color: #1a6ca1;
    background: white;
    margin-top: 24px;
}

.btn[disabled],
body.terex .btn[disabled]  {
    background-color: #CFCFD2;
    color: #8C8C90;
}


@keyframes slide-top-normal {0% { transform: translateY(110%); } 100% { transform: translateY(0%);} }

.manual-wrap.show { 
    animation: slide-top-normal .5s ease 0s .5 normal none; 
}

.choice-wrap input[type=radio] {
    -ms-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    accent-color: black;
}
body.error-page
body.error-page a,
body.error-page a:visited,
body.error-page a:active,
body.error-page a:hover {
    color: white;
}

body.error-page {
    text-align: center;
    font-size: 18px;
}