div.cdf-directory {
    width: 90%;
    margin: 30px auto;
}

.cdf-directory h3 {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    padding: 5px 10px;
    background: #00528e;
    color: #fff;
}

.cdf-directory .clearfix {
    clear: both;
    float: none;
}

.directory-tabs {
    height: 30px;
    border-bottom: 2px solid #ccc;
}

.directory-tabs ul {
    list-style-type: none;
    margin: 0;
}

.directory-tabs ul>li {
    float: left;
    margin-right: 20px;
}
.directory-tabs ul>li a {
    font-weight: 600;
}
.directory-tabs ul>li.selected a {
    color: #222;
    font-weight: 700;
}

.directory-tab-content {
    margin-top: 40px;
}

.cdf-directory .responsive-enabled tbody td,
.cdf-directory .responsive-enabled thead th {
    padding: 5px 10px!important;
}

.cdf-directory table.responsive-enabled {
    width: 100%!important;
}

.cdf-directory .directory-tab-item {
    margin-top: 30px;
}

.cdf-directory table a.button.button--primary {
    display: inline-block;
    margin: 0;
    padding: 2px 10px;
}

.secondary-popup {
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.secondary-popup-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 350px;
    max-width: 100%;
    min-width: 350px;
    max-height: 70%;
    overflow-y: scroll;
}

.horaires-grid table {
    width: 300px;
    margin: 0;
}
.horaires-grid td {
    padding: 1px;
    font-size: 12px;
}

.org-card .item {
    width: 33.3%;
    padding: 15px;
    float: left;
    /*border: 1px solid #ccc;*/
}
.org-card .item .inner {
    padding-bottom: 20px;
}
.org-card .item:not(.principal) .inner {
    min-height: 340px;
}
.org-card .item.odd .inner {
    background: #C3D6E5;
}
.org-card .item.even .inner {
    background: #E1EBF2;
}

.org-card .item.principal {
    width: 100%;
}
.org-card .item.principal.aga, .org-card .item.principal.region {
    height: 300px;
}

.org-card h4 {
    text-transform: uppercase;
    background: #0D5C95;
    color: #fff;
    padding: 7px 20px;
    /* text-align: center; */
    font-weight: 600;
    margin: 20px 0;
}

.org-card .line {
    margin: 18px;
}
.org-card .line:after {
    content: '';
    display: block;
    float: none;
    clear: both;
}
.org-card .line.title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.org-card .line .label,
.org-card .line .value {
    float: left;
}
.org-card .line .label {
    width: 120px;
    max-width: 200px;
    text-align: right;
    padding-right: 20px;
    font-weight: 600;
}
.org-card .line .label:after {
    content: ' :';
}
.org-card .line .value {
    width: 70%;
}
.org-card .line .value.adr {
    min-height: 80px;
}
.wrapper-dpt-card, .wrapper-region-card, .wrapper-aga-card {
    min-height: 300px;
}

/*************************************************************************
mode Mobile
****************************************************************************/

@media all and (max-width: 767px)  {
    .org-card .item {
        width: 100%;
        height: unset;
        padding: 0;
    }
    .org-card .line .label {
        text-align: left;
    }
}