/*
    Theme Name: ABP Base Theme
    Author: Anh Bui
    Author Email: anhbp.uet@gmail.com
    Description: AnhBP Custom theme
    Version: 1.0.0
    License: GNU General Public License v2 or later
    License URI: <https://www.gnu.org/licenses/gpl-2.0.html>
*/

@import url('css/fonts.css');

/* global box-sizing */
*,
*:after,
*:before {
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

:root {
    --main-blue-color: #3996AE;
}

/* html element 62.5% font-size for REM use */
html {
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    font-family: CasperRegular, serif;
    letter-spacing: 0.6px;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}
.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
    max-width:100%;
    vertical-align:bottom;
}
p {
    font-size: 16px;
    line-height: 20px;
    font-family: CasperLight, serif;
}
a {
    transition: all ease 0.3s;
    color: #000000;
}
a:hover {
    color: var(--main-blue-color);
    text-decoration: none;
}
ul, ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: CasperLight, serif;
}
table {
    font-family: CasperLight, serif;
}
b, strong {
    font-family: CasperSemiBold, serif;
    font-weight: normal;
}
/* Buttons */
.btn {
    font-family: CasperMedium, serif;
    display: inline-block;
    font-size: 16px;
    line-height: 20px;
    padding: 14px 15px;
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    border-color: #ffffff;
    background-color: #ffffff;
    color: var(--main-blue-color);
    transition: all 0.3s ease;
    min-width: 220px;
    user-select: none;
    box-sizing: border-box;
}
.btn:hover,
.btn:active {
    background-color: transparent;
    color: #ffffff;
    box-shadow: none;
}
.btn:focus {
    box-shadow: none;
}
.btn.main-btn {
    background-color: var(--main-blue-color);
    border-color: var(--main-blue-color);
    color: #ffffff;
}
.btn.main-btn:hover,
.btn.main-btn:active {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--main-blue-color);
}
.btn.secondary-btn {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}
.btn.secondary-btn:hover,
.btn.secondary-btn:active {
    background-color: #ffffff;
    color: var(--main-blue-color);
}
.btn.transparent-btn {
    color: #ffffff;
    background-color: transparent;
    border-color: #ffffff;
}
.btn.transparent-btn:hover,
.btn.transparent-btn:active {
    background-color: #ffffff;
    color: var(--main-blue-color);
}
.btn.white-btn {
    color: var(--main-blue-color);
    background-color: #ffffff;
    border-color: #ffffff;
}
.btn.white-btn:hover,
.btn.white-btn:active {
    background-color: transparent;
    color: #ffffff;
}
.btn.flexible-btn {
    min-width: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.text-font-light {
    font-family: CasperLight, serif;
}
.text-font-medium {
    font-family: CasperMedium, serif;
}
.text-font-semibold {
    font-family: CasperSemiBold, serif;
}
.text-font-bold {
    font-family: CasperBold, serif;
}
.text-font-black {
    font-family: CasperBlack, serif;
}
.text-color-blue {
    color: var(--main-blue-color);
}
.grey-text {
    color: #868686;
}
.container-extra-large,
.container-x-large {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row.half-padding {
    margin-left: -8px;
    margin-right: -8px;
}
.row.half-padding [class*="col-"] {
    padding-right: 8px;
    padding-left: 8px;
}

select {
    user-select: none;
}
.form-control:focus {
    box-shadow: none;
    border-color: #C4C4C4;
}
/* Common blocks */
.block-title {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 15px;
    text-transform: capitalize;
    color: var(--main-blue-color);
}
.home-text-block {
    text-align: center;
    padding: 135px 600px;
    font-family: CasperLight, serif;
    position: relative;
}
.home-text-block .block-background-layer {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.home-text-block .home-text-block-content {
    position: relative;
    z-index: 2;
}
.home-text-block .block-description {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 0;
}
.home-text-block .btn {
    margin-top: 40px;
    min-width: 220px;
    text-transform: uppercase;
}
.home-text-block.white-background-block {
    color: #000000;
}
.home-text-block.white-background-block .block-background-layer {
    background-color: #ffffff;
}
.home-text-block.blue-background-block {
    background-image: url("css/img/blue-bg-img.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}
.home-text-block.blue-background-block .block-background-layer {
    background-color: rgba(57, 150, 174, 0.81);
}
.home-text-block.blue-background-block .block-title {
    color: #ffffff;
}
.media-block {
    font-family: CasperLight, serif;
}
.media-block .image-block-container {
    padding-left: 0;
    padding-right: 0;
}
.media-block .image-background-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100%;
}
.media-block .image-block {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 0;
    width: 100%;
}
.media-block .image-block-container.col-lg-8 .image-block {
    padding-bottom: 50%;
}
.media-block .image-block-container.col-lg-4 .image-block {
    padding-bottom: 100%;
}
.media-block .text-block-container {
    padding: 20px 90px;
    display: flex;
    align-items: center;
}
.media-block .blue-text-block {
    background-color: var(--main-blue-color);
    color: #ffffff;
}
.media-block .white-text-block h2 {
    color: var(--main-blue-color);
}
.media-block .text-block .block-summary {
    font-family: CasperSemiBold, serif;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 10px;
}
.media-block .text-block .btn {
    margin-top: 25px;
    text-transform: uppercase;
}
.media-block .image-block-container .owl-carousel,
.media-block .image-block-container .owl-carousel .owl-stage-outer,
.media-block .image-block-container .owl-carousel .owl-stage-outer .owl-stage,
.media-block .image-block-container .owl-carousel .owl-stage-outer .owl-stage .owl-item
{
    height: 100%;
}

.has-gradient-layer {
    position: relative;
}
.has-gradient-layer:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.05) 52%, rgba(255,255,255,0) 100%);
}
.achievements-block {
    background-image: url("css/img/achievements-bg.jpg");
    background-size: cover;
    background-position: bottom center;
}
.achievements-block .m-about-banner__top * {
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 0.2px;
}
/* FOOTER*/
.footer {
    background-color: #000000;
    color: #ffffff;
}
.footer-content {
    padding-top: 50px;
    padding-bottom: 50px;
}

.store-locator-img-container {
    margin-bottom: 30px;
}
.stores-list-container {
    margin-bottom: 55px;
}
.stores-list-row {
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid #58595B;
}
.stores-list-row .stores-list-item:first-child {
    padding-left: 15px;
}
.stores-list-row .stores-list-item:last-child {
    border-right: none;
}
.stores-list-item {
    border-right: 1px solid #58595B;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 20px;
}
.store-name {
    text-transform: uppercase;
    color: var(--main-blue-color);
    font-family: CasperMedium, serif;
    margin-bottom: 8px;
}
.store-address {
    margin-bottom: 15px;
}
.store-details-value {
    padding-left: 25px;
    color: #ffffff;
}
.store-details-value a[href^=tel] {
    color: inherit;
    text-decoration: none;
}
.stores-list-casper-viet-nam .store-details-label {
    font-family: CasperBold, serif;
    color: var(--main-blue-color);
    vertical-align: top;
}


.breadcrumb-container .woocommerce-breadcrumb {
    color: #000000;
    font-family: CasperBold, serif;
    margin-bottom: 15px;
}
.breadcrumb-container .woocommerce-breadcrumb a {
    font-family: CasperLight, serif;
    color: #000000;
}
.breadcrumb-container .woocommerce-breadcrumb a:hover {
    color: var(--main-blue-color);
}

.cloned .wow {
    -webkit-animation-name: none;
    -moz-animation-name: none;
    -o-animation-name: none;
    animation-name: none;
}
.wp-block-image {
    margin-bottom: 0;
}
.wp-block-image.size-full img {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1600px) {
    .home-text-block {
        padding: 135px 400px;
    }
}

@media (max-width: 1440px) {
    .home-text-block {
        padding: 135px 250px;
    }
}

@media (max-width: 1199px) {
    .home-text-block {
        padding: 95px 150px;
    }
    .stores-list-item {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 767px) {
    h4, .h4 {
        font-size: 1rem;
    }
    .btn {
        font-size: 14px;
        line-height: 22px;
        padding-top: 13px;
        padding-bottom: 13px;
    }
    .block-title {
        font-size: 32px;
    }
    .home-text-block {
        text-align: left;
        padding: 40px 15px;
    }
    .home-text-block.blue-background-block {
        text-align: center;
    }
    .media-block {
        padding-left: 15px;
        padding-right: 15px;
    }
    .media-block .text-block-container {
        padding: 35px 15px;
    }
    .image-block-container.col-md-8 .image-block {
        padding-bottom: 67%;
    }
    .footer-content {
        padding-top: 35px;
        padding-bottom: 35px;
    }
    .store-locator-img-container {
        margin-bottom: 0;
    }
    .stores-list-container {
        margin-bottom: 20px;
    }
    .stores-list-row {
        padding-top: 10px;
        padding-bottom: 0;
        border-top: none;
    }
    .stores-list-item {
        padding-left: 15px;
        padding-right: 15px;
        border-right: none;
    }
    .stores-list-item-content {
        border-top: 1px solid #58595B;
        padding-top: 30px;
    }

    p {
        font-size: 16px;
        line-height: 20px;
    }
    .block-title {
        font-size: 28px;
        line-height: 32px;
    }
}
@media (min-width: 768px) {
    .admin-bar .m-header {
        top: 32px;
    }
}
@media (min-width: 992px) {
    .no-padding-lg-right {
        padding-right: 0 !important;
    }
    .no-padding-lg-left {
        padding-left: 0 !important;
    }
    .achievements-block .m-about-banner__top * {
        font-size: 36px;
        line-height: 54px;
    }
}
@media (min-width: 1025px) {
    /* Works on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 6px;
        height: 6px;
        border-radius: 2px;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(221, 221, 221, 0.9);
    }
}
@media (min-width: 1280px) {
    .container-x-large {
        max-width: 1230px;
    }
    .container-x-large.full-width-left {
        padding-left: 0;
        margin-left: 0;
        max-width: calc(50% + 615px);
    }
    .container-x-large.full-width-right {
        padding-right: 0;
        margin-right: 0;
        max-width: calc(50% + 615px);
    }
}
@media (min-width: 1480px) {
    .container-extra-large {
        max-width: 1470px;
    }
    .container-extra-large.full-width-left {
        padding-left: 0;
        margin-left: 0;
        max-width: calc(50% + 735px);
    }
    .container-extra-large.full-width-right {
        padding-right: 0;
        margin-right: 0;
        max-width: calc(50% + 735px);
    }
}
.otgs-development-site-front-end {
    display: none !important;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    display: inline-block;
    width: 30px;
    height: 30px;
    outline: none;
    z-index: 12;
    text-indent: -9999px;
    opacity: 0.5;
    transition: all 0.2s ease;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.owl-carousel .owl-nav button.owl-prev {
    background-image: url('css/img/back.png');
}
.owl-carousel.light-theme .owl-nav button.owl-prev {
    background-image: url('css/img/back-dark.svg');
}
.owl-carousel .owl-nav button.owl-next {
    background-image: url('css/img/next.png');
}
.owl-carousel.light-theme .owl-nav button.owl-next {
    background-image: url('css/img/next-dark.svg');
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    opacity: 1;
}
.responsive-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.responsive-video-wrapper iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
.woocommerce nav.woocommerce-pagination ul {
    border: none;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: none;
    font-family: CasperBold, serif;
    color: #000000;
}
.single-post-content p {
    line-height: 1.5;
    margin-bottom: 20px;
}
.single-post-content ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 15px;
}
.single-post-content ol {
    list-style-type: decimal;
    padding-left: 40px;
    margin-bottom: 15px;
}
.single-post-content ul li,
.single-post-content ol li {
    margin-bottom: 20px;
}
.single-post-content .wp-block-table td,
.single-post-content .wp-block-table th {
    border: 1px solid;
}
.single-post-content .wp-block-table.is-style-stripes td,
.single-post-content .wp-block-table.is-style-stripes th {
    border-color: transparent;
}

.single-post-content .wp-block-image figure {
    width: 100%;
}
.single-post-content img,
.single-post-content .wp-block-image figure img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.single-post-content .wp-block-image figure figcaption {
    text-align: center;
}
.modal-backdrop.show {
    opacity: 0.8;
}
.wp-block-table td {
    padding: 0.5rem;
}
.page-numbers {
    padding: 8px;
    font-family: CasperLight, serif;
}
.page-numbers.current {
    font-family: CasperSemiBold, serif;
}

/* FORM */
input[type="text"],
input[type="url"],
input[type="phone"],
input[type="email"],
input[type="number"] {
    padding: 5px 8px;
    line-height: 20px;
}

.wpcf7-not-valid-tip {
    margin-top: 5px;
}

.wpcf7 form .wpcf7-response-output {
    border: none;
    padding: 0;
}
.wpcf7 form.invalid .wpcf7-response-output {
    color: red;
}
