/* Font Styles */
h1, h2, h3, h4, h5 {
    font-family: 'DM Sans', sans-serif;
}
p, ol, ul, li {
    font-family: 'IBM Plex Serif', serif;
}
.pavlov p, .medJournal p {
    text-indent: 2em;
}
.pavlov h5 {
    text-align: center;
    font-weight: bold;
    margin: 40px 0px 20px 0px;
}
/* Navigation Bar */
.navStyle {
    background-color: #313760; 
    border-bottom: 3px solid rgb(255, 255, 255); 
    outline: 4px solid #313760;
}

.nav-link {
    color: white !important;
}

.navbar .dropdown-item {
    color: #313760;
}
.navNum {
    color: #F2880C !important;
}
.navbar li {
    padding-right: 10px;
    font-size: larger;
}
/* header styling */

.header h1, .header h4 {
    margin: 20px;
    text-align: center;
}
.header h2 {
    color: #F2880C;
    text-align: center;
}
.header {
    padding-right: 0px !important;
}
.tightSub {
    margin-top: -20px;
}

.header ol {
    margin-bottom: 40px;
}
.homeHeader h1 {
    max-width: 100%;
}
.homeHeader, .homeHeaderImg {
    padding-right: 0px !important;
    max-width: 100%;
}

/* Section Styling */
.sectionOne {
    margin: 0px 0px 40px 0px;
}
.sectionOne h4, .sectionOne h1, .sectionOne h3, .faqSection h3 {
   
    text-align: center;
}

.bgLgtBlu {
    background-color: #D9DFEB;
    padding-bottom: 20px;
}
.dividerLn {
    padding-top: 30px;
    border-bottom: 4px solid #313760; 
    background-color: #D9DFEB;
}
/* homepage overview section */
ul ol {
    padding-left: 0px;
}
.gamblingSec ul li {
    margin-left: 35px;
}
/* Video alignment */
div iframe {
    width: 520px;
    height: 300px;
    margin: 0 auto;
    background-color: #777;
    max-width: 100%;
}

iframe {
    display: block;
    border-style:none;
}

/* About Page Styling */
.imgNote p {
    margin: 60px 20px 40px 0px;
    text-align: center;
}
@media only screen and (max-width: 600px) {
    .imgNote p {
        margin: 20px;
    }
}
/* SubCategory Title Section */
.mainHeader {
    background-color: #313760; 
    border-bottom: 4px solid #F2880C; 
    outline: 30px solid #313760;
    color: white;
    padding: 15px;
    margin-bottom: 60px;
    margin-top: 30px;
}
.miniHeader {
    background-color: #313760; 
    border-bottom: 4px solid #F2880C; 
    outline: 20px solid #313760;
    color: white;
    padding: 4px;
    margin-bottom: 60px;
    margin-top: 30px;
}
.aboutHeader {
    background-color: #D9DFEB; 
    color: #313760;
    padding: 15px;
    margin-bottom: 60px;
    max-height: 250px;
}
.bookHeader {
    background-color: #313760; 
    color: white;
    padding: 15px;
    margin-bottom: 60px;
    max-height: 200px;
}
@media screen and (max-width: 700px) {
    .aboutHeader {
        max-height: fit-content;
        margin-bottom: 10px;
    }
    .bookHeader {
        max-height: fit-content;
    }
}
.aboutHeader h1 {
    text-align: left !important;
    margin-left: 0px !important;
}


/* Footer Style */
.footer {
    background-color: #BFC0C9; 
    border-top: 10px solid #313760; 
    outline: 10px solid #BFC0C9;
}

.card {
    background-color: none !important;
    border: none !important;
}

.card-header {
    background-color: none !important;
}

/* carousel */
.carouselBkgd {
    background-color: #D9DFEB;
    width: 600px;
    height: 600px;
    max-width: 100%;
    min-height: 100%;
    padding-top: 5px;
}
@media only screen and (max-width: 990px) {
    .carouselBkgd {
        height: 680px;
    }
}
@media only screen and (max-width: 600px) {
    .carouselBkgd {
        height: 900px;
    }
}
@media only screen and (max-width: 400px) {
    .carouselBkgd {
        height: 1260px;
    }
}
.carouselText {
    color: #313760 !important;
}
.carousel-caption {
    position: absolute;
    top: 15px
 }

 /* Change order of Header image on homepage */

 @media screen and (max-width: 990px) {
    .homeHeader { display: flex; flex-flow: colum; }
    .homeHeader { order: 2;}
    .homeHeaderImg { order: 1;}
}

@media screen and (max-width: 900px) {
    .display-2 {
        font-size: 4em !important;
    }
    .display-4 {
        font-size: 3em !important;
    }
}


