body{
  background-image: url('/img/flowers.png');
  background-color: #00b4d2;
  display: grid;
  align-items: center;
  height: 100vh;
}

.main{
  margin: 0 auto;
  width: 100%;
  align-items: center;
  grid-template-columns: 15% 85%;
  grid-template-rows: 100vh;
  grid-template-areas:
  "sidebar container"
}

.sidebar{
  grid-area: sidebar;
  background-image: url('/img/rocky-wall.png');
  background-color: #1C3FAA;
  height: 100%;
}

.container{
  grid-area: container;
  background-color: #f9f9f9;
  height: 100%;
  padding: 10px;
}

.box-content{
  flex-wrap: wrap;
}

.mini-box{
  border: 1px solid #D8E1EB;
  width: calc(33.3333333% - 12px);
  margin: 6px;
}

.mini-box > h4{
  font-family: sahelb;
  color: #a2a2a2;
  border-bottom: 1px dotted #D8E1EB;
  padding-bottom: 20px;
}

.mini-box:hover{
  border: 1px solid #0085f7;
}

.mini-box:hover > h4{
  color: #0085f7;
}

.button-link{
text-align: center;
font-family: titr;
font-size: 18px;
color: #ff1f1f;
padding: 10px 15px;
background: #ffbf00;
}

.button-link:hover{
  background: #4f5961;
}

.box-title{
  font-family: sahelb;
}

.timer-header{
  height: 60px;
  background: #fbfbfb;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 9999999;
  border-bottom: 4px solid #243354;
}

.timer-reverse{
  font-family: sahelb;
  font-size: 24px;
  letter-spacing: 8px;
  background: #7e1bf7;
  border-radius: 30px;
  color: #fff;
  padding: 0 24px;
}

.user-container{
  margin: 100px auto;
  width: 60%;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 2px 3px 5px #cecece7d;
}

.user-container-header{
  font-family: sahelb;
  font-size: 18px;
  text-align: center;
  color: #009df9;
  padding-bottom: 20px;
}

.question{
  border-radius: 8px;
  border: 2px solid #e6e6e6;
  margin-bottom: 20px;
  flex-flow: column-reverse;
}

.question ul li{
  font-family: nazanin;
  font-size: 16px;
  padding: 5px 10px;
  color: #61686b;
}

.question > header{
  border-bottom: 1px solid #e6e6e6;
  padding: 5px 10px;
  color: #284c52;
  background: #f7f7f7;
}

.question > header span{
  background: #097d90;
  border-radius: 4px;
  color: #fff;
  padding: 0 10px;
  margin-left: 5px;
}

.question > header > h4{
  font-family: titr;
}

.modal-header h4{
  color: #796739;
  font-size: 1.5vw;
  font-family: yekan;
}

.shadow{
  width: 100%;
  height: 100vh;
  background: #2427348a;
  top: 0;
  right: 0;
  z-index: 9999999999;
  opacity: 0;
  visibility: hidden;
}

.show-shadow{
  opacity: 1;
  visibility: visible;
}

.modal{
  padding: 20px 40px;
}

.modal-text{
  font-family: sahelb;
  font-size: 1.1vw;
  color: #565865;
}

.alert-box{
  transform: scale(0.8);
  opacity: 0;
}

.alert-box-show{
  transform: scale(1);
  opacity: 1;
}

/* MENU */

/* FORM */
.form-box{
  padding: 10px 10px 5px 10px;
}

label{
  font-family: yekan;
  font-size: 1.1vw;
  color: #1a2c8e;
  cursor: pointer;
}

input, select, textarea{
  border-radius: 4px;
  background: #fff;
  padding: 6px 10px;
  font-family: parasto;
  font-size: 1.1vw;
  color: #1b2c3e;
  width: 100%;
  border: 1px solid #D8E1EB;
}

select{
  padding: 0 10px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  cursor: pointer;
}

textarea{
  resize: vertical;
  min-height: 70px;
}

[data-appearance]:before, [data-appearance-table]:before{
  content: '\ea99';
  font-family: icofont;
  position: absolute;
  left: 20px;
  top: 44px;
  font-size: 18px;
  pointer-events: none;
  color: #5d758c;
  z-index: 999;
}

[data-appearance-table]:before{
  top: 10px;
  left: 15px;
}

input[type=text], input[type=number], input[type=password], select{
  height: 35px;
}

input[type=text]:focus, input[type=number]:focus, input[type=password]:focus, select:focus, textarea:focus{
  border: 1px solid #596AD6;
}

button{
  font-family: yekan;
  color: #fff;
  font-size: 1vw;
  padding: 4px 0px;
  border-radius: 4px;
}

button:hover{
  cursor: pointer;
  opacity: 0.5;
}

button > span{
  font-size: 2vw;
}

.insert{background: #0b68c7;}
.update{background: #00a94f;}
.cancell{background: linear-gradient(to right, #184045 0%, #183f43 100%); color: #e6e6e6;}
.print{background: linear-gradient(to right, #1d85e7 0%, #0061bd 100%); color: #fff}
.back{background: linear-gradient(to right, #988569 0%, #967e5a 100%); color: #fff;}
.delete{background: #f70c57;}

.icon-for-input{
  left: 12px;
  top: 8px;
  font-size: 18px;
  color: #1d85e7;
}

input[type=radio], input[type=checkbox]{
  width: 0px;
}

input[type=radio]:before, input[type=checkbox]:before{
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #D8E1EB;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

input[type=checkbox]:checked:before, input[type=radio]:checked:before{
  font-family: icofont;
  color: #fff;
  background: #00a94f;
  border: 2px solid #00a94f;
  content: "\f00e";
  font-size: 14px;
}


.parsley-errors-list li{
  font-family: yekan;
  font-size: 0.9vw;
  color: #fd370a;
  display: flex;
}

.parsley-errors-list li:before{
  content: "\ef4f";
  font-family: icofont;
  font-size: 1vw;
  padding-left: 5px;
}

#captcha-code{
  background: #929292;
  color: #545454;
  font-family: sahelb;
  font-style: italic;
  padding: 3px 30px;
  width: max-content;
  margin-bottom: 5px;
}

.menu{
  padding-right: 20px;
}

.menu li a{
  display: block;
  color: #f3f3f3;
  font-family: sahelb;
  padding: 5px 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.menu li{
  margin: 5px 0;
}

.active-link, .menu li a:hover{
  background: #f9f9f9 !important;
  color: #0d4ac5 !important;
}

.link{
  color: #ffffff;
  background: #de2900;
  padding: 2px 15px;
}

/* FORM */
/* PAGE */
.page-box{margin-bottom: 20px;}

.page-box:last-child{margin-bottom: 0;}

.page-box-header{
  font-family: titr;
  font-size: 18px;
  color: #26383c;
}

.page-box-row{
  font-family: parasto;
  font-size: 14px;
  color: #212f3c;
}

.page-box-text-value{
  font-size: 14px;
  font-family: sahelb;
  padding-right: 5px;
  border-bottom: 1px dotted #747575;
  color: #747575;
}

.page-box-check-list li:first-child{padding: 0}

.page-box-check-list li{
  padding: 0 20px;
}

.page-box-checkbox{
  width: 15px;
  height: 15px;
  border: 1px solid #2e3a46;
  border-radius: 4px;
  display: inline-block;
  margin-left: 2px;
}

.page-box-checkbox--checked{
  background: #2e3a46;
}

.page-box-row{
  align-items: baseline;
  padding: 10px 0;
}
/* PAGE */

/* TABLE */
.data-table{
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #243354;
}

.table-scroll-content{
  overflow-y: scroll;
  overflow-x: hidden;
  height: 80vh;
  margin-top: 0;
}

table th{
  font-family: yekan;
  font-size: 14px;
  height: 40px;
  vertical-align: middle;
  background: #243354;
  color: #fff;
  padding: 3px 5px;
}

table td{
  font-family: sahel;
  font-size: 16px;
  text-align: center;
  vertical-align: middle;
  height: 25px;
  color: #524d4d;
  padding: 3px 5px;
}

.data-table tr:not(.empty-row):nth-child(even){
  background: #f4f7ffc4;
}

.data-table tr:not(.empty-row):nth-child(odd){
  background: #fff;
}

.data-table tr:not(.empty-row):hover{
  background: #ffc10794;
  cursor: pointer;
}

.empty-text{
  text-align: center;
  font-family: sahel;
  color: #6d6e6f;
  font-size: 14px;
}


.table-button{
  font-size: 13px;
  border-radius: 4px;
  padding: 0 5px;
}

.table-button.red{
  background: #f7007226;
  color: #e60060;
}

.table-button.black{
  background: #35353524;
  color: #505050;
}

.table-button.green{
  background: #00bf5e24;
  color: #00bf5e;
}

.table-button.blue{
  background: #0085f74d;
  color: #0085f7;
}

.pagination{
 display: flex;
 justify-content: center;
 padding: 20px;
}

.pagination li{
  margin: 0 2px;
}

.pagination a,
.pagination span,
.pagination-total{
  padding: 2px 15px;
  font-size: 14px;
  font-family: sahel;
  color: #424b67;
  background: #7a839d61;
}

.pagination li.active span,
.pagination-total,
.pagination li:hover a{
  background: #243354;
  color: #fff;
}

.bg{
  background: #f7f7f7;
}

.list li{
  background: #e5eef7;
  color: #2d3b48;
  font-family: sahel;
  font-size: 14px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.answer{
  background: #00a94f;
  color: #fff;
  font-size: 12px;
  padding: 0 5px;
}

/* TABLE */


/*======================= CALENDER STYLE =======================*/
div.calendar { position: relative; }
.calendar, .calendar table {
  font-family: sahel;
  font-size: 12px;
  color: #000;
  cursor: default;
  font-family: "trebuchet ms",verdana,tahoma,sans-serif;
}

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  font-weight: bold;
}

.calendar .nav {
  font-family: verdana,tahoma,sans-serif;
}


.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #f5f5f5;
  padding: 2px;
  text-align: center;
  color: #000;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #c44;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  font-family: verdana,tahoma,sans-serif;
  width: 2em;
  color: #000;
  text-align: right;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #999;
}
.calendar tbody .day.othermonth.oweekend {
  color: #f99;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #797979;
}

.calendar tbody .rowhilite td,
.calendar tbody .rowhilite td.wn {

}

.calendar tbody td.hilite { /* Hovered cells <TD> */

}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  /* padding: 2px 2px 0px 2px; */
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #b1171a;
}


.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  text-align: center;
  background: #565;
  color: #fff;
}



.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #afa;
  border: 1px solid #084;
  color: #000;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #7c7;

}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border-width: 0 1px 1px 1px;
  border-style: solid;
  border-color: #797979;
  z-index: 100;
  font-size: 90%;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar td.time {

  text-align: center;
}

.calendar td.time .hour,
.calendar td.time .minute {
  font-family: monospace;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar {
  position: relative;
  display: none;
  cursor: default;
  z-index: 9999999999999;
}

.calendar table {
  cursor: default;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e2e2e2;
}

.calendar table td{
  border: none;
  width: 20px;
}

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 3px;
  background: #FFFFFF;
  color: #747474;
}

.calendar .nav {
  background: #fff;
  text-align: center;
  font-size: 22px;
  color: #7b7b7b;
}

.cal-button{
  text-align: center;
font-family: sahel;
font-size: 16px;
color: #5f6061;
}

.calendar thead .title { /* This holds the current "month, year" */
  background: #fff;
  text-align: center;
  font-family: sahelb;
  font-size: 20px;
  color: #1bbcc3;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */

}

.calendar thead .daynames { /* Row <TR> containing the day names */

}

.calendar thead .name { /* Cells <TD> containing the day names */
  text-align: center;
  background: #fff;
  color: #2a2f31;
  width: 45px;
  font-family: sahel;
  padding: 5px;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #b1171a;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */

  opacity: 0.7;
  cursor: pointer;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  opacity: 0.6;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  text-align: center;
  background: #fff;
  color: #262f35;
  font-family: sahel;
  font-size: 16px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #aaa;
}
.calendar tbody .day.othermonth.oweekend {
  color: #faa;
}

.calendar table .wn {
  background: #fff;
}

.calendar tbody .rowhilite td.wn {
  background: #c8d4d0;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
background: #f3f3f3;
color: #545252;
border-radius: 6px;
cursor: pointer;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
}

.calendar tbody td.selected { /* Cell showing selected date */
  background: #f3f3f3;
  color: #545252;
  border-radius: 6px;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #C9484E;
}

.calendar tbody td.today { /* Cell showing today date */
  color: #fff;
  text-align: center;
  border-radius: 6px;
}

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #fff;
  color: #b3b3b3;
  text-align: center;
  font-family: sahel;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #f3f3f3;
  color: #545252;
  border-radius: 6px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 2px 0px 0px 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  cursor: pointer;
  font-size: 14px;
  font-family: sahel;
  padding: 0px 5px;
  z-index: 99999999;
  width: 70px;
  background: #fff;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .active {
  background: #c8d0d4;
  padding: 0px;
}

.calendar .combo .hilite {
  background: #f3f3f3;
  color: #545252;
}

.calendar td.time {
  padding: 1px 0px;
  text-align: center;
  background-color: #e8f0f4;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
}

.calendar td.time span.hilite {
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}

.progress{
  border: 1px solid #d8e1eb;
}

.progress-bar{
  background: #424e5a;
  color: #fff;
  width: 0;
  font-family: sahel;
  padding: 3px;
  font-size: 12px;
}

.progress-bar-complete{
  background: #01953c;
}

/*======================= CALENDER STYLE =======================*/
.loading-body{
  height: 100%;
  background: #fff;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
}

.loading-body span{
  font-family: sahel;
  font-size: 14px;
  color: #00b4d2;
}


.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b4d2;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}






@media only screen and (max-width:480px){
.user-container{
  width: 95.5%;
}

.user-container-header, .question > header span, button, label, input, select,
.modal-text, .modal-header h4{
  font-size: 14px;
}

.w40, .mini-box{width: 100%}

[data-appearance]:before{
  top: 40px;
}

.modal{padding: 20px;}

}
