/*--------------------------------------------------*/
/* Utility CSS */
.passthrough {
    background-color: transparent;
}

.no-padding {
    padding: 0;
}

.no-margin {
    margin: 0;
}

.small-margin {
    margin: 5px;
}


*{
    -webkit-touch-callout: none;
    -webkit-user-select: none; /* Disable selection/copy in UIWebView */
}

.tight {
    font-size: 100%;
}

.rmindent {
    list-style: none;
    padding-left: 0;

}

.fill {
    width: 100%;
    height: 100%;
}

.touch {
    -webkit-overflow-scrolling: touch;
}

.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.outer-mod {
    display: table;
    position: relative;
    height: 100%;
    width: 100%;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
}

.no-display {
    display: none;
}

.pressLeft .btn {
    font-size: .65em;
}

.contentLeft {
    float: left;
}

.contentRight {
    float: right;
}

.pressLeft {
    margin-left: 0;
    padding-left: 0;
}

.pressRight {
    margin-right: 0;
    padding-right: 0;
}

.up-left-corner {
    left: 0;
    top: 0;
}

.pad-left {
    padding-left: 10px;
}

/* Utility CSS */
/*--------------------------------------------------*/
/*Body CSS*/
body {
    background-color: rgb(225, 227, 228);
    color: white;
    font-size: large;
    overflow: hidden;
    font-family: "Franklin Gothic Medium", "Franklin Gothic", "ITC Franklin Gothic", Arial, sans-serif;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

body.flow
{
    overflow: visible;
}

li {
    margin: 0 0 4px 0;
}

#wrap {
    height: 100vh;
    overflow: scroll;
}

#wrap.noOverflow {
    overflow: hidden;
}

.blackout {
    background-color: black;
}

#main {
    transition: margin-left .5s;
    padding: 20px;
}

#home {
    min-width: 50px;
}

.absolute-container {
    position: relative;
}

#wrap > .container {
    padding-top: 0;
}

.container {
    width: 100%
}

/*Body CSS*/
/*--------------------------------------------------*/
/*Top Navbar CSS*/

.title-bar {
    height: 100%;
}

.title-bar .title {
    max-width: 95%;
}

.navbar-fixed-top {
    background-color: #00274c;
    font-size: large;
    height: 12vh;
    border-bottom-color: white;
    border-bottom: 20px;
    -webkit-box-shadow: 0px 5px 18px 1px rgba(0, 0, 0, 0.36);
    -moz-box-shadow: 0px 5px 18px 1px rgba(0, 0, 0, 0.36);
    box-shadow: 0px 5px 18px 1px rgba(0, 0, 0, 0.36);
    z-index: 100;
    width: 101%;
    top: -1px;
    margin: auto;
}

.nav-icon {
    background-size: contain;
    background-image: url("../../assets/img/icon-160.png");
    background-repeat: no-repeat;
    background-position: center center;
    height: 100%;
}

.nav-title {
    background-size: contain;
    background-image: url("../../assets/img/logo-title.png");
    background-repeat: no-repeat;
    background-position: center center;
    height: 100%;
}

.fit-nav-bar {
    height: 100%;
}

.title-row {
    padding: 5px 10px 4px 10px;
}

/*Top Navbar CSS*/
/*--------------------------------------------------*/
/*Bottom Navbar CSS*/

.footer {
    position: fixed;
    bottom: 0;
    height: 70px;
}

.navbar-fixed-bottom {
    background-color: #00274c;
    font-size: large;
    padding-left: 10px;
    padding-right: 10px;
    height: 10vh;
}

/*Bottom Navbar CSS*/
/*--------------------------------------------------*/
/*Side Navbar CSS*/

/* The side navigation menu */
.side-nav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 101; /* Stay on top */
    top: 0;
    right: 0;
    background-color: #e4e1df; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    padding-bottom: 10px;
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    text-align: center;
}

.side-nav.open {
    width: 10vw;
    padding-right: 20px;
    -webkit-box-shadow: inset 15px 0 0 -9px #00274c;
    -moz-box-shadow: inset 15px 0 0 -9px #00274c;
    box-shadow: inset 15px 0 0 -9px #00274c;
}

.side-nav h1 {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #00274c;
    display: block;
    transition: 0.3s
}

.side-nav h2 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #00274c;
    display: block;
    transition: 0.3s
}

/* The navigation menu links */
.side-nav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: x-large;
    color: black;
    display: block;
    transition: 0.3s
}

.side-nav div > label {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 15px;
    color: black;
    margin-bottom: 0;
}

.side-nav div > .ui-checkbox {
    margin-top: 0;
    padding: 8px 8px 8px 28px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
}

/* Position and style the close button (top right corner) */
.side-nav .closebtn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: black;
    transition: 0.5s;
    opacity: 0;
}

.side-nav.open .closebtn {
    opacity: 1;
}

/*Side Navbar CSS*/
/*--------------------------------------------------*/
/*Main Menu CSS*/

#main-menu li {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

#main-menu .bundle li a {
    color: #ffcb05;
    font-size: 0.9em;
    line-height: 2.1em;
    font-weight: normal;
}

#main-menu .more-histo li {
    list-style-type: none;
    padding-left: 0;

}

#main-menu .more-histo li a {
    color: white;
    font-size: .75em;
    line-height: 2.9em;
    font-weight: normal;
}

#main-menu .more-histo a {
    color: #ffcb05;
}

.bundle-menu {
    width: 100%;
    height: 100%;
    position: relative;
    max-width: 1280px;
    /*touch-action: none; /*ISCROLL HACK*/
}

/*Main Menu CSS*/
/*--------------------------------------------------*/
/*Link List CSS*/

#LinkList {
    padding-top: 14vh;
    padding-bottom: 18vh;
    list-style: none;
    padding-left: 0;
    font-size: x-large;
    margin-left: 0;
    color: #00274c;
}

#LinkList > div {

    margin-top: 10px;
}

#LinkList > div > div {
    -webkit-box-shadow: 0 0 13px 1px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 0 0 13px 1px rgba(0, 0, 0, 0.11);
    box-shadow: 0 0 13px 1px rgba(0, 0, 0, 0.11);
    background-color: white;
    border-radius: 5px;
    padding: 15px;
}

#LinkList h3 {
    text-align: left;
    padding-left: 15px;
    margin-top: 0;
}

#LinkList h6 {
    text-align: left;
    padding-left: 15px;
    margin-top: 0;
}

#LinkList div div:nth-child(2) {
    color: black;
}

.moduleCheckBox {
    margin-top: 4px;
    margin-right: 10px;
    float: left;
    visibility: visible;
    display: inline;
    color: whitesmoke;
    transition: 0.1s;
}

.checked .moduleCheckBox {
    color: #00274c;
}

/*Link List CSS*/
/*--------------------------------------------------*/
/*Slide Viewer CSS*/

#slide-viewer {
    height: 90vh;
}

.slide-viewer-wrap {
    height: 90vh;
    background-color: black;
}

.slide-img {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
}

.slide-img-base {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
}

/*.carousel-inner {
    height: 100%;
}*/

.carousel-indicators {
    position: relative;
    margin: auto;
    bottom: 0;
    left: 0;
}

.carousel-control {
    background-image: none !important; /* remove background gradients on controls */
}

.item {
    position: relative;
    height: 100%;
}

.item.simage
{
    height: 90vh;
}

.slide-img {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
}

.slide-img-base {
    position: absolute;
    left: 0;
    right: 0;
}

.black-top-border {
    height: 10vh;
    border-top: 3px;
    border-top-color: black;
    border-top-style: solid;
}

.bootstrap-switch-handle-on .bootstrap-switch-primary {
    background-color: #00274c;
}

/*Slide Viewer CSS*/
/*--------------------------------------------------*/
/*About CSS*/

#about {
    padding-top: 18vh;
    padding-bottom: 18vh;
    color: black;
    background-color: white;
}

#about > div {
    border-bottom-color: whitesmoke;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    text-align: center;
    margin-top: 15px;
    padding-bottom: 30px;
}

#about > div img {
    -webkit-box-shadow: 0 0 13px 1px rgba(0, 0, 0, 0.30);
    -moz-box-shadow: 0 0 13px 1px rgba(0, 0, 0, 0.30);
    box-shadow: 0 0 13px 1px rgba(0, 0, 0, 0.30);
    margin-top: 10px;
    margin-bottom: 10px;
    max-height: 65vh;
    max-width: 65vw;
}

#about hr {
    margin-top: 30px;
    margin-bottom: 30px;
}

/*About CSS*/
/*--------------------------------------------------*/
/*Loading CSS*/

#loadingOverlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    visibility: hidden;
    z-index: 200;
    font-size: xx-large;
}

/*Loading CSS*/
/*--------------------------------------------------*/
/*Fading CSS*/

.fade-out {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 1s linear;
}

.fade-in {
    visibility: visible;
    opacity: 1;
}

/*Fading CSS*/
/*--------------------------------------------------*/
/*IMG CSS*/
.img-thumbnail {
    display: inline-block;
    max-width: 100%;

    padding: 1px;
    line-height: 1.42857143;
    background-color: #fff;
    border-radius: 3px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.img-responsive {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.img-wrap {
    max-width: 100%;
    max-height: 100%;
}

/*IMG CSS*/
/*--------------------------------------------------*/
/*Selection Popup CSS*/
#selectionPopup {
    z-index: 100;
    position: fixed;
    bottom: 8vh;
    left: 0;
    margin: auto;
    width: 100%;
    height: 80px;
}

#selectionPopup > div {
    position: absolute;
    width: 100%;
    text-align: center;
}

.popup-content {
    position: relative;
    margin: auto;
    background: white;
    display: inline-block;
    color: black;
    border-radius: 25px;
    padding: 20px;
    -webkit-box-shadow: 0 0 13px 2px rgba(0, 0, 0, 0.33);
    -moz-box-shadow: 0 0 13px 2px rgba(0, 0, 0, 0.33);
    box-shadow: 0 0 13px 2px rgba(0, 0, 0, 0.33);
}

/*Selection Popup CSS*/
/*--------------------------------------------------*/
/*Btn CSS*/
.btn-default {
    background-color: #989c97;
    border-color: #989c97;
    text-align: center;
    height: 80px;
}

.btn-circle {
    border-radius: 40px;
    width: 80px;
    height: 80px;
}

.btn.btn-jump {
    color: white;
}

.btn.btn-close {
    background-color: #00274c;
}

.btn-suppress-hover:hover /*ToDo: Remove hover suppression if porting to desktop*/
{
    color: black;
    background-color: white;
}

.start-button .glyphicon-big {
    color: #00274c;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary {
    background-color: #00274c;
}

/*Btn CSS*/
/*--------------------------------------------------*/
/*Modal CSS*/
.modal {
    pointer-events: none;
}

.modal h4 {
    border-bottom: solid;
    border-bottom-color: white;
    margin-top: 0;
    color: #00274c;
    background-color: #ffcb05;
    padding: 5px;
}

.modal .btn.btn-close {
    color: white;
}

.modal-dialog {
    width: 60vw;
    max-height: 80vh;
    margin: auto;
}

.modal-body {
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
    padding: 0;
    background-color: #00274c;
}

.modal-content {
    height: inherit;
    background-color: whitesmoke;
    pointer-events: auto;
}

.modal-footer {
    padding: 5px;
    background-color: #ffcb05;
    max-height: 20%;
}

.modal-header {
    height: 10%;
    min-height: 45px;
    padding: 0;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.50);
}

/*Modal CSS*/
/*--------------------------------------------------*/
/*Proceed Button CSS*/
.proceed-button {
    color: #ffcb05;
}

.multiset-proceed {
    border-color: white;
}

#proceed-nav {
    position: absolute;
    right: 0;
    height: inherit;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    color: #00274c;
    background-color: #ffcb05;
}

#proceed-nav span {
    font-size: small;
}

/*Proceed Button CSS*/
/*--------------------------------------------------*/
/*Glyphicon Button CSS*/

.glyphicon-big {
    font-size: xx-large;
    color: white;
}

.glyphicon-med {
    font-size: x-large;
    color: white;
}

.glyphicon-about {
    font-size: x-large;
    color: white;
    background-color: #00274c;
    text-align: justify;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 0px solid #000000;
    padding: 4px;
}

.glyphicon-about.alt {
    color: #00274c;
    background-color: #ffcb05;
}

/*Glyphicon Button CSS*/
/*--------------------------------------------------*/
/*mylist CSS*/

.mylist {
    padding: 5px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 50px;
    border-color: white;
}

.mylist .li {
    background-color: whitesmoke;

}

.mylist .li a {
    background-color: white;
    font-size: large;
}

/*mylist CSS*/
/*--------------------------------------------------*/
/*Scroller Button CSS*/

.scroller-wrap {
    height: 100%;
    background-color: #00274c;
    max-height: 60vh;
    color: white;
    margin: auto;
    margin-top: 4px;
    overflow: hidden;
    /*touch-action: none; /*ISCROLL HACK*/
}

.scroller-wrap li {
    color: white;
    margin: 1px;
    min-width: 60px;
    min-height: 60px;
}

.scroller-wrap li > a {
    font-size: large;
    color: white;
}

.scroller {
    position: relative;
    /*touch-action: none;  /*ISCROLL HACK*/
}

#scroller hr {
    margin-bottom: 0;
}

.scroller-content {
    width: 100%;
}

/*Scroller Button CSS*/
/*--------------------------------------------------*/
/*Credits Button CSS*/

.credits {
    background-color: #000698;
    color: white;
    padding: 1em 2em;
    position: relative;
    text-align: left;
    font-size: x-large;
}

.credits h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2em;
    color: #ffcb05;
    text-align: center;
}

.credits h2 {
    font-size: 1.2em;
    margin: 1em 0 1em 0;
}

.credits h3 {
    font-size: 1.1em;
    margin-top: 5px;
    color: #ffcb05;
}

.credits {
    margin: 1em 0 1em 0;
}

.credits a {
    color: #ffcb05;
}

.credits a:visited {
    color: #ffcb05;
}

.credits img {
    margin-top: 10px;
    max-height: 75vh;
}

.credits .top-menu {
    font-size: 1.2em;
}

/*Credits Button CSS*/
/*--------------------------------------------------*/
/* Screen Size Specific CSS */

@media (max-width: 1920px) {
    .side-nav.open {
        width: 18vw;
    }
}

@media (max-width: 1023px) {
    .side-nav.open {
        width: 25vw;
    }
}

/* XLARGE SCREEN SIZE */

@media (max-width: 992px) {

    .credits {
        font-size: large;
    }

}

/* LARGE SCREEN SIZE */

@media only screen and (max-width: 991px) {

    .credits {
        font-size: medium;
    }

    .scroller-wrap li
    {
        min-width:50px;
        min-height:35px;
    }

    .scroller-wrap li > a{
        font-size: small;
    }

}

/* NORMAL SCREEN SIZE */

@media only screen and (max-width: 736px) {

    #about > div img {
        max-height: 70vh;
        max-width: 75vw;
    }

    .glyphicon-xs-small {
        font-size: x-small;
    }

    .side-nav.open {
        width: 35vw;
    }

    .glyphicon-big {
        font-size: large;
    }

    .glyphicon-med {
        font-size: small;
    }

    .navbar-fixed-top {
        height: 15vh;
    }

    #LinkList {
        font-size: medium;
        padding-top: 18vh;
        padding-bottom: 15vh;
    }

    .carousel-indicators {
        bottom: 0;
    }

    .carousel-indicators > li {
        width: 8px;
        height: 8px;
    }

    .carousel-indicators .active {
        width: 10px;
        height: 10px;
    }
}

/* SMALL SCREEN SIZE*/

@media (max-width: 470px) {

    #LinkList h3 {
        text-align: center;
        font-size: medium;
    }

    #LinkList h6 {
        text-align: center;
    }

    #proceed-nav span {
        font-size: x-small;
    }

    .menu {
        font-size: small;
    }

    .side-nav a {
        font-size: medium;
    }

    .side-nav {
        padding-top: 50px;
    }

    .side-nav.open {
        width: 48vw;
    }

    .btn-default {
        height: 40px;
        font-size: small;
        text-align: center;
        padding: 0;
    }

    .btn-circle {
        height: 40px;
        width: 40px;
    }

    #LinkList {
        font-size: small;
    }

    .side-nav hr {
        margin: 0;
    }
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .side-nav {
        padding-top: 30px;
    }

    .side-nav a {
        font-size: 18px;
    }
}

/* Screen Size Specific CSS */
/*--------------------------------------------------*/
