/* Generated by less 2.2.0 */
.red {
  color: #e80909;
}
.darkBlue {
  color: #1a4175;
}
.black {
  color: #000000;
}
.grey {
  color: #000000e0;
}
.blue {
  color: #3c64a0;
}
#telText,
#subOffer,
#offerDisclamer,
.button,
.text,
#offerButton,
.servPlitka,
.servMiniMenu {
  font-family: 'Open Sans';
}
/* БЛОК TOP */
/************************************************/
#serv16 {
  grid-area: serv16;
}
#textServ {
  grid-area: textServ;
}
#aboutUs {
  grid-area: aboutUs;
}
#years16 {
  grid-area: years16;
}
a#offerButton {
  transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  -webkit-transition: all 0.1s ease-out;
}
a#offerButton:link,
a#offerButton:visited {
  text-align: center;
  font-size: 0.9em;
  background: #e80909;
  padding: 16px;
  color: #fff;
}
a#offerButton:hover,
a#offerButton:active {
  background: #ae0404;
}
form ul li#offerButton2,
form ul li#yaMapsButton {
  padding: 24px 48px;
  background-color: #e80909;
  cursor: pointer;
  color: #fff;
  transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  -webkit-transition: all 0.1s ease-out;
}
form ul li#offerButton2:hover,
form ul li#yaMapsButton:hover {
  background: #ae0404;
}
form ul li#offerButton2,
form ul li#yaMapsButton {
  padding: 16px 48px;
}
/* БЛОК ВТОРОЙ - АНОНС УСЛУГ */
/************************************************/
#middleBLOCK {
  display: grid;
  grid-template-columns: 80px 1fr 1px;
  grid-template-rows: 1fr;
  justify-items: center;
  /* выравнивание горизонталь*/
  /* align-self: center; - вертикаль */
  align-items: center;
  margin: 64px auto;
  grid-gap: 30px;
}
.servMiniMenu {
  display: grid;
  position: fixed;
  top: calc(100vh/2);
  font-size: .8rem;
  color: #fff;
  background: #e80909;
  width: 100px;
  height: 168px;
  padding: 32px 16px 16px 36px;
  box-sizing: border-box;
  border-radius: 0 4px 4px 0;
  text-align: left;
  transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  -webkit-transition: all 0.4s ease-out;
  transform: translate(-20px, 0);
  -webkit-transform: translate(-20px, 0);
  /** Chrome & Safari **/
  -o-transform: translate(-20px, 0);
  /** Opera **/
  -moz-transform: translate(-20px, 0);
  /** Firefox **/
}
.servMiniMenu a {
  text-align: left;
  line-height: 0.9rem;
  color: #fff;
}
.servMiniMenu:hover {
  background: #1a4175;
  padding: 32px 26px 16px 26px;
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  /** Chrome & Safari **/
  -o-transform: translate(0, 0);
  /** Opera **/
  -moz-transform: translate(0, 0);
  /** Firefox **/
  cursor: pointer;
}
.priceAndService {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 48px 32px 51px 1fr 48px 48px;
  margin: 0 10px;
}
/* первая колонка */
.price,
.where,
.line,
.text,
.button {
  color: #e80909;
  font-weight: 900;
  font-size: 2rem;
}
.price span,
.where span,
.line span,
.text span,
.button span {
  font-size: 1.45rem;
}
.button {
  color: #1a4175;
}
.text {
  color: #000000e0;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.2rem;
}
.text p {
  padding: 0 0 16px 0;
}
.text b {
  font-family: "Open Sans Semibold";
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6rem;
}
.button {
  position: relative;
  z-index: 1;
  font-size: 0.75em;
  font-weight: 300;
  text-transform: uppercase;
  border: 1px solid #000000e0;
  text-align: center;
  padding-top: 16px;
  transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  width: 70%;
  /*background: @blue;*/
  /*border-radius: 32px;*/
}
.button:hover,
.button:active {
  border: 1px solid #3c64a0;
  color: #fff;
  cursor: pointer;
  /*background:@darkBlue;*/
}
.button:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 0;
  background: #1a4175;
  color: #fff;
  transition: all 0.05s ease-out;
  -moz-transition: all 0.05s ease-out;
  -o-transition: all 0.05s ease-out;
  -webkit-transition: all 0.05s ease-out;
}
.button:hover:after {
  height: 100%;
  color: #fff;
  cursor: pointer;
}
#price-3 {
  color: #1a4175;
}
#line-3,
#line-4 {
  background: #195eab;
}
/* четвёртая колонка */
#price-4 {
  color: #1a4175;
}
a#button-3,
a#button-4 {
  color: #000000e0;
}
a#button-3:link,
a#button-4:link,
a#button-3:visited,
a#button-4:visited {
  color: #000000e0;
}
a#button-3:hover,
a#button-4:hover,
a#button-3:active,
a#button-4:active {
  color: #fff;
}
/* БЛОК УСЛУГ */
/************************************************/
#serviceTextBLOCK {
  background-color: #f2f2f2;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}
#service,
#about {
  display: grid;
  grid-template-columns: 1px 1fr 480px 1px;
  grid-template-rows: 1fr;
  /*justify-items: center;*/
  /* выравнивание горизонталь*/
  /* align-self: center; - вертикаль */
  /*align-items: center;*/
  max-width: 980px;
  margin: 80px auto;
  grid-column-gap: 48px;
  justify-content: center;
}
#about {
  grid-template-columns: 1px 480px 1fr 1px;
  grid-template-areas: ". aboutUs years16 .";
  margin-bottom: 0;
}
#service {
  grid-template-areas: ". serv16 textServ .";
}
#service h2 {
  text-align: right;
}
h {
  /*
	&2 {
		color: @logoBlue;
		font-size: 3.8rem;
	}
	
	&3 {
		color: @grey;
		font-size: 2.8rem;
		padding-bottom: 32px;
	}
	*/
}
h2,
h3,
h4 {
  font-weight: 900;
  text-transform: uppercase;
}
h4 {
  font-family: "Uni Sans";
  color: #00244c;
  font-size: 2rem;
}
#portfolioBLOCK {
  background: url(/img/bg-fone-logo.jpg) center bottom no-repeat;
  background-color: #e8e8e8;
}
#portfolio {
  display: grid;
  max-width: 980px;
  width: 100%;
  margin: 32px auto 0 auto;
  padding: 16px 20px 80px 20px;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fill, 140px);
  justify-content: space-between;
  /*grid: auto-flow repeat(auto-fill, 100px);*/
}
#portfolio div {
  background: #ffffff;
}
#portfolio div:hover {
  box-shadow: 0 10px 45px 0 rgba(0, 0, 0, 0.25);
}
.title {
  display: block;
  margin: 0 auto;
  max-width: 980px;
}
.servPlitka {
  display: grid;
  position: relative;
  max-width: 980px;
  width: 100%;
  margin: 32px auto;
  /*padding: 1px 0 1px 1px;*/
  grid-gap: 2px;
  grid-template-columns: repeat(auto-fill, 160px);
  justify-content: space-between;
  line-height: 0.9rem;
  z-index: 10;
  cursor: context-menu;
  /*background: #d7d9df;*/
}
.servPlitka div {
  background: #ffffff;
  height: 160px;
  border: 1px solid #d7d9df;
  padding: 16px;
  text-align: left;
  margin: 10px;
  /*background: #00244c10;*/
}
.servPlitka div p {
  font-size: 0.75rem;
  text-transform: uppercase;
  text-align: center;
  color: #000000e0;
  /*padding-top: 10px;*/
  line-height: 1rem;
}
.servPlitka div img {
  display: block;
  width: 82px;
  height: 82px;
  margin: 0 auto;
}
.servPlitka div:hover {
  box-shadow: 0 10px 45px 0 rgba(0, 0, 0, 0.2);
  z-index: 9;
  background: #ffffff;
}
#footer {
  background: url(/img/footer.png) center bottom no-repeat;
  height: 390px;
  background-color: #f2f2f2;
}
@media screen and (max-width: 800px) {
  /* and (orientation: portrait)*/
  .text {
    font-size: 0.95rem;
  }
  .text p b {
    display: block;
    padding: 8px 0;
  }
  .redBig {
    font-size: 10rem;
    line-height: 9rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  #service,
  #about {
    grid-template-columns: 1px 1fr 440px 1px;
    grid-column-gap: 36px;
    align-items: center;
  }
}
