/*
Theme Name: AvtoGorenc
Theme URI: https://jure.tuta.si
Author: Jure Tuta
Author URI: https://wordpress.org/
Description: Tema za AvtoGorenc
Version: 1.0
Text Domain: tutagorenc
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.
*/
a:hover {
  text-decoration: none !important;
}

p {
  text-align: justify;
}

.dark-block {
  background: #303030;
  color: white;
}

.gorenc-title {
  background: #8D0A05;
  color: white;
  padding: 3rem;
  position: relative;
  margin-top: 3rem;
  margin-left: -15px;
  margin-right: -15px;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.gorenc-title.gorenc-title-stripe-right, .gorenc-title.gorenc-title-stripe-left {
  padding: 3rem 40% 3rem 0;
  text-align: right;
}
.gorenc-title.gorenc-title-stripe-right::after, .gorenc-title.gorenc-title-stripe-left::after {
  content: " ";
  height: 100%;
  width: 30%;
  position: absolute;
  background-image: url("img/forward.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  top: 0;
  right: 0;
}
.gorenc-title.gorenc-title-stripe-left {
  padding: 3rem 0 3rem 40%;
  text-align: left;
}
.gorenc-title.gorenc-title-stripe-left::after {
  right: inherit;
  left: 0;
}

.gorenc-title2 {
  background: white;
  color: #8D0A05;
  position: relative;
  margin-bottom: 3rem;
  margin-top: 6rem;
  border-bottom: 3px solid #8D0A05;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.gorenc-title2.gorenc-title-stripe-right, .gorenc-title2.gorenc-title-stripe-left {
  padding: 0 40% 0 0;
  text-align: right;
}
.gorenc-title2.gorenc-title-stripe-right::after, .gorenc-title2.gorenc-title-stripe-left::after {
  content: " ";
  width: 30%;
  position: absolute;
  background-image: url("img/forward2.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  top: -1rem;
  bottom: -1rem;
  right: 0;
}
.gorenc-title2.gorenc-title-stripe-left {
  padding: 0 0 0 40%;
  text-align: left;
}
.gorenc-title2.gorenc-title-stripe-left::after {
  right: inherit;
  left: 0;
}

@media (min-width: 992px) {
  #front-page-menu {
    display: flex;
    height: 80vh;
    overflow: hidden;
    background-color: #8D0A05;
  }
  #front-page-menu > a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
    flex-basis: 0;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    border-left: 20px solid black;
    overflow: hidden;
    height: 160vh;
    margin-top: -40vh;
    -webkit-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    transform: rotate(20deg);
    position: relative;
  }
  #front-page-menu > a::before {
    content: " ";
    position: absolute;
    -webkit-transform: translate(0, -4px) rotate(-20deg);
    -ms-transform: translate(0, -4px) rotate(-20deg);
    transform: translate(0, -4px) rotate(-20deg);
    z-index: -1;
    background-position: center;
    background-size: auto 80vh;
    top: -25vh;
    bottom: -25vh;
    left: -25vw;
    right: -25vw;
  }
  #front-page-menu > a:first-of-type {
    border-left: none;
  }
  #front-page-menu > a:first-of-type::before {
    -webkit-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
  }
  #front-page-menu > a .overlay {
    background: rgba(0, 0, 0, 0.6);
    -webkit-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    transform: rotate(-20deg);
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    color: white;
    min-height: 66.6666666667vh;
    text-align: right;
    width: 200%;
    margin-left: -50%;
    padding-right: 50%;
    padding-bottom: 40vh;
    opacity: 0;
  }
  #front-page-menu > a .overlay2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0));
    -webkit-transform: rotate(-90deg) translateX(-168vh);
    -ms-transform: rotate(-90deg) translateX(-168vh);
    transform: rotate(-90deg) translateX(-168vh);
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    transform-origin: top left;
    color: white;
    position: absolute;
    bottom: 90%;
    font-size: 2rem;
    text-transform: uppercase;
    width: 200vh;
    height: 3em;
    text-align: center;
    opacity: 1;
    padding-top: 10%;
    padding-bottom: 30%;
  }
  #front-page-menu > a:hover {
    flex-grow: 3;
  }
  #front-page-menu > a:hover .overlay2 {
    opacity: 0;
  }
  #front-page-menu > a:hover .overlay {
    opacity: 1;
  }
}
@media (max-width: 991.98px) {
  #front-page-menu {
    display: flex;
    overflow: hidden;
    background-color: #8D0A05;
    justify-content: center;
    margin-bottom: 30px;
  }
  #front-page-menu > a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-basis: 300px;
    flex-grow: 1;
    height: 400px;
    overflow: hidden;
    position: relative;
    margin: 15px;
  }
  #front-page-menu > a::before {
    content: " ";
    position: absolute;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  #front-page-menu > a .overlay {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    z-index: 9;
    text-align: center;
  }
  #front-page-menu > a .overlay2 {
    display: none;
  }
}

/*********************************
*
* #main-menu
*
**********************************/
#top {
  background-color: white;
  margin-left: -15px;
  margin-right: -15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
#top > .col {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#top > .col a {
  display: block;
}
#top > .col #main-menu-left {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
#top > .col #main-menu-left #logo {
  max-width: 200px;
  padding: 5px;
  display: block;
  position: absolute;
  z-index: 2000;
  top: 0;
}
@media (max-width: 767.98px) {
  #top > .col #main-menu-left #logo {
    max-width: 150px;
  }
}
#top > .col #main-menu-left h1 {
  color: #8D0A05 !important;
  -moz-transition: all 1s;
  -o-transition: all 1s;
  -webkit-transition: all 1s;
  transition: all 1s;
  display: block;
  padding-left: 220px;
  font-size: 4rem;
}
@media (max-width: 575.98px) {
  #top > .col #main-menu-left h1 {
    padding-left: 170px;
    font-size: 3rem;
  }
}
#top > .col .call-us {
  -moz-transition: all 1s;
  -o-transition: all 1s;
  -webkit-transition: all 1s;
  transition: all 1s;
  background: #8D0A05;
  color: #fff !important;
  padding-top: 5px;
  text-transform: uppercase;
  display: block;
  margin: 1rem;
  position: relative;
  font-weight: bold;
  width: 300px;
  height: 60px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
@media (max-width: 1199.98px) {
  #top > .col .call-us {
    width: 200px;
  }
}
@media (max-width: 991.98px) {
  #top > .col .call-us {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10;
  }
}
#top.front-page {
  box-shadow: none;
  background-color: #8D0A05 !important;
}
#top.front-page > .col #main-menu-left h1 {
  color: white !important;
}
@media (min-width: 992px) {
  #top.front-page:not(.pop-up) > .col .call-us:not(.pop-up) {
    background: #fff !important;
    color: #8D0A05 !important;
  }
}
@media (min-width: 992px) {
  #top.pop-up .call-us {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10;
  }
}

.front-page > .row {
  justify-content: center;
  overflow: hidden;
}
.front-page > .row:first-of-type {
  min-height: auto;
  background: #8D0A05;
}
@media screen and (min-width: 992px) {
  .front-page > .row:first-of-type {
    padding: 0 15px 15px 15px;
  }
}

.post-excerpt h4 {
  color: #303030;
}
.post-excerpt .thumbnail {
  background-size: cover;
  background-position: center;
  height: 25vh;
}
.post-excerpt .entry-content {
  color: white;
}
.post-excerpt .entry-content::after {
  content: " ";
  background: #303030;
  width: calc(100% + 15px);
  height: 80%;
  position: absolute;
  left: -7.5px;
  z-index: -1;
  bottom: 0;
}

blockquote {
  color: #303030;
  background: #efefef;
  padding: 2rem;
  padding-left: 3rem;
  border-left: 3px solid #8D0A05;
  font-style: italic;
}
blockquote cite {
  color: #b0b0b0;
  font-style: normal;
  font-size: x-small;
}

footer#colophon {
  min-height: 50vh;
  background: #303030;
  color: white;
}
footer#colophon a {
  color: white !important;
}
footer#colophon a:hover {
  color: white !important;
}

@media (max-width: 768px) {
  .wp-block-cover__inner-container p.has-large-font-size {
    font-size: 30px;
  }
}
.tuta-align-self-center > div {
  align-self: center;
}

/*# sourceMappingURL=style.css.map */
