/*gird.css*/
/* Соотношение разрешения моего экрана 
   к разрешению макета = 0.715 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media all and (min-width:50em){
  body {
    display: grid;
  }
}
body {
  /* min-height: 100vh; */
  max-height: 100%;
  grid-template-rows: 50px 190px auto 60px;
  justify-content: center;
  grid-gap: 0;
  font-family: RobotoCondensedLight, Verdana;
  font-size: 14px;
  color: #333;
  width: 100%;
}
.Telegram {
  display: inline-block;
  /* margin-top: 4px; */
  margin-right: 3px;
  width: 33px;
  height: 33px;
  background-image: url("img/telegram.png"); 
  background-size: cover;
}
.Whatsapp {
  display: inline-block;
  width: 33px;
  height: 33px;
  background-image: url("img/whatsapp.png"); 
  background-size: cover;
}
.header {
  margin-bottom: auto;
  max-height: 50px;
  display: block;
  margin-top: 0px;
  padding: 0px;
  background-color: #D1B73D; 
}
.header .logo {
  display: grid;
  align-items: center;
  text-align: center;
  margin: 0px;
  color: white;
  font-family: RalewayExtraLight, Verdana;
  font-size: 2.5rem;
}
.header .contacts {
  display: grid;
  padding-right: 15px;
  padding-left: 0px;
  grid-template-columns: auto 23px 23px;
  align-items: center;
  align-content: center;
  justify-content: center;
  grid-gap: 0px;
  margin: 0px;
}
.lesson-date, .lesson-name, .lesson-price, .lesson-balance{
  /* height:4em; */
}

.lesson-date{
  width:24%;
  text-align: right;
  margin-right:15px;
  padding-right:8px;
}
/* .lesson-name{
} */
.lesson-price{
  width:15%;
  font-size: 1.1em;
  text-align: center!important;
  
}
.lesson-balance{
  width:15%;
  text-align: center;
  font-size: 1.1em;
}
.bar {
  margin: auto;
  width:900px;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
@media all and (max-width:50em){
  .teacher{
    margin-left: 8%;
  }
  .stdnt{
    margin-left: 8%;
  }
}
@media all and (min-width:50em){
  .teacher {
    margin-left: 56px;
  }
}
.teacher {
  display: grid;
  grid-template-columns: 114px 1fr;
  grid-template-rows: auto auto auto auto;
  column-gap: 18px;
  padding: 0px;
  row-gap: 0px;
  width:98%;
}
.teacher .teacher_img {
  margin-top: 13px;
  width: 120px;
  height: 120px;
  grid-column: 1;
  grid-row: 1/-1;
  background-image: url('img/ava-teacher.jpg'); 
  background-size: cover;
  border: 1px solid #AEAEAE;
  border-radius: 16px;
}
.teacher .teacher_ico {
  grid-column: 2;
  font-family: RobotoCondensedRegular;
  color: #B69D28;
}
.teacher .teacher_name {
  grid-column: 2;
  font-family: RalewayLight, Verdana;
  font-size: 21px;
  line-height: 46px;
  margin-left: 4px;
  height:1.8em;
}
.teacher .teacher_name span {
  font-family: RalewayRegularThin, Verdana;
  font-weight: bold;
}
.teacher .teacher_contacts {
  grid-column: 2;
  margin-left: -2px;
  display: grid;
  grid-auto-flow: column;
  align-content: start;
  align-items: start;
  text-align: start;
  justify-content: start;
  margin-bottom: 0px;
}
.teacher_contacts .tel {
  font-family: RobotoCondensedLight, Verdana;
  text-decoration: none;
  font-size: 20px;
  color: #D1B73D;
}
.teacher_contacts .tel span {
  font-family: RobotoCondensedRegular, Verdana;
}
.teacher .teacher_ico img {
  width: 27px;
  height: 32px;
  margin-right: 5px;
  margin-bottom: -7px;
  margin-top: 7px;
}
.teacher .teacher_contacts a {
  text-decoration: none;
}
.teacher .teacher_desc {
  grid-column: 2;
  font-family: RobotoCondensedLight, Arial;
  font-size: 16px;
  line-height: 18px;
  margin: 0px 0px 9px 3px;
}
@media all and (min-width:50em){
  .stdnt {
    width: 420px;
  }
}
.stdnt {
  height: 108px;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: 30px auto auto;
  column-gap: 5px;
  row-gap: 0px;
  padding: 0px;
  justify-self: start;
}
.stdnt_img {
  height: 72px;
  width: 72px;
  margin-top: 14px;
  grid-column: 1;
  grid-row: 1/-1;
  background-image: url('img/ava-stdnt.jpeg'); 
  background-size: cover;
  border: 1px solid #AEAEAE;
  border-radius: 12px;
}
.stdnt_ico {
  margin-top: 15px;
  grid-column: 2;
  display: grid;
  grid-template-columns: 32px auto auto;
  font-family: RobotoCondensedRegular;
  color: #007ED2;
}
.stdnt_ico img {
  width: 28px;
  height: 30px;
  margin-right: 5px;
  margin-top:-7px;
}
.stdnt_exit_btn {
  justify-self: end;
  margin-top: -2px;
  width: 72px;
  height: 28px;
  font-family: RobotoCindencedLight, Verdana;
  font-size: 16px;
  color: #5D5D5D;
  background-color: #fff;
  border: 1px solid #D5D5D5;
  border-radius: 6px;
  box-shadow: 1px 1px 1px 0px #eee;
}
.stdnt_exit_btn:hover {
  color: #108Ee2;
}
.stdnt_exit_btn:active {
  color: #007ED2;
  box-shadow: inset -1px -1px 1px 0px #eee;
}
.stdnt_name {
  grid-column: 2;
  font-family: RalewayLight, Verdana;
  font-size: 18px;
  line-height: 16px;
  margin-top: 20px;
}
.stdnt_name span {
  font-family: RalewayRegularThin, Verdana;
  font-weight: bold;
}
.stdnt_desc {
  grid-column: 2;
  font-family: RobotoCondensedLight, Arial;
  font-size: 14px;
  line-height: 18px;
  margin-top: 5px;
}
.stdnt_desc span {
  font-family: RobotoCondensedBold, Verdana;
  font-weight: bold;
}
@media all and (min-width:50em){
  .content {
    display: grid;
    overflow-x: scroll;
    align-self: stretch;
    justify-content: center;
    justify-items: center;
    justify-self: center;
  }
}
.content {
  margin: 0px;
}
@media all and (min-width:50em){
  .content {
    width: 100vw;
    padding: 54px 20px 50px 20px;
  }
}
@media all and (max-width:50em){
  .content .ved-frame, .content .Raspisanie_hscroll {
    
  }
}
div.content {
  background-color: #F8FCFD;
  border-top: 1px solid #DBDBDB;
  border-bottom: 1px solid #DBDBDB;
}


.footer {
      
    bottom: 1px;
    left: 0;
    width: 100%;
  display: grid;
  height: 60px;
  margin-top: auto;
  margin-bottom: 0px;
   font-family: RalewayLight, Verdana;
  font-size: 0.8rem;
  color: #F4EEB3;
  background-color: #D1B73D;
}
.footer span {
  margin-top: 8px;
  justify-self: center;
  color: white;
  font-family: RalewayExtraLight, Verdana;
  font-size: 1.4rem;
}

/* @media all and (max-width: 950px) {
  .bar {
    column-gap: 10%;
    width: auto;
  }
}

@media all and (max-width: 875px) {
  .bar {
    column-gap: 1%;
    width: auto;
  }
} */
@media all and (max-width: 50em) {
  body {
    grid-template-rows: 50px 335px auto 60px;
  }
  .bar {
    width: auto;
    display:flex;
    padding:0px 0 8px 0px;
    flex-direction: column;
    margin-top: 25px;
  }
  .teacher {
    grid-template-columns: 72px 1fr;
    justify-self: start;
    width: 92%;
    margin-bottom: 28px;
  }
  .teacher .teacher_img {
    height: 72px;
    width: 72px;
  }
  .content {
    justify-content: start;
    justify-items: start;
    justify-self: start;
  }
  .caption-block {
    margin-left: 30px;
  }
}
.lesson-row-description td{
  height: 39px;
  color:#787878;
  padding-bottom: 4px;
  vertical-align: top!important;
}
@media all and (max-width:50em){
  .lesson-row-heading{
    /* display: table-cell; */
  }
}

/*SHED Table.css*/
.Raspisanie_hscroll {
	display: flex;
	justify-content: start;
	justify-items: start;
	margin-top: 10px;
}
@media all and (min-width:50em){
  .Raspisanie_hscroll {
    width: 100%;
    max-width: 100vw;
  }
}
@media all and (max-width:50em){
  .Raspisanie_hscroll {
    overflow: scroll;
    max-width: 95vw;
  }
}

@media all and (min-width:50em){
  .Raspisanie {
	  width: 1000px;
  }
}
.Raspisanie {
	border: 0px solid #888;
	display: block;
  background-color: #fff;
	position: relative;
	text-align: center;
	background-color: white;
}
.Times {
	width: 100%;
}
span.Time {
	display: flex;
	justify-content: space-between;
	color: #bababa;
	font-size: 14px;
	line-height: 39px;
	background: repeating-linear-gradient(#ffffff, #ffffff 50%,#f5f0a8 54%);
	width: 940px;
	margin-top: 9px;
}
.Day {
	width: 120px;
	height: 50px;
	border: 0px solid #888;
	margin-right: 3px;	
}
span.Day {
	color: #3b58a1;
	font-size: 16px;	
	display: inline-block;	
	border-bottom: 2px solid #81d0f1;
	line-height: 60px;	
	z-index: 0;
	margin-right: 3px;	
}
.Days {
	width: 980px;
	height: 50px;
	position: absolute;
	top: -20px;
	display: flex;
	flex-wrap: nowrap;
	margin-left: 70px;
	margin-right: 70px;
}
.block {
	position: absolute;
	display: flex;
	align-content: center;
	justify-content: center;
	width: 120px;	
	flex-direction: column;
	border-radius: 4px;
	font-size: 15px;
    font-family: 'Source Sans Pro';
}

.ochnik {
	background-color: #a5ecdb;
}

.online {
	background-color: #a5deec;
}

.viezd {
	background-color: #aae1b4;
}

.GrayZone {
	background-color: #e9e9e9;
}

.BlackZone {
	background-color: #606060;
}

span.TText:last-child {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: -60px;
}

.TText {
	background-color: #ffffff;
	padding-right: 15px;
	padding-left: 15px;
}


/*725*/
/* @media all and (max-width: 880px) {
	.Raspisanie_hscroll {
		overflow: auto;
		position: relative;
		display: block;
		box-sizing: border-box;
		}
	div.Raspisanie   {
		display: inline-block;
		vertical-align: top;
		width: 1050px;
		overflow-x: auto;		
		-webkit-overflow-scrolling: touch;
	}
} */
/*stat table.css*/
@font-face { 
    font-family: "RobotoCondensedLight";
    src: url("fonts/RobotoCondensedLight/RobotoCondensedLight.eot");
    src: url("fonts/RobotoCondensedLight/RobotoCondensedLight.woff") format("woff"),
    url("fonts/RobotoCondensedLight/RobotoCondensedLight.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face { 
    font-family: "RobotoCondensedBold";
    src: url("fonts/RobotoCondensedBold/RobotoCondensedBold.eot");
    src: url("fonts/RobotoCondensedBold/RobotoCondensedBold.woff") format("woff"),
    url("fonts/RobotoCondensedBold/RobotoCondensedBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face { 
    font-family: "RobotoCondensedRegular";
    src: url("fonts/RobotoCondensedRegular/RobotoCondensedRegular.eot");
    src: url("fonts/RobotoCondensedRegular/RobotoCondensedRegular.woff") format("woff"),
    url("fonts/RobotoCondensedRegular/RobotoCondensedRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face { 
    font-family: "RalewayLight";
    src: url("fonts/RalewayLight/RalewayLight.eot");
    src: url("fonts/RalewayLight/RalewayLight.eot?#iefix")format("embedded-opentype"),
    url("fonts/RalewayLight/RalewayLight.woff") format("woff"),
    url("fonts/RalewayLight/RalewayLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
}
@font-face { 
    font-family: "RalewayExtraLight";
    src: url("fonts/RalewayExtraLight/RalewayExtraLight.eot");
    src: url("fonts/RalewayExtraLight/RalewayExtraLight.eot?#iefix")format("embedded-opentype"),
    url("fonts/RalewayExtraLight/RalewayExtraLight.woff") format("woff"),
    url("fonts/RalewayExtraLight/RalewayExtraLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
}
@font-face { 
    font-family: "RalewayRegularThin";
    src: url("fonts/RalewayRegular/RalewayRegular.eot");
    src: url("fonts/RalewayRegular/RalewayRegular.eot?#iefix")format("embedded-opentype"),
    url("fonts/RalewayRegular/RalewayRegular.woff") format("woff"),
    url("fonts/RalewayRegular/RalewayRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
}

/*DESKTOP*/
@media all and (max-width:50em){
  .ved-frame {
    margin-top: 2em;
  }
  .ved-frame-wrapper{
    overflow: scroll;
    /* border:2px solid blue; */
    max-width: 95vw;
  }
  .caption-block{
    text-align: center;
    width:100%;
    display: block;
  }
}
@media all and (min-width:50em){
  .ved-frame {
	  width: 81%;
  }
}
.ved-frame {
	overflow-y: hidden;
  margin:auto;
	overflow-x: hidden;
	background-color: #fff;
	height: fit-content;
	border-left: 1px solid #C4C4C4;
	border-right: 1px solid #C4C4C4;
	border-top: 1px solid #C4C4C4;
	/*border-top: 7px solid #007ED2;*/
	border-bottom: 7px solid #007ED2;
	border-radius: 7px;
	box-shadow: 3px 3px 6px -3px gray;
	justify-items: center;
	display: grid;
	grid-gap: 0px;
	padding: 0px;
	justify-content: stretch;
}

.ved-frame .caption-lnks {
	font-family: RobotoCondensedRegular, Verdana;
	font-size: 2.4em;
	color: #007ED2;
	align-content: center;
	margin-top: 10px;
  letter-spacing: 3px;
	margin-bottom: 10px;
	width: fit-content;
}
.ved-frame .caption-lnks span {
	color: #007ED2;
	margin-left: 30px;
	margin-right: 30px;
}
.ved-frame .caption-lnks a {
	font-family: RobotoCondensedRegular, Verdana;
	color: #b7b7b7;
	align-content: center;
	margin-left: 30px;
	margin-right: 30px;
	text-decoration: none;
}
.ved-frame .caption-lnks a:hover {
	color: #007ED2;
	text-decoration: underline;
}
.ved-frame .caption-lnks a:active {
	color: #108Ee2;
}
.table-frame {
	align: center;
	overflow-y: scroll;
	overflow-x: hidden;
	background-color: #fff;
	width: 93%;
	height: 300px;
	margin: 0px;
	border-radius: 7px;
}
table.ved-table {
  font-size: 16px;
	background-color: #fff;
	margin: 0px;
	width: 100%;
	text-align: left;
	vertical-align: top;
	/* padding: 0px; */
}
@media all and (max-width:50em){
  .ved-frame{
    width: 810px !important;
    overflow: scroll !important;
    overflow-y: scroll !important;
    overflow-x: scroll !important;
  }
}

.ved-table td {
  vertical-align: bottom;
	border-bottom: 1px dashed #AFDFF3;
	/*padding-top: 0px;*/
  /* padding: 4px 0 0px 0; */
}

table.tablehead {
	background-color: #fff;
	margin: 0px;
	width: 92.5%;
	text-align: left;
	border-spacing: 0px;
	border-bottom: 3px solid #AFDFF3;
	border-top: 7px solid #007ED2;
	border-top-right-radius: 7px;
	border-top-left-radius: 7px;
}
td.tablehead {
	font-size: 1.2em;
	color: #007ED2;
  padding: 3px 0;
}
td.tablehead-r {
	font-size: 1.2em;
	color: #007ED2;
	text-align: center;
	padding-bottom: 0px;
  width:10%;
}
.last-tableheaad-r{
  width:15%!important;
}
td.no-border {
	border: none;
}
table.foot {
	border-spacing: 10px;
}
.pay-btn {
	font-family: RalewayLight, Arial;
	width: 100px;
	height: 30px;
	background-color: #D1B73D;
	border: none;
	border-radius: 10px;
	color: #fff;
	box-shadow: 1px 1px 1px 0px #ddd;
}
.pay-btn:hover {
  color: #eee;
}
.pay-btn:active {
  color: #eee;
  box-shadow: inset -1px -1px 1px 0px #c1B030;
}
.date {
	font-family: RobotoCondensedRegular, Verdana;
	font-size: 1.1em;
}
.big{
	font-family: RobotoCondensedBold, Verdana;
	font-size: 24px;
	text-align: left;
  position: relative;
  top: 2px;
}
.comnt {
	font-size: 1em;
	text-align: left;
}
.neg b{
  font-weight: bold;
  font-family: RobotoCondensedRegular, Verdana;
}
.neg {
  color: indianred;
}
.pos {
  color: #4FA03B;
}
.foot {
	background-color: #fff;
	margin: 0px;
	width: 100%;
	border-top: 3px solid #AFDFF3;
	text-align: left;
	padding: 10px 10px 20px 10px;
	border-spacing: 0px;
}
.foot td {
	vertical-align: top;
}
.txt {
	font-family: RobotoCondensedLight;
	color: black;
}
.txt1 {
	font-family: RobotoCondensedRegular;
	color: black;
}
.txt2 {
	font-family: RobotoCondensedRegular;
	font-size: 1.3em;
	color: #4FA03B;
}
.rght {
	text-align: right;
	padding-left: 10px;
	padding-right: 10px;
}
.lft {
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
}
@media all and (max-width: 640px) {
	.ved-frame .caption-lnks {
		justify-self: start;
	}
}
.caption-block {
  font-family: RobotoCondensedRegular, Verdana;
  font-size: 1.5em;
  color: #007ED2;
  align-content: center;
  margin-top: 50px;
  margin-bottom: 10px;

}