@import "fontsizes.css";

@font-face {
    font-family: NotoSans-Regular;
    src: url('https://www.africanstorybook.org/fonts/NotoSans.ttf')  format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-family: AndikaW ;
  src: url('https://www.africanstorybook.org/fonts/Andika-R.ttf') format('truetype');
}

@font-face {
  font-family: NotoKufiArabic;
  src: url('https://www.africanstorybook.org/fonts/NotoKufiArabic.ttf') format('truetype');
}

@font-face {
  font-family: 'Noto Sans Ethiopic';
  font-style: normal;
  font-weight: 400;
  src: url(https://www.africanstorybook.org/fonts/NotoSansEthiopic-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans Ethiopic';
  font-style: normal;
  font-weight: 700;
  src: url(https://www.africanstorybook.org/fonts/NotoSansEthiopic-Bold.ttf) format('truetype');
}

.aringati {
   font-family: 'AndikaW', sans-serif !important;
}
.arabic {
    font-family: 'NotoKufiArabic', sans-serif !important;
}

.alignRight {
    //text-align: right !important;
    direction: rtl;
    unicode-bidi: bidi-override;
}
.amharic {
    font-family:  'Noto Sans Ethiopic', sans-serif !important;
}



html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #ffffff;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.c000000 {
    background-color: #9E9E9E;
    color: #000000;
}

.c000000_darker {
    background-color: #616161;
    color: #FFFFFF;
}

.cD2D3D5,
.cF3F3F4 {
    background-color: #9E9E9E;
    color: #000000;
}

.cD2D3D5_darker,
.cF3F3F4_darker {
    background-color: #616161;
    color: #FFFFFF;
}

.cF3BE17 {
    background-color: #FFC107;
    color: #000000;
}

.cF3BE17_darker {
    background-color: #FFA00B;
    color: #000000;
}

.cD8852A {
    background-color: #FF9800;
    color: #000000;
}

.cD8852A_darker {
    background-color: #F57C00;
    color: #000000;
}

.c90B73E {
    background-color: #4CAF50;
    color: #ffffff;
}

.c90B73E_darker {
    background-color: #388E3C;
    color: #FFFFFF;
}

.c03A9F4 {
    background-color: #03A9F4;
    color: #000000;
}

.c03A9F4_darker {
    background-color: #0288D1;
    color: #000000;
}

.c89C9CC {
    background-color: #03A9F4;
    color: #000000;
}

.c89C9CC_darker {
    background-color: #0288D1;
    color: #000000;
}

.cB6608E {
    background-color: #9C27B0;
    color: #ffffff;
}

.cB6608E_darker {
    background-color: #7B1FA2;
    color: #FFFFFF;
}

.logo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    max-width: 120px;
    height: auto;
    z-index: 200;
}

.backcover_wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
}

.backcover_disclaimer {
    font-family: 'NotoSans-Regular', sans-serif;
    width: calc(100% - 12vh);
    left: 0;
    padding: 6vh;
    font-size: 2.4vh;
    font-weight: 300;
    text-align: left;
    line-height: 2.8vh;
    text-align: justify;
}

.backcover_title {
    font-family: 'NotoSans-Regular', sans-serif;
    font-size: 3.2vh;
    font-weight: 400;
    width: calc(100% - 16vh);
    background-color: transparent;
    text-align: center;
    margin: 2vh 8vh;
}

.backcover_label {
    font-family: "Helvetica Neue", "Arial", "Helvetica", "sans-serif";
    font-weight: 200;
    font-size: 2.8vh;
}

.bookcover_author {
    font-family: 'NotoSans-Regular', 'Noto Sans Ethiopic', sans-serif;
    font-size: 2.8vh;
    font-weight: 300;
    background-color: transparent;
    text-align: center;
    margin: 0px 4vh;
}

.backcover_bold {
    font-weight: 400;
}

.backcover_copyright {
    font-family: 'NotoSans-Regular', sans-serif;
    font-size: 2.6vh;
    font-weight: 300;
    margin: 1.6vh 0vh;
    /*width: calc(100% - 16vh);*/
    
    width: 100%;
    text-align: center;
}

.backcover_logo_right {
    position: absolute;
    width: 18vw;
    max-width: 100px;
    height: auto;
    right: 6vh;
    bottom: 6vh;
}

.backcover_logo_left {
    position: absolute;
    width: 18vw;
    max-width: 100px;
    height: auto;
    left: 6vh;
    bottom: 6vh;
}

.backcover_logo_center {
    position: absolute;
    width: 18vw;
    max-width: 100px;
    height: auto;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 6vh;
}

@media only screen and (orientation: landscape) {
    .page-image-holder {
        background: white;
        width: 53%;
        height: 90%;
        position: absolute;
        margin: 3% 0% 0% 3%;
    }
    .page-imageonly-holder {
        background: white;
        width: 80%;
        height: 80%;
        position: absolute;
        margin: 10%;
    }
    .page-text-story {
        background: white;
        width: 37%;
        left: 60%;
        height: 90%;
        position: absolute;
        margin: 3% 3% 0% 0%;
        text-align: left;
    }
    .page-textonly-story {
        background: white;
        width: 80%;
        left: 0;
        height: 80%;
        position: absolute;
        margin: 10%;
        text-align: left;
    }
    .page-image {
        background-repeat: no-repeat;
        background-position: top center;
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        position: relative;
        width: 100%;
        height: 90%;
    }
    .cover-wrapper {
        height: 100%;
        width: 100%;
    }
    .cover-image {
        width: calc(60% - 3vh);
        height: calc(100% - 3vh);
        background-repeat: no-repeat;
        background-position: top left;
        /*center center;*/
        
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        background-size: auto 100%;
    }
    .cover-footer {
        height: 3vw;
        width: calc(100% - 4vw);
        font-family: 'NotoSans-Regular', sans-serif;
        font-size: 2.4vw;
        font-weight: 300;
        line-height: 3vw;
        text-align: left;
        padding-left: 4vw;
        left: 0;
        bottom: 0;
        position: absolute;
    }
    .cover-content {
        width: calc(40% + 3vw);
        height: calc(100% - 7vw);
        position: absolute;
        right: 0;
        top: 0;
        padding-top: 4vw;
    }
    .cover_title {
        font-family: 'NotoSans-Regular', 'Noto Sans Ethiopic', sans-serif;
        font-size: 4.3vw;
        font-weight: 400;
        line-height: 4.5vw;
        position: relative;
        background-color: transparent;
        padding: 2vw 4vw 0vw 4vw;
        text-align: left;
    }
    .cover_author {
        font-family: 'NotoSans-Regular', 'Noto Sans Ethiopic', sans-serif;
        font-size: 3.5vw;
        font-weight: 300;
        line-height: 3.7vw;
        position: relative;
        padding: 1vw 4vw 0vw 4vw;
        background-color: transparent;
        text-align: left;
    }
    .cover_artist {
        font-family: 'NotoSans-Regular', sans-serif;
        font-size: 3vw;
        font-weight: 300;
        line-height: 3vw;
        position: relative;
        padding: 0.8vw 4vw 0vw 4vw;
        background-color: transparent;
        text-align: left;
    }
    .row_align {
        text-align: left;
    }
    .row_image {
        float: left;
        width: 14vw;
        height: auto;
        padding: 2px 4px 0 0;
    }
    
}

@media only screen and (orientation: portrait) {
    .page-image-holder {
        background: white;
        width: 80%;
        height: 54%;
        position: absolute;
        margin: 5% 10% 3% 10%;
    }
    .page-imageonly-holder {
        background: white;
        width: 80%;
        height: 90%;
        position: absolute;
        margin: 5% 10% 5% 10%;
    }
    .page-image {
        background-repeat: no-repeat;
        background-position: center center;
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        position: relative;
        width: 100%;
        height: 100%;
    }
    .page-text-story {
        background: white;
        width: 80%;
        top: 60%;
        left: 0;
        height: 38%;
        position: absolute;
        margin: 0% 10% 5% 10%;
        /*font-size: 5vh;
        line-height: 6vh;*/
        
        text-align: left;
    }
    .page-textonly-story {
        background: white;
        width: 80%;
        top: 0;
        left: 0;
        height: 90%;
        position: absolute;
        margin: 5% 10% 5% 10%;
        text-align: left;
    }
    .page-container {
        background: white;
        width: 80%;
        height: 54%;
        position: absolute;
        margin: 10% 5% 10% 5%;
    }
    .cover-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        color: white;
    }
    .cover-image {
        height: 60vh;
        background-repeat: no-repeat;
        background-position: top center;
        /*center center */
        
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        background-size: 100% auto;
    }
    .cover-footer {
        height: 3vh;
        font-family: 'NotoSans-Regular', sans-serif;
        font-size: 2.4vh;
        font-weight: 300;
        line-height: 3vh;
        text-align: left;
        padding-left: 4vh;
    }
    .cover-content {
        flex: 1;
    }
    .cover_title {
        font-family: 'NotoSans-Regular', 'Noto Sans Ethiopic', sans-serif;
        font-size: 4.3vh;
        font-weight: 400;
        line-height: 4.5vh;
        position: relative;
        background-color: transparent;
        padding: 2vh 4vh 0vh 4vh;
        text-align: left;
    }
    .cover_author {
        font-family: 'NotoSans-Regular', 'Noto Sans Ethiopic', sans-serif;
        font-size: 3.5vh;
        font-weight: 300;
        line-height: 3.7vh;
        position: relative;
        padding: 1vh 4vh 0vh 4vh;
        background-color: transparent;
        text-align: left;
    }
    .cover_artist {
        font-family: 'NotoSans-Regular', sans-serif;
        font-size: 3vh;
        font-weight: 300;
        line-height: 3.2vh;
        position: relative;
        padding: 0.8vh 4vh 0vh 4vh;
        background-color: transparent;
        text-align: left;
    }
    .row_align {
        text-align: left;
        margin-bottom: 2vh;
    }
    .row_image {
        float: left;
        width: auto;
        height: 4vh;
        padding: 2px 4px 0 0;
    }
}

.swiper-container {
    width: 100%;
    height: 100%;
}

/*.swiper-slide-xx {
    text-align: center;
    font-size: 18px;
    background: #fff;
}*/

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.0;
    cursor: auto;
    pointer-events: none;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffc107'%2F%3E%3C%2Fsvg%3E") !important;
    left: 10px;
    right: auto;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffc107'%2F%3E%3C%2Fsvg%3E") !important;
    right: 10px;
    left: auto;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffc107;
}

.swiper-pagination-bullet {
    cursor: pointer;
}

/*.swiper_scrollbar {
    bottom: 0;
    height: 40px !important;
    width: 100%;
    position: absolute;
    z-index: 1000;
    padding: 8px 10px 0 10px;
    transition: bottom 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
    overflow: hidden;
    box-sizing: border-box;
    background-color: #757575 !important;

}*/