@import 'variables', 'mixin';

/**
 * Table of Contents:

 * 1.0 - jumbotron
	* 1.1 - jumbotron__h
	* 1.2 - jumbotron__p
	* 1.3 - jumbotron__breadcrumbs
 * 2.0 - textwidget
 */


/* 1.0  - jumbotron */
.jumbotron {
      min-height: 100px;
      margin-left: 50px !important;
      margin-right: 50px !important;
      padding: 80px 0;
      background-color: transparent;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      border-radius: 0;
      background: $primary-color;
      position: relative;

      @include media-max(1200px) {
            margin-right: 0 !important;
            margin-left: 0 !important;
      }

      &:before {
            content: "";
            @include absolute(0, 0, 0, 0);
            width: 100%;
            height: 100%;
            background: url("/wp-content/uploads/2022/05/dotted__before.png");
            background-size: contain repeat;
      }

      @include media-max(1200px) {
            min-height: 200px;
            padding: 50px 0;
      }

      .home & {
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding: 0;
            min-height: unset;
            background: none;

            &:before {
                  display: none;
            }
      }


      /* 1.1 - jumbotron__h */
      &__h {
            margin-bottom: 5px;
            text-transform: uppercase;
            font-family: 'gilroy-regular', sans-serif;
            font-weight: 400;
            font-size: 35px;

            @include media-max(1200px) {
                  margin-top: 0;
            }
      }


      /* 1.2 - jumbotron__p */
      &__p {}


      /* 1.2 - jumbotron__breadcrumbs */
      &__breadcrumbs {
            position: relative;
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
            font-size: 16px;
            margin-top: 15px;
            line-height: 18px;

            &:before {
                  content: "";
                  width: 50px;
                  height: 1px;
                  background: #000;
                  @include absolute(0, auto, 0, -80px);
                  margin-top: auto;
                  margin-bottom: auto;
            }

            &:after {
                  content: "";
                  width: 50px;
                  height: 1px;
                  background: #000;
                  @include absolute(0, -80px, 0, auto);
                  margin-bottom: auto;
                  margin-top: auto;
            }

            a {
                  color: #000;
                  @extend %link-color;
            }

            * {
                  color: inherit;
            }
      }

      /* 1.2 - jumbotron .container */
      .container {
            text-align: center;
      }


      /* 2.0 - textwidget */
      .textwidget {
            width: 100%;
      }
}