body.home  a.home, 
body.contact  a.contact{
	text-decoration: underline;
}

header {
   width: 100%;
left: 10px;
top: 0px;
padding-top: 7px;
}

main {
	background-color: white;
	padding-top: 30px;
}
footer {
	background-color: #eeeeee;
	border-top: 1px grey solid;
	padding: 15px 0px 20px 0px;
}
.fastcontact {
	padding-top: 35px;
font-family: 'Merriweather';
font-style: normal;
color: #007f99;
font-weight: 500;
font-size: 20px;
vertical-align: middle;
}


.content {
	margin-top: 25px;
	padding-left: 30px;
}
.content div:first-child {
	width: 100%;
}
/*.aftercontent span {
	float: left;
        width: 100%;
}*/
p {
	text-indent: 15px;
}
h1, h2 {
	text-align: center;
	color: #00809a;
}
.img-of {
	margin: 10px;
}
li {
  margin-left: 20px;
}
@media only screen and (max-width: 1250px) {
   header {
    height: 40vh;
}
.navbar-toggle {
    float: inherit;
}
.navbar-header {
    background-color: #eeeedd;
    display: flex;
    justify-content: center;
}
nav.navbar.navbar-default {
    height: 10vh;
    background-color: #eeeedd;
}
nav.navbar.navbar-default.nav-top {
    display: none;
}
button.navbar-toggle {
    position: absolute;
    right: 5vw;
}
div#oNavbar {
    z-index: 89;
    position: absolute;
    background: #fff;
}
/*.content {
    margin-top: 15px;
    padding-left: 10px;*/
}
}
.image__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.image__wrapper img {
    width: 20%;
    margin: 2%;
    transition: 1s;
    cursor: pointer;
}

/* увеличенная картинка */
#magnify {
    display: none;

    /* position: absolute; upd: 24.10.2016 */
    position: fixed;
    max-width: 600px;
    height: auto;
    z-index: 9999;
}

#magnify img {
    width: 100%;
}

/* затемняющий фон */
#overlay {
    display: none;

    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    z-index: 9990;
}

/* кнопка закрытия */
#close-popup {
    width: 30px;
    height: 30px;

    background: #FFFFFF;
    border: 1px solid #AFAFAF;
    border-radius: 15px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

#close-popup i {
    width: 30px;
    height: 30px;
    background: url(https://codernote.ru/files/cross.png) no-repeat center center;
    background-size: 16px 16px;
    display: block;
}

@keyframes rota {
    25% { transform: rotate(360deg); }
}

#close-popup:hover {
    animation: rota 4s infinite normal;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}
.magnify {
top: 0;
left: 0;
dysplay: block;
}
@media only screen and (max-width: 1000px) {
   .image__wrapper img {
    width: 45%;
    margin: 2%;
}
#magnify {
    max-width: 100%;
    left: 25% !important;
    width: 50%;
}
}
@media only screen and (max-width: 400px) {
   .image__wrapper img {
    width: 90%;
    margin: 5%;
}
#magnify {
    max-width: 100%;
    left: 0 !important;
    width: 100%;
}
}