/*
Theme Name:     Nchti Child
Theme URI:      http: //nchti.ru/
Description:    Дочерняя тема для темы Nchti
Author:         Ваше имя
Author URI:     http: //nchti.ru/
Template:       nchti
Version:        1.0.0
*/

/*@import url("../nchti/style.css");*/




/*
Theme Name: NCHTI
Theme URI: https://www.nchti.ru
Description: Nchti theme.
Version: 1.0.0
Author: GaraevII
Author URI: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nchti
Tags: accessibility-ready, blog, custom-colors, custom-header, custom-menu, education, featured-images, full-width-template, news, one-column, right-sidebar, rtl-language-support, sticky-post, theme-options, threaded-comments, three-columns, translation-ready, two-columns
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Accessibility
# Alignments
# Clearings
# Typography
# Forms
# Buttons
# Formatting
# Lists
# Tables
# Navigation
# Links
# Layout
# Components
# Widgets
# Media
# JetPack
# Plugins

old colors:
color for links      - #ce4639  
color for background - #222

color for backgound link blue - #157fc4
color backgound for label - #106196

*---------------------------------------------------------------
# Mixins & Variables
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Montserrat', sans-serif !important;
    /*font-family: sans-serif;*/
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  body {
    margin: 0;
  }
  
  article,
  aside,
  details,
  figcaption,
  figure,
  footer,
  header,
  main,
  menu,
  nav,
  section,
  summary {
    display: block;
  }
  
  audio,
  canvas,
  progress,
  video {
    display: inline-block;
    vertical-align: baseline;
  }
  
  audio:not([controls]) {
    display: none;
    height: 0;
  }
  
  [hidden],
  template {
    display: none;
  }
  
  a {
    background-color: transparent;
  }
  
  a:active,
  a:hover {
    outline: 0;
  }
  
  abbr[title] {
    border-bottom: 1px dotted;
  }
  
  b,
  strong {
    font-weight: bold;
  }
  
  dfn {
    font-style: italic;
  }
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  mark {
    background: #ff0;
    color: #999;
  }
  
  small {
    font-size: 80%;
  }
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sup {
    top: -0.5em;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  img {
    border: 0;
  }
  
  svg:not(:root) {
    overflow: hidden;
  }
  
  figure {
    margin: 1em 40px;
  }
  
  hr {
    box-sizing: content-box;
    height: 0;
  }
  
  pre {
    overflow: auto;
  }
  
  code,
  kbd,
  pre,
  samp {
    font-family: monospace, monospace;
    font-size: 1em;
  }
  
  button,
  input,
  optgroup,
  select,
  textarea {
    color: inherit;
    font: inherit;
    margin: 0;
  }
  
  button {
    overflow: visible;
  }
  
  button,
  select {
    text-transform: none;
  }
  
  button,
  html input[type="button"],
  input[type="reset"],
  input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
  }
  
  button[disabled],
  html input[disabled] {
    cursor: default;
	  color: gray;
	  background-color: #afafaf;
  }
  
  button::-moz-focus-inner,
  input::-moz-focus-inner {
    border: 0;
    padding: 0;
  }
  
  input {
    line-height: normal;
  }
  
  input[type="checkbox"],
  input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
  }
  
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
  }
  
  input[type="search"]::-webkit-search-cancel-button,
  input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
  }
  
  legend {
    border: 0;
    padding: 0;
  }
  
  textarea {
    overflow: auto;
  }
  
  optgroup {
    font-weight: bold;
  }
  
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  
  td,
  th {
    padding: 0;
  }
  
  /*--------------------------------------------------------------
  # Accessibility
  --------------------------------------------------------------*/
  /* Text meant only for screen readers. */
  .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }
  
  .screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
  }
  
  /* Do not show the outline on the skip link target. */
  #content[tabindex="-1"]:focus {
    outline: 0;
  }
  
  /*--------------------------------------------------------------
  # Alignments
  --------------------------------------------------------------*/
  .alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
  }
  
  .alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
  }
  
  .aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  /*--------------------------------------------------------------
  # Clearings
  --------------------------------------------------------------*/
  .clear:before,
  .clear:after,
  .entry-content:before,
  .entry-content:after,
  .comment-content:before,
  .comment-content:after,
  .site-header:before,
  .site-header:after,
  .site-content:before,
  .site-content:after,
  .site-footer:before,
  .site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
  }
  
  .clear:after,
  .entry-content:after,
  .comment-content:after,
  .site-header:after,
  .site-content:after,
  .site-footer:after {
    clear: both;
  }
  
  /*--------------------------------------------------------------
  # Typography
  --------------------------------------------------------------*/
  body,
  button,
  input,
  select,
  textarea {
    color: #434343;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-size: 14.4px;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.65;
  }
  
  @media screen and (min-width: 50em) {
    body,
    button,
    input,
    select,
    textarea {
      font-size: 16px;
      font-size: 1rem;
    }
  }
  
  h1, h2, h3, h4 {
    clear: both;
    /* font-family: "Playfair Display SC", "Times New Roman", Times, serif; */
    letter-spacing: 0.15em;
    line-height: 1.25em;
    word-break: break-word;
    margin: 1.65em 0;
  }
  
  /*оригинал h1 - 32px*/
  h1 {
    font-size: 28px;
    /*font-size: 2rem;*/
  }
  
  h2 {
    font-size: 22.72px;
    /*font-size: 1.67rem;*/
  }
  
  h3 {
    font-size: 18.8px;
    /*font-size: 1.425rem;*/
  }
  
  h4 {
    font-size: 16px;
    /*font-size: 1.25rem;*/
  }
  
  h5 {
    font-size: 14px;
    /*font-size: 1.125rem;*/
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    text-transform: uppercase;
  }
  
  h6 {
    font-size: 16px;
    font-size: 1rem;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    text-transform: uppercase;
  }
  
  p {
    margin: 0 0 1.65em;
  }
  
  dfn, cite, em, i {
    font-style: italic;
  }
  
  blockquote {
    font-family: "Playfair Display", "Times New Roman", Times, serif;
    font-size: 17.6px;
    font-size: 1.1rem;
    line-height: 1.5;
    font-style: italic;
    color: #999;
    margin: 0 0 0 1.5em;
  }
  
  @media screen and (min-width: 50em) {
    blockquote {
      font-size: 20px;
      font-size: 1.25rem;
    }
  }
  
  address {
    margin: 0 0 1.5em;
  }
  
  pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
  }
  
  code, kbd, tt, var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
  }
  
  abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
  }
  
  mark, ins {
    background: #fff9c0;
    text-decoration: none;
  }
  
  big {
    font-size: 125%;
  }
  
  blockquote, q {
    quotes: "" "";
  }
  
  blockquote:before, blockquote:after, q:before, q:after {
    content: "";
  }
  
  /*--------------------------------------------------------------
  # Forms
  --------------------------------------------------------------*/
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="tel"],
  input[type="range"],
  input[type="date"],
  input[type="month"],
  input[type="week"],
  input[type="time"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="color"],
  textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
  }
  
  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="url"]:focus,
  input[type="password"]:focus,
  input[type="search"]:focus,
  input[type="number"]:focus,
  input[type="tel"]:focus,
  input[type="range"]:focus,
  input[type="date"]:focus,
  input[type="month"]:focus,
  input[type="week"]:focus,
  input[type="time"]:focus,
  input[type="datetime"]:focus,
  input[type="datetime-local"]:focus,
  input[type="color"]:focus,
  textarea:focus {
    color: #111;
  }
  
  select {
    border: 1px solid #ccc;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="tel"],
  input[type="range"],
  input[type="date"],
  input[type="month"],
  input[type="week"],
  input[type="time"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="color"] {
    padding: 3px;
  }
  
  textarea {
    padding-left: 3px;
    width: 100%;
  }
  
  /*--------------------------------------------------------------
  # Buttons
  --------------------------------------------------------------*/
  button,
  input[type="button"],
  input[type="reset"],
  input[type="submit"] {
    font-size: 16px;
    font-size: 1rem;
    -webkit-border-radius: 0.333em;
    -moz-border-radius: 0.333em;
    border-radius: 0.333em;
    border: 1px solid #982525;
    background: #fff;
    color: #982525;
    font-weight: 600;
    line-height: 1;
    outline: none;
    padding: 0.825em 13.5px;
    -webkit-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    -moz-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    -o-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
  }
  
  button:hover,
  input[type="button"]:hover,
  input[type="reset"]:hover,
  input[type="submit"]:hover,
  button:focus,
  input[type="button"]:focus,
  input[type="reset"]:focus,
  input[type="submit"]:focus {
    background: #999;
    border: 1px solid #999;
    color: #FFF;
    font-weight: 600;
    outline: none;
  }
  
  /*--------------------------------------------------------------
  # Formatting
  --------------------------------------------------------------*/
  hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
  }
  
  .avatar {
    -webkit-border-radius: 10%;
    -moz-border-radius: 10%;
    border-radius: 10%;
  }
  
  /*--------------------------------------------------------------
  # Lists
  --------------------------------------------------------------*/
  ul, ol {
    margin: 0 0 1.5em 27px;
    padding: 0;
  }
  
  ul {
    list-style: disc;
  }
  
  ol {
    list-style: decimal;
  }
  
  li > ul,
  li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
  }
  
  dt {
    font-weight: bold;
  }
  
  dd {
    margin: 0 1.5em 1.5em;
  }
  
  /*--------------------------------------------------------------
  # Tables
  --------------------------------------------------------------*/
  table {
    margin: 0 0 1.5em;
    width: 100%;
  }
  
  table th,
  table td {
    padding: .5em;
    text-align: left;
  }
  
  .entry-content table {
    border-collapse: collapse;
  }
  
  .entry-content table tbody tr:nth-child(odd) {
    background: #FFF;
  }
  
  .entry-content table tbody {
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-bottom-left-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    overflow: hidden;
  }
  
  .entry-content table tbody tr:nth-child(even) {
    background: #f0eeec;
  }
  
  .entry-content table th,
  .entry-content table td {
    border: 1px solid #982525;
  }
  
  .entry-content table thead tr {
    font-size: 12.8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.2375em;
    text-transform: uppercase;
    background: #999;
    color: #FFF;
  }
  
  /*--------------------------------------------------------------
  # Navigation
  --------------------------------------------------------------*/
  /* Small menu. */
  .menu-toggle {
    display: block;
    float: right;
    margin-right: 5px;
    margin-bottom: 1.65em;
  }
  
  .menu-toggle.toggled-on {
    background: #982525;
    border-color: #982525;
    color: #FFF;
  }
  
  .main-navigation {
    clear: both;
    display: block;
    position: absolute;
    top: 1.65em;
    right: 10px;
    width: auto;
    z-index: 3;
  }
  
  .main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
  }
  
  .main-navigation > div {
    display: none;
  }
  
  .main-navigation > div.toggled-on {
    display: block;
  }
  
  .main-navigation > div > ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-top-left-radius: 0.5em;
    -moz-border-top-left-radius: 0.5em;
    border-top-left-radius: 0.5em;
    -webkit-border-top-right-radius: 0.5em;
    -moz-border-top-right-radius: 0.5em;
    border-top-right-radius: 0.5em;
    overflow: hidden;
    overflow: inherit;
  }
  
  .main-navigation > div > ul li {
    position: relative;
    /*position: relative;*/
  }
  
  .main-navigation > div > ul li:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .main-navigation > div > ul li:hover span,
  .main-navigation > div > ul li.focus span {
    color: #777777;
  }
  
  .main-navigation > div > ul li:hover > ul,
  .main-navigation > div > ul li.focus > ul {
    left: auto;
  }
  
  .main-navigation .sub-menu,
  .main-navigation .children {
    position: relative;
    display: none;
  }
  
  .main-navigation .sub-menu:before,
  .main-navigation .children:before {
    content: "";
    position: absolute;
    border-top: 1px solid #982525;
    height: 0;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .main-navigation .sub-menu a:before,
  .main-navigation .children a:before {
    content: "\26AC\00a0\00a0";
    color: #777777;
    display: inline-block;
    font-weight: 100;
  }
  
  .main-navigation .sub-menu:before,
  .main-navigation .children:before {
    top: -1px;
  }
  
  .main-navigation .sub-menu.toggled-on,
  .main-navigation .children.toggled-on {
    display: block;
  }
  
  .main-navigation .sub-menu ul,
  .main-navigation .children ul {
    position: relative;
  }
  
  .main-navigation .sub-menu ul:before,
  .main-navigation .children ul:before {
    content: "";
    position: absolute;
    border-top: 1px solid #cfccc7;
    height: 0;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .main-navigation .sub-menu ul:before,
  .main-navigation .children ul:before {
    top: -1px;
  }
  
  .main-navigation .sub-menu li,
  .main-navigation .children li {
    /*position: relative;*/
    position: relative;
  }
  
  .main-navigation .sub-menu li:before,
  .main-navigation .children li:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #cfccc7;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .main-navigation .sub-menu li.menu-item-has-children ul a,
  .main-navigation .sub-menu li.page_item_has_children ul a,
  .main-navigation .children li.menu-item-has-children ul a,
  .main-navigation .children li.page_item_has_children ul a {
    padding-left: 40.5px;
  }
  
  .main-navigation a {
    display: block;
    font-weight: 600;
    line-height: 1.1875em;
    padding: 20.25px;
    word-break: break-word;
  }
  
  .main-navigation a span {
    display: none;
  }
  
  .main-navigation .menu-item-has-children > a,
  .main-navigation .page_item_has_children > a {
    padding: 20.25px 55px 20.25px 20.25px;
  }
  
  .main-navigation .dropdown-toggle {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    background: transparent;
    border: 2px solid #777777;
    color: #777777;
    display: inline-block;
    fill: currentColor;
    height: 32px;
    position: absolute;
    right: 12px;
    text-align: center;
    top: 12px;
    width: 32px;
    z-index: 2;
  }
  
  .main-navigation .dropdown-toggle:focus {
    background: #26866d;
    border-color: #26866d;
  }
  
  .main-navigation .dropdown-toggle svg {
    height: 20px;
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
  }
  
  .main-navigation .dropdown-toggle:focus svg {
    fill: #fff;
  }
  
  .main-navigation .dropdown-toggle.toggled-on {
    color: #FFF;
    background-color: #982525;
    border-color: #982525;
    -ms-transform: rotate(45deg);
    /* IE 9 */
    -webkit-transform: rotate(45deg);
    /* Chrome, Safari, Opera */
    transform: rotate(45deg);
  }
  
  .main-navigation .dropdown-toggle.toggled-on:focus svg {
    fill: currentColor;
  }
  
  .main-navigation.toggled-on {
    width: calc(100% - 20px);
  }
  
  .main-navigation.toggled-on > div > ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  @media screen and (min-width: 50em) {
      .main-navigation .dropdown-toggle {
          display: none;	
      }
    .menu-toggle {
      display: none;
    }
    .main-navigation {
      min-height: 55px;
      margin-bottom: 3.3em;
      position: relative;
      top: inherit;
      right: inherit;
      width: 100%;
      z-index: 5;
    }
    .main-navigation > div {
      display: block;
      position: relative;
      z-index: 2;
    }
    .main-navigation > div.hide {
      z-index: 1;
    }
    .main-navigation > div.hide ul {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      z-index: 0;
    }
    .main-navigation a {
        color: #FFF;
        height: 100%;
        position: relative;
        z-index: 3;
    }
    .main-navigation a:hover {
      color: #FFF;
    }

    .main-navigation a:visited {
        color: #FFF;
    }

    .main-navigation a:hover span {
      color: #777777;
    }
    .main-navigation a span {
      color: #434343;
      display: block;
      font-size: 12px;
      font-size: 0.75rem;
      font-weight: 300;
      line-height: 1.65;
      margin-top: 3px;
    }
    .main-navigation .menu-item-has-children a,
    .main-navigation .page_item_has_children a {
      padding: /*20px 35px 26px 20px;*/ 15px;
    }
    .main-navigation .menu-item-has-children > ul li a,
    .main-navigation .page_item_has_children > ul li a {
      padding-bottom: 20px;
    }
    .main-navigation > div > ul,
    .main-navigation.toggled-on > div > ul {
      /*background: #FFF;*/
        background: #3366CC; /* for non-css3 browsers */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
        background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
        background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */ 
      border: 1px solid #982525;
      -webkit-border-radius: 0.5em;
      -moz-border-radius: 0.5em;
      border-radius: 0.5em;
      /*overflow: hidden;*/
      align-content: stretch;
      align-items: stretch;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      max-height: 9999px;
      opacity: 1;
      overflow: visible;
      -webkit-transition: all 0.125s ease-out;
      -moz-transition: all 0.125s ease-out;
      -o-transition: all 0.125s ease-out;
      transition: all 0.125s ease-out;
    }
    .main-navigation > div > ul > li,
    .main-navigation.toggled-on > div > ul > li {
      margin: -1px -1px 0;
      width: calc(20% + 2px);
    }
    .main-navigation > div > ul > li:before,
    .main-navigation.toggled-on > div > ul > li:before {
      position: relative;
    }
    .main-navigation > div > ul > li:before:before,
    .main-navigation.toggled-on > div > ul > li:before:before {
      content: "";
      position: absolute;
      border: none;
    }
    .main-navigation > div > ul > li:hover,
    .main-navigation > div > ul > li.focus,
    .main-navigation.toggled-on > div > ul > li:hover,
    .main-navigation.toggled-on > div > ul > li.focus {
      /*background: #999;*/
      background: #336699;
    }
    .main-navigation > div > ul > li:hover a,
    .main-navigation > div > ul > li.focus a,
    .main-navigation.toggled-on > div > ul > li:hover a,
    .main-navigation.toggled-on > div > ul > li.focus a {
      /*color: #777777;*/
      color: #C3DFED;
    }
    .main-navigation > div > ul > li:hover a:hover,
    .main-navigation > div > ul > li.focus a:hover,
    .main-navigation > div > ul > li.focus a:focus,
    .main-navigation.toggled-on > div > ul > li:hover a:hover,
    .main-navigation.toggled-on > div > ul > li.focus a:hover,
    .main-navigation.toggled-on > div > ul > li.focus a:focus {
      color: #FFF;
    }
    .main-navigation > div ul li:hover > button,
    .main-navigation > div ul li.focus > button,
    .main-navigation > div ul li:hover > button,
    .main-navigation > div ul li.focus > button {
        border-color: #fff;
    }
    .main-navigation > div ul li:hover > button svg,
    .main-navigation > div ul li.focus > button svg,
    .main-navigation > div ul li:hover > button svg,
    .main-navigation > div ul li.focus > button svg {
        fill: #fff;
    }
    .main-navigation > div > ul > li:hover .sub-menu,
    .main-navigation > div > ul > li:hover .children,
    .main-navigation > div > ul > li.focus .sub-menu,
    .main-navigation > div > ul > li.focus .children,
    .main-navigation.toggled-on > div > ul > li:hover .sub-menu,
    .main-navigation.toggled-on > div > ul > li:hover .children,
    .main-navigation.toggled-on > div > ul > li.focus .sub-menu,
    .main-navigation.toggled-on > div > ul > li.focus .children {
      display: block;
    }
    .main-navigation .sub-menu,
    .main-navigation .children {
      /*background: #999;*/
      background: #336699;
      box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.33);
      display: inherit;
      float: left;
      position: absolute;
      top: calc(100% - 10px);
      left: -999em;
      width: 300px;
      z-index: 99999;
      
    }
    .main-navigation .sub-menu ul,
    .main-navigation .children ul {
      position: absolute;
      left: -999em;
      top: 0;
    }
    .main-navigation .sub-menu ul:before,
    .main-navigation .children ul:before {
      border-color: #1d3752; /*#982525;*/
    }
    .main-navigation .sub-menu a:before,
    .main-navigation .children a:before {
      content: "";
      display: none;
    }
    .main-navigation .sub-menu li a,
    .main-navigation .children li a {
      color: #FFF;
    }
    .main-navigation .sub-menu li:before,
    .main-navigation .children li:before {
      border-color: #1d3752; /*#982525;*/
    }
    .main-navigation .sub-menu li:hover {
        background: #325598;
    }

    .main-navigation .sub-menu li:hover > ul,
    .main-navigation .sub-menu li.focus > ul,
    .main-navigation .children li:hover > ul,
    .main-navigation .children li.focus > ul {
      left: 100%;
    }
    .main-navigation .sub-menu li:hover > a,
    .main-navigation .sub-menu li.focus > a,
    .main-navigation .sub-menu li.menu-item-has-children li a:hover,
    .main-navigation .sub-menu li.page_item_has_children li a:hover,
    .main-navigation .children li:hover > a,
    .main-navigation .children li.focus > a,
    .main-navigation .children li.menu-item-has-children li a:hover,
    .main-navigation .children li.page_item_has_children li a:hover {
      color: #777777;
    }
    .main-navigation .sub-menu li.menu-item-has-children:hover ul li,
    .main-navigation .sub-menu li.page_item_has_children:hover ul li,
    .main-navigation .children li.menu-item-has-children:hover ul li,
    .main-navigation .children li.page_item_has_children:hover ul li {
      background: #2A2A2A;
    }
    .main-navigation .sub-menu li.menu-item-has-children ul a,
    .main-navigation .sub-menu li.page_item_has_children ul a,
    .main-navigation .children li.menu-item-has-children ul a,
    .main-navigation .children li.page_item_has_children ul a {
      padding-left: 20.25px;
    }
    .main-navigation .sub-menu li.menu-item-has-children:hover ul a:active,
    .main-navigation .sub-menu li.menu-item-has-children:hover ul a:hover,
    .main-navigation .sub-menu li.page_item_has_children:hover ul a:active,
    .main-navigation .sub-menu li.page_item_has_children:hover ul a:hover,
    .main-navigation .children li.menu-item-has-children:hover ul a:active,
    .main-navigation .children li.menu-item-has-children:hover ul a:hover,
    .main-navigation .children li.page_item_has_children:hover ul a:active,
    .main-navigation .children li.page_item_has_children:hover ul a:hover {
      color: #FFF;
    }
    .main-navigation.add-seperators > div > ul > li {
      position: relative;
    }
    .main-navigation.add-seperators > div > ul > li:before {
      content: "";
      position: absolute;
      border-bottom: 1px solid #982525;
      bottom: 0;
      height: 0;
      left: 0;
      width: 100%;
    }
    .main-navigation.add-seperators > div > ul > li:before {
      bottom: 0;
    }
    .main-navigation.add-seperators > div > ul > li:nth-child(5n):nth-last-child(-n+6) ~ li:before,
    .main-navigation.add-seperators > div > ul > li:last-child:nth-child(-n+4):before {
      display: none;
    }
    .main-navigation.add-seperators > div > ul > li:nth-child(5n):nth-last-child(-n+6) ~ li:hover:before,
    .main-navigation.add-seperators > div > ul > li:last-child:nth-child(-n+4):hover:before {
      border-color: #999;
      bottom: -1px;
      display: block;
    }
    .main-navigation .dropdown-toggle {
      height: 20px;
      padding: 0;
      right: 18px;
      top: 18px;
      width: 20px;
      z-index: 2;
    }
    .main-navigation .dropdown-toggle svg {
      height: 16px;
      left: 0;
      position: absolute;
      top: 0;
      width: 16px;
    }
    .main-navigation .dropdown-toggle.toggled-on {
      background-color: transparent;
      border-color: #777777;
      color: #777777;
      -ms-transform: rotate(0deg);
      /* IE 9 */
      -webkit-transform: rotate(0deg);
      /* Chrome, Safari, Opera */
      transform: rotate(0deg);
    }
      .main-navigation li.current_page_parent {
          background: #336699;
      }
      .main-navigation li.current_page_parent a {
          color: #FFFFFF;
      }
      .main-navigation li.current_page_item {
          /*background: #999999;*/
          background: #336699;
      }
      .main-navigation li.current_page_item a {
          color: #FFFFFF;
      }
  }
  
  .footer-navigation {
    display: block;
    margin-bottom: 1.65em;
  }
  
  .footer-navigation > div > ul {
    list-style: none;
    margin: 0 0 0 -13.5px;
    padding-left: 0;
  }
  
  .footer-navigation li {
    display: inline-block;
  }
  
  .footer-navigation a {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    display: block;
    font-weight: 600;
    line-height: 1.65em;
    padding: 0 13.5px;
    word-break: break-word;
  }
  
  .posts-navigation,
  .post-navigation,
  .comment-navigation {
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-bottom-left-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    overflow: hidden;
  }
  
  .site-main .posts-navigation, .site-main
  .post-navigation, .site-main
  .comment-navigation {
    display: block;
    margin: 0 0 1.65em;
    overflow: hidden;
  }
  
  .posts-navigation .nav-links,
  .post-navigation .nav-links,
  .comment-navigation .nav-links {
    display: block;
  }
  
  .posts-navigation .nav-links a,
  .post-navigation .nav-links a,
  .comment-navigation .nav-links a {
    display: block;
    height: 100%;
  }
  
  .posts-navigation .nav-previous,
  .post-navigation .nav-previous,
  .comment-navigation .nav-previous {
    position: relative;
    width: 100%;
    position: relative;
  }
  
  .posts-navigation .nav-previous:before,
  .post-navigation .nav-previous:before,
  .comment-navigation .nav-previous:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .posts-navigation .nav-previous:before,
  .post-navigation .nav-previous:before,
  .comment-navigation .nav-previous:before {
    bottom: -1px;
  }
  
  .posts-navigation .nav-next,
  .post-navigation .nav-next,
  .comment-navigation .nav-next {
    position: relative;
    width: 100%;
    position: relative;
  }
  
  .posts-navigation .nav-next:before,
  .post-navigation .nav-next:before,
  .comment-navigation .nav-next:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .posts-navigation .nav-next:before,
  .post-navigation .nav-next:before,
  .comment-navigation .nav-next:before {
    bottom: -1px;
  }
  
  .posts-navigation a,
  .post-navigation a,
  .comment-navigation a {
    display: block;
  }
  
  .posts-navigation a > *,
  .post-navigation a > *,
  .comment-navigation a > * {
    display: block;
    width: 100%;
  }
  
  .posts-navigation a .meta-nav,
  .post-navigation a .meta-nav,
  .comment-navigation a .meta-nav {
    position: relative;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    line-height: 2.475em;
    padding: 0 20.25px;
  }
  
  .posts-navigation a .meta-nav:before,
  .post-navigation a .meta-nav:before,
  .comment-navigation a .meta-nav:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .posts-navigation a .meta-title,
  .post-navigation a .meta-title,
  .comment-navigation a .meta-title {
    font-size: 24px;
    font-size: 1.5rem;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-weight: 600;
    letter-spacing: inherit;
    line-height: 1.25em;
    font-size: 18px;
    font-size: 1.125rem;
    padding: 0.4125em 20.25px 1.65em;
    word-break: break-word;
  }
  
  .posts-navigation a:hover,
  .post-navigation a:hover,
  .comment-navigation a:hover,
  .posts-navigation a:focus,
  .post-navigation a:focus,
  .comment-navigation a:focus {
    background: #999;
    color: #FFF;
  }
  
  .posts-navigation a:hover .meta-nav:before,
  .post-navigation a:hover .meta-nav:before,
  .comment-navigation a:hover .meta-nav:before,
  .posts-navigation a:focus .meta-nav:before,
  .post-navigation a:focus .meta-nav:before,
  .comment-navigation a:focus .meta-nav:before {
    border-color: #FFF;
  }
  
  .posts-navigation .nav-previous:hover .meta-nav,
  .posts-navigation .nav-next:hover .meta-nav,
  .post-navigation .nav-previous:hover .meta-nav,
  .post-navigation .nav-next:hover .meta-nav,
  .comment-navigation .nav-previous:hover .meta-nav,
  .comment-navigation .nav-next:hover .meta-nav,
  .posts-navigation .nav-previous:focus .meta-nav,
  .posts-navigation .nav-next:focus .meta-nav,
  .post-navigation .nav-previous:focus .meta-nav,
  .post-navigation .nav-next:focus .meta-nav,
  .comment-navigation .nav-previous:focus .meta-nav,
  .comment-navigation .nav-next:focus .meta-nav {
    border-color: #FFF;
  }
  
  .comment-navigation {
    margin-bottom: 1.65em;
    width: 100%;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .site-main .comment-navigation {
    margin-bottom: -1px;
  }
  
  .comment-navigation a {
    font-size: 24px;
    font-size: 1.5rem;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-weight: 600;
    letter-spacing: inherit;
    line-height: 1.25em;
    font-size: 18px;
    font-size: 1.125rem;
    padding: 20.25px;
    word-wrap: break-word;
  }
  
  .posts-navigation {
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    overflow: hidden;
    overflow: hidden;
    float: left;
    width: 99%;
  }
  
  .posts-navigation .nav-previous {
    -webkit-border-top-left-radius: 0.5em;
    -moz-border-top-left-radius: 0.5em;
    border-top-left-radius: 0.5em;
    -webkit-border-bottom-left-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    overflow: hidden;
  }
  
  .posts-navigation .nav-next {
    -webkit-border-top-right-radius: 0.5em;
    -moz-border-top-right-radius: 0.5em;
    border-top-right-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    overflow: hidden;
  }
  
  .posts-navigation .nav-previous:first-child:last-child,
  .posts-navigation .nav-next:first-child:last-child {
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
  }
  
  .posts-navigation a {
    font-weight: 600;
    padding: 0.4125em 20.25px 1.65em;
  }
  
  @media screen and (min-width: 37.5em) {
    .site-main .posts-navigation, .site-main
    .post-navigation, .site-main
    .comment-navigation {
      margin: 0 0 1.65em;
      overflow: hidden;
    }
    .site-main .posts-navigation.comment-navigation, .site-main
    .post-navigation.comment-navigation, .site-main
    .comment-navigation.comment-navigation {
      margin-bottom: -1px;
    }
    .posts-navigation .nav-links,
    .post-navigation .nav-links,
    .comment-navigation .nav-links {
      display: flex;
      align-content: stretch;
    }
    .posts-navigation .nav-links a,
    .post-navigation .nav-links a,
    .comment-navigation .nav-links a {
      display: block;
      height: 100%;
    }
    .posts-navigation .nav-previous,
    .post-navigation .nav-previous,
    .comment-navigation .nav-previous {
      flex: 1 1 50%;
      position: relative;
      position: relative;
    }
    .posts-navigation .nav-previous:before,
    .post-navigation .nav-previous:before,
    .comment-navigation .nav-previous:before {
      content: "";
      position: absolute;
      border-right: 1px solid #982525;
      height: 100%;
      top: 0;
      right: 0;
      left: inherit;
      width: 0;
    }
    .posts-navigation .nav-previous:before,
    .post-navigation .nav-previous:before,
    .comment-navigation .nav-previous:before {
      right: -1px;
    }
    .posts-navigation .nav-next,
    .post-navigation .nav-next,
    .comment-navigation .nav-next {
      flex: 1 1 50%;
      position: relative;
      position: relative;
    }
    .posts-navigation .nav-next:before,
    .post-navigation .nav-next:before,
    .comment-navigation .nav-next:before {
      content: "";
      position: absolute;
      border-left: 1px solid #982525;
      height: 100%;
      left: 0;
      top: 0;
      right: inherit;
      width: 0;
    }
    .posts-navigation a .meta-title,
    .post-navigation a .meta-title,
    .comment-navigation a .meta-title {
        font-size: 16px;
      /*font-size: 24px;
      font-size: 1.5rem;*/
    }
  }
  
  /*--------------------------------------------------------------
  # Links
  --------------------------------------------------------------*/
  a {
    color: #982525;
    text-decoration: none;
    -webkit-transition: color 0.125s ease-out;
    -moz-transition: color 0.125s ease-out;
    -o-transition: color 0.125s ease-out;
    transition: color 0.125s ease-out;
  }
  
  a:visited {
    color: #982525;
  }
  
  a:hover, a:focus, a:active {
    color: #26866d; !important;
  }
  
  a:focus {
    outline: thin dotted;
  }
  
  a:hover, a:active {
    outline: 0;
  }
  
  /*--------------------------------------------------------------
  # Layout
  --------------------------------------------------------------*/
  html {
    box-sizing: border-box;
  }
  
  *,
  *:before,
  *:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
  }
  
  body {
    background: #f0eeec;
    /* Fallback for when there is no custom background color defined. */
  }
  
  /* Fade in page after js loads */
  .js body {
    opacity: 0;
  }
  
  /*--------------------------------------------------------------
  ## Content
  --------------------------------------------------------------*/
  .single .site-content,
  .page .site-content,
  .error404 .site-content,
  .search-no-results .site-content {
    padding-top: 0;
  }
  
  .site-main {
    position: relative;
  }
  
  @media screen and (min-width: 50em) {
    .content-area {
      float: right;
      /*margin: 0 -25% 0 0;*/
      margin: 0 0 0 -25%;
      width: 100%;
    }
    .site-main {
      margin: 0 0 0 calc(25% + 27px);
    }
    .no-sidebar .site-main,
    .error404  .site-main,
    .search-no-results .site-main {
      margin: 0 10%;
    }
  }
  
  /*--------------------------------------------------------------
  ## Content Widget Area
  --------------------------------------------------------------*/
  .site-content #secondary .widget {
    position: relative;
    /* Set Color styles for every 3rd element's anchors */
  }
  
  .site-content #secondary .widget:before {
    content: "";
    position: absolute;
    border-top: 1px solid #cfccc7;
    height: 0;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .site-content #secondary .widget:nth-of-type(3n+1) a {
    color: #982525;
  }
  
  .site-content #secondary .widget:nth-of-type(3n+1) a:hover {
    color: #777777;
  }
  
  .site-content #secondary .widget:nth-of-type(3n+2) a {
    color: #26866d;
  }
  
  .site-content #secondary .widget:nth-of-type(3n+2) a:hover {
    color: #777777;
  }
  
  .site-content #secondary .widget:nth-of-type(3n+3) a {
    color: #604d88;
  }
  
  .site-content #secondary .widget:nth-of-type(3n+3) a:hover {
    color: #777777;
  }
  
  @media screen and (min-width: 50em) {
    .site-content #secondary {
      float: right;
      overflow: hidden;
      width: 25%;
    }
    .site-content #secondary .widget:first-child:before {
      display: none;
    }
  }
  
  /*--------------------------------------------------------------
  ## Responsive Layout Styles
  --------------------------------------------------------------*/
  @media screen and (max-width: 37.5em) {
    .header-wrap,
    .main-navigation,
    .site-content,
    .testimonials > *,
    .featured-content > *,
    .footer-widget-area .widget-area,
    .site-footer-wrap {
	  max-width: 100%;
      margin-left: auto;
      margin-right: auto;
      padding: 6.65em 10px;
    }
    .header-wrap {
      padding-left: 20px;
      padding-right: 20px;
    }
    .main-navigation {
      padding: 0 10px;
    }
  }
  
  @media screen and (min-width: 37.5em) {
    .header-wrap,
    .main-navigation,
    .site-content,
    .testimonials > *,
    .featured-content > *,
    .footer-widget-area .widget-area,
    .site-footer-wrap {
	  max-width: 100%;
      margin-left: auto;
      margin-right: auto;
      padding: 6.65em 16.2px;
    }
    .main-navigation {
      padding: 0 16.2px;
    }
  }
  
  @media screen and (min-width: 50em) {
    .header-wrap,
    .main-navigation,
    .site-content,
    .testimonials > *,
    .featured-content > *,
    .footer-widget-area .widget-area,
    .site-footer-wrap {
      max-width: 60em;
      padding: 1.65em 27px;
    }
    .main-navigation {
      padding: 0 27px;
    }
    .footer-widget-area .widget-area {
      padding: 3.3em 27px 1.65em;
    }
  }
  
  @media screen and (min-width: 60em) {
    .header-wrap,
    .main-navigation,
    .site-content,
    .testimonials > *,
    .featured-content > *,
    .footer-widget-area .widget-area,
    .site-footer-wrap {
     max-width: 85em;
    }
  }
  
  /*--------------------------------------------------------------
  # Components
  --------------------------------------------------------------*/
  /*--------------------------------------------------------------
  # Header
  --------------------------------------------------------------*/
  @media screen and (max-width: 50em) {
    .site-header {
      background: transparent !important;
		
    }
  }
  
  #masthead .site-header a {
    color: #999;
  }
  
  #masthead .site-header a:hover, #masthead .site-header a:active {
    color: #982525;
  }
  
  .site-header {
    position: relative;
    z-index: 4;
  }
  
  .header-wrap {
    position: relative;
    z-index: 2;
  }
  
  .site-logo-link {
    display: block;
    line-height: 0;
    width: 100px;
    margin-bottom: 1.65em;
  }
  
  .site-branding {
    /*padding-right: 70px;*/
  }
  
  .site-branding .site-title {
    /* font-family: "Arial Narrow", sans-serif; */
    /* font-family: "Playfair Display SC", "Times New Roman", Times, serif; */
    font-size: 16px;
    /*font-size: 1.5rem;*/
    font-weight: 600;
    letter-spacing: 0;
    /*letter-spacing: 0.175em;*/
    line-height: 1.125em;
    margin: 0 0 0.61875em;
	/*-webkit-text-stroke: 1px #ffffff;
	text-stroke: 1px #ffffff;*/
  }

  .site-branding .site-title a {
	/*-webkit-text-stroke: 1px #ffffff;
	text-stroke: 1px #ffffff;*/
	/*text-shadow: 1px 1px white, 2px 2px white, -1px -1px white, -2px -2px white, -1px 1px white, 1px -1px white, -2px 2px white, 2px -2px white, -3px -3px 4px rgba(0,0,0,.3), -3px 3px 4px rgba(0,0,0,.3), 3px 3px 4px rgba(0,0,0,.3), 3px -3px 4px rgba(0,0,0,.3); */
}
  
  .site-branding .site-description {
    /* font-family: "Arial Narrow", sans-serif; */
    /*font-size: 14.4px;*/
    font-size: 0.9rem;
    line-height: 18px;
    /*margin: 0 0 1.65em;*/
    margin-top: 15px;
    margin-right: 0px;
    margin-bottom: 15px;
    margin-left: 0px;
  }
  
  .site-branding a {
    display: inline-block;
  }
  
  .site-branding a:link, .site-branding a:visited {
    color: #ffffff;
  }
  
  .site-branding a:hover, .site-branding a:active {
    color: #982525;
  }
  
  @media screen and (min-width: 50em) {
    .site-header {
      position: relative;
      z-index: inherit;
    }
    .header-wrap {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .site-logo-link {
      line-height: 0;
      margin-bottom: 0;
      width: 100px;
    }
    .site-branding {
      flex: 3 1 15%;
      padding: 0 27px;
    }
    .site-branding .site-title {
      font-size: 16px;
	  font-weight: 700;
      /*font-size: 1.5rem;*/
      margin: -5px 0 0;
    }
    .site-branding .site-description {
      font-size: 18px;
      /*font-size: 1rem;*/
      margin-bottom: 0;
	  color: #982525;
	  font-weight: bold;
    }
  }
  
  /*--------------------------------------------------------------
  # Header Search
  --------------------------------------------------------------*/
  .search-toggle {
    display: none;
    text-align: right;
  }
  
  .search-box-wrapper {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: none;
    position: relative;
    width: 100%;
  }
  
  .toggled .search-box-wrapper {
    display: block;
  }
  
  .search-box {
    background: #FFF;
    border: 1px solid #999;
    border-color: #982525;
    margin: -2px 0 0;
    overflow: hidden;
    width: calc( 100% );
    -webkit-border-bottom-left-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
  }
  
  .search-box .search-submit {
    background: #999;
    border: 1px solid #999;
    color: #FFF;
    float: left;
    line-height: 1.7;
    margin: -1px;
    width: calc( 25% );
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
  
  .search-box .search-submit:focus {
    background: #982525;
    border: 1px solid #982525;
  }
  
  .search-box .search-field {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background-color: transparent;
    border: none;
    color: #999;
    float: right;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 300;
    padding: 0.825em 13.5px;
    width: calc( 75% - 27px );
  }
  
  @media screen and (min-width: 50em) {
    .search-toggle {
      display: inline-flex;
      height: 2em;
      line-height: 1;
      font-size: 12px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: .075em;
      line-height: 1.65em;
      text-transform: uppercase;
    }
    .search-toggle a {
      color: #999;
      fill: currentColor;
      font-weight: 700;
      padding: 0 15px;
    }
    .search-toggle a:hover, .search-toggle a:active {
      color: #982525;
    }
    .search-toggle a svg {
      width: 1.5em;
      height: 1.5em;
      vertical-align: middle;
    }
    .main-navigation > .search-box-wrapper.toggled-on,
    .main-navigation .search-box-wrapper {
      left: 27px;
      max-width: 75em;
      position: absolute;
      top: 0;
      width: calc(100% - 54px);
      z-index: 1;
    }
    .main-navigation > .search-box-wrapper.toggled-on .search-box,
    .main-navigation .search-box-wrapper .search-box {
      border-width: 0;
      margin: 0;
      opacity: 0;
      overflow: hidden;
      -webkit-border-radius: 0.5em;
      -moz-border-radius: 0.5em;
      border-radius: 0.5em;
      width: 100%;
      z-index: 0;
      -webkit-transition: all 0.125s ease-out;
      -moz-transition: all 0.125s ease-out;
      -o-transition: all 0.125s ease-out;
      transition: all 0.125s ease-out;
    }
    .toggled .main-navigation > .search-box-wrapper.toggled-on, .toggled
    .main-navigation .search-box-wrapper {
      border-width: 0;
      z-index: 0;
    }
    .main-navigation > .search-box-wrapper.toggled-on.show,
    .main-navigation .search-box-wrapper.show {
      z-index: 3;
    }
    .main-navigation > .search-box-wrapper.toggled-on.show .search-box,
    .main-navigation .search-box-wrapper.show .search-box {
      border-width: 1px;
      height: 55px;
      opacity: 1;
      z-index: 2;
    }
    .toggled .main-navigation > .search-box-wrapper.toggled-on.show .search-box, .toggled
    .main-navigation .search-box-wrapper.show .search-box {
      height: 55px;
      opacity: 1;
      z-index: 2;
    }
    .search-box .search-submit {
      width: calc(12.5%);
    }
    .search-box .search-submit:hover {
      border: none;
      line-height: 1.7;
    }
    .search-box .search-field {
      width: calc(87.5% - 27px);
    }
  }
  
  /*--------------------------------------------------------------
  # Header Image
  --------------------------------------------------------------*/
  @media screen and (min-width: 50em) {
    .header-image .site-header {
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 87.5vh;
      margin-bottom: 0;
      display: block;
    }
    .header-image .site-header:before {
      content: "";
      background: white;
      background: -moz-linear-gradient(top, white 0%, rgba(240, 238, 236, 0) 87.5%);
      background: -webkit-gradient(left top, left bottom, color-stop(0%, white), color-stop(50%, rgba(240, 238, 236, 0)));
      background: -webkit-linear-gradient(top, white 0%, rgba(240, 238, 236, 0) 87.5%);
      background: -o-linear-gradient(top, white 0%, rgba(240, 238, 236, 0) 87.5%);
      background: -ms-linear-gradient(top, white 0%, rgba(240, 238, 236, 0) 87.5%);
      background: linear-gradient(to bottom, white 0%, rgba(240, 238, 236, 0) 87.5%);
      display: inherit;
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0eeec', GradientType=0 );
      height: 100%;
      left: 0;
      position: absolute;
      top: 0;
      width: 100%;
      z-index: 1;
	  }
    .single.header-image .site-header,
    .page.header-image .site-header,
    .archive.header-image .site-header,
    .search.header-image .site-header {
      min-height: inherit;
    }
    .single.header-image .site-header:before,
    .page.header-image .site-header:before,
    .archive.header-image .site-header:before,
    .search.header-image .site-header:before {
      content: "";
      background: white;
      background: -moz-linear-gradient(top, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
      background: -webkit-gradient(left top, left bottom, color-stop(0%, white), color-stop(50%, rgba(240, 238, 236, 0.875)));
      background: -webkit-linear-gradient(top, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
      background: -o-linear-gradient(top, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
      background: -ms-linear-gradient(top, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
      background: linear-gradient(to bottom, white 0%, rgba(240, 238, 236, 0.875) 87.5%);
      display: inherit;
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0eeec', GradientType=0 );
      height: 100%;
      left: 0;
      position: absolute;
      top: 0;
      width: 100%;
      z-index: 1;
    }
  }
  
  /*--------------------------------------------------------------
  ## Features
  --------------------------------------------------------------*/
  .featured-content {
    background: #999;
    color: #777777;
    display: block;
    position: relative;
    z-index: 3;
  }
  
  .featured-content p {
    margin: 0;
  }
  
  .featured-content-header-wrap {
    display: table;
    width: 100%;
  }
  
  .featured-content-header {
    width: 100%;
    margin: 0;
    padding: 0 16.2px;
  }
  
  .featured-content-title {
    font-size: 24px;
    font-size: 1.5rem;
    /* font-family: "Playfair Display SC", "Times New Roman", Times, serif; */
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.2375em;
    color: #FFF;
    line-height: 1;
    margin: 0 0 0.825em;
  }
  
  .featured-content-description p {
    margin: 1.65em 0;
  }
  
  .featured-content-inner {
    width: 100%;
  }
  
  .featured-content-inner .hentry {
    margin-bottom: 1.65em;
    padding: 1.65em 20.25px;
    /* Set Color styles for every 3rd element's anchors */
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+1) {
    position: relative;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+1):before {
    content: "";
    position: absolute;
    border-left: 1px solid #982525;
    height: 100%;
    left: 0;
    top: 0;
    right: inherit;
    width: 0;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+1) a {
    color: #982525;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+1) .post-thumbnail {
    background-color: #982525;
    border-color: #982525;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+2) {
    position: relative;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+2):before {
    content: "";
    position: absolute;
    border-left: 1px solid #26866d;
    height: 100%;
    left: 0;
    top: 0;
    right: inherit;
    width: 0;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+2) a {
    color: #26866d;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+2) .post-thumbnail {
    background-color: #26866d;
    border-color: #26866d;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+3) {
    position: relative;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+3):before {
    content: "";
    position: absolute;
    border-left: 1px solid #8b66d6;
    height: 100%;
    left: 0;
    top: 0;
    right: inherit;
    width: 0;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+3) a {
    color: #8b66d6;
  }
  
  .featured-content-inner .hentry:nth-of-type(3n+3) .post-thumbnail {
    background-color: #8b66d6;
    border-color: #8b66d6;
    margin-right: calc(-20.25px - 1px);
  }
  
  .featured-content-inner .hentry a:hover,
  .featured-content-inner .hentry a:focus {
    color: #FFF;
  }
  
  .featured-content-inner .hentry .entry-meta {
    font-size: 12.8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.2375em;
    text-transform: uppercase;
    color: #CCC;
    display: block;
    line-height: 4.95em;
    margin-bottom: 6.6em;
  }
  
  .featured-content-inner .hentry .entry-meta .posted-on {
    line-height: 1.65em;
  }
  
  .featured-content-inner .hentry .entry-meta .posted-on a {
    padding: 0;
  }
  
  .featured-content-inner .hentry .entry-meta .posted-on a:hover, .featured-content-inner .hentry .entry-meta .posted-on a:active {
    color: #FFF;
  }
  
  .featured-content-inner .hentry .entry-meta .posted-on .entry-date {
    width: 120px;
    display: inline-block;
    margin: 0 auto;
    text-align: left;
  }
  
  .featured-content-inner .hentry .entry-meta .posted-on .day {
    display: inline-block;
    font-size: 40px;
    font-size: 2.5rem;
    font-weight: 300;
    width: auto;
    padding-right: 10px;
  }
  
  .featured-content-inner .hentry .entry-meta .posted-on .month-year {
    display: inline-block;
    text-align: left;
    word-wrap: break-word;
    max-width: 86px;
    width: 40%;
  }
  
  .featured-content-inner .hentry .entry-meta .meta-sep {
    display: none;
  }
  
  .featured-content-inner .hentry .entry-meta .comments-link {
    display: none;
  }
  
  .featured-content-inner .hentry.has-post-thumbnail .entry-meta {
    margin-bottom: 1.65em;
  }
  
  .featured-content-inner .hentry .entry-title {
    font-size: 24px;
    font-size: 1.5rem;
    /* font-family: "Playfair Display SC", "Times New Roman", Times, serif; */
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1.2375em;
    margin: inherit;
  }
  
  .featured-content-inner .hentry .entry-title a {
    color: #FFF;
  }
  
  .featured-content-inner .hentry .entry-title a:hover,
  .featured-content-inner .hentry .entry-title a:focus {
    color: #777777;
  }
  
  .featured-content-inner .hentry .post-thumbnail {
    border: 1px solid #982525;
    border-width: 1px 1px 1px 0;
    flex: 0 0 auto;
    margin: 0 -20.25px 1em -20.25px;
  }
  
  .featured-content-inner .hentry .post-thumbnail img {
    opacity: 1;
    -webkit-transition: opacity 0.25s ease-out;
    -moz-transition: opacity 0.25s ease-out;
    -o-transition: opacity 0.25s ease-out;
    transition: opacity 0.25s ease-out;
  }
  
  .featured-content-inner .hentry .post-thumbnail a {
    display: block;
    line-height: 0;
  }
  
  .featured-content-inner .hentry .post-thumbnail:hover img {
    opacity: .67;
  }
  
  .featured-content-inner .hentry .entry-content {
    padding: 0;
  }
  
  @media screen and (min-width: 37.5em) {
    .featured-content-header {
      float: left;
      width: 50%;
    }
    .featured-content-title {
      padding: 0;
      margin: 0;
    }
    .featured-page-highlight {
      float: right;
      margin-bottom: 1.65em;
      padding: 0;
      position: relative;
      width: 50%;
    }
    .featured-page-highlight.offset {
      clear: none;
    }
    .featured-page-highlight.offset .hentry {
      bottom: inherit;
      position: relative;
    }
    .featured-content-inner {
      display: table;
    }
    .featured-content-inner .hentry {
      float: left;
      width: 50%;
    }
    .featured-content-inner .hentry .post-thumbnail {
      border-right-width: 0;
    }
  }
  
  @media screen and (min-width: 50em) {
    .featured-content-inner {
      display: flex;
      align-items: stretch;
    }
    .featured-content-inner .hentry {
      display: flex;
      flex: 1 1 auto;
      flex-direction: column;
      justify-content: center;
      margin-bottom: 1.65em;
      width: 33.333%;
    }
    .featured-content-header {
      width: 40%;
    }
    .featured-page-highlight {
      padding: 0 54px 0 27px;
      clear: both;
    }
    .featured-page-highlight .hentry {
      bottom: 0;
      left: 0;
      margin-bottom: 0;
      position: absolute;
      width: 100%;
    }
    .featured-content-inner .entry-meta {
      font-size: 12px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: .075em;
      line-height: 1.65em;
      text-transform: uppercase;
      display: block;
      flex-grow: 1;
      line-height: 2.8875em;
      margin-bottom: 6.6em;
    }
    .featured-content-inner .hentry.has-post-thumbnail {
      justify-content: flex-start;
      margin-bottom: 0.825em;
    }
    .featured-content-inner .hentry.has-post-thumbnail:nth-of-type(3n+3) .post-thumbnail {
      border-width: 1px 1px 1px 0;
    }
    .featured-content-inner .hentry.has-post-thumbnail .entry-meta {
      flex-grow: 0;
      margin-bottom: 1.65em;
    }
  }


  /*--------------------------------------------------------------
  ## Featured Content Page Highlight
  --------------------------------------------------------------*/
  .featured-page-highlight .hentry {
    background: #FFF;
    border: 1px solid #26866d;
    -webkit-border-bottom-left-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    overflow: hidden;
  }
  
  .featured-page-highlight .hentry a {
    color: #26866d;
  }
  
  .featured-page-highlight .hentry a:hover, .featured-page-highlight .hentry a:focus {
    color: #777777;
  }
  
  .featured-page-highlight .hentry .entry-meta {
    position: relative;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    line-height: 2.475em;
    padding: 0 20.25px;
  }
  
  .featured-page-highlight .hentry .entry-meta:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #FFF;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .featured-page-highlight .hentry .entry-title {
    background: #999;
    padding: 0;
    margin: 0;
  }
  
  .featured-page-highlight .hentry .entry-title a {
    color: #FFF;
    display: block;
    padding: 0.825em 20.25px;
  }
  
  .featured-page-highlight .hentry .entry-title a:hover, .featured-page-highlight .hentry .entry-title a:focus {
    color: #777777;
  }
  
  .featured-page-highlight .hentry .entry-content {
    padding: 1.2375em 20.25px 1.65em;
    color: #434343;
  }
  
  .featured-page-highlight .hentry .entry-content .more-link {
    display: block;
    font-weight: 600;
    margin-top: 1.65em;
  }
  
  @media screen and (min-width: 50em) {
    .featured-page-highlight {
      float: right;
      clear: both;
      margin-bottom: 1.65em;
      padding: 0 54px 0 27px;
      position: relative;
      width: 50%;
    }
    .featured-page-highlight .hentry {
      bottom: 0;
      left: 0;
      margin-bottom: 0;
      position: absolute;
      width: 100%;
    }
    .featured-page-highlight.offset {
      clear: none;
    }
    .featured-page-highlight.offset .hentry {
      bottom: inherit;
      position: relative;
    }
  }
  
  /*--------------------------------------------------------------
  ## Testimonials
  --------------------------------------------------------------*/
  .testimonials {
    color: #777777;
    padding: 1.65em 0;
    background: #e1dfdc;
    width: 100%;
  }
  
  .testimonials .hentry {
    text-align: center;
    opacity: 0;
    width: 100%;
    -webkit-transition: opacity 0.25s ease-out;
    -moz-transition: opacity 0.25s ease-out;
    -o-transition: opacity 0.25s ease-out;
    transition: opacity 0.25s ease-out;
    /* Set Color styles for every 3rd element's anchors & borders */
  }
  
  .testimonials .hentry:nth-of-type(3n+1) a {
    color: #982525;
  }
  
  .testimonials .hentry:nth-of-type(3n+1) .entry-content {
    border-bottom: 1px solid #982525;
  }
  
  .testimonials .hentry:nth-of-type(3n+1) .entry-content:before {
    border-color: #982525 transparent transparent #982525;
  }
  
  .testimonials .hentry:nth-of-type(3n+1) .speech-triangle {
    border-left-color: #982525;
  }
  
  .testimonials .hentry:nth-of-type(3n+2) a {
    color: #26866d;
  }
  
  .testimonials .hentry:nth-of-type(3n+2) .entry-content {
    border-bottom: 1px solid #26866d;
  }
  
  .testimonials .hentry:nth-of-type(3n+2) .entry-content:before {
    border-color: #26866d transparent transparent #26866d;
  }
  
  .testimonials .hentry:nth-of-type(3n+2) .speech-triangle {
    border-left-color: #26866d;
  }
  
  .testimonials .hentry:nth-of-type(3n+3) a {
    color: #604d88;
  }
  
  .testimonials .hentry:nth-of-type(3n+3) .entry-content {
    border-bottom: 1px solid #604d88;
  }
  
  .testimonials .hentry:nth-of-type(3n+3) .entry-content:before {
    border-color: #604d88 transparent transparent #604d88;
  }
  
  .testimonials .hentry:nth-of-type(3n+3) .speech-triangle {
    border-left-color: #604d88;
  }
  
  .testimonials .hentry.flex-active-slide {
    opacity: 1;
  }
  
  .testimonials .entry-meta {
    flex-grow: 1;
    font-size: 12.8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.2375em;
    text-transform: uppercase;
    color: #CCC;
    display: block;
    line-height: 2.8875em;
  }
  
  .testimonials .entry-meta .posted-on {
    line-height: 1.65em;
  }
  
  .testimonials .entry-meta .posted-on a {
    padding: 0;
  }
  
  .testimonials .entry-meta .posted-on .entry-date {
    width: 120px;
    display: inline-block;
    margin: 0 auto;
    text-align: left;
  }
  
  .testimonials .entry-meta .posted-on .day {
    display: inline-block;
    font-size: 40px;
    font-size: 2.5rem;
    font-weight: 300;
    width: auto;
    padding-right: 10px;
  }
  
  .testimonials .entry-meta .posted-on .month-year {
    display: inline-block;
    text-align: left;
    word-wrap: break-word;
    max-width: 86px;
    width: 40%;
  }
  
  .testimonials .entry-meta .comments-link {
    display: none;
  }
  
  .testimonials .entry-header {
    color: #999;
    text-align: center;
    vertical-align: middle;
  }
  
  .testimonials .post-thumbnail {
    display: inline-block;
    height: 50px;
    overflow: hidden;
    vertical-align: middle;
    width: 50px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
  
  .testimonials .hentry .entry-title {
    display: inline-block;
    margin: 1.65em 27px;
    vertical-align: middle;
    font-size: 24px;
    font-size: 1.5rem;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-weight: 600;
    letter-spacing: inherit;
    line-height: 1.25em;
    font-size: 16px;
    font-size: 1rem;
  }
  
  .testimonials .hentry .entry-title a {
    color: #FFF;
  }
  
  .testimonials .hentry .entry-title a:hover,
  .testimonials .hentry .entry-title a:focus {
    color: #777777;
  }
  
  .testimonials .entry-content {
    margin-bottom: 2.475em;
    padding: 1.65em 27px 2.475em;
    position: relative;
    background: #e1dfdc;
    -webkit-box-shadow: 0px 25px 60px -45px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0px 25px 60px -45px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 25px 60px -45px rgba(0, 0, 0, 0.8);
  }
  
  .testimonials .entry-content:before, .testimonials .entry-content:after {
    content: " ";
    position: absolute;
    width: 0;
    height: 0;
    left: calc(40%);
    top: 100%;
    border: 15px solid;
    border-color: #982525 transparent transparent #982525;
  }
  
  .testimonials .entry-content:after {
    left: calc(40% + 1px);
    border: 14px solid;
    border-color: #e1dfdc transparent transparent #e1dfdc;
  }
  
  .testimonials .entry-content p {
    font-size: 28px;
    font-size: 1.75rem;
    font-family: "Playfair Display", "Times New Roman", Times, serif;
    font-weight: 400;
    font-style: italic;
    line-height: 1.2375em;
    font-size: 20px;
    font-size: 1.25rem;
    color: #999;
    margin: 0;
  }
  
  .testimonials .edit-link {
    display: inline-block;
  }
  
  .testimonials-inner {
    margin: 0 auto;
    width: 100%;
  }
  
  .testimonials-header {
    color: #999;
    width: 100%;
  }
  
  .testimonials-header > * {
    width: 33.333%;
  }
  
  .testimonials-title {
    font-size: 20px;
    font-size: 1.25rem;
    /* font-family: "Playfair Display SC", "Times New Roman", Times, serif; */
    letter-spacing: 0.15em;
    line-height: 1.25;
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 1.125;
    margin: 0 auto 0.825em;
    text-align: center;
    vertical-align: middle;
    width: 70%;
  }
  
  .testimonials-content {
    font-size: 14px;
    font-size: 0.875rem;
    text-transform: none;
    font-weight: 300;
    line-height: 1.65em;
    margin: 0 auto 0.825em;
    text-align: center;
    vertical-align: middle;
    width: 70%;
  }
  
  .testimonials-content p {
    margin-bottom: 0;
  }
  
  @media screen and (min-width: 50em) {
    .testimonials {
      padding: 1.65em 0;
    }
    .testimonials .hentry {
      width: 90%;
    }
    .testimonials .hentry .entry-title {
      font-size: 24px;
      font-size: 1.5rem;
    }
    .testimonials .entry-meta {
      font-size: 12px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: .075em;
      line-height: 1.65em;
      text-transform: uppercase;
      display: block;
      line-height: 2.8875em;
    }
    .testimonials .post-thumbnail {
      height: 80px;
      width: 80px;
    }
    .testimonials .entry-content {
      padding: 1.2375em 2.475em 2.475em;
    }
    .testimonials .entry-content p {
      font-size: 28px;
      font-size: 1.75rem;
    }
    .testimonials-inner {
      margin: 0 auto;
      width: 90%;
    }
    .testimonials-title {
      font-size: 30px;
      font-size: 1.875rem;
      line-height: 1.25;
      margin: 0 auto 0.4125em;
    }
  }
  
  @media screen and (min-width: 60em) {
    .testimonials-inner {
      margin: 0 auto;
      width: 80%;
    }
  }
  
  /**
   * Single Testimonials
   */
  .single .jetpack-testimonial {
    background: #FFF;
    border: 1px solid #982525;
    overflow: hidden;
    margin-bottom: -1px;
  }
  
  .single .jetpack-testimonial .post-thumbnail a {
    display: block;
    line-height: 0;
  }
  
  .single .jetpack-testimonial .entry-header .entry-title {
    /*background: #eee;*/
    color: #FFF;
    color: #982525;
    margin: 0;
    padding: 15px;
    background: #982525;
	background: #336699; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */ 
  }
  
  .single .jetpack-testimonial .entry-content,
  .single .jetpack-testimonial .entry-footer {
    padding: 15px;
  }
  
  @media screen and (min-width: 37.5em) {
    .single .jetpack-testimonial .entry-header .entry-title {
      padding: 27px;
    }
    .single .jetpack-testimonial .entry-content,
    .single .jetpack-testimonial .entry-footer {
      padding: 27px;
    }
  }
  
  /*--------------------------------------------------------------
  ## Archives & Search
  --------------------------------------------------------------*/
  .hfeed .page-title {
    font-size: 24px;
    font-size: 1.5rem;
    margin-top: 0;
  }
  
  .hfeed .taxonomy-description {
    word-break: break-word;
  }
  
  @media screen and (max-width: 50em) {
    .hfeed .site-content {
      position: relative;
    }
    .hfeed .site-content:before {
      content: "";
      position: absolute;
      border-top: 1px solid #cfccc7;
      height: 0;
      top: 0;
      left: 0;
      width: 100%;
    }
    .hfeed .page-title,
    .hfeed .taxonomy-description {
      padding-left: 10px;
      padding-right: 10px;
    }
  }
  
  /*--------------------------------------------------------------
  ## Posts
  --------------------------------------------------------------*/
  .sticky {
    display: block;
  }
  
  .hentry {
    margin: 0;
  }
  
  .hentry form > label,
  .hentry form > p > label {
    float: left;
    margin-bottom: 0.825em;
    width: 100%;
  }
  
  .byline,
  .updated:not(.published) {
    display: none;
  }
  
  .single .byline,
  .group-blog .byline {
    display: inline;
  }
  
  .site-content .search-form .search-field,
  .footer-widget-area .search-form .search-field {
      margin-bottom: 0.825em;
      width: calc( 100% - 6px );
  }
  
  .page-content,
  .entry-content,
  .entry-summary {
    margin: 0;
  }
  
  .single .hentry {
    margin-bottom: -1px;
    background: #FFF;
    border: 1px solid #982525;
    overflow: hidden;
  }
  
  .single .hentry .entry-header {
    position: relative;
    background: #999;
    background: #982525;
	/*color: #C3DFED;*/
	background: #336699; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */ 

  }
  
  .single .hentry .entry-header:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .single .hentry .entry-header:before {
    z-index: 1;
  }
  
  .single .hentry .entry-title {
    font-size: 20px;
    font-size: 1.25rem;
    /* font-family: "Playfair Display SC", "Times New Roman", Times, serif; */
    letter-spacing: 0.15em;
    line-height: 1.25;
    color: #FFF;
    margin: 0;
    order: 1;
    flex-basis: 100%;
  }
  
  .single .hentry .entry-title a {
    color: #FFF;
    display: block;
    padding: 16.2px 16.2px 20.25px;
  }
  
  .single .hentry .entry-title a:hover {
    color: #982525;
    background: #999;
  }
  
  .single .hentry .entry-title span {
    color: #FFF;
    display: block;
    padding: 16.2px 16.2px 20.25px;
  }
  
  .single .hentry .entry-meta {
    background: #999;
    position: relative;
    /*color: #434343;*/
    color: #fff;
    display: flex;
    flex-basis: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-around;
    margin-right: -1px;
    order: 2;

    background: #336699; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */ 
  }
  
  .single .hentry .entry-meta:before {
    content: "";
    position: absolute;
    border-top: 1px solid #982525;
    height: 0;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .single .hentry .entry-meta > a {
    font-size: 12.8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.2375em;
    text-transform: uppercase;
    text-align: center;
    width: 50%;
  }
  
  .single .hentry .entry-meta > a:hover {
    color: #FFF;
  }
  
  .single .hentry .entry-meta:before {
    left: inherit;
    right: 0;
  }
  
  .single .hentry .posted-on {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 4em;
  }
  
  .single .hentry .posted-on .entry-date {
    width: 120px;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
  }
  
  .single .hentry .posted-on .day {
    display: inline-block;
    font-size: 32px;
    font-size: 2rem;
    font-weight: 300;
    width: auto;
    padding-right: 10px;
  }
  
  .single .hentry .posted-on .month-year {
    display: inline-block;
    text-align: left;
    word-wrap: break-word;
    max-width: 86px;
    width: 35%;
    vertical-align: text-bottom;
  }
  
  .single .hentry .posted-on:before {
    right: -1px;
  }
  
  .single .hentry .meta-sep {
    align-self: center;
    background: #982525;
    height: 100%;
    flex: 0 0 1px;
    line-height: 0;
    margin: 0;
    padding: 10% 0;
    width: 1px;
  }
  
  .single .hentry .comments-link {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 1em;
  }
  
  .single .hentry .post-thumbnail {
    background: #999;
    text-align: center;
    position: relative;
  }
  
  .single .hentry .post-thumbnail:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .single .hentry .post-thumbnail a {
    display: block;
    line-height: 0;
    overflow: hidden;
  }
  
  .single .hentry .entry-content {
    font-weight: 300;
    padding: 15px;
  }
  
  .single .hentry .entry-content,
  .single .hentry .entry-footer {
    margin: 0;
    width: 100%;
  }
  
  .single .hentry .cat-links {
    font-size: 12.8px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1.65em;
    padding: 0 15px;
  }
  
  .single .hentry .cat-links ul {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    list-style: none;
    display: table;
    width: 100%;
    margin: 0;
    padding: 0;
    font-weight: 600;
  }
  
  .single .hentry .cat-links li {
    display: block;
    float: left;
    margin: 0 5px 5px 0;
  }
  
  .single .hentry .cat-links a {
    color: #FFF;
    display: block;
    padding: 0.4125em 0.825em;
    word-break: break-word;
  }
  
  .single .hentry .cat-links li:nth-of-type(3n+1) a {
    background: #26866d;
  }
  
  .single .hentry .cat-links li:nth-of-type(3n+2) a {
    background: #982525;
  }
  
  .single .hentry .cat-links li:nth-of-type(3n+3) a {
    background: #982525;
  }
  
  .single .hentry .cat-links .post-categories li:hover a {
    background-color: #999;
  }
  
  .single .hentry .byline,
  .single .hentry .tags-links,
  .single .hentry .entry-author {
    font-size: 12.8px;
    font-size: 0.8rem;
    margin-bottom: 1.65em;
    display: block;
    padding: 0 15px;
  }
  
  .single .hentry .byline a,
  .single .hentry .tags-links a,
  .single .hentry .entry-author a {
    color: #999;
    font-weight: 600;
    word-break: break-word;
  }
  
  .single .hentry .byline a:hover,
  .single .hentry .tags-links a:hover,
  .single .hentry .entry-author a:hover {
    color: #777777;
  }
  
  .single .hentry .entry-author {
    line-height: 1.5em;
  }
  
  .single .hentry .entry-author .author-avatar {
    float: left;
    margin-right: 10px;
  }
  
  .single .hentry .entry-author .author-heading {
    display: flex;
  }
  
  .single .hentry .entry-author h2 {
    font-size: 12.8px;
    font-size: 0.8rem;
    color: #999;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-weight: 600;
    letter-spacing: normal;
    margin: 0;
  }
  
  .single .hentry .entry-author .author-bio {
    line-height: 1.5em;
  }
  
  .single .hentry .byline .avatar {
    margin-right: 5px;
  }
  
  .single .hentry .byline img,
  .single .hentry .byline a {
    display: inline-block;
    vertical-align: middle;
  }
  
  .single .hentry .edit-link {
    margin-bottom: 1.65em;
    padding: 0 20.25px;
  }
  
  #content .edit-link {
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    text-transform: none;
    font-weight: 300;
    line-height: 1.65em;
  }
  
  @media screen and (min-width: 37.5em) {
    .single .hentry .entry-header {
      align-content: center;
      align-items: stretch;
      background: #999;
      display: flex;
      flex-direction: row;

      background: #336699; /* for non-css3 browsers */
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
      background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
      background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */ 
    }
    .single .hentry .entry-title {
        font-size: 22px;
      /*font-size: 30px;
      font-size: 1.875rem;*/
      order: 2;
      flex-basis: 75%;
    }
    .single .hentry .entry-title a {
      padding: 27px 27px 33.75px;
    }
    .single .hentry .entry-title span {
      padding: 27px 27px 33.75px;
    }
    .single .hentry .entry-title:before {
      position: relative;
      left: 1px;
    }
    .single .hentry .entry-title:before:before {
      content: "";
      position: absolute;
      border-left: 1px solid #982525;
      height: 100%;
      left: 0;
      top: 0;
      right: inherit;
      width: 0;
    }
    .single .hentry .entry-meta {
      position: relative;
      display: flex;
      flex-basis: 25%;
      flex-direction: column;
      align-items: stretch;
      justify-content: space-around;
      margin-right: -1px;
      order: 1;
    }
    .single .hentry .entry-meta:before {
      content: "";
      position: absolute;
      border-right: 1px solid #982525;
      height: 100%;
      top: 0;
      right: 0;
      left: inherit;
      width: 0;
    }
    .single .hentry .entry-meta > a {
      font-size: 12px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: .075em;
      line-height: 1.65em;
      text-transform: uppercase;
      width: auto;
    }
    .single .hentry .entry-meta > a:first-child:nth-last-child(1) {
      height: 100%;
    }
    .single .hentry .entry-meta > a:first-child:nth-last-child(3) {
      height: 70%;
    }
    .single .hentry .entry-meta > a:first-child:nth-last-child(3) ~ a {
      height: 30%;
    }
    .single .hentry .entry-meta:before {
      right: -1px;
      left: inherit;
      border-top: none;
    }
    .single .hentry .posted-on {
      min-height: 7em;
    }
    .single .hentry .posted-on .day {
      font-size: 40px;
      font-size: 2.5rem;
    }
    .single .hentry .posted-on:before {
      border-right: none;
    }
    .single .hentry .meta-sep {
      height: 1px;
      margin: 0;
      padding: 0;
      width: 100%;
    }
    .single .hentry .comments-link {
      min-height: 5em;
    }
      /*
    .single .hentry .entry-content {
      float: right;
      clear: left;
      margin: 0 0 0 25%;
      padding: 27px;
      width: 75%;
    }
    .single .hentry .entry-footer {
      float: left;
      margin: 0 -25% 0 0;
      width: 25%;
    }
      */
    .single .hentry .entry-footer > span,
    .single .hentry .entry-footer > div {
      display: block;
      margin: 1.65em 0;
    }
    .single .hentry .entry-footer > span.cat-links,
    .single .hentry .entry-footer > div.cat-links {
      margin-top: 0;
    }
    .single .hentry .cat-links {
      padding: 0;
      text-align: center;
    }
    .single .hentry .cat-links .category-title {
      display: none;
    }
    .single .hentry .cat-links ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: inherit;
      width: inherit;
    }
    .single .hentry .cat-links li {
      display: inherit;
      float: none;
      margin: 0;
    }
    .single .hentry .cat-links a {
      color: #FFF;
      display: block;
      padding: 1.65em 20.25px;
    }
    .single .hentry .byline,
    .single .hentry .tags-links {
      font-size: 14px;
      font-size: 0.875rem;
      text-transform: none;
      font-weight: 300;
      line-height: 1.65em;
      padding: 0 20.25px;
    }
    .single .hentry .entry-author {
      font-size: 12.8px;
      font-size: 0.8rem;
      padding: 0 0 0 20.25px;
    }
    .single .hentry .entry-author h2 {
      font-size: 14px;
      font-size: 0.875rem;
    }
  }
  
  /*--------------------------------------------------------------
  ## Comments
  --------------------------------------------------------------*/
  .comments-area {
    margin-bottom: 3.3em;
    width: 100%;
  }
  
  .comments-area ol {
    list-style: none;
  }
  
  .comments-area > ol > li {
    min-width: 100%;
    /* Set Color styles for every 3rd element's anchors */
  }
  
  .comments-area > ol > li:nth-of-type(3n+1) a {
    color: #982525;
  }
  
  .comments-area > ol > li:nth-of-type(3n+1) .comment-respond,
  .comments-area > ol > li:nth-of-type(3n+1) .comment-body .avatar {
    border-color: #982525;
  }
  
  .comments-area > ol > li:nth-of-type(3n+2) a {
    color: #26866d;
  }
  
  .comments-area > ol > li:nth-of-type(3n+2) .comment-respond,
  .comments-area > ol > li:nth-of-type(3n+2) .comment-body .avatar {
    border-color: #26866d;
  }
  
  .comments-area > ol > li:nth-of-type(3n+3) a {
    color: #604d88;
  }
  
  .comments-area > ol > li:nth-of-type(3n+3) .comment-respond,
  .comments-area > ol > li:nth-of-type(3n+3) .comment-body .avatar {
    border-color: #604d88;
  }
  
  .comments-area > ol > li a:hover,
  .comments-area > ol > li a:focus {
    color: #434343;
  }
  
  .comments-area > ol .children {
    margin-left: 10px;
    padding-left: 0;
  }
  
  #respond {
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-bottom-left-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    overflow: hidden;
    padding: 0;
    width: 100%;
  }
  
  #respond .comment-reply-title {
    padding: 1.32em 27px;
    margin: 0;
    background: #999;
    color: #FFF;

    background: #336699; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */ 
  }
  
  #respond .comment-subscription-form {
    margin-bottom: 0;
  }
  
  .comment #respond {
    float: none;
    margin-top: -3px;
    margin: 0 27px 1.65em !important;
    position: relative;
    width: auto;
    z-index: 2;
  }
  
  .page #respond form,
  .single #respond form {
    padding: 1.65em 27px;
  }
  
  #respond .form-submit input,
  #respond .form-submit input#comment-submit,
  #respond .comment-form-fields input[type=submit],
  #respond p.form-submit input[type=submit],
  #respond input[type=submit],
  #respond #commentform #comment-submit {
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
  }
  
  #respond .form-submit {
    margin-bottom: 0;
  }
  
  .comment-reply-title a {
    color: #982525;
  }
  
  .comment-reply-title a:hover, .comment-reply-title a:active {
    color: #777777;
  }
  
  .comment-reply-title small {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    float: right;
    letter-spacing: normal;
    text-align: right;
  }
  
  .comment-reply-title small a {
    color: #FFF;
  }
  
  .comments-title {
    font-size: 20px;
    font-size: 1.25rem;
    background: #999;
    border: 1px solid #982525;
    color: #FFF;
    margin: 0 0 -1px;
    padding: 1.32em 27px;
    width: 100%;
    position: relative;
    z-index: 1;

    background: #336699; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */ 
  }
  
  .comment-list {
    background: #FFF;
    border: 1px solid #982525;
    border-width: 0 1px 1px;
    margin: 0 0 -1px;
    padding: 0;
    width: 100%;
  }
  
  .comment-body {
    border: 1px solid #f0eeec;
    border-width: 1px 0;
    margin: -1px 0 0;
    position: relative;
    padding: 0.825em 13.5px;
  }
  
  .comment-body .avatar {
    border: 1px solid #f0eeec;
    height: 50px;
    overflow: hidden;
    position: absolute;
    right: 13.5px;
    top: 0.825em;
    width: 50px;
  }
  
  .comment-body .comment-content {
    font-size: 14.4px;
    font-size: 0.9rem;
  }
  
  .comment-list > li:last-of-type .comment-body,
  .children > li:last-of-type .comment-body {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .comment-body .reply {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    float: right;
    margin-top: -1.65em;
  }
  
  .comment-body .comment-likes {
    height: inherit;
    margin-left: inherit;
  }
  
  .comment-meta {
    padding-bottom: 1.2375em;
  }
  
  .comment-meta .comment-metadata {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    margin-right: 70px;
  }
  
  .comments-area ol li .comment-meta .comment-metadata a {
    color: #434343;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: none;
  }
  
  .comments-area ol li .comment-meta .comment-metadata a:hover {
    color: #777777;
  }
  
  #content .comment-meta .edit-link {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    letter-spacing: normal;
    display: inline-block;
    margin-bottom: 0;
  }
  
  .comment-author .fn {
    font-size: 24px;
    font-size: 1.5rem;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-weight: 600;
    letter-spacing: inherit;
    line-height: 1.25em;
    font-size: 20px;
    font-size: 1.25rem;
    display: block;
    line-height: 1.5em;
    margin-right: 70px;
  }
  
  .says {
    display: none;
  }
  
  .comment-content a {
    word-wrap: break-word;
  }
  
  .bypostauthor {
    display: block;
  }
  
  .no-comments {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    clear: both;
    float: none;
    width: 100%;
    text-align: center;
    padding: 1.32em 27px;
  }
  
  @media screen and (min-width: 50em) {
    .comments-area {
      margin: 0 auto;
      width: 95%;
    }
    .comments-area > ol .children {
      margin-left: 54px;
    }
    .comment-author .fn,
    .comment-meta .comment-metadata {
      margin-right: 0;
    }
    .comment-body {
      padding: 1.65em 54px;
    }
    .comment-body .avatar {
      left: 54px;
      right: inherit;
      top: 1.65em;
    }
    .comment-body .comment-content {
      margin-right: 81px;
      font-size: 16px;
      font-size: 1rem;
    }
    .comment-body .comment-meta {
      padding-left: 71.99982px;
    }
    #content .comment-body .edit-link {
      display: inline-block;
    }
    .highlander-enabled #respond form {
      margin-bottom: 1.65em;
    }
  }
  
  /*--------------------------------------------------------------
  ## Cards
  --------------------------------------------------------------*/

  /*.card {
    float: left;
    height: 23.1em;
    margin: 0 27px 1.65em 0;
    position: relative;
    width: 100%;
  }
  
  .card:focus {
    outline: none;
  }
  
  .card .entry-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 1;
    height: 23.1em;
    position: relative;
    z-index: 2;
    -webkit-transition: opacity 0.25s ease-out;
    -moz-transition: opacity 0.25s ease-out;
    -o-transition: opacity 0.25s ease-out;
    transition: opacity 0.25s ease-out;
  }
  
  .card .entry-header .entry-meta {
    position: relative;
    flex: 0 1 auto;
  }
  
  .card .entry-header .entry-meta:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .card .entry-header .entry-meta a {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    display: block;
    padding: 0.66em 17.82px;
  }
  
  .card .entry-content {
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    overflow: hidden;
    opacity: 0;
    background: #982525;
    color: #FFF;
    height: 16.5em;
    font-weight: 300;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    word-break: break-word;
    z-index: 1;
    -webkit-transition: opacity 0.25s ease-out;
    -moz-transition: opacity 0.25s ease-out;
    -o-transition: opacity 0.25s ease-out;
    transition: opacity 0.25s ease-out;
  }
  
  .card .entry-content a {
    color: #FFF;
  }
  
  .card a:focus {
      text-decoration: underline;
  }
  
  .card .entry-content > a span {
    font-size: 14px;
    font-size: 0.875rem;
    display: block;
    height: calc( 100% - 35.64px);
    padding: 17.82px;
  }*/

  /* SokovRA */
  /*.ads .entry-content > span a {
    font-size: 14px;
    font-size: 0.875rem;
	font-weight: normal;
    display: block;
    height: calc( 100% - 35.64px);
    padding: 17.82px;
  }


  .card .entry-content .edit-link {
    right: 0;
    bottom: 0;
    position: absolute;
  }
  
  .card .entry-content .edit-link a {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    display: block;
    line-height: 2.8875em;
    padding: 0 17.82px;
  }
  
  .card .entry-content .entry-meta {
    position: relative;
  }
  
  .card .entry-content .entry-meta:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #FFF;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .card .entry-content .entry-meta a {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    display: block;
    padding: 0.66em 17.82px;
  }
  
  .card:hover .entry-header,
  .card:focus .entry-header {
    opacity: 0;
    z-index: 1;
  }
  
  .card:hover .entry-content,
  .card:focus .entry-content {
    opacity: 1;
    z-index: 2;
  }*/
  
  .card .entry-title {
    font-size: 18px;
    /*font-size: 1.5rem;*/
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-weight: 600;
    letter-spacing: inherit;
    line-height: 1.25em;
    flex: 1 0 auto;
    margin: 0;
  }
  
  /*.card .entry-title a {
    display: block;
    height: 100%;
    padding: 13.5px;
  }
  
  .card.sticky .posted-on a {
    visibility: hidden;
  }
  
  .card.has-post-thumbnail .entry-title a {
    padding-bottom: 0;
  }
  
  .card .post-thumbnail {
    background-size: cover;
    background-position: center center;
    bottom: 0;
    display: block;
    flex: 1 1 100%;
    position: relative;
  }
  
  .card .post-thumbnail:before {
    content: "";
    background: white;
    background: -moz-linear-gradient(top, white 5%, rgba(255, 255, 255, 0) 90%);
    background: -webkit-gradient(left top, left bottom, color-stop(5%, white), color-stop(90%, white));
    background: -webkit-linear-gradient(top, white 5%, rgba(255, 255, 255, 0) 90%);
    background: -o-linear-gradient(top, white 5%, rgba(255, 255, 255, 0) 90%);
    background: -ms-linear-gradient(top, white 5%, rgba(255, 255, 255, 0) 90%);
    background: linear-gradient(to bottom, white 5%, rgba(255, 255, 255, 0) 90%);
    display: inherit;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
  }
  
  .card .star {
    color: #982525;
    display: inline-block;
    fill: currentColor;
    position: absolute;
    right: 12px;
    top: 9px;
    z-index: 3;
  }
  
  .card:nth-of-type(3n+1) .entry-header {
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    overflow: hidden;
  }
  
  .card:nth-of-type(3n+1) .entry-header a {
    color: #982525;
  }
  
  .card:nth-of-type(3n+1) .entry-header .entry-meta:before {
    border-color: #982525;
  }
  
  .card:nth-of-type(3n+1) .entry-content {
    background: #982525;
    border-color: #982525;
  }
  
  .card:nth-of-type(3n+1) .star {
    color: #982525;
  }
  
  .card:nth-of-type(3n+2) .entry-header {
    background: #FFF;
    border: 1px solid #26866d;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    overflow: hidden;
  }
  
  .card:nth-of-type(3n+2) .entry-header a {
    color: #26866d;
  }
  
  .card:nth-of-type(3n+2) .entry-header .entry-meta:before {
    border-color: #26866d;
  }
  
  .card:nth-of-type(3n+2) .entry-content {
    background: #26866d;
    border-color: #26866d;
  }
  
  .card:nth-of-type(3n+2) .star {
    color: #26866d;
  }
  
  .card:nth-of-type(3n+3) .entry-header {
    background: #FFF;
    border: 1px solid #604d88;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    overflow: hidden;
  }
  
  .card:nth-of-type(3n+3) .entry-header a {
    color: #604d88;
  }
  
  .card:nth-of-type(3n+3) .entry-header .entry-meta:before {
    border-color: #604d88;
  }
  
  .card:nth-of-type(3n+3) .entry-content {
    background: #604d88;
    border-color: #604d88;
  }
  
  .card:nth-of-type(3n+3) .star {
    color: #604d88;
  }
  
  .card:nth-of-type(3n+1):hover .star,
  .card:nth-of-type(3n+2):hover .star,
  .card:nth-of-type(3n+3):hover .star {
    color: #FFF;
  }*/


  /* SokovRA .card */
  
  /*.ads .entry-content {
	  opacity: 1;
  }

  .ads .entry-content {
    background: light-gray;
    border-color: gray;
  }

  .ads .entry-content a {
	  color: #000000;
  }

  .ads:nth-of-type(3n+1) .entry-content {
    background: white;
    border-color: #982525;
  }


  .ads:nth-of-type(3n+2) .entry-content {
    background: white;
    border-color: #26866d;
  }


  .ads:nth-of-type(3n+3) .entry-content {
    background: white;
    border-color: #604d88;
  }

  
  @media screen and (min-width: 37.5em) {
    .card {
      height: 19.8em;
      width: calc(50% - 18.09px);
    }
    .card:nth-of-type(2n) {
      margin-right: 0;
    }
    .card .entry-header,
    .card .entry-content {
      height: 19.8em;
    }
  }
  
  @media screen and (min-width: 60em) {
    .card {
      width: calc(33% - 18.09px);
    }
    .card:nth-of-type(2n) {
      margin-right: 27px;
    }
    .card:nth-of-type(3n) {
      margin-right: 0;
    }
  }*/
  
  /*--------------------------------------------------------------
  ## Pages
  --------------------------------------------------------------*/
  .page-links {
    clear: both;
    margin: 0 0 1.65em;
  }
  
  .page .page,
  .single .hentry:not(.post),
  .error404 .not-found,
  .search-no-results .not-found {
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-bottom-left-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    overflow: hidden;
    margin-bottom: 1.65em;
    padding-bottom: 0;
  }
  

  .entry-header a,
  .entry-header a:visited {
      color: #fff;
  }

  .search-results .entry-header a,
  .search-results .entry-header a:visited {
      color: #982525 !important;
  }

	.search-results .card {
		margin-bottom: 15px;
	}

  .page .page .entry-header,
  .single .hentry:not(.post) .entry-header,
  .error404 .not-found .page-header,
  .search-no-results .not-found .page-header {
    background: #999;
    color: #FFF;
    margin-bottom: 0;
    width: 100%;

    background: #982525;
	/*color: #C3DFED;*/
	background: #336699; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #982525,  #982525); /* for firefox 3.6+ */ 
  }
  
  .page .page .entry-header > *,
  .single .hentry:not(.post) .entry-header > *,
  .error404 .not-found .page-header > *,
  .search-no-results .not-found .page-header > * {
    margin: 0;
    padding: 20.25px;
  }
  
  .page .page .entry-title,
  .single .hentry:not(.post) .entry-title,
  .error404 .not-found .page-title,
  .search-no-results .not-found .page-title {
    line-height: 1;
    margin: 0;
  }
  
  .page .page .entry-content,
  .single .hentry:not(.post) .entry-content,
  .error404 .not-found .page-content,
  .search-no-results .not-found .page-content {
    padding: 15px;
  }
  
  .page .page .edit-link,
  .single .hentry:not(.post) .edit-link {
    margin-bottom: 1.65em;
    padding: 0 20.25px;
  }
  
  .entry-breadcrumbs {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    position: relative;
    background: #999;
    color: #FFF;
    font-weight: bold;
    margin: 0;
    padding: 13.5px 20.25px;
  }
  
  .entry-breadcrumbs:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .entry-breadcrumbs a {
    font-weight: bold;
    margin-right: 27px;
    position: relative;
  }
  
  .entry-breadcrumbs a:focus, .entry-breadcrumbs a:hover {
    color: #777777;
    text-decoration: none;
  }
  
  .entry-breadcrumbs a:after {
    position: absolute;
    border: 0.4em solid transparent;
    content: "";
    right: -1.125em;
    top: 50%;
    margin-top: -0.4em;
    border-right-width: 0;
    border-left-color: #777777;
  }
  
  @media screen and (min-width: 37.5em) {
    .page .page,
    .single .hentry:not(.post) {
      position: relative;
    }
    .page .page:before,
    .single .hentry:not(.post):before {
      content: "";
      position: absolute;
      border-bottom: 1px solid #cfccc7;
      bottom: 0;
      height: 0;
      left: 0;
      width: 100%;
    }
    .page .page .entry-content,
    .single .hentry:not(.post) .entry-content {
      padding: 15px 30px;
    }
  }
  
  /*--------------------------------------------------------------
  ## Footer Widget Area
  --------------------------------------------------------------*/
  .footer-widget-area {
    color: #CCCCCC;
    background: #999;
    clear: both;
  }
  
  .footer-widget-area .widget-area {
    overflow: hidden;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+1) a {
    color: #FFF;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+2) {
    position: relative;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+2):before {
    content: "";
    position: absolute;
    border-top: 1px solid #982525;
    height: 0;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+2) a {
    color: #FFF;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+3) {
    position: relative;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+3):before {
    content: "";
    position: absolute;
    border-top: 1px solid #26866d;
    height: 0;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+3) a {
    color: #FFF;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+4) {
    position: relative;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+4):before {
    content: "";
    position: absolute;
    border-top: 1px solid #604d88;
    height: 0;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .footer-widget-area .widget:nth-of-type(4n+4) a {
    color: #FFF;
  }
  
  .footer-widget-area .widget a {
    color: #FFF;
  }
  
  .footer-widget-area .widget a:hover {
    color: #777777;
  }
  
  @media screen and (min-width: 60em) {
    .footer-widget-area .widget-area {
      align-items: stretch;
      align-content: space-between;
      display: flex;
      flex-wrap: wrap;
      overflow: hidden;
    }
    .footer-widget-area .widget {
      border-top: none;
      display: flex;
      flex: 1 1 auto;
      flex-direction: column;
      justify-content: flex-start;
      margin-bottom: 1.65em;
      margin-right: 27px;
      padding: 0.825em 27px 1.65em 0;
      position: relative;
      width: 20%;
    }
    .footer-widget-area .widget:nth-of-type(4n+2):before, .footer-widget-area .widget:nth-of-type(4n+3):before, .footer-widget-area .widget:nth-of-type(4n+4):before {
      border: 1px solid transparent;
      border-width: 0 0 0 1px;
      bottom: inherit;
      left: -27px;
      right: inherit;
      top: 0;
      height: 100%;
      width: 0;
    }
    .footer-widget-area .widget:nth-of-type(4n+2):before {
      border-color: #982525;
    }
    .footer-widget-area .widget:nth-of-type(4n+3):before {
      border-color: #26866d;
    }
    .footer-widget-area .widget:nth-of-type(4n+4):before {
      border-color: #604d88;
    }
  }
  
  /*--------------------------------------------------------------
  ## Footer
  --------------------------------------------------------------*/
  .site-footer {
    color: #777777;
    /*background: #2A2A2A;*/
    background: #982525;
	color: #C3DFED;
	background: #336699; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */ 
    clear: both;
  }
  
  .site-footer a {
    color: #FFF;
  }
  
  .site-footer a:visited {
    color: #FFF;
  }
  
  .site-footer a:hover {
    color: #777777;
  }
  
  .site-footer-wrap {
    display: table;
    width: 100%;
  }
  
  .site-info {
    font-size: 14px;
    font-size: 0.875rem;
    text-transform: none;
    font-weight: 300;
    line-height: 1.65em;
  }
  
  .footer-navigation,
  .site-footer .jetpack-social-navigation,
  .site-info {
    clear: both;
    float: none;
    width: 100%;
    padding: 0 16.2px;
  }
  
  .footer-navigation a {
    padding-bottom: 0.825em;
  }
  
  #wpstats {
    display: none;
  }
  
  @media screen and (min-width: 37.5em) {
    .site-info,
    .site-footer .footer-navigation {
      clear: left;
      /*float: left;
      width: 75%;*/
      padding: 0;
    }
    .site-info {
      /*padding-bottom: 1.65em;*/
    }
    .footer-navigation a {
      padding-bottom: 0.825em;
    }
    .site-footer .jetpack-social-navigation {
      clear: right;
      float: right;
      padding: 0;
      width: 25%;
    }
    .site-footer .jetpack-social-navigation ul {
      margin-bottom: 0;
      text-align: right;
    }
  }
  
  /*--------------------------------------------------------------
  # Widgets
  --------------------------------------------------------------*/
  .widget {
    margin: 0 0 1.65em;
    padding: 1.65em 8.1px 0.825em;
    /* Make sure select elements fit in widgets. */
  }
  
  .widget h2 {
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0 0 0.825em;
  }
  
  .widget p {
    word-break: break-word;
  }
  
  .widget:not(.widget_text) > ul,
  .widget:not(.widget_text) > div > ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .widget ol,
  .widget > ol,
  .widget > div > ol {
    list-style-position: inside;
    padding: 0;
    margin: 0;
  }
  
  .widget li {
    line-height: 1.25em;
    padding: 0.375em 0;
  }
  
  .widget li > a {
    font-weight: 600;
    line-height: 1.25em;
  }
  
  .widget li > a .count {
    font-weight: 300;
  }
  
  .widget ul ul {
    list-style: circle;
    margin-left: 27px;
    padding-top: 0.375em;
    padding-left: 0;
  }
  
  .widget ul ul li:last-child {
    padding-bottom: 0;
  }
  
  .widget select {
    max-width: 100%;
  }
  
  .widget_nav_menu li {
    padding: 0.5em 0;
  }
  
  .widget_nav_menu a {
    display: block;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    line-height: 2.8875em;
  }
  
  .widget_search {
    padding-top: 1.65em;
  }
  
  .widget_search label {
    display: block;
    margin-bottom: 0.825em;
  }
  
  .widget_calendar .calendar_wrap {
    text-align: left;
  }
  
  .widget_calendar .calendar_wrap caption {
    font-size: 20px;
    font-size: 1.25rem;
    /* font-family: "Playfair Display SC", "Times New Roman", Times, serif; */
    letter-spacing: 0.15em;
    line-height: 1.25;
    margin-bottom: 1.65em;
    text-align: left;
  }
  
  .widget_calendar .next {
    text-align: right;
  }
  
  .widget_calendar table a {
    font-weight: 600;
  }
  
  .widget_contact_info .contact-map,
  .widget_contact_info .confit-address,
  .widget_contact_info .confit-phone {
    margin-bottom: 0.825em;
  }
  
  .widget_contact_info .confit-address a {
    font-weight: 600;
  }
  
  .widget_image .wp-caption .wp-caption-text {
    margin: 0;
    text-align: left;
  }
  
  .widget_rss .widget-title > * {
    display: inline-block;
    vertical-align: middle;
  }
  
  .widget_rss > ul > li {
    position: relative;
    padding: 1.089em 0;
  }
  
  .widget_rss > ul > li:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #cfccc7;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .widget_rss > ul > li > * {
    display: block;
  }
  
  .widget_rss > ul > li:before {
    left: -10px;
    width: calc(100% + 20px);
  }
  
  .widget_rss > ul > li:last-child {
    padding-bottom: 0;
  }
  
  .widget_rss > ul > li:last-child:before {
    display: none;
  }
  
  .widget_rss .rss-date {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: 0.825em;
  }
  
  .widget_rss .rssSummary {
    font-size: 14px;
    font-size: 0.875rem;
    margin-bottom: 0.825em;
  }
  
  .widget_rss cite {
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 600;
  }
  
  .widget_rss_links p {
    margin-bottom: 0;
  }
  
  .footer-widget-area .widget_contact_info .widget-title {
    color: #FFF;
  }
  
  .widget_contact_info .contact-map-container {
    margin-bottom: 1em;
  }
  
  .widget_authors > ul > li > a {
    display: block;
    margin-bottom: 0.825em;
  }
  
  .widget_authors > ul > li > a > * {
    display: inline-block;
    vertical-align: middle;
  }
  
  .widget_authors .avatar {
    height: 32px;
    width: 32px;
    margin-right: 10px;
  }
  
  .site-content #secondary .widget_tag_cloud div,
  .site-content #secondary .wp_widget_tag_cloud div {
    display: table;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .site-content #secondary .widget_tag_cloud div a[style],
  .site-content #secondary .wp_widget_tag_cloud div a[style] {
    color: #FFF;
    display: block;
    float: left;
    font-weight: 600;
    font-size: 12px !important;
    font-size: 0.75rem !important;
    letter-spacing: .075em;
    line-height: 1.65em;
    margin: 0 5px 5px 0 !important;
    padding: 0.4125em 0.825em !important;
    text-transform: uppercase;
    word-break: break-word;
  }
  
  .site-content #secondary .widget_tag_cloud div a[style]:hover,
  .site-content #secondary .wp_widget_tag_cloud div a[style]:hover {
    color: #FFF;
  }
  
  .site-content #secondary .widget_tag_cloud div a:nth-of-type(3n+1),
  .site-content #secondary .wp_widget_tag_cloud div a:nth-of-type(3n+1) {
    background: #26866d;
    color: #FFF;
  }
  
  .site-content #secondary .widget_tag_cloud div a:nth-of-type(3n+2),
  .site-content #secondary .wp_widget_tag_cloud div a:nth-of-type(3n+2) {
    background: #604d88;
    color: #FFF;
  }
  
  .site-content #secondary .widget_tag_cloud div a:nth-of-type(3n+3),
  .site-content #secondary .wp_widget_tag_cloud div a:nth-of-type(3n+3) {
    background: #982525;
    color: #FFF;
  }
  
  .site-content #secondary .widget_tag_cloud div a:hover,
  .site-content #secondary .wp_widget_tag_cloud div a:hover {
    background-color: #999 !important;
  }
  
  .site-content #secondary .widget_categories ul {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    list-style: none;
    display: table;
    width: 100%;
    margin: 0;
    padding: 0;
    font-weight: 600;
  }
  
  .site-content #secondary .widget_categories li {
    display: block;
    float: left;
    margin: 0 5px 5px 0;
    padding: 0;
  }
  
  .site-content #secondary .widget_categories a {
    color: #FFF;
    display: block;
    padding: 0.4125em 0.825em;
    word-break: break-word;
  }
  
  .site-content #secondary .widget_categories a:hover {
    color: #FFF !important;
  }
  
  .site-content #secondary .widget_categories li:nth-of-type(3n+1) a {
    background: #26866d;
    color: #FFF;
  }
  
  .site-content #secondary .widget_categories li:nth-of-type(3n+2) a {
    background: #604d88;
    color: #FFF;
  }
  
  .site-content #secondary .widget_categories li:nth-of-type(3n+3) a {
    background: #982525;
    color: #FFF;
  }
  
  .site-content #secondary .widget_categories li:hover a {
    color: #FFF;
    background-color: #999 !important;
  }
  
  .widget_author_grid ul {
    display: block;
    width: 100%;
  }
  
  .widget_author_grid ul li {
    display: inline-block;
    height: 30%;
    width: 30%;
    margin: 0 1.5%;
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts h4 {
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    letter-spacing: normal;
    margin: 0.825em 0;
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts a {
    display: inline-block;
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts a img {
    display: block;
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p {
    position: relative;
    padding: 0 0 1.089em;
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #cfccc7;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p > * {
    display: block;
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p:before {
    left: -10px;
    width: calc(100% + 20px);
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p:last-child {
    padding-bottom: 0;
  }
  
  .widget_jetpack_display_posts_widget .jetpack-display-remote-posts p:last-child:before {
    display: none;
  }
  
  .widget_goodreads {
    padding-left: 0;
    padding-right: 0;
  }
  
  .widget_goodreads > div > div > div {
    position: relative;
    margin: 0 0 1.65em;
    padding: 0 16.2px 1.65em;
  }
  
  .widget_goodreads > div > div > div:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #cfccc7;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .widget_goodreads > div > div > div:last-of-type {
    margin-bottom: 0;
  }
  
  .widget_goodreads > div > div > div div[class^="gr_custom_book_container"] {
    float: left;
    margin-right: 27px;
  }
  
  .widget_goodreads > div > div > div div[class^="gr_custom_title"] a {
    font-weight: 600;
    line-height: 1;
  }
  
  .widget_goodreads > div > div > div div[class^="gr_custom_author"] {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
  }
  
  .time_machine_widget h3 {
    line-height: 1.125em;
  }
  
  .time_machine_widget .time-machine-navigation a {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    font-weight: 600;
  }
  
  .time_machine_widget .time-machine-newer {
    float: right;
  }
  
  @media screen and (min-width: 50em) {
    .widget {
      padding: 1.65em 13.5px 0.825em;
    }
    .widget h2 {
      margin: 0 0 0.825em;
    }
    .widget_search {
      padding-top: 1.65em;
    }
    .widget_goodreads > div > div > div {
      margin: 0 -13.5px 1.65em;
    }
    .site-content #secondary .widget_categories ul {
      display: inherit;
      list-style: none;
      margin: 0;
      padding: 0;
      text-align: center;
      width: inherit;
    }
    .site-content #secondary .widget_categories li {
      display: inherit;
      float: none;
      margin: 0 -13.5px;
      padding: 0;
    }
    .site-content #secondary .widget_categories a {
      color: #FFF;
      display: block;
      padding: 1.65em 20.25px;
    }
    .site-content #secondary .widget_tag_cloud div,
    .site-content #secondary .wp_widget_tag_cloud div {
      margin: 0 -13.5px;
    }
    .widget_rss > ul > li:before {
      left: -15px;
      width: calc(100% + 30px);
    }
  }
  
  /*--------------------------------------------------------------
  # Media
  --------------------------------------------------------------*/
  img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
  }
  
  .page-content .wp-smiley,
  .entry-content .wp-smiley,
  .comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
  }
  
  /* Make sure embeds and iframes fit their containers. */
  embed,
  iframe,
  object {
    max-width: 100%;
  }
  
  .wp-caption {
    margin: 0 0 1.65em;
    max-width: 100%;
  }
  
  .wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  .wp-caption .wp-caption-text {
    font-size: 14px;
    font-size: 0.875rem;
    text-transform: none;
    font-weight: 300;
    line-height: 1.65em;
    font-weight: 400;
    margin: 0.8075em 0;
  }
  
  .wp-caption.alignleft {
    margin-right: 27px;
  }
  
  .wp-caption.alignright {
    margin-left: 27px;
  }
  
  .wp-caption-text {
    text-align: center;
  }
  
  /*--------------------------------------------------------------
  ## Galleries
  --------------------------------------------------------------*/
  .gallery {
    margin: 0 -13.5px;
  }
  
  .gallery-item {
    display: inline-block;
    margin: 0 13.5px 27px;
    text-align: center;
    vertical-align: top;
    width: 100%;
  }
  
  .gallery-columns-2 .gallery-item {
    max-width: calc( 50% - 27px);
  }
  
  .gallery-columns-3 .gallery-item {
    max-width: calc( 33.33% - 27px);
  }
  
  .gallery-columns-4 .gallery-item {
    max-width: calc( 25% - 27px);
  }
  
  .gallery-columns-5 .gallery-item {
    max-width: calc( 20% - 27px);
  }
  
  .gallery-columns-6 .gallery-item {
    max-width: calc( 16.66% - 27px);
  }
  
  .gallery-columns-7 .gallery-item {
    max-width: calc( 14.28% - 27px);
  }
  
  .gallery-columns-8 .gallery-item {
    max-width: calc( 12.5% - 27px);
  }
  
  .gallery-columns-9 .gallery-item {
    max-width: calc( 11.11% - 27px);
  }
  
  .gallery-icon a {
    display: block;
    line-height: 0;
  }
  
  .gallery-caption {
    font-size: 13.2px;
    font-size: 0.825rem;
    display: block;
    line-height: 1.5;
    padding: 0 6.75px;
    margin: 9px 0;
  }
  
  /*--------------------------------------------------------------
  # JetPack Styles
  --------------------------------------------------------------*/
  /*--------------------------------------------------------------
  # Infinite Scroll
  --------------------------------------------------------------*/
  /* Globally hidden elements when Infinite Scroll is supported and in use. */
  .infinite-scroll .posts-navigation,
  .infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
  }
  
  /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
  .infinity-end.neverending .site-footer {
    display: block;
  }
  
  /* Infinite Scroll load more posts button */
  .infinite-scroll .site-main {
    position: relative;
    margin-bottom: 1.65em;
    /* Infinite Scroll load more button */
    /* Infinite Scroll loading icon */
  }
  
  .infinite-scroll .site-main #infinite-handle {
    clear: both;
    display: block;
    float: none;
    text-align: center;
  }
  
  .infinite-scroll .site-main #infinite-handle > span {
    display: inline-block;
    background: transparent;
    border-radius: 0;
    padding: 0;
  }
  
  .infinite-scroll .site-main #infinite-handle > span button {
    font-size: 16px;
    font-size: 1rem;
    -webkit-border-radius: 0.333em;
    -moz-border-radius: 0.333em;
    border-radius: 0.333em;
    border: 1px solid #26866d;
    background: #fff;
    color: #26866d;
    font-weight: 600;
    line-height: 1;
    outline: none;
    padding: 0.825em 13.5px;
    -webkit-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    -moz-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    -o-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
  }
  
  .infinite-scroll .site-main #infinite-handle > span button:hover {
    background: #999;
    border: 1px solid #999;
    color: #FFF;
    font-weight: 600;
    line-height: 1;
    outline: none;
  }
  
  .infinite-scroll .site-main #infinite-handle > span button:hover, .infinite-scroll .site-main #infinite-handle > span button:focus {
    font-size: 16px;
    font-size: 1rem;
    -webkit-border-radius: 0.333em;
    -moz-border-radius: 0.333em;
    border-radius: 0.333em;
    border-width: 1px;
    display: inline-block;
    position: relative;
    padding: 0.825em 13.5px;
    margin: inherit;
  }
  
  .infinite-scroll .site-main .infinite-loader {
    clear: both;
    display: block;
    position: relative;
    height: 44px;
    float: none;
    width: 100%;
  }
  


  .infinite-scroll .site-main .infinite-loader .spinner {
    margin: 0 auto;
    left: inherit !important;
  }
  
  /*--------------------------------------------------------------
  ## Social Menu
  --------------------------------------------------------------*/
  body .jetpack-social-navigation a {
    padding: 5px;
  }
  
  body .jetpack-social-navigation .icon {
    height: 1.5em;
    width: 1.5em;
  }
  
  body .jetpack-social-navigation li {
    line-height: inherit;
  }
  
  .header-wrap .jetpack-social-navigation a {
    color: #999;
  }
  
  .header-wrap .jetpack-social-navigation a:hover, .header-wrap .jetpack-social-navigation a:active {
    color: #982525;
  }
  
  .header-wrap .jetpack-social-navigation ul {
    margin-bottom: 0;
  }
  
  /*--------------------------------------------------------------
  ## JetPack Post Flair
  --------------------------------------------------------------*/
  .hentry > .sharedaddy:not(#jp-post-flair) {
    border: 1px solid #982525;
    border-width: 1px 0 0;
    clear: both;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    padding-top: 0;
  }
  
  .hentry > .sharedaddy:not(#jp-post-flair) .sd-block {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .hentry > .sharedaddy:not(#jp-post-flair) .sd-title {
    position: relative;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    color: #982525;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    line-height: 2.475em;
    padding: 0 20.25px;
    margin: 0;
    display: block;
  }
  
  .hentry > .sharedaddy:not(#jp-post-flair) .sd-title:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  .hentry > .sharedaddy:not(#jp-post-flair) .sd-title:before {
    border-top: none;
    margin: 0 !important;
    min-width: inherit;
  }
  
  .hentry > .sharedaddy:not(#jp-post-flair) .sd-content {
    padding: 0 20.25px;
    margin: 20.25px 0 !important;
    position: relative;
  }
  
  #jp-post-flair {
    border-top: 1px;
    clear: both;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    padding-top: 0;
  }
  
  #jp-post-flair > * {
    border: 1px solid #982525;
    border-width: 1px 0 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: -1px 0 0;
    overflow: hidden;
    width: 100%;
  }
  
  #jp-post-flair > * .sd-block {
    width: 100%;
  }
  
  #jp-post-flair h3.sd-title,
  #jp-post-flair div.sharedaddy h3.sd-title,
  #jp-post-flair .jp-relatedposts .jp-relatedposts-headline em {
    position: relative;
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.65em;
    text-transform: uppercase;
    color: #982525;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    line-height: 2.475em;
    padding: 0 20.25px;
    margin: 0;
    display: block;
  }
  
  #jp-post-flair h3.sd-title:before,
  #jp-post-flair div.sharedaddy h3.sd-title:before,
  #jp-post-flair .jp-relatedposts .jp-relatedposts-headline em:before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #982525;
    bottom: 0;
    height: 0;
    left: 0;
    width: 100%;
  }
  
  #jp-post-flair h3.sd-title:before,
  #jp-post-flair div.sharedaddy h3.sd-title:before,
  #jp-post-flair .jp-relatedposts .jp-relatedposts-headline em:before {
    border-top: none;
    margin: 0 !important;
    bottom: -1px;
    min-width: inherit;
  }
  
  #jp-post-flair .sd-content,
  #jp-post-flair .pd-rating,
  #jp-post-flair div#jp-relatedposts div.jp-relatedposts-items-visual,
  #jp-post-flair .sd-like .post-likes-widget {
    padding: 0 20.25px;
    margin: 20.25px 0 !important;
    position: relative;
    width: 100%;
  }
  
  #jp-post-flair > .sd-rating .rating-msg {
    clear: both !important;
    float: none !important;
    font-size: 14px;
    font-size: 0.875rem;
    text-transform: none;
    font-weight: 300;
    line-height: 1.65em;
    padding-left: 0 !important;
  }
  
  #jp-post-flair div#jp-relatedposts {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    flex-basis: 100%;
    flex-grow: 3;
    margin: -1px 0 0;
    padding: initial;
  }
  
  #jp-post-flair div#jp-relatedposts h3 {
    width: 100%;
    display: block;
  }
  
  #jp-post-flair div#jp-relatedposts h3.jp-relatedposts-headline {
    margin: 0;
    float: none;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
  }
  
  #jp-post-flair div#jp-relatedposts div.jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
    font-size: 24px;
    font-size: 1.5rem;
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-weight: 600;
    letter-spacing: inherit;
    line-height: 1.25em;
    font-size: 16px;
    font-size: 1rem;
  }
  
  #jp-post-flair div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post .jp-relatedposts-post-a {
    display: block;
    font-weight: 600;
    margin-bottom: 13.5px;
  }
  
  #jp-post-flair div.jetpack-likes-widget-wrapper {
    width: initial;
  }
  
  #jp-post-flair .likes-widget-placeholder {
    min-height: 90px;
  }
  
  @media screen and (min-width: 50em) {
    #jp-post-flair {
      display: flex;
      justify-content: flex-start;
      align-items: stretch;
      flex-direction: row;
      flex-wrap: wrap;
      width: 100%;
    }
    #jp-post-flair > * {
      border-width: 1px 0 0;
      flex: 1 0 33.333%;
    }
    #jp-post-flair > .sd-rating {
      border-width: 1px 0 0 0;
      clear: none !important;
      float: left;
      flex-basis: 20%;
      margin: -1px 0;
    }
    #jp-post-flair > .sd-sharing-enabled {
      border-width: 1px 0 0 0;
      margin: -1px 0;
    }
    #jp-post-flair > div.jetpack-likes-widget-wrapper {
      border-width: 1px 0 0 0;
      margin: -1px 0;
    }
    #jp-post-flair div#jp-relatedposts {
      clear: both;
    }
  }
  
  /*--------------------------------------------------------------
  ## Highlander Comments
  --------------------------------------------------------------*/
  .highlander-dark #respond p label {
    color: inherit;
  }
  
  .highlander-enabled .comments-area > ol .comment[style] {
    background: transparent !important;
  }
  
  .highlander-enabled #respond {
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    background: #FFF;
    border: 1px solid #982525;
    -webkit-border-bottom-left-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    overflow: hidden;
    padding: 0;
    width: 100%;
  }
  
  .highlander-enabled #respond .comment-reply-title {
    padding: 1.32em 27px;
    margin: 0;
    background: #999;
    color: #FFF;
  }
  
  .highlander-enabled #respond .comment-subscription-form {
    margin-bottom: 0;
  }
  
  .comment .highlander-enabled #respond {
    float: none;
    margin-top: -3px;
    margin: 0 27px 1.65em !important;
    position: relative;
    width: auto;
    z-index: 2;
  }
  
  .highlander-enabled #respond .form-submit input,
  .highlander-enabled #respond .form-submit input#comment-submit,
  .highlander-enabled #respond .comment-form-fields input[type=submit],
  .highlander-enabled #respond p.form-submit input[type=submit],
  .highlander-enabled #respond input[type=submit],
  .highlander-enabled #respond #commentform #comment-submit {
    /* font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif; */
  }
  
  .highlander-enabled #main #respond .form-submit input,
  .highlander-enabled #main #respond .form-submit input#comment-submit,
  .highlander-enabled #main #respond .comment-form-fields input[type=submit],
  .highlander-enabled #main #respond p.form-submit input[type=submit],
  .highlander-enabled #main #respond input[type=submit], #commentform #submit {
    padding: 0.825em 13.5px !important;
  }
  
  .highlander-enabled #main #respond form {
    padding: 0;
    clear: both;
    margin-bottom: 1.65em;
  }
  
  .highlander-enabled #main #respond #comment-form-comment,
  .highlander-enabled #main #comment-form-share-text-padder {
    -moz-box-shadow: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
    background: #FFF;
    border: none;
    padding: 0 !important;
  }
  
  .highlander-enabled #main #respond #comment-form-identity {
    border: 1px solid #f0eeec;
    border-width: 1px 0;
  }
  
  .highlander-enabled #main #respond #comment-form-comment textarea,
  .highlander-enabled #main #comment-form-share-text-padder textarea {
    color: #434343;
    padding: 1.65em 27px !important;
    text-shadow: inherit;
  }
  
  .highlander-enabled #main #respond .comment-form-service {
    background: #FFF;
    border-bottom: none;
    text-shadow: inherit;
    padding: 1.65em 27px;
  }
  
  .highlander-enabled #main #respond .comment-form-padder {
    padding: 0;
  }
  
  .highlander-enabled #main #respond .comment-form-fields p.comment-form-posting-as,
  .highlander-enabled #main #respond .comment-form-fields p.comment-form-log-out {
    color: #434343;
  }
  
  .highlander-enabled #main #respond .comment-form-service a {
    color: #982525;
  }
  
  .highlander-enabled #main #respond #comment-form-subscribe,
  .highlander-enabled #main #respond .form-submit {
    padding: 1.65em 27px;
    margin: 0;
  }
  
  /*--------------------------------------------------------------
  # Plugin Styles
  --------------------------------------------------------------*/
  /*
   * jQuery FlexSlider v2.6.1
   * http://www.woothemes.com/flexslider/
   *
   * Copyright 2012 WooThemes
   * Free to use under the GPLv2 and later license.
   * http://www.gnu.org/licenses/gpl-2.0.html
   *
   * Contributing author: Tyler Smith (@mbmufffin)
   *
   */
  /* ====================================================================================================================
   * RESETS
   * ====================================================================================================================*/
  .flex-container a:hover,
  .flex-slider a:hover {
    outline: none;
  }
  
  .slides,
  .slides > div,
  .flex-control-nav,
  .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .flex-pauseplay span {
    text-transform: capitalize;
  }
  
  /* ====================================================================================================================
   * BASE STYLES
   * ====================================================================================================================*/
  .flexslider {
    margin: 0;
    padding: 0;
  }
  
  .flexslider .slides > div {
    display: none;
    -webkit-backface-visibility: hidden;
  }
  
  .flexslider .slides img {
    width: 100%;
    display: block;
  }
  
  .flexslider .slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }
  
  html[xmlns] .flexslider .slides {
    display: block;
  }
  
  * html .flexslider .slides {
    height: 1%;
  }
  
  .no-js .flexslider .slides > div:first-child {
    display: block;
  }
  
  /* ====================================================================================================================
   * DEFAULT THEME
   * ====================================================================================================================*/
  .flexslider {
    margin: 0 0 1.65em;
    background: transparent;
    border: none;
    position: relative;
    zoom: 1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: "" 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: "" 0 1px 4px rgba(0, 0, 0, 0.2);
    -o-box-shadow: "" 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: "" 0 1px 4px rgba(0, 0, 0, 0.2);
  }
  
  .flexslider .slides {
    zoom: 1;
  }
  
  .flexslider .slides img {
    height: auto;
    -moz-user-select: none;
  }
  
  .flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
  }
  
  .loading .flex-viewport {
    max-height: 300px;
  }
  
  .carousel li {
    margin-right: 5px;
  }
  
  .flex-direction-nav {
    *height: 0;
  }
  
  .flex-direction-nav a {
    font-size: 16px;
    font-size: 1rem;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #982525;
    background: #fff;
    color: #982525;
    font-weight: 600;
    line-height: 1;
    outline: none;
    padding: 0.825em 13.5px;
    -webkit-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    -moz-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    -o-transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    transition: color 0.125s ease-out, background 0.125s ease-out, border-color 0.125s ease-out;
    padding: 0;
    text-decoration: none;
    text-align: center;
    display: block;
    fill: currentColor;
    width: 40px;
    height: 40px;
    margin: 0;
    position: absolute;
    top: -3.3em;
    z-index: 3;
    overflow: hidden;
    cursor: pointer;
    -ms-transform: rotate(90deg);
    /* IE 9 */
    -webkit-transform: rotate(90deg);
    /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  
  .flex-direction-nav a:hover {
    background: #999;
    border: 1px solid #999;
    color: #FFF;
    font-weight: 600;
    line-height: 1;
    outline: none;
  }
  
  .flex-direction-nav a svg {
    fill: currentColor;
    height: 20px;
    position: absolute;
    left: 9px;
    top: 9px;
    width: 20px;
  }
  
  .flex-direction-nav a:hover,
  .flex-direction-nav a:active {
    color: #FFF;
  }
  
  .flex-direction-nav a.flex-next {
    -ms-transform: rotate(-90deg);
    /* IE 9 */
    -webkit-transform: rotate(-90deg);
    /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
  }
  
  .flex-direction-nav .flex-prev {
    left: 10px;
  }
  
  .flex-direction-nav .flex-next {
    right: 10px;
  }
  
  .flex-direction-nav .flex-disabled {
    opacity: 0 !important;
    filter: alpha(opacity=0);
    cursor: default;
    z-index: -1;
  }
  
  .flex-pauseplay a {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    left: 10px;
    opacity: 0.8;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    color: #999;
  }
  
  .flex-pauseplay a:before {
    font-size: 20px;
    display: inline-block;
    content: '\f004';
  }
  
  .flex-pauseplay a:hover {
    opacity: 1;
  }
  
  .flex-pauseplay a.flex-play:before {
    content: '\f003';
  }
  
  .flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
  }
  
  .flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
  }
  
  .flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
  }
  
  .flex-control-paging li a:hover {
    background: #333;
    background: rgba(0, 0, 0, 0.7);
  }
  
  .flex-control-paging li a.flex-active {
    background: #999;
    background: rgba(0, 0, 0, 0.9);
    cursor: default;
  }
  
  .flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
  }
  
  .flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
  }
  
  .flex-control-thumbs img {
    width: 100%;
    height: auto;
    display: block;
    opacity: .7;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
  }
  
  .flex-control-thumbs img:hover {
    opacity: 1;
  }
  
  .flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
  }

  /* ====================================================================================================================
   * Infografika
   * ====================================================================================================================*/















  
  /* ====================================================================================================================
   * RESPONSIVE
   * ====================================================================================================================*/
  @media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
      opacity: 1;
      left: 10px;
    }
    .flex-direction-nav .flex-next {
      opacity: 1;
      right: 10px;
    }
  }







  /****** SOKOVRA  *******/


@media screen and (min-width: 50em) {
  .header-image .site-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 200px;
    margin-bottom: 0;
    display: block;
  }
}

#site-title a {
    /*color: #009900;*/
}

  .main-navigation > div > ul > li,
  .main-navigation.toggled-on > div > ul > li {
    margin: -1px -1px 0;
    width: auto; /*calc(20% + 2px);*/
  }

.main-navigation .menu-item-has-children a, .main-navigation .page_item_has_children a {
    padding: /*20px 35px 26px 20px;*/ 20px 15px;
}

.site-main-wide {
    /* margin: 0 calc(25% + 27px) 0 0; */
	margin: auto;
}


ul.childlinks {
	margin-top: 5px;
}

div.copyright {
	text-align: center;
}

/* My */

.entry-content {
  overflow: auto;	
}

/* TOP SCROLL */

.topscroll {
    position: absolute;
    width: 100%;
    height: 20px;
    overflow-x: scroll;
}
.fake {
    height: 1px;
}


/******* GaraevII *******/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;800&display=swap');

body {
	font-family: 'Montserrat', sans-serif !important;
}

.site-content {
	border-radius: 50px;
	background-color: white;
}
.news-table {
	color: #fff;
	font-size: 20px;
}

.news-header {
	background-image: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699));
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	border: 1px solid #000;
	display: block;
}

.news-header a {
	color: #fff;
}

/* ==========================================================================
   FOOTER */
/* ========================================================================== */
.container-footer {
    /*background: #181818;*/
	font-size: 14px;
    color: #ffffff;
    padding: 10px 20px 30px;
    line-height: 25px;
	background: #982525;
    background: #336699; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6699CC', endColorstr='#336699'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #6699CC,  #336699); /* for firefox 3.6+ */
    clear: both;
	text-align: center;
}

@media (min-width: 768px) {
    .container-footer {
        padding: 70px 0;
        line-height: 30px;
    }
}

.container-footer a {
    color: #C3DFED;
}

.container-footer a:hover {
    color: #fff;
}

.footer-menu-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .footer-menu-content ul ul {
        display: block;
    }
}

.footer-menu-content ul ul li {
    line-height: 20px;
}

.footer-menu-content h4,
.footer-menu-content .h4 {
    margin-bottom: 20px;
}

/* ==========================================================================
   HEADER */
/* ========================================================================== */
.container-top-header {
    background: -webkit-gradient(linear, left top, left bottom, from(#336699), to(#336699));
    color: #ffffff;
    position: inherit; /* Make it stick/fixed */
    top: 0; /* Stay on top */
    width: 100%; /* Full width */
    transition: top 0.3s; /* Transition effect when sliding down (and up) */
    z-index: 3000;
	line-height: 20px;
}

.container-top-header a,
.container-top-header .open-menu,
.container-top-header .calendar {
    display: inline-block;
    padding: 15px 5px;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .container-top-header, .mobile-nav-wrapper {
        position: fixed;
        z-index: 300;
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .container-top-header a,
    .container-top-header .open-menu,
	.container-top-header .calendar	{
        padding: 15px !important;
    }
}

.container-top-header a:hover,
.container-top-header .open-menu:hover {
    text-decoration: none;
    /*background: #106196 !important;*/
}

.container-top-header .open-menu {
    float: right;
    width: 50px;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.header-info-block {
    line-height: 30px;
    color: #1c1c1c;
}

@media (max-width: 768px) {
    .header-info-block {
        margin: 10px 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-info-block {
        margin: 20px 0;
        width: 50%;
        float: left;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .header-info-block {
        margin: 30px 0;
        font-size: 14px;
    }
}

@media (min-width: 1280px) {
    .header-info-block {
        margin: 40px 0;
    }
}

@media (min-width: 992px) {
    .header-info-block {
        width: 40%;
        float: left;
    }

    .header-info-block:first-child {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .header-info-block .icon {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* ==========================================================================
	   SEARCH */
/* ========================================================================== */
.search-button {
    float: right;
    /*font: normal 16px/30px "PT Sans", PTsans, Arial, sans-serif;*/
    padding: 15px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .search-button {
        padding: 15px 5px 15px 5px;
    }
}

.search-button:hover {
    background: #106196;
}

.search-button:hover .icon-search {
    background-position: -20px -40px;
}

.container-search {
    overflow: hidden;
    color: #ffffff;
    position: absolute;
    width: 0;
    top: 0;
    height: 50px;
    left: 100%;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.container-search.opened {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 10;
}

.container-search .content {
    margin: 0 auto !important;
}

.search-form-block {
    height: 50px;
    overflow: hidden;
}

.search-form-block .icon-search-white {
    opacity: .5;
    float: left;
    margin: 15px 20px 15px 5px;
}

.search-input {
    background: #ffffff;
    /*color: #ffffff;*/
    font-size: 20px;
    height: 30px;
    margin: 10px 0;
    border: 0;
    padding: 0;
    outline: none;
    display: block;
    width: 100%;
}

.search-input::-ms-clear {
    display: none;
}

.search-close-button {
    float: right;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.search-close-button .icon {
    margin: 15px;
}

.search-close-button:hover .icon {
    opacity: 1;
}

.search-suggestions {
    display: none;
    padding: 40px 20px;
    font-size: 20px;
}

.search-suggestions mark {
    /*background: #157fc4;*/
    color: #ffffff;
}

.search-suggestions .search-result-item {
    padding: 10px;
    display: block;
    color: #ffffff;
    text-decoration: none;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.search-suggestions .search-result-item:hover {
    background: #378295;
}

.search-suggestions .search-count {
    opacity: .5;
    padding-left: 10px;
}

.search-suggestions .btn {
    margin-left: 10px;
}

/* ==========================================================================
   TOPNAVI */
/* ========================================================================== */
.container-top-navigation {
    position: relative;
    background: #ffffff;
	line-height: 20px;
}

.container-top-head-navigation {
	margin-top: 4px;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
}

.container-top-navigation > .content {
    position: static;
}

.container-top-navigation > .content > .col {
    position: static;
}

.top-nav-block ul {
    margin: 0;
    padding: 0;
    display: inline-table;
    list-style: none;
}

.top-nav-block ul li {
    display: inline;
}

.top-nav-block {
    text-align: center;
    width: 100%;
}

.top-nav-block .parent {
    float: left;
    text-align: left;
}

.top-nav-block li a {
    text-decoration: none;
    display: block;
    padding: 10px;
    -webkit-transition-delay: .0s;
    transition-delay: .0s;
}

@media (min-width: 992px) {
    .top-nav-block li a {
        font-size: 18px;
        padding: 10px 15px;
    }
}

@media (min-width: 1280px) {
    .top-nav-block li a {
        font-size: 20px;
        padding: 10px 20px;
    }
}

.top-nav-block .parent .parent a:after {
    content: none;
}

.second-level {
    display: none;
    position: absolute;
    z-index: 200;
    
	
}

.second-level .content {
    margin: 0 auto !important;
}

.second-level ul li a {
  padding: 2.5px 20px 2.5px 20px;
  display: block;
  font: normal 18px/30px "PT Sans", PTsans, Arial, sans-serif;
    padding: 0 5px;
    background: #fff;
    border-radius: 9px;
    margin: 0 7.5px;
	
	
  
}

@media (min-width: 768px) and (max-width: 1501px) {
    .second-level ul li a {
        width: auto;
        max-width: 350px;
    }
}

@media (min-width: 1502px) {
    .second-level ul li a {
        width: 350px;
    }
}

.second-level ul {
    padding: 1px;
    display: block;
}

.second-level li {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.top-nav-block li.parent:hover > a {
    /*background: #157fc4;*/color: #ffffff;
    color: white;
    -webkit-transition-delay: 199ms;
    transition-delay: 199ms;
}

.second-level ul li:hover > a {
    background: white;
    /*color: #157fc4;*/
}

.mobile-nav .second-level ul li:hover > a {
    background: transparent;
    color: white;
}

.third-level {
    display: none;
}

.top {
    margin-left: 0 !important;
}

.mobile-nav ul li.top {
    margin-left: auto !important;
}

.top1 {
    color: #1f497d !important;
}

.top1 a {
    color: #1f497d;
    font-weight: 700;
}

.right .top a  {
    font-weight: 700;
}

.right .top .second-level ul li a {
	font-weight: normal;
}

.mobile-nav .second-level li a {
    padding: 10px 15px;
}

.mobile-nav ul.fl-r {
    float: none !important;
}

.mobile-nav ul li.top1 {
    float: none !important;
    margin-left: auto !important;
}

.mobile-nav ul li.top1 a {
    font-weight: 400;
}

.mobile-nav ul li.top1 a.btn-anniversary {
    display: none;
}

.mobile-nav ul li.top1 a.btn-rector-election {
    display: none;
}

.cn-modal {
    margin: 0 auto;
    background: #ffffff;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .4);
}

.cn-modal .content {
    color: #1c1c1c;
}

.cn-modal-close,
.cn-modal-close.mfp-close {
    color: #1c1c1c;
    cursor: pointer;
    margin: 0;
    line-height: 50px;
    padding: 0;
    width: 50px;
    height: 50px;
    display: inline-block;
    font-size: 40px;
}

.cn-modal-header {
    font-size: 28px;
    padding: 15px 40px 15px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
    background: #ffffff;
    border-radius: 5px 5px 0 0;
}

.cn-modal-content {
    padding: 20px;
}

.cn-modal-footer {
    padding: 20px;
}

.cn-modal-error {
    margin: -20px -20px 0;
    padding: 10px 20px;
    background: #a42338;
    /*color: #157fc4;*/
}

.cn-modal-error p {
    margin: 0;
    font-weight: bold;
}

.cn-modal-error font.errortext,
.cn-modal-error font.notetext {
    color: inherit !important;
}

.cn-modal-error.noerror {
    background: #409990;
}

.cn-modal-errors {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamburger {
    display: none;
    width: 50px;
    height: 50px;
    /*position: absolute;*/
    padding: 12px;
    top: 0;
    right: 0;
    z-index: 500;
    -webkit-tap-highlight-color: transparent;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .hamburger {
        display: block;
    }
}

.icon-hamburger {
    position: relative;
    margin-top: 11px;
    margin-bottom: 7px;
}

.icon-hamburger,
.icon-hamburger:before,
.icon-hamburger:after {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    -webkit-transition: all ease .4s;
    transition: all ease .4s;
}

.icon-hamburger:before,
.icon-hamburger:after {
    position: absolute;
    content: "";
}

.icon-hamburger:before {
    top: -6px;
}

.icon-hamburger:after {
    top: 6px;
}

.hamburger.active .icon-hamburger {
    background-color: transparent;
}

.hamburger.active .icon-hamburger:before,
.hamburger.active .icon-hamburger:after {
    background-color: #ffffff;
}

.hamburger.active .icon-hamburger:before {
    -moz-transform: translateY(6px) rotate(45deg);
    -ms-transform: translateY(6px) rotate(45deg);
    -webkit-transform: translateY(6px) rotate(45deg);
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active .icon-hamburger:after {
    -moz-transform: translateY(-6px) rotate(-45deg);
    -ms-transform: translateY(-6px) rotate(-45deg);
    -webkit-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-wrapper {
    top: 50px;
    bottom: 0;
    left: 0;
    text-align: center;
    z-index: 250;
    position: fixed;
    visibility: hidden;
    width: 100%;
    background: linear-gradient(90deg, #1f497d, #157fc4);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    -moz-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-wrapper.active {
    visibility: visible;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.mobile-nav-inner {
    width: 100%;
    height: 100%;
    display: table;
    table-layout: fixed;
}

.mobile-nav .ios-fix {
    height: 110%;
    -moz-transform: translateY(-5%);
    -ms-transform: translateY(-5%);
    -webkit-transform: translateY(-5%);
    transform: translateY(-5%);
    padding-top: 10%;
    padding-bottom: 10%;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav ul a {
    color: #ffffff;
    font-size: 16px !important;
    line-height: 20px;
    display: block;
    padding: 15px 20px;
}

.mobile-nav ul a:active,
.mobile-nav ul a:hover {
    text-decoration: none;
}

.mobile-nav ul .col {
    padding: 0;
}

.mobile-nav ul li a {
    text-transform: uppercase;
}

.mobile-nav ul li.parent li.parent.active a:after {
    background-position: -80px -80px;
}

.mobile-nav ul li li a {
    text-transform: none;
    background: transparent;
}

.mobile-nav ul li.active {
    -webkit-transition-delay: 0ms;
    transition-delay: 0ms;
    -webkit-transition: none;
    transition: none;
}

.mobile-nav ul li.active > a {
    background: rgba(24, 24, 24, 0.3);
}

.mobile-nav ul li > a + .second-level,
.mobile-nav ul li > a + .third-level {
    display: none;
    height: auto;
    opacity: 1;
}

.mobile-nav ul li > a:after {
    background-position: -80px -80px;
}

.mobile-nav ul .second-level,
.mobile-nav ul .third-level {
    position: static;
    background: rgba(24, 24, 24, 0.1);
    -webkit-transition-delay: 0ms;
    transition-delay: 0ms;
    -webkit-transition: none;
    transition: none;
}

.mobile-nav ul .second-level li,
.mobile-nav ul .third-level li {
    width: 100%;
    padding-right: 0;
}

.mobile-nav ul .third-level li a {
    padding-left: 40px;
}

.mobile-nav > ul {
    background: rgba(24, 24, 24, 0.3);
    margin: 10px 20px 20px;
    border-radius: 3px;
}

.mobile-nav > ul > li:first-child a {
    border-radius: 3px 3px 0 0;
}

.mobile-nav > ul > li:last-child a {
    border-radius: 0 0 3px 3px;
}

.mobile-nav p,
.mobile-nav-wrapper p {
    color: #ffffff;
    font-size: 20px;
    line-height: 20px;
    display: block;
    text-align: center;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
}

/* ==========================================================================
   SLIDER */
/* ========================================================================== */
.big-slider {
    display: none;
}

/* animation на шапку сайта */

@keyframes showImage {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/********************************/

.slider-item {
    max-width: 1345px; /* Максимальная ширина элемента */
    margin: 0 auto; /* Центрирование элемента по горизонтали */
    background-position: center center;
    border-radius: 10px; /* задаем радиус закругления в пикселях */
	border: 15px solid white; 
	-webkit-animation: showImage 1s ease forwards; /* вендорный префикс для WebKit браузеров */
	animation: showImage 1s ease forwards; /* добавляем анимацию */
}

	

	
	
	
	
}
}

@media (max-width: 767px) {
    .slider-item .col {
        padding-left: 0;
        padding-right: 0;
    }
}

.slider-item-text p, .slider-item-text .h1 {
    color: white;
    text-shadow: 0 0 2px black;
}

@media (max-width: 767px) {
    .slider-item-text {
        background: -webkit-linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, 0) 100%);
        background: -o-linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, 0) 100%);
        background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, 0) 100%);
        min-height: 270px;
        padding: 15px;
    }

    .slider-item-text .h1 {
        color: #ffffff;
        font: normal 18px/25px "PT Sans", PTsans, Arial, sans-serif;
        margin-top: 30px;
    }

    .slider-item {
        background-position: center center;
    }
}

@media (min-width: 768px) {
    .slider-item-text {
        /*background: rgba(24, 24, 24, 0.35);*/
        color: #ffffff;
        padding: 20px 40px 20px; /*40px 40px 40px;*/
        border-radius: 4px 4px 0 0;
    }
	
	.slider-item {
	height: 600px !important;
    justify-content: center;
    align-items: center;
	background-color: white;
	border-radius: 50px;
	width: 100%;
		
		
}
}

.slider-item .h1 {
    /*margin-bottom: 30px;*/
}

.slider-item-description p {
    position: relative;
    margin-bottom: 20px;
    top: 50%;
    -webkit-transform: translateY(-9%);
    -ms-transform: translateY(-9%);
    transform: translateY(-9%)
}

.swiper-button-prev,
.swiper-button-next {
	background-color: #fff;
	color: #982525;
	width: 56px !important;
	height: 56px !important;
	border-radius: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	/*text-indent: -9999px;
    width: 20px;
    height: 20px;
    display: inline-block !important;
    background: url('/wp-content/themes/textbook/img/icons/all-icons.png') no-repeat -80px 0;
    cursor: pointer;*/
}

@media (max-width: 768px) {
    .swiper-button-prev,
	.swiper-button-next {
        display: none !important;
    }
}

.swiper-button-prev:after,
.swiper-button-next:after {
	font-size: 26px !important;
	color: #982525;
}

.swiper-button-prev:focus,
.swiper-button-next:focus {
	background-color: #fff !important;
	color: #982525 !important;
	border: 1px solid #982525;
}

/*
.big-slider-nav {
    margin-top: 20px;
}

.owl-next,
.owl-prev {
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    display: inline-block !important;
    background: url('/wp-content/themes/textbook/img/icons/all-icons.png') no-repeat -80px 0;
    cursor: pointer;
}

@media screen and (min-resolution: 192dpi) {
    .owl-next,
    .owl-prev {
        background-image: url(/wp-content/themes/textbook/img/icons/all-icons@2x.png);
        background-size: 200px 300px;
    }
}

.owl-prev:hover {
    background-position: -100px 0;
}

.owl-next {
    margin-left: 20px;
    background-position: -80px -20px;
}

.owl-next:hover {
    background-position: -100px -20px;
}
*/
.owl-dots {
    position: relative;
    /*bottom: 10px;
    left: 15px;*/
}

.owl-dots {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.owl-dots .owl-dot span {
    width: 15px;
    height: 15px;
    margin: 0 15px 0 0;
    border: solid 2px #982525;
    background: transparent;
    display: block;
    -webkit-backface-visibility: visible;
    -webkit-transition: opacity 200ms ease;
    -moz-transition: opacity 200ms ease;
    -o-transition: opacity 200ms ease;
    transition: opacity 200ms ease;
    border-radius: 10px;
}

.owl-carousel button.owl-dot {
	padding: 0.825em 13.5px !important;
}

.owl-dots .owl-dot.active span, .owl-dots .owl-dot:hover span {
	background: #982525;
}

/*	nav	*/

.owl-prev i, .owl-next i {
    color: white;
	font-size: 120px;
}
.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    margin-top: -10px;
}
.owl-prev {
    left: 5px;
}
.owl-next {
    right: 5px;
}

/*	 end	*/

/* ==========================================================================
   NEWS */
/* ========================================================================== */
.news_list {
	padding: 0 20px;
	max-width: 1217px;
	margin: 0 auto;
}

.news_list_title {
	margin: 0 auto;
	display: table;
}

.news_list_title h2 {
	padding:0;
	text-transform: uppercase;
    font-size: 27px;
    padding-bottom: 5px;
	margin-top: 25px;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-align: center;
}

@media (max-width: 767px) {
    .news_list_title h2 {
        font-size: 22px;
    }
}

.news_list_title h2:hover {
	border-color: transparent;
}

.news_tags > div{
	margin: 0 auto;
	display: table;
}

.news_tags{
	margin-top: 15px;
	margin-bottom: 31px;
	text-align: center;
}

.news_tags .pull-left.active {
	padding: 0 5px;
	background: #982525;
	border-radius: 9px;
    margin: 0 7.5px;
}

.news_tags .pull-left.active a,
.news_tags .pull-left.active a:hover {
	color: #fff;
	outline: none;
}

.news_tags .pull-left{
	padding: 0 12.5px;
	border-radius: 9px;
    font-size: 13px;
    text-transform: capitalize;
	display: inline-block;
    float: none!important;
}

.news_tags .pull-left a:hover {
	text-decoration:underline;
	color: #982525;
}

.news_item {
	margin-bottom: 60px;
}

@media(min-width:1200px) {
	.news_item.col-lg-3{
		margin-right: 12.5%;
	}
	.news_item.col-lg-3:nth-child(6n+5){
		margin-right: 0;
	}
	.clearfix:nth-child(6n){
		display:block!important;
	}
}

.news_item .display_date,.news_item .img-responsive {
	margin: 0 auto;
	display: table;
	text-align: center;
	width: 100%;
	float: none;
	color:#000;
	max-width: 299px;
}

.display_date {
	font-size: 10px;
}

.news_item .img-responsive {
	margin-bottom: 19px;
	border: transparent;
    border-radius: 25px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.2);
}

.news_item .news_name {
    font-size: 20px;
    text-align: center;
    line-height: 24px;
    width: 100%;
    float: none;
    margin: 2px auto 0px;
	max-width: 299px;
    word-break: break-word;
}

@media (max-width: 767px) {
    .news_item .news_name {
        font-size: 16px;
    }
}

@media (max-width: 1201px){
	.news_list {
		padding-left: 20px;
		padding-right: 20px;
	}
	.main_news_list .main_news_text{
		width: 90%;
	}
	.news_list .main_news_list{
		width: 100%;
	}
	.news_list .ugol{
		margin-right: 0px;
	}
	.item_news_list > .ugol{
		width: 100%;
	}
}
@media (max-width: 1201px){
	.news_list .news_item .ugol{
		padding-left: 90px;
	}
	.news_list .ugol:after{left: 10px;}
	.item_news_list > .ugol{
		min-height: 0;
	}
	.news_list .ugol > div{
		display: block;
	}
	.news_list .main_news_name{
		line-height: 33px;
		font-size: 25px;
	}
}
@media (max-width: 768px){
	.news_list .item_news_list{
		width: 100%;
		margin-bottom: 10px;
		margin-left: 0;
	}
	.news_item{
		padding-bottom: 20px;
		border-bottom: 2px solid #dbdbdb;
	}
	.news_item{
		margin-bottom: 20px;
	}
	.news_list .show_more.mobile-button,.news_list .bx-pagination{
		display: table;
		margin-left: auto;
		margin-right: auto;
	}
}
@media (min-width: 1540px){
	.news_list{
    padding: 15px;
    max-width: 1217px;
	}
	.news_item{
		padding:0;
	}
	.news_list .news_item .ugol_bg{
		left: 0px;
	}
}
@media(max-width: 1539px){
	.three-item{margin: 0;}
	.news_list .news_item .ugol_bg{left: 15px;}
}
@media(max-width: 1290px){
	.news_item .ugol{
		padding-right: 10px;
	}
	.news_list .main_news_list{width: auto;}
}

.clearfix {
	/*display:none!important;*/
}

/* ==========================================================================
   PARTNERS */
/* ========================================================================== */
.partners h2 {
    padding: 0;
    text-transform: uppercase;
    font-size: 27px;
	color: #982525;
    padding-bottom: 5px;
    margin-top: 25px;
    margin-bottom: 23px;
    letter-spacing: 2px;
}

.blue-menu {
    box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.1);
    background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699));
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
	border: 3px solid #982525;
    border-radius: 6px;
}

.blue-menu, .blue-menu__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.blue-menu a, .blue-menu__item {
    width: 100%;
    color: #fff;
    line-height: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    padding: 14px 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	border: 3px solid transparent;
    border-radius: 6px;
}

.blue-menu__item.active, .blue-menu__item:hover {
    background-color: #fff;
    color: #982525;
}

.partners-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 50px 0 0;
}

.partners-list__item {
    -webkit-filter: gray;
    filter: gray;
    opacity: .5;
    margin: 0 20px 40px;
}

.partners-list__item {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.partners-list__item:hover {
    opacity: 1;
    -webkit-filter: none;
    filter: none;
}

@media (max-width: 768px) {
	.tabs-caption {
		overflow: hidden;
		display: block;
		height: auto;
	}
	
	.partners-list {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	
	.partners-list__item {
		width: 35%;
	}
}

/* ==========================================================================
   SIDEBAR */
/* ========================================================================== */
.sidebar-menu {
    box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.2);
	/*background: -webkit-gradient(linear, left top, left bottom, from(#6699CC), to(#336699));*/
    background: #fff;
    color: #982525;
    border: 1px solid #982525;
    border-top: 12px solid #982525;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 500;
    /*text-transform: uppercase;
    /*border: solid 1px #982525;
    border-top: solid 3px #982525;
	border-radius: 8px;
    border-bottom: 0;*/
	margin-top: 50px;
    margin-bottom: 25px;
}

.sidebar-sveden .sidebar-menu__align {
	font-size: 22px;
    padding: 20px 0px 20px 0px;
    width: 80%;
}

@media (max-width: 768px) {
	.sidebar-sveden .sidebar-menu__align {
		width: 75%;
	}
}

.sidebar-menu__item {
    border-bottom: solid 1px #982525;
	/*border-radius: 8px;*/
    display: block;
    min-height: 60px;
    line-height: 60px;
    position: relative;
}

.sidebar-menu__item:active,
.sidebar-menu__item:hover {
    background-color: #982525;
	color: #fff !important;
}

.sidebar-menu__item:visited {
	/*color: #fff;*/
}

.sidebar-menu__align {
    display: inline-block;
    line-height: normal;
    vertical-align: middle;
    padding: 20px 57px 20px 0px;
	width: 75%;
}

.last__item {
    border-bottom: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* ==========================================================================
   KAFEDRY */
/* ========================================================================== */
.profile-head {
    border-bottom: 1px solid #f4f4f4;
    border-radius: 5px;
    padding: 10px;
    /* padding-bottom: 20px; */
    margin-bottom: 20px;
    margin-top: 10px;
    overflow: hidden;
    display: block;
    width: 95%;
    border: 1px solid #ddd;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.05);
    margin: 10px auto 20px;
}

.profile-head:hover {
    box-shadow: 0 8px 17px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.1);
    transition: all ease-in-out .25s;
}

.head-photo {
	float: left;
	margin: 0 30px 15px 15px;
	padding: 4px;
	line-height: 2;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	width: 150px;
}

.head-fio {
	display: flex;
    font-size: 24px;
    font-weight: 500;
}

.head-post {
	display: block;
	margin-bottom: 10px;
}

.profile-contacts {
	float: left;
	padding-right: 30px;
}

.profile-contacts i {
	font-size: 20px;
    display: contents;
}

.profile-contacts-text {
	display: block;
	font-size: 15px;
}

@media (max-width: 768px) {
	.profile-head:hover {
		box-shadow: none;
	}
}



@media (max-width: 480px) {
	.head-photo {
		float: none;
		margin: auto;
		padding: 4px;
		line-height: 1.42857143;
		background-color: #fff;
		border: 1px solid #ddd;
		border-radius: 4px;
		width: 50%;
	}
	
	.profile-contacts {
		float: none;
		/*padding-right: none;*/
		text-align: center;
		display: flex;
		margin: auto;
		padding: 0px!important;
	}
	
	.profile-contacts i {
		display: block;
		width: 20px;
	}
	
	.department .profile-head {
		display: block;
		text-align: center;
	}

	.profile-contacts-text {
		font-size: 14px;
	}
	
	.department-nav-tabs>li{
		width: 50%;
		text-align: center;		
	}
}

.department-nav {
	display: table;
    padding-left: 0;
    list-style: none;
	width: 95%;
	margin: 5px auto 5px;
}

.department-nav:before,
.department-nav:after {
	content: " ";
    display: table;
}

.department-nav > li {
    position: relative;
    display: block
}

.department-nav > li > a {
    position: relative;
    display: block;
    padding: 10px 10px
}

.department-nav > li > a:hover,
.department-nav > li > a:focus {
    text-decoration: none;
    background-color: #eee
}

.department-nav > li.disabled > a {
    color: #777
}

.department-nav > li.disabled > a:hover,
.department-nav > li.disabled > a:focus {
    color: #777;
    text-decoration: none;
    background-color: transparent;
    cursor: not-allowed
}

.department-nav-tabs {
    border-bottom: 1px solid #ddd
}

.department-nav-tabs > li {
    float: left;
    margin-bottom: -1px
}

.department-nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0
}

.department-nav-tabs > li > a:hover {
    border-color: #eee #eee #ddd
}

.department-nav-tabs > li.active > a,
.department-nav-tabs > li.active > a:hover,
.department-nav-tabs > li.active > a:focus {
    color: #555;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    cursor: default
}

.department-nav-tabs > li > a:focus {
	outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.tab-content>.tab-pane {
    display: none
}

.tab-content>.active {
    display: block;
	width: 95%;
	margin: 20px auto 10px;
}

/* ==========================================================================
   BUTTONS */
/* ========================================================================== */
.btn-list-desktop {
    margin-right: 10px !important;
    margin-left: 10px !important;
}

.btn-list-mobile {
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.btn-slider {
	display: table-cell;
	text-align: center;
    vertical-align: middle;
	white-space: nowrap;
	background: #f0eeec;
	border-radius: 20px;
	padding: 0 20px;
	margin-bottom: 0;
    bottom: 75px;
	height: 40px;
	cursor: pointer;
	text-decoration: none;
	user-select: none;
}

.btn-slider:hover {
	background: #982525;
	color: #fff;
}

.btn-sidebar-desktop {
    margin-right: 15px !important;
    margin-left: 20px !important;
	font-size: 26px;
}

/* ==========================================================================
   SPOILER */
/* ========================================================================== */
.details-spoiler {
	font-size: 16px;
    border: 2px #434343 solid;
    border-radius: 15px;
    margin-bottom: 25px;
}

.details-spoiler summary {
	text-align: center;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    margin: 5px auto;
    width: 65%;
	outline: none;
}

/* ==========================================================================
   HELPER CLASSES */
/* ========================================================================== */
.ov-h {
    overflow: hidden;
}

.fleft,
.fll,
.fl-l {
    float: left;
}

.fright,
.flr,
.fl-r {
    float: right;
}

#lk-conteyner {
    background-color: #982525 !important;
}

.rcl-avatar-icon {
    display: none;
}

/* ==========================================================================
   ICONS */
/* ========================================================================== */
.icon {
    display: inline-block;
    overflow: hidden;
    width: 20px;
    height: 20px;
    vertical-align: text-top;
    background: url('/wp-content/themes/nchti/img/icons/all-icons.png') 0 0 no-repeat;
}

.icon-dd {
    background-position: 0 0;
}

.icon-lk {
    background-position: 0 -60px;
}

.icon-map-marker {
    background-position: 0 -80px;
}

.icon-map-marker-bold {
    background-position: -20px -80px;
}

.icon-special-version {
    background-position: -40px -80px;
    width: 25px;
}

.icon-big-clock {
    background-position: -40px -40px;
    width: 28px;
    height: 28px;
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}

.icon-big-clock-white {
    background-position: -40px -140px;
    width: 32px;
    height: 32px;
    opacity: .7;
}

.icon-big-phone {
    background-position: -40px 0;
    height: 30px;
    width: 15px;
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}

.icon-search {
    background-position: 0 -40px;
}

.icon-search-white {
    background-position: -20px -40px;
}

.icon-close {
    background-position: 0 -100px;
    cursor: pointer;
    opacity: .5;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.icon-close:hover {
    opacity: 1;
}

.icon-social-vk {
    background-position: 0 -120px;
}

.icon-social-tw {
    background-position: 0 -140px;
}

.icon-social-fb {
    background-position: 0 -160px;
}

.icon-social-inst {
    background-position: 0 -180px;
}

.icon-social-in {
    background-position: 0 -200px;
}

.icon-social-gplus {
    background-position: 0 -220px;
}

.icon-arrow-right {
    background-position: -80px -40px;
}

.icon-arrow-left {
    background-position: -100px -40px;
}

.icon-arrow-down {
    background-position: -100px -60px;
}

.icon-arrow-white-right {
    background-position: -80px -100px;
}

.icon-arrow-white-left {
    background-position: -100px -100px;
}

.icon-pdf {
    background-position: -40px -100px;
    width: 40px;
    height: 40px;
}

.bot-spaced {
    margin-bottom: 1em;
}

/* ==========================================================================
   BOOTSTR */
/* ========================================================================== */
.content {
    position: relative;
    margin: 0 auto;
}

.content:before,
.content:after {
    content: " ";
    display: table;
}

.content:after {
    clear: both;
}

@media (max-width: 768px) {
    .content .content {
        margin-left: -5px;
        margin-right: -5px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .content .content {
        margin-left: -10px;
        margin-right: -10px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .content .content {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (min-width: 1280px) {
    .content .content {
        margin-left: -20px;
        margin-right: -20px;
    }
}

.col {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .col {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .col {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1280px) {
    .col {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 436px) {
    .col-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg {
        flex-basis: 0;
        -webkit-box-flex: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-lg-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }

    .col-lg-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-lg-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-lg-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-lg-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-lg-10 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-lg-11 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-lg-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .order-lg-first {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    .order-lg-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }

    .order-lg-0 {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }

    .order-lg-1 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .order-lg-2 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .order-lg-3 {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    .order-lg-4 {
        -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
        order: 4;
    }

    .order-lg-5 {
        -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
        order: 5;
    }

    .order-lg-6 {
        -webkit-box-ordinal-group: 7;
        -ms-flex-order: 6;
        order: 6;
    }

    .order-lg-7 {
        -webkit-box-ordinal-group: 8;
        -ms-flex-order: 7;
        order: 7;
    }

    .order-lg-8 {
        -webkit-box-ordinal-group: 9;
        -ms-flex-order: 8;
        order: 8;
    }

    .order-lg-9 {
        -webkit-box-ordinal-group: 10;
        -ms-flex-order: 9;
        order: 9;
    }

    .order-lg-10 {
        -webkit-box-ordinal-group: 11;
        -ms-flex-order: 10;
        order: 10;
    }

    .order-lg-11 {
        -webkit-box-ordinal-group: 12;
        -ms-flex-order: 11;
        order: 11;
    }

    .order-lg-12 {
        -webkit-box-ordinal-group: 13;
        -ms-flex-order: 12;
        order: 12;
    }

    .offset-lg-0 {
        margin-left: 0;
    }

    .offset-lg-1 {
        margin-left: 8.333333%;
    }

    .offset-lg-2 {
        margin-left: 16.666667%;
    }

    .offset-lg-3 {
        margin-left: 25%;
    }

    .offset-lg-4 {
        margin-left: 33.333333%;
    }

    .offset-lg-5 {
        margin-left: 41.666667%;
    }

    .offset-lg-6 {
        margin-left: 50%;
    }

    .offset-lg-7 {
        margin-left: 58.333333%;
    }

    .offset-lg-8 {
        margin-left: 66.666667%;
    }

    .offset-lg-9 {
        margin-left: 75%;
    }

    .offset-lg-10 {
        margin-left: 83.333333%;
    }

    .offset-lg-11 {
        margin-left: 91.666667%;
    }
}

.col-mb-12 {
    width: 100%;
}

.col-mb-11 {
    width: 91.66666667%;
}

.col-mb-10 {
    width: 83.33333333%;
}

.col-mb-9 {
    width: 75%;
}

.col-mb-8 {
    width: 66.66666667%;
}

.col-mb-7 {
    width: 58.33333333%;
}

.col-mb-6 {
    width: 50%;
}

.col-mb-5 {
    width: 41.66666667%;
}

.col-mb-4 {
    width: 33.33333333%;
}

.col-mb-3 {
    width: 25%;
}

.col-md-3 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%
}

.col-mb-2 {
    width: 16.66666667%;
}

.col-mb-1 {
    width: 8.33333333%;
}

.col-mb-right-12 {
    right: 100%;
}

.col-mb-right-11 {
    right: 91.66666667%;
}

.col-mb-right-10 {
    right: 83.33333333%;
}

.col-mb-right-9 {
    right: 75%;
}

.col-mb-right-8 {
    right: 66.66666667%;
}

.col-mb-right-7 {
    right: 58.33333333%;
}

.col-mb-right-6 {
    right: 50%;
}

.col-mb-right-5 {
    right: 41.66666667%;
}

.col-mb-right-4 {
    right: 33.33333333%;
}

.col-mb-right-3 {
    right: 25%;
}

.col-mb-right-2 {
    right: 16.66666667%;
}

.col-mb-right-1 {
    right: 8.33333333%;
}

.col-mb-left-12 {
    left: 100%;
}

.col-mb-left-11 {
    left: 91.66666667%;
}

.col-mb-left-10 {
    left: 83.33333333%;
}

.col-mb-left-9 {
    left: 75%;
}

.col-mb-left-8 {
    left: 66.66666667%;
}

.col-mb-left-7 {
    left: 58.33333333%;
}

.col-mb-left-6 {
    left: 50%;
}

.col-mb-left-5 {
    left: 41.66666667%;
}

.col-mb-left-4 {
    left: 33.33333333%;
}

.col-mb-left-3 {
    left: 25%;
}

.col-mb-left-2 {
    left: 16.66666667%;
}

.col-mb-left-1 {
    left: 8.33333333%;
}

.col-mb-left-0 {
    left: 0;
}

.col-centered {
    float: none;
    margin: 0 auto;
    padding-top: 20px;
}

@media (min-width: 768px) {
    .content {
        max-width: 758px;
    }

    .col {
        float: left;
    }

    .col-12 {
        width: 100%;
    }

    .col-11 {
        width: 91.66666667%;
    }

    .col-10 {
        width: 83.33333333%;
    }

    .col-9 {
        width: 75%;
    }

    .col-8 {
        width: 66.66666667%;
    }

    .col-7 {
        width: 58.33333333%;
    }

    .col-6 {
        width: 50%;
    }

    .col-5 {
        width: 41.66666667%;
    }

    .col-4 {
        width: 33.33333333%;
    }

    .col-3 {
        width: 25%;
    }

    .col-2 {
        width: 16.66666667%;
    }

    .col-1 {
        width: 8.33333333%;
    }

    .col-right-12 {
        right: 100%;
    }

    .col-right-11 {
        right: 91.66666667%;
    }

    .col-right-10 {
        right: 83.33333333%;
    }

    .col-right-9 {
        right: 75%;
    }

    .col-right-8 {
        right: 66.66666667%;
    }

    .col-right-7 {
        right: 58.33333333%;
    }

    .col-right-6 {
        right: 50%;
    }

    .col-right-5 {
        right: 41.66666667%;
    }

    .col-right-4 {
        right: 33.33333333%;
    }

    .col-right-3 {
        right: 25%;
    }

    .col-right-2 {
        right: 16.66666667%;
    }

    .col-right-1 {
        right: 8.33333333%;
    }

    .col-left-12 {
        left: 100%;
    }

    .col-left-11 {
        left: 91.66666667%;
    }

    .col-left-10 {
        left: 83.33333333%;
    }

    .col-left-9 {
        left: 75%;
    }

    .col-left-8 {
        left: 66.66666667%;
    }

    .col-left-7 {
        left: 58.33333333%;
    }

    .col-left-6 {
        left: 50%;
    }

    .col-left-5 {
        left: 41.66666667%;
    }

    .col-left-4 {
        left: 33.33333333%;
    }

    .col-left-3 {
        left: 25%;
    }

    .col-left-2 {
        left: 16.66666667%;
    }

    .col-left-1 {
        left: 8.33333333%;
    }

    .col-left-0 {
        left: 0;
    }
}

@media (min-width: 992px) {
    .content {
        max-width: 992px;
    }

    .col {
        float: left;
    }

    .col-dt-12 {
        width: 100%;
    }

    .col-dt-11 {
        width: 91.66666667%;
    }

    .col-dt-10 {
        width: 83.33333333%;
    }

    .col-dt-9 {
        width: 75%;
    }

    .col-dt-8 {
        width: 66.66666667%;
    }

    .col-dt-7 {
        width: 58.33333333%;
    }

    .col-dt-6 {
        width: 50%;
    }

    .col-dt-5 {
        width: 41.66666667%;
    }

    .col-dt-4 {
        width: 33.33333333%;
    }

    .col-dt-3 {
        width: 25%;
    }

    .col-dt-2 {
        width: 100%;
    }

    .col-dt-1 {
        width: 8.33333333%;
    }

    .col-dt-right-12 {
        right: 100%;
    }

    .col-dt-right-11 {
        right: 91.66666667%;
    }

    .col-dt-right-10 {
        right: 83.33333333%;
    }

    .col-dt-right-9 {
        right: 75%;
    }

    .col-dt-right-8 {
        right: 66.66666667%;
    }

    .col-dt-right-7 {
        right: 58.33333333%;
    }

    .col-dt-right-6 {
        right: 50%;
    }

    .col-dt-right-5 {
        right: 41.66666667%;
    }

    .col-dt-right-4 {
        right: 33.33333333%;
    }

    .col-dt-right-3 {
        right: 25%;
    }

    .col-dt-right-2 {
        right: 16.66666667%;
    }

    .col-dt-right-1 {
        right: 8.33333333%;
    }

    .col-dt-left-12 {
        left: 100%;
    }

    .col-dt-left-11 {
        left: 91.66666667%;
    }

    .col-dt-left-10 {
        left: 83.33333333%;
    }

    .col-dt-left-9 {
        left: 75%;
    }

    .col-dt-left-8 {
        left: 66.66666667%;
    }

    .col-dt-left-7 {
        left: 58.33333333%;
    }

    .col-dt-left-6 {
        left: 50%;
    }

    .col-dt-left-5 {
        left: 41.66666667%;
    }

    .col-dt-left-4 {
        left: 33.33333333%;
    }

    .col-dt-left-3 {
        left: 25%;
    }

    .col-dt-left-2 {
        left: 16.66666667%;
    }

    .col-dt-left-1 {
        left: 8.33333333%;
    }

    .col-dt-left-0 {
        left: 0;
    }
}

@media (min-width: 1280px) {
    .content {
        max-width: 1240px;
    }

    .col {
        float: left;
    }

    .col-ld-12 {
        width: 100%;
    }

    .col-ld-11 {
        width: 91.66666667%;
    }

    .col-ld-10 {
        width: 83.33333333%;
    }

    .col-ld-9 {
        width: 75%;
    }

    .col-ld-8 {
        width: 66.66666667%;
    }

    .col-ld-7 {
        width: 58.33333333%;
    }

    .col-ld-6 {
        width: 50%;
    }

    .col-ld-5 {
        width: 41.66666667%;
    }

    .col-ld-4 {
        width: 33.33333333%;
    }

    .col-ld-3 {
        width: 25%;
    }

    .col-ld-2 {
        width: 16.66666667%;
    }

    .col-ld-1 {
        width: 8.33333333%;
    }

    .col-ld-right-12 {
        right: 100%;
    }

    .col-ld-right-11 {
        right: 91.66666667%;
    }

    .col-ld-right-10 {
        right: 83.33333333%;
    }

    .col-ld-right-9 {
        right: 75%;
    }

    .col-ld-right-8 {
        right: 66.66666667%;
    }

    .col-ld-right-7 {
        right: 58.33333333%;
    }

    .col-ld-right-6 {
        right: 50%;
    }

    .col-ld-right-5 {
        right: 41.66666667%;
    }

    .col-ld-right-4 {
        right: 33.33333333%;
    }

    .col-ld-right-3 {
        right: 25%;
    }

    .col-ld-right-2 {
        right: 16.66666667%;
    }

    .col-ld-right-1 {
        right: 8.33333333%;
    }

    .col-ld-left-12 {
        left: 100%;
    }

    .col-ld-left-11 {
        left: 91.66666667%;
    }

    .col-ld-left-10 {
        left: 83.33333333%;
    }

    .col-ld-left-9 {
        left: 75%;
    }

    .col-ld-left-8 {
        left: 66.66666667%;
    }

    .col-ld-left-7 {
        left: 58.33333333%;
    }

    .col-ld-left-6 {
        left: 50%;
    }

    .col-ld-left-5 {
        left: 41.66666667%;
    }

    .col-ld-left-4 {
        left: 33.33333333%;
    }

    .col-ld-left-3 {
        left: 25%;
    }

    .col-ld-left-2 {
        left: 16.66666667%;
    }

    .col-ld-left-1 {
        left: 8.33333333%;
    }

    .col-ld-left-0 {
        left: 0;
    }
}

.center-block {
    margin: 0 auto;
}

@media (max-width: 767px) {
    .col-mb-hide,
    .mb-hide,
    .tablet-block,
    .dt-block,
    .ld-block {
        display: none !important;
    }

    .mb-block {
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-hide,
    .tablet-hide,
    .mb-block,
    .dt-block,
    .ld-block {
        display: none;
    }

    .tablet-block {
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .col-dt-hide,
    .dt-hide,
    .mb-block,
    .tablet-block,
    .ld-block {
        display: none;
    }

    .dt-block {
        display: block;
    }
}

@media (min-width: 1280px) {
    .col-ld-hide,
    .ld-hide,
    .mb-block,
    .tablet-block,
    .dt-block {
        display: none;
    }

    .ld-block {
        display: block;
    }
}

@media (max-width: 768px) {
    .col-padding {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-padding {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .col-padding {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (min-width: 1280px) {
    .col-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .col-margin {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-margin {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .col-margin {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media (min-width: 1280px) {
    .col-margin {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .col-margin-bottom {
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-margin-bottom {
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .col-margin-bottom {
        margin-bottom: 30px;
    }
}

@media (min-width: 1280px) {
    .col-margin-bottom {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .col-margin-top {
        margin-top: 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-margin-top {
        margin-top: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .col-margin-top {
        margin-top: 30px;
    }
}

@media (min-width: 1280px) {
    .col-margin-top {
        margin-top: 40px;
    }
}

.row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

}

@media (min-width: 300px) {
    .row {
        margin-right: 0; /*30px;*/
        margin-left: 0; /*30px*/
    }
}

@media (min-width: 400px) {
    .row {
        margin-right: 0px;
        margin-left: 0px
    }
	.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9 {
		padding-right: 0;
		padding-left: 0;
	}
}

@media (min-width: 600px) {
    .row {
        margin-right: 9px;
        margin-left: 9px
    }
}

@media (min-width: 650px) {
    .row {
        /*margin-right: 22px;
        margin-left: 22px*/
    }
}

@media (min-width: 700px) {
    .row {
        /*margin-right: 55px;
        margin-left: 55px*/
    }
}

@media (min-width: 750px) {
    .row {
        /*margin-right: 60px;
        margin-left: 60px*/
    }
}

@media (min-width: 992px) {
    .row {
        /*margin-right: 170px;
        margin-left: 170px;*/
    }
	
	.news_item .news_name {
		font-size: ;
	}
	
	.news_item .display_date,.news_item .img-responsive {
		/*width: 299px;*/
	}
}

@media (max-width: 768px) {
	.news_item .display_date,.news_item .img-responsive {
		width: 299px;
	}
}

@media (max-width: 1200px) {
    .row {
		font-size: 10px;
    }
	.a { font-size: 14px; }
	.sidebar-sveden .sidebar-menu__align {
		width: 70%;
	}
	span.sidebar-menu__align {
		font-size: 90%;
	}
	.sidebar-menu__align {
		width: 70px;
	}
	
	.news_item .news_name {
		/*font-size: 16px;*/
	}
}


@media (min-width: 1200px) {
    .row {
        margin-right: -15px;
        margin-left: -15px
    }
}

.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9 {
	position:relative;min-height:1px;padding-right:15px;padding-left:15px
}

@media (min-width:992px){
	.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9 {
		float:left
	}
	.col-md-12{width:100%}
	.col-md-11{width:91.66666667%}
	.col-md-10{width:83.33333333%}
	.col-md-9{width:75%}
	.col-md-8{width:66.66666667%}
	.col-md-7{width:58.33333333%}
	.col-md-6{width:50%}
	.col-md-5{width:41.66666667%}
	.col-md-4{width:33.33333333%}
	.col-md-3{width:25%}
	.col-md-2{width:16.66666667%}
	.col-md-1{width:8.33333333%}
	.col-md-pull-12{right:100%}
	.col-md-pull-11{right:91.66666667%}
	.col-md-pull-10{right:83.33333333%}
	.col-md-pull-9{right:75%}
	.col-md-pull-8{right:66.66666667%}
	.col-md-pull-7{right:58.33333333%}
	.col-md-pull-6{right:50%}
	.col-md-pull-5{right:41.66666667%}
	.col-md-pull-4{right:33.33333333%}
	.col-md-pull-3{right:25%}
	.col-md-pull-2{right:16.66666667%}
	.col-md-pull-1{right:8.33333333%}
	.col-md-pull-0{right:auto}
	.col-md-push-12{left:100%}
	.col-md-push-11{left:91.66666667%}
	.col-md-push-10{left:83.33333333%}
	.col-md-push-9{left:75%}
	.col-md-push-8{left:66.66666667%}
	.col-md-push-7{left:58.33333333%}
	.col-md-push-6{left:50%}
	.col-md-push-5{left:41.66666667%}
	.col-md-push-4{left:33.33333333%}
	.col-md-push-3{left:25%}
	.col-md-push-2{left:16.66666667%}
	.col-md-push-1{left:8.33333333%}
	.col-md-push-0{left:auto}
	.col-md-offset-12{margin-left:100%}
	.col-md-offset-11{margin-left:91.66666667%}
	.col-md-offset-10{margin-left:83.33333333%}
	.col-md-offset-9{margin-left:75%}
	.col-md-offset-8{margin-left:66.66666667%}
	.col-md-offset-7{margin-left:58.33333333%}
	.col-md-offset-6{margin-left:50%}
	.col-md-offset-5{margin-left:41.66666667%}
	.col-md-offset-4{margin-left:33.33333333%}
	.col-md-offset-3{margin-left:25%}
	.col-md-offset-2{margin-left:16.66666667%}
	.col-md-offset-1{margin-left:8.33333333%}
	.col-md-offset-0{margin-left:0}
}


/* TOOLTIP */
.tooltip-inner {
   /* max-width: 250px;*/ /* максимальная ширина подсказки (по умолчанию 200px) */
    color: #fff; /* цвет шрифта */
    background-color: #17a2b8; /* цвет фона (по умолчанию #000) */
    border-radius: 0.25rem; /* радиус скругдения углов */
}



.site-title {
	font-size: 16px;
}




/* Только десктопы */
@media (max-width: 768px) {
	.page .site-content aside {
		margin-top: 85px;
	}
	
	.page .page {
   		margin-top: 86px;
	}
}