/*  Main style */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
img {
    width: 100%;
    height: auto;
}
.row:after {
    content: "";
    clear: both;
    display: table;
}

/* For mobile phones: */
[class*="col-"] {
    float: left;
    padding: 15px;
    width: 100%;
}

/* For tablets: */
@media only screen and (min-width: 600px) {
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}
}

/* For desktop: */
@media only screen and (min-width: 768px) {
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
}

html {
    font-family: "Lucida Sans", sans-serif;
    font-size: 84%;
    color: #403152;
    background: #fff url(../images/top.jpg) top left repeat-x ;
    line-height: 1.6em;
}
.header {
    padding: 0px;
}

/* menu styling */
.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.menu li {
    padding: 3px;
    margin-bottom: 3px;
    background-color: #ffffff;
    color: #254061;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.menu li:hover {
    background-color: #99CCCC;
}
.menu a {
    padding: 3px 12px;
    text-decoration: none;
    color: #254061;
    line-height: 100%;
}
.menu a:hover {
    color: #FF0033;
}


/* footer stuff */
#footer {
    width: 100%;
    margin: auto;
    clear: both;
    border-top: 0px solid #ccc;
    font-size: 80%;
    color: #FFF;
    font-weight: bold;
}

#footer-wrap{
    width: 100%;
    background: #403152;
}

/* sets page width in browser */
#wrapper {
    padding: 0;
    margin: 0 auto;
    width: 95%;
    background: transparent;
}

/* image styling */

.roundrect {
    border-radius: 15px
}

.circular--portrait {
    display: inline-block;
    position: relative;
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 50%;
    vertical-align: middle;
}

.circular--portrait img {
    width: 100%;
    height: auto;
    -webkit-animation:spin 2s ease-in-out 1;
    -moz-animation:spin 2s ease-in-out 1;
    animation:spin 2s ease-in-out 1;
}

.hidden{
    opacity:0;
}
.visible{
    opacity:1;
}


/*
.circular--square {
    border-radius: 50%;
}

.circular--landscape {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
}

.circular--landscape img {
    width: auto;
    height: 100%;
    margin-left: -50px;
}

*/

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }


/* Standard items */

li.c2 {
    list-style-type: square;
}

hr {
    width:100%;
    height:1px;
    background: #fff;
    color: #403152;
    border-top-style: dashed;
    padding: 0px;
    margin: 0px 0px 5px 0px;
}
h2{
    margin-top: 20px;
    color: #403152;
    font-weight: normal;
    font-size: 1.5em;
}
h3{
    font-size: 3em;
    font-weight: normal;
    color: #403152;
    font-family: Georgia;
    font-style: italic;
    line-height: 1.3em;
}
h5{
    font-size: 1.0em;
    margin-top: 20px;
    line-height: 1.3em;
    vertical-align: middle;
    padding: 0px;
    margin: 0px 0px 5px 0px;
}
div.c1 {
    text-align: center;
}
div.c3 {
    text-align: left;
}
audio.c2 {
    width: 320px;
    height:40px;
    vertical-align: middle;
}
img.c1 {
    vertical-align: middle;
    max-width:20px;
}
img.c2 {
    vertical-align: middle;
    width: 32px;
    max-width:32px;
}
img.c3 {
    vertical-align: middle;
    max-width:120px;
}
img.c4 {
    height: 250px;
    width: 200px;
}
img.c5 {
    height: 300px;
    width: 400px;
}
img.c6 {

    height: 150px;
    max-width: 200px;
    float: right;
}
img.c7 {
    height: 250px;
    width: 350px;
    float: right;
}
img.c8 {
    height: 50px;
    width: 80px;
}
img.c9 {
    margin-top: 20px;
    margin-right: 20px;
    vertical-align: middle;
    height: 250px;
    width: 350px;
    float: center;
    -webkit-animation:spin 3s ease-in-out 1;
    -moz-animation:spin 3s ease-in-out 1;
    animation:spin 3s ease-in-out 1;
}
img.c10 {
    height: 40px;
    width: 40px;
    vertical-align: middle;
}

/*ticker styling */

.holder {
    float : right;
    background-color:#EBEBEB;
    width:250px;
    height:300px;
    overflow:hidden;
    padding:10px;
    font-family:Helvetica;
}
.holder .mask {
    position: relative;
    left: 0px;
    top: 10px;
    width:240px;
    height:290px;
    overflow: hidden;
}
.holder ul {
    list-style:none;
    margin:0;
    padding:0;
    position: relative;
}
.holder ul li {
    padding:10px 0px;
}
.holder ul li a {
    color: #CC0066;
    text-decoration:none;
}

/*Dropdown stuff */

/* Dropdown Button */
.dropbtn {
    background-color: #254061;
    color: white;
    padding: 8px;
    min-width: 200px;
    font-size: 14px;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: relative;
    min-width: 160px;
    background-color: #254061;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown - change to inline */
.dropdown-content a {
    color: white;
    padding: 10px 10px;
    text-decoration: none;
    display: inline-block;
}


/* fish stuff */

svg#fish {
    top: 5em;
}
/* Fish Animation */
svg.fish{
    overflow:visible;
}

@-webkit-keyframes swim
{
    0% {margin-left: -0px}
    90% {margin-left: 100%;}
    100% {margin-left: 100%;}
}

@-moz-keyframes swim
{
    0% {margin-left: -0px}
    90% {margin-left: 100%;}
    100% {margin-left: 100%;}
}

@keyframes swim
{
    0% {margin-left: -0px}
    70% {margin-left: 100%;}
    100% {margin-left: 100%;}
}

.fish{
    width: 235px;
    height: 104px;
    margin-left: -235px;
    position: absolute;
    -webkit-animation: swim 15s;
    -moz-animation: swim 15s;
    animation: swim 15s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
    animation-timing-function: linear;
}

svg #fish1,
svg #fish2,
svg #fish3,
svg #fish4,
svg #fish5,
svg #fish6 {

    -webkit-animation: bounce 2s infinite;
    -moz-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

svg #fish2{
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
     animation-delay: 0.5s;
}

svg #fish3{
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

svg #fish4{
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

svg #fish5{
    -webkit-animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

svg #fish6{
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

/**/
@-moz-keyframes bounce {
    0%, 50%, 100% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
    25% {
        -webkit-transform: translateY(-5px);
        -moz-transform: translateY(-5px);
        transform: translateY(-5px);
    }
    75% {
        -webkit-transform: translateY(-3px);
        -moz-transform: translateY(-3px);
        transform: translateY(-3px);
    }
}
@-webkit-keyframes bounce {
    0%, 50%, 100% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
    25% {
        -webkit-transform: translateY(-5px);
        -moz-transform: translateY(-5px);
        transform: translateY(-5px);
    }
    75% {
        -webkit-transform: translateY(-3px);
        -moz-transform: translateY(-3px);
        transform: translateY(-3px);
    }
}
@keyframes bounce {
    0%, 50%, 100% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    25% {
        -webkit-transform: translateY(-5px);
        -moz-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
    75% {
        -webkit-transform: translateY(-3px);
        -moz-transform: translateY(-3px);
        -ms-transform: translateY(-3px);
        transform: translateY(-3px);
    }
}

/*END Fish Animation*/

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #006699;color: #FF9999}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: inline-block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #006699;}

/* TIMELINE  */

* {
    margin: 0;
    padding: 0;
}


/* Timeline Container */
.timeline {
    background: var(--primary-color);
    margin: 20px auto;
    padding: 20px;
}

/* Card container */
.card {
    position: relative;
    max-width: inherit;
}

/* setting padding based on even or odd */
.card:nth-child(odd) {
    padding: 30px 0 30px 30px;
}
.card:nth-child(even) {
    padding: 30px 30px 30px 0;
}
/* Global ::before */
.card::before {
    content: "";
    position: absolute;
    width: 50%;
    border: solid orangered;
}

/* Setting the border of top, bottom, left */
.card:nth-child(odd)::before {
    left: 0px;
    top: -4.5px;
    bottom: -4.5px;
    border-width: 5px 0 5px 5px;
    border-radius: 50px 0 0 50px;
}

/* Setting the top and bottom to "-5px" because earlier it was out of a pixel in mobile devices */
@media only screen and (max-width: 400px) {
    .card:nth-child(odd)::before {
        top: -5px;
        bottom: -5px;
    }
}

/* Setting the border of top, bottom, right */
.card:nth-child(even)::before {
    right: 0;
    top: 0;
    bottom: 0;
    border-width: 5px 5px 5px 0;
    border-radius: 0 50px 50px 0;
}

/* Removing the border if it is the first card */
.card:first-child::before {
    border-top: 0;
    border-top-left-radius: 0;
}

/* Removing the border if it is the last card  and it's odd */
.card:last-child:nth-child(odd)::before {
    border-bottom: 0;
    border-bottom-left-radius: 0;
}

/* Removing the border if it is the last card  and it's even */
.card:last-child:nth-child(even)::before {
    border-bottom: 0;
    border-bottom-right-radius: 0;
}

/* Information about the timeline */
.info {
    display: flex;
    flex-direction: column;
    background: #696969;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
}

/* Title of the card */
.title {
    color: orangered;
    position: relative;
}

/* Timeline dot  */
.title::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 999px;
    border: 3px solid orangered;
}

/* text right if the card is even  */
.card:nth-child(even) > .info > .title {
    text-align: right;
}

/* setting dot to the left if the card is odd */
.card:nth-child(odd) > .info > .title::before {
    left: -45px;
}

/* setting dot to the right if the card is odd */
.card:nth-child(even) > .info > .title::before {
    right: -45px;
}