
html, body {
    margin: 0;
    padding: 0;
}

@media all and (min-width: 768px) {
    html, body {
        height: 100%;
    }
}

body {
    display: flex;
    flex-direction: column;

    background-color: #eee;
}

.error {
    color: #ff0000;
    font-weight: bold;
}

div.marquee {
    font-weight: bold;
    height: 28px;
    margin-top: 4px;
    overflow: hidden;
    padding-top: 4px;
    position: relative;
    white-space:nowrap;
}

.container-fluid div.marquee {
    border-bottom: 1px solid #D8D8D8;
    margin: 0 -15px;
}

@media (min-width: 767px) {
    .fixed-form {
        margin: 0 auto;
        max-width: 700px;
    }
}

#dashboard-clocks {
    background-color: #D5D5D5;
    font-size: 120%;
    margin-top: 55px;
    padding: 40px 0;
}

#dashboard-clocks > div {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#dashboard-clocks hr {
    border-top: 1px solid #A0A0A0;
    margin: 8px 0 16px 0;
}

#dashboard-rates {
    margin-top: 55px;
}

#dashboard-rates div:last-child {
    color: #979797;
    padding-top: 35px;
}

#dashboard-news {
    margin-top: 55px;
}

#dashboard-news div:first-child {
    border-bottom: 1px solid #767676;
    border-top: 1px solid #767676;
    padding: 10px 0;
}

#dashboard-news td {
    vertical-align: top;
    padding: 5px 1px;
}

#dashboard-news a {
    color: black;
}

/* VERTICAL INPUT GROUP */

.input-group-vertical {
    margin-bottom: 10px;
}

.input-group-vertical .form-control {
    border-radius: 0;
}

.input-group-vertical .form-group {
    margin-bottom: 0;
}

.input-group-vertical .form-group:not(:last-child) .form-control:not(:focus) {
    border-bottom-color: transparent;
}

.input-group-vertical .form-group:first-child .form-control {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.input-group-vertical .form-group:last-child .form-control {
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    top: -2px;
}

.portfolio-table th {
    padding: 6px 2px;
    border-bottom: solid 1px #000000;
}

.portfolio-table td {
    padding: 6px 2px;
    border-bottom: dashed 1px #000000;
}

/* BOOTSTRAP HACKS */

h3 {
    text-align: center;
}

.btn {
    background-image: none !important;
    border: 0;
    text-shadow: none;
}

.btn-success {
    background-color: #00db48;
}

.form-control {
    border: 0;
}

.form-control:focus {
    border-color: #66afe9;
    box-shadow: none !important;
    outline: 0;
}

.navbar-default {
    border-radius: 0;
}

.navbar-default .navbar-toggle {
    border: 0;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background: none;
}

.navbar-default a {
    text-align: center;
}

.btn,
.form-control {
    border-radius: 6px;
}

ul.nav img {
    height: 16px;
    margin-top: -3px;
    width: 16px;
}

.navbar-brand img {
    display: inline-block;
    margin-top: -4px;
}

.well {
    background-color: #D2D2D2;
    background-image: none;
    box-shadow: none;
    border: none;
    border-radius: 0 !important;
}

.alert {
    background-image: none !important;
    border-radius: 0 !important;
    border: none;
    box-shadow: none;
    margin: 0 -15px;
}

.alert-success {
    background-color: #00db48;
    color: #FFFFFF;
}

#poll h5 {
    font-size: 16px;
}

#poll .points {
    display: none;
}

/* --- LOGIN --- */
.login {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.login__innerWrapper {
    position: relative;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.login__background {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 0;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.login__backgroundOverlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 5;

    background-color: #000;
    opacity: 0.55;
}

.login__logo {
    width: 100%;
    height: 98px;
    margin: 0 0 30px;

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.login__form {
    width: 370px;
    padding: 0 15px;
    margin: 0 0 50px;

    z-index: 10;
}

.login__marquee {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;

    color: #fff;
}

.login__form input {
    border: 0;
    opacity: 0.8;
}

.login__form button {
    background-image: none;
    background-color: #00db48 !important;
}

.login__form button,
.login__form .form-control {
    height: 38px;
}

.login__form .error {
    color: #FF0000;
    font-weight: bold;
    text-align: center;
}

.login__form a,
.login__form p {
    color: white;
}
/* --- LOGIN END --- */

/* NAV */
.nav {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 15px 30px;

    height: 90px;

    background-color: #FFFFFF;
    border-bottom: 1px solid #CCCCCC;

    z-index: 20;
}

@media all and (max-width: 767px) {
    .nav {
        position: fixed;
        left: 0;
        right: 0;
        height: 60px;
    }
}

.nav::before, .nav::after {
    /* BOOTSTRAP CLEARFIX */
    content: none;
}

.nav__logo {
    height: 60px;
}

@media all and (max-width: 767px) {
    .nav__logo {
        height: 30px;
    }
}

.nav__linksWrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 20px 30px;

    position: fixed;
    top: 61px;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 10;

    background-color: #fff;

    opacity: 0;
    transform: translateX(100%);
    transition: opacity 250ms ease-in-out, transform 450ms ease-in-out;
}

.nav__linksWrapper--open {
    transform: translateX(0);
    opacity: 1;
}

.nav__link {
    display: flex;
    align-items: center;
    margin: 10px 0;

    color: #000 !important;
    text-decoration: none !important;
}

.nav__linkIcon {
    display: inline-block;
    height: 24px;
    width: 24px;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.nav__linkLabel {
    display: inline-block;
    margin-left: 10px;

    font-size: 18px;
}

.nav__user {
    display: flex;
    align-items: center;
    margin-left: auto;
}

@media all and (max-width: 767px) {
    .nav__user {
        display: none;
    }
}

.nav__userIcon {
    width: 37px;
    height: 37px;
}

.nav__userNameWrapper {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    line-height: 1.3;
}

.nav__userName {
    font-weight: 600;
}

.nav__userLogout {
    font-size: 12px;
    color: #000 !important;
    text-decoration: none !important;
    border-bottom: solid 1px transparent;
    transition: border-color 200ms ease-in-out;
}

.nav__userLogout:hover {
    border-bottom-color: #000;
}

.nav__mobileToggle {
    display: none;
    margin-left: auto;
    
    position: relative;
    height: 24px;
    width: 30px;

    cursor: pointer;
}

.nav__mobileToggleLine {
    height: 2px;
    background-color: #000;

    position: absolute;
    left: 0;
    right: 0;

    transition: all 200ms ease-in-out;

    /* MIDDLE LINE */
    top: 50%;
    margin-top: -1px;
}

@media all and (max-width: 767px) {
    .nav__mobileToggle {
        display: block;
    }
}

.nav__mobileToggleLine:first-child {
    top: 0;
}

.nav__mobileToggleLine:last-child {
    top: 22px;
}

.nav__mobileToggleLine:first-child,
.nav__mobileToggleLine:last-child {
    margin-top: 0;
    opacity: 1 !important;
}

.nav__mobileToggle--open .nav__mobileToggleLine {
    opacity: 0;
}

.nav__mobileToggle--open .nav__mobileToggleLine:first-child {
    transform: rotate(45deg);
    top: 10px;
}

.nav__mobileToggle--open .nav__mobileToggleLine:last-child {
    transform: rotate(-45deg);
    top: 10px;
}
/* NAV END  */

/* LAYOUT */
.layout {
    display: flex;
    flex: 1;
    overflow: auto;
}

@media all and (max-width: 767px) {
    .layout {
        margin-top: 60px;
    }
}
/* LAYOUT END */

/* ASIDE */
.aside {
    flex: 0 0 300px;

    display: flex;
    flex-direction: column;

    padding-top: 15px;
    border-right: 1px solid #a6a6a6;

    position: relative;
}

@media all and (max-width: 767px) {
    .aside {
        display: none;
    }
}

.asise__itemLink {
    text-decoration: none !important;
}

.aside__item {   
    height: 60px;
    display: flex;
    align-items: center;

    padding: 0 0 0 30px;

    background-color: transparent;
    transition: background-color 150ms ease-in-out;
}

.aside__item:hover {
    background-color: #ddd;
}

.aside__itemIcon {
    height: 34px;
    width: 34px;
}

.aside__itemLabel {
    margin-left: 25px;
    font-weight: bold;
    color: #000;
}

.aside__itemLink--bottom {
    margin-top: auto;
    order: 99;
}

.aside__itemLink--logout {
    display: none;
}

@media all and (max-width: 767px) {
    .aside__itemLink--logout {
        display: inline;
    }
}

.aside__item--active {
    background-color: #d6d6d6;
}
/* ASIDE END */

/* MAIN */
.main {
    flex: 1;
    overflow: auto;
}
/* MAIN END */