/****** Style TARIFS - 18/12/2017 ******/

/**** CATEGORIES TABLE ****/
#tabs-tarifs {
    max-width: 680px;
    background: none;
}

#tabs-tarifs ul.ui-tabs-nav {
    width: 900px;
    max-width: 93vw;
}

.tarifs_categories {
    position: relative;
}

.tarifs_categories table {
    width: 100%;
    background-color: #e2001a;
    margin: 0;
}

.tarifs_categories tr {
    display: flex;
    text-align: left;
    height: 50px;
}

.ie .tarifs_categories table td:not(:first-child) {
    text-align: center
}


.tarifs_categories table td:first-child {
    flex-grow: 2;
    text-align: left;
    text-transform: uppercase;
    padding: 0 10px;
}

.tarifs_categories table td {
    flex: 1 1 10%;
    padding: 0;
    align-self: center;
    color: white;
    font-family: RobotoCondensedBold, Arial, Helvetica, sans-serif;
    font-size: 15px;
    display: inline-block;
}


.tarifs_categories table td i {
    cursor: pointer;
}

.tarifs_categories .categories-detail {
    position: absolute;
    width: auto;
    border: 2px solid lightgrey;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: black;
    top: 10px;
    left: 70px;
    display: none;
}

.tarifs_categories .categories-detail ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.tarifs_categories .categories-detail ul span {
    font-family: OpenSansBold, Arial, Helvetica, sans-serif;
}

/**** STATION TITLE TABLE ****/

.tarifs_station-title {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    background: #f0f0f0;
    padding: 10px 10px 10px 30px;
    border: 1px solid lightgrey;
    /*margin-top: 40px;*/
}

.tarifs_station-title p {
    margin-bottom: 0;
    font-family: OpenSansBold, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: black;
    font-size: 18px;
}

.tarifs_station-title i {
    font-size: 23px;
    transition: transform 0.25s ease-in;
    margin-right: 30px;
}

.tarifs_station-title.open i {
    transform: rotate(-180deg);
}

/**** STATION CONTENT TABLE ****/

.tarifs_station-content {
    display: none;

}

.tarifs_station-content.open {
    display: block;
}

.tarifs_station-content > table {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    font-family: OpenSans, Arial, Helvetica, sans-serif;
    color: black;
}

.tarifs_station-content > table tr {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    padding: 10px 5px 10px 0;
}

.tarifs_station-content > table tr:hover {
    background-color: #f0f0f0;
}

.tarifs_station-content > table td {
    flex: 1 1 10%;
    padding: 0;
    align-self: center;
    color: black;
    display: inline-block;
    text-align: left;
}

.tarifs_station-content > table td:first-child {
    flex-grow: 1;
    text-align: left;
    font-size: 14px;
    padding: 5px;
    margin: 10px;
    border-bottom: 1px solid #cec5c6;
    font-family: OpenSansSemibold, Arial, Helvetica, sans-serif;
}

.tarifs_station-content > table td:first-child small {
    font-size: 11px;
}

.tarifs_station-content > table td:nth-child(2) {
/*    text-align: center;
    font-size: 12px;
    font-family: OpenSansSemiboldItalic, Arial, Helvetica, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    !*display: inline-block;*!

    flex-grow: 2;*/
}

/*.tarifs_station-content > table td:not(:nth-child(2)):not(:first-child) {
    display: flex;
    align-items: left;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 15px;
}*/

.tarifs_station-content > table td:not(:first-child) {
    display: flex;
    align-items: left;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 15px;
}

.tarifs_station-content > table td:not(:nth-child(1)) small {
}

.tarifs_station-content > table td:first-child {
    border: none;
    margin-right: 0;
}

.tarifs_station-content span[style="color:#FF0000;"] {
    color: #e2001a !important;
}

.tarifs_text {
    margin: 25px 0;
}

.tarifs_text .importantgras, .tarifs_text strong, .tarifs_station-content strong {
    font-weight: normal;
    font-family: OpenSansBold, Arial, Helvetica, sans-serif;
}


@media only screen and (min-width: 360px) {
    .tarifs_station-content > table td:not(:nth-child(1)) small {
        display: inline-block;
    }
}

@media only screen and (min-width: 480px) {

    .tarifs_categories table td, .tarifs_station-content table td {
        flex-basis: 130px;
        flex-grow: 0;
        padding: 10px;
    }

    .tarifs_categories table td {
        font-size: 20px;
    }

    .tarifs_categories table td:first-child {
        flex-basis: 260px;
        padding: 0 0 0 30px;
    }

    .tarifs_categories .categories-detail {
        left: 130px;
    }

    .tarifs_station-content > table tr {
        flex-wrap: nowrap;
        border: 1px solid lightgrey;
        padding: 0 5px 0 0;
    }

    .tarifs_station-content > table td:first-child {
        flex-basis: 260px;
        border: none;
        padding-left: 20px;
    }

    /*.tarifs_station-content > table td:nth-child(2) {
        !*display: table-cell;*!
        line-height: initial;
        font-size: 13px;
    }*/

    .ui-state-default a {
        font-size: 22px !important;
    }
}