html, body {
    font-size: 15px;
}

body {
    line-height: 1.5;
    font-weight: 200;
}

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

p {
    font-weight: 200;
}

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

button {
    border-radius: 0px;
}

/* HEADER */

/* 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: 60px;
        width: auto;
        line-height: 40px;
        vertical-align: bottom;
    }   
}

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

.ods-responsive-menu-collapsible__toggle-button {
    color: #003C63;
}

/* 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: #003C63;
}


/* HEADER COLLAPSED ELEMENTS */

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

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

/* HEADER BRAND */

.DATA-header__brand {
    /*   height: 110px;*/
    padding: 15px 0;
}

.ods-responsive-menu-collapsible--collapsed .DATA-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 */

.DATA-header__menu {
    background-color: #003C63;
    height: 56px;
    overflow: hidden;
}
.ods-responsive-menu-collapsible--collapsed .DATA-header__menu {
    height: auto;
    background-color: transparent;
}

.ods-front-header__menu {
    margin: 0;
    border-left: 5px solid #ff9700;
    padding-left: 20px;
}

.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: 15px;
    /*   height: 60px;*/
    line-height: 60px;
    /*   background-color: #003C63;*/
    font-weight: 100;
}

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

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

/* 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 */
.ods-filters__count {
    font-weight: 500;
}

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

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

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

.odswidget-table__internal-table {
    font-size: .75em;
}

/* 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 #003C63;
        text-align: left;
    }
}
.centralstore-footer__action {
    padding: 0.33em 0;
}
.centralstore-footer__action-link {
    color: #003C63;
}
.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: #003C63;
}
.ods-front-footer__link--active {
    color: #003C63;
    border-bottom: 2px solid #003C63;
    font-weight: 500;
}

/* CATALOG CARD */

.ods-catalog-card__title {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

@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: #FF9700;
}

.centralstore-catalog-card__portal {
    /*  margin-left: 42px; */
    margin-left: 20px;
    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: 500;
    font-size: smaller;    
}
.centralstore-catalog-card__portal-link:hover {
    text-decoration: none;
    color: #FF9700;
}
.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: 500;
}

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

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

.ods-dataset-visualization__dataset-source-icon {
    height: 35px;
    width: 35;
    border: 0;
    background-color: inherit;
}

.ods-dataset-metadata-block__metadata-value__inline-image {
    max-width: 16px;
}

@media screen and (min-width: 992px) {
    .DATA-header__menu-searchbox {
        display: flex;
        justify-content: space-between;
    }


    .DATA-header__menu #DATA-header__menu-searchbox__box {
        height: 57px;
        line-height: 57px;
    }
    .DATA-header__menu .odswidget-searchbox {
        margin: 0;
    }

    .DATA-header__menu input.odswidget-searchbox__box {
        width: 100%; 
        height: 57px;
        margin: 0;
        border: 0 !important;
        border-radius: 0 !important;
        background-color: #ccc;
        font-weight: 300;
        font-size: 1.2rem;
        min-width: 270px;
    }

    .DATA-header__menu input.odswidget-searchbox__box:focus {
        outline: 0;
    }
}

@media screen and (max-width: 992px) {
    .DATA-header__menu #DATA-header__menu-searchbox__box {
        display: none;
    }
}

.ods-catalog-card {
    padding: 20px 10px 20px 20px;
    border: 0;
}

.ods-catalog-card:hover {
    background-color: #1B6698;
    color: #fff;
    padding: 20px 10px 20px 20px;
}

.ods-catalog-card__keyword {
    border: 1px solid #1B6698;
}
.ods-catalog-card:hover .ods-catalog-card__keyword {
    border: 1px solid #FF9700;
}

.ods-catalog-card:hover .ods-catalog-card__visualization,
.ods-catalog-card:hover .ods-catalog-card__title,
.ods-catalog-card:hover .ods-catalog-card__description {
    color: #fff;
}

.ods-catalog-card:hover .ods-catalog-card__visualization:hover {
    text-decoration: none;
    color: #FF9700;
}

.ods-catalog-card:hover .ods-catalog-card__theme-icon {
    fill: #fff;
}

.ods-catalog-card__theme-icon {
    fill: #1B6698;
}

.ods-catalog-card:hover:before {
    display: none;
}

.ods-catalog-card__visualizations {
    border-left: none;
}

.ods-catalog-card__visualization {
    padding: 0;
}

.ods-catalog-card__visualization:hover {
    text-decoration: underline;
}

.ods-catalog-card__title,
.ods-catalog-card__description, 
.ods-catalog-card__metadata,
.centralstore-catalog-card__records,
.ods-catalog-card__keywords {
    margin-left: 20px; 
}

.ods-catalog-card__header {
    display: flex;
}

.ods-catalog-card__theme-icon {
    position: static;
}

.ods-catalog-card__theme-icon svg,
.ods-catalog-card__theme-icon circle, 
.ods-catalog-card__theme-icon path, 
.ods-catalog-card__theme-icon polygon, 
.ods-catalog-card__theme-icon rect {
    fill: inherit !important;
}

@media screen and (max-width: 767px) {
    .ods-catalog-card__visualizations {
        margin-left: 20px;
    }
}

.ods-filters__count, .ods-filters__export-catalog-title, .ods-filters__filters, .ods-filters__filters-summary {
    font-size: 1.7rem;
    background-color: inherit;
    color: #003C63;
    border-radius: 3px;
    padding: .33rem .67rem;
    position: relative;
}

h1.ods-filters__filters,
h2.ods-filters__filters {
    display: none;
}

.odswidget-facet__facet-title {
    margin: 0 0 .33rem 0;
    font-weight: 600;
}

.odswidget-facet__category {
    margin-top: 10px;
    border-left: solid 3px #f3f3f3;
}

.odswidget-facet__category:hover {
    color: #333;
    border-left: 3px solid #FF9700;
}

.ods-button, .ods-page-legacy .btn {
    font-size: 13px;
    padding: 2px 1em;
    border-radius: 3px;
/*    background-color: #f3F3F3;
    border: solid 1px #ccc;*/
}

select#odsFiltersSortSelector {
    background-color: #f3f3f3;
}

.odswidget-text-search__search-box {
    margin-bottom: 0;
    width: 100%;
    border-radius: 3px;
    font-size: 1.2rem;
    padding-top: 10px;
    padding-right: 25px;
    padding-left: 10px;
    padding-bottom: 10px;
    font-weight: 300;
}

h1.ods-dataset-visualization__dataset-title,
.ods-filters__filters-summary {
    color: #003C63;
    font-size: 1.7em;
    font-weight: 600;
}

.odswidget-clear-all-filters:hover {
    color: #FF9700;
}

.DATA-header__menu-searchbox {
    padding-right: 120px !important;
}

/* new header */
@media screen and (min-width: 992px) {
    .ods-front-header__management-menu-item {
        margin: 0;
    }

    .ods-front-header__management-menu-item--backoffice {
        /*    background-color: #DE0A14; */
        padding: 0px .67rem;
        height: 60px;
        border-radius: 0;
        margin-top: 0px;
    }

    .ods-front-header__management-menu-item-link {
        color: #fff;
        border-bottom: none;
        opacity: 1;
        position: relative;
        padding: 0 10px;
        height: 60px;
        display: inline-flex;
        align-items: center;
        /*   transition: background-color 0.3s ease;*/
        font-size: 15px;
    }

    .ods-front-header__management-menu-item-link--backoffice {
        color: #fff;
        font-weight: 700;
    }

    .ods-front-header__menu-item {
        display: inline-flex;
        /*    height: 60px;
        align-items: center; */
        margin-left: 15px;
        margin-right: 15px; 
    }

    .ods-front-header__menu-item-link {
        border-bottom: none;
        opacity: 1;
        position: relative;
        padding: 0;
        /*    line-height: 1.3rem;*/
        /*    font-weight: normal;*/
        /*    font-size: 0.9rem;*/
    }

    .ods-front-header__menu-item-link:after {
        display: block;
        content: "";
        height: 1px;
        width: 0%;
        position: absolute;
        left: 0px;
        bottom: 10px;
        background: #fff;
        -webkit-transition: width 0.3s ease;
        transition: width 0.3s ease;
    }

    .ods-front-header__menu-item-link--active:after {
        width: 100%;
    }

    .ods-front-header__menu-item-link:hover:after {
        width: 100%;
    }

    .ods-front-header__management-menu {
        display: flex;
    }

    .ods-front-header__management-menu-item-link--active, .ods-front-header__management-menu-item-link:hover {
        text-decoration: none;
        border-bottom: 0;
    }

    .ods-front-header__management-menu-item-link.ods-front-header__management-menu-item-link--backoffice,
    .ods-front-header__management-menu-item-link--backoffice {
        color: #003C63;
    }

    .ods-front-header__account-avatar-container {
        margin-bottom: 0px;
    }

    .fa-gear:before, .fa-cog:before {
        content: "\f013";
        line-height: 54px;
        font-size: 20px;
    }
    .ods-front-header__management-menu-item-link i.fa {
        margin-right: 5px;
    }

    .ods-front-header__management-menu-item-link:hover {
        background-color: #2c3f56;
    }

    .ods-front-header__management-menu-item--backoffice:hover .ods-front-header__management-menu-item-link:hover,
    .ods-front-header__management-menu-item--backoffice:hover {
        background-color: #f3f3f3 !important;
    }

    a.ods-front-header__management-menu-item-link[href^="/login/"] {
        background-color: #FF9700;
    }

    a.ods-front-header__management-menu-item-link[href^="/login/"]:hover {
        background-color: #f3f3f3;
    }
}

.ods-responsive-menu-placeholder__container .ods-front-header__portal-brand img {
    width: 150px;
}

.ods-responsive-menu-collapsible--collapsed .ods-responsive-menu-collapsible__toggle {
    display: block;
    background-color: #f3f3f3;
}

.fa-gear:before, .fa-cog:before {
    display: none;
}

.ods-button--primary {
    border: solid 1px #003C63;
    background-color: transparent;
    color: #003C63;
}

.ods-button--primary:not([disabled]):hover {
    background-color: #003C63;
    border-color: #003C63;
    color: #fff;
}