:root{
  --dark-header: #333;
  --dark-text: #000;
  --gray-text: #777;
  --light-gray-color: #eee;
  --light-color: #fff;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

 
*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 7px rgba(0,0,0,0);
}
 
*::-webkit-scrollbar-thumb {
  background-color: rgb(255, 255, 255); /*darkgrey*/
  outline: 1px solid slategrey;
  border-radius: 4px;
}

html, body{
  width: 100%;
  min-height: 100%;
}

body{
  position: relative;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

body>div{
  overflow: auto;
}

form{
  padding-bottom: 100px;
}

a{
  text-decoration: none !important;
}

td, p, a{
  font-size: 13px;
  margin: 0;
  padding: 0;
}

a{
  text-align: left;
}

a:hover{
  text-align: left;
}

tbody{
  background-color: none;
}

button, input[type="button"], input[type="submit"]{
  cursor: pointer;
  transition: all 0.3s ease;
}

input, select{  
  background-color: #fff;
}

input[type="file"]{
  background: none;
  border: none;
}

input:disabled, button:disabled, select:disabled{
  cursor: not-allowed;
}

/* width classes */
.w1, .w2, .w3, .w4, .w5, .w6, .w7, .w8, .w9, .w10, .w11, .w12{
  display: inline-block;
  vertical-align: top;
}

.w1{
  width: 8.333333333% !important;
}
.w2{
  width: 16.666666667% !important;
}
.w3{
  width: 25% !important;
}
.w4{
  width: 33.333333333% !important;
}
.w5{
  width: 41.666666667% !important;
}
.w6{
  width: 50% !important;
}
.w7{
  width: 58.333333333% !important;
}
.w8{
  width: 66.666666667% !important;
}
.w9{
  width: 75% !important;
}
.w10{
  width: 83.333333333% !important;
}
.w11{
  width: 91.666666667% !important;
}
.w12{
  width: 100% !important;
}

.text-center{
  text-align: center !important;
}

.burger-item{
  width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px auto;
}

#SPANjsrs2{
  display: none;
}

#HeaderMain{
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  padding: 0px 0px; /*10px 0px*/
  background: #ffffff;
  background: linear-gradient(123deg,rgba(255, 255, 255, 1) 4%, rgba(189, 183, 177, 1) 13%, rgba(177, 111, 114, 1) 24%, rgba(166, 45, 56, 1) 43%);
/*   background-color: #3D0101; */
  box-shadow: 0px 0px 4px rgb(196, 196, 196);
  z-index: 1;
  align-items: center;
  justify-content: space-around;
}

  #HeaderMain *{
    -webkit-box-sizing:border-box; 
    -moz-box-sizing:border-box;
    box-sizing:border-box;
  }

  #HeaderMain div.HeaderMain-icon{
    display: flex;
    flex-direction: row;
    padding: 0px 45px;
    width:25%;
    overflow: hidden;
  }

  #HeaderMain div.HeaderMain-icon > * {
    margin: 0px 0px;
  }

/*   #HeaderMain div.HeaderMain-icon img  */
    #HeaderMain div.HeaderMain-icon .logo1 {
      height:150px;
      cursor: pointer;
      transform-origin: center;
/*       transform: scale(1.3); */
    }

    #HeaderMain div.HeaderMain-icon .logo2 {
      height:150px;
      cursor: pointer;
      transform-origin: center;
      transform: scale(1.3);
    }

@media (min-width: 1200px) {

  .#HeaderMain div.HeaderMain-icon {
    padding: 0px 40px;
  }

/*   #HeaderMain div.HeaderMain-icon img  */
    #HeaderMain div.HeaderMain-icon .logo1 {
      height:150px;
    }

    #HeaderMain div.HeaderMain-icon .logo2 {
      height:150px;
    }
}

@media (max-width: 1199px) {
  #HeaderMain div.HeaderMain-icon {
    padding: 0px 0 0 20px;
  }

  #HeaderMain div.HeaderMain-icon .logo1 {
    height:120px;
  }
  #HeaderMain div.HeaderMain-icon .logo2 {
    height:120px;
  }
}


@media (max-width: 988px) {
  #HeaderMain div.HeaderMain-icon {
    padding: 0px 0 0 15px;
  }

  #HeaderMain div.HeaderMain-icon .logo1 {
    height:100px;
  }
  #HeaderMain div.HeaderMain-icon .logo2 {
    height:100px;
  }
  .eff-date{
    display: none;
  }
}

@media (max-width: 768px) {
  #HeaderMain div.HeaderMain-icon {
    padding: 0px 0 0 15px;
  }

  #HeaderMain div.HeaderMain-icon .logo1 {
    height:80px;
  }
  #HeaderMain div.HeaderMain-icon .logo2 {
    height:80px;
  }
  .eff-date{
    display: none;
  }
}

@media (max-width: 576px) {
  #HeaderMain div.HeaderMain-icon {
    padding: 0px 0 0 10px;
  }

  #HeaderMain div.HeaderMain-icon .logo1 {
    height:70px;
  }
  #HeaderMain div.HeaderMain-icon .logo2 {
    height:70px;
  }
  .eff-date{
    display: none;
  }
}


@media (max-width: 521px) {
  #HeaderMain div.HeaderMain-icon {
    padding: 0px 0 0 10px;
  }

  #HeaderMain div.HeaderMain-icon .logo1 {
    height:50px;
  }
  #HeaderMain div.HeaderMain-icon .logo2 {
    height:50px;
  }

  .eff-date{
    display: none;
  }
}


  #HeaderMain div.HeaderMain-title{
    width:50%; 
  }

  #HeaderMain div.HeaderMain-btns{
    width:25%; 
  }

    #HeaderMain div.HeaderMain-btns {
      padding: 0px 20px;
    }

      #HeaderMain div.HeaderMain-btns table tr td{
        padding: 0px 30px;
      }

#HeaderMain .prog_title{
  text-shadow: none;
  font-size: 2rem;
  text-align: center;
  color: var(--light-color);
  font-family: arialnova;
  font-weight: normal;
}

#HeaderMain .prog_desc{
  text-align: center;
  margin: 0 auto;
  font-size: 20px;
  color: var(--light-gray-color);
}

#HeaderMain .header_burger{
  width: 50px;
  left: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 15px 12px;
  cursor: pointer;
}

.header_burger div{
  height: 4px;
  background-color: var(--gray-text);
  transition: background-color 300ms;
}

.header_burger:hover div{
  height: 4px;
  background-color: var(--dark-text);
}

#myTopMenu td{
  padding: 0 10px;
}

#myTopMenu a{
  color: black;
  font-size: 15px;
  font-weight: 300;
  margin: 0 5px;
  transition: color 300ms;
  white-space: nowrap;
}

#myTopMenu a:active, #myTopMenu a:focus, #myTopMenu a:hover, #myTopMenu .dropdown-link:hover, #myTopMenu .dropdown-link:active, #myTopMenu .dropdown-link:focus{
  background-color: rgba(0,0,0,0);
  color: var(--dark-text);
}

.dropdown{
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-link{
  color: var(--gray-text);
  font-size: 15px;
  font-weight: 300;
  margin: 0 5px;
  border: none;
  background: none;
}

.dropdown-content{
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.2);
  right: 5px;
  background-color: #fff;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 10px;
  text-decoration: none;
  display: block;
}

.dropdown-content hr {
  max-width: 90%;
  margin: auto;
}


#mySideMenu{
  height: calc(100% - 60px); /* 60px - height of header*/
  top: 106px;
  padding: 0;
  width: 20%;
  background-color: var(--light-color);
  border-right: 1px solid rgba(169,169,169,0.8);
  overflow-y: auto;
  position: fixed;
  text-align: left;
  display:table;
  transition: margin 300ms;
}

#mySideMenu .side_menu_center{
  display: table-cell;
  vertical-align: middle;
}

.menu_search{
  margin: 0;
  padding: 7px !important;
  width: 100%;
  font-size: 15px;
  border: none !important;
  border-bottom: 1px solid rgba(169,169,169,0.8) !important;
  background: none;
}

#mySideMenu a:visited{ /*#mySideMenu a:focus*/
/*   color: var(--light-color) !important; */
  background-color: var(--light-gray-color) !important;
}

.sub_menu{
  display: block;
  padding: 10px 7px;
  font-size: 15px;
  color: var(--dark-text);
  font-weight: 600;
  background: none;
  transition: background 300ms;
}

.sub_menu:hover{
  font-size: 15px !important;
  background-color: var(--light-gray-color);
  color: var(--dark-text);
}

#mySideMenu ul{
  margin: 0;
  padding: 0;
  list-style: none;
  -webkit-transition: display 0.5s; /* For Safari 3.1 to 6.0 */
  transition: display 0.5s;
}

#mySideMenu ul li{
  padding: 5px;
}

#mySideMenu ul li:hover{
  background-color: var(--light-gray-color);
}

#mySideMenu ul li a{
  display: block;
  font-size: 15px;
  font-weight: 300;
  padding: 3px 0 3px 14px;
  color: var(--dark-text) !important;
}

#mySideMenu ul li a:hover, #mySideMenu ul li a:active{
  font-size: 15px;
/*   color: var(--light-color) !important; */
}

#menuDefaultList, #menuSearchList{
  padding-bottom: 10px;
  max-height: calc(100% - 30px);
  overflow-y: auto;
}

#searchUL li a{
  padding-left: 7px !important;
}

#MainContent{
  display: block;
  margin: 125px 0 0 20%;
  width: 80%;
  padding: 0 20px;
  transition: all 0.3s;
  overflow-y: auto;
}

#pictureStud{
  width:100%;
  height: 100%;
  max-width: 160px;
  max-height: 160px;
  background-image:url('StudPicture.php');
  background-repeat:no-repeat;
  background-size:cover;
  background-position: center;
  margin-right: auto;
  border-radius: 50%;
}

.container_box{
  width:100%;
  margin-bottom: 20px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.2);
}

.container_box:last-of-type{
  margin-bottom: 90px
}

.container_box .box_title{
  padding: 0 15px;
  height: 30px;
  line-height: 30px;
  margin: 0;
  border: 0;
  color: var(--light-color);
  background-color: var(--dark-header);
  font-weight: 600;
  font-size: 13px;
}

.container_box .box_desc{
  border: 1px solid rgba(169,169,169,0.8);
  margin: 0;
  padding: 15px;
  border-top:none;
/*   border-radius: 0 0 10px 10px; */
  background-color: var(--light-color);
}

.box_desc .row{
  width: 100%;
}

.box_Q, .box_A{
  display: inline-block;
  vertical-align: top;
  word-break: break-all;
}

.box_Q p, .box_A p{
  padding: 0;
  margin: 5px 0;
}

.box_desc .row .box_Q{
  color: var(--dark-text);
  font-weight: 300;
  font-size: 13px;
  width: 25%;
}

.box_desc .row .box_A{
  color: var(--gray-text);
  font-weight: 600;
  font-size: 13px;
  width: 74%;
}

#Menu_StudPic{
  width: 100%;
  max-width: 150px;
  display: block;
  margin: 0;
  margin-left: auto;
  background-color: rgba(0,0,0,0);
  user-drag: none; 
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#rightPanel>div{
   width: calc(100% - 20px);
   margin-left: 20px;
}

.calendar_detl{
  margin-bottom: 20px;
}

#boxCalendar{
  margin-bottom: 20px;
}

#boxCalendar .box_desc{
  height: 400px;
}

#calendar_gui{
/*   display: inline-block; */
/*   width: 50%; */
}

#calendar_gui table{
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

#calendar_gui tbody{
  background: var(--light-color);
  border: 2px solid var(--gray-text);
}

#calendar_gui tbody td{
  border: 1px solid var(--light-gray-color);
}

#calendar_gui input[type="button"]{
  cursor: pointer;
  padding: 0;
}

#calendar_gui td, #calendar_detl td{
  height: 30px;
  font-size: 13px;
  padding: 5px;
  text-align: center;
}

#calendar_gui #month, #calendar_detl thead{
  background-color: var(--dark-header);
  color: var(--light-color);
  border: none;
  border: 1px solid var(--dark-header);
  border-left: 2px solid var(--dark-header);
}

#calendar_gui #month td.no_border{
  border: none;
  padding: 0;
}

#calendar_gui #month input[type="button"]{
  color: #aaa;
  font-size: 20px;
  line-height: 0;
  border: none;
  background-color: rgba(0,0,0,0);
  width: 100%;
  height: 100%;
  outline: none;
  margin: 0 !important;
  padding: 0;
  -webkit-transition: 0s;
  transition: 0s;
}

#calendar_gui #month input[type="button"]:hover{
  color: var(--light-color);
  border: none;
  box-shadow: none;
}

#calendar_gui #week td{
  padding: 0;
  margin: 0;
  width: calc(100% / 7);
}

#calendar_gui tbody td{
  padding: 0;
}

#calendar_gui tbody input[type="button"]{
  background-color: rgba(255,255,255,0); /* transparent */
  border: none;
  padding: 0 auto !important;
  width: 100%;
  height: 100%;
  outline: none;
  color: var(--dark-text);
  font-size: 13px;
  text-align: center;
  margin: 0 !important;
  -webkit-transition: 0s;
  transition: 0s;
}

#calendar_gui tbody input[type="button"]:hover{
  background-color: var(--light-gray-color);
  border: none;
  box-shadow: none;
  width: 100%;
  height: 100%;
}

#calendar_gui .SCalDay{
  color: blue !important;
}

#calendar_gui .calendar_sun, #calendar_gui .calendar_sun input, #calendar_gui .hday, #calendar_gui .hday input{
  color: red !important;
}

#calendar_gui .nday, #calendar_gui .nday input, #calendar_gui .hday input, #calendar_gui .SCalDay, #calendar_gui .SCalDay input{
/*   font-weight: bold; */
}

#calendar_gui .nday input{
  background-color: var(--light-gray-color) !important;
}

#calendar_gui .calendar_disable{
  color: var(--gray-text);
  cursor: not-allowed;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.calendar_loading{
  background: url("images/loading.gif") no-repeat center;
  background-size: auto 100%;
}

#calendar_detl{
/*   display: inline-block; */
/*   width: 50%; */
/*   float: left; */
}

#calendar_detl table{
  width: 100%;
  border: 2px solid var(--gray-text);
  border-top: none;
  table-layout: fixed;
  border-collapse: collapse;
/*   display: block; */
}

#calendar_detl tbody{
  width: 100%;
  background: var(--light-color);
  padding: 0;
  margin: 0;
  max-height: 350px;
  overflow: auto;
  display: block;
}

#calendar_detl tbody tr{
  display: block;
}

#calendar_detl tbody tr td{
  text-align: center;
}

/* overriding classes */
.user_help{
  color: var(--dark-text) !important;
}

.prog_ackn{
  font-size: 8pt;
  color: #aaa !important;
}

.grid_title {
  cursor: help;
  font-size: 9pt;
  background: var(--gray-text);
  font-weight: bold;
  height: 25px;
  color: #f2f2f2;
}

.user_data td{
  padding: 5px;
}

.user_title
{
    FONT-SIZE: 12pt;
    COLOR: var(--light-theme-color);
    font-family: arialnova;
    font-weight: normal;
}

.user_title a
{
    FONT-SIZE: 12pt;
    COLOR: var(--light-theme-color);
    /* text-shadow: 1px 1px 2px #c6c6c6; */
    font-family: arialnova;
    font-weight: normal;
}
.user_title a:hover
{
/*     FONT-WEIGHT: bold; */
    FONT-SIZE: 12pt;
    COLOR: var(--light-theme-color);
    /* text-shadow: 1px 1px 2px #c6c6c6; */
    font-family: arialnova;
    font-weight: bold;
    TEXT-DECORATION: underline
}

#tblOutsideLinks{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.card{
  background: #fff;
  width: 30%;
  display:flex;
  flex-direction: column;
  border: 1px solid #ddd;
  padding: 10px;
}
.card-blank{
  width: 30%;
}
.card-title{
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  font-size: 10pt;
  color: var(--dark-header);
}
.card-link{
  height: 16pt;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 7pt;
  color: var(--gray-text);
  font-weight: normal;
  word-break: break-all;
}
.card-desc{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 40px;
  color: var(--dark-header);
  font-size: 7pt;
  font-weight: normal;
}
.card-desc a{
  margin: 0;
  font-weight: bold;
  font-size: 10pt;
  line-height: 12pt;
  text-align: center;
}
#SPANjsrs1{
  display: none;
}

