.background {
    background-image: url(../images/earth.png);
    background-color: black;
    background-repeat: no-repeat;
    background-size: contain;
}

.connect {
    display: none !important;
}

#connectForm {
    padding:1rem;
}

@media (min-width:500px) {
    #connectForm {
        max-width: 25vw !important;
    }
}

#connectForm input {
    width:100%;
}

#auth_error {
    padding-bottom: 1rem;
}

.inputGroup label{
    margin-bottom: 0.5rem;
    height: 2rem;
    display: block;
}

.inputGroup input{
    margin-bottom: 0.5rem;
    width: 100%;
    display: block;
}

.inputGroup select {
    display: block;
}

.formInput {
    margin-bottom: 0.5rem;
}

fieldset {
    margin-top: 1rem;
}

legend {
    font-size: 1rem;
}

.title {
    color: white;
    font-size: 2rem;
    padding: 1rem;
    padding-right: 2rem;
}

@media (orientation: portrait) {
    .title {
        font-size: 1.5rem;
    }
}

.login-form {
    position: relative;
    top: 5rem;
}

.roundPanel {
    border-radius: 0.5rem;
}

.menuPanel {
    border-radius: 0.5rem;
    opacity: 0.9;
    background-color: #FEFEFE;
}

a.nav-link {
    color: black;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.inactiveGrp {
    color: #777777 !important;
}

.dropdown-item {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    white-space: normal;
}

#menu-panel {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
}

.navbar .dropdown-toggle, .navbar .dropdown-menu a {
    cursor: pointer;
}

.navbar-nav {
    padding: 0.5rem;
    max-height: 80vh;
    overflow: scroll;
}

.navbar .dropdown-item.active, .navbar .dropdown-item:active {
    color: inherit;
    text-decoration: none;
    background-color: inherit;
}

.dropdown-item:focus,.dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    border-radius: 0.3rem;
    background-color: lightsteelblue;
}

.nav-link:focus,.nav-link:hover {
    color: #16181b;
    text-decoration: none;
    border-radius: 0.3rem;
    background-color: lightsteelblue;
}

.dropdown-menu {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    background-color: #DDDDDD ;
}

/*
@media (max-width: 450px)  {
    #navbarCollapse {
        position: absolute;
        z-index: 5000;
        width: 95vw;
        top: 8vh;
        display: none;
    }
    #menu {
        background-color: #DDDDDD;
        opacity:0.95;
    }
    .navbar-nav {
        max-height:90vh;
    }
    .navbar-toggler {
        display: inline-block !important;
    }
}*/

/*@media  (min-width: 451px) and (max-width: 767px)  {*/
/*@include media-breakpoint-down(lg) {*/

@media (min-width: 501px) and (max-width:991px) {
    .navbar-collapse {
        position: absolute;
        z-index: 5000;
        right: 0.5rem;
        max-width: 20rem;
        top: 8vh;
    }
    #menu {
        background-color: #FEFEFE;
        opacity:0.95;
    }
    .navbar-nav {
        max-height:90vh;
    }
    /*
    .navbar-toggler {
        display: inline-block !important;
    }
    */
}

@media (max-width: 500px) {
    .navbar-collapse {
        position: absolute;
        z-index: 5000;
        width: 95vw;
        top: 8vh;
        margin-left:2.5vw
    }
    .info {
        position: absolute;
        z-index: 5000;
        width: 95vw;
        top: 8vh;
        margin-left:2.5vw
    }
    #menu {
        background-color: #FEFEFE;
        opacity: 0.97;
    }
    .navbar-nav {
        max-height:90vh;
    }
    /*
    .navbar-toggler {
        display: inline-block !important;
    }
    */
}

@media (min-width: 1251px) {
    /*
    .navbar-toggler {
        display: none;
    }
    */
}

.navbar-toggler {
    background-color: #EEEEEE;
    color: black;
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
}

.lastContent-toggler {
    background-color: #EEEEEE;
    color: black;
    position: fixed;
    top: 0.5rem;
    right: 4rem;
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.divider {
    height: 1px;
    min-height: 1px;
    overflow: hidden;
    background-color: #cccccc;
}

@media (max-width: 1366px) {
    .title {
        text-align: left !important;
        padding-top: 0.2rem;
        max-width: 90vw;
    }

}

@media (min-width: 1367px) {
    #contentRow {
        padding:1rem;
        height:90vh;
    }
}

span .cat-level-0 {
    border-radius: 0.2rem;
    background-color: lightsteelblue;
    padding: 0.3rem;
    width: 100%;
    font-weight: 700;
    display: inline-block;

}

#content {
    overflow-y: scroll;
    max-height: 90vh;
}

#calendar {
    width: 100%;
    padding: 1rem;
    background-color: #cccccc;
}

#lastContent {
    overflow-y: scroll;
    max-height: 90vh;
    margin-bottom: 0.5rem;
}

#lastContent .contentHeaderPanel {
    margin-top: 0;
}

.contentPanel {
    background-color:#FFFFFF;
    margin-top: 0;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.content-text {
    padding-left: 0.5rem;
    padding-right: 0.5rem
}

.lastContentRow {
    margin-left:0; 
    margin-right:0;
    margin-top:0.5rem;
    margin-bottom:0;
}


.lastContentTitleRow {
    margin-left:0; 
    margin-right:0;
    margin-bottom:0;
}

.lastContentTitle {
    font-size: 1rem;
    font-weight: 700;
    background-color:#cccccc;
}

.nextEventRow {
    margin-left:0; 
    margin-right:0;
    margin-top:0.5rem;
    margin-bottom:0;
}

#nextEvents {
    margin-bottom: 1rem;
}


.nextEventTitleRow {
    margin-left:0; 
    margin-right:0;
    margin-bottom:0;
}

.nextEventTitle {
    font-size: 1rem;
    font-weight: 700;
    background-color:#cccccc;
}

@media (orientation: portrait) and (max-width: 500px) {
/*@media (max-width: 991px) {*/
    #content {
        max-height: 80vh;
        margin-bottom: 15px;
        padding-bottom: 0rem
    }
    /*
    #lastContent {
        max-height: 30vh;
        /*margin-left: -10px;
        margin-right: -10px;
    }
    */
    .contentPanel {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0;
    }
    .lastContentTitle {
        background-color: #cccccc;
    }
}

/*
@media (min-width: 768px) {
    #content {
        margin-left: 0.2rem;
        margin-right: 0.1rem;
    }
    #info {
        margin-left: 0.1rem;
        margin-right: 0.2rem;
    }
    .contentPanel {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}
*/



.lastContentPanel {
    background-color:#FFFFFF;
    margin-top: 0;
    padding: 0.3rem;
    opacity: 0.9;
    border-radius: 0.5rem;
}

.contentHeaderPanel {
    background-color: cornflowerblue;
    color: #FAFAFA;
    font-size: 0.8rem;
    padding: 0.2rem;
    border-radius: 0.3rem;
    margin-top: 0.5rem
}

.lastContentPanel .contentHeaderPanel {
    display: flex;
}

.lastContentPanel .content-title {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.moonPhasePanel {
    margin-bottom: 1rem;
}

.nextEventPanel {
    background-color:#FFFFFF;
    margin-top: 0.5rem;
    padding: 0.3rem;
    opacity: 0.9;
    border-radius: 0.5rem;
}

.eventHeaderPanel {
    font-size: 0.8rem;
    border-radius: 0.5rem;
    margin: 0;
    opacity: 0.9;
    width: 15%;
    text-align: center;
}

.eventHeaderDate {
    padding: 0.2rem;
    background-color: transparent;
    border-radius: 0.5rem 0.5rem 0 0;
}

.eventHeaderHour {
    padding: 0.2rem;
    color: #000000;
    background-color:#EEEEEE;
    opacity: 0.7;
    border-radius: 0 0 0.5rem 0.5rem
}

.nextEventLabel {
    font-size: 1rem;
    font-weight: 700;
}

.nextEventGroup {
    font-size: 0.9rem;
    font-style: italic;
}

.content-date {
    font-size: 0.8rem;
    padding-right:0.5rem;
}

.content-user {
    font-size: 0.8rem;
}

.content-categorie {
    text-align: right;
    font-size: 0.8rem;
}

.content-title {
    margin-bottom: 1rem;
    border-bottom: solid 1px #999999;
    font-weight: 700;
    padding: 0.2rem
}

.content-short {
    max-height: 10rem;
    padding-bottom: 0.5rem;
    overflow: hidden;
    padding: 0.2rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.content-short img {
    max-width: 100%;
    height: auto
}

.contentFooter {
    /*
    background-color:lightsteelblue;
    background-image: -moz-repeating-radial-gradient(100% -100%, circle cover, rgba(191,215,255), rgba(120, 139, 255) 3%), -moz-repeating-radial-gradient(50% -100%, circle cover, rgba(191,215,255,0.8), rgba(120, 139, 255, 0.8) 3%);
    background-image: -webkit-repeating-radial-gradient(100% -100%, circle cover rgba(191,215,255), rgba(120, 139, 255) 3%), -webkit-repeating-radial-gradient(50% -100%, circle cover rgba(191,215,255,0.8), rgba(120, 139, 255, 0.8) 3%);
    background-image: -o-repeating-radial-gradient(100% -100%, circle cover, rgba(191,215,255), rgba(120, 139, 255) 3%), -o-repeating-radial-gradient(50% -100%, circle cover, rgba(191,215,255,0.8), rgba(120, 139, 255, 0.8) 3%);
    background-image: -ms-repeating-radial-gradient(100% -100%, circle cover,rgba(191,215,255), rgba(120, 139, 255) 3%), -ms-repeating-radial-gradient(50% -100%, circle cover, rgba(191,215,255,0.8), rgba(120, 139, 255, 0.8) 3%);
    background-image: repeating-radial-gradient(100% -100%, circle cover,rgba(191,215,255), rgba(120, 139, 255) 3%), repeating-radial-gradient(50% -100%, circle cover, rgba(191,215,255,0.8), rgba(120, 139, 255, 0.8) 3%)  ;
	background-blend-mode: overlay;
*/

    background-color: cornflowerblue;
    color: #FAFAFA;
    text-align: right;
    padding: 0.2rem;
    border-radius: 0.3rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    bottom: 0rem;
}

.content-action {
    cursor: pointer;
    font-size: 0.8rem;
    font-style: italic;
    text-decoration: underline;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

.content-size {
    font-size: 0.8rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

.content-show {
    font-size: 0.8rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

.download-content a {
    color: black;
}

.pointer {
    cursor: pointer
}

.vertical-push {
    margin-top: auto;
}

.push {
    margin-left: auto;
}

.modal-content-categorie {
    font-size: italic;
}

#modalContent .modal-header {
    margin: 0.5rem;
    padding: 0.5rem;
    color: #F0F0F0;
    background-color: cornflowerblue;
}

.modal-footer {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}
.content-comment {
    background-color: #EEEEEE;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 3rem;
}

.comments-title {
    font-weight: 700;
    font-size: 1rem
}

.comment-header {
    font-size: 0.8rem;
    color: #777777;
    border-top: 1px solid #cccccc;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    display: flex;
    word-wrap: no-wrap
}

.comment-user {
    font-weight: 700;
}

.comment-date {
    padding-left: 0.5rem
}

.comment-action {
    text-align: right;
    color: black
}

.comment-text textarea {
    width: 100%
}

#content-comment .tox-toolbar__group:last-child {
    margin-left: auto;
}

.fc-event-time {
    overflow: initial !important;
}

.fc-event-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fc-event-detail {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-style: italic;
}