/* :root {
    --cuma-login: #DA291C;
    --cuma-light: rgb(28, 22, 22);
    --cuma-lighter: rgb(88, 66, 66);
    --cuma-dark: #4a0d08;
    --cuma-device-top-info: rgb(48, 47, 39);
    --cuma-device-top-title: black;
    --cuma-form-top-title: black;
    --cuma-video-top-title: #A00000;
    --cuma-video-replacement-top-title: rgb(122, 100, 100);
    --cuma-schedule-top-title: black;
    --cuma-resumen-color: black;
    --cuma-top-bar: black;
    --cuma-side-bar: black;
} */

:root {
    --cuma-login: #DA291C;
    --cuma-light: rgb(28, 22, 22);
    --cuma-lighter: rgb(88, 66, 66);
    --cuma-dark: #4a0d08;
    --cuma-device-top-info: rgb(48, 47, 39);
    --cuma-device-top-title: #DA291C;
    --cuma-form-top-title: #DA291C;
    --cuma-image-top-title: rgb(0, 16, 129);
    --cuma-video-top-title: #164f18;
    --cuma-video-replacement-top-title: rgb(122, 100, 100);
    --cuma-schedule-top-title: #DA291C;
    --cuma-resumen-color: #DA291C;
    --cuma-top-bar: #DA291C;
    --cuma-side-bar: #DA291C;
    --cuma-form-width: 192px;
    --cuma-cross-anim-size: 128px;
    --cuma-local-web-top-title: #8d4e97;
    --cuma-font-top-title: #c3801e;

}


@font-face {
    font-family: "cuma-bold";
    font-style: normal;
    src: local("cuma-bold"), url("/css/font/cuma-bold.woff2") format("woff2"), url("/css/font/cuma-bold.otf") format("opentype");
}

@font-face {
    font-family: "cuma-regular";
    font-style: normal;
    src: local("cuma-regular"), url("/css/font/cuma-regular.woff2") format("woff2"), url("/css/font/cuma-regular.otf") format("opentype");
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    overflow-y: auto;
    font-size: 12px;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Helvetica, Arial, Helvetica Neue, sans-serif;

}

strong,
h1,
h2,
h3,
h4 {
    font-family: "cuma-bold";
}

a {
    text-decoration: none;
    color: #f7f7f7;
    outline: none;
}

a:hover,
a:focus {
    color: #fff;
    outline: none;
}

#topbar {
    padding: 3px 0px 0px 0px;
    height: 34px;
    width: 100vw;
    position: fixed;
    white-space: nowrap;
    background: var(--cuma-top-bar, #DA291C);
    /* background: black; */

    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    z-index: 2147483647;
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 400px;
}

#titulo {
    flex-grow: 1;
    justify-content: center;
    display: flex;
    min-width: 320px;
}

#titulo>div>img {
    max-width: 300px;
    width: 100%;
    height: 100%;
}




#righttoolbar {
    padding-right: 8px;
}

#righttoolbar>div {
    margin-right: 8px;
}

#lefttoolbar>div {
    margin-left: 4px;
}

#righttoolbar>div,
#lefttoolbar>div {
    cursor: pointer;
    padding: 2px;
    display: inline-block;
    border-radius: 5px;
}

#righttoolbar>div:hover,
#lefttoolbar> :hover {
    background: lightblue;
}

#lefttoolbar {
    padding-left: 0px;
}

#contentbody {
    /* min-height: 400px; */
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 4px;

}

#topbar div.htip {
    max-width: 28px;
    max-height: 28px;
    width: 100%;
    height: 100%;
}

.ghtip {
    max-width: 28px;
    max-height: 28px;
    width: 100%;
    height: 100%;
}

@media (max-width: 840px) {
    .ghtip {
        max-width: 24px;
        max-height: 24px;
    }

    body {
        font-size: 0.6em;
    }

    #titulo>div>img {
        max-width: 180px;
    }

    #titulo {
        min-width: 200px;
    }

    #lefttoolbar>div:nth-child(2) {
        margin-left: 8px;
    }

    #lefttoolbar>div {
        margin-left: 4px;
    }

    #righttoolbar>div {
        margin-right: 4px;
    }

    #righttoolbar>div,
    #lefttoolbar>div {
        padding: 2px 0px;
    }

}

/* @media (max-width: 700px) {
    .ghtip {
        max-width: 20px;
        max-height: 20px;
    }
} */

@media (max-width: 600px) {
    /* .ghtip {
        max-width: 18px;
        max-height: 18px;
    } */

    #topbar {
        height: 44px;
    }

    #titulo>div>img {
        height: auto;
    }

    #titulo {
        width: 200px;
        position: absolute;
        left: 50%;
        margin-left: -100px;
        ;
    }

    #lefttoolbar,
    #righttoolbar {
        display: flex;
        align-items: flex-end;
        user-select: none;
    }
}

/* @media (max-width: 400px) {

    #titulo>div>img {
        max-width: 140px;
    }

    #titulo {
        min-width: 160px;
    } 
} */

@media (max-height : 720px) {
    #contentbody {
        height: 100%;
    }
}

#LoadingImg {
    position: fixed;
    z-index: 10000000000;
    border: 1px solid black;
    padding: 20px;
    height: 10vh;
    width: auto;
    top: 50%;
    left: 50%;
    margin-left: -24px;
    margin-top: -24px;
    background-color: white;
    padding: 0;
    display: none;
    cursor: wait;
}

#LoadingImg>img {
    height: 100%;
    width: auto;
}

#content {
    padding-top: 46px;
    height: 100%;
    overflow-y: auto;
}

.loading-blur {
    filter: blur(1px);
    cursor: wait !important;
}

.loading-blur>* {
    pointer-events: none;
}

#contentnopad {
    /*overflow-y: auto;*/
    /*height: 100%;*/
}

#topbar .ghtip img,
#topbar .htip img {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0px;
    filter: invert(1);
    -webkit-filter: invert(1);
}

.hinfo {
    position: absolute;
}

.ghinfo {
    position: fixed;
}

.hinfo-right {
    width: 20vw;
    right: 0px;
}

.hinfo,
.ghinfo {
    display: none;
    color: black !important;
    background: #FDFFE3;
    padding: 8px;
    border: 1px dashed silver;
    border-radius: 5px;
    font-size: 14px !important;
    text-align: left;
    min-width: 40px;
    font-weight: bold;
    z-index: 100000000;
}

.hinfo>span,
.ghinfo>span {
    font-weight: normal;
    display: block;
    color: gray;
    font-size: 14px;
    margin-top: 4px;
}


.blink_me {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

.Error,
.error {
    background: #FFBBBB !important;
}

#advschedulebody>div>span:first-child {
    background: gray;
    color: white;
    width: 15em;
    display: inline-block;
    padding: 0 0 0 6px;
}

#advschedulebody>div {
    margin-bottom: 8px;
}


::-webkit-scrollbar {
    width: 0.45em;
    height: 0.45em
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-button {
    /*background: red*/
}

::-webkit-scrollbar-track-piece {
    /*background: #888*/
}

::-webkit-scrollbar-thumb {
    /*background: #eee*/
}

@media (max-height : 640px) {
    ::-webkit-scrollbar {
        width: 0.25em;
        height: 0.25em
    }

    ::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
        border-radius: 2px;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 2px;
        -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
    }
}

.disabled {
    pointer-events: none;
}

body.disabled {
    /* filter: brightness(0.5); */
}

#SavedMessage>div {
    position: relative;
    float: right;
    right: 2em;
}

#SavedMessage {
    display: none;
    pointer-events: none;
    position: fixed;
    width: 100%;
    font-size: 20px;
    padding: 12px;
    z-index: 99999999999;
}

.savemessageok {
    color: white;
    background: rgba(41, 184, 229, 1);
    background: -moz-linear-gradient(right, rgba(41, 184, 229, 1) 0%, rgba(41, 184, 229, 1) 20%, rgba(41, 184, 229, 0) 100%);
    background: -webkit-gradient(right top, left top, color-stop(0%, rgba(41, 184, 229, 1)), color-stop(20%, rgba(41, 184, 229, 1)), color-stop(100%, rgba(41, 184, 229, 0)));
    background: -webkit-linear-gradient(right, rgba(41, 184, 229, 1) 0%, rgba(41, 184, 229, 1) 20%, rgba(41, 184, 229, 0) 100%);
    background: -o-linear-gradient(right, rgba(41, 184, 229, 1) 0%, rgba(41, 184, 229, 1) 20%, rgba(41, 184, 229, 0) 100%);
    background: -ms-linear-gradient(right, rgba(41, 184, 229, 1) 0%, rgba(41, 184, 229, 1) 20%, rgba(41, 184, 229, 0) 100%);
    background: linear-gradient(to left, rgba(41, 184, 229, 1) 0%, rgba(41, 184, 229, 1) 20%, rgba(41, 184, 229, 0) 100%);
}

.savemessageerror {
    color: white;
    background: rgba(255, 77, 77, 1);
    background: -moz-linear-gradient(right, rgba(255, 77, 77, 1) 0%, rgba(255, 77, 77, 1) 20%, rgba(255, 77, 77, 0) 100%);
    background: -webkit-gradient(right top, left top, color-stop(0%, rgba(255, 77, 77, 1)), color-stop(20%, rgba(255, 77, 77, 1)), color-stop(100%, rgba(255, 77, 77, 0)));
    background: -webkit-linear-gradient(right, rgba(255, 77, 77, 1) 0%, rgba(255, 77, 77, 1) 20%, rgba(255, 77, 77, 0) 100%);
    background: -o-linear-gradient(right, rgba(255, 77, 77, 1) 0%, rgba(255, 77, 77, 1) 20%, rgba(255, 77, 77, 0) 100%);
    background: -ms-linear-gradient(right, rgba(255, 77, 77, 1) 0%, rgba(255, 77, 77, 1) 20%, rgba(255, 77, 77, 0) 100%);
    background: linear-gradient(to left, rgba(255, 77, 77, 1) 0%, rgba(255, 77, 77, 1) 20%, rgba(255, 77, 77, 0) 100%);
}

.fadeMe {
    -webkit-animation: fadein 2.5s ease-in;
    -moz-animation: fadein 2.5s ease-in;
    -o-animation: fadein 2.5s ease-in;
    -ms-animation: fadein 2.5s ease-in;
    animation: fadein 2.5s ease-in;
}

@-webkit-keyframes fadein {

    /*0% { opacity: 1; background-color: rgba(41,184,229,1)}
    20% { opacity: 1; background-color: rgba(41,184,229,1)}
    100% { opacity: 0;background-color: rgba(188,224,238,1)}*/
    0% {
        opacity: 1
    }

    20% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

#Helping,
.modal-content {
    position: relative;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    background: rgb(255, 255, 255);
    border: 1px solid black;
    cursor: default;
    overflow-y: auto;

    padding: 20px;
    overflow-y: auto;
    margin-top: auto;
    margin-bottom: auto;
    user-select: none;
}


#HelpingBox,
.modal-background {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999999;
    margin: auto;
    cursor: pointer;
}

#edithelp {
    position: absolute;
    right: 0;
    bottom: 0;
}

#edithelp img {
    height: 32px;
    width: auto;
}

#LoadingImgBar {
    height: 100%;
    position: relative;
    visibility: hidden;
}

#LoadingImgBar>img {
    height: 80%;
}