/* 2024-03-14 GvE
 * generic definitions for all pages
 */

/* BEGIN HOMEPAGE */

body.home {
    background: rgb(210,210,210);
    background: linear-gradient(0deg, rgba(170,170,170,1) 0%, rgba(230,230,230,1) 100%);
    background-attachment: fixed;
}

.home #body-wrapper .container.grid-xl {
    padding: 1rem 0 2rem !important;
}

.home .semitrans {
    background: rgba(50,50,50, 0.2) !important;
    border: none !important;
}

.home .img-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    grid-template-rows: auto auto;
}

@media (max-width: 836px) {
    .home .img-container {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 437px) {
    .home .img-container {
        grid-template-columns: repeat(auto-fill, minmax(90%, 1fr));
    }
}

.home img.bookcover {
    display: block;
    object-fit: cover;
    max-width: calc( 100% - 2em);
    margin: 1em auto;
}

.home .biotext {
    font-size: 1.15em;
    color: #333;
    text-align: justify;
    max-width: min( calc( 100% - 2em), 508px );
    margin: auto auto;
}

@media (min-width: 1240px) {
    .home .biotext {
        grid-column-start: 2;
    }
}

.home .biopic {
    max-width: min( calc( 100% - 2em), 508px );
    margin: 1em auto;
}

@media (min-width: 734px) {
    .home .biopic {
        grid-column-start: 2;
    }
}

@media ( min-width: 734px ) and ( max-width: 1239px ) {
    .home .biotext {
        padding-bottom: 3em;
    }
}

.home .biopic img {
    margin-bottom: .4em;
}

.home h4 {
    text-align: center;
}


.home #header {
    background: #f2f2f2;
}

.home .dropmenu ul:not(:first-child) > li {
    background-color: #f2f2f2;
}

/*
.home #header a {
    color: #ddd;
}

.home #header .dropmenu ul li a.active {
    color: #fff !important;
}

.home #header .dropmenu ul li a:hover {
    color: #6daca4 !important;
}

.home .dropmenu ul:not(:first-child) > li {
    background-color: #888;
}
*/

/* END HOMEPAGE */

.gravlogo {
    margin: 0 0 -.37em 0;
    height: 1.3em;
}

.mobile-logo .navbar-brand.mr-10 {
    visibility: hidden;
}

a.navbar-brand.mr-10 {
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    text-align: center;
    color: #f4f4f4 !important;
    margin-left: 1.2em;
}

.navbar-brand.mr-10 span.author {
    display: block;
    margin-left: 0.5em;
    font-size: 0.8em;
}


.form-field {
    margin-top: 10px;
}

#g-recaptcha-comments {
    margin-top: 10px;
    margin-bottom: 0px;
}

#header {
    z-index: 999 !important;
    /* why? well, e.g. lightslider
     * buttons have z-index 99
     */
}

.mobile-menu {
    z-index: 1000 !important; /* GvE 2024-03-18: 1 more than header, otherwise kaputt */
}

#footer {
    color: #ddd;
    background-color: transparent;
    position: relative;
    border: 1px solid grey;
}

#footer a {
    color: #88bbff;
}

p {
    margin-bottom: 1em;
}

.btn {
    position: relative;
    display: block;
    margin: 1em 4em;
    text-align: center;
    font-family: 'opensans-regular';
    font-size: 1.7em;
    border: 1px solid #ec2a21;
    padding: 0;
}

.tinglebutton {

}

/* overrule plugin css, so the change
   survives plugin updates. */
.featherlight .featherlight-content {
    background: transparent !important;
}

.orderbutton {
    position: relative;
    display: block;
    margin: 1em 4em;
    text-align: center;
    font-family: 'opensans-regular';
    font-size: 1.7em;
    border: 1px solid #ec2a21;
    padding: 0;
}

.orderbutton a {
    display: block;
    color: white;
    padding: 0.5em;
}

.onecol .orderbutton {
    margin: 1em 0;
}

.semitrans {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.semitrans.dark {
    background-color: rgba(87,87,87, 0.8);
}

.semitrans.lightish {
    background-color: rgba(255,255,255, 0.4);
}

/* PREVIEWS */
.preview-block-container {
    width: 16.48em;
    max-width: 16.48em;
    height: auto;
    /*outline: 1px solid lime;*/
}

/* BOOK TITLE PUBLISHER */

/* BOOK TITLE AUTHOR */

/* PREVIEWS */

/* THE DANCER */

/* OVERRIDES */

h4 {
    margin: 1.5em 0;
    color: #2f2f2f;
}

body {
    font-family: 'opensans-regular';

    /* generieke body 1 */
    /*
    background-color: #7d7b74;
    color: #f5f7f9;
    */
    /* generieke body 2 */
    /*
    color: #5f5d55;
    background-color: #f9f7f5;
    */
}

#footer {
    margin-top: 0.7em;
    color: #ddd;
}

#footer a {
    color: #88bbff;
}

/* FEATHERLIGHT */
.caption {
    position: absolute;
    left: .4em;
    bottom: .1em;
    margin-right: .4em;
    padding: 0 0.5em;
    font-size: 0.8em;
    color: white;
    text-shadow: 1px 1px 1px #000;
    background: rgba( 20,20,20,0.5 );
    opacity: 0.65;
    border: 1px solid black;
}

.featherlight {
    background: #000;
}

@-webkit-keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

@-moz-keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

@keyframes Gradient {
	0% {
		background-position: 0% 50%
	}
	50% {
		background-position: 100% 50%
	}
	100% {
		background-position: 0% 50%
	}
}

.slider.reviews.twocols {
    display: block;
    position:relative;
    width:48%;
    float:left;
    clear:left;
    //border:1px solid red;
}

.tune-position {
    display:block;
    padding-left: 22%;
    font-weight: bold;
}

.center {
    display: block;
    margin: auto;
    width: 50%;
    font-weight: bold;
/*     border: 1px solid red; */
}

.poeem {
    line-height: 2em;
}

/* CONTAINER QUERIES */

@container (max-width: 525px) {
    .tune-position {
        padding-left: 17%;
    }
    .center {
        width: 55%;
    }
}

@container (max-width: 480px) {
    .tune-position {
        padding-left: 14%;
    }
    .center {
        width: 60%;
    }
}


@container (max-width: 414px) {
    .tune-position {
        padding-left: 10%;
    }
    .center {
        width: 65%;
    }
}

@container (max-width: 360px) {
    .tune-position {
        padding-left: 0;
    }
    .center {
        width: 70%;
    }
}

@container (max-width: 300px) {
    .tune-position {
        padding-left: 0;
        font-weight: normal;
        margin-left: -.5em;
    }
    .center {
        width: 80%;
        font-weight: normal;
    }
}

/* MEDIA QUERIES */

@media (max-width: 1190px) {
    .slider.reviews.twocols { width: 60%; }
}

@media (max-width: 840px) {
    a.navbar-brand.mr-10 {margin-left: -0.5em;}
}

@media (max-width: 768px) {
    .slider.reviews.twocols { width: 52%; }
}

@media (max-width: 626px) {
    #footer {
        margin-top: 0.4em;
    }
}

.lSPager.lSpg {
    margin-top: -30px !important;
}

.slider.reviews.onecol {
    display: none;
}

body.typography {
    background: white;
    color: black;
}

.overlay-menu {
    z-index: 1000;
}

.lSSlideOuter .lSPager.lSpg > li a {
    z-index: 3;
}
