/* CSS Document */
@media screen and (min-width: 1200px) {
    body.sticky-padding #not-frontpage {
        padding-top: 80px !important;
    }

    body #frontpage .sticky-padding {
        padding-top: 120px !important;
    }

    header.sticky-desktop #block-atelierdespratiques-theme-logoheader {
        display: block !important;
        position: absolute;
        left: 0;
        top: 2px;
        width: 160px;
        z-index: 1;
    }

    #frontpage header.sticky-desktop .region-header {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
    }

    header.sticky-desktop {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        background: #fff;
        height: 60px;
        z-index: 100000000;
        -moz-box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.5);
        -webkit-box-shadow: 0px 2px 7px -3px rgba(0, 0, 0, 0.5);
        -o-box-shadow: 0px 2px 7px -3px rgba(0, 0, 0, 0.5);
        box-shadow: 0px 2px 7px -3px rgba(0, 0, 0, 0.5);
        transform: translateY(-100px);
    }

    header.sticky-desktop.show {
        -webkit-transition: all 300ms ease-in-out;
        -moz-transition: all 300ms ease-in-out;
        -ms-transition: all 300ms ease-in-out;
        -o-transition: all 300ms ease-in-out;
        transition: all 300ms ease-in-out;
        transform: translateY(0);
    }

    header.sticky-desktop #superfish-main {
        padding-top: 5px !important;
    }

    header.sticky-desktop #block-atelierdespratiques-theme-logoheader {
        width: 160px !important;
    }

    header.sticky-desktop #superfish-main li ul {
        top: 48px !important;
    }

    header.sticky-desktop #superfish-main li a {
        color: #282828 !important;
    }

    header.sticky-desktop #superfish-main a:before {
        background: #282828 !important;
    }

    header.sticky-desktop #superfish-main > #main-menu-link-content29caad18-d998-4526-8a91-5b99e3ded9f4 > a {
        color: #fff !important;
    }

    #not-frontpage #block-atelierdespratiques-theme-navigationprincipale {
        width: 77%;
        float: right;
        height: 80px;
        z-index: 10;
    }
}

@media screen and (max-width: 5500px) {
    #block-logo-accueil {
        width: 30%;
    }

    #block-views-block-slider-accueil-block .swiper-container, #frontpage #superfish-main {
        width: 100%;
    }
}
@media screen and (max-width: 1500px) {
    #block-logo-accueil {
        width: 22%;
    }
}
@media screen and (max-width: 1400px) {
    #block-logo-accueil {
        width: 22%;
    }

    #block-views-block-slider-accueil-block .swiper-container, #frontpage #superfish-main {
        width: 78%;
    }
}

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

    #block-logo-accueil {
        width: 25%;
    }

    #block-views-block-slider-accueil-block .swiper-container, #frontpage #superfish-main {
        width: 75%;
    }

    #block-views-block-slider-accueil-block .swiper-container {
        height: 600px;
    }

    #mea-accueil {
        margin-top: 250px;
    }

    .wrapper {
        padding: 15px;
    }

    #infos-bulle {
        display: flex;
        flex-wrap: wrap;
    }

    .bubulle {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        padding: 15px;
    }

    #content-desc-accueil .wrapper #un {
        width: 100%;
    }

    #content-desc-accueil .wrapper #deux {
        display: none;
    }

    .node--type-contenu .field--type-text-with-summary,
    .node--type-contenu .paragraphes,
    #block-views-block-actualites-page,
    #block-views-block-formations-page,
    .node--type-formation,
    #block-views-block-formateurs-page,
    .node--type-formateur,
    #block-views-block-formations-block-formateur,
    .node--type-actualite,
    .node--type-inscription-classe-virtuelle {
        padding: 10px;
    }
}

@media screen and (min-width: 1001px) {
    .adp-compte-utilisateur-page .adp-menu-stagiaire .adp-menu-bloc .adp-menu-liens {
        display: block !important;
    }
}

@media screen and (max-width: 1200px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10000000;
        background: #fff;
        height: 50px;
        -moz-box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.5);
        -webkit-box-shadow: 0px 2px 7px -3px rgba(0, 0, 0, 0.5);
        -o-box-shadow: 0px 2px 7px -3px rgba(0, 0, 0, 0.5);
        box-shadow: 0px 2px 7px -3px rgba(0, 0, 0, 0.5);
    }

    #not-frontpage #block-atelierdespratiques-theme-logoheader, #frontpage #block-atelierdespratiques-theme-logoheader {
        left: 6px;
        top: 2px;
        width: 130px;
        display: block !important;
    }

    #bg-menu {
        background: none;
    }

    main {
        margin-top: 50px !important;
    }

    #not-frontpage .sf-accordion-toggle {
        top: -4px !important;
        right: 0 !important;
    }

    ul.sf-menu.sf-accordion.sf-expanded, ul.sf-menu.sf-accordion li.sf-expanded > ul {
        top: 0 !important;
    }

    ul.sf-menu .sf-with-ul {
        padding-right: 15px;
    }

    ul.sf-menu.sf-accordion, ul.sf-menu.sf-accordion ul, ul.sf-menu.sf-accordion li {
        float: none;
    }

    .block-superfish ul.sf-accordion li a {
        font-family: 'Oswald', sans-serif;
        text-transform: uppercase;
    }

    .block-superfish ul.sf-accordion li ul li a {
        padding: 8px;
        color: #457c68;
    }

}
@media screen and (max-width: 1000px) {
    
    #block-atelierdespratiques-theme-page-title {
        height: 165px;
    }

    #block-atelierdespratiques-theme-page-title h1 span, #banniere-entete h1 span {
        padding: 10px;
    }

    #block-logo-accueil {
        width: 40%;
    }

    #block-views-block-slider-accueil-block .swiper-container, #frontpage #superfish-main {
        width: 60%;
    }

    #block-views-block-slider-accueil-block .swiper-container {
        height: 400px;
    }

    #list-formations-home a {
        width: 50%;
        min-height: 150px;
    }

    #list-formations-home .formation:nth-child(3),
    #list-formations-home .formation:nth-child(4),
    #list-formations-home .formation:nth-child(7),
    #list-formations-home .formation:nth-child(8) {
        display: none;
    }

    /*Espace stagiaire*/
    .adp-compte-utilisateur-page {
        flex-direction: column;
        align-items: center;
    }

    .adp-compte-utilisateur-page .adp-menu-stagiaire {
        margin: 40px 0 10px 0;
        padding: 0;
        width: 100%;
        max-width: 270px;
        flex: 0;
    }

    .adp-compte-utilisateur-page .adp-page-stagiaire-wrapper {
        margin: 25px 0 40px 0;
        width: 95%;
    }

    .adp-compte-utilisateur-page .adp-menu-stagiaire .adp-menu-bloc .adp-menu-liens {
        display: none;
    }

    .adp-compte-utilisateur-page .adp-menu-stagiaire .adp-menu-title {
        position: relative;
        cursor: pointer;
    }

    .adp-compte-utilisateur-page .adp-menu-stagiaire .adp-menu-title:after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 6px;
        right: 10px;
        background: url(../images/interface/down-arrow.svg) no-repeat center;
        background-size: contain;
    }

    .adp-compte-utilisateur-page .adp-menu-stagiaire .adp-menu-title.active:after {
        background: url(../images/interface/up-arrow.svg) no-repeat center;
        background-size: contain;
    }

}

@media screen and (max-width: 880px) {
    #block-views-block-formations-page a, #block-views-block-formations-block-formateur a {
        width: 50%;
    }

    .node--type-formateur #tableau-infos {
        float: none;
        margin: 0 auto;
    }

    #infos-formateur {
        text-align: center;
    }

    .node--type-formateur #intro-formateur {
        margin-top: 20px;
    }

    .node--type-formateur #tableau-infos p {
        height: auto;
        width: 100%;
        border-right: none;
        margin-bottom: 15px;
    }

    .node--type-formateur {
        margin-top: 10px;
    }

    .node--type-formateur #profil-formateur {
        width: 150px;
        float: none;
        margin: 20px auto 0 auto;
    }

    .adp-creer-compte-form .adp-form-fields > div, 
    .adp-edit-password-compte-form .adp-form-fields > div, 
    .adp-edit-compte-form .adp-form-fields > div,
    .adp-creer-compte-form .adp-form-fields > fieldset, 
    .adp-edit-password-compte-form .adp-form-fields > fieldset, 
    .adp-edit-compte-form .adp-form-fields > fieldset {
        width: 50%;
    }
}

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

    #temp-header {
        background: url(../images/interface/logo-full.png) no-repeat center 30px;
        background-size: 60%;
    }

    main form .field--type-string, main form .field--type-email, main form .field--type-entity-reference, main form .field--type-telephone, main form .field--type-list-integer.field--widget-options-select {
        width: 96%;
    }

    #block-views-block-formateurs-accueil .views-row div.surround-row, #block-views-block-formateurs-page .views-row div.surround-row {
        flex-flow: column-reverse;
    }

    #block-views-block-formateurs-accueil .views-row div.surround-row img {
        width: 200px;
        height: 200px;
        margin-bottom: 30px;
    }

    #block-views-block-formateurs-accueil .views-row div.surround-row div {
        width: 90%;
        text-align: center;
    }

    footer #block-navigationprincipale ul.menu li a:after {
        width: 0;
    }

    #block-views-block-actualites-accueil .view-content .views-row a {
        padding: 15px 5px;
    }

    #titre-block-actu {
        display: none;
    }

    #block-views-block-actualites-accueil .wrapper {
        padding: 5px;
    }

    #block-views-block-actualites-accueil .swiper-button-next {
        right: 5px;
    }

    #block-views-block-actualites-accueil .swiper-button-prev {
        left: 5px;
    }

    /*photo en haut et en bas*/
    .pos-photo-1.nb-photos-1 .para-photos .para-photo,
    .pos-photo-2.nb-photos-1 .para-photos .para-photo,
    .pos-photo-1.nb-photos-2 .para-photos .para-photo,
    .pos-photo-2.nb-photos-2 .para-photos .para-photo {
        width: 97%;
        max-width: 97%;
        margin: 0 1.5%;
    }

    .pos-photo-1.nb-photos-3 .para-photos .para-photo,
    .pos-photo-2.nb-photos-3 .para-photos .para-photo {
        width: 47%;
        margin: 0 1.5%;
    }

    .pos-photo-1.nb-photos-3 .para-photos .para-photo:nth-child(2n+1),
    .pos-photo-2.nb-photos-3 .para-photos .para-photo:nth-child(2n+1) {
        clear: both;
        margin: 0 auto;
    }

    .pos-photo-1.nb-photos-4 .para-photos .para-photo,
    .pos-photo-2.nb-photos-4 .para-photos .para-photo,
    .pos-photo-1.nb-photos-more .para-photos .para-photo,
    .pos-photo-2.nb-photos-more .para-photos .para-photo {
        width: 30%;
        margin: 0 1.5%;
    }

    .pos-photo-1.nb-photos-4 .para-photos .para-photo:nth-child(3n+1),
    .pos-photo-2.nb-photos-4 .para-photos .para-photo:nth-child(3n+1),
    .pos-photo-1.nb-photos-more .para-photos .para-photo:nth-child(3n+1),
    .pos-photo-2.nb-photos-more .para-photos .para-photo:nth-child(3n+1) {
        clear: both;
    }

    .pos-photo-1.nb-photos-more .para-photos .para-photo:nth-child(4n+1),
    .pos-photo-2.nb-photos-more .para-photos .para-photo:nth-child(4n+1) {
        clear: none;
    }

    .node--type-formation #tableau-infos {
        float: none;
        margin: 0 auto;
    }

    .node--type-formation #description-formation p.lien-inscription {
        display: grid;
    }

    .node--type-formation #description-formation .fa-angle-right {
        display: none;
    }

    #block-views-block-formateurs-page .views-row div.surround-row div {
        width: 100%;
    }

    #block-views-block-formateurs-page .views-row:nth-child(even) div.surround-row {
        flex-flow: column-reverse;
    }

    #block-views-block-formateurs-page .views-row {
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: solid 1px #d5d5d5;
    }

    #block-views-block-formateurs-page .views-row div.surround-row img {
        width: 120px;
        height: 120px;
        margin-bottom: 10px;
    }

    #block-views-block-formateurs-page .views-row div.surround-row div,
    #block-views-block-formateurs-page .views-row:nth-child(even) div.surround-row div {
        text-align: center;
    }

    .adp-creer-compte-form .adp-form-fields > div, 
    .adp-edit-password-compte-form .adp-form-fields > div, 
    .adp-edit-compte-form .adp-form-fields > div,
    .adp-creer-compte-form .adp-form-fields > fieldset, 
    .adp-edit-password-compte-form .adp-form-fields > fieldset, 
    .adp-edit-compte-form .adp-form-fields > fieldset {
        width: 100%;
        padding-right: 0;
    }

    .adp-formation-questionnaires .questionnaires .quest {
        flex-direction: column;
        align-items: center;
    }

    .adp-formation-questionnaires .questionnaires .quest .titre {
        margin-bottom: 15px;
    }

    .adp-blocs-espace-stagiaire {
        flex-direction: column;
        align-items: center;
    }

    .adp-register-login-form .adp-bloc-code-inscription {
        margin-bottom: 25px;
    }

    .adp-acces-desc {
        padding: 20px;
    }

}

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

    #block-views-block-actualites-a-la-une .view-content .views-row {
        flex-direction: column;
    }

    #block-views-block-actualites-a-la-une .view-content .views-row .image {
        margin-right: 0;
        margin-bottom: 15px;
    }

    #list-formations-home a {
        width: 90%;
    }

    #masque-slider {
        display: none;
    }

    #block-views-block-slider-accueil-block .swiper-container {
        width: 100%;
        height: 200px;
    }

    #block-views-block-formations-page .form--inline {
        flex-direction: column;
    }

    #views-exposed-form-formations-page .form-item-categorie-formation {
        justify-content: center;
    }

    #block-views-block-slider-accueil-block {
        min-height: 750px;
    }

    #mea-accueil > div {
        padding: 30px 10px;
    }

    #block-views-block-slider-accueil-block .swiper-container .views-row {
        width: 100%;
    }

    #block-logo-accueil {
        display: none;
    }

    #block-views-block-formations-page a, #block-views-block-formations-block-formateur a {
        width: 100%;
        min-height: 140px;
    }

    #list-formations-home .wrapper, #block-views-block-formations-page .view-content {
        justify-content: center;
    }

    /*photo à droite et à gauche*/
    .pos-photo-3 .para-photos,
    .pos-photo-4 .para-photos {
        max-width: 97%;
        margin: 20px 1.5%;
    }

    /*photo en haut et en bas*/
    .pos-photo-1.nb-photos-3 .para-photos .para-photo,
    .pos-photo-2.nb-photos-3 .para-photos .para-photo, .pos-photo-1.nb-photos-4 .para-photos .para-photo,
    .pos-photo-2.nb-photos-4 .para-photos .para-photo,
    .pos-photo-1.nb-photos-more .para-photos .para-photo,
    .pos-photo-2.nb-photos-more .para-photos .para-photo {
        width: 97%;
    }

}