
#mySlider a {
	padding: 10px 25px;
	background-color: rgb(var(--primary-color));
	color: #fff;
	border-top-left-radius: 8px;
	border-bottom-right-radius: 8px;
	text-decoration: none;
}

#mySlider {
	overflow: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.singleSlide {
    background-size: cover;
    height: 550px;
    min-height: 100vh;
    box-sizing: border-box;
    position: absolute;
    left: 100%;
    width: 100%;
    top: 0px;
}

.slideOverlay {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 50px;
    height: 100%;
    box-sizing: border-box;
    line-height: 50px;
}

.slideOverlay .textbox {
    position: absolute;
    top: 50%;
    width: 880px;
    height: 360px;
    margin-top: -180px;
    left: 50%;
    margin-left: -440px;
}

.slideOverlay .textbox img {
    display: none;
    float: left;
    width: 240px;
    height: auto;
    margin-top: 60px;
    margin-bottom: 60px;
}

.slideOverlay .textbox h1 {
    color: #fff;
    font-size: 52px;

}

.slideOverlay .textbox span {
    color: #fff;
    font-size: 26px;
}

#sliderNav {
    position: absolute;
    top: 50%;
    z-index: 90;
    width: 100%;
    font-size: 42px;
}

#sliderNav:hover {
    cursor: pointer;
}

#sliderPrev, #sliderNext {
    background: rgba(var(--primary-color), 0.5);
    border-radius: 4px;
    padding: 12px;
    color: #ffffff;
}

#sliderPrev {
    position: relative;
    float: left;
    left: 50px;
}

#sliderNext {
    position: relative;
    float: right;
    right: 50px;
}

@-webkit-keyframes slideIn {
    100% { left: 0; }
}

@keyframes slideIn {
    100% { left: 0; }
}

.slideInRight {
	left: -100%;
	-webkit-animation: slideIn 1s forwards;
    animation: slideIn 1s forwards;
}

.slideInLeft {
	left: 100%;
	-webkit-animation: slideIn 1s forwards;
    animation: slideIn 1s forwards;
}

@-webkit-keyframes slideOutLeft {
    100% { left: -100%; }
}

@keyframes slideOutLeft {
    100% { left: -100%; }
}

.slideOutLeft {
	-webkit-animation: slideOutLeft 1s forwards;
    animation: slideOutLeft 1s forwards;
}

@-webkit-keyframes slideOutRight {
    100% { left: 100%; }
}

@keyframes slideOutRight {
    100% { left: 100%; }
}

.slideOutRight {
	-webkit-animation: slideOutRight 1s forwards;
    animation: slideOutRight 1s forwards;
}