@import url(https://fonts.googleapis.com/css?family=Raleway:800|Open+Sans:400italic,700italic,400,700&subset=latin,latin-ext);

* {
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  margin:0;
  padding:0;
  border:0;
  text-decoration:none;
}

i, cite, em, var, address, dfn {
font-style: italic;
}

*:focus {
	outline: 0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

article.vevent { overflow: hidden; }
article.vevent figure { display: none; }

figure { overflow: hidden; }

// aspect ratio

[style*="--aspect-ratio"] > :first-child {
  width: 100%;
}
[style*="--aspect-ratio"] > img {  
  height: auto;
} 
@supports (--custom:property) {
  [style*="--aspect-ratio"] {
    position: relative;
  }
  [style*="--aspect-ratio"]::before {
    content: "";
    display: block;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
  }  
  [style*="--aspect-ratio"] > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }  
}

.error {
  color:#b22 !important;
}

a {
  color:#1800A3;
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
}

del, s, strike {
    text-decoration: line-through;
}
.clearfix:after {
  content:"";
  display:block;
  clear:both;
}

/* LAYOUT */

html,body {
 background:#e6eaec;
 color:#333;
 font-family: 'Open Sans', sans-serif;
 font-size:13px;
 line-height:17px;
 line-height:140%;
 margin:0;
}
body {
}

body.resultpage {
  overflow:hidden;
}
body.frontpage {
 overflow-y:scroll;

}
.frontpage .wrapper {
  position:relative;
  margin: 0 auto;
  width:100%;
  padding:0px 30px;
}
#promo .wrapper {
  padding:0;
  width:100%;
}
.frontpage .wrapper:after {
  content:" ";
  display:block;
  clear:both;
}
.page #page-content {
  padding-top:60px;
}
.resultpage #page {
  x-webkit-transition:width 0.2s linear;
  overflow:hidden;
}
.resultpage header#page-header {
    margin-top: 40px;
    background: rgba(230,234,236,0.86);
    height: 50px;
    padding-top: 6px;
}
.single #page {
	width: 350px;
	xmax-width:25%;
}
.resultpage #page-content {
  position: absolute;
  top: 110px;
  left: 200px;
  right: 0px;
  bottom:0px;
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right:20px;
}
.single #page-content {
  top:130px;
  left:0px;
  margin-left:10px;
  width:340px;
  max-width:100%;
  right:auto;
}
@media all and (max-width:500px) {

  .resultpage #page {
	  width: 100%;
	  xmax-width:25%;
	 }
  .resultpage #page-content {
    top: 125px;
    left:0px;
    margin-left:10px;
    max-width:100%;
    right:5px;
    padding-right: 5px;
  }

}

/** FOOTER **/
#page-footer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    padding: 0 8px;
    z-index: 10001;
    color: #fff;
    font-size: 18px;
    background: #000;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
}

.powered-by {
    vertical-align: middle
}

.powered-by a {
    color: #e6eaec;
    font-size: 14px;
    border-right: solid 1px #474747;
    padding-right: 12px;
}

.powered-by a:last-child {
    border: none;
    padding-right: 0;
    margin-right: 0
}

.powered-by .fa {
    font-size: 18px;
}

.powered-by>* {
    vertical-align: middle;
    margin-right: 10px
}

.powered-by {
    float: right
}

.masterlink {
    color: #e6eaec;
    float: left;
    /* font-size:16px; */
    font-family: Raleway;
    line-height: 36px;
    display: block;
}
.masterlink img {
    height: 25px;
    vertical-align: middle;
}

.site-links {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    padding-left: 30px;
    white-space: nowrap;
    font-family: Raleway;
    overflow-x: scroll;
    scrollbar-width: none;
}
.site-links::-webkit-scrollbar { display: none; }
.site-links a {
    border-right: solid 1px #474747;
    padding-right: 12px;
    margin-right: 12px
}

.site-links a:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.link-imenik {
    color: white;
}

.link-novice {
    color: #C8624B;
}

.link-dogodki {
    color: #579a43;
}

.link-metaiskalnik {
    color: #d7cbb6;
}

.link-video {
    color: #78f;
}

.link-blog {
    color: #e90;
}

/* END footer */


/**   HEADER    **/

/* common */
.search-form {
  position:relative;
  color:#333;
}
.search-box {
  width:100%;
  color:#333;
  background:white;
	padding:2px;
  border:1px solid #999;
  border-radius: 3px;
  float:left;
}
.search-box[value=""] {
   background:transparent;
}
.search-form .submit-link {
  color: #666666;
  display: block;
  font-size: 20px;
  padding: 0px 6px 0px 10px;
  position: absolute;
  right: 4px;
  top: 8px;
  z-index: 1;
  cursor: pointer;
  background:transparent;
  border-left:1px solid #999;
}
#posts .slogan3,
#events .slogan3 {
    clear:both;
    display: none;
}
#posts  header h1,
#events  header h1,
#videos header h1 {
  float:left;
}
#posts .search-form,
#events .search-form {
    float: right;
    margin: 10px 0;
    width:220px;
    max-width:100%;
    display: none;
}

#events a, #videos a {
    color: #333;
}
#events h1 a {
    color: #579a43;
    font-weight:bold;
}
#videos h1 a {
    color: #52b;
    font-weight:bold;
}
#posts a {
    color: #b44a34;
    font-weight:bold;
}
#posts h1, #events h1 {
    font-weight:bold;
}

.ob-podpori:before {
  content:"";
  display:block;
  clear:both;
  width:100%;
  height:30px;
  border-bottom:2px solid #151515;
  margin-bottom:10px;
}
.ob-podpori {
  color:#151515;
  padding:10px 10px 5px;
  text-align:center;
  font-size:14px;
  margin-top:30px;
  clear:both;
}
.ob-podpori img {
  vertical-align:middle;
  margin:0px 5px 10px;
  height:50px;
  width:auto;
}
.ob-podpori img.ministry {
  padding:10px 15px;
  background:#efefef;
}

@media all and (max-width:960px) {
  #posts .search-form,
  #events .search-form { display:none}
  #posts  header h1,
  #events  header h1,
  #promo .leftCol h1  {
    margin-bottom:0 !important;
  }
}
@media all and (max-width:740px) {
  .slogan3 {font-size:14px !important; }
}
@media all and (max-width:768px) {
    #posts  header h1,
  #events  header h1,
  #promo .leftCol h1  {
    margin-top:5px !important;
  }
}

#page-header h1 a {
  display:block;
  color:#ada479;
  font-family: 'Raleway', sans-serif;
  text-align: right;
  margin-top: 3px;
}
#page-header h1 span {
 display:none;
}

.frontpage .colophon {
 position:absolute;
 top:10px;
 right:0;
 width:300px;
}

/* front page */
.frontpage #page-header {
margin: 0;
position: relative;
}

.frontpage #page-header h1 {
  position:absolute;
  max-width:70%;
  width:800px;
}
.frontpage #page-header h1 a {
  font-size: 25px;
  line-height: 40px;
  height: 40px;
  padding-left: 16px;
  border-radius: 3px;
	background: white;
}


.frontpage #search-form {
  max-width:100%;
  width:100%;
 float:left;
}
.search-box {
  font-size: 17px;
  line-height: 30px;
  height: 36px;
  font-family: Raleway,sans-serif;
}
.frontpage .search-box {
  font-size: 17px;
  line-height: 30px;
  height: 40px;
	padding-left:10px;
}

#posts .search-box , #events .search-box {
    border-color: #ccc;
    padding-right:44px;
    height:35px;
}
#posts .search-form .fa, #events .search-form .fa {
    border-color: #ccc;
    color: #666;
}
#posts .submit-link , #events .submit-link {
  top:6px;
}

.frontpage .slogan {
 xfont-style:italic;
 font-size:17px;
 line-height:20px;
 display: inline-block;
 vertical-align: middle;
 display:none;
}
x.slogan:before {
content: "“";
padding-right:5px;
xfont-size:30px;
xline-height:20px;
xfont-family:serif;
}
x.slogan:after {
content: "”";
xfont-size:30px;
xline-height:20px;
xfont-family:serif;
}


.beta {
  position: absolute;
  top: 73px;
  left: 135px;
  text-transform:uppercase;
  color:#b0a889;
}

.resultpage .beta {
  top: 34px;
  left: 144px;
}
.single .beta {
  top: 55px;
  left: 294px;
}
#promo {
width:100%;
text-align: center;
background: white;
margin-bottom:30px;
overflow:hidden;
}
#promo .leftCol {
  padding:20px 20px;
}
#promo .leftCol h1 {
  font-size:30px;
  font-family:'Raleway';
  margin:20px 0 30px;
}
#promo .leftCol h1 a {
  color:#b0a889;
}
#promo .rightCol {
  position:relative;
  height:100%;
  background:#6adcad;
  text-align:center;
  max-height:360px;
  padding:0;

}
#promo .video-wrap {
  width:100%;
  position:relative;
}
.video-wrap-inner {
    width: 100%;
  height:0;
  padding-bottom:56.2%;
}
#promo iframe {
  position:absolute;
  top:0; left:0;
  height: 100%;
  width:100%;
}

}

/* result page header */

.resultpage #page-header {
  xposition:fixed;
  xtop:0;
  xleft:0px;
  xright:0;
  z-index:101;
  color:#666;
  padding:45px 0 32px 0px;
  background:none;
  xbox-shadow:0 0 6px 4px #e6eaec;
  height:90px;
  vertical-align:top;
  x-webkit-transition:height 0.2s linear,padding-top 0.2s linear;
}

.resultpage #page-header h1 {
	float:left;
	width: 183px;
	margin-left: 10px;
margin-right:7px;
	overflow:hidden;
  x-wfebkit-transition:width 0.2s linear;
}
.resultpage #page-header h1 a {
	font-size: 30px;
	line-height: 1;
	height: 30px;
  x-wfebkit-transition:letter-spacing 0.2s linear;
}

.resultpage #search-form {
  position:relative;
  float:left;
  width:700px;
  max-width:55%;
  vertical-align:top;
  x-wfebkit-transition:width 0.3s linear;
}
.resultpage #search-box {
  font-size:16px;
  line-height:18px;
  padding-left:8px;
}
.resultpage #search-form .submit-link {
  font-size: 16px;
  top: 4px;
  line-height: 14px;
  right: 0;
  padding: 1px 7px 2px 5px;
}

.resultpage .slogan {
	display:none;
}


/*   single page header */
x.single #page-header {
	height: 70px;
	padding-top:15px;
	padding-left:0px;
}
.single #page-header h1 {
	width: 25px;
}
.single #page-header h1 a {
	letter-spacing: 10px;
	font-size: 29px;
}
.single #search-form .submit-link {
	display:none;
}

@media all and (max-width:500px) {
  .resultpage #page-header h1 {
	  width: 25px;
  }
  .resultpage #page-header h1 a {
	  letter-spacing: 10px;
	  font-size: 29px;
  }
  .resultpage #search-form .submit-link {
	  display:none;
  }
}

/*****  PAGE CONTENT *****/


ol.menu {
  display:inline-block;
  list-style:none;
  padding-left:10px;
}
#top-menu {
	bottom: 20px;
	left: 10px;
	margin-left: 0;
	overflow-y: auto;
	position: absolute;
	top: 90px;
	x-wfebkit-transition: margin 0.2s linear 0s;
	width: 170px;
	z-index: 105;
}
#top-menu h2 {
  margin:0px 0 17px 0;
  font-size:11px;
  line-height:20px;
  font-weight:normal;
  padding-left:10px;
  text-transform:uppercase;
}
#top-menu h2 i {
  display:none;
}
#top-menu h2:after,
#top-menu h2:before {
  content:" ";
  display:block;
  height:0px;
  width:100%;
  margin:0 -10px;
  border-top:1px solid #999;
  border-bottom:1px solid #fff;
}

#bottom-menu {
    position:absolute;
    right: 10px;
    bottom:0;
}
.menu li a{
  font-size:14px;
  line-height:25px;
  margin-bottom:5px;
  xfont-weight:bold;
  color:#b4b4b4;
}
.menu li a.active {
  cursor:pointer;
  color:rgb(73, 72, 62);
}

.menu li a.empty {
  display:none;
}

section.empty {
  height:0;
  margin:0;
  padding:0;
  overflow:hidden;
}

#top-header {
  position:absolute;
  top:90px;
  left:200px;
  right: 0;
  z-index:2000;
}

section {
  padding-bottom:60px;
}

xsection.hits:first-child,xsection:target {
  padding-top:0px;
}

xsection.empty:first-child {
  padding-top:50px;
}

.datasource-header h1 {
  font-size:16px;
  line-height:28px;
  background:#b0a889;
  padding:0 10px;
  color:white;
  border-radius:3px;
  position: relative;
  width: calc(100% - 30px);
  height: 28px;
}
.datasource-header h1 span {
  width: calc(100% - 30px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block







}
@media all and (max-width:500px) {
  .datasource-header h1 span {
    width: calc(100% - 30px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block





  }
}
.datasource-header h1 .counter {
  margin-right:30px;
  font-weight:normal;
  font-size:13px;
}
.datasource-header h1 small {
  float: right;
  font-weight:normal;
  margin-left:10px;
  font-size:11px;
  line-height:24px;
  right: 10px;
}
.datasource-header h1 .source-info {
  display:none;
}
.datasource-header h1 .counter {
  display: none;
}

.results {
  margin-left:10px;
}
section h2 {
  font-size:16px;
  font-weight:normal;
  font-family: Raleway,sans-serif;
  margin-bottom:6px;
  line-height:20px;
}
section h2 a {
  line-height:20px;
}

figure {
  margin:5px 10px 4px 0px;
  xheight:100px;
  xwidth:auto;
  float:left;
  position:relative;
}

.type-video figure {
  max-width:100%;
}
figure:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 10;
//  box-shadow: 0 0 7px rgba(0,0,0,0.4) inset;
  border-radius: 3px;
}
figure img {
  display:block;
  border-radius: 3px;
  max-width:100%;
  xheight:auto;
}
figure a {
  display:block;
}

code {
 display:block;
 border:1px dashed grey;
 background:#dfdfdf;
 padding:10px;
 overflow:auto;
 font-family:monospace;
 font-size:16px;
 line-height:1.75em;
}

h3 small {
  color: #555;
  font-weight:normal;
  font-size:75%;
}

.result {
  clear:both;
  padding-top:16px;
  float:left;
  width:23.5%;
  min-width:240px;
  max-width:320px;
border-bottom: 1px solid #ccc;
padding-bottom: 16px;
}
.overflow .result:nth-child(n+22) {
  display:none;
}
x.result:target,
x.result.selected {
  padding-top:0;
  border-top:25px solid #e6eaec;
  padding-left:10px;
  margin-left:-10px;
  background:white !important;
}
.result.selected h2 {
  text-decoration:underline;
  font-weight:bold;
}

.type-video figure,
.type-image figure {
    max-width: 50%;
    overflow: hidden;
    border-radius: 3px;
    xheight:240px;
    position:relative;
    text-align: center;
    line-height:0;
}
.type-video figure span,
.type-image figure span {
    position:relative;
    text-align: center;
    display: block;
    left: -50%;
    right: -50%;
    width: 200%;
}
.type-video figure img,
.type-image figure img {
    display:inline
}

.type-video figure {
	height:150px;
}

.result.type-video {
  xwidth:320px;
}

.result.type-video figure {
  position:relative;
}
.result.type-video figure img {
  border-radius:3px;
}
.result.type-video figure:before {
  content:" ";
  position:absolute;
  left:0;top:0; height:25px; right:0;
  background:url(/static/video-marker.png) left top repeat-x;
  z-index:2;
  border-radius:3px;
}
.result.type-video figure:after {
  content:" ";
  position:absolute;
  top:auto;left:0;bottom:0; height:25px; right:0;
  background:url(/static/video-marker_down.png) left bottom repeat-x;
  z-index:2;
  border-radius:3px;
}
.result.type-video figure a {
 display: block;
}
.item time {
  font-weight:bold;
  display:block;
}
.description {
  margin-top:5px;
}
.publisher {
  font-size: 12px;
  display: block;
  line-height: 1;
  font-style: italic;
  margin-bottom: 8px;
}

.result:hover .page-preview {
  display:block;
}

.buttonbar {
    padding-top: 4em;
}

.buttonbar button {
    font-size: 100%;
    cursor: pointer;
    background: gray;
    color: white;
    padding: 0.5em 1em;
    border-radius: 4px;
    margin-bottom: 4px;
}

button:focus { alpha: 0.9; }

button.search_news { background: #8f4730; }
button.search_news:focus { background: #8f4730bb;  }
button.search_events { background: #4f8244; }
button.search_events:focus { background: #4f8244bb; }
button.search_video { background: #4422bb; }
button.search_video:focus { background: #4422bbbb; }
button.search_collections { background: #b0a889; }
button.search_collections:focus { background: #b0a889bb; }

button.continue {
padding: 9px 15px;
background: white;
position: absolute;
left: 0;
bottom: -45px;
font-size: 13px;
display: block;
clear: both;
}

button.continue i {
 margin-left:4px;
 display:none;
}
button.continue.loading i {
 display:inline-block;
}

button.continue.loading {
  opacity:0.65;
}

.tabs {
  overflow:hidden;
  font-size:20px;
  text-align:center;
  margin-bottom:-10px;
}
.tabs:after {
  content:"";
  display:block;
  clear:both;
}
.tabs>a {
  width:33.3%;
  margin:0;
  float:left;
  padding:60px 0 0px;
  color:#333;
  display:block;
  position:relative;
  text-decoration:none;
}
.tabs li {
	margin-left:20px;
}
x.close-tab:before,
.tabs>a:target:after {
    content:"";
    color: #ccc;
    position:absolute;
    bottom:-11px;
    -webkit-transform:rotate(45deg);
    transform:rotate(45deg);
    border-bottom:1px solid;
    border-right:1px solid;
    width:20px;
    height:20px;
    background:#e6eaec;
    z-index:1
}
x.close-tab:before {
     -webkit-transform:rotate(-135deg);
    transform:rotate(-135deg);
}
.tabs>a h1 {
  border-left:1px solid #ccc;
  text-transform:uppercase;
  padding-bottom:20px;
}
.tabs>a:first-child h1 {
  border:none;
}

.tabs>a h1 {
    font-size: 18px;
    font-weight: normal;
}
@media all and (max-width:479px) {
  .tabs>a h1 { font-size:16px}
}
@media all and (max-width:760px) {
  .tabs>a h1 b { display:block}
}
.tab-content {
    xdisplay: none;
    clear:both;
    font-size:15px;
    line-height:1.7;
    margin:0;
    padding:20px 0px;
    border-top:1px solid #ccc;
    color:#666;
}
.tab-content>div {
    height:0;
    overflow:hidden;
    transition:height 0.5s linear;
 }
.tab-content>div>div {
    background:transparent;
    padding-bottom:20px;
}

.tab-content h2 {
  font-size:20px;
  padding-bottom:0.25em;
}

.tabs>a i {
  display:none;
}
.tabs>a:target i {
  display:block;
}
.close-tab {
    display:none;
    color: #ccc;
    margin-top: 10px;
    position:relative;
}
.close-tab:after {
    height:1px;
    content:"";
    display:block;
    width:100%;
    background:#ccc;
    position:absolute;
    top:0px;
}
.close-tab i {
  display:inline-block;
}

a:target ~ .tab-content .close-tab {
  display:block;
}
#kaj:target ~ .tab-content .kaj,
#kdo:target ~ .tab-content .kdo,
#postani:target ~ .tab-content .postani {
  xdisplay:block;
  height:auto;
}

.doubleCol {
  text-align:left;
    background:white;
    padding:20px;
}
.rightCol,
#events, #videos {
    width:calc(50% - 15px);
    text-align:left;
    float:right;
    xclear:right;
    background:white;
    padding:20px 20px;
}
.leftCol,
#posts {
    width:calc(50% - 15px);
    text-align:left;
    float:left;
    xclear:both;
    background:white;
    padding:20px 20px;
}

#events, #posts, #videos {
    margin-bottom: 30px;
}

.slogan1,
.slogan2 {
  font-weight:bold;
  color:white;
  line-height:1.5;
}
.slogans {
  font-size:2.66vw;
  line-height:1.5em;
  vertical-align:middle;
}
  x#promo .flip {
    xdisplay:none;
  }
  x#promo .active {
    xdisplay:block;
  }
  .slogan3 {
    font-size:15px;
    line-height:1.5;
    margin:0.6em 0 1em 0;
    color:#666;
    display:block;
    font-style:italic;
  }

@-webkit-keyframes breathing {
  0% {
    color: #b3a889;
  }
  42%{ /* 400ms */
    color: #fff;
  }
  62%{ /* 400ms */
    color: #fff;
  }
  88% { /* 1400ms */
    color: #b3a889;
  }
  /* quiet period */
  100% { /* 1800ms */
    color: #b3a889;
  }
}
@-moz-keyframes breathing {
  0% {
    color: #b3a889;
  }
  42%{ /* 400ms */
    color: #fff;
  }
  62%{ /* 400ms */
    color: #fff;
  }
  88% { /* 1400ms */
    color: #b3a889;
  }
  /* quiet period */
  100% { /* 1800ms */
    color: #b3a889;
  }
}
@keyframes breathing {
  0% {
    color: #b3a889;
  }
  42%{ /* 400ms */
    color: #fff;
  }
  62%{ /* 400ms */
    color: #fff;
  }
  88% { /* 1400ms */
    color: #b3a889;
  }
  /* quiet period */
  100% { /* 1800ms */
    color: #b3a889;
  }
}
.slogan2 {
    color: white;
/* #b3a889;
    animation-name: breathing;
    animation-iteration-count: infinite;
    animation-duration: 3s;
    xanimation-delay: 1s;
    -webkit-animation-name: breathing;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 3s;
    x-webkit-animation-delay: 1s;
    -moz-animation-name: breathing;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 3s;
    x-moz-animation-delay: 1s;
*/
   margin-top:0.5em;
}
.sources ol {
  margin:20px 30px;
}

.sources li {
  margin:5px 0;
}
.sources li.disabled {
  color:#999;
}

.static h1,
.sources header h1 {
  font-size:24px;
  line-height:30px;
  position:relative;
  padding-left:10px;
  padding-bottom:3px;
  font-weight:normal;
  clear:both;
}

#events header h1 ,
#videos header h1 ,
#posts header h1  {
  font-size:30px;
  font-family:'Raleway';
  margin:20px 0px;
}

.static h1:after,
.sources header:after {
  content:" ";
  display:block;
  height:0px;
  width:100%;
  margin:0 0px 20px;
  border-top:1px solid #999;
  border-bottom:1px solid #fff;
}
.static h1:after {
  margin-left:-10px;
}

.static p {
  margin-bottom:1em;
  margin-left:10px;
}
.static ul {
  margin-left:40px;
  margin-bottom:1em;
}

#events header a {
  color:#4f8244;
}
#videos header a {
    color:#42b;
}
#posts header a {
  color:#8f4730;
}

.static h2,
#posts h2,
#events h2,
#videos h2 {
  font-size:14px;
  line-height:24px;
  background:#b0a889;
  padding:0 10px;
  color:white;
  border-radius:3px;
  margin-bottom:10px;
  font-weight:bold;
}
#posts h2 {
  background:#8f4730;
}
#events h2 {
  background:#4f8244;
}

.item {
    clear:both;
    margin:0 0px 16px;
border-bottom: 1px solid #e6eaec;
padding-bottom: 16px;
    display:block;
    float:left;
    hyphens:auto;
    -webkit-hyphens:auto;
    -moz-hyphens:auto;
    -ms-hyphens:auto;
    width:100%;
}
.gutter { width:2%; width:1.9%; }

#events .item { padding-bottom:18px; }
#events .item figure { width: 100%; height: auto; }
#events .item figure img { width: 100%; height: auto; }

#videos .item figure { width: 100%; height: auto; background: black; }
#videos .item figure img { width: 100%; object-fit: cover; }

.item:after { content:" "; display:block; clear:both; height:0px; }
.item h1 {
  font-size:14px;
  font-weight:normal;
  margin-bottom:4px
}
.human_date {
  font-weight:bold;
  display:block;
  margin-bottom:3px;
}
.item .description {
  xtext-align:justify;
}

/* SINGLE VIEW */

.single .datasource-header h1 {
 width:320px;
 max-width:100%;
}

.single #top-header {
	position: absolute;
	top: 110px;
	left: 10px;
	right: auto;
	width:320px;
	max-width:100%;
	z-index: 20000;
}
.single .counter,
.single .src-link a {
  display:none;
}
#single-result {
  position:absolute;
  right:0px;
  top: 109px;
  width:0;
  x-height:0;
  bottom:0;
  -webkit-transition:width 0.3s ease-out;
  background:#fff;
  overflow:auto;
  border:1px solid #ccc;
  -webkit-overflow-scrolling: touch;
}

#single-result-frame {
  width:100%;
  height:100%;
  float:left;
}
.opened #single-result {
  -webkit-transition:none;
}


.single #search-form {
  max-width:100%;
  width:290px !important;
  margin-left:0 !important;
  position:static !important;
}
.single #page section {
  padding-top:0;
}
.single .result {
  width:320px;
  max-width:100%;
}

.single-result-head {
    position: absolute;
    right: 0px;
    top: 37px;
    z-index: 300;
    padding-top: 13px;
    padding-left: 0px;
    width: 0;
    height: 70px;
    overflow:hidden;
    -webkit-transition:width 0.3s ease-out;
    background:#e6eaec;
}
.opened .single-result-head {
	-webkit-transition:none;
   padding-left:50px;
}
#single-close-button {
    position: absolute;
    left: 20px;
    top: 12px;
    font-size: 30px;
    text-decoration: none !important;
    color:#666666;
    display:none;
}
.single #single-close-button {
  display:block;
}
#single-result-title {
font-size: 22px;
text-decoration: none;
color: #666;
line-height: 25px;
vertical-align: top;
white-space: nowrap;
text-overflow: ellipsis;
float: left;
max-width: 100%;
padding-right: 50px;
padding-left:10px;
overflow: hidden;
}
#single-result-title:hover {
 text-decoration:underline;
}
#single-result-title i {
  font-size:14px;
  vertical-align:top;
}
#single-result-url {
margin-top: 6px;
font-size: 14px;
width:100%;
display:block;
padding-right:60px;
padding-left:10px;
background:none;
text-overflow: ellipsis;
float: left;
max-width: 100%;
overflow: hidden;
}
.single #top-menu li{
    display:inline-block;
}
.single #top-menu li a.active {
    padding-right:8px;
}
.single #top-menu {
margin: 3px 15px 0 0;
background: white;
height: auto;
position: relative;
top: 0;left: 0;bottom: auto;


z-index: 30000;
background: none;
text-align:right;
padding-right:5px;
color: black;
clear: both;float: right;}
.single #top-menu h2 {
    margin:0;
    text-transform:none;
    color: black;
    font-size: 14px;
}
.single #top-menu h2 i {
  display:inline-block;
}
.single #top-menu h2:before,
.single #top-menu h2:after {
    content:none;

}
.single #top-menu .menu {
    padding:0 10px 10px  10px;
    display:none;
}
.single #top-menu:hover h2 {
		color:black;
}
.single #top-menu:hover {
    background:white;
}
.single #top-menu:hover .menu {
  display:block;
}

@media all and (max-width:500px) {

.results {
  margin-left:0px;
}
.resultpage .datasource-header h1 {
 width: 100%;
 max-width:100%;
}

.resultpage #top-header {
	position: absolute;
	top: 110px;
	left: 10px;
	right: 10px;
	/* width: 100%; */
	max-width:100%;
	z-index: 20000;
}
.resultpage .counter,
.resultpage .src-link a {
  /* display:none; */
}
.resultpage #single-result {
  display:none;
}


.resultpage #search-form {
  max-width:100%;
  width: calc(100% - 52px) !important;
  margin-left:0 !important;
  position:static !important;
}
.resultpage #page section {
  padding-top:0;
}
.resultpage .result {
  width: 100%;
  max-width:100%;
}

.single-result-head {
    position: absolute;
    right: 0px;
    top: 37px;
    z-index: 300;
    padding-top: 20px;
    padding-left: 0px;
    width: 0;
    height:90px;
    overflow:hidden;
    -webkit-transition:width 0.3s ease-out;
    background:#e6eaec;
}
.opened .single-result-head {
	-webkit-transition:none;
   padding-left:50px;
}
.resultpage #single-close-button {
    position: absolute;
    left: 20px;
    top: 27px;
    font-size: 30px;
    text-decoration: none !important;
    color:#666666;
display:none;
}
.resultpage #single-close-button {
  display:block;
}
.resultpage #single-result-title {
display:none;
}
.resultpage #top-menu li{
    display:inline-block;
}
.resultpage #top-menu li a.active {
    padding-right:8px;
}
.resultpage #top-menu {
margin: 3px 15px 0 0;
background: white;
height: auto;
position: relative;
top: 0;left: 0;bottom: auto;


z-index: 30000;
background: none;
text-align:right;
padding-right:5px;
color: black;
clear: both;float: right;}
.resultpage #top-menu h2 {
    margin:0;
    text-transform:none;
    color: black;
    font-size: 14px;
}
.resultpage #top-menu h2 i {
  display:inline-block;
}
.resultpage #top-menu h2:before,
.resultpage #top-menu h2:after {
    content:none;

}
.resultpage #top-menu .menu {
    padding:0 10px 10px  10px;
    display:none;
}
.resultpage #top-menu:hover h2 {
		color:black;
}
.resultpage #top-menu:hover {
    background:white;
}
.resultpage #top-menu:hover .menu {
  display:block;
}

}
  #promo .wrapper {
  	padding:0 0px;
  	max-width:100%;
  }

#promo h1 small,
header h1 small {
    font-size: 60%;
}


@media (max-width: 660px) {
  .video-wrap {
    display: none;
  }
}

@media (min-width: 481px)  and (max-width: 660px) {
  #promo .leftCol,#promo .rightCol {
    float:none;
    width:100%;
  }
  .rightCol:after,
  .leftCol:after {
    content:" ";
    display:block;
    clear:both;
  }
  body,
  .frontpage .wrapper,
  .frontpage #page {
    min-width:480px;
  }
  #promo .rightCol {
  	text-align:center;
  }
 #promo iframe {
  width: 100%;
  }
  #promo .slogan1,#promo .slogan2 {
  	font-size:4vw;
  	display:inline;
  	margin-top:0;
  	line-height:2.5;
  }
  #promo .slogan1 {
    margin: 0;
  }

  .frontpage #page-header h1,
  .frontpage #search-form {
    width:100%;
    max-width:100%;
    margin-left:0;
  }

	.resultpage #search-form {
		position:absolute;
		left:200px;
		right:34px;
		width:auto;
		max-width:100%;
	}

}

@media (min-width: 661px) and (max-width: 1023px) {
  body,
  .frontpage .wrapper,
  .frontpage #page {
    min-width:660px;
  }
  .page .wrapper {
    padding:0px 30px;
  }
  .frontpage #page-header h1,
  .frontpage #search-form {
    width:100%;
    max-width:100%;
    margin-left:0;
  }
  #promo .video-wrap {
    max-width:450px;
  }
	.result {
    width:49%;
	}
	.resultpage #search-form {
		position:absolute;
		left:200px;
		right: 30px;
		width:auto;
		max-width:100%;
	}

}

@media (min-width: 1024px) and (max-width: 1539px) {
body,
  .frontpage .wrapper,
  .frontpage #page {
  x-min-width:1024px;
}
  #promo .video-wrap {
    max-width:450px;
  }
	.item {
    width:49%;
	}
}

@media (min-width: 1540px) {

  .page .wrapper,
  .frontpage .wrapper {
    padding:0 60px;
  }
	.item {
    width:32%;
	}
	#promo .video-wrap {
    max-width:450px;
  }

}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
  body,
  .frontpage .wrapper,
  .frontpage #page {
    x-min-width:1024px;
  }
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
  body,
  .frontpage .wrapper,
  .frontpage #page {
    x-min-width:660px;
  }
	#promo iframe {
		width: 100%;
	}
}


/*

github.com style (c) Vasily Polovnyov <vast@whiteants.net>

*/

.hljs {
  display: block; padding: 0.5em;
  color: #333;
  background: #f8f8f8;
}

.hljs-comment,
.hljs-template_comment,
.diff .hljs-header,
.hljs-javadoc {
  color: #998;
  font-style: italic
}

.hljs-keyword,
.css .rule .hljs-keyword,
.hljs-winutils,
.javascript .hljs-title,
.nginx .hljs-title,
.hljs-subst,
.hljs-request,
.hljs-status {
  color: #333;
  font-weight: bold
}

.hljs-number,
.hljs-hexcolor,
.ruby .hljs-constant {
  color: #099;
}

.hljs-string,
.hljs-tag .hljs-value,
.hljs-phpdoc,
.tex .hljs-formula {
  color: #d14
}

.hljs-title,
.hljs-id,
.coffeescript .hljs-params,
.scss .hljs-preprocessor {
  color: #900;
  font-weight: bold
}

.javascript .hljs-title,
.lisp .hljs-title,
.clojure .hljs-title,
.hljs-subst {
  font-weight: normal
}

.hljs-class .hljs-title,
.haskell .hljs-type,
.vhdl .hljs-literal,
.tex .hljs-command {
  color: #458;
  font-weight: bold
}

.hljs-tag,
.hljs-tag .hljs-title,
.hljs-rules .hljs-property,
.django .hljs-tag .hljs-keyword {
  color: #000080;
  font-weight: normal
}

.hljs-attribute,
.hljs-variable,
.lisp .hljs-body {
  color: #008080
}

.hljs-regexp {
  color: #009926
}

.hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.lisp .hljs-keyword,
.tex .hljs-special,
.hljs-prompt {
  color: #990073
}

.hljs-built_in,
.lisp .hljs-title,
.clojure .hljs-built_in {
  color: #0086b3
}

.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-doctype,
.hljs-shebang,
.hljs-cdata {
  color: #999;
  font-weight: bold
}

.hljs-deletion {
  background: #fdd
}

.hljs-addition {
  background: #dfd
}

.diff .hljs-change {
  background: #0086b3
}

.hljs-chunk {
  color: #aaa
}

.more {
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 30px;
}

#events .more {
    color: #35572d;
}

#videos .more {
    color: #42b;
}

#posts .more {
    color: #633121;
}

.meta #page {
  max-width:1024px;
  margin:0 auto;
}
.meta .tabs {
  display:none;
}
.meta .leftCol,.meta .rightCol {
  width:100% !important;
  margin:80px 0 0;
}
.meta #promo {
  background:transparent;
}
.meta .video-wrap {
  max-width:640px !important;
  margin:0 auto;
}


@media (max-width: 790px) {
    

    .slogan3 {
        font-size:14px!important
    }

    .hamburger {
        display: block!important;
        float: right;
        cursor: pointer
    }

    .powered-by,.site-links {
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        background: #000;
        padding: 0;
        width: auto;
        display: none;
    }

    .menu-open .powered-by,.menu-open .site-links {
        display: block
    }

    .powered-by {
        top: 80px;
        float: none;
    }

    #page-footer {
        transition: height .25s ease-out;
        overflow: hidden
    }

    #promo {
	margin-bottom: 10px;
    }

    .tab-content {
	padding: 10px 0;
    }

    #content-wrapper {
	padding: 0 10px;
    }

    .menu-open #page-footer {
        height: 130px
    }

    .resultpage header#page-header,#page.list {
//       margin-top:46px;
       transition: margin-top .25s ease-out;
    }

    .menu-open.resultpage header#page-header,.menu-open #page.list {
       margin-top:130px;
    }

    .menu-open .tabs>a {
	padding-top:150px;
    }
    
    .resultpage #top-header, .resultpage #top-menu,.resultpage #page-content {
       transition:top .25s ease-out;

    }
    .menu-open.resultpage #top-header, .menu-open.resultpage #top-menu {
    	top:180px;
    }
    .menu-open.resultpage #page-content {
    	top:210px;
    }

    .resultpage #content-wrapper {
    	margin-top:0;
    }

    .rightCol, #events , #videos {
	width: calc(50% - 5px);
    }

    .leftCol, #posts {
	width: calc(50% - 5px);
    }
}

@media (max-width: 500px) {
	.resultpage #page-content {
    	top:140px;
    }
    .menu-open.resultpage #page-content {
    	top:240px;
    }
    .menu-open.resultpage #top-header {
    	top:210px
    }
    .menu-open.resultpage #top-menu {
    	top:0;
    }


}

@media (max-width: 480px) {
  body,
  .frontpage .wrapper,
  .frontpage #page {
    min-width:320px;
    width:100%;
    padding:0;
  }
    #content-wrapper {
	padding: 0 0;
    }
  .frontpage .wrapper,
  #posts,#events,#videos,.leftCol,.rightCol {
    float:none;
    width:100%;
  }
  .rightCol:after,
  .leftCol:after {
    content:" ";
    display:block;
    clear:both;
  }
  #promo .rightCol {
  	text-align:center;
  }
  #promo .slogan1,#promo .slogan2 {
  	font-size:4vw;
  	display:inline;
  	margin-top:0;
  	line-height:2.5;
  }
  #promo .slogan1 {
    margin: 0;
  }

  .item {
    width:100%;
  }


 #promo iframe {
  width: 100%;
  }
  .frontpage #page-header h1,
  .frontpage #search-form {
    width:100%;
    max-width:100%;
    margin-left:0;
  }


	.resultpage #search-form {
		position:absolute;
		left:200px;
		right:34px;
		width:auto;
		max-width:100%;
	}

}

#billboard {
    width: 100%;
    display: block;
}

#billboard figure {
    text-align: -webkit-center;
    width: 100%;
    margin: 0;
    padding: 0;
}

#billboard h2 {
    color: white;
    background-color: #222222aa;
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    padding: 4px;
}
