:root {
    --main-blue: #212d73;
    --main-yellow: #ffc61f;
  }

#portal-header {
    background-image: url("++theme++catpromsoc/images/banner.png") !important;
    background-repeat: no-repeat;
    background-position: top 50% left 500px;
    margin: 0px;
}

#portal-logo  {
    padding: 15px 0px;
}

#portal-logo img {
    max-width: 100%;
}

#portal-globalnav-wrapper {
    background-color: var(--main-blue);
}
#portal-globalnav-wrapper .plone-navbar-nav {
    float: right;
}
#portal-globalnav-wrapper .plone-nav li.current a {
    background-color: var(--main-yellow);
}
#portal-globalnav-wrapper .plone-nav li a {
    text-transform: uppercase;
}

body {
    font-size: 18px;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
    color:  var(--main-blue) !important;
}
body h2 a {
    color:  var(--main-yellow) !important;
}
body .cal_month {
    background-color: var(--main-blue) !important;
}

body.template-institutions article {
    margin-bottom: 30px;
}
body.template-institutions article img {
    box-shadow:2px 2px 4px rgb(50,50,50, 0.3);
}

body.section-index #content {
    margin-bottom: 0px;
}
body.section-index #content h1.documentFirstHeading {
    display: none;
}

body.section-etablissements h1.documentFirstHeading {
    display: none;
}

body .youtube {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25% !important;
}
body .youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
body .faceted-widget {
    display: inline-block;
    min-width: 24%;
}

#content {
    margin-bottom: 0px;
}

#portal-footer-wrapper {
    background-color: transparent;
    color: #4d4d4d;
}
#portal-footer-wrapper a {
    color:  var(--main-yellow);
}
#portal-footer-wrapper p {
    margin: 0px;
}
#portal-footer-wrapper .colophon {
    margin: 0px;
    padding: 0px;
}

#portal-footer-wrapper #portal-footer-content {
    display: none;
}
#portal-footer-wrapper .promsocnam-images > div {
    margin-bottom: 10px;
}
#portal-footer-wrapper #portal-footer-content .promsocnam-institution-logos {
    border-top: 5px solid var(--main-blue);
    padding-top: 10px;
    display: grid;
        grid-template-columns: repeat(13, 1fr);
        justify-items: center;
}

#portal-footer-wrapper .promsocnam-colophon {
    background-color: var(--main-blue);
    color: white;
    padding: 10px !important;
    margin: 0px 0px 10px 0px !important;
}

#portal-footer-wrapper .netvaast-colophon {
    font-size: 90%;
}

@media (min-width: 992px) {
    #portal-footer-wrapper #portal-footer-content {
        display: block;
    }
    #portal-footer-wrapper .promsocnam-images {
        display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-gap: 40px;
    }
    body.section-index #portal-footer-wrapper .doormat {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 40px;
        align-items: center;
    }
    body.section-index #portal-footer-wrapper .doormat .footer-portlet:nth-last-child(1),
    body.section-index #portal-footer-wrapper .doormat .footer-portlet:nth-last-child(2) {
        grid-column: 1/3;
    }
}

@media (min-width: 1400px) {
    .container {
        width: 1320px !important;
    }
    #portal-globalnav-wrapper {
        background-image: url("++theme++catpromsoc/images/site-title.png") !important;
        background-position: top 50% left calc(50% - 330px);
        background-repeat: no-repeat;
    }
}