/* 
Globale Styles
*/

.clear {
  clear: both;
}

.description {
  font-size: 90%;
  font-weight: normal;
  color: gray;
  white-space: normal;
}

.clickable {
  cursor: pointer;
}

.ui-content {
  max-width: 550px;
    overflow: hidden;
    margin: 3em auto;
}

.ui-popup-container {
  max-width: 550px;
}

.ui-icon-de:after {
  background-image: url(/images/flags/small/de.png);
}

.ui-icon-en:after {
  background-image: url(/images/flags/small/uk.png);
}

.ui-icon-es:after {
  background-image: url(/images/flags/small/es.png);
}

.ui-icon-it:after {
  background-image: url(/images/flags/small/it.png);
}

.ui-icon-fr:after {
  background-image: url(/images/flags/small/fr.png);
}

.ui-icon-kr:after {
  background-image: url(/images/flags/small/kr.png);
}

.ui-icon-nl:after {
  background-image: url(/images/flags/small/nl.png);
}

.ui-icon-dk:after {
  background-image: url(/images/flags/small/dk.png);
}

.ui-icon-zh:after {
  background-image: url(/images/flags/small/zh.png);
}

.ui-icon-hu:after {
  background-image: url(/images/flags/small/hu.png);
}

.infotable .value {
  font-weight: bold;
}

.infotable .label {
  margin-right: 0.3em;
}

.default-text {
  font-weight: normal;
  font-size: 100%;
  font-style: normal;
}

.small-text {
  font-weight: normal;
  font-size: 80%;
  font-style: normal;
}

div#throbber_dialog {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 1000;
}

.ui-icon-phone {
	background: url("images/phone_white1.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0.4);
	border: none;
  border-radius: 0;
}

#rapport_message {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 1em;
  border: green 2px solid;
  border-radius: 15px;
}

#rapport_message.error {
  border-color: #ff8c00;
}

#move_ticket_message {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding: 1em;
  border: green 2px solid;
  border-radius: 15px;
}

#move_ticket_message.error {
  border-color: #ff8c00;
}

.warning_border {
  border: 2px solid red;
  border-radius: 5px 5px 5px 5px;
  margin: 0.2em;
  padding: 0.2em;
}

#return-to-top {
    position: fixed;
    bottom: calc(3em + 20px);;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 2px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1000000;
}

#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

/* Removing blue glow */

.ui-focus,
.ui-btn:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.ui-input-text.ui-focus,
.ui-input-search.ui-focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* Scanner CSS */

#interactive {
    position: relative;
}

#interactive > video {
    width: 100%;
    height: auto;
}

/* Draws the object boxes */

.drawingBuffer {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
}

/* Scanner Feedback */

.scannerFeedback {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    left: 0;
    top: 0;
}

.scFeed {
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

#scannerSuccess {
    background-color: #449d44;
}

#scSuc {
    background-image: url('../images/scanner/checkmark.png');
}

#scannerError {
    background-color: #c9302c;
}

#scErr {
    background-image: url('../images/scanner/error.png');
}

.cameraError {
    color: red !important;
    transition: all 0.3s ease;
}

/* Rapport Btn Checkmark Box*/

.insertCheck {
    height: 0px !important;
    width: 0px !important;
}

.disable {
    display: initial;
}

/* Loader Look */

.ui-loader .ui-icon-loading {
}

.ui-loader {
    opacity: 1 !important;
}

.ui-loading .ui-body-a {
    background-color: transparent !important;
    border: none;
}

/* Header Look */

.page_header_menu_button, .page_header_back_button {
    box-shadow: none !important;
}

.page_header_back_button {
    margin-left: 55px !important;
}

.page_header_reload_button {
    box-shadow: none !important;
}

/* Photoupload hidden uploadbutton */
.real_upload_button {
  display: none;
  position: absolute;
}

/* Photoupload Looks */
.img_container{
    position: relative;
    padding-top: 0px;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.preview_label {
    text-align: center;
    font-size: 17pt;
    font-weight: bold;
    display: none;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.img_container_label {
    color: #5c5c5c;
    text-align:center;
    font-size: 14pt;
    padding-bottom: 20px;
}

.image_wrapper{
    position: relative;
}

.image {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition-property: opacity;
    transition-duration: 0.4s;
}

/* Videoupload Looks */
.video_container{
    padding-top: 0px;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.video_container_label {
    color: #5c5c5c;
    text-align:center;
    font-size: 14pt;
    padding-bottom: 20px;
}

#video {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.nextPhoto, .prevPhoto {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 13px;
    color: white !important;
    background-color: rgba(0,0,0,0.3);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    display: none;
    transform: translate(0%, -50%);
}

.prevPhoto {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.nextPhoto {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prevPhoto:hover, .nextPhoto:hover {
    background-color: rgba(0,0,0,0.8);
}

.picture_number {
    position: absolute;
    color: white;
    font-size: 15px;
    transition: 0.6s ease;
    border-radius: 3px;
    background-color: rgba(0,0,0,0.3);
    padding-left: 6px;
    padding-right: 6px;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, 0%);
    display: none;
}

/* Document upload Looks */
.document_container{
    padding-top: 0px;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.document_container_label {
    color: #5c5c5c;
    text-align:center;
    font-size: 14pt;
    padding-bottom: 30px;
}

#document {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border: none;
}

.document_name_label {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    font-weight: 600;
    color: darkslategray;
    padding: 10px 10px 0px 10px;
}

.pdf_image{
    height: 100px !important;
    padding: 10px;
}


/* New loading animation */

@keyframes scaling{
  0%, 100%{
    transform: scale(0.2);
    background-color: #30FFB7;
  }
  40%{
    transform: scale(1);
    background-color: #07DEFF;
  }
  50%{
    transform: scale(1);
    background-color: #00baff;
  }
}

.loading_dots div {
    height: 1em;
    width: 1em;
    border-radius:50%;
    transform: scale(0);
    animation: scaling 2s ease-in-out infinite;
    display: inline-block;
    margin:.5rem;
}

.loading_dots div:nth-child(0){
  animation-delay:0s;
}
.loading_dots div:nth-child(1){
  animation-delay:0.2s;
}
.loading_dots div:nth-child(2){
  animation-delay:0.4s;
}
.loading_dots div:nth-child(3){
  animation-delay:0.6s;
}
.loading_dots div:nth-child(4){
  animation-delay:0.8s;
}
.loading_dots div:nth-child(5){
  animation-delay:1s;
}

.help {
  position: fixed;
  bottom: calc(3em + 20px);
  left: 20px;
  /*background: #13a0dd;*/
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 50%;
  z-index: 1048;
  cursor: pointer;
}

.help svg {
  /*color: #fff;*/
  margin: 0;
  position: relative;
  font-size: 19px;
}

.help .help-x {
  /*padding: 5px;*/
}

.help-text {
    position: fixed;
    bottom: calc(3em + 20px);
    left: 20px;
    width: calc(100% - 40px);
    transition: clip-path 0.5s;
    clip-path: circle(25px at 25px calc(100% - 25px));
    /*background: #13a0dd;*/
    /*color: white;*/
    border-radius: 23px;
    z-index: 1047;
    height: auto;
    padding-bottom: 30px;
    padding-top: 30px;
}

.help-text.open {
    clip-path: circle(100%);
}

@supports not (clip-path: circle(25px at 25px calc(100% - 25px))) {
    .help-text {
        display: none;
    }
    .help-text.open {
        display: block;
    }
}

.help-text .control-button {
  padding: 10px;
  border-radius: 50%;
  border: none;
  width: 2.5em;
  height: 2.5em;
  background-color: transparent;
}

.help-text .control-button svg {
  width: 20px;
  height: 20px;
  color: white;
}

.help-text.ui-bar-a .control-button svg {
  color: #333;
}

.help-text .control-button svg.end {
  width: 20px;
  height: 20px;
  color: #b7b7b7;
}

.help-text .description svg {
  width: 50px;
  height: 50px;
  /*color: white;*/
  padding: 10px;
  border-radius: 50%;
  -webkit-box-shadow: 3px 2px 13px -5px #000000;
  box-shadow: 3px 2px 13px -5px #000000;
}

.help-page > .description {
  color: unset;
}

.help-text > .first_description,
.help-text > .description_header {
  text-align: center;
}

.landing-page-header {
    height: 4em !important;
    z-index: 1000 !important;
    border: 0 !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    -webkit-box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.header {
    z-index: 20000000;
    height: 3em;
}
.header h1 {
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ui-dialog-contain .header {
    position: relative !important;
}
.header-icons #header-logout-btn svg {
    color: white;
    background-color: transparent !important;
}
.header-icons #header-logout-btn:focus{
    outline: none;
    box-shadow: none;
}

.header-icons #header-logout-btn:hover{
    outline: none;
    box-shadow: none;
}

.header-icon {
    width: 1.7em;
}

.header-button {
    top: 50% !important;
    transform: translate(0, -50%) !important;
}

.header-button svg {
    border: 0 !important;
    box-shadow: none !important;
    color: #6b6b6b !important;
    background-color: transparent !important;
}

.ui-page-theme-b .header-button svg {
    color: white !important;
}

.ui-page-theme-b .header-button {
    background-color: #2a2a2a !important;
    border: 0 !important;
}

.header-button:active{
    background-color: lightgray !important;
    border-color: lightgray !important;
}
.header-button:active svg {
    color: #2f2f2f !important;
}

h1.ui-collapsible-heading {
  font-size: unset;
}

h2.ui-collapsible-heading {
  font-size: unset;
}

h3.ui-collapsible-heading {
  font-size: unset;
}

h4.ui-collapsible-heading {
  font-size: unset;
}

h1:not(.ui-title):not(.accordion-header) {
  margin-top: 1rem !important;
}

h2:not(.ui-title):not(.accordion-header)  {
  margin-top: 1rem !important;
}

h3:not(.ui-title):not(.accordion-header):not(.details-task)  {
  margin-top: 1rem !important;
}

h4:not(.ui-title):not(.accordion-header)  {
    margin-top: 1rem !important;
}


/* Footer Navigation */

nav.navbar {
    /*background-color: #f3f3f3;*/
    position: fixed !important;
    z-index: 1000;
    bottom: 0;
    /*color: #434343;*/
    height: 3.5em;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    -webkit-box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    max-width: 600px;
    left: 50%;
    transform: translate(-50%, 0);
    /*border-radius: 5px 5px 0 0;*/
}

ul.nav-tabs-wrapper {
    width: 90%;
}

.nav-indicator {
    position: absolute !important;
    left: 0;
    bottom: 0;
    transition: .4s;
    height: 5px !important;
    z-index: 1;
    border: 0 !important;
    border-radius: 8px 8px 0 0 !important;
}

.nav-icon {
    width: 1.5em;
    color: #6b6b6b;
}

a.nav-link {
    border: unset;
    background: unset;
    color: unset;
    padding: 0.5rem;
}

a.nav-link:focus {
    color: unset;
}
a.nav-link:hover {
    color: unset;
}

.ui-page-theme-b .nav-indicator {
    background-color: white;
}

.modal {
    padding-top: 1em;
}

.ui-dialog-contain {
    margin-bottom: 3em;
}


.btn-primary:active, .btn-primary:hover, .btn-primary:focus{
    background-color: lightgray !important;
    border-color: lightgray !important;
    box-shadow: none;
}

/*QR Scanner*/

#insert-viewport video {
    border-radius: 10px;
}

#qr-scanner-wrapper {
    border-radius: 10px;
}

#qr-scanner-wrapper {
    position: relative;
    overflow: hidden;
}
#qr-scanner-wrapper .scan-region-highlight {
    border-radius: 30px;
    outline: rgba(0, 0, 0, .25) solid 50vmax;
}
#qr-scanner-wrapper .scan-region-highlight-svg {
    display: none;
}
#qr-scanner-wrapper .code-outline-highlight {
    stroke: rgba(33, 158, 240, 0.9) !important;
    stroke-width: 10 !important;
    stroke-dasharray: none !important;
}

#single-result-view .result-icon {
    height: 30vh;
    min-height: 100px;
    transform-origin:center;
    transform: scale(0);
}

#single-result-view .result-icon svg {
    width: 45%;
}

.result-icon.show {
    animation:resultIconShow .5s linear forwards .25s;
}

.result-icon.show .result-success-icon .main-circle {
    transform-origin:center;
    transition: all 2s;
    animation: animateSuccessCircle 0.5s linear forwards;
    opacity: 1;
}

.result-icon.show .result-error-icon .main-circle {
    transform-origin:center;
    transition: all 2s;
    animation: animateErrorCircle 0.5s linear forwards;
    opacity: 1;
}

.result-success-icon {
    color: #00af00;
}

.result-error-icon {
    color: red;
}

@keyframes resultIconShow {
    0% {
        transform: scale(.2);
    }
    40% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes animateSuccessCircle {
  40% {
    transform: scale(6);
    opacity: 1;
    fill: #00af00;
  }
  55% {
    transform: scale(7);
    opacity: 1;
    fill: #94e094;
  }
  65% {
    transform: scale(8);
    opacity: 1;
    fill: #94e094;
  }
  75% {
    transform: scale(9);
    opacity: 1;
    fill: transparent;
    stroke: #94e094;
    stroke-width: 0.5;
  }
  85% {
    transform: scale(13);
    opacity: 1;
    fill: transparent;
    stroke: #94e094;
    stroke-width: 0.2;
  }
  95% {
    transform: scale(14);
    opacity: 1;
    fill: transparent;
    stroke: #94e094;
    stroke-width: 0.1;
  }
  100% {
    transform: scale(15);
    opacity: 1;
    fill: transparent;
    stroke: #94e094;
    stroke-width: 0;
  }
}

@keyframes animateErrorCircle {
  40% {
    transform: scale(6);
    opacity: 1;
    fill: red;
  }
  55% {
    transform: scale(7);
    opacity: 1;
    fill: #ff5c5c;
  }
  65% {
    transform: scale(8);
    opacity: 1;
    fill: #ff5c5c;
  }
  75% {
    transform: scale(9);
    opacity: 1;
    fill: transparent;
    stroke: #ff5c5c;
    stroke-width: 0.5;
  }
  85% {
    transform: scale(13);
    opacity: 1;
    fill: transparent;
    stroke: #ff5c5c;
    stroke-width: 0.2;
  }
  95% {
    transform: scale(14);
    opacity: 1;
    fill: transparent;
    stroke: #ff5c5c;
    stroke-width: 0.1;
  }
  100% {
    transform: scale(15);
    opacity: 1;
    fill: transparent;
    stroke: #ff5c5c;
    stroke-width: 0;
  }
}


.print-result-error-icon {
    color: red;
}

.print-result-success-icon {
    color: #00af00;
}