/**
 * Theme Name:     krascavs
 * Author:         Oleg Dermenzhip
 * Text Domain:    krascavs
 * Description:    КрасЦАВС
 */

:root {
  --razlet-border-radius: 3px !important;
}

body {
  /*font-family: arial;*/
  font-family: "Montserrat", sans-serif;
}

@media (min-width: 1400px) {
  .main .search-tabs {
    margin-left: -2em;
    margin-right: -2em;
  }
}

@media (min-width: 1025px){body .uag-hide-desktop.uagb-google-map__wrap,body .uag-hide-desktop{display:none !important}}@media (min-width: 768px) and (max-width: 1024px){body .uag-hide-tab.uagb-google-map__wrap,body .uag-hide-tab{display:none !important}}@media (max-width: 767px){body .uag-hide-mob.uagb-google-map__wrap,body .uag-hide-mob{display:none !important}}

.main {
  background: #708191 url(img/mainback.jpg);
  background-position: 50%;
  background-size: cover;
  /*background-size: auto;*/
  background-attachment: fixed;
}
body:not(.home) .main {
  background-blend-mode: multiply;
  background-color: #454545;
}
.main h1 {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  font-weight: 600;
  line-height: 1em;
}
@media (min-width: 1200px) {
  .main h1 {
    font-size: 66px;
  }
}
.navbar.bg-dark {
  background: #004680 !important;
}
.navbar .navbar-toggler {
  border: 0;
}
.navbar .navbar-toggler:focus {
  box-shadow: none;
}
.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28152, 190, 38, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.transparent {
  color: #fff;
}
.transparent a {
  color: #fff;
  text-decoration: underline;
}
.transparent a:hover {
  text-decoration: none;
}

.home .wp-block-uagb-tabs {
  margin-left: -2rem;
  margin-right: -2rem;
}
.home .uagb-tabs__body-wrap {
  background: #fff;
  border: 0 !important;
}
.home .uagb-tabs__panel {
  margin-right: 0 !important;
}
.home .uagb-tab {
  margin: 0 1px 0 0 !important;
  background: #00000057;
  color: #fff;
  flex: 1 1 auto !important;
  border: 1px solid transparent !important;
}
.home .uagb-tab:hover {
  border: 1px solid #fff !important;
}
.home .uagb-tab a {
  text-decoration: none;
  display: block !important;
  width: 100%;
  text-align: center;
  padding: 10px 12px !important;
}
.home .uagb-tabs__active {
  background: #fff;
  color: #000;
}

@media (max-width: 767px) {
  .home .wp-block-uagb-tabs {
    margin-left: 0;
    margin-right: 0;
  }
  .uagb-tabs__wrap.uagb-tabs__stack1-mobile ul.uagb-tabs__panel .uagb-tab, .uagb-tabs__wrap.uagb-tabs__stack2-mobile ul.uagb-tabs__panel .uagb-tab, .uagb-tabs__wrap.uagb-tabs__stack3-mobile ul.uagb-tabs__panel .uagb-tab, .uagb-tabs__wrap.uagb-tabs__stack4-mobile ul.uagb-tabs__panel .uagb-tab {
    width: inherit;
  }
  .uagb-tabs__wrap.uagb-tabs__stack1-mobile ul.uagb-tabs__panel {
    flex-direction: row !important;
    flex-wrap: wrap;
  }
}

#navbarHeader ul {
  list-style: none;
}
#navbarHeader ul a {
  color: #fff;
  text-decoration: underline;
}
#navbarHeader ul a:hover {
  text-decoration: none;
}

footer .info {
  font-size: 13px;
  color: #897D81;
}
footer .logo {
  margin-bottom: 6px;
}

.tel:before {
  display: inline-block;
  content: " ";
  width: 7px;
  height: 17px;
  background: url(img/tel.png);
  margin-right: 5px;
  position: relative;
  top: 1px;
}
.tel {
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
}
header .tel {
  color: #fff;
}
.tel span {
  color: #99BF27;
}
.tel:hover {
  color: #99BF27;
}

.wp-block-table td, .wp-block-table th {
  border: none;
}
.wp-block-table tr {
  border-color: #e3e3e3;
}

footer .social {
  display: flex;
  column-gap: 0.5em;
}
footer .social figure {
  margin: 0;
}
footer ul {
  list-style: none;
  padding-left: 0;
}

.home .text-white a {
  color: #fff;
}

.shadow-cavs {
  box-shadow: 0px 0px 18px 0px rgba(161,199,218,.3);
}

.header_pane {
  color: #fff;
}
.header_pane a {
  color: #fff;
}
.header_pane .breadcrumbs {
  margin-bottom: 1em;
}
.header_pane h1 {
  font-size: 1.5rem;
  font-weight: normal;
}
.header_pane p {
  margin-bottom: 0;
}


/* bootstrap form */
.form-label {
  color: #897d81;
  font-size: 0.9em;
  font-weight: 400;
  margin-bottom: 0;
}
.form-control, .form-select {
  border-radius: 3px;
  padding: 0.6em 1em;
}
.form-control:focus, .form-select:focus {
  border-color: #999c9f;
  outline: 0;
  box-shadow: none;
}
.form-text a {
  font-family: arial;
  text-decoration: underline dotted;
  color: #897D81;
  font-size: 0.8em;
  white-space: nowrap;
}
.btn {
  width: 100%;
  border-radius: 3px;
}
.btn-primary {
  background: #98BE26;
  border-color: #98BE26;
  padding: 0.7em 1em;
}

/* адреса офисов */
.office_circle {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fafafa;
}
.office_circle.avia {
  background: #6FBFAA;
}
.office_circle.zjd {
  background: #BB91BD;
}
.office_circle.avto {
  background: #FDCB02;
}
.office_circle.river {
  background: #008BFF;
}
.officies .d-table-row {
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
}
.officies small {
  color: #897D81;
  font-size: 0.75em;
}
.officies table tr:last-child td {
  border: 0;
}
.officies .table tr th {
  border: 0;
  padding-bottom: 2em;
}
.officies .circle-cell {
  text-align: center;
  vertical-align: middle;
  min-width: 65px;
}

.wp-block-uagb-image--align-left {
  float: left;
}