/* News */

.NewsContainer {
	width: 100%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
	position: relative;
	text-align: center;
}

/* clearfix */
.NewsContainer:before,
.NewsContainer:after {
    content: "";
    display: table;
}
.NewsContainer:after {
    clear: both;
}

@keyframes start {
	from {
		transform: scale(0);
	}
	to {
		transform: scale(1);
	}
}


@-webkit-keyframes start {
	from {
		-webkit-transform: scale(0);
	}
	to {
		-webkit-transform: scale(1);
	}
}

.NewsContainer .NewsItem[data-state="init"] {
	display: none;
}

.NewsContainer .NewsItem[data-state="start"]  {
	display: block;
	animation: start 0.5s;
	-webkit-animation: start 0.5s;
}

.NewsContainer .NewsItem[data-state="move"]  {
	transition: top 0.5s, left 0.5s, width 0.5s, height 0.5s;
	-webkit-transition: top 0.5s, left 0.5s, width 0.5s, height 0.5s;
}

@media all and (min-width: 961px) {
    .NewsItem {
        width: 30%;
        height: auto;
    }
}

@media all and (max-width: 960px) {
    .NewsItem {
        width: 92%;
        height: auto;
    }
}

@media all and (max-width: 400px) {
    .NewsItem {
        width: 80%;
        height: auto;
    }
}

.NewsItem {
	background-color: #fff;
	float: left;
	padding: 10px;
	margin: 10px;
	padding-bottom: 30px;
	-moz-box-shadow: 0 0 3px #888;
	-webkit-box-shadow: 0 0 3px #888;
	box-shadow: 0 0 3px #888;
	/* max-width: 270px; */
	overflow: hidden;
	/* width: auto;
	height: auto; */
	border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
	cursor: pointer;
	min-height: 100px;
}

.NewsItem[data-state="start"] {
	    animation: start 0.5s;
    -webkit-animation: start 0.5s;
}

.NewsItem:hover, .NewsItem:focus {
	-webkit-box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.6);
	-moz-box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.6);
}

.NewsItem[link=''] {
	cursor: default;
}

.NewsItem[cat='Press'] {
	cursor: pointer;
}

.NewsItem img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: bottom;
}

.NewsItem .ThemePhoto {
	width: 100%;
	height: auto;
	padding-bottom: 10px;
}

.NewsItem .NewsTitle {
	font-weight: 600;
	text-align: center;
}

.NewsItem .NewsExtract {
	
	text-align: left;
}

.NewsItem .caption {
    background-color: rgba(0,0,0,0.6);
    position: absolute;
    color: #fff;
    z-index: 100;
	overflow: hidden;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    left: 0;
}

.NewsItem .captionSlide {
	height: 30px;
    width: 100%;
    display: block;
    bottom: -30px;
    line-height: 25pt;
    text-align: center;
}

.NewsItem:hover .captionSlide {
    -moz-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.first-NewsItem {
	clear: both;
}

#NewsModal:before {
	content: '';
	display: inline-block;
	height: 20%;
	vertical-align: middle;
	margin-right: -4px;
}

#NewsModal .modal-title {
	font-weight: 600;
	text-align: center;
}

#NewsModal .modal-body img {
    width: 90%;
}

#NewsModal .modal-body div.ImgCaptionDiv {
    border-left: 5px solid #666;
    padding: 10px;
    margin: 10px;
    margin-left: 0px;
}