/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */

.service-style-1 h2 {
    margin: 10px 0;
}

#navigation {
    background-color: #fff !important;
}

.from-secondary-background {
    --tw-gradient-from: #39ccb3 !important;
}

#ry-pg-body #floating-header > div:not(#navigation-style-7) {
    display: none;
}

@media (min-width: 1024px) {
	.lg\:max-w-screen-xl {
		max-width: 1600px;
	}
	
	.cta-section.style-1 a {
	    font-size: 16px;
	}
}

#navigation-style-7 > div:empty{
    display:none;
}

#ry-footer ul {
    line-height: 2;
}

body[data-page-name="contact-us"] #footer-map {
	display: none;
}

.top-banner {background: #a79f9f; display: none;}

.abs-footer-text {
    position: absolute;
    bottom: 150px;
}
.abs-footer-text p {
    color: #fff;
}

.abs-footer-text a {
    text-decoration: underline !important;
}

@media screen and (max-width: 992px) {
    .abs-footer-text {
    position: relative;
    inset: 0;
}

.abs-footer-text p {
    line-height: 2;
}
}
	
	
 /*MODAL STYLE*/

.pop-up-close-btn a {
    display: flex;
    background: var(--color-secondary-background);
    width: 40px;
    height: 40px;
    position: absolute;
    z-index: 999;
    right: 0;
    align-items: center;
    justify-content: center;
    color: #fff;
}
	
div#pop-up-link, a.link {
    width: 100%;
    background: transparent;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: transparent !important;
}	

/*MODAL STYLE*/	
	
	
	
/** THUMBNAIL LIGHTBOX IMAGE**/
	
	
.gallery-container .ry-each img {
    cursor: pointer;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}
.gallery-container .lightbox-trigger .ry-each {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.gallery-container .lightbox-trigger .ry-each > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
.gallery-container .lightbox-trigger {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
}
.gallery-container .lightbox-trigger .ry-each.tall {
	grid-row: span 2;
}

div.gallery-container {
    margin-top: 2em;
}	
	
	
	
/** THUMBNAIL LIGHTBOX IMAGE**/
	
	
div.ry-horizontal-line {
    position: relative;
    clear: both;
}
	
.ry-photo.left {
    float: left;
    width: 25%;
    margin-right: 2em;
	clear:both;
}

.ry-photo img {
    border-radius: 20px;
    min-height: initial !important;
    object-fit: cover !important;
    object-position: center !important;
        margin: 0;
	clear:both;
}

.ry-horizontal-line:not(:last-child):after {
    content: "";
    float: left;
    display: block;
    height: 1px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 30px 0;
	clear:both;
}
	
a#page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    text-decoration: none;
    margin: 0;
}

	
	div.logo-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

div.logo-section .ry-each {
    width: 30%;
    background: #eee;
    border-radius: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

div.logo-section .ry-each img {
    object-fit: contain;
    height: 80px;
    width: 90%;
    max-width: 150px;
    margin: 0 auto;
    float: none;
}

.cta-icon {
    color: #374151;
    border-color: #374151;
}
	
.ry-menu .ry-nav li .third-level-container .third-level-dropdown {
    min-width: 340px;
}

@media (max-width:768px) {
	
    .ry-photo.right, .ry-photo.left, div#team-headshot {
		float: none;
		width: 100% !important;
		margin: 0 auto 1em;
	}

		.ry-photo img,  {
		margin: auto;
		max-width: 300px;
		width: 100%;
	}
	
	a#page-btn {
	 margin: 0 auto !important;
	}

}

	
@media (max-width:600px) {
    .gallery-container .lightbox-trigger .ry-each {
		max-width: 200px;
		height: auto;
		margin: 0 auto 0;
	}

		div.logo-section {
		gap: 1em;
	}

	div.logo-section .ry-each {
		width: 47%;
	}
}
	

.cta-btn {  /*button color*/
  color: var(--color-secondary-text);
  background: var(--color-primary-background);

}
.cta-btn:hover {
  background: transparent;
  border: 1px solid var(--color-secondary-background);
  color: var(--color-primary-background);
}
	
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    background: var(--color-primary-background);
}

.ry-menu .ry-nav li.dropdown .dropdown-menu li:hover {
    background: var(--color-primary-background);
    color: white;
}

.sports-perfo #hp-testimonials-1 {
  padding-top: 0
}
.sports-perfo #hp-testimonials-1  svg {
  fill: rgb(253 224 71 / var(--tw-text-opacity, 1))
}
.sports-perfo #hp-testimonials-1 p {
  margin-block: 5px
}
	

.sports-perfo .video-reviews .grid > div {
    position: relative;
    padding: 12px !important;
    margin: 0 !important;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: .3s ease;
}

.sports-perfo .video-reviews .grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

.sports-perfo .video-reviews .grid > div video {
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto !important;
    border-radius: 12px;
    object-fit: cover;
    height:300px
}


.sports-perfo .video-reviews .grid .svg-wrapper small {
    display: none;
}

.sports-perfo .video-reviews .grid .svg-wrapper a {
    pointer-events: auto;
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    border: 2px solid rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
    transition: .3s ease;
}

.sports-perfo .video-reviews .grid .svg-wrapper a svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: .3s ease;
}

.sports-perfo .video-reviews .grid > div:hover .svg-wrapper a {
    color: #111;
    background: #fff;
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(255, 255, 255, .4);
}

.sports-perfo .video-reviews .grid .svg-wrapper a:hover {
    transform: scale(1.2);
}

.sports-perfo .video-reviews .grid .svg-wrapper {
    margin:0
}
.sports-perfo .video-reviews .grid .svg-wrapper::before {
    content: "";
    display: block;
    width: 38px;
    height: 38px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3Cpath d='M6.271 5.055a.5.5 0 0 1 .52.038l3.5 2.5a.5.5 0 0 1 0 .814l-3.5 2.5A.5.5 0 0 1 6 10.5v-5a.5.5 0 0 1 .271-.445'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16'/%3E%3Cpath d='M6.271 5.055a.5.5 0 0 1 .52.038l3.5 2.5a.5.5 0 0 1 0 .814l-3.5 2.5A.5.5 0 0 1 6 10.5v-5a.5.5 0 0 1 .271-.445'/%3E%3C/svg%3E") center / contain no-repeat;
    position:absolute;
    z-index:3;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%)
}
#sports-video-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .88);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}

#sports-video-modal.active {
    opacity: 1;
    visibility: visible;
}

#sports-video-modal .sports-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}

#sports-video-modal video {
    display: block;
    width: 100%;
    max-height: 85vh;
}

#sports-video-modal .sports-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .sports-perfo .video-reviews .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sports-perfo .video-reviews .grid > div video {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .sports-perfo .video-reviews .grid {
        grid-template-columns: 1fr;
    }

    .sports-perfo .video-reviews .grid > div video {
        height: 200px;
    }
}