/* MAIN LOGO Size */
.portal-picto { 
    height: 130px;
}
.ods-front-header__portal-brand .odswidget-picto img,
.ods-front-header__portal-brand .odswidget-picto svg { 
    width: auto; 
}
.ods-front-footer .portal-picto {
    height: 80px;
}

.ods-front-header__portal-brand .ods-front-header__logo {
    height: 50px;
    width: auto;
    line-height: 40px;
    vertical-align: bottom;
}

@media screen and (min-width: 992px) {
    .ods-front-header__portal-brand .ods-front-header__logo {
        height: 80px;
        width: auto;
        line-height: 40px;
        vertical-align: bottom;
    }   
}

/* FONTS SETUP */
@font-face {
    font-family: 'Overpass';
    src: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/centralstore/theme_font/overpass-thin.otf') format('opentype');
    font-style: normal;
    font-weight: 100;
}
@font-face {
    font-family: 'Overpass';
    src: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/centralstore/theme_font/overpass-light.otf') format('opentype');
    font-style: normal;
    font-weight: 200;
}
@font-face {
    font-family: 'Overpass';
    src: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/centralstore/theme_font/overpass-regular.otf') format('opentype');
    font-style: normal;
    font-weight: 300;
}
@font-face {
    font-family: 'Overpass';
    src: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/centralstore/theme_font/overpass-bold.otf') format('opentype');
    font-style: normal;
    font-weight: 500;
}
@font-face {
    font-family: 'Overpass';
    src: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/centralstore/theme_font/overpass-extrabold.otf') format('opentype');
    font-style: normal;
    font-weight: 700;
}
@font-face {
    font-family: 'Overpass';
    src: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/centralstore/theme_font/overpass-heavy.otf') format('opentype');
    font-style: normal;
    font-weight: 900;
}

/* GLOBAL FONT OVERRIDE */
html, body {
    font-size: 15px;
}

body {
    line-height: 1.5;
    font-family: 'Overpass', "Open Sans", Helvetica, arial, sans-serif;
    font-weight: 300;
}

h1, h2, h3 {
    font-weight: 300;
    line-height: 1.15;
}

p {
    font-weight: 200;
}

.odswidget-facet__category-name,
.ods-filters__export-catalog-link {
    font-weight: 200;
}

/* HEADER */

.ods-front-header {
    padding: 0;
    height: 166px;
}
.ods-front-header.ods-responsive-menu--collapsed {
    height: 60px;
    background-color: #fff;
}

.ods-responsive-menu-collapsible__toggle-button {
    color: #2c3f56;
}

/* HEADER PLACEHOLDER / RESPONSIVE */ 

.ods-responsive-menu-placeholder__container .ods-front-header__portal-brand {
    height: 50px;
    top: 5px;
    left: 0px;
}
.ods-responsive-menu-placeholder__toggle {
    opacity: 1;
    background-color: #2c3f56;
}


/* HEADER COLLAPSED ELEMENTS */

.ods-responsive-menu-collapsible__toggle {
    margin-bottom: 0;
}

.ods-responsive-menu-collapsible--collapsed .container {
    width: auto;
    padding: 0;
}

/* HEADER BRAND */

.MYSITE-header__brand {
    height: 110px;
    padding: 15px 0;
}

.ods-responsive-menu-collapsible--collapsed .MYSITE-header__brand {
    display: none;
}

.ods-front-header__portal-brand {
    top: 0;
    display: inline-flex;
}

.ods-front-header__portal-brand__text {
    font-style: normal;
    font-size: 3.5rem;
    color: #1E0C33;
    line-height: 140px;
}


/* HEADER MENU */

.MYSITE-header__menu {
    background-color: #2c3f56;
    height: 56px;
    overflow: hidden;
}
.ods-responsive-menu-collapsible--collapsed .MYSITE-header__menu {
    height: auto;
    background-color: transparent;
}

.ods-front-header__menu {
    margin: 0;
}

.ods-responsive-menu-collapsible--collapsed .ods-front-header__menu {
    display: block;
}

.ods-front-header__menu-item-link {
    color: white;
    text-transform: uppercase;
    border: none;
    opacity: 1;
    font-size: 19px;
    height: 56px;
    line-height: 60px;
    background-color: #2c3f56;
    font-weight: 600;
}

.ods-responsive-menu-collapsible--collapsed .ods-front-header__menu-item-link {
    display: block;
    border: none;
    color: white;
    font-size: 1rem;
}

.ods-front-header__menu-item-link:hover {
    border-bottom: 5px solid #EC643C ;
}

.ods-front-header__menu-item-link[href^="/page/home/"]:before {
    font-family: "FontAwesome";
    content: '\f015';
    display: inline-block;
    line-height: 54px;
    font-size: 1.2em;
}

.ods-front-header__menu-item-link.ods-front-header__menu-item-link--active {
    background-color: white;
    background-image: -webkit-linear-gradient(top, #f3f3f3, white 50%, white);
    background-image: -moz-linear-gradient(top, #f3f3f3, white 50%, white);
    background-image: -o-linear-gradient(top, #f3f3f3, white 50%, white);
    background-image: linear-gradient(to top, #f3f3f3, white 50%, white);
    border: none;
    color: #2c3f56;
}

.ods-responsive-menu-collapsible--collapsed .ods-front-header__language .ods-front-header__link {
    color: #2c3f56;
}

/* HEADER SECONDARY MENU */

.ods-front-header__management-menu-item-link {
    color: #1E0C33;
}
.ods-front-header__management-menu-item-link.ods-front-header__management-menu-item-link--backoffice {
    color: #1E0C33;
}

/* EXPLORE */

span.ods-filters__count-number {
    color: #EC643C;
}

.centralstore-catalog-card__portal-icon {
    height:16px;
}

.odswidget-facet__category {
    padding: 0 0 0 .67rem;
}

/* FOOTER */

.ods-front-footer {
    text-align: center;
    padding: 1em;
    line-height: normal;
    box-sizing: border-box;
}
@media screen and (max-width: 799px) {
    .ods-front-footer {
        height: 310px;
    }
}
@media screen and (min-width: 800px) {
    .ods-front-footer {
        height: 180px;
    }
}
.centralstore-footer__left-side {
    list-style: none;
    padding: 0;
    margin: 0;
    vertical-align: top;
}
@media screen and (min-width: 800px) {
    .centralstore-footer__left-side {
        display: inline-block;
        text-align: right;
    }
}
.ods-front-footer__link.ods-front-footer__legal {
    padding: 1em 0 0.33em 0;
    line-height: normal;
    background: transparent;
}
.centralstore-footer__ods-logo {
    display: inline-block;
}
.centralstore-footer__ods-logo img {
    height: 40px;
}
.centralstore-footer__right-side {
    list-style: none;
}
@media screen and (max-width: 799px) {
    .centralstore-footer__right-side {
        padding: 0;
        margin: 1em 0 0 0;
    }
}
@media screen and (min-width: 800px) {
    .centralstore-footer__right-side {
        display: inline-block;
        padding: 0 0 0 2em;
        margin: 0 0 0 2em;
        border-left: 2px solid #2c3f56;
        text-align: left;
    }
}
.centralstore-footer__action {
    padding: 0.33em 0;
}
.centralstore-footer__action-link {
    color: #2c3f56;
}
.centralstore-footer__action-icon {
    display: inline-block;
    width: 1em;
    text-align: center;
    margin-right: 0.33em;
}
.ods-front-footer__languages {
    display: inline-block;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ods-front-footer__language {
    display: inline-block;
}
.ods-front-footer__link {
    display: inline-block;
    background-color: #ffffff;
    padding: 0.33rem 0.67rem;
}
.ods-front-footer__link:hover {
    text-decoration: none;
    color: #2c3f56;
}
.ods-front-footer__link--active {
    color: #2c3f56;
    border-bottom: 2px solid #2c3f56;
    font-weight: bold;
}

/* CATALOG CARD */

.ods-catalog-card__title {
    font-size: 1.3rem;
    color: #333;
}

@media screen and (min-width: 768px){
    .ods-catalog-card__keywords {
        margin-bottom: 40px;
    }
}

.ods-catalog-card__keyword {
    background-color: #1b6698;
}

.ods-catalog-card__keyword:hover {
    background-color: #ec643c;
}

.centralstore-catalog-card__portal {
    margin-left: 42px;
    max-width: 260px;
}

@media screen and (min-width: 768px){
    .centralstore-catalog-card__portal {
        margin-left: 42px;
        bottom: 10px;
        position: absolute;
    }
}
.centralstore-catalog-card__portal-link {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: smaller;    
}
.centralstore-catalog-card__portal-link:hover {
    text-decoration: none;
    color: #ec643c;
}
.centralstore-catalog-card__portal-icon {
    height: 16px;
    vertical-align: sub;
}

.ods-catalog-card__metadata-item {
    font-size: 14px;
}

.centralstore-catalog-card__records {
    margin-left: 40px;
    font-size: small;
    font-weight: bold;
}

.centralstore-catalog-card__records_count {
    color: #ec643c;
}

.ods-catalog-card__description{
    color: #999;
}
.centralstore-catalog-card__no-description {
    margin-left: 40px;
    font-style: italic;
    font-size: small;
    color: #aaa;
}