* {
    box-sizing: border-box;
}

html {
    font-family: 'Roboto';
    letter-spacing: 0.5px;
}
body {
    background-color: white;
    margin: 0;
}
h1 {
    margin: 0px;
    color: black;
}
p {
    color: black;
}
i {
    margin: 0px;
    padding: 0px;
}
img {
    height: auto;
}
.content {
    padding-top: 10px;
    padding-left: 8%;
    padding-right: 8%;
}
.centertitle {
    text-align: center;
    padding-top: 15px;
}
.wholetimeline{
    display: flex;
}
.timeline {
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    flex-grow: 1;
    scroll-behavior: smooth; 
}
.left, .right {
    border: solid #1976D2;
    border-width: 0 3px 3px 0;
    display: relative;
    padding: 4px;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 97px;
}
.left:hover, .right:hover {
    border-color: black;
    /* border-width: 0 4px 4px 0; */
}
.left {
    float: left;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}
.right {
    float: right;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.up, .down {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: relative;
    padding: 5px;
    margin-left: 2px;
    margin-right: 2px;
}
.up {
    float: right;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
.down {
    float: right;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
/*.timeline::-webkit-scrollbar {
    display: none;
}*/
/* width */
.timeline::-webkit-scrollbar {
    height: 5px;
}

/* Track */
.timeline::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2.5px;
}
 
/* Handle */
.timeline::-webkit-scrollbar-thumb {
    background: #1976D2;
    border-radius: 2.5px; 
}

/* Handle on hover */
.timeline::-webkit-scrollbar-thumb:hover {
    background: #5aa7d4;
}
.precontent {
    position: relative;
    padding-top: 20px;
    text-align: center;
    background-color: #f1f1f1;
    overflow: hidden;
}
.precontent img {
    border-radius: 50%;
}
.details {
    line-height: 1.2;
}
.menu {
    width: 100%;
    list-style-type: none;
    text-align: center;
    display: inline-block;
    margin: 0;
    padding: 5px;
    overflow: hidden;
    background-color: #1976D2;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 1;
}

.menu a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu a:hover{
    background-color: #111;
    color: white;
}
.menu .sideicon {
    display: none;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: rgba(17, 17, 17, 0.904);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align:center;
}
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;

}
.sidenav a:hover {
    color: #f1f1f1;
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.menu a.active{
    color: #90CAF9;
}
a.active:hover {
    background-color: transparent;
}

.card {
    background-color: #f1f1f1;
    padding: 20px;
    margin-top: 30px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}
.cardquickaccess {
    background-color: #f1f1f1;
    padding: 5px;
    margin-top: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}
.card:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.cardquickaccess:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 40px 0 rgba(0, 0, 0, 0.19);
}
.card p {
    line-height: 1.5;
}
.card h5, .modal-header h5 {
    font-weight: normal;
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 10px;
}
.cardquickaccess h3 {
    margin-top: 15px;
    margin-bottom: 15px;
}
.card i {
    float: right;
    margin-right: 25px;
    margin-top: 10px;
    font-size: 28px;
    color: grey;
}
.cardquickaccess i {
    float: left;
    margin: 15px;
    margin-right: 20px;
    font-size: 28px;
    color: black;
}
.card i:hover{
    color: black;
}
.card a {
    word-wrap: break-word;
}
.cardimg {
    width: calc(100% + 40px);
    margin-left: -20px;
}
.cardmore {
    color: #1976D2;
    font-weight: bold;
    float: left;
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 0;
}
.cardmore:hover{
    color: lightskyblue;
}
.collapsible {
    padding-top: 2px;
}
.collapsible-content {
    display: inline-block;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    transition: max-height 0.2s ease-out;
}
.collapsible h4 {
    padding-top: 27px;
    float: left;
    margin-top: 0;
    margin-bottom: 0;
}
.collapsible-content p {
    margin-top: 10px;
    margin-bottom: 5px;
}
.collapsible.active .down {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
}
.column {
    float: left;
    width: 50%;
    padding: 0 10px;
}
.columnquickaccess {
    float: left;
    width: 25%;
    padding: 0 10px;
}
.columnquickaccess a {
    text-decoration: none;
    color: black;
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 70px; /* Location of the box */
    padding-bottom: 40px;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    display: none;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.5s;
    animation-name: animatetop;
    animation-duration: 0.5s
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:500px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:500px; opacity:0}
    to {top:0; opacity:1}
}
/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modal-header {
    padding: 2px 16px;
    background-color: #1976D2;
    color: white;
}
.modal-body {
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 20px;
    padding-right: 20px;
}
.modal-body h4 {
    padding-top: 20px;
    margin-bottom: 0px;
}
.modal-body a {
    text-decoration: none;
    color: #1976D2;
    display: block;
    line-height: 1.2;
    padding-top: 15px;
}
.modal-footer {
    padding: 2px 16px;
    background-color: #1976D2;
    color: white;
}

.tooltip {
    position: relative;
    display: block;
    float: right;
    z-index: 0;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    bottom: 110%;
    left: 50%;
    margin-left: -73px;
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltiptext{
    z-index: 1;
}
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}
.slideshow-container .mySlides1, .slideshow-container .mySlides2 {
    display: none
}
.slideshow-container img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}
/* Next & previous buttons */
.slideshow-container .prev, .slideshow-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
/* Position the "next button" to the right */
.slideshow-container .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
/* Caption text */
.slideshow-container .text {
    color: black;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 3px;
    width: 100%;
    text-align: center;
} 
/* Number text (1/3 etc) */
.slideshow-container .numbertext {
    color: black;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 3px;
    width: 100%;
    text-align: center;
    transition: 0.6s ease;
}
.slideshow-container .text span, .slideshow-container .numbertext span{
    padding: 10px 14px;
    transition: 0.6s ease;
}
/* On hover, add a black background color with a little bit see-through */
.slideshow-container .prev:hover, .slideshow-container .next:hover, .slideshow-container .text span:hover, .slideshow-container .numbertext span:hover {
    color: white;
    background-color: rgba(0,0,0,0.8);
}  
/* The dots/bullets/indicators */
.slideshow-dots .dot1, .slideshow-dots .dot2, .slideshow-dots .dot3, .slideshow-dots .dot4, .slideshow-dots .dot5 {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    vertical-align: middle;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    transition: height 0.2s;
} 
.slideshow-dots .active, .slideshow-dots .dot1:hover, .slideshow-dots .dot2:hover, .slideshow-dots .dot3:hover, .slideshow-dots .dot4:hover, .slideshow-dots .dot5:hover {
    background-color: #2196F3;
    height: 15px;
    width: 15px;
}
/* Fading animation */
.slideshow-container .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
} 
@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
} 
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
  

.footer {
    padding: 30px;
    margin-top: 100px;
    margin-bottom: 40px;
    border-top: 1px solid lightgrey;
}
.footer p {
    text-align: left;
    float: left;
    font-size: 12px;
}
.footer i {
    float: right;
    margin-right: 25px;
    margin-top: 10px;
    font-size: 24px;
    color: grey;
}
.footer i:hover{
    color: black;
}

/* For smaller screens: */
@media screen and (max-width: 1050px) {
    .columnquickaccess {
        width: 50%;
    }
}

/* For mobile phones: */
/* ☰ */
@media screen and (max-width: 700px) {
    .content{
        padding-top: 0px;
        padding-left: 4%;
        padding-right: 4%;
    }
    
    .column {   
        width: 100%;
        display: block;
        padding: 0;
    }

    .modal-content {
        width: 95%;
    }

    .precontent {
        text-align: left;
        font-size: 12px;
    }
    .precontent h1 {
        padding-top: 30px;
    }
    .precontent img {
        padding: 5px;
        margin-right: 20px;
        margin-left: 20px;
        margin-bottom: 20px;
        border-radius: 50%;
        float: left;
    }

    .menu {
        text-align: left;
        padding-left: 3%;
    }
    .menu a:not(.active) {
        display: none;
    }
    .menu a.active{
        color: white;
    }
    .menu a.sideicon {
        float: right;
        display: block;
        padding-top: 12px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .slideshow-container .prev, .slideshow-container .next, .slideshow-container .text {
        font-size: 11px
    }
    .slideshow-container img {
        max-height: 220px;
    }

    .footer p {
        text-align: left;
        float: left;
        width: 55%;
        padding-top: 2px;
        font-size: 10px;
    }
    .footer i {
        float: right;
        margin-right: 19px;
        margin-top: 10px;
        font-size: 19px;
        color: grey;
    }
}

/* For smaller mobile phones: */
/* ☰ */
@media screen and (max-width: 460px) {
    .precontent h1 {
        padding-top: 10px;
    }
    .columnquickaccess {
        width: 100%;
    }
}

/* Even smaller (iPhone 5/SE) */
@media screen and (max-width: 362px) {
    .precontent img {
        padding: 10px;
        margin-right: 5px;
        margin-left: 5px;
        margin-bottom: 5px;
        border-radius: 50%;
    }
    .precontent h1 {
        font-size: 22px;
    }
    .details {
        font-size: 11px;
    }
    .footer p {
        width: 50%;
        padding-top: 0;
    }
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }