body {
    font-family: "Source Sans Pro" , system-ui, -apple-system,
    "Segoe UI",Roboto,"Helvetica Neue", Arial,"Noto Sans","Liberation Sans",sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    background-color: #fdfdfd;
}
h1, h1 a, h2, h2, h2 a,
main h1,
main .u-h1,
main h2,
main .u-h2,
main h2 a,
main h3,
main .u-h3,
main h4,
main .u-h4,
main h4,
main .u-h4 {
    color: #00707f;
    font-weight:900;
}
main h1, main .u-h1{line-height:42px;border-bottom: 5px solid #00707f;padding-bottom: 10px;}
main h2, main .u-h2{line-height:45px;margin-bottom:15px;margin-top:30px;}
main h3, main .u-h3{line-height:31px;margin-bottom:15px;margin-top:30px;}
main h4, main .u-h4{line-height:25px;margin-bottom:10px;margin-top:10px;}

#header {
    background-color: #00707f;
    padding: 2px 16px;
}
#header nav.navbar a:not(.dropdown-item){
    color: #ffffff;
}
#header nav.navbar ul.dropdown-menu {z-index: 2000;}
/***************************/
/* CONTAINER               */
/***************************/
#main-wrapper{
    background-color: #fdfdfd;
    margin: 2rem 0;
}

body:not(.path-frontpage) #main {
    background-color: #FFF;
    /*max-width: 800px;*/
    border: 1px solid #DFDFDF;
}
@media (min-width: 576px) {}
@media (min-width: 768px) {
    #main {padding-right: 70px;padding-left: 70px;}
}
@media (min-width: 992px) {}
@media (min-width: 1200px) {}
@media (min-width: 1400px){}

/***************************/
/* #navbar-main            */
/***************************/
#navbar-main .navbar-brand img {
    max-height: 66px;
}
#navbar-main {
    background-color: #ffffff;
}
#navbar-main .dropdown-item.active,
#navbar-main .dropdown-item:active,
#navbar-main .dropdown-item:focus,
#navbar-main .dropdown-item:hover{
    background-color: white;
}
#navbar-main a {
    text-decoration: none;
}
body.scrolled #navbar-main.sticky-top {
    box-shadow: 0 0 12px 3px rgba(0, 0, 0, 0.07);
}
@media (max-width: 992px) {
    #navbar-main {
        max-height: 75vh;
        overflow: hidden;
        overflow-y: scroll;
    }

    #navbar-main nav ul * a{
        text-decoration: none;
    }
    #navbar-main nav  li > a{
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    #navbar-main nav > ul > li {
        border-bottom: 3px solid #F0F0F0;
    }
    #navbar-main nav > ul > li > a{
        font-weight: 900;
        font-style: normal;
        color: #00707F;
        text-transform: uppercase;
    }
    #navbar-main nav ul.level-1.show{
        /*border-radius: 0;
        border-left: 0;
        border-right: 0;*/
        border: 0;
        padding-bottom: 0;
        padding-top: 0;
    }
    #navbar-main nav ul.level-1.show .dropdown-item:focus {
        background-color: #FFFFFF;
        border: 2px solid #ABCDEF;
    }
    #navbar-main nav ul.level-1.show .dropdown-item:hover {
        background-color: #FFFFFF;
    }
    #navbar-main nav ul.level-1 > li {
        border: 2px solid transparent;
        /*border-bottom: 2px solid #F0F0F0;*/
        padding-left: 0;
        padding-right: 0;
    }
    #navbar-main nav ul.level-1 > li > a{
        color: #00707F;
        text-transform: uppercase;
        padding-left: 1rem;
    }
    #navbar-main nav ul.level-2{
        padding-bottom: 0;
        border : 0;
        /*border-radius: 0;
        border-left: 0;
        border-right: 0;*/
    }
    #navbar-main nav ul.level-2 > li > a{
        color: #212529;
    }
    /* ONGLETS comme bookit */
    #block-ull-theme-main-menu .nav-separator{
        display: none;
    }
}
@media (min-width: 992px) {
    #block-ull-theme-main-menu.contextual-region{
        position: static;
    }
    #navbar-main nav > ul li.not-dropdown{
        padding: 0 15px;
    }
    #navbar-main nav > ul li.not-dropdown.bordered{
        border-right: 1px solid grey;
    }
    #navbar-main nav > ul li.dropdown {
        padding: 0 15px;
        position: static;
    }
    #navbar-main nav > ul > li > a {
        font-weight: 900;

        text-transform: uppercase;
        color: #4a4a4a;
        font-size: 0.9rem;
    }
    #navbar-main ul.level-1.show {
        width: 100% !important;
        border-radius: 0;
        border: 0;
        border-bottom: 1px solid #D3D3D3;
        float: none;
        margin: 0 auto;
        display: flex;
        padding-left: 8vw;
        padding-right: 8vw;
    }
    #navbar-main ul.level-1.show > li {
        flex: 0 0 auto;
        width: 25%;
        padding: .25rem .5rem;
    }
    #navbar-main ul.level-1.show > li > a{
        font-weight: 900;
        font-style: normal;
        color: #00707F;
        text-transform: uppercase;
    }
    #navbar-main ul.level-1.show > li > a:after{
        border: none;
        display: none;
    }
    #navbar-main ul.level-1.show ul.level-2 {
        position: relative;
        display: block !important;
        border: none;
    }
    #navbar-main ul.level-1.show ul.level-2 a {
        color: #333333;
        font-weight: 600;
        font-size: 0.9rem;
    }
    #navbar-main ul.level-1.show > li a:hover{
        color: #5fa4b0;
    }
    #navbar-main ul.level-1.show ul.dropdown-menu.level-2 li {
        padding: .25rem 0;
    }
    #navbar-main ul.level-1.show .dropdown-item:focus,
    #navbar-main ul.level-1.show .dropdown-item:hover {
        background-color: #FFFFFF;
    }

    /* ONGLETS comme bookit */
    #block-ull-theme-main-menu .nav-item.not-dropdown{
        margin: 0 0.9rem;
        border: 1px solid #dfdfdf;
        border-bottom: none;
        border-radius: 5px 5px 0 0;
    }

    #block-ull-theme-main-menu .nav-separator{
        padding: 0 15px;
        color: #69a9b4;
        font-size: 1.5rem;
        font-weight: bold;
    }
}

@media (min-width: 1200px) {
    #navbar-main ul.level-1.show {
        padding-left: 15vw;
        padding-right: 15vw;
    }
}
@media (min-width: 1200px) {
    #navbar-main ul.level-1.show {
        padding-left: 20vw;
        padding-right: 20vw;
    }
}

/***************************/
/* BANDEAU SCRIBE          */
/***************************/
.with-bg-pic {
    border-top: 1px solid #cccccc;
    min-height: 150px;
    color: #ffffff;
    position: relative;
}

#homebackground::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #efefef;
    background-image: url("../img/imge_de_fond_Scribe-dt5rnTh.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.25;
    z-index: -1;
}

#homebackground a{
    border-bottom: 5px solid #00707F;
    text-decoration: none;
}

#homebackground p.text-dark{
    padding-top: 1rem;
}

/***************************/
/*  Pagination résultats   */
/**************************/

.pagination .page-link{
    color: #00707f;
}

.pagination .page-item.active .page-link{
    border-color: #00707f;
    background-color: #00707f;
    color: #fff;
}

/***************************/
/* .footer                 */
/***************************/
/*footer*/

footer .site-footer__top .container{
    max-width: 1320px;
}

.block-uliegelibraryaddress .content p img {
    max-height: 81px;
    width: auto;
}
.bootstrap-uliege footer.site-footer a {
    color: #c0c0c0;
    color: rgba(255, 255, 255, 0.65);
}

footer.site-footer {
    background-image: url("../img/footer_bg-rKwqEwV.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
    background-origin: border-box;
}
footer.site-footer .content {
    color: #c0c0c0;
    color: rgba(255, 255, 255, 0.65);
    padding: 0;
    font-size: 0.9em;
    line-height: 20px;
}
footer.site-footer .block {
    margin: 20px 0;
    border: none;
    padding: 10px;
}
footer.site-footer__top p {
    margin-top: 1em;
}
#block-uliegelibraryaddress .field--name-body p:first-of-type {
    margin: 0;
}
footer.site-footer section.region-footer-menu h2,
footer.site-footer section.region-footer-second h2,
footer.site-footer section.region-footer-third h2,
footer.site-footer section.region-footer-fourth h2 {
    font-size: 13px;
    border: none;
    color: #ffffff;
    font-weight: 900;
    line-height: 17px;
    padding-bottom: 15px;
}
footer.site-footer section.region-footer-menu .content ul,
footer.site-footer section.region-footer-second .content ul,
footer.site-footer section.region-footer-third .content ul,
footer.site-footer section.region-footer-fourth .content ul {
    padding: 0;
}
footer.site-footer section.region-footer-menu .content ul li,
footer.site-footer section.region-footer-second .content ul li,
footer.site-footer section.region-footer-third .content ul li,
footer.site-footer section.region-footer-fourth .content ul li {
    padding: 3px 0;
    font-size: 12px;
    color: #5fa4b0;
}
footer.site-footer .site-footer__top .content ul li a {
    text-indent: unset;
    padding: 0;
    border: none;
    line-height: 1.1rem;
    color: #5fa4b0;
    font-weight: bold;
}
footer.site-footer .site-footer__top .content ul li a:hover {
    text-decoration: none;
}

div.footer-legal {
    height: 100px;
    font-size: 12px;
    color: #8c8b82;
    padding: 40px;
}
div.footer-legal a {
    color: #8c8b82;
    padding: 5px;
}

/***************************/
/* AIDE                    */
/***************************/
/***************************/
/* block AIDE              */
/***************************/
#askal .btn-success.btn-orange {
    color: #fff;
    background-color: #f68212;
    border-color: #f68212;
    border-radius: 16px 16px 0 0;
}
#askal .btn-success.btn-orange em{padding-right: 10px;}
#askal .btn-success.btn-orange span.ext {
    display: none;
}
#askal.left,
#askal.center,
#askal.right {
    position: fixed;
    top: 25%;
    bottom: 0;
    height: 1.5em;
    margin: auto;
}

@media (min-width: 992px) {
    #askal.right {
        top: 0;
    }
}

#askal.left {
  left: 0;
  -webkit-transform-origin: 0 50%;
  -moz-transform-origin: 0 50%;
  -ms-transform-origin: 0 50%;
  -o-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transform: rotate(-90deg) translate(-50%, 50%);
  -moz-transform: rotate(-90deg) translate(-50%, 50%);
  -ms-transform: rotate(-90deg) translate(-50%, 50%);
  -o-transform: rotate(-90deg) translate(-50%, 50%);
  transform: rotate(-90deg) translate(-50%, 50%);
}

#askal.right {
  right: 0;
  -webkit-transform-origin: 100% 0;
  -moz-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  -o-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: rotate(-90deg) translate(0, -48px);
  -moz-transform: rotate(-90deg) translate(0, -48px);
  -ms-transform: rotate(-90deg) translate(0, -48px);
  -o-transform: rotate(-90deg) translate(0, -48px);
  transform: rotate(-90deg) translate(0, -48px);
}

#askal.center{
  right: 50%;
  -webkit-transform-origin: 100% 0;
  -moz-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  -o-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

#askal.center a {padding:100px;}

/**********************************************************************************************************************/
#EU-Captcha {text-align:center; font-size: 0.8rem;}

#EU-Captcha button.btn {
    display: inline-block;
    border: 0;
    padding: 0.8em 1.2em;
    background-color: #00707f;
    background-image: linear-gradient(to right, #00707f 51%, #5fa4b0 51%);
    background-position: 100% 0;
    background-size: 206% 100%;
    color: white !important;
    font-size: 0.8rem;
    letter-spacing: .5px;
    border-radius: 4px;
    transition: background-position 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    margin: 0.6rem;
}

#EU-Captcha button.btn:hover {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    background-position: 0 0;
    color: white;
    text-decoration: none;
}

#EU-Captcha button.btn em.fa {font-size: 0.8rem;}

#EU-Captcha button.btn, #EU-Captcha a.btn {
    background-color: #00707f;
    background-image: linear-gradient(to right, #5fa4b0 51%, #00707f 51%);
    text-decoration: none;
}
#EU-Captcha #captchaReload {margin-top:5px;}

@media only screen and (max-width: 575px)
{
    #captchaImage {width:150px;height:auto;}
    #EU-Captcha button {font-size:1rem;}
}
@media only screen and (max-width: 400px)
{
    #captchaImage {width:100px;height:auto;}
    #EU-Captcha button {font-size:0.8rem;}
}

/*************************************/
/* .btn-uliege                  */
/*************************************/
/***************************/
/* Copy from ULIEGE        */
/***************************/

.u-btn{
    display: inline-block;
    border: 0;
    /*padding : 0.6em 1.2em;*/
    background-color: #00707f;
    background-image: linear-gradient(to right, #00707f 51%, #5fa4b0 51%);
    background-position: 100% 0;
    background-size: 206% 100%;
    color: white !important;
    border-radius: 4px;
    transition: background-position 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight : 600;
}
button.u-btn,
a.u-btn {
    background-color: #00707f;
    background-image: linear-gradient(to right, #5fa4b0 51%, #00707f 51%);
    text-decoration: none;
}
a.u-btn.disabled,
a.u-btn:disabled,
a.u-btn.disabled:hover,
a.u-btn:disabled:hover,
a.u-btn.btn-secondary.disabled,
a.u-btn.btn-secondary:disabled {opacity: 27%;background-position: right;}

button.u-btn:hover, button.u-btn:focus,
a.u-btn:hover, a.u-btn:focus{
    /*box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);*/
    background-position: 0 0;
    color: white;
    text-decoration: none;
}

main a:hover::after {
    width: 100%;
}
/*
BTN #E8E2DE
 */
.u-btn-back{
    display: inline-block;
    border: 0;
    padding : 0.6em 1.2em;
    background-color: #E8E2DE;
    background-image: linear-gradient(to right, #E8E2DE 51%, #E8E2DE 51%);
    background-position: 100% 0;
    background-size: 206% 100%;
    color: black !important;
    font-size: 0.9rem;
    letter-spacing: .5px;
    border-radius: 4px;
    transition: background-position 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight : 600;
}

/*************************************/
/* .button--loading                  */
/*************************************/
/* CSS for the loading spinner */
.button-loader {
    position: relative;
    overflow: hidden;
}

.button-loader:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 4px solid #fff;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
    transform-origin: 50% 50%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*************************************/
/* .button--loading                  */
/*************************************/
/* The Modal (background) */
/*@media (min-width: 768px) {*/
    .ull_modal-target:hover{
        opacity: 0.8;
        cursor: zoom-in;
    }
    .ull_modal {
        display: none; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1021; /* Sit on top */
        padding-top: 100px; /* Location of the box */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0, 0, 0); /* Fallback color */
        background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
    }

    /* Modal Content (image) */
    .ull_modal-content {
        margin: auto;
        display: block;
        width: 80%;
        opacity: 1 !important;
        max-width: 1200px;
    }

    /* Caption of Modal Image */
    .ull_modal-caption {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 1200px;
        text-align: center;
        color: white;
        font-weight: 700;
        font-size: 1em;
        margin-top: 32px;
    }

    /* Add Animation */
    .ull_modal-content, .ull_modal-caption {
        -webkit-animation-name: zoom;
        -webkit-animation-duration: 0.6s;
        animation-name: zoom;
        animation-duration: 0.6s;
    }

    @-webkit-keyframes zoom {
        from {
            -webkit-atransform: scale(0)
        }
        to {
            -webkit-transform: scale(1)
        }
    }

    @keyframes zoom {
        from {
            transform: scale(0)
        }
        to {
            transform: scale(1)
        }
    }

    /* The Close Button */
    .ull_modal-close {
        position: absolute;
        top: 35px;
        right: 35px;
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
    }

    .ull_modal-close:hover,
    .ull_modal-close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }
/*}*/

.ull_link{
    color: #00707f;
}

#author_search_save, #keywords_search_save {
    margin-top: 2rem;
}

#homebackground .img-wrapper {
    padding: 0;
    text-align: right;
}

#homebackground img {
    display: none;
}

@media screen and (min-width: 768px) {
    #homebackground img {
        display: inline-block;
        max-width: 10rem;
    }
}