@import url(../variables/colorVariables.css);
@import url(../variables/variables.css);


/************************** INDEX-LEADING-CONTAINER START ****************************/
/***********************************************************************************/


.small-article .image-container{
    padding: 8px;
}

.small-article .image-container * {
    border-radius: var(--default-border-radius);
}

@media screen and (min-width: 0px) and (max-width: 1000px) {

    .main-separator{
        display: none !important;
    }
}



/************************** INDEX-LEADING-CONTAINER END ****************************/
/***********************************************************************************/


/************************** INDEX-LEADING-CONTAINER START ****************************/
/***********************************************************************************/

#index-leading-container {
    height: 800px;
}

#leading-carousel-container{
    width: 60%;
}

#other-parts-container{
    width: 40%;
}


.carousel-container-first,
.cards-container {
    border: var(--default-border-color) solid 1px;
    border-radius: var(--default-border-radius);
    box-shadow: var(--default-shadow);
    padding: 22px 18px;
}

.carousel-container-second {
    border: var(--default-border-color) solid 1px;
    border-radius: var(--default-border-radius);
}

.carousel-image {

    border-radius: var(--default-border-radius) var(--default-border-radius) 0 0;
    height: 55%;
    width: 100%;
    border-bottom: var(--site-primary) solid 3px;
    z-index: 0;
}

.carousel-title {
    font-size: var(--carousel-title-size);
    padding: var(--default-text-padding);
    height: 17%;
}

.carousel-title div{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.carousel-description {
    font-size: var(--carousel-description-size);
    padding: var(--default-text-padding);
    height: 21%;
    width: 100%;
}

.carousel-bottom-details {
    height: 7%;
    width: 100%;
    padding: var(--default-text-padding);
}

.carousel-description div {

    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

}

.carousel-description div *{
    padding: 0;
    margin: 0;
}

.carousel-more-button {

    font-size: var(--default-more-size);
    border-radius: 100px;
    padding: var(--default-button-padding);
    color: var(--site-tertiary);
    background-color: var(--read-more-color);
    box-shadow: var(--default-shadow);
    cursor: pointer;

}

.history-colour {
    font-size: 25px;
    padding: var(--default-text-padding);
    color: var(--default-history-color);
}

.side-card {
    border: var(--default-border-color) solid 1px;
    border-radius: var(--default-border-radius);
    box-shadow: var(--default-shadow);
    width: 100%;
    height: 47.5%;
    padding: 15px 12px;

}

.side-card .card-image {
    border-radius: var(--default-border-radius);
    height: 70%;
    width: 100%;
    z-index: 0;
}

.side-card .card-title {
    font-size: var(--sidecard-title-size);
    padding: var(--default-text-padding);
    height: 30%;
    /*border: 1px solid red;*/
}

.side-card .card-title div a{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding-top: 8px;
    line-height: 1.1 !important;
}

.side-card .card-title div a{
    color: black;
}

.side-card .card-title:hover div a{
    color: var(--site-primary);
}

.card-history {
    bottom: 5px;
    left: 8px;
    z-index: 2;
}

.card-history .history-colour {
    font-size: 25px;
    padding: 0 8px;
    color: var(--default-history-color);
}


.pagination-dots {
    width: 25px;
    height: 25px;
    border-radius: var(--full-radius);
}

.pagination-parts-container {
    top: 47%;
    left: 0;
    height: 55px;
    z-index: 3;
    padding: 0 15px;
}

.pagination-dots-container .dots {
    cursor: pointer ;
    width: 12px;
    height: 12px;
    border-radius: var(--full-radius);
    margin: 0 5px;
}

#left-button, #right-button {
    border: var(--default-border-color) solid 1px;
    border-radius: var(--full-radius);
    box-shadow: var(--default-shadow);
    background-color: var(--default-body-color);
    color: var(--default-placeholder);
    width: 32px;
    height: 32px;
    margin: 0 8px;
    font-size: 18px;
    cursor: pointer;

}

#left-button:hover, #right-button:hover {
    color: var(--site-primary);
}

#left-button {

}

#right-button {

}

@media screen and (min-width: 600px) and (max-width: 1100px) {

    #index-leading-container {
        height: auto;
        flex-direction: column !important;
        padding: 15px 10px !important;
    }

    .carousel-title {
        font-size: 45px;
    }

    .carousel-title div{
        -webkit-line-clamp: 3;
    }


    .carousel-description {
        padding: 18px;
    }

    .carousel-description div {
        -webkit-line-clamp: 4;
    }

    #leading-carousel-container{
        width: 100%;
        height: 700px !important;
        padding:0px 10px !important;
    }

    #other-parts-container{
        width: 100%;
        height: 500px !important;
        padding:0px 10px !important;
        margin-top: var(--default-margin-top)
    }

    .cards-container{
        flex-direction: row !important;
    }

    .side-card {
        width: 48%;
        height: 100%;
    }

}


@media screen and (min-width: 0px) and (max-width: 600px) {
    #index-leading-container {
        height: auto;
        flex-direction: column !important;
        padding: 15px 5px !important;
    }


    .pagination-parts-container {
        top: 36%;
    }

    .carousel-image{
        height: 45%;
    }

    .carousel-title {
        height: 17%;
        font-size: 35px;
    }

    .carousel-title div{
        -webkit-line-clamp: 3;
    }

    .carousel-description {
        height: 31%;
        font-size: 22px;
        padding: 18px;
    }
    .carousel-description div {
        -webkit-line-clamp: 6;
    }
    .carousel-container-first{
        padding: 0px !important;
    }


    #leading-carousel-container{
        width: 100%;
        height: 700px !important;
        padding:0px 5px !important;
    }

    #other-parts-container{
        width: 100%;
        height: 650px !important;
        padding:0px 5px !important;
        margin-top: var(--default-margin-top)
    }
    .cards-container{
        flex-direction: column !important;
    }

    .side-card {
        width: 100%;
        height: 48%;
    }
    .side-card .card-title {
        font-size: 30px;
    }

    .pagination-extra-space{
        width: 0% !important;
    }

    .pagination-dots-container{
        width: 60% !important;
    }

    .pagination-buttons-container{
        width: 40% !important;
    }


}


/* this part is regarding the height of the screen, and should not leave a certain height */

/*@media screen and (min-height: 0) and (max-height: 500px){*/

/*    #index-leading-container{*/
/*        min-height: 600px;*/
/*    }*/
/*}*/


/************************** INDEX-LEADING-CONTAINER END  ****************************/
/***********************************************************************************/


/************************** SECTION-WRITING-SERIES START ****************************/
/***********************************************************************************/

#section-writing-series-container {
    height: 950px;
    padding: 22px 26px 22px 27px;
}

#section-series, #section-writing {
    width: 48.7%;
    height: 100%;
    border: var(--default-border-color) solid 1px;
    border-radius: var(--default-border-radius);
    background-color: var(--default-container-color);
    box-shadow: var(--default-shadow);
    /*padding: 22px 30px 22px 25px;*/

}

#section-writing {

}

#section-series {

}

#section-writing .section-main, #section-series .section-main {
    height: calc(100% - var(--section-header-height));
    padding: 18px 20px;
}

.leading-article-container {
    height: var(--leading-article-height);
    box-shadow: var(--default-shadow);
    border-radius: var(--default-border-radius);
    width: 100%;
    z-index: 0;
}

.article-container{
    transition: var(--default-ms) left,var(--default-ms) opacity;
}

.leading-article-title {
    padding: var(--default-text-padding);
    color: var(--default-border-color);
    font-size: 35px;
    z-index: 3;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: auto;
}


.small-articles-container {
    margin-top: var(--default-margin-top);
    width: 100%;
    height: calc(100% - var(--leading-article-height) - 2.5%);
}

.small-article {
    overflow: hidden;
    box-shadow: var(--default-shadow);
    border-radius: var(--small-articles-radius);
    width: 100%;
    height: 30%;
}

.small-article .image-container {
    border-radius: var(--default-border-radius);
}

.small-article .title-writing-container .title-container {
    padding: var(--default-text-padding);
    font-size: 30px;
    height: 35%;
    width: 100%;
}

.small-article .title-writing-container .title-container a{
    text-decoration: none;
    color: black;
}

.small-article .title-writing-container .title-container a:hover{
    color: var(--site-primary)
}


.small-article .title-writing-container .title-container div {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.small-article .title-writing-container .writing-container {
    padding: var(--default-text-padding);
    height: 43%;
    width: 100%;
    overflow: hidden;
    font-size: 20px;
}

.small-article .title-writing-container .writing-container div{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.small-article .title-writing-container .writing-container div *{
    padding: 0;
    margin: 0;
}

.small-article .title-writing-container .others-container {
    height: 22%;
    width: 100%;
}

.small-article .title-writing-container .others-container .small-article-history {
    padding: 0 5px;
    color: var(--default-history-color);
    font-size: 20px;
}


.small-article .title-writing-container .others-container .small-article-history .article-history {
    padding: 0 5px;
}

@media screen and (min-width: 0px) and (max-width: 850px) {

    #section-writing-series-container {
        height: auto;
        flex-direction: column;
        padding: 10px 10px;
    }

    #section-series, #section-writing {
        width: 100%;
        height: 720px;
    }

    #section-series{
        margin-top: var(--default-margin-top);
    }


    #section-writing .section-main, #section-series .section-main {
        height: calc(100% - var(--section-header-height));
        padding: 18px 10px;
    }



}


@media screen and (min-width: 0px) and (max-width: 600px) {


    .small-article .title-writing-container{
        width: 60%;
    }

    .small-article .image-container{
        width: 40%;
    }

    .small-article .title-writing-container .writing-container {
        height: 33%;
        font-size: 15px;
        padding: 0 5px;
    }

    .small-article .title-writing-container .title-container {
        height: 45%;
        font-size: 22px;
        padding: 0 5px;
    }

    .small-article .title-writing-container .title-container div {
        -webkit-line-clamp: 2 ;
        line-height: 1;
    }
    .small-article .title-writing-container .others-container {
        height: 22%;
        width: 100%;
    }



}

/* this part is regarding the height of the screen, and should not leave a certain height */
/*@media screen and (min-height: 0) and (max-height: 500px){*/

/*    #index-leading-container{*/
/*        min-height: 600px;*/
/*    }*/
/*}*/


/************************** SECTION-WRITING-SERIES END  ****************************/
/***********************************************************************************/


/************************** SECTION-BOOKS START ****************************/
/***********************************************************************************/

#section-books-container {
    height: auto;
    padding: 15px 25px;
}

.section-books {
    border-radius: var(--default-border-radius);
    background-color: var(--default-container-color);
    box-shadow: var(--default-shadow);
    width: 100%;
    height: 100%;
}

.main-books-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, 20%);
    height: calc(100% - var(--section-header-height));
    margin-top: var(--default-margin-top);
}

.book-container{
    height: 400px;
}

.book-image-container {
    height: auto;
    width: auto;
}

.threeD-container {
    border-radius: var(--default-border-radius);
    box-shadow: var(--default-shadow);
    height: 230px;
    width: 210px;
    border: 3px solid transparent;
    transform: perspective(800px) rotateY(26deg);
    transition: var(--default-ms) transform, var(--default-ms) 250ms;
    cursor: pointer;
}

.threeD-container:hover {
    border: 3px solid var(--site-primary);
    transform: perspective(800px) rotateY(0deg);
}

.pdf-icon {
    width: 40px;
    height: 40px;
    background-color: var(--pdf-color);
    bottom: 5px;
    right: 5px;

}

.book-name-container {
    text-align: center;
    font-size: 30px;
    line-height: 1;
    max-width: 220px;
}



@media screen and (min-width: 0px) and (max-width: 1000px) {

    .main-books-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, 50%);
    }

    .threeD-container {

        height: 250px;
        width: 230px;

    }



}

@media screen and (min-width: 0px) and (max-width: 600px) {

    #section-books-container {
        height: auto;
        padding: 15px 10px;
    }


    .main-books-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, 100%);
    }
    .threeD-container {

        height: 250px;
        width: 230px;

    }

}



/* this part is regarding the height of the screen, and should not leave a certain height */
/*@media screen and (min-height: 0) and (max-height: 500px){*/

/*    #index-leading-container{*/
/*        min-height: 600px;*/
/*    }*/
/*}*/


/************************** SECTION-AUDIO-VIDEO START ******************************/
/***********************************************************************************/


#section-audio-video-container {
    height: 850px;
    padding: 22px 26px 22px 27px;
}


#section-audio, #section-video {

    width: 48.7%;
    height: 100%;
    border: var(--default-border-color) solid 1px;
    border-radius: var(--default-border-radius);
    background-color: var(--default-container-color);
    box-shadow: var(--default-shadow);
    /*padding: 22px 30px 22px 25px;*/

}

#section-audio {

}

#section-video {

}


#section-audio .section-main, #section-video .section-main {
    height: calc(100% - var(--section-header-height));
    padding: 18px 20px;
}

.video-audio-container {
    /*margin-top: var(--default-margin-top);*/
    width: 100%;
    height: 100%;
}

.video-audio {
    overflow: hidden;
    box-shadow: var(--default-shadow);
    border-radius: var(--small-articles-radius);
    width: 100%;
    height: 22%;
}

.video-audio .image-container {
    border-radius: var(--default-border-radius);
    z-index: 1;
}

.video-audio .image-container .main-image,
.video-audio .image-container .image-cover {
    width: 92%;
    height: 88%;
    top: 50%;
    left: 50%;
    border-radius: var(--default-border-radius) !important;
    overflow: hidden;
}

.video-audio .image-container .image-cover {
    background-color: rgba(0, 0, 0, 0.3);
    background-image: none;
    border-radius: var(--default-border-radius);
    z-index: 2;
}

.video-audio .play-icon {
    background-color: var(--video-color);
    color: var(--site-tertiary);
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: var(--full-radius);
    z-index: 3;
}


.video-audio .title-writing-container .title-container {
    padding: var(--default-text-padding);
    font-size: 30px;
    height: 35%;
    width: 100%;
}

.video-audio .title-writing-container .title-container div {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.video-audio .title-writing-container .writing-container {
    padding: var(--default-text-padding);
    height: 43%;
    width: 100%;
}

.video-audio .title-writing-container .audio-container {
    padding: 5px 25px;
    height: 43%;
    width: 100%;
}

.video-audio .title-writing-container .audio-container .audio {
    border-radius: var(--full-radius);
    box-shadow: var(--default-shadow);
    padding: var(--default-text-padding);
    height: 40px;
    width: 100%;
}


.video-audio .title-writing-container .audio-container .audio .audioPlayButton{
    color: var(--audio-color);
}
.video-audio .title-writing-container .audio-container .audio .audio-timer .time{
    font-size: 18px;
    height: 100%;
}
.video-audio .title-writing-container .audio-container .audio .audio-timer .slash{
    font-size: 25px;
    height: 100%;
}

.video-audio .title-writing-container .audio-container .audio .audioTrackerContainer{
    padding: 5px 25px !important;
    cursor: pointer;
}
.video-audio .title-writing-container .audio-container .audio .audioTrackerContainer .trackLine{
    color: var(--audio-color);
    height: 4px;
    width: 97.5%;
    border-radius: var(--full-radius);
    background-color: var(--audio-track-color);
}



.video-audio .title-writing-container .audio-container .audio .audioTrackerContainer .track-circle{

    color: var(--audio-color);
    height: 11px;
    width: 11px;
    border-radius: var(--full-radius);
    background-color: var(--audio-color);
    box-shadow: var(--default-shadow);
    left: 0%;

}




.video-audio .title-writing-container .writing-container div {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-audio .title-writing-container .others-container {
    height: 22%;
    width: 100%;
}

.video-audio .title-writing-container .others-container .small-article-history {
    padding: 0 5px;
    color: var(--default-history-color);
    font-size: 20px;
}

.video-audio .title-writing-container .others-container .small-article-history .article-history {
    padding: 0 5px;
}

.video-play iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--default-border-radius);
}

.video-audio .audioIcon {
    background-color: var(--audio-color);
    color: var(--site-tertiary);
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: var(--full-radius);
    z-index: 3;
}

@media screen and (min-width: 600px) and (max-width: 1000px) {

    #section-audio-video-container {
        height: auto;
        padding: 15px 10px;
    }

    #section-audio, #section-video {

        width: 100%;
        height: 720px;

    }

    #section-audio .section-main, #section-video .section-main {
        padding: 15px 10px;
    }
    .video-audio .title-writing-container .audio-container {
        padding: 5px 15px !important;
    }



}

@media screen and (min-width: 0px) and (max-width: 600px) {

    #section-audio-video-container {
        height: auto;
        padding: 15px 10px;
    }

    #section-audio, #section-video {

        width: 100%;
        height: 720px;

    }

    #section-audio{
        margin-top: var(--default-margin-top);
    }


    #section-audio .section-main, #section-video .section-main {
        padding: 15px 10px;
    }


    .video-audio .title-writing-container{
        width: 60%;
    }

    .video-audio .image-container{
        width: 40%;
    }

    .video-audio .title-writing-container .writing-container {
        height: 33% !important;
        font-size: 15px !important;
        padding: 0 5px !important;
    }
    .video-audio .title-writing-container .audio-container {
        height: 33% !important;
        padding: 0 5px !important;
    }


    .video-audio .title-writing-container .title-container {
        height: 45% !important;
        font-size: 22px !important;
        padding: 0 5px !important;
    }

    .video-audio .title-writing-container .title-container div {
        -webkit-line-clamp: 2 !important;
        line-height: 1;
    }

    .video-audio .title-writing-container .others-container{
        height: 22% !important;

    }

    .small-article-history{
        font-size: 15px !important;
    }

    .video-audio .title-writing-container .audio-container {
        padding: 0 10px !important;
    }

    .video-audio .title-writing-container .audio-container .audio .audioPlayButton{
        width: 18%;
    }
    .video-audio .title-writing-container .audio-container .audio{
        padding: 0 8px !important;
    }

    .video-audio .title-writing-container .audio-container .audio .audioTrackerContainer{
        width: 45%;
    }
    .video-audio .title-writing-container .audio-container .audio .audio-timer{
        width: 37%;
    }

    .video-audio .title-writing-container .audio-container .audio .audio-timer .time{
        font-size: 12px;
    }
    .video-audio .title-writing-container .audio-container .audio .audio-timer .slash{
        font-size: 15px;
    }


}



/* this part is regarding the height of the screen, and should not leave a certain height */
/*@media screen and (min-height: 0) and (max-height: 500px){*/

/*    #index-leading-container{*/
/*        min-height: 600px;*/
/*    }*/
/*}*/


/************************** SECTION-AUDIO-VIDEO END  *******************************/
/***********************************************************************************/


/************************** SECTION-READING-ANSWERING START ******************************/
/*****************************************************************************************/


#section-reading-answering-container {
    height: 950px;
    padding: 22px 26px 22px 27px;
}


#section-reading, #section-answering {
    width: 48.7%;
    height: 100%;
    border: var(--default-border-color) solid 1px;
    border-radius: var(--default-border-radius);
    background-color: var(--default-container-color);
    box-shadow: var(--default-shadow);
    /*padding: 22px 30px 22px 25px;*/

}

#section-reading .section-main, #section-answering .section-main {
    height: calc(100% - var(--section-header-height));
    padding: 18px 20px;
}


#section-reading {

}

#section-answering {

}



@media screen and (min-width: 0px) and (max-width: 850px) {

    #section-reading-answering-container {
        height: auto;
        flex-direction: column;
        padding: 10px 10px;
    }

    #section-reading, #section-answering {
        width: 100%;
        height: 720px;
    }

    #section-series{
        margin-top: var(--default-margin-top);
    }
    #section-answering{
        margin-top: var(--default-margin-top);
    }

    /*.small-article .title-writing-container .title-container {*/
    /*    font-size: 22px;*/
    /*}*/

    #section-reading .section-main, #section-answering .section-main {
        height: calc(100% - var(--section-header-height));
        padding: 18px 10px;
    }



}


/************************** SECTION-READING-ANSWERING END ********************************/
/***********************************************************************************/

