.sppb-row-container,
#sp-main-body>.container,
.sppb-container,
#sp-bottom .container,
#sp-footer .container {
  max-width: 90%!important;
}


body.ltr .sp-megamenu-parent>li.sp-has-child>a:after, body.ltr .sp-megamenu-parent>li.sp-has-child>span:after {
color:#82ba46;
}

.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a, .sp-megamenu-parent>li:hover>a, .sp-megamenu-parent .sp-dropdown li.sp-menu-item>a:hover {
    color: #82ba46!important;
}

.sp-megamenu-parent>li::after {
    background-color: #BBBABA;
}


.sp-slider .sp-item .sp-video-background iframe {
    position: relative;
    width: 100vw;
    height: 70vw;
  margin-top:-8rem;
}

#sp-bottom .sp-module .sp-module-title {
    color: #000;
      letter-spacing: 0px;
}

.sp-page-title .sp-page-title-heading {
    font-size: 72px;
}

.sp-page-title {
    padding: 165px 0px;
    background-size: cover;
        background: #5A5D5D;
}


.view-page .sp-page-title-heading {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50px;
    width: fit-content;
    padding: 10px 55px 15px 55px!important;
    margin-left: auto!important;
    margin-right: auto!important;
}

html.error-page body {
    background-color: #ffffff!important;
}

html.error-page .error-code,
html.error-page .error-message,
html.error-page .error-wrapper a.sppb-btn-link{
    color: #5a5d5d!important;
}

html.error-page .error-logo {
    transform: scale(0.5);
}

.sppb-gallery li >a:before {
    content: "";
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 10;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.sppb-gallery li >a:after {
    content: "\f00e";
    font-family: fontawesome;
    font-size: 50px;
    opacity: .8;
    color: #fff;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    z-index: 15;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}


 .sppb-gallery img {
    max-height: 400px;
}

.view-page .sp-page-title-heading {
    display:none
}


.sppb-gallery li a {
     max-width: 300px!important;
}

.sppb-gallery li img {
     max-height: 340px!important;
     min-height: 340px;
     min-width: 300px;
}

.sppb-addon-gallery img.sppb-img-responsive {
  width: 100%;
  max-width: 300px; /* Match the width of the other items */
}

.sppb-gallery li >a:before {
display:none;
}

.speasyimagegallery-gallery-item-title {
	display:none;
}

/* iPhone bg fix */

@media only screen and (min-device-width: 320px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  .sp-page-builder .page-content #section-id-1603175361137,
  .sp-page-builder .page-content #section-id-1614061579343,
   #call-to-action {
    background-size: unset !important;
    background-attachment: scroll !important;
    background-position: top !important;
  }
}


@media (max-width: 768px) {
    /* Hide the video container completely on mobile */
    #sp-slider-item-1730101280083-num-0-key {
        display: none !important;
    }
    
    /* Force the second (image) slide to be active and visible immediately */
    #sp-slider-item-1730101280083-num-1-key {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Hide the first dot indicator so users don't think they can click back to a blank slide */
    #sppb-addon-1730101280083 .sp-dot-0 {
        display: none !important;
    }
}

/* Extra small devices (phones, 600px and down) */
@media screen and (min-width:320px) and (max-width:845px) {
 .sp-slider-outer-stage #sp-slider-item-1730101280083-num-0-key {
    display:none;
  }
  
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {...} 

/* Medium devices (landscape tablets, 768px and up) */
@media screen and (min-width: 768px) and (max-width:1024px) {..}

/* Large devices (laptops/desktops, 992px and up) */
 @media screen and (min-width: 900px) and (max-width:1440px) {

 .sppb-gallery img {
    max-height: 340px;
}}

/* Large devices (laptops/desktops, 992px and up) */
 @media screen and (min-width: 1024px) and (max-width:1366px) {
   
       #sp-slider-item-1730101280083-num-0-key {
        display: none !important;
    }
    
    /* Force the second (image) slide to be active and visible immediately */
    #sp-slider-item-1730101280083-num-1-key {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Hide the first dot indicator so users don't think they can click back to a blank slide */
    #sppb-addon-1730101280083 .sp-dot-0 {
        display: none !important;
    }
 }

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}

/* Codes for Bootstrap hidden elements on devices
hidden-xs
hidden-sm
hidden-md
hidden-lg
 */



