﻿
:root {
    --font-sofia: sofia-pro, sans-serif;
    --font-din: "urw-din", sans-serif;
    --transition-time: 0.4s;
    --color-gfg: #308D46;
    --color-black: #273239;
    --gfg-body-color: white;
    --gfg-tint-color: white;
    --gfg-selected-color: #ececec;
    --gfg-title-color: #121212;
    --gfg-subtitle-color: #121212;
    --gfg-tags-color: #989898;
    --gfg-text-color: #989898;
    --gfg-color-lg: #6d6d6d;
    --gfg-grey-bg: #F9F9F9;
    --gfg-darkgrey: #ebebeb;
    --gfg-light-bg: #D7EFEE;
    --gfg-tags-base-color: #308D46;
    --color-gfg-bg: rgba(48, 141, 70, 0.1);
    --gfg-wrapper-bg: #FAFAFA;
    --gfg-footer-text-color: #696969;
    --color-gfg-alternate: #308D46;
    --gfg-green-white: #308D46;
    --search-bg-color: #d2d2d2;
    --gfg-lightbg-color: rgba(235, 235, 235, 0.67);
    --gfg-body-color-alternate: #F0F0F0;
    --gfg-head-shadow: #1111112b;
    --scroller-color: #B6B6B6;
    --font-section-head: 27.5pt;
    --font-section-subhead: 14pt;
    --font-article-head: 14pt;
    --font-article-subtext: 12pt;
    --font-article-text: 10pt;
    --font-article-tags: 10pt;
    --font-w-article-head: 600;
    --font-w-article-text: 400;
}

html, body {
    scroll-behavior: smooth;
}
form {
    height: 100%;
}

#loader {
    position: fixed;
    display: grid;
    align-content: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: white;
    top: 0px;
    left: 0px;
    z-index: 999;
}


.sk-folding-cube {
    margin: 20px auto;
    width: 25px;
    height: 25px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

    .sk-folding-cube .sk-cube {
        float: left;
        width: 50%;
        height: 50%;
        position: relative;
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

        .sk-folding-cube .sk-cube:before{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
            animation: sk-foldCubeAngle 2.4s infinite linear both;
            -webkit-transform-origin: 100% 100%;
            -ms-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
        }

        .sk-folding-cube .sk-cube:nth-child(-n+2):before {
            background-color: #999999;
            
        }

        .sk-folding-cube .sk-cube:nth-child(n+3):before {
            background-color: #006599;
        }

    .sk-folding-cube .sk-cube2 {
        -webkit-transform: scale(1.1) rotateZ(90deg);
        transform: scale(1.1) rotateZ(90deg);
    }

    .sk-folding-cube .sk-cube3 {
        -webkit-transform: scale(1.1) rotateZ(180deg);
        transform: scale(1.1) rotateZ(180deg);
    }

    .sk-folding-cube .sk-cube4 {
        -webkit-transform: scale(1.1) rotateZ(270deg);
        transform: scale(1.1) rotateZ(270deg);
    }

    .sk-folding-cube .sk-cube2:before {
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
    }

    .sk-folding-cube .sk-cube3:before {
        -webkit-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }

    .sk-folding-cube .sk-cube4:before {
        -webkit-animation-delay: 0.9s;
        animation-delay: 0.9s;
    }

@-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }

    90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

@keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }

    90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

.text-ellipsis {
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.form-control input[type=radio] + label {
    margin-left: 1rem;
}


.phone {
    height: 50px;
    width: 100px;
    border: 3px solid white;
    border-radius: 10px;
    animation: rotate 1.5s ease-in-out infinite alternate;
}

.signature-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    touch-action: none;
}

.message {
    color: white;
    font-size: 1em;
    margin-top: 40px;
}

.portrait-container {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: black;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    50% {
        transform: rotate(-90deg)
    }

    100% {
        transform: rotate(-90deg)
    }
}

@media only screen and (max-width: 824px) and (orientation: landscape) {
    .portrait-container {
        display: none;
    }

    .landscape-container {
        display: block;
        background-color: white;
        top: 0;
        left: 0;
        position: relative;
        width: 100%;
        height: 100%;
    }
}

@media only screen and (max-width: 824px) and (orientation: portrait) {
    .portrait-container {
        display: flex;
    }

    .landscape-container {
        display: none;
    }
}

.landscape-left {
    float: left;
    width: 90%;
    height: 100%;
}

    .landscape-left
    canvas {
        left: 5%;
        top: 5%;
        position: relative;
        width: 90%;
        height: 90%;
        border: 1px solid #212529;
    }

.landscape-right {
    padding: 4px;
    float: left;
    width: 10%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

    .landscape-right button {
        width: 100%;
        height: 47%;
    }

.sign-help-overlay {
    left: 5%;
    top: 5%;
    position: fixed;
    width: 80%;
    height: 90%;
}

    .sign-help-overlay .help-text {
        position: absolute;
        left: 10%;
        width: 80%;
        bottom: 20%;
        border-top: 1px solid #000;
    }



.digit-group input {
    width: 30px !important;
    height: 50px !important;
    background-color: #18182a !important;
    border: none !important;
    line-height: 50px !important;
    text-align: center !important;
    font-size: 24px !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 200 !important;
    color: white !important;
    margin: 0 2px !important;
    padding: 0 !important;
}

.digit-group .splitter {
    padding: 0 5px;
    color: #18182a !important;
    font-size: 30px;
}

#overlay-container {
    touch-action: none;
}


/*extra breakpoints for better mobile support*/
@media(max-width:411px) {
    html,body {
        font-size:11px !important;
    }
}

@media(max-width:320px) {
    html, body {
        font-size: 9px !important;
    }
}

.user-initials {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
}

.image-input.image-input-outline .image-input-wrapper {
    background-size: contain;
    background-position: center;
}

.content {
    background:#f8f8ff;
}


.img-loader .spinner:before {
    left: -0.75rem;
}

.note-editable {
    background-color: white;
}

.dataTables_info {
    overflow-x:hidden;
    white-space:normal !important;
}

.select2-hidden {
    display: none !important;
}

.document {
    position: relative;
    box-shadow: 0 0.5rem 1.5rem 0.5rem rgb(0 0 0 / 7%);
    border-radius: 1rem;
}

    .document [data-action="remove"] {
        position: absolute;
        right: -10px;
        top: -10px;
    }

    .document .checkbox {
        font-size: 0.8rem;
    }

.document [data-action="type"] {
    position: absolute;
    left: -10px;
    top: -10px;
}

.document [data-action="restore"] {
    position: absolute;
    right: 50px;
    top: -10px;
}

.document [data-action="edit"] {
    position: absolute;
    right: 20px;
    top: -10px;
}


.color-info {
    color: #03a9f4;
}

.color-danger {
    color: #F64E60;
}

.color-warning {
    color: #FFA800;
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(2.5);
}

.zoom-img {
    width: 2.4em;
}

.context-menu {
    position: fixed;
    z-index: 10000;
    width: auto;
    background: #f26c25;
    border-radius: 5px;
    transform: scale(0);
    transform-origin: top left;
}

.context-menu.visible {
    transform: scale(1);
    transition: transform 200ms ease-in-out;
}

.context-menu .item {
    padding: 8px 10px;
    font-size: 15px;
    color: #eee;
    cursor: pointer;
    border-radius: inherit;
}

.context-menu .item:hover {
    background: #343434;
}

.box {
    height: auto;
    display: flex;
    align-items: center;
}

.box img {
    width: 4% !important;
}

.box span {
    margin: 0 10px;
}

.float-button {
    position: fixed;
    bottom: 40px;
    left: 40px;
    border-radius: 50px;
    box-shadow: 2px 2px 3px #999;
}

.float-button-menu {
    position: fixed;
    /*top: 45.5em;*/
    top: 70%;
    right: 40px;
    border-radius: 50px;
    box-shadow: 2px 2px 3px #999;
}

.float-button-store {
    position: fixed;
    bottom: 4em;
    left: 10px;
    display: flex;
    z-index: 9999;
    flex-direction: column;
}

.float-button-store-center {
    position: fixed;
    top: 10px;
    right: 5em;
    display: none;
    z-index: 9999;
    flex-direction: row;
}

.float-button-right-store {
    position: fixed;
    bottom: 2px;
    right: 5px;
    z-index: 9999;
    max-width: 350px;
}

.popover-body-flat {
    max-height: 200px;
}

.layer-grid {
    box-shadow: inset 0 0 0 1000px rgba(0, 16, 255, .4);
}

.layer-grid-red {
    box-shadow: inset 0 0 0 1000px rgba(236, 28, 36, .4);
}

.layer-grid-yellow {
    box-shadow: inset 0 0 0 1000px rgba(255, 255, 0, .4);
}

.layer-grid-green {
    box-shadow: inset 0 0 0 1000px rgba(34, 255, 0, .4);
}

.code-button {
    display: inline-block;
    border-radius: 50%;
    box-shadow: 0 0 2px 1px var(--gfg-head-shadow);
    padding: 0.40em 0.50em;
    background: var(--gfg-body-color);
    cursor: pointer;
    line-height: 23px !important;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 34px !important;
    margin-left: 0.40em;
    width: 34px !important;
    color: var(--color-black);
}

.squares-row {
    display: flex;
    justify-content: space-between;
    width: 40%;
}

.squares-box {
    width: 2em;
    height: 2em;
}

.squares-box-red {
    background-color: #FF0000;
}

.squares-box-green {
    background-color: #00FF00;
}

.squares-box-yellow {
    background-color: #FFFF00;
}

.squares-box-container {
    display: flex;
    align-items: center;
    font-size: 1.7em;
    font-weight: bold;
}

.table-flat {
    font-size: 0.7em;
}

.btn-flat {
    width: 8em;
}

/* Let's get this party started */
::-webkit-scrollbar {
    width: 0.50rem;
    height: 0.50rem;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 0.25rem;
    border-radius: 0.25rem;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0.25rem;
    border-radius: 0.25rem;
    background: rgba(186, 183, 183, 0.4);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(186, 183, 183, 0.4);
}

/*** MENU ***/
.sideHangernav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sideHangernav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sideHangernav a:hover {
    color: #f1f1f1;
}

.sideHangernav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: white;
    z-index: 99999;
}

#main {
    transition: margin-left .5s;
    padding: 16px;
}

@media screen and (max-height: 450px) {
    .sideHangernav {
        padding-top: 15px;
    }

    .sideHangernav a {
        font-size: 18px;
    }
}

.selected {
    border: dotted 0.15em green;
    opacity: .8;
}

.item {
    color:  white;
    font-weight: bold;
    font-size: 1em;
}

.py-force {
    padding-top: 0.1rem !important;
}

.display-none-input {
    display: none;
}


/**
    MENU BOTON FLOTANTE
*/

.btn-container,
.btn-style {
    /*position: absolute;*/
}

.btn-container {
    /*position: fixed;
    top: 50%;
    left: 60px;
    */
    /*z-index: 9999;*/
    width: 100%;
    /*max-width: 30%;
    transform: translateX(-200%);*/
}

#btn-toggle {
    display: none;
}

.btn-style {
    z-index: 999;
    width: 43px;
    height: 43px;
    background: #f28482;
    border-radius: 100%;
    transition: all 0.5s ease-in-out;
    box-shadow: 1px 3px 10px 0 rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

    .btn-style:before {
        position: absolute;
        top: 20px;
        left: 9px;
        content: '';
        width: 25px;
        height: 2px;
        background: #fff;
        transform: rotate(90deg);
    }

    .btn-style:after {
        position: absolute;
        top: 20px;
        left: 9px;
        content: '';
        width: 25px;
        height: 2px;
        background: #fff;
    }

.row-style {
    border-radius: 50px;
    box-shadow: 2px 2px 3px #999;
    background: #fff;
    transform: translateX(10%);
}

#btn-toggle:checked ~ .row-style {
    opacity: 1;
    transform: translateX(10%);
}

#btn-toggle:checked ~ .btn-style {
    transform: rotate(135deg);
    box-shadow: 0 0 0 0 transparent;
}
