html {
    min-height: 101%;
}

body {
    background: #fafafa;
    text-align: center;
    font-size: 15px;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Condensed";
    font-weight: 600;
}

.header-container {
    width: 100%;
    position: fixed;
    height: 60px;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 999;
}

.header {
    width: 100%;
    height: 60px;
    position: relative;
    max-width: 1200px;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    background-color: rgba(137,90,148,0.8);
    transition: all 0.3s ease;
}

.sticky-header {
    background-color: rgba(37,90,48,0.8);
}

.top-image-container {
    position: relative;
    width: 100%;
}

.top-image {
    width: 100%;
    height: auto;
    background: url("oldhands.jpg");
    background-position: 50% 100%;
    height: 380px;
    background-size: cover;
    background-repeat: no-repeat;
}

.top-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: inline-block;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(0,0,0,0.15);
}

.logo {
    display: block;
    vertical-align: middle;
    width: 250px;
    height: auto;
    float: left;
    margin-top: 10px;
    margin-left: 20px;
}

.page {
    width: 100%;
    max-width: 1200px;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    min-height: 100%;
    background: #fff;
    position: relative;
    margin-bottom: 318px;
    box-shadow: 0 5px 5px -5px rgba(0,0,0,0.25);
}

.nav {
    float: right;
}

.navbar {
    margin-bottom: 0;
    border: 0;
}

a.nav-link {
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    font-family: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar-nav>li>a {
    padding: 20px;
}

.nav>li>a:focus, .nav>li>a:hover {
    background-color: transparent;
    color: #f8f8f8;
}

.navbar-brand {
    padding: 0;
}

.award {
    background-position: center center;
    background-size: 65%;
    background-repeat: no-repeat;
    height: 200px;
    margin-bottom: 30px;
}

.award-txt {
    background-size: 50%;
}

.top-title {
    position: absolute;
    bottom: 30px;
    left: 100px;
    color: #fff;
    font-weight: 400;
    z-index: 3;
}

.logo {
    width: 200px;
}

.logo img {
    width: 100%;
    height: auto;
}

.profile-image {
    float: left;
    width: 190px;
    height: 250px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.advisor-image {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    height: 250px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    clear: both;
}

.profile {
    border: 1px solid #eaeaea;
    padding: 0;
    margin-top: 25px;
    width: 610px;
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin-right: 190px;
}

.profile-even {
    margin-right: 0;
    margin-left: 190px;
}

.profile-text {
    padding: 25px;
    width: 410px;
    float: left;
    padding-bottom: 10px;
}

.prf-img-even {
    float: right;
}


.profile:hover, .advisor:hover {
    border: 1px solid rgba(0,0,0,0.4);
    box-shadow: 0 0px 10px rgba(0,0,0,0.75);
}

.per-profile {
    width: 800px;
    margin: 0;
}

.per-profile-txt {
    width: 600px;
}

.advisor {
    width: 220px;
    display: inline-block;
    vertical-align: top;
    border: 1px solid #eaeaea;
    height: 408px;
    margin: 10px;
}

.award-img, .testimonial {
    display: inline-block;
    height: auto;
}

.award-img {
    width: 240px;
    padding: 10px;
    vertical-align: middle;
    float: none;
}

.testimonial {
    margin: 0;
    vertical-align: top;
    padding: 15px 20px 15px 30px;
    text-align: left;
    float: none;
    background-image: url("citationstegn.png");
    background-position: 2% 8%;
    background-size: 15px 15px;
    background-repeat: no-repeat;
}

.advisor p {
    float: left;
}


.advisor-info, .advisor-name {
    clear: both;
    width: 100%;
    margin: 0;
}

.advisor-name {
    margin-top: 10px;
    font-weight: bold;
}

.advisor-work {
    font-style: italic;
}

.footer {
    width: 100%;
    background: #fafafa;
    text-align: center;
    padding: 30px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.demkip-container {
    padding: 25px 100px;
    text-align: center;
    padding-bottom: 50px!important;
}

.text-container {
    text-align: left;
    margin-top: 15px;
}

.advisor-container .row {
    margin: 0;
}

.careers-container h2, .support-container h2 {
    text-align: center;
}

.careers-container, .support-container {
    padding: 25px 0px;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
}

.bold {
    font-weight: bold;
}

.dem-dropdown {
    border-radius: 0;
    padding: 10px 0;
}

.dem-dropdown li a{
    padding: 7px 20px;
}

.dem-dropdown li .sub-link {
    padding-left: 35px;
    font-size: 14px;
}

.dem-button {
    background: transparent!important;
    border: 0;
}

.nav-container {
    padding: 0px 10px;
}

.event-image {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
}

.event-image-container {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.rune {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    margin: 15px 15px 15px 0;
}

.rune, .rune-text {
    display: inline-block;
    vertical-align: middle;
}

.dem-subcat {
    width: 100%;
    position: absolute;
    left: 0;
    top: 60px;
    background-color: rgba(37,90,48,0.8);
    float: left;
    text-align:center;
    border-top: 1px solid rgba(0,0,0,0.25);
    display: none;
}

.dem-subcat .nav-link {
    padding: 10px;
    width: 100%;
    float: left;
}

.dem-has-subcats:hover .dem-subcat {
    display: block;
}



.nav-item:hover {
    background-color: rgba(37,90,48,1.0);
}

.menu-button {
    display: none;
}

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

    .navbar-nav {
        display: none;
    }

    .nav-container {
        padding: 0 10px;
    }

    .dem-dropdown {
        left: initial;
        right: -10px;
        top: 58px;
    }

    .menu-button {
        padding: 22px 20px 18px 20px;
        float: right;
        outline: 0 !important;
        display: block;
    }

    .demkip-container {
        padding: 25px 75px;
    }

    .award-container {
        padding: 25px;
    }

    .profile-even, .profile {
        margin: 10px 0;
    }

    .careers-container {
        padding: 25px 0px;
    }

    .profile {
        width: 700px;
    }

    .per-profile .profile-image {

    }

    .per-profile .profile-text {
        width: 500px;
        float: left;
    }

    .profile-container .row {
        margin: 0;
    }

    .news {
        margin-top: 25px;
        text-align: center;
    }

    .profile-container {
        padding: 10px 25px;
    }

    .top-image, .top-overlay {
        height: 350px;
    }

    .rune {
        width: 75px;
        height: 75px;
        margin-right: 10px;
    }
}

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

    .rune-container {
        text-align: center;
    }

    .top-title {
        display: none;
    }
    .top-image, .top-overlay {
        height: 250px;
    }

    .demkip-container {
        padding: 25px 35px;
    }

    .header, .header-container {
        height: 50px;
    }

    .dem-dropdown {

        right: -0px;
        top: 48px;
    }

    .events-container {
        padding: 25px;
    }

    .nav-container {
        padding: 0;
    }

    .menu-button {
        padding: 17px 15px 13px 15px;
    }

    .logo {
        width: 150px;
        margin-top: 10px;
        margin-left: 10px;
    }

    .profile-image {
        display: inline-block;
        float: none;
        border-radius: 50%;
        width: 200px;
        height: 200px;
        border: 1px solid #eaeaea;
    }

    .profile {
        width: 280px;
        text-align: center;
        padding: 20px;
        min-height: 508px;
    }

    .profile-container .row {
        margin: 0;
        width: 280px;
        display: inline-block;
    }

    .profile-text, .per-profile .profile-text {
        width: auto;
        padding: 0;
        margin-top: 10px;
    }

    #cinthia {
        background-size: 80%;
    }

    .profile-container {
        padding: 25px 10px;
    }

    .award-container {
        padding: 25px 10px;
    }
}

.footer {
    position: relative;
    border-top: 2px solid #e9e9e9;
    z-index: 1;
}

.page {
    margin-bottom: 0;
    box-shadow: none;
}
