* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

body {
    line-height: 1.428571;
    font-family: $font-family-tertiary;
    margin: 0;
    position: relative;

    @include media ('>=tablet') {
        font-size: 16px;
        line-height: 1.625;
    }

    &.nav-active {
        @include media ('<=phone') {
            overflow-x: hidden;
            max-height: 100vh;
        }
    }

    main {
        padding-top: 0px;

        @include media ('>=screen-md') {
            padding-top: 110px;
        }

    }

}

a {
    @include animate(color);
    color: $base-link-color;
    text-decoration: none;

    &:hover {
        color: $base-link-hover-color;
    }
}

a.no-style {
    color: $black;
}

a.underline {
    color: $black;
    text-decoration: underline;
    font-family: $font-family-tertiary;
}

img {
    vertical-align: top;
}

.hidden {
    display: none !important;
}

.rounded {
    border-radius: 50%;
    max-width: 100px;
}

//Avatar
.avatar_wrapper{
    display: inline-block;
    position: relative;
}

.avatar_wrapper.holiday-overlay {
    img {
        opacity: .3;
    }
}

.avatar_wrapper.holiday-overlay::after  {
    content: "ON HOLIDAY";
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 80px);
    z-index: 10;
    font-weight: bold;
    font-size: 1.4em;
    color: $black;
}


.avatar_wrapper.online-icon::before  {
    position: absolute;
    border-radius: 50%;
    top: 20px;
    right: 0;
    z-index: 20;
    color: red;
    content: "◉ Offline";
}

.avatar_wrapper.online-icon.online-now::before  {
    color: green;
    content: "◉ Online";
}

.yorlab-alert {
    background-color: $pink;
    border-radius: 3px;
    box-sizing: border-box;
    color: black;
    font-size: 12px;
    font-weight: bold;
    padding: 0.6em;
    text-align: center;
    width: 100%;
}


.red {
    color: $red;
}

.blue {
    color: $blue;
}

.green {
    color: $green;
}

ul, ol, dl, p, h1, h2, h3, h4, h5, h6, address, form, table, blockquote, applet, embed, object, iframe, frameset {
  margin: 0 0 0.7em;
}
form#ftxtsearch {
    margin: 20px 0;
    position: relative;
    z-index: 1000;
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
.h {
    font-weight: 700;
    letter-spacing: 0.01em;

    i {
        font-weight: 400 !important;
    }

    &.underline {
        border-bottom: 1px solid $gray-lightest;
        margin: 40px 0 0;
        padding-bottom: 5px;
    }

}

h1 {
    @include media ('>=tablet') {
        font-size: 26px;
        line-height: 110%;
    }

    @include media ('>=desktop') {
        font-size: 32px;
    }

    @include media ('>=widernav') {
        font-size: 40px;
    }
}

h2 {
    @include media ('<=phone') {
        font-size: 22px;
        line-height: 1.1818181;
    }

    @include media ('>=tablet') {
        font-size: 22px;
        line-height: 1.1818181;
    }
}

.font-secondary {
    font-family: $font-family-secondary !important;
}

p.quote-indent {
    padding-left: 50px;
    font-size: 0.9em;
    background-image: url('../images/quote.png');
    background-repeat: no-repeat;

}

blockquote {
    position: relative;
    border: none;
    padding: 0 25px;
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.65;
    color: $brand-primary;

    @include media ('>=tablet') {
        font-size: 20px;
        padding: 0 56px;
    }

    p {
        margin: 0 0 14px;
    }

    q {
        &:before,
        &:after {
            content: '\201C';
            position: absolute;
            top: 3px;
            left: 0;
            right: auto;
            font-size: 46px;
            line-height: 1;
            color: $light-blue;

            @include media ('>=tablet') {
                top: 5px;
                left: 7px;
                right: auto;
                font-size: 61px;
            }
        }

        &:after {
            content: '\201D';
            left: auto;
            right: 0;

            @include media ('>=tablet') {
                right: 18px;
                left: auto;
            }
        }
    }

    .title {
        font: 700 15px/17px $font-family-secondary;
        display: block;
        padding: 5px 0 0;
        border-top: 1px solid #ddd;
        color: $brand-primary;

        @include media ('>=tablet') {
            font-size: 18px;
            line-height: 20px;
        }
    }
}

input[type='date'],
input[type='email'],
input[type='file'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
select,
textarea {
    background: $white;
    border: 1px solid #bbb;
    border-radius: 0;
    color: $black;
    font-family: $font-family-tertiary;
    font-size: 13px;
    height: 40px;
    outline: none;
    padding: 10px;

    &:focus {
        //border-color: $brand-secondary;
    }

}

/* button styles */
.btn, 
button, 
input[type='button'],
input[type='submit'] {
    @include animate(background border-color color);

    font: bold 12px/1.25 $font-family-secondary;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid $brand-primary;
    border-radius: 0;
    color: white;
    background-color: $brand-primary;
    transition: all 200ms;
    box-shadow: none;
    width: auto;
    max-width: 200px;
    height: auto;
    padding: 5px 15px;
    cursor: pointer;
    min-height: 34px;
    margin: 0 auto;
    //margin-right: 5px;
    line-height: 24px;
    outline: none;

    @at-root {
        a#{&},
        button#{&},
        input[type='button']#{&},
        input[type='submit']#{&} {

            &:hover {
                background-color: $brand-secondary;
                border-color: $brand-secondary;
                color: $white;
            }
        }
    }

    .fa,
    .far,
    .fas,
    .fal {
        margin-right: 10px;
        font-size: 14px;
        line-height: 20px;
    }

    .fa,
    .far,
    .fas,
    .fal,
    .text {
        display: inline-block;
        vertical-align: middle;
    }

    .fa-chevron-circle-right {
        margin: 0 0 0 8px;
    }

    /* button arrow styles */
    &.btn-arrow {
        padding: 14px 35px 14px 25px;
        min-width: 215px;
        @include media ('>=tablet') {
            min-width: 240px;
        }
        @include media ('>=desktop') {
            min-width: 280px;
        }

        .icon-right {
            position: absolute;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            margin: 0;
            @include media('>=tablet') {
                right: 25px;
            }
        }
    }

    /* button more styles */
    &.btn-more {
        min-width: 250px;
        @include media ('>=tablet') {
            min-width: 360px;
        }

        .fa,
        .fas,
        .far,
        .fal {
            margin-left: 10px;
            margin-right: 0;
        }
    }

    &.btn-contact {
        width: 100%;
        text-align: left;
        padding: 14px 30px;
        position: relative;
    }

    &.btn-prev {
        display: inline-block;
        margin: 0;
    }

    &.btn-large {
        min-height: 50px;
        padding: 14px 25px;
        @include media('>=tablet') {
            padding: 14px 40px;
        }
    }
    &.btn-wide {
        max-width: none;
    }

    &.btn-disabled {
        display: none !important;
    }

}

.btn--follow, a.btn--follow {
    cursor: pointer;
    transition: opacity .36s;
    will-change: opacity;

    &.loading {
        cursor: progress;
        opacity: 0.6;
    }
}

.btn-download {
    .fa,
    .far,
    .fas,
    .fal {
        margin-left: 10px;
        margin-right: 0;
    }
}

.btn-round, a.btn-round {
    border-radius: 40px;
}

.btn-primary, a.btn-primary {
    background-color: $brand-primary;
    border-color: $brand-primary;

    &:hover {
        background-color: $black;
        border-color: $black;
        color: $white;
    }

    &.btn-outline {
        background-color: transparent;
        border-color: $brand-primary;
        color: $brand-primary;

        &:hover {
            background-color: $brand-primary;
            border-color: $brand-primary;
            color: $white;
        }
    }
}

.btn-secondary, a.btn-secondary {
    background-color: $brand-secondary;
    border-color: $brand-secondary;

    &:hover {
        background-color: $black;
        color: $brand-secondary !important;
    }

    &.btn-outline {
        background-color: transparent;
        border: 1px solid $brand-secondary;
        color: white;
    }
}

.btn-tertiary, a.btn-tertiary {
    background-color: $brand-tertiary;
    border-color: $brand-tertiary;

    &:hover {
        background-color: $black;
        color: $brand-tertiary;
    }

    &.btn-outline {
        background-color: transparent;
        border: 1px solid $brand-tertiary;
        color: white;
    }
}

.btn-small, a.btn-small {
    max-width: 48px;

    .fa, .fas, .far, .fal {
        margin: 0;
    }

}

.btn-white, a.btn-white {
    background-color: white;
    border-color: $brand-secondary;
    color: $brand-secondary;

    &.btn-outline {
        background-color: transparent;
        border: 1px solid white;
        color: white;

        &:hover{
            background-color: white;
            color: $brand-secondary;
        }
    }
}

.btn-gray, a.btn-gray {
    background-color: $gray-lighter;
    border-color: $gray-light;
    color: $white;
}

.btn-green, a.btn-green {
    background-color: $green;
    border-color: $green;
    color: $white;

    &.btn-outline {
        background-color: transparent;
        border: 1px solid $green;
        color: $green;

        &:hover{
            background-color: $green;
            color: $white;
        }
    }
}

.btn-red, a.btn-red {
    background-color: $red;
    border-color: $red;
    color: $white;

    &.btn-outline {
        background-color: transparent;
        border: 1px solid $red;
        color: $red;

        &:hover{
            background-color: $red;
            color: $white;
        }
    }
}

.btn-yellow, a.btn-yellow {
    background-color: $yellow;
    color: $black;

    &.btn-outline {
        background-color: transparent;
        border: 1px solid $yellow;
        color: $yellow;

        &:hover{
            background-color: $yellow;
            color: $brand-primary;
        }
    }
}

.btn-black, a.btn-black {
    background-color: $black;
    border-color: $black;
    color: $white;
    font-weight: 600;

    &:hover {
        background-color: $white;
        color: $black;
    }

    &.btn-outline {
        background-color: transparent;
        border: 1px solid $black;
        color: $black;

        &:hover {
            background-color: $black;
            color: $white;
        }

    }
}

input[type="submit"],
button {
    outline: none;
}

body.woocommerce #respond input#submit, 
body.woocommerce #respond input#submit.alt, 
body.woocommerce a.button, 
body.woocommerce a.button.alt, 
body.woocommerce button.button, 
body.woocommerce button.button.alt, 
body.woocommerce input.button, 
body.woocommerce input.button.alt {
    @extend .btn;
}

.fav-link {

    svg {
        margin-right: 2px;
    }

    &:hover {
        text-decoration: none;

        span {
            text-decoration: underline;
        }
    }

}

.wpcf7-form-control-wrap {
    .wpcf7-text,
    .wpcf7-textarea {
        width: 100%;
    }
}

.popup-form-link {
    cursor: pointer;
}

iframe {
    max-width: 100%;
    width: 100%;
}

/*ul:not([class]):not([id]) {
    margin-top: 1em;
    padding: 0;
    list-style: none;

    li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 10px;

        @include media ('>=desktop') {
            padding-left: 29px;
            margin-bottom: 12px;
        }

        li {
             margin-top: 12px;
             padding-left: 29px;
             &:before {
                background: $black;
            }
        }


        &:before {
            content: '';
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: $yellow;
            left: 1px;
            top: 6px;

            @include media ('>=tablet') {
                top: 11px;
            }

            @include media ('>=desktop') {
                width: 8px;
                height: 8px;
            }
        }
    }
}
*/
.left-content {
    text-align: left;
}

.center-content {
    text-align: center;
}

.right-content {
    text-align: right;
}

.table-striped {

  tbody tr:nth-of-type(odd) {
    background-color: $gray-lightest;
  }

}

/* wrapper styles */
#wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* container styles */
.container {
    @include media('>widernav') {
        max-width: 1340px;
    }

    &.container-large {
        @include media ('>=widest') {
            max-width: 1550px;
        }
    }

    &.container-small {
        @include media('>=desktop') {
            max-width: 945px;
        }
    }
}

.no-banner {
    .page-title {
        font-size: 35px;
        font-weight: 100;
        text-align: center;
        margin-top: 80px;
        text-transform: none;
    }
}

.banner {
    height: 300px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin-bottom: 40px;


    @include media ('<desktop') {
        &.banner-pos-mob-offright {
            background-position: 30% 50% !important;
        }
        &.banner-pos-mob-right {
            background-position: 19% 50% !important;
        }
    }

    .page-title {
        text-align: center;
        color: $white;
        font-size: 22px;
        text-transform: none;
        letter-spacing: normal;
        font-family: $brand-secondary;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        background: #041946;
        margin: 0;
        padding: 16px;
        min-width: 200px;
        box-sizing: border-box;
        font-weight: 100;
        @include media ('>=tablet') {
            min-width: 370px;
            font-size: 28px;
        }
        @include media ('>=desktop') {
            padding: 16px 32px;
            font-size: 32px;
        }
    }
}

.no-margin-bottom {
    margin-bottom: -1px;
}



/* content holder styles */
.fixed-header main {
    @include media ('>=desktop') {
        margin-top: 90px !important;
    }
}

.content-holder {
    @include media ('>=tablet') {
        max-width: 690px;
        margin: 0 auto;
    }
}


section.section-padding {
    padding-top: 30px;
    padding-bottom: 30px;
    @include media('>=tablet') {
        padding-top: 40px;
        padding-bottom: 40px;
    }
/*     @include media('>=desktop') {
        padding-top: 70px;
        padding-bottom: 90px;
    } */
}
section {
    .section-title {
        text-align: center;
        font-family: $font-family-secondary;
        font-size: 22px;
        line-height: 120%;
        color: $black;
        margin: 0 0 40px 0;
        position: relative;
        @include media('>=desktop') {
            font-size: 22px;
        }
    }
}


.intro-section {
    @extend %clearfix;

    position: relative;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    min-height: 250px;

    .heading {
        @include v-align(250px, bottom);

        h1 {
            font-size: 24px;
            background: #2f3535;
            color: $white;
            min-width: 280px;
            margin: 0;
            padding: 13px 28px;

            @include media ('>=tablet') {
                font-size: 34px;
                padding: 16px 39px;
            }
        }
    }
}

// Video
.video-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    .video {
        display: block;
        position: relative;
        padding-bottom: calc(56.25% - 30px);
        padding-top: 30px;
        height: 0;
        overflow: hidden;

        iframe {
            position: absolute;
            top: 0;
            eft: 0;
            width: 100%;
            height: 100%;
        }
    }
}


// sidebar
.no-padding-top {
    padding-top: 0 !important;
}

.sidebar iframe {
    width: 100% !important;
    margin-bottom: 1em !important;
    @include media('<phone') {
        height: 280px !important;
    }
}

.sidebar-top-pad {
    padding-top: 30px;
    @include media ('>=tablet') {
        padding-top: 50px;
    }
    @include media ('>=desktop') {
        padding-top: 70px;
    }
}

.sidebar {
    h3 {
        font-size: 1.6em;
    }
}


/* post holder styles */
.post-holder {
    @include media ('>=tablet') {
        display: flex;
        flex-wrap: wrap;
        margin: 0 0 0 -12px;
    }
    @include media ('>=desktop') {
        margin: 0 0 0 -25px;
    }

    /* post styles */
    .post {
        padding: 0 0 15px;
        @include media ('>=tablet') {
            padding: 0 0 15px 12px;
            width: 33.332%;
        }
        @include media ('>=desktop') {
            padding: 0 0 15px 25px;
        }

        img {
            width: 100%;
        }

        .box {
            background: #eaeaea;

            .text-block {
                padding: 24px 15px 13px;

                @include media ('>=desktop') {
                    padding: 24px 25px 13px;
                }
            }

            h3 {
                font: 400 20px/22px $font-family-secondary;
                min-height: 22px;
                margin: 0 0 14px;

                a {
                    color: #485f6d;

                    &:hover {
                        color: $yellow;
                    }
                }
            }

            time {
                font: 700 14px/16px $font-family-secondary;
                display: block;
                color: #407d80;
                text-transform: uppercase;
                min-height: 16px;
                margin: 0 0 15px;

                @include media ('>=desktop') {
                    margin: 0 0 27px;
                }
            }

            .btn {
                display: block;
                font-size: 18px;
                line-height: 20px;
                text-align: center;
                text-transform: none;
                background: #2f3535;
                color: $white;
                border-radius: 0;
                font-weight: 400;
                padding: 10px;
                letter-spacing: .3px;

                @include media ('>=tablet') {
                    padding: 15px;
                }

                &:hover {
                    background: $yellow;
                }

                i {
                    display: inline-block;
                    vertical-align: middle;
                    //font-size: 13px;
                    margin: 0 2px;
                }
            }
        }
    }
}

/*
.pagination {
    margin: 0;
    padding: 6px 0;

        background: none;
        position: absolute;
        width: 100%;
        left: 0;
        bottom: 0;
        text-align: center;
        padding: 0;


    ul {
        @extend %listreset;
        text-align: center;
        margin: 0 auto;
        font-size: 0;
        line-height: 0;
        width: calc(100% - 100px);
        @include media('>=tablet') {
            display: inline-block;
            width: auto;
            padding: 12px 20px;
        }
    }

    li {
        display: inline-block;
        vertical-align: middle;
        margin: 0 4px;
        line-height: 100%;

        button {
            border: 0 none;
            background: none;
            display: block;
            width: 12px;
            height: 12px;
            background: transparent;
            text-indent: -99999px;
            position: relative;
            padding: 14px 12px;

            &::before {
                content: "";
                width: 16px;
                height: 16px;
                background: none;
                border: 1px solid $white;
                border-radius: 100%;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%,-50%);
                transition: all 200ms;
            }
        }

        & > button:hover::before {
            background: $white;
        }

        &.slick-active > button::before {
            background: $white;
            width: 16px;
            height: 16px;
        }
    }
}*/



.slider {
    position: relative;
    overflow: hidden;

    .slide {
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 50% 50%;

        &:after {
            @include media ('>=tablet') {
                min-height: 480px;
            }

            @include media ('>=desktop') {
                min-height: 612px;
            }
        }
    }
}



/* content section styles */
.content-section {
    margin-bottom: 20px;

    @include media ('>=tablet') {
        margin-bottom: 50px;
    }

    @include media ('>=desktop') {
        margin-bottom: 105px;
    }

    .content-holder {
        margin-bottom: 20px;

        @include media ('>=tablet') {
            margin-bottom: 45px;
        }

        @include media ('>=desktop') {
            margin-bottom: 78px;
        }

        h1 {
            text-align: center;
            font-size: 28px;

            @include media ('>=tablet') {
                font-size: 30px;
            }

            @include media ('>=desktop') {
                font-size: 34px;
                margin-bottom: 48px;
            }
        }

        .size-full {
            @include media ('>=desktop') {
                margin: 0 -170px;
                max-width: 1040px;
            }
        }

        .wp-caption {
            margin: 35px 0;

            .size-full {
                padding-bottom: 2px;
                border-bottom: 1px solid $light-blue;
            }

            .wp-caption-text {
                text-align: center;
                //font-size: 13px;
                font-family: $font-family-secondary;
                padding-top: 8px;
            }
        }
    }

    .cta {
        margin-top: 50px;

        .btn {
            @include media ('>=tablet') {
                min-width: 360px;
            }
        }
    }
}


/* Search form */
#searchform {
    text-align: center;

    .searchinput {
        width: 100%;
    }

    button {
        display: inline-block;
        padding: 0.8em 2em;
        border-radius: 0;
    }
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}


.fadeInUp {
    animation: fadeInUp 0.3s ease-in-out both;
    &:nth-child(6n-5) {
        animation-delay: 0.3s;
    }
    &:nth-child(6n-4) {
        animation-delay: 0.6s;
    }
    &:nth-child(6n-3) {
        animation-delay: 0.9s;
    }
    &:nth-child(6n-2) {
        animation-delay: 1.2s;
    }
    &:nth-child(6n-1) {
        animation-delay: 1.5s;
    }
    &:nth-child(6n) {
        animation-delay: 1.8s;
    }
}
@keyframes fadeInUp{
    0%{ opacity:0; -webkit-transform:translateY(20px) }
    100%{ opacity:1; -webkit-transform:translateY(0) }
}

@keyframes fadePopup {
    0% {
        opacity: 0; display: none;
    }
    1% {
        opacity: 0; display: block;
    }
    100% {
        opacity: 1;
    }
}

//Social share

.social-block {

    .a2a_kit {
        display: block;
        text-align: center;
        a {
            display: inline-block;
            margin-bottom: 8px;
            float: none !important;
            @include media ('>=tablet') {
                clear: left;
                display: block;
                overflow: hidden;
                padding: 4px;
                text-decoration: none;
                left: -42px;
                top: 0;
            }
        }
        line-height: 32px;
        @include media ('>=tablet') {
            position: absolute;
            top: 42px;
            left: -32px;
        }
/*        @include media ('>=widernav') {
            top: 48px;
        }*/
    }

}


// Loading spinner

/* Absolute Center Spinner */
.loading-spin {
    display: none;
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading-spin:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.4);
}

/* :not(:required) hides these rules from IE9 and below */
.loading-spin:not(:required) {
    font: 0/0;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading-spin:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    animation: spinner 1500ms infinite linear;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #d3dde7;
    width: 120px;
    height: 120px;
}


/* Animation */

@-webkit-keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

// HIDE SHOW
.small-mobile-elem {
    display: block !important;
}
.mobile-elem, .mobtab-elem {
    display: block !important;
}
.mobile-inline-elem {
    display: inline-block !important;
}
.mobtab-inline-elem {
    display: inline-block !important;
}

.nomob-elem,
.nomob-inline-elem,
.tablet-elem,
.tablet-inline-elem,
.desktop-elem,
.desktop-inline-elem,
.widescreen-elem,
.widescreen-inline-elem ,
.screen-md-elem  {
    display: none !important;
}

@include media ('>=phone') {
   .small-mobile-elem {
        display: none !important;
    }
    .nomob-elem {
        display: block !important;
    }
    .nomob-inline-elem {
        display: inline-block !important;
    }
}
@include media ('>=tablet') {
     .mobile-inline-elem {
        display: none !important;
    }
    .mobile-elem {
        display: none !important;
    }
    .tablet-elem {
        display: block !important;
    }
    .tablet-inline-elem {
        display: block !important;
    }
}
@include media ('>=desktop') {
    .mobtab-elem {
        display: none !important;
    }
    .mobtab-inline-elem {
        display: none !important;
    }
    .desktop-elem {
        display: block !important;
    }
    .desktop-inline-elem {
        display: inline-block !important;
    }
}
@include media ('>=widescreen') {
    .widescreen-elem {
        display: block !important;
    }
    .widescreen-inline-elem {
        display: inline-block !important;
    }
}

@include media ('>=screen-md') {
    .screen-md-elem {
        display: flex !important;
    }
    .hide-screen-md-elem {
        display: none !important;
    }
}

.user-logged-in {
    display: none !important;
}

.logged-in {
    .user-logged-out {
        display: none !important;
    }
    .user-logged-in {
        display: block !important;
    }
}

.select2-container--default {

    .select2-dropdown,
    .select2-selection {
        border-radius: 0;
        border: solid 1px #aaa;
        margin: 0;

        &.select2-dropdown--above {
            border-bottom: 0;
        }

        &.select2-dropdown--belowe {
            border-top: 0;
        }

        .select2-results__option {
            color: $black;

            &[aria-selected=true],
            &[data-selected=true] {
                background-color: $gray-lightest;
            }

            &.select2-results__option--highlighted[aria-selected],
            &.select2-results__option--highlighted[data-selected] {
                background-color: $brand-secondary;
            }

        }

        &:focus {
            outline: none;
        }

    }

    .select2-selection {
        height: 40px;

        .select2-selection {

            &__rendered {
                padding-bottom: 5px;
                padding-left: 10px;
                padding-top: 5px;
            }

            &__arrow {
                top: 6px;
            }

        }

    }

}

.product-search {
    position: relative;

    .product-search-results {
        position: absolute;
        left: 0;
        top: 100%;
        margin: 0;
        width: 100%;
        height: 0px;
        max-height: 300px;
        z-index: 1;
        background: $white;
        display: block;
        overflow-y: scroll;
        box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.3);

        > .container {
            padding: 0;   
        }

        .cats-container {
            background: #d6dbe2;
            padding: 1rem;

            .cats-list {
                @extend %listreset;

                li {
                    font-family: $font-family-condensed;
                    font-size: 0.875rem;
                    display: inline-block;
                    width: 48%;

                    .fa-chevron-circle-right {
                        margin-left: 4px;
                    }
                }
            }
        }

        .product {
            font-size: 0.875em;
            display: block;
            width: 100%;
            min-height: 70px;
            padding: 10px;
            border-bottom: 1px solid $gray-lightest;

            &:hover {
                background-color: $gray-lightest;
                cursor: pointer;
            }

            .image-wrapper {
                display: inline-block;
                vertical-align: top;
                width: 50px;
                height: 50px;
                margin-right: 5px;

                .image {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-direction: column;
                }
            }

            .details {
                display: inline-block;
                vertical-align: top;
                width: 60%;

                .name {
                    font-family: $font-family-primary;
                    font-weight: 600;
                    line-height: 1.2;
                    margin-bottom: 0.5rem;
                    display: block;
                }

                .sku {
                    color: $gray;
                }
            }

            &.has-image {
                .details {
                    width: calc(60% - 55px);
                }
            }

            .price {
                font-family: $font-family-primary;
                font-size: 0.75rem;
                color: #666;
                line-height: 1.2;
                text-align: right;
                float: right;
                width: 35%;

                span {
                    display: inline-block;
                    vertical-align: bottom;
                }

                .from {
                    font-size: 0.75rem;
                }

                .price-amount {
                    font-size: 1rem;
                    color: $red;
                }

                .exvat {
                    font-weight: 200;
                    display: block;
                }
            }
        }
    }

    .loading-wrap {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.breadcrumb-section {
    display: none;
}

#savequote {
    display: none;
}
