/*----------------------------------
TABLE OF CONTENTS:
------------------------------------
1 - Variables
2 - Layout & Containers
3 - Typography & Headings
4 - Forms & Inputs
5 - Components & Utilities
----------------------------------*/

/* ----------------------------------
1 - Variables
----------------------------------*/
:root {
    --heading-color: #283346;
    --text-muted: #686f8a;
    --primary-hover: #7dcd8c;
    --border-color: #e0e4f6;
    --input-bg: #f4f5fb;
    --input-text: #9fa4bb;
    --placeholder-color: #9292b4;
    --pre-border-color: #d1d1d1;
    --code-bg: #e8e8e8;
    --success-text: #1F8E23;
    --error-bg: #ffeded;
    --error-border: red;
    --screen-reader-focus-bg: #f1f1f1;
    --screen-reader-focus-text: #21759b;
    --shadow-inset: #dfe2f0;
    --shadow-color: rgba(192, 196, 215, 0.25);
}
/* ----------------------------------
2 - Layout & Containers
----------------------------------*/
.cont {
    width: auto;
    padding: 0 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.cont-inner {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

.overflow-hidden {
    overflow: hidden;
}

.main-cont {
    padding-top: 0;
    padding-bottom: 50px;
    position: relative;

    .wishlist-empty {
        margin: 0 0 5px;
        text-align: center;
        color: var(--text-muted);
    }
}

.pagecont {
    box-shadow: inset 0 -4px 0 0 var(--shadow-inset), 0 10px 20px 0 var(--shadow-color);
    background: var(--secondary-color);
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.page-cont {
    background-color: var(--secondary-color);
    position: relative;
    padding: 30px 40px;
    font-size: 15px;
    border-radius: 20px;
    box-shadow: 0 4px 8px 0 var(--shadow-light);
    margin-bottom: 30px;

    &:after {
        content: '';
        display: block;
        clear: both;
    }

    a {
        color: var(--third-color);
        text-decoration: none;
        transition: all 0.2s;
    }

    p {
        margin-bottom: 20px;
    }

    h2, h3 {
        font-size: 20px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        color: var(--base-text-color);
    }

    table.shop_table {
        font-size: 15px;
        border: 1px solid var(--border-color);
        margin: 0 0 24px 0;
        border-radius: 3px;

        td {
            border-top: 1px solid var(--border-color);
        }
    }

    form .form-row {
        padding: 0;
    }

    legend {
        line-height: 2;
        font-weight: 700;
        margin-top: 10px;
        display: inline-block;
    }
}

.page-cont-confirm {
    background: var(--secondary-color);
    position: relative;
    z-index: 2;
    padding: 45px 50px 30px;
    font-size: 15px;
}

/* Width Variants */
.width-normal {
    .row-wrap-full {
        padding-left: 0;
        padding-right: 0;
        position: relative;
    }

    .row-wrap-container,
    .row-wrap-boxed {
        position: relative;
        padding-left: 0;
        padding-right: 0;
        width: auto;
    }

    .row-full .cont-sections,
    .row-wrap-container .cont-sections,
    .row-wrap-boxed .cont-sections {
        position: relative;
        right: auto;
        top: auto;
        background: transparent;
        max-width: initial;
        padding: 0;

        li {
            margin: 0 40px 24px 0;
        }
    }

    .row-wrap-container h1,
    .row-wrap-boxed h1 {
        padding: 0;
        text-transform: none;
        margin: 0 0 45px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        color: var(--heading-color);

        span {
            background: transparent;
            letter-spacing: 0;
            display: block;
            line-height: 100%;
            padding: 0;
        }
    }

    .row-wrap-container .page-cont,
    .row-wrap-boxed .page-cont {
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background-color: var(--secondary-color);
    }
}

.width-full {
    .row-boxed .cont-sections {
        position: relative;
        right: auto;
        top: auto;
        background: transparent;
        max-width: initial;
        padding: 0;

        li {
            margin: 0 40px 24px 0;
        }
    }

    .row-wrap-full,
    .row-wrap-container {
        position: relative;
    }

    .row-wrap-boxed {
        position: relative;
        margin-bottom: 70px;
    }

    .row-wrap-ttl {
        position: relative;
        z-index: 2;
        padding: 0 0 0 65px;
        margin: 0 0 5px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 45px;
        color: var(--heading-color);
        line-height: 1.1;

        &:after {
            content: '';
            display: block;
            height: 6px;
            background-color: var(--heading-color);
            width: 40px;
            position: absolute;
            left: 0;
            bottom: 8px;
        }
    }
}

/* ----------------------------------
3 - Typography & Headings
----------------------------------*/
.site-content .main-cont-ttl {
    position: relative;
    padding-top: 15px;
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 35px;
    color: var(--base-text-color);
    line-height: 1.1;
}

.main-cont-ttl:after {
    content: '';
    display: none;
    height: 6px;
    background-color: var(--base-text-color);
    width: 40px;
    position: absolute;
    left: 0;
    bottom: 8px;
}

.maincont-subttl {
    font-size: 15px;
    font-weight: 700;
    color: var(--third-color);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    padding: 0 0 0 63px;
    margin: 0 0 8px;
}

.page-styling {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 400;

    a {
        color: var(--third-color);
        text-decoration: none;
        transition: all 0.2s;
        border-bottom: 1px solid transparent;

        &:active,
        &:hover {
            text-decoration: none;
        }
    }

    p {
        margin-bottom: 20px;
        line-height: 180%;
    }

    h1, h3, h4, h5, h6 {
        margin-bottom: 24px;
        font-family: 'Open Sans', sans-serif;
        font-weight: 700;
        color: var(--base-text-color);
    }

    h1 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 45px;
        color: var(--heading-color);
        line-height: 1.1;
        margin: 0 0 24px;
        width: auto;
    }

    h2 { font-size: 30px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; }

    strong, b {
        color: var(--heading-color);
    }

    li {
        padding: 0;
        line-height: 190%;

        > ul, > ol {
            margin: 0 0 0 18px;
        }
    }

    ol {
        list-style-type: decimal;
        margin: 0 0 24px 18px;
        padding: 0;

        li {
            position: relative;
            padding: 0;
            line-height: 190%;
        }
    }

    address {
        margin: 0 0 24px;
        line-height: 190%;
    }

    code {
        background-color: var(--code-bg);
        padding: 2px 4px;
        color: var(--heading-color);
        font-family: Inconsolata, monospace;
    }

    pre {
        border: 1px solid var(--pre-border-color);
        font-size: 16px;
        line-height: 1.42857143;
        margin: 0 0 28px;
        max-width: 100%;
        overflow: auto;
        padding: 20px;
        white-space: pre-wrap;
        word-wrap: break-word;
        font-family: Inconsolata, monospace;
        color: var(--heading-color);
    }

    mark, ins {
        background: var(--third-color);
        color: var(--secondary-color);
        padding: 2px 4px;
        text-decoration: none;
    }

    sup { vertical-align: super; font-size: smaller; }
    sub { vertical-align: sub; font-size: smaller; }

    blockquote {
        padding: 26px 40px 10px;
        margin: 0 auto 28px;
        overflow: hidden;
        font-style: italic;
        font-weight: 700;
        text-align: center;
        max-width: 800px;
        position: relative;
        line-height: 190%;

        &:before, &:after {
            position: absolute;
            content: '';
            height: 3px;
            border-top: 1px solid var(--third-color);
            border-bottom: 1px solid var(--third-color);
            left: 50%;
            width: 40px;
            margin: 0 0 0 -20px;
            display: block;
        }

        &:before { top: 3px; }
        &:after { bottom: 3px; }

        p {
            margin-bottom: 20px !important;
            color: var(--heading-color);
        }
    }

    cite {
        font-style: italic;
        color: var(--heading-color);
        font-weight: 700;
    }

    dl { margin: 0 0 24px; line-height: 190%; }
    dt { font-weight: 700; color: var(--heading-color); line-height: 190%; }
    dd { margin: 0 0 24px; line-height: 190%; }

    table, th, td {
        border: 1px solid var(--border-color);
        line-height: 190%;
    }

    table {
        border-collapse: collapse;
        border-spacing: 0;
        border-width: 1px 0 0 1px;
        margin: 0 0 28px;
        table-layout: fixed;
        width: 100%;
        color: var(--heading-color);
        border-radius: 3px;

        &.shop_table {
            font-size: 15px;
            border: 1px solid var(--border-color);
            margin: 0 0 24px 0;
            border-radius: 3px;

            td {
                border-top: 1px solid var(--border-color);
            }
        }
    }

    caption, th, td {
        font-weight: normal;
        text-align: left;
    }

    th, td {
        border-width: 0 1px 1px 0;
        padding: 10px 15px;
    }

    th { font-weight: 700; }

    form .form-row {
        padding: 0;
    }

    legend {
        line-height: 2;
        font-weight: 700;
        margin-top: 10px;
        display: inline-block;
    }
}

.page-styling-pending-orders {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 400;
}

/* ----------------------------------
4 - Forms & Inputs
----------------------------------*/
/* Shared styles for inputs in page-cont and page-styling */
.page-cont,
.page-styling {
    textarea,
    input[type=password],
    input[type=tel],
    input[type=email],
    input[type=text] {
        border: none;
        border-radius: 10px;
        background: var(--input-bg);
        font-size: 15px;
        color: var(--input-text);
        transition: all 0.2s;
        display: block;
        height: 42px;
        text-align: left;
        width: 100%;
        padding: 0 25px;
        max-width: 100%;

        &:focus {
            background: var(--base-color);
            color: var(--input-text);

            &::placeholder {
                opacity: 0;
            }
        }

        &::placeholder {
            color: var(--placeholder-color);
        }

        &:-ms-input-placeholder {
            color: var(--placeholder-color);
        }
    }

    textarea {
        height: 100px;
    }

    input[type=submit],
    input.button {
        background: var(--third-color);
        transition: all 0.2s;
        border-radius: 30px;
        color: white;
        font-weight: 600;
        font-size: 15px;
        display: block;
        border: none;
        letter-spacing: 0.04em;
        margin: 20px 0 20px;
        padding: 11px 32px 12px;
        cursor: pointer;

        &:hover {
            background: var(--primary-hover);
        }

        &:disabled[disabled] {
            color: var(--secondary-color);
        }
    }
}

.site-header .h-search input[type="text"]:focus::placeholder {
    opacity: 0;
}

/* ----------------------------------
5 - Components & Utilities
----------------------------------*/
.icon {
    margin: 0;
    display: inline-block;
    width: auto;
    height: auto;
    line-height: initial;
    vertical-align: initial;
}

@media screen and (min-width: 992px) {
    .blog-sb-widgets.section-sb {
        max-width: 40rem;
        height: auto;
        position: sticky;
        top: 10rem;
    }
}
