@charset "UTF-8";
/* GLOBAL */
* {
  box-sizing: border-box; }

.clear{ clear: both; }

html, body, p, h1, h2, h3, h4, h5, h6, ul {
  margin: 0;
  padding: 0; }

html, body {
  min-width: 1130px; height: 100%;}

body{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none; }

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

.container {
  width: 1130px;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px; }

/* END GLOBAL*/
/* HEADER */
.header-wrapper {
  height: 115px;
  display: flex;
  align-items: center; }

.header__logo {
  font-family: 'Merriweather';
  margin-right: 50px;
  width: 362px; }
  .header__logo h1 {
    font-size: 26px;
    font-weight: 700;
    color: #424654;
    margin-bottom: 10px; }
  .header__logo span {
    font-size: 14px;
    color: #928880; }

.header__search {
  border: 2px solid #CDD2E1;
  border-radius: 5px;
  height: 37px;
  width: 262px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 40px;
  transition: .3s; }
  .header__search input {
    height: 33px;
    border: none; }
    .header__search input::placeholder {
      font-family: Roboto;
      font-weight: 400;
      color: #CDD2E1; }
    .header__search input[name="srch"] {
      padding-left: 22px; }
    .header__search input[type="submit"] {
      padding: 0 20px 0 15px;
      cursor: pointer;
      box-sizing: initial;
      width: 15px;
      background-color: transparent;
      background-image: url("../img/ico-search.png");
      background-repeat: no-repeat;
      background-position: center;
      transition: .3s; }
  .header__search:hover input[type="submit"] {
    background-image: url("../img/ico-search-blue.png"); }
  .header__search:hover {
    border-color: #2377B5;
    color: #000; }

.header__mail {
  margin-right: 33px;
  align-items: center;
  display: flex;
  font-size: 16px;
  color: #424654;
  font-family: Roboto;
  font-weight: 400;
  transition: .3s; }
  .header__mail img {
    margin-right: 12px; }
  .header__mail:hover {
    color: #4e78b7;
    text-decoration: underline; }

.header__phone {
  align-items: center;
  display: flex;
  font-size: 24px;
  color: #424654;
  font-family: 'Roboto';
  font-weight: 700; }
  .header__phone img {
    margin-right: 12px; }

/* END HEADER */
/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #4A4F62;
  min-height: 50px;
  display: flex;
  align-items: center; }
  nav .nav__list {
    list-style: none; }
    nav .nav__list .nav__list-item {
      display: inline-block;
      padding-right: 15px;
      padding-left: 15px;
      font-family: Roboto;
      font-weight: 400; }
      nav .nav__list .nav__list-item a {
        color: #fff;
        transition: .3s; }
      nav .nav__list .nav__list-item a.current {
        color: #cecfd9; }
      nav .nav__list .nav__list-item a:hover {
        color: #ffd1a4; }
      nav .nav__list .nav__list-item:first-child {
        padding-left: 0; }
      nav .nav__list .nav__list-item:last-child {
        padding-right: 0; }

/* END NAV */
/* MAIN */
main {
  flex: 1 0 auto;
  height: 735px;
  background: url("../img/main_image.jpg") no-repeat center top; }

.main__text-1 {
  font-family: Merriweather;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  padding-top: 100px;
  max-width: 600px;
  padding-left: 17px;
  position: relative; }
  .main__text-1:before {
    content: '«';
    position: absolute;
    top: 100px;
    left: 0px; }

.main__text-2 {
  max-width: 600px;
  padding-top: 60px;
  font-family: Merriweather;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  padding-left: 17px;
  position: relative; }
  .main__text-2:before {
    content: '«';
    position: absolute;
    top: 60px;
    left: 0px; }

.main__author {
  font-size: 16px;
  color: #fff;
  font-family: Merriweather;
  font-weight: 700;
  font-style: italic;
  background: url("../img/main-author.png") no-repeat center;
  width: 270px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  margin-left: 375px; }

/* END MAIN */
/* LISTS */
.second {
  padding-top: 50px;
  flex: 1 0 auto; }

.breadcrumb {
  margin-bottom: 40px;
  font-family: Roboto;
  font-size: 12px;
  color: #424654; }
  .breadcrumb a {
    color: #af9e8d; }
    .breadcrumb a:after {
      content: '>';
      margin-right: 6px;
      margin-left: 10px; }

.second__title {
  font-family: Merriweather;
  font-weight: 700;
  font-size: 26px;
  color: #9d8673;
  margin-bottom: 45px; }
  
  h2, h3 {
  font-family: Merriweather;
  font-weight: 700;
  font-size: 20px;
  color: #9d8673;
  margin-bottom: 25px;
  }
  .content-reply {
      margin-bottom:20px;
  }
  .reply_box {
      padding:0px 0px 15px 0px;
      font-family: Roboto;
      font-size: 16px;
      line-height:20px;
      color:#424654;
    }
    .reply_box .dateauthor {font-weight:600; font-size:14px;}
    .addreview input[type="text"], .addreview textarea {
        border: 2px solid #CDD2E1;
        border-radius: 5px;
        height: 37px;
        line-height:37px;
        width: 300px;
        margin-bottom:20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-right: 40px;
        transition: .3s;
        padding-left: 22px;
        font-family: Roboto;
    }
    .addreview textarea {
        height:150px;
        width:100%;
        padding:10px 0px 10px 22px;
        line-height:20px;
        resize:none;
    }
    .addreview input[type="text"]:hover, .addreview textarea:hover {
    border-color: #2377B5;
    color: #000; }
    
    .addreview input[type="submit"] {
        margin-top:20px;
        height:50px;
        width:200px;
        text-align:center;
        line-height:50px;
        background-color: #2377B5;
        border:none;
        outline:none;
        transition: .3s;
        font-family: Roboto;
        font-size: 15px;
        text-transform:uppercase;
        color: #fff;
         border-radius: 5px;
    }
    .addreview input[type="submit"]:hover {
    background-color: #CDD2E1;
    color: #000;
    cursor:pointer;
    }
    .addreview .note, .content-reply .note {
         color: #3e4359;
        margin-top: 20px;
        font-family: Roboto;
        font-size: 14px;
        font-style: italic;
    }
    
.text-wrapper__text {
    text-indent: 2.2em;
  }

.list__blocks {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap; }
  .list__blocks-item {
    width: 25%;
    padding-right: 20px;
    margin-bottom: 50px; }
    .list__blocks-item:nth-child(4n) {
      padding-right: 0; }
    .list__blocks-item:hover .list__blocks-title {
      color: #4e78b7; }
  .list__blocks-img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    margin-bottom: 20px; }
  .list__blocks-date {
    font-family: Roboto;
    font-weight: 700;
    color: #babec9;
    margin-bottom: 20px; }
  .list__blocks-title {
    transition: .3s;
    font-family: Roboto;
    font-size: 16px;
    color: #4c4f63;
    height: 38px;
    /*overflow: hidden; */}

.list__human-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  margin-bottom: 20px; }
.list__human-title {
  font-family: Roboto;
  font-size: 16px;
  color: #4c4f63;
  height: 38px;
  text-align: center;
  overflow: hidden;
  transition: .3s; }

.list__blocks-item:hover .list__human-title {
  color: #4e78b7; }

.list__docs-item {
  margin-bottom: 30px;
  display: flex;
  align-items: center; }
  .list__docs-item img {
    margin-right: 20px; }
  .list__docs-item a {
    font-family: Roboto;
    font-size: 16px;
    color: #4c4f63; }
    .list__docs-title:hover{
    transition: .3s;}
  .list__docs-title:hover{
    color: #4e78b7;}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center; }
  .pagination__nav {
    font-size: 12px;
    color: #4c4f63;
    font-family: Roboto;
    text-transform: uppercase;
    margin-right: 5px;
    margin-left: 5px;
    transition: .3s; }
    .pagination__nav:hover {
      color: #4e78b7; }
  .pagination__num {
    font-size: 16px;
    color: #4c4f63;
    font-family: Roboto;
    width: 34px;
    height: 34px;
    border-radius: 5px;
    border: 1px solid #DFE4EE;
    display: flex;
    margin-right: 5px;
    margin-left: 5px;
    align-items: center;
    justify-content: center;
    transition: .3s; }
    .pagination__num.current {
      background-color: #DFE4EE; }
    .pagination__num:hover {
      background-color: #EAC7AE;
      border-color: #EAC7AE;
      color: #fff; }

/* END LISTS */
/* TEXT PAGE */
  .text-wrapper__img {
    margin-right: 55px;
    float: left; max-width: 46%; margin-bottom: 40px; }
  .text-wrapper__text {
    margin-bottom: 50px;
    font-family: Roboto;
    font-size: 16px; }
    .text-wrapper__text a {
      color: #4e78b7;
      text-decoration: none; }
      .text-wrapper__text a:hover {
        text-decoration: underline; }

.text-slider {
  display: flex;
  flex-wrap: wrap; }
  .text-slider a {
    width: 25%;
    display: inline-block;
    margin-bottom: 22px; }
    .text-slider a img {
      width: 100%;
      height: 192px;
      object-fit: cover;
      padding-right: 22px; }


.search .list__docs-item{
  margin-bottom: 5px;
}
/* END TEXT PAGE */
/* FOOTER */
footer {
  background: url("../img/footer.jpg") no-repeat center;
  height: 128px;
  display: flex;
  align-items: center;
  color: #fff;
  font-family: Roboto;
  font-size: 14px;
  margin-top: 50px;
  flex: 0 0 auto; }

.footer__copy {
  margin-right: 190px; }

.footer__mail {
  color: #fff;
  margin-right: 60px;
  transition: .3s;
  text-decoration: underline; }
  .footer__mail img {
    margin-right: 10px; }
  .footer__mail:hover{
    color: #ffd1a4;
  }

.footer__phone {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  font-size: 24px;
  text-decoration: none;
  margin-right: 150px; }
  .footer__phone img {
    margin-right: 10px; }

.footer__dev {
  color: #babec9; }
  .footer__dev a {
    padding-left: 10px;
    text-decoration: underline;
    color: #fff;
    transition: .3s; }
    .footer__dev a:hover {
      color: #ffd1a4; }

/* END FOOTER */

/*# sourceMappingURL=style.css.map */
