/** 
 * CSS Style: Theme footer
 * 
 * @since 1.0
 */

.theme-footer .theme-grid {
    margin: 0 auto;
}

.theme-footer .theme-grid:first-child  {
    background-color: var(--theme-color);
    color: #ffffff;
}

.theme-footer .theme-grid:first-child a {
    color: #ffffff;
}

.theme-footer .theme-grid:last-child {
    /*padding: var( --theme-padding ) 0;*/
    height: 80px;
}

.theme-footer .theme-grid:last-child > .theme-grid-row {
    height: 100%;
}

.theme-footer .theme-grid > .theme-grid-row {
    align-items: center;
    justify-content: space-between;
}

.theme-footer .theme-grid > .theme-grid-row.theme-footer-sidebars {
    align-items: start;
    font-size: 12px;
    line-height: 1.4;
    padding-bottom: var(--theme-padding);
}

.theme-footer p:not(:last-child), .theme-footer .theme-widget-row:not(:last-child) {
    margin-bottom: var(--theme-margin );
}

.theme-footer img {
    display: block;
}

.theme-mistape-row {
    margin-top: var( --theme-margin );
    margin-bottom: var( --theme-margin );
    font-weight: bold;
}

.theme-age {
    width: 36px;
    height: 36px;
    color: #ffffff;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

@media only screen and (max-width: 1100px) {
    .theme-mistape-row {
        display: none;
    }

    .theme-age-row {
        margin-top: var(--theme-margin);
        margin-bottom: var(--theme-margin);
        justify-content: center;
    }
}

/** 
 * Footer logo
 * 
 * @since 1.0
 */
.theme-footer-logo {
    padding: var( --theme-padding ) 0;
}

.theme-footer-logo a {
    display: block;
    color: #ffffff;
}

.theme-footer-logo svg {
    width: auto;
    height: 40px;
}

.theme-footer-logo svg path {
    fill: #ffffff;
}


@media only screen and (max-width: 1100px) {
    .theme-footer {
        padding-bottom: 80px;
    }

    .theme-footer-main, .theme-footer .theme-grid > .theme-grid-row.theme-footer-sidebars {
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
    }

    .theme-footer-main > .theme-grid-col:first-child {
        order: 2;
    }

    .theme-footer-main > .theme-grid-col:last-child {
        order: 1;
        margin-top: var( --theme-margin );
    }

    .theme-footer-main > .theme-grid-col:first-child > .theme-grid-row {
        flex-direction: column;
    }

    .theme-footer-logo {
        padding: 30px 0;
    }

    .theme-footer-logo svg {
        height: 30px;
    }

    .theme-footer .theme-grid > .theme-grid-row.theme-footer-sidebars > .theme-grid-col {
        text-align: center;
        flex: 0 0 80%;
        max-width: 80%;
        width: 80%;
        white-space: wrap;
    }

    .theme-footer-sidebar-left {
        justify-content: center;
    }

    .theme-footer-sidebar-left .theme-grid-col .theme-grid-row {
        justify-content: center;
    }

    /*.theme-footer-sidebar-left > .theme-grid-col {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }*/

    .theme-footer .theme-grid:last-child > .theme-grid-row {
        justify-content: center;
    }
}