html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {font-family: 'PancettaSerifPro-Light';src: url('fonts/29BFC3_0_0.eot');src: url('fonts/29BFC3_0_0.eot?#iefix') format('embedded-opentype'),url('fonts/29BFC3_0_0.woff') format('woff'),url('fonts/29BFC3_0_0.ttf') format('truetype');}
/*
@font-face {font-family: 'PancettaSerifPro-Medium';src: url('fonts/29BFC3_2_0.eot');src: url('fonts/29BFC3_2_0.eot?#iefix') format('embedded-opentype'),url('fonts/29BFC3_2_0.woff') format('woff'),url('fonts/29BFC3_2_0.ttf') format('truetype');}
*/

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

a {
    text-decoration: none;
    color: inherit;
}

.main {
    width: 100%;
    background: url(../img/bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: white;
    font-family: 'PancettaSerifPro-Light';
}

.logo {
    background: url(../img/logo.png) no-repeat;
    background-size: contain;
    position: absolute;
    height: 120px;
    width: 400px;
    top: 10%;
    left: 10%;
}

.logo span {
    position: relative;
    top: 110px;
    left: 114px;
    font-size: 1.2em;
    word-spacing: 15px;
}

.contacts {
    position: absolute;
    bottom: 10%;
    right: 10%;
    text-align: right;
    min-width: 350px;
}

.visit {
    font-size: 1.4em;
}

.flag {
    float: right;
    margin: 30px 0 60px 30px;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 900px) {
    .contacts {
        top: 300px;
        bottom: auto;
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 500px) {
    .logo {
        width: 350px;
        height: 105px;
    }
    .logo span {
        top: 95px;
        left: 99px;
        font-size: 1.1em;
        word-spacing: 10px;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
