/* ---------------------------------------------------
colors
----------------------------------------------------- */
.rectangle {
    cursor: pointer;
}

.color-nav {
    background-color:#00558a;
    color: white;
}

.color-title {
    color:#504747;
}

.color-icon {
    color:#5ea3c0;
}

.color-active-menu {
    background-color:#112299;
}

.color-inactive {
    color:#cccccc;
}

.logoHeader {
    background-color: var(--cm_blue);
    height: 30px;
    padding-left: 1em;
    padding-right: 1em;
}


:root {
    --cm_blue: #00558A;
    --cm_lightgray: #f4f4f4;
    --cm_gray: #a5a5a5;
    --cm_turquoise: #0480a9;
    --cm_orange: #cf4b2a;
    --cm_violet: #007571;
    --cm_red: #cf4b2a;
    --cm_info: #444444;
    --cm_white: #ffffff;
    --cm_table_background: rgba(244, 244, 244, 0.6);
}
/* ---------------------------------------------------
base.html.twig
----------------------------------------------------- */
body {
    background: #f7fbfd;
    font-size:0.9em;
    overflow: hidden;
}

h1 {
    font-weight:bold;
    text-align:center;
}

p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

i,
span {
    display: inline-block;
}

.card-body.container.fullSize {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 150px);
}

.oddTableLine {
    background-color:#f0f0f0;
}

.selectedTableLine {
    background-color:yellow !important;
}

.hiddenRow {
    display:none;
}

.hideBeforeHover {
    display: none;
}

.showOnHover:hover:not(.whileAssetFolderLink) .hideBeforeHover {
    display: inline;
}

.selected {
    background-color: lightyellow;
}

.hidden {
    display:none !important;
}

.wrapper {
    display: flex;
    align-items: stretch;
}

.fullSize {
    max-width: 100%;
}

.fullHeight {
    height: 88vh !important;
}

#page {
    width: 100%;
    min-height: 100vh;
    overflow-y: auto;
    max-height: 100vh;
}

a.labelDebug {
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline !important;
}

#header {
    padding-top: 10px;
    padding-bottom: 30px;
    width: 100%;
    max-width:100%;
    z-index:20;
}

#footer {
    height:50px;
    width: 100%;
    position:fixed;
    bottom:0px;
    z-index:20;
    display: none; /* DISABLE Footer */
}

#content {
    overflow-y: auto;
    padding: 20px;
    width: 100%;
    margin-top: 0 !important;
}

#sidebar {
    min-width: 200px;
    max-width: 200px;
}
#sidebar.active {
    min-width: 70px;
    max-width: 70px;
    text-align: center;
}

#sidebar > ul {
    position:fixed;
    top:100px;
    width:200px;
}

#sidebar > div {
    position:fixed;
}

#sidebar .sidebar-header {
    padding-top: 10px;
    padding-left: 60px;
    padding-right: 20px;
    padding-bottom: 35px;
}
#sidebar.active .sidebar-header {
    padding: 0px;
    padding-top: 10px;
}

#sidebar.active .sidebar-header h3 {
    display: none;
}

#sidebar .sidebar-header p {
    display: none;
    font-size: 1.8rem;
}
#sidebar.active .sidebar-header p {
    display: block;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1rem;
    display: block;
    text-align: left;
}
#sidebar ul li a:hover {
    background-color: #591b56;
}
#sidebar ul div li a {
    padding: 10px;
    display: block;
    text-align: left;
    font-size: 0.85rem;
}

#sidebar ul li a > :first-child {
    width:20px;
    margin-right: 10px;
}
#sidebar.active ul li a > :first-child {
    margin-right: 0;
    display: block;
    font-size: 1.8rem;
    margin-bottom: 5px;
    background-color: #591b56;
}
#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #591b56;
}

#sidebar.active ul li a span {
    display: none;
}

#sidebar span.me {
    display:none;
}

.popover {
    max-width: 50%;
}

/* ---------------------------------------------------
assets.html.twig
----------------------------------------------------- */
.navigator {
    height:100%;
}

.assetUploader {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.uploadComponent {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    font-size: 1.25rem;
    background-color: #c8dadf;
    position: relative;
    padding: 0px 30px;
    width: 100%;
}

.uploadComponent input[type="file"] {
    width: 0.1px;
    height: 0.1px;
}

.uploadComponent label {
    width: 100%;
    cursor: pointer;
    padding-top: 20px;
    padding-bottom: 10px;
}


/* ---------------------------------------------------
_user.html.twig
----------------------------------------------------- */
.user {
    width: 300px;
    z-index:30;
    font-weight: bold; 
    padding-top: 5px;
    padding-left: 20px;
    padding-bottom: 7px; 
}

/* ---------------------------------------------------
    MESSAGE CLASS
----------------------------------------------------- */
.message {
    position:fixed;
    top:0px;
    right:15px;
    z-index:40;
    border: solid 1px #aaaaaa;
    border-radius: 5px;
    font-weight: bold;  
    box-shadow: 2px 2px 0px #999999;
}

.message.error {
    background-color: red;
    color: yellow;
}

.message.info {
    background-color: #00558a;
    color: #fff;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 992px) {
    .desktop-only {
        display:none !important;
    }

    #sidebar {
        min-width: 70px;
        max-width: 70px;
        text-align: center;
    }

    #sidebar > ul {
        width:70px;
    }

    #sidebar .sidebar-header {
        padding: 0px;
        padding-top: 10px;
    }
    #sidebar .sidebar-header h3 {
        display: none;
    }
    #sidebar .sidebar-header p {
        display: block;
        padding-left: 15px;
    }

    #sidebar ul li a {
        width:100%;
        padding: 20px 10px;
        text-align: center;
    }
    #sidebar ul li a > :last-child {
        display: none;
    }
    #sidebar ul li a > :first-child {
        width:100%;
        margin-right: 0;
        display: block;
        font-size: 1.3rem;
        margin-bottom: 5px;
        text-align:center;
    }
}


table.questionImage {
    height: 100%;
    width: 100%;
}

table.showGridPattern td {
    border: solid 2px grey;
    cursor: pointer;
}

table td.clicked {
    background: rgba(124,181,125,0.5);
}