body,html {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#header-logo img {
    height: 75px;
}


#header-logo span {
    position: absolute;
    bottom: 5px;
    font-size: 1.5rem;
    padding-left: 1rem;
    font-style: italic;
}

#lang-select {
    padding-top: 8rem;
    text-align: center;
    font-weight: bold;
}

#lang-select {
    cursor: pointer;
}

.selected {
    color: #b30059;
}


.btn {
    cursor: pointer;
}

.btn-primary {
	background-color: #b30059!important;
	border:none;
}

#admin-section {
    position: absolute;
    right: 1rem;
}

#page-content .card a.btn {
    color: #fff;
}

#page-content .card a.publish {
    position: absolute;
    z-index: 9999;
    border-radius: 0;
}

form input[type=submit] {
	margin-top: 1rem;
	float: right;
	font-family: monospace;
}

form label {
	color: #b30059;
	font-weight: bold;
	font-family: monospace;
}

h1, h2 {
	color: #b30059;
	font-family: monospace;
	display:block;
}

body {
	background: #ffe6e6;
}

nav #news-search input {
	border:none;
}

nav.navbar {
	border-bottom: 1px solid #b30059;
	background-color: #ffcce6;
}                      

nav.navbar .navbar-brand {
	color: #b30059;
	font-family: monospace;
    font-weight: bold;
}

footer.page-footer {
	border-top: 1px solid #b30059;
	background-color: #ffcce6;
	padding-right: 1rem;
	padding-left: 1rem;
	width: 100%;
}

footer.page-footer a {
	color: black;
}

footer .footer-right-content {
	position: absolute;
	right: 1rem;
    width: 21rem;
}

[hidden] {
  display: none!important;
}
.hidden {
  display: none!important;
}


#page-content {
	padding-top: 0.5rem;
	padding-bottom: 1rem;
	max-width: 1400px;
	margin: auto;
}

#page-content .card {
	cursor: pointer;
	margin:0rem;
	height: 20rem;
	overflow: hidden;
}


#page-content .card a {
	color: #b30059;
}

#page-content .card img {
    height: 10rem;
    object-fit: cover;
}

#page-content.about_me,
#page-content.datenschutz,
#page-content.impressum,
#page-content.news,
#page-content.admin-page,
#page-content.edit-news,
#page-content.create-news {
    margin-top: 8rem;
}

.w-60 {
    width: 59%;
}
.w-20 {
    width: 20%;
}
#page-content  .w-25 {
    width: 24.72%!important;
}

#page-content .news-card {
    background: #ffcce6;
    padding: 0.25rem;
    margin: 1px;
}

#page-content .news-card.w-60,
#page-content .news-card.w-20 {
    height: 27rem;
}
#page-content .news-card img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
    border-radius: 0.25rem;
}

/* #page-content .news-card img:hover {
    transform: scale(1.5);
} */

#page-content .card > div {
    height: 100%;
}

#page-content ..news-card .card-title {
	font-size: 1rem;
    font-weight: bold;
}

#page-content .news-header {
	position :absolute; 
	bottom: 0; 
	background: rgba(0, 0, 0, 0.7); 
	color: #ffffff; 
	padding: 0.5rem;
	width: 100%;
	max-height: 50%;
	border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.news-header h5 {
	font-weight: bold;
}

.news-header span {
	margin-bottom: 0.5rem;
	display: inline-block;
}

#page-content .card:hover {
	background: #b30059;
}

#page-content.impressum {
    padding: 0 2rem;
}

#create-news {
	max-width: 900px;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(179, 0, 89)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.lang-icon {
	height: 1rem;
	width: 1rem;
	left: 1rem;
	top: 1.25rem;
	cursor: pointer;
	zoom: 1.3;
}

#lang-de {
	background-image: url("/img/austria.svg");
}

#lang-ar {
	background-image: url("/img/egypt.svg");
}

a.nav-link {
	color: #b30059;
} 

.news_content {
	padding-top: 1rem;
}

#page-content.news {
	max-width: 900px;
}

.news-image {
    max-width: 100%;
    height: 10rem;
    object-fit: contain;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

span.date {
	font-size: 0.9rem;
	font-weight: bold;
	color: #b30059;
}

h5 span {
    font-size: 0.8rem;
    float: right;
}

.card-info {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.3rem;
    border-radius: 0.3rem;
}

.news-header span {
    margin-bottom: 0.5rem;
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-header h5 {
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ck-editor__editable_inline {
    min-height: 15rem;
}

.ar {
    text-align: right!important;
    direction: rtl!important;
}

#edit-news-form img {
    max-height: 10rem;
    max-width: 10rem;
    object-fit: contain;
    margin: 1rem;
}

.interactive {
    cursor: pointer;
    color: #b30059;
}

.admin-page img {
    max-height: 4rem;
    max-width: 4rem;
    object-fit: contain;
}

figure.media > div > div {
    min-width: 560px;
    min-height: 340px;
}
.image-wrapper {
    margin-bottom: 0!important;
}

.image-wrapper img {
    height: 10rem;
    width: 25%;
    object-fit: contain;
    display: inline-block;
    margin: 0;
    border: 1px solid #b30059;
    background: #ffcce6;
	cursor: pointer;
}

@media screen and (min-width: 40em) and (max-width: 103em) {
	#page-content .card {
		width: 49%!important;
		height: auto!important;
	}
	
	#page-content .card img {
		height: 25rem!important;
	}
}

@media screen and (max-width: 720px) {
	#admin-section {
	    position: relative;
	    right: 0;
	}
}

@media screen and (max-width: 39.9375em) {
	footer .footer-right-content {
		position: initial;
	}
    #admin-section {
        display: none!important;
    }
	#page-content {
		padding-top: 0.5rem;
	}
	#lang-select {
	    padding-top: 8rem;
	}

	#page-content.news > .h1, h1 {
		font-size: 1.5rem;
		font-weight: bold;
	}
	#page-content {
		padding-bottom: 0;	
	}
	#page-content .card {
		width: 100%!important;
		height: auto!important;
		margin: 0.25rem 0.75rem;
	}
	
	#page-content .card img {
		height: 25rem!important;
	}
	
	.navbar-brand {
		font-size: 1rem;
	}
	
	#page-content.news {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	#create-news {
		padding: 1rem;
	}
	
	body {
		padding-bottom: 0;
	}

	footer .footer-copyright span {
		float: none!important;
		display: block;
		text-align: center;
		width: 100%;
	}
	footer.page-footer {
		font-size:0.75rem;
		border-top: none;
	}
	
	footer .footer-right-content {
	    position: relative;
	    right: 0;
	}
	
	.lang-icon {
	    zoom: 3;
		-ms-zoom: 3;
		-webkit-zoom: 3;
		-moz-transform:  scale(3, 3);
		-moz-transform-origin: 1rem center;	    
	}
	#page-content.news {
        max-width: 95vw;
    }
	.image-wrapper img {
		height: 15rem;
		width: 100%;
	}	
	
}

.lang-icon {
    display: none!important;
}

#image-modal img {
    position: fixed;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100%;
    top: 0;
    padding: 1rem;
    right: 0;
    left: 0;
    margin: auto;
	background: #ffe6e6;
	z-index: 9999;
}

.disable-overflow {
    overflow: hidden !important;
}
