.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;
}

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

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

#topbar {
    padding: 6px 0px 0px 0px;
    height: 34px;
    width: 100%;
    position: fixed;
    white-space: nowrap;
    background: white;
    display: flex;
    flex-flow: row nowrap; 
    justify-content: space-between;
    z-index: 2147483647;
    overflow-x: auto;
    overflow-y: hidden;
}

#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;
    
}

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


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

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

#topbar img {
    height: 26px;
    width: 26px;
    padding: 2px;
}

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

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


#titulo {
    font-size: 2em;
}

.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 {
	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 : 720px) {
    ::-webkit-scrollbar {
        width: 0.1em;
        height: 0.1em
    }

    ::-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); 
    }
}


#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: 10;
}

.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 {
    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;
}


#HelpingBox {
    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;
}