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

/* --------------------------------------------------------------Base items*/
.container {
  margin: 0 auto;
  min-width: 320px;
}

.flex-row-sb {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.flex-colunum-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

p {
  font-family: "Open Sans", sans-serif;
  color: #414042;
  line-height: 18px;
  font-size: 14px;
  padding-bottom: 20px;
}
td {
  font-family: "Open Sans", sans-serif;
  color: #414042;
  line-height: 18px;
  font-size: 14px;
  background-color: #587b4117;
  padding: 5px;
  border: 3px solid #fff;
}
td h5 {
  font-weight: 700;
  font-size: 16px;
  padding: 20px;
  color: #fff;
  background-color: #587b41;
}

.table-poperedg {
    border: 3px solid #000;
}
.table-poperedg td{
    border: 3px solid #000;
    background-color: #fff;
}
strong {
  font-weight: 700;
}

a {
  color: #587b44;
}
a:hover {
  color: #181818;
  font-weight: 700;
}

li {
  font-family: "Open Sans", sans-serif;
  color: #414042;
  line-height: 18px;
  font-size: 14px;
  padding-bottom: 10px;
}

h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  color: #333;
  font-size: 21px;
  padding-bottom: 20px;
}

h2,
h3 {
  color: #333;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.btn-in-text {
  display: block;
  padding: 15px 20px;
  border: 1px solid #587b41;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  width: 270px;
}

.btn-in-text:hover {
  background-color: #587b41;
  color: #fff;
}
.moduletable h3 {
  text-align: center;
}
.btn-block-text {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.btn-block-text p {
  padding: 0;
}
.btn-block-text a {
  display: block;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #415c30;
  color: #fff;
  background-color: #587b41;
}

/*--------------------------------------------------------------Top menu*/

/*--------------------------------------------------------------Menu*/
.main-menu {
  background-color: #fff;
  height: 79px;
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
}
.menu-logo {
  padding-left: 10px;
  padding-top: 10px;
  align-self: center;
  width: 220px;
}
.menu-logo a {
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  color: #333;
}

.mobile-btn {
  height: 50px;
  align-self: center;
  border-radius: 5px;
  margin-right: 10px;
}
.mobile-btn img {
  width: 50px;
}
.mobile-menu .menu {
  display: block;
}
.mobile-container {
  display: none;
  position: absolute;
  top: 140px;
  width: 100%;
  height: 100vh;
  padding-top: 40px;
  background-color: #181818da;
  z-index: 9999;
}

.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile-menu li {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  padding-top: 30px;
}
.mobile-menu a {
  color: #fff;
  text-decoration: none;
}

.lang-switch-mob {
  margin-top: 40px;
  margin-bottom: 20px;
}
.lang-inline {
  display: flex;
  flex-direction: row;
}
.lang-switch-mob li {
  padding-bottom: 0;
}
.lang-switch-mob a {
  color: #d1d3d4;
  background-color: #36a1a1;
  border: 1px solid #36a1a1;
  border-radius: 5px;
  padding: 10px 20px;
  margin: 0 15px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.lang-switch-mob .lang-active a {
  color: #36a1a1;
  background-color: #fff;
  border: 1px solid #36a1a1;
}

.soc-icon-mob {
  margin-top: 20px;
}

.mobile-container .soc-icon-mob a {
  color: #fff;
  font-size: 20px;
  padding: 0 10px;
}

/* исправления для коректного отображения меню в левой части блока контента */

.left .menu {
  background-color: #fff;
  display: block;
}

.menu-logo p {
  padding: 0;
}
.menu {
  display: none;
}

/*--------------------------------------------------------------Mobile menu*/
/*--------------------------------------------------------------Slider*/
.main-header {
  background-image: linear-gradient(rgba(66, 48, 24, 0.6), rgba(0, 0, 0, 0.233)),
    url("../images/main-pic.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.main-header-text {
  height: 450px;
  padding-left: 15px;
  padding-top: 110px;
  box-sizing: border-box;
}

.main-header-text h1 {
  font-family: "Open Sans", sans-serif;
  color: #fff;
  font-weight: 900;
  font-size: 45px;
}
.main-header-text p {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  padding-top: 20px;
}

.main-header-text a {
  width: 105px;
  display: block;
  padding: 20px 25px;
  background-color: #587b44;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
}

.page-header .custom {
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.page-header .custom h2 {
  background-color: #18181846;
  color: #fff;
  padding: 120px 0px;
  font-weight: 900;
  font-size: 45px;
}
/*--------------------------------------------------------------About Us*/
.about-us {
}

.about-us-img {
  margin: 40px 0px;
  width: 350px;
  display: none;
}

.about-us-description {
  margin: 40px 0px;
  width: 100%;
  padding: 30px 20px;
  box-sizing: border-box;
}
.about-us-description a {
  font-weight: 700;
}
/*--------------------------------------------------------------Service*/

.our-specialization {
  border-top: 28px solid #587b4477;
}

.specialization-description {
  padding: 40px 20px 30px 20px;
}

.specialization-description h4 {
  font-family: "Open Sans", sans-serif;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  color: #36a1a1;
  text-align: center;
  text-transform: uppercase;
}

.specialization-description p {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 20px 0px 20px;
  text-align: center;
}

.specialization-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-bottom: 60px;
}

.specializatoin-item {
  box-sizing: border-box;
  width: 300px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.specializatoin-item img {
  width: 100px;
}

.specializatoin-item h4 {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #587b41;
  border-bottom: 1px solid #587b4477;
}
.specializatoin-item h4 a {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  color: #587b41;
}

/*--------------------------------------------------------------News main page*/
.news {
  background-color: #f7f8f9;
}

.news-item ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.news-title {
  padding: 40px 0 30px 0;
}

.news-title h4 {
  font-family: "Open Sans", sans-serif;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #36a1a1;
  text-align: center;
}

.news-item li {
  display: flex;
  flex-direction: column;
  width: 250px;
  border-radius: 3px;
  margin-bottom: 30px;
  padding: 25px;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.08);
}

.mod-articles-category-title {
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  flex-grow: 2;
}
.mod-articles-category-date {
  display: block;
  padding: 25px 0px;
}
.mod-articles-category-readmore {
  margin-top: 20px;
}

.mod-articles-category-readmore a {
  color: #fff;
  padding: 10px 20px;
  background-color: #36a1a1;
  font-weight: normal;
  text-transform: none;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #36a1a1;
  transition: 0.5s;
}
.mod-articles-category-readmore a:hover {
  color: #216b6b;
  background-color: #fff;
  border: 1px solid #216b6b;
}

.news-more {
  text-align: center;
  padding: 40px 20px 30px 20px;
}

/*--------------------------------------------------------------News category blog*/
/*--------------------------------------------------------------Content positions*/

/*--------------------------------------------------------------Content setings*/

.item-page ul {
  padding-left: 30px;
  list-style-type: disc;
}

/*--------------------------------------------------------------Attorney service*/

/*--------------------------------------------------------------Contact form*/

/*--------------------------------------------------------------Google map*/
.googleMap p {
  padding: 0;
}

/*--------------------------------------------------------------Footer*/

@media (min-width: 576px) {
  .container {
    min-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    min-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    min-width: 801px;
  }
  .moduletable h3 {
    text-align: left;
  }

  /*--------------------------------------------------------------Top menu*/
  .top-menu {
    font-family: "Open Sans", sans-serif;
    background-color: #181818;
    color: #fff;
    display: block;
  }
  .top-menu a {
    color: #fff;
    text-decoration: none;
  }
  .top-menu a:hover {
    color: #216b6b;
  }

  .top-menu-phone,
  .top-menu-mail {
    margin: 5px 0px;
    padding-left: 10px;
  }
  .top-menu-phone p,
  .top-menu-mail p {
    color: #d1d3d4;
    padding: 0;
    font-weight: 12px;
  }
  .social-lang-container {
    align-self: center;
  }
  .soc-icon {
    margin-right: 40px;
  }
  .soc-icon a {
    padding-left: 20px;
    color: #d1d3d4;
  }
  .soc-icon a:hover {
    color: #36a1a1;
  }
  .lang-inline {
    display: flex;
    flex-direction: row;
  }
  .lang-switch li {
    padding-bottom: 0;
  }
  .lang-switch a {
    color: #d1d3d4;
    font-weight: 700;
    font-size: 16px;
    padding-right: 10px;
  }
  .lang-switch a:hover {
    color: #36a1a1;
  }
  .lang-active a {
    color: #36a1a1;
  }
  /*--------------------------------------------------------------Menu*/
  .menu-logo {
    width: 420px;
    padding-top: 0px;
  }
  .mobile-container {
    display: none;
  }
  .mobile-btn {
    display: none;
  }

  .menu {
    align-self: center;
    background-color: #fff;
    height: 100px;
  }

  .menu ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
  }

  .menu li {
    padding: 0;
  }

  .menu a {
    color: #333;
    text-decoration: none;
    padding: 20px 15px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
  }

  .menu a:hover {
    color: #333;
    background-color: #fff;
  }

  .left a {
    color: #333;
    text-decoration: none;
    padding: 10px 10px;
    font-family: "Open Sans", sans-serif;
    border-bottom: 0.5px solid #ccc;
    font-size: 14px;
    display: block;
  }

  .active a {
    color: #333;
    background-color: #fff;
  }
  .menu {
    display: block;
  }

  /*--------------------------------------------------------------Mobile menu*/
  /*--------------------------------------------------------------Slider*/
  /*--------------------------------------------------------------Service*/
  .specializatoin-item {
    width: 350px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
  .main-menu {
    height: 100px;
  }
  .about-us-img {
    display: block;
  }

  .about-us-description {
    width: 800px;
  }
  .btn-block-text {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .btn-block-text p {
    width: 30%;
    margin: 10px;
  }
  .btn-block-text a {
    height: 50px;
  }

  /*--------------------------------------------------------------Service*/
  .our-specialization {
  }

  /*--------------------------------------------------------------News main page*/
  .left {
    min-height: 350px;
  }
  .main-header-text {
    width: 600px;
  }
  .news-title h4 {
    font-family: "Open Sans", sans-serif;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #36a1a1;
    text-align: center;
  }

  .news-item {
    padding: 0 0 40px 0;
  }

  .news-item ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .news-item li {
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 300px;
    border-radius: 3px;
    margin: 10px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.08);
  }
}
