/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss 
*/


:root {
  --main-menu-color: #fff;
  --main-menu-color-hover: #b2b2b2;
  /*--main-link-color: #232634;*/
  --main-link-color: #81a326;
  /*--dropdown-menu-hover-bg: #7dc7eb;*/
  --dropdown-menu-hover-bg: #81a326;
}

body {
  font-family: 'Roboto', Helvetica, sans-serif;
}

a {
  color: #394021;
}

.bg-navmenu {
  background-color: var(--bs-dark);
  color: white;
}

.bg-footer {
  background-color: #232634;
  color: white;
}

.bg-footer a {
  color: white;
}

.bg-footer a:hover {
  color: #cbc7c7;
}
.bg-header {
	background-color: #fff;
	z-index: 20;
}

.lh-text {
  line-height: 1.2;
}
.site-header {
	/*position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
	width: 100%;*/
}

h1, .h1 {
  font-size: 1.5rem;
  color: var(--main-link-color);
  padding: 0.3rem 1rem;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  text-transform: uppercase;
}

h1::after, .h1::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 100px;
  bottom: 0;
  left: 50%;
  margin-left: -50px;
  background-color: var(--main-link-color);
}

h2, .h2 {
  font-size: 1.3rem;
  color: var(--main-link-color);
  padding: 0.3rem 1rem;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  text-transform: uppercase;
}

h2::after, .h2::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 100px;
  bottom: 0;
  left: 50%;
  margin-left: -50px;
  background-color: var(--main-link-color);
}

h3, .h3 {
  font-size: 1.2rem;
  color: var(--bs-dark);
  padding: 0.5rem 0;
}

#cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

.cookie-banner-box {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 10px 20px;
  max-width: 1200px;
  border: 1px solid #eee;
}


/* Page content */
.content {
  padding: 16px;
}

/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 60px;
}

.logo-md {
  height: 100px;
}

.logo-xs {
  width: 80px;
}

.nav-link {
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--bs-dark);
}

.navbar-nav .nav-link:hover {
	color: #0687c6;
}

.navbar-nav .nav-link.active {
  font-weight: 500;
  border: none;
  text-decoration: underline;
}
.dropdown-item {
  color: var(--bs-dark);
}

.fs-7 {
  font-size: 1rem;
}

.fs-8 {
  font-size: 0.8rem;
}

td.tdwidth {
	width: 20%;
}

#menu-item-12 .menu-item:first-child {
  padding-left: 0 !important;
}

.easy-image-gallery a img {
  border-top-right-radius: 0px !important;
  -webkit-border-top-right-radius: 0px !important;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.pt-4-5 {
  padding-top: 2rem;
}

.mt-n1 {
  margin-top: -1rem !important;
}

/* page-list */
.page-list-ext {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.page-list-ext-item {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: auto !important;
  padding: 10px 10px 50px 10px !important;
}

.page-list-ext .page-list-ext-image {
  margin: 0px !important;
  float: none !important;

}

.page-list-ext-item a {
  height: 300px;
  width: 300px;
  text-decoration: none;
}

.page-list-ext-image a:hover {
  opacity: 0.7;
}
h3.page-list-ext-title:hover {
  opacity: 0.7;
}

.page-list-ext .page-list-ext-title {
  clear: none;
  padding: 10px 0;
  position: absolute;
  bottom: 50px;
  left: 10px;
  right: 0;
  margin: 0 auto;
}

h3.page-list-ext-title a {
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0px !important;
  width: 300px;
  height: 40px;
  /*display: block;*/
  display: flex;
  text-wrap: wrap;
  justify-content: center;
  align-items: center;

}

h3.page-list-ext-title {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  margin: 0px !important;
  max-width: 300px;
  display: block;
  height: 60px;
  background-color: #0e192475;
  text-align: center !important;
  vertical-align: middle;
}

h4.page-list-ext-title {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-top: 200px !important;
  margin-left: 50px;
  max-width: 200px;
  display: block;
  border: 1px solid #fff;
  border-radius: 2px;
  padding: 5px !important;
  text-align: center !important;
  background-color: #035cb775;
}

.page-list-ext-image img {
  width: 300px !important;
  justify-content: center;
}

/* end page-list */

.card {
  border: 0;
}

.card-header {
  background-color: white;
  font-weight: bold;
  border: 0;
}

h2.card-header::after {
  height: 0;
}

.adv-min-height {
  min-height: 150px;
}

.my-link-contact:hover {
  color: var(--main-menu-color-hover) !important;
}
.my-link-viber {
	color: #5D44CE;
	font-size: 1.4rem;
}
.my-link-viber:hover {
	color: #826edd;
}

/*.my-link-telegram {
	color: #5D44CE;
	font-size: 1.4rem;
}
.my-link-telegram:hover {
	color: #826edd;
}*/

.footer-fs {
	font-size: 0.9rem;
}
#nav-main .dropdown-menu:not(.navbar .dropdown-menu.dropdown-search) {
    display: block;
  }

#nav-main .nav-item .dropdown-menu.invisible {
	visibility: visible;
}
.dropdown-menu {
	border-radius: 0!important;
}

/* Media */

@media (min-width: 992px) {
  .menu-item {
    padding: 0 12px !important;
  }

  .dropdown-menu .nav-item {
    padding: 0 !important;

  }

  .navbar-expand-lg .navbar-nav .dropdown-menu {
    /*columns: 2;*/
  }

  .navbar-nav .nav-link {
    color: var(--main-menu-color) !important;
    font-size: 0.8rem;
    font-weight: 400;
    padding: 2px 0 !important;
  }

  .navbar-nav .nav-link.active {
    color: var(--main-menu-color-hover) !important;
    font-weight: 500;
    /*border: var(--bs-primary);*/
    text-decoration: none;
    border-bottom: 1px solid;
    padding-bottom: 0px !important;
  }

  .menu-item-object-project.active a {
    color: var(--main-menu-color-hover) !important;
    font-weight: 500;
    /*border: var(--bs-primary);*/
    text-decoration: none;
    border-bottom: 1px solid;
    padding-bottom: 1px !important;
  }

  .navbar-nav .nav-link:hover {
    color: var(--main-menu-color-hover) !important;
    font-weight: 500;
    text-decoration: none;
  }
  .dropdown-item {
  	margin: 3px 0;
  }

  .dropdown-item.active {
    background-color: var(--dropdown-menu-hover-bg) !important;
  }

  .dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--dropdown-menu-hover-bg) !important;
  }

  .dropdown-item.active, .dropdown-item:hover {
    background-color: var(--dropdown-menu-hover-bg) !important;
	color:#fff;
  }

  .dropdown-toggle::after {
    /*display:none !important;*/
  }

  #menu-sidebar li {
    background-color: var(--bs-secondary);
    margin-bottom: 10px;
    padding: 10px 10px 10px 20px !important;
  }

  #menu-sidebar li a {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.8rem;
  }

  #menu-sidebar li a:hover {

    display: block;
  }

  #menu-sidebar li:hover {
    opacity: 80%;
  }

  .w-lg-75 {
    width: 75%;
  }
  .footer-fs {
	font-size: 1.1rem;
  }
  .dropdown-toggle::after {
		display:none !important;
	}
	#nav-main .nav-item .dropdown-menu {
		margin-top: 0;
		display: block;
		visibility: hidden;
		opacity: 0;
		transition: .7s;
	  }

	  #nav-main .nav-item:hover .dropdown-menu {
		visibility: visible;
		opacity: 1;
	  }
}


@media (min-width: 1200px) {

  #menu-sidebar li {
    background-color: var(--bs-secondary);
    margin-bottom: 10px;
    padding: 10px 10px 10px 20px !important;
  }

  #menu-sidebar li a {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
  }

  #menu-sidebar li a:hover {
    /*color: #011936;*/
    display: block;
  }

  #menu-sidebar li:hover {
    opacity: 80%;
  }
  .footer-fs {
	font-size: 1.2rem;
  }
}

@media (min-width: 1400px) {
  .menu-item {
    padding: 0 22px !important;
  }

  .navbar-nav .nav-link {
    color: var(--main-menu-color) !important;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 2px 0 !important;
  }
  .footer-fs {
	font-size: 1.4rem;
  }
}
