/*
Theme Name: Salmiak Media
Theme URI: http://salmiakmedia.se/
Description: A theme developed for Salmiakmedia.se
Version: 4
Author: Alfred Gunnarsson - Salmiak Media
Author URI: http://www.salmiakmedia.se/
*/



*{
    margin: 0;
    padding: 0;
}

body {
    font: 12px Helvetica, Arial, sans-serif;
    line-height: 16px;
    padding: 0 3px;
    background: #F5F5F5;
}

a {
    color: #234e73;
}

.alignright {
    float: right;
    margin-left: 7px;
}

.alignleft {
    float: left;
    margin-right: 7px;
}

#index {
    font-size: 11px;
}

.wrap {
    display: block;
    margin: 1.9em 60px 1.9em 160px;
}

#single .wrap {
    width: 480px;
}

.box {
    float:left;
    margin: 4px;
    
    color: #444;
    background: #e5e0d5 url('pics/boxBg.png');
    
    border-bottom-left-radius: 0.4em 0.4em;
    border-bottom-right-radius: 0.4em 0.4em;
    border-top-left-radius: 0.6em 0.6em;
    border-top-right-radius: 0.6em 0.6em;
    
    -moz-border-radius-bottomleft: 0.3em;
    -moz-border-radius-bottomright: 0.3em;
    -moz-border-radius-topleft: 0.6em;
    -moz-border-radius-topright: 0.6em;
    -webkit-border-bottom-left-radius: 0.3em;
    -webkit-border-bottom-right-radius: 0.3em;
    -webkit-border-top-left-radius: 0.6em;
    -webkit-border-top-right-radius: 0.6em;
    
}

    .transp {
        background: transparent none;
    }
        

    .box h1, .box h2, .box h3, .box h4{
        margin: 0.4em 0.4em 0.4em 0.4em;
        font-weight: 600;
        letter-spacing: -0.08em;
    }
    
    .box h1 {
        font-size: 1.5em;
    }
    
    .box h2 {
        font-size: 1.3em;
    }
    
    .box h3 {
        font-size: 1.1em;
    }
    
    .box h4 {
        font-size: 1em;
    }
    
    .box h1 a, .box h2 a, .box h3 a, .box h4 a {
        text-decoration: none;
        color: #444;
    }   

    .box p {
        margin: 0.2em 0.5em 0.7em 0.5em;
        font-size: 1em;
    }
    
    .col3 p, .single p {
        width:300px;
    }
    
    
    
    .box img, .box .wp-caption {
        max-width: 470px;
        height: auto;
    }
    
    .box .wp-caption img {
        border-top: solid 4px #555;
        border-bottom: solid 4px #555;
    }
    
    .wp-caption p {
        background: #555;
        color: #e5e0d5;
        width: 150px;
        float: right;
        padding: 0.5em;
        margin: 0 0 0.7em 0.5em;
    }
    
        .wp-caption a {
            color: #a9d0d3;
            text-decoration: underline;
        }
    
    .box p img {
        max-width: 460px;
        height: auto;
    }
    
    #index .box img, #index .box .wp-caption {
        display: none;
    }

    #index .box .topimg, .box .topimg {
        margin: 0px;
        border-top-left-radius: 0.6em 0.6em;
        border-top-right-radius: 0.6em 0.6em;
        -webkit-border-top-left-radius: 0.6em;
        -webkit-border-top-right-radius: 0.6em;
        -moz-border-radius-topleft: 0.6em;
        -moz-border-radius-topright: 0.6em;
        display: block;
    }
    
    
    
    .box .metainfo {
        display: block;
        clear: both;
        background-color: #555;
        padding: 0.18em 0.5em 0.2em 0.2em;
        color: #e5e0d5;
        border-top:solid 1px #555;
        border-bottom-left-radius: 0.3em 0.3em;
        border-bottom-right-radius: 0.3em 0.3em;
        -moz-border-radius-bottomleft: 0.3em;
        -moz-border-radius-bottomright: 0.3em;
        -webkit-border-bottom-left-radius: 0.3em;
        -webkit-border-bottom-right-radius: 0.3em;
        text-align: right;
        font-size: 11px;
    }
    
    .box .metainfo a {
        text-decoration: none;
        color: #e5e0d5;
    }
    
    
    .box, .box .topimg {
        width: 310px;
        height: auto;
    }

    .col1, .col1 .topimg {
        width: 150px;
        height: auto;
    }
    
    .col2, .col2 .topimg {
        width: 310px;
        height: auto;
    }
    
    .col3, .col3 .topimg {
        width: 470px;
        height: auto;
    }
    


#top {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: #555;
    padding: 0.18em 0.5em 0.18em 0.2em;
    color: #e5e0d5;
    border-top:solid 1px #555;
    text-align: right;
    z-index: 100;
    font-size: 11px;
    font-weight: 600;
}

    #top ul {
        margin: 0 0px 0 0;
    }
    
    #top li {
        list-syle: none;
        display: inline;
        margin: 0 7px 0 2px;
    }
    
/* jQUery Dropdown menu */
#nav {
    list-style: none; 
    float:right;
} 

#nav li { 
    list-syle: none;
    display: inline;
    margin: 0 7px 0 2px;
    float: left;
    position:relative;
    text-align: left;
    }
     
#nav li:last-child {
    padding:0;
    }
    
#nav .current-cat a, #nav .current_page_item a {color: #aaa}
#nav .current-cat li a, #nav .current_page_item li a {color: #000}
#nav .current-cat li a:hover, #nav .current_page_item li a:hover {color: #c00}

#nav li a {
    text-decoration: none; 
    color: #e5e0d5;
    border:none; 
    text-decoration: none; 
    float: left;
    }
     
#nav li a:hover {}

#nav ul {display:none}

#nav ul {
    display:none;
    list-style:none;
    margin:0;
    padding:0;
    position: fixed;
    right:0px;
    top:16px;
    width:160px;
    border: none;
    background-color: #555;    
    border-bottom-left-radius: 0.3em 0.3em;
    border-bottom-right-radius: 0.3em 0.3em;
    -moz-border-radius-bottomleft: 0.3em;
    -moz-border-radius-bottomright: 0.3em;
    -webkit-border-bottom-left-radius: 0.3em;
    -webkit-border-bottom-right-radius: 0.3em;
} 
#nav ul li{
    margin:0;
    padding:0;
    display: block; 
    width: 160px;
} 
#nav ul li a {
    display: inline-block;
    padding:2px 10px;
    text-transform: none;
    zoom:1; 
} 
#nav ul ul { left: 100%; top: 0; }
#nav li:hover > ul { display:block; }
    
#nav .rss img {margin-bottom: -3px;}


#bottom {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-color: #555;
    padding: 0.18em 0.5em;
    color: #e5e0d5;
    border-top:solid 1px #555;
    text-align: right;
    z-index: 100;
    font-size: 11px;
    font-weight: 600;
}

    #bottom a{
        text-decoration: none;
        color: #e5e0d5;
        margin: 0 10px;
    }
    
    #bottom em {
        float: left;
        font-style: normal;
        font-weight: 100;
    }

    #bottom em a {
        margin: 0;
    }
    
#bottomSidebar {
    position: fixed;
    bottom: 20px;
    left: 5px;
    width: 150px;
    z-index: 100;
    font-size: 11px;
    font-weight: 600;
}

#logobox {
    position: fixed;
    top: 20px;
    left: 5px;
    width: 150px;
    z-index: 100;
}
    
    #logobox a {
        text-decoration: none;
    }
    
    #logobox p {
        font-size: 11px;
        width: 150px;
        margin: 0;
    }
    
    #logobox img {
        display: inline-block !important;
    }
    
    #logobox .skype-status-button {
        width: 150px;
        text-align: center;
    }
    
    
    
/**** Bubble *****/

.metainfo em a {
  color: #e5e0d5;
  text-decoration: none;
}
.metainfo em {
  position: relative;
  float: left;
  font-size: 1em;
  background: #e5e0d5;
  color: #555;
  padding: 0 0.3em;
  -moz-border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  border-radius: 0.2em;
  font-style: normal;

}
.metainfo em a:hover {
  color: #202010;
}
.metainfo em:hover {
  cursor: pointer;
  background: #202010;
  color: #e5e0d5;
}


/******* Comments *******/

#commentsBox ul {
    list-style: none;
}

#comments {
    display: block;
    clear: both;
    background-color: #555;
    padding: 0.18em 0.5em 0.18em 0.2em;
    color: #e5e0d5;
    border-top:solid 1px #555;
    border-top-left-radius: 0.3em 0.3em;
    border-top-right-radius: 0.3em 0.3em;
    -moz-border-radius-topleft: 0.3em;
    -moz-border-radius-topright: 0.3em;
    -webkit-border-top-left-radius: 0.3em;
    -webkit-border-top-right-radius: 0.3em;
    text-align: right;
    margin: 0px;
    font-size: 11px;
}

.avatar {
    float: right;
    margin: 0 0.45em 0.4em 0.2em;
    border-radius: 0.4em 0.4em;
    -moz-border-radius: 0.4em;
    -webkit-border-radius: 0.4em;
}

.commentMeta{
    display: block;
    clear: both;
    background-color: #555;
    padding: 0.08em 0.5em;
    color: #e5e0d5;
    font-size: 0.8em;
    text-align: right;
    margin: 0px;
}
    
    .commentMeta a {
        text-decoration: none;
        color: #e5e0d5;
    }
    
#postcomment {
    margin-top: 0.6em;
}

#comment {
    width: 290px;
}


/******* Sociable ********/

.sociable .sociable_tagline {
    display: block;
    clear: both;
    background-color: #555;
    padding: 0.18em 0.5em 0.18em 0.2em;
    color: #e5e0d5;
    border-top:solid 1px #555;
    border-top-left-radius: 0.3em 0.3em;
    border-top-right-radius: 0.3em 0.3em;
    -moz-border-radius-topleft: 0.3em;
    -moz-border-radius-topright: 0.3em;
    -webkit-border-top-left-radius: 0.3em;
    -webkit-border-top-right-radius: 0.3em;
    text-align: right;
    margin: 0px;
    font-size: 11px;
}

.sociable {
    text-align: center;
}  

.sociable ul {
    list-style: none;
    margin: 5px;
}

.sociable ul li {
    display: inline-block;
    margin: 2px;
}



