/* Defaults */
* {
  margin: 0;
  padding: 0;
  }

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 10px 0;
  }

h1, h2, h3, h4, h5, h6 {
  font-family: Verdana;
  }

hr {
  color: #333;
  border: 1px solid #121212;
  }

pre {
  height: auto; 
  overflow-x:scroll;
  }

fieldset {
  margin: 0;
  padding: 0; 
  border: 0;
  }

dd {
  padding-left: 15px;
  }

p {
  font-size: 9pt;
  }

a {
  color: #557;
  text-decoration: none;
  }

a:hover {
  color: #222;
  text-decoration: underline;
  }

a img {
  border: none;  
  }

blockquote {
  background: #070707;
  border: 1px solid #060606;
  padding: 5px 15px;
  margin: 10px 10px 5px 15px;
  font-style: italic;
  color: #fff;
  }

code {
  color: #3366cc;
  font-style: italic;
  }

strong {
  font-size: 110%;
  }

input.button {
    font-size: 0.9em;
    font-weight: bolder;
    padding: 10px;
}
.clear {
    clear: both;
    height: 0;
    line-height: 0;
}

body {
  text-align: center;
  margin: 0;
  padding: 0 0 15px 0;
  font-family: trebuchet ms, arial, helvetica, sans-serif;
  }


/* Header and wrapper */
#wrapper {
  margin: 0 auto;
  width: 850px;
  text-align: left;
  padding: 0;
  }

#header {
  padding: 0;
  margin: 0;
  }

#header #logo {
  float: left;
  width: 340px;
  margin: 10px 0 0 0;
  padding: 0;
}
#header h1 {
  padding: 0;
  margin: 0;
  background: url(../image/famipoo_logo.png) no-repeat;
  }
#header h1 a {
  display: block;
  width: 219px;
  height: 64px;
  text-decoration: none;
}
#header h1 a:hover {
  text-decoration: none;
}
#header h1 a span {
  display: none;
}
#header span {
  padding: 0;
  color: #111;
  font-size: 9pt;
  }
#header .ads {
    float: right;
    width: 500px;
    height: 100px;
}

/* Top Content */
#main {
  margin-top: 5px;
  clear: both;
  width: 850px;
  padding-bottom: 5px;
  }

/* Photo Form */
#photoform {
    width: 80%;
    float: left;
	background: #eef;
	border: 1px solid #cce;
	font-size: 0.85em;
	padding: 20px 20px 20px 50px;
}
#photoform dl {
    width: 50%;
    float: left;
}
#photoform dl dt {
	color: #060606;
	font-weight: bolder;
}
#photoform dl dd {
	padding-bottom: 10px;
}
#photoform input.file {
    padding: 20px 5px;
    background: #bbf url(../image/bg_stripe.gif);
}
#photoform input.button {
    height: 56px;
    width: 250px;
}
#photoform .ads {
    float: right;
    width: 49%;
    height: 150px;
}

/* Upload Pics */
#uploads {
	margin-bottom: 20px;
	background: #555;
	padding: 10px;
    border: 3px solid #ccc;
}
.pic {
    padding: 10px 0;
}
.pic.even {
    background: #666;
}
.picinfo {
    background: #fff;
    width: 60%;
    height: 55px;
    float: left;
    padding: 3px;
    border-top: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
}
.picinfo table {
    border-collapse: collapse;
    width: 100%;
}
.picinfo th, .picinfo td {
    text-align: center;
    font-size: 0.75em;
}
.picinfo th {
    border-bottom: 1px solid #ccf;
    background-image: url(../image/bg_stripe.gif);
}
.picinfo th.right, .picinfo td.right
, .picinfo th.filesize, .picinfo td.filesize {
    border-left: 1px solid #ccf;
}
.picinfo th.original, .picinfo td.original {
    background-color: #eef;
}

.picmodify {
    background: #fff;
    width: 38%;
    height: 55px;
    float: right;
    font-size: 0.75em;
    padding: 3px;
    border-top: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
}
.picmodify .modify {
    background-image: url(../image/bg_stripe.gif);
}
.picmodify table {
    border-collapse: collapse;
    width: 100%;
}
.picmodify th, .picmodify td {
    text-align: center;
}
.picmodify td.btnmodify {
    width: 40%;
}
.picmodify td.btnmodify input {
    height: 56px;
    width: 100px;
    font-size: 1.0em;
}

/* Image */
.imagewrapper {
    text-align: center;
    overflow-x: auto;
    margin: 10px 0;
}
.imagewrapper input.delete {
    color: #f36;
}

/* Mail */
.mail {
    background: #ffd;
    float: left;
    border: 2px solid #ffc;
    width: 100%;
    margin-top: 10px;
    font-size: 0.75em;
}
.mail h2 {
    font-size: 12px;
    font-weight: normal;
}
.mail .mailform {
    float: left;
    width: 55%;
}
.mail table {
    border-collapse: collapse;
    width: 100%;
}
.mail th, .mail td {
    text-align: right;
    padding-right: 10px;
}
.mail th {
    background: #ffd url(../image/bg_stripe.gif);
}
.mail td {
    padding: 5px 10px 5px 0;
}
.mail .input input, .mail .input textarea {
    width: 270px;
}
.emojiform iframe {
    width: 270px;
    height: 200px;
}
.emojipanel {
    margin-right: 0;
    margin-left: auto;
    width: 270px;    
}
.mail textarea {
    height: 200px;
}
.mail input.button {
    font-size: 1.0em;
    height: 56px;
    width: 100px;
}
.mail .ads {
    float: right;
    width: 44%;
    padding-top: 60px;
}

/* Download */
.download {
    text-align: center;
    border-bottom: 4px solid #fff;
    padding: 10px 0;
}
.download input.button {
    width: 200px;
}

/* Message */
.message_info {
    color: #ccf;
    font-weight: bolder;
    text-align: center;
}
.message_info p {
    font-size: 1.4em;
}
.message_error {
    color: #fcc;
    font-weight: bolder;
    text-align: center;
}

/* Footer */
.footer {
    font-size: 0.75em;
    border-top: 2px solid #ccc;
    margin-top: 10px;
    padding-top: 10px;
}

/* Ads */
.ads {
/*    background: #fd9;*/
}
