/*! 
 *  Mobile style
 *  Dmitry created 04.02.2020
 */
 
.head-logo {
	max-width: 95%;
	padding: 5px;
	margin: 0 auto;
	height: 100px;
	background-color: #FFF;
}
 .head-logo img {
	max-width: 100%;
 }
 .head-name {
	 background-color: #fff;
	 left:0;
	 right:0;
	 position: fixed;
	 top:90px;
	 z-index: 1020;
 }
 .head-name h1 {
	text-align: center;
	width:100%
 }
 .core-conteiner {
	margin-top: 170px;
    z-index: -200;
    width: 92%;
}
.sh-table td {
	flex-wrap: wrap;
	margin-left: 0px;
}
.sh-table td > div{
		margin-left: 0px !important;
		text-align: center;
#		text-align: left;
}
@media screen and (max-width: 410px) {
	.head-logo {
		display: none;
	}
	.head-name {
		top:0px;
		z-index: 1020;
	}
	.head-name h1 {
		font-size: 20px;
	}
	.head-name h1:after {
		content: "\A в ФГБУЗ МСЧ №125";
		white-space: pre;
		font-size: 20px;
	}
	.core-conteiner {
		margin-top: 75px;
	}
	core-conteiner {
		margin-top: 200px;
	}
}
@media screen and (max-width: 820px) {
	.alert {
		width: 92% !important;
	}
	#content h3 {
		text-align: center;
	}
	#content row {
		display: block;
		text-align: center;
	}
	.container {
		padding-right: 5px;
		padding-left: 5px;
	}
	#tickets, .doc-sheluder {
		float: none !important;
		width: 100% !important;
	}
	#tickets div.row {
		margin: 0;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.sh-table tr {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.sh-table td:before {
		content: attr(data-label);
		display: inline-block;
		text-align: center;
		font-weight: bold;
		line-height: 1.5;
		width: 25%;
		padding: 8px;
		position: relative;
		z-index: 1;
	}
	/* time-cell { */
		/* float: left; */
	/* } */
	/* #tickets { */
		/* float: none !important; */
		/* width: 100% !important; */
	/* } */
	
}
 
 /* end style created Dmitry */
 
.doc-sh-cell {
    height: 128px;
    border-radius: 5px;
}

.table > tbody > tr > .td-sh-cell {
    text-align: center; 
    min-width: 94px;
    padding-right: 4px;
    padding-left: 4px;
}

.time-cell {
    height: 72px;
    width: 72px;
    border-radius: 5px;
    margin: 5px;
    padding: 5px;

}


.legend-item {
    margin-right: 10px;
    padding: 12px 12px;
    float: left;
    display: inline-block;
    border-radius: 5px;
}

.active-cell {
    background-color: rgb(62, 166, 206);
    color: white;
    cursor: pointer;
}

.disabled-cell {
    background-color: lightgray;
}

.blocked-cell {
    background-color: #238b22;
    color: white;
    cursor: pointer;
}

.disabled-nav {
    cursor: not-allowed;
    pointer-events: none !important;
}

.ticket-view{
    padding: 15px;
    width: 340px;
    border: 1px solid rgb(119, 119, 119);
    border-radius: 1px;
}

.doctorbox{
    width: 550px;
    height: 270px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    border: 1px solid #888;
    border-radius:3px;
    border-color: #428BCA;
}

.doctor-info{
    margin-left: 5px;
}

.fdoctor-info{
    width: 50%;
    margin-left: 25px;
}

.doctor-photo{
    margin-top: 10px;
}


.doctorbox-footer{
    position: absolute;
    clear: both;
    bottom: 0px;
    width: 95%;
    margin-bottom: 15px;
}


.find-bar{
    position: fixed;
    z-index: 5;
    width: 90%;
}

.rtable > thead > tr > th,
.rtable > tbody > tr > th,
.rtable > tfoot > tr > th,
.rtable > thead > tr > td,
.rtable > tbody > tr > td,
.rtable > tfoot > tr > td {
    padding: 3px;
}

.ptype{
    width: 30%;
    margin: 1%;
    float: left;
    position: relative;
}

/*.ptype img {
    position: absolute;
}*/

.ptype > div {
    position: absolute;
    bottom: 0px;
    height: 0%;
    width: 100%;
    color: white;
    /*background-color: #428bca;*/
    background-color: rgba(66, 139, 202, 0.6);
    /*opacity: 0.8;*/
}

.depname{
    width: 90%;
    top: 0px;
    margin: 0px auto;
    text-align: center;
}

.btn-serv {
    margin: 5px;
    min-width:220px;
}

/*.ptype div span {
    margin-left: 5%;
    margin-right: 5%;
}*/

/*.ptype:hover{
    width: 32%;
    margin: 0.5%;
}*/

.check_msg{
    font-size: 15px;
    font-weight: 800;
}

.sh-table {
  border-collapse: collapse;
}

.sh-table.unstriped tbody {
  background-color: transparent;
}

.sh-table th {
  
}

.sh-table tr,
.sh-table th,
.sh-table td {
  
}


@media screen and (max-width: 640px) {
  .sh-table {
    
  }
  .sh-table thead tr {
    position: absolute;
    top: -9999em;
    left: -9999em;
  }
  .sh-table tr + tr {
    margin-top: 1.5rem;
  }
  .sh-table td {
    border: none;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    /* border-bottom: 1px solid #0a0a0a; */
    padding-left: 50%;
    position: relative;
  }
  .sh-table td img {
	  /* display: none; */
  }
  .sh-table td:after {
    content: '';
    position: absolute;
    /* background: #e6e6e6; */
    width: 45%;
    height: 95%;
    left: 1px;
    top: 1px;
    z-index: 0;
  }
  .doc-sh-cell {
	  min-width: 94px;
  }
}
