#sections {
    display: flex;
    flex-direction: column;
}

.section-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font--medium);
    font-weight: 700;
    margin: 5px 5%;
    color: var(--font--title--color);
    border-top: 1px solid var(--font--title--color);
    border-bottom: 1px solid var(--font--title--color);
    background-color: var(--box--background);
    transition: background-color 1s;
    padding: 0px 5px;
    cursor: pointer;
}

.section-cmd {
    width: 24px;
    height: 24px;
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    flex: none;
 }

 .section-content {
    opacity: 0;
    display: none;
    transition: opacity 1s;
    margin: 10px 2% 30px;
    width: 96%;
 }

 .section-plus {
    background-image: url("../pictures/icons/oplus.png");
 }

.section-minus {
    background-image: url("../pictures/icons/ominus.png");
}

.section-title-box:hover {
    background-color: rgb(214, 214, 214);
}


.section-plus {
    display: block;
}

.section-minus {
    display: none;
}

.section-box {
    order: 1;
}

.section-text-standard {
    border: 1px solid var(--box--border);
    border-radius: var(--box--radius);
    background-color: var(--box--background);
    margin: 10px 0px;
    padding: 0px 10px;
}

.floating-picture {
    padding: 1px;
    border: 2px solid red; 
    max-width: 100%; 
    box-sizing: border-box;
}

.picture-legend {
    font-weight: 700;
}


.floating-right {
    float: right;
    margin: 10px 0px 10px 3px;
    max-width: min(30%, 300px); 
}

.floating-left {
    float: left;
    margin: 10px 5px 10px 0px;
    max-width: min(30%, 300px); 
    box-sizing: border-box;
}

.floating-left-large {
    float: left;
    max-width: min(60%, 500px); 
    margin: 10px 5px 10px 0px;
}

.floating-right-large {
    float: right;
    max-width: min(60%, 500px); 
    margin: 10px 0px 10px 3px;
}

.section-text-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.section-image-row {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.section-cell {
    display: flex;
    align-items: center;
}

.section-cell-content {
    flex-grow: 1;
    max-width: 40vw;
    overflow-x: hidden;
}

.section-table-border {
    border: 2px solid var(--box--border);
    padding: 5px;
    border-radius: var(--box--radius);
    max-width: 700px;
    width:fit-content; 
    margin: 10px 0px;
}

.section-table {
    border-collapse: collapse;
    background-color: var(--box--background);
}

.section-table td , .section-table th {
    border-bottom: 1px solid var(--box--light--border);
    text-align: left;
    padding: 10px 5px;
}

.location-map {
    width: 400px;
    height: 300px;
    border: 1px solid var(--box--light--border);
    margin-bottom: 10px;
}

.blog-text {
    white-space: pre-wrap;
    overflow-y: auto;
}

.blog-html {
    overflow-y: auto;
}

.program-html {
    display: none;
    overflow-y: auto;
}

.blog-text::after , #section-pres-text::after{
    content: "";
    clear: both;
    display: table;
}

#blog-box, #program-box {
    border: 1px solid var(--box--border);
    border-radius: var(--box--radius);
    background-color: var(--box--background);
    margin: 10px 0px;
    padding: 0px 10px;
    max-height: 70vh;
    overflow-y: auto;
}

.blog-title-box , .program-title-box {
    position: relative;
    background-color: var(--article--box--color);
    margin: 10px 0px;
    border-top: 2px solid var(--box--border);
    display: flex;
    padding: 5px;
    justify-content: space-between;
    transition: background-color 1s;
    cursor: pointer;
}

.old-article {
    background-color: unset;
    background-image: repeating-linear-gradient(45deg,var(--article--box--color2) 0px, var(--article--box--color2) 1px, var(--article--box--color) 4px , var(--article--box--color) 9px,var(--article--box--color2) 10px);
}

.program-title-box:hover {
    background-color: var(--hover--selected);
}

.noblog {
    margin: 5px 0px;
}

.blog-article {
    margin-bottom: 20px;
}

.blog-title {
    font-weight: 700;
}

.blog-date {
    font-style: italic;
}

.blog-link {
    margin-bottom: 3px;
}

.blog-picture {
    max-width: min(50%, 500px);
    float: right;
    margin-left: 10px;
}

#blog-commands-model {
    display: none;
}

.blog-commands-model {
    position: absolute;
    right: 0px;
    top: 2px;
    height: 24px;
    white-space: normal;
    display: flex;
    z-index: 1080;
}

.blog-control-command {
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    border: 2px solid var(--box--border);
    background-color: var(--box--background);
    margin-right: 5px;
    background-size: 16px;
    cursor: pointer;
}

.blog-control-command:hover {
    background-color: var(--hover--selected);
}

.blog-document {
    display: flex;
    align-items: center;
}

.delete {
    background-image: url("../pictures/icons/btrash.png");
}

.edit {
    background-image: url("../pictures/icons/edit.png");
}

.close {
    background-image: url("../pictures/icons/bclose.png");
}

.ok {
    background-image: url("../pictures/icons/OK.png");
}

.show {
    background-image: url("../pictures/icons/beye.png");
}

.download {
    background-image: url("../pictures/icons/bdownload.png");
}

#yourturn-dialogs {
    display: none;
}

.dead-activity {
    font-size: var(--font--large);
    font-weight: 700;
    font-style: italic;
    text-align: center;
}

#dead-box {
    width: 250px;
    height: 250px;
    background-image: url("../pictures/activities/dead.png");
}

@media screen and (min-width: 780px) {
    .section-title-box {
        font-size: var(--font--large);
        margin: 5px 10%;
    }

    .section-content {
        margin: 10px 5% 30px;
        width: 90%;
    }

    .section-cmd {
        width: 28px;
        height: 28px;
        background-size: 28px;
    }
     
    .location-map {
        width: 600px;
        height: 500px;
    }

    
}