/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

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

@font-face {
    font-family: 'Myriad Pro';
    src: url('MyriadPro-BoldCond/MyriadPro-BoldCond.eot');
    src: url('MyriadPro-BoldCond/MyriadPro-BoldCond.eot?#iefix') format('embedded-opentype'),
    url('MyriadPro-BoldCond/MyriadPro-BoldCond.woff2') format('woff2'),
    url('MyriadPro-BoldCond/MyriadPro-BoldCond.woff') format('woff'),
    url('MyriadPro-BoldCond/MyriadPro-BoldCond.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Myriad Web Pro';
    src: url('MyriadWebPro-Bold/MyriadWebPro-Bold.eot');
    src: url('MyriadWebPro-Bold/MyriadWebPro-Bold.eot?#iefix') format('embedded-opentype'),
    url('MyriadWebPro-Bold/MyriadWebPro-Bold.woff2') format('woff2'),
    url('MyriadWebPro-Bold/MyriadWebPro-Bold.woff') format('woff'),
    url('MyriadWebPro-Bold/MyriadWebPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


body {
    background-color: #D9E0E1;
    text-align: center;
}

.box {
    position: relative;
    margin: 0 auto;
    width: 960px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 960px auto;

    background-image: url(../images/2x/bg-head-plus@2x.jpg);
    /*background-image: url(../images/2x/bg-titul@2x.png);*/
    /*background-image: url(../images/2x/bg-kontakt@2x.png);*/
}

/*noinspection CssNoGenericFontName*/
.box h1 {
    color: rgb(45,47,127);
    margin: 0;
    position: absolute;
    left: 85px;
    top: 195px;
    width: 420px;
    height: 70px;
    text-align: center;
    font-family: 'Myriad Pro', sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 57px;
    text-transform: uppercase;
}

.box a:hover{
    color: rgb(64, 73, 143);
}

.container {
	width: 100%;
    min-height: 800px;
    background-repeat: no-repeat;
}

.container.titul {
    background-image: url(../images/2x/bg-left-titul@2x.png);
    background-position: 67px 297px;
    min-height: 1080px;
}

.container.fotogalerie {
    background-image: url(../images/2x/bg-left-fotogalerie@2x.png);
    background-position: 67px 297px;
    min-height: 765px;
}

.container.fotogalerie-2 {
    min-height: 700px;
}

.container.fotogalerie-2 img {
    max-width: 815px;
    background-color: yellow;
}

.container.kontakt {
    background-image: url(../images/2x/bg-kontakt-bottom@2x-100.jpg);
    background-position: bottom center;
    background-size: 960px auto;
}

.container.kontakt .inn {
    background-image: url(../images/2x/bg-left-kontakt@2x.png);
    background-repeat: no-repeat;
    background-position: 67px 297px;
    /*min-height: 1158px;*/
    min-height: 1356px;
}

.box-right {
    float: right;
    margin-right: 55px;
    width: 363px;
    margin-top: 380px;
}

.box-right ul {
    font-family: 'Myriad Web Pro', sans-serif;
    font-weight: bold;
    font-style: normal;
    margin: 0;
    height: 50px;
    line-height: 50px;
    padding-left: 0;
    border-bottom: rgb(203,203,203) 3.5px solid;
}

.box-right ul li {
    float: left;
    display:inline-block;
    text-align: left;
    width: 33%;
}
.box-right ul li:nth-child(1) {
    text-align: left;
    width: 30%;
}

.box-right ul li:nth-child(2) {
    text-align: center;
}

.box-right ul li:nth-child(3) {
    text-align: right;
    width: 36%;
}

.box-right ul li a {
    text-decoration: none;
    color: rgb(102,102,102);
    font-size: 22.6px;
}

.box-right ul li a.active {
    text-decoration: none;
    color: rgb(74,98,112);
}

.box-right ul li a:hover{
    color: rgb(82, 92, 102);
}

.box-right p {
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18.3px;
    line-height: 119%;
    margin: 0;
    padding-left: 8px;
    padding-right: 8px;
}

.box-right p.home-p1 {
    margin-top: 38px;
}

.box-right p.home-p2 {
    margin-top: 22px;
}

.box-right p.home-p3 {
    margin-top: 80px;
    padding-left: 30px;
    color: rgb(18,31,143);
}

.box-right p.kontakt-p1 {
    margin-top: 38px;
    color: rgb(18,31,143);
}

.box-right p.home-p3 a, .box-right p.kontakt-p1 a  {
    color: rgb(18,31,143);
    text-decoration: none;
}

a.fotogalerie {
    position: relative;
    float: left;
    margin-top: 15px;
    text-decoration: none;
    color: rgb(18,31,143);
}

a.fotogalerie:hover {
    color: rgb(64, 73, 143);
}

.roll-over:hover {
    opacity: 0.85;
}

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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}
