/*
---------------------------------------------------------
MOVED FROM GLOBAL
---------------------------------------------------------
*/

#container-list .textbox p {
    margin-bottom: 10px !important;
}

/*
---------------------------------------------------------
*/

.textbox-inner {
    width: 100%;
}

.textbox-inner, .textbox-inner p, .textbox-inner h2, .col-link {
    transition: none !important;
}

.col-link {
    transition: color 0.5s ease, background-color 0.5s ease !important;
}

/*
----------------------------------------------------------
ARTICLE LISTING SETTINGS
----------------------------------------------------------
*/
.outercol {
    display: inline-block;
    margin: 0 auto;
    min-width: 280px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.single-article-related {
    background-color: transparent !important;
}

.outercol:before {
    content: "";
    display: block;
}

.clear {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.spacer {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.innercol {
    height: 100%;
    position: relative;
}

#article-related .innercol,
#article-related .spacer {
    background-color: transparent !important;
}

/*
-----------------------------------------
INSIDE OUTERCOL MIXED
-----------------------------------------
*/

.media {
    background-position: center;
    background-size: cover;
    display: inline-block;
    float: left;
    margin: auto 0;
    overflow: hidden;
}

#container-list .responsive-video iframe { /* youtube + istribute */
    backface-visibility: hidden;
    height: 100%;
    width: 100%;
}

.textbox {
    margin: 0 auto;
}

.textbox h2 {
    margin-top: 0 !important;
    width: 100%;
}

body .teaser:empty {
    display: none;
}

.teaser,
.date,
.time,
#container-list .book {
    display: none;
}

.custom-date {
    display: none;
}

/*
-----------------------------------------
BUTTON FIX
-----------------------------------------
*/

#wrap #container-list .col-links a.book,
#wrap #container-list .col-links a.read {
    border: 0 !important;
}

#wrap .col-links a.book,
#wrap .col-links a.read {
    margin: 0 !important;
    margin-top: 5px !important;
}

#wrap .col-links a:nth-child(2) {
    margin-left: 0 !important;
}

#wrap .col-links a:nth-last-child(2) {
    margin-right: 10px !important;
}

body #wrap .teaser:empty {
    display: none !important;
}

/*
-------------------------------------------------------
LAYOUT FRAMESET - IMAGE and TEXT container
-------------------------------------------------------
*/

#mainContent #container-list {
    margin: 0 5%;
    max-width: 1920px;
}

#container-list .outercol {
    display: inline-block;
}

#container-list .clear {
    display: block;
    position: relative;
}

#container-list .outercol .spacer,
#container-list .innercol {
    background-color: transparent;
}

#container-list .spacer {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 20px;
    padding: 0;
    position: relative;
}

#container-list .innercol {
    display: block;
    position: relative;
    width: 100%;
}

#container-list .media {
    background-position: center;
    background-size: cover;
    border-radius: 50%;
    height: 0;
    left: 9%;
    overflow: hidden;
    padding-bottom: 82%;
    position: absolute;
    right: 9%;
    width: 82%;
    z-index: 0;
}

#container-list div.responsive-video iframe {
    bottom: -30%;
    height: 160%;
    left: -40%;
    overflow: hidden;
    position: absolute;
    right: -40%;
    top: -30%;
    width: 180%;
}

#container-list .textbox {
    height: 40%;
    padding: 3% 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

/*
-------------------------------------------------------
TEXT SETTINGS - TITLE + INGRESS + DATE + TEASER TEXT
-------------------------------------------------------
*/

body .article-section:not(:first-child) {
    margin-top: 2em;
}

body .article-section {
    clear: both;
    display: block;
    line-height: 1.2em;
    margin-bottom: 0.2em;
}

#container-list .textbox h2 {
    float: left;
    height: auto;
    line-height: 1.3em;
    margin: 0 0 5px;
    max-height: 2.6em;
    overflow: hidden;
    position: relative;
    width: 100%;
}

#container-list .textbox p {
    float: left;
    height: auto;
    line-height: 1.4em;
    margin-bottom: 0;
    max-height: 4.2em;
    min-height: 4.2em;
    padding: 0;
    position: relative;
    width: 100%;
}

#container-list .textbox .date {
    display: var(--article-list-date-display) !important;
    line-height: 1.3em;
    vertical-align: baseline;
}

#container-list .textbox .date:after {
    content: "\00a0-\00a0";
}

#container-list .textbox .time {
    display: none;
}

#container #wrap #container-list .teaser {
    display: none !important;
}

#container #wrap #container-list .favourite {
    height: 63% !important;
    left: 0;
    margin: auto;
    right: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    /*font-size: 50px !important;*/
    top: 0;
}

/*
-------------------------------------------------------
COLOR SWITCHER > Select 1 of 2 color settings from
customer adjustment settings - INCLUDE ONLY VERSION 1 OR 2
-------------------------------------------------------
*/

#container-list .textbox {
    background-color: transparent;
}

/*
-------------------------------------------------------
BUTTON SETTINGS - CUSTOM BUTTON and READ MORE BUTTON
-------------------------------------------------------
*/

#container-list .col-links { /* WRAPPER buttons */
    float: left;
    height: auto;
    line-height: 0;
    margin: 0 auto;
    padding: 0.25em 0 0 0;
    position: relative;
    width: 100%;
}

#container-list .col-link { /* BUTTONS - if wanted, use .read + .book below to separate buttons */
    border: 1px solid;
    display: inline-block;
    line-height: 1.5em;
    margin: 3% 0 0 0;
    padding: 3px 4%;
    position: relative;
    width: auto;
}

#container-list .book {
    margin-right: 15px;
}

/*
-------------------------------------------------------
RESPONSIVE COLUMN COUNT SETTINGS
-------------------------------------------------------
*/

@media all and (min-width: 100px) and (max-width: 679px) {
    #container-list .outercol {
        width: 100%;
    }

    #container-list .innercol {
        padding-bottom: 147%;
    }

    #container-list .textbox {
        top: 56%;
    }
}

@media all and (min-width: 680px) and (max-width: 959px) {
    #container-list .outercol {
        width: 50%;
    }

    #container-list .innercol {
        padding-bottom: 135%;
    }

    #container-list .textbox {
        top: 60%;
    }
}

@media all and (min-width: 960px) and (max-width: 1199px) {
    #container-list .outercol {
        width: 33.33%;
    }

    #container-list .innercol {
        padding-bottom: 139%;
    }

    #container-list .textbox {
        top: 59%;
    }
}

@media all and (min-width: 1200px) and (max-width: 1499px) {
    #container-list .outercol {
        width: 25%;
    }

    #container-list .innercol {
        padding-bottom: 137%;
    }

    #container-list .textbox {
        top: 60%;
    }
}

@media all and (min-width: 1500px) {
    #container-list .outercol {
        width: 25%;
    }

    #container-list .innercol {
        padding-bottom: 135%;
    }

    #container-list .textbox {
        top: 60%;
    }
}

/*
-------------------------------------------------------
RESPONSIVE FONT SIZE - 4 COLS
-------------------------------------------------------
*/

@media all and (min-width: 100px) and (max-width: 679px) {
    #container-list .textbox p,
    #container-list .textbox .col-link,
    #container-list .teaser {
        font-size: 100%;
    }
}

@media all and (min-width: 680px) and (max-width: 959px) {
    #container-list .textbox p,
    #container-list .textbox .col-link,
    #container-list .teaser {
        font-size: 60%;
    }
}

@media all and (min-width: 960px) and (max-width: 1199px) {
    #container-list .textbox p,
    #container-list .textbox .col-link,
    #container-list .teaser {
        font-size: 70%;
    }
}

@media all and (min-width: 1200px) and (max-width: 1499px) {
    #container-list .textbox p,
    #container-list .textbox .col-link,
    #container-list .teaser {
        font-size: 80%;
    }
}

@media all and (min-width: 1500px) {
    #container-list .textbox p,
    #container-list .textbox .col-link,
    #container-list .teaser {
        font-size: 90%;
    }
}

