/*
Theme Name: Thème UAF
Theme URI: https://oceanwp.org/
Description: Theme de l'UAF.Thème enfant d'Ocean WP.
Author: Corinne Escudier
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
/*Chargement de la police ITC Goudy Sans*/
@font-face {
    font-family: 'ITC Goudy Sans Std';
    src:
        url('fonts/GoudySansStd-Book.woff2') format('woff2'),
        url('fonts/GoudySansStd-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ITC Goudy Sans Std';
    src:
        url('fonts/GoudySansStd-BookItalic.woff2') format('woff2'),
        url('fonts/GoudySansStd-BookItalic.woff') format('woff');      
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'ITC Goudy Sans Std';
    src:
        url('fonts/GoudySansStd-Medium.woff2') format('woff2'),
        url('fonts/GoudySansStd-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ITC Goudy Sans Std';
    src:
        url('fonts/GoudySansStd-MediumItalic.woff2') format('woff2'),
        url('fonts/GoudySansStd-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'ITC Goudy Sans Std';
    src:
        url('fonts/GoudySansStd-Bold.woff2') format('woff2'),
        url('fonts/GoudySansStd-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ITC Goudy Sans Std';
    src:
        url('fonts/GoudySansStd-BoldItalic.woff2') format('woff2'),
        url('fonts/GoudySansStd-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'ITC Goudy Sans Std';
    src:
        url('fonts/GoudySansStd-Black.woff2') format('woff2'),
        url('fonts/GoudySansStd-Black.woff') format('woff');    
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ITC Goudy Sans Std';
    src:
        url('/fonts/GoudySansStd-BlackItalic.woff2') format('woff2'),
        url('/fonts/GoudySansStd-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
/*Réglages généraux*/
a, a:hover, a:focus{
    text-decoration: none !important;
    outline: none !important;
}
h1, h2, h3, h4, h5, h6, .menu-item > a{
	font-family: 'ITC Goudy Sans Std', sans-serif !important;
}
/*Header*/
.lien-icone .menu-text{
	display:none;
}
/* Menu de l'en-tête fixé au scroll*/
.fixNavigation {
    position: fixed !important;
    top: 0;
}
/*Calendriers*/
.tec-toggle__panel iframe{
     min-height:100vh;
}

.tec-events-list-cat{ list-style:none; padding:0; margin:0; }
.tec-events-list-cat__item{ padding:12px 0; border-bottom:1px solid #eee; }
.tec-events-list-cat__title{ font-weight:600; text-decoration:none; }
.tec-events-list-cat__date,
.tec-events-list-cat__place{ font-size:0.95em; opacity:0.85; margin-top:4px; }

.tec-toggle__buttons{ display:flex; gap:10px; margin:0 0 12px; }
.tec-toggle__btn{ padding:8px 12px; border:1px solid #ddd; background:#fff; cursor:pointer; }
.tec-toggle__btn.is-active{ border-color:#111; font-weight:600; }


.tooltipster-base.tribe-events-tooltip-theme
  [class*="calendar-event-tooltip-description"] {
  display: none !important;
}
/*Vue liste évènnements / Clubs */
.uaf-events-filters > div:last-child{
    flex: 1 1 100%;
}
.uaf-events-table, .widefat{
  width: 100%;
  border-collapse:collapse;
  overflow: hidden;
}
.widefat{
    font-size:14px;
}
.widefat th, .widefat td{
    border-color: #003c8c;
}
.widefat a{
    text-decoration: none !important;
}
.uaf-events-table__head,
.uaf-events-table__row{
  display: grid;
  grid-template-columns: 70px 110px 1fr 140px 1fr 90px;
  gap: 10px;
  align-items: center;
}

.uaf-events-table__head{
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 2px solid #eee;
}

.uaf-events-table__row{
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}

.uaf-events-table__title a{
  text-decoration: none;
}

.uaf-events-table__title a:hover{
  text-decoration: underline;
}
.uaf-events-thumb{
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.uaf-events-table__img{
  display:flex;
  align-items:center;
}
.no-event{
    text-align:center;
}
/* Mobile: table -> cards */
@media (max-width: 768px){

  .uaf-events-table thead, .widefat thead{
    display:none;
  }

  .uaf-events-table,
  .uaf-events-table tbody,
  .uaf-events-table tr,
  .uaf-events-table td,
  .widefat,
  .widefat tbody,
  .widefat  tr,
  .widefat td{
    display:block;
    width:100%;
  }

  .uaf-events-table tr, .widefat tr{
    border:1px solid #eee;
    border-radius:12px;
    padding:12px;
    margin:12px 0;
    background:#fff;
  }

  .uaf-events-table td, .widefat td{
    border:none !important;
    padding:8px 0 !important;
    display:flex;
    gap:10px;
    align-items:flex-start;
  }

  /* label à gauche */
  .uaf-events-table td::before, .widefat td::before{
    content: attr(data-label);
    min-width: 90px;
    font-weight:600;
    opacity:.75;
  }

  /* Image en haut, sans label */
  .uaf-events-table td[data-label="Image"]{
    justify-content:flex-start;
  }
  .uaf-events-table td[data-label="Image"]::before{
    content:"";
    min-width:0;
  }

  /* Titre un peu plus visible */
  .uaf-events-table td[data-label="Titre"] a{
    font-weight:700;
    text-decoration:none;
  }
}
/*Page évènement*/
.single-tribe_events  #primary{
    padding-right:0 !important;
}
.single-tribe_events aside{
    display:none;
}
.single-tribe_events #primary{
    width:100%;
    border:none;
}
.single-tribe_events  .tribe_events{
    gap:20px;
    justify-content: space-between; 
}
.single-tribe_events #primary::before{
    content: "";
    width:100%;
    height:5px;
    background-color:#fff;
    display: block;
    position: absolute;
    z-index: 10;
}
.tribe-events-back, .tribe-events-schedule{
    margin:0 !important;
}
.tribe-events-notices{
    border: none !important;
}
.tribe-events-meta-group .tribe-events-single-section-title{
    font-size:26px !important;
    color:#003c8c !important;
}
@media(min-width:768px){
    .col-left, .col-right, .uaf-event-participants-manager > div{
        width:48% !important;
    }
    .tribe-events-meta-group{
        width:48% !important;
        flex: 0 0 48%;
        margin-right: 0;
    }
}
.uaf-event-participants-manager{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap:40px;
}
.uaf-participants form{
    display:inline;
    margin-left:8px;
}
.inscription-form{
    order:-1;
}
.inscription-form textarea, .inscription-form select, .inscription-form .select2-container--default .select2-selection--multiple, .inscription-form input{
    border-color:#003c8c !important;
}
.inscription-form .select2-container--default .select2-selection--multiple{
    height:180px;
}
.inscription-form .select2-container .select2-search--inline{
    width:100%
}
.uaf-event-participants-manager ul{
    font-size:14px;
}
.uaf-event-participants-manager ul button{
    padding:0;
    color:#003c8c;
    background: transparent;
}
.uaf-event-participants-manager ul button:hover{
    color:#feed01;
    background: transparent;
}
.uaf-event-participants-manager ul li{
    margin:6px 0;
}
.uaf-event-participants-manager ul li span{
    text-transform:uppercase;
}
#tribe-events-footer{
    border: none !important;
}
.uaf-next-events{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}
.uaf-next-event{
    padding:10px;
}
.uaf-next-event h4{
    margin-bottom:0;
}
@media(min-width:768px){
    .uaf-next-event{
        width:32%;
    }
}
.uaf-preview-wrapper .uaf-preview-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;

    margin-bottom: 25px;
    padding: 15px 20px;

    background: #fff8dc;
    border: 1px solid #d6a500;
    border-radius: 5px;
}

.uaf-preview-wrapper .uaf-preview-notice strong {
    font-size: 18px;
}

.uaf-preview-wrapper .uaf-preview-notice .button {
    margin-left: auto;
}
.uaf-preview-wrapper .tribe-events-c-subscribe-dropdown__container {
    display: none !important;
}
.uaf-preview-wrapper .col-left{
    padding:10px;
}
/*Ultimate Member: Couleurs*/
/* Link colors */
.um a.um-link,
.um .um-tip:hover,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
.um .um-member-name a:hover,
.um .um-member-more a:hover,
.um .um-member-less a:hover,
.um .um-members-pagi a:hover,
.um .um-cover-add:hover,
.um .um-profile-subnav a.active,
.um .um-item-meta a,
.um-account-name a:hover,
.um-account-nav a.current,
.um-account-side li a.current span.um-account-icon,
.um-account-side li a.current:hover span.um-account-icon,
.um-dropdown li a:hover,
i.um-active-color,
span.um-active-color,
.um-form .um-profile-nav-item a,
.um-profile.um .um-profile-headericon a:hover, 
.um-profile.um .um-profile-edit-a.active
{
    color: #003c8c !important;
}

.um a.um-link:hover,
.um a.um-link-hvr:hover {
    color: #feed01 !important;
}

/* Button colors */
.um .um-field-group-head,
.picker__box,
.picker__nav--prev:hover,
.picker__nav--next:hover,
.um .um-members-pagi span.current,
.um .um-members-pagi span.current:hover,
.um .um-profile-nav-item.active a,
.um .um-profile-nav-item.active a:hover,
.upload,
.um-modal-header,
.um-modal-btn,
.um-modal-btn.disabled,
.um-modal-btn.disabled:hover,
div.uimob800 .um-account-side li a.current,
div.uimob800 .um-account-side li a.current:hover,
.um .um-button,
.um a.um-button,
.um a.um-button.um-disabled:hover,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:active,
.um input[type=submit].um-button,
.um input[type=submit].um-button:focus,
.um input[type=submit]:disabled:hover,
.um-request-button,
.um .um-button.um-alt:hover,
.um input[type=submit].um-button.um-alt:hover,
.um .um-button.um-alt, 
.um input[type=submit].um-button.um-alt,
.um-profile-nav-item a:hover
{
    background: #003c8c !important;
}

.um .um-field-group-head:hover,
.picker__footer,
.picker__header,
.picker__day--infocus:hover,
.picker__day--outfocus:hover,
.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted,
.picker__list-item:hover,
.picker__list-item--highlighted:hover,
.picker--focused .picker__list-item--highlighted,
.picker__list-item--selected,
.picker__list-item--selected:hover,
.picker--focused .picker__list-item--selected,
.um .um-button:hover,
.um a.um-button:hover,
.um input[type=submit].um-button:hover,
.um-request-button:hover,
.um-profile-nav{
    background: #feed01 !important;
}
.um-form .um-profile-nav-item a:hover,
.um .um-button.um-alt{
    color:#fff !important;
}
.um-name{
    text-transform:uppercase;
}
/*Albums photos*/
.archive-albums .albums-year-block {
    margin-bottom: 50px;
}

.archive-albums .albums-year-title {
    margin-bottom: 20px;
    font-size: 32px;
    padding-bottom: 10px;
}

.archive-albums{
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
}
.albums-grid{
    display: flex;
    flex-flow: row wrap;
    gap:15px;
}
.archive-albums .album-card {
    background: #fff;
    border: 1px solid #003c8c;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    padding:0 !important;
    width:32%;

}
.post-type-archive-revue .archive-albums .album-card{
    width:24%;
}
.archive-albums .album-card 
@media(max-width:1024px){
    .archive-albums .album-card{
        width:48%;
    }
}
@media(max-width:767px){
    .archive-albums .album-card{
        width:100%;
    }
}
.archive-albums .album-thumb{
    max-height:240px;
    overflow: hidden;
}
.archive-albums .album-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 12px;
}

.archive-albums .album-title {
    font-size: 20px;
    margin: 15px auto;
}

.archive-albums .album-link {
    display: inline-block;
    padding: 12px 24px;
    background: #feed01;
    color: #003c8c;
    text-decoration: none;
    margin-bottom:15px;
}

.archive-albums .album-link:hover {
    background: #003c8c;
    color: #fff;
}
/*Fiche club*/
.club-single-sober {
    padding: 30px 0 40px;
}

.club-sheet {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.club-sheet__header {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececec;
}

.club-sheet__eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .7;
}

.club-sheet__title {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.15;
}

.club-sheet__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.club-pill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f4f4f4;
    font-size: 14px;
    font-weight: 600;
}

.club-sheet__top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .9fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.club-side {
    display: grid;
    gap: 24px;
}

.club-sheet__bottom {
    display: grid;
    gap: 24px;
    margin-top: 8px;
}

.club-card {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 22px;
}

.club-card h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.club-card__thumb {
    margin-bottom: 18px;
}

.club-card__thumb img {
    display: block;
    height: auto;
    border-radius: 14px;
}

.club-defs {
    margin: 0;
}

.club-defs__row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #ececec;
}

.club-defs__row:first-child {
    border-top: 0;
    padding-top: 0;
}

.club-defs dt {
    font-weight: 700;
}

.club-defs dd {
    margin: 0;
}

.club-actions {
    margin-top: 18px;
}

.club-actions--stack {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.club-activities {
    margin: 0;
    padding-left: 18px;
}

.club-content > *:first-child {
    margin-top: 0;
}

.club-content > *:last-child {
    margin-bottom: 0;
}

.club-sheet__back {
    margin-top: 24px;
}
.club-users-list {
    margin: 0;
    padding-left: 18px;
}

.club-users-list__item {
    margin-bottom: 8px;
}

.club-users-list__item:last-child {
    margin-bottom: 0;
}

.club-users-list__email {
    font-size: 13px;
    opacity: .8;
}
@media (max-width: 920px) {
    .club-sheet__top {
        grid-template-columns: 1fr;
    }

    .club-sheet__title {
        font-size: 28px;
    }

    .club-defs__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
/*Profil: homologations distinctions*/
.uaf-user-homologations {
  margin-top: 20px;
}

.uaf-homologations-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.uaf-homologations-table {
  width: 100%;
  border-collapse: collapse;
}

.uaf-homologations-table th,
.uaf-homologations-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.uaf-homologations-table th {
  font-weight: 600;
  background: #f6f7f7;
}

.uaf-homologations-table td strong {
  white-space: nowrap;
}
/*Boutique*/
 .current-shop-items-dropdown{
    background-color:#fff !important;
 }