* {
  margin: 0;
  padding: 0;
}
body {
  font-family: sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  background-color: #ecf0f5;
  color: #000000;
/*color:#6c757d; */
}
td {
  padding: 4px;
}

#header {
  background-color: rgba(54, 128, 171, 0.82); z-index:1;
  position: absolute;
  left: 0px;
  top: 0;
  right: 0;
  height: 36px;
  line-height: 36px;
  color: #fff;
  cursor: default;
}

#appLogo {
}

#appTitle {
  font-size: 16px;
  display: inline-block;
  width:210px;text-align:center;
  color: #FFF;
}

#appDesc {
  display:none
}

#content {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 36px;
  bottom: 32px;
}

#appMenu {
  z-index:1;
  display:block;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 250px;
  right: 250px;
  text-align:center;
  line-height:36px;
}

.appm-item {
  display: inline-block;
  text-decoration: none;
  box-sizing: border-box;
}

.appm {
  display: inline-block;
  color: #e9ebed;
  padding: 0 12px;
  font-weight: 400;
  background: transparent;
  /*transition: background .1s ease-in-out;*/
  position: relative;
  text-decoration: none;
  cursor: pointer;
}
  .appm.selected {
    border-top: 3px solid #5895b9;
    border-bottom: 3px solid #ecf0f5;
    line-height: 30px;
    background-color: #ecf0f5;
    color: #000;
  }
  .appm:hover {
    color: #000;
  }
/*
  .appm.selected, .appm:hover {
    background-color: #2c3b41;
    color: #fff;
    margin-top: -3px;
    line-height: 33px;
    border-bottom: solid 3px #ecf0f5;
  }
*/
  .appm > .ax-ico {
    margin-left: 1px;
    margin-right: 8px;
  }

#appLinks {display:none;}

#appLang {
  top:12px;
  position: absolute;
  right: 40px;
  font-size:12px;
  color: #FFF;
  z-index: 2;
}

#appLang > a.lang { text-decoration: none;color: #becfe0;margin: 3px;padding: 0 2px; cursor:pointer;}
#appLang > a.lang:hover {color: #000;}
#appLang > a.selected { color: #FFF;font-weight: bold;cursor:default;}

#footer {
  position: absolute;
  bottom: 2px;
  left: 5px;
  right: 0;
  height: 28px;
  font-size: 12px;
  color: #333;
}

#adminButton {
  position: relative;
  left: 5px;
  top: 9px;
  font-size: 12pt;
  line-height: 1px;
  color: #333;
  cursor: pointer;
  margin-right: 5px;
}

#copyright {
  position: relative;
  left: 5px;
  top: 8px;
}

#userInfo {
  position: absolute;
  right: 30px;
  top: 7px;
  font-size: 10pt;
}

#userName, #userRole {
  margin-left: 5px;
  margin-right: 25px;
  font-weight: bold;
  color: #333;
}

#loginButton {
  position: absolute;
  right: 3px;
  bottom: 1px;
  cursor: pointer;
  color: transparent;
  text-indent: -30px;
  width: 24px;
  height: 24px;
}

.Login {
  background-image: url(images/login24.png);
}

.Logout {
  background-image: url(images/logout24.png);
}

#rolesBtn {
  position: absolute;
  right: -15px;
  bottom: -1px;
}

#htmlViewer {
  height: 100%;
  overflow-y: auto;
}

#shader {
  background-color: #ced2d8 !important;
}

#shaderLoader {
  background-image: url(images/loader.gif);
  width: 90px;
  height: 92px;
  margin: 25% auto 0 auto;
}

#LoginWindow {
  margin: 10% auto 0 auto;
  width: 520px;
}

  #LoginWindow > .axdlg-body {
    padding: 5px 10px 10px 10px;
  }

#appEvents {
  position: absolute;
  top: 12px;
  left: 50%;
  color: #cce7f3;
  cursor: default;
  color: #fff;
  z-index: 1;
}

#userProfile {
  display:none;
  position: absolute;
  top: 36px;
  left: 0;
  width: 210px;
  color: #153d77;
  text-align: center;
  z-index: 10;
}

  #userProfile > img {
    width: 64px;
    height: 64px;
    margin-top: 1.5em;
  }

  #userProfile > a, #userProfile > small {
    display: block;
    line-height: 2em;
    letter-spacing: 1px;
    text-decoration: none;
    color: #ddeeed;
  }

.rounded-circle {
  border-radius: 50% !important;
}
.fc-header {
  border: 0 !important;
  background-color:transparent!important;
}
div:focus {
  outline: 0;
}
#appSideMenu {
  z-index: 100;
  width: 70%;
  font-size: 1.1em;
  position: absolute;
  top: 36px;
  left: 0;
  bottom: 32px;
  background-color: #5694b8;
}

#userSideMenu {
  z-index: 100;
  max-width: 300px;
  font-size: 1.1em;
  position: absolute;
  top: 36px;
  right: 0;
  background-color: #327195;
}

  #userSideMenu > a {
    display: block;
    text-decoration: none;
    color: #d1dce4;
    padding: 8px 2em;
  }

    #userSideMenu > a:hover {
      color: #000;
      background-color: #a9c8da;
    }

  .appl.selected {
    color: #FFF!important;
    font-weight: bold;
  }


#linksBarBtn {
  display: inline-block;
  position: absolute;
  top: 6px;
  right: 8px;
  color: #fff;
  font-size: 17pt;
  font-family: 'fontello';
  font-weight: normal;
  font-style: normal;
  cursor: pointer;
  z-index: 10;
}
#sideBarBtn:hover, #linksBarBtn:hover {
  color: #222d32;
}

  #linksBarBtn::before {
    content: '\e9a7';
  }


@media screen and (max-width: 1200px) {
  #appDesc, #appMenu, #copyright, #userProfile {
    display: none;
  }

  #content {
    left:0px;right:0px;
  }

  #sideBarBtn {
    display: inline-block;
    position: absolute;
    top: 7px;
    left: 8px;
    z-index: 1;
    color: #fff;
    font-size: 16pt;
    font-family: 'fontello';
    font-weight: normal;
    font-style: normal;
    cursor: pointer;
    z-index:10;
  }

    #sideBarBtn::before {
      content: '\f233';
    }


  .appm-item {
    display: block;
    text-decoration: none;
    box-sizing: border-box;
  }
  .appm {
    display: block;
    color: #000;
    padding: 10px;
    /* font-weight: 400; */
    background: transparent;
    transition: background .1s ease-in-out;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    line-height: 36px;
  }
  .appm.selected, .appm:hover {
    border-top: 0;
    border-bottom: 0;
    line-height:36px;
  }

}

@media screen and (max-width: 768px) {
  #LoginWindow {
    margin: 20% auto 0 auto;
    width: 95%;
  }
  #userInfo > label {
    display:none;
  }
}

/*
.fm-sec-lbl {
    color: #000000 !important;
    text-transform: normal !important;
    padding: 7px !important;
    border-bottom: 0px solid #b5b5b5 !important;
    background-color: #b5b5b5;
    font-size: 1.3em;
    font-weight: bold;
}
.fm-n, .fm-rec, .fm-req { color:#000000 !important;}

.fm, .fm-input {
	background-color: #ffffff !important;
	border-radius: 2px !important;
	border: solid 1px #b5b5b5 !important;
}

*/
.sec-row {border-bottom:solid 1px #b1b1b1;padding-bottom:1em;}
.sec-number {float:left;line-height:2em;}
.sec-checkbox {float:left;margin-right:5px;}
.sec-header-ru{padding-left:18px;font-style:italic}
.sec-header-chk{padding:1em 0 1em 0;text-align:center}
.sec-invisible {opacity:0.5}
.sec-header{color: #000000;padding: 3px;display: block;background-color: #b5b5b5;font-size: 1.2em;font-weight: bold}
.sec-header_s{color: #000000;padding: 3px;display: block;font-size: 1.1em;font-weight: bold}
.simTxt {width: 100%;display: flex;flex-wrap: wrap;align-content: center;font-weight: bold;justify-content: center;}

.small-box {
    background-color: #D6DDE5;
    border-radius: 7px;
    font-weight: bold;
    border: 1px solid #000000;
    margin: 10px;
    flex-shrink: 0;
    padding: 10px;
    width: 30%;
}

    .small-box .event {
        font-size: 1.5em;
        font-weight: bold;
        color: red;
        transition: transform 0.3s;
    }
        .small-box .event:hover {
            font-size: 1.9em;
        }

    .small-box a {
        font-size: 1.5em;
        font-weight: bold;
        color: red;
    }

.container {
    display: flex;
    flex-wrap: wrap;
}


.textScaleOnLoad {
    font-size: 1.5em;
    font-weight: bold;
    color: red;
    animation: scaleText 5s forwards;
    position: absolute;
    left: 150px;
}

@keyframes scaleText {
    to {
        transform: scale(2);
    }
}