/*
styles.css

Author: Sean Maden

Main website styles. Includes styles for header, body, footer, menu, links, and basic elements.

Additional styles for pages stored at `./inst/styles/*`.

*/

/* The side navigation menu */

.scrollbox {
    position: relative;
    margin: auto;
    justify-content: center;
    width: 50vw;/*max-content;/*500px;*/
    height: 300px;
    overflow-y: scroll;
    overflow-x: scroll;
    border: 1px solid #ccc;
    padding: 10px;
}

.sidenav {
    height: 100%; /* Full-height: remove this if you want "auto" height */
    width: 250px; /* Set the width of the sidebar */
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: hsla(241, 54%, 35%, 0.85); /* Black background color */
    overflow-y: scroll;
    overflow-x: scroll;
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}





.fa {
    padding: 20px 2px 2px 20px;
}
.menu-link a {
    transition: 0.5s;
    padding: 20px 2px 2px 20px;
    text-decoration: none;
    font-size: 16px;
    color: #ffb5fb;
    &:hover {
        font-size: 14px;
    }
    &:active {
        font-size: 14px;
    }
    &:visited {
        font-size: 14px;
    }
}

/* The navigation menu links */
.menu-box {
    max-height: 0;
    overflow: hidden;
    overflow-x: scroll;
    overflow-y: scroll;
    transition: max-height 0.4s ease-out; /* Expanding effect */
    background: #f8f8f8;
    padding: 0;
    width: 200px;
    background-color: hsla(241, 54%, 35%, 1);
    font-size: 40px;
    font-family: Helvetica;
    color: #ffb5fb;
    border: 1px solid #ccc;
}

.menu-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background-color: hsla(241, 54%, 35%, 1);
    font-size: 40px;
    font-family: Helvetica;
    color: #ffb5fb;
}

.menu-button {
    font-size: 18px;
    font-family: Helvetica;
    color: #ffb5fb;
    background-color: hsla(241, 54%, 35%, 1);
}

.menu-item:last-child {
    border-bottom: none;
}

.expanded {
    max-height: 300px; /* Expands smoothly */
    padding: 10px;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 40px;
    margin-left: 50px;
    &:hover {
        font-size: 40px;
    }
}
.sidenav-open-container {
    z-index:1;
    position: fixed;
    justify-content: center;
    width: 45px;
    height: 25px;
    /**/bottom: 30px;
    left: 30px;/**/
    position: fixed;
}
.openbtn {
    left: 10px;
    position: flex;
    align: center;
}

/* manages the hovering navigation links (top of page) */
.sticky {
    padding: 10px;
    width: max-content;/*300px;*/
    height: 17px;
    z-index: 0;
    top: 0;
    /*bottom: 30px;*/
    left: 30px;
    position: fixed;
    /*background-color: #101357;*/
    background-color: hsla(241, 54%, 35%, 1);
    outline: 1px solid white;
    box-shadow: 4px 4px 4px rgba(1, 1, 1, 0.5);/**/
}
.sticky-back {
    padding: 20px;
    width: max-content;/*100%;*/
    height: 100px;
    z-index: -1;
    top: 0;
    left: 58px;
    /*bottom: 30px;
    left: 30px;*/
    position: fixed;
    /*background-color: #101357;*/
    background-color: hsla(241, 54%, 35%, 0.9);
}
.name {
    font-size: 20px;
}

.title {
    left: 100px;
}

.column {
  float: left;
  width: max-content;/*35%;*/
}
.column2 {
  float: left;
  width: max-content;/*40%;*/
  padding: 5px;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}

/*begin index.html div content*/
.twitter-container {
    padding: 10px;
    margin-bottom: 10px;
}
.pdf-container {
    padding: 10px;
    margin-bottom: 20px;
    width: max-content;/*100%;*/
}
.container {
    display: inline-block;
    position: relative;
    justify-content: center;
}
/*end index.html div content*/

/* color/style */

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left 0.5s;
    padding: 20px;
}
#wrapper.toggled #page-content-wrapper {
    margin-left: 220px; /* Width of the sidebar */
}
.wrapper {
    display: flex;
}
#content {
    flex-grow: 1;
    padding: 40px;
    /*background-color: #101357;*/
    background-color: hsla(241, 54%, 35%, 0.7);
    margin-left: 0px;
    margin-top: 0;
    top: 0;
}

.bodymain {
    /*background-color: #101357;*/
    background-color: hsla(241, 54%, 35%, 0.9);
}

body {
    hieght: 150%;
    width: 100vw;/*max-content;/*100%;*/
    /*background-color: #c6c6cc;*/
    background-color: hsla(241, 54%, 35%, 0.9);
    font-family: Helvetica;
    font-size: 18px;
    color: #75d6da;
    overflow: visible;
    background-image: url("./inst/media/jpg/bg.jpg");
    background-size: cover;
    background-attachment: fixed;
}

/*change link color*/
a, a:hover, a:active, a:visited {
    color: #ffb5fb;
    font-size: 16px;
    font-family: Helvetica;
    &:hover {
        color: white;
    }
}
/*social media hove link icon styles*/
.aicon {
    font-size: 24px;
    &:hover {
        color: white;
        font-size: 22px;
    }
}

/*sts-embed styles*/
/*To contain social embeds for channels/entities lacking external connectivity or native support*/
.sts-embed-container {
    background-color: #000000;
    display: flex;
    border: 1px solid #ddd;
    padding: 15px;
    width: 565px;
    border-radius: 8px;
    overflow-y: scroll;
    overflow-x: scroll;
    transition: background-color 0.3s ease;
    max-height: 200px;
}

.sts-embed-content {
    flex: 1;
    width: 450px;
}
.sts-embed-content h2 {
    background-color: #000000;
    margin: 0;
    font-size: 16px;
}
.sts-embed-content p {
    background-color: #000000;
    font-size: 14px;
    color: #666;
}
.sts-embed-content a {
    background-color: #000000;
    color: #007AFF;
    text-decoration: none;
}