/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
* { box-sizing: border-box; }
b, strong { font-weight: bold; }
i, em { font-style: italic; }
pre {
    text-align: left;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    font-weight: bold;
    margin: 0.5em 0 0.3em 0;
}
h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.6em; }
h5 { font-size: 1.4em; }
h6 { font-size: 1.2em; }

body {
    position: static; /* needed for tinyMce */
    width: 100%;
    top: 0;
    left: 0;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
table.paginator { margin: auto; background-color: rgba(0, 0, 0, 0.75); }
table.paginator td { padding: 5px; }
label { cursor: pointer; }

table.dbResult {
    margin: 50px auto;
    border: 1px solid black;
    box-shadow: 5px 5px 20px black;
    border-collapse: collapse;
}

input.datetimepicker, input.datepicker {
    cursor: pointer;
    user-select: none;
}

li {
    list-style-position: inside;
}

table.dbResult thead { background-color: #CCC; font-weight: bold; }
table.dbResult tbody { background-color: #BBB; }
table.dbResult td { border: 1px solid grey; padding: 3px; }

div.modalLayer {
    background-color: rgba(0, 0, 0, 0.85);
    height: 100%;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 999;
    overflow-x: hidden;
    overflow-y: auto;
}

p {
    margin: 15px auto;
}


.hidden {
    display: none;
}

div.successBox, div.errorBox {
    border-radius: 5px;
    color: #FFFFFF;
    font-weight: bold;
    line-height: 1.4em;
    margin: auto;
    padding: 10px 15px;
    width: 100%;
    margin-bottom: 25px;
    position: absolute;
    left: 0;
    z-index: 15;

}

div.successBox {
    background-color: rgba(47, 151, 47, 0.5);
    border: 1px solid #008000;
    box-shadow: 5px 5px 10px rgba(0, 255, 107, 0.33);
    text-shadow: 1px 1px 5px #434343;
}

div.errorBox {
    background-color: rgba(255, 74, 74, 0.5);
    border: 1px solid red;
    box-shadow: 5px 5px 10px rgba(255, 0, 0, 0.5);
    text-shadow: 1px 1px 5px #070707;
}

table.tdPadding5 tr td {
    padding: 5px;
}

table.tdPadding10 tr td {
    padding: 10px;
}

table:not(.invisible) > tbody > tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03);
}

td {
    vertical-align: middle;
}

footer {
    clear: both;
}

.tac {
    text-align: center;
}

.truncate {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

table.paginator .pageBox {
     display: inline-block;
     border: 1px solid grey;
     background: rgba(128, 128, 128, 0.05);
     padding: 1px 3px;
     text-decoration: none;
     color: black;
     border-radius: 2px;
}

table.paginator .pageBox.hidden {
    display: none;
}

div.confirm {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

div.confirm > div {
    max-height: 100%;
    overflow-y: auto;
}

li.shariff-button.info {
    display: none;
}

#messageBar {
    height: 45px;
    margin: auto auto 15px;
    max-width: 1440px;
    position: relative;
}

#messageBar > div:nth-of-type(2) {
    margin-top: 45px;
}

#messageBar > div:nth-of-type(3) {
    margin-top: 90px;
}

#messageBar > div:nth-of-type(4) {
    margin-top: 135px;
}

#messageBar > div:nth-of-type(5) {
    margin-top: 180px;
}

.ui-slider-handle {
    cursor: pointer !important;
}

.ui_tpicker_unit_hide { display: none; }

input[type="range"] {
    cursor: pointer;
}

.flex {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
}

.flex > * {
    flex-grow: 1;
    text-align: left;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

button > a {
    color: inherit;
    display: inline-block;
    height: 100%;
    padding: 5px 20px;
    text-decoration: inherit;
    width: 100%;
}

.noSelect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* IE/Edge */
    user-select: none;           /* non-prefixed version, currently not supported by any browser */
}

.accordion > * {
    transition: none;
}