/*!
Theme Name: THCmedia-company
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thcmedia-company
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

THCmedia-company is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition: color ease 0.2s, background-color ease 0.2s;
    -o-transition: color ease 0.2s, background-color ease 0.2s;
    -webkit-transition: color ease 0.2s, background-color ease 0.2s;
    -ms-transition: color ease 0.2s, background-color ease 0.2s;
    -moz-transition: color ease 0.2s, background-color ease 0.2s;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'UTM Avo', sans-serif;
    overflow: hidden;
}

a {
    text-decoration: none !important;
    color: var(--text_color);
}

a:hover {
    color: var(--primary_color);
}

b,
strong {
    font-weight: 700 !important;
}

.img-wrap {
    position: relative;
    height: auto;
    overflow: hidden;
    background-position: 50% 50%;
    background-size: cover;
}

.img-wrap img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    transform: translateZ(0);
    margin: 0 auto;
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    width: 100%;
}

.transform img {
    transition: transform 0.5s ease;
    cursor: pointer;
}

.img-zoom:hover img {
    transform: scale(1.08);
}

.card-hover {
    transition: transform 0.5s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: scale(1.08);
}


.truncate-line-1 {
    -webkit-line-clamp: 1;
}

.truncate-line-2 {
    -webkit-line-clamp: 2;
}

.truncate-line-3 {
    -webkit-line-clamp: 3;
}

.truncate-line-4 {
    -webkit-line-clamp: 4;
}

.truncate-line-5 {
    -webkit-line-clamp: 5;
    height: 7.5rem;
    line-height: 1.5rem;
}

.truncate-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*NONE PLAY SLIDER LOADPAGE*/
.parent-slider .child-slider:nth-child(n + 2) {
    display: none;
}

.parent-slider .slick-initialized .child-slider {
    display: block;
}

/*END*/

/*BOOTSTRAP*/

.gap-2 {
    gap: 2px;
}

.mx-n2px {
    margin-left: -2px;
    margin-right: -2px;
}

.px-2px {
    padding-left: 2px;
    padding-right: 2px;
}

.pxy-6px {
    padding: 0 6px;
}

.mx-n12px {
    margin-left: -12px;
    margin-right: -12px;
}

.px-12px {
    padding-left: 12px;
    padding-right: 12px;
}

.my-n12px {
    margin-top: -12px;
    margin-right: -12px;
}

.py-12px {
    padding-top: 12px;
    padding-bottom: 12px;
}

.py-10px {
    padding-top: 10px;
    padding-bottom: 10px;
}

.py-30px {
    padding-top: 30px;
    padding-bottom: 30px;
}

.pt-12px {
    padding-top: 12px;
}

.pb-12px {
    padding-bottom: 12px;
}

.pt-30px {
    padding-top: 20px;
}

.pt-50px {
    padding-top: 50px;
}

.pb-30px {
    padding-bottom: 30px;
}

.pb-40px {
    padding-bottom: 40px;
}

.py-40px {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ml-10px {
    margin-left: 10px;
}

.ml-14px {
    margin-left: 14px;
}

.ml-20px {
    margin-left: 20px;
}

.ml-50px {
    margin-left: 50px;
}

.my-30px {
    margin-top: 30px;
    margin-bottom: 30px;
}

.mr-14px {
    margin-right: 14px;
}

.mr-12px {
    margin-right: 12px;
}

.mb-10px {
    margin-bottom: 10px;
}

.mb-14px {
    margin-bottom: 14px;
}

.mb-20px {
    margin-bottom: 20px;
}

.mb-26px {
    margin-bottom: 26px;
}

.mb-30px {
    margin-bottom: 30px;
}

.mb-40px {
    margin-bottom: 40px;
}

.mt-10px {
    margin-top: 10px;
}

.mt-24px {
    margin-top: 24px;
}

.mt-22px {
    margin-top: 22px;
}

.mt-20px {
    margin-top: 20px;
}

.mt-30px {
    margin-top: 30px;
}

.mxy {
    margin: -48px auto 0;
}

.pxy-14px {
    padding: 14px;
}

.overflow-x-auto {
    overflow-x: auto;
}


/*PAGINATION*/

.pagination {
    justify-content: center;
    padding: 16px 0;
    margin-bottom: 0;
    border-radius: unset;
    border-top: 1px solid #1c1c1c;
}

.pagination .next span,
.pagination .prev span,
.page-numbers .next span,
.page-numbers .prev span {
    font-size: 12px;
}

.pagination a,
.pagination span,
.page-numbers a,
.page-numbers span {
    border: 0;
    line-height: inherit;
    color: var(--logo-color);
    font-size: 16px;
    font-weight: normal;
    position: relative;
    padding: 7px 10px;
    margin: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a,
.page-numbers a {
    padding: 7px;
}

.pagination .current,
.page-numbers .current {
    background: var(--logo-color);
    border-radius: 5px;
    color: var(--title-color);
    padding: 7px;
}

.pagination .page-numbers:hover,
.page-numbers .page-numbers:hover {
    background: var(--logo-color);
    border-radius: 8px;
    color: var(--title-color);
    padding: 7px;
}

.pagination .page-numbers:hover > span,
.page-numbers .page-numbers:hover > span {
    color: var(--title-color);
}

.pagination a > span,
.page-numbers a > span {
    margin: -10px;
}

.page-numbers.current:hover,
.papage-numbers.current:hover {
    padding: 7px 8px;
}

.pagination .current,
.pagination a.page-numbers,
.page-numbers .current,
.page-numbers a.page-numbers {
    height: 40px;
    text-decoration: none;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #949494;
}

.current .text-pagi-wrap {
    color: var(--title-color) !important;
    padding: 0;
}

.page-numbers {
    display: flex;
    list-style: none;
    border-radius: 0.25rem;
    justify-content: center;
}


/*END*/


/*PAGINATION WOO*/

.woocommerce nav.woocommerce-pagination ul {
    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,
.page-numbers a.page-numbers {
    height: 38px;
    text-decoration: none;
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    /*border-radius: 5px!important;*/
    /*border: 1px solid #949494;*/
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    color: #fff;
    background-color: var(--primary_color);
    /*border-radius: 5px;*/
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    line-height: inherit;
    font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    color: #fff;
    background-color: var(--primary_color);
}

.page-numbers .page-numbers:hover {
    padding: 0;
    border-radius: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0 4px;
    border-right: 0;
}

.woocommerce nav.woocommerce-pagination ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
}


/*END*/

.overflow-text {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.col-1-5 {
    width: 20%;
    padding: 0 6px;
}


/*====SINGLE====*/

img {
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

figure {
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

figcaption {
    text-align: center;
    margin: 6px 0;
    font-style: italic;
}

.aligncenter {
    clear: both;
    display: block;
    float: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

img.alignnone {
    float: none;
    margin: 5px 0 5px 0;
}

img.alignleft {
    float: left;
    margin: 5px 10px 5px 0px;
}

img.aligncenter {
    display: block;
    float: none;
    margin: 5px auto;
}

img.alignright {
    float: right;
    margin: 5px 0 5px 10px;
}

iframe {
    clear: both;
    display: block;
    float: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

table tr td {
    padding: 10px;
}

table tr td p {
    margin-bottom: 0;
}

.block-content p {
    text-align: justify;
}

.block-content ol li,
.block-content ul li {
    margin-left: 20px;
}

/*END*/


/* scrollToTop  */
.scrollToTop.btn-show {
    visibility: visible;
    opacity: 1;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

a.scrollToTop {
    width: 40px;
    height: 40px;
    z-index: 147483647;
    border: 1px solid #777;
    border-radius: 65px;
    position: fixed;
    right: 32px;
    bottom: 40px;
    visibility: hidden;
    opacity: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: scale(1);
    -webkit-transform: scale(1);
    transition: 0.2s all ease;
    -webkit-transition: 0.2s all ease;
}

.scrollToTop {
    text-decoration: none;
}

.scrollToTop i {
    color: #777;
}

.scrollToTop i.fa-chevron-up::before {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    content: "\f077";
    font-family: "Font Awesome 5 Pro";
}

.scrollToTop:hover {
    background-color: var(--primary_color);
}

.scrollToTop:hover i {
    color: #fff;
}

figure.alignright {
    float: right;
    margin: 0 0 1em 1em
}

figure.alignleft {
    float: left;
    margin: 0 1em 1em 0
}

figure.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

/* end scrollToTop */
.dtcvmodetail span, .dtchide span {
    padding: 6px 35px;
    font-size: 18px;
    height: 35px;
    padding-top: 8px;
}
