/* FONTS */
@font-face {
    font-family: 'Nexa';
    src: url('fonts/nexa-bold-hun-webfont.eot');
    src: url('fonts/nexa-bold-hun-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/nexa-bold-hun-webfont.woff') format('woff'),
    url('fonts/nexa-bold-hun-webfont.ttf') format('truetype'),
    url('fonts/nexa-bold-hun-webfont.svg#nexabold') format('svg');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Nexa';
    src: url('fonts/nexa-light-hun-webfont.eot');
    src: url('fonts/nexa-light-hun-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/nexa-light-hun-webfont.woff') format('woff'),
    url('fonts/nexa-light-hun-webfont.ttf') format('truetype'),
    url('fonts/nexa-light-hun-webfont.svg#nexalight') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* BODY */
body, html { height: 100%; }
body {
    position: relative;
    min-width: 960px;
    max-width: 80%;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: 'Nexa', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.25em;
    color: rgba(0,0,0,0.9);
}
.fancybox-overlay {
    overflow-x: hidden !important;
}
* {
    font-family: 'Nexa', sans-serif;
}
.left {
    float: left;
}
.right {
    float: right;
}
a, span {
    color: inherit;
    font-size: inherit;
}
a {
    transition: color 0.25s;
    text-decoration: inherit;
    outline: none;
}
a svg {
    transition: fill 0.25s;
}
.clr { clear: both; }

.content a, footer a { color: rgba(146,0,40,0.9); }
.content a:hover, footer a:hover { color: rgba(0,0,0,0.6); }

.content a svg, footer a svg { fill: rgba(146,0,40,0.9); }
.content a:hover svg, footer a:hover svg { fill: rgba(0,0,0,0.6); }

h1, h2 {
    display: block;
    text-align: center;
    position: relative;
    padding: 0 50px;
}
h1 span, h2 span {
    display: inline-block;
    padding: 0 50px;
    line-height: 1.25em;
    color: rgba(0,0,0,0.9);
    background: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
h1:before, h2:before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    padding: 1px 0;
    margin: -1px 0;
    top: 50%;
    background: rgba(146,0,40,0.3);
    left: 0;
    z-index: -1;
}
h1 { margin: 75px 0 50px; }
h1 span { font-size: 24px; }
h2 { margin: 50px 0 25px; }
h2 span { font-size: 20px; }
h3 {
    font-size: 20px;
    line-height: 1.25em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 25px 0 20px;
}
h4 {
    font-size: 16px;
    line-height: 1.25em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 20px 0 15px;
}
p {
    font-size: 16px;
    line-height: 1.25em;
    margin: 15px 0 10px;
}
b, strong {
    font-weight: bold;
}
i, em {
    font-style: italic;
}
.page ol,
.page ul {
    margin: 15px 0 10px;
    counter-reset: item;
}
.page ol li,
.page ul li {
    font-size: 16px;
    line-height: 1.25em;
    margin: 10px 0 5px;
    margin-left: 20px;
}
.page ol li:before,
.page ul li:before {
    position: absolute;
    margin-left: -20px;
}
.page ol li:before {
    content: counter(item) ".";
    counter-increment: item;
    color: rgba(146,0,40,0.9);
    font-weight: bold;
}
.page ul li:before {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid rgba(146,0,40,0.9);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-top: 5px;
    margin-left: -15px;
}
.page table {
    margin: 15px 0 10px;
    width: 100%;
}
.page tr:nth-child(odd) td {
    background: rgba(0,0,0,0.05);
}
.page td,
.page th {
    font-size: 16px;
    line-height: 1.25em;
    text-align: left;
    vertical-align: middle;
}
.page td {
    padding: 10px;
}
.page th {
    padding: 5px 10px;
    font-weight: bold;
    background: rgba(146,0,40,0.9);
    color: white
}
.page img.left {
    min-width: 280px;
    max-width: 435px;
    float: left;
    margin-right: 30px;
    margin-bottom: 15px;
}
.page img.right {
    min-width: 280px;
    max-width: 435px;
    float: right;
    margin-left: 30px;
    margin-bottom: 15px;
}
.page img.center {
    max-width: 900px;
    margin: 0 auto 15px;
    float: none;
}

.hidden {
    display: none;
}

header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    min-width: inherit;
    max-width: inherit;
    top: 0;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
header.sub {
    padding-bottom: 40px;
}
header > div {
    margin: 0 auto;
    position: relative;
    width: 900px;
}
header .logo {
    display: block;
    float: left;
    width: 135px;
    height: 50px;
    margin: 15px 0;
    background: url(images/logo-big.png) no-repeat center;
    opacity: 0.9;
}
header .languages {
    float: right;
    clear: right;
    height: 20px;
}
header .languages > li {
    float: left;
    opacity: 0.5;
    transition: opacity 0.25s;
}
header .languages > li.active,
header .languages > li:hover {
    opacity: 1;
}
header .languages > li a {
    display: block;
    padding: 4px 2px;
}
header .languages > li a img {
    display: block;
}
header nav {
    float: right;
    margin-bottom: 10px;
    width: 750px;
}
header nav a {
    display: block;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: rgba(0,0,0,0.6);
    text-transform: uppercase;
    position: relative;
}
header nav a:hover, header nav .active > a {
    color: rgba(0,0,0,0.9);
}
header nav > ul {
    float: right;
}
header nav > ul > li {
    float: left;
    margin-left: 15px;
}
header nav > ul > li:first-child {
    margin-left: 0;
}
header nav > ul > li > a {
    font-weight: bold;
    padding: 15px 0;
}
header.sub nav > ul > li.active > a:after {
    position: absolute;
    left: 50%;
    margin-left: -5px;
    margin-top: 20px;
    content: '';
    display: block;
    background: white;
    box-shadow: 1px 1px 0 0 rgba(0,0,0,0.3);
    width: 10px;
    height: 10px;
    z-index: 2;
    transform: rotate(45deg);
}
header nav > ul > li.active > ul {
    display: table;
}
header nav > ul > li > ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    font-size: 0;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.3);
}
header nav > ul > li > ul > li {
    display: table-cell;
}
header nav > ul > li > ul > li > a {
    font-weight: normal;
    padding: 10px 0;
}
header nav > ul > li > ul > li > a:before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid rgba(0,0,0,0.6);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-right: 10px;
    transition: all 0.25s;
}
header nav > ul > li > ul > li.active > a:before,
header nav > ul > li > ul > li > a:hover:before {
    border-left-color: rgba(0,0,0,0.9);
    transform: rotate(90deg);
}

.content {
    margin: 0 auto;
    width: 900px;
    padding-top: 80px;
}
header.sub + .content {
    padding-top: 120px;
}
.content a {
    color: rgba(146,0,40,0.9);
}
.content .read-more {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
}

.promo {
    height: 0;
}
.promo > a {
    position: absolute;
    display: block;
    width: 100%;
    height: inherit;
    left: 0;
    background-position: center;
    background-size: cover;
    transition: opacity 1s;
    z-index: 1;
    opacity: 0;

}
.promo > a.active {
    z-index: 2;
    opacity: 1;
}
.promo .control {
    position: absolute;
    /*bottom: 130px;*/
    bottom: 370px;
    z-index: 3;
    width: 100%;
    left: 0;
    font-size: 0;
    text-align: center;
}
.promo .control > a {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 20px;
    background: url(images/sprites.png) no-repeat;
    background-position: -15px 0;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.25s;
}
.promo .control > a.active {
    background-position: -35px 0;
}
.promo .control > a:hover,
.promo .control > a.active {
    opacity: 0.9;
}
.promo .control > a.prev {
    width: 15px;
    background-position: 0 0;
}
.promo .control > a.next {
    width: 15px;
    background-position: -55px 0;
}
.promo .control > a > span {
    opacity: 0;
    z-index: 4;
    position: absolute;
    display: block;
    background: white;
    color: black;
    font-size: 16px;
    line-height: 20px;
    width: 240px;
    padding: 10px;
    margin-left: -130px;
    left: 50%;
    bottom: 20px;
    border-radius: 10px;
    transition: all 1s;
}
.promo .control > a > span:after {
    content: '';
    display: block;
    transform: rotate(45deg);
    background: inherit;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    margin-bottom: -5px;
    position: absolute;
    bottom: 0;
    left: 50%;
}
.promo .control > a > span span {
    text-transform: uppercase;
    display: block;
}
.promo .control > a.active span {
    opacity: 0.9;
    bottom: 40px;
}

.promo.simple {
    height: 450px;
    position: relative;
}
.promo.simple .control {
    bottom: 20px;
}

/*#next {*/
/*position: relative;*/
/*height: 80px;*/
/*z-index: 4;*/
/*bottom: 0;*/
/*left: 0;*/
/*text-align: center;*/
/*cursor: pointer;*/
/*}*/
/*#next a {*/
/*display: block;*/
/*position: relative;*/
/*line-height: 80px;*/
/*font-size: 16px;*/
/*font-weight: bold;*/
/*letter-spacing: 0.1em;*/
/*color: rgba(0,0,0,0.6);*/
/*text-transform: uppercase;*/
/*}*/
/*#next a:hover {*/
/*color: rgba(0,0,0,0.9);*/
/*}*/
/*#next a:before {*/
/*content: "";*/
/*display: block;*/
/*position: absolute;*/
/*top: -30px;*/
/*left: 50%;*/
/*margin-left: -20px;*/
/*width: 40px;*/
/*height: 40px;*/
/*background: url(images/sprites.png) no-repeat -70px 0px;*/
/*transition: top 0.25s;*/
/*}*/
/*#next a:hover:before {*/
/*top: -40px;*/
/*}*/

#articles {
    overflow: hidden;
    white-space: nowrap;
    font-size: 0;
    position: relative;
    padding: 0 30px;
    margin: 0 -30px;
}
#articles > a {
    position: absolute;
    display: block;
    background: url(images/sprites.png) no-repeat;
    top: 60px;
    width: 15px;
    height: 20px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.25s;
}
#articles > a:hover {
    opacity: 0.9;
}
#articles > a.disabled {
    opacity: 0.3;
    cursor: default;
}
#articles > a.prev {
    background-position: 0 -20px;
    left: 0;
}
#articles > a.next {
    background-position: -55px -20px;
    right: 0;
}
#articles div {
    display: inline-block;
    width: 280px;
    margin-left: 30px;
    white-space: normal;
    font-size: 16px;
    transition: margin 0.5s;
}
#articles div:first-child {
    margin-left: 0;
}
#articles div > * {
    transition: height 0.5s;
}
#articles a {
    transition: color 0.25s;
}

.references {
    font-size: 0;
    position: relative;
    margin: 0 -15px;
}
.references li {
    display: inline-block;
    overflow: hidden;
    width: 0;
    margin: 20px 0 0;
    white-space: normal;
    font-size: 16px;
    transition: all 0.5s;
}
.references li.active {
    width: 280px;
    margin: 20px 15px 0;
}
.references li > * {
    transition: height 0.5s;
    width: 280px;
}
.references a {
    display: block;
}
.reference img {
    margin-bottom: 20px;
}
.references dl,
.reference dl {
    display: block;
    margin-top: 5px;
}
.references dt,
.reference dt {
    display: inline-block;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.references dd,
.reference dd {
    display: inline-block;
}

.reference-categories {
    float: left;
}
.reference-categories.right {
    float: right;
}
.reference-categories li {
    display: inline-block;
}
.reference-categories li a {
    display: block;
    text-align: center;
    padding: 5px;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    line-height: 1.25em;
    font-weight: bold;
}
.reference-categories li a,
.reference-categories li.active a:active {
    background-color: transparent;
    color: rgba(0,0,0,0.9);
    border-color: rgba(0,0,0,0.3);
}
.reference-categories li a:hover,
.reference-categories li.active a:active:hover {
    background-color: transparent;
    color: rgba(146,0,40,0.9);
    border-color: rgba(146,0,40,0.9);
}
.reference-categories li a:active,
.reference-categories li.active a {
    background-color: rgba(0,0,0,0.6);
    color: white;
    border-color: rgba(0,0,0,0.3);
}
.reference-categories li a:active:hover,
.reference-categories li.active a:hover {
    background-color: rgba(146,0,40,0.9);
    color: white;
    border-color: rgba(146,0,40,0.9);
}

.contact {
    float: left;
    width: 435px;
}
.contact.right {
    float: right;
}
.contact h4 {
    float: left;
    clear: both;
    margin: 5px 5px 0 0;
}
.contact img {
    display: block;
    border: 1px solid rgba(0,0,0,0.3);
    padding: 4px;
    transition: border-color 0.25s;
}
.contact img:hover {
    border-color: rgba(0,0,0,0.6);
}
.contact table {
    width: 100%;
}
.contact input[type="text"],
.contact textarea {
    width: 100% !important;
    border: 1px solid rgba(0,0,0,0.3);
    background: none;
    line-height: 20px;
    font-size: 16px;
    padding: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    transition: border-color 0.25s, color 0.25s;
}
.contact input[type="text"]:hover,
.contact textarea:hover,
.contact input[type="text"]:focus,
.contact textarea:focus {
    border-color: rgba(0,0,0,0.6);
}
.contact input[type="text"] {
    height: 30px;
    margin-bottom: 5px;
}
.contact textarea {
    height: 150px;
}
.contact label {
    display: block;
    text-align: left;
    line-height: 30px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.contact input[type="submit"] {
    line-height: 20px;
    height: 30px;
    font-size: 16px;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    background: white;
    border: 1px solid rgba(146,0,40,0.9);
    color: rgba(146,0,40,0.9);
    float: right;
    cursor: pointer;
    margin-top: 5px;
    padding: 5px 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}
.contact input[type="submit"]:hover {
    background: rgba(146,0,40,0.9);
    color: white;
}
.contact input[type="submit"]:active {
    background: rgba(0,0,0,0.6);
    border-color: rgba(0,0,0,0.6);
    color: white;
}
.contact .error_list {
    margin-bottom: 10px;
}
.contact .error {
    color: rgba(146,0,40,0.9);
    border-color: rgba(146,0,40,0.9) !important;
    font-weight: bold;
}

.gallery {
    position: relative;
    display: block;
}
.gallery span {
    position: absolute;
    bottom: 30px;
    right: 10px;
    padding: 5px;
    background: white;
}
.gallery svg {
    display: inline-block;
    float: left;
    margin-right: 5px;
}



footer {
    position: relative;
    margin: 0 auto;
    width: 900px;
}
footer h2 img { margin: -5px 0; opacity: 0.9; }
footer h4 { text-align: center; }

footer > div:not(.clr) {
    position: relative;
    margin: 30px 0;
    padding: 10px 0;
    border: 0 solid rgba(0,0,0,0.3);
    border-top-width: 1px;
    border-bottom-width: 1px;
}
footer dl {
    float: left;
    width: 25%;
}
footer dt {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.25em;
    font-weight: bold;
    text-transform: uppercase;
}
footer dd {
    display: block;
    font-size: 16px;
    line-height: 1.25em;
}
footer .partner,
footer .made-by {
    margin-bottom: 10px;
    color: rgba(0,0,0,0.6);
    transition: color 0.25s;
}
footer .partner img,
footer .made-by img {
    opacity: 0.6;
    transition: opacity 0.25s;
}
footer .partner:hover,
footer .made-by:hover {
    color: rgba(0,0,0,0.9);
}
footer .partner:hover img,
footer .made-by:hover img {
    opacity: 0.9;
}
footer .partner {
    float: left;
}
footer .made-by {
    float: right;
}

