/*
 * HTML5 Boilerplate
 *
 * 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;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

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

/*
 * Image replacement
 */

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

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

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

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

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

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }
}

body {
    overflow: -moz-scrollbars-vertical;
    font-family: source_sans_proregular, Arial, sans-serif;
    font-size: 14px;
    color: #ccc;
    background: url(/local/site/layout/bg.jpg);
    background-size: cover;
}

html, body {
    height:100%; /* needed for container min-height */
}

* {
    margin: 0px;
    padding: 0px;
}

@font-face {
    font-family: 'montserratregular';
    src: url('/local/site/layout/montserrat-regular-webfont.eot');
    src: url('/local/site/layout/montserrat-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/local/site/layout/montserrat-regular-webfont.woff') format('woff'),
         url('/local/site/layout/montserrat-regular-webfont.ttf') format('truetype'),
         url('/local/site/layout/montserrat-regular-webfont.svg#montserratregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'montserratbold';
    src: url('/local/site/layout/montserrat-bold-webfont.eot');
    src: url('/local/site/layout/montserrat-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/local/site/layout/montserrat-bold-webfont.woff') format('woff'),
         url('/local/site/layout/montserrat-bold-webfont.ttf') format('truetype'),
         url('/local/site/layout/montserrat-bold-webfont.svg#montserratbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'source_sans_proregular';
    src: url('/local/site/layout/sourcesanspro-regular-webfont.eot');
    src: url('/local/site/layout/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/local/site/layout/sourcesanspro-regular-webfont.woff') format('woff'),
         url('/local/site/layout/sourcesanspro-regular-webfont.ttf') format('truetype'),
         url('/local/site/layout/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'source_sans_prosemibold';
    src: url('/local/site/layout/sourcesanspro-semibold-webfont.eot');
    src: url('/local/site/layout/sourcesanspro-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/local/site/layout/sourcesanspro-semibold-webfont.woff') format('woff'),
         url('/local/site/layout/sourcesanspro-semibold-webfont.ttf') format('truetype'),
         url('/local/site/layout/sourcesanspro-semibold-webfont.svg#source_sans_prosemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

ul {
    margin-left: 30px;
    margin-top: 0px;
    padding: 0px;
}

img {
    border: 0;
}

a {
    text-decoration: underline;
    color: #ccc;
}

h6, h5, h4, h3, h2, h1 { 
     line-height: 120%;
     color: #fff;
     margin: 0; 
     font-family: montserratregular, Arial, sans-serif;
     font-weight: normal;
} 
 
p { 
     font-size: 19px;
     margin: 0; 
     padding: 0 0 1em 0; 
} 

h1 { 
     font-size: 35px; 
     padding: 0 0 .4em 0; 
     font-family: montserratbold, Arial, sans-serif;
} 
 
h2 { 
     font-size: 19px; 
     padding: 0 0 .4em 0; 
} 
 
h3 {      
     font-size: 17px; 
     padding: 0 0 .3em 0; 
} 
 
h4 { 
     font-size: 15px; 
     padding: 0 0 .3em 0; 
} 
 
h5 { 
     font-size: 13px; 
     padding: 0 0 .2em 0; 
} 
 
h6 { 
     font-size: 12px; 
     padding: 0 0 .1em 0; 
}

.clear {
    clear: both;
    height: 0px;
    font-size: 0px;
}

#container {
    position:relative; /* needed for footer positioning*/
    height:auto !important; /* real browsers */
    height:100%; /* IE6: treaded as min-height*/
    min-height:100%; /* real browsers */
}

header {
    width: 100%;
    background: url(/local/site/layout/header.jpg) no-repeat;
    height: 354px;
    background-size: cover;
}

#top {
    max-width: 1060px;
    margin: 0 auto;
}

#language {
    width: 75px;
    margin: 0 auto;
    padding: 30px 0px;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    font-family: montserratregular, Arial, sans-serif;
}

#language a {
    color: #999;
    text-decoration: none;
}

#language a.active {
    color: #fff;
}

#logga {
    width: 34.7%;
    margin: 0 auto 40px;
}

#logga img {
    width: 100%;
}

#top_content {
    text-align: center;
    font-size: 19px;
    color: #afafaf;
    font-family: montserratbold, Arial, sans-serif;
    text-transform: uppercase;
}

#top_content img {
    padding-left: 10px;
}

#content {
    max-width: 1060px;
    margin: 0 auto;
    padding-bottom: 100px;
}

#maincontent {
    padding-top: 40px;
    text-align: center;
}

.divider {
    height: 13px;
    text-align: center;
    margin: 50px 0px;
    background: url(/local/site/layout/divider_bg.png) no-repeat center;
}

.divider img {
    position: relative;
    margin-top: -6px;
}

.box {
    background: url(/local/site/layout/box_bg.png);
    position: relative;
    clear: both;
    min-height: 300px;
}

#box6 .box, #box5 .box {
    min-height: 450px;
}

.box4_eng {
    min-height: 460px;
}

#box6 .box6_eng {
    min-height: 520px;
}

.box_content h1 {
    color: #f2f2f1;
    float: left;
    text-transform: uppercase;
}

.toplink {
    float: right;
    width: 48px;
    height: 10px;
    margin-top: 15px;
}

.youtube {
    float: left;
    width: 74.5%;
}

.youtube iframe {
    width: 100%;
    height: 400px;
}

.youtube_box3 {
    float: left;
    width: 74.5%;
}

.youtube_box3 iframe {
    width: 100%;
    height: 400px;
}

.right {
    float: right;
    width: 25.5%;
}

.right h2 {
    background-color: #000;
    font-size: 18px;
    padding: 15px 10px 15px 18px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}

.right h3{
    font-size: 15px;
    padding-left: 18px;
    text-transform: uppercase;
}

.right img {
    margin-left: 18px;
    margin-bottom: 5px;
}

.right p {
    font-size: 14px;
    padding-left: 18px;
    padding-right: 10px;
}

.right p strong {
    color: #fff;
}

.right_bottom {
    padding: 0px 18px 10px 10px;
}

.pris {
    text-align: center;
    font-size: 30px;
    color: #fff;
    font-family: montserratregular, Arial, sans-serif;
    line-height: 1;
}

.moms {
    text-align: center;
    font-family: montserratregular, Arial, sans-serif;
    font-size: 12px;
    color: #999;
    padding-bottom: 20px;
}

.bestall {
    text-align: center;
    font-family: montserratregular, Arial, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
}

#footer_container {
    position:absolute;
    width:100%;
    height: 85px;
    background-color: #060606;
    bottom:0; /* stick to bottom */
}

footer {
    max-width: 1060px;
    margin: 0 auto;
    font-size: 14px;
    padding-top: 15px;
}

#footer {
    width: 70%;
    float: left;
}

#footer p {
    font-size: 14px;
}

#forss {
    float: right;
    width: 30%;
    text-align: right;
}

@media only screen and (min-width : 100px) and (max-width : 480px) {
    #logga {
        width: 60%;
    }   
}

@media only screen and (min-width : 100px) and (max-width : 1024px) {
    #content {
        width: 95%;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 30px;
    }
    
    header {
        height: 300px;
    }
    
    .divider {
        margin: 20px 0px;
    }
    
    .youtube, .right, .youtube_box3 {
        float: none;
        width: 100%;
    }
    
    .right_bottom {
        position: relative;
    }
    
    .pris, .moms, .bestall {
        text-align: left;
    }
    
    .right p, .right h2 {
        padding-left: 0px;
    }
    
    .box_content h1 {
        font-size: 25px;
    }
    
    .toplink {
        margin-top: 5px;
    }
    
    footer {
        width: 95%;
    }
    
    #footer {
        float: none;
        width: 100%;
    }
    
    #forss {
        float: none;
        width: 100%;
        text-align: center;
    }
}