/*
Theme Name: Anna Dammert
Description: Anna Dammertin Wordpress-sivupohja
Version: 1.0
Author: Lala Design / Leena Lahti
*/



/* `Basic HTML
----------------------------------------------------------------------------------------------------*/

body {
	font: 13px/1.5 "Trebuchet MS", Arial, Helvetica, sans-serif;
	background:url(images/background-top2.gif) repeat-x #0B0C07;
	color:#CCC;
}

a:focus {
	outline: 1px dotted invert;
}

a, a:visited {
	color: #F96908;
	text-decoration: none;
	
}

a:hover {
	color:#E6E6E6;
	text-decoration: none;
}

hr {
	border: 0 #333 solid;
	border-top-width: 1px;
	clear: both;
	height: 0;
	margin-right: 20px;
}

img.alignright, div.alignright {
	float: right;
	margin: 0 0 10px 20px;
}

img.alignleft, div.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}

div.alignleft {
	margin-left: 20px;	
}

div.alignright {
	margin-right: 20px;	
}

p, li {
	letter-spacing: 0.05em;
	margin-left: 20px;
	margin-right: 20px;
}

p.details {
	font-size: 11px;
	margin-top: -20px;
}


/* `Headings
----------------------------------------------------------------------------------------------------*/

@font-face {
     font-family: "Little Days";
	 src: url(fonts/Little-Days.eot ); /* IE */ 
     src: local("Little Days"), url(fonts/Little-days.ttf) format('truetype');
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	margin-left: 20px;
	margin-right: 20px;
	color: #D21B67;
}


h1 {
	font-size: 45px;
	color: #BB1D64;
	line-height: 50px;
	font-family: "Little Days","Trebuchet MS", Arial, Helvetica, sans-serif;
}

h2 {
	font-size: 20px;
}

h3 {
	font-size: 18px;
}

h4 {
	font-size: 16px;
}

h5 {
	font-size: 14px;
}

h6 {
	font-size: 12px;
}

/* `Spacing
----------------------------------------------------------------------------------------------------*/

ol {
	list-style: decimal;
}

ul {
	list-style: disc;
}

li {
	margin-left: 20px;
	margin-bottom: 10px;
}

p,
dl,
hr,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
pre,
table,
address,
fieldset {
	margin-bottom: 20px;
	margin-left: 20px;
}

/* Main areas */

#wrapper {
	position: relative;
	width: 960px;
	margin: 0 auto;
	padding: 0;
}

#header {
	height: 122px;
	width: 960px;
	
}

#logo {
	width: 263px;
	height: 122px;
	float: left;
	padding:0;
	margin-top: 0px;
}

img.print {
	display: none;
	width: 1px;
	height: 1px;
}

#logo h1 {
	position: absolute; 
	left: -9000px;
}

#slogan {
	float: right;
	margin-top: 63px;
	padding:0;
	width: 310px;
	height: 55px;
}

#catnav {
	background: url(images/nav-background.gif) center no-repeat ;
	width: 960px;
	height: 34px;
	text-align: justify;
	margin: 0 0 32px 0;
}


#nav {
  list-style: none;
  margin: 0 0 0 20px;
  padding: 0;

  }
	
#nav ul {
  margin: 0;
  padding: 0;
  }

#nav li {
  float: left;
  margin: 0;
  padding: 0;

  }

#nav a {
  display: block;
	text-transform:uppercase;
	font-size: 12px;
	line-height: 32px;
	letter-spacing: 0.2em;	
	color: #F96908;	
	margin: 0px 16px 0px 16px;
  }

#nav li.current_page_parent a, #nav li.current_page_item a, .home #nav li.home a {
	border-bottom: 1px solid #3D3D3D;
	}

#nav li a:hover {
  border-bottom: 1px solid #3D3D3D;
  text-decoration: none;
  display: block;
  }
  
#nav li.page-item-8 a:hover, #nav li.page-item-21 a:hover {
	border-bottom: none;
}

#nav li ul {
  list-style: none;
  position: absolute;
  width: 118px;
  left: -999em;
  text-align: center;
  }

#nav li:hover ul, #nav li.sfhover ul {
  left: auto;
  }
	
#nav li li {
  float: left;
  margin: 0 0 0 ;
  padding: 0;
  width: 118px;
  
  }
	
#nav li li a {
  width: 118px;
  line-height: 15px;
  border-top: 1px solid #333;
  background-color: #111;
  margin: 0;
  padding: 5px 15px 5px 15px;
	font-size: 10px;
	letter-spacing: 0.1em;
  }
	
#nav li li a:hover {
  color: #fff;
  }

#nav li:hover, #nav li.sfhover { /* prevents IE7 drop-down menu bug (focus on a page element prevents nested menus from disappearing) */
  position: static;
  }


.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.left {
	float: left;	
}

.right {
	float: right;	
}

#footer {
	width: 100%;
	background: url(images/footer-background.gif) repeat-x bottom;
	height: 45px;
	margin-top: 30px;
	text-align: center;
	color:#A3A3A3;
	font-size:10px;
}

#full-width-content {
	margin: 0 150px 0 150px;
	overflow: hidden;
	background-color:#191919;
	padding: 20px 0 20px 0;
	border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px; 
}

#content-wrapper {
	overflow: hidden;
}

#content {
	width: 640px;
	float: left;
	margin-left: 20px;
	margin-right: 20px;
	background-color: #191919;
	border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px; 
padding-top: 20px;
}

#sidebar {
	width: 260px;
	background-color:#212121;
	overflow: hidden;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px; 
padding-top: 10px;
 }  
 
 #sidebar ul {
	list-style-type: none;
	margin-left: 0;
	margin-top: 20px;
 }
 
 #sidebar li,  #sidebar li.page_item {
	margin-left: 20px; 
 }


/* Home */

.content-left {
	width: 460px;
	float: left;
	border-right: 1px #333 solid;
	text-align: right;
	padding: 10px 10px 0px 10px;
	margin: 0 auto;
}

.content-right {
	width: 459px;
	float: right;
	padding: 10px 10px 0px 10px;
	margin: 0 auto;
}

.content-left.top, .content-right.top {
	border-bottom: 1px #333 solid;	
	padding: 0px 10px 10px 10px;
}

.content-left img, .content-right img, .content-left p, .content-right p {
	margin-top: 0px;
	margin-bottom: 0px;
	
}

.content-left h1, #post-52 h1 {
	color: #E81E26;
}

.content-left.top h1, #post-5 h1 {
	color: #3ED8D4;
}

.content-right h1, #post-58 h1 {
	color: #48BB86;
}

.content-right.top h1, #post-11 h1 {
	color: #D21B67;	
}

.content-right h1, .content-left h1 {
	margin-top: 30px;
	font-size: 45px;
	line-height: 35px;
}

.info {
	background: url(images/info-background.gif) repeat-y center;
	margin-top: 30px;
	overflow: hidden;
	padding-top: 20px;
	display: inline-block; /* IE6 */
}

#content-left-info, #content-right-info {
	width: 50%;	
}

#content-left-info h1, #content-right-info h1 {
	margin-top: 10px;
}


/* palvelut */

#palvelut-keskitys {
	margin: 0 130px 0 130px;

}

#palvelut-keskitys  h1 {
	font-size: 32px;
	line-height: 30px;
	margin-bottom: 10px;
}

#palvelut-keskitys p {
	margin-bottom: 10px;	
}

.palvelut {
	width: 700px;
	margin-bottom: 15px;
		border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px; 
	background-color: #212121;
	padding: 15px 0 1px 0;
}



/* portfolio */

.main-image {
	box-shadow: 5px 5px 2px #333;  
	-moz-box-shadow: 3px 3px 2px #151515;  
	color: #151515;
	-webkit-box-shadow: 5px 5px 2px black;  	
}

#portfolio {
	text-align: center;
}

.galleria_container, .galleria_wrapper {
	text-align: center;	
}

h1.portfolio {
		font-size: 32px;
	line-height: 30px;
	margin-top: 15px;
}

.galleria{list-style:none;text-align: center; margin-left: 10px}
.galleria li{display: inline-block ;width:50px;height:50px;overflow:hidden;margin:0 10px 10px 0}
.galleria li a{display:none}
.galleria li div{position:absolute;display:none;top:0;left:170px}
.galleria li div img{cursor:pointer}
.galleria li.active div img,.galleria li.active div{display:block}
.galleria li img.thumb{cursor:pointer;top:auto;left:auto;display:block;width:auto;height:auto}
.galleria li .caption{display:block;padding-top:.5em;font:italic 0.7em/1.4 georgia,serif;}
* html .galleria li div span{width:400px} /* MSIE bug */
.caption {
	font-style: italic;
	margin-top: 10px;
	line-height: 30px;
	color: #0B0C06;
}

/* Asiakasgalleriat */

.gallery-item {
        float: left;
}


/* commenting */

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	margin-left: 20px;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}
	
.commentbody {
	margin-left: 20px;
}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

cite {
	color: 	#D21B67;
}

.commentmetadata {
	font-weight: normal;
	font-size: 0.8em;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input, #si_contact_form input {
	padding: 2px;
	margin: 5px 5px 1px 0px;
	background-color: #1C1C1C;
	border: solid 1px #333;
	color: #FFF;
	}

#commentform  #submit,  #si_contact_form #submit {
	background-color: #5D6E0D;
	text-transform:uppercase;
	color: #FFF;
	border: outset 1px #333;
	letter-spacing: 0.2em;	
	float: left;
	padding: 2px;
}

#si_contact_form #submit {
	margin: -20px 0 5px auto;
}

#commentform  #submit  {
	margin: 0 0 30px auto;
}


#commentform  {
	margin: 5px 10px 0 20px;
	}
	
#commentform textarea,  #si_contact_form textarea {
	width: 70%;
	margin-left: 0px;
	padding: 2px;
	background-color: #1C1C1C;
	border: solid 1px #333;
	color: #FFF;
	margin-bottom: 20px;
	}


/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	text-align: center;
	background-color:#191919;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */


/* Yhteydenottolomake */

#si_contact_form1 {
margin: 5px 10px 20px 20px;
}

#si_contact_form1 textarea {
	width: 100%;
	padding: 5px;
	font-family: "Courier New", Courier, monospace;
	font-size: 13px;
	background-color: #1C1C1C;
	border: solid 1px #333;
	color: #FFF;
    padding: 3px;
}

#si_contact_form1 input {
	margin-bottom: 10px;
	background-color: #1C1C1C;
	border: solid 1px #333;
	color: #FFF;
    padding: 3px;
}


/* Kuvagalleriat asiakkaille */

p.attachment {
        text-align: center;
}

.navigation-gallery .alignleft a:after {
    content:" <<";
}

.navigation-gallery .alignright a:before {
    content:">> ";
}


