*
{
    margin: 0;
    padding: 0;
     box-sizing: border-box;
}
a img
{
    border: 0;
}
hr
{
    display: none;
}
body, html
{
    background: #fff;
    text-align: center;
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    height: 100%;
}
.clear
{
    clear: both;
}
a
{
    color: #d70000;
}
a:hover
{
    color: #444;
}

.allcont{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.topblock{
 width: 100%;
 padding: 10px 10px 0 10px;
 display: flex;
 align-items: flex-end;
 border-bottom: 1px solid #ccc;
 justify-content: space-between;
}
#logo{
  width: 100px;
}
#logo img{
  width: 100%;
}

.topmenu{

}
.topmenu ul{
  list-style: none;
  display: flex;
}
.topmenu ul li{

}
.topmenu ul li a{
  display: inline-block;
  margin: 5px 5px 0;
  background: #b70000;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
}
.topmenu ul li a.active{
  background: #00b700;
}

.topmenu ul li a.menu--tyres{
  background: #111 ;
}

.branches{
  display: flex;
  align-items: center;
}
.branch{
  padding: 10px;
  display: inline-block;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  color: #999;
}
.curbranch{
  font-size: 30px;
  color: #000;
  font-weight: 700;
}

.footer{
  width: 100%;
  padding: 5px 10px;
  border-top: 1px solid #eee;
}

.calendar{
  margin: 30px;
  position: relative;
}
.calaround{
  display: flex;
  width: calc(100% - 50px);
  position: absolute;
  left: 50px;
  top: 0;
}
.calcontent{
  width: 100%;
  display: flex;
}

.dayblock{
  flex: 1 1 auto;
  width: calc(100% / 7);
}

.dayhead{
  font-size: 17px;
  font-weight: 700;
  height: 50px;
}
.daycontent{

}
.daydata{
  width: 100%;
  box-sizing: border-box;
  height: 960px;
  position: relative;
  text-align: left;
  border-left: 1px solid #ccc;
}

.dayline{
  padding-top: 50px;
}
.hourbox{
  height: 60px;
  border-top: 1px solid #ddd;
  color: #999;
  position: relative;
  padding-left: 50px;
}
.hourbox span.h{ position: absolute; left: 0; top: 2px; font-weight: bold; text-align: right; width: 25px; font-size: 22px; color: #666;}

.hourbox .sh{
  width: calc((100% - 22px) / 7 );
  box-sizing: border-box;
  padding: 2px 5px;
  display: inline-block;
  text-align: left;
  font-weight: bold;
  color: #ddd;
  font-size: 15px;
}

.qbox{
  margin-left: 30px;
  font-size: 10px;

  height: 15px;
  text-align: left;
  overflow: hidden;
}
.qbfirst{
  border-top: none;
}

.calslide{
  position: absolute;
  top: 0;
  text-decoration: none;
  font-weight: 700;
  margin-top: -12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 22px;
  border: 2px solid #b70000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.calprev{
  left: 0px;
}
.calnext{
  right: 0px;
}

.orderblock{
  background: #ccc;
  border: 1px solid #999;
  height: 140px;
  width: 50%;
}

.overlay{
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
  background: rgba(0, 0, 0, .7);
  width: 100%;
  height: 100%;
}

.orderform{
  position: absolute;
  left: calc(50% - 300px);
  width: 600px;
  padding: 20px;
  top: 50%;
  border: 10px solid #ccc;
  background: #fff;
  z-index: 10;
}

.modalform h2{
  margin-bottom: 20px;
}

.formline{
  display: flex;
  margin-bottom: 5px;
  align-items: center;
}
.formline label{
  padding-right: 10px;
  display: inline-block;
  width: 130px;
  font-size: 14px;
}
.formline input,
.formline textarea,
.formline select{
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 250px;
}
.formline textarea{
  height: 100px;
}
.modalform .submit{
  font-size: 22px;
  text-transform: uppercase;
  padding: 10px 20px;
  box-sizing: border-box;
  border: 3px solid #444;
  background: #f0f0f0;
  font-weight: 700;
  margin-left: 130px;
}
.hidden{
  display: none;
}
.tmpdr{
  height: 15px;
}
.tmpdr span{
  display: inline-block;
  border: 1px solid #ccc;
  text-align: center;
  width: 15px;
}

.orderbox{
  box-sizing: border-box;
  background: #f1a916;
  position: absolute;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, .3);
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.orderbox.product-10 {
  background: #222;
  color: #fff;
}
.orderbox.product-12 {
  background: #2D7DD2;
  color: #fff;
}

.orderbox.done{
  background: #009900;
  color: #fff;
}
.orderbox.closed{
  background: #e0f3d8;
  color: #9eab98;
  text-decoration: line-through;
}
.product-10.closed {
  background: #ccc;
  color: #fff;
}
.product-12.closed {
  background: #DEEAF8;
  color: #fff;
}
.orderbox.cancelled{
  background: #f2e6e6;
  color: #aba2a2;
  text-decoration: line-through;
}
.product-10.cancelled {
  background: #eee;
  color: #fff;
}
.product-10.cancelled {
  background: #DEEAF8;
  color: #fff;
}

.orderbox span,
.orderbox strong{
  text-align: center;
}
.orderbox .car{
  font-size: 14px;
}
.orderbox .program{
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.orderbox .debug{
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(0, 0, 0, .3);
}
.orderbox .note{
  position: absolute;
  right: 2px;
  top: 2px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  background: #0099ff;
  color: #fff;
  width: 19px;
  height: 19px;
  font-size: 15px;

  border: 1px solid #fff;
  border-radius: 50%;
}

.orderdetail .inner{
  text-align: center;
  padding: 10px;
}
.orderdetail .program{
  font-size: 30px;
  display: block;
  padding: 20px 0 10px;
}
.orderdetail .car{
  font-size: 18px;
  display: block;
}
.orderdetail .name,
.orderdetail .tel{
  display: block;
  font-size: 16px;
}

.orderdetail .buts{
  display: flex;
  justify-content: center;
  padding: 20px;
  align-items: center;
}
.btn{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
}
.labmargin{
  margin-left: 130px;
}
.centermargin {
  margin-inline: auto;
}
.cancelBtn{
  border: none;
  background: transparent;
  color: #b70000;
  font-size: 13px;
  text-decoration: underline;
}
.readyBtn{
  background: #009900;
  color: #fff;
  border: none;
  font-size: 22px;
}
.secondaryBtn {
  background: #ccc;
  color: #000;
  border: none;
  font-size: 22px;
  text-decoration: none;
  font-weight: 400;
  width: 200px;
  margin: 20px auto;
}

.doneform{
  padding-top: 20px;
}
.doneform label{
  text-align: right;
}
.formline .price{
  width: 100px;
}

.centered {
  text-align: center;
}

.pp{
  padding-left: 30px;
  line-height: 20px;
}
.pp_1{
  background: url(../layout/ico_car.svg) 5px 0% no-repeat;
  background-size: 20px auto;
}
.pp_2{
  background: url(../layout/ico_suv.svg) 5px 0% no-repeat;
  background-size: 20px auto;
}

blockquote{
  padding: 10px;
  margin-bottom: 10px;
  font-size: 15px;
}
blockquote.err{
  background: #ee0000;
  color: #fff;
}
.red {
  color: #ee0000;
}
.orderBy {
  font-size: 11px;
  color: #ee0000;
  display: block;
  margin-bottom: 10px;
}

.orderHistory {
  color: #666;
}

.topButtons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.linkBtn {
  text-decoration: none;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  font-weight: 400;
  color: #aaa;
}
.linkBtn.active {
  font-weight: 700;
  color: #000;
  font-size: 22px;
}

.topButtons .btn {
  margin: 0;
}

.tyresAdd {
  text-decoration: none;
  font-weight: 700;
  width: 200px;
  margin: 20px auto;
}
.tyresAdd:hover {
  background: #00b700;
  color: #fff;
}

.tyreOrders {
  width: 90%;
  margin: 20px auto;
  text-align: left;
  border-collapse: collapse;
}
.tyreOrders th {
  border: 1px solid #ccc;
  padding: 8px;
  background-color: #eee;
  text-align: left;
}
.tyreOrders td {
  border: 1px solid #ccc;
  padding: 8px;
}
.tyreOrders tr:nth-child(even) {
  background-color: #f9f9f9;
}
.tyreOrders .center {
  text-align: center;
}

.tyreOrders .removed td{
  background: #fff;
  opacity: 0.4;
  text-decoration: line-through;
}

.tyreOrderDetailLink {
  text-decoration: none;
  background: #222;
  color: #fff;
  padding: 5px 10px;
  font-size: 16px;
  border: none;
  margin: 0 auto;
  cursor: pointer;
}

.formline.tyre input.tyreSize{
  width: 155px;
  margin-right: 5px;
}

.formline.tyre input.tyreTW{
  width: 60px;
  margin-right: 5px;
}

.tabspz {
  border: 1px solid #222;
  background: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 3px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  min-width: 77px;
  font-family: 'Roboto Mono', monospace;
}

.orderdetail .car .tabspz {
  font-size: 20px;
  min-width: auto;
  margin-bottom: 10px;
  margin-left: 10px;
}

.tyresList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.tyresList div {
  border: 1px solid #999;
  padding: 10px;
  font-size: 14px;
}

.tableIco {
  width: 20px;
  height: auto;
  vertical-align: middle;
  margin-right: 5px;
}

.orderHistory {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-top: 20px;
}
.orderHistory th {
  border: 1px solid #ccc;
  padding: 8px;
  background-color: #eee;
}
.orderHistory td {
  border: 1px solid #ccc;
  padding: 8px;
}

.orderHistory tr:nth-child(even) {
  background-color: #f9f9f9;
}

.searchBar {
  width: 260px;
  margin: 0 auto 20px;
}

.searchBtn {
  padding: 6px 10px;
  font-size: 14px;
  border: none;
  background: #666;
  color: #fff;
  cursor: pointer;
}