/* Ratio rules for youtube video */

.dk-ratio {
    display: grid;
    /* max-width: 800px; */
}
.dk-ratio > * {
    grid-area: 1/1;
}


.dk-author-outer {
    max-width: 600px;
}

.dk-author-box {
    padding: 25px 25px 0px 25px;
    overflow: auto;
}

.dk-author-text {
    padding: 25px 25px 50px 25px;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* .dk-listen-button {
    float: left;
    padding-right: 25px;
    width: 30px;
} */
	
.dk-profile {
    float: left;
    margin-right: 50px;
    border-radius: 50%;
    width: 100px;
}

.dk-listen-container {
    margin-top: 30px;
    display : flex;
    align-items : center;
}

.dk-container {
    overflow: hidden;
}

.dk-title {
    font-weight: bold;
    display: block;
    margin: 2px;
    color: #943f4d !important;
}

.dk-short-desc {
    display: block;
}


/* ================================= */
/* Author overlay box */
/* ================================= */
.dk-author-text-thumbnail {
    width: 50px;
    margin: 20px;
}
.dk-author-overlay {
     position: fixed;
     width: 100%;
     height: 100%;
     z-index: 1000; 
     left: 0;
     top: 0;
     overflow-x: hidden;
     overflow-y:scroll;
     transition: 0.5s; 
     visibility: hidden;            
     background-color: black;
     text-align: center;
}
.dk-author-overlay-content {
     /* margin-top: 10px; */
     position: relative;
     width: 100%; 
     /* max size of text documents */
     max-width: 1300px;
 }



 /* ================================= */
/* Audio  */
/* ================================= */

.dk-audio-box {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
}

/* .dk-audio-box::after {
    display: inherit;
} */

.dk-listen-button {
    width: 40px;
    height: 40px;
    background-image: url(play-button.png) ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: inline-block;
    border: 1;
    border-color: white;
    border-radius: 900px;
    border-style: solid;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    margin: 5px;
    background-color: white;
}

.dk-listen-button-pause {
    background-image: url(pause-button.png) !important;
}

.dk-listen-button:hover{ 

    
} 

/* =========================== */
/* Story content as html (instead of image)
/* =========================== */

.dk-story-indented p {
    text-indent: 25px;
}

.dk-story-p-margin-large p {
    margin-top: 20px;
    margin-bottom: 20px;
}

.dk-story-p-margin-regular p {
    margin-top: 15px;
    margin-bottom: 15px;
}

.dk-story-indented-no-margin p {
    text-indent: 25px;
    margin: 0px 0px 0px 0px;
}

.dk-story-italic-indented i {
    margin-left: 10px;
}


.dk-story-content {
    background: #ffffff;
    color: black !important;
    padding-top: 3rem;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-bottom: 5rem; 

    font-family: Roboto;
    font-size: 15px;
    line-height: 24px;
    font-style: normal;
    font-weight: 300;

    max-width: 1020px;
    min-width: 370px;
}

.dk-story-content p {
    color: black !important;
}

.dk-story-content h1 {
    color: black !important;
    margin: 0px 0px 0px 0px  !important;
    font-size: 40px  !important;
}

.dk-story-content h2 {
    color: black !important;
    margin: 0px 0px 40px 0px  !important;
    font-size: 18px  !important;
}

.dk-story-content img {
    width: auto;
    height: 60px;
}
/* =================  V2 =============== /*
/* Fool */
.autbox2-card-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    /*font-family: 'Quattrocento Sans', sans-serif;*/
    /*font-size: 18px;*/
    padding-top: 20px;
    padding-bottom: 20px;
    color: black;
    /*text-shadow: 4px 4px 4px #aaa;*/
}

/* To Kill a twin Brother  */
.autbox2-story-title {
    font-family: 'Germania One', sans-serif;
    font-size: 40px;
    color: #932f42;
    /*text-shadow: 4px 4px 4px #aaa;*/
}

/* by Luvan */
.autbox2-autor-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: black;
    /*font-family: 'Quattrocento Sans', sans-serif;*/
    /*font-size: 18px;  */
    padding-left: 10px;
    /*text-shadow: 4px 4px 4px #aaa;*/
}

/* story text */
.autbox2-story-content { 
    font-family: 'Quattrocento', serif;
    font-size: 18px;    
    max-width: 724px;
    line-height: 24px;
    color: black;
    padding-top: 20px;
 }

 .autbox2-story-content p { 
    font-family: 'Quattrocento', serif;
    font-size: 18px;    
    max-width: 724px;
    line-height: 24px;
    color: black !important;
 }


.autbox2-bio-content {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 14px;
    max-width: 400px;
    line-height: 24px;
    color: black !important;
}
.autbox2-bio-content p {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 14px;
    max-width: 400px;
    line-height: 24px;
    color: black !important;
}
/* =================  V2 -END =============== /*


/* =========================== */
/* Alternative Flex layout
/* =========================== */
.dk-flex-container {
    display: flex;
    /* align-items: center; */
    padding-bottom: 3rem;
}

.dk-flex-left-half {
    padding: 1rem;
    max-width: 1040px;
    min-width: 520px;
    flex-shrink: 1;
    width: 100%;
    /* flex-shrink: 3; */
}
.dk-flex-right-half {
    flex: 1;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 2rem; 
    min-width: 400px;
    max-width: 400px;  
    margin-top: auto;
}

/* for Art view */
.dk-flext-art {
    padding: 1rem 1rem 1rem 1rem;    
    margin-top: 3em;
}

@media screen and (max-width: 1200px) {
    .dk-flex-container {
        display: flex;
        /* flex-wrap: wrap; */
        flex-direction: column;
    }

    .dk-flex-left-half {
        /* min-width: 640px; */
        min-width: 480px;
        min-width: 100%;
    }

    .dk-flex-right-half {
        /* min-width: 640px; */
        min-width: 200px;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 10rem;
    }

    .dk-flext-art {
        padding: 3rem 1rem 1rem 1rem;    
    }
    
}


@media screen and (max-width: 700px) {

    .dk-flext-art {
        padding: 3rem 1rem 1rem 1rem;    
    }


    .dk-flex-container {
        display: flex;
        /* flex-wrap: wrap; */
        flex-direction: column;   
    }

    .dk-flex-left-half {
        /* min-width: 640px; */
        min-width: 480px;
        min-width: 100%;
        padding-left: 0rem;
        padding-right: 0rem;
        padding-bottom: 1rem;
    }

    .dk-flex-right-half {
        /* min-width: 640px; */
        min-width: 200px;
        padding-left: 0rem;
        padding-right: 0rem;
        padding-bottom: 4rem;
    }

    .dk-story-content {
        background: #ffffff;
        color: black !important;
        padding-top: 3rem;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 3rem; 
        max-width: 1020px;
        min-width: 430px;
    }

}


@media screen and (max-width: 400px) {

    .dk-flext-art {
        padding: 3rem 1rem 1rem 1rem;    
    }


    .dk-flex-container {
        display: flex;
        /* flex-wrap: wrap; */
        flex-direction: column;   
    }

    .dk-flex-left-half {
        /* min-width: 640px; */
        min-width: 480px;
        min-width: 100%;
        padding-left: 0rem;
        padding-right: 0rem;
        padding-bottom: 1rem;
    }

    .dk-flex-right-half {
        /* min-width: 640px; */
        min-width: 200px;
        padding-left: 0rem;
        padding-right: 0rem;
        padding-bottom: 4rem;
    }

    .dk-story-content {
        background: #ffffff;
        color: black !important;
        padding-top: 3rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 3rem; 
        max-width: 1020px;
        min-width: 300px;
    }

}


