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

img {
  border: 0;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

body {
  background-color: #fff;
  font-family: 'Open Sans', sans-serif;
  color: #3F5369;
  font-weight: 400;
  text-align: justify;
  font-size: 14px;
  margin: 0px;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: #fff url("../img/page.jpg") top center fixed repeat-x;
}

.top a, .top a:hover, .top a:visited {
  color: #fff;
  text-decoration: none;
}

a {
  text-decoration: none;
  color: #1C49BA;
}

a:hover {
  text-decoration: underline;
}

h1, h2 {
  font-size: 28px;
  text-align: center;
  font-weight: 700;
  color: #1C49BA;
}

p {
  padding: 10px 5px 0px 10px;
}

.top {
  width: 100%;
  z-index: 1000;
  min-height: 40px; 
  box-shadow: 0 4px 6px 3px rgba(0, 0, 0, 0.15); 
  background-color: #1C49BA;
  background-image: url("../img/nav.png");
  /*background: -webkit-linear-gradient(rgba(71, 124, 222, 0.21) 0%, rgba(44, 106, 218, 0.18) 29%, rgba(28, 74, 158, 0.11) 100%) no-repeat, url("../img/nav.png"), -webkit-linear-gradient(#3871DC 0%, #2665D9 29%, #1F51AD 100%) no-repeat;
  background: -o-linear-gradient(rgba(71, 124, 222, 0.21) 0%, rgba(44, 106, 218, 0.18) 29%, rgba(28, 74, 158, 0.11) 100%) no-repeat, url("../img/nav.png"), -o-linear-gradient(#3871DC 0%, #2665D9 29%, #1F51AD 100%) no-repeat;
  background: linear-gradient(rgba(71, 124, 222, 0.21) 0%, rgba(44, 106, 218, 0.18) 29%, rgba(28, 74, 158, 0.11) 100%) no-repeat, url("../img/nav.png"), linear-gradient(#3871DC 0%, #2665D9 29%, #1F51AD 100%) no-repeat;*/
}

.nav {
  max-width: 960px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
}

.nav-btn {
  height: 40px;
  line-height: 40px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 0 30px;
  margin: 0;
  background-color: transparent;
  text-shadow: 0 1px 0 rgba(23, 23, 23, 0.82);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.head {
  max-width: 960px;
  min-height: 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 30px auto;
}

.logo img {
  max-height: 75px;
}

.head-contacts {
  text-align: right;
  color: #fff;
  font-size: 18px;
  line-height: 26px;
  font-weight: bold;
  text-shadow: 0 2px 1px rgba(23, 23, 23, 0.8);
}

.slide {
  display: flex;
  align-items: center;
  max-width: 960px;
  width: 100%;
  height: 350px;
  background-image: url("../img/banner.jpg");
  background-size: cover;
  -webkit-box-shadow: 0 5px 10px rgba(23, 23, 23, 0.3);
          box-shadow: 0 5px 10px rgba(23, 23, 23, 0.3);
  margin-bottom: 30px;
  border: 4px solid #fff;
}
.offer p {
  max-width: 500px;
  font-weight: bold;
  font-size: 30px;
  text-align: left;
  color: #1C49BA;
  margin-left: 30px;
}
.button {
  font-size: 12px;
  padding: 15px 30px;
  background-color: #1C49BA;
  border-radius: 8px;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  margin-top: 10px;
  margin-left: 40px;
  text-decoration: none;
  box-shadow: 0 2px 2px rgba(23, 23, 23, 0.3);
  transition: all 0.5s; 
  background-image: url("../img/nav.png");
}
.offer a {
  text-decoration: none;
}

.button:hover {
  background: #219EFF;
  transition: all 0.5s; 
}
.content {
  max-width: 960px;
  width: 100%;
  background-color: #fff;
  -webkit-box-shadow: 0 5px 10px rgba(23, 23, 23, 0.3);
          box-shadow: 0 5px 10px rgba(23, 23, 23, 0.3);
  text-align: justify;
  padding-top: 20px;
  padding-bottom: 30px;
}

.block1 {
  border: 1px solid #CFD8E2;
  border-radius: 4px;
  width: 100%;
  padding: 10px;
  text-align: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
  min-height: 260px;
}

.block2 {
  min-height: 535px;
  border: 1px solid #CFD8E2;
  border-radius: 4px;
  width: 100%;
  padding: 10px;
  text-align: left;
  background-color: #F6F7F8;
  margin-bottom: 20px;
}

.photos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.pic {
  margin-bottom: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  max-height: 300px;
  width: 100%;
  border: 1px solid #CFD8E2;
  border-radius: 4px;
}

.footer {
  width: 100%;
  max-width: 960px;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

table {
  width: 80%;
  margin: 0 auto;
  border: 0;
}

td, th {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #CFD8E2;
}

.menu-icon {
  width: 27px;
  height: 20px;
  background: url(../img/menu-icon.svg) center center no-repeat;
  background-size: cover;
  cursor: pointer;
  position: absolute;
  right: 0;
  margin: 10px 15px;
}

.menu-icon-close {
  width: 20px;
  height: 20px;
  background: url(../img/menu-icon-close.svg) center center no-repeat;
  background-size: cover;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  margin: 20px;
  opacity: 0.5;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.menu-icon-close:hover {
  opacity: 1;
}

.sidebar {
  max-width: 300px;
  right: -300px;
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
  text-align: left;
  font-size: 20px;
  color: #666;
  background: #fff;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: 100001 !important;
  -webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  margin: 0;
  padding-left: 20px;
  padding-top: 10px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 40px;
}

.sidebar ul {
  list-style: none;
  margin-top: 40px;
}

.sidebar a {
  text-decoration: none;
}

.sidebar.active {
  right: 0;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 999;
  background: #000;
  opacity: 0;
  margin: 0px;
  padding: 0px;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
}

.overlay.active {
  opacity: 0.8;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  display: block;
}

.doctor1, .doctor2 {
  width: 250px;
  height: 250px;
  border-radius: 100%;
  margin: 10px auto;
}

.doctor1 {
  background: url(../img/doctor1.jpg) center center no-repeat;
  background-size: cover;
}

.doctor2 {
  background: url(../img/doctor2.jpg) center center no-repeat;
  background-size: cover;
}