@import url(//fonts.googleapis.com/css?family=Roboto:300&display=swap&subset=cyrillic);

#wrapper, canvas {
    display: none;
}

#prev, .rm {
    float: left;
}

@font-face {
    font-family: takephoto;
    src: url(../fonts/takephoto.eot?73506805);
    src: url(../fonts/takephoto.eot?73506805#iefix) format('embedded-opentype'),url(../fonts/takephoto.woff2?73506805) format('woff2'),url(../fonts/takephoto.woff?73506805) format('woff'),url(../fonts/takephoto.ttf?73506805) format('truetype'),url(../fonts/takephoto.svg?73506805#takephoto) format('svg');
    font-weight: 400;
    font-style: normal;
}

[class*=" icon-"]:before, [class^=icon-]:before {
    font-family: takephoto;
    font-style: normal;
    font-weight: 400;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 21px;
    height: 18px;
    margin-right: 10px;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-camera:before, .icon-refresh:before {
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-camera:before {
    background-image: url();
}

.icon-refresh:before {
    height: 17px;
    background-image: url();
}

.card-form-widget [class*=" icon-"]:before, .card-form-widget [class^=icon-]:before {
    height: 20px;
}

body, html {
    height: 100%;
}

.card-form-widget .icon-camera:before {
    background-image: url();
}

.card-form-widget .icon-refresh:before {
    background-image: url();
}

    body.card-form-widget {
        padding-right: 1px;
    }

.button, .gr {
    display: inline-block;
    -o-user-select: none;
    padding: 5px 15px;
    margin: 7px;
    height: 36px;
    outline: 0;
    position: relative;
}

.button {
    background: green;
    border: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.ready #footer {
    background-color: #fff;
}

.gr {
    background: 0 0;
    border: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: green;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    line-height: 26px;
    font-size: 14px;
    font-weight: 400;
}

.rm {
    color: #D3222E;
    padding: 5px 15px;
    margin: 7px;
    height: 36px;
    border: 1px solid #D3222E;
    background: rgba(0,0,0,0);
    font-size: 12px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    outline: 0;
    cursor: pointer;
}

.button:hover {
    background-color: #158B15;
}

.button:active {
    outline: 0;
    -webkit-box-shadow: inset 0 0 3px 1px rgba(0,0,0,.5);
    box-shadow: inset 0 0 3px 1px rgba(0,0,0,.5);
}

#container {
    overflow: hidden;
    width: 880px;
    margin: 20px auto;
    background: #363636;
}

#wrapper {
    position: relative;
    background-color: #363636;
}

#videos {
    height: 100%;
}

#content {
    z-index: 2;
    position: relative;
    box-sizing: border-box;
    text-align: center;
}

.flash:after, .vmiddle {
    position: absolute;
    top: 0;
    left: 0;
}

.vmiddle {
    bottom: 0;
    right: 0;
    margin: auto;
}

#webcam {
    display: inline;
    text-align: center;
}

.flash:after, .pure-button {
    display: inline-block;
    width: 100%;
}

#footer {
    width: 100%;
    height: 50px;
    text-align: right;
    z-index: 2;
}

#videoElements {
    position: relative;
    z-index: 3;
}

.flash:after {
    height: 100%;
    z-index: 4;
    content: "";
    animation: fl 1s;
    -webkit-animation: fl 1s;
}

.facing-handle, .record-status {
    position: absolute;
    z-index: 9999;
}

@keyframes fl {
    from {
        background: rgba(255,255,255,.25);
    }

    to {
        background: rgba(255,255,255,0);
    }
}

@-webkit-keyframes fl {
    from {
        background: rgba(255,255,255,.25);
    }

    to {
        background: rgba(255,255,255,0);
    }
}

.pure-button {
    zoom: 1;
    line-height: normal;
    white-space: nowrap;
    vertical-align: baseline;
    text-align: center;
    cursor: pointer;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: inherit;
    font-size: 100%;
    height: 37px;
    padding: .55em 2.25em;
    color: rgba(0,0,0,.8);
    border: 1px solid #999;
    border: 0 transparent;
    background-color: #E6E6E6;
    text-decoration: none;
    border-radius: 2px;
}

    .pure-button-active, .pure-button:active {
        box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset;
    }

    .pure-button-disabled, .pure-button-disabled:active, .pure-button-disabled:focus, .pure-button-disabled:hover, .pure-button[disabled] {
        border: 0;
        background-image: none;
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
        filter: alpha(opacity=40);
        -khtml-opacity: .4;
        -moz-opacity: .4;
        opacity: .4;
        cursor: not-allowed;
        box-shadow: none;
    }

.pure-button-hidden {
    display: none;
}

.pure-button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.pure-button-primary, .pure-button-selected, a.pure-button-primary, a.pure-button-selected {
    background-color: #0078e7;
    color: #fff;
}

.removeButton, .startButton, .updateButton, .uploadButton {
    color: #fff;
    border-radius: 6px;
    text-shadow: rgba(0,0,0,.2) 0 1px 1px;
    margin: 6px 0;
}

#takePhoto, .file_upload label, .removeButton, .startButton, .updateButton {
    border: 1px solid #ccc;
    box-shadow: 0 1px #fff inset,0 1px #ddd;
    background: -moz-linear-gradient(top,#f5f5f5 0,#eee 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#f5f5f5),color-stop(100%,#eee));
    background: -webkit-linear-gradient(top,#f5f5f5 0,#eee 100%);
    background: -o-linear-gradient(top,#f5f5f5 0,#eee 100%);
    background: -ms-linear-gradient(top,#f5f5f5 0,#eee 100%);
    background: linear-gradient(to top,#f5f5f5 0,#eee 100%);
}

.status-message {
    display: none;
    padding: 15px;
    color: #363636;
    font-size: 15px;
}

.dn {
    display: none!important;
}

.disabledButton {
    pointer-events: none;
    opacity: .4;
    background-color: #ccc;
    color: gray;
}

.record-status {
    color: #d00;
    background-color: #fff;
    border-radius: 2px;
    padding: 2px 6px 3px 4px;
    text-transform: uppercase;
    font-family: sans-serif;
    letter-spacing: 1px;
    top: 15px;
    left: 20px;
    font-weight: 600;
    font-size: 11px;
}

    .record-status .status-icon {
        width: 19px;
        height: 17px;
        vertical-align: bottom;
        background: url() center center no-repeat;
        background-size: 12px;
        display: inline-block;
        margin-right: 2px;
    }

    .record-status .status-text {
        display: inline-block;
        margin-left: -5px;
        padding: 2px;
    }

.facing-handle {
    right: 10px;
    top: 8px;
}

    .facing-handle .flip {
        cursor: pointer;
    }

    .facing-handle .flip-icon {
        background: url() center center no-repeat;
        width: 35px;
        height: 35px;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

.card-form-widget .facing-handle .flip-icon {
    background: url() center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.facing-handle .flip-icon:active {
    width: 37px;
    height: 37px;
}

.navigation-buttons {
    font-weight: 700;
    height: 38px;
    line-height: 38px;
    width: 10px;
    cursor: pointer;
    padding: 5px;
    display: none;
}

#notification, #takePhoto, .file_upload label {
    font-family: "Lucida Grande",sans-serif;
    font-weight: 400;
}

#prev {
    background: url(../webcam/left.png) center center no-repeat;
}

#next {
    float: right;
    background: url(../webcam/right.png) center center no-repeat;
}

span.icons {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px #fff;
}

body.ndt span.icons {
    padding: 10px 11px 10px 12px;
    width: max-content!important;
}

body.ndt #update_photo {
    padding: 0;
}

#notification {
    position: fixed;
    left: 0;
    top: -50px;
    width: 100%;
    height: 50px;
    z-index: 9998;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background-color: #32834f;
    line-height: 50px;
}

.error-content {
    display: table;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #E8E8E8;
}

.error-details {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.error-message {
    color: #5F5F5F;
    font-size: 1.2em;
}

    .error-message a {
        color: #00a0f0;
        text-decoration: none;
    }

.takePhoto-container {
    font-size: 18px;
}

#takePhoto, .file_upload label {
    min-width: 162px;
    text-align: center;
    text-transform: capitalize;
    font-size: 14px;
    border-radius: 6px;
    padding: 9px 30px;
    color: #666;
    text-shadow: 0 1px #fff;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    cursor: pointer;
    display: inline-block;
}

body.ndt #takePhoto, body.ndt .file_upload label {
    width: max-content!important;
}

.card-form-widget #takePhoto, .card-form-widget .file_upload label {
    text-transform: uppercase;
    font-family: Roboto;
    font-size: .8em;
    font-weight: 100;
    color: #fff;
    padding: .55em 1.25em;
    background: #3d80c4;
    text-shadow: none;
    box-shadow: none;
    border: none;
    line-height: 1.6;
}

.file_upload input[type=file] {
    display: none;
}

#chosen_file_name {
    font-size: 14px;
    color: #313131;
    margin-top: 3px;
}

body.isJotFormNext #takePhoto {
    width: 78%;
    padding: .7em 2.25em;
}

body.card-form-widget.isJotFormNext #takePhoto {
    width: 100%;
    height: 42px;
    padding: 12px 0;
    max-width: 292px;
}

body.isJotFormNext .photoRow-imgWrap img {
    display: block;
    max-width: 80px;
    max-height: 80px;
    margin-right: 8px;
}

body.card-form-widget.isJotFormNext .photoRow-action {
    align-self: flex-start;
}

.photoRow {
    display: flex;
    width: 100%;
    max-width: 292px;
    border-radius: 3px;
    border: 1px solid #a7a6ca;
    margin-top: 11px;
    align-items: center;
    padding: 8px;
}

.photoRow-info {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-around;
    flex-grow: 1;
    height: 42px;
}

.photoRow-info-label, .photoRow-info-size {
    font-size: 13px;
    max-width: 234px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photoRow-info-size {
    color: #97a2bb;
}

.photoRow-action {
    flex-shrink: 1;
}

.photoRow-action-image {
    width: 25px;
    height: 25px;
}

    .photoRow-action-image:hover {
        cursor: pointer;
    }

.hidden {
    display: none;
}

body.takePhotoClassicLayout #content {
    height: 234px;
}

body.takePhotoClassicLayout #webcam {
    height: 234px!important;
}

    body.takePhotoClassicLayout #webcam video {
        width: 312px!important;
        height: 100%!important;
    }

body.takePhotoClassicLayout #photo {
    width: 312px;
    height: 234px;
}

@media all and (orientation:landscape) {
    body.takePhotoClassicLayout #photo {
        width: 168px;
        height: 234px;
    }
}
