/* ArtStory */

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

/* clearfix */
.ArtStoryContainer:before,
.ArtStoryContainer:after {
    content: "";
    display: table;
}
.ArtStoryContainer: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);
	}
}

.ArtStoryContainer .ArtStoryItem[data-state="init"] {
	display: none;
}

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

.ArtStoryContainer .ArtStoryItem[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;
}

.ArtStoryItem {
	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;
	overflow: hidden;
	/*border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;*/
	cursor: pointer;
    margin: 20px;
    position: relative;  
    min-height: 430px;
}

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

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

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

.ArtStoryItem:hover, .ArtStoryItem: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);
}

.ArtStoryItem img {
	vertical-align: bottom;
    width: 100%;
    height: auto;
    /*max-height: 340px;*/
}

.ArtStoryItem .ThemePhoto {
    /*padding-bottom: 0%;
    height: 100%;*/
    width: 100%;
    position: relative;
}

.ArtStoryItem {
    background-color: #333;
}

.ArtStoryItem .ThemeText {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.ArtStoryItem .ThemeText .ArName {
    /*background-color: rgba(30,30,30,1);*/
    /*padding: 10px;*/
    padding-left: 10px;
    padding-right: 10px;
    background-color: #333;
    position: absolute;
    color: #fff;
    /*z-index: 100;*/
	overflow: hidden;
    left: 0;
    height: 100px;
    width: 100%;
    
    /*bottom: 0px;*/ /*comment for new design */
    bottom: 40px;
    line-height: 1.3em;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    display: table;
}

.ArtStoryItem .ThemeText .ArName span {
    display: table-cell;
    vertical-align: middle;
    height: 100px;
    width:100%;
    position: relative;
    text-align: center;
    line-height: 100px;
}

.ArtStoryItem .ThemeText .ArPeriod {
    /*background-color: rgba(30,30,30,1);*/
    background-color: #333;
    position: absolute;
    color: #fff;
    /*z-index: 100;*/
	overflow: hidden;
    left: 0;
    height: 40px;
    width: 100%;
    display: inline-block;
    /*top: 0px;*/ /*comment for new design */
    bottom: 0px;
    line-height: 1.3em;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

.ArtStoryItem .ThemeText .ArPeriod span {
    /*display: table-cell;*/
    vertical-align: middle;
    height: 100%;
    width:100%;
    text-align: center;
    font-size: 14px;
}

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

.ArtStoryItem: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;
}
*/

.ArtStoryBlock {
    padding-top: 10px;
    padding-bottom: 15px;
}

.ArName {
    font-size: 22px;
    font-weight: 600;
}

