/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 21 2021 | 17:56:32 */
/* Add your CSS code here.

For example:
.example {
    color: red;
}

For brushing up on your CSS knowledge, check out http://www.w3schools.com/css/css_syntax.asp

End of comment */ 
.custom-font {
  font-family: Erato,serif;
}
.directors-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.directors-board .item {
  width: 32%;

}
@media screen and (max-width: 767px) {
.directors-board .item {
  width: 100%;

}
}
.directors-board .item .item-img {
  height: 246px;
  width: auto;
  position: relative;
}

.directors-board .item .item-img img {
  height: 246px;
  width: 100%;
  object-fit: cover;
}
.directors-board .item .item-img:after {
    content: '';
    position: absolute;
    top: .5em;
    right: .5em;
    bottom: .5em;
    left: .5em;
    z-index: 1;
    pointer-events: none;
    border: 1px solid #fff;
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;
}
.directors-board .item:hover .item-img:after {
  top: .25em;
    right: .25em;
    bottom: .25em;
    left: .25em;
}
@media screen and (max-width: 767px) {
.directors-board .item .item-img {
  height: 530px;
}
.directors-board .item .item-img img {
height: 530px;
width: 100%;
    object-fit: cover;
}
}
/**rus toggle**/
#custom_html-4 {
 	width: 50px;
    order: 5;
 cursor: pointer;
}
@media screen and (max-width: 767px) {
  #custom_html-4 {
    order: 2;
  }
}
#custom_html-4 .custom-html-widget {
 position: relative;
    height: 100%; 
}
#custom_html-4 .custom-html-widget:hover .rus-menu-holder {
  display: block;
}
.btn-lang-toggle > a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NTAgMzAwIj4NCjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0wLDBoNDUwdjEwMGgtNDUweiIvPg0KPHBhdGggZmlsbD0iIzAwZiIgZD0ibTAsMTAwaDQ1MHYxMDBoLTQ1MHoiLz4NCjxwYXRoIGZpbGw9IiNmMDAiIGQ9Im0wLDIwMGg0NTB2MTAwaC00NTB6Ii8+DQo8L3N2Zz4NCg==);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 30px;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
}
.lang-holder {
  height: 100%;
}
.rus-menu-holder {
  display: none;
	background-color: #fff;
    border: 1px solid #cacece;
    border-width: 0 1px 1px;
    position: absolute;
    z-index: 50;
    width: 200px;
    top: 100%;
    right: 0;
    padding: 20px;  
}
.rus-menu-holder a {
  text-decoration: none;
  color: #48837e;
  font-size: 1em;
}
.rus-menu-holder a:hover {
  color: #353d48;
}
@media screen and (min-width: 48em) and (max-width: 64em) {
.header-first-row .widget_donate {
  min-width: 130px;
}
}
