/*
##  [ DEVICES ]
*/
@media (max-width: 550px) {
    .homeNews .homeNewsItem {
        flex: 40%;
        margin: 10px;
    }
    .homeNewsCategory div:nth-child(2) {
        flex: 1 1 auto;
    }
    .homeCategory {
        width: 43%;
    }
    .homeOnlines a {
        flex: 95%;
        margin: 5px;
    }
}
@media (min-width: 550px) {
    .homeNews .homeNewsItem {
        flex: 30%;
        margin: 15px 10px;
    }
    .homeCategory {
        width: 22%;
    }
    .homeOnlines a {
        flex: 45%;
        margin: 10px;
    }
}
@media (max-width: 750px) {
    .homeSection {
        display: block;
        padding: 5px 0;
    }
}
@media (min-width: 750px) {
    .homeHeaderNews .newsAtHome {
        order: 1;
    }
    .homeHeaderNews .newsNormal {
        order: 2;
    }
    .homeSection {
        display: flex;
        flex-flow: row;
    }
    .homeOnlines a {
        flex: 20%;
    }
    .homeOnlinesBox1 {
        align-content: space-around;
        display: flex;
        justify-content: center;
    }
    .homeOnlinesBox1 .image {
        width: 48%;
    }
    .homeOnlinesBox1 .information {
        align-self: center;
        font-size: 1.4em;
        width: 48%;
    }
    .homeOnlinesBox1 .information h5 {
        font-size: 1.7em;
        margin: 5px 0;
    }
}
@media (max-width: 990px) {
    .homeNews .homeNewsItem {
        font-size: 0.9em;
    }
    .homeSeeMore {
        display: block;
    }
}
@media (min-width: 990px) {
    .homeNews .homeNewsItem {
        font-size: 0.9em;
    }
    .homeSeeMore {
        display: flex;
        justify-content: space-between;
    }
}

/*
##  [ HOME ]
*/
.homeSection img:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s ease-in-out;
}
.homeNews {
    display: flex;
    flex: 6;
    flex-wrap: wrap;
    justify-content: space-between;
}
.homeNewsItem .newsText {
    font-size: 0.8em;
    padding: 5px 0;
}
.homeAgenda {
    flex: 3;
}
.homeNewsCategory {
    align-self: center;
    background: var(--bg-color-light);
    color: var(--text-color-gray);
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
    padding: 15px 10px 5px 10px;
    width: 100%;
}
.homeCategoryTitle {
    position: absolute;
}
.homeCategoryTitle h3 {
    display: inline-block;
    font-size: 1.3em;
    position: relative;
    top: -25px;
    z-index: 0;
}
.homeCategoryTitle h3 a {
    background-color: var(--bg-color-featured);
    color: var(--text-color-light);
    padding: 2px 10px;
}
.homeSectionTitle {
    border-top-color: var(--bg-color-featured);
    border-top-style: solid;
    border-top-width: 3px;
}
.homeSectionTitle h3 {
    color: var(--text-color-main);
    font-size: 1.5em;
    padding: 10px;
}
.homeSectionTitle h3 a {
    color: var(--text-color-main);
}
.homeNewsCategory .homeNewsItem {
    z-index: 1;
}
.homeNewsCategory .homeNewsItem h4 {
    padding: 0;
}
.homeSeeMore {
    margin: 15px 0;
}
.homeSeeMoreCategories {
    align-self: center;
    flex: 6;
    justify-content: space-between;
}
.homeSeeMoreTop {
    flex: 3;
    padding: 10px 15px;
}
.homeCategories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.homeCategory {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 3px;
    margin: 8px;
    height: 100px;
}
.homeCategories .categoryButton {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    color: var(--bg-color-gray);
    display: block;
    font-size: 1.6em;
    height: 100px;
    line-height: 100px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 8px #000;
}
.homeCategories .categoryButton:hover {
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0px 0px 2px #666;
}
.homeNewsTopItem .topIndex {
    color: var(--text-color-medium);
    float: left;
    font-size: 2.5em;
    font-style: italic;
    font-weight: bold;
    width: 40px;
}
.homeNewsTopItem:hover .topIndex {
    color: var(--text-color-dark);
}
.homeNewsTopItem .category {
    font-size: 0.9em;
}
.homeNewsTopItem h4 {
    font-size: 1.1em;
    line-height: 1.4em;
}
.homeOnlines {
    align-content: space-around;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
}
.homeOnlines a {
    background-color: var(--bg-color-light);
    border-radius: 2px;
    padding: 8px;
}
.homeOnlines a:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transition: opacity 0.3s ease-in-out;
    text-decoration: none;
}
.homeOnlines .image {
    padding: 5px 10px;
    text-align: center;
}
.homeOnlines .image img {
    margin: auto;
    max-height: 150px;
}
.homeOnlines .information {
    text-align: center;
}
.homeOnlines .information .date {
    color: var(--text-color-gray);
}
.homeOnlines .information h5 {
    color: var(--text-color-main);
    font-size: 1.3em;
    margin: 0;
    padding: 0 8px 0 0;
}
.homeOnlines .information .category {
    color: var(--text-color-dark);
    padding: 5px;
}
.homeOnlines .live {
    background-color: var(--text-color-alert);
    border-radius: 2px;
    color: var(--text-color-light);
    display: inline;
    padding: 3px 6px 4px 6px;
    text-align: center;
    text-transform: uppercase;
}
.homeOnlines .live h3 {
    display: inline;
    font-size: 1em;
    font-weight: bold;
    margin: 0;
}
.homeFeatured {
    background-color: var(--bg-color-light);
    border-top-color: var(--bg-color-featured);
    border-top-style: solid;
    border-top-width: 3px;
    margin: 10px 0;
    padding: 8px;
}
.homeFeaturedBox {
    align-content: space-around;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 8px 0 5px 0;
}
.homeFeaturedBox a:hover {
    text-decoration: none;
}
.homeFeatured .featured {
    background-color: var(--bg-color-featured);
    border-radius: 2px;
    color: var(--text-color-light);
    display: inline;
    padding: 3px 6px 4px 6px;
    text-align: center;
    text-transform: uppercase;
}
.homeFeatured .featured h3 {
    display: inline;
    font-size: 1em;
    font-weight: bold;
    margin: 0;
}
.homeFeatured .image {
    padding: 5px 10px;
    text-align: center;
}
.homeFeatured .image img {
    border-radius: 3px;
    margin: auto;
    max-height: 150px;
}
.homeFeatured .image img:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}
.homeFeatured .information {
    align-self: center;
    font-size: 1.3em;
    text-align: center;
}
.homeFeatured .information .subtitle {
    color: var(--text-color-gray);
}
.homeFeatured .information a:hover .subtitle {
    color: var(--text-color-dark);
}
.homeFeatured .information h5 {
    color: var(--text-color-main);
    font-size: 1.3em;
    margin: 0;
    padding: 0 8px 0 0;
}
.homeFeatured .information a:hover h5 {
    text-decoration: underline;
}

/*
##  [ AGENDA ]
*/
.homeAgenda {
    padding: 10px 15px;
}
.homeAgenda .agendaBox {
    background-color: var(--bg-color-light);
    border-left-color: var(--text-color-medium);
    border-left-style: solid;
    border-left-width: 6px;
    margin: 0 0 10px 0;
    padding: 5px 12px;
}
.homeAgenda .agendaBox a {
    display: block;
}
.homeAgenda .agendaBox a:hover {
    text-decoration: none;
}
.agendaBox:hover {
    background-color: var(--bg-color-gray);
    border-left-color: var(--bg-color-featured);
}
.homeAgenda .agendaBox .subtitle {
    color: var(--text-color-gray);
    font-size: 0.9em;
}
.homeAgenda .agendaBox .category {
    color: var(--text-color-dark);
    font-size: 0.9em;
    padding-top: 3px;
}
.homeAgenda .agendaBox h5 {
    color: var(--text-color-main);
    font-size: 1.2em;
    margin: 0;
    padding: 0 8px 0 0;
}