/*!
-----------------------------------CSS NEU LEBENDIGE_VERBINDUNGEN --------------------------------------------------
 */


body {

        --tbc_blue_standard: #007bff;
	--tbc_white_standard: white;
	--natuerlich_turquoise_standard: #98CCC7;
	--natuerlich_green_standard: #00654A;
	--natuerlich_yellow_standard: #FFEA67;
	--natuerlich_middle_green_standard: #66EA67;
	--natuerlich_fresh_green_standard:   #05EA67;
}
/*!
-----------------------------------Beispiel -------------------------------------------------
--ai-light: #CCCCCC;
	--ai-danger: #FF3300;
	--ai-warning: #5c005cff;
	--ai-success: #006000;
	--ai-stocklevel: #E08000;

 */


/* importierte Schriftarten */
@import url('https://fonts.googleapis.com/css2?family=Georama:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Farbdefinitionen für YCOSMOS */
:root{
    --color-ycosmos: #FF00A6;
    --color-ygame: #194aff;
    --color-ytechnic: #212121;
    --color-ymove: #0DDFF2;
    --color-ysurf: #F20D52;
    --color-yview: #48b400;
    --color-yknow: #d8c415;
    --color-yreal: #E30DF2;
    --color-yeconomy: #B8830B;
    --color-yfun: #F2690D;
    --color-ymarket: #0DF2A6;
    --color-yblogs: #6CB6E5;
    
}

/* Klassen für die Schriftfarben */
.color-ycosmos,
.color-ycosmos:hover {
    color: var(--color-ycosmos);
}

.color-yview,
.color-yview:hover
{
    color: var(--color-yview);
}

.color-ygame,
.color-ygame:hover{
    color: var(--color-ygame);
}
.color-yknow,
.color-yknow:hover
{
    color: var(--color-yknow);
}

.color-ytechnic,
.color-ytechnic:hover
{
    color: var(--color-ytechnic);
}

.color-yreal,
.color-yreal:hover
{
    color: var(--color-yreal);
}

.color-yeconomy,
.color-yeconomy:hover
{
    color: var(--color-yeconomy);
}


.color-ymove,
.color-ymove:hover
{
    color: var(--color-ymove);
}

.color-yfun,
.color-yfun:hover
{
    color: var(--color-yfun);
}

.color-ysurf,
.color-ysurf:hover
{
    color: var(--color-ysurf);
}

.color-ymarket,
.color-ymarket:hover
{
    color: var(--color-ymarket);
}

.color-yblogs,
.color-yblogs:hover
{
    color: var(--color-yblogs);
}

/* Grunddefinitionen für alle Klassen */
.news .news-single {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Georama', sans-serif;
}

/* Wrapper nur für die Darstellung und wird am Ende nicht benötigt */
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Trennlinie */
hr{
    margin: 0x 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(102,69,90,0) 10%, rgba(102,69,90,0.7) 30%, rgba(102,69,90,1) 50%, rgba(102,69,90,0.7) 70%, rgba(102,69,90,0) 90%);
    margin-top: 0;  /* Written by Tobias */
    margin-bottom: 0; /* Written by Tobias */
}

/* Newsbox mit allen Hovereffekten */
.newsbox {
    position: relative;
    box-sizing: border-box;
    max-width: 900px;
    height: 100%;
    box-shadow: 5px 5px 15px 1px rgba(133, 133, 133,0.4);
    border-radius: 10px;
    border: 1px solid rgba(128, 128, 128, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 700ms ease-out;
    margin: 50px 30px 30px 30px;
}
.newsbox:hover{
    transform: translate(0, -10px) scale(105%);
    box-shadow: 5px 5px 15px 1px rgba(133, 133, 133,0.7);
    transition: all 250ms ease-out;

}
.newsbox:hover .categories{
    border: 1px solid rgba(146, 146, 146, 0.02);
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2),
                -1px -1px 2px 1px rgba(255, 255, 255, 1);
    transition: all 250ms ease-out;
}
.newsbox:hover .categories:hover{
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.4),
                -1px -1px 3px 2px rgba(255, 255, 255, 1);
    transition: all 300ms ease-out;
}
.newsbox:hover .categories:active{
    box-shadow: -1px -1px 2px 0px rgba(0, 0, 0, 0.2),
                1px 1px 2px 1px rgba(255, 255, 255, 1);
}
.newsbox:hover .tags{
    border: 1px solid rgba(146, 146, 146, 0.05);
    box-shadow: 1px 1px 2px 0 rgba(160, 98, 98, 0.3),
                -1px -1px 2px 0 rgba(255, 255, 255, 1);
    transition: all 250ms ease-out;

}
.newsbox:hover .tags:hover{
    box-shadow: 0 3px 3px 0 rgba(160, 98, 98, 0.3);
    transition: all 300ms ease-out;
}
.newsbox:hover .tags:active{
    box-shadow: -1px -1px 5px 1px rgba(160, 98, 98, 0.5),
            1px 1px 5px 1px rgba(255, 255, 255, 1);
}

/* NEWSBOX-HEAD und Inhalt*/
.newsbox-head{
    display: flex;
    padding: 5px 15px;
    justify-content: space-between;
    background: linear-gradient(-90deg, rgba(135,135,135,0.1) 0%, rgba(135,135,135,0) 50%, rgba(135,135,135,0.1) 100%);
    flex-wrap: wrap;
    /* written by Tobias 11.4.22 */
    /* border-top: 1px solid rgba(128, 128, 128, 0.5); 
    border-right: 1px solid rgba(128, 128, 128, 0.5);
    border-left: 1px solid rgba(128, 128, 128, 0.5); */
}
.categories-container{
    display: flex;
    flex-wrap: wrap;
    flex-grow: 30;
}
.categories{
    border: 1px solid rgba(146, 146, 146, 0);
    display: block;
    font-weight: 700;
    font-size: 0.9rem;;
    text-transform: uppercase;
    margin: 5px 10px 0px 0px;
    padding: 7px 5px 5px 5px;
    letter-spacing: 0.05rem;
    border-radius: 10px;
    transition: all 700ms ease-out;
}

.categories:hover {text-decoration:none;}


.date{
    display: block;
    margin: 10px 0 0 0;
    font-weight: 400;
    font-size: 1rem;
    line-height: 0.9rem;
    color: black;
    font-style: italic;
    padding: 5px 0 0 5px;
    flex-grow: 1;
}

/* NEWSBOX-BODY und Inhalt */
.newsbox-body{
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    padding: 10px 15px;
    position: relative;
    background: linear-gradient(90deg, rgba(135, 135, 135, 0) 0%, rgba(135,135,135,0.1) 50%, rgba(135,135,135,0) 100%);
}
.newsbox-img-container{
    height: 100%;
    max-width: 800px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
 }
.newsbox-img-container img{
    margin: 0px 0;
    display: block;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 3px ridge rgba(235, 235, 235, 0.4);
    box-shadow: 0 0 10px 0 rgba(98, 98, 98, 0.4);
    border-radius: 8px;
   /* max-width: 300px; Written by Tobias */
   /* height: auto; /* Written by Tobias */

}

.news{
    display: flex;
    position: relative;
    flex-direction: column;
    flex-basis: 270px;
    flex-grow: 1000;
    margin: 10px 0px 0px 20px; /* Written by Tobias */
}

.news-text{
    display: block;
    padding-bottom: 20px;
    color: rgb(70, 70, 70);
}

.news-text-wrap {
margin-bottom: 40px;

}


.more{
    color: white;
    position: absolute;
    z-index: 1;
    bottom: 0;
    right: 0;
    padding: 5px 20px;
    background-color: var(--color-ycosmos);
    border-top-left-radius: 20px;
    border-top: 2px solid #ff60c7;
    border-left: 2px solid #ff54c3;
    border-bottom: 2px solid #da008d;
    box-shadow: 0 0 12px 1px rgba(110, 110, 110, 0.6);
}
.more:hover{ 
    background-color: #ff1fb1;
    color: white;
    text-decoration: none;
}
.more:active{
    background-color: rgba(200, 200, 200, 0.2);
    color: #ff38b9;
    border-top: 2px solid white;
    border-left: 2px solid rgba(200, 200, 200, 0.05);
    border-bottom: 3px solid rgba(200, 200, 200, 0.3);
}
.over-link{
    position:absolute; 
    width:100%;
    height:100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* NEWSBOX-FOOTER und Inhalt */
.newsbox-footer{
    display: flex;
    flex-wrap: wrap;
    padding: 5px 15px;
    background: linear-gradient(-90deg, rgba(135,135,135,0.1) 0%, rgba(135,135,135,0) 50%, rgba(135,135,135,0.1) 100%);
    min-height: 35px;
   /* margin-bottom: 20px; */

}
.tag-container{
    display: flex;
    flex-wrap: wrap;
}
.tags{
    border: 1px solid rgba(146, 146, 146, 0);
    display: block;
    color: var(--color-ycosmos);
    padding: 5px 5px;
    margin: 5px 10px 0px 0;
    font-weight: 500;
    border-radius: 10px;
    transition: all 700ms ease-out;
    font-size: 0.9rem;
}
.author{
    margin: 8px 0 0 0px;
    padding: 5px 0px 5px 5px;
    font-style: italic;
    line-height: 0.9rem;
    color: rgb(70, 70, 70);
}






/*  */
/* ! MEDIAQUERY */
@media screen and (max-width: 712px) {
    /* ? Abstand zum Bild ändert sich von der linken Seite nach oben. */
    .news {
        margin: 15px 0px 0px 0px;
    }
    /* ? Veränderung der Breite von der Newsbox */
    .newsbox{
        max-width: 380px;
        transition: all 400ms ease-out;
    }
  
}

/* Detail View written by Tobias */

.header {margin-left: 10px; }

/* .Newscontent {
border-bottom: 1px;
border-top: 1px;
border-style: solid;

} */



/* DETAILSEITE Contentbereich */
.Newscontent .news-text-wrap { margin-bottom: 0px; margin-left: 10px; margin-right: 10px; } 

/* DETAILSEITE Teaser*/

.news .article .teaser-text {margin-bottom: 0px; margin-left: 10px; margin-right: 10px;}

/* DETAILSEITE News backlink */

.news-backlink {
    color: white;
    z-index: 1;
    bottom: 0;
    right: 0;
    padding: 5px 25px;
    background-color: var(--color-ycosmos);
    border-top-right-radius: 15px;
     border-top: 2px solid #ff60c7;
     /*
    border-left: 2px solid #ff54c3;
    border-bottom: 2px solid #da008d;
    box-shadow: 0 0 12px 1px rgba(110, 110, 110, 0.6); */
}

.news-backlink:hover{ 
    background-color: #ff1fb1;
    color: white;
    text-decoration: none;
}

.news-backlink-wrap{text-align: right; margin-bottom: 20px;}


/* DETAILSEITE Related News */
.news-related {
    background: linear-gradient(-90deg, rgba(135,135,135,0.1) 0%, rgba(135,135,135,0) 50%, rgba(135,135,135,0.1) 100%);

}

