/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 16.mai.2017, 16:45:38
    Author     : Magnus
*/


/* ------------------------------------------- */
/*                 SIDEMENYEN                  */
/* ------------------------------------------- */
#sidemeny 
{
    padding: 0;
    font-family: Helvetica, 'Trebuchet MS', 'Lucida Grande',
        Verdana, Lucida, Geneva,
        Arial, sans-serif;
    /*background-color: #222222;
    color: #cccccc;*/
    background-color: #4d4d4d;
    color: #76DEFC;
}

#produktside .menycontainer #sidemeny {
    width: 90%;
}



#sidemeny ul 
{
    list-style: none;
    margin: 0;
    padding: 0;
    border-style: none;
}

#sidemeny li 
{
    border-bottom-color: #222222;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    margin: 0;/*	border-right: 1px solid #000;*/
}

#sidemeny li a 
{
    display: block;
    padding-top: 0.2em;
    padding-right: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 0.5em;
    border-left-color: #535353;
    border-left-width: 0.5em;
    border-left-style: solid;
    border-right-color: #404040;
    border-right-width: 0.5em;
    border-right-style: solid;
    background-color: #4d4d4d;
    text-decoration: none;
    width: auto;
}
#produktside #sidemeny li > a {
    height: 2em;
}
#sidemeny li a:hover 
{
    border-left-color: #76DEFC;
    border-left-width: 0.5em;
    border-left-style: solid;
    border-right-color: #015095;
    border-right-width: 0.5em;
    border-right-style: solid;
    background-color: #016DAD;
}

#menytittel 
{
    font-weight: bold;
    font-size: large;
    text-decoration: underline;
    padding-bottom: 1em;
}
@media only screen and (min-width : 820px) {
    #sidemeny {
        background-color: #222222;
        color: #cccccc;
        width: 10em;
        position: inherit;
        float: left;
    }

    #produktside #sidemeny li a {
        height: auto;
    }

    #menytittel {
        font-size: x-large;
    }


}
/* ------------------------------------------- */
/*              SIDEMENYEN-SLUTT               */
/* ------------------------------------------- */

*, *::after, *::before {
    box-sizing: border-box;
    font-family: roboto, arial;
    line-height: 2;
    margin: 0; }

/*.menu-list a, .menu-list a::before, .menu-list a::after {
    line-height: 1;
}*/
body {
    /*background: #444;*/
    overflow-x: hidden; }

p {
    margin-bottom: 24px; }
p:last-child {
    margin-bottom: 0; }

.content {
    margin: auto;
    max-width: 1000px;
    padding: 20px; }

.invis {
    height: 1px;
    left: -999px;
    position: absolute;
    top: -999px;
    visibility: hidden;
    width: 1px; }

.main-base {
    /*background: #eee;*/
    left: 0px;
    position: relative;
    transition: all .3s; }

/*.main-base header, .main-base footer {
  background: #888;
  color: #fff; }*/

/*footer a {
  color: #fff; }*/

.nav-side {
    top: 3px;
    left: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 60px;
    overflow: hidden;
    padding: 8px 0;
    position: fixed;
    transition: all .3s;
    width: 60px;
    z-index: 3; 
}

.menu-list {
    height: 0%;
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    transition: all .3s; 
    /*overflow: auto;*/
    overflow-y: scroll;
}

.menu-list::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

.menu-list::-webkit-scrollbar
{
    width: 5px;
    background-color: #F5F5F5;
}

.menu-list::-webkit-scrollbar-thumb
{
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #4d4d4d;
}


.meny-kategori {
    list-style: none;
}

.menu-list a {
    border-bottom: 1px solid #eee;
    /*color: #fff;*/
    /*display: block;*/
    padding: 12px 8px;
    /*text-decoration: none;*/ }
.menu-list a:hover {
    background: rgba(0, 0, 0, 0.5); }

.btn-label {
    cursor: pointer;
    display: block;
    height: 60px;
    width: 60px;
    position: absolute;
    top: 0;
    left: 0; }
.btn-label .top {
    height: 3px;
    background-color: #fff;
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
}
.btn-label .middle {
    height: 3px;
    background-color: #fff;
    position: absolute;
    top: 22px;
    left: 12px;
    right: 12px;
}
.btn-label .bottom {
    height: 3px;
    background-color: #fff;
    position: absolute;
    top: 32px;
    left: 12px;
    right: 12px;
}
.btn-label .label {
    text-align: center;
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    font-size: 12px;
}
#nav-expand:checked + .nav-side .btn-label {
    display: none;
}

.close {
    cursor: pointer;
    text-align: right;
    padding-right: 15px;
    line-height: 30px;
    font-size: 30px;
    cursor: hand;
    cursor: pointer;
    display: none;
    height: 40px;
    border-bottom: 1px solid #fff; }
#nav-expand:checked + .nav-side .close {
    display: block;
}

#nav-expand:checked + .nav-side {
    /*bottom: 0;*/
    top: 0;
    height: 100%;
    left: 0;
    width: 300px;
    background-color: #222222;
    color: #cccccc;
}
#nav-expand:checked + .nav-side .menu-list {
    height: calc(100% - 40px); }
#nav-expand:checked + .nav-side .btn-label {
    color: transparent;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    text-align: center;
    width: 20px; }
#nav-expand:checked + .nav-side + .main-base {
    left: 200px; }
#nav-collapse + .main-base {
    /*left: 200px;*/ }
.main-base > #nav-collapse + .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.5);
    opacity: 1;
    transition: opacity .3s; }
#nav-collapse:checked + .main-base {
    left: 0; }
.main-base > #nav-collapse:checked + .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    width: 0;
    opacity: 0; }

@media only screen and (min-width : 820px) {

    .menu-list {
        overflow-y: hidden;
    }
    #nav-expand + .nav-side .btn-label {
        display: none;
    }
    #nav-expand + .nav-side {
        /*bottom: 0;*/
        /*top: 0;*/
        height: 100%;
        /*left: 0;*/
        /*width: 300px;*/
    }
    #nav-expand + .nav-side .menu-list {
        height: calc(100% - 40px); }
    #nav-expand + .nav-side .btn-label {
        color: transparent;
        display: inline-block;
        height: 20px;
        line-height: 20px;
        text-align: center;
        width: 20px; }

}