* {
    margin: 0;
    padding: 0;    
}
.material-icons {
    width: 1em;
}
html, body, #pageContainer {
    height: 100%;
    font-family: Arial; 
}
body {
/*    line-height: 1;*/
}
h1, h2 {
    color: #8aadcb;
    margin-bottom: 5px;
}
img {
    max-width: 100%;
    height: auto;
}
#pageContainer {
    min-height:100%;
    height: auto;
}
a img {
    text-decoration: none;
    border: none;
}
.backButton {
    color: #000;
}

#preloader {
    width: 100%;
    height: 100%;
    display: table;
    position: fixed;
    background: #FFF;
    opacity: 0.7;
    z-index: 15;
    top: 0;
    left: 0;
}
#preloader div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

/*** HEADER ***/
header {
    width: 100%;
    margin: 0 auto;
    /*z-index: 2;*/
}
header #topLine {
    position: fixed;
    width: 100%;
    background: #FFF;
    z-index: 1;
}
header .topMenu {
    position: fixed;
    margin-top: 60px;
    z-index: 2;
}

a.logo {
    width: 210px;
    /*height: 31px;*/
    display: inline-block;
    margin: 15px 0 15px 40px;
}
header a.login, span.log a.login {
    margin: 15px 40px 15px 0;
    padding: 6px 15px;
    display: inline-block; 
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    float: right;
    text-decoration: none;
    text-transform: uppercase;
    background: #428bca;
    color: #FFF;
    border-color: #2b669a;
    border-radius: 0.25rem;
}
div.log a.login {
    padding: 6px 15px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    background: #428bca;
    color: #FFF;
    border-color: #2b669a;
    width: max-content;
}
header a.login:hover, div.log a.login:hover, span.log a.login:hover {
    background: #2b669a;
}
div.log a.login, span.log a.login {
    display: none!important;
}


/*** TOP MENU - IF EXISTS ***/
.topMenu {
    background: #15589f;
/*    margin-bottom: 15px;*/
    width: 100%;
/*    height: 50px;  */
}

/*** MENU ***/
.leftMenu {
    background: #15589f;        
    display: block;
}
.leftMenu ul {
    display: block; 
    margin: 0;
    padding: 0;
}
.leftMenu ul li {
    display: block; 
}
.leftMenu ul li ul {
    display: none; 
    margin: 0;
    padding: 0;
    position: absolute;
}

.leftMenu a {
    color: #FFF;
    text-decoration: none;
    padding: 1em;
    text-transform: uppercase;
    font-family: 'Roboto Condensed',sans-serif;
    font-weight: bold;
    border-right: 1px solid #73a1d2;
    display: block;
}
.leftMenu a:first-child {
    border-left: 1px solid #73a1d2;
}
.leftMenu a:hover {
    background: #074085;
    color: #fff;
}
.leftMenu ul li ul li a:hover {
    background: #FFF;
    color: #000;
}
.leftMenu .active {
    background: darkred;
}
/*
.menuOpener {
    display: none;
}*/
footer {
  /*  background: #dcdcdc;
    padding-bottom: 15px;
    display: block;
    width: 100%;
    height: 50px;
    bottom: 0;
  /*  position: absolute;*/
    
    position: relative;
    margin-top: -65px; 
    height: 65px;
    clear: both;
    background: #dcdcdc;
}


.content {
    width: 100%;
    float: left;
    margin-bottom: 1em;    
    margin-top: 8em;
}

.container {
    margin: 0 auto;
    padding: 0 0.5em;
}

/*** OTHERS ***/
.link {
    text-decoration: none;
    cursor: pointer;
}
.btn {
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btnColor {
    background: #15589f;
    color: #FFF;
    border-color: #2b669a;
}
.btn:hover {
    background: lightblue;
    color: #15589f;
}
.btn-mentavill {
    font-size: 0.9rem;
    color: #fff !important;
    background-color: #8aadcb !important;
    border-color: #8aadcb !important;
    text-decoration: none !important;
}
.btn-mentavill:hover {
    color: #fff !important;
    background: #428bca !important;
    border-color: #428bca !important;
}
.btn-mentavill-reverse {
    font-size: 0.9rem;
    color: #ec1c23 !important;
    background-color: #fff !important;
    border-color: #ec1c23 !important;
    text-decoration: none;
}
.btn-mentavill-reverse:hover {
    font-size: 0.9rem;
    color: #fff !important;
    background-color: #ec1c23 !important;
    border-color: #ec1c23 !important;
}
#userInfo {
    text-align: right;
    float: right;
    margin: 15px 0 0 0;
    font-size: 0.9em;
    position: relative;
}
#userInfo .username {
    font-weight: bold;
    color: #15589f;
}

#userInfo .material-icons:last-child {
    margin-right: 1em;
}

#userInfo .material-icons, #userInfo .info {
    display: inline-block;
    /*margin-right: 1em;*/
}
#userInfo .info  {
    margin-right: 1em;
}
#userInfo .material-icons {
    border: 1px solid #FFF;
    padding: 0.1em;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}

#userInfo .material-icons.active {
    border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
}
#userInfo .material-icons:hover, #userInfo .material-icons.active {
    border-color: #ccc;
    cursor: pointer;
    background-color: #efefef;
    color: #15589f;
}
#userMenu {
    border: 1px solid #ccc;  
    border-top: none;
    position: absolute;
    right: -69px;
    margin-top: -1px;
    border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    display: none;
    z-index: 2;
}
#userMenu a {
    padding: 0.5em 1em;
    background: #eee;
    display: block;
    text-align: left;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
#userMenu a:not(:first-child) {
    border-top: 1px solid #ccc;
}
#userMenu a:hover {
    background: #ccc;
    color: #15589f;
}

/*** TABLES ***/
.table {
    width: 100%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    margin-top: 1em;
}
.table th {
    background: #ccc;
    font-weight: normal;
}
.table th, td {
/*    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;*/
    padding: 5px;
    min-width: 13px;
}


/*** EDIT, MODIFY ***/
.edit, .delete {
    background: #428bca;
    color: #FFF;
    width: auto;
   /* display: block;*/
    float: right;
    /*font-size: 0.7em;*/
    font-size: 0.8em;
    padding: 0.4em;
    margin: 0.45em;
    border-radius: 4px;
    cursor: pointer;
}
.edit .material-icons, .delete .material-icons {
    font-size: 10px !important;
}
.edit:hover, .delete:hover {
    background: orange !important;    
}
.edit {
    background: #428bca;
}
.delete {
    background: red;
}

#hiddenTemplate {
    display: none;
}

/*** POPUP ***/
.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.75);
    display: none;
    z-index: 2;
}
.popupForm {
    max-width: 600px;
    text-align: center;
    margin: auto;
    margin-left: 0;
    padding: 1em;
    background: #FFF;
    box-shadow: 0 0 20px #FFF;
    /*border-radius: 10px;
    -webkit-border-radius: 10px;*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);   
    z-index: 1;
}

/*.popupForm h2 {
    border-bottom: 1px solid #15589f;
    padding-bottom: .2em;
    margin: 0 auto .5em;
}*/

.popupForm label {
    width: 35%;    
    display: inline-table;
    text-align: right;
    margin: 5px 0;
    padding: 5px;
    vertical-align: top;
}
.popupForm input[type="text"], .popupForm input[type="password"], 
.popupForm input[type="file"], .popupForm input[type="checkbox"], 
.popupForm input[type="number"], .popupForm select, .popupForm textarea {
    width: 50%;
    display: inline-table;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 0.25em;
}
.popupForm textarea {
    height: 10em;
}
.popupForm div.visible {
    width: 50%;
    max-height: 6em;
    overflow-y: auto;
    display: inline-block;
    margin: 5px 0;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 0.8em;
}
.popupForm div.visible input {
    width: auto;
    margin-left: 0.5em;
    
}

/* INFO */
.alert-box {
    color:#555;
    border-radius:10px;
    font-family:Tahoma,Geneva,Arial,sans-serif;font-size:11px;
    padding:10px 36px;
    margin: 0 0 10px 0;
    text-align: left;
}
.alert-box span {
    font-weight:bold;
    text-transform:uppercase;
}
.success {
    background:#e9ffd9 url('/mentaNET/images/icons/success.png') no-repeat 10px 50%;
    border:1px solid #a6ca8a;
}
.error {
    background:#ffecec url('/mentaNET/images/icons/error.png') no-repeat 10px 50%;
    border:1px solid #f5aca6;
}
.warning {
    background:#fff8c4 url('/mentaNET/images/icons/warning.png') no-repeat 10px 50%;
    border:1px solid #f2c779;
}
.notice {
    background:#e3f7fc url('/mentaNET/images/icons/notice.png') no-repeat 10px 50%;
    border:1px solid #8ed9f6;
}


/* New messages */
.newMessage .material-icons {
    margin-top: -3px;
}
.newMessageCount {
    background: #ec1c23;
    color: #FFF;
    margin: -6px 0 0 5px;
    padding: 5px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    text-align: center;
    float: right;
}


/* For IE 8 and below */
.IEuseModernBrowser {
    background: #ccc url("images/IEuseModernBrowser.png") repeat;
    width: 100%;
    height: 100%;
    display: table-cell;
    position: fixed;
    z-index: 19;
    left: 0;
}
.IEuseModernBrowser div {
    padding: 2em;
    border: 3px solid red;    
    color: red;
    background: #FFF;
    font-weight: bold;
    width: 50%;
    text-align: center;
    position: fixed;
    left: 25%;
    top: 10%;
    z-index: 20;
}

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 1em;
    right: 1em;
    z-index: -1;
    width: 4em;
    height: 4em;
    text-align: center;
    line-height: 30px;
    background: #d0d0d0;
    color: #444;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    display: table;
    border-radius: 10px;
    -webkit-border-radius: 10px;
}
#back-to-top:hover {
    background: #999;
    color: #FFF;
}
#back-to-top.show {
    opacity: 0.7;
    z-index: 9999;
}
#back-to-top .material-icons {
    display: table-cell;
    vertical-align: middle;
    margin-top: -10px;
}

/* MENU OPENER */
.menuOpener {
    display: none;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    cursor: pointer;    
    margin: 0.75em 0 1em;
}