@charset "utf-8";
/* CSS Document */

/*---------------------------------------------------
SPECIFIC -------------------------------------------
---------------------------------------------------*/

.view {
/*	width: 100%;
	height: 100%*/
	width: 270px;
    height: 180px;
    margin: 8px;
    float: left;
    border: 10px solid #fff;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
    background: #fff no-repeat center center;
}
.view .mask, .view .content {
    width: 270px;
    height: 180px;
    text-align: center;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
	margin: auto;
}
.view img {
    display: block;
    position: relative;
	width: 270px;
    height: 180px;
}
.view h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0 0 0
}
.view p {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    position: relative;
    color: #fff;
    padding: 10px 20px 10px;
    text-align: center
}
.view a.info {
    display: inline-block;
    text-decoration: none;
/*    padding: 7px 14px;*/
	padding: 7px 7px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 0 1px #000
}
.view a.info:hover {
    box-shadow: 0 0 5px #000
}

/*---------------------------------------------------
EXAMPLE 5 -------------------------------------------
---------------------------------------------------*/

.view-fifth img {
	transition: all 0.3s ease-in-out; 
}
.view-fifth .mask { 
	background-color: rgba(7, 116, 185, 0.7);
	transform: translateX(-300px);
	opacity: 1;
	transition: all 0.4s ease-in-out;
        text-align:center;
 
}
.view-fifth h2{
    background: rgba(255, 255, 255, 0.5);
    color: #000;
    box-shadow: 0px 1px 3px rgba(255, 255, 255, 0.5);
    text-align:center;
}
.view-fifth p{
    opacity: 0;
    color: #333;
    transition: all 0.2s linear;
    text-align:center;
}

.view-fifth:hover .mask { 
	transform: translateX(0px);
        text-align:center;
}						
.view-fifth:hover img { 
	transform: translateX(300px);
        text-align:center;
	transition-delay: 0.1s;
}
.view-fifth:hover p{
    opacity: 1;
    transition-delay: 0.4s;
}

/*---------------------------------------------------
LAYOUT -------------------------------------------
---------------------------------------------------*/
.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	justify-content:center;
	align-items:center
}

.flexbox {
    min-width: 100px;
    max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	padding-bottom: 5%;
}