.header_wrapper {
    position: relative;
    width: 100%;
    float: left;
}

.ed_slider {
    position: relative;
}

.slide_img {
    width: 100%;
    height: 590px;
    background-repeat: no-repeat;
    background-size: cover;
}

body:not(.page-home) .slide_img {
    height: 649px;
}

.alt-form-template .slide_img {
	height: 702px;
}

.page-viewbook-thank-you .slide_img {
    height: 620px;
}

.dot_navi {
    position: absolute;
    left: 50%;
    bottom: 10px;
}

.ed_slider figcaption {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 102%;
    color: #fff;
    position: relative;
}

.ed_slider .inner {
    position: absolute;
    bottom: 100px;
    width: 100%;
    margin: 0 auto;
    width: fit-content;
    display: block;
    background: rgba(99, 45, 79, 0.77);
     padding: 32px 50px;
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
    max-width: 630px;
}

.ed_slider h1 {
    color: #fff;
    font-size: 40px;
    margin: 0;
    line-height: normal;
   
    max-width: 800px;
}

.ed_slider h2 {
    color: #FF8300;
    font-family: 'Roboto Slab Bold', Arial, Helvetica, sans-serif;
    font-size: 40px;
    margin: 0;
    line-height: normal;
   margin-bottom: 10px;
    max-width: 800px;
}

.ed_slider p {
    color: #fff;
}

.ed_slider span a {
    text-decoration: none;
    color: #fff;
}

.ed_slider p:empty {
    display: none;
}

.mySlides {
    display: none
}

.mySlides img {
    vertical-align: middle;
}

/* Next & previous buttons */
.header_wrapper .prev,
.header_wrapper .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.header_wrapper .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #f9f963;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/*If slider has only one image, then display block*/
.ed_slider[data-slide-count="1"] .mySlides {
    display: block;
}

/*If no images, then show default */
.default_banner .mySlides {
    display: block;
}

.dot_navi {
    text-align: center;
}

.dot_navi.hide_dots,
.arrows.hide_arrows {
    display: none;
}

#pause {
    display: none;
    font-size: 15px;
    margin: 0;
    padding: 0;
}

@media only screen and (max-width:599px) {
    .slide_img {
        height: 205px;
    }

    .ed_slider .inner {
        width: 100%;
        bottom: 0;
        position: relative;
    }

    .ed_slider h1 {
        font-size: 40px;
        padding: 15px 25px;
        min-width: unset;
        border-radius: 0;
        background: #632D4F;
    }

    .alt-form-template .slide_img {
        height: 45px;
    }

    .page-viewbook-thank-you .slide_img {
        height: 45px;
    }
    
     body:not(.page-home) .slide_img {
        height: 205px;
    }
}

@media only screen and (min-width:600px) and (max-width:999px) {
	.header_wrapper {
		display: none;
	}

	.page-viewbook-thank-you .header_wrapper {
		display: block;
	}

    .page-viewbook-thank-you .slide_img {
        height: 590px;
    }
}

@media only screen and (min-width:1000px) {
    .home .slide_img {
        height: 880px;
        background-position: 58% 100%;
    }

  /*  .home .ed_slider h1 {
        font-size: 60px;
        min-width: 660px;
    }*/

    .page-high-school-academy .ed_slider h1 {
        padding: 32px 35px;
    }

    .page-campus-experience .slide_img {
        background-position: 90% 100%;
    }
}

@media only screen and (min-width:1000px) and (max-width:1200px) {
    .ed_slider .inner {
        left: 25px;
    }

    .ed_slider h1 {
        min-width: unset;
        max-width: 550px;
    }

    .home .ed_slider h1 {
        font-size: 50px;
        min-width: 470px;
    }
}