/*---------------------------------------------------------------------------------

 Theme Name:   Union Sportive TropÃƒÂ©zienne
 Theme URI:    https://www.upscale-network.com/
 Description:  
 Author:       Upscale Network
 Author URI:   https://www.upscale-network.com/
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/*------------------ ULTIMATE MEMBER ----------------------*/
body.um {
  margin-bottom: 0!important;
}
.um:not(.um-admin).um-profile {
  font-size: 14px;
  color: #202124;
}
.um-profile .um-meta-text {
  font-size: 14px;
}
.um-profile .um-main-meta {
  margin: 1em 0;
}
.um-profile .um-field-label label {
  font-weight: 400;
  font-size: 14px !important;
}
.um-profile .um-field-label label a,
.um-meta-text,
.um .um-field-label {
  color: #202124;
}
.um-profile-connect.um-member-connect a {
  margin: 0.05em;
}
.um-header {
  min-height: 140px;
  border-bottom: none;
  padding-bottom: 0;
}
.um-profile-photo {
  position: relative;
}
.acf-map {
  width: 100%;
  height: 250px;
  margin: 20px 0;
}

.um-coordonnees {
  margin: 1em 0;
}
.um-profile .um-coordonnees > div.um-field-label {
  border-bottom-width: 1px;
  padding-bottom: 8px;
}
.um-coordonnees > div.um-field-label:last-child {
  border: none;
}

body.page-template-page-template-club #main-content > .container {
  padding-top: 0px;
}
table.club-horaires tr td:first-child {
  max-width: 100px;
  text-align: center;
}

table.club-horaires tr td:last-child {
  min-width: 70px;
  text-align: center;
  color: #1a0dab;
  font-size: 14px;
}

.content-section h2.section-title {
  margin-bottom: 1.5em;
  border-bottom: 1px dotted #ee2737;
  color: #ee2737;
}

/* Club page - sidebar */

.sidebar-club .sidebar-club-block .wp-block-heading {
  text-align: center;
  margin-bottom: 0.5em;
  margin-top: 0.3em;
}
.sidebar-club .sidebar-club-block {
  background-color: #f3f3f3;
  padding: 2em 2em;
  margin: 0 0 1em;
  border-radius: 12px;
}
.infra-horaires {
  background-color: #f3f3f3;
  padding: 2em 10%;
  border-radius: 12px;
}
.infra-horaires h2 {
  text-align: center;
  font-size: 22px;
  color: #ee2737;
  margin: 0 0 0.7em;
}
.infra-page-address h2 {
  text-align: center;
  font-size: 22px;
  color: #ee2737;
  margin: 0 0 0.7em;
}
.infra-page-address .acf-map {
  width: 90%;
  margin: auto;
}
.infra-page-address {
  background-color: #f3f3f3;
  padding: 2em 0;
  border-radius: 12px;
}
.infra-page-address-line {
  margin-bottom: 2em;
  text-align: center;
  padding:0 2em;
}
.infra-sidebar {
  margin-bottom: 1.4em;
}

.infra-sidebar .infra-sidebar-image img {
  border-radius: 12px;
  margin-bottom: 1em !important;
}
.infra-sidebar .infra-sidebar-content .infra-sidebar-titre {
  text-transform: uppercase;
  font-weight: 600;
  color: #ee2737;
  font-size: 14px;
}
.infra-sidebar .infra-sidebar-content .infra-sidebar-adresse {
  font-size: 12px;
  margin-top: 1em;
}

.entry-content .sidebar-club-block .sport-categories li a:hover {
  font-weight: 700;
}
.entry-content .sidebar-club-block .sport-categories li a {
  color: #202124;
}
.entry-content .sidebar-club-block .sport-categories li::marker {
  color: #ee2737;
}
#left-area .entry-content .sidebar-club-block .sport-categories {
  list-style-type: disclosure-closed;
  padding: 0 0 1em 3em;
}
.sidebar-club-block h2 {
  font-size: 22px;
  color: #ee2737;
}

/* Profil club matchs */

.content-section.matchs h4 {
  margin: 1.5em 0 1em 0;
  font-weight: 600;
}
.match-section {
  margin-bottom: 1.5em;
}
.match {
  display: flex;
}
.match-adresse {
  margin-bottom: 1em;
  font-size: 12px;
  padding: 0 1.5em;
  text-align: center;
  line-height: 1.6em;
}
.match-adresse i {
  margin-right: 1em;
}
.match-block {
  display: flex;
  max-width: 400px;
  padding: 0.5em 0;
  border: 1px solid #a3a3a3;
  flex: 3;
  border-radius: 12px;
  box-shadow: 4px 4px 5px -2px lightgrey;
}
.match-infos {
  flex-direction: column;
  flex: 2;
  align-items: center;
  display: flex;
  justify-content: center;
}
.match-infos p {
  text-align: center;
  font-size: 12px;
}
.match-infos span {
  text-decoration: underline;
}
.match-commentaire {
  font-size: 12px;
  margin-top: 0.5em;
}
.match-commentaire span {
  text-decoration: underline;
}
.match-block .match-clubs .club-image {
  width: 40px;
  margin: 0 1em;
}
.match-block .match-clubs .club-image img {
  width: 100%;
  max-width: 40px;
  margin-top: 5px;
}
.match-block .match-clubs .club-name {
  flex-grow: 1;
  color: #202124;
  font-size: 14px;
  text-align: left;
  padding-right: 10%;
}
.match-block .match-clubs .club-name span {
  float: right;
}
.match-block .match-clubs {
  display: flex;
  flex-direction: column;
  width: 70%;
}
.match-block .match-clubs > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}
.match-block .match-time {
  width: 30%;
  border-left: 1px solid #ecedef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* CATEGORY */

.category-post-module .wp-pagenavi {
  border-top: 1px solid #e3e3e3;
  padding-top: 1em;
  text-align: right;
}
.category-post-module .wp-pagenavi .current {
  color: black !important;
}
.category-post-module .wp-pagenavi > * {
  margin-right: 1.5em;
  color: #ee2737;
}

/* Post list on club profile page */

.post-list {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
}
.post-list .post-list-item {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 15px;
  padding: 0 0 10px 0;
  width: 32%;
  max-width: 33%;
}
.post-list .post-list-item .post-list-infos {
  background-color: #f3f3f3;
  padding: 1em 2em;
  border-radius: 0 0 12px 12px;
}
.post-list .post-list-item .post-list-image img {
  width: 100%;
  border-radius: 12px 12px 0 0;
}
.post-list .post-list-item .post-list-image a {
  height: 100%;
  width: 100%;
  display: block;
  border-radius: 15px;
}
.post-list .post-list-item .post-list-category {
  color: #ee2737;
}
.post-list .post-list-item .post-list-excerpt {
  font-size: 14px;
  margin: 0 0 10px 0;
  overflow: hidden;
}
.post-list .post-list-item .post-list-author {
  display: flex;
  align-items: center;
}
.post-list .post-list-item .post-list-author span {
  margin-left: 0.5em;
  font-weight: 600;
  font-size: 14px;
}
.post-list .post-list-item .post-list-author img {
  border-radius: 32px;
  display: inline-block;
}
.post-list .post-list-item .post-list-title a,
.post-list .post-list-item .post-list-title h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3em;
}

/* HOMEPAGE */

.slider-homepage .et_pb_slide:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
  z-index: 1; /* Adjust the z-index to position the overlay */
}
.slider-homepage .et_pb_slide_description .et_pb_slide_title {
  text-align: left;
  line-height: 1.14em;
}
.slider-homepage .et_pb_slide_description {
  padding: 0;
  margin: inherit;
  width: inherit;
}
.slider-homepage .et_pb_slider_container_inner h2 {
  font-size: 50px;
  font-weight: 400;
}
.et_pb_post_content h1, .et_pb_post_content h2, .et_pb_post_content h3, .et_pb_post_content h4, .et_pb_post_content h5, .et_pb_post_content h6,
.et_pb_text h1, .et_pb_text h2 {
	line-height:1.4em;
}
.et_pb_post_content h2 {
    font-size: 20px;
}
.slider-homepage .et_pb_slider_container_inner {
  display: flex;
  width: 100%;
  vertical-align: middle;
  align-items: end;
  justify-content: center;
  height: 100%;
  padding: 0px 60px 60px 60px;
}

/* MENU */

.menu-user a:first-child:after {
  top: 13px !important;
}
.menu-user img {
  border-radius: 36px;
}

.menu-header .et_pb_menu__search-button {
  margin-left: 1em;
}
.menu-header > .et_pb_row > .et_pb_column {
  margin-right: 0;
}

/* ANNUAIRE DES MEMBRES */

.um-directory .um-member-directory-header .um-member-directory-header-row:not(.um-member-directory-filters-bar).um-header-row-invisible {
  display: none;
}
.um-new-dropdown {
  min-width:200px;
}
.um-new-dropdown li {
  font-size: 14px;
}
.um.um-directory .um-members-wrapper .um-members.um-members-grid .um-member .um-member-card {
  padding-bottom: 25px;
}
.um-member-directory-header .um-do-search:hover {
  cursor: pointer;
}
.um.um-directory .um-member-directory-header .um-member-directory-header-row {
  margin: 0.5em 0 2em 0 !important;
}
.um-member-directory-header .um-do-search {
  background-color: #ee2737;
}
.um input[type="submit"].um-button:hover,
.um a.um-button:hover {
  background-color: white;
  border-color: #ee2737;
  color: #ee2737;
}
.um input[type="submit"].um-button,
.um input[type="submit"].um-button:focus,
.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 {
  background-color: #ee2737;
  border: 1px solid #ee2737 !important;
}
.um-account-side li a.current span.um-account-icon {
  color: #ee2737;
}

.club-profile-content .content {
  width:70%;
  padding-right:3%;
}
.club-profile-content .content p, .club-profile-content .content ul {
  margin-bottom: 1em;
}
.club-profile-content .sidebar {
    width:30%;
}
.club-profile-content .main-content {
  border-radius: 8px; 
  padding: 1em 0 1em 0;
}

/* FORM */

.form-club .acf-icon.-cancel:before {
  margin: 2px 0 0 1px
}
.form-club .row-menu-desktop {
  border-bottom: 3px solid #EE2737;
}
.form-club #main-content > .container {
  padding:  0 0 3em 0;
}
.form-club .acf-field .acf-label label {
  font-weight: 600;
  margin-bottom: 1.5em;
  display: inline-block;
  border-bottom: 1px solid black;
}
.form-club .acf-image-uploader .hide-if-value a {
  padding: 7px 10px;
  border: 1px solid #EE2737;
  font-size: 12px;
  margin-left: 1em;
}
.form-club .acf-image-uploader .hide-if-value p {
  font-weight: 600;
  margin: 1em 0;
}
.form-club .acf-input .fea-submit-button:hover {
  background-color: #FFFFFF;
  color: #EE2737;
}
.form-club .acf-input .fea-submit-button {
  border-color: #EE2737;
  padding: 0.8em 1.7em;
  color: #FFFFFF;
  border-width: 1px;
  border-radius: 0px;
  background-color: #EE2737;
  transition: all 300ms ease 0ms;
  font-weight: 500;
  line-height: 1.7em;
}
.form-club h1 {
  text-align: center;
  color: #EE2737;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Oswald';
  margin-bottom: 25px;
}

@media screen and (min-width: 981px) 
{
  .hide-desktop, .menu-tablet, .menu-mobile {
    display: none;
  }
}

/**************************************************/

/* Tablet */
@media screen and (max-width: 980px) 
{
  .um-profile .club-profile-content .content {
    width:100%;
    padding:0;
  }
  .um-profile .club-profile-content {
    flex-direction: column;
  }
  .um-profile .sidebar {
    display: none;
  }
  body.page-template-page-template-club #main-content > .container {
    width: 95%;
  }
}
@media screen and (max-width: 767px) {
  body.form-club #main-content {
    border-top: 3px solid #EE2737;
  }
  body.form-club #main-content > .container {
    border: none;
    padding-top: 4em;
  }
  body.form-club h1 {
    font-size:25px;
  }
}

/* mobile */
@media screen and (min-width: 621px) 
{
  .um-profile-connect {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 620px) 
{
  .slider-homepage .et_pb_slide:after {
    background: rgba(0, 0, 0, 0.5);
  }
  .club-profile-content h2, .content-section.post-list-section h2 {
    font-size: 20px;
  }
  .match-section {
    margin-bottom: 2em;
  }
  .match-section .match {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
  }
  .match-section .match .match-block {
    max-width: 90%;
    width: 90%;
  }
  .match-section .match-commentaire {
    text-align: center;
    margin:0;
  }
  .um-profile .um-main-meta {
    margin: 0;
  }
  .um-profile-connect.um-member-connect a {
    width: 30px;
    height: 30px;
    font-size: 16px;
    line-height: 30px;
  }
  .um-profile-connect.um-member-connect {
    margin-bottom: 15px;
  }
  .um-profile .um-meta-text {
    text-align: left;
    margin: 1em 0 1.5em;
  }
  .um-profile .um-coordonnees .um-field-label {
    text-align: left;
  }
  .post-list-section .post-list {
    flex-direction: column;
  }
	.post-list-section .post-list-item {
		width: 95%;
		max-width: inherit;
		margin: auto;
	}
}