﻿/*OrchardCore element styles*/
/* This file is part of the OrchardCore project, which is released under the MIT License. */

/* ### OrchardCore layout ### */
.widget-size-25{
    width: 25%;
}
.widget-size-33 {
    width: 33.3333%;
}
.widget-size-50 {
    width: 50%;
}
.widget-size-66{
    width: 66.6666%;
}
.widget-size-75 {
    width: 75%;
}
.widget-size-100{
    width: 100%;
}

.widget-align-left{
    float: left;
}
.widget-align-right {
    float: right;
}
.widget-align-center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.widget-align-justify{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1024px) {
    .row {
        display: block !important;
    }

    .widget-align-justify {
        display: block !important;
        justify-content: unset !important;
        align-items: unset !important;
    }

    .col-lg-6, .col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: unset !important;
        order: unset !important;
        display: block !important;
    }

    .col-lg-6 {
        order: -1 !important;
    }

    .widget-align-left,
    .widget-align-right,
    .widget-align-center {
        float: none !important;
        display: block !important;
        justify-content: unset !important;
        align-items: unset !important;
    }

    .widget-size-25,
    .widget-size-50 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .section-xxl_bigger .container .row .flow
    {
        display: block !important;
        /* flex-wrap: wrap; */
        justify-content: center;
        align-items: flex-start;
    }

    .presentation-body{
        margin-bottom: 30px;
    }
}


/* ### ImageWidget ### */
.advertising-banner {
    
    padding: 10px;
}

.advertising-banner .banner-title{
    text-align: center;
    font-size: 1.5em;
    margin-top: 10px;
}
.advertising-banner .banner-title h2{
    font-size: 45px;
}

.advertising-banner-images {
    display: flex;
    justify-content: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

    .advertising-banner-images .flow {
        display: flex;
    }

/* ### AdvertImage Widget ### */

.advertising-image {
    flex: 0 0 25%;
    margin: 10px;
    box-sizing: border-box;
}

    .advertising-image-url{
        text-align: center;
    }
    /* ### AdvertImage - MediaField ### */
    .advertising-image-widget-media-field {
        margin: 10px;
        max-width: 250px;
        width: 100%;
        height: auto;
    }

.widget-container-collg3 .flow {
    display: block !important;
}

.selects-row {
    display: block;
    gap: 1rem;
}
@media (min-width: 1025px) {
    .selects-row {
        display: flex;
        gap: 1rem;
    }
    .selects-row > div {
        flex: 1 1 0;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .table th, .table td {
        font-size: 0.7rem;
        padding: 0.3rem;
    }
}
@media (min-width: 577px) and (max-width: 1024px) {
    .table th, .table td {
        font-size: 0.9rem;
        padding: 0.3rem;
    }
}

