/* desktop */
.infoCont {
    float:left;
    padding-top:30px;
}
.byline {
    width: 250px;
    height:60px;
    text-align: center;
}

#newsCont, #refCont {
    width: 50%;
    max-width: 600px;
    padding-top:1em;
    padding-bottom: 3em;

}
.newsItem h2 {
    padding-bottom: 0.5em;
}
.newsItem p {
    padding-bottom: 1em;
}
.newsItem img {
    padding-bottom: 3em;
    max-width: 600px;
}
.refItem h4 {
    padding-top: 1em;
    font-weight:bold;
}
.refItem p {
    padding-bottom: 1em;
}
.refItem img {
    padding-bottom: 3em;
    max-width: 600px;
}

.flex-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    }
.flex-item:nth-child(1) {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    }
.flex-item:nth-child(2) {
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    }

.mask-flex-container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    }
.mask-flex-item {
    min-width:250px;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    -webkit-flex: 0 1 25%;
    -ms-flex: 0 1 25%;
    flex: 0 1 25%;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    }

#kontaktCont {
    width: 50%;

}
#colV {
    float: left;
    width: 60%;

}
#colH {
    float: left;
    width: 34%;
    padding: 3.5em 0% 3em 6%;
}

/* tablet */
@media (max-width:1601px), (orientation:portrait) {

    p {
    font-size: 0.9em;
    line-height: 1.2em;
    }
    
    #tracks {
    width: 80%;
    }

    #meny {
    width: 90%;
    }
    #meny li {
    width: 14.6%;
}
    #meny a li  {
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    padding: 0px 0.5% 0px 0.5%;
    }
    #meny a li:last-child  {
    padding: 0px 0% 0px 0%;
    }

    #mainContent
    {
        padding: 1.5em 2% 1em 2%;
    }
    #mainContent p {
    max-width: 100%;
}

    #bildlankar {
    width: 90%;
    }

    footer {

    }

    #maskintyp {
    width: 80%;

    }
}

/*mobile*/
@media (max-width: 650px)
{
    header
    {   padding: 1em 0em 1em 0em;
        background-color: #fff;
        background: none;
    }
    .greystripe
    {
        display: none;
    }
    #headerstripe, #bgImg
    {
        display: none;
    }
    .bluestripe
    {
        display: normal;
    }

    #mobillogga
    {

    width: 90%;
    }
    #mobillogga img
    {
    display: initial;
    width: 100%;
    }
        
    #subHeader
    {
        width: 100%;
    }
    #bildlankar
    {
        width: 50%;
    }
    #bildlankar a
    {
        float: none;
    }

    #bildlankar a img
    {
        width: 100%;
        border-radius: 5px;
        box-shadow: 3px 3px 6px 1px #aaa;
    }
    .bildlank
    {
        padding: 20px 0px 0px 0px;
    }
    #aaa
    {
        float: left;
        width: 30%;
        padding: 2em 0px 2em 37%;
    }

    #di
    {
        padding: 0em 22% 0em 0%;
    }

    #Slideshow, #bildspelHem, nav
    {
        display: none;
    }

    #subnav
    {
        padding: 5% 0% 0% 0%;
    }
    #subnav li {
    line-height: 1.2em;
    margin-bottom:0.5em;
    margin-right: 0.5em;
    padding-top:0.5em;
}

    #kontaktinfo
    {
        width: 80%;
    }

    #mainContent
    {
        width: 80%;
        padding: 1em 10% 3em 10%;
    }

    #maskintyp
    {
        width: 250px;
    }
    .masktyp
    {
        padding-left: 0%;
        padding-right: 28px;
        display: normal;
    }
    .mask {
    padding: 5px 5px 5px 5px;
}

    #newsCont, #refCont
    {
        width: 80%;
    }
    .newsItem img, .refItem img
    {
        min-width: 100%;
        max-width: 100%;
    }

    #kontaktCont
    {
        width: 80%;
    }
    #colV
    {
        width: 100%;
    }
    #colH
    {
        width: 100%;
        padding: 3.5em 0% 3em 10%;
    }

    fieldset input[type="text"], input[type="password"]
    {
        width: 100%;
    }

    textarea
    {
        width: 100%;
        height: 10em;
    }

    #mobilmeny
    {
        display: initial;
        margin-bottom: 0.5em;
    }    
    #mobilmeny ul
    {
        width: 100%;
        padding-bottom: 0.5em;  
    }
    #mobilmeny li
    {
        display: inline-block;
        width: 31.5%;
        padding: 2% 0% 2% 0%;
        margin: 0.5em 0em 0em 0em;
        text-align: center;
        background-color: #eee;
        border: 1px solid #bbb;
        border-radius: 5px 5px 5px 5px;
    }

    label
    {
        cursor: pointer;
        
    }
    #menu
    {
        display: none;
    }
    #menu-toggle
    {
        display: none; /* hide the checkbox */
    }
    #menu-toggle:checked + #menu
    {
        display: block;
    }
}




