.select2-container.fullwidth,
textarea {
    width: 100%
}

.ng-cloak,
.x-ng-cloak,
[data-ng-cloak],
[ng-cloak],
[ng\:cloak],
[x-ng-cloak] {
    display: none !important
}

.lt-ie8 body>* {
    display: none
}

.lt-ie8 body>#unsupportedBrowserMessage {
    display: block
}

#second-navbar .tabDescription,
#second-navbar .tabIndex,
#second-navbar .tabText,
#unsupportedBrowserMessage {
    display: none
}

.modal-backdrop {
    bottom: 0
}

textarea {
    resize: none
}

#header #logo {
    position: absolute;
    top: 5px;
    left: 5px
}

#header.navbar-inverse .navbar-nav>li>a {
    color: #f5f5f5
}

#header.navbar-inverse .navbar-nav>li>a:hover {
    background-color: rgba(255, 255, 255, .15)
}

#second-navbar {
    padding: 8px
}

.nav-wizard>li.disabled>a:focus,
.nav-wizard>li.disabled>a:hover {
    background-color: #d5d5d5
}

.select2-container a {
    min-width: 135px;
    min-height: 38px;
    padding-top: 5px !important
}

.select2-container .select2-arrow {
    padding-top: 5px
}

form .ng-dirty.ng-invalid {
    border-color: #ec3f41
}

.custom-error {
    color: #ec3f41
}

[draggable] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: move
}

#rightmenu {
    background-color: #f5f5f5;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    height: 100%
}

.welcome-name {
    font-weight: 700
}

.field-header {
    font-style: italic
}

.field-header label {
    font-weight: 400
}

.field-content {
    font-weight: 700
}

#identification_container {
    margin: 0 auto;
    position: relative
}

#identification_container .videowaiting {
    width: 100%;
    height: 480px;
    color: #fff;
    padding: 20px;
    background-color: #5a5a5a
}

#identification_container #remote_video {
    height: 480px;
    overflow: hidden
}

#identification_container #remote_video #remote_video_inner {
    display: inline-block;
    width: 100% !important;
    height: 480px;
    line-height: 480px;
    z-index: 100
}

#identification_container #remote_video #remote_video_inner * {
    line-height: 1.42857143
}

#identification_container #remote_video .videowaiting {
    display: inline-block;
    line-height: 480px
}

#identification_container #refresh_video #video_arrow {
    position: absolute;
    top: 25px;
    right: 0;
    margin-right: -250px;
    margin-top: -25px;
    width: 280px;
    height: 30px;
    float: right;
    border-radius: 2em;
    background-color: #428bca;
    cursor: pointer;
    transition-property: all;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0, 1, .5, 1);
    z-index: 999
}

#identification_container #refresh_video #video_arrow.open {
    margin-right: 0
}

#identification_container #refresh_video #video_arrow span.arrow {
    font-size: 1.3em;
    margin-top: 5px;
    margin-left: 7px;
    color: #fff
}

#identification_container #remote_video #my_video {
    width: 240px;
    height: 180px;
    background-color: #5a5a5a;
    position: absolute;
    bottom: 0;
    right: 15px;
    z-index: 200
}

#identification_container #remote_video #my_video #my_video_inner {
    display: inline-block;
    width: 100%;
    height: 180px;
    line-height: 180px
}

#identification_container #remote_video #my_video .videowaiting {
    display: inline-block;
    width: 100%;
    height: 180px;
    line-height: 180px;
    text-align: center;
    font-size: 4rem;
    color: #fff
}

#identification_container #remote_video #my_video .videowaiting * {
    line-height: 1.42857143
}

#identification_container #identification_right {
    position: absolute;
    top: 0;
    right: 0;
    width: 0
}

#identification_container #identification_right #identification_settings {
    position: absolute;
    top: 200px;
    width: 100%
}

#identification_container #identification_left {
    margin: 0 0 20px 0;
}

#identification_container #identification_left #chat #chatHistory {
    width: 100%;
    height: 400px;
    border: 2px groove #dcddde;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    overflow-y: auto;
    padding: 5px;
    margin: 0 0 7px 0
}

label.checkbox {
    font-weight: 400;
    margin-right: 10px
}

label.checkbox.inline {
    display: inline-block
}

.checkbox_container {
    margin-left: 25px
}

html {
    position: relative;
    min-height: 100%
}

body {
    margin-bottom: 60px
}

.neededDocument,
.row.estimation,
.tabs li {
    margin-bottom: 10px
}

body,
html {
    overflow-x: hidden
}

.sidebar {
    bottom: 50px
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    z-index: 999;
    background-color: #fff;
    padding: 10px
}

.dndupload-droppable {
    background-color: #dcddde;
    cursor: default
}

.personal_details_container .row div[data-ng-click].editable,
.switch,
.tabs.subtabs li {
    cursor: pointer
}

.dndupload-droppable.hover {
    background-color: #4089d4
}

.dndupload-droppable .completed .glyphicon-ok {
    visibility: visible;
    color: green
}

.estimation_description {
    font-size: .8em;
    font-style: italic
}

.estimation_header {
    font-weight: 700;
    text-transform: uppercase
}

.estimation_total {
    font-weight: 700
}

.tabs .tabs-index {
    font-size: 2.3em;
    padding-right: 10px
}

.tabs .tabs-index~span {
    font-size: 1.2em
}

.tabs li {
    margin-left: 15px;
    -webkit-box-shadow: 0 3px 3px 0 rgba(100, 100, 100, .5);
    -moz-box-shadow: 0 3px 3px 0 rgba(100, 100, 100, .5);
    box-shadow: 0 3px 3px 0 rgba(100, 100, 100, .5);
    background-color: #dcddde
}

.tabs li.selected {
    border-left: 10px solid #003d75;
    color: #003d75;
    font-weight: 700
}

.tabs li.selected,
.tabs li.selected a,
.tabs li.selected a:hover {
    background-color: #f5f5f5
}

.tabs li.selected a {
    padding-left: 10px
}

.tabs li a {
    display: table;
    padding-top: 0;
    padding-bottom: 0
}

.tabs li a span {
    display: table-cell;
    vertical-align: middle
}

.tabs li,
.tabs li a,
.tabs li a:hover {
    background-color: #dcddde
}

.tabs.subtabs .tabs-index {
    display: none
}

.tabs.subtabs a {
    padding-top: 5px;
    padding-bottom: 5px
}

.neededDocument:last-of-type {
    margin-bottom: 0
}

.tabs_content h2 {
    margin-top: 0
}

.personal_details_container .row {
    margin-bottom: 10px
}

.personal_details_container .row.custom-error {
    margin-top: -10px
}

.personal_details_container .row .editme {
    font-style: italic;
    color: #888
}

.time-info {
    display: table;
    background: #dcddde;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: .85em
}

.tt-dropdown-menu,
.typeahead {
    background-color: #fff
}

.time-info .time-info-left,
.time-info .time-info-right {
    display: table-cell
}

.time-info .time-info-left {
    vertical-align: middle;
    padding-right: 10px
}

ul.reduced-margin li {
    margin-left: -18px
}

iframe.sign-document_preview {
    width: 100%;
    min-height: 380px
}

.margin-bottom-20 {
    margin-bottom: 20px
}

.gist,
.tt-dropdown-menu {
    text-align: left
}

.tt-hint,
.tt-query,
.typeahead {
    width: 480px;
    height: 34px;
    padding: 8px 12px;
    font-size: 1em;
    line-height: 34px;
    border: 2px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    outline: 0
}

.typeahead:focus {
    border: 2px solid #0097cf
}

.typeahead.empty {
    border: 2px solid red
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)
}

.tt-hint {
    color: #999;
    width: 430px
}

.tt-dropdown-menu {
    width: 422px;
    margin-top: 12px;
    padding: 8px 0;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2)
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf
}

.tt-suggestion p {
    margin: 0
}

.typeahead {
    width: 405px
}

.twitter-typeahead {
    width: 100%
}

.loading {
    background-color: rgba(0, 0, 0, .3);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000
}

.loading #spinningSquaresG {
    width: 180px;
    height: 22px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}

.loading .spinningSquaresG {
    position: absolute;
    top: 0;
    background-color: #000;
    width: 22px;
    height: 22px;
    -moz-animation-name: bounce_spinningSquaresG;
    -moz-animation-duration: 2.5s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: linear;
    -moz-transform: scale(.3);
    -webkit-animation-name: bounce_spinningSquaresG;
    -webkit-animation-duration: 2.5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: linear;
    -webkit-transform: scale(.3);
    -ms-animation-name: bounce_spinningSquaresG;
    -ms-animation-duration: 2.5s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-direction: linear;
    -ms-transform: scale(.3);
    -o-animation-name: bounce_spinningSquaresG;
    -o-animation-duration: 2.5s;
    -o-animation-iteration-count: infinite;
    -o-animation-direction: linear;
    -o-transform: scale(.3);
    animation-name: bounce_spinningSquaresG;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-direction: linear;
    transform: scale(.3)
}

.loading #spinningSquaresG_1 {
    left: 0;
    -moz-animation-delay: 1s;
    -webkit-animation-delay: 1s;
    -ms-animation-delay: 1s;
    -o-animation-delay: 1s;
    animation-delay: 1s
}

.loading #spinningSquaresG_2 {
    left: 23px;
    -moz-animation-delay: 1.25s;
    -webkit-animation-delay: 1.25s;
    -ms-animation-delay: 1.25s;
    -o-animation-delay: 1.25s;
    animation-delay: 1.25s
}

.loading #spinningSquaresG_3 {
    left: 45px;
    -moz-animation-delay: 1.5s;
    -webkit-animation-delay: 1.5s;
    -ms-animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    animation-delay: 1.5s
}

.loading #spinningSquaresG_4 {
    left: 68px;
    -moz-animation-delay: 1.75s;
    -webkit-animation-delay: 1.75s;
    -ms-animation-delay: 1.75s;
    -o-animation-delay: 1.75s;
    animation-delay: 1.75s
}

.loading #spinningSquaresG_5 {
    left: 90px;
    -moz-animation-delay: 2s;
    -webkit-animation-delay: 2s;
    -ms-animation-delay: 2s;
    -o-animation-delay: 2s;
    animation-delay: 2s
}

.loading #spinningSquaresG_6 {
    left: 113px;
    -moz-animation-delay: 2.25s;
    -webkit-animation-delay: 2.25s;
    -ms-animation-delay: 2.25s;
    -o-animation-delay: 2.25s;
    animation-delay: 2.25s
}

.loading #spinningSquaresG_7 {
    left: 135px;
    -moz-animation-delay: 2.5s;
    -webkit-animation-delay: 2.5s;
    -ms-animation-delay: 2.5s;
    -o-animation-delay: 2.5s;
    animation-delay: 2.5s
}

.loading #spinningSquaresG_8 {
    left: 158px;
    -moz-animation-delay: 2.75s;
    -webkit-animation-delay: 2.75s;
    -ms-animation-delay: 2.75s;
    -o-animation-delay: 2.75s;
    animation-delay: 2.75s
}

@-webkit-keyframes bounce_spinningSquaresG {
    0% {
        -webkit-transform: scale(1);
        background-color: #000
    }

    100% {
        -webkit-transform: scale(.3) rotate(90deg);
        background-color: #fff
    }
}

@-moz-keyframes bounce_spinningSquaresG {
    0% {
        -moz-transform: scale(1);
        background-color: #000
    }

    100% {
        -moz-transform: scale(.3) rotate(90deg);
        background-color: #fff
    }
}

@-o-keyframes bounce_spinningSquaresG {
    0% {
        -o-transform: scale(1);
        background-color: #000
    }

    100% {
        -o-transform: scale(.3) rotate(90deg);
        background-color: #fff
    }
}

@-ms-keyframes bounce_spinningSquaresG {
    0% {
        -ms-transform: scale(1);
        background-color: #000
    }

    100% {
        -ms-transform: scale(.3) rotate(90deg);
        background-color: #fff
    }
}

@keyframes bounce_spinningSquaresG {
    0% {
        transform: scale(1);
        background-color: #000
    }

    100% {
        transform: scale(.3) rotate(90deg);
        background-color: #fff
    }
}

.hidden_object {
    display: none
}

.error-container {
    margin-top: 45px;
    text-align: center;
    font-size: 1.2em
}

[date-picker] {
    border: 1px solid #dedede;
    -webkit-box-shadow: 3px 3px 10px 0 rgba(50, 50, 50, .5);
    -moz-box-shadow: 3px 3px 10px 0 rgba(50, 50, 50, .5);
    box-shadow: 3px 3px 10px 0 rgba(50, 50, 50, .5)
}

#testRiconoscimentoWeb {
    border: 2px solid #dcddde;
    width: 100%;
    min-height: 265px;
    padding: 10px
}

.margin-left-40 {
    margin-left: 40px
}

ul.nobullet {
    list-style-type: none
}

.file-icon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.file-icon:before {
    content: "\e022"
}

.tooltips {
    position: relative;
    display: inline
}

.more-info,
body.hiddenFooter .footer,
body.hiddenHeader #header {
    display: none
}

.tooltips span.tooltipText {
    width: 350px;
    height: 65px;
    position: absolute;
    color: #2b2b2b;
    background: #fff;
    border: 6px solid #d6d6d6;
    padding: 5px;
    border-radius: 5px;
    visibility: hidden;
    font-size: 10px
}

.tooltips span.tooltipText:after,
.tooltips span.tooltipText:before {
    content: '';
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    position: absolute
}

.tooltips span.tooltipText:before {
    margin-left: -100px;
    margin-top: 2px;
    border-top: 12px solid #d6d6d6;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent
}

.tooltips span.tooltipText:after {
    margin-left: -8px;
    border-top: 8px solid #fff;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    display: none
}

.tooltips span.tooltipText .closeButton {
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 1.9em;
    background-color: #fff;
    cursor: pointer
}

.tooltips.tooltipVisible span.tooltipText {
    visibility: visible;
    bottom: 0;
    left: -50px;
    margin-left: -76px;
    z-index: 999
}

body.hiddenHeader {
    padding-top: 0
}

body.hiddenHeader .sidebar {
    top: 0
}

body.hiddenFooter {
    margin-bottom: 0
}

body.hiddenFooter .sidebar {
    bottom: 0
}

.browsericon {
    width: 128px;
    height: 128px
}

#webcamTest {
    margin-bottom: 20px
}

#webcamTest .waitMessage {
    text-align: center;
    margin-top: 35px
}

#webcamTest .waitMessage #fountainG {
    position: relative;
    width: 240px;
    height: 29px;
    margin: 0 auto
}

#webcamTest .waitMessage .fountainG {
    position: absolute;
    top: 0;
    background-color: #0068b3;
    width: 29px;
    height: 29px;
    -moz-animation-name: bounce_fountainG;
    -moz-animation-duration: 1.3s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: normal;
    -moz-transform: scale(.3);
    -moz-border-radius: 19px;
    -webkit-animation-name: bounce_fountainG;
    -webkit-animation-duration: 1.3s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: normal;
    -webkit-transform: scale(.3);
    -webkit-border-radius: 19px;
    -ms-animation-name: bounce_fountainG;
    -ms-animation-duration: 1.3s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-direction: normal;
    -ms-transform: scale(.3);
    -ms-border-radius: 19px;
    -o-animation-name: bounce_fountainG;
    -o-animation-duration: 1.3s;
    -o-animation-iteration-count: infinite;
    -o-animation-direction: normal;
    -o-transform: scale(.3);
    -o-border-radius: 19px;
    animation-name: bounce_fountainG;
    animation-duration: 1.3s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    transform: scale(.3);
    border-radius: 19px
}

#webcamTest .waitMessage #fountainG_1 {
    left: 0;
    -moz-animation-delay: .52s;
    -webkit-animation-delay: .52s;
    -ms-animation-delay: .52s;
    -o-animation-delay: .52s;
    animation-delay: .52s
}

#webcamTest .waitMessage #fountainG_2 {
    left: 30px;
    -moz-animation-delay: .65s;
    -webkit-animation-delay: .65s;
    -ms-animation-delay: .65s;
    -o-animation-delay: .65s;
    animation-delay: .65s
}

#webcamTest .waitMessage #fountainG_3 {
    left: 60px;
    -moz-animation-delay: .78s;
    -webkit-animation-delay: .78s;
    -ms-animation-delay: .78s;
    -o-animation-delay: .78s;
    animation-delay: .78s
}

#webcamTest .waitMessage #fountainG_4 {
    left: 90px;
    -moz-animation-delay: .91s;
    -webkit-animation-delay: .91s;
    -ms-animation-delay: .91s;
    -o-animation-delay: .91s;
    animation-delay: .91s
}

#webcamTest .waitMessage #fountainG_5 {
    left: 120px;
    -moz-animation-delay: 1.04s;
    -webkit-animation-delay: 1.04s;
    -ms-animation-delay: 1.04s;
    -o-animation-delay: 1.04s;
    animation-delay: 1.04s
}

#webcamTest .waitMessage #fountainG_6 {
    left: 150px;
    -moz-animation-delay: 1.17s;
    -webkit-animation-delay: 1.17s;
    -ms-animation-delay: 1.17s;
    -o-animation-delay: 1.17s;
    animation-delay: 1.17s
}

#webcamTest .waitMessage #fountainG_7 {
    left: 180px;
    -moz-animation-delay: 1.3s;
    -webkit-animation-delay: 1.3s;
    -ms-animation-delay: 1.3s;
    -o-animation-delay: 1.3s;
    animation-delay: 1.3s
}

#webcamTest .waitMessage #fountainG_8 {
    left: 210px;
    -moz-animation-delay: 1.43s;
    -webkit-animation-delay: 1.43s;
    -ms-animation-delay: 1.43s;
    -o-animation-delay: 1.43s;
    animation-delay: 1.43s
}

@-webkit-keyframes bounce_fountainG {
    0% {
        -webkit-transform: scale(1);
        background-color: #0068b3
    }

    100% {
        -webkit-transform: scale(.3);
        background-color: #fff
    }
}

@-moz-keyframes bounce_fountainG {
    0% {
        -moz-transform: scale(1);
        background-color: #0068b3
    }

    100% {
        -moz-transform: scale(.3);
        background-color: #fff
    }
}

@-o-keyframes bounce_fountainG {
    0% {
        -o-transform: scale(1);
        background-color: #0068b3
    }

    100% {
        -o-transform: scale(.3);
        background-color: #fff
    }
}

@-ms-keyframes bounce_fountainG {
    0% {
        -ms-transform: scale(1);
        background-color: #0068b3
    }

    100% {
        -ms-transform: scale(.3);
        background-color: #fff
    }
}

@keyframes bounce_fountainG {
    0% {
        transform: scale(1);
        background-color: #0068b3
    }

    100% {
        transform: scale(.3);
        background-color: #fff
    }
}

#webcamTest .webcamTestResult {
    max-width: 1000px;
    margin: 0 auto
}

#webcamTest .webcamTestResult .webcamTest_video {
    width: 320px;
    height: 240px;
    background-color: #666
}

#webcamTest .webcamTestResult .webcamTest_view {
    max-width: 650px;
    padding-top: 30px
}

.more-info p {
    font-style: italic;
    font-size: .8em
}

.completed-document:not(:last-child) {
    margin-bottom: 20px
}

div#liveid-summary-button {
    padding-top: 35px
}

div#liveid-summary-info {
    padding-top: 25px
}

.angular-google-map-container {
    height: 600px
}

#identification_container #refresh_video {
    width: 280px;
    height: 30px;
    margin-bottom: 20px;
    position: absolute;
    bottom: 50%;
    right: 15px;
    overflow: hidden
}

.partners-list {
    padding: 15px 0
}

.partner-marker {
    float: left !important;
    width: 22%
}

.partner-data {
    float: right !important;
    width: 75%
}

.partner-logo {
    width: 100%;
    height: 50px
}

.partner-logo img,
.partner-marker img {
    max-width: 100%;
    max-height: 45px
}

.partner-price {
    font-size: 15px;
    font-weight: 700;
    color: #000
}

.partner-counter {
    padding-top: 15px
}

.partner p,
.switch {
    padding: 0;
    margin: 0
}

.partner-number {
    font-size: 16px;
    font-weight: 700;
    color: #000
}

.row-horizon {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch
}

.row-horizon>[class*=col-lg],
.row-horizon>[class*=col-md],
.row-horizon>[class*=col-sm],
.row-horizon>[class*=col-xs] {
    float: none;
    display: inline-block;
    white-space: normal;
    vertical-align: top
}

.switch {
    background: #fff;
    border: 1px solid #dfdfdf;
    position: relative;
    display: inline-block;
    box-sizing: content-box;
    overflow: visible;
    width: 47px;
    height: 25px;
    border-radius: 20px;
    box-shadow: #dfdfdf 0 0 0 0 inset;
    transition: .3s ease-out all;
    -webkit-transition: .3s ease-out all;
    top: -1px
}

.switch.wide {
    width: 80px
}

.switch small {
    background: #c41f1c;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s ease-out all;
    -webkit-transition: .3s ease-out all
}

.switch .off,
.switch .on {
    z-index: 0;
    position: absolute;
    top: 25%
}

.switch.checked small {
    left: 22px;
    background: #42a263
}

.switch.wide.checked small {
    left: 52px
}

.switch .switch-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px
}

.switch .on {
    display: block;
    right: 10%;
    color: #A9A9A9
}

.switch .off,
.switch.checked .on {
    display: none
}

.switch .off {
    color: #fff;
    left: 9%
}

.switch.checked .off {
    display: block
}

.big_preview {
    max-width: 100%;
    max-height: auto
}

.text-centered {
    text-align: center
}

.photo_container {
    box-sizing: border-box
}

.photo_container .hover {
    height: 100%;
    overflow: hidden;
    width: 100%
}

.photo_container .hover .overlay {
    left: 0;
    right: 0;
    position: absolute;
    bottom: 0;
    top: auto;
    opacity: 0;
    z-index: 2
}

.photo_container .media-item {
    margin-top: 20px;
    height: 230px;
    overflow: hidden;
    background: #F2F2F2;
    position: relative;
    text-align: center
}

.photo_container .media-item:before {
    content: "\e060";
    font-family: "Glyphicons Halflings";
    font-size: 40px;
    line-height: 1;
    margin: 10px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    line-height: 60px;
    color: #DDD;
    text-align: center;
    z-index: 0
}

.photo_container .media-item img {
    border-radius: 3px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 100%
}

.photo_container h5 {
    background: #f2f2f2;
    padding: 0 5px;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    margin: 5px 0;
    height: 25px;
    line-height: 25px
}

.photo_container .media-item .media-actions {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 21px;
    color: #FFF;
    text-shadow: 1px 1px 2px #000;
    text-align: right;
    z-index: 2
}

.photo_container .media-item .zoom {
    color: #FFF
}

.photo_container .media-item .delete {
    color: red;
    padding-left: 10px
}

.photo_container.can_upload .hover:hover .overlay,
.photo_container.can_upload .hover .overlay-fixed {
    opacity: 1;
    transform: none;
    background-color: rgba(0, 0, 0, 0.6);
    color: #FFF;
    height: 60px
}

.photo_container.can_upload .hover .overlay .buttons-row {
    margin: 0
}

.photo_container.can_upload .hover .overlay .buttons-row button {
    background: none;
    border: none;
    text-align: center;
    width: 100%;
    padding: 15px 0;
    font-size: 21px;
    line-height: 1
}

.photo_container.can_upload .hover .overlay button:hover,
.photo_container.can_upload .hover .overlay button:active,
.photo_container.can_upload .hover .overlay button:focus {
    color: #FFF;
    text-shadow: 1px 1px 2px #000;
    box-shadow: none;
    outline: none
}

.photo_container.can_upload .hover .overlay a {
    display: block;
    padding: 0 15px;
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    height: 60px;
    line-height: 60px
}

.photo_container.can_upload .media-item.drag_drop {
    border: 5px dashed #F2F2F2;
    background: #FEFEFE
}

.photo_container.can_upload .media-item.drag_drop img,
.photo_container.can_upload .media-item.drag_drop .media-actions {
    display: none
}

.photo_container.can_upload .media-item.drag_drop .overlay {
    display: none
}

.photo_container.can_upload .media-item.drag_drop:before {
    content: "\e060";
    font-family: "Glyphicons Halflings";
    font-size: 40px;
    line-height: 1;
    margin: 10px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    line-height: 60px;
    color: #DDD;
    text-align: center
}

.photo_container.can_upload .media-item.drag_drop_error {
    border: 5px dashed red;
    background: rgba(242, 222, 222, 0.2)
}

.photo_container.can_upload .media-item.drag_drop_error img,
.photo_container.can_upload .media-item.drag_drop_error .media-actions {
    display: none
}

.photo_container.can_upload .media-item.drag_drop_error .overlay {
    display: none
}

.photo_container.can_upload .media-item.drag_drop_error:before {
    content: "\e090";
    font-family: "Glyphicons Halflings";
    font-size: 40px;
    line-height: 1;
    margin: 10px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 60px;
    width: 60px;
    margin-top: -30px;
    margin-left: -30px;
    line-height: 60px;
    color: red;
    text-align: center
}

@media(max-width: 992px) {
    #identification_container #identification_left #chat #chatHistory {
        height: 150px;
    }
}
/* ====== ACCESSIBILITY FOCUS STYLES ====== */

/* Accessibility color definitions using CSS variables */
:root {
    --tofe-focus-color: #0066cc;
    --tofe-focus-color-light: #4d9fff;
    --tofe-focus-shadow: 0 0 0 2px rgba(0, 102, 204, 0.5);
    --tofe-focus-shadow-inset: inset 0 0 0 2px rgba(0, 102, 204, 0.8);
}

/* Default outline reset for all interactive elements */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus,
[tabindex]:focus {
    outline: none;
}

/* Specific styles for buttons */
.btn:focus {
    outline: 2px solid var(--tofe-focus-color);
    outline-offset: 2px;
    box-shadow: var(--tofe-focus-shadow);
    z-index: 1;
    position: relative;
}

.btn.btn-primary:focus {
    outline-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 4px rgba(0, 102, 204, 0.5);
}

/* Styles for inputs and forms */
.form-control:focus,
.form-control input:focus,
.form-control select:focus,
input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus,
input:-webkit-autofill:focus {
    outline: 2px solid var(--tofe-focus-color);
    outline-offset: 2px;
    box-shadow: var(--tofe-focus-shadow);
    border-color: var(--tofe-focus-color);
    background-color: rgba(0, 102, 204, 0.1);
}



/* Styles for links */
a:focus {
    outline: 2px solid var(--tofe-focus-color);
    outline-offset: 2px;
    box-shadow: var(--tofe-focus-shadow);
    text-decoration: underline;
    background-color: rgba(0, 102, 204, 0.1);
}

/* Specific styles for accordion */
.accordion-toggle:focus {
    outline: 2px solid var(--tofe-focus-color);
    outline-offset: 2px;
    box-shadow: var(--tofe-focus-shadow);
    background-color: rgba(0, 102, 204, 0.05);
}

.accordion-toggle[tabindex="0"]:focus {
    cursor: pointer;
}

/* Styles for select2 (custom dropdown) */
.select2-container a:focus {
    outline: none;
    box-shadow: var(--tofe-focus-shadow-inset);
    border-color: var(--tofe-focus-color);
}

/* Styles for elements with form role */
[role="form"] .form-control:focus {
    box-shadow: var(--tofe-focus-shadow-inset);
    border-color: var(--tofe-focus-color);
}

/* Visual indicator for focus on custom elements */
.custom-focusable:focus {
    outline: 2px solid var(--tofe-focus-color);
    outline-offset: 2px;
    box-shadow: var(--tofe-focus-shadow);
}

/* Support for high contrast mode */
@media (prefers-contrast: high) {
    button:focus,
    input:focus,
    textarea:focus,
    select:focus,
    a:focus {
        outline: 3px solid;
        outline-offset: 2px;
    }
}

/* Support for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ====== END ACCESSIBILITY FOCUS STYLES ====== */

.welcome-summary-top {
    display: flex;
    flex-direction: column;
}

.welcome-summary-top .col:nth-child(2) {
    order: 1;
}

.welcome-summary-top .col-12 {
    order: 2;
}

.welcome-modal-trigger:focus {
    outline: 2px solid #004A99;
    outline-offset: 2px;
}

.welcome-modal-trigger:hover {
    text-decoration: underline;
}

button.welcome-modal-trigger {
    /* Remove default button styles */
    -webkit-appearance: none; /* For Safari/Chrome */
    -moz-appearance: none;    /* For Firefox */
    appearance: none;         /* Standard */

    border: none; /* Remove border */
    padding: 0;   /* Remove padding */
    background: none; /* Remove background */

    /* Set cursor style, if you want it to be the same as normal text */
    cursor: auto; /* Or use 'text' */

    /* Make the element behave like an inline element */
    display: inline;

    /* Optional: Inherit text color and font from parent */
    color: inherit;
    font: inherit;
}

/* Ensure text is selectable in welcome-top sections, but exclude images */
*:not([draggable]):not(img) {
    -moz-user-select: text;
    -khtml-user-select: text;
    -webkit-user-select: text;
    user-select: text;
}

/* Maintain button cursor for actual buttons */
button,
.btn {
    cursor: pointer;
}

/* Maintain pointer cursor for modal trigger */
.welcome-modal-trigger {
    cursor: pointer;
}

/* Prevent selection of images */
img {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
    cursor: default;
}

.top-new .upload-btn:focus {
	outline: 2px solid #0072ce;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #0072ce;
}

/* Focus per pulsanti "carica di nuovo" */
label[for="external"]:focus, 
label[for="internal"]:focus, 
label[for="externalCF"]:focus, 
label[for="internalCF"]:focus {
	outline: 2px solid #0072ce;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #0072ce;
}

/* Focus per pulsanti fullscreen */
button.glyphicon-fullscreen:focus,
button.text-right:focus {
	outline: 2px solid #0072ce;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #0072ce;
}

.document-capture .doc-capture-label-upload-btn{
    border: none;
    background-color: transparent; 
    color:#0B2E4F; 
    text-transform: uppercase; 
    text-decoration: underline; 
    float:left; 
    padding-left: 0; 
    cursor: pointer; 
    margin-top: 9px
}

.document-capture .doc-capture-label-upload-btn:focus,
.upload-btn:focus{
    outline: 2px solid #0072ce;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #0072ce;
}

.document-capture .btn-zoom-a11y-fix{
    cursor:pointer;
    background:none;
    border:none;
    padding:0;
}

.document-capture .uploaded-document-image.zoomed-image{
    width: 100%;
    max-height: 100vh;
    object-fit: contain;
}
.document-capture .zoom-btn{
    font-size: 1em;
    position: relative;
    top: 1px;
    margin-top: .5em;
    float: right;
}

.glyphicon-normal-screen:before{
    width: 1em;
    height: 1em;
    content: " ";
    background: url(../images/zoom-in.png) no-repeat;
    background-size: contain;
    display: inline-block;
}

idt-liveness {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    background: white;
    z-index: 1000;
}