/*
Theme Name: MYPAGE Child
Theme URI: https://www.mypage.vn/
Author: MYPAGE
Author URI: https://www.mypage.vn/
Description: MYPAGE Theme.
Version: 1.1
Template: mypage
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
Text Domain: mypage-child
*/
@import url("../mypage/style.css");
/*************** ADD YOUR CUSTOM CSS HERE  ***************/
.porto-carousel-wrapper .slick-dots li i {opacity: 1;}

#header.sticky-header .header-main.sticky{ box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;}
#side-nav-panel .accordion-menu > li.menu-item > a {font-size: 18px; letter-spacing: 0; font-weight: 600;}
.porto-carousel-wrapper .slick-next, .porto-carousel-wrapper .slick-prev {
    width: 36px;
    height: 50px;
    background-color: rgb(255 255 255 / 80%);
    text-shadow: none;
    cursor: pointer;
}
.porto-carousel-wrapper .slick-next i, .porto-carousel-wrapper .slick-prev i{color: #000;}
.vc_row-no-padding .porto-carousel-wrapper .slick-next{right: 5px;}
.vc_row-no-padding .porto-carousel-wrapper .slick-prev {left: 5px;}

.wrap_banner .slick-slide > .vc_row > .porto-item-wrap { padding-left: 0; padding-right: 0; }
.wrap_banner  .vc_row .vc_column-inner > .porto-item-wrap:first-child:before {position: absolute; content: ""; top: 0; left: 0; width: 80%; height: 100%; background: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)); z-index: 1;}
.wrap_banner  .vc_row .vc_column-inner > .porto-item-wrap:last-child { position: absolute; bottom: 50%; width: 80%; left: 50%; transform: translate(-50%, 50%); z-index: 3;}
.wrap_banner .vc_row {display: block;} 
.wrap_banner .vc_row .wpb_text_column { width: 65%; }
.wrap_banner .vc_row h2 { color: #fff; margin-bottom: 20px; }
.wrap_banner .vc_row p { color: #fff; }
.wrap_banner .vc_row h1 { font-size: 40px; margin-bottom: 20px; }
.wrap_banner a {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #c4a761;
  border: 2px solid #c4a761;
  border-radius: 6px;
  background-color: transparent;
  transition: all 0.35s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.wrap_banner a:hover {
  background-color: #c4a761;
  color: #fff;
  box-shadow: 0 8px 16px rgba(196, 167, 97, 0.4);
  transform: scale(1.05);
}
.wrap_banner .porto-carousel-wrapper ul.slick-dots { position: absolute; bottom: 10px; }


.wrap_whoweare h3.vc_custom_heading, .wrap_ourservices h3.vc_custom_heading, .wrap_whychooseus h3.vc_custom_heading, .wrap_reviews h3.vc_custom_heading, .wrap_contactus h3.vc_custom_heading { color: var(--porto-primary-color); margin-bottom: 5px; font-size: 20px;}
.wrap_whoweare h2.vc_custom_heading, .wrap_ourservices h2.vc_custom_heading, .wrap_whychooseus h2.vc_custom_heading, .wrap_reviews h2.vc_custom_heading, .wrap_contactus h2.vc_custom_heading { color: #000; position: relative; margin-bottom: 70px;}
.wrap_whoweare h2.vc_custom_heading:before, .wrap_ourservices h2.vc_custom_heading:before, .wrap_whychooseus h2.vc_custom_heading:before, .wrap_reviews h2.vc_custom_heading:before, .wrap_contactus h2.vc_custom_heading:before { content: ""; position: absolute; bottom: -10px; background-color: var(--porto-primary-color); left: 50%; transform: translateX(-50%); width: 10%; height: 2px; }

.wrap_whoweare h2.vc_custom_heading {margin-bottom: 50px}
.wrap_whoweare h2.vc_custom_heading:before { left: 0; transform: translateX(0);}

.wrap_ourservices { padding-top: 50px; padding-bottom: 35px; }
.wrap_ourservices .vc_row > .vc_column_container > .wpb_wrapper {position: relative; margin-bottom: 30px; overflow: hidden;}
.wrap_ourservices .wpb_single_image {margin-bottom: 0; transition: 0.3s ease-in-out;}
.wrap_ourservices .wpb_single_image:before {content: ""; position: absolute; left: 0;bottom: 0; width: 100%; height: 50%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));}
.wrap_ourservices .wpb_text_column {position: absolute; left: 0; margin-bottom: 0; width: 100%; transition: 0.3s ease-in-out;}
.wrap_ourservices .vc_row:first-of-type .wpb_text_column {top: 90%;}
.wrap_ourservices .vc_row:last-child .wpb_text_column { top: 84%; }
.wrap_ourservices .wpb_text_column h3 { color: #f2e6c0; padding-left: 10px; font-size: 24px; margin-bottom: 10px;}
.wrap_ourservices .wpb_text_column p { color: #fff; padding: 0px 10px 20px; visibility: hidden; opacity: 0; transition: 0.3s ease-in-out;}
.wrap_ourservices .vc_row > .vc_column_container > .wpb_wrapper:hover .wpb_single_image {filter: brightness(0.5); transform: scale(1.1);}
.wrap_ourservices .vc_row:first-of-type > .vc_column_container > .wpb_wrapper:hover .wpb_text_column { transform: translateY(-45%);}
.wrap_ourservices .vc_row:last-child > .vc_column_container > .wpb_wrapper:hover .wpb_text_column { transform: translateY(-60%);}
.wrap_ourservices .vc_row > .vc_column_container > .wpb_wrapper:hover p {visibility: visible; opacity: 1;}

.wrap_whychooseus {padding-top: 50px; padding-bottom: 50px;}
.wrap_whychooseus .vc_row .wpb_wrapper.vc_column-inner {display: flex;}
.wrap_whychooseus .porto-sicon-box { box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; padding: 20px 10px 10px; width: calc((100% - 120px) / 5); margin-right: 30px; transition: 0.3s ease-in-out; border-radius: 5px;}
.wrap_whychooseus .porto-sicon-box:last-child {margin-right: 0}
.wrap_whychooseus .porto-sicon-box .porto-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 20px;
    color: var(--porto-primary-color);
    transition: 0.3s ease-in-out;
}
.wrap_whychooseus .porto-sicon-box:hover { box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; transform: scale(1.1);}
.wrap_whychooseus .porto-sicon-box:hover .porto-icon { background-color: var(--porto-primary-color); color: #fff; border-color: var(--porto-primary-color);}

.wrap_reviews { background-size: cover; background-repeat: no-repeat; background-position: center; padding-top: 100px; padding-bottom: 70px;}
.wrap_reviews:before {content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); display: block;}
.wrap_reviews h2.vc_custom_heading { color: #fff; margin-bottom: 35px; }
.wrap_reviews .testimonial blockquote p {text-align: center; font-size: 20px;}
.wrap_reviews .testimonial .testimonial-author { justify-content: center; margin-top: 0;}
.wrap_reviews .testimonial .testimonial-author p {text-align: center;}
.wrap_reviews .testimonial .testimonial-author strong { font-size: 22px; margin-bottom: 5px;}
.wrap_reviews .testimonial .testimonial-author span { font-size: 16px }
.wrap_reviews ul.slick-dots li i {color: #fff;}

.wrap_contactus {padding-top: 50px;}

.wrap_contactus form.wpcf7-form {
  font-family: 'Segoe UI', sans-serif;
}

.wrap_contactus .wpcf7-form-control {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: none;
}

.wrap_contactus .wpcf7-form-control:focus {
  border-color: #c4a761;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(196, 167, 97, 0.2);
  outline: none;
}

.wrap_contactus .wpcf7-form-control::placeholder {
  color: #aaa;
}

.wrap_contactus textarea.wpcf7-form-control {
  resize: vertical;
  height: 185px;
}

.wrap_contactus input.btn.btn-lg[type=submit] {
  background-color: var(--porto-primary-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--porto-primary-color);
  transition: all 0.3s ease;
}

.wrap_contactus input.btn.btn-lg[type=submit]:hover {
  background-color: #fff;
  color: var(--porto-primary-color);
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(196, 167, 97, 0.3);
}

.wrap_contactus .wpcf7-spinner {
  margin-left: 10px;
}



.footer:before {content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8);}
#footer .footer-main>.container { padding-bottom: 20px; }
.footer-main h3.widget-title { color: var(--porto-primary-color); font-size: 18px;}
.footer-main .row > div + div { margin-top: 22px; }
.footer-main .row > div:last-child ul.menu {border-bottom: none;}
.footer-main .row > div:last-child ul.menu li { border: none; }
.footer-main .row > div:last-child ul.menu li.active a { color: #fff; }
.footer-main .row > div:nth-child(2) .textwidget ul li {margin-bottom: 10px; position: relative; padding-left: 25px;}
.footer-main .row > div:nth-child(2) .textwidget ul li i {position: absolute; left: 0; top: 6px;}
.footer-main .row > div:first-child aside.widget_text {margin-bottom: 0;}
.footer-main .row > div:first-child aside.follow-us {margin-top: 15px;}
#footer .footer-bottom {padding-top: 5px; padding-bottom: 5px;}

.grecaptcha-badge { display: none !important;}


@media (max-width: 1229px) {
    #header .header-right-bottom #main-menu, #header .header-right-bottom .share-links { margin-left: 0 }
    #header .main-menu > li.menu-item > a { font-size: 15px; }

    .wrap_banner .vc_row h1 { font-size: 35px; margin-bottom: 12px;}
    .wrap_banner .vc_row h2 { font-size: 28px; }

    .wrap_ourservices h2.vc_custom_heading, .wrap_whychooseus h2.vc_custom_heading, .wrap_contactus h2.vc_custom_heading { margin-bottom: 50px;}

    .wrap_whoweare h2.vc_custom_heading:before {width: 15%}

    .wrap_ourservices .vc_row:first-of-type .wpb_text_column {top: 88%;}
    .wrap_ourservices .vc_row:last-child .wpb_text_column {top: 82%;}
    .wrap_ourservices .wpb_text_column h3 { font-size: 20px; margin-bottom: 5px;}
    .wrap_ourservices .wpb_text_column p { line-height: 20px;}

    .wrap_whychooseus .vc_row .wpb_wrapper.vc_column-inner {display: block;}
    .wrap_whychooseus .porto-sicon-box { width: 100%; margin-right: 0; display: flex; align-items: center; padding: 15px 20px;}
    .wrap_whychooseus .porto-sicon-box .porto-icon {margin-top: 0; margin-bottom: 0; font-size: 50px!important; width: 100px; height: 100px;}
    .wrap_whychooseus .porto-sicon-box .porto-sicon-header {margin-left: 20px; margin-bottom: 0; font-size: 20px; text-align: left;}
    .wrap_whychooseus .porto-sicon-box:hover { box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; transform: scale(1.04);}

    .wrap_reviews { padding-top: 80px; padding-bottom: 50px; }
    .wrap_reviews h2.vc_custom_heading { margin-bottom: 30px;}
}


@media (max-width: 991px) {
    #header .mobile-toggle {font-size: 20px;}

    .wrap_banner  .vc_row .vc_column-inner > .porto-item-wrap:last-child { width: 92%; }
    .wrap_banner .vc_row h1 { font-size: 32px; margin-bottom: 6px; }
    .wrap_banner .vc_row h2 { font-size: 24px; margin-bottom: 12px;}

    .wrap_whoweare h2.vc_custom_heading {margin-bottom: 30px}
    .wrap_whoweare h2.vc_custom_heading:before {width: 20%}

    .wrap_ourservices .wpb_text_column h3 { font-size: 15px; line-height: 22px;}
    .wrap_ourservices .wpb_text_column p { line-height: 19px; font-size: 14px}
    .wrap_ourservices .vc_row:first-of-type > .vc_column_container > .wpb_wrapper:hover .wpb_text_column { transform: translateY(-50%);}
    .wrap_ourservices .vc_row:last-child .wpb_text_column {top: 82%;}
    .wrap_ourservices .vc_row:last-child > .vc_column_container > .wpb_wrapper:hover .wpb_text_column { transform: translateY(-62%);}

    .wrap_whychooseus .porto-sicon-box .porto-sicon-header { font-size: 18px;}

    .wrap_reviews h2.vc_custom_heading { margin-bottom: 20px; }
    .wrap_reviews .testimonial blockquote p {font-size: 18px;}

    #footer .footer-bottom .container>div { text-align: center; }
}


@media (max-width: 767px) {
    .wrap_banner .vc_row .wpb_text_column { width: 60% }
    .wrap_banner .vc_row h1 { font-size: 28px; margin-bottom: 0px; line-height: 32px}
    .wrap_banner .vc_row h2 { font-size: 20px; margin-bottom: 5px;}
    .wrap_banner .vc_row p { font-size: 15px; line-height: 22px;}
    .wrap_banner a { font-size: 15px; padding: 10px 22px; }
    .wrap_banner .porto-carousel-wrapper ul.slick-dots li i { font-size: 12px; }

    .wrap_whoweare h3.vc_custom_heading, .wrap_ourservices h3.vc_custom_heading, .wrap_whychooseus h3.vc_custom_heading, .wrap_reviews h3.vc_custom_heading, .wrap_contactus h3.vc_custom_heading { margin-bottom: 0px; font-size: 18px; line-height: 24px;}
    .wrap_whoweare h2.vc_custom_heading, .wrap_ourservices h2.vc_custom_heading, .wrap_whychooseus h2.vc_custom_heading, .wrap_reviews h2.vc_custom_heading, .wrap_contactus h2.vc_custom_heading { font-size: 26px; line-height: 32px;}

    .wrap_whoweare h3.vc_custom_heading, .wrap_whoweare h2.vc_custom_heading { text-align: center; }
    .wrap_whoweare h2.vc_custom_heading:before { left: 50%; transform: translateX(-50%); width: 10%; }
    .wrap_whoweare .wpb_text_column p { text-align: justify; }

    .wrap_ourservices .vc_row:first-of-type .wpb_text_column, .wrap_ourservices .vc_row:last-child .wpb_text_column {top: 92%;}
    .wrap_ourservices .wpb_text_column h3 { font-size: 20px; }
    .wrap_ourservices .wpb_text_column p { font-size: 16px}
    .wrap_ourservices .vc_row:last-child > .vc_column_container > .wpb_wrapper:hover .wpb_text_column { transform: translateY(-50%);}

    .wrap_whychooseus .porto-sicon-box .porto-sicon-header { font-size: 16px;}

    .wrap_reviews { padding-top: 50px; padding-bottom: 10px; }
    .wrap_reviews h2.vc_custom_heading { margin-bottom: 10px; }
    .wrap_reviews .testimonial blockquote {padding-left: 40px; padding-right: 20px; padding-bottom: 20px;}
    .wrap_reviews .testimonial blockquote:before {left: 0;}
    .wrap_reviews .testimonial blockquote p {font-size: 16px;}
    .wrap_reviews .testimonial .testimonial-author strong { font-size: 18px;}
    .wrap_reviews .testimonial .testimonial-author span { font-size: 14px }
    
    .wrap_contactus .vc_row > .vc_column_container:first-child {margin-bottom: 30px;}
}


@media (max-width: 576px) {
    .wrap_banner .vc_row h1 { font-size: 22px; line-height: 26px}
    .wrap_banner .vc_row h2 { font-size: 16px; margin-bottom: 0px;}
    .wrap_banner .vc_row p { font-size: 13px; line-height: 18px; margin-bottom: 10px;}
    .wrap_banner a { font-size: 13px; padding: 8px 18px; }

    .wrap_ourservices .vc_row:first-of-type .wpb_text_column, .wrap_ourservices .vc_row:last-child .wpb_text_column {top: 90%;}
    .wrap_ourservices .wpb_text_column h3 { font-size: 18px;}

    .wrap_whychooseus .porto-sicon-box { padding: 10px;  }
    .wrap_whychooseus .porto-sicon-box .porto-icon {font-size: 40px!important; width: 80px; height: 80px;}
    .wrap_whychooseus .porto-sicon-box .porto-sicon-header { font-size: 14px; line-height: 20px;}
}


@media (max-width: 480px) {
    .wrap_banner  .vc_row .vc_column-inner > .porto-item-wrap:last-child {transform: translate(-50%, 52%)}
    .wrap_banner  .vc_row .vc_column-inner > .porto-item-wrap:first-child:before { width: 100% }
    .wrap_banner .vc_row .wpb_text_column { width: 100% }
    .wrap_banner .vc_row h1 { font-size: 18px;}
    .wrap_banner .vc_row h2 { font-size: 14px; line-height: 20px;}
    .wrap_banner a {padding: 6px 12px; }

    .wrap_ourservices .wpb_text_column h3 { font-size: 14px;}
    .wrap_ourservices .wpb_text_column p { font-size: 13px}
    .wrap_ourservices .vc_row:first-of-type .wpb_text_column, .wrap_ourservices .vc_row:last-child .wpb_text_column {top: 88%;}
    .wrap_ourservices .vc_row:first-of-type > .vc_column_container > .wpb_wrapper:hover .wpb_text_column, .wrap_ourservices .vc_row:last-child > .vc_column_container > .wpb_wrapper:hover .wpb_text_column { transform: translateY(-55%);}
}




















