/* DEVELOPMENT */
.otgs-development-site-front-end {
    display: none;
}

/*

#chapter-selection {
    column-count: 3;
    column-gap: 20px;
}
*/

#travel-epaper-form .default-button {
    margin-top: 40px;
}

#chapter-selection .chapter-group {
  break-inside: avoid;   /* keeps each group together */
}

/* Optional: style for the heading and list */
#chapter-selection h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

#chapter-selection ul {
  list-style: disc inside;
  margin: 0;
  padding: 0;
}

#chapter-selection ul {
    list-style: none;
}

#chapter-selection ul ul {
    padding-left: 1.5em;
}

#chapter-selection label {
    cursor: pointer;
}


/* Hide native checkbox */
#chapter-selection input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    cursor: pointer;
    margin-right: 15px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none; /* SVG handles the border look */
}

/* Unchecked icon */
#chapter-selection input[type="checkbox"]:not(:checked):not(:indeterminate) {
    background-image: url("../images/unchecked.svg");
}

/* Checked icon */
#chapter-selection input[type="checkbox"]:checked {
    background-image: url("../images/checked.svg");
}

/* Indeterminate (dash) */
#chapter-selection input[type="checkbox"]:indeterminate {
    background-image: url("../images/indeterminate.svg");
}

.sub-group li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding-bottom: 2px;
    align-items: center;
}


.chapter-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.chapter-header label {
    color: #E38D33;
    text-transform: uppercase;
}

.sub-group {
    margin-top: 15px;
    display: none;
    margin-left: 20px;
    transition: max-height 0.3s ease;
}

.sub-group.open {
    display: block;
    padding-top: 10px!important;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
    position: relative;
    left: 10px;
}

.arrow.rotate {
    transform: rotate(0deg);
}

.default-button {
    background-color: var(--wp--preset--color--orange);
    border-width: 0;
    color: var(--wp--preset--color--white);
    font-family: inherit;
    line-height: inherit;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
    border-radius: 3px;
    font-size: 16px;
}

.inner-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.inner-container #prevPage {
    order: 2;    
}

.inner-container #nextPage {
    order: 3;
}

.inner-container #prevChapter {
    order: 1;
}

.inner-container #nextChapter {
    order: 4;
}

div#chapterNav span {
    white-space: nowrap;
}

#chapter-selection {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    grid-auto-columns: 32%;
    gap: 28px;
}

.stf__block figcaption {
    text-align: right;
}

/*
.stf__wrapper.--landscape p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
*/

/*
.two-columns {
    column-count: 2;
    column-gap: 10mm;
}
*/

/*
img + .wp-element-caption {
    text-shadow: 1px 1px 2px black;
}
*/


.single-travel-epaper-pages.logged-in header,
.single-travel-epaper-pages.logged-in footer,
.single-en-travel-epaper.logged-in header,
.single-en-travel-epaper.logged-in footer {
    display: none;
} 


#flipbook { margin: 0 auto; }
.page { 
    background:white; 
/*    padding:20px;*/
    box-sizing:border-box;
}

#flipbook .page-title {
    display: none;
}


/* PRINT CSS */

/* Apply only when printing */
@media print {    
    @page {
        size: 156mm 221mm;
        margin: 0mm;
    }

    body {
        margin: 0 auto;
/*        box-sizing: border-box;*/
    }
    
    body, 
    body * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
   
}
