@media screen {
#menu {
	background-color : #d7d7d7;
	}
#rightmenu {
	background-color: #FCFFBB;
}

#doc_footer  {
display : none;
}


#legend {
font-size: .75em;
}

.absent {
font-size: .75em;
}


}

@media print {
	#contentlayer {
	background: white;
		margin-right: 0px;
		width:100%;
	
	}
	
	#menubar {
		margin-right:0px;
		width:0px;
		display: none;
	}


#menu {
	display : none;
	background-color : #d7d7d7;
}



#rightmenu {
	display : none;
}

#legend {
	display: none;
}

#remarks {
	display:none;
}

#select_ts {
	display:none;
}



}

#doc_footer {
/*display : none;*/
}

#layer0 {
	margin-top:0px;
	margin-right: 5px;
	width: 100%;
}

#menubar {
	margin-left: 3px;
	float: left;
	width: 140px;
	background: #d7d7d7;
	font-family : "Verdana", "Bookman Old Style", "Times New Roman", serif;
	font-size: 10pt;
	/*height: 100%;*/
}

#contentlayer {
background: #FFFAFA;
  margin-right: 3px;
  width: 100%;
  font-size: 11pt;
   float: none !important;
  /*overflow: scroll;*/
  
}

#subheader {
	font-weight : none;
	font-size : 12px;
	text-align : center;
}

#subheaderb {
	font-weight : bold;
	font-size : 12px;
	text-align : center;
	}

#header {
	font-weight : bold;
	font-size: 15px;
	text-align : center;
}

#text {
font-weight : none;
}

#parent {
	background-color : #eeEEEE;
}

#alink{
	color : Navy;
	
	font-weight: 600; 
}


.delete {
color : maroon;

}

BODY {
	background: #FFFAFA;
	color : Navy;
	font-family : "Verdana", "Bookman Old Style", "Times New Roman", serif;
	font-size: 10px;
	text-align: left;
	width: auto;
	
	/*
	margin: 0;
	padding: 0;
	border: 1;
	overflow: hidden;
	height: 100%; 
	max-height: 100%; 
	overflow: scroll;
	*/
}

#container {
width: 100%;
padding:20px;

}

#people, #pupil {
		margin: 0;
		padding: 10px;
		/*font-size: 20px;*/
		border: none; 
		width: 800px; 
		


}
table#pupil td#parents {
border-top: 1px dashed navy;
border-right: 1px dashed navy;

}

table#parents{
	/*border-left : 1px solid red;*/
	font-size: 14px;
}

td#parents_fio {
	border-bottom : 1px dashed red;
	padding	: 10px;
}


hr {
	width: 80%;
	
}

TABLE {
	font-size: 12px;
	border-collapse: collapse;
	margin: 10px;
}


table#search   td{
text-align : center;

}

table#pupil {
	border: 1px solid navy;
	padding		: 2px;
}

table#pupil td#fio {

	font-size	: 12pt;
	font-weight	: bold;
	text-align	: left;

}
table#pupil td#contact {

	text-align	: right;
}

table.gradeslist, table.gradeslist td {
 border-collapse: collapse;
 padding: none;
 border-bottom: 1px solid navy;
 border-left: 1px solid navy;
 
}

TABLE.placeholder, table.placeholder td{
 border-collapse: collapse;
 padding: none;
 border: none;
 text-indent: 2em;
}
TABLE.gradeslist td.gradename {
	font-weight :	bold;
}


hr {
      color: navy;
      
      height: 1px;
    }


form {
       margin-top:      0px;
       margin-bottom:   0px;
       margin-left:     0px;
       margin-right:    0px;
} 

TABLE#newlook {
/* width: 300px;  Ширина таблицы */
 border-collapse: collapse; /* Убираем двойные линии между ячейками */
 /*border: 2px solid  #FFFAFA;/* Прячем рамку вокруг таблицы */
 
 }

TABLE#newlook TD, TABLE#newlook TH {
 padding: 2px; /* Поля вокруг содержимого таблицы */
 border: 1px solid navy; /* Параметры рамки */
 text-align: left /* Выравнивание по левому краю */
}

TABLE#newlook TH#class_avg {
border: 3px solid red;
}

TABLE#newlook TD#delta {
border: 3px solid navy;
}

TABLE#newlook TD#recipients {
border: 2px solid navy;
vertical-align: top
}



TABLE#newlook TD#mark {
text-align: right
}

TABLE#newlook TD#dplus {
text-align: right;
background-color: PaleGreen;
}

TABLE#newlook TD#dminus {
text-align: right;
background-color: LightSalmon;
}

TABLE#newlook TD#vc {
vertical-align: middle;
text-align: center;
	
	
}

TABLE#newlook TD#dnv {
text-align: right
}

TABLE#newlook TH#dnv {
text-align: center 
}

TABLE#newlook TH#qnt {
text-align: center 
}
TABLE#newlook TD#qnt {
text-align: center 
}

TABLE#newlook TH#sum {
text-align: right 
}

TABLE#visor {
margin: 20px;
border-collapse: collapse; /* Убираем двойные линии между ячейками */
  /* Поля вокруг содержимого таблицы */
 border: 1px solid navy; /* Параметры рамки */
 text-align: left; /* Выравнивание по левому краю */
 
}

TABLE#visor TD {
border-bottom: 1px solid navy;

}
TABLE#visor TD#value {
padding: 8px;
font-size: 1em;
font-weight: bold;
border-right: 1px solid navy;

}

TABLE#newlook TD#markc, TABLE#newlook TH#markc {
text-align: center;
/*border: 1px solid navy;*/
}

TABLE#newlook TD#markb {
text-align: center;
font-weight: bold;
/*border: 1px solid navy;*/
}

TABLE#newlook TD.column {
text-align: center;
font-weight: bold;
background-color: #eee;
/*border: 1px solid navy;*/
}

TABLE#newlook TD#markdiff {
text-align: center;
/*border: 1px solid navy;*/
font-size: 7pt;
}




TABLE#newlook TH#mark {
text-align: center /* Выравнивание по центру */
}

TABLE#newlook TH#month{
text-align: center /* Выравнивание по центру */

}

TABLE#newlook TD#current_lesson{
background: #C0C0C0; 

}

TABLE#newlook TD#nowrap {
white-space: nowrap;
}

H2#pagebreak {
page-break-before: always;
}

H2 {

	font-size: 12pt;

}


H3 {

	font-size: 12pt;

	font-style: italic;

	font-family: "sans-serif";

}



H4 {

    font-family: sans-serif;

    font-size: 12pt;

}



A {
	color: #000066;
}



A:Hover {
	color: #004080;
}



HR {

	height: 1pt;

}

input.big[type=checkbox] {
    width:20px;
    height:20px;
    
    }


input, select {
border:1px solid Navy;
}

.class_name {
	/* color: red; */
	text-align: center;
	width: 30%;
	height: 7%;
	padding: 10px;
	margin: 10px;
	background: #eee;
	font-size: x-large;
	float: right;
	display: block;
	border: 0.1em solid Navy;
}

.container {
    
  display: block;
  position: relative;
  padding-left: 35px;
  padding-bottom: 25px;
  margin-bottom: 9px;
    cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.container input {
  position: absolute;
  opacity: 0;
}

/* Create a custom checkbox */
.checkmark {
    
  position: absolute;
  top: 0;
  left: 0;
  height: 35px;
  width: 35px;
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #3366FF;
  
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 11px;
  top: 5px;
  width: 7px;
  height: 20px;
  border: solid white;
  
  border-width: 0 4px 4px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


.switch {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 34px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
   background-color: #2ab934;
  -webkit-transition: .4s;
  transition: .4s;
   border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #ca2222;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider:after
{
  
 content:'\2705';
 
 color: white;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 50%;
 
 font-family: Verdana, sans-serif;
 font-size: medium;
}

input:checked + .slider:after
{  
 content:'\2718';
}





input[type=submit] {
    padding:5px 25px; 
    background:#5af; 
    border:0 none;
    cursor:pointer;
    
    border-radius: 5px; 
}





.tab {
          display:none;   
        }
.tab-view {
	height: 20px;
	background : #d7d7d7;
	padding: 10px;
	margin: 20px;
	border: 2px solid navy;
	
}

.tab_header UL,LI{
	padding-left: -30px;
	margin: 30px;
	}

.bigplus {
	font-size : 32pt;
	color: red;
	font-weight: bold;
}



.down{
    position:relative;
}
.down::after{
    position:absolute;
    left:0px;
    content:"_";
}
.up{
    position:absolute;
    left:0px;
    top:1em;
}

.missed {
	color: #fff;
    background-color: #343a40;
    display: inline-block;
    padding: .20em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.bigblack {
	background-color: #343a40;
    font-size: 175%;
    font-weight: 1000;
    line-height: 1.1;
	margin-bottom: .1em;
}

.biggray {
	background-color: gray;
    font-size: 175%;
    font-weight: 1000;
    line-height: 1.1;
	margin-bottom: .1em;
}

.bigyellow {
	background-color: cornflowerblue;
    font-size: 175%;
    font-weight: 1000;
    line-height: 1.1;
	margin-bottom: .1em;
	margin-left: .1em;
	
}

.mark2 {
    display: inline-block;
    padding: .20em .3em;
    font-size: 100%;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.classbage	{
	color: #fff;
    display: inline-block;
    padding: .20em .3em;
    font-size: 100%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}



*, ::after, ::before {
    box-sizing: border-box;
}

div.calendarDate{  
                        font-size:1em; /*change calendarIcon size */  
                        display: block;  
                        position: relative;  
                        width: 5em;  
                        height: 5em;  
                        background-color: #fff;                
                        border-radius: 0.7em;  
                        -moz-border-radius: 0.7em;                      
                        
                        overflow: hidden;  
            }  
  
            div.calendarDate *  
            {  
              display: block;  
              width: 100%;  
              font-size: 0.75em;  
              font-weight: bold;  
              font-style: normal;  
              text-align: center;  
            }  
  
            div.calendarDate strong  
            {  
              position: absolute;  
              top: 0;  
              padding: 0.2em 0;  
              color: #fff;  
              background-color: #979797;  
              /* border-bottom: 1px dashed #ddd;   */
              /* box-shadow: 0 2px 0 #19aaaa;   */
            
			}  
            div.calendarDate em   /*day of week*/
            {  
			
              position: absolute;  
              bottom: 0em;  
              color: #fff;  
              padding-top:.2em;  
              height: 1.75em;  
              background-color: #979797;  
  
            }  
            div.calendarDate span  /*day*/
            {  
			
              font-size: 1.8em;  
              letter-spacing: -0.05em;  
              padding-top: 0.7em;  
              color: #2f2f2f;  
            }  

.twocolumn {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count:2; /* Firefox */
    column-count: 2;
}

.waitmsg {
 position: absolute; /* Абсолютное позиционирование */
 width: 50%; /* Ширина слоя в процентах */
 height: 10%; /* Высота слоя в процентах */
 left: 50%; /* Положение слоя от левого края */
 top: 50%; /* Положение слоя от верхнего края */
 margin-left: -20%; /* Отступ слева */
 margin-top: -25%; /* Отступ сверху */
 font-size: 15px;
 background: #fc0;
 text-align: center;
}
