/*   
Theme Name: ZemThemeGalina
*/

/* FONTS */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap&subset=cyrillic');

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}
 
/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}
 
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
 
/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-size: 16px;
}
 
/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}
 
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
 
/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}
 
/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}
 
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}
 
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

input, textarea {
  outline:none!important;
  -moz-box-shadow: none!important;
  -webkit-box-shadow: none!important;
  box-shadow: none!important;
} 

a {
  color: #222222;
  text-decoration: underline;
}

a:hover, a:focus, a:active {
  color: #222222;
  text-decoration: none;
}

button:active, button:focus {
  outline: none!important;
}

button::-moz-focus-inner {
  border: 0 !important;
} 

input, textarea, select, button {
  outline: none!important;
}

:active, :hover, :focus {
  outline: 0!important;
  outline-offset: 0!important;
}

/* TEST */

#test {
  position: fixed;
  right: 0;
  background: #D0D0D0;
  z-index: 777777;
  opacity: 0.6;
  font-size: 12px;
  padding: 0!important;
  margin: 0!important;
  
  display: none!important;  /* !!! */
}

/* CLEAR */

.clear {
  display: block;
  clear: both;
  height: 0px;
}

.clear5 {
  display: block;
  clear: both;
  height: 5px;
}

.clear10 {
  display: block;
  clear: both;
  height: 10px;
}

.clear15 {
  display: block;
  clear: both;
  height: 15px;
}

.clear20 {
  display: block;
  clear: both;
  height: 20px;
}

.clear25 {
  display: block;
  clear: both;
  height: 25px;
}

.clear30 {
  display: block;
  clear: both;
  height: 30px;
}    

/* BUTTONS */

/* btn-primary */

a.btn-primary {
  color: #FFFFFF;
  text-decoration: none;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 15px;
}

.btn-primary {
  color: #FFFFFF;
  background-color: #006699;
  background-image: none;
  border-color: #006699;
  text-transform: uppercase;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 700;
  font-size: 14px;  
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #FFFFFF;
  background-color: #006600;
  border-color: #006600;
}

.btn-primary:focus, .btn-primary.active {
  box-shadow: none!important;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #FFFFFF;
  background-color: #006699;
  border-color: #006699;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: none!important;
}

.btn-primary:disabled {
  background-color: #AEAEAE!important;
  border: 1px solid #AEAEAE!important;
  border-color: #AEAEAE!important;  
  opacity: 1!important;
}

/* HEADER */

.header_wrapper {
  display: block;
  width: 100%;
  height: auto;
  background: #FFFFFF;
  padding-top: 30px;
  padding-bottom: 30px;
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  .header_wrapper {
    display: none;
  }
}

.header_logo {
  display: block;
  float: left;
}

.header_logo img {
  width: 100%;
  height: auto;
  max-width: 80px;
}

.header_title {
  display: block;
  float: left;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 700px;
  font-size: 24px;  
  text-transform: uppercase;
  margin-left: 30px;
  margin-top: 20px;
}

.header_title a:link, .header_title a:visited {
  text-decoration: none;
  color: #006600;
}

.header_title a:hover, .header_title a:focus, .header_title a:active {
  text-decoration: none;
  color: #006699;
}

.header_cont_wrapper {
  display: inline-block;
  width: 100%;
  float: right;
}

.header_cont {
  display: inline-block;
  width: auto;
  float: right;
  margin-top: 20px;
}

.header_cont_line {
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-size: 16px;
  display: block;
  text-align: left;
  line-height: 1.5em;
}

.header_cont_line a {
  text-decoration: none;
  color: #006699;
}

.header_cont_line i {
  font-size: 16px;
  display: inline-block;
  width: 16px;
  text-align: center;
  margin-right: 5px;
  color: #006699;
}   

/* MENU FIX */  

.menu_wrapper_fix {
  width: 100%;
  height: 52px;
  display: none;
  position: fixed; 
  top: 0px;
  z-index: 100!important;
  background: #006600;
  border-bottom: 1px solid #006600;
  border-top: 1px solid #006600;
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  .menu_wrapper_fix {
    display: none!important;
  }
}

/* MENU */

.menu_wrapper {
  width: 100%;
  height: 52px;
  display: block;
  position: relative; 
  z-index: 50!important;
  background: #006600;
  border-bottom: 1px solid #006600;
  border-top: 1px solid #006600;
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  .menu_wrapper {
    display: none!important;
  }
}

#main_menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  border-left: 1px solid rgba(0,0,0,0.2)!important;
  border-right: 1px solid rgba(255,255,255,0.2)!important;
  display: inline-block; 
  float: left; 
}

#main_menu ul li {
  float: left;
  position: relative;
  width: auto;
  height: 50px;  
  border-right: 1px solid rgba(0,0,0,0.2);
  border-left: 1px solid rgba(255,255,255,0.2);
  -moz-transition: all 0.3s 0.01s ease;
  -o-transition: all 0.3s 0.01s ease;
  -webkit-transition: all 0.3s 0.01s ease;     
}

#main_menu ul li:hover {
  background: rgba(0,0,0,0.1);
}

#main_menu ul li a {
  text-decoration: none;
  text-transform: none;   
  color: #FFFFFF;
  font-size: 15px;  
  font-family: 'Open Sans', Arial, Verdana, Tahoma; 
  font-weight: 600;
  text-transform: uppercase;  
  text-align: center;
  padding: 0px 15px; 
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  display: block; 
  -moz-transition: all 0.3s 0.01s ease;
  -o-transition: all 0.3s 0.01s ease;
  -webkit-transition: all 0.3s 0.01s ease;  
}    

#main_menu ul li a:hover {
 color: #FFFFFF;
}       

#main_menu ul li.menu-item-has-children a:after {
  font-family: "FontAwesome";
  content: "\f0d7";
  padding-left: 6px; 
  font-size: 10px;
  position: relative;
  top: -1px; 
}

#main_menu ul li > ul {
  position: absolute;
  top: 51px;
  left: -1px;
  display: none; 
  padding: 10px;
  border-right: 0px solid #FFFFFF!important;
  border-left: 0px solid #FFFFFF!important;   
}
     
#main_menu ul li:hover > ul {
  display: block; 
  background: rgba(255,255,255,0.95);
  width: auto;
  -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
  box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);  
}

#main_menu ul li:hover > ul > li {
  width: 100%;       
  height: 40px!important;
  white-space: nowrap!important; 
  border-right: 0px solid #FFFFFF!important;
  border-left: 0px solid #FFFFFF!important;      
}

#main_menu ul li > ul > li:hover {
  background: transparent!important;
}

#main_menu ul li > ul li a {
  text-decoration: none;   
  color: #222222!important;
  font-size: 15px!important;  
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 600;
  text-transform: none!important;  
  text-align: left;
  padding: 0px 15px; 
  margin: 0;
  height: 40px!important;
  line-height: 40px!important;
  vertical-align: middle;
  display: block; 
  -moz-transition: all 0.3s 0.01s ease;
  -o-transition: all 0.3s 0.01s ease;
  -webkit-transition: all 0.3s 0.01s ease;  
  border-top: 0px solid rgba(0,0,0,0.5); 
}

#main_menu ul li > ul li a:after {
  display: none!important;
}

#main_menu ul li > ul li a:hover {
  color: #006600!important;
  text-decoration: none; 
}

/* SLIDER */

#carousel_main .carousel-inner {
  width: 100%;
  max-height: calc( 100vh - 50px - 123px );
  overflow: hidden;
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  #carousel_main .carousel-inner {
    max-height: calc( 50vh + 80px );
  }  
}

#carousel_main .carousel-item {
  width: 100%;
  height: calc( 100vh - 50px - 123px );
}  

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  #carousel_main .carousel-item {
    max-height: calc( 50vh + 80px );
  }  
}

#carousel_main a.carousel-control-prev, #carousel_main a.carousel-control-next {
  text-decoration: none;
}

#carousel_main .carousel-control-prev i, #carousel_main .carousel-control-next i {  
  font-size: 60px;
  text-shadow: 0 3px 5px rgba(0,0,0,0.3);
}   

#carousel_main .carousel-control-prev, #carousel_main .carousel-control-next {
  z-index: 20;
  opacity: 0.7;
}  

#carousel_main .carousel-control-prev:hover, #carousel_main .carousel-control-next:hover {
  opacity: 1;
}   

#carousel_main .carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 90px;
  left: 0;
  z-index: 20;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  #carousel_main .carousel-indicators {
    bottom: 30px;
  }  
}

#carousel_main .carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255,255,255,0.5);
  margin-right: 5px;
  margin-left: 5px;
  text-indent: -999px;
  cursor: pointer;
  background-color: rgba(0,0,0,0.5);
  background-clip: padding-box;
  opacity: 1;
  transition: opacity .6s ease;
}         

#carousel_main .carousel-indicators .active {
  background-color: #006699;
}

#carousel_main .slide_caption {
  display: block;
  background: rgba(255,255,255,0.9);
  padding: 30px;
  -webkit-box-shadow: 0 5px 15px 0 rgba(0,0,0,0.8);
  box-shadow: 0 5px 15px 0 rgba(0,0,0,0.8);  
}  

/* < MD */
@media screen and (min-width: 0px) and (max-width: 991px) { 
  #carousel_main .slide_caption {
    padding: 20px;
  }   
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  #carousel_main .slide_caption {
    padding: 15px;
  }  
}

#carousel_main .carousel-caption {
  position: absolute;
  right: 30%;
  bottom: 120px;
  left: 30%;
  z-index: 10;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}   

/* LG */
@media screen and (min-width: 992px) and (max-width: 1199px) { 
  #carousel_main .carousel-caption {
    right: 15%;
    left: 15%;
  } 
}

/* MD */
@media screen and (min-width: 768px) and (max-width: 991px) { 
  #carousel_main .carousel-caption {
    right: 10%;
    left: 10%;
  }   
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  #carousel_main .carousel-caption {
    right: 15px;
    left: 15px;
    bottom: 60px;
  }  
}

#carousel_main .carousel-caption h3 {
  color: #006699;
  font-size: 20px;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 600;
  text-transform: uppercase;  
  line-height: 1.3em;
  padding: 0;
  margin: 0;  
  vertical-align: middle;
} 

/* < MD */
@media screen and (min-width: 0px) and (max-width: 991px) { 
  #carousel_main .carousel-caption h3 {
    font-size: 18px;
  }  
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  #carousel_main .carousel-caption h3 {
    font-size: 18px;
  }  
}

/* ABOUT */

.about_wrapper {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* PROMO */

.promo_wrapper {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 50px;
  padding-bottom: 20px;
  background: #006600;
}

.promo_title {
  text-align: center;
  color: #FFFFFF;
  font-size: 20px;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 600;  
  margin-bottom: 20px;
  line-height: 1.3em;
}

.promo_text {
  text-align: center;
  color: #FFFFFF;
  font-size: 15px;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 400;  
  margin-bottom: 30px;
}

/* NEWS */

.news_wrapper {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

.news_wrapper a {
  text-decoration: none;
}

.news_block {
  margin-top: 15px;
  margin-bottom: 15px;
}

.news_img img {
  width: 100%;
  height: auto;
}

.news_title {
  color: #006699;
  line-height: 1.5em;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 600;
  font-size: 16px;  
  text-align: center;
  text-transform: none; 
  text-decoration: underline; 
  margin-top: 15px;
  margin-bottom: 15px;
}

.news_block:hover .news_title {
  text-decoration: none;
}

.all_projects {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

/* MAP */

.map_wrapper {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 0px;
  padding-bottom: 50px;
}

.map_container {
  width: 100%;
  height: 600px;
  margin-top: 30px;
}

/* FORM */

.form_wrapper {
  display: block;
  width: 100%;
  height: auto;
  padding-top: 0px;
  padding-bottom: 50px;
}

.form_container {
  margin-top: 30px;
}

/* PAGE */

.page_wrapper {
  display: block;
  padding-top: 30px;
  padding-bottom: 50px;
}

/* CONTENT */

.content {
  padding-top: 0px;
  padding-bottom: 0px;
}    

.content h1 {
  color: #006600;
  line-height: 1.3em;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 600;
  font-size: 20px; 
  text-transform: none;
  padding: 0;
  margin-top: 15px;
  margin-bottom: 15px;
}   

.content h1:before {
  width: 30px;
  height: 3px;
  top: -5px;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  background: #006600;
  content: "";
}  

.content h2 {
  color: #006699;
  line-height: 1.3em;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 600;
  font-size: 20px;
  text-transform: none;
  padding: 0;
  margin-top: 15px;
  margin-bottom: 15px;
} 

.content h2:before {
  width: 30px;
  height: 3px;
  top: -5px;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  background: #006699;
  content: "";
}  

.content h2.loop {
  
}

.content h2.loop:before {
  display: none;
}

.content h3 {
  color: #006600;
  line-height: 1.3em;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 600;
  font-size: 20px; 
  text-transform: none;
  padding: 0;
  margin-top: 15px;
  margin-bottom: 15px;
}   

.content h3:before {
  width: 30px;
  height: 3px;
  top: -5px;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  background: #006600;
  content: "";
}  

.content h4 {
  color: #222222;
  line-height: 1.3em;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 600;
  font-size: 20px;
  text-transform: none;
  padding: 0;
  margin-top: 15px;
  margin-bottom: 15px;
}  

.content p {
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 400;
  font-size: 16px;
  text-align: justify;
  line-height: 1.6em;
  padding: 0;
  margin: 0 0 10px 0;
}

/* MD */
@media screen and (min-width: 768px) and (max-width: 991px) { 
  .content p {
    font-size: 15px;
  }
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  .content p {
    font-size: 15px;
    line-height: 1.4em;
    text-align: left!important;    
  }  
}

.content blockquote {
  padding: 15px 15px 8px 15px;
  margin: 20px 0px 20px 0px;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 400;
  font-size: 16px;
  text-align: justify;
  line-height: 1.6em;
  border-left: 5px solid #006699;
  background: rgba(0,0,0,0.05);
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  .content blockquote {
    font-size: 15px;
    line-height: 1.4em;
    text-align: left!important;    
  }  
}

.content ul { 
  list-style-type: disc;
  list-style-position: inside;
  margin: 0;
  padding: 10px 0px;  
}

.content ul li { 
  padding: 0;
  margin: 0 0 10px 30px;
}

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  .content ul li { 
    font-size: 15px;
    line-height: 1.4em;  
    text-align: left!important;
    margin: 0 0 10px 0px;
  }  
}

.content ol {
  list-style-type: decimal; 
  list-style-position: inside;
  margin: 0;
  padding: 10px 0px; 
}

.content ol li {
  padding: 0;
  margin: 0 0 10px 30px;
}   

/* < SM */
@media screen and (min-width: 0px) and (max-width: 767px) { 
  .content ol li { 
    text-align: left!important;
    margin: 0 0 10px 0px;
  } 
}

#back_button a {
  text-decoration: none;
  float: left;
  margin: 5px 0px 0px 0px;
  color: #006699;
  font-family: 'Open Sans', Arial, Verdana, Tahoma;  
  font-weight: 400;  
}

#back_button a:hover {
  text-decoration: none;
  clear: both;
  color: #006699;
}   

#back_button i {
  display: inline-block;
  position: relative;
  top: 1px;
}

/* TABLE */

.content table {
  border-collapse: collapse;
  border: 1px solid #E0E0E0;
  margin-bottom: 20px;
  margin-top: 20px; 
}             

.content table tr {
	text-align: left;
	padding-left:20px; 
}   
          
.content table tr td:first-child {
	border-left: 0;
}     

.content table tr td {
	padding: 15px; 
	background: #F0F0F0;
  border: 1px solid #E0E0E0;
}

.content table tr:nth-child(even) td {
	background: #F5F5F5;
}

.content table tr:hover td {
  background: #FFFFFF!important;  
}

/* FOOTER */  

.footer_wrapper {
  width: 100%;
  display: block;
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #F0F0F0;
}

.footer_cont_block {
  display: block;
}

.footer_cont_line {
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-size: 16px;
  display: block;
  text-align: left;
  line-height: 1.5em;
  margin-bottom: 5px;
  color: #006600;
}

.footer_cont_line a {
  text-decoration: none;
  color: #006600;
}

.footer_cont_line i {
  font-size: 16px;
  display: inline-block;
  width: 16px;
  text-align: center;
  margin-right: 5px;
  color: #006600;
}     

/* UPBUTTON */

#upbutton {
  background: url("images/up.svg") no-repeat top left;
  background-size: contain!important;
  height: 30px;
  width: 30px;
  bottom: 30px;
  right: 30px;
  cursor: pointer;
  display: none;
  position: fixed;
  z-index: 999;
}

#upbutton:hover {
  opacity: 0.9!important;
}   

/* IMAGES */

img.size-full {
  width: 100%;
  height: auto; 
  margin: 10px 0px;
}    

img.alignleft {
  float: left;
  width: 31.3%!important;
  height: auto;   
  margin: 5px 20px 5px 0px;
  border: 1px solid #FFFFFF!important;
  -webkit-box-shadow: 0 3px 10px 0 rgba(0,0,0,0.1);
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.1); 
}

@media screen and (max-width: 767px) { 
  img.alignleft {
    clear: both;
    width: 100%!important;
    height: auto;
    margin: 10px 0px 30px 0px;
  }
} 

img.alignright {
  float: right;
  width: 31.3%!important;
  height: auto;   
  margin: 5px 20px 5px 0px;
  border: 1px solid #FFFFFF!important;
  -webkit-box-shadow: 0 3px 10px 0 rgba(0,0,0,0.1);
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.1);   
}

@media screen and (max-width: 767px) { 
  img.alignright {
    clear: both;
    width: 100%!important;
    height: auto;
    margin: 10px 0px 30px 0px;
  }
} 

/* GALLERY */

.gallery {
  margin-left: -15px!important;
  margin-right: -15px!important;
  margin-bottom: 10px!important;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border: 1px solid #FFFFFF!important;
  -webkit-box-shadow: 0 3px 10px 0 rgba(0,0,0,0.1);
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.1);
}

.gallery-item:hover img {
  -webkit-box-shadow: 0 3px 20px 0 rgba(0,0,0,0.3);
  box-shadow: 0 3px 20px 0 rgba(0,0,0,0.3);
}

.gallery-columns-3 .gallery-item {
  float: left;
  text-align: center;
  width: 33.33333333%!important;
  padding: 0px 15px;
}

/* SM */
@media screen and (min-width: 576px) and (max-width: 767px) { 
  .gallery-columns-3 .gallery-item {
    width: 33.33333333%!important;
  }  
}

/* XS */
@media screen and (min-width: 0px) and (max-width: 576px) { 
  .gallery-columns-3 .gallery-item {
    width: 100%!important;
  }   
}

.gallery-columns-4 .gallery-item {
  float: left;
  text-align: center;
  width: 25%!important;
  padding: 0px 15px;
}

/* SM */
@media screen and (min-width: 576px) and (max-width: 767px) { 
  .gallery-columns-4 .gallery-item {
    width: 50%!important;
  }  
}

/* XS */
@media screen and (min-width: 0px) and (max-width: 576px) { 
  .gallery-columns-4 .gallery-item {
    width: 100%!important;
  }   
}

.gallery-columns-5 .gallery-item {
  float: left;
  text-align: center;
  width: 20%!important;
  padding: 0px 15px;
}

/* SM */
@media screen and (min-width: 576px) and (max-width: 767px) { 
  .gallery-columns-5 .gallery-item {
    width: 20%!important;
  }  
}

/* XS */
@media screen and (min-width: 0px) and (max-width: 576px) { 
  .gallery-columns-5 .gallery-item {
    width: 100%!important;
  }   
}  

.gallery-caption {
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 600; 
  font-size: 14px; 
  margin: 0!important;
  padding: 10px 5px 10px 5px!important;
  line-height: 1.4em;
  color: #006600; 
  cursor: pointer;  
}

.gallery-item:hover .gallery-caption {
  color: #222222;
}

/* TOP MENU */

.top_menu_line {
  padding: 0!important;
  margin: 0!important;
  background: rgba(255,255,255,1); 
}

.navbar-brand { /* заголовок меню */
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 800;
  font-size: 20px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  display: inline-block;
  margin-right: 5px;
}

a.navbar-brand:link, a.navbar-brand:visited {
  text-decoration: none;
  color: #006600;
}

a.navbar-brand:hover, a.navbar-brand:focus, a.navbar-brand:active {
  text-decoration: none;
  color: #006699!important;
}

.animated-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.animated-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.animated-icon span {
background: #006600;
}

.animated-icon span:nth-child(1) {
  top: 0px;
}

.animated-icon span:nth-child(2), .animated-icon span:nth-child(3) {
  top: 10px;
}

.animated-icon span:nth-child(4) {
  top: 20px;
}

.animated-icon.open span:nth-child(1) {
  top: 11px;
  width: 0%;
  left: 50%;
}

.animated-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.animated-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.animated-icon.open span:nth-child(4) {
  top: 11px;
  width: 0%;
  left: 50%;
}   

.dropdown-menu {
  border: 0px;
  background: transparent;
  padding: 0;
  margin: 0;
}

.mm_cont_line {
  color: #006600;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 400;
  font-size: 14px;
  margin-top: 5px;  
}

.mm_cont_line {
  color: #006600;
}

.mm_cont_line a:link, .mm_cont_line a:visited {
  color: #006600;
  text-decoration: none;
}

.mm_cont_line a:hover, .mm_cont_line a:focus, .mm_cont_line a:active {
  color: #006600;
  text-decoration: none;
}

.mm_cont_line i {
  color: #006600;
  margin-right: 5px;
  width: 16px;
  text-align: center;
}

/* MOBILE MENU */

.menu-collapse {

}

#mobile_menu {
  display: block;
  margin-top: 15px;
  margin-bottom: 15px;
}

#mobile_menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;  
}

#mobile_menu ul li {
  width: 100%; 
  -moz-transition: all 0.3s 0.01s ease;
  -o-transition: all 0.3s 0.01s ease;
  -webkit-transition: all 0.3s 0.01s ease;     
}

#mobile_menu ul li:hover {

}

#mobile_menu ul li a {
  text-decoration: none; 
  color: #006600;
  font-size: 15px;  
  font-family: 'Open Sans', Arial, Verdana, Tahoma; 
  font-weight: 600;
  text-transform: uppercase;  
  text-align: left;
  padding: 0px 15px; 
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  display: block; 
  -moz-transition: all 0.3s 0.01s ease;
  -o-transition: all 0.3s 0.01s ease;
  -webkit-transition: all 0.3s 0.01s ease; 
  border-bottom: 1px solid #E0E0E0; 
}    

#mobile_menu ul li a:hover {
 color: #006699;
}       

/* PAGINATION */

.pagination {
  margin-top: 20px;
}

a.page-numbers {
  text-decoration: none!important;
  font-size: 16px;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 400;
  border: 0px;
  border-radius: 3px;
  background: #EAEAEA;
  padding: 6px 10px;
}

span.page-numbers.current {
  text-decoration: none!important;
  font-size: 16px;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 400;
  border: 0px;
  border-radius: 3px;
  color: #FFFFFF;
  background: #006699;
  padding: 6px 10px;
}

a.page-numbers:hover {
  color: #FFFFFF;
  background: #006699;
}

/* MODAL */

.modal-title {
  font-size: 16px;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 700;
  color: #006600;
}

.modal-footer {
  font-size: 12px;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 400;
  color: #222222; 
  line-height: 1.4em;
  display: block;
  width: 100%;
  text-align: center;
}

::-webkit-input-placeholder {
  color: #222222!important;
  opacity: 1;
}

:-moz-placeholder {
  color: #222222!important;
  opacity: 1;
}
::-moz-placeholder {
  color: #222222!important;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #222222!important;
  opacity: 1;
}

.my_input {  
  border: 1px solid #006699;
  font-size: 15px;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 400;
  color: #222222;
  margin-bottom: 15px;
}

.my_input:focus, .my_input:active {
  border: 1px solid #006699!important;    
}

.my_text {
  resize: vertical;  
  border: 1px solid #006699;
  font-size: 15px;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 400;  
  margin-bottom: 15px;
}  

.my_text:focus, .my_text:active {
  border: 1px solid #006699!important;    
}  

.wpcf7 {
  margin-top: 15px;
  margin-bottom: 15px;
}
         
span.wpcf7-not-valid-tip {
  font-size: 12px!important;
  color: #BD0000!important;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 400;
  position: relative;
  top: -12px;
}

.wpcf7-not-valid-tip:before {
  font-family: "FontAwesome";
  content: "\f071";
  padding-right: 4px;    
}

.wpcf7-validation-errors {
  display: none!important;
}

div.wpcf7 .ajax-loader {
  display: none!important;
}

span.ajax-loader {
  display: none!important;
}

.wpcf7-mail-sent-ok {
  color: #006600!important;
  padding: 15px 0px 15px 0px!important;
  margin: 5px 0px 0px 0px!important;  
  border: 0px!important;
  border-radius: 4px!important;
  font-size: 16px;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 400; 
  text-align: center!important;
  background: rgba(255,255,255,0.5);
}

.wpcf7-mail-sent-ok:before {
  font-family: "FontAwesome";
  content: "\f164";
  padding-right: 5px;
} 

span.wpcf7-list-item {
  margin-left: 0px!important;
  margin-top: 5px!important;
  line-height: 1.3em!important;
}

.wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.3em!important;
  position: relative;
  top: -2px;
} 

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  display: none!important;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #006600!important;
  padding: 15px 0px 15px 0px!important;
  margin: 5px 0px 0px 0px!important;  
  border: 0px!important;
  border-radius: 4px!important;
  font-size: 16px;
  font-family: "Open Sans", Arial, Verdana, Tahoma;
  font-weight: 700; 
  text-align: center!important;
  background: rgba(255,255,255,0.5);
}
    
/* VIBER */

.viber-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #665CAC;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='%23FFF' d='M11.398.002C9.473.028 5.331.344 3.014 2.467 1.294 4.177.693 6.698.623 9.82c-.06 3.11-.13 8.95 5.5 10.541v2.42s-.038.97.602 1.17c.79.25 1.24-.499 1.99-1.299l1.4-1.58c3.85.32 6.8-.419 7.14-.529.78-.25 5.181-.811 5.901-6.652.74-6.031-.36-9.831-2.34-11.551l-.01-.002c-.6-.55-3-2.3-8.37-2.32 0 0-.396-.025-1.038-.016zm.067 1.697c.545-.003.88.02.88.02 4.54.01 6.711 1.38 7.221 1.84 1.67 1.429 2.528 4.856 1.9 9.892-.6 4.88-4.17 5.19-4.83 5.4-.28.09-2.88.73-6.152.52 0 0-2.439 2.941-3.199 3.701-.12.13-.26.17-.35.15-.13-.03-.17-.19-.16-.41l.02-4.019c-4.771-1.32-4.491-6.302-4.441-8.902.06-2.6.55-4.732 2-6.172 1.957-1.77 5.475-2.01 7.11-2.02zm.36 2.6a.299.299 0 0 0-.3.299.3.3 0 0 0 .3.3 5.631 5.631 0 0 1 4.03 1.59c1.09 1.06 1.621 2.48 1.641 4.34a.3.3 0 0 0 .3.3v-.009a.3.3 0 0 0 .3-.3 6.451 6.451 0 0 0-1.81-4.76c-1.19-1.16-2.692-1.76-4.462-1.76zm-3.954.69a.955.955 0 0 0-.615.12h-.012c-.41.24-.788.54-1.148.94-.27.32-.421.639-.461.949a1.24 1.24 0 0 0 .05.541l.02.01a13.722 13.722 0 0 0 1.2 2.6 15.383 15.383 0 0 0 2.32 3.171l.03.04.04.03.03.03.03.03a15.603 15.603 0 0 0 3.18 2.33c1.32.72 2.122 1.06 2.602 1.2v.01c.14.04.268.06.398.06a1.84 1.84 0 0 0 1.102-.472c.39-.35.7-.738.93-1.148v-.01c.23-.43.15-.841-.18-1.121a13.632 13.632 0 0 0-2.15-1.54c-.51-.28-1.03-.11-1.24.17l-.45.569c-.23.28-.65.24-.65.24l-.012.01c-3.12-.8-3.95-3.959-3.95-3.959s-.04-.43.25-.65l.56-.45c.27-.22.46-.74.17-1.25a13.522 13.522 0 0 0-1.54-2.15.843.843 0 0 0-.504-.3zm4.473.89a.3.3 0 0 0 .002.6 3.78 3.78 0 0 1 2.65 1.15 3.5 3.5 0 0 1 .9 2.57.3.3 0 0 0 .3.299l.01.012a.3.3 0 0 0 .3-.301c.03-1.19-.34-2.19-1.07-2.99-.73-.8-1.75-1.25-3.05-1.34a.3.3 0 0 0-.042 0zm.49 1.619a.305.305 0 0 0-.018.611c.99.05 1.47.55 1.53 1.58a.3.3 0 0 0 .3.29h.01a.3.3 0 0 0 .29-.32c-.07-1.34-.8-2.091-2.1-2.161a.305.305 0 0 0-.012 0z'/%3e%3c/svg%3e");
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.viber-button:before,
.viber-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 50%;
    border: 1px solid #665CAC;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.viber-button:after{
    animation-delay: .5s;
}
@keyframes border-animate
{
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* RECAP */

.grecaptcha-badge {
  display: none !important;
}
