html { /* for iphone 10 and above */
    padding: env(safe-area-inset);
}
html, body { /* prevents horizontal scrolling  */
    overflow-x: hidden;
    font-family: 'Muli', sans-serif;
    background-color: cornsilk;
}

/* ----- Nav Bar ----- */

.logo-txt {
    color: #ffff99;
}
.navbar-brand img {
    height: 3rem;
}
.navbar {
    padding: .7rem 1rem;
    /* text-transform: uppercase; */
    font-weight: 700;
    letter-spacing: .1rem;
    font-size: .9rem;
    transition: background-color 1s ease;
}
.navbar-nav {
    padding-right: .8rem;
}

.navbar-nav .nav-link {
    color: #ffffff;
    padding-top: 1.7rem;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #a6a6a6;
}
.custom-toggler-icon {
    color: #d6f5d6;
    font-size: 1.5rem;
}
.navbar.solid {
    background: rgba(0, 0, 0, .7) !important; /* -- over-rides any class structure -- */
    transition: background-color 1s ease 0s;
}
.navbar.solid-toggle{
    background: rgba(0, 0, 0, .7) !important; /* -- over-rides any class structure -- */
    transition: background-color 1s ease 0s;
}

/* ----- remove Nav Button border ----- */
/* ----- line 1 used for Chrome and supported browsers browsers ----- */
/* ----- line 2 and 3 used for various other browsers ----- */

/* button:focus, a:focus  { 
    outline: 0;
    -webkit-appearance: none;
    box-shadow: none;
} */


/* ----- Buttons other than above focus----- */
button, a, a.btn {
    transition: all .6s ease;
}


/* ----- Landing Page Section ----- */
/* ----- Backgroung image ----- */
.landing {
    position: relative;
    width: 100%;
    height: 100vh;
    display: table;
    /* z-index: -1; */
}
.home-wrap {
    clip: rect(0, auto, auto, 0);
    position: absolute;
    height:  100%;
    width: 100%;
    top: 0;
    left: 0;
}
.home-inner {
    background-image: url(pics/lighthouse.jpeg);
    position: fixed;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    display: table;
}


/* ----- Landing Page Caption ----- */
.caption {
    z-index: 1;
    position: absolute;
    top: 17%;
    color: #ffffff;
    width: 100%;
    max-width: 100%;
    text-shadow: 2px 2px 5px #000000;
    font-style: italic;
}
.sub-caption {
    z-index: 1;
    position: absolute;
    top: 44%;
    color: #ffffff;
    width: 100%;
    max-width: 100%;
    text-shadow: 2px -2px 5px #000000;
    font-style: italic; 
    text-align: center;
}
.scripture {
    z-index: 1;
    position: absolute;
    bottom: 15%;
    color: #ffffff;
    left: 20%;
    font-size: 16px;
    text-align: right;  
}
.how2study {
    z-index: 1;
    position: absolute;
    bottom: 12%;
    left: 67%;
}
.offer-text{
    z-index: 1;
    position: absolute;
    color: yellow;
    left: 67%;
    bottom: 14%;
    font-size: 16px;
}


/* ----- All other Page Containers ----- */

.container {
    margin-top: 9%;
    padding: 1% 2%;
    color: rgb(177, 26, 26);
}

.container {
    margin-top: 4%;
    padding: 3% ;
    color: rgb(177, 26, 26);
}


/* ----- Contact Form ----- */

.form-control {
    background-color: cornsilk;
    border-radius: 0;
    border: .01rem solid #d4d7db;
    color: rgb(99, 96, 96) !important;
}
.form-control:focus{
    background-color: cornsilk;
    color: rgb(99, 96, 96);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(99, 96, 96, .3)!important;
}


/* ----- Topics Page ----- */

.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 15%;
    left: 0;
    background-color: cornsilk;
    overflow-x: hidden;
    padding-top: 0px;
    padding-left: 25px;
}

.sidenav a {
    padding: 1px 1px 1px 15px;
    text-decoration: none;
    font-size: 16px;
    display: block;
}

.sidenav .nav-link {
    color: bisque;
}

.sidenav .active{
    color: #818181;
}

.head-title {
    margin-top: 11%;
    padding-left: 260px;
}

.article {
    margin-left: 23%;
    font-size: 18px;
    padding-top: 70px;
    padding-right: 25px;
    padding-bottom: 1250px;
}

hr {
    width: 80%;
}

/* For Video Player */

header {
    text-align: center;
}

#player {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: darkmagenta;
}

#player > div, #player > nav {
    display: table-cell;
    vertical-align: top;
}

#player canvas {
    display: block;
}

#player menu, #player label {
    display: inline-block;
    padding: 0;
}
.playlist {
    list-style-type: none;
}
.playlist li {
    display: flex;
    flex-direction: column;
    color: red;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}
.playlist img {
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 80;
}
.player-left li {
    display: flex;
    flex-direction: column;
    padding-left: 20%;
}
.player-right li {
    display: flex;
    flex-direction: column;
    padding-left: 20%;
}
.playlist p {
    display: flex;
    padding-left: 8px;
    font-size: 16px;
    color: blue;
}
.player-left img{
    display: flex;
    margin-left: auto;
    margin-right: auto;
}
.player-right img{
    display: flex;
    margin-left: auto;
    margin-right: auto;
}
.video-container {
    margin-top: 7%;
}
.title {
    color: tomato;
    margin-bottom: 1%;
    text-align: center;
}
.title-text {
    text-align: center;
    font-size: 18px;
    color: rgb(202, 73, 13);
}
.image-fluid {
    width: 80%;
    height: 200px;
}
.modal-content {
    background: transparent !important;
}
.modal {
    top: 8%;
    left: -12%;
}
.modal-body p{
    color: seashell;
}
input [type=number] {
    width: 36px;
}
header h4 {
    color: red;
    text-transform: uppercase;
}
header p {
    color: crimson;
}

/* For Volumes */

.sidevol {
    height: 100%;
    width: 300px;
    position: fixed;
    z-index: 1;
    top: 15%;
    left: 0;
    background-color: cornsilk;
    overflow-x: hidden;
    padding-top: 0px;
    padding-left: 25px;
}

.sidevol a {
    padding: 1px 15px 1px 15px;
    text-decoration: none;
    font-size: 16px;
    display: block;
    color: brown;
}

#voltext {
   position: fixed;
   height: 100%;
   top: 15%;
   left: 10%;
   right: 05%;
   padding-top: 0px;
   padding-left: 12%;
   padding-right: 2%;
   color: brown;
   overflow-x: hidden;
}

.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.study {
    padding-bottom: 1250px;
}
#English-Status{
    padding-top: 5px;
    border: 1px solid red;
    text-align: right;
}
#English-Status-L{
    padding-top: 5px;
    border: 1px solid red;
    text-align: left;
}
#English-Status p{
    padding-top: 5px;
}
#English-Status-L p{
    padding-top: 5px;
}

/* For Offer Page */
.offer-cont{
    margin-top: 9%;
    margin-left: 12%;
    margin-right: 12%;
    padding: 1% 2%;
    color: rgb(177, 26, 26);
}
.col-md-6 .offersubtext {
    color: black;
    font-weight: bold;
}

/* Hope/ABSSC shared site: keep the legacy article list inside the reading card. */
.legacy-content .article-top {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.legacy-content .head-title {
    grid-column: 2;
    margin-top: 0;
    padding-left: 0;
}

.legacy-content .sidenav {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: 110px;
    width: auto;
    height: auto;
    z-index: 0;
    background-color: cornsilk;
    overflow: visible;
    padding: 18px 18px 24px;
    border-radius: 8px;
}

.legacy-content .sidenav a {
    padding: 3px 0;
    font-size: 16px;
}

.legacy-content .article {
    grid-column: 2;
    margin-left: 0;
    padding-top: 24px;
    padding-right: 0;
    padding-bottom: 36px;
}

@media (max-width: 900px) {
    .legacy-content .article-top {
        display: block;
    }

    .legacy-content .sidenav {
        position: static;
        margin-bottom: 24px;
    }
}
