/*
Theme Name: Thor protect
Description: This is a child theme for Flatsome Theme
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/*
	*
	*
	*
	* Theme Modifications
	*
	*
	*
*/
@font-face {
    font-family: "Lato";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/wp-content/themes/thor_protect/assets/fonts/Lato/Lato-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Lato";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/wp-content/themes/thor_protect/assets/fonts/Lato/Lato-Bold.ttf') format('truetype');
}

@font-face {
    font-family: "Lato";
    font-weight: 900;
    font-style: normal;
    font-display: swap;
    src: url('/wp-content/themes/thor_protect/assets/fonts/Lato/Lato-Black.ttf') format('truetype');
}

@font-face {
    font-family: "Amatic SC";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/wp-content/themes/thor_protect/assets/fonts/AmaticSC/AmaticSC-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Amatic SC";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/wp-content/themes/thor_protect/assets/fonts/AmaticSC/AmaticSC-Bold.ttf') format('truetype');
}

body {
    font-family: "Lato", sans-serif;
}

.alt-font {
    font-family: "Amatic SC", sans-serifx§;
}

/* hide product tabs on product pages */

ul.wc-tabs.product-tabs {
    display: none;
}

/* Google reviews badge */
div.rplg-badge-cnt.rplg-badge-fixed {
    right: 70px !important;
    bottom: 0px !important;
}

div.rplg-badge-cnt.rplg-badge-fixed {
    z-index: 99998 !important;
}

@media (max-width: 850px) {
    /*************** ADD TABLET ONLY CSS HERE  ***************/
    /* google review badge */
    div.rplg-badge-cnt.rplg-badge-fixed {
        right: 20px !important;
        bottom: 20px !important;
    }

    div.rplg-badge2-btn.rplg-badge2-clickable > svg {
        height: 20px !important;
        width: 20px !important;
    }

    div.rplg-badge2-btn {
        padding: 2px !important;
    }

    .rplg-badge2 div.rplg-badge2-score {
        font-size: 10px !important;
    }

    div.rplg-stars {
        font-size: 12px !important;
    }

    .rplg .rplg-stars svg[height="17"] {
        height: 12px !important;
        width: 12px !important;
    }

    .rplg .rplg-badge2 .rplg-biz-rating > div.rplg-biz-score {
        font-size: 12px !important;
    }

    div.rplg-badge2-btn.rplg-badge2-clickable {
        padding: 3px !important;
    }

    div.rplg-badge-cnt.rplg-badge-fixed {
        right: 10px !important;
        bottom: 10px !important;
    }

    .rplg-badge2 div.rplg-badge2-close {
        width: 24px !important;
        line-height: 24px !important;
        display: block !important;
    }
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    /* google review badge */
    div.rplg-badge-cnt.rplg-badge-fixed {
        right: 20px !important;
        bottom: 20px !important;
    }

    div.rplg-badge2-btn.rplg-badge2-clickable > svg {
        height: 20px !important;
        width: 20px !important;
    }

    div.rplg-badge2-btn {
        padding: 2px !important;
    }

    .rplg-badge2 div.rplg-badge2-score {
        font-size: 10px !important;
    }

    div.rplg-stars {
        font-size: 12px !important;
    }

    .rplg .rplg-stars svg[height="17"] {
        height: 12px !important;
        width: 12px !important;
    }

    .rplg .rplg-badge2 .rplg-biz-rating > div.rplg-biz-score {
        font-size: 12px !important;
    }

    div.rplg-badge2-btn.rplg-badge2-clickable {
        padding: 3px !important;
    }

    div.rplg-badge-cnt.rplg-badge-fixed {
        right: 10px !important;
        bottom: 10px !important;
    }

    .rplg-badge2 div.rplg-badge2-close {
        width: 24px !important;
        line-height: 24px !important;
        display: block !important;
    }
}

/* END Google reviews badge */

/*Make Star Rating in Amazon Style*/


/*
	*
	*
	*
	* CHECKOUT TEMPLATE page-checkout.php
	*
	*
	*
*/

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tp-checkout .container {
    max-width: 800px;
}

.page-id-290 .tp-checkout .container { /*more space on checkout page*/
    max-width: 1000px;
}

/*Checkout Header*/
.tp-checkout-header {
    background: #eee;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}

.tp-checkout-header .tp-logo,
.tp-checkout-header .tp-progress,
.tp-checkout-header .tp-phone {
    float: left;
}

.tp-checkout-header .tp-logo {
    width: 25%;
}

.tp-checkout-header .tp-logo img {
    height: 45px;
    width: auto;
}

.tp-checkout-header .tp-progress {
    width: 50%;
    text-align: center;
    font-size: 14px;
    color: black;
    font-weight: bold;
}

.tp-checkout-header .tp-progress-inner {
    width: 80%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.tp-checkout-header .tp-progress-bar {
    width: 100%;
    height: 15px;
    background: #d8d8d8;
    overflow: hidden;
}

.tp-checkout-header .tp-progress-bar-inner {
    height: 100%;
    background: #39C90C;
    position: relative;
    transition: width 0.5s;
}

.tp-checkout-header .tp-progress-bar-inner img {
    height: 100%;
    position: absolute;
    left: calc(100% - 2px);
}

.tp-checkout-header .tp-step-1 {
    float: left;
}

.tp-checkout-header .tp-step-3 {
    float: right;
}

.tp-checkout-header .tp-phone {
    float: right;
    width: 155px;
    position: relative;
    padding-left: 40px;
    color: black;
    font-size: 14px;
    line-height: 17px;
}

.tp-checkout-header .tp-phone img {
    left: 0;
    width: 35px;
    position: absolute;
}

/*Checkout Header Mobile*/
.tp-checkout-header-mobile {
    display: none;
}

@media (min-width: 651px) and (max-width: 770px) {
    .tp-checkout-header .tp-progress {
        font-size: 12px;
    }
}

@media (max-width: 650px) {
    .tp-checkout-header {
        display: none;
    }

    .tp-checkout-header.tp-checkout-header-mobile {
        display: block !important;
        padding-top: 10px;
    }

    .tp-checkout-header .tp-logo {
        width: 50%;
    }

    .tp-checkout-header .tp-progress {
        width: 100%;
        float: none;
        margin-top: 12px;
    }

    .tp-checkout-header .tp-progress-inner {
        margin-left: 0;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: none;
    }

    .tp-checkout-header .tp-phone {
        float: right;
        width: 155px;
    }
}

/* Rating */

.tp-rating {
    position: relative;
    display: inline-block;
    font-size: 0;
}

.tp-stars-filled {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}

.tp-rating img {
    width: 15px;
    margin-right: 1px;
}

.tp-rating img:last-child {
    margin-right: 0;
}

/* Reviews */

.tp-reviews__inner {
    display: flex;
}

.tp-reviews__heading {
    margin-bottom: 6px;
    font-weight: 900;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
}

.tp-reviews .tp-review {
    margin-bottom: 20px;
}

.tp-reviews__rating {
    flex-basis: 240px;
    flex-shrink: 0;
    margin-right: 35px;
}

.tp-reviews__rating-header {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    margin-bottom: 16px;
}

.tp-reviews__rating-line {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.tp-reviews__rating-mark {
    width: 25%;
    font-weight: 500;
    font-size: 13px;
    line-height: 16px;
    color: #000000;
}

.tp-reviews__rating-bar {
    flex-grow: 1;
    height: 17px;
    background: #DFDFDF;
    border: 1px solid #BBBBBB;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.25);
}

.tp-reviews__rating-bar > div {
    height: 100%;
    background: linear-gradient(180deg, #FFCA00 0%, #FFB300 100%);
    border: 1px solid #AA7713;
    box-sizing: border-box;
}

.tp-reviews__rating-percent {
    width: 15%;
    padding-left: 8px;
    font-weight: 500;
    font-size: 13px;
    line-height: 16px;
    color: #707685;
}

.tp-reviews__load-more.loading {
    color: transparent;
}

.tp-reviews__load-more.loading:after {
    border-color: #083789;
}

.tp-reviews__load-more.loading::selection {
    color: transparent;
    background-color: transparent;
}

/* Review */

.tp-review__header {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.tp-review__avatar {
    width: 30px;
    height: 30px;
    margin-right: 9px;
}

.tp-review__name {
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
}

.tp-review__meta {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.tp-review__date {
    margin-left: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #707685;
}

.tp-review__content {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
}

.tp-review__answer {
    border-left: 5px solid #083789;
    margin-top: 12px;
    padding-left: 10px;
}

.tp-review__answer-heading {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #0EA4F0;
}

.tp-review__answer-content {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
}

/* Utilities */

.tp-hide {
    display: none;
}

.tp-button {
    text-transform: none;
    border-radius: 3px;
}

/* Questions */

.tp-questions__heading {
    margin-bottom: 14px;
    font-weight: 900;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
}

.tp-questions__item {
    padding: 14px 20px;
    margin-bottom: 15px;
    background: #FFFFFF;
    border: 1px solid #D2D2D2;
    border-radius: 3px;
}

.tp-questions__question,
.tp-questions__answer {
    display: flex;
}

.tp-questions__question {
    margin-bottom: 10px;
}

.tp-questions__answer .tp-read-more__btn {
    margin-left: 10px;
}

.tp-questions__label {
    flex-basis: 61px;
    flex-shrink: 0;
    flex-grow: 0;
    margin-right: 20px;
    font-weight: 900;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
}

.tp-questions__content {
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
}

.tp-questions__author {
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #707685;
}

.tp-read-more__btn {
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #0300FF;
    cursor: pointer;
}

.tp-outline-button {
    background: #FFFFFF;
    border: 2px solid #083789;
    border-radius: 3px;
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    color: #083789;
    text-transform: none;
}

.tp-outline-button:hover {
    box-shadow: none;
    color: #fff;
    background: #083789;
}

@media (max-width: 549px) {

    .tp-reviews__inner {
        flex-direction: column;
    }

    .tp-reviews__rating {
        margin-right: 0;
        flex-basis: unset;
        margin-bottom: 30px;
    }

    .tp-reviews__rating-mark {
        width: unset;
        flex-basis: 64px;
        flex-shrink: 0;
    }

    .tp-reviews__rating-bar {
        height: 29px;
        border-radius: 3px;
        overflow: hidden;
        box-shadow: inset 0 0.1rem 0.2rem rgba(0, 0, 0, .4), inset 0 0 0 0.1rem rgba(0, 0, 0, .1);
        background: linear-gradient(to bottom, #eee, #f6f6f6);
        background-color: #f3f3f3;
        border: none;
    }

    .tp-reviews__rating-bar > div {
        box-shadow: inset 0 0 0 0.1rem rgba(0, 0, 0, .25);
        background: linear-gradient(to bottom, #ffce00, #ffa700);
        background-color: #ffce00;
        border-radius: 1px;
        border: none;
    }

    .tp-reviews__rating-percent {
        width: unset;
        flex-basis: 34px;
        flex-shrink: 0;
    }

    .tp-questions__question,
    .tp-questions__answer {
        flex-direction: column;
    }

    .tp-questions__label {
        flex-basis: unset;
        margin-bottom: 5px;
        margin-right: 0;
    }

}

/* Single product reviews rating */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    margin-top: -13px;
}


/* WhatsApp Button */
.whatsappButton {
    display: none;    
    align-items: center;
    justify-content: center;
    z-index: 100;
    position: fixed;
    left: 18px;
    bottom: 18px;
    background: #25d366;
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

@media (max-width: 48em) {
    .whatsappButton {
        display: flex;
    }
}
