/*
Theme Name: Innovasystems (Astra child-theme)
Template: astra
Description: Innovasystems is a child theme of Astra WordPress Theme. Designed for Innovasystems.
Author: Wilbert Rodríguez
Version: 1.0.0
License: Private
Text Domain: innovasystems
*/

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

div.grid-features {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-top: 20px;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .md-mt--40 {
        margin-top: -40px !important;
    }

    .md-mb--40 {
        margin-bottom: -40px !important;
    }

    .md-col-1-2 {
        grid-column: 1 / 2;
    }

    .md-row-2-3 {
        grid-row: 2 / 3;
    }
}

.img-full-container {
    width: 100%;
    height: 100%;
    
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

header.site-header {
    position: sticky;
    top: 0;
}

@media (min-width: 600px){
    body:has(#wpadminbar) header.site-header {
        top: 32px;
    }
}

div.grid-3 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
}

@media (min-width: 768px) {
    div.grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.h-100 {
    height: 100% !important;
}

.w-100 {
    width: 100% !important;
}

/** CUSTOM FOOTER **/
footer.custom-footer {
    background-image: url('https://innovasystems.com/wp-content/uploads/2021/06/footer-bg.jpg');
    background-size: cover;
    background-position: center bottom;
    padding: 40px 0;
    color: #fff;
}

.footer-text {
    text-align: center;
    color: #fff;
}

.footer-logo {
    max-width: 200px;
    margin: 0 auto;
}

.footer-title {
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;

    .menu-item,
    .footer-item {
        text-align: center;
        
        a {
            color: #fff;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            margin-bottom: 15px;
    
            &:hover {
                text-decoration: underline;
            }
    
            .dashicons {
                margin-right: 10px;
            }
        }
    }
}

div.grid-2-responsive {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }
}