.infos {
    background-color: #327986;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem 0;
}

.error {
    background-color: #b25d5d;
    color: #FFFFFF;
    border-radius: 5px;
}

.errors {
    padding: 1rem;
    margin: 1rem 0;
}

.field-error {
    padding: 0 1rem;
}


button {
    cursor: pointer;
}


/*
Tables
 */
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
}
.main_color .table__link,
.main_color .table__head {
    color: #50A8BB;
}

.main_color .table__head {
    font-weight: 400;
    font-size: 18px;
}

.main_color .table__head p {
    font-size: 18px;
}
.main_color .table__head p ~ p {
    font-size: 14px;
    text-transform: none;
}

.main_color tr.table__row:nth-child(even) {
    background-color: #F0F7F8;
}

.main_color tr.table__row:nth-child(even) th,
.main_color tr.table__row:nth-child(even) {
    border-color: transparent;
}
.main_color tr:nth-child(odd) {
    background-color: #fff;
}
.main_color .table thead tr.table__head-row {
    background-color: #fff;
    border-color: #50A8BB;
}

.main_color .table thead tr.table__head-row th {
    border-top: 1px solid;
    border-bottom: 1px solid;
}
.main_color .table th, .main_color .table td {
    border-color: transparent;
}

.no-bg-table .table__head, .no-bg-table .table__item {
    background-color: #fff;
}
.item__name,
.table__item {
    font-size: 15px;
}

.table__item, .table__item:not([data-accident-name]) .table__link {
    color: #5e5e5e;
}
.table__item .table__link {
    text-decoration: none;
}
.table__row:hover .table__item {
    background-color:#FCEEEA;
}
.table__row:hover .table__item[data-accident-name], .table__row:hover .table__item[data-accident-name] .table__link {
    color:#e8785c;
}
#current-premium-row .table__item--current,
#current-premium-row:hover .table__item--current {
    background-color: #50A8BB;
    color: #fff;
    text-transform: uppercase;
}
#current-premium-row .item__name {
    font-size: 20px;
}

td[data-accident-name], td[data-price] {
    padding: 0;
}
td[data-accident-name] .table__link, td[data-price] .table__link {
    padding: 9px 12px;
    display: block;
}
.comparing td[data-price] .table__link {
    padding: 9px 12px 0;
}

.comparing .row_to_compare.row-matched td[data-scope="column"]::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-image: url("../../dist/icons/green_star_icon.svg");
    background-repeat: no-repeat;
    background-size: cover;
}
@media screen and ( min-width: 768px ) {
    .comparing .row_to_compare.row-matched td {
        background-color: #4CC78C21;
    }
}
.comparing td[data-price] .table__link,
td[data-price] .saving {
    line-height: 1.3;
}
td[data-price] .saving {
    color: #4CC78C;
    padding-bottom: 9px;
}

.no-border-table th, .no-border-table td {
    border: none;
    border-color: transparent;
    vertical-align: top;
}
.no-bg-table th, .no-bg-table td {
    background-color: transparent;
}
.no-bg-table .item__group, .no-bg-table .item__name {
    color: #50A8BB;
}

.table-reset td {
    padding: 0;
    font-size: 17px;
    color: #5e5e5e;
}
.table-reset tr td:first-of-type {
    padding-right: 1rem;
}


@media screen and (min-width: 1024px) {
    .main_color .table__head,
    .item__name,
    .table__item,
    .main_color .table__head p {
        font-size: 25px;
    }
    .item__group,
    .main_color .table__head p ~ p {
        font-size: 20px;
    }

    .comparing .row_to_compare td[data-scope="column"] {
        position: relative;
    }
}

.ui-pagination {
    margin: 0;
}
.ui-pagination, .ui-pagination li {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none !important;
}
.ui-pagination li {
    width: 30px;
    height: 30px;
    font-size: 18px;
    transition: background-color .3s ease;
    border-radius: 5px;
    margin: 2px;
}
.ui-pagination li a {
    color: #5E5E5E;
}
.ui-pagination .active {
    background-color: #50A8BB;
}
.ui-pagination .active a {
    color: #fff;
}

.ui-pagination .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}
.ui-pagination .arrow.prev-page:before,
.ui-pagination .arrow.first-page:before,
.ui-pagination .arrow.first-page:after,
.ui-pagination .arrow.next-page:before,
.ui-pagination .arrow.last-page:before,
.ui-pagination .arrow.last-page:after
{
    content: "";
    width: 7px;
    height: 7px;
    border-bottom: 2px solid #5E5E5E;
    border-left: 2px solid #5E5E5E;

}
.ui-pagination .arrow.prev-page:before, .ui-pagination .arrow.first-page:before, .ui-pagination .arrow.first-page:after {
    transform: rotate(45deg);
}
.ui-pagination .arrow.next-page:before, .ui-pagination .arrow.last-page:before, .ui-pagination .arrow.last-page:after {
    transform: rotate(-135deg);
}

/*
Forms
*/
.form-inline {
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    max-width: 930px;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

input[type=submit] {
    text-transform: uppercase;
}
.form-contact input:not( [type=submit] ):read-only {
    font-style: italic !important;
}

.form-contact #send-form.disabled {
    opacity: .6;
    cursor: progress;
}
.form-inline input, #top .form-inline input,
#top .main_color .form-contact input,
#top .main_color .form-inline select,
#top .main_color .form-contact input[type='text'],
#top .main_color .form-contact input[type='email'],
#top .main_color .form-contact textarea {
    border-radius: 5px;
    padding-left: 1rem;
    padding-right: 1rem;
}
#top .main_color .form-inline select {
    display: unset;
    line-height: 1.37;
}
.form-inline input, #top .form-inline input,
#top .main_color .form-inline select {
    margin: 0;
}
.form-inline input[type="submit"], #top .form-inline input[type="submit"], .button {
    line-height: 1.5;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: 42px;
}
.form-inline input[type="text"],
#top .main_color .form-inline input[type='text'],
#top .main_color .form-inline select,
#top .main_color .form-contact input[type='text'],
#top .main_color .form-contact input[type='email'],
#top .main_color .form-contact textarea {
    background-color: #E3F0F3;
}
#top .main_color .form-contact input[type='text'],
#top .main_color .form-contact input[type='email'],
#top .main_color .form-contact textarea {
    border-color: #fff;
}

#top .form-inline label, #top .form-contact label {
    font-weight: 500;
}

/* Helpers */
.custom-button.avia-button.avia-color-theme-color {
    border-width: 0;
    text-transform: none !important;
    font-weight: 400 !important;
    cursor: pointer;
}
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.align-center {
    justify-content: center;
}
.col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-left: 15px;
    padding-right: 15px;
}
.col-md-3 {
    max-width: 33.3333%;
}
.col-md-3 {
    max-width: 33.3333%;
}
.m-0 {
    margin: 0 !important;
}
.pt-1 {
    padding-top: 1rem;
}
.mt-1 {
    margin-top: 1rem;
}
.mr-1 {
    margin-right: 1rem;
}
.mb-1 {
    margin-bottom: 1rem;
}
.mb-2 {
    margin-bottom: 2rem;
}

.lh-1-1 {
    line-height: 1.1;
}

.fix-zIndex {
    z-index: 0 !important;
}

.flex {
    display: flex;
}

.flex.vertical-middle {
    align-items: center;
}

.has-icon-left {
    margin-right: .5rem;
}

@media screen and (max-width: 1023.98px) {
    .form-inline input[type="submit"],
    #top .form-inline input[type="submit"] {
        margin-top: 20px;
    }
}
@media screen and (max-width: 600px) {
    #top .radio-item__label, 
    #top .form-group__title {
        font-size: 16px;
        line-height: 1.25;
    }
    #top .radio-item__label {
        display: flex;
        align-items: center;
    }
    #top .radio-item__label:last-of-type {
        padding-right: 0;
    }
    
}
#top .radio-item__label {
    font-weight: 400 !important; /* pour modifier le css par defaut du theme */
}

.radio-item {
    position: relative;
    padding: 0 10px;
}

.radio-item__input {
    display: none;
}

.radio-item__label {
    position: relative;
    padding-left: 22px;
    font-weight: 400;
}


.radio-item__label:before,
.radio-item__label:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radio-item__label:before {
    border: 1px solid #5E5E5E;
    width: 13px;
    height: 13px;
}

.radio-item__label:after {
    opacity: 0;
    width: 8px;
    height: 8px;
    transition: opacity .3s ease;
}

.radio-item__input:checked~.radio-item__label:after {
    background-color: #5E5E5E;
    opacity: 1;
}
.orange-color {
    color: #E8775C !important;
}
.bg-blue {
    background-color: #50A8BB;
}
.check-circle, .circle-negative {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #E8775C;
}
.check-circle {
    background-color: #E8775C;
}
.circle-negative {
    background-color: #7D7D7D;
}
.check-circle:after {
    content: "";
    width: 10px;
    height: 4px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg)
}
.circle-negative:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%);
}

.dropdown-toggle {
    position: relative;
    display: block;
}
.dropdown-toggle input::placeholder {
    color: #5E5E5E;
    opacity: 1;
}
.dropdown-toggle:after {
    content: "";
    display: block;
    position: absolute;
    right: .5rem;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #5E5E5E;
    border-bottom: 2px solid #5E5E5E;
    transition: transform .3s ease;
    transform: translate(-50%, -50%) rotate(45deg);
}
.active.dropdown-toggle:after {
    transform: translate(-50%, 0) rotate(-135deg);
}
.custom-button.avia-button.avia-color-theme-color.map-toggle {
    display: flex;
    align-items: center;
}
.map-icon {
    background-image: url("../../dist/icons/markerMap.png");
    display: inline-block;
    width: 19px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-left: 10px;
}

.has-partners {
    margin-bottom: 0 !important; /* important pour remplacer le !important du thème */
}
#top .all_colors .partners {
    font-size: 18px;
    color: #7D7D7D;
    margin-top: 0;
}

#top .all_colors .detail-marker .partners {
    font-size: 16px;
}

.compare-form {
    display: flex;
    align-items: center;
    padding: 30px 20px;
    margin-bottom: 0 !important;
}
.compare-form label {
    color: #fff;
}
.compare-form label, .compare-form div {
    margin-right: 20px;
}
.compare-form input {
    margin-bottom: 0 !important;
}

#top .main_color .compare-form input {
    padding: 9px 15px !important;
}
#top .main_color .compare-form input::placeholder {
    font-style: italic;
    font-size: 18px;
}
#top .main_color .compare-form input[type='submit'] {
    line-height: 1.6;
}
.d-none {
    display: none !important;
}

#header.showingModal, 
#footer.showingModal {
    z-index: 0 !important;
}

.form-contact select {
    background-color: #E3F0F3 !important;
}

/* Google search */
.avia-search-tooltip.avia-tt {
    display: none !important;
} 

.gsc-input-box > table, 
.gsc-search-box.gsc-search-box-tools,
table.gsc-search-box {
    margin-bottom: 0 !important;
}

.gsc-input {
    max-height: 35px !important;
    height: auto !important;
    padding: 5px 6px !important;
}

.gsc-search-button.gsc-search-button-v2 {
    background-color: #e8785c;  
    padding: 8px 27px;
    height: 35px;
    border: none;
    border-radius: 5px;
}

table.gstl_50.gssb_c {
    transform: translateY(25px);
}
.gsib_b {
    padding: 5px 0 !important;
}
/* END Google search */

.content.template-search.av-content-small.alpha.units.av-enable-shadow {
    box-shadow: none;
    width: 100%;
}
.template-search .pagination,
.template-search .pagination li {
    list-style: none;
}
.template-search .pagination li.active a {
    color: #50a7bb;
    font-weight: 700;
}

.custom-tabs-content time.minor-meta {
    display: none;
}

/* DOCTOR DETAILS CSS */
.page-doctor-details.container-map {
    width: 100%;
    transition: height 0.3s ease, opacity 0.5s ease, visibility 0.2s ease;
    z-index: 10;
    position: relative;
  }
  .page-doctor-details.container-map.active {
    opacity: 1;
    visibility: visible;
    max-height: 100%;
  }
  .page-doctor-details.container-map .close {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 40px;
    height: 40px;
    z-index: 30;
  }
  @media screen and (max-width: 600px) {
    .page-doctor-details.container-map {
      transform: translateY(0);
    }
    .page-doctor-details.container-map .google-map {
      min-height: 100vh !important;
    }
  }
  
  .page-doctor-details .block-detail {
    position: absolute;
    left: 2rem;
    top: 0;
  }
  .page-doctor-details .block-detail .collapse-toggle {
    position: relative;
    padding-left: 16px;
    cursor: pointer;
  }
  .page-doctor-details .block-detail .collapse-toggle:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    border-bottom: 2px solid;
    border-right: 2px solid;
    width: 10px;
    height: 10px;
    transform: translate(-50%, 0) rotate(-45deg);
    transition: transform 0.3s ease;
  }
  .page-doctor-details .block-detail .collapse-toggle.active:before {
    transform: translate(-50%, -25%) rotate(45deg);
  }
  .page-doctor-details .block-detail .collapse-content {
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
    transform: translateY(-10px);
    max-height: 0;
    overflow: hidden;
  }
  .page-doctor-details .block-detail .collapse-content.active {
    overflow: visible;
    visibility: visible;
    opacity: 1;
    max-height: 100%;
    margin-bottom: 1rem;
    transform: translateY(0);
  }
  .page-doctor-details .block-detail p {
    line-height: 1.3;
  }
  .page-doctor-details .block-detail .container-content {
    position: relative;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #fff;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .page-doctor-details .block-detail .container-content::-webkit-scrollbar {
    display: none;
  }
  @media screen and (max-width: 600px) {
    .page-doctor-details .block-detail {
      left: 0;
      position: absolute;
      bottom: 0;
      top: initial;
      width: 100%;
      height: 100%;
      z-index: 30;
    }
    .page-doctor-details .block-detail.is-single {
      display: flex;
      align-items: flex-end;
      max-height: 100%;
      height: auto;
    }
  }
  @media screen and (min-width: 736px) {
    .page-doctor-details .block-detail {
      transform: translateY(2rem);
    }
    .page-doctor-details .block-detail .container-content {
      max-height: 500px;
    }
  }
  
  .page-doctor-details .close-detail {
    background-color: transparent;
    top: 0.7rem;
    right: 0.7rem;
    border: 0;
    padding: 0;
    font-size: 1.3rem;
    color: #5E5E5E;
    z-index: 30;
  }
  
  .page-doctor-details .detail-marker {
    position: relative;
    padding: 1.5rem 2rem 1.5rem 1.5rem;
    background-color: #fff;
  }
  .page-doctor-details .detail-marker--collapse {
    padding: 0 2rem 0 1.5rem;
  }
  .page-doctor-details .detail-marker--collapse:first-of-type {
    padding: 1.5rem 2rem 0 1.5rem;
  }
  .page-doctor-details .detail-marker--collapse:last-of-type {
    padding: 0 2rem 1.5rem 1.5rem;
  }
  .page-doctor-details .detail-marker__title {
    padding-top: 0.5rem;
  }
  .page-doctor-details .detail-marker .allowed, .detail-marker .no-allowed {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-position: center;
    background-position: center;
    background-size: cover;
  }
  .page-doctor-details .detail-marker .allowed {
    background-image: url("../../dist/icons/check_icon.svg");
  }
  .page-doctor-details .detail-marker .no-allowed {
    background-image: url("../../dist/icons/alert_icon.svg");
  }
  .page-doctor-details .detail-marker__content {
    padding-top: 1rem;
  }
  .page-doctor-details .detail-marker__content h4 {
    color: #e8785c;
    text-transform: uppercase;
    font-weight: 400 !important;
  }
  .page-doctor-details .detail-marker__content td p:last-of-type {
    line-height: 1;
  }
  @media screen and (min-width: 1024px) {
    .page-doctor-details .detail-marker {
      max-width: 350px;
    }
  }

#top #wrap_all .all_colors h1.alt-heading-tag {
    color: #e8785c;
    font-size: 30px;
    font-weight: 300;
    padding-bottom: 0 !important;
}

.page-doctor-details.av-special-heading {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center
}
@media only screen and (max-width: 768px) {
    #top #wrap_all .all_colors h1.alt-heading-tag {
        font-size: 28px !important;
    }
    .page-doctor-details.av-special-heading {
        margin-top: 0 !important;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .page-doctor-details.av-special-heading .avia-button-right {
        float: none;
        display: inline-block;
        margin-bottom: 10px;
    }
}



/* Custom page search  */

.custom-tabs {
    margin: 20px 20px 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    border-bottom: 1px solid #ccc !important;
  }
  .custom-tabs li {
    display: inline-block;
    cursor: pointer;
    color: #5a5a5a;
    padding: 5px 10px;
  }
  .custom-tabs li:first-child {
    margin-left: 10px;
  }
  .custom-tabs .active-tab {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: none;
    position: relative;
    color: #50a7bb;
  }
  .custom-tabs .active-tab:after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -0.1em;
    left: 0;
    background: white;
  }
  
  .custom-tabs-content {
    margin: 0 20px 0 0;
    padding: 20px;
    border: 1px solid #ccc !important;
    border-top: none !important;

  }
  .custom-tabs-content .entry-title {
    margin-bottom: 5px !important;

  }
  .custom-tabs-content > div {
    display: none;
  }
  

/* Mediaqueries */


/*
    hide on large screens
*/
@media (min-width: 601px) {
    .d-none-md {
        display: none;
    }

    .comparing .row_to_compare td[data-scope="column"] {
        padding: 10px 0 0 10px;
    }
}

@media screen and (max-width: 600px) {
    [data-scope="column"] {
        position: sticky;
        left: 0;
        background: inherit;
    }

    [data-scope="column"]:before {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        box-shadow: 2px 1px 4px 0px #ebe9e9;
        z-index: -1;
    }
    #current-premium-row .item__name {
        font-size: 15px;
    }
    .comparing .row_to_compare.row-matched td[data-scope="column"]::after {
        left: initial;
        right: 0;
        width: 13px;
        height: 13px;
    }

    tr th, tr td, tr th:first-child, tr td:first-child, [data-scope="column"] {
        border: 0;
    }

    /* forms */
    .form-inline {
        margin: 0 auto;
        padding: 1.5rem 1rem;
    }
    #top input[type="text"] {
        margin-bottom: 20px;
    }
    .form-inline input, #top .form-inline input {
        width: 100%;
    }



    /* Helpers */
    .col-auto {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .col-md-3, .col-md-4 {
        max-width: 100%;
    }

    /* Fix z-index de la map en responsive */
    #after_section_1.main_color.av_default_container_wrap.container_wrap.fullsize  {
        z-index: 1000;
    }

    .patiens-Allowed-checks.flex {
        flex-wrap: wrap;
    }

    #top .all_colors .partners {
        font-size: 13px;
        line-height: 1;
    }

    .d-none-sm {
        display: none;
    }

    .compare-form {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px !important;
    }
    .compare-form label {
        font-size: 16px !important;
        margin-right: 0;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .compare-form input:not( [type="submit"] ) {
        margin-bottom: 15px !important;
        max-width: fit-content;
    }
    .compare-form input#current-premium {
        min-width: 125px;
    }
    .compare-form input#current-franchise {
        min-width: 155px;
    }
}
