body {
    background-color: #FFF;
    margin: 0px;
    padding: 0px;
    color: #225566;
    font-family: Tahoma, Geneva, sans-serif;
    text-align: center;
}

@font-face {
    font-family: '33535gillsansmt';
    src: url('fonts/33535gillsansmt.eot');
    src: local('fonts/33535gillsansmt'), url('fonts/33535gillsansmt.woff') format('woff'), url('fonts/33535gillsansmt.ttf') format('truetype');
}

body#initial {
    background: #333;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.red {
    color: red !important;
}

.green {
    color: green;
}

.yellow {
    color: #d3d300;
}

.coloryellow {
    color: #87870e;
}

.orange {
    color: orange
}

.op07 {
    opacity: 0.7;
}

.grey {
    color: grey;
}

.success td {
    background-color: rgba(4, 176, 71, 0.31) !important;
}

.danger td {
    background-color: rgba(176, 20, 4, 0.31) !important;
}

.notetxt {
    font-size: 0.8em;
    font-weight: 100;
}

.txtcenter {
    text-align: center;
}

.pd5topbottom {
    padding-top: 5px;
    padding-bottom: 5px;
}

.bold {
    font-weight: bold;
}

.valign-bottom {
    vertical-align: bottom;
}

.background {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    overflow: auto;
}

.w100 {
    width: 100%;
}

.stretch {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    background-image: url(custom/bg.jpg);
}

.nonclickable {
    pointer-events: none;
    opacity: 0.8;
    border-color: #aaa;
}

.flex {
    display: flex;
}

.flexcolumn {
    display: flex;
    flex-direction: column;
}

.flexwrap {
    display: flex;
    flex-wrap: wrap;
}

.flexcenter {
    align-items: center;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

#spinnerwrap {
    position: absolute;
    height: 100vh;
    width: 100vw;
}

#spinnerwrap img {
    width: 50px;
    height: auto;
}

.block {
    display: block;
}

.mid {
    width: 960px;
    margin: 0 auto;
}

.pr {
    position: relative;
}

#logologin {
    padding: 44px 0 0 0;
}

.logintable {
    background: url(custom/loginbg.png);
    width: 347px;
    height: 203px;
    color: #FFF;
    margin: 0 auto;
    margin-top: 30px;
}

.logintable table {
    width: 284px;
    padding-top: 30px;
    margin: 0 auto;
}

.logintable td {
    text-align: left;
    color: #FFF;
    text-transform: uppercase;
    font-size: 14px;
}

.loglc {
    width: 87px;
    height: 44px;
}

input.logininput {
    font-size: 13px;
    border: 1px solid #FFF;
    background: #FFF;
    padding: 4px;
    width: 186px;
    -webkit-box-shadow: 2px 2px 3px 0px #000;
    -moz-box-shadow: 2px 2px 3px 0px #000;
    box-shadow: 2px 2px 3px 0px #000;
}

input[type=submit].loginsubmit {
    position: relative;
    font-size: 13px;
    font-weight: normal;
    border: none;
    background: #0C5A98;
    height: 32px;
    line-height: 32px;
    width: 278px;
    color: #FFF;
    cursor: pointer;
    -webkit-box-shadow: 2px 2px 2px 0px #111;
    -moz-box-shadow: 2px 2px 2px 0px #111;
    box-shadow: 2px 2px 2px 0px #111;
    margin-top: 10px;
    text-transform: uppercase;
}

.loginmsg {
    margin: 0 auto;
    width: 330px;
    margin-top: 30px;
}

.loginmsg .msgbox {
    border: none;
    background: #670133;
    color: #FFF;
    text-shadow: none;
    padding: 4px 0px;
}

.ordersrch {
    width: 60px;
}

.select2-base {
    max-width: 220px;
}

.select2-wider {
    max-width: 100%;
    width: 400px
}

.select2-base span {
    text-align: left;
}

.select2-wider span {
    text-align: left;
}

td, p, div, span {
    font-size: 12px;
}

td:nth-child(2) {
    text-align: left;
}

img {
    border: 0
}

.nobd {
    border: 0;
}

input, textarea, select {
    font-size: 14px;
    border: 1px solid #999;
    color: #564F3F;
    padding: 4px
}

input[type=text]:not(.logininput), textarea {
    width: 90%;
    max-width: 400px;
}

select {
    width: 150px;
}

input[type=submit], input[type=button], a.btn {
    background: rgba(8, 62, 105, 0);
    border: 1px solid #0C5A98;
    color: #0C5A98;
    padding: 2px 6px 2px 6px;
    font-size: 12px;
    line-height: 22px;
    cursor: pointer;
    text-transform: uppercase;
    height: 22px;
    white-space: nowrap
}

#form1 input[type="submit"] {
    height: auto;
}

input[type=submit]:hover, input[type=button]:hover, a.btn:hover {
    background: #0C5A98;
    color: #fff;
}

.focusField {}

a:link, a:visited, a:active {
    color: #225566;
    text-decoration: none;
}

a:hover {
    color: #9EACBC;
    text-decoration: none;
}

a.botonred {
    border: 1px solid #f00;
    color: #f00;
    padding: 2px 6px 2px 6px;
    font-size: 12px;
    line-height: 11px;
    cursor: pointer;
    text-transform: uppercase;
    height: 22px;
    line-height: 20px;
    white-space: pre;
}

a.botonred:hover {
    background: #f00;
    color: #FFF;
}

a.boton {
    border: 1px solid #00f;
    color: #00f;
    padding: 2px 6px 2px 6px;
    font-size: 12px;
    line-height: 11px;
    cursor: pointer;
    text-transform: uppercase;
    height: 22px;
    line-height: 20px;
    white-space: pre;
}

a.boton:hover {
    background: #00f;
    color: #FFF;
}

a.botoninv {
    background: #fff;
    border: none;
    color: blue;
    padding: 2px 6px 2px 6px;
    font-size: 12px;
    line-height: 11px;
    cursor: pointer;
    text-transform: uppercase;
    height: 22px;
    line-height: 20px;
    white-space: pre;
    text-shadow: none;
}

a.botoninv:hover {
    background: #000;
    color: #FFF;
}


/* Specific Styles */

.header {
    font-size: 11px;
    font-weight: bold;
    background-color: #ADB9C7;
}

.mainlist {
    width: 100%;
    border-spacing: 0px;
}

.mainlist td {
    padding: 1px;
}

.borderbollapse {
    border-collapse: collapse
}

table {
    position: relative;
}

.sort td, .sort th {
    font-weight: bold;
    height: 22px;
    background: #CFD6DE;
    border-bottom: 1px solid #777777;
    text-align: left;
}

.sort th {
    text-align: center;
    position: sticky;
    position: relative;
    top: 0;
}

tr.hovertr:hover td {
    background: #D7DEFF !important;
}

.sort td table td {
    border-bottom: none;
}

.leftheader {
    font-weight: bold;
    background-color: #F0F0F0;
}

.titletable {
    font-weight: bold;
    color: #fff;
    background-color: #777;
    text-align: right;
}

.backrow1 td {
    height: 36px;
    background: #F0F0F0;
    border-bottom: 1px solid #999999;
    text-align: left;
}

.backrow1.txtcenter td {
    text-align: center;
}

.backrow2.txtcenter td {
    text-align: center;
}

.backrow2 td {
    height: 36px;
    background: #FFFFFF;
    border-bottom: 1px solid #999999;
    text-align: left;
}

.hovertr.children td, tr.hovertr.children {
    height: 16px;
}

.hovertr.children td * {
    font-size: 10px;
}

.hovertr.children td {
    padding-left: 5px
}

.backrow1.hovertr.children td {
    background-color: azure;
}

.backrow2.hovertr.children td {
    background-color: aliceblue;
}

.children+ :not(.children) {
    border-top: 2px solid black;
}

tr.greyed * {
    opacity: 0.7;
}

.backrow1 td table td {
    border-bottom: none;
}

.backrow2 td table td {
    border-bottom: none;
}

.backrowsel td {
    background: #E0FFC1;
}

.backrowhead td {
    background: #B3BDCA;
}

td.tableDivision {
    background: #555;
    color: white;
    height: 15px;
}

.optionmenu {
    border-top: none;
    border-bottom: 1px solid #777777;
    text-align: left;
}


.title {
    font-family: '33535gillsansmt';
    font-size: 16px;
    text-align: left;
    text-transform: uppercase;
    background: #0C5A98;
    color: #FFF;
    line-height: 30px;
    height: 30px;
    padding-left: 10px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    text-shadow: 1px 1px #333;

}

.cmstitle {
    display: block;
}

.big {
    font-size: 13px;
    color: #003366
}

.boxpos {
    align: center;
    position: relative;
    text-align: center;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.warningbox {
    border: 5px #CC0033 double;
    background-image: url(images/warning.gif);
    background-repeat: no-repeat;
    background-position: top;
    padding: 50px 0;
}

.msgbox {
    text-align: center;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    line-height: 26px;
    color: #455465;
    text-align: center;
    font-weight: bold;
    border: 2px #225566 solid;
    background-color: #F1F1F1;
    -moz-box-shadow: 2px 2px 4px #999999;
    -webkit-box-shadow: 2px 2px 4px #999999;
    box-shadow: 2px 2px 4px #999999;
    text-shadow: 1px 1px #FFFFFF;
}

.msgbox.warning {
    color: red;
}

.msgboxlogin {
    text-align: center;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    line-height: 26px;
    color: #FFF;
    text-align: center;
    font-weight: bold;
    border: 2px #FF0000 solid;

    font-size: 14px;
}


.emptymsgbox {
    width: 400px;
    line-height: 26px;
    text-align: center;
}

#navcolumn {
    background: #B9A988;

    height: 100%;
}

body#sidenav {}

#navhead {
    background: #0E334B;
    line-height: 30px;
    font-weight: bold;
    border-bottom: 1px solid #333;
    color: #FFF;
}

ul#nav {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
    font-weight: normal;
}

ul#nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px dotted #CCC;
    background: #B9A988;
}

ul#nav li a {
    padding: 4px 4px 4px 7px;
    display: block;
    color: #FFF;
    text-align: left;
    text-decoration: none;
    text-shadow: 1px 1px #454545;
}

ul#nav li a.active {
    background: #B9A988;
}

ul#nav li a:hover {
    color: #FFF;
    background: #4FA3DC;
}

.pagenav {
    margin-right: 5%;
    line-height: 24px;
    font-size: 1.0em;
    text-transform: uppercase;
    clear: both;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: right;
}

.pagenav a, .pagenav .current {
    padding: 3px 7px;
    border: 1px solid #bbbbbb;
    background: #fdfdfd url(images/button_bg.png) repeat-x 0 100%;
    color: #468175;
    margin-left: 3px;
    text-decoration: none;
}

.pagenav a:hover, .pagenav .current {
    color: #232323;
    background: #CFD6DE;
}

.mainbox {
    background: #F2F3F4;
    border: 1px dotted #ABABAB;
    padding: 10px;
    margin-bottom: 20px;
    width: 460px;
}


.logobox {
    background: #FFF;
    color: #454545;
    border: 1px dotted #CCCCCC;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.boxurls {
    float: right;
    background: #FFFFFF;
    border: 1px dotted #CCCCCC;
    padding: 10px;
    width: 260px;
    text-align: left;
}

.buttontxt {
    background: #CFD6DE;
    border: 1px solid #8F9FB1;
    padding: 3px 5px 3px 5px;
    text-shadow: none;
}

#preview {
    position: absolute;
    border: 1px solid #333;
    background: #333;
    padding: 1px;
    display: none;
    color: #fff;
}

/* icons */
.icon {
    display: inline-block;
    background-image: url(images/iconset.gif);
    background-repeat: no-repeat;
}

a.trash {
    background-position: center;
    background-image: url(images/trash.gif);
    padding-left: 20px;
    background-size: 14px;
    background-repeat: no-repeat;
}

a.dup {
    background-position: center;
    background-image: url(images/dup.png);
    height: 18px;
    width: 18px;
    background-size: 14px;
    background-repeat: no-repeat;
    display: inline-block;
}

a.duprepmasivo {
    background-position: center;
    background-image: url(images/duprepmasivo.png);
    height: 18px;
    width: 18px;
    background-size: 14px;
    background-repeat: no-repeat;
    display: inline-block;
}

a.voucher {
    background-position: center;
    background-image: url(images/voucher-icon.png);
    height: 22px;
    width: 22px;
    background-size: 16px;
    background-repeat: no-repeat;
    display: inline-block;
}

a.clients {
    background-position: center;
    background-image: url(images/users.png);
    height: 18px;
    width: 18px;
    background-size: 16px;
    background-repeat: no-repeat;
    display: inline-block;
}

a.add {
    padding-left: 20px;
    height: 16px;
    background-position: 0px 0px;
}

a:hover.add {
    background-position: 0px -17px;
}

a.del {
    width: 18px;
    height: 18px;
    background-position: 0px -72px;
}

a:hover.del {
    background-position: 0px -91px;
}

a.mod {
    width: 18px;
    height: 18px;
    background-position: 0px -34px;
}

a:hover.mod {
    background-position: 0px -53px;
}

a.mod2 {
    padding-left: 24px;
    height: 18px;
    background-position: 0px -34px;
}

a:hover.mod2 {
    background-position: 0px -53px;
}

a.up {
    width: 18px;
    height: 13px;
    background-position: 0px -178px;
}

a:hover.up {
    background-position: 0px -191px;
}

a.down {
    width: 18px;
    height: 13px;
    background-position: 0px -204px;
}

a:hover.down {
    background-position: 0px -217px;
}

a.yes {
    width: 16px;
    height: 16px;
    background-position: 0px -110px;
}

a:hover.yes {
    background-position: 0px -127px;
}

a.no {
    width: 16px;
    height: 16px;
    background-position: 0px -144px;
}

a:hover.no {
    background-position: 0px -161px;
}

.act1 {
    width: 16px;
    height: 16px;
    background-position: 0px -110px;
}

a:hover.act1 {
    background-position: 0px -127px;
}

.act0 {
    width: 16px;
    height: 16px;
    background-position: 0px -144px;
}

a:hover.act0 {
    background-position: 0px -161px;
}

a.photos {
    width: 22px;
    height: 18px;
    background-position: 0px -266px;
}

a:hover.photos {
    background-position: 0px -285px;
}

a.export {
    padding-left: 20px;
    height: 18px;
    background-position: 0px -304px;
}

a:hover.export {
    background-position: 0px -323px;
}

a.attach {
    width: 18px;
    height: 18px;
    background-position: 0px -342px;
}

a:hover.attach {
    background-position: 0px -361px;
}

a.view {
    padding-left: 20px;
    height: 17px;
    background-position: 0px -230px;
}

a:hover.view {
    background-position: 0px -248px;
}

input.exportinput {
    text-transform: none;
    border: 0;
    padding: 0 0 0 20px;
    height: 16px;
    background-position: 0px 0px;
    background-image: url(images/export.gif);
    background-repeat: no-repeat;
    background-color: transparent;
}

input[type=submit].exportinput:hover {
    background-color: transparent;
    color: #000;
    background-position: 0px 0px;
    background-image: url(images/export.gif);
    background-repeat: no-repeat;
}

/* icons */
.forgot {
    position: absolute;
    top: 6px;
    left: 8px;
}

.smallink {
    font-size: 11px;
}

#form1 label.error {
    color: #FFF;
    height: 20px;
    font-size: 9px;
    line-height: 22px;
    background-color: #B02328;
    margin-left: 0px;
    padding: 0 2px;
    float: right;
    font-weight: bold;
}


label.optrow {
    cursor: pointer;
    margin: 1px 0px;
    display: block;
    padding: 3px;
}

label.optrow:hover {
    background: #F2F2F2;
}

.columns {
    column-width: 350px;
    column-gap: 30px;
}

.texto {
    font-size: 14px;
}

.checkboxlarge {
    width: 28px;
    height: 28px;
}

/* TOOLTIP */

.tooltip_wrap {
    position: relative;
    justify-content: center;
    align-items: center;
}

.tooltip_wrap img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.tooltip_wrap .tooltip {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    font-size: 11px;
    display: none;
    width: 0;
    white-space: nowrap;
    background-color: #fff;
    color: #000;
    text-align: left;
    border-radius: 6px;
    line-height: 1.5rem;
    top: 0px;
    right: 250px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip_wrap:hover .tooltip {
    display: block;
    width: 400px;
    height: auto;
    padding: 5px 10px;
}

.tooltip_wrap .tooltip>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* END TOOLTIP */
