/*!
Theme Name: Gorki
Theme URI: http://underscores.me/
Author: mirek
Author URI: http://underscores.me/
Description: Description
Version: 1.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gorki
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Gorki is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.bg-dark {
  background-color: #343a40 !important;
}

.display-4 {
  font-size: 3.5rem;
}

.card {
  --bs-card-spacer-x: 1.25rem;
  --bs-card-spacer-y: 1.25rem;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1140px;
  }
}

.breadcrumb {
  padding: .75rem 1rem;
  background-color: #e9ecef;
}

.gorki-jumbotron {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #e9ecef;
  border-radius: .3rem;
}

@media (min-width: 576px) {
  .gorki-jumbotron {
    padding: 4rem 2rem;
  }
}

@media print {
  body {
    font-size: 1.2rem;
  }
  
  .border-print-0 {
    border: 0;
  }

  .page-break + page-break {
    page-break-before: always;
  }

  .card-text:last-child {
    margin-bottom: unset;
  }
}

@media (max-width: 575px) {
  .display-3 {
    font-size: 3rem;
  }
}

@media (min-width: 576px) {
  p {
    text-align: justify;
  }
}

/* mobile menu */

#sidebar-mobile {
  display: inline-block;
  position: fixed;
  top: 0;
  left: -260px;
  height: 100%;
  width: 260px;
  z-index: 101;
  overflow: auto;
  overflow-y: scroll;
  transition: left .4s ease;
}

#sidebar-mobile .nav-link {
  color: rgba(255, 255, 255, 0.5);
}

#sidebar-mobile .nav-link.active {
  color: #fff;
}

#sidebar-mobile-overlay {
  display: none;
  position: absolute;
  z-index: 100;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.mobile-menu-opened {
  position: fixed;
  top: 0;
  left: 0;
}

.mobile-menu-opened #sidebar-mobile {
  left: 0;
}

.mobile-menu-opened #sidebar-mobile-overlay {
  display: block;
}


.container {
	padding-left: 0;
	padding-right: 0;
}

ul, ol {
	padding-inline-start: 1.3rem;
}

#secondary .nav .nav,
#sidebar-mobile .nav .nav {
  padding-inline-start: 1rem;
}

#top-menu .nav-item {
  position: relative;
}

#top-menu .menu-item-has-children > .nav-link,
#secondary .menu-item-has-children > .nav-link,
#sidebar-mobile .menu-item-has-children > .nav-link {
  position: relative;
  padding-inline-end: 2.5rem;
}

#top-menu .menu-item-has-children > .nav-link::after,
#secondary .menu-item-has-children > .nav-link::after,
#sidebar-mobile .menu-item-has-children > .nav-link::after {
  content: '';
  position: absolute;
  top: calc(50% - .4rem);
  right: 1rem;
  width: .5rem;
  height: .5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

#top-menu .nav-link[aria-expanded="true"]::after,
#secondary .nav-link[aria-expanded="true"]::after,
#sidebar-mobile .nav-link[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

#top-menu .sub-menu[hidden],
#secondary .sub-menu[hidden],
#sidebar-mobile .sub-menu[hidden] {
  display: none !important;
}

#top-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 10rem;
  margin: 0;
  padding: .5rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .375rem;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

#top-menu .sub-menu .nav-link {
  color: #212529;
}

#top-menu .sub-menu .nav-link:hover,
#top-menu .sub-menu .nav-link.active {
  background: #f8f9fa;
}

@media(max-width: 575px) {
	h1, .h1 {
		font-size: 1.8rem;
	}
	h2, .h2 {
		font-size: 1.6rem;
	}
	h3, .h3 {
		font-size: 1.4rem;
	}
}