/* main css */

/* colors */
.cl-yellow {
  color: #ffff00;
}
.cl-blue {
  color: #014c8c;
}
.cl-blue-dark {
  color: #0e6fa2;
}
.cl-white {
  color: #fff;
}

.text-bold {
  font-weight: bold;
}
.text-center {
  text-align: center;
}


.site__content-content {
  margin: 20px 0 30px 0;
}


/* fix p + (ul, ol) */
.site__content-content p + ul,
.site__content-content p + ol {
  margin-top: -15px;
}

.site__content-content h2,
.site__content-content .h2 {
  text-align: center;
  font-size: 20pt;
  margin: 10px 0;
}

.img-c90 {
  display: block;
  margin: 15px auto;
  width: 90%;
  max-height: 400px;
  object-fit: cover;
  text-align: center;
}


body {
  /*! background-image: url("/assets/theme/images/bg.jpg"); */
}

h1 {
  text-align: center;
  font-size: 25pt;
  margin: 10px 0;

}
.tpl-home h1 {
  margin: 25px 0 25px 0;
}

.breadcrumb + h1 {
  margin-top: 0;
}


.site__wrap {
  background-color: #fff;
}

.site__header {
  /*! background-image: url(/assets/theme/images/bg_header.jpg); */
  /*! background-position: 50%; */
  /*! background-repeat: no-repeat; */
  /*! background-size: cover; */
  /* padding: 15px 0 15px 0; */
}

.logo {
  display: table;
  padding: 10px 10px;
  margin: auto;
}
.logo .logo__img img {
  width: 170px;
  margin: 5px 0 2px 20px;
  margin: 5px auto 2px auto;
  display: block;
}
.logo .logo__text {
  text-align: center;
  font-weight: bold;
  font-style: italic;
  color: #0e6fa2;
}
.logo > a {
  text-decoration: none;
}

.site__header .site-name,
.site__footer .site-name {
  font-size: 19pt;
  color: #0e6fa2;
  font-weight: bold;
  text-align: center;
  line-height: 24pt;
  margin: 20px 0 15px 0;
}
.site__header .site-desc,
.site__footer .site-desc {
  color: #0275d8;
  font-size: 14pt;
  line-height: 18pt;
  text-align: center;
  /*! margin: 15px 0; */
  color: #0e6fa2;
}

.site__header .tel,
.site__footer .tel {
  
}

.tel-group {
  display: table;
  margin: 15px 0;

  margin: 15px auto;
}
.tel {
  position: relative;
  font-weight: bold;
  font-size: 23pt;
  color: #0e6fa2;
  line-height: normal;
  ~margin: 0 0 0 30px;
}

/*.tel:before {
  content: "";
  background: url(/assets/theme/images/icon/tel.png);
  position: absolute;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  left: -15px;
  top: auto;
}*/

.site__header .uslugi-info {
  margin: 15px 0;
  margin: 15px auto;
  display: table;
}
.site__header .uslugi-info ul {
  margin: 0;
  padding: 0;
}
.site__header .uslugi-info ul li {
  color: #333;
  list-style: none;
  line-height: 15pt;
  font-size: 13pt;
  position: relative;
  font-weight: bold;
}
.site__header .uslugi-info ul li + li {
  margin: 3px 0 0 0;
}
.site__header .uslugi-info ul li:before {
  content: "-";
  display: inline-block;
  position: absolute;
  left: -12px;
  top: 0;
  font-weight: bold;
}

/* nav main */
.site__nav-main nav {
  display: table;
  width: 100%;
  padding: 0;
  border-radius: 3px;
  /*! background: rgba(255,255,255,.1); */
  background-color: #0e6fa2;
}
.site__nav-main .navbar-nav .nav-item {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
.site__nav-main .nav-item .nav-link {
  ~padding: 10px 15px;
  padding: 10px 20px;
  color: #fff;
}

/* level 1 */
.site__nav-main .navbar-nav {
  display: table;
  margin: auto;
}
.site__nav-main .navbar-nav > .nav-item {
  display: inline-block;
}
.site__nav-main .navbar-nav > .nav-item .nav-link {
  font-weight: bold;
}
.site__nav-main .navbar-nav > .nav-item .nav-link:hover {
  background: rgba(255,255,255,.1);
}
.site__nav-main .navbar-nav > .nav-item.active .nav-link {
  ~background: rgba(255,255,255,.15);
  ~color: #fcfc66;
  background: #1a6293;
  color: #eee;
}

.site__nav-main .nav-item.dropdown {
  padding: 0 20px 0 0;
}
.site__nav-main .nav-item.dropdown > .nav-link {
  padding-right: 4px;
}
.site__nav-main .dropdown-toggle {
  position: absolute;
  right: 5px;
  top: 7px;
  padding: 0 5px 0 6px;
  line-height: normal;
  cursor: pointer;
}
.site__nav-main .dropdown-toggle:after {
  margin: 0;
}

.site__nav-main .dropdown-menu {
  margin: 0;
  padding: 0 0 2px 0;
}

/* drop */
.site__nav-main .navbar-nav .dropdown:hover > .dropdown-menu {
  display: block;
}

/* sub */
.site__nav-main .navbar-nav > .dropdown .dropdown-menu .nav-item {
  padding-left: 5px;
}
.site__nav-main .navbar-nav > .dropdown .dropdown-menu .dropdown {
  width: 100%;
}
.site__nav-main .navbar-nav > .dropdown .dropdown-menu .dropdown-menu {
  left: 100%;
  top: 0;
}
.site__nav-main .navbar-nav > .dropdown .dropdown-menu .dropdown-item {
  padding: 5px 14px 5px 14px;
}

.site__nav-main .navbar-brand {
    color: #fff;
    font-weight: bold;
    margin-left: 10px;
}
.site__nav-main .navbar-brand:hover {
    color: #fff;
}
.site__nav-main .navbar-toggler {
    cursor: pointer;
    border-color: #7BB2D8;
    margin: 1px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.site__nav-main .navbar-toggler:hover,
.site__nav-main .navbar-toggler:focus {
    outline: 0;
    background-color: #2e7eb4;
}


.site__footer {
  /*! background: #1a4b65; */
  margin: 0 0 15px 0;
}
.site__footer .site-name {
  font-size: 20pt;
  line-height: 22pt;
}
.site__footer .site-desc {
  font-size: 13pt;
  line-height: 15pt;
}
.site__footer .logo {
  margin: auto;
}
.site__footer .uslugi-info-warn {
  text-align: center;
  line-height: 14pt;
  /*! color: rgba(255,255,255,.7); */
  font-size: 10pt;
}
.site__footer .footer__copy {
  display: table;
  width: 100%;
  text-align: center;
  /*! background-color: rgba(0,0,0,.2); */
  padding: 7px 0;
  /*! color: rgba(255,255,255,.4); */
}
.site__footer .footer__copy a {
  /*! color: rgba(255,255,255,.7); */
  color: #333;
}

/* table */
.table--price td,
.table--price th {
  border: solid 1px #333;
  text-align: left;
}
.table--price th {
  background-color: #1F81AB;
  color: #fff;
  text-align: center;
  position: relative;
}
.table--price tr:hover td {
  background: #f8f8f8;
}

/* nav left */
.site__nav-left .nav__title  {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15pt;
  padding: 10px 5px;
}
.site__nav-left nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site__nav-left nav ul li a,
.site__nav-left nav span.active {
  display: block;
  border-left: 4px solid #0e6fa2;
  margin: 0;
  padding: 10px 5px 10px 15px;
  margin: 2px 0;
  background-color: #eee;
  color: #000;
  font-style: italic;
  text-decoration: none;
  font-size: 13pt;
  line-height: 17pt;
}
.site__nav-left nav ul li a:hover {
  background-color: #ddd;
}
.site__nav-left nav .active a,
.site__nav-left nav .active a:hover,
.site__nav-left nav span.active {
  background-color: #9ec0dd;
}

.site__center-wrap {
  margin: 0 0 25px 0;
}

/* card usluga */
.card-usluga > a {
  text-decoration: none;
}
.card-usluga {
  width: 195px;
  border: solid 1px #ccc;
  padding: 10px 10px;
  text-align: center;
}
.card-usluga:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.card-usluga .card__top img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border: solid 1px #ddd;
}
.card-usluga .card__center {
  line-height: 12pt;
  min-height:  35px;
  display: block;
  margin: 10px;
  color: #333;
}
/* cards pop-uslugi */
.cards-pop-uslugi .card-usluga {
  margin: 5px;
}

/* slider pop uslugi */
.slider-pop-uslugi {
  height: 260px !important;
}
.slider-pop-uslugi .card-usluga {
  width: 195px !important;
}

/* breadcrumbs */
.breadcrumb {
  background: none;
  padding: 0;
  margin: 15px 0 5px 0;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
 padding: 0 5px;
}
.breadcrumb-item.active {
    color: #777;
}

/* pageblock */
.pageblock {
  display: table;
  width: 100%;
  margin: 25px 0;
}
.pageblock .pageblock__title {
  text-align: center;
  font-size: 20pt;
  margin: 0 0 15px 0;
}
/* page dev */
.page-in-dev {
  margin: 50px 0;
}
.page-in-dev .pageblock__top img {
  display: block;
  margin: auto;
}

/* bg icons */
/* .bg-icon--guard {
  background-image: url(/assets/theme/images/icon/guard.png);
}
.bg-icon--tool {
  background-image: url(/assets/theme/images/icon/tool.png);
}
.bg-icon--rub {
  background-image: url(/assets/theme/images/icon/rub.png);
}
.bg-icon--shop-cart {
  background-image: url(/assets/theme/images/icon/shop-cart.png);
}
.bg-icon--time {
  background-image: url(/assets/theme/images/icon/time.png);
}
.bg-icon--like {
  background-image: url(/assets/theme/images/icon/like.png);
} */


/* advantages */
.advantages ul {
  display: table;
  margin: auto;
  padding: 0;
  list-style: none;
}
.advantages ul > li {
  position: relative;
  display: table;
  margin: 20px 0;
  padding: 15px 25px 15px 65px;
  width: 100%;
  max-width: 300px;
  background: #ededed;
  background: -moz-linear-gradient(top, #ededed 0%, #fefefe 50%, #fefefe 51%, #ededed 100%);
  background: -webkit-linear-gradient(top, #ededed 0%,#fefefe 50%,#fefefe 51%,#ededed 100%);
  background: linear-gradient(to bottom, #ededed 0%,#fefefe 50%,#fefefe 51%,#ededed 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=0 );
  border: solid 1px #ddd;
  box-shadow: 0 1px 3px 0px #ddd;
  border-radius: 15px 0 15px 0;
}

.advantages ul > li:before {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  left: 10px;
  top: 0;
  bottom: 0;
  background-position: 50%;
  background-repeat: no-repeat;
}

.advantages ul > li.bg-icon--car:before {
  background-image: url(/assets/images/icon/advantages/car.jpg);
}
.advantages ul > li.bg-icon--instr:before {
  background-image: url(/assets/images/icon/advantages/instr.jpg);
}
.advantages ul > li.bg-icon--ludi:before {
  background-image: url(/assets/images/icon/advantages/ludi.jpg);
}
.advantages ul > li.bg-icon--koshel:before {
  background-image: url(/assets/images/icon/advantages/koshel.jpg);
}
.advantages ul > li.bg-icon--dogovor:before {
  background-image: url(/assets/images/icon/advantages/dogovor.jpg);
}

/* .advantages-hover {
  display: table;
  margin: 15px 0;
  background-color: rgba(0,0,0,.02);
  border: dashed 1px #ddd;
  padding: 10px;
} */

.worktime {
  text-align: center;
  margin: 10px 0;
}

/* list items */
.list-items,
.list-images {
  margin: 15px 0;
}
.list-items > ul,
.list-images > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.list-items > ul > li,
.list-images > ul > li {
  display: inline-block;
  vertical-align: top;
  min-width: 200px;
}

.list-images > ul > li img {
  width: 100%;
  object-fit: cover;
}

/* width */
.wi-2 {
  width: 48%;
}
.wi-3 {
  width: 31%;
}
.wi-4 {
  width: 23%;
}

.img-left {
  float: left;
  margin: 0 15px 5px 0;
}
.img-right {
  float: right;
  margin: 0 0 5px 15px;
}

/* images in content */
.imgs {
  text-align: center;
}
.imgs img {
  display: inline-block;
  vertical-align: top;
  margin: 5px;
  width: 100%;
  min-width: 180px;
}

.imgs-w-2 img {
  width: 45%;
}
.imgs-w-3 img {
  width: 30%;
}
.imgs-w-4 img {
  width: 22%;
}

img.img-w-1,
img.img-w-2,
img.img-w-9 {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
img.img-w-9 {
  width: 95%;
  margin-bottom: 20px;
}
img.img-w-2 {
  width: 50%;
}

/* list-images */
.list-images--flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-flow: row wrap;
}
.list-images--flex > a {
  display: flex;
  align-items: center;
  width: 150px;
  height: 180px;
  margin: 5px;
  overflow: hidden;
  border: solid 1px #999;
  background-color: #000;
  text-align: center;
}
.list-images--flex img {
  width: 100%;
}

.site__footer:before {
  content: "";
  display: block;
  height: 30px;
  background-color: #0e6fa2;
  border-radius: 3px;
}

.site__footer .logo__img img {
  margin: 0;
}
.site__footer .uslugi-info {
  text-align: center;
  font-weight: bold;
  ~margin-top: 10px;
  margin-bottom: 10px;
}


.table--spoiler .spoiler-ctrl {
  cursor: pointer;
}
.table--spoiler .spoiler-ctrl:hover {
  opacity: .8;
}
.table--spoiler th:nth-child(1) {
  width: 65%;
}
.table--spoiler tr td {
  display: none;
}
.table--spoiler.spoiler--open td {
  display: table-cell;
}
.table--spoiler .spoiler-ctrl th:last-child:after {
  content: "\203A";
  position: absolute;
  right: 20px;
  top: auto;
  font-size: 30pt;
  line-height: 18pt;
  transform: rotate(90deg);
  font-family: monospace;
}
.table--spoiler.spoiler--open .spoiler-ctrl th:last-child:after {
  content: "\2039";
}


/* uslugi list */
.uslugi-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap:wrap;
  justify-content: center;
  align-items: stretch;
  text-align: center;
}
.uslugi-list li {
  margin: 5px 5px;
  padding: 10px 15px;
  background: #ededed;
  background: -moz-linear-gradient(top, #ededed 0%, #fefefe 50%, #fefefe 51%, #ededed 100%);
  background: -webkit-linear-gradient(top, #ededed 0%,#fefefe 50%,#fefefe 51%,#ededed 100%);
  background: linear-gradient(to bottom, #ededed 0%,#fefefe 50%,#fefefe 51%,#ededed 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=0 );
  box-shadow: 0 1px 3px 0px #ddd;
  border: solid 1px #0e6fa2;
  border-radius: 15px 0 15px 0;
  border-left: solid 4px #0e6fa2;
  border-right: solid 4px #0e6fa2;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

@media (max-width: 767px) {
  .site__nav-main .navbar-nav > .nav-item {
    display: block;
  }
  .site__nav-main .navbar-nav {
    width: 100%;
  }
  .site__nav-main .navbar-nav > .nav-item > .nav-link {
    padding-left: 30px;
    padding-right: 30px;
  }
}
