body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
* {
    font-family: 'Roboto', sans-serif;
    color: rgb(57, 57, 57);
}
.popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.68);
    content: '';
    display: inline-block;
    z-index: 5000;
}
.popup-wrapper {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5001;
}
.popup-box-medium {
    position: relative;
    height: calc(100% - 4em);
    overflow: auto;
    box-sizing: border-box;
    padding: 2em;
    padding-top: .4em;
    width: 60%;
    margin: 2em auto;
    background: #f2f2f2;
}
.popup-box-medium .popup-box-button {
    border: none;
    text-decoration: none;
    display: inline-block;
    padding: 1em;
    text-align: center;
    background: rgb(208, 208, 208);
    box-sizing: border-box;
    width: 100%;
    cursor: pointer;
}
.link {
    color: #ff4835;
}
.line:before {
    content: " ";
    display: block;
    border-bottom: 1px solid #c9cbcb;
}
.pointer {
    cursor: pointer;
}
.mb-1 {
    margin-bottom: .5em;
}
.mb-2 {
    margin-bottom: 1em;
}
.mb-3 {
    margin-bottom: 2em;
}
.mt-1 {
    margin-top: .5em;
}
.mt-2 {
    margin-top: 1em;
}
.mt-3 {
    margin-top: 2em;
}
.wrapper {
    padding: 1em;
    position: relative;
}
.table-wrapper {
    border: 1px solid rgb(199, 199, 199);
    border-radius: .2em;
    margin-bottom: 1em;
}
.table {
    width: 100%;
    border-collapse: collapse;
}
th,td {
    padding: 1em 2em;
}
th {
    text-align: left;
    border-bottom: 1px solid rgb(199, 199, 199);
}
td {
    cursor: pointer;
    font-size: .9em;
}
.table-row-done {
    background: #f5f5f5;
}
td.right-align, th.right-align {
    text-align: right;
}
thead {
    border-bottom: 1px solid black;
}
.moth-break {
    background: rgb(229, 229, 229);
    border-bottom: 1px solid #c5c5c5;
}
.btn-circle {
    display: inline-block;
    z-index: 100;
    width: 2.3em;
    height: 2.3em;
    font-size: 1.4em;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    background: rgb(255, 255, 255);
    text-decoration: none;
}
.btn-circle i {
    transform: translateY(.55em);
}
.btn-circle div{
    position: relative;
    left: 2.1em;
    top: 0.2em;
    font-size: 0.7em;
    padding-top: 0.1em;
    background-color: #ff736e;
    color: #d8d8d8;
    width: 1.3em;
    height: 1.2em;
    border-radius: 50%;
    text-decoration: none !important;
}
.floating-btn-top-left {
    position: fixed; top: 1.3em; left: 1em;
}
.buttons-circle-2-top-right {
    z-index: 100;
    position: fixed;
    top: 1.85em;
    right: 1em;
    width: 6.7em;
    height: 2.3em;
}
/*HOME*/
.status-colorm {
    height:1em; 
    width: 1em;
    display:inline-block;
    transform:translateY(.15em);
    border-radius:50%;
}

/*NEW ASSIGNMENT*/
.input-dialog {
    background: #EEEEEE;
    z-index: 0;
    position: absolute;
    top: 6%;
    width: 40%;
    box-sizing: border-box;
    padding: 4% 2%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.16), 0 2px 4px rgba(0,0,0,0.23);
    border-radius: .2em;
    margin-left: 50%;
    margin-bottom: 3%;
    margin-top: 4em;
    transform: translateX(-50%);
}
@media only screen and (max-width: 1000px) {
    .input-dialog {
        width: 70%;
    }
    .popup-box-medium {
        width: 95%;
    }
}
@media only screen and (max-width: 750px) {
    .input-dialog {
        width: 90%;
    }
    th:nth-child(3),td:nth-child(3) {
        display: none;
    }
    th:nth-child(4),td:nth-child(4) {
        display: none;
    }
}
@media only screen and (max-width:550px) {
    th:nth-child(5),td:nth-child(5) {
        display: none;
    }
}
@media only screen and (max-width:480px) {
    th:nth-child(1),td:nth-child(1) {
        display: none;
    }
}

.datetimepicker {
    position: absolute;
    left: 0;
    top: 0;
    background-color: white;
    border: 1px solid rgb(151, 151, 151);
    display: none;
}
.datetimepicker th, .datetimepicker td {
    padding: .3em;
}
.link-name {
    display: inline-block;
    width: 40%;
    float: left;
}
.link-link {
    width: 58%;
    margin-left: 2%;
    display: inline-block;
}
.link {
    position: relative;
}
.links .link-del {
    z-index: 200;
    position: absolute;
    right: .8em;
    top: 2.1em;
    display: inline;
}
.links .link-del i {
    color: #6c6c6c;
    font-size: 1.3em;
}
.links .link-del i:hover {
    color: #ff4835;
}
.link_preview {
    position: relative;
    text-decoration: none;
    padding: 1em 0em 1em 3.7em; /*top right bottom left*/
    background: rgb(212, 212, 212);
    margin-top: .6em;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}
.link_preview i {
    color: #494949;
    position: absolute;
    left: .8em;
    top: .6em;
    font-size: 1.6em;
}
/*FORM*/
.messages {
    margin: 0;
    padding: 0;
    list-style: none;
}
.messages li.error {
    background: #ff4835;
}
.messages li.success {
    background: #6fda6f;
}
.messages li.info {
    background: #b43cda;
}
.messages li.warning {
    background: #dad53e;
}

.messages li.offline {
    color: black;
    border: 1px solid rgb(199, 199, 199);
}

.messages li.online {
    background: #6fda6f;
}
.messages li {
    color: white;
    width: 100%;
    text-align: center;
    padding: .6em 0;
    box-sizing: border-box;
    border-radius: .2em;
    margin-bottom: .3em;
    box-shadow: 0 1px 2px rgba(0,0,0,0.16), 0 1px 2px rgba(0,0,0,0.23);
}
.form-heading {
    font-size: 2em;
}
.vert-align {
    margin-top: 40%;
}
.form-auth {
    width: 100%;
}
.form-auth label {
    width: 100%;
    margin-top: .6em;
    display: inline-block;
}
.form-auth div.input {
    position: relative;
}
.form-auth .input i {
    color: rgb(59, 59, 59);
    position: absolute;
    top: 1.65em;
    left: 1.6em;
}
.form-auth .input input {
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    padding: 1em 1.5em;
    padding-left: 4em;
    border: none;
    margin-top: .6em;
    display: inline-block;
}
.form-auth .input textarea {
    font-size: 1em;
    margin-top: .6em;
    border: none;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 1em 1.5em;
    padding-left: 4em;
}
.form-auth .input {
    margin-top: .6em;
}
.form-auth .input .form-submit {
    background-color: #d4d4d4;
    transition: .3s all ease;
    margin-top: 1.3em;
    padding-left: 0;
    padding-right: 0;
}
.form-auth .input .form-submit:hover {
    background-color: #b9b9b9;
}
.not-done {
    background: #d4d4d4 !important;
    color: rgb(57, 57, 57) !important;
}
.done {
    background: #eb3434 !important;
    color: rgb(255, 255, 255) !important;
}
.delete-message {
    width: 50%;
    margin: 3em auto;
    padding: 2em;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    background-color: #EEEEEE;
    border-radius: .2em;
    box-sizing: border-box;
}
.delete-message button {
    width: 100%;
    border: none;
    border-radius: .2em;
    cursor: pointer;
    padding: 1em 2em;
    background-color: #d4d4d4;
    transition: .3s all ease;
}
.delete-message button:hover {
    background: #ff4835;
    color: white;
}
@media only screen and (max-width: 1000px) {
    .delete-message {
        width: calc(100% - 2em);
        margin: 1em;
    }
}
/*toggler*/
.dark-mode-toggler-box {
    display: inline-block;
    margin-left: 3em;
}
@media only screen and (max-width: 500px) {
    .dark-mode-toggler-box {
        display: block;
        margin-left: 0em;
        margin-bottom: 1em;
    }
}
.toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translate3d(0, .4em, 0);
}
.toggle:before {
  content: "";
  position: relative;
  top: 1px;
  left: 1px;
  width: 40px;
  height: 22px;
  display: block;
  background: #c8ccd4;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.toggle span {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  display: block;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(154,153,153,0.75);
  transition: all 0.2s ease;
}
.toggle span svg {
  margin: 7px;
  fill: none;
}
.toggle span svg path {
  stroke: #c8ccd4;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
  transition: all 0.5s linear;
}
#cbx:checked + .toggle:before {
  background: #88fcb8;
}
#cbx:checked + .toggle span {
  transform: translateX(18px);
}
#cbx:checked + .toggle span path {
  stroke: #88fcb8;
  stroke-dasharray: 25;
  stroke-dashoffset: 25;
}

/* schoolyear select */

.select-form{
    display: inline-block;
    margin-left: 3em;
}

@media only screen and (max-width: 500px) {
    .select-form{
        display: inline-block;
        margin-left: 0;
        margin-bottom: 1em;
    }
}

.topSelect select {
    width: 6em;
    height: 2em;
    padding: 4px;
    border-radius: 4px;
    border: none;
    outline: none;
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(154,153,153,0.75);
}
.topSelect {
    position: relative;
}
.topSelect:after {
    content: '<>';
    font: 11px "Consolas", monospace;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
    right: 8px;
    top: 2px;
    padding: 0 0 2px;
    border-bottom: 1px solid #c5c5c5;
    position: absolute;
    pointer-events: none;
}
.topSelect:before {
    content: '';
    right: 6px;
    top: 0px;
    width: 20px;
    height: 20px;
    position: absolute;
    pointer-events: none;
    display: block;
}