/* HOMEPAGE STYLES
************************************************************/


h2.sectionTitle	{
	text-align: center;
}	

.sectionInner {
    border-bottom:1px solid black;
}

.heroStatement .flexContainer,
.mySlides.books {
    max-width:100%;
    width: 65em;
    margin: auto;
    align-items: center;
    justify-content: center;
}

.hero-statement, .book-desc {
    padding: 2em;
    text-align: justify;
}
.book-title {
    font-size: 1.5em;
    color: var(--color-a);
    text-align: left;
}

.hero-image {
    margin: auto;
}

@media (min-width: 80px){
	.hero-image img {
		max-height: 60vh;
		max-width: 30vh;
	}
}

section.bookCarousel	{
	background: linear-gradient(to bottom, #f7f3f0, #eee1d9);
	background: linear-gradient(to bottom, #d8dad7, #94938f);
	background: linear-gradient(to bottom, #f7f3f0, #d7dada);
}
.flexslider	{
	background: transparent;
	border: 4px solid transparent;
}

@media (min-width: 800px) and ( max-width: 1100px){
	.slide {
		max-width: 45rem;
		margin: auto;
	}
}

@media (min-width: 1100px){
	.slide {
		max-width: 66rem;
		margin: auto;
	}
}


@media (max-width: 1000px){
    .slide {
    max-width: 42rem;
    margin: auto;
    flex-flow: column;
}
    .flex-viewport{max-height:2000px;}

    .desktopOnly {
        display:none;
    }
    .mobileOnly {
        display:block;
    }    
	.book-cover {
		max-width: 70%;
	}
}


.slide-wrapper {
    padding: 2% 2% 2% 4%;
    padding: 0 2%;
}

#slides-container {
    display:flex;
    align-items: center;
    width: 108%;
    margin-left: -4%;
}

.carot-left {
    width: 35px;
    height: 35px;
}

.icon {
    height: 35px;
    width: 35px;
}

.carot-right {
    width: 35px;
    height: 35px;
}

.amazon-link {
    background-color: #fff;
    border:1px solid black;
    border-radius: 5px;
    position: relative;
    z-index:99999; 
    
}

.amazon-link-container {
    bottom: -1.3em;
    position:relative;
    text-align:center;

}

.amazon-link:hover {
	border: 1px solid var(--color-a-hover);

}

/* FLEXSLIDER CAROUSEL STYLES*/

.child_slider.flexslider .slides img {
    width: auto;
	margin: auto;
}
.text-content{
	margin-top: 40px;
}
.child_slider .flex-direction-nav .flex-prev:before{
	content: '';
}
.child_slider .flex-direction-nav .flex-next:before{
	content: '';
}

.slide {
    display: flex;
    align-items: center;
}

.flexslider	{
	margin-bottom: 0px;
}
.child-page .sectionInner	{
	padding-bottom: 0;	
}
.child-page ul,
.child-page ol {
	margin: 0em auto;
    margin-bottom: 1.8em;
	padding: 1rem;
}

.child-page ol {
	margin-bottom: 0em;
}

.child-page ul {
	padding: 0;
}

.child-page ul li,
.child-page ol li {
	margin-bottom: 0rem;
}

.flex-control-nav li {
	margin: 0 12px;
}


.mainContent .child_content ul, .mainContent .child_content ol{
	width: auto;
	max-width: unset;
}

.child_content ul li img{
	max-height: 900px;
}
.child_slider{
	position: relative;
}
.child_slider .flex-control-nav{
	position: initial;
}
.flex-direction-nav .flex-next{
	right: 0;
	background-image: url("../images/arrows-chevrons/thick_arrow_right.png");
	color: transparent;
	background-repeat: no-repeat;
    background-size: cover;
	font-size: 1px;
}
.flex-direction-nav .flex-prev{
	left: 0;
	background-image: url("../images/arrows-chevrons/thick_arrow_left.png");
	color: transparent;
	background-repeat: no-repeat;
    background-size: cover;
	font-size: 1px;
}

@media (min-width: 1300px)	{
	.flex-direction-nav .flex-next{ right: 1vw;}
	.flex-direction-nav .flex-prev{ left: 1vw;}
}


@media (min-width: 2500px)	{
	.flex-direction-nav .flex-next{ right: 10vw;}
	.flex-direction-nav .flex-prev{ left: 10vw;}
}

/*MOBILE NAV*/

.child_content {
    position: relative;
}

#nav-slider .flex-direction-nav {
        display:none;
    }

.child_slider .flex-control-nav {
        display:block;
    }

@media (max-width: 800px){
    .child_slider .flex-direction-nav {
        display:none;
    }
    
    #nav-slider .flex-direction-nav {
        display:block;
    }
    
    #nav-slider .flex-control-nav {
        display:block;
    }
    
    .book-cover {
        padding-bottom: 1em;
    }
    
    #nav-slider {
        height: 2em;
        padding: 2em 0em 1em 0em;
        width: 100%;
    }
    
    .flex-viewport {
        position: relative;
    }
    
   .child_slider .flex-control-nav {
        display:block;
        position: absolute;
        width: 100%!important;
        /*top: -5em;*/
        top: -2.5em;
        z-index: 1!important;
        pointer-events: none;
    }
    
    
    .mobile-navigation{
       display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 2em 0em 1em 0em;
    }
    
    .mobile-navigation .flex-next{
       background-image: url("../images/right_arrow.svg");
    }
    
    .mobile-navigation .flex-prev{
       background-image: url("../images/left_arrow.svg");
    }
    
    .flex-prev,.flex-next {
        background-repeat: no-repeat;
        width: 40px;
        height: 40px;
        font-size: 1px;
    }
}


.carousel-toggle {
	display: block;
	text-align: center;
	padding-bottom: 4svh;
}
