/* Video */
#wrapper { 
    height: auto; 
    margin: 0 auto;
}

#videocaption {
    text-align: center;
    color: #EC583A;
    font-family: monospace;
}

.clear{
    clear: both;
}

@media (max-width:767px) {
    #wrapper{
        width: 100%;
        height: auto;
    }
}

video {
    height: auto;
}

h1 {
    color: #EC583A !important;
    text-align:center;
    font-weight: bold;
}

/* Avoid anchor under navigation bar on big and small screens*/
h1.anchor{padding-top: 100px; margin-top: -100px;}

h2 {
    color: #385b9f !important;
    font-weight: bold;
}
h2.anchor{padding-top: 100px; margin-top: -100px;} 

h3 {
    color: #385b9f !important;
}
h3.anchor{padding-top: 100px; margin-top: -100px;}

h4 {
    color: #6590bb !important;
}
h4.anchor{padding-top: 100px; margin-top: -100px;} 

h5 {
    color: #7da6d0  !important;
    font-style: italic;
    padding-left: 10px;
}
h5.anchor{padding-top: 100px; margin-top: -100px;}

/* title anchor */
.bi-link {
    color: #6495ED;
    font-size: 1.2rem;
    outline: none;
}
a.panchor:active,
a.panchor:focus {
    outline: none;
    padding-top: 100px;
    margin-top: -100px;
}

#navbar-content{
    top: 4em;
    --bs-scroll-height: 90vh;
}

ol {
    margin: 1em;
    counter-reset: item;
    list-style-type: none;
}

ol li {
    counter-increment: item;
}

/* Numbers of ordered lists in bold*/
ol li:before {
    content: counter(item) ". ";
    font-weight: bold;
}

ol li ul li:before {
    content:" ";
}
ol li ul li {
    counter-increment: none;
}

pre {
    margin: 1em;
    background-color: #F1F1F1;
}

/* Color of hovered rows in .table-hover */
.table-hover tbody tr:hover td {
    background: #add6ff; /*light blue*/
}

/* Everything in the page except the navigation bar */
div.content {
    margin-left: 3%;
    margin-right: 3%;
    height: 1000px;
}

body { padding-top: 70px; }
@media screen and (max-width: 768px) {
    body { padding-top: 0px; }
}

/* For medium size images */
figure.mediumFigure {
    text-align: center;
    font-style: italic;
    color: #EC583A;
    font-family: monospace;
}

figure.mediumFigure img {
    max-width:40%;
    height:auto;
}

/* For large images */
figure.hugeFigure {
    text-align: center;
    color: #EC583A;
    font-family: monospace;
}

figure.hugeFigure img {
    max-width:50%;
    height:auto;
}

@media (max-width: 767px) {
    figure.hugeFigure img {
        max-width: 100%;
    }
}

/* For images in columns for instance */
figure.fullFigure {
    text-align: center;
    font-style: italic;
    color: #EC583A;
    font-family: monospace;
}

figure.fullFigure img {
    max-width:90%;
    height:auto;
}

/* Handle images that can be extended */
figure.hoverFigure {
    margin-left: 25%;
    margin-right: 25%;
    text-align: center;
    font-style: italic;
    color: #EC583A;
    font-family: monospace;
}

figure.hoverFigure img {
    max-width:80%;
    height:auto;
}

figure.hoverFigure img {
    -webkit-transition: .3s ease-in-out; /* Safari and Chrome */
    -moz-transition: .3s ease-in-out; /* Firefox */
    -o-transition: .3s ease-in-out; /* IE 9 */
    -ms-transition: .3s ease-in-out; /* Opera */
    transition: all .3s ease-in-out;
}

figure.hoverFigure:hover img {   
    -webkit-transform:scale(1.5); /* Safari and Chrome */
    -moz-transform:scale(1.5); /* Firefox */
    -ms-transform:scale(1.5); /* IE */
    -o-transform:scale(1.5); /* Opera */
    transform:scale(1.6);
    
    max-width:100%;
    height:auto;
 }  

/* Media Queries */

@media all and (max-width : 768px) {
    div.content {
    padding: 100px 16px;
    }

    video {
    width: 100%;
    height: auto;
    }
}

/* Navigation bars */
a.navbar-brand:hover {
    background-color: lightgrey !important;
}

.navbar .navbar-nav .nav-link:hover {
    background-color: lightgrey;
}

p {
    text-align: left;
    margin: 1em;
}

.comment {
    color: #4CAF50;
}

/* #footer-placeholder {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
} */

/* .footer {
    flex-shrink: 0;
    width: 100%;
} */