.johnDynamicContentTemplate {
    display: flex;
    display: -webkit-flex;
}

.johnDynamicContentTemplate > div{
    flex: auto;
}
.johnDynamicContentAddNew {
    width: 100%;
    background-color: #FC0;

}
.johnDynamicContentAddNew span,
.johnDynamicContentAddNew form,
.johnDynamicContentAddNew select {
    display: inline-block;
    font-size: 11px;
}
.johnDynamicContentEditControl {
    font-size: 11px;
    line-height: normal;
    position: absolute;
    right: 0px;
    background-color: rgba(255,255,255,0.8);
    z-index: 99;
    padding: 2px 5px;
    opacity: 0.2;
}
.johnDynamicContentEditControl:hover{
    opacity: 1;
}

.johnDynamicContentEditControl .hidenInfos {
    display: none;
}

.johnDynamicContentEditControl:hover .hidenInfos {
    display: block;
}
.johnDynamicContentAddNew button,
.johnDynamicContentEditControl button {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0!important;
}
.johnDynamicContentAddNew button img,
.johnDynamicContentEditControl button img{
    cursor: pointer;
    margin: 1px 2px;
}


.dialog-gallery.invisible {
    visibility: hidden !important;
}

/* ----- GALLERY ----- */
.gallery {
    width: 700px;
}

.gallery .source {
    display: none;
}

.gallery .slider,.gallery .pagination {
    display: inline;
}

.gallery .slider li,.gallery .pagination li {
    list-style: none;
    float: left;
}

.gallery .slider li {
    width: 319px;
    height: 194px;
    border: 3px solid #ccc;
    margin-bottom: 20px;
    overflow: hidden;
    margin-top: 1px;
}

.gallery .slider li img {
    width: 319px;
}

.gallery .slider li.odd {
    margin-left: 20px;
}

.gallery .pagination li+li {
    margin-left: 2px;
}

.gallery .pagination li a {
    text-decoration: none;
    padding: 2px 5px;
    border: 2px solid transparent;
    display: block;
    margin-bottom: 20px;
    color: #797979;
}

.gallery .pagination li a.active {
    border: 2px solid #ccc;
    color: #0083cb;
}

.lightbox .next_image,
.lightbox .prev_image {
    position: absolute;
    outline-style: none;
    z-index: 1004;
    display: block;
    height: 30px;
    width: 40px;
    background: #fff;
    opacity: 0.7;
    border-radius: 9px;
    line-height: 30px;
    text-align: center;
    top: 50%;
    margin-top: -18px;
    margin-left: 5px;
    text-decoration: none;
}
.lightbox .next_image {
    right: 5px;
}
#articleList {
	width: 100%;
}

#articleList h1 {
	font-size: 18px;
	text-transform: normal;
}

#articleList .newsPagination a {
	display: block;
	float: left;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	margin-right: 10px;
	border: 1px solid gray;
}

#articleList .newsPagination a:hover {
	background: #cccccc;
}

#articleList .newsPagination a.active {
	background: black;
	color: white;
}

#articleList .newsArticle {
	width: 100%;
}

#articleList p.artDate {
	font-style: italic;
	float: left;
}

#articleList p.artAuthor {
	float: right;
}

#articleList h2 {
	clear: both;
	border-top: 1px solid #cccccc;
	font-size: 14px;
	padding: 10px 0 0 0 ;
}

#articleList .artImage {
	float: left;
	margin-right: 30px;
	border: 1px solid black;
}

#articleList .artImage img {
	display: block;
}

#articleList p.linkMore {
	clear: both:
}

#articleList p.linkOverview {
	padding: 10px 0;
	margin-top: 20px;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}
