/**
Synapse - adaptive theme
.col-xs- <544px Extra small
.col-sm- ≥544px Small
.col-md- ≥768px Medium
.col-lg- ≥992px Large
.col-xl- ≥1200px Extra large
Gutter width	1.875rem / 30px (15px on each side of a column)
*/
/** Main Bootstrap Defaults */
@font-face {
    font-family: 'oranienbaumregular';
    src: url('../font/oranienbaum/oranienbaum-webfont.eot');
    src: url('../font/oranienbaum/oranienbaum-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/oranienbaum/oranienbaum-webfont.woff2') format('woff2'),
         url('../font/oranienbaum/oranienbaum-webfont.woff') format('woff'),
         url('../font/oranienbaum/oranienbaum-webfont.ttf') format('truetype'),
         url('../font/oranienbaum/oranienbaum-webfont.svg#oranienbaumregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

html,
body {
  height: 100%;
}
.page-wrapper {
  position: relative;
  min-height: 100%;
}

#main {
  padding: 40px 0 0px 0;
  overflow: hidden;
}
/* 
#footer-content {
  padding: 0 0 214px 0;
}

@media (min-width: 768px) {
  #footer-content {
    padding: 0 0 160px 0;
  }
}

.footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
} */

html {
  font-size: 16px;
}
body {
  font-family: Verdana, Helvetica,Arial,sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #252525;
  background-color: #fff;
}
body.modal-open {
  overflow: inherit;
  padding-right: 0 !important;
}
a {
  color: #4a9bd0;
  text-decoration: underline;
}
a:hover{
  text-decoration: none;
  color: #4a9bd0;
}

a:focus,
button:focus {
  outline: none !important;
}

/** Headers */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.1;
  color:#242424;
  font-family: 'oranienbaumregular';
}

h1 {
  font-size: 50px;
  line-height: 50px;
  margin: 0 0 50px 0;
}

h2 {
  font-size: 40px;
  line-height: 40px;
  margin: 0 0 22px 0;
}

h3 {
  font-size: 30px;
  line-height:30px;
  margin: 0 0 15px 0;
}

h4 {
  font-size: 24px;
  line-height: 24px;
  margin: 0 0 15px 0;
}

h5 {
  font-size: 22px;
  line-height: 26px;
  margin: 0 0 15px 0;
}

.path-node.node--type-image h1,
.path-node.node--type-news h1,
.path-node.node--type-hram h1,
.path-node.node--type-relics h1,
.path-node.node--type-ikona h1,
.path-node.node--type-sector h1 {
  font-size: 40px;
  line-height: 40px;
  margin: 0 0 22px 0;
}

.path-search h1 {
  font-size: 40px !important;
  line-height: 40px !important;
  margin: 0 0 15px 0 !important;
}

.path-search h2 {
  font-size: 40px !important;
  line-height: 40px !important;
  margin: 30px 0 40px 0 !important;
}

@media (min-width: 992px) {
  h1 {
    font-size: 100px;
    line-height: 75px;
    margin: 0 0 50px 0;
  }

  h2 {
    font-size: 75px;
    line-height: 75px;
    margin: 0 0 22px 0;
  }
  h3 {
    font-size: 30px;
    line-height: 30px;
    margin: 0 0 15px 0;
  }
  h4 {
    font-size: 24px;
    line-height: 24px;
    margin: 0 0 15px 0;
  }

  h5 {
    font-size: 22px;
    line-height: 26px;
    margin: 0 0 15px 0;
  }

  .path-node.node--type-image h1,
  .path-node.node--type-news h1,
  .path-node.node--type-hram h1,
  .path-node.node--type-relics h1,
  .path-node.node--type-ikona h1,
  .path-node.node--type-sector h1,
  .path-search h1,
  .path-search h2 {
    font-size: 56px;
    line-height: 62px;
    margin: 0 0 22px 0;
  }
}


/** Tables */
table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 14px;
  color: #565656;
}

table th,
table td {
  padding: 17px 20px;
  line-height: 1.5;
  vertical-align: middle;
  border-bottom: 1px solid #2e2e2e;
}
/*table tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}*/
table thead th {
  vertical-align: middle;
  border: 2px solid #2e2e2e;
  text-transform: uppercase;
}


table table {
  background-color: #fff;
}
blockquote {
  background: url(../images/blockquote.png) no-repeat 18px 22px #e0e0e0;
  color: #252525;
  font-size: 16px;
  padding: 15px 15px 15px 65px;
  margin: 25px 0;
}

.align-right {
  margin-left: 10px;
  margin-bottom: 15px;
}
.align-left {
  margin-right: 10px;
  margin-bottom: 15px;
}
img.text-xs-left{
  float: left;
  margin-right: 10px;
  margin-bottom: 15px;
}
img.text-xs-center{
  width: 100%;
  height: auto;
  margin: 10px 0;
}

.ui-dialog-titlebar-close {
  background: url(../images/icon-close.png) no-repeat 0 0 !important;
  width: 15px !important;
  height: 15px !important;
}

.field--name-body p {
  /*overflow: hidden;*/
  margin: 0 0 27px 0;
}

.caption.caption-img figcaption {
  text-align: center;
  font-family: Arial;
  font-style: italic;
  margin: 10px 0 0 0
}

.text-formatted.field--type-text-long img,
.field--name-body img,
.text-formatted.field--type-text-long .caption-img,
.field--name-body .caption-img {
  max-width: 100%;
  height: auto;
}

.text-formatted.field--type-text-long .caption-img img,
.field--name-body .caption-img img{
  width: 100% !important;
  height: auto;
}

@media (max-width: 768px) {
  .text-formatted.field--type-text-long img,
  .field--name-body img,
  .text-formatted.field--type-text-long .caption-img,
  .field--name-body .caption-img {
    width: 50%;
  }
}


.field--name-body ol {
  counter-reset: item;
  padding: 0;
}

.field--name-body ol li {
  display: block;
  padding: 0 0 25px 35px;
  position: relative;
}

.field--name-body ol li:before {
  content: counter(item) ". ";
  counter-increment: item;
  font-family: 'oranienbaumregular';
  font-size: 30px;
  position: absolute;
  top: 0;
  left: 0;
}

.breadcrumb {
  background: none;
  border-radius: 0;
  font-size: 20px;
  font-family: 'oranienbaumregular';
  border-bottom: 1px solid #dddcdc;
  padding: 0 0 40px 0;
  margin: 0 -15px 55px 0px;
}
.breadcrumb a {
  color: #242424;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #4a9bd0;
}
.breadcrumb li:before {
  content: "";
  height: 20px;
  width: 2px;
  background: #1a1a00;
  display: inline-block;
  position: relative;
  left: -12px;
  top: 4px;
  margin-top: -10px;
}

.breadcrumb li {
  margin: 0 0 0 26px;
  position: relative;
}

.breadcrumb li:first-child {
  margin: 0;
}

@media (min-width: 768px) {
  .breadcrumb {
    background: none;
    border-radius: 0;
    font-size: 30px;
    font-family: 'oranienbaumregular';
    border-bottom: 1px solid #dddcdc;
    padding: 0 0 40px 0;
    margin: 0 -15px 55px -15px;
  }

  .breadcrumb ol li:first-child a {
    background: url(../images/breadcrumb.png) no-repeat 15px 9px;
    padding: 0 0 0 80px;
  }
  .breadcrumb ol li:first-child a:hover {
    background: url(../images/breadcrumb-active.png) no-repeat 15px 9px;
  }

  .breadcrumb li {
    margin: 0 0 0 60px;
    position: relative;
  }

  .breadcrumb li:before {
    content: "";
    height: 20px;
    width: 2px;
    background: #1a1a00;
    display: inline-block;
    position: relative;
    left: -33px;
    top: 2px;
    margin-top: -10px;
  }
}

::-webkit-input-placeholder {color:#000 !important;}
::-moz-placeholder          {color:#000 !important;}/* Firefox 19+ */
:-moz-placeholder           {color:#000 !important;}/* Firefox 18- */
:-ms-input-placeholder      {color:#000 !important;}

.modal-dialog h4 {
  text-align: center;
  font-size: 35px;
  line-height: 35px;
  margin: 0;
}


.pager {
  text-align: center;
  margin: 40px 0;
  padding: 0;
}

.pager ul {
  margin: 0;
}

.pager .page-item {
  display: inline-block;
  padding: 0;
  border: 0;
  vertical-align: middle;
}

.pager .pager__item--last,
.pager .pager__item--first {
  display: none;
}

.pager a {
  border: 0;
  color: #242424;
  font-size: 48px;
  line-height: 48px;
  text-decoration: none;
  font-family: 'oranienbaumregular';
  border-radius: 0;
  padding: 0 15px;
}

.pager .is-active a,
.pager a:hover {
  color: #707070;
  text-decoration: underline;
  background: none;
}

.pager .pager__item--next {
  margin: 0 0 0 90px;
}

.pager .pager__item--next a {
  background: url("../images/slider-nav.png") no-repeat scroll -39px 0;
  width: 34px;
  height: 22px;
  text-indent: -9999px;
  overflow: hidden;
  padding: 0;
}

.pager .pager__item--previous {
  margin: 0 90px 0 0;
}

.pager .pager__item--previous a {
  background: url("../images/slider-nav.png") no-repeat scroll 0px 0;
  width: 34px;
  height: 22px;
  text-indent: -9999px;
  overflow: hidden;
  padding: 0;
}

.pager .pager__item--next,
.pager .pager__item--previous {
  display: none;
}

@media (min-width: 768px) {
  .pager .pager__item--next,
  .pager .pager__item--previous {
    display: inline-block;
  }
}

.not-logged-in .region-messages {
  display: none;
  margin: 0;
  padding: ;
}

.ajax-progress {
  background: url(../images/loading.gif) no-repeat -112px -171px !important;
  height: 66px;
  width: 66px;
  text-indent: -9999px;
  overflow: hidden;
}
