
/*
 * 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 (min-device-width : 320px) and (max-device-width : 480px) {

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
	
}

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

@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: 'OpenSans';
    src: url('/local/site/layout/opensans-webfont.eot');
    src: url('/local/site/layout/opensans-webfont.eot?#iefix') format('embedded-opentype'),
         url('/local/site/layout/opensans-webfont.woff') format('woff'),
         url('/local/site/layout/opensans-webfont.ttf') format('truetype'),
         url('/local/site/layout/opensans-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

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

body {
    overflow: -moz-scrollbars-vertical;
    font-family: Arial, sans-serif;
    font-size: 12px;
    background:url(/local/site/layout/bg.png) repeat;
}

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

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

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

img {
    border: 0;
}

a {
    text-decoration: underline;
    color:#27ae60;
}

h6, h5, h4, h3, h2, h1 { 
     line-height: 120%;
      color:#2fac61;
     margin: 0; 
     font-family: montserratbold, arial, sans-serif;
} 
 
p { 
    font-family: OpenSans, arial, sans-serif;
     font-size: 14px;
     color:#666;
     margin: 0; 
     padding: 0 0 1em 0; 
} 

h1 { 
     font-size: 40px; 
     padding: 0 0 .4em 0; 
} 
 
h2 { 
     font-size: 29px; 
     padding: 0 0 .4em 0; 
} 
 
h3 {      
     font-size: 18px; 
     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 */
    margin:0 auto;
}

#top_container{
    background: #fff url(/local/site/layout/top-bg2.png) repeat;
    width:100%;
    padding:23px 0 26px 0; 
    -webkit-box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);
    box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136); 
}

#top-right{
    float:right;
    width:10%;
    padding-right:13px;
    margin:0 auto 0;
}

#top-right .flags{
    padding:0;
    margin:0 auto 0;
}

.noselect{
    -moz-user-select:none;
}

#top-right .flags .flag{
    cursor:pointer;
    padding:0;
    float:right;
    margin-left:10px;
    zoom: 1;
    filter: alpha(opacity=50);
    opacity: 0.5;
    /*background:url(/local/site/layout/flag-hover.png) repeat;      */ 
}

#top-right .flags .active{
    zoom: 1;
    filter: alpha(opacity=1);
    opacity: 1;
}

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

#logga{
    float:left;
}

#logga img{
    width:100%;
}

#menu{
    float:right;
    margin:78px auto 0;
    width:72%;
}

#menu ul{
    padding:0;
    margin:0;
}

#menu ul li{
    float:left;
    position:relative; 
}

#menu ul li a{
    padding:10px 11px 13px 11px;
    color:#93d7b0;
    font-family: montserratbold, arial, sans-serif;
    text-transform: uppercase;
    font-size:16px;
    display:block;
    text-decoration: none;
    background:url(/local/site/layout/green.png) repeat-x bottom;
    background-size: 5px ;
    margin-right: 1px;
}

#menu ul li:hover a, #menu ul li.active a, #menu ul li.subactive a{
    background:url(/local/site/layout/darkgreen.png) repeat-x bottom;
    background-size:5px;
    color:#2fac61;
}

#menu ul li.active a, #menu ul li.subactive a {
    background-color:#2fac61;
    color:#fff;
} 

#menu ul li:hover ul li a, #menu ul li.active ul li a, #menu ul li.subactive ul li a {
    background: none;
    border-bottom:none;
} 

#menu ul li ul {
    position: absolute;
    z-index: 100;
    height: auto;
    margin: 0 0;
    padding:23px 0 20px 16px;
    min-width: 300px;
    background-color: #fff;
    border-bottom: none;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);
    box-shadow: 1px 1px 2px 1px rgba(136, 136, 136, 136); 
}

#menu ul li ul li {
    float: none;   
}

/*#menu ul li:first-of-type a{
    background-color:#2fac61;
    color:#fff;
}     */

#top #menu ul li ul li a {
    padding: 5px 5px 5px 20px;
    margin-right: 0px;
    background: url(/local/site/layout/submenu-grey.png) no-repeat 0px 10px;
}

#menu ul li:hover ul li a{
    background-color:#fff;
    color:#999;
    border-bottom:none;
}

#top #menu ul li ul li:hover a, #top #menu ul li ul li.active a, #top #menu ul li ul li.subactive a {
    background: url(/local/site/layout/submenu-green.png) no-repeat 0px 10px;
    color: #2fac61;
    border-bottom:none; 
}

#bildspel{
    max-width:1060px;
    margin:20px auto 0; 
    -webkit-box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);
    box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);    
}

#bildspel img{
    width:100%;
}

#bildspel-title{
    float:left;
    margin:-173px 0 0 20px;
    z-index:300;
}

#bildspel-title h1{
    margin:0;
    width:31%;
    background-color:#2fac61;
    color:#fff;
    padding:15px 20px 12px 23px;
    text-transform: uppercase;
}

#bildspel-title p{
    margin:1px 0;
    width:56%;
    background-color:#fff;
    color:#999;
    padding:17px 19px 17px 20px;
    text-transform: uppercase;
    font-size:25px;
}

#content{
    padding-bottom:100px;
}

#maincontent{
    max-width:1060px;
    margin:20px auto;
}

#main{
    background-color:#fff;
    width:70%;
    float:left;
    padding:37px 2% 48px 2%;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);
    box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136); 
}

#main h2{
    color:#2fac61;
}

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

#right{
    background-color:#fff;
    width:24%;
    float:right;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);
    box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136); 
}

#right h3{
    background-color:#27ae60;
    color:#fff;
    padding:20px 15px 16px 15px;
}

#right p{
    padding:15px;
    font-size:12px;
}

.smp{
    padding:0;
    color:#27ae60;
}

/*default-sida*/

#content2{
    max-width:1060px;    
    margin:0 auto;
    padding-bottom:60px;
}

#title{
    background-color:#27ae60;
    margin:20px auto 0;
}

#title h1{
    font-family: montserratbold, arial, sans-serif;
    text-transform: uppercase; 
    color:#fff;
    padding:26px 0 23px 23px;
}

#maincontent2{
    float:left; 
    max-width:790px;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);
    box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);
    margin:20px auto;
}

#bildyta{
    margin:0 auto 0;  
    float:left;
    border-bottom:5px solid #27ae60;
}

#bildyta img{
    width:100%;
}

#bildyta p{
    padding:0;
}

#main2{
    width:96%;
    float:left;
    margin:0 auto;
    background-color:#fff;  
    padding:28px 2% 30px 2%; 
}

#main2 h2{
     color:#2fac61;
}

#rightcontent{
    float:right;
    width:24%;
    margin:0 auto 0;
}

.puff h3{
    background-color:#27ae60;
    color:#fff;
    padding:20px 15px 16px 15px;
}

.puff{
    background-color:#fff;
    margin:20px auto 0; 
    padding:0;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136);
    box-shadow: 1px 1px 3px 1px rgba(136, 136, 136, 136); 
}

.puff p{
    padding:15px;
    font-size:12px;
}

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

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

#footer{
    float:left;
}

#forss{
    padding-top:16px;
    float:right;
    width:26%;
    text-align: right;
}

#forss a{
    font-family:OpenSans, arial, sans-serif;
    color:#999;
    font-size:12px;
    text-decoration: none;
}

/*mobilanpassning*/
@media only screen and (min-width : 100px) and (max-width : 480px) {/*mobil*/
  /* div{
        border:1px solid black;
    }    */
    
    #top_container{
        width:100%;
        margin:0 auto;
    }
    
    #logga{
        width:70%;
    }
    
    #top-right{
        width:20%;
    }
    
    .flags{
        float:left;
    }
    
    #bildspel{
       width:100%; 
    }
    
    #content{
        padding-bottom:70px;
    }
    
    #maincontent{
        width:100%;
        margin:10px auto;
    }
    
    #main{
        padding:2%;
        width:91%;
        margin:0 auto;
        float:none;
    }
    
    #main h2{
        font-size:18px;
        padding:5px;
    }
    
    #right{
        padding:0;
        width:95%;
        margin:10px auto;
        float:none;
    }
    
    #right h3{
        font-size:15px;
    }
    
    #right p{
        padding:5px;
    }
    
    /*default*/
    #content2{
        padding-bottom:80px;
    }
    
    #title{
         margin:10px auto 0;
    }
    
    #maincontent2{
        width:100%;
        padding: 0;
        float:none;
        margin:10px auto 10px; 
    }      
    
    #bildyta{
        width:100%;
        padding:0;
        margin:0 auto;
        float:none;
    }
    
    #main2{
        width:91%;
        float:none;
        padding:2%;
        margin:0 auto 10px;
    }
    
    #main2 h1{
        font-size:25px;
    }
    
    #rightcontent{
        width:95%;
        height:auto;
        float:none;
        padding:0;
        margin:0 auto 0;
    }
    
    .puff{        
        padding:0;
       float:none;
       margin:0 auto 10px; 
    }
    
    .puff p{
        padding:2%;
        font-size:12px;
    }
    
     #footer_container{
        width:100%;
        margin:0 auto 0;
    }
    
    #forss{
        width:95%;
        text-align: center;
    }

}

@media only screen and (min-width : 481px) and (max-width : 1023px) {/*mobil - ipad*/
       /*div{
        border:1px solid green;
    }   */  
    
    #bildspel{
        width:100%;
    }
    
    /*default*/
    #content2{
        padding-bottom:70px;
    }
    
    #footer_container{
        width:100%;
        margin:0 auto 0;
    }
    
    #forss{
        width:95%;
        text-align: center;
    }


}

@media only screen and (min-width : 768px) and (max-width : 1024px) {/*iPad*/
    /*div{
        border:1px solid green;
    }   */  
    
    #bildspel{
        width:100%;
    }
    
    /*default*/
    #content2{
        padding-bottom:70px;
    }
    
    #maincontent2{
        float:none;
        margin:10px auto;
    }
    
    #bildyta{
        float:none;
    }
    
    #main2{
        float:none;
        padding:2%;
        margin:0 auto 10px;
    }
    
    #main2 p{
        font-size:12px;
    }
    
    #rightcontent{
        width:100%;
        height:auto;
        float:none;
        padding:0;
        margin:10px auto 0;
    }
    
    .puff{        
        padding:0;
       float:none;
       margin:0 auto 10px; 
    }
    
    .puff p{
        padding:2%;
        font-size:12px;
    }
    
    #footer_container{
        width:100%;
        margin:0 auto 0;
    }
    
    #forss{
        width:95%;
        text-align: center;
    }
}       

/*@media only screen and (min-width : 1025px) and (max-width : 1446px) {dator
     #menu{
         width:70%;
     }
     
     #menu ul li a{
          font-size:15px;
     }
}    */

@media only screen and (min-width : 100px) and (max-width : 1090px) {/*menyn*/
    #menu, #submenu {
        display: none;
    }
    
    #mobilemenu, #mobilesubmenu {
        display: initial;
    }
    
    #mobilemenu_header {
        width: 30px;
        height: 24px;
        font-size: 25px;
        font-weight: bold;
        color: #fff;
        padding:0px;
        position: absolute;
        right: 20px;
        margin-top:85px;
        background: url(/local/site/layout/mobilemenu.png) no-repeat;
    }
    
    #mobilemenu_content ul {
        margin: 0px 0px 0px 0px;
        padding: 0px;
        padding-bottom: 3px;
        width: 100%;
        z-index: 200;
        background-color: #2fac61;
         color:#fff;
        position: relative;
    }
    
    #mobilemenu_content ul li ul, #mobilemenu_content ul li ul li ul, #mobilemenu_content ul li ul li ul li ul {
        top: 0px;
    }
    
    #mobilemenu_content ul li {
        float: none;
    }
    
    #mobilemenu_content ul li a {
         color:#fff;
        display: block;
        padding: 5px 10px;
        font-size: 20px;
        font-family:OpenSans, arial, sans-serif;
        text-decoration: none;
        background: url(/local/site/layout/mobilemenudivider.jpg) repeat-x bottom;
    }
    
    #mobilemenu_content ul li.active a, #mobilemenu_content ul li.subactive a {
        background-color:#97d5b0;
        color:#fff;
    }
    
    #mobilemenu_content ul li ul {
        background-color:#97d5b0;
        margin: 0px;
        padding: 0px;
    }
    
    #mobilemenu_content ul li ul li a {
        background-color:#97d5b0;
        color:#fff;
    }
    
    /*#mobilemenu_content ul li.active ul li.active a{
        background-color:#333;
    } */
    
    #mobilemenu_content ul li.active ul li.active a, #mobilemenu_content ul li.subactive ul li.active a, #mobilemenu_content ul li.active ul li.subactive a, #mobilemenu_content ul li.subactive ul li.subactive a {
        background-color:#97d5b0;
        color:#fff;
    }
    
    #mobilemenu_content ul li ul li a {
        font-size: 16px;
        padding: 7px 10px 7px 30px;
    }
}