/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
   border: 0;
    border-top: 1px solid #ccc;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
    box-sizing: border-box;
}


/* General styles */


/* Layout */

.wrapper {
    width: 100%;
    max-width: 960px;
    margin: 5em auto;
}


/* Content */
/* Uncomment everything commented to enable CSS hover */

.gallery-item {
    height: auto;
    margin-bottom: 2em;
    position: relative;
}

.gallery-item img {
    width: 100%;
}

.gallery-item:hover .img-title {
    /*opacity: 1;*/
}

.img-title {
    position: absolute;
    top: 0;
    margin: 0;
    height: 100%;
    width: 100%;
       opacity: 0.8;
    text-align: center;
    /* opacity: 0; */
    display: 0.1 !important;
    background-color: #000;
}

.img-title h5 {
	width: 145px;
	 padding: 6px 10px 6px 10px !important;
    position: absolute;
    color: #5a5a5a;
   
    top: 43% !important;
    padding: 4px 10px 4px 10px;
    display: inline-block;
    /* width: auto; */
    border: 1px solid #fff;
    font-size: 13px;
    font-weight: 100;
    text-align: center;
 }
 .img-title h5:hover{
    position: absolute;
    color: #fff;
	background:#fed136;
    top: 43% !important;
   width: 145px;
	 padding: 6px 10px 6px 10px !important;
    display: inline-block;
    
    border: 1px solid #fed136;
	  
    text-align: center;
 }





/* ==========================================================================
   Helper classes
   ========================================================================== */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
.over-text{
	margin-right:70px;
	top: 20%;
}

.over-text a{
	color:#f7f7f7;
	font-weight:normal;
	   
}
.over-text a:hover{
	color:#f7f7f7;
	font-weight:normal;
text-decoration:none;
}


.over-text2{
	margin-right:70px;
	top: 40%;
}

.over-text2 a{
	color:#f7f7f7;
	font-weight:normal;
	   
}
.over-text2 a:hover{
	color:#f7f7f7;
	font-weight:normal;
text-decoration:none;
}
.over-text3{
	margin-right:70px;
	top: 60%;
}

.over-text3 a{
	color:#f7f7f7;
	font-weight:normal;
	   
}
.over-text3 a:hover{
	color:#f7f7f7;
	font-weight:normal;
text-decoration:none;
}






