/*
Theme Name: Urantia Crece Theme
Theme URI: https://urantiacos.cl
Author: Urantiacos
Author URI: https://urantiacos.cl/
Description: Urantia Crece Theme
Version: 0.1
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: urantia-crece
*/

/* Global */
html,body{
    font-family: 'Mulish', sans-serif !important;
    overflow-x: hidden;
}

img{
    max-width: 100%;
    height: auto;
}

header{
    z-index: 20;
    position: relative;
}

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-size-contain{
    background-size: contain !important;
}

.bg-repeat-none{
    background-repeat: no-repeat;
}

.bg-position-center{
    background-position: center;
}

.object-fit-cover{
    object-fit: cover;
}

.object-fit-contain{
    object-fit: contain !important;
}

.object-position-center{
    object-position: center !important;
}

.object-position-top{
    object-position: top !important;
}

@media(max-width: 768px){
    .wp-block-image > figure{
        float: none !important;
        margin: 0 auto 1rem auto !important;
    }
}

.fs-rem-3{
    font-size: 3rem !important;
}

.fs-rem-35{
    font-size: 3.5rem !important;
}

.fs-rem-4{
    font-size: 4rem !important;
}

.fs-rem-6{
    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;
}

.urantiacos-overlay:before,
.urantiacos-overlay-30:before,
.urantiacos-overlay-45:before,
.urantiacos-overlay-60:before,
.urantiacos-overlay-75:before{
    content: '';
    background-color: rgb(0 0 0 / 15%);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.urantiacos-overlay-30:before{
    background-color: rgb(0 0 0 / 30%);
}

.urantiacos-overlay-45:before{
    background-color: rgb(0 0 0 / 45%);
}

.urantiacos-overlay-60:before{
    background-color: rgb(0 0 0 / 60%);
}

.urantiacos-overlay-75:before{
    background-color: rgb(0 0 0 / 75%);
}

/* Navbar */
.urantiacos-header-menu .urantiacos-navbar .nav-item .urantiacos-navbar{
    display: none;
}

.urantiacos-header-menu .urantiacos-navbar .nav-item a{
    border-bottom: 3px solid transparent;
}

.urantiacos-header-menu .urantiacos-navbar .nav-item .active{
    border-bottom: 3px solid #F27900; 
}

.urantiacos-header-menu .urantiacos-navbar .nav-item.has-children:hover .dropdown,
.urantiacos-header-menu .urantiacos-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%;
}

.urantiacos-header-menu .urantiacos-navbar.dropdown .nav-item.has-children:hover .dropend{
    top: 0;
    left: initial;
    right: -100%;
    width: 100%;
}

.urantiacos-header-menu .urantiacos-navbar .nav-item.has-children:hover .dropdown .nav-item,
.urantiacos-header-menu .urantiacos-navbar.dropdown .nav-item.has-children:hover .dropend{
    padding: 0.5rem 0;
}

.offcanvas-header .btn-close{
    background-image: url('./img/close.svg');
}

.urantiacos-navbar-mobile .nav-item .active{
    border-bottom: 3px solid #F27900;
}

.urantiacos-navbar-mobile .nav-item .material-symbols-outlined:not(.collapsed){
    transform: rotate(180);
}

/* Footer */
.urantiacos-footer > .container-fluid{
    max-width: 1920px;
}

.urantiacos-footer .footer-social img{
    height: 30px;
}

/* Contact */
.urantiacos-form input,
.urantiacos-form select,
.urantiacos-form textarea{
    padding: 0.75rem 1rem;
    border: 1px solid #c1c1c1;
    width: 100%;
}

.urantiacos-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%);
}

/* Bootstrap classes missing */
.top-0{
    top: 0;
}

.left-0{
    left: 0;
}

.right-0{
    right: 0;
}

.bottom-0{
    bottom: 0;
}

.top-center{
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.bottom-center{
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.fw-normal{
    font-weight: 400 !important;
}

.fw-medium{
    font-weight: 500 !important;
}

.fw-italic,
.fst-italic{
    font-style: italic;
}

.list-unstyled{
    padding-left: 0;
    list-style: none;
}

.lh-base{
    line-height: 1.2;
}

.overflow-y{
    overflow-y: auto;
}

.overflow-x{
    overflow-x: auto;
}

.overflow{
    overflow: auto;
}

/* 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: 243px;
    height: auto;
    object-fit: contain; /* For Safari */
}

.urantiacos-footer .custom-logo-link img,
.offcanvas-body .custom-logo-link img{
    width: 162px;
}

.custom-logo-brand{
    width: 260px;
    height: 75px;
}

@media(min-width: 992px){
    .custom-logo-brand{
        width: 300px;
        height: 80px;
    }
}

/* 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;
}

/* Posts */
.wp-caption{
    max-width: 100% !important;
}

.uc-post-image .widget-title,
.wp-caption-text{
    color: #757575;
    font-size: 0.875rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    margin-top: 8px !important;
    margin-bottom: 16px;
    font-weight: 400;
}

.uc-post-image .widget-title i,
.wp-caption-text i{
    margin-right: 4px;
}

.single-post .post-content p,
.single-post .post-content ul{
    font-size: 1.125rem;
}

.single-post .post-excerpt p{
    font-size: 1.25rem;
    line-height: 1.4;
    letter-spacing: .6px;
}

@media(min-width: 992px){
    .single-post .post-excerpt p{
        font-size: 1.5rem;
        line-height: 1.6;
        letter-spacing: .18px;
    }

    .uc-post-sidebar{
        margin-top: 180px;
    }
}

.uc-post-sidebar p:empty{
    display: none;
}

/* Yarpp */
.yarpp-related h3{
    font-size: 1.25rem !important;
    padding: 0 !important;
}

@media(min-width: 992px){
    .yarpp-related h3{
        font-size: 1.5rem !important;
    }
}

/* Events Manager */
.em-pagination{
    width: 100%;
    margin: 2rem 0;
}

.em-pagination strong{
    display: flex;
}

/* Tiny Slider */
.tns-hide-nav .tns-nav{
    display: none;
}

.tns-hide-controls .tns-controls{
    display: none;
}

.tns-material-controls .tns-outer{
    position: relative;
}

.tns-material-controls .tns-controls button[data-controls=prev],
.tns-material-controls .tns-controls button[data-controls=next]{
    font-size: 0;
    border: none;
    padding: 0;
    background-color: transparent;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.tns-material-controls .tns-controls button[data-controls=next]{
    left: initial;
    right: 0;
}

.tns-material-controls .tns-controls button[data-controls=prev]:before,
.tns-material-controls .tns-controls button[data-controls=next]:before{
    content: 'keyboard_arrow_left';
    font-family: 'Material Icons';
    font-size: 4rem;
}

.tns-material-controls .tns-controls button[data-controls=next]:before{
    content: 'keyboard_arrow_right';
}

.tns-material-controls .tns-nav{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.tns-material-controls .tns-nav button{
    border: 0;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    margin: 0px 12px;
    background-color: #C3C3C3;
    padding: 0; /* Safari bug */
}

.tns-material-controls .tns-nav button.tns-nav-active{
    background-color: #DFDFDF;
}

/* 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;
    }
}

/* Fonts */
.ff-inter{
    font-family: 'Inter', sans-serif !important;
}

/* Font sizes */
.fs-1125rem{
    font-size: 1.125rem !important;
}

/* Colors */
.color-blue{
    color: #0F5A91 !important;
}

.bg-color-darkblue{
    background-color: #031C2F !important;
}

/* Buttons */
.btn-blue{
    background-color: #0F5A91 !important;
}

.btn-blue:hover{
    background-color: #0B4977 !important;
}

.btn-blue:active{
    background-color: #08395C !important;
}

.btn-orange{
    background-color: #F27900 !important;
}

.btn-orange:hover{
    background-color: #D36A00 !important;
}

.btn-orange:active{
    background-color: #B35C05 !important;
}