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

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


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

@font-face {
  font-family: 'FrutigerLTStd-BoldCn';
  src: url('../font/FrutigerLTStd-BoldCn.eot?#iefix') format('embedded-opentype'),  url('../font/FrutigerLTStd-BoldCn.otf')  format('opentype'),
	     url('../font/FrutigerLTStd-BoldCn.woff') format('woff'), url('../font/FrutigerLTStd-BoldCn.ttf')  format('truetype'), url('../font/FrutigerLTStd-BoldCn.svg#FrutigerLTStd-BoldCn') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FrutigerLTStd-Cn';
  src: url('../font/FrutigerLTStd-Cn.eot?#iefix') format('embedded-opentype'),  url('../font/FrutigerLTStd-Cn.otf')  format('opentype'),
	     url('../font/FrutigerLTStd-Cn.woff') format('woff'), url('../font/FrutigerLTStd-Cn.ttf')  format('truetype'), url('../font/FrutigerLTStd-Cn.svg#FrutigerLTStd-Cn') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
    background: #f9f2eb;

    font-size: 16px;
    font-family: Arial, sans-serif;
}

#background {
    position: fixed;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: url(../img/bg.jpg) top left no-repeat;
    background-size: 100% 100%;
}

h1, h2, h3, h4 {
    color: #e4513a;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0;
    font-family: 'FrutigerLTStd-BoldCn';
}

h1,
h2,
#testimonial-claim {
    font-size: 50px;
    line-height: 1em;
    float: left;
    clear: left;
    border-left: 1px solid #7b7874;
    border-right: 1px solid #7b7874;
    padding: 0 19px;
}

h2 {
    margin-bottom: 30px;
}

h3 {
    clear: both;
    font-size: 30px;
}

h3 em {
    font-family: 'FrutigerLTStd-Cn';
    font-style: normal;
    font-size: 18px;
    border-left: 1px solid #7b7874;
    padding-left: 8px;
}

h2 a,
h3 a {
    text-decoration: none;
    color: #e4513a;
}

h2 a:hover,
h3 a:hover {
    color: #e40e1a;
}

body.home #video-placeholder,
body.home iframe {
    clear: left;
    float: left;
    margin-top: 30px;
}

body.home #video-placeholder img {
    width: 700px;
}

div.sized {
    width: 1200px;
}

div.centered {
    margin: 0 auto;
}

div#wrapper {
    position: relative;
}

div#logo {
    position: absolute;
    top: 20px;
    left: 0;
}

div#logo img {
    width: 200px;
}

ul#social-links,
ul#social-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul#social-links {
    position: absolute;
    left: 0;
    top: 24px;
}

ul#social-links li {
    float: left;
    margin-right: 8px;
}

ul#social-links li img {
    width: 44px;
}

ul#main-navigation,
ul#main-navigation li {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul#main-navigation {
    position: absolute;
    top: 32px;
    left: 220px;
    width: 600px;
}

ul#main-navigation li {
    float: left;
    margin-right: 12px;
    border-left: 1px solid #7b7874;
    border-right: 1px solid #7b7874;
    padding: 0 6px;
    line-height: 18px;
    height: 18px;
    margin-bottom: 2px;
}

ul#main-navigation li a {
    font-family: 'FrutigerLTStd-BoldCn';
    line-height: 18px;
    text-decoration: none;
    text-transform: uppercase;
    color: #e4513a;
    font-size: 16px;
}

ul#main-navigation li a:hover {
    color: #e40e1a;
}

div#stoerer {
    position: fixed;
    right: 0;
    top: 30px;
    z-index: 2;
}

div#stoerer img {
    width: 400px;
}

div#stoerer a {
    display: block;
}

div#testimonial {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1;
}

div#testimonial img {
    height: 450px;
}

div#testimonial-claim {
    position: fixed;
    z-index: 2;
    right: 40px;
    bottom: 350px;
    font-size: 16px;
    font-family: 'FrutigerLTStd-Cn';
    text-transform: uppercase;
}

#testimonial-claim em {
    font-style: normal;
    font-family: 'FrutigerLTStd-BoldCn';
    color: #e4513a;
}


div.page {
    padding-top: 140px;
    padding-bottom: 60px;
}

div.post-content {
    float: left;
    margin-top: 40px;
    clear: both;
    max-width: 720px;
}

div.post-content h3 {
    font-size: 1em;
    border-left: 1px solid #7b7874;
    border-right: 1px solid #7b7874;
    padding: 0 8px;
    display: inline;
}

body.home h3,
body.page-id-6 h3 {
    display: block;
    border: none;
    padding: 0;
    font-size: 32px;
}

body.home h3 {
    margin-bottom: 10px;
}

div.post-content p {
    margin-top: 0.5em;
    line-height: 1.2em;
}

div.post-content a {
    color: #e4513a;
    text-decoration: none;
}

div.post-content a:hover {
    text-decoration: underline;
}

div.post-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 20px;
}

div.post-content table td {
    padding: 0 16px;
    font-size: 12px;
    vertical-align: top;
}

div.post-content table td.logo {
    text-align: center;
    vertical-align: center;
}

div.post-content table td.logo img {
    max-height: 60px;
    max-width: 140px;
}

div.post-content table td.address {
    border-left: 1px solid #7b7874;
    border-right: 1px solid #7b7874;
}

div.post-content table td.address-name {
    border-left: 1px solid #7b7874;
    border-right: 1px solid #7b7874;
    font-family: 'FrutigerLTStd-Cn';
    font-size: 16px;
}

div.post-content table td p {
    margin: 0;
}

div.red {
    background: #ea553f;
    color: #fff;
    padding: 8px 12px;
}

div.red a {
    color: #fff;
    text-decoration: none;
    display: block;
    line-height: 30px;
    height: 30px;
}

div#footer-downloads {
    background: url(../img/dl-bg.png) bottom left repeat-x;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 0 20px;
    padding-top: 5px;
}

div#footer-downloads span.label {
    font-family: 'FrutigerLTStd-BoldCn';
    text-transform: uppercase;
    font-size: 14px;
    float: left;
    line-height: 30px;
    margin-right: 8px;
}

div#footer-downloads ul {
    float: left;
}

div#footer-downloads ul,
div#footer-downloads ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

div#footer-downloads ul li {
    display: inline;
    margin-right: 8px;
}

div#footer-downloads ul li a {
    line-height: 30px;
    font-size: 14px;
    font-family: 'FrutigerLTStd-Cn';
    color: #e4513a;
    text-transform: uppercase;
    text-decoration: none;

}

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

@media only screen and (max-width: 1220px) {
    h1 {
        max-width: 600px;
    }
    div#logo {
        left: 20px;
    }
    ul#main-navigation {
        left: 240px;
    }

    div#stoerer {
        top: 80px;
    }
    div#stoerer img {
        width: 300px;
    }

    div.sized {
        padding-left: 20px;
        padding-right: 20px;
        width: auto;
    }

}

@media only screen and (max-width: 1000px) {
    div.post-content {
        width: 600px;
    }
}


@media only screen and (max-width: 900px) {
    ul#main-navigation {
        width: auto;
        left: 20px;
        top: 80px;
    }

    div#stoerer {
        top: 120px;
    }

    div#stoerer img {
        width: 240px
    }

    div.page {
        padding-top: 240px;
    }

}

@media only screen and (max-width: 800px) {
    div.post-content {
        width: 500px;
    }

    div#testimonial img {
        height: 270px;
    }

    div#testimonial-claim {
        background: #f7f0e6;
        padding: 8px;
        bottom: 220px;
        right: 20px;
    }

    div.post-content table td {
        padding: 0 6px;
    }

    div.post-content table td.address-name {
        font-size: 12px;
    }

    div.post-content table td.link {
        display: none;
    }

    div.post-content table td.logo img {
        max-width: 50px;
        max-height: 40px;
    }
}

@media only screen and (max-width: 720px) {
    h1 {
        font-size: 30px;
        width: auto !important;
    }

    iframe {
        max-width: 600px;
    }
}

@media only screen and (max-width: 600px) {
    div#testimonial,
    div#testimonial-claim,
    div#stoerer {
        display: none;
    }
    div.page {
        padding-top: 200px;
    }

    div.post-content {
        width: auto;
    }

    iframe {
        max-width: 100%;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (-moz-min-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2) {
}

@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;
    }
    #header h1 {
        background: url(../img/kwer-logo.png) top left no-repeat !important;
    }
    */

    #footer,
    #footer * {
        background: transparent !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;
    }

    /*
    #header {
        height: auto;
    }
    */

    #search-form {
        display: none;
    }
}
