@import url(https://fonts.googleapis.com/css?family=Rubik&subset=latin,latin-ext);

*
{
 padding: 0;
 margin: 0;
 outline: 0;
 font-family: 'Rubik', arial, sans-serif;
 color: #555533;
}

html
{
 overflow-y: scroll;
}

.clr
{
 clear: both;
}

.center
{
 text-align: center;
}

.right
{
 text-align: right;
}

.fb-page
{
 margin-top: 2em;
}

h1
{
 margin-bottom: 1em;
 font-size: 18pt;
 color: #951b81;
}

h2
{
 margin: .5em 0 .5em;
 font-size: 14pt;
 color: #951b81;
}

h3
{
 font-size: 12pt;
 margin-bottom: .5em;
}

p
{
 margin-bottom: .5em;
 line-height: 1.5em;
}

#content ul, ol
{
 margin-left: 1.5em;
 margin-bottom: .5em;
}

ul > li, ol > li
{
 line-height: 1.5em;
}

header
{
 width: 100%;
 background-color: #000;
 text-align: center;

 position: relative;
 background-size: cover;
 background-position: 50% 50%;
 padding-bottom: 20%;
 margin-bottom: -10%;
 transition: background 1s linear;
 -webkit-transition: background 1s linear;
 -moz-transition: background 1s linear;
 -o-transition: background 1s linear;
}

header > #wrapper
{
 width: 90%;
 max-width: 1000px;
 margin: 0 auto;
}

header #header-logo
{
 width: 96%;
 max-width: 1000px;
 margin: 0 auto;
 padding-top: 20px;
 z-index: 10;
 color: #fff;
 text-align: left;
}

header #header-logo img
{
 float: left;
 margin-right: 20px;
}

header #header-logo > h1
{
 font-size: 40px;
 font-weight: normal;
 color: #fff;
 text-align: left;
 text-transform: uppercase;
 margin-bottom: 0;
}

header #header-logo .est
{
 font-size: 20px;
 color: #fff;
}

#topmenu-h
{
 display: none;
}

nav#topmenu
{
 margin-top: 10%;
 width: 100%;
 text-align: center;
 background-color: #e72f76;
}

#topmenu-container
{
 max-width: 1000px;
 margin: 0 auto;
}

nav#topmenu ul
{
 list-style: none;
}

nav#topmenu ul > li
{
 float: left;
 padding: 20px 15px;
}

nav#topmenu ul > li:hover,
nav#topmenu ul > li.active
{
 background-color: #951b81;
}

nav#topmenu ul > li > a,
nav#topmenu ul > li > span
{
 display: block;
 color: #fff;
 text-transform: uppercase;
 text-decoration: none;
}

nav#topmenu ul ul.submenu
{
 background-color: #951b81;
 list-style: none;
 display: none;
 position: absolute;
 margin: 15px 0 0 -15px;
 z-index: 10;
}

nav#topmenu ul ul.submenu li
{
 clear: both;
 text-align: left;
 text-transform: uppercase;
 padding: 5px 15px;
}

nav#topmenu ul > li:hover > ul.submenu
{
 display: block;
}

nav#topmenu ul > li:hover > ul.submenu > li > a:hover
{
 color: #ccc;
}

#topmenu-facebook
{
 float: right;
 margin: 20px 15px 0 0;
}

#content
{
 max-width: 1000px;
 margin: 20px auto;
}

#left
{
 float: left;
 width: 55%;
}

#right
{
 float: right;
 width: 40%;
}

.right-block
{
 position: relative;
 width: 100%;
 height: 200px;
 background-position: center center;
 background-repeat: no-repeat;
 background-size: cover;
 -webkit-background-size: cover;
 -moz-background-size: cover;
 -o-background-size: cover;
 margin-bottom: 20px;
}

.right-block > div
{
 position: absolute;
 bottom: 0;
 width: 100%;
 background: rgb(255, 255, 255);
 background: rgba(255, 255, 255, 0.85);
 font-size: 12pt;
 z-index: 2;
}

.right-block > div > p
{
 padding: 5px 10px;
 margin: 0;
}

footer
{
 width: 100%;
 background: url(../img/footer-back.png) top center repeat-x;
}

#footer-container
{
 max-width: 1000px;
 padding: 20px 20px;
 margin: 0 auto;
}

#footer-right
{
 float: right;
 text-align: right;
}

#footer-container p,
#footer-container p > strong
{
 color: #fff;
 line-height: 1.5em;
}

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

#content img
{
 max-width: 1000px;
}

.news-date
{
 font-size: .9em;
 font-style: italic;
}

.news-title
{
 font-size: 14pt;
 font-weight: bold;
 text-decoration: none;
 color: #553;
}

.news-list-item a
{
 text-decoration: none;
}

/* GALLERY */

#gallery-list
{
 text-align: center;
}

.gallery-list-item
{
 display: inline-block;
 width: 320px;
 margin-right: 20px;
 margin-bottom: 20px;
 text-align: center;
 vertical-align: top;
}

.gallery-list-item a
{
 text-decoration: none;
 color: #000;
}

.gallery-image-list-item
{
 display: inline-block;
 width: 320px;
 margin-right: 20px;
 margin-bottom: 20px;
 text-align: center;
 vertical-align: top;
}

.gallery-list-item:nth-child(3n),
.gallery-list-item:last-child,
.gallery-image-list-item:nth-child(3n),
.gallery-image-list-item:last-child
{
 margin-right: 0;
}

table.orarend {border-collapse: collapse; width: 100%; margin-bottom: 2em;}
table.orarend td {padding: .5em; border: 1px solid #333; width: 33%; text-align: center;}
table.orarend td > p {margin: 0;}

#progress
{
 display: none;
 z-index: 1000;
 background-color: #000;
 background-color: rgba(0, 0, 0, .6);
 width: 100%;
 height: 100%;
 position: fixed;
 top: 0;
 left: 0;
}

#progress > div
{
 background-color: #fff;
 max-width: 40%;
 margin: 10% auto 0 auto;
 padding: 2em;
 text-align: center;
 color: #e72f76;
 font-size: 20pt;
}

#cookie-popup
{
 box-sizing: border-box;
 width: 100%;
 padding: 1.5em;
 text-align: center;
 position: fixed;
 bottom: 0;
 left: 0;
 background: #eaeaea;
 border-top: 1px solid #444a55;
 z-index: 9999;
 font-size: 10pt;
}
#cookie-popup > button
{
 margin-top: 1em;
 padding: 2px 10px;
 cursor: pointer;
 text-transform: uppercase;
}

/* */

@media only screen and (max-width: 1019px)
{
 #content {margin: 20px;}
 #content img {max-width: 100%;}
}

@media only screen and (min-width: 716px) and (max-width: 1019px)
{
 .gallery-list-item:nth-child(3n), .gallery-image-list-item:nth-child(3n) {margin-right: 20px;}
 .gallery-list-item:nth-child(2n), .gallery-image-list-item:nth-child(2n) {margin-right: 0;}
}

@media only screen and (min-width: 481px) and (max-width: 715px)
{
 .gallery-list-item:nth-child(2n), .gallery-list-item:nth-child(3n), .gallery-image-list-item:nth-child(2n), .gallery-image-list-item:nth-child(3n) {margin-right: auto;}
 .gallery-list-item, .gallery-image-list-item {display: block; margin: 0 auto 20px auto;}
 .gallery-list-item:last-child, .gallery-image-list-item:last-child {margin-right: auto;}
}

@media only screen and (max-width: 600px)
{
 #header-logo {width: auto;}
 #header-logo > h1 {display: none;}
 #header-logo > div.est {display: none;}
 .right-block p {font-size: 8pt;}
}

@media only screen and (max-width: 480px)
{
 .gallery-list-item:nth-child(2n), .gallery-list-item:nth-child(3n), .gallery-image-list-item:nth-child(2n), .gallery-image-list-item:nth-child(3n) {margin-right: auto;}
 .gallery-list-item, .gallery-image-list-item {display: block; margin: 0 auto 20px auto;}
 .gallery-list-item:last-child, .gallery-image-list-item:last-child {margin-right: auto;}
}


@media only screen and (max-width: 1000px)
{
 header {margin-bottom: 0;}
 #content {clear: both;}
 #topmenu-h {display: block; cursor: pointer; z-index: 999; text-align: right;}
 #topmenu-facebook {display: none;}
 nav#topmenu {position: absolute; top: 10px; right: 10px; margin: 0; width: auto; background-color: transparent; z-index: 1000;}
 nav#topmenu a {font-weight: 400;}
 nav#topmenu > div > ul {display: none; padding: 0; clear: both; border-top: 1px solid #333; border-left: 1px solid #333; border-right: 1px solid #333; margin: 0 0 0 5px; background-color: #e72f76; width: 100%;}
 nav#topmenu > div > ul > li {float: none; display: inline-block; width: 100%; padding: .5em 0; margin: 0; border-bottom: 1px solid #333;}
 nav#topmenu > div > ul > li.hassubmenu {cursor: pointer;}
 nav#topmenu > div > ul > li:hover, nav#topmenu > div > ul > li.active {background-color: none;}
 nav#topmenu > div > ul > li:hover > ul.submenu {background-color: none;}
 nav#topmenu > div > ul > li > a {display: inline-block; width: 100%;}
 nav#topmenu > div > ul ul.submenu {display: block; position: static; margin: 0; background-color: #951b81;}
 nav#topmenu > div > ul li.hassubmenu {background: url(../img/hassub.png) right 10px top 15px no-repeat;}
}
