/*
Theme Name: Konzervatorium
Description: Tema na mieru pre Konzervatorium.sk
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: konzervatorium

Táto téma, ako WordPress, je licencovaná pod GPL.
*/

/* =Reset
-------------------------------------------------------------- */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol,
ul {
	list-style: none;
}
blockquote,
q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
.page-content hr {
    margin-left: 0px;
    margin-right: 0px;
    clear: both;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

.single-stranky-odboru .page-content img.alignright {
	margin-left: 15px;
	margin-bottom: 8px;
}

.single-stranky-odboru .page-content img.alignleft {
	margin-right: 15px;
	margin-bottom: 8px;
}

@font-face
{
	font-family: cambria;
	src: url('fonts/cambriai.eot'),
    	 url('fonts/cambriaz.eot');

}
@font-face
{
	font-family: nimbus;
	src: url('fonts/NimbusSansNovusTOT-Lig.eot');
}

@font-face
{
	font-family: cambria;
	src: url('fonts/cambriai.ttf'),
    	 url('fonts/cambriaz.ttf');

}
@font-face
{
	font-family:nimbus;
	src: url('fonts/NimbusSansNovusTOT-Lig.otf');
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.aligncenter {
	margin: 0 auto;
	padding: 10px 8px 2px 8px;
}

p.wp-caption-text {
	font-size: 0.8em;
	margin-top: 4px;
	font-style: italic;
}

/* GENERAL */

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4 {
	font-family: cambria;
	font-weight: normal;
	color: #333;
}

.page-content h1, .page-content h2 {
    clear: both;
}

h1 {
	font-size: 1.5em;
	padding-bottom: 10px;
	border-bottom: 1px solid #e6e6e6;
}

h2 {
	font-size: 1.4em;
	margin: 15px 0px 7px 0px;
}

h2.widget-title {
	margin-top: 5px;
}

h3 {
	font-size: 1.3em;
	margin: 15px 0px 7px 0px;
}

p {
	/*font-family: arial;*/
	font-family: arial;
	font-size: 0.9em;
	line-height: 1.3;
	color: #666;
	margin-top: 10px;
}

table {
	font-family: arial;
	font-size: 0.9em;
	color: #666;
}

table th {
	font-weight: bold;
	padding: 5px;
}
table td {
	padding: 5px;
}

a, a:visited {
	color: #b8ab78;
	text-decoration: none;
}

#content ul {
	list-style: disc;
}

#content li {
	font-family: arial;
	font-size: 0.9em;
	color: #666;
	margin-top: 10px;
	margin-left: 25px;
	line-height: 1.3;
}

#content ul.nobullet {
	list-style: none;
}
#content ul.nobullet li {
	margin-left: 0px;
	line-height: 1.3;
}

#content ol {
	list-style: decimal;
}
#content ol li {
	margin-left: 25px;
	line-height: 1.3;
}

.single-featured {
	float: right;
	margin: 0px 0px 10px 10px;
}

.page-meta {
	font-style: italic;
}

/* /GENERAL */

#container {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
}

#top-container {
	background: url('img/bg-top.jpg') no-repeat center;
	width: 100%;
	height: 105px;
}

#top {
	width: 100%;
	padding-top: 16px;
	height: 105px;
	max-width: 1200px;
	margin: 0 auto;
}

#lang-selector {
	float: right;
}

#lang-selector a {
	color: #b8ab78;
	font-size: 1em;
	font-family: arial;
	padding: 3px;
}

#lang-selector a.selected {
	border: 1px solid #b8ab78;
}

/* MENU */
#top-menu {
	width: 100%;
	/*height: 60px;*/
	/*background: url('img/bg-menu.png') repeat-x top;*/
	background-color: #4e4b47;
	position: relative;
	padding-left: 40px;
}

#top-menu a:hover {
	text-decoration: none;
}

#top-menu .sub-menu a {
	color: #000;
}

li.menu-item {
	float: left;
}

.nav-menu a {
	color: #fff;
	font-family: cambria;
	font-size: 1em;
}

.nav-menu li {
	padding: 19px 10px 13px 10px;
	height: 50px;
	float: left;
}

.nav-menu li:hover, .nav-menu .current-menu-item, .nav-menu .current-menu-ancestor {
	background: #8d7f46;
}

.nav-menu .sub-menu .current-menu-item {
	background: rgba(255,255,255,0.8);
}

.nav-menu li:hover ul.sub-menu, .nav-menu .current-menu-item ul.sub-menu, .nav-menu .current-menu-ancestor ul.sub-menu {
	display: block;
}

.nav-menu .sub-menu li:hover {
	background: rgba(255,255,255,0.8);
}

ul.sub-menu {
	display: none;
	position: absolute;
	left: 0px;
	top: 50px;
	width: 100%;
	background: rgba(217, 209, 183, 0.9);
	padding-left: 20px;
}

.nav-menu .sub-menu li {
	height: 40px;
	padding: 13px 10px 10px 10px;
}

/* /MENU */

/* SIDEBAR MENU */

#content .sidebar-menu {
	margin-bottom: 30px;
}

#content .sidebar-menu li {
	font-size: 1.2em;
	margin-top: 5px;
	font-weight: normal;
}

.sidebar-menu li a {
	color: #b8ab78;

	font-family: cambria;
	line-height: 1.3;
}

/* /DEP MENU */

/* HERO */
#hero {
	width: 100%;
	max-width: 1920px;
	height: 375px;
	background: url('img/hero-frontpage.jpg') no-repeat top center;
	margin: 0 auto;
}

#hero h1 {
	border-bottom: 0px;
	color: #fff;
	font-size: 2.5em;
	font-style: italic;
	font-family: cambria;
	line-height: 1.2;
  padding: 10px;
}

#hero h2 {
  background-color: rgba(0,0,0,0.5);
	color: #c9c294;
	font-size: 1.5em;
	font-family: nimbus;
	line-height: 1.5;
  margin-top: 20px;
  padding: 10px;
}

#hero .hero-content {
  margin: 0 auto;
  padding-top: 65px;
  width: 40%;
}

#hero-page {
	width: 100%;
	max-width: 1920px;
	height: 290px;
	background: url('img/hero-page.jpg') no-repeat top left;
	margin: 0 auto 20px auto;
}
/* /HERO */

/* LATEST NEWS LOOP */
#latest-news-container {
	width: 100%;
	background: url('img/bg-frontpage.jpg') repeat-y top center;
	max-width: 1920px;
  padding: 15px 0 25px 0;
}

#latest-news {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.news-item {
	height: 290px;
	padding: 35px 15px 10px 15px;
	width: 290px;
	float: left;
}

.news-item .news-item-title {
	position: relative;
	height: 50px;
}

.news-item h3 {
	display: block;
	position: absolute;
	bottom: 8px;
	margin: 0px;
	padding: 0px;
}

.news-item h3 a {
	color: #9E8C47;
	font-family: cambria;
	font-weight: normal;
	overflow: hidden;
	display: block;
}

.news-item img {
	border: 1px solid #cac09b;
	width: 260px;
	height: 146px;
}

.news-item .excerpt {
	color: #666;
	padding-top: 15px;
	font-size: 0.9em;
	font-family: arial;
	line-height: 1.3;
	width: 260px;
	height: 140px;
}

.news-item-event {
	margin-top: 4px;
	line-height: 1.3;
	margin-bottom: 12px;
	font-family: arial;
	font-size: 0.9em;
	color: #666;
}

.news-item-event a {
	display: block;
}

a.readmore {
	background: #b8aa72;
	color: #fff;
	display: inline-block;
	padding: 6px 20px;
	font-family: cambria;
}

/* /LATEST NEWS LOOP */

#content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0px 20px;
}

#content .page-content-container {
	float: left;
	width: 100%;
	margin-right: -400px;
}

#content .page-content {
	margin-right: 400px;
}

li td {
	font-size: 1.1em;
}

 #sidebar {
	width: 380px;
	padding: 0px 0px 20px 20px;
	margin-left: 20px;
	border-left: 1px solid #e6e6e6;
	float: left;
}

#sidebar h2.widget-title {
	color: #b8ab78;
	font-family: cambria;
	font-size: 1.3em;
	font-weight: normal;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #e6e6e6;
}

#sidebar .widget-item-title {

}

#sidebar .widget-item-content {
	margin-top: 4px;
	line-height: 1.3;
	margin-bottom: 12px;
	color: #666;
}

#sidebar .widget {
	margin-bottom: 30px;
	font-size: 0.9em;
	font-family: arial;
}

#content .front-page {
	padding-top: 20px;
	width: 100%;
}

#content .front-page-featured {
	margin: 8px;
	width: 400px;
	float: right;
}

#footer {
	width: 100%;
	max-width: 1920px;
	background-color: #4e4b47;
	color: #9F9B93;
	padding: 0px 20px 15px 20px;
	margin-top: 25px;
	font-size: 0.9em;
}

#footer .container {
	max-width: 1200px;
	margin: 0 auto;
}

#footer h4 {
	color: #fff;
	padding-bottom: 10px;
	border-bottom: 1px solid #605b53;
	font-family: cambria;
	font-size: 1.2em;
	font-weight: normal;
	margin-bottom: 10px;
	margin-top: 25px;
}

#footer h4 a {
	color: #fff;
}

#footer p {
	color: #9F9B93;
	font-size: 0.9em;
}

#footer a {
	color: #cac09b;
	font-family: arial;
	font-size: 0.9em;
}

#footer .col1 {
	width: 40%;
	float: left;
	padding-right: 35px;
}

#footer .col2 {
	width: 25%;
	float: left;
	padding-right: 35px;
}

#footer .col2 li {
	padding-top: 4px;
}

#footer .col3 {
	width: 35%;
	float: right;
}

#copyright {
	width: 100%;
	max-width: 1920px;
	background-color: #353028;
	color: #827c75;
	padding: 17px 0px;
	font-size: 0.8em;
	font-family: arial;
	text-align: center;
	height: 45px;
}

/* events */
.events-item {
	margin-top: 15px;
	font-family: arial;
	font-size: 0.9em;
	line-height: 1.1;
	color: #666;
}

.events-item .events-item-date {
	font-weight: bold;
	width: 80px;
	height: 40px;
	float: left;
	font-size: 1.2em;
}

.event-item .events-item-title {
	padding-top: 5px;
}

/* news */
.loop-news-item {
	margin-top: 15px;
	font-family: arial;
	font-size: 0.9em;
	line-height: 1.1;
	color: #666;
}

.loop-news-item-thumbnail {
	width: 30%;
	float: left;
}

.loop-news-item-content {
	float: left;
	width: 68%;
	margin-left: 2%;
}

.loop-news-item-title h2 {
	color: #b8ab78;
	text-decoration: none;
	margin-top: 0px;
}

.loop-news-item-readmore {
	margin-top: 15px;
}

/* gallery */
.gallery {
	margin-top: 15px;
}

.gallery .gallery-image {
	padding-right: 13px;
	padding-bottom: 9px;
}

.gallery-caption {
	font-size: 0.6em;
	font-family: Arial;
	color: #666;
}


@media (min-width: 1920px)
{
  #container {
    border-left: 1px solid #4e4b47;
    border-right: 1px solid #4e4b47;
  }
}

@media (max-width: 639px)
{
  #latest-news {
    padding-top: 15px;
  }

  .news-item {
    float: none;
    margin: 10px auto;
    height: auto;
  }

  .news-item.latest-events {
    margin-bottom: 25px;
  }

  #content .front-page-featured {
    width: 100%;
    float: none;
    padding: 8px 0;
    margin: 0;
  }

  .single-featured {
    width: 100%;
    float: none;
    margin: 0 0;
  }
}

@media (max-width: 1199px)
{
  #top-menu .sub-menu {
    display: none !important;
  }

  #top img {
    display: block;
    margin: 0 auto;
    width: 265px;
  }

  #sidebar {
    display: none;
  }

  #content .page-content-container {
    float: none;
    margin-right: 0px;
  }

  #content .page-content-container .page-content {
    margin-right: 0px;
  }
}

@media (min-width: 500px) and (max-width: 1199px) {
  #hero .hero-content {
    width: 80%;
  }

  #latest-news {
    width: 580px;
  }


}

@media (max-width: 499px)
{
  #hero {
    display: none;
  }

}
