@import url("body.css");

.hide {
  display: none;
}

/******************************************************************************/
/* Page header                                                                */
/******************************************************************************/

h1 {
  /*font-family: serif;*/
  font-size: 20px;
  color: #FF9900;
  margin-top: 0;
  padding-top: 10px;
}

/******************************************************************************/
/* Page footer                                                                */
/******************************************************************************/

#footer {
  font-size: 10px;
  padding: 0 0 0 0;
  /*margin: 0 auto;  FF requires this to center */
  clear: both;
  /*width: 700px; 757px;*/
  /*
  bottom: 0;
  position: absolute;
  */
  /*
  background-image: url("/static/images/shadows-background.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  */
}
#footer address {
  font-style: normal;
}

#shadows {
  display:none;
}
/*
#shadows {
  margin: 0 auto; / * FF requires this to center * /
  width: 700px; / *757px;* /
  height: 165px;
  background-image: url("/static/images/shadows.png");
  background-repeat: no-repeat;
  background-position: top center;
}
#shadows ul {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}
#shadows li {
  list-style: none;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}
#shadows a {
  float: left;
  height: 165px;
  width: 106px;
}
#shadows span {
  display: none;
}
*/
#copyright {
  clear: both;
  height: 22px;
  background-image: url("/static/images/netti_footer_wrap.png");
  background-repeat: repeat-x;
  background-position: 50% 100%;
  padding-top: 5px;
}
#copyright a {
  color: black;
}
/******************************************************************************/
/* General layout                                                             */
/******************************************************************************/

body {
  background-color: white;/*#8B4513;*/
  font-family: Arvo, Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  /*
  Doesn't work for scrolling pages
  background-image: url("/static/images/taustaliuku.png");
  */
  background-repeat: repeat-x;
  background-position: 0% 100%;
}

#wrapper {
  position: absolute;
  height: 100%;
  width: 100%;
}

/******************************************************************************/
/* Body content                                                               */
/******************************************************************************/

#body {
  background-image: url("/static/images/alaspray.png");
  background-repeat: repeat-x;
  background-position: 0% 100%;
}
#main {
  margin-left: 254px;
  margin-right: 254px;
  clear: both;
  min-height: 300px;
  /*
  background-image: url("/static/images/Slices/images/netti_paasivu_07.png");
  background-repeat: no-repeat;
  background-position: 50% 100%;
  */
}


#content {
  background-color: transparent;
  background-image: none;
  /*
  padding-left: 150px;
  padding-right: 180px;
  padding-bottom: 10px;
  */
  margin: 0px 180px 10px 0; /*150px;*/
  /*min-height: 100%;*/
}

/******************************************************************************/
/* Top navigation                                                             */
/******************************************************************************/

#header {
  /*height: 250px;*/
  width: 1265px; /*254 + 757 + 254*/
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-image: url("/static/images/Slices/netti_paasivu_header.png");
}
.top-link {
  position: absolute;
  display: block;
  height: 120px;
  width: 350px;
  top: 20px;
  left: 340px;
}

#nav {
  height: 92px; /*33px*/
  width: 757px;
  padding: 170px 0 0 0;
  margin: 0 254px 0 254px; /*254px*/
  font-family: Oswald, Helvetica, Arial, sans-serif;
  text-align: left;
  clean: both;
/*
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url("/static/images/Slices/images/netti_paasivu_04.png");
*/
}
#nav ul {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
#nav li {
  display: block;
  list-style: none;
  float: left;
  margin: 0 0 0 5px;
  padding: 0 15px 0 0;
  background-position: 100% -3px;
  background-repeat: no-repeat;
  background-image: url("/static/images/ylavalikko_tekstit_mustat_02.png");
}
#nav li.last,
#subnav li.last {
  background-image: none !important;
}

/*background-image: url("/static/images/alavalikkosuikale.png");*/

#topnav {
  clear: both;
  height: 26px; /*33px;*/
  margin: 0 0 0 0;
  /*padding: 0 0 0 0;*/
  font-size: 18px;
  padding: 6px 0 0 7px !important;
  font-weight: bold;
}
#topnav li {
  height: 33px;
}
#topnav a {
  height: 33px;
  display: block;
  /*color: transparent;*/
}

/*
#topnav span {
  display: none;
}

#topnav #palvelut a {
  background-image: url("/static/images/ylavalikko_tekstit_oranssi_01.png");
  width: 199px;
}
#topnav #palvelut.active a {
  background-image: url("/static/images/ylavalikko_tekstit_mustat_01.png");
}

#topnav #jasenet a {
  background-image: url("/static/images/ylavalikko_tekstit_oranssi_05.png");
  width: 79px;
}
#topnav #jasenet.active a {
  background-image: url("/static/images/ylavalikko_tekstit_mustat_05.png");
}

#topnav #showreel a {
  background-image: url("/static/images/ylavalikko_tekstit_oranssi_03.png");
  width: 94px;
}
#topnav #showreel.active a {
  background-image: url("/static/images/ylavalikko_tekstit_mustat_03.png");
}

#topnav #contact a {
  background-image: url("/static/images/ylavalikko_tekstit_oranssi_07.png");
  width: 129px;
}
#topnav #contact.active a {
  background-image: url("/static/images/ylavalikko_tekstit_mustat_07.png");
}
*/

#subnav {
  clear: both;
  background-image: url("/static/images/alavalikko2rivia_ylasuikale.png");/*alavalikkosuikale.png*/
  background-repeat: no-repeat;
  height: 33px;  
  width: 700px;
  margin: 0 0 0 0 !important;
  padding: 7px 40px 0 17px !important;
  font-weight: bold;
  font-size: 16px;
}
#subnav.large {
  /*background-image: url("/static/images/otsikkosuikale_2-rivinen.png");*/
  background-image: url("/static/images/alavalikko2rivia_b.png");
  height: 66px;
  font-size: 16px;
  line-height: 18px;
}
#subnav ul{
  clear:both;
}
#subnav li {
  background-position: right -4px;
  padding: 0 15px 0 6px !important;
  margin: 0 0 15px 0 !important;
}
#subnav.large li {
  padding: 0 15px 0 6px !important;
}

#subnav span {
  color: orange;
}
#topnav li.active span,
#subnav li.active span {
  color: black;
}


/******************************************************************************/
/* Side-float address                                                         */
/******************************************************************************/

#side-link {
    float: left;
    margin-left: -150px;
    margin-top: 50px;
}

.alitajunta-link {
    background-image: url('../../static/images/alitajunta_linkki.png');
    background-repeat: no-repeat;
    width: 120px;
    height: 229px;
    display: block;
}
.alitajunta-link-image {
    display: block;
    padding-top: 126px;
    padding-left: 19px;
    width: 82px;
    height: 82px;
    overflow: hidden;
}
/*
#xnav {
	text-align: left;
	width: 120px;
	padding-left: 5px;
	margin-left: 8px;
	float: left;
	font-size: 11px;
}
#xnav ul {
	display: block;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
#xnav li {
	display: block;
	list-style: none;
	margin: 0 0 0 0;
	padding: 0 0 0 10px;
}
#xnav li a {
	font-weight: bolder;
	font-size: 12px;
	line-height: 12px;
	color: white;
}
#xnav li li a {
	font-weight: normal;
	font-size: 11px;
	line-height: 12px;
	/ *color: #990000;* /
}
#xnav .banner {
	text-align: center;
	padding-top: 16px;
	color: white;
	text-transform: uppercase;
}
#xnav .banner img {
	border: none;
	padding-top: 10px;
}
*/

/******************************************************************************/
/* Content area                                                               */
/******************************************************************************/

.in-page-graphic {
  float: left;
  margin-right: 10px;
}

ol {
  padding-left: 150px;
}

/******************************************************************************/
/* Side-float address                                                         */
/******************************************************************************/
/* TODO: rename #sidebar to #sidebar-right */

#sidebar {
	float: right;
        width: 167px;
}
.sidebar {
        background-image: url("/static/images/viimeisimmat-projektit-suikale_02.png");
        background-repeat: repeat-y;
        margin: 35px 0 0 0;
        padding: 0 0 0 0;
}

#sidebar h2 {
        /*
        background-color: white;
        background-image: url("/static/images/viimeisimmat-projektit-suikale_01.png");
        background-repeat: no-repeat;
        background-position: center top;
        */
        margin: -15px 0 0 0 ;
        padding: 10px 30px 0 10px;
        text-align: left;
        /*font-family: Georgia;*/
        font-weight: bold;
        font-style: italic;
        font-size: 12px;
}
#sidebar .wrapper-top {
        background-image: url("/static/images/viimeisimmat-projektit-suikale_01.png");
        background-repeat: no-repeat;
        background-position: center top;
        margin-top: -35px;
}
#sidebar .wrapper-bottom {
        background-image: url("/static/images/viimeisimmat-projektit-suikale_03.png");
        background-repeat: no-repeat;
        background-position: center bottom;
        padding: 25px 10px 10px 10px;
}
#sidebar address,
.sidebar address{
	text-align: left;
	font-style: normal;
	font-size: 11px;
	line-height: 12px;
	margin-bottom: 5px;
}
#sidebar address .name,
.sidebar address .name{
	font-weight: bolder;
	font-size: 12px;
	line-height: 12px;
	color: white;
}

/* Gallery */

.gallery {
  margin: 10px;
  text-align: left;
}
.gallery ul {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}
.gallery li {
  list-style: none;
  padding: 0 0 0 0;
  margin: 2px;
  display: inline;
  float: left;
}
.gallery li:hover {
  margin: 1px;
  border: solid 1px white;
}
.gallery li * {
  display: block;
}
.MultiBoxNumber {
  display: none;
}
.MultiBoxContainer {
  -moz-border-radius: 15px;
  border-radius: 15px;
}

#sidebar .portrait {
  margin-top: 15px;
  margin-bottom: 5px;
}

#members {
  height: 140px;
}
#members a,
#members img {
  display: block;
}
#members a {
  float: left;
  height: 140px;
  background-repeat: no-repeat;
  background-position: center bottom;
}
#members .jan {
  background-image: url("/static/images/tunnistusrivikuvat/jan.png");
  width: 138px;
}
#members .jan:hover {
  background-image: url("/static/images/tunnistusrivikuvat/jan_mv.png");
}
#members .maria {
  background-image: url("/static/images/tunnistusrivikuvat/maria.png");
  width: 109px;
  margin-left: -20px;
}
#members .maria:hover {
  background-image: url("/static/images/tunnistusrivikuvat/maria_mv.png");
}
#members .kim {
  background-image: url("/static/images/tunnistusrivikuvat/kim.png");
  width: 134px;
  margin-left: -20px;
}
#members .kim:hover {
  background-image: url("/static/images/tunnistusrivikuvat/kim_mv.png");
}
#members .leena {
  background-image: url("/static/images/tunnistusrivikuvat/leena.png");
  width: 119px;
  margin-left: -20px;
}
#members .leena:hover {
  background-image: url("/static/images/tunnistusrivikuvat/leena_mv.png");
}
#members .katja {
  background-image: url("/static/images/tunnistusrivikuvat/katja.png");
  width: 111px;
  margin-left: -20px;
}
#members .katja:hover {
  background-image: url("/static/images/tunnistusrivikuvat/katja_mv.png");
}
#members .jessica {
  background-image: url("/static/images/tunnistusrivikuvat/jessica.png");
  width: 103px;
  margin-left: -20px;
}
#members .jessica:hover {
  background-image: url("/static/images/tunnistusrivikuvat/jessica_mv.png");
}
#members .kaisa {
  background-image: url("/static/images/tunnistusrivikuvat/kaisa.png");
  width: 119px;
  margin-left: -20px;
}
#members .kaisa:hover {
  background-image: url("/static/images/tunnistusrivikuvat/kaisa_mv.png");
}

/******************************************************************************/
/* General rules                                                              */
/******************************************************************************/

a {
	color: #FF9900;
	text-decoration: none;
}
a:hover {
	color: #CC6600;
	text-decoration: underline;
}
a img {
	border-style: none;
}
#content p,
#content address {
	margin-top: 0;
	margin-bottom: 1em;
	font-style: normal;
}
.sp {
	vertical-align: bottom;
}
