@charset "UTF-8";

/*HEADER*/
.header{
    background-image: url(/templates/project/img/design/header.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #b4d0e345;
    border-bottom: 2px solid #b5b5b5;    
}

.in_header{
    min-height: 120px;
}

.site-title{
    font-size: 1.5em;
    color: #fff;
    font-weight: bold;
	text-shadow: 0px 0px 2px black, 0px 0px 10px black;
}

.site-subtitle{
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
	text-shadow: 0px 0px 2px black, 0px 0px 10px black;
}

/*Left Panel*/
.menu-button{
    width: 100%;
    padding-left: 29px !important;
    text-indent: -18px;
}

.menu-button:not(.dropable):before{
    content: "☰";
}

.menu-button.dropable.collapsed:before{
    content: "▼";
}

.menu-button.dropable:before{
    content: "▲";
}
.menu-button.active{
    font-weight: bold;
}

/*Right Panel*/
.news_block{
    max-width: 258px;
}
/* Новости */
.no-news-image{
    width: 100%;
    height: 100px;
    background-color: #f7f7f7;
    vertical-align: bottom;
    background: repeating-linear-gradient(152deg, #ebf2f8, #fff 50px, #ebf2f8 117px);
    font-size: 1.2em;
    font-weight: bold;
    color: #b6b6b6;
    line-height: 100px;  
}
a.image_link{
    text-decoration: none;
}

.cover_preview{
    /*border: 1px solid rgba(0, 0, 0, 0.125);*/
    border: 1px solid #0d6efd80;
}

.cover_preview:hover{
    border: 1px solid #0d6efd;
    cursor: pointer;
    filter: opacity(0.9);
}

/**********************/

.no-underline{
    text-decoration: none;
}

.modal-dialog.fullwidth-image{
    max-width: none !important;
    display: table;
}

/**********************/

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

address {
  font-style: normal;
}

.a-hidden {
  display: none;
}

.a-block {
  display: block;
}

.a-inline-cont > *,
.a-inline-block {
  vertical-align: top;
  display: inline-block;
}

.a-left {
  float: left;
}

.a-right {
  float: right;
}

.a-clearbox::after {
  content: "";
  display: table;
  clear: both;
}

.a-justify, .a-justify > .a-justify {
  text-align-last: justify;
  text-align: justify;
  line-height: 0;
  font-size: 1px;
  zoom: 1;
}

.a-justify:after, .a-justify > .a-justify:after {
  display: inline-block;
  visibility: hidden;
  overflow: hidden;
  content: '';
  width: 100%;
  height: 0;
}

.a-justify > *, .a-justify > .a-justify > * {
  vertical-align: top;
  display: inline-block;
  text-align-last: auto;
  text-align: left;
  font: 14px/18px Arial;
}

.browser-ie8 .a-justify, .browser-ie8 .a-justify > .a-justify {
  text-align-last: center;
}

.a-nowrap {
  white-space: nowrap;
}

.a-pre {
  white-space: pre-line;
}

.a-center {
  text-align: center;
}

.chosen.fullwidth {
  width: 100%;
}

.chosen.fullwidth + .chzn-container {
  display: block;
}

.chosen.fullwidth + .chzn-container .chzn-single {
  width: auto !important;
  display: block;
}

.chzn-container.chzn-container-single .chzn-single {
  padding-left: 10px;
  background: #fff;
  border: none;
  height: 32px;
  color: #000;
}

.chzn-container.chzn-container-single .chzn-single DIV {
  background: url("/img/icons/select-arrow.png") 0 50% no-repeat;
  width: 22px;
}

.chzn-container.chzn-container-single .chzn-drop {
  min-width: 100% !important;
  background: #fff;
  border: none;
  padding: 0;
}

.chzn-container.chzn-container-single .chzn-drop .chzn-search {
  position: absolute;
  left: -9999px;
}

.chzn-container.chzn-container-single .chzn-drop .chzn-results {
  background: #fff;
  padding: 0;
  margin: 0;
}

.chzn-container.chzn-container-single .chzn-drop .chzn-results LI {
  padding: 5px 10px;
  color: #000;
}

.chzn-container.chzn-container-single .chzn-drop .chzn-results LI.highlighted {
  background: #777;
  color: #ececec;
}

.chzn-container.chzn-container-single .chzn-drop .chzn-results LI.group-result {
  font-weight: bold;
}

.icon {
  vertical-align: top;
  display: inline-block;
  background: url("/img/icons/icons.png") 0 0 no-repeat;
  height: 20px;
  width: 20px;
}

.user-form {
  position: relative;
}

.user-form.sending {
  opacity: .5;
}

.user-form.sending:after {
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  content: '';
  z-index: 2;
  left: 0;
  top: 0;
}

BODY {
  background: #fff;
  color: #000;
  font: 14px/18px Arial;
}

.admin-icon {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 50%;
  background: #19a0d9;
  position: fixed;
  display: block;
  height: 58px;
  width: 58px;
  bottom: -64px;
  right: 32px;
  z-index: 90;
}

.admin-icon .svg {
  -webkit-transform: translate(0, -50%);
      -ms-transform: translate(0, -50%);
          transform: translate(0, -50%);
  position: relative;
  display: block;
  margin: 0 auto;
  top: 50%;
  width: 58%;
  height: 58%;
}

.admin-icon .svg path {
  fill: #fff;
}

.admin-icon._shown {
  bottom: 24px;
}

/*
.post {

  //базовые стили для поста
  &__annotation {
    font: 20px/1.5em 'PlayfairDisplay', sans-serif;
    color: $black;
    margin-bottom: 30px;
    &:first-letter {
      float: left;
      font-size: 69px;
      margin: 5px 5px 0 0;
      font-weight: bold;
      line-height: .8em;
    }
    @media (max-width: $width-tablet - 1) {
      font-size: 17px;
      line-height: 1.47;
    }
  }

  &__lead {
    font: 20px/1.5em PlayfairDisplay;
    color: $black;
    margin: 22px 0;
  }
  &__text {
    margin-top: 50px;
    font: 15px/1.5em Geometria;
    color: rgba(0, 0, 0, 0.75);
    @media (max-width: $width-tablet - 1) {
      margin-top: 30px;
    }
  }

  //&__line:after {
  //	bottom: 10px;
  //}
  &__label {
    display: inline-block;
    vertical-align: middle;
    //@media (max-width: $width-tablet - 1) {
    //	font-size: 13px;
    //}
  }

  //post-footer for news,articles,blog
  &__footer {
    overflow: hidden;
    padding-top: 30px;
    border-top: 1px solid $secondary-light;
    margin: 30px 0 80px;
    width: 100%;
    @media (max-width: $width-tablet - 1) {
      margin: 30px 0 50px;
    }
  }
  &__social {
    text-align: right;
    @media (max-width: $width-tablet - 1) {
      text-align: left;
      margin-top: 10px;
    }
  }
  &__social-list {
    display: inline-block;
    vertical-align: middle;
    margin-left: 25px;
  }
}
//для деталей в тексте и редакторе
.post, .redactor-styles {
  .post__annotation {
    font: 20px/1.5em 'PlayfairDisplay', sans-serif;
    color: $black;
    margin-bottom: 30px;
    &:first-letter {
      float: left;
      font-size: 69px;
      margin: 5px 5px 0 0;
      font-weight: bold;
      line-height: .8em;
    }
    @media (max-width: $width-tablet - 1) {
      font-size: 17px;
      line-height: 1.47;
    }
  }

  .post__annotation-grey {
    text-align: left;
    margin: 15px 0;
    font: 20px/1.3 PlayfairDisplay;
    color: #717171;

    @media (max-width: $width-tablet - 1) {
      font-size: 17px;
    }
  }

  //ссылка
  a {
    color: $primary!important;
    transition: color .2s ease;
    text-decoration: none;
    &:hover {
      color: $primary-dark!important;
    }
  }

  figure{
    &.a-center {
      img{
        margin-left: auto;
        margin-right: auto;
      }
    }
    &.a-left {
      width: 35%;
      float: left;
      margin: 30px 30px 0 0;
      img{
        margin-left: auto;
        margin-right: auto;
      }
      @media (max-width: $width-tablet - 1) {
        float: none;
        width: 100%;
        margin: 30px auto;
      }
    }
    &.a-right {
      width: 35%;
      float: right;
      margin: 30px 0 0 30px;
      img{
        margin-left: auto;
        margin-right: auto;
      }
      + p {
        margin-top: 1em;
      }
      @media (max-width: $width-tablet - 1) {
        float: none;
        width: 100%;
        margin: 30px auto;
      }
    }
    figcaption {
      width: 100% !important;
      font: italic 14px/1.2em PlayfairDisplay;
      color: $black;
      margin-top: 15px;
      text-align: center;
    }
  }
  img.content-image{
    //	width: 100% !important;
    max-width: 100%;
    &:after {
      content: '';
      display: table;
      float: none;
      clear: both;
    }
  }
  //картинка
  .content-image {
    display: block;
    margin-bottom: 30px;
    &:after {
      content: '';
      display: table;
      float: none;
      clear: both;
    }
    img {
      width: 100% !important;
      max-width: 100%;
    }
    .image-description {
      width: 100% !important;
      font: italic 14px/1.2em PlayfairDisplay;
      color: $black;
      margin-top: 15px;
      text-align: center;
    }
    &.a-center {
      width: 100%;
      img{
        margin-left: auto;
        margin-right: auto;
      }
    }
    &.a-left {
      width: 35%;
      float: left;
      margin: 30px 30px 0 0;
      img{
        margin-left: auto;
        margin-right: auto;
      }
      @media (max-width: $width-tablet - 1) {
        float: none;
        width: 100%;
        margin: 30px auto;
      }
    }
    &.a-right {
      width: 35%;
      float: right;
      margin: 30px 0 0 30px;
      img{
        margin-left: auto;
        margin-right: auto;
      }
      + p {
        margin-top: 1em;
      }
      @media (max-width: $width-tablet - 1) {
        float: none;
        width: 100%;
        margin: 30px auto;
      }
    }
  }

  //цитата
  .post__quote {
    font: 20px/1.5em PlayfairDisplay;
    color: $black;
    position: relative;
    padding: 60px 40px 30px 55px;
    @media (max-width: $width-tablet - 1) {
      font-size: 16px;
    }
    &:before {
      content: '';
      position: absolute;
      top: 15px;
      left: 0;
      color: $primary;
      height: 30px;
      width: 40px;
      background: url('/templates/project/assets/svg/global/quote.svg') 50%/contain no-repeat;
    }
    &:after {
      content: '';
      position: absolute;
      top: 30px;
      left: 55px;
      height: 2px;
      background-color: $primary-light;
      width: calc(100% - 55px);
    }
    &_right {
      float: right;
      width: 35%;
      margin: 0 0 0 40px;
      padding-right: 10px;

      @media (max-width: $width-tablet - 1) {
        float: none;
        width: 100%;
        margin: 0;
      }
    }
  }

  //прямая речь
  .post__dialog {
    padding-left: 55px;
    position: relative;
    &:before {
      content: ' — ';
      margin-left: -17px;
      line-height: 5px;
      font-weight: 600;
      position: relative;
      left: -4px;
    }
  }
  //список
  ul {
    margin: 30px 0;
    li {
      font-family: Geometria;
      position: relative;
      list-style: none;
      font-size: 15px;
      line-height: 1.53;
      padding-left: 20px;
      margin-bottom: 10px;
      > strong {
        font-weight: 500;
      }
      &:before {
        content: ' — ';
        position: absolute;
        left: 0;
        top: -1px;
        font-weight: 600;
      }
    }
  }

  table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 30px;
    th {
      font-weight: 600;
      border:1px solid $secondary-light;
      border-bottom: 2px solid $primary;
      text-align: left;
      padding: 10px 15px;
    }
    td {
      border:1px solid $secondary-light;
      padding: 10px 15px;
    }
    @media (max-width: $width-tablet - 1) {
      display: inline-block;
      vertical-align: top;
    }
  }
  p {
    font: 15px/1.5em Geometria;
    color: rgba(0, 0, 0, 0.75);
  }
  p + p {
    margin-top: 1em;
  }

  strong {
    font:500 14px/1.2em Geometria;
    color:$black;
  }

  //headers sans

  .title-sans-md, h2 {
    font: 28px/1em Geometria;
    color:$black;
    margin: 40px 0 25px;
    @media (min-width: $width-tablet) and (max-width: $width-desktop - 1){
      font-size: 24px;
    }
    @media (max-width: $width-tablet - 1) {
      font-size: 21px;
    }
  }

  .title-sans-sm, h3 {
    font: 500 24px/1em Geometria;
    color:$black;
    margin: 35px 0 25px;
    @media (min-width: $width-tablet) and (max-width: $width-desktop - 1){
      font-size: 21px;
    }
    @media (max-width: $width-tablet - 1){
      font-size: 18px
    }
  }

  .title-sans-xs, h4 {
    font: 500 21px/1em Geometria;
    color:$black;
    margin: 30px 0 20px;
    @media (min-width: $width-tablet) and (max-width: $width-desktop - 1){
      font-size: 18px;
    }
    @media (max-width: $width-tablet - 1){
      font-size: 16px;
    }
  }
  .line {
    margin-bottom: 0;
  }

}*/
.mobile-detect {
  visibility: hidden;
  position: fixed;
  left: -9999px;
  width: 0;
}

@media (max-width: 1200px) {
  .mobile-detect {
    width: 1px;
  }
}

@media (max-width: 700px) {
  .mobile-detect {
    width: 2px;
  }
}

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