﻿
html{
background-color: #fff;

}


body {
    font-family: 'Open Sans', sans-serif;
  max-width: 950px;
background-color: #fff;
margin: auto;
margin-top: 2px;
margin-bottom: 2px;
border-radius: 20px;
}




h1 {
    font-size: 36px;
    text-transform:  uppercase;
    color: #0000ff;
    text-align: center;
    margin: 30px 0;
}

div{  
    text-transform: none;
    color: #0000ff;
    text-align: center;
    margin: 5px 0;}

figure, video{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;                  
	vertical-align: baseline;}


.container {
    width: 100%; 
    max-width: 950px; 
    margin: 0 auto; 
}

.photo {
          float: left; 
           width: 100%;            
           padding: 10px; 
         box-sizing: border-box; }

.photo img {  display: block;
              max-width: 100%;            
              height: auto;
           border: 6px solid #E87E04;  
          box-sizing: border-box; }




.photo a:hover {             /* прозрачность при наведении курсора*/
    opacity: 0.5;
}

.photo a {                /* Текст (а) как блог*/
    display: block;
position: relative;    /* дописанное свойство к блоку a:after*/
}

.photo a:after {
    content: '';
    background: transparent url(../img/icons/eye-icon04.png) no-repeat center;
    width: 54px;
    height: 24px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    visibility: hidden;
}

.photo:hover > a:after { 
    visibility: visible;}

.photo figcaption {
    font-family: 'Open Sans', sans-serif;
    color: #0000ff;    
font-size:10px;
    margin-top: 20px;
}


#gallery {
          margin-bottom: 50px;          
         }

#gallery:after {                   
   content: '';
   display: block; 
   height: 0; 
   clear: both;
}

.levo{
margin-left: 20px;}


a {
color:#660000; 
font-weight: bold; 
text-decoration: none;
 font-size:14px;
font-family: 'Times New Roman';
}

a:hover {color:#ff0000;
font-size:15px;
 opacity: 0.5;
 font-weight: bold;
 text-decoration:none; }



