/*
Theme Name: MGStone theme
Theme URI: https://urantiacos.cl
Author: Urantiacos
Author URI: https://urantiacos.cl/
Description: Tema para sitio MGStone
Version: 1.0
Requires at least: 5.5
Tested up to: 5.9
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mgstone-theme
*/

/* Global */
html,body{
    font-family: 'Google Sans Flex', sans-serif !important;
    overflow-x: hidden;
    color: #2b2a2a !important;
}

img{
    max-width: 100%;
    height: auto;
}

header{
    z-index: 20;
    background-color: #00000080;
}

footer{
    background-color: #2B2A2A;
}

img.alignleft,
img.alignright{
    float: left;
    margin: 0 1.5rem 1.5rem 0;
}

img.alignright{
    float: right;
}

.p:empty{
    display: none;
}

.bg-size-cover{
    background-size: cover;
}

.bg-repeat-none{
    background-repeat: no-repeat;
}

.bg-position-center{
    background-position: center;
}

.object-position-center{
    object-position: center !important;
}

.object-position-top{
    object-position: top !important;
}

.object-position-bottom{
    object-position: bottom !important;
}

@media(max-width: 768px){
    .wp-block-image > figure{
        float: none !important;
        margin: 0 auto 1rem auto !important;
    }
}

.fs-3rem{
    font-size: 3rem !important;
}

.fs-3p5rem{
    font-size: 3.5rem !important;
}

.fs-4rem{
    font-size: 4rem !important;
}

.fs-6rem{
    font-size: 6rem !important;
}

.height-fixed{
    height: 300px !important;
}

.height-fixed-extra-small{
    height: 150px !important;
}

.height-fixed-small{
    height: 200px !important;
}

.height-fixed-medium{
    height: 400px !important;
}

.height-fixed-large{
    height: 500px !important;
}

.mgstone-overlay:before,
.mgstone-overlay-30:before,
.mgstone-overlay-45:before,
.mgstone-overlay-60:before,
.mgstone-overlay-75:before{
    content: '';
    background-color: rgb(0 0 0 / 15%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.mgstone-overlay-30:before{
    background-color: rgb(0 0 0 / 30%);
}

.mgstone-overlay-45:before{
    background-color: rgb(0 0 0 / 45%);
}

.mgstone-overlay-60:before{
    background-color: rgb(0 0 0 / 60%);
}

.mgstone-overlay-75:before{
    background-color: rgb(0 0 0 / 75%);
}

/* Navbar */
.mgstone-header-menu .mgstone-navbar .nav-item .mgstone-navbar{
    display: none;
}

.mgstone-header-menu .mgstone-navbar .nav-item.has-children:hover .dropdown,
.mgstone-header-menu .mgstone-navbar.dropdown .nav-item.has-children:hover .dropend{
    display: block;
    position: absolute;
    top: 24px;
    left: 0;
    background-color: #777777;
    box-shadow: 1px 1px 3px #777;
    z-index: 10;
    width: 180%;
}

.mgstone-header-menu .mgstone-navbar.dropdown .nav-item.has-children:hover .dropend{
    top: 0;
    left: initial;
    right: -100%;
    width: 100%;
}

.mgstone-header-menu .mgstone-navbar .nav-item.has-children:hover .dropdown .nav-item,
.mgstone-header-menu .mgstone-navbar.dropdown .nav-item.has-children:hover .dropend{
    padding: 0.5rem 0;
}

/* Mobile menu */
.navbar-toggler:not(.collapsed) .material-symbols-outlined.open{
    display: none;
}

.navbar-toggler.collapsed .material-symbols-outlined.close{
    display: none;
}

.mgstone-navbar-mobile .dropdown-toggle{
    top: 9px;
    right: 16px;
}

.mgstone-navbar-mobile .dropdown-toggle:after{
    content: none;
}

/* Footer */
.mgstone-footer > .container-fluid{
    max-width: 1920px;
}

/* Contact */
.mgstone-form input,
.mgstone-form select,
.mgstone-form textarea{
    padding: 0.75rem 1rem;
    border: 1px solid #c1c1c1;
    width: 100%;
}

.mgstone-form label{
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Carousel */
.carousel-height-550 .carousel-item{
    height: 550px;
}

.carousel-overlay .carousel-item:before{
    content: '';
    background-color: rgb(0 0 0 / 15%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.carousel-overlay.overlay-30 .carousel-item:before{
    background-color: rgb(0 0 0 / 30%);
}

.carousel-overlay.overlay-45 .carousel-item:before{
    background-color: rgb(0 0 0 / 45%);
}

.carousel-overlay.overlay-60 .carousel-item:before{
    background-color: rgb(0 0 0 / 60%);
}

.carousel-overlay.overlay-75 .carousel-item:before{
    background-color: rgb(0 0 0 / 75%);
}

.top-center{
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.bottom-center{
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

/* Text meant only for screen readers. */
.screen-reader-text{
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus{
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Logo */
.custom-logo-link img{
    max-width: 100%;
    width: 87px;
    height: auto;
    object-fit: contain; /* For Safari */
    border: 1px solid #FFF; /* Fix logo's border not being width enough */
}

footer .custom-logo-link img{
    width: 146px;
}

/* Contact Form 7 */
.wpcf7-form .uc-form-group label{
    width: 100%;
}

.uc-input-style.text-right{
    flex-direction: row-reverse;
}

.uc-input-style[type=submit]{
    width: fit-content;
}

.wpcf7-response-output{
    border: 1px solid !important;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 7px 16px !important;
    margin: 12px 0 !important;
    border-color: #0a0 !important;
    background-color: rgba(0,170,0,.1);
}

.wpcf7-form.invalid .wpcf7-response-output{
    background-color: rgba(242,79,79,.1);
    border-color: #f24f4f !important;
}

.wpcf7-response-output:before{
    content: 'check_circle';
    font-family: 'Material Icons';
    color: #0a0;
    line-height: 1.1;
    margin-right: 8px;
}

.wpcf7-form.invalid .wpcf7-response-output:before{
    content: 'cancel';
    color: #f24f4f;
}

/*.wpcf7-response-output:after{
    content: 'close';
    font-family: 'Material Icons';
    color: #707070;
    margin-left: auto;
    line-height: 1.1;
}*/

.wpcf7-not-valid-tip{
    color: #f24f4f;
}

.wpcf7-list-item.first{
    margin-left: 0;
}

/* Yarpp */
.yarpp-related h3{
    font-size: 1.25rem !important;
    padding: 0 !important;
}

@media(min-width: 992px){
    .yarpp-related h3{
        font-size: 1.5rem !important;
    }
}

/* Tiny Slider */
.tns-hide-nav .tns-nav{
    display: none;
}

.tns-hide-controls .tns-controls{
    display: none;
}

.tns-material-controls .tns-outer{
    position: relative;
}

@media(max-width: 575px){
    .tns-material-controls .tns-controls{
        display: none;
    }
}

.tns-material-controls .tns-controls button[data-controls=prev],
.tns-material-controls .tns-controls button[data-controls=next]{
    font-size: 0;
    border: none;
    line-height: 1;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: #FFF;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0px 0px 8px 0px #0000004D;
}

.tns-material-controls .tns-controls button[data-controls=next]{
    left: initial;
    right: -20px;
}

.tns-material-controls .tns-controls button[data-controls=prev]:before,
.tns-material-controls .tns-controls button[data-controls=next]:before{
    content: 'arrow_left_alt';
    font-family: 'Material Symbols Outlined';
    font-size: 2rem;
}

.tns-material-controls .tns-controls button[data-controls=next]:before{
    content: 'arrow_right_alt';
}

.tns-material-controls .tns-nav{
    position: absolute;
    bottom: -64px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.tns-material-controls .tns-nav button{
    border: 0;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin: 0px 12px;
    background-color: #C2C1C1;
    padding: 0; /* Safari bug */
}

.tns-material-controls .tns-nav button.tns-nav-active{
    background-color: #3CBA99;
}

@media(min-width: 576px){
    .tns-overflow-visible .tns-ovh{
        overflow: visible !important;
    }
}

/* Loading */
.lds-spinner{
    position: relative;
    width: 80px !important;
    height: 80px;
    margin: 60px auto;
    display: block;
}

.lds-spinner div{
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after{
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #0176de;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Margin */
.mt-n-44px{
    margin-top: -44px !important;
}

.mt-n-50px{
    margin-top: -50px;
}

.mb-n-5{
    margin-bottom: -3rem;
}

/* Font size */
.fs-0p875rem{
    font-size: 0.875rem;
}

.fs-1p125rem{
    font-size: 1.125rem;
}

/* Colors */
.color-yellow{
    color: #F79A06;
}

.bg-color-yellow{
    background-color: #F79A06;
}

.btn-tabs.active{
    color: #FFF !important;
}

.btn-yellow, .btn-tabs.active{
    background-color: #F79A06 !important;
}

.btn-yellow:focus,
.btn-yellow:hover,
.btn-tabs.active:focus,
.btn-tabs.active:hover{
    background-color: #e6910a !important;
}

.btn-yellow:active,
.btn-tabs.active:active{
    background-color: #ba770c !important;
}

.bg-color-pinkgradient{
    background: linear-gradient(0deg, #F8F4F4, #F8F4F4),linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.bg-color-other-gray{
    background-color: #726B6BCC;
}

.color-green{
    color: #3CBA99;
}

/* Width */
.w-18px{
    width: 18px;
}

/* Height */
.h-56px{
    height: 56px;
}

.h-220px{
    height: 220px;
}

.h-400px{
    height: 400px;
}

.h-476px{
    height: 476px;
}

.min-h-476px{
    min-height: 476px;
}

.h-581px{
    height: 581px;
}

.min-h-581px{
    min-height: 581px;
}

.h-666px{
    height: 666px;
}

.min-h-666px{
    min-height: 666px;
}

.h-780px{
    height: 780px;
}

.min-h-780px{
    min-height: 780px;
}

/* Others */
.opacity-60{
    opacity: 0.6;
}

.opacity-80{
    opacity: 0.8;
}

.box-sizing-content{
    box-sizing: content-box;
}

.border-10px{
    border: 10px solid white;
}

.aspect-ratio-1{
    aspect-ratio: 1;
}

.mgstone-text-shadow{
    text-shadow: 0px 5px 9px #00000066;
}

.mgstone-box-shadow{
    box-shadow: 0px 0px 8px 0px #0000004D;
}

.letter-spacing-1px{
    letter-spacing: 1px;
}

.letter-spacing-3p1px{
    letter-spacing: 3.1px;
}