﻿
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-family: var(--title-font-family);
    font-weight: 100;
}

h1, .heading-1 {
    color: var(--primary-color);
    font-size: 2.6em;
    padding-top: 10px;
    line-height: .8;
    font-weight: 200;
}

main  h1 {
    margin-top: 1.2em;
}

h2, .heading-2 {
    color: var(--text-color);
    font-size: 1.5em;
    padding-top: 10px;
    font-weight: 300;
}

h2.hero-title {
    font-size: 2.5em;
    color: #fff;
    font-family: var(--title-font-family);
    font-weight: 100;
}

footer h3 {
    margin-top: 0;
}

h2.hero-title.text-left {
    line-height: 1.5em;
    margin-top: +190px;
}

h3, .heading-3 {
    color: var(--accent-color);
    font-size: 1.1em;
    font-weight: 300;
    margin-top: 30px;
}

.main-footer h3 {
    color: var(--text-color);
    font-weight: 400;
}

h4 {
    font-size: 1em;
    font-weight: 400;
}

h5 {
    /* font-size: 1.125em;
    text-decoration: line-through;*/
}

h6 {
    font-size: 1em;
    text-decoration: line-through;
}

p {
    line-height: 1.3;
    font-size: 1em;
    margin: 1rem 0
}

.title-1::after {
    content: '\A';
    white-space: pre;
}
.hero-slider .title-1, .top-image .title-1 {
    font-size: 3em;
    font-weight: 100;
    line-height: 1.2;
}
.hero-slider .slider-text-space p, .top-image .slider-text-space p {
    font-size: 2em;
    font-weight: 200;
}
.hero-slider .title-1, .top-image .title-1, .hero-slider .slider-text-space p, .top-image .slider-text-space p {
    font-family: var(--title-font-family);
}

@media (max-width: 768px) {
    .hero-slider .title-1 {
        font-size: 1.7em;
    }
}


.slider-text-space .cbb-button {
    margin-top: 30px;
}

.page-content {
    width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 1280px) {
    .page-content {
        max-width: 95vw;
        width: 95%;
    }

}
section.full-bg {
    margin-top: 2em;
    width: 100vw;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
}

.highlight-text {
    font-family: var(--title-font-family);
}

.highlight-text .highlight-title {
    font-size: 2.3em;
    font-weight: 100;
}

.highlight-text .highlight-description {
    font-size: 1.3em;
    font-weight: 200;
}

@media (max-width: 768px) {
    .highlight-text .highlight-title {
        font-weight: 200;
        font-size: 1.5em;
    }

    .highlight-text .highlight-description {
        font-weight: 300;
        font-size: 1em;
    }
}

.light-bg {
    background: var(--footer-color);
}

.product-box {
    width: 100%;
}



/* ==============  Angled content styles ===================== */
section.angled-content, rotated-block {
    display: block;
}

section.angled-content {
    /* width: 100vw; */
    min-height: 350px;
    overflow: hidden;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

section.angled-content.h200 {
    min-height: 280px;
}

    section.angled-content.image-left1 {
        background-position: left center;
    }

.home1 {
    background: url('/resources/images/home/section-left.jpg') center center;
}

.home2 {
    background: url('/resources/images/home/section-right.jpg');
}

.angled-content.image-right {
    background-position: center right;
}

section.angled-content.image-left1 .rotated-block {
    position: absolute;
    z-index: 1;
    width: 100%;
    min-height: 400%;
    background: var(--primary-color);
    color: #fff;
    transform: rotate(30deg);
    left: 35%;
    top: -10%;
}

section.angled-content.image-left2 .rotated-block {
    position: absolute;
    z-index: 1;
    width: 100%;
    min-height: 400%;
    background: rgba( 10, 10, 10, 0.9);
    color: var(--text-color);
    transform: rotate(30deg);
    left: 30%;
    top: -60%;
}

section.angled-content.image-right1 .rotated-block {
    position: absolute;
    z-index: 1;
    width: 100%;
    min-height: 400%;
    background: var(--footer-color);
    color: var(--text-color);
    transform: rotate(30deg);
    left: -70%;
    top: -180%;
}

section.angled-content.image-right50 .rotated-block {
    position: absolute;
    z-index: 1;
    width: 100%;
    min-height: 400%;
    background: var(--footer-color);
    color: var(--text-color);
    transform: rotate(30deg);
    left: -50%;
    top: -180%;
}

section.angled-content.image-right50 .angled-text {
    margin-left: calc( (100% - 1140px) / 2);
    margin-top: 100px;
}

    section.angled-content.image-right50.h200 .angled-text{
        margin-top: 50px;
    }

    .angled-text {
        color: #fff;
        position: relative;
        z-index: 3;
        font-family: var(--title-font-family);
        max-width: 400px;
    }

.angled-text .heading-1, .highlight-title.title-1 {
    font-size: 2.3em;
    color: var(--primary-color);
}

    .angled-text p {
        font-size: 1.5em;
        font-weight: 200;
    }
section.angled-content.image-left1 .angled-text {
    margin-top: 100px;
    left: 65%;
    max-width: 20vw;
}

section.angled-content.image-left2 .angled-text {
    top: 35%;
    left: 65%;
    max-width: 20vw;
    color: var(--text-color);
}

section.angled-content.image-right1 .angled-text {
    top: 35%;
    left: 5%;
    max-width: 20vw;
    color: var(--text-color);
}

@media (max-width: 1280px) {


    .angled-content {
        overflow:auto;
        background-repeat: no-repeat!important;
        background-position: top center!important;
        background-size: contain!important;
       
    }

    section.angled-content.image-right50 .angled-text, section.angled-content.image-left1 .angled-text {
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
    }
    .angled-text {
        display: block;
        text-align: center;
        top: 270px;
        z-index: 10;
        max-width: 90vw;
    }
    section.angled-content.image-left1 .angled-text {
        left: unset;
        top: 0;
        max-width: 90vw;
    }
    .rotated-block {
        display: none;
    }

    .bg-flip {
        transform: scaleX(-1);
    }

    .bg-flip > * {
        transform: scaleX(-1);
    }
}
/* =========== home shortcuts carousel classes ======================= */

div#homeshortcuts {
    width: 100%;
    text-align: center;
}

#homeshortcuts-carousel {
    margin-right: auto;
    margin-left: auto;
}

    #homeshortcuts-carousel div {
        text-align: center;
    }

        #homeshortcuts-carousel div img {
            margin-left: auto;
            margin-right: auto;
            width: 80px;
        }

    #homeshortcuts-carousel a, #homeshortcuts-carousel a:link, #homeshortcut-carousels a:active, #homeshortcuts-carousel a:visited {
        color: var(--text-color);
        text-decoration: none;
    }



/* ============= product related classes =============================*/

.products {
    display: table;
    max-width: 400px;
    border: 1px solid #ccc;
}

.products > div {
    display: table-row;
    height: 3em;
    text-align: center;
    vertical-align: middle;
}

.product-title {
    background: var(--primary-color);
    color: #fff;
}

.product-detail {
    padding: 5px 10px 5px 10px;
}



/* ====================== general use styles ==============================*/

.transparency-90{
    opacity: 0.95;
}

.transparency-80 {
    opacity: 0.8;
}

.gradient-90 {
    background: linear-gradient(90deg, rgba(149,3,25,1) 0%, rgba(149,3,25,0.90) 64%, transparent);
}

.top-margin-sm {
    margin-top: 2em;
}

.top-margin-md {
    margin-top: 3em;
}

.top-margin-lg {
    margin-top: 5em;
}

.bottom-margin-sm {
    margin-bottom: 2em;
}

.bottom-margin-md {
    margin-bottom: 3em;
}

.bottom-margin-lg {
    margin-top: 5em;
}
.una {
    text-align: center;
    display: block;
    line-height: 1px;
    height: 1px;
    margin: 2rem 0;
    background: #B3B04F;
}

    .una:before, .una:after {
        content: '\2021';
        font-size: 2rem;
        color: #B3B04F;
        position: absolute;
        transform: rotate(90deg);
    }

    .una:before {
        left: 0;
    }

    .una:after {
        right: 0;
    }

.hr-text {
    font-family: var(--primary-font-family);
    font-weight: 300;
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: var(--text-color);
    text-align: center;
    height: 1.5em;
    /*opacity: .5;*/
    font-size: 2em;
}

    .hr-text:before {
        content: '';
        background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(#818078), to(transparent));
        background: linear-gradient(to right, transparent, #818078, transparent);
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
    }

    .hr-text:after {
        content: attr(data-content);
        position: relative;
        display: inline-block;
        color: black;
        padding: 0 .5em;
        line-height: 1.5em;
        color: #818078;
        background-color: #ffffff;
    }

    .enlarge {
        transform: scale(1.1);
    }

    .text-box {
        background: var(--footer-color);
        padding: 40px 60px 40px 60px;
        border-top-left-radius: 60px;
        border-bottom-right-radius: 60px;
    }

.cbb-shadow {
    box-shadow: 8px 7px 12px 1px rgba(0,0,0,.575);
}

/*   link styles     */

.internal-link, .internal-link:link, .internal-link:active, .internal-link:visited {
    border-bottom: 2px solid var(--secondary-color);
    text-decoration: none;
}

    .internal-link:after {
        content: '\25BA';
        color: var(--secondary-color);
    }

    .internal-link:hover:after {
        color: var(--cbb-red);
    }
    .internal-link:hover {
        border-bottom-color: var(--cbb-red);
        text-decoration: none;
    }

    /*  css effects   */

@keyframes bounce {
    0%, 20%, 60%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    80% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }
}