@charset "utf-8";
/* CSS Document */

.nn_hoverbox_container{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.nn_hover_block_wrapper{
    width: calc(50% - 20px);
	margin: 10px;
}
.nn_hoverbox_container.four .nn_hover_block_wrapper{
    width: calc(25% - 20px);
	margin: 10px;
}
.nn_hoverbox_container.two .nn_hover_block_wrapper{
	box-sizing: border-box;
	margin: 10px;
	width: 31.5%;
}
.nn_hover_block{
	position: relative;
	cursor: pointer;
	min-height: 336px;
    overflow: hidden;
}
.nn_hover_block:hover .overlay, .nn_hover_block:hover .content{
	opacity: 1;
}
.nn_hover_block .overlay{
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	top: 0;
	left: 0;
	transition: background-color 0.5s ease;
}
.nn_hover_block:hover .overlay{
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.7) !important;
	top: 0;
	left: 0;
	transition: background-color 0.5s ease;
}
.hover_box_title {
    position: absolute;
    bottom: 30px;
	width: 100%;
    height: 110px;
    z-index: 9;
}
.line_dot {
    width: 75%;
    bottom: 10px;
    position: relative;
	z-index: 9;
}
.line_dot .line{
	height: 20px;
	width: 85%;
	background: #FEED02;
	transition: width 0.5s linear;
}
.nn_hover_block:hover .line_dot .line {
    width: 100%;
}
.line_dot .dot{
	height: 27px;
	width: 27px;
	position: absolute;
	right: 0;
	background: url("../images/hover_box_dot.svg") center/contain no-repeat;
	margin-top: 15px;
	opacity: 1;
}
.nn_hover_block:hover .line_dot .dot {
	
}
.nn_hover_block h2.header{
	top: 0;
	width: 100%;
	font-size: 36px;
	text-align: left;
	padding: 0 0 0 20px;
	z-index: 99;
	color: #fff;
}
.nn_hover_block .content{
	color: #fff;
	width: 100%;
	height: 100%;
	text-align: left;
	vertical-align: middle;
	z-index: 99;
	margin-bottom: 25px;
}
.nn_hover_block .content p{
	color: #fff;
}

@media (min-width: 768px) and (max-width: 1024px){
	.nn_hoverbox_container.four .nn_hover_block_wrapper {
		width: calc(100% - 20px);
	    margin: 10px;
	}
}
@media (max-width: 767px){
	.nn_hoverbox_container.four .nn_hover_block_wrapper {
		width: calc(100% - 20px);
		margin: 10px;
	}
}

