@charset "UTF-8";
/*
Theme Name: Isabella Keramik & Design
Author: Vitamin Studio
Author URI: http://vitamin-studio.com
Description: Theme for site Isabella Keramik & Design
Version: 1.0
Text Domain: isa
*/

body {
    background: url(images/bakgrund.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin: 20px 0 0 0;
    padding: 0;
    color: #000;
    font: 14px/20px Arial,Helvetica, sans-serif;
}

* {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;

}

img {
    border:0;
}

#page {
    width: 1000px;
    position: relative;
    margin: 0 auto;
}

h1, h2, h3 {
    margin: 0;
    padding:0;
}
h1 {
    margin: 20px 0;
    font: bold 3em/4em Arial, sans-serif;
}

h2 {
    font: bold 2em/3em Arial, sans-serif;
    text-transform: uppercase;
}

#page-header {
    font: 1.0em/2.5em Arial,sans-serif;
    z-index: 10;
    position: absolute;
    right: 3px;
    top: 0;
    background: url(images/menu.png) no-repeat;
    width: 585px;
    height: 36px;
}

body.gallery-index #logo, 
#logo {
    text-indent: -9999px;
    display: inline-block;
    position: absolute;
    left: -382px;
    top:0;
    background: url(images/logga.png);
    width: 346px;
    height: 634px;
}

body.tax-products #logo  {
    background: url(images/logga_liten.png) no-repeat;
    display: inline-block;
    position: absolute;
    left: -409px;
    top:0;
    width: 380px;
    height: 36px;
}

body.gallery-index #page-body,
#page-body {
    z-index: 1;
    min-height: 46em;
    width: 42em;
    margin: 20px 0 0 413px;
}

body.tax-products #page-body {
    width: auto;
    margin: 20px 0 0 0;
}

#content {
    padding: 70px 0 0 0 ;
}

#page-body a {
    color:  #000000;
    text-decoration: none;
}

#page-footer {
    font: 0.8em/2em Helvetica,sans-serif;
    color: gray;
    text-align: center;
    width: 600px;
    margin: 20px auto;
}
#page-footer a {
    color: gray;
    text-decoration: none;
    border-bottom: 1px dotted gray;
}

#page-footer a:hover
{
    color: black;
    border-bottom: 1px solid black;
}

#page-footer p {
    display: inline-block;
    margin: 0 4px;
    padding: 0;

}

#logout-div
{
    position: absolute;
    right: 0;
    top: 0;
}

#front-images
{
    position: relative;
    top: 10px;
    width: 600px;
    height: 410px;
}

#gallery {
    margin-left: -22px;
}
#gallery:after {
    content: '';
    display: block;
    clear: both;
} 
body.home #gallery {
    margin-left: -24px;
}
#gallery a {
    float: left;
    margin: 0 0 24px 24px;
    display: inline-block;
    position: relative;
    width: 180px;
    min-height: 160px;
    z-index: 2;
    padding-top: 142px;
}
#gallery a:nth-child(5n+1) {
    clear: left;
}
.home #gallery a {
    height: 136px;
    padding-top: 0;
    min-height: 0;
    margin-bottom: 26px;
}
.home #gallery a:nth-child(5n+1) {
    clear: none;
}
#gallery img {
    position: absolute;
    top:0;
    left: 0;
    z-index: 2;
    max-width: 100%;
    height: auto;
}  
#gallery img:first-child
{
    top:2px;
    left: 2px;
    width: 176px;
    height: 132px;
}
#image
{
    display: inline-block;
    width: 590px;
    height: 450px;
    position: relative;
    float: right;
    margin-right: 2px;
    z-index: 2;
}
#image img
{
    position: absolute;
    top:0;
    left: 0;
    z-index: 2;

}
#image img:first-child
{
    top:6px;
    left: 7px;
    z-index: 2;
}

#gallery-text
{
    height: 100px;
}
.tframe{
    width:180px;
    height: 136px;
}


/**
 * nav-menu.css
*/
 #nav {
    float:left;
} 

#nav, #nav ul {
    z-index: 2;
    margin: 0;
    padding: 0;
}

#nav li {
    float: left;
    list-style: none;
    margin: 0;
    width:auto;
}
#nav li li {
    float: none;
    text-align: left;
}

#nav li ul {
    display: none;
    position: absolute;
    background: url(images/bakgrund.jpg);
}

#nav a, #nav span {
    display: block;
}
#nav span {
    cursor:default;
}  
#nav a {
    color: #000;
    text-decoration: none;
    padding: 0 39px;  
}

#nav a  {
-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
 }

#nav .active > a {
    text-decoration: underline;
}
#nav a:hover {
    text-decoration: underline;
}  */
 

/**
 * tt.css
*/
#tt
{
    font-size: 0.8em;
    position: absolute;
    width: auto;
    display: block;
    z-index: 99;
    padding: 5px;
    background: rgba(249, 242, 242, 0.8);
    border-radius: 0 7px 7px 7px;
    border: 3px solid silver;

    -moz-box-shadow: 3px 3px 3px 3px rgba(58, 58, 58, 0.8);
    -webkit-box-shadow: 3px 3px 3px 3px rgba(58, 58, 58, 0.8);
    box-shadow: 3px 3px 3px 3px rgba(58, 58, 58, 0.8);
}

/**
 * notify.css
*/
.notify
{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -100px;
    width: 200px;
    text-align: center;
    padding: 20px;
    background: white;
    font-weight: bold;
    display: none;
    border: 2px solid rgb(58, 58, 58);
    border-radius: 10px;
    -moz-box-shadow: 0 0 3px 3px rgba(58, 58, 58, 0.8);
    -webkit-box-shadow: 0 0 3px 3px rgba(58, 58, 58, 0.8);
    box-shadow: 0 0 3px 3px rgba(58, 58, 58, 0.8);
}

/**
 * social.css
*/
.plusone, .twitter, .fb-like {
    font-size: 1px;
    display: inline-block;
}
.category-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.category-list a {
    width: 200px;    
    display: inline-block;
} 

@media only screen and (max-width : 1080px) {
    body.tax-products #logo,
    #logo {        
        background: url(images/logga_liten.png) no-repeat; 
        width: 380px;
        height: 36px;
        margin: 25px auto;
        position: inherit;
        display: block;
        left: 0;
    }
    #page-header {
        background: none;
        position: inherit;
        margin: 0 auto;
    }
    #page-header #page-nav {
        background: url(images/menu.png) top center no-repeat;
        width: 585px;
        height: 36px;
    }
    #gallery-text {
        height: auto;
    }
    #page-footer {
        width: 585px;        
    }
    body.tax-products #page-body,
    #page-body {
        width: 585px;
        padding: 0;        
        min-height: 0;
        margin:20px auto 0;
    }
    #gallery,
    body.home #gallery {
        margin-left: -12px;
        margin-right: -12px;
    }
    #gallery a {
        margin: 0 12px 24px 11px;
    }
    #gallery a:nth-child(5n+1) {
        clear: none;
    }
    #gallery a:nth-child(3n+1) {
        clear: left;
    }
    #page {
        width: 100%;
    }
    #content img {
        max-width: 100%;
        height: auto;
    }
}

@media only screen and (max-width : 614px) {
    #page-header,
    #page-footer {        
        width: 382px;
    }
    body.tax-products #page-body,
    #page-body {
        width: 382px;
        clear: both;
        margin-top: 0;
    }
    #page-header {    
        height: auto;
    }
    #page-header:after {
        content: '';
        display: block;
        clear: both;        
    }
    #page-header #page-nav {
        background: none;
        border-bottom: 2px solid;
        border-top: 2px solid;
        width: 382px;
        margin: 0 auto;
        height: 75px;
    }
    #page-header #page-nav #nav {
        float: none;
    }
    #page-header #page-nav #nav:after {
        content: '';
        display: block;
        clear: both;
    }
    #content {
        padding: 30px 0 0 0;
    }
    #nav a {
        padding: 0 44px;
    }
    #image {
        float: none;
        width: 382px;
        height: 286px;
    }
    #image img:first-child {
        top: 4px;
        left: 4px;
        width: 373px;
    }
    .category-list a {
        width: 160px;
    }
    #gallery a:nth-child(3n+1) {
        clear: none;
    }
    #gallery a:nth-child(2n+1) {
        clear: left;
    }
}

@media only screen and (max-width : 400px) {
    body.tax-products #logo,
    #logo { 
        width: 190px;
        height: 18px;
        background-size: contain;
    }
    #page-header,
    #page-footer {        
        width: 300px;
    }
    #page-header #page-nav {
        height: 109px;
    }
    body.tax-products #page-body,
    #page-body {
        width: 300px;
    }
    #page-header #page-nav {
        width: 300px;        
    }
    #image {
        float: none;
        width: 300px;
        height: 226px;
    }
    #image img:first-child {
        top: 4px;
        left: 4px;
        width: 373px;
    }
    #nav li {
        width: 50%;
    }
    #gallery a {
        width: 138px;
        height: 102px;
        padding-top: 110px;
        min-height: 125px;
    }
    #gallery img:first-child {        
        width: 134px;
        height: auto;
    }
    #image img:first-child {
        top: 2px;
        left: 3px;
        width: 295px;
    }
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="text"],
    .wpcf7-form textarea {
        box-sizing: border-box;
        width: 100%;
    }
    .category-list a {
        width: auto;
    }
    .category-list li {
        margin-bottom: 10px;
    }
}


body.page #content img {
	max-width: 100%;
	height: auto;
}