/**
 * Theme styles override
 */
#content {
  padding-top: 0;
}
.entry-content {
  margin-top: 0;
}
#primary-menu > ul.menu > li > a {
  font-style: normal;
}
.heading2 {
  margin: 0;
}
.heading2 .title {
  font-family: Roboto;
  font-size: 50px;
}
.heading2 .pitch {
  max-width: 90%;
  text-align: left;
}

h4 {
	font-weight: 400;
}
footer {
  display: none;
}

/**
 * Language switcher widget
 */
#language-switcher > ul {
  display: flex;
  align-items: center;
  list-style: none;
  color: #fff;
  background-image: url(http://integrator.md/img/logo.png);
  background-repeat: no-repeat;
  background-position: center;
  padding: 3px 0 6px;
  margin: 0;
}
#language-switcher li.lang-item > a {
  color: #fff;
}
#language-switcher li.current-lang {
  background: #16755d;
  text-transform: capitalize;
  border-radius: 50%;
  width: 35px;
  line-height: 2;
  text-align: center;
}

@media (max-width: 430px) {
  #language-switcher > ul {
    background-image: none;
  }
}

@media (max-width: 600px) {
  #language-switcher > ul {
    background-position: right;
  }
}

/**
 * Language switcher logo link
 */
#language-switcher-container .so-panel {
	margin-bottom: 0!important;
}
#lang-switcher-logo-container .textwidget {
  position: relative;
}
#lang-switcher-logo-link {
  display: block;
  position: absolute;	
  width: 270px;
  height: 55px;
  top: -55px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media (max-width: 430px) {
  #lang-switcher-logo-link {
    display: none;
  }
}

@media (max-width: 600px) {
  #lang-switcher-logo-link {
    left: unset;
  }
}

/**
 * About us section
 */
@media(min-width: 780px) {
  #about-us .panel-grid {
    display: flex;
    align-items: stretch!important;
  }
}
#about-us .widget_text,
#about-us .widget_text .textwidget {
  height: 100%;
}
.about-item {
  margin-left: 25px;
  max-width: 518px;
  border: 1px solid #c6c4c4;
  height: 100%;
}
.about-picture-container {
  position: relative; 
}

.about-tag {
  position: absolute;
  bottom: 0;
  left: -12px;
  padding: 8px 37px 7px;
  background: #f4a50c;
  font-family: "Roboto";
  font-weight: 700;
  color: #fff;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 26px;
}

.about-text {
  padding: 16px 26px;
  line-height: 26px;
  font-size: 18px;
  font-weight: 400;
  color: #000;
}

/**
 * Services section
 */
#services .panel-grid-cell {
	margin-bottom: 0;
}
#services .panel-grid {
	display: flex;
  align-items: stretch!important;
}
#services .widget_text,
#services .textwidget {
	height: 100%;
} 
.services-container {
  border: 1px solid #b9b9b9;
  display: flex;
  justify-content: space-around;
  padding: 35px 0;
  height: 100%;
  box-sizing: border-box;
}
.services-img-container {
  margin-left: 15px;
  display: flex;
}
.services-img-container img {
  margin: auto 0;
}
.services-text-container {
  max-width: 495px;
  width: 71%;
  padding: 0 15px;
}
.services-title {
  color: #f4a50c;
  font-size: 28px;
  line-height: 40px;
}

/** 
 * Events section
 */
section.post-loop-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.post-loop-container article {
  max-width: 340px;
  margin-right: 30px;
}

.post-loop-container h6 {
  text-transform: unset;
}

.post-loop-container p {
  margin-bottom: 15px;
}

/**
 * Footer
 */
#footer .footer-container {
  display: inline-block;
}
#footer .segment {
  padding: 70px 0;
}
#footer .segment-content {
	text-align: center;
}
#footer .footer-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
#footer img {
  margin-right: 20px;
}