@charset "UTF-8";

html {
    touch-action: manipulation;
    font-size: 100%;
}

body {
    background: #fff; /* http://www.sir-l.com/images/bg_wood.jpg http://www.sir-l.se/100procentserier.se/img/bg_california.gif */
    /*background: url("../img/bg_wood.jpg");*/
    border:0;
    font-size: 62.5%;
    padding:0;
    position: relative;
    vertical-align:baseline;
    overflow: auto;
}

body {
    font-size: 1em; /* 16px */
}

/* FONT */
body {
    font-family: "Times New Roman";
}

#page-header header h1 {
    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}
/* END – FONT */

h1, h2, h3 {
    margin: 0;
    padding: 0;
}

.group:before,
.group:after {
    content: "";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

#container {
    max-width: 75em;
    min-height: 200px;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
}

/* PAGE HEADER */
#page-header {
    /*border: thick solid #000;*/
    display: block;
    /*height: 15em;*/
    height: auto;
    position: relative;
}

#page-header h1, 
#page-header h2 {
    display: inline-block;
    margin: 0;
}

#page-header h1 {
    font-size: 2em;
}

#page-header h1 a {
    color: #bf9b30;
}


#page-header h2 {
    font-size: 1.5em;
    margin: .3em 0 0 .5em;
}

#page-header h2:before {
    content: '– ';
}

#page-header hgroup {
    display: inline-block;
    color: #ffbf00;
    color: #bf9b30;
    /*color: #ffcf40;*/
    margin: 0;
    padding: 0;
    background: #bf9b30;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-top: thick solid #a67c00;
    z-index: 210;
    border-bottom: thick solid #a67c00;
    padding: 0 .5em;
    height: 3em;
}

/*#page-header hgroup.fixed-hgroup & {
    position: fixed;
    top: 0;
    left: 0;
    height: 3em;
}*/

#main_menu_sticker {
    width: 100%;
}

.fixed-hgroup {
    position: fixed;
    top: 2.8em;
    left: 0;
    height: 3em;
    z-index: 200;
}

#page-header #top-img {
    /*background: url("http://kartofilen.se/wp-content/uploads/2017/05/cropped-cropped-kort-2.jpg");*/
    background: url("/2017/includes/img/top_cards2.jpg");
    background-repeat: repeat-x;
    background-size: contain; 
    /*background:
        url("//kartofilen.se/wp-content/uploads/2017/05/kartofilen-logo-card.png") top left /10em no-repeat,
        url("//kartofilen.se/wp-content/uploads/2017/05/cropped-cropped-kort-2.jpg") repeat-x;*/
    height: 15em;
    position: relative;
}

#page-header #top-img {
    margin-top: 3em;
}

#logo-ss {
    height: 70%;
    height: 10.5em;
    height: 12.5em;
    height: 12em;
    position: absolute;
    top: .5em;
    top: 18em;
    z-index: 20;
    left: .5em;
}

#main_menu {
    background: #000;
    background: #a67c00;
    color: white;
    display: block;
    position: relative;
    /*height: 40px;*/
    height: 2.5em;
    width: 100%;
    padding-left: 8.5em;
}

nav#main_menu {
    position: -webkit-sticky;  /*// required for Safari*/
    position: sticky;
    top: 0; /*// required as well.*/
}

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

ul li {
    border: none;
    display: inline-block;
    width: auto;
}

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

#main_menu ul li {
    border: none;
    display: inline-block;
    list-style: none;
    width: auto;
}

#main_menu ul li a {
    display: block;
    padding: .2em 1em;
    text-decoration: none;
    color: #fff;
    color: #ffcf40;
    color: #ffbf00;
    line-height: 1.6em;
    font-size: 1.2em;
}

#page-header header nav li a:hover {
    background: #ffbf00;
    color: #a67c00;
}

#page-header header nav li a:active {
    background: #ffbf00;
    color: #a67c00;
}

#page-content {
    /*font-size: 1.1em;*/
    margin: 3em 9em;
    margin: 2.5em 9em;
    position: relative;
    z-index: 22;

    /*max-width: 75em;*/
    min-height: 200px;
    /*margin: 0 auto;*/
    /*overflow: hidden;*/
    overflow: visible;
    background: transparent;
    width: 100%;
}

.rounded_corners {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -khtml-border-radius: 10px;
}

.uppercase {
    text-transform: uppercase;
}

.ingess {
    display: block;
    font-style: italic;
}

.page-section {
    display: none;
    vertical-align: text-top;
}

.page-section:nth-of-type(1) {
    display: inline-block;
}

.page-section-title {
    font-size: 2em;
    margin-bottom: .5em;
}

.page-article, .pinboard-article {
    display: inline-block;
}

.page-article-title {
    font-size: 1.2em;
    margin-bottom: .5em;
}

/*.page-article,*/
.page-article-info {
    border: .15em solid khaki; /* beige khaki */
    border-width: .3em;
    width: 21em;
    width: 31.5em;
    padding: 1em;
    min-height: 29em;
    min-height: 43.5em;
    display: inline-block;
    height: auto;
    vertical-align: text-top;
}

#home {
    width: 100%;
}

#home .page-article-info {
    background: #ffcc98;
    background: #fff;

/* Rotating stuff */
    behavior:url(-ms-transform.htc);
    /* Firefox */
    -moz-transform:rotate(-2deg);
    /* Safari and Chrome */
    -webkit-transform:rotate(-2deg);
    /* Opera */
    -o-transform:rotate(-2deg);
    /* IE9 */
    -ms-transform:rotate(-2deg);
    /* IE6,IE7 */
    filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476);
    /* IE8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)";

}

/* #textPlate { */
.post_it {
    background-color : #FFFFA4;
    /*background-image:url("/portfolio/images/icons/bg_post_it.gif");*/
    /*border-left : thin none #CCCC99;
    border-top : thin none #CCCC99;
    border-right : thin solid #CCCC99;
    border-bottom : thin solid #CCCC99;*/
    text-decoration: none;
    color: #000000;
    font-family: Verdana, Helvetica, Arial, sans-serif ;
    font-weight: normal;
    font-size: 10px;
    /*position: absolute;*/
    z-index: 41;
    visibility: visible;
    /*top : 40px;
    right : 25px;*/
    width: auto;
    height: inherit;
}
/* #textPlateChanger { */
.post_it_top {
    /*position: relative;*/
    z-index: 42;
    visibility: visible;
    /*top : 20px;
    right : 25px;*/
    width: auto;
    height: 1.2em;
    background-color : #FFFFA4;
    /*background-image:url("/portfolio/images/icons/bg_post_it.gif");*/
    border-left : thin none #CCCC99;
    border-top : thin none #CCCC99;
    border-right : thin solid #CCCC99;
    border-bottom : thin solid #F5F59E;
}


#home #pinboard { /*  .page-article-info.rounded_corners */
    /*background: #233448;*/
    background: inherit;
    width: 60em;
    /*position: relative;
    top: 0;
    left: 0;*/
    display: none;
}

.pinboard-article {
    height:0;
    width:30%;
    padding-bottom:30%;
    background-color:#FFFFA4;
    border-left : thin none #CCCC99;
    border-top : thin none #CCCC99;
    border-right : thin solid #CCCC99;
    border-bottom : thin solid #CCCC99;
}

.calendrar_sheet {
    outline: thick solid aliceblue;
    width: 4em;
    margin: 0 auto;
    height: 5em;
    background: aliceblue;
    float: right;
    margin-right: .5em;
    margin-top: .5em;
}

div div.calendrar_sheet:nth-of-type(2) {
    margin-right: .8em;
}

div div.calendrar_sheet:nth-of-type(2):after {
    content: "\2013"; /*\2718 \2716 \2613 */
    font-size: 2em;
    width: 30px;
    height: 30px;
    color: black;
    box-sizing: border-box;
    /*background: #fff;*/
    display: inline-block;
    /*line-height: 25px;*/
    text-align: center;

    position: absolute;
    top: 0.055em;
    z-index: 20;
    right: 1.65em;
    font-family: Arial;
    font-size: 2.5em;
    border: 0;
    outline: 0;
}

.calendrar_sheet .calendrar_day {
    display: block;
    color: red;
    font-family: Arial;
    font-size: 3em;
    font-weight: bold;
    width: 100%;
    text-align: center;
    padding: 0 0;
    /*outline: thin solid pink;*/
    line-height: 1em;
    overflow: hidden;
}

.calendrar_sheet .calendrar_month {
    background: aliceblue;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    /*outline: thin dashed pink;*/
    padding: 0 0;
    line-height: 1.2em;
}

.calendrar_sheet .calendrar_month {
    background: aliceblue;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    /*outline: thin dashed pink;*/
    padding: 0 0;
    line-height: 1.2em;
    font-family: Arial;
}

.pinboard-article-info {
    position: relative;
}

.pinboard-article-info h2 {
    clear: left;
    font-size: 1.4em;
    line-height: 1em;
}


#about .page-article-info {
    background: #98FF98; /* FFCC66  FFFFCC   99CCFF   lightblue  e6f2ff khaki  LightGoldenRodYellow cornsilk */
}

#about .page-article-info { 
    background: #9898ff;
}

#about .page-article-info {
    background: #ff9898;
}

#about .page-article-info {
    /*background: #ff98ff;*/
    background: #fff;
}


img.thumb {
    height: 10em;
    width:126px;
    height:180px;
    margin-left: -3px;
    margin-top: 0px;
}

#photos .page-article-info {
    background: #ffff98; /* beige khaki */
}

#photos ul {
    list-style: none;
}

.page-section article div.page-article-info
 {
/* Rotating stuff */
    behavior:url(-ms-transform.htc);
    /* Firefox */
    -moz-transform:rotate(0.5deg);
    /* Safari and Chrome */
    -webkit-transform:rotate(0.5deg);
    /* Opera */
    -o-transform:rotate(0.5deg);
    /* IE9 */
    -ms-transform:rotate(0.5deg);
    /* IE6,IE7 */
    filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476);
    /* IE8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)";

    position: relative;
    top: -1em;
    left: 1em;
    z-index: 9;
}

/*.page-article div.page-article-info:nth-of-type(2), */
/*.page-section article:nth-of-type(2) div.page-article-info, */
.page-section article:last-of-type div.page-article-info
 {
/* Rotating stuff */
    behavior:url(-ms-transform.htc);
    /* Firefox */
    -moz-transform:rotate(4deg);
    /* Safari and Chrome */
    -webkit-transform:rotate(4deg);
    /* Opera */
    -o-transform:rotate(4deg);
    /* IE9 */
    -ms-transform:rotate(4deg);
    /* IE6,IE7 */
    filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476);
    /* IE8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)";

    position: relative;
    top: .5em;
    left: 1em;
    z-index: 10;
}

/*.page-article div.page-article-info:nth-of-type(1), */
.page-section article:nth-of-type(1) div.page-article-info {
/* Rotating stuff */
    behavior:url(-ms-transform.htc);
    /* Firefox */
    -moz-transform:rotate(-3deg);
    /* Safari and Chrome */
    -webkit-transform:rotate(-3deg);
    /* Opera */
    -o-transform:rotate(-3deg);
    /* IE9 */
    -ms-transform:rotate(-3deg);
    /* IE6,IE7 */
    filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476);
    /* IE8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)";

    z-index: 11;

    position: relative;
    top: 0em;
    left: 1em;
}

.page-article-img {
    width: 14em;
    display: block;
    margin: 2em 25%;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -khtml-border-radius: 20px;
    position: absolute;
    bottom: 0;
}

.page-article-ill {
    width: 16em;
    display: block;
    margin: 1em auto;
}

.magazine_name {
    display: inline-block;
}


@media only screen and (max-width : 1024px) {
    #page-header h2 {
    }

    #page-content {
        /*width: 45em;*/
        width: 75%;
    }

    .page-article div.page-article-info:nth-of-type(-2) {
        /*background: pink;*/
    /* Rotating stuff */
        behavior:url(-ms-transform.htc);
        /* Firefox */
        -moz-transform:rotate(-2deg);
        /* Safari and Chrome */
        -webkit-transform:rotate(-2deg);
        /* Opera */
        -o-transform:rotate(-2deg);
        /* IE9 */
        -ms-transform:rotate(-2deg);
        top: 8em;
        position: relative;
    }

    .page-article div.page-article-info:nth-of-type(2) {
        /*background: pink;*/
    /* Rotating stuff */
behavior:url(-ms-transform.htc);
        /* Firefox */
-moz-transform:rotate(3deg);
        /* Safari and Chrome */
-webkit-transform:rotate(3deg);
        /* Opera */
-o-transform:rotate(3deg);
        /* IE9 */
-ms-transform:rotate(3deg);
            /*position: relative;
        top: 2.5em;
        left: .5em;
        z-index: 9;*/
/*position: absolute;*/
top: .5em;
    }

    .page-article div.page-article-info:nth-of-type(2) img {
        /*width: 8em;*/
    }

}

/*@media only screen and (max-width : 9300px) and (orientation: landscape) {*/
@media only screen and (-webkit-min-device-pixel-ratio: 3) and (max-device-width:1920px) and (orientation : landscape) {
    .page-article h1 {
        /*font-size: 3em;
        margin-bottom: .5em;
        background: purple;*/
    }

}

@media only screen and (max-width : 980px) and (orientation: portrait) {

    #main_menu {
        padding-left: 1em;
    }

    #main_menu ul li a {
        /*display: inline-block;
        font-size: 1.4em;*/
       padding: .2em .2em;
    }

    #page-header h2 {
        font-size: 1.3em;
    }

    #page-header #top-img {
        background-size: cover;
    }

    #logo-ss {
        /*height: 18em;*/
    }

    /*#page-content {
        font-size: 1.1em;
        margin: 3em 9em;
        position: relative;
        z-index: 22;
    }*/
    
    .page-section {
    }

    .page-article {
        /*padding: 2em;*/
    }

    .page-article h1 {
        /*font-size: 3em;
        margin-bottom: .5em;*/
    }

    .page-article-info {
        /*display: inline-block;
        font-size: 2em;*/
    }

    .page-article div.page-article-info:nth-of-type(1) {
        /*background: pink;*/
    /* Rotating stuff */
        /*behavior:url(-ms-transform.htc);*/
        /* Firefox */
        /*-moz-transform:rotate(1deg);*/
        /* Safari and Chrome */
        /*-webkit-transform:rotate(1deg);*/
        /* Opera */
        /*-o-transform:rotate(1deg);*/
        /* IE9 */
        /*-ms-transform:rotate(1deg);
        top: 8em;
        position: relative;*/
    }

    .page-article div.page-article-info:nth-of-type(2) {
        /*background: pink;*/
    /* Rotating stuff */
/*behavior:url(-ms-transform.htc);*/
        /* Firefox */
/*-moz-transform:rotate(-3deg);*/
        /* Safari and Chrome */
/*-webkit-transform:rotate(-3deg);*/
        /* Opera */
/*-o-transform:rotate(-3deg);*/
        /* IE9 */
/*-ms-transform:rotate(-3deg);*/
            /*position: relative;
        top: 2.5em;
        left: .5em;
        z-index: 9;*/
/*position: absolute;
top: 2.5em;*/
    }

    .page-article div.page-article-info:nth-of-type(2) img {
        /*width: 8em;*/
    }
}

@media only screen and (max-width : 800px) {
    #page-header h2 {
        /*font-size: 1em;*/
        /*margin: .3em 0 0 .5em;*/
    }
    #page-header #top-img {
        /*background: url("http://kartofilen.se/wp-content/uploads/2017/05/cropped-cropped-kort-2.jpg");
        background-repeat: repeat-x;*/
        /*background-size: cover;*/
        /*height: 15em;
        position: relative;*/
    }

    #logo-ss {
        /*height: 18em;*/
    }

    /*#page-content {
        font-size: 1.1em;
        margin: 3em 9em;
        position: relative;
        z-index: 22;
    }*/
    
    .page-section {
    }

    .page-article {
    }

    .page-article h1 {
       /*background: lightblue;*/
    }

    .page-article-info {
        /*display: inline-block;
        border-width: .2em;
        font-size: 1.5em;*/
    }

}

/*@media only screen and (max-width : 780px) {*/
@media only screen and (max-width : 690px) {
    .page-article-info {
        width: 21em;
        min-height: 32em;
        margin-left: 1em;
        width: 21em;
    }
}


@media only screen and (max-width : 540px) {
    #home .page-article-info {
    /*border: .15em solid khaki;*/
    /*border-width: .15em;*/
        width: 21em;
    /*padding: 1em;*/
        min-height: 32em;
        margin-left: 1em;
        width: 21em;
        background: purple;
    }
}


/*@media only screen and (max-width : 480px) {
    #page-header h1 {
        font-size: 1.5em;
    }
    #page-header h2 {
        font-size: 1em;
    }
    #page-header #top-img {
        background-size: contain;
        height: 6em;
    }

    #logo-ss {
        height: 10em;
        top: -.5em;
        left: -.2em;
        z-index: 0;
    }
}*/

@media only screen and (max-width : 380px) {
    #page-header #top-img {
        background-size: cover;
        height: 20em;
    }

    #main_menu {
        padding-left: .5em;
    }

    #main_menu ul li a {
        display: inline-block;
        font-size: 1.2em;
       /*padding: .2em .2em;*/
    }

    .magazine_name {
        display: none;
    }

    #page-content {
        margin: .2em .2em;
        width: 95%
    }

    .page-section {
        margin-top: 7em;
    }

    .page-article-info {
    /*border: .15em solid khaki;*/
    /*border-width: .15em;*/
        width: 21em;
    /*padding: 1em;*/
        min-height: 29em;
        margin-left: 1em;
        width: 18em;
    }

    #home .page-article-info {
        background: #fff;
    }
}

/****** Float clearing - http://stackoverflow.com/questions/211383/which-method-of-clearfix-is-best/1633170#1633170 / http://nicolasgallagher.com/micro-clearfix-hack/ ******/
.c:before, .c:after { content:""; display:table; }
.c:after { clear:both; }
.c { zoom:1; }
