/*!
Theme Name: Oregon
Theme URI: https://oregon.webstore.com.vn
Author: WebStore Team
Author URI: https://webstore.com.vn
Description: Custom web design
Version: 2.1.14
Copyright: (c) 2019 Oregon.
Requires at least: 6.5
Requires PHP: 7.0
Tested up to: 6.8
Text Domain: oregon
Tags: accessibility-ready, blog, block-patterns, e-commerce, wide-blocks, block-styles, grid-layout, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments
*/

:root {
    --red: #C8102E;
    --black: #3A3A3A;
}

.wrapper {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-left: 12px;
    padding-right: 12px;
}

.ws-header {
    z-index: 999;
}

.js-header {
    position: relative !important;
}

.body-container {
    margin-top: 0 !important;
}

img {
    height: auto;
}

a {
    text-decoration: none !important;
}

/* Global style */

.hide {
    display: none !important;
}

.text-white {
    color: white !important;
}

.bg-white {
    background: white !important;
}

.ws-editor {
    line-height: 1.5;
}

.ws-heading {
    color: black;
    line-height: 1.4;
}

.ws-heading.center {
    text-align: center;
}

/* Blocks style */

/* block-editor */
.block-editor {
    line-height: 1.4;
}
.block-editor h1,
.block-editor h2,
.block-editor h3,
.block-editor h4,
.block-editor h5,
.block-editor h6,
.block-editor p:not(:last-child) {
    margin-bottom: 1rem;
}

.block-editor ul li,
.block-editor ol li {
    margin-bottom: 0.5rem;
}

.block-editor ul li:last-child,
.block-editor ol li:last-child {
    margin-bottom: 0;
}

.block-editor h2 {
    font-size: 1.5rem;
}

.block-editor h3 {
    font-size: 1.25rem;
}

.block-editor h4 {
    font-size: 1.125rem;
}

.block-editor table {
    width: 100%;
    margin-bottom: 1.5rem;
    border: 1px solid #AAA;
    border-collapse: collapse;
}

.block-editor table thead td,
.block-editor table tbody tr:nth-child(even) td {
    background: #F9F9F9;
}

.block-editor table thead td,
.block-editor table tbody td {
    padding: 10px 12px;
    border: 1px solid #AAA;
}

.block-editor blockquote {
    padding: 1rem;
    margin: 0 0 1.5rem;
    line-height: 1.5rem;
    background: #F9F9F9;
    border-left: 4px solid #AAA;
}

.block-editor a {
    color: var(--red);
}

.block-editor img.aligncenter {
    margin: auto;
    display: block;
}

.block-editor .wpforms-container.wpforms-container-full {
    padding: 20px;
    border-radius: 0;
    background: #F9F9F9;
    border: 1px solid #AAA;
}

/* block-image_group */
.block-image_group .OTB-container {
    width: 100%;
    aspect-ratio: 1/1;
    /* border-bottom: 6px solid #A5A4A2; */
}

.block-image_group .OTB-block {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.block-image_group .OTB-block:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at center, #0000004d, #000000b3 60%, #000000d6);
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    transition: all .3s ease-in-out;
}
.block-image_group .OTB-title {
    color: #fff;
    font-size: 2.25rem;
    line-height: 40px;
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    z-index: 2;
}
.block-image_group .OTB-btn {
    background-color: #c8102e;
    text-align: center;
    display: block;
    padding: 12px 1rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all .3s;
    position: relative;
    z-index: 2;
}
.block-image_group .OTB-block {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* wpforms */
.wpforms-container-full {
    margin: 0 !important;
}
.wpforms-container-full * {
    font-size: 0.875rem !important;
}
.wpforms-confirmation-container-full {
    margin: 0 !important;
}
.wpforms-submit {
    background: var(--red) !important;
}
.wpforms-field {
    padding: 0 !important;
    margin: 0 0 20px !important;
}
.wpforms-submit-container {
    margin: 20px 0 0 !important;
}
.wpforms-field-label {
    font-weight: 600 !important;
    margin: 0 0 0.5rem !important;
    font-size: 0.875rem !important;
}

/* block-chain */
.block-chain {
    background-color: black;
}
.block-chain .h20 {
    height: 20px !important;
}
.block-chain #chaincontainerparent {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}
.block-chain #chaincontainerbg {
    width: 6000px;
    overflow: hidden;
    position: absolute;
    transform: scale(1.0, 1.0) translate(0%, 0%) rotate(0.0deg);
}
.block-chain #chaincontainer {
    width: 6000px;
    overflow: hidden;
    position: absolute;
    transform: scale(1.0, 1.0) translate(0%, 0%) rotate(0.0deg);
}
.block-chain #chaintiles {
    transform: translate(-2943px, 0px);
    animation-name: chainslide;
    animation-iteration-count: infinite;
    animation-duration: 10s;
    animation-timing-function: cubic-bezier(.25, 0.5, 0, 1);
}
@keyframes chainslide {
    from {
        transform: translate(-2943px, 0px);
    }

    17% {
        transform: translate(-2616px, 0px);
    }

    34% {
        transform: translate(-2289px, 0px);
    }

    50% {
        transform: translate(-1962px, 0px);
    }

    66% {
        transform: translate(-1635px, 0px);
    }
    
    83% {
        transform: translate(-1308px, 0px);
    }

    to {
        transform: translate(-981px, 0px);
    }
}


/* custom style */

.current-menu-item > a {
    color: white;
}

.js-tcc-tile-title {
    overflow: hidden;
    line-height: 1.4;
    font-size: 1.125rem;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    text-transform: none;
    word-break: break-word;
    -webkit-box-orient: vertical;
}

.js-tcc-tile-cta {
    margin: 0;
}

.js-tcc-tile-description {
    padding: 0;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    word-break: break-word;
    -webkit-box-orient: vertical;
    margin: 0.5rem auto;
}

.follow-us .link-list {
    gap: 0.75rem;
    display: flex;
    align-items: center;
}
.follow-us .link-list a {
    margin: 0;
}

#desktop-footer .content {
    height: 400px;
}

#desktop-nav-menu .sub-menu:not(.js-submenu) {
    display: none;
}

.block-video .relative.items-center {
    aspect-ratio: 16/9;
}

@media screen and (min-width: 767px) {

    .block-image_group .OTB-container {
        display: grid;
    }

    .block-image_group[data-count="1"] .OTB-container,
    .block-image_group[data-count="2"] .OTB-container,
    .block-image_group[data-count="3"] .OTB-container {
        height: 600px;
        grid-template-columns: repeat(3, 1fr);
    }

    .block-image_group[data-count="4"] .OTB-container {
        height: 500px;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 767px) {
    #black-bar-footer .black-bar-content,
    .js-tcc-tile-container {
        width: 100%;
    }

    h1.js-phsb-header.mv0.pv4 {
        padding-left: 12px;
        padding-right: 12px;
    }
}