html {position: relative;min-height: 100%;}

body {font-family: Verdana;}

.header {
	height: 80px;
	top: 0px;
	left: 0px;
	position: fixed;
	background:#f7fff4;
	width: 100%;
	z-index: 1;
}

.header .tel-header {
	top: 15px;
	width: 21%;
	height: 100px;
	display:table-cell;
	vertical-align: middle;
	text-align: right;
	font-size: 22px;
	padding-right: 10px;
	
}

.menu-header {
	top: -20px;
	height: 100px;
	width: 100%;
	min-width: 800px;
	position: absolute;
	margin: auto;
	text-align: center;
	display:block;
}

.menu-header .itemmenu {
	height: 100px;
	display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 8px;
    font-size:22px;
    width:20%;
} 

.menu-header .logo {
	display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-left: 3px;
    padding-top: 15px;
} 

.wrapper-main {
	padding-top: 100px;
	margin: auto;
	width: 80%;
	min-width: 800px;
}

.wrapper-main A {color: blue;}

.gallery {
	height: 330px;
	width: 100%;
}

.wrapper-table {display:table;width:100%;margin: auto;padding-top:5px;}

.wrapper-main .img-block {
	width: 100%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.wrapper-main .button-block {
	width: 25%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.wrapper-main .text-block {
	width: 50%;
	display: table-cell;
	vertical-align: middle;
}

.wrapper-main .img-r {
	padding:5px;
	width: 10%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	font-size: 14px;
}

.wrapper-main .text-r {
	width: 40%;
	display: table-cell;
	vertical-align: top;
	font-size: 14px;
}

.wrapper-main .img-p {
	width: 50%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	background:#f7fff4;
}

.wrapper-main .text-p {
	color: black;
	width: 100%;
	display: table-cell;
	vertical-align: middle;
	font-size: 20px;
	line-height: 1.0;
	background:#f7fff4;
}

.wrapper-main .text-t {
	width: 100%;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	line-height: 1.0;
}

.footer {
	height: 125px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	display: table-row;
	position: absolute;
	background: #133176;
	width: 100%;
}

.tel-footer {
	bottom: 0px;
	padding-left:20px;
	height: 125px;
	display:table-cell;
	vertical-align: middle;
	font-size: 24px;
}

.dashed {
  text-decoration: none;
  color: #0088cc;
  border-bottom: 1px dashed white;
}

.menu-footer {
	bottom: 0px;
	left:280px;
	height: 125px;
	width: 100%-280px;
	position: absolute;
	margin: auto;
	text-align: center;
	display:block;
}

.menu-footer .itemmenu {
	height: 125px;
	display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
}

.reviews {
	
}

A {text-decoration:none; color: #133176;}
A:active {text-decoration:none; color: gray; }
A:hover {text-decoration: underline; color: red;} 

/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
	padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
	top: 0;
	bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
	padding: 0;
}

ul {
    padding: 0; /* Убираем поля */
    margin-left: 20px; /* Отступ слева */
}

/* Стили модального окна */
.modal-header h2 {
    color: #555;  
    font-size: 20px;
    font-weight: normal;
    line-height: 1;    
    margin: 0;
}
/* кнопка закрытия окна */
.modal .btn-close {
    color: #aaa;
    cursor: pointer;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    right: 5px;
    top: 0;
}
.modal .btn-close:hover {
    color: red;
}
/* слой затемнения */
.modal-wrap:before {
    content: "";
    display: none;
    background: rgba(0, 0, 0, .3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
}
.modal-overlay {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 102;
}
/* активация слоя затемнения и модального блока */
.modal-open:checked ~ .modal-wrap:before,
.modal-open:checked ~ .modal-wrap .modal-overlay {
    display: block;
}
.modal-open:checked ~ .modal-wrap .modal-dialog {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 20%;
}
/* элементы модального окна */
.modal-dialog {
    background: #fefefe;
    border: none;
    border-radius: 5px;
    position: fixed;
    width: 80%;
    padding:1px;
    text-align:center;
    max-width: 360px;
    left: 50%;
    top: -100%;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    z-index: 103;
}
.modal-body {
  padding: 20px;
}
.modal-body p {
    margin: 0;
}
.modal-header,
.modal-footer {
    padding: 20px 20px;
}
.modal-header {
    border-bottom: #eaeaea solid 1px;
}
.modal-header h2 {
    font-size: 20px;
    margin: 0;
}
.modal-footer {
    border-top: #eaeaea solid 1px;
    text-align: right;
}
/* адаптивные картинки в модальном блоке */
.modal-body img { 
    max-width: 100%;
    height: auto;
}

/* кнопки */
.btn {
    cursor: pointer;
    background: red;
    width:100%;
    height:100%;
    font-size:32px;
    color:white;
}

.btnpoint {
    cursor: pointer;
}

/* Gallery -----------------------------------------------------------------------------*/
.galleries {
margin: auto;
width: 100%;
}
.galleries li {
width: 23%;
height: 300px;
float: left;
padding: 1%;
}
.galleries li img {
float: left;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.galleries li {list-style-type: none;}