﻿
/** @editor */
a.link-button {
    padding: 5px 20px;
    text-transform: uppercase;
    border: solid 1px #171717;
    text-decoration: none !important;
    color: #171717 !important;
}

/** @editor */
a.link-button-white {
    padding: 5px 20px;
    text-transform: uppercase;
    border: solid 1px #fff;
    text-decoration: none !important;
    color: #fff !important;
}

/** @editor */
a.link-button-red-rounded {
    border: none;
    background-color: #b11f25;
    color: #fff !important;
    padding: 7.5px 25px;
    border-radius: 500px;
    text-transform: uppercase;
    text-decoration: none;
}

/** @editor */
span.white-text {
    color: #fff;
}

/** @editor */
span.uppercase {
    text-transform: uppercase;
}

/** @editor */
span.red-text {
    color: rgb(177, 31, 36);
}

/** @editor */
a.red-text {
    color: rgb(177, 31, 36);
}

/** @editor */
div.spacer {
    display: block;
    width: 100%;
    height: 20px;
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}

/** @editor */
div.spacer-md {
    display: block;
    width: 100%;
    height: 50px;
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}

/** @editor */
div.spacer-lg {
    display: block;
    width: 100%;
    height: 100px;
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}

/** @editor */
p.section-header {
    color: #b11f25;
    text-transform: uppercase;
    font-size: 1.6666666666666665rem;
    line-height: 2.3;
    border-bottom: solid 1px #c4c4c4;
    font-weight: 600;
    margin: 16px 0;
}

/** @editor */
p.title-with-underbar {
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.75rem;
    text-align: center;
    margin: 0 0 40px 0;
}

    p.title-with-underbar:after {
        content: ' ';
        display: block;
        background-color: #000;
        position: absolute;
        bottom: -20px;
        left: calc(50% - 65px);
        width: 130px;
        height: 1px;
    }

/** category banner styles */

/** @column */
[class*='col-'].banner-text {
    padding-right: 90px !important;
    padding-top: 10px;
}

@media only screen and (max-width : 767px) {
    [class*='col-'].banner-text {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

.banner-text h3 {
    color: #fff;
    font-size: 34px;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
}

@media only screen and (max-width : 500px) {
    .banner-text h3 {
        font-size: 30px;
    }
}


.banner > .row {
    height: 370px;
    overflow: hidden;
}

/** @column */
div.fixed-height-730 {
    height: 732px !important;
}


/** @column */
div.fixed-height-600 {
    height: 600px !important;
}

/** @column */
div.rounded-box {
    position: relative;
    border: solid 1px #a8a8a8;
    border-radius: 15px;
    padding: 45px 25px 35px 25px;
}

/** @column */
div.zoomable-images {
    cursor: zoom-in;
}

/** @column */
div.no-zoomable-images {
    cursor: default;
}


/* tabular content styles */

/** @column */
div.tabular__row {
    display: flex;
}

/** @column */
div.tabular__column {
    border-style: solid;
    border-color: #a8a8a8;
    border-width: 0 1px 1px 0;
    color: #707070;
    font-size: 0.8333333333333333rem;
}

.tabular__column:first-child {
    border-left-width: 1px;
}

.row:first-child > .tabular__column {
    border-top-width: 1px;
}

div.tabular__row:first-child .tabular__caption {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

div.tabular__row:first-child .tabular__column:first-child {
    border-top-left-radius: 15px;
}

div.tabular__row:first-child .tabular__column:last-child {
    border-top-right-radius: 15px;
}

div.tabular__row:last-child .tabular__column:first-child {
    border-bottom-left-radius: 15px;
}

div.tabular__row:last-child .tabular__column:last-child {
    border-bottom-right-radius: 15px;
}

.related__product img {
    border: solid 1px gray;
}

.full-bleed .tabular__column {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/** @editor */
p.tabular__caption {
    background-color: #707070;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 0.8680555555555556rem;
    padding: 9px;
    margin: 0;
    border: solid 1px #707070 !important;
}

/** @editor */
p.tabular__header {
    background-color: rgba(112, 112, 112, .3);
    color: #b11f25;
    text-align: center;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 0.8680555555555556rem;
    padding: 10px;
    margin: 0;
}

.tabular__caption,
.tabular__header {
    position: relative;
    left: -30px;
    width: calc(100% + 60px);
}

@media only screen and (max-width : 767px) {
    div.tabular__row {
        display: block;
    }

    div.tabular__column {
        border-left-width: 1px;
    }
}


/* card template styles */

.card-tmpl {
    display: flex;
    flex-wrap: wrap;
}

.card-tmpl__card {
    cursor: pointer;
    width: 30%;
    margin: 1.5%;
    margin-bottom: 2.5%;
    background: #d9d9d9;
    border-radius: 15px;
    overflow: hidden;
}

.card-tmpl__card-title {
    line-height: 1.4em;
    color: #000;
    font-size: .85rem;
    font-weight: bold;
    padding: 20px 25px;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

@media only screen and (max-width : 750px) {
    .card-tmpl__card {
        width: 46%;
    }
}

@media only screen and (max-width : 500px) {
    .card-tmpl__card {
        width: 100%;
    }
}



.product-card-tmpl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 0;
    padding: 0 20px;
}

    .product-card-tmpl::after {
        content: "";
        width: 28%;
        height: 1px;
    }

.product-card-tmpl__card {
    position: relative;
    width: 28%;
    border-radius: 15px;
    box-shadow: 0px 0px 15px -4px rgba(0,0,0,0.85);
    margin-bottom: 50px;
    padding-bottom: 10px;
    overflow: hidden;
}

    .product-card-tmpl__thumbnail,
    .product-card-tmpl__card > .dms-media {
        width: calc(100% - 60px);
        margin: 20px auto;
    }

.product-card-tmpl__caption {
    text-align: center;
    padding: 0 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-size: .85rem;
    line-height: 1.3;
}

.product-card-tmpl__description {
    text-align: center;
    padding: 0 25px;
    color: #444;
    font-size: .7rem;
}



.product-card-tmpl--circles {
    justify-content: center;
}

    .product-card-tmpl--circles::after {
        display: none;
    }

    .product-card-tmpl--circles .product-card-tmpl__card {
        width: 175px !important;
        height: 175px !important;
        border-radius: 50%;
        margin: 40px;
    }

        .product-card-tmpl--circles .product-card-tmpl__card:not(:last-child):after {
            content: url('../Images/circle-card-arrow.png');
            position: absolute;
            right: -54.5px; /* margin + 14.5px */
            top: calc(50% - 14.5px);
        }

        .product-card-tmpl--circles .product-card-tmpl__card > .dms-media {
            width: 90px;
            margin: 10px auto 0 auto;
        }

    .product-card-tmpl--circles.breakpoint-766 .product-card-tmpl__card {
        overflow: visible;
    }

@media only screen and (max-width : 750px) {
    .product-card-tmpl__card {
        width: 46%;
    }

    .product-card-tmpl::after {
        width: 46%;
    }
}

@media only screen and (max-width : 500px) {
    .product-card-tmpl__card {
        width: 100%;
    }

    .product-card-tmpl::after {
        width: 100%;
    }
}



/* anchors with icons styles */

.tabular__column a[href$=".pdf" i],
.tabular__column a[href*="vimeo" i],
.tabular__column a[href$=".dxf" i],
.tabular__column a[href$=".dwg" i],
.tabular__column a[href$=".xlsx" i],
.tabular__column a[href$=".docx" i] {
    position: relative;
    display: inline-block;
    padding-left: 40px;
    padding-top: 4px;
    min-height: 32px;
}

    .tabular__column a[href$=".pdf" i]:before,
    .tabular__column a[href*="vimeo" i]:before,
    .tabular__column a[href$=".dxf" i]:before,
    .tabular__column a[href$=".dwg" i]:before,
    .tabular__column a[href$=".xlsx" i]:before,
    .tabular__column a[href$=".docx" i]:before {
        content: '';
        position: absolute;
        top: calc(50% - 16px);
        left: 0;
        width: 32px;
        height: 32px;
        background-size: cover;
    }

    .tabular__column a[href$=".pdf" i]:before {
        background-image: url(../Images/MediaIcons/drawer_pdf.png);
    }

    .tabular__column a[href*="vimeo" i]:before {
        background-image: url(../Images/MediaIcons/drawer_mp4.png);
    }

    .tabular__column a[href$=".dxf" i]:before,
    .tabular__column a[href$=".dwg" i]:before {
        background-image: url(../Images/MediaIcons/drawer_dwg.png);
    }

    .tabular__column a[href$=".xlsx" i]:before {
        background-image: url(../Images/MediaIcons/drawer_xlsx.png);
    }

    .tabular__column a[href$=".docx" i]:before {
        background-image: url(../Images/MediaIcons/drawer_docx.png);
    }





/* in-editor styles */


.cke_show_blocks div[class^='spacer'] {
    margin-bottom: 5px;
}

    .cke_show_blocks div[class^='spacer']:after {
        content: 'Spacer';
        background: #fff url('http://dms.channelready.com/Assets/Images/snippet-bg.png') !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: center;
    }

.cke_show_blocks .product-card-tmpl--circles .product-card-tmpl__card {
    padding-top: 0 !important;
}

/* Disable preview in the style dropdown */
a[onclick*=CKEDITOR] p,
a[onclick*=CKEDITOR] span,
a[onclick*=CKEDITOR] button,
a[onclick*=CKEDITOR] div,
a[onclick*=CKEDITOR] h1,
a[onclick*=CKEDITOR] h2,
a[onclick*=CKEDITOR] h3,
a[onclick*=CKEDITOR] h4 {
    position: relative !important;
    color: #444 !important;
    font-size: 1em !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    height: 1em !important;
    line-height: 1em !important;
    text-align: left !important;
    left: 0;
    width: auto;
}

    a[onclick*=CKEDITOR] button:after {
        content: ' ' !important;
    }
