.row {
    gap: 2em 2em;
    justify-content: center;
}

.standard-text {
    font-weight: normal;
    text-align: left;
    max-width: 45em;
}

.compressed-text {
    max-width: 35em;
}

.btn {
    text-decoration: none !important;
}


#sidebar-wrapper svg {
    margin-right: .5em;
}

h1 {
    line-height: 1em;
    margin-bottom: 0.5em;
}

p {
    font-size: 1.1em;
}

p.ok {
    background-color: #5a7e2b;
    color: #ffffff;
    padding: 10px;
}

p.error {
    background-color: #b42727;
    color: #ffffff;
    padding: 10px;
}


.masthead h4 {
    font-size: 1.1rem;
}










/* Headers */



.body-es .masthead {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url(/assets/img/bg-masthead-es.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.body-en .masthead {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url(/assets/img/bg-masthead-en.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}





/**/
div.inner-container {
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 100px;
    margin-top: 20px;
    padding:3%;
}

body#page-home div.inner-container {
    max-width: none;
    margin-top: 0;
    padding:0;
}

div#header .logo{
    margin-top: 30px;
    width: 200px;
    margin-left: 2%;
}





















/* Functions */
.function {
    border: 1px solid #ffffff;
    border-radius: 2em;
    padding: 1em;
}

.function a {
    color: #ffffff;
    text-decoration: none;
}







/* portfolio */
h2,
.portfolio-item .caption .caption-content .h2 {
    font-size: 1.5rem;
    line-height: 1em;
}

#portfolio .details {
    text-shadow: 1px 0px 3px black;
}

.details {
    gap: 0;
}


.portfolio-item .caption {
    background-color: rgba(86, 125, 84, 0.85);
}

@media (min-width: 992px) {

    #portfolio .col-lg-6 {
        width: 45%;
    }

    #portfolio .details {
        gap: 20px;
    }

    .portfolio-item .caption {
        background-color: rgba(86, 125, 84, 0.7);
    }

    .portfolio-item img {
        -webkit-clip-path: inset(0rem);
        clip-path: inset(0rem);
    }

    .portfolio-item:hover img {
        -webkit-clip-path: inset(1rem);
        clip-path: inset(1rem);
    }

    .portfolio-item:hover .caption {
        background-color: rgba(86, 125, 84, 0.95);
        -webkit-clip-path: inset(1rem);
        clip-path: inset(1rem);
    }
}









/* Plans */
.plans {
    display: flex;
    gap: 0;
    padding: 0;
    font-size: large;
    min-width: 500px;
    margin-bottom: 20px;
}


#plans a {
    color: #ffffff !important;
    text-decoration: underline;
}

.plans .captions {
    text-align: right;
    font-weight: bold;
}

.plans .captions td {
    padding-right: 1em;
}

.plans h1 {
    font-size: 0.9em;
    font-weight: normal;
    margin-bottom: -0.2em;
}

.plans h2 {
    font-size: 1.5em;
    margin-bottom: -0.2em;
}

.plans h3 {
    font-size: 2em;
}

.plan {
    border: 0;
    border-radius: 0;
    padding: 0;
    width: 12em;
    margin-top: 2em;
}

.captionsTable-1,
.captionsTable-2,
.captionsTable-3 {
    display: none;
}


.plan table,
.plan table th,
.plan table td {
    border-bottom: 1px dotted #ffffff;
    width: 100%;
}

.plan table thead tr {
    height: 6em;
}

.plan table tbody tr {
    height: 3em;
}

.plan-0 {
    background-color: #87b14f;
}

.plan-1 {
    background-color: #6f9848;
}

.plan-2 {
    background-color: #567e42;
}

.plan-3 {
    background-color: #3d653b;
}

/* Mobile */
@media (max-width: 1200px) {

    .captionsTable-1,
    .captionsTable-2,
    .captionsTable-3 {
        display: block;
    }

    .plan {
        width: 17em;
    }
}

@media (max-width: 770px) {
    .plan {
        width: 12em;
    }
}

@media (max-width: 490px) {

    .content-section-heading h2,
    .content-section-heading .h2 {
        font-size: 1rem;
    }

    #plans .px-4 {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }

    .plans {
        min-width: 370px;
        max-width: 370px;
        font-size: medium;
    }

    .plans h2 {
        font-size: 1.2em;
    }

    .plans h3 {
        font-size: 1.2em;
    }

    .plan {
        width: 10em;
    }

    .plan table tbody tr {
        height: 4em;
    }

}







/* ForGodSake */
#forgodsake {
    background: #3d653b !important;
}




/* pages */
.app-name {
    font-weight: bold;
    color: #2e6d39;
}





/* Contact */
#contact {
    margin: 0px auto;
    max-width: 800px;
    padding-top: 20px;
    padding-bottom: 20em;
}

label.error {
    color: red;
}

input.error, textarea.error {
    color: red;
    background-color: #ffe7e7;
    border: 1px solid red;
}









/* Footer */

.footer-section {
    position: relative;
    /* For the background image */
    /* anula los enlaces! */
    width: 100%;
    background-color: #0f1324;
    --overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/logo-billz-leaves.png');
    /* Replace with your transparent PNG */
    background-repeat: no-repeat;
    background-size: cover;
    /* Adjust to fit the div */
    background-position: center;
    opacity: 0.03;
    /* Set image opacity */
    z-index: 1;
    /* Place behind content */
}

.footer-section * {
    position: relative;
    z-index: 2;
    /* Ensure text and links are above the background image */

}



#footer .row {
    gap: 1em 1em;
}

/* #footer .footer-boxes {
    --display: flex;
    --width: 100%;
    --flex-wrap: wrap;
    --justify-content: space-evenly;
} */

#footer .footer-box {
    width: 10em;
    padding: 0.5em;
    margin: 0;
    color: #ffffff;
    border: 0px solid #ffffff;
    text-align: left;
}

#footer .footer-box h3 {
    font-size: 1.3rem;
}

#footer a {
    color: #ffffff;
    text-decoration: none;
}

/* Subfooter */
#footer .subfooter {
    display: flex;
    font-size: 0.9rem;
    justify-content: space-evenly;
    color: #dddddd;
}


#footer .subfooter a {
    color: #717171;
}

#footer .logo img {
    width: 53px;
    vertical-align: top;
}

#footer .logo {
    white-space: nowrap;
}

#footer .subfooter .legal {
    display: flex;
    gap: 1.5em;
}

@media (max-width: 700px) {

    #footer .subfooter {
        gap: 1em;
    }

    #footer .subfooter .legal {
        display: flex;
        gap: .5em;
        flex-direction: column;
        align-items: flex-start;
    }
}