.custom-sl-container {
	position: relative;
	padding-top: 0!important;
	padding-bottom: 0!important;
	height: 100%;
	max-height: calc(100vh - 128px);
	overflow: hidden;
}
.custom-sl-container.preload-hidden {
	max-height: none;
    overflow: auto;
}
#custom-slider-image {
	overflow: hidden;
	position: relative;
	min-height: 400px;
	max-height: calc(100vh - 128px);
	opacity: 0;
}
.preload-hidden #custom-slider-image {
	opacity: 1;
}
#custom-slider-mobile-image {
	overflow: hidden;
	position: relative;
	min-height: 400px;
	max-height: calc(100vh - 70px);
	opacity: 0;
}
.preload-hidden #custom-slider-mobile-image {
	opacity: 1;
}
.custom-sl-container > div > img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}
.sl-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
}
.sl-content-block, .sl-content-block > div.row {
	height: 100%;
}
#custom-slider-mobile-image .sl-content-block {
	padding-left: 30px;
	padding-right: 30px;
}
.sl-content-box > * {
	margin-top: 30px;
	margin-bottom: 30px;
}
.sl-content-box > *:first-child {
	margin-top: 0;
}
.sl-content-box > *:last-child {
	margin-bottom: 0;
}
.sl-content-buttons {
	margin-top: 35px;
}
.sl-content-buttons .fancy-button {
	margin-left: 15px;
	margin-right: 15px;
}
.sl-content-buttons .fancy-button:first-child {
	margin-left: 0;
}
.sl-content-buttons .fancy-button:last-child {
	margin-right: 0;
}
.fancy-button a {
    min-width: 250px;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px 35px;
    background-color: var(--main-light-blue);
    text-align: center;
    /*transition: .3s;*/
    /*box-shadow: inset 0 0 0 4px #000, inset -4px -4px 0 6px #ccc;*/
}
.fancy-button a:before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--text-blue);
    transform-origin: 0 bottom 0;
    transform: scaleY(0);
    transition: 0.4s ease-out;
}

.fancy-button a span {
    font-weight: 700;
    position: relative;     
    color: var(--main-blue);
    transition: 0.4s ease-out;
}
.fancy-button a:hover {
    text-decoration: none!important;
    background-color: var(--contact-field);
}
.fancy-button a:hover span {
    color: #ffffff;
}
.fancy-button a:hover:before {
    transform: scaleY(1);
}

#slider-content-below {
	padding-top: 60px;
	padding-bottom: 60px;
}
.below-content > * {
	margin-top: 30px;
	margin-bottom: 30px;
}
.below-content > *:first-child {
	margin-top: 0;
}
.below-content > *:last-child {
	margin-bottom: 0;
}

.preload-block {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	pointer-events: none;
	background-color: #fff;
	opacity: 1;
	/*transition: 1s;*/
}
.preload-hidden .preload-block {
	opacity: 0;
	transition: .5s;
}
.preload-box {
	height: 100%;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid var(--main-blue);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}


#custom-slider-mobile-image .sl-content-box h2 {
	position: relative;
    font-size: 40px;
}
#custom-slider-mobile-image .sl-content-box h2:before {
	content: "";
	position: absolute;
	top: 50%;
    transform: translateY(-50%);
	right: calc(100% + 10px);
	width: 20px;
	height: 3px ;
	background-color: #ffffff;
}

@media screen and (max-width: 1199.98px) {
	.custom-sl-container > div > img {
	    min-height: 50vh;
		object-fit: cover;
	}
}
@media screen and (max-width: 767.98px) {
	.custom-sl-container > div > img {
	    min-height: 35vh;
		object-fit: cover;
	}
	#slider-content-below {
		padding-top: 30px;
		padding-bottom: 30px;
		padding-left: 30px;
		padding-right: 30px;
	}
	.below-content p {
		font-size: 16px;
	}
	.sl-content-buttons {
	    margin-top: 20px;
	}
	.below-content > * {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.sl-content-box > * {
		margin-top: 15px;
		margin-bottom: 15px;
	}
}
@media screen and (max-width: 575.98px) {
	/*#custom-slider-mobile-image .sl-content-block {
		padding-left: 15px;
		padding-right: 15px;
	}*/
	.sl-content-box > * {
		margin-top: 5px;
		margin-bottom: 5px;
	}
	#custom-slider-mobile-image .sl-content-box h2 {
	    font-size: 32px;
	}
	/*#custom-slider-mobile-image .sl-content-box h2:before {
		right: calc(100% + 5px);
		width: 10px;
	}*/
}