/*   
Theme Name: Svetlana
Theme URI: домашняя-страница-темы
Description: краткое-описание-темы
Author: ваше-имя
Author URI: ваш-URI
Version: номер-версии--необязательное-поле
*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  overflow: hidden;

}

.preloader_full-screen {
  height: 100vh;
}

.circle {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.circle_green {
  background-color: #28a745;
  transform: translateX(13px);
  animation: animate-green 2s linear infinite;
}

.circle_red {
  background-color: #f01753;
  transform: translateX(-13px);
  animation: animate-red 2s linear infinite;
}

@keyframes animate-green {
  0% {
    background-color: #28a745;
  }

  3% {
    background-color: #28a745;
    transform: translateX(13px);
  }
  
  9% {
    background-color: #28a745;
    transform: translateX(-20px);
  }
  
  14% {
    transform: translateX(2px);
  }

  18% {
    transform: translateX(-12px);
  }

  21% {
    transform: translateX(-3px);
  }

  23% {
    transform: translateX(-9px);
  }

  24% {
    transform: translateX(-7px);
  }

  30% {
    transform: translateX(-7px) scale(1);
    animation-timing-function: cubic-bezier(.6, 0, 1, 1);
  }

  43% {
    z-index: -1;
    transform: translateX(13px) scale(.6);
    animation-timing-function: cubic-bezier(0, 0, .4, 1);
  }

  56% {
    z-index: 1;
    transform: translateX(33px) scale(1);
    animation-timing-function: cubic-bezier(.6, 0, 1, 1);
  }
  
  69% {
    transform: translateX(13px) scale(1.4);
    animation-timing-function: cubic-bezier(0, 0, .4, 1);
  }

  82% {
    z-index: 1;
    background-color: #28a745;
    transform: translateX(-7px) scale(1);
    animation-timing-function: ease-in;
  }

  98% {
    background-color: #28a745;
    transform: translateX(13px);
  }

  100% {
    background-color: #28a745;
  }
}

@keyframes animate-red {
  0% {
    background-color: #560e5c;
  }

  3% {
    background-color: #560e5c;
    transform: translateX(-13px);
  }
  
  9% {
    background-color: #f01753;
    transform: translateX(20px);
  }
  
  14% {
    transform: translateX(-2px);
  }

  18% {
    transform: translateX(12px);
  }

  21% {
    transform: translateX(3px);
  }

  23% {
    transform: translateX(9px);
  }

  24% {
    transform: translateX(7px);
  }

  30% {
    transform: translateX(7px) scale(1);
    animation-timing-function: cubic-bezier(.6, 0, 1, 1);
  }

  43% {
    transform: translateX(-13px) scale(1.4);
    animation-timing-function: cubic-bezier(0, 0, .4, 1);
  }

  56% {
    transform: translateX(-33px) scale(1);
    animation-timing-function: cubic-bezier(.6, 0, 1, 1);
  }

  69% {
    transform: translateX(-13px) scale(.6);
    animation-timing-function: cubic-bezier(0, 0, .4, 1);
  }

  82% {
    background-color: #f01753;
    transform: translateX(7px) scale(1);
    animation-timing-function: ease-in;
  }

  98% {
    background-color: #560e5c;
    transform: translateX(-13px);
  }

  100% {
    background-color: #560e5c;
  }
}


@font-face{
font-family: 'hand';
src: url('../svetlana/fonts/hand.otf');
}

@font-face{
font-family: 'Montserrat';
src: url('../svetlana/fonts/hand.otf');
}


body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #28a745;
}

hr.light {
  border-color: #fff;
}

a {
  color: #28a745;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #28a745;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.bg-primary {
  background-color: #28a745!important;
}

.bg-dark {
  background-color: #212529 !important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

section {
  padding: 8rem 0;
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 700;
  text-transform: uppercase;
  color: #28a745;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #28a745;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #28a745;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #28a745 !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #28a745;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #28a745;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #28a745;
  }
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
/*  background-image: url("../img/header.jpg")*/;
  background-position: center center;
  background-size: cover;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 2rem;
}

header.masthead p {
  font-weight: 300;
}

@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    min-height: 450px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 4rem;
  }
}

.service-box {
  max-width: 400px;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
  height: 300px;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(41, 167, 69, 0.5);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

/*.portfolio-box:hover .portfolio-box-caption {
  opacity: 0;
}*/

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.text-primary {
  color:#28a745 !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color:rgba(40, 167, 69, 0.5) !important;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow:none;
  box-shadow: none;
  outline: none;
}

/*Custom*/
#button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #28a745;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 1;
  z-index: 1000;
}
#button i {
  color:#fff;
  font-size:24px;
}
#button:hover {
  cursor: pointer;
  background-color: #146326;
  transition: .4s;
}

@media (min-width: 500px) {
  #button {
    margin: 30px;
  }
}
html {
	overflow-x:hidden;
}
body {
  background-color: #f0f8ff;
  font-family: 'Open Sans', sans-serif;
}
h1,h2,h3,h4,h5,p {
  font-family: 'Open Sans', sans-serif;
}
header img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  box-shadow: 0 0 20px black;
animation: zoomy 25s infinite;
-webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out;
-webkit-animation-direction: alternate;	
}

@keyframes zoomy {
	0%{
		width:100%;
	}
	100%{
		width:110%;
	}	
}


#about {
  background-color: rgba(104, 255, 139, 0.2);
  border-bottom-left-radius:80%;
}
#about .row {
  justify-content: space-around;
}
#about .info {
  display: flex;
  padding: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transform: rotate(-10deg) translateX(-10%);
  border:2px dashed #130000;
  background-color:rgb(251, 251, 251);
  box-shadow: 0 0 20px #343a40;
  background-size: cover;
}
#about .info a {
  background-color: rgba(40, 167, 69, 0.5);
  transition: .4s;
  color: #fff;
}
#about .info a:hover {
  background-color: #28a745;
  transition: .4s;
  color: #fff;
}
#about .info h4 {
  font-size: 18px;
  font-family: 'hand';
  color:gray;
}
#about .info h5 {
  font-size: 24px;
  font-family: 'hand';
  color:black;
}
#about .img-block-custom {
  height: auto;
}
#about .custom-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
#about .img-block-custom img {
    height: 500px;
    width: 500px;
    border-radius: 50%;
    border: 10px solid white;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(29, 33, 36, 0.7);
}

#gepatit {
  /*background-color: #68ff8b3d;*/
}
#gepatit h1 {
  font-size: 100px;
}
#gepatit h2,
#gepatit i,
#gepatit h5,
#gepatit p {
  color: rgb(36, 123, 56);
}
#gepatit .my-4 {
    border-color: #343a40;
}

#services .diagnoses h4 {
  color: #28a745;
  font-size: 18px;
}
#services .diagnoses h5 {
  font-size: 16px;
  font-weight: 400;
}

#services .diagnoses h5 {
  margin: 25px 0;
}

#contact .contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact .contact-form input {
  width: 100%;
  height: 50px;
  border-radius: 6px;
  border:1px solid rgb(36, 123, 56);
  margin-bottom: 25px;
  padding: 10px;
  outline: none;
  border-radius: 300px;
  background-color:rgba(40, 167, 69, 0.2);
}

#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder {
  color:#343a40!important;
  font-size: 12px!important;
  padding-left: 15px;
}
#contact .contact-form textarea {
  width: 100%;
  border-radius: 6px;
  border:1px solid rgb(36, 123, 56);
  margin-bottom: 25px;
  resize: none;
  padding: 10px;
  outline: none;
  height: 150px;
  border-radius: 30px;
  background-color:rgba(40, 167, 69, 0.2);
}
#contact .wpcf7-submit {
  width: 30%!important;
  background: #28a745!important;
  color: #fff!important;
}
section#portfolio .portfolio-box  img {
  width: 100%;
}
#feedback {
  background-color:rgba(40, 167, 69, 0.2);
}
#feedback .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#feedback .swiper-slide .avatar {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 10px solid white;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(29, 33, 36, 0.7); 
}
#feedback .swiper-slide p {
  width: 800px;
  text-align: center;
}
#feedback .swiper-slide .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#contact .contact-form input::placeholder,
#contact .contact-form textarea::placeholder{
  color: #28a745;
}

/*sertificates*/
#feedback .swiper-container-certificate .swiper-slide .avatar {
  border-radius: 0;
}
#feedback .swiper-container-certificate .swiper-slide .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#map {
  background-color: #e9ecef;
  padding-bottom: 0;
}
section#map iframe{
  width: 100%;
}
footer {
  background-color: #28a745;
  color: #fff;
  height: 100px;
  display: flex;
  justify-content: space-around;
}
footer .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer p {
  margin: 0;
}
.img-fluid {
  height: 100%;
  width: 100%!important;
  object-fit: cover;
}
@media screen and (min-width: 320px) and (max-width: 600px) {
  #about {
    margin-top: 0;
    background-color: #f1f0ee!important;
  }
  #about .img-block-custom {
    width: 250px;
    height: 250px;
    margin: 50px 0;
  }
  #about .img-block-custom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.swiper-button-next, .swiper-button-prev { 
	display:none;
}	
}
@media screen and (min-width: 320px) and (max-width: 992px) {
  #about .info {
    transform: rotate(0);
  }
  #feedback .swiper-slide p {
    width: 100%;
    padding: 0 15px;
    font-size: 16px;
  }
  #services ul {
    padding-left: 15px;
  }
  #services ul li {
    font-size: 14px;
  }  
}
.swiper-button-next, .swiper-button-prev { 
	filter: grayscale(100%);
}