/*
* Photo Gallery — Practice
* CSS Styles
*
* Start typing your code under these comments
*/

#topbar {
   
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    z-index: 998;
}
.img {
	max-width: 25%;
}

.container {
	width: 100%;
	max-width:960px;
	margin: 0 auto;
}
.container1 {
	width: 100%;
	max-width:960px;
	margin: 0 auto;
	
}


.photo1 {
	float: left;
    width: 400;
	padding: 15px;
	box-sizing: border-box;
	
}
.photo1 img {
    display: block;
    max-width: 100%;
    height: 400;
    border: 10px solid #4d141ba1;
    box-sizing: border-box;
}
.photo1 a:hover {
    opacity: 0.85;
}
.photo1 a {
    display: block;
    position: relative;
}


.photo1:hover> a:after {
    visibility: visible;
}
.photo1 figcaption {
    color: #000000;
    text-align: center;
    margin-top: 20px;
}




.photo123 {
	float: left;
    width: 400;
	padding: 15px;
	box-sizing: border-box;
	
}
.photo123 img {
    display: block;
    max-width: 100%;
    height: 350;
    border: 10px solid #b1aaa0;
    box-sizing: border-box;
}
.photo123 a:hover {
    opacity: 0.85;
}
.photo123 a {
    display: block;
    position: relative;
}


.photo123:hover> a:after {
    visibility: visible;
}
.photo123 figcaption {
    color: #000000;
    text-align: center;
    margin-top: 20px;
}






.photo1233 {
	float: center;
    width: 400;
	padding: 15px;
	box-sizing: border-box;
	
}
.photo1233 img {
    display: block;
    max-width: 100%;
    height: 350;
    border: 10px solid #4d141ba1;
    box-sizing: border-box;
}
.photo1233 a:hover {
    opacity: 0.85;
}
.photo1233 a {
    display: block;
    position: relative;
}


.photo1233:hover> a:after {
    visibility: visible;
}
.photo1233 figcaption {
    color: #000000;
    text-align: center;
    margin-top: 20px;
}


















.photo2 {
	float: left;
    width: 300;
	padding: 15px;
	box-sizing: border-box;
	
}
.photo2 img {
    display: block;
    max-width: 100%;
    height: 300;
    border: 10px solid #4d141ba1;
    box-sizing: border-box;
}
.photo2 a:hover {
    opacity: 0.85;
}
.photo1 a {
    display: block;
    position: relative;
}


.photo2:hover> a:after {
    visibility: visible;
}
.photo2 figcaption {
    color: #000000;
    text-align: center;
    margin-top: 20px;
}












.photo {
	float: left;
    width: 310;
	padding: 15px;
	box-sizing: border-box;
	
}
.photo img {
    display: block;
    max-width: 100%;
    height: 400;
    border: 10px solid #4d141ba1;
    box-sizing: border-box;
}
.photo a:hover {
    opacity: 0.85;
}
.photo a {
    display: block;
    position: relative;
}


.photo:hover> a:after {
    visibility: visible;
}
.photo figcaption {
    color: #000000;
    text-align: center;
    margin-top: 20px;
}
h1 {
    font-size: 36px;
    text-transform: uppercase;
  
    text-align: center;
    margin: 30px 0;
}
body {
    font-family: 'Open Sans', sans-serif;
}
.wrapper {
    width: 960px;
    margin:0 auto;
}
#gallery {
    margin-bottom: 60px;
    
}
#gallery .photo img {
    box-shadow: 0px 3px 3px 0px #212121;
}
#gallery:after { 
   content: '';
   display: block; 
   height: 0; 
   clear: both;
}
.exam_02 {
    padding: 20px 5px; /*отступ вложенного текста от рамки */
    background: #f2cfaf94; /* фон рамки */
    font-size: 25px; /* размер шрифта */
    border-radius: 10px; /*  радиус скругления углов рамки */
    font-family: Georgia, serif;
    border-style: double;
    border-color: #000000;
     border-width: 4px;
}
.exam_05 {
    padding: 20px 5px; /*отступ вложенного текста от рамки */
    background: #f3d0af66; /* фон рамки */
    font-size: 30px; /* размер шрифта */
    border-radius: 10px; /*  радиус скругления углов рамки */
    font-family: Georgia, serif;
    border-style: double;
    border-color: #000000;
    border-width: 5px;
}
.exam_033 {
     padding: 20px 5px; /*отступ вложенного текста от рамки */
    font-size: 25px; /* размер шрифта */
    font-family: Georgia, serif;
    
    
     width: auto;
  height: auto;

  position: relative;
  z-index: 1;
  cursor: pointer;

}

.exam_033:before,
.exam_033:after {
  content: '';
  position: absolute;
  display: block;
  width: 100px;
  height: 30px;
  border: green solid 3px;
 
  transition: all 0.3s ease-in-out;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}

.exam_033:before {
  right: -5px;
  top: -5px;
  border-left: none;
  border-bottom: none;
  transform: translate(-10px, 10px);
}

.exam_033:after {
  left: -5px;
  bottom: -5px;
  border-right: none;
  border-top: none;
  transform: translate(10px, -10px);
}

.exam_033:hover:before,
.exam_033:hover:after {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}

.exam_022 {
     position:absolute;
  bottom:80;
 
 
 
    
    padding: 20px 5px; /*отступ вложенного текста от рамки */
    
    font-size: 25px; /* размер шрифта */
  
    font-family: Georgia, serif;
     width: 285px;
  height: auto;

 
  z-index: 1;
  cursor: pointer;
  margin: 20px auto;
}    
.exam_022:before,
.exam_022:after {
  content: '';
  position: absolute;
  display: block;
  width: 100px;
  height: 30px;
  border: green solid 3px;
 
  transition: all 0.4s ease-in-out;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}

.exam_022:before {
  right: -5px;
  top: -5px;
  border-left: none;
  border-bottom: none;
  transform: translate(-10px, 10px);
}

.exam_022:after {
  left: -5px;
  bottom: -5px;
  border-right: none;
  border-top: none;
  transform: translate(10px, -10px);
}

.exam_022:hover:before,
.exam_022:hover:after {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}    
    
    
    
    
    

.exam_04 {
    background-color:rgb(169 169 169 / 0.35);
    border-left: 6px solid #0000ee;
    color: #49152c;
    padding: 25px 20px;
    font-size: 20px;
    font-family: Verdana, fantasy;
}
    
.exam_03 {
   padding: 20px 20px; /*отступ вложенного текста от рамки */
    background: #8FBC8F; /* фон рамки */
    font-size: 25px; /* размер шрифта */
    border-radius: 10px; /*  радиус скругления углов рамки */
    font-family: Georgia, serif;
}

.exam_05 {
   padding: 20px 20px; /*отступ вложенного текста от рамки */
   padding-right: 25px;
  
    font-size: 25px; /* размер шрифта */
    border-radius: 10px; /*  радиус скругления углов рамки */
    font-family: Georgia, serif;
}

#menuVertical {
    float: left;
    width: 321px;
    height: 538px;
    background: #1f2229;
}

.catside a:hover { 
    color: #fff;
    border-radius: 10px; /*  радиус скругления углов рамки */ 
}
.scrollup{
width:40px;
height:40px;
opacity:0.3;
position:fixed;
bottom:50px;
right:100px;
display:none;
text-indent:-9999px;
background: url('icon_top.png') no-repeat;
}




#back-top {
position: fixed;
bottom: 30px;
margin-left: -150px;
}
#back-top a {
width: 108px;
display: block;
text-align: center;
font: 11px/100% Arial, Helvetica, sans-serif;
text-transform: uppercase;
text-decoration: none;
color: #bbb;
/* transition */
-webkit-transition: 1s;
-moz-transition: 1s;
transition: 1s;
}
#back-top a:hover {
color: #000;
}
/* arrow icon (span tag) */
#back-top span {
width: 108px;
height: 108px;
display: block;
margin-bottom: 7px;
background: #ddd url(up-arrow.png) no-repeat center center;
/* rounded corners */
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
/* transition */
-webkit-transition: 1s;
-moz-transition: 1s;
transition: 1s;
}
#back-top a:hover span {
background-color: #777;
}