/*

    Aitimata styling css file. Extra rules that enhance the ui layout of aitimata.
    Rules, classes etc. are based on bootstrap 5.1.3

*/

:root {
    --blueDark: #032a3b;
    --blueLight: #98d2d6;
    --teal: #2b7784;
    --whiteLight: #f8f8f8;
    --white: #fff;
    --black: #000;
    --red: #e22d40;
    /* Opacity */
    --blueDark_op: #032a3bd4;
}

* {
    border-radius: 0;
}

.btn,
.form-control,
.select2-container--default .select2-selection--single {
    border-radius: 0;
}

a {
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    text-decoration: underline;
}

a.btn:hover,
a.btn:focus,
a.btn:active {
    text-decoration: none;
}

/* General Use Classes */
.hidden-desktop {
    display: none;
}

.blue-btn {
    background-color: var(--blueDark) !important;
}
.blue-btn:hover, .blue-btn:active, .blue-btn:focus {
    background: var(--blueDark_op) !important;
}

/* Pagination (bs5) */
.page-item:last-child .page-link,
.page-item:first-child .page-link {
    border-radius: 0;
}

.page-link:hover,
.page-link:active,
.page-link:focus {
    text-decoration: none;
}

.page-item.active .page-link {
    background-color: var(--blueDark);
    border-color: var(--blueDark);
}

/* Form */
form label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

/* BODY */
#homePageAitimata {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#homePageAitimata .main-content {
    flex: 1;
}

/* HEADER */
header {
    background-color: var(--blueDark);
}

.brand-icon {
    background: var(--blueLight);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
}

header .navbar-brand, 
header {
    font-size: 25px;
}

header .navbar-brand:hover,
header .navbar-brand:active,
header .navbar-brand:focus {
    text-decoration: none;
}

.user-info {
    font-size: 1.1rem;
}

.login-logout a {
    color: var(--teal);
}

.login-logout a:hover,
.login-logout a:active,
.login-logout a:focus {
    color: var(--blueDark);
    text-decoration: none;
}


/* NAVIGATION */
header nav {
    background-color: var(--whiteLight);
}

.nav-mainmenu .nav-link {
    font-size: 22px;
    font-weight: bold
}

.nav-mainmenu:not(.isAdmin) > li:last-of-type span {
    display: none;
}

.navbar .nav-link:hover, 
.navbar .nav-link:active, 
.navbar .nav-link:focus {
    color: var(--teal) !important;
    text-decoration: none;
}

/* MAIN CONTENT */
.main-content {
    background-color: var(--blueLight);
}

.app-name {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 1px 1px var(--blueDark);
}

.main-content .img-front {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    object-position: center;
    width: 100%;
    object-fit: contain;
}

.button-cont {
    background-color: var(--teal);
    padding: 30px;
}

/* Footer */
#footer {
    font-size: 12px;
    background-color: var(--red);
}

/*Start Comment*/
.comment-container {
    display: flex;
    align-items: start;
    width: 70%;
    margin-top: 20px;
}

.chat-list {
    display: flex;
    flex-direction: column;
}

.chat-list img {
    border-radius: 99px;
}

.media,
.media-body {
    font-size: 1rem;
    zoom: 1;
}

    .media,
    .media .media {
        margin-top: 15px;
    }

        .media:first-child {
            margin-top: 0;
        }

.media-object {
    display: block;
}

.media-heading {
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.gravatar-img {
    border-radius: 50% !important;
    height: 30px;
    width: 30px;
}

.comment-avatar {
    margin-right: 10px;
}

.time-span {
    margin-left: 10px;
    font-size: 0.7rem;
}

.chat-pop {
    background-color: #f4f4f4;
    padding: 8px;
    border-radius: 4px;
    position: relative;
    flex: 1;
}
/*End Comment*/

#ExtraFields .meta-files-lists {
    padding: 4px 0 0;
}

#ExtraFields .lb-metatype-file {
    padding: .5rem 0;
    border-bottom: 2px solid #005cbf;
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: normal;
    color: #6c757d;
}

.form-check-label {
    margin-bottom: 0;
    display: inline;
    font-weight: normal;
}


.footer-info {
    background: #032a3b;
}

.select2-container {
    max-width: 100%;
}
/* Request LocAddress */
#LocAddressContainer {
    height: 30px;
}

.LocAddressResetBtn {
    display: none;
    /*top: 5px !important;
    right: 3px !important;*/
}

.LocAddressList:not(.active) {
    border: none !important;
}

/* Request LocAddress End */

/*Bootbox start*/
.bootbox-close-button {
    border-radius: 10px !important;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: #f7f7f7;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .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;
}

.bootboxBtn {
    border-radius: 10px !important;
}

.modal-footer {
    justify-content: space-between !important;
}
    /* Bootbox end */
