/* ==========================================================================
   NAV
   ========================================================================== */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
    padding: 0;
}
.container {
    width: 100%;
}
.main-nav-menu {
    background-color: #333;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    height: 100px;
    margin: auto;
    color: #fff;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
}
.vcenter-main {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    height: 75%;
    padding: 0;
    margin-top: 0.8em;
}
.vcenter-main-middle {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    border-left: 1px solid rgba(255,255,255,0.5);
    border-right: 1px solid rgba(255,255,255,0.5);
    height: 75%;
    padding: 0;
    margin-top: 0.8em;
}
.vcenter-user {
    padding: 0;
    text-align: left;
    padding-top: 0.6em;
    margin-left: 20px;
    width: calc(100% - 65px);
}
.vcenter-user-name {
    text-align: left;
    padding: 0;
    padding-top: 1%;
}
.vcenter-date {
    padding-left: 30px;
    margin-top: -10px;
}
.vcenter-main-last {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    height: 75%;
    padding: 0;
    margin-top: 0.8em;
}
.hour-main {
    font-weight: normal;
    letter-spacing: 0;
    font-size: 40px;
    margin-top: 22px;
    text-align: right;
}
.day {
    float: left;
    font-weight: normal;
    letter-spacing: 0;
    font-size: 65px !important;
    margin: 17px 0 10px 10px;
}
.month {
    font-weight: bold;
    margin-bottom: -2px;
}
.weekday {
    margin: 0;
}
.year {
    font-size: 16px;
}
.weather p {
    margin: 0;
}
.min-temp {
    font-size: 23px;
    text-align: right;
}
.temperature-div {
    font-size: 17px;
    padding: 0;
    margin-left: 20px;
    width: calc(50% - 20px);
}
.max-temp {
    font-size: 30px;
}
.humidity-div {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    margin-top: 1em;
    padding: 0;
    margin-left: 30px;
    width: calc(50% - 30px);
}
.humidity {
    font-size: 30px;
    vertical-align: middle;
    padding: 0;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    margin-top: -5px;
}
.humidity-div img {
    height: 43px;
    margin-right: 10px;
    border-right: 1px solid rgba(255,255,255,0.5);
    padding-right: 10px;
    margin-top: 5px;
}
.humidity-label {
    margin: 0;
    text-align: center;
    margin-top: -20px;
}
.logout {
    cursor: pointer;
    margin-right: 10px;
}
.logout img {
    height: 25px;
    width: 25px;
}
.main-welcome {
    font-size: 18px;
    margin: 0;
    margin-left: -15px;
    margin-top: 10px;
}
.main-username {
    font-size: 22px;
    margin: auto;
    position: absolute;
    margin-left: 15px;
    margin-top: 18px;
    text-align: left;
    line-height: 26px;
    word-break: break-word;
}
.user-logo img {
    height: 60px;
    width: 60px;
    background-color: #eff3f4;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-object-position: 50% 0;
    -moz-object-position: 50% 0;
    -ms-object-position: 50% 0;
    -o-object-position: 50% 0;
    object-position: 50% 0;
}
.main-settings {
    text-align: center;
    cursor: pointer;
    padding: 0;
}
.main-settings img {
    height: 40px;
    margin-top: 30px;
}
/* ==========================================================================
   RIGHT MENU
   ========================================================================== */
.main-right-fixed {
    position: fixed;
    right: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    background: url(../img/login/login_bck.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 100%;
    padding-top: 108px;
}
.main-right-fixed img {
    height: 65px;
    width: 65px;
    vertical-align: baseline;
}
.main-menu-notification-box {
    display: table;
}
.main-menu-notification-box span {
    vertical-align: bottom;
}
.exclamation-img {
    height: 30px !important;
    width: 30px !important;
    margin-right: 5px;
    vertical-align: sub !important;
}
.video-surveillance-icon {
    width: 75px !important;
}
.icon {
    text-align: right;
    font-size: 35px;
}
.unavailable {
    opacity: 0.5;
    cursor: auto;
}
.unavailable img {
    opacity: 0.3;
    cursor: auto;
}
.main-square {
    cursor: pointer;
    border-bottom: 1px solid #9CCDC7;
}
.main-square p {
    margin-top: 0;
    position: absolute;
    top: 55%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.no-cursor .main-square {
    cursor: default !important;
}
.main-menu-name {
    display: block;
    font-size: 22px;
}
.main-menu-middle {
    margin: 20px 0;
}
.main-square-middle {
    border-left: 1px solid #9CCDC7;
    border-right: 1px solid #9CCDC7;
}
.main-square-height {
    height: 100%;
    margin-top: 10px;
}
.main-content .main-menu-box:nth-last-child(3) .main-square {
    border-bottom: 0;
}
.main-content .main-menu-box:nth-last-child(2) .main-square {
    border-bottom: 0;
}
.main-content .main-menu-box:last-child .main-square {
    border-bottom: 0;
}
.main-menu-notification {
    color: yellow;
    font-weight: 700;
}
/* ==========================================================================
   NOTIFICATIONS
   ========================================================================== */
    .main-notifications-box {
        z-index: 1;
        position: absolute;
        top: -200px;
        text-align: left;
        padding-left: 15px;
        -webkit-transition: top .2s ease-in;
        -moz-transition: top .2s ease-in;
        -o-transition: top .2s ease-in;
        transition: top .2s ease-in;
        background: rgba(51,51,51,1);
        color: #fff;
        max-height: calc(100vh - 250px);
        overflow: hidden;
        padding: 0;
        margin-left: 1%;
        width: 31.333333%;
    }
    .show-notifications {
        top: 100px !important;
        border-top: 1px solid rgba(255,255,255,.5);
    }
    .main-notifications-box img {
        height: 20px;
        padding-right: 5px;
    }
    .notifications-number {
        position: absolute;
        top: 25px;
        right: -25px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #eaeff2;
        color: #00a79d;
        text-align: center;
        line-height: 30px;
        cursor: pointer;
        font-weight: 700;
    }
    .green-ball {
        background: #ec9938;
        color: #fff;
    }
    .notification-messages::-webkit-scrollbar {
        height: 8px;
        width: 8px;
        border: 3.5px solid #eaeff2;
        background-color: #eaeff2;
        background-color: rgba(234,239,242,1);
    }
    .notification-messages::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0);
        -moz-box-shadow: inset 0 0 2px rgba(0,0,0,0);
        box-shadow: inset 0 0 2px rgba(0,0,0,0);
    }
    .notification-messages::-webkit-scrollbar-thumb {
        background: #96969b;
        background: rgba(150,150,155,1);
    }
    .notification-messages::-webkit-scrollbar-thumb:window-inactive {
        background: #96969b;
        background: rgba(150,150,155,1);
    }
    .close-notifications-arrow {
        margin: 0;
        text-align: center;
        margin-left: -15px;
        margin-right: -15px;
        cursor: pointer;
        height: 30px;
        border-top: 1px solid rgba(255,255,255,.5);
    }
    .close-notifications-arrow img {
        border: 0;
        padding: 0;
        transform: rotate(-90deg);
    }
    .clear-notification {
            margin: 0;
            text-align: center;
            margin-left: -15px;
            margin-right: -15px;
            cursor: pointer;
            height: 30px;
            border-top: 1px solid rgba(255,255,255,.5);
        }
    .notification-messages {
        max-height: calc(100vh - 280px);
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0;
    }
    .notification-messages div {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,.5);
        display: table;
        width: calc(100% + 1px);
        padding-left: 15px;
        padding-right: 0;
        cursor: pointer;
    }
    .notification-messages div:last-child {
        border: 0;
        margin-bottom: 0;
    }
    .no-notifications-message {
        text-align: center;
    }
    .notification-messages p {
        display: table-cell;
        vertical-align: middle;
    }
    .unreadable-notification {
        background: rgba(150,150,150,.7);
    }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media only screen and (max-width: 1199px) {
    .logout {
        margin-right: 12px;
    }
    .user-logo img {
        height: 50px;
        width: 50px;
    }
    .main-welcome {
        font-size: 18px;
        margin-top: 3px;
    }
    .main-username {
        font-size: 20px;
        margin-top: 15px;
        line-height: 22px;
        margin-left: 15px;
    }
    .humidity-div {
        margin-top: .8em;
        margin-left: 20px;
        width: calc(50% - 20px);
    }
    .humidity-div img {
        height: 40px;
        padding-right: 10px;
        margin-top: 2px;
    }
    .humidity {
        font-size: 22px;
        margin-top: -1px;
    }
    .day {
        font-size: 55px !important;
        margin: 14px 0 5px 0;
    }
    .month {
        font-size: 18px !important;
        margin-top: 15px;
    }
    .weekday {
        font-size: 14px !important;
    }
    .year {
        font-size: 14px !important;
    }
    .hour-main {
        font-size: 30px;
        margin-top: 20px;
    }
    .max-temp {
        font-size: 22px;
    }
    .min-temp {
        font-size: 18px;
    }
    .temperature-div {
        margin-top: 3px;
    }
    .main-nav-menu {
        height: 80px;
    }
    .main-right-fixed img {
        height: 55px;
        width: 55px;
    }
    .exclamation-img {
        height: 25px !important;
        width: 25px !important;
    }
    .video-surveillance-icon {
        width: 65px !important;
    }
    .main-right-fixed {
        padding-top: 82px;
    }
    .main-notifications-box {
        max-height: calc(100vh - 230px);
    }
    .notification-messages {
        max-height: calc(100vh - 260px);
    }
    .show-notifications {
        top: 80px !important;
    }
    .notifications-number {
        top: 15px;
        right: -27px;
        width: 28px;
        height: 28px;
    }
    .vcenter-user {
        padding-top: 0.4em;
        width: calc(100% - 67px);
    }
    .main-settings img {
        height: 35px;
        margin-top: 23px;
    }
}
@media only screen and (max-width: 1050px) {
    .humidity-div {
        margin-left: 15px;
        width: calc(50% - 15px);
    }
    .user-logo img {
        height: 45px;
        width: 45px;
    }
    .logout {
        margin-right: 7px;
    }
    .main-username {
        margin-left: 12px;
    }
}
@media only screen and (max-width: 991px) {
    .vcenter-main {
        margin-top: 0.6em;
    }
    .vcenter-main-middle {
        margin-top: 0.6em;
    }
    .vcenter-user {
        padding-top: 0.3em;
        margin-left: 15px;
        width: calc(100% - 62px);
    }
    .main-nav-menu {
        height: 65px;
    }
    .day {
        font-size: 40px !important;
        margin: 20px 0 0 0;
    }
    .month {
        font-size: 14px !important;
        margin-top: 13px;
    }
    .weekday {
        font-size: 13px !important;
        margin-bottom: -2px;
    }
    .hour-main {
        font-size: 26px;
        margin-top: 15px;
    }
    .max-temp {
        font-size: 18px;
    }
    .min-temp {
        font-size: 14px;
    }
    .temperature-div {
        font-size: 14px;
    }
    .humidity {
        font-size: 18px;
    }
    .humidity-div {
        margin-top: 0.8em;
        margin-left: 15px;
    }
    .humidity-div img {
        height: 40px;
        margin-right: 5px;
        padding-right: 5px;
        margin-top: -5px;
    }
    .humidity-info {
        margin-top: -3px;
    }
    .humidity-label {
        margin-top: -16px;
    }
    .logout {
        margin-right: 2px;
    }
    .user-logo img {
        height: 40px;
        width: 40px;
    }
    .main-username {
        font-size: 16px;
        margin: auto;
        position: absolute;
        margin-left: 7px;
        margin-top: 11px;
        line-height: 20px;
    }
    .main-welcome {
        font-size: 14px;
        margin-top: 3px;
    }
    .main-right-fixed {
        padding-top: 70px;
    }
    .main-right-fixed img {
        height: 45px;
        width: 45px;
    }
    .exclamation-img {
        height: 20px !important;
        width: 20px !important;
    }
    .video-surveillance-icon {
        width: 50px !important;
    }
    .logout img {
        height: 20px;
        width: 20px;
    }
    .main-menu-name {
        font-size: 18px;
    }
    .vcenter-date {
        margin-top: -13px;
        padding-left: 30px;
    }
    .main-notifications-box {
        max-height: calc(100vh - 215px);
    }
    .notification-messages {
        max-height: calc(100vh - 245px);
    }
    .show-notifications {
        top: 65px !important;
    }
    .notifications-number {
        width: 25px;
        height: 25px;
        line-height: 25px;
    }
    .notifications-number {
        top: 13px;
        width: 25px;
        height: 25px;
        line-height: 26px;
    }
    .main-settings img {
        height: 30px;
        margin-top: 18px;
    }
}
@media only screen and (max-width: 860px) {
    .humidity-div {
        margin-left: 10px;
    }
    .humidity-div img {
        height: 35px;
    }
    .day {
        font-size: 40px !important;
        margin: 19px 0 5px -10px;
    }
/*    .hour-main {
        font-size: 22px;
        margin-top: 19px;
    }
    .vcenter-date {
        width: 75%;
        margin-top: -12px;
    }*/
}
@media only screen and (max-width: 800px) {
    .temperature-div span {
        font-size: 16px;
    }
    .temperature-div {
        margin-left: 10px;
        width: calc(50% - 15px);
    }
    .humidity-div {
        margin-left: 0;
    }
    .humidity-label {
        font-size: 16px;
    }
    .notifications-number {
        font-size: 16px;
        right: -37px;
    }
    .vcenter-user {
        margin-left: 10px;
        width: calc(100% - 57px);
    }
    .hour-main {
        font-size: 30px;
        margin-top: 10px;
    }
    .main-nav-menu .col-sm-3 {
        padding-left: 10px;
    }
}
@media only screen and (max-width: 768px) {
    /* ==========================================================================
       NAV
       ========================================================================== */
    .vcenter-user {
        padding-top: 0;
        width: calc(100% - 65px);
    }
    .vcenter-main-middle {
        border-right: 0;
        margin-top: 1em;
        width: 0;
    }
    .vcenter-main-last {
        width: 50%;
        margin-top: 2em;
    }
    .vcenter-date {
        margin-top: -16px;
    }
    .hour-main {
        font-size: 35px;
        margin-top: 7px;
    }
    .day {
        font-size: 50px !important;
        margin: 19px 0px 5px 0;
    }
    .weekday {
        font-size: 18px !important;
    }
    .month {
        font-size: 20px !important;
        margin-top: 10px;
    }
    .year {
        font-size: 16px !important;
    }
    .logout {
        margin-right: 7px;
    }
    .logout img {
        height: 32px;
        width: 32px;
    }
    .user-logo img {
        height: 55px;
        width: 55px;
    }
    .main-username {
        font-size: 20px;
        margin-left: 12px;
        margin-top: 14px;
        line-height: 26px;
    }
    .vcenter-main {
        margin-top: 2.2em;
        width: 50%;
    }
    .temperature-div {
        display: none;
    }
    .humidity-div {
        display: none;
    }
    .main-settings {
        display: block !important;
        width: calc(50% - 1px);
    }
    .main-settings img {
        height: 45px;
        margin-top: 38px;
    }
    /* ==========================================================================
       RIGHT MENU
       ========================================================================== */
    .mobile-border {
        width: 50%;
    }
    .main-nav-menu {
        height: 120px;
    }
    .main-notifications-box {
        width: 100%;
        margin: 0;
        max-height: calc(100vh - 120px);
    }
    .notification-messages {
        max-height: calc(100vh - 150px);
    }
    .show-notifications {
        top: 120px !important;
    }
    .main-right-fixed img {
        height: 60px;
        width: 60px;
    }
    .exclamation-img {
        height: 18px !important;
        width: 18px !important;
    }
    .main-menu-middle {
        margin: 0;
    }
    .main-square-middle {
        border-left: 0;
        border-right: 0;
    }
    .main-square p {
        font-size: 16px;
    }
    .video-surveillance-icon {
        width: 60px !important;
    }
    .main-content .main-menu-box:nth-last-child(3) .main-square {
        border-bottom: 1px solid #9CCDC7;
    }
    .main-square-height span {
        font-size: 24px;
    }
    .main-right-fixed {
        padding-top: 137px;
    }
    .main-square-height {
        margin-top: 0;
    }
    .notifications-number {
        top: 10px;
        right: -40px;
        width: 35px;
        height: 35px;
        line-height: 37px;
    }
}
@media only screen and (max-width: 700px) {
    .logout {
        margin-right: 5px;
    }
    .logout img {
        height: 30px;
        width: 30px;
    }
    .user-logo img {
        height: 50px;
        width: 50px;
    }
    .main-username {
        margin-left: 9px;
    }
    .vcenter-main {
        margin-top: 2.4em;
    }
    .notifications-number {
        top: 8px;
    }
}
@media only screen and (max-width: 650px) {
    .vcenter-user {
        margin-left: 10px;
        width: calc(100% - 52px);
    }
    .logout {
        margin-right: 0;
    }
    .logout img {
        margin-top: 12px;
    }
    .main-username {
        font-size: 20px;
        margin-left: 5px;
        margin-top: 14px;
    }
    .main-settings img {
        height: 40px;
    }
    .hour-main {
        float: left;
    }
    .vcenter-date {
        padding-left: 10px;
    }
    /* ==========================================================================
       RIGHT MENU
       ========================================================================== */
    .main-square p {
        top: 50%;
        font-size: 14px;
    }
    .main-menu-notification {
        font-size: 16px !important;
    }
    .exclamation-img {
        height: 15px !important;
        width: 15px !important;
    }
    .main-right-fixed img {
        height: 43px;
        width: 43px;
    }
    .video-surveillance-icon {
        width: 50px !important;
    }
    .main-square-height span {
        font-size: 20px;
    }
    .notifications-number {
        right: 7px;
    }
    .notifications-number {
        top: 11px;
        right: -33px;
    }
    .user-logo img {
        display: none;
    }
    .vcenter-main {
        margin-top: 2.2em;
    }
}
@media only screen and (max-width: 600px) {
    .day {
        font-size: 45px !important;
        margin-top: 25px;
    }
    .weekday {
        font-size: 16px !important;
    }
    .month {
        font-size: 18px !important;
        margin-top: 15px;
    }
}
@media only screen and (max-width: 550px) {
    .logout img {
        margin-top: 0;
        height: 27px;
        width: 27px;
    }
    .vcenter-main {
        padding-top: 15px;
    }
    .notifications-number {
        top: -2px;
        right: -30px;
        width: 30px;
        height: 30px;
        line-height: 32px;
    }
    .main-username {
        font-size: 18px;
        margin-left: -2px;
        margin-top: 2px;
        width: calc(100% - 40px);
        text-align: center;
        line-height: 22px;
        word-wrap: break-word;
    }
}
@media only screen and (max-width: 500px) {
    .vcenter-date {
        padding-left: 0;
    }
    .hour-main {
        font-size: 30px;
        margin-top: 10px;
    }
}
@media only screen and (max-width: 450px) {
    /* ==========================================================================
       NAV
       ========================================================================== */
    .main-nav-menu {
        height: 100px;
    }
    .main-notifications-box {
        max-height: calc(100vh - 100px);
    }
    .notification-messages {
        max-height: calc(100vh - 130px);
    }
    .show-notifications {
        top: 100px !important;
    }
    .main-right-fixed {
        padding-top: 100px;
    }
    .vcenter-main {
        margin-top: 25px;
        padding-top: 10px;
    }
    .vcenter-main-middle {
        margin-top: 1em;
    }
    .vcenter-user-name {
        padding-top: .4em;
        padding-left: 10px;
    }
    .main-welcome {
        font-size: 12px;
    }
    .main-username {
        font-size: 15px;
        margin-left: 0;
        margin-top: 3px;
        width: calc(100% - 33px);
        text-align: center;
    }
    .main-settings img {
        height: 35px;
        margin-top: 32px;
    }
    .vcenter-main-last {
        margin-top: 1em;
    }
    .hour-main-div {
        display: none;
    }
    .vcenter-date {
        width: 100%;
        padding-left: 25%;
        margin-top: -12px;
    }
    /* ==========================================================================
       RIGHT MENU
       ========================================================================== */
    .main-square p {
        font-size: 12px;
    }
    .main-right-fixed img {
        height: 35px;
        width: 35px;
    }
    .exclamation-img {
        height: 20px !important;
        width: 20px !important;
    }
    .video-surveillance-icon {
        width: 40px !important;
    }
    .main-menu-name {
        font-size: 16px;
    }
    .notifications-number {
        width: 30px;
        height: 30px;
        line-height: 30px;
        top: 0;
        right: -32px;
    }
    .main-square-height span {
        font-size: 17px;
    }
}
@media only screen and (max-width: 400px) {
    .logout img {
        height: 25px;
        width: 25px;
        margin-top: 2px;
        margin-left: -5px;
    }
    .notifications-number {
        width: 28px;
        height: 28px;
        line-height: 30px;
        top: 1px;
    }
    .day {
        font-size: 40px !important;
        margin-top: 29px;
    }
}
@media only screen and (max-width: 350px) {
    /* ==========================================================================
       NAV
       ========================================================================== */
    .vcenter-user {
        padding-top: 0;
    }
    .vcenter-main {
        padding-top: 4px;
    }
    .vcenter-main-middle {
        margin-top: 0.6em;
    }
    .main-nav-menu {
        height: 90px;
    }
    .main-notifications-box {
        max-height: calc(100vh - 60px);
    }
    .notification-messages {
        max-height: calc(100vh - 90px);
    }
    .show-notifications {
        top: 60px !important;
    }
    .vcenter-user-name {
        padding-top: 0;
        margin-left: 5px;
    }
    .main-welcome {
        margin-top: 0;
    }
    .main-settings img {
        margin-top: 27px;
    }
    /* ==========================================================================
       RIGHT MENU
       ========================================================================== */
    .main-square p {
        font-size: 10px;
    }
    .main-menu-notification-box span {
        vertical-align: text-top;
    }
    .exclamation-img {
        height: 10px !important;
        width: 10px !important;
    }
    .video-surveillance-icon {
        width: 45px !important;
    }
    .main-username {
        line-height: 20px;
    }
}
@media only screen and (max-height: 400px) {
    .main-nav-menu {
        height: 90px;
    }
    .main-notifications-box {
        max-height: calc(100vh - 90px);
    }
    .notification-messages {
        max-height: calc(100vh - 120px);
    }
    .show-notifications {
        top: 90px !important;
    }
    .main-right-fixed img {
        height: 30px;
        width: 30px;
    }
    .video-surveillance-icon {
        width: 40px !important;
    }
    .main-right-fixed {
        padding-top: 97px;
    }
    .main-square-height span {
        font-size: 16px;
    }
    .vcenter-main {
        margin-top: 1.2em;
    }
    .vcenter-main-middle {
        margin-top: .7em;
    }
}
@media only screen and (max-height: 350px) {
    .vcenter-date {
        padding-left: 20%;
    }
    .day {
        font-size: 40px !important;
        margin-top: 22px;
    }
    .month {
        font-size: 16px !important;
        margin-top: 12px;
    }
    .main-settings img {
        margin-top: 18px;
    }
}
