/*
 *	Plugin Name: WP Tiles WUD
*/

/* Container (Categorie box) */
.wp-tiles-wud-container{
	width: 100%;
    overflow: hidden;
	font-size: 100%; 
}

/* Wrapper (Tile) */
.wp-tiles-wud-wrapper{
	float:left;
	color: #FFFFFF;
	overflow: hidden;
	position: relative;	
		border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}

.wp-tiles-wud-wrapper-box{
	float:left;
	color: #FFFFFF;
	overflow: hidden;
	position: relative;	
	box-shadow: 2px 2px 6px #000000;	
		border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}

/* First tile */
#wp-tiles-wud-wrapper-1 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;
}

/* Tile 2 tot 5 */
#wp-tiles-wud-wrapper-2 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-left: 0.9%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;	
}
#wp-tiles-wud-wrapper-3 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-left: 0.9%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;		
}
#wp-tiles-wud-wrapper-4 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-left: 0.9%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;	
}
#wp-tiles-wud-wrapper-5 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;	
}

/* tile 6 */
#wp-tiles-wud-wrapper-6 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-left: 0.9%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;		
}

/* tile 7 to 10 */
#wp-tiles-wud-wrapper-7 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-left: 0.9%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;		
}

#wp-tiles-wud-wrapper-8 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-left: 0.9%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;	
	}

#wp-tiles-wud-wrapper-9 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;	
	}
#wp-tiles-wud-wrapper-10 {
    width: 24%;
	height: 0;	
	padding-bottom: 24%;
	margin-left: 0.9%;
	margin-bottom: 0.5%;	
	font-size: 22px; 
	font-size: 1.4vw;
	}

/* Responsive at 920px */
@media screen and (max-width: 920px) {
.wp-tiles-wud-wrapper{
	width: 100% !important;
	height: 0;	
	padding-bottom: 100% !important;
	margin: 0.5%;
}
.wp-tiles-wud-wrapper-box{
	width: 100% !important;
	height: 0;	
	padding-bottom: 100% !important;
	margin: 0.5%;
}
.wud-h2 {
	font-size:220% !important;
}
}

/* Background image */
.wp-tiles-wud-image{
	position: absolute;
	background-position: center;
	height:100%; width:100%; 
	background-size: cover;	
	-webkit-transition: all 0.7s ease-in-out;
	-moz-transition: all 0.7s ease-in-out;
	-o-transition: all 0.7s ease-in-out;
	-ms-transition: all 0.7s ease-in-out;
	transition: all 0.7s ease-in-out;
    -moz-transform: scale(1.09);
    -ms-transform: scale(1.09);
    -webkit-transform: scale(1.09);
    transform: scale(0.9);	
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
   -moz-box-shadow:    inset 0 0 20px #000000;
   -webkit-box-shadow: inset 0 0 20px #000000;
   box-shadow:         inset 0 0 20px #000000;
}
  
.wp-tiles-wud-image:hover{
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);	
	filter:gray alpha(opacity=80);
	-webkit-filter:grayscale(80%);
}

/* Hide title on hover */
.wp-tiles-wud-image:hover + div.wud-h2{ 
	display:none !important; 
}

.wud-excerpt-1 {
	display:none;
}
.wud-excerpt {
	display:none;
}

/* Category title */
.wud-h1 {
    font-weight: 900;
	width:100%;
    background-color: #E01100;
    color: #fff;
	font-size: 28px;
    margin-bottom: 5px;
	padding-left: 20px;
}
/* Post title standard*/
.wud-h2 {
	margin: auto;
	margin-left:8%;
	margin-top:44%;
	padding: 0 4px 0 4px;
	background-color: rgba(0, 0, 0, 0.701961);
	color: #DADADA;
	height: 14%;
	display: inline-block;
	position: absolute; 
	width:82%;
	overflow: hidden;
}

/* Read more space */
.wud-bottom {
	width:100%;
	overflow: hidden;
    margin-bottom: 5px;
}
/* Read more button */
.wud-h3 {
	font-weight: 800;
	font-size: 20px;
    background-color: #FF301F;
	color: #FFF;
	float:right;
	margin:10px;
	padding: 4px 16px 4px 16px;
	overflow: hidden;
}
.wud-h3:hover{
	background-color: #68737D;
}
