/* CSS Document */

@media screen and (min-width: 1280px) {

}

@media screen and (max-width: 1100px) {

    .stpaul-inscriptions-liste .content-details-atelier .block-table-title {
        flex-direction: column;
        align-items: flex-start;
    }

    /*Container*/
    .container-small {
        width: calc(100% - 40px);
    }

    .stpaul-dashboard .container-ateliers {
        padding: 20px;
    }

    /*TABLE*/
    .stpaul-dashboard .table .table-header {
        display: none;
    }
    .stpaul-dashboard .header {
        align-items: flex-start;
        gap: 5px;
        flex-direction: column;
    }

    .stpaul-dashboard .header .filtres {
        justify-content: space-between;
    }

    .stpaul-dashboard .header .filtres > * {
        width: calc(50% - 5px);
    }

    .stpaul-dashboard .header .filtres input {
        min-width: 0;
    }

    .stpaul-dashboard .table .table-content .line,
    .content-details-atelier .table .table-content .line {
        flex-wrap: wrap;
        padding: 15px 0;
        gap: 5px 0;
        border-bottom: solid 2px #bababa;
    }

    .stpaul-dashboard .table .table-content .line .duree:before {
        content: 'Durée : ';
    }

    .stpaul-dashboard .table .table-content .line .places:before {
        content: 'Places : ';
        font-size: 14px;
    }

    .stpaul-dashboard .table .line .titre,
    .stpaul-dashboard .table .line .categorie,
    .stpaul-dashboard .table .line .duree,
    .stpaul-dashboard .table .table-content .line .date-heure,
    .stpaul-dashboard .table .table-content .line .places {
        width: 50%;
        margin: 0;
    }

    .stpaul-dashboard .table .line .duree,
    .stpaul-dashboard .table .table-content .line .date-heure {
        margin-top: 10px;
    }

    .stpaul-dashboard .table .table-content .line .actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 900px) {

    /*DETAIL ATELIER*/
    .header-details-atelier {
        padding: 25px;
        flex-direction: column;
    }

    .header-details-atelier .content .dates .pipe {
        display: none;
    }

    .header-details-atelier .content .dates {
        gap: 5px 0;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
        font-size: 15px;
    }

    .header-details-atelier .content .infos .info .texte,
    .header-details-atelier .content .dates-inscriptions,
    .header-details-atelier .content .organisateurs {
        font-size: 15px;
        line-height: 22px;
    }

    .header-details-atelier .content .infos .info {
        align-items: flex-start;
    }

    .content-details-atelier {
        padding: 15px 25px;
        line-height: 24px;
        font-size: 14px;
    }

    .content-details-atelier .block-table-title {
        margin-bottom: 10px;
        flex-direction: column;
        margin-top: 30px;
        align-items: flex-start;
    }

    .content-details-atelier .block-table-title h2 {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }

    .content-details-atelier .block-table-title .filtres {
        flex-wrap: wrap;
    }

    .content-details-atelier .block-table-title .filtres > * {
        width: calc(50% - 5px);
    }

    /*Paragraphes*/
    .para-item-paragraphe .container-para {
        flex-direction: column-reverse;
    }

    .para-item-paragraphe .para-desc,
    .para-item-paragraphe .para-photos {
        width: 100% !important;
        margin-right: 0;
    }

    .para-item-paragraphe .para-photos,
    .para-item-paragraphe .para-desc {
        width: 100% !important;
    }

}

@media screen and (max-width: 800px) {

    .bloc-form-atelier {
        margin-bottom: 80px;
        padding: 20px;
    }

    .bloc-form-atelier .champs-parametres > .form-item:not(.fieldgroup) {
        width: calc(100% - 100px);
    }

    .bloc-form-atelier .champs-org-cat,
    .bloc-form-atelier .champs-parametres,
    .bloc-form-atelier .champs-parametres-2 {
        gap: 15px;
    }

    /*INSCRIPTIONS*/
    .stpaul-inscriptions-liste .content-details-atelier .block-table-title .filtres > * {
        width: calc(50% - 10px);
        margin-top: 0;
    }

    .stpaul-inscriptions-liste .content-details-atelier .block-table-title .filtres input[type="text"],
    .stpaul-inscriptions-liste .content-details-atelier .block-table-title .filtres select,
    .stpaul-inscriptions-liste .content-details-atelier .block-table-title .filtres input[type="submit"] {
        width: 100%;
    }

    .stpaul-inscriptions-liste .content-details-atelier .block-table-title .filtres,
    .stpaul-inscriptions-liste .content-details-atelier .block-table-title .filtres form {
        width: 100%;
    }

    .stpaul-inscriptions-liste .content-details-atelier .block-table-title .filtres {
        justify-content: space-between;
        gap: 0;
    }

    .stpaul-inscriptions-liste .content-details-atelier .table .line .actions .actions-inscription .action-btn span {
        display: none;
    }

    .stpaul-inscriptions-liste .content-details-atelier .table .line .actions .actions-inscription .action-btn {
        min-width: 40px;
        justify-content: center;
    }

    .container-inscriptions-liste .content-details-atelier .table .line .statut {
        width: calc(100% - 120px);
        line-height: 30px;
    }

    .container-inscriptions-liste .content-details-atelier .table .line .actions {
        width: 100px;
    }

    /*DETAIL ATELIER*/
    .content-details-atelier .block-table-title .filtres .export-btn .hidden-mobile {
        display: none;
        text-align: center;
    }

    .content-details-atelier .table .line .classe,
    .content-details-atelier .table .line .statut,
    .content-details-atelier .table .line .nom,
    .content-details-atelier .table .line .actions {
        width: 50% !important;
    }
    
    .stpaul-inscriptions-liste .content-details-atelier .table .line .statut {
        width: 65% !important;
    }
    
    .stpaul-inscriptions-liste .content-details-atelier .table .line .actions {
        width: 35% !important;
    }

    .content-details-atelier .table .line .classe {
        text-align: right;
    }

    /*FORM ATELIER*/
    .bloc-form-atelier .champs-org-cat > .form-item {
        width: 100%;
    }

    .bloc-form-atelier .form-item#edit-champs-params-desistement-interdit--wrapper {
        margin-left: 0;
        width: 100%;
    }

    .bloc-form-atelier .form-item {
        margin-top: 18px;
    }

    .bloc-form-atelier .champs-org-cat {
        gap: 0;
    }

    .content-details-atelier .table-header {
        display: none;
    }

    /*UI DIALOG*/
    .ui-dialog .ui-dialog-content {
        padding: 30px 25px 30px;
        font-family: 'Roboto', sans-serif;
    }

    .ui-dialog .ui-dialog-content .inner .btns {
        margin-top: 20px;
        gap: 25px;
    }

    /*PAGE TITLE*/
    .stpaul-dashboard h1,
    .block-creation-atelier h1,
    .block-details-atelier h1 {
        margin: 30px 0 10px;
        font-size: 26px;
    }

    .stpaul-dashboard .header .add-btn img {
        margin-right: 5px;
        width: 12px;
    }

    .stpaul-dashboard .header .add-btn {
        height: 28px;
        padding: 0 10px;
        font-size: 15px;
    }

    .stpaul-dashboard .header h2 {
        font-size: 20px;
    }

    /*HEADER*/
    #block-ateliers-stpaul-theme-logoheader .baseline {
        display: none;
    }

    #block-ateliers-stpaul-theme-logoheader {
        left: 10px;
        max-width: 100px;
    }

    /*Galerie PARA*/
    .galerie-paragraphe .grid__item {
        margin-bottom: 10px;
    }

    .galerie-paragraphe .grid__item,
    .galerie-paragraphe .grid__col-sizer {
        width: calc(50% - 5px);
    }

    .galerie-paragraphe .grid__gutter-sizer {
        width: 10px;
    }
}

@media screen and (max-width: 600px) {

    /*Paragraphes*/
    .pos-photo-1 .para-photos,
    .pos-photo-2 .para-photos {
        flex-direction: column;
    }

    .pos-photo-1 .para-photos .para-photo,
    .pos-photo-2 .para-photos .para-photo {
        margin: 5px 0;
        display: flex;
    }

    .pos-photo-1 .para-photo-img,
    .pos-photo-2 .para-photo-img {
        width: 100%;
    }

    .pos-photo-1 .para-photos .para-photo a,
    .pos-photo-1 .para-photos .para-photo img,
    .pos-photo-2 .para-photos .para-photo a,
    .pos-photo-2 .para-photos .para-photo img {
        display: inline-block;
        width: auto;
        height: auto;
    }

}