/*
title:    styles.css
website:  www.profipan.ch
author:   sascha.scholz@metanet.ch
date:     01.04.2020
*/

/* base
***********************************************************/
body {
    margin: 0;
    padding: 0;
    font-size: 100%;
    line-height: 1.5;
    font-family: arial, sans-serif;
    color: #444;
    background: #f5f5f5 url(/images/body02.jpg) 0 0 repeat-x;
}

p {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

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

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

img {
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.main img {
    max-width: 100%;
}

/* TEMP */

b, strong {
    font-weight: bold;
}

a {
    color: #333;
    color: #CC3300;
    text-decoration: none;
}

a:focus {
    outline: thin dotted;
}

a:active,
a:hover {
    color: #D63A06;
    outline: 0;
    text-decoration: underline;
}

a:active {
    background-color: transparent;
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1em;
    padding: 0;
}

dl, ul, ol {
    margin: 0 0 1em;
}

ul, ol {
    padding: 0 0 0 40px;
}


/* structure
***********************************************************/
.page {
    margin: 2% auto 0;
    padding: 20px 0 0;
    width: 940px;
    background: #fff;
    -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .2);
}

.lt-ie9 .page {
    border: 1px solid #d5d5d5;
}

.header {
    height: 128px;
    position: relative;
    background-position: 100% 0;
    background-repeat: no-repeat;
    margin: 0 20px;
}

.nav-main {
    margin: 0 20px;
    padding-bottom: 1px;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 6px solid #CC3300;
    background: #f45722;
}

.content-wrap {
    background: #fff url(/images/content-wrap.jpg) 0 0 no-repeat;
}

.main {
    padding: 20px;
    font-size: 12px;
    line-height: 1.4;
    min-height: 240px;
    position: relative;
}

.footer {
    margin: 0 auto;
    padding: 15px 0;
    clear: both;
    width: 900px;
    font-size: 11px;
    line-height: 1.4;
    color: #888;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

/* header
***********************************************************/
h1 {
    position: absolute;
    top: 15px;
    left: 0;
    width: 230px;
    height: 87px;
    background: url(/images/logo.gif);
}

h1 a {
    height: 100%;
    display: block;
    overflow: hidden;
    outline: none;
}

/* =nav-main
*******************************************************************************/
.nav-main ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #111;
}

.nav-main li {
    float: left;
    width: 450px;
}

.nav-main a {
    padding: 10px 0 9px;
    display: block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    border-top: 1px solid #222;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .4);
    color: #bbb;
    -webkit-transition: all 0.15s linear 0s;
    -moz-transition: all 0.15s linear 0s;
    -o-transition: all 0.15s linear 0s;
    -ms-transition: all 0.15s linear 0s;
    transition: all 0.15s linear 0s;
}

.nav-main a:hover,
.nav-main a:focus {
    color: #fff;
    background: #1e1e1e;
}

.nav-main a.active {
    padding-bottom: 10px;
    position: relative;
    margin-bottom: -1px;
    border: 1px solid #F4D578;
    border-color: #e64c19;
    border-width: 1px 1px 0;
    color: #fff;
    background: #CC3300;
    border-width: 1px 0 0;
}

/* main
***********************************************************/
.col1, .col2 {
    float: left;
    width: 440px;
}

.col1 {
    float: right;
}

/* firm-list */
.firm-list {
    margin: 0 -10px 0 0;
    padding: 0;
}

.lt-ie8 .firm-list {
    margin-bottom: 5px;
}

.firm {
    margin: 0 10px 10px 0;
    float: left;
    width: 102px;
    position: relative;
    height: 85px;
    line-height: 1.2;
}

.firm a {
    padding: 5px;
    display: block;
    background: #CC3300;
    height: 73px;
    color: #fff;
    text-decoration: none;
    -webkit-transition: all 0.15s linear 0s;
    -moz-transition: all 0.15s linear 0s;
    -o-transition: all 0.15s linear 0s;
    -ms-transition: all 0.15s linear 0s;
    transition: all 0.15s linear 0s;
}

.firm span {
    color: #F4E2E2;
    color: rgba(255, 255, 255, .9);
    font-weight: normal;
}


.firm a:hover {
    background: #d63a06;
}

.firm i.url {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 88px;
    font-style: normal;
    font-size: 11px;
    color: #ebad99;
    color: rgba(255, 255, 255, .6);
    -webkit-transition: all 0.15s linear 0s;
    -moz-transition: all 0.15s linear 0s;
    -o-transition: all 0.15s linear 0s;
    -ms-transition: all 0.15s linear 0s;
    transition: all 0.15s linear 0s;
}

.firm a:hover i.url {
    color: #faebe6;
    color: rgba(255, 255, 255, .9);
}

.firm-list .info {
    float: left;
    width: 214px;
}

/* img-wrap */
.img-wrap {
    margin-right: -10px;
    margin-bottom: 12px;
}

.img-wrap img {
    margin: 0 20px 0 0;
}

.img-wrap img {
    float: left;
    margin: 0 10px 0 0;
}

.img-wrap img.pic1 {
    width: 290px;

}

.img-wrap img.pic2,
.img-wrap img.pic3 {
    width: 140px;
}

.img-wrap img.pic2 {
    margin-bottom: 10px;
}


/* footer
***********************************************************/
.footer a {
    color: #888;
    text-decoration: none;
}

/* misc
***********************************************************/
.main-pic {
    margin: 0;
    padding: 0;
}

.photo-copyright {
    color: #888;
    font-size: 11px;
    margin: .5em 0 0;
    text-align: right;
    display: block;
}

.photo-copyright a {
    color: #888;
    text-decoration: none;
}

.photo-copyright a:hover {
    color: #666;
    text-decoration: underline;
}

.nowrap {
    white-space: nowrap;
}

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

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

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

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