#infos-calandar-box {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--font--title--color);
    text-shadow: var(--tiny--shadow);
}

.switch {
    border: 1px solid var(--box--border);
    border-radius: var(--box--radius);
    font-size: var(--font--medium);
    font-weight: 700;
    padding: 0px 2px;
    margin: 0px 10px;
    box-shadow: var(--small--shadow);
    transition: background-color 1s , box-shadow 1s;
    background-color: var(--box--background);
}

.switch:hover {
    background-color: var(--hover--selected);
}

.active-switch {
    background-color: var(--hover--selected);
    box-shadow: none;
}

#infos-calandar {
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
}

#calandar-box {
    display: none;
    opacity: 1;
    transition: opacity 0.5s;
}

#infos-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    opacity: 1;
    transition: opacity 0.5s;
}

#infos-title {
    display: none;
    margin-left: 6px;
    font-size: var(--font--medium);
    font-weight: 700;
    color: var(--font--title--color);
    text-shadow: var(--verytiny--shadow);
}

#infoslist {
    border: 2px solid var(--box--border);
    border-radius: var(--box--radius);
    height: 200px;
    background-color: var(--box--background);
    overflow-y: auto;
    box-sizing: border-box;
}

.item {
    position: relative;
    margin: 0px 5px;
    padding: 5px 10px;
    border-bottom: 1px solid var(--box--light--border);
    white-space: pre-wrap;
}

#commands-model {
    display: none;
}

.commands-model {
    position: absolute;
    right: 0px;
    top: 2px;
    height: 24px;
    white-space: normal;
    display: flex;
    background-color: var(--box--background);
    z-index: 1080;
}

.control-command {
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--tiny--shadow);
    border-radius: 2px;
    border: 2px solid var(--box--border);
    margin-left: 5px;
    background-size: 16px;
    cursor: pointer;
}

.control-command:hover {
    background-color: var(--hover--selected);
}

.delete {
    background-image: url("../pictures/icons/btrash.png");
}

.edit {
    background-image: url("../pictures/icons/edit.png");
}

.close {
    background-image: url("../pictures/icons/bclose.png");
}

.noinfo {
    margin: 0px 5px;
    padding: 5px 10px;
    color: var(--box--light--border);
    font-style: italic;
}

#activities {
    margin-top: 10px;
    font-size: var(--font--large);
    font-weight: 700;
    color: var(--font--title--color);
    text-shadow: var(--tiny--shadow);
    justify-content: center;
    display: flex;
}

@media screen and (min-width: 700px) {

    #infos-calandar-box {
        display: none;
    }

    #calandar-box {
        display: block;
        height: fit-content;
    }
    
    #infos-box {
        width: 70%;
        max-width: 700px;
    }

    #infos-title {
        display: block;
    }

    #infoslist {
        margin-right: 6px;
        height: 276px;
    }
}