/*
Theme Name: PMM
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** RESET  ***************/

:root {
    --gpc-color-primary: #15599e;
}
:focus-visible {
    outline: none;
}
p {
    margin: 0 0 0.5rem;
}

/* Elementor */
.elementor-heading-title {
    line-height: 1.25;
}
div.elementor-heading-title {
    line-height: 1.5;
}

.elementor-widget-porto_stat_counter .stats-block {
    margin-bottom: 10px;
}
.elementor-widget-porto_stat_counter .stats-block .porto-icon.none {
    margin-bottom: 15px;
}
.elementor-widget-porto_stat_counter .stats-top .stats-number {
    margin-bottom: 15px;
}

.elementor-widget.elementor-widget-icon-list .elementor-icon-list-icon {
    align-self: flex-start;
}


/* WP Download Manager */
.wpdm-all-packages-table.table > :not(caption) > * > * {
    box-shadow: none;
}


/* Các thành phần trong website */
.gpc-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.gpc-section-mini-title.elementor-widget  {
    margin-bottom: 0;
}
.gpc-section-mini-title .elementor-heading-title{
    display: inline-block;
    position: relative;
    font-size: 13px;
    padding: 5px 15px;
    background-color: var(--gpc-color-primary);
    color: #fff;
    margin-bottom: 15px;
    border-radius: 20px;
}

.gpc-section-mini-title .elementor-heading-title:before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    border-top: 8px solid var(--gpc-color-primary);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    margin-left: -8px;
}

/*=============================================
=            HEADER            =
=============================================*/
#header .header-top .mega-menu > li.menu-item > a, #header .header-top, .welcome-msg {
    font-size: 12px;
    font-weight: 400;
}
#header .main-menu > li.menu-item {
    padding: 0 20px;
}

#header .header-main .header-left { padding: 5px 0; }
#header .header-main .header-right { padding: 5px 0; }

@media(max-width: 992px) {
    #header .header-top { display: none }
}

/*=============================================
=            Breadcrumb & Page title            =
=============================================*/
.page-top {
    position: relative;
}
.page-top::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    content: "";
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

/*=============================================
=            Sidebar            =
=============================================*/
.sidebar .product-categories li>a {
    font-weight: normal;
}


/*=============================================
=            FOOTER            =
=============================================*/
#footer .footer-bottom {
    border-top: 1px solid #ebebeb3b;
    padding: 0;
}
#footer .footer-bottom .footer-center {
    padding: 0;
}
#footer .widget-title {
    font-size: 18px;
}
#footer .widget > div > ul,
#footer .widget>div>ul li,
#footer .widget>ul li {
    border: none;
}

/*=============================================
=            Trang chủ            =
=============================================*/
.home-banner-slider .owl-carousel.rounded-nav .owl-nav [class*="owl-"],
.home-banner-slider .owl-carousel.rounded-nav .owl-nav [class*="owl-"]:hover {
    color: #fff;
    border: 2px solid #fff !important;
    padding: 0px 6px;
}

.hover-box { perspective: 1000px; }
.hover-box .porto-sicon-box { padding: 4.5rem 3rem 3.2rem; background: #fff;}

.hover-box .porto-sicon-box,
.hover-box .porto-banner {
    backface-visibility: hidden;
    box-shadow: 0px 0px 44px -10px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    transition: transform .5s;
    overflow: visible;
    margin-bottom: 0;
    opacity: 0;
}
.hover-box .porto-banner { position: absolute; left: 0px; top: 0; right: 0px; bottom: 0; transform: translate3d(0, 0, -1px) rotateY(180deg); }

.hover-box .porto-sicon-box,
.hover-box:hover .porto-banner { opacity: 1; transform: translate3d(0, 0, 1px) rotateY(0deg); }
.hover-box:hover .porto-sicon-box { opacity: 1; transform: translate3d(0, 0, -1px) rotateY(-180deg); }

.hover-box .porto-banner .elementor-element,
.hover-box .porto-sicon-box > * { perspective: inherit; transform: translate3d(0, 0, 60px); backface-visibility: hidden; }
.porto-banner .elementor-widget-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
 }
/* Responsive */
@media (max-width: 575px) {
 .w-sm-mx-100 { width: 100% !important; }
}

.home-testimonials .owl-height {
    height: auto !important;
    padding: 30px 0;
}
.home-testimonials .owl-carousel.nav-pos-outside .owl-nav .owl-prev {
    left: -35px;
}
.home-testimonials .owl-carousel.nav-pos-outside .owl-nav .owl-next {
    right: -35px;
}
.elementor-testimonial-wrapper .elementor-testimonial-content { padding: 0 25px; position: relative }
.elementor-testimonial-wrapper .elementor-testimonial-content:before { content: "\201C"; position: absolute; top: 10px; left: 0px; color: #08c; font-family: Playfair Display; font-size: 50px; font-weight: 900; }

.elementor-widget-porto_members .member-row .member {
    margin-bottom: 0;
}
.elementor-widget-porto_members .thumb-info-caption {
    padding: 0;
}
.elementor-widget-porto_members .thumb-info-caption .thumb-info-caption-text {
    padding: 0;
}

.pricing-table.pricing-table-classic .plan h3 {
    border-bottom: 1px solid #ededed;
}
.pricing-table.pricing-table-classic .plan h3 strong {
    font-size: 1.5rem;
    font-weight: bold;
}
.pricing-table.pricing-table-classic .plan-price {
    background-color: #fff;
}
.pricing-table .price-unit {
    order: 2;
}

.gpc-box-running-dot .porto-icon {
    position: relative;
}
.gpc-box-running-dot .porto-icon .dot-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: single-service-dot 3s linear infinite;
    animation-play-state: paused;
}
.gpc-box-running-dot:hover .porto-icon .dot-wrapper {
    animation-play-state: running;
}
.gpc-box-running-dot .porto-icon .dot-wrapper::before {
    display: block;
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--gpc-color-primary);
}

@-webkit-keyframes single-service-dot {
    0% {
    -webkit-transform:rotate(0deg);
    transform:rotate(0deg)
   }
    to {
    -webkit-transform:rotate(360deg);
    transform:rotate(360deg)
   }
}
@keyframes single-service-dot {
    0% {
    -webkit-transform:rotate(0deg);
    transform:rotate(0deg)
   }
    to {
    -webkit-transform:rotate(360deg);
    transform:rotate(360deg)
   }
}
/*=============================================
=            Single post            =
=============================================*/
article.post .post-meta {
    font-size: .85em;
}

.related-posts .post-carousel .post-item .post-date {
    display: none;
}
.related-posts .post-carousel .post-item .post-date ~ * {
    margin-left: 0;
}
.related-posts .post-carousel .post-item .read-more {
    margin-top: 10px;
}

/*=============================================
=            Shop            =
=============================================*/
.product-type-simple .add-links .add_to_cart_button:before {
    content: "\e80c";
}

/*=============================================
=            FAQs            =
=============================================*/
.gpc-faqs .elementor-toggle-item {
    border: none;
    box-shadow: 8px 8px 25px 0px rgb(42 67 113 / 15%);
    border-radius: 16px;
    padding: 10px 10px;
    margin-bottom: 1.5em;
	background-color: #fff;
}
.gpc-faqs .elementor-toggle-item .elementor-tab-title {
    border-bottom: none;
}
.gpc-faqs .elementor-toggle-item .elementor-tab-content{
    border-bottom: none;
}
.gpc-faqs .elementor-toggle-item .elementor-tab-title .elementor-toggle-icon {
    margin-right: 10px;
    font-size: 1.5em;
    margin-top: -5px;
    color: var(--gpc-color-primary);
}

/*=============================================
=            Widget            =
=============================================*/
.yith-woocompare-widget a.compare {
    background-color: var(--gpc-color-primary);
    padding: 8px 10px !important;
}
li.product:hover .product-image .yith-compare {
    opacity: 0;
}
ul.products li.product-default .add-links .yith-compare {
    display: none;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    margin-left: 5px;
    text-indent: -9999px;
    width: 36px;
    transition: .25s;
}
ul.products li.product-default .add-links .yith-compare::before {
    display: block !important;
    content: "\e810";
    width: 100%;
    font-family: "porto";
    position: relative;
    text-indent: 0;
}
ul.products li.product-default .add-links .yith-compare.added::before {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: 36px;
}
ul.products li.product-default:hover .add-links .yith-compare {
    display: inline-block;
    position: relative;
    opacity: 1;
    visibility: visible;
    background-color: #f4f4f4;
    border: 1px solid #f4f4f4;
    color: #333333;
}

/*================ Other ===================*/

.page-content table, .post-content table {
    margin-bottom: 1rem;
}

thead, tbody, tfoot, tr, td, th {
    border-width: 1px;
    border-color: #ccc;
}

.page-top > .container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.single-post h1.entry-title { margin-bottom: 20px; color: #000; }

.single-post .entry-content h2, .page-content h2
{
	font-size: 24px;
    line-height: 30px;
    margin-bottom: 15px;
}
.single-post .entry-content h3, .page-content h3
{
	font-size: 20px;
    line-height: 26px;
    margin-bottom: 15px;
}
.single-post .entry-content p, .page-content p { margin-bottom: 15px; line-height: 22px; }

.single-post .entry-content ul, .page-content ul { padding-left: 30px; }

.single-post .entry-content ul li, .page-content ul li
{
	line-height: 22px;
    margin-bottom: 10px;
}

.home .owl-carousel .owl-item img.owl-lazy {
    width: 100%;
    height: 230px;
}

.single-post .related-posts .owl-carousel .owl-item img {
    height: 160px;
}

.single-product ul li { margin-bottom: 10px; }

.single-product .product_meta { text-transform: none; }

.single-product table.variations tbody, .single-product table.variations tr 
{ 
    border-width: 0; 
	border-color: transparent; 
	border-style: none; 
}

.single-product .variations .label, .single-product .variations .value { border-style: none; }

.home ul.products { padding-left: 0; }

.post-item-small h5 {
    font-size: 15px;
    line-height: 20px;
}

.post-item-small h5 a { color: #222529; }

.home .blog-posts .post .entry-title
{
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 10px;
}

.home .blog-posts .post .entry-title a { color: #000; }

.blog-posts .post .entry-title a {
    color: #000;
}

.woocommerce-tabs .tab-content p {
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 0.5px;
    line-height: 22px;
}

.single-portfolio .related-portfolios {
    margin-top: 0;
    padding: 40px 20px;
}

.portfolio-title .entry-title { font-size: 32px; line-height: 36px; }

table {
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ddd;
}

table th { background-color: #fff; color: #000; }

#header .custom-html .header-phone {
    font-weight: 500;
    border: 1px solid #0a2237;
	background-color: #0a2237;
    padding: 5px 10px;
    border-radius: 10px;
    line-height: 18px;
}
#header .custom-html .header-phone a { color: #fff; }

.custom-heading-2 { margin-bottom: 5px !important; }

.related-posts .post-carousel .post-item h4 a { color: #0a2237; }

.float-order { display: none; }

@media only screen and (max-width: 768px)
{
	.float-order {
      display: block;
      position: fixed;
      bottom: 50px;
      left: 20px;
      background: #0054a6;
      color: #fff;
      padding: 5px 10px;
      border-radius: 5px;
      z-index: 10001;
      font-size: 1em;
    }
	.float-order a { color: #fff; }
}

@media (max-width: 480px)
{
	table { display: block; overflow: auto; }
}

@media (max-width: 1200px) and (min-width: 1024px)
{
	.home .owl-carousel .owl-item img.owl-lazy { height: 180px; }
	.single-post .related-posts .owl-carousel .owl-item img { height: 130px; }
}

@media (max-width: 575px)
{
   #footer { margin-bottom: 0; }
}

.porto-ibanner .porto-ibanner-layer.elementor-widget-wrap { margin: 0 auto; width: 70%; }

h3.porto-sicon-title { font-size: 15px; line-height: 20px; margin-bottom: 0; }

.custom-page-header .porto-ibanner { margin-bottom: 0; }

/*
.custom-form-cs .btn-primary 
{
	background-color: #004D40;
	border: 1px solid #004D40;
} */

#footer .share-links a:not(:hover) { background-color: #fff; color: #000; }

@media only screen and (max-width: 768px)
{
	#mini-cart .cart-popup { right: -30px; }
}

#side-nav-panel .accordion-menu>li.menu-item>a { text-transform: none; }

.single-product .wp-video { margin-bottom: 20px; }

.product-summary-wrap .description ul { padding-left: 20px; }
.product-summary-wrap .description ul li { margin-bottom: 5px; }

.woocommerce-tabs .tab-content ul { padding-left: 20px; }
.woocommerce-tabs .tab-content ul li { margin-bottom: 5px; }

.page-template-default .main-content { text-align: justify; }

.single-post .entry-content { text-align: justify; }

.single-post .entry-content ul { padding-left: 20px; }

.single-post .entry-content ul li { margin-bottom: 5px; }

.single-post .post-views { margin-bottom: 15px; }

.elementor-tab-title a { line-height: 22px; }

.elementor-testimonial-wrapper
{
	min-height: 200px;
    padding: 20px;
    border: 1px solid #f2f2f2;
    box-shadow: 0 0 5px 2px;
    margin: 10px;
	background-color: #fff;
}

h3.porto-sicon-title { text-align: left; margin-bottom: 8px !important; }

.porto-sicon-header>p:last-child { text-align: left; line-height: 20px; }

.custom-md-row h3.porto-sicon-title { margin-bottom: 0 !important; }

.custom-head-title h2
{
	color: #fff;
	background-color: #B71C1C;
	margin: 0 auto;
	width: 30%;
	padding-top: 5px;
	padding-bottom: 5px;
	border-radius: 20px;
}

@media (max-width: 480px)
{
	.custom-head-title h2 { width: 100%; }
	
	.custom-50-col { width: 50%; }
}

.elementor-widget-porto_stat_counter .stats-block {
    margin-bottom: 10px;
}

.stats-block .stats-text {
    margin-top: 10px;
}

.gpc-section-2 { padding-top: 100px; padding-bottom: 100px; }

.tax-product_cat h2 {
    margin-bottom: 20px;
}

.mega-menu .popup li.menu-item { margin-bottom: 10px; }






