/*
 Theme Name:   Cosgrove Child
 Theme URI:    http://themeforest.net/user/VictorThemes
 Description:  Cosgrove Child Theme
 Author:       VictorThemes
 Author URI:   http://themeforest.net/user/VictorThemes/portfolio
 Template:     cosgrove
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, theme-options, translation-ready
 Text Domain:  cosgrove-child
*/

/* Write Custom CSS */

/* Language Switcher — rendered as a native menu dropdown (.dropdown-list).
   It inherits the theme's menu link + dropdown styling; only minor tweaks here. */
.navigation > li.csgve-lang-switcher > a {
  text-transform: uppercase;
}
.navigation > li.csgve-lang-switcher .dropdown-nav {
  min-width: 160px;
}
.main-title-block {
  font-size: 36px !important;
}
.main-title-block,
.main-text-block {
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.44), 0px 3px 2px rgba(0, 0, 0, 0.21), 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.wpcf7-not-valid-tip {
  font-size: 12px;
  position: relative;
  top: -11px;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  margin-top: 8px;
  border-width: 0.8px;
  font-size: 12px;
}
.main-banner  .vc_parallax-inner {
  background-position: 0 43% !important;
}
@media (max-width: 767px) {
  .main-banner .vc_parallax-inner {
    background-position: 50% 0 !important;
  }
  .form-main-block .wpb_row.vc_inner {
    padding-top: 15px !important;
    padding-right: 0px !important;
    padding-bottom: 15px !important;
    padding-left: 0px !important;
    background-color: #3d2a22 !important;
    border-radius: 0 !important;
  }
  .form-main-block .vc_column-inner {
    padding-top: 0 !important;
  }
  .form-main-block .wpb_content_element {
    margin-bottom: 15px !important;
  }
  .form-main-block .vc_custom_heading {
    font-size: 28px !important;
  }
  .form-main-block .wpb_text_column p {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
}
.navigation {
  display: flex;
  align-items: center;
}
.csgve-lang-switcher {
  position: relative;
}
.csgve-lang-switcher:after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 9L12 16L5 9' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  width: 20px;
  height: 20px;
  background-size: contain;
}
.csgve-lang-switcher .dropdown-toggle {
  background: #c57858;
  padding: 8px 16px;
  padding-right: 16px;
  color: #fff;
  padding-right: 28px;
}
.csgve-lang-switcher .dropdown-toggle:hover   {
  color: #fff;
}
.csgve-lang-switcher:hover:after {
  transform: translateY(-50%) scaleY(-1);
}
.mean-container .mean-nav ul li a.dropdown-toggle {
  padding-left: 16px;
  color: #fff;
}
.accordion {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border: unset;
  border-radius: 0;
  background: transparent !important;
}
.accordion .card-header a {
  font-weight: 500 !important;
}
.card-header a::after {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12H4' stroke='%23c57858' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-size: 17px 17px;

}
.card-header a.collapsed::after {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.9998 4L11.9998 20' stroke='%23c57858' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3Cpath d='M19.9998 12L3.99976 12' stroke='%23c57858' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-size: 17px 17px;
}
.accordion .card {

  background: #faf4e8;
}
.accordion > .card:not(:last-of-type), .card {
  border-color: rgba(197,120,88,.5) !important;
}
.card-body {
  border-top: unset !important;
  padding-top: 0;
}
@media (max-width: 1199px) {
  .navigation {
    display: block;
  }
  .mean-container .mean-nav ul li a.dropdown-toggle{
    background: #c57858 !important;
    padding-left: 16px !important;
    color: #fff !important;
  }
  .mean-container .mean-nav ul li a.mean-expand {
    background: #c57858 !important;
    color: #fff !important;
    border-left: 1.5px solid rgba(255,255,255,.5) !important;
  }
  .navigation > li.csgve-lang-switcher .dropdown-nav {
    border: 1px solid #c57858 !important;
    border-radius: 0 !important;
  }
  .mean-container .mean-nav ul li a.dropdown-toggle:hover   {
    color: #fff !important;
    background: #c57858 !important;
  }
}
@media screen and (max-width: 860px) {
  .accordion {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(1, 100%);
  }
  .accordion-col:not(:first-child) {
    border-top: 1px solid rgba(197,120,88,.5) !important;
  }
}
@media screen and (max-width: 479px) {
  .csgve-logo {
    width: 64px;
    padding: 0;
  }
}
@media (min-width: 1199.98px) {
  .mobile-logo {
    display: none !important;
  }

}

/**/

.history {
  padding: 90px 0;
  background: #fff;
}

.history__wrapper {
  max-width: 900px;
}

.history__year {
  display: inline-flex;
  align-items: center;
  gap: 15px;

  margin-bottom: 18px;

  color: #c27b52;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.history__year::after {
  content: "";
  width: 60px;
  height: 2px;
  background: #c27b52;
}

.history__title {
  margin: 0 0 30px;

  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  color: #2b2b2b;
}

.history__text {
  margin: 0 0 22px;

  font-size: 18px;
  line-height: 1.8;
  color: #666;
}

.history__text:last-child {
  margin-bottom: 0;
}
.widget-opening-hours .valuable-status-item {
  padding: 16px 25px;
}
.valuable-status-item {
  color: #333333;
}
.csgve-overlay-pattern {
  background: #faf4e8;
  border: 1px solid rgba(197,120,88,.5) !important;
  border-radius: 6px;
}
.csgve-widget .widget-opening-hours .valuable-status-item .status-title {
  padding-bottom: 10px;
  font-weight: 500;
  z-index: 1;
  position: relative;
  font-size: 16px;
}
.valuable-status-item ul li {
  padding: 0;
  gap: 4px;
  border-bottom: 1px solid rgba(225, 225, 225, 0.15);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px !important;
  line-height: 1.2;
}
.valuable-status-item ul li:not(:last-child) {
  margin-bottom: 3px;
}
.csgve-widget.widget-emergency {
  padding: 16px 25px;
  background: #faf4e8;
  border: 1px solid rgba(197,120,88,.5) !important;
}
.csgve-widget.widget-emergency .csgve-icon {
  float: left;
  padding: 3px 13px 0 0;
}
.csgve-widget.widget-emergency .csgve-icon i {
  font-size: 26px;
  color: #8e5740;
}
.csgve-widget.widget-emergency {
  color: #8e5740;
}
.csgve-widget.widget-emergency a {
  color: #8e5740;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
}
@media (max-width: 768px) {

  .history {
    padding: 60px 0;
  }

  .history__title {
    font-size: 34px;
  }

  .history__text {
    font-size: 16px;
    line-height: 1.7;
  }

}