﻿/* Common */

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", "Segoe UI", helvetica, verdana, sans-serif;
}

header, main, footer {
    margin-left: 0 !important;
}

/* Angular overload - forms and buttons */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.8rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    cursor: pointer;
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #1e7e34;
    border-color: #1c7430;
}

.width200 {
    width: 200px;
}

.form-group {
    margin-bottom: 1rem;
}

/* Specific controls */

h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.login-inner, .changepassword-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.credentials-button {
    padding-top: 5px !important;
}

#logged-username {
    cursor: pointer;
    color: #308bdb;
    border-bottom: 1px solid #308bdb;
    text-decoration: none;
}

.user-gototheaccount {
    cursor: pointer;
}

.atpai-start-container {
    width: 100%;
    height: 100%;
}

.auth-container, .change-password-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header {
    height: 100px;
}

.logo-container {
    height: 100px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #cae8ff;
}

main {
    height: calc(100% - 200px);
}

footer,
.footer {
    height: 100px !important;
}

.content-container {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.atpai-crm-text {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.footer-container > div {
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-text-crm {
    font-weight: bold;
    margin-bottom: .3rem;
}

#login-status-row {
    font-size: 1.4rem;
}

.main-menu-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .main-menu-container .atpai-menu-item {
        margin-top: .5rem;
        margin-bottom: .5rem;
    }

.main-menu-welcomebox {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.main-menu-welcomebox--welcome {
    font-weight: bold;
}

#welcome-notifications-counter {
    margin-left: -.2rem;
}

.user-dont-have-access-to-any-crm-part {
    margin-top: 2rem;
}

.user-auth-bottom-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

    .user-auth-bottom-buttons > div {
        margin-bottom: .3rem;
    }

.user-logout, .user-changepassword, .cancel-change-password {
    cursor: pointer;
    font-size: 1.2rem;
    color: #308bdb;
    border-bottom: 1px solid #308bdb;
}

.user-gototheaccount {
    cursor: pointer;
    font-size: 1.2rem;
    color: #308bdb;
    border-bottom: 1px solid #308bdb;
    text-decoration: none;
    margin-bottom: .3rem;
}

.cancel-change-password {
    margin-top: .5rem;
}

.change-password-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.unread-notifications-block {
    color: #004db3;
    font-size: 90%;
    position: relative;
    left: 0.2rem;
    top: 0.1rem;
    cursor: help;
}

.unread-notifications-block.user-have-critical-notifications {
    color: red;
}

.ateam-join-beta-block {
    margin-top: 20px; 
}

.ateam-join-beta-block a {
    cursor: pointer;
    color: #308bdb;
    border-bottom: 1px solid #308bdb;
    text-decoration: none;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.2rem;
}