/*
türkis: #119598;
*/

body {
    background-color: #fff;
    text-align: justify;
    font-family: 'Candara', Arial;
    font-size: 16px;
    margin-bottom: 10px;
}

a, a:visited, a:active {
  text-decoration: none;
  color: #119598;
}
a:hover { color: #a7a7a7; }

h1 {
    color: #119598;
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 0px;
    letter-spacing: 2px;
    float: left;
    width: 718px;
    text-align: left;
    line-height: 40px;
}
h2 {
    color: #119598;
    margin-top: 10px;
    margin-bottom: 15px;
    float: left;
    width: 724px;
    font-size: 20px;
    font-weight: normal;
    text-align: left;
}
h3 {
    font-weight: normal;
    font-size: 17px;
    color: #119598;
    float: left;
    width: 718px;
    text-align: left;
    margin-bottom: 10px;
}
#category-detail h1 {
    margin-bottom: 10px;
}

#category-detail img.member {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}
.member-wrapper {
    border-bottom: 1px solid #ccc;
    padding-bottom: 17px;
    margin-bottom: 17px;
    float: left;
    width: 718px;
}
.member-wrapper:last-child {
    border-bottom: none;
}

#wrapper {
  width: 990px;
  margin: 0 auto;
  position: relative;
}
#header {
  float: left;
  width: 990px;
}
#logo {
  position: absolute;
  left: 30px;
  top: 182px;
  z-index: 100;
}
#footer {
    padding: 15px 15px 10px 30px;
    color: #fff;
    background-color: #119598;
    width: 945px;
    float: left;
}
#footer span,
#footer a {
    float: left;
    margin-top: 8px;
    margin-left: 4px;
    margin-right: 4px;
}
#footer a {
    color: #fff;
    float: left;
}
#footer a:hover {
    color: #000;
}
#footer a.image-link {
    margin-top: 0;
}
#footer a.image-link:hover {
    opacity: 0.8;
}
#footer .footer-right {
    float: right;
}
#slider {
  float: left;
  height: 330px;
  clear: both;
  overflow: hidden;
  width: 990px;
}

#content {
    width: 990px;
    background-color: #fff;
    line-height: 22px;
    border-top: 0;
    float: left;
    padding-top: 20px;
}

#content tr h2 {
    margin-top: 0;
}
#content tr {
    vertical-align: top;
}
#content td.first {
    padding-right: 20px;
}
#content table {
    margin-top: 30px;
}
#content table p,
#content table h2 {
    width: auto ! important;
    clear: both;
}
#content table img {
    margin-top: -15px;
}


#content div.text-wrapper ul,
#content div.text-wrapper ol {
  padding-left: 10px;
  margin-left: 7px;
  margin-bottom: 10px;
  float: left;
  clear: both;
  width: 570px;
}

#content div.text-wrapper ul {
  list-style-type: disc;
  width: 100%;
}

#galleries-detail .images-wrapper {
    float: left;
    margin-bottom: 15px;
}
#galleries-detail .image-wrapper {
    float: left;
    margin-right: 1px;
    margin-bottom: 1px;
}
#galleries-detail .image-wrapper .fancybox {
    float: left;
    height: 100px;
}
#galleries-detail .image-wrapper a:hover {
    opacity: 0.6;
}
#content .right {
    float: left;
    width: 718px;
    min-height: 450px;
    color: #616161;
    padding-top: 7px;
    padding-right: 15px;
    padding-bottom: 10px;
}
#content .right.no-sub-navi {
    padding-left: 245px;
}

.icon-edit {
    position: absolute;
    right: 3px;
    top: 3px;
    z-index: 50;
}

.form label {
  width: 116px;
  float: left;
  margin-top: 5px;
}
.form form {
  margin-top: 10px;
  clear: both;
}
.form .input {
  margin-bottom: 10px;
}

.form button[type="submit"] {
    float: right;
}
.cake-debug, .cake-sql-log {
    clear: both;
}

#page-detail .posts-left,
#posts-index .posts-left,
#post-detail .posts-left,
#members-index .members-left {
    float: left;
    width: 200px;
    margin-right: 10px;
}
#posts-index .posts-left,
#post-detail .posts-left {
    width: 110px;
    margin-right: 20px;
}
#posts-index .posts-right,
#post-detail .posts-right {
    width: 576px ! important;
}
#posts-index .posts-left .img-placeholder {
    width: 110px;
    float: left;
    height: 1px;
}
#posts-index .posts-right h3 {
    width: 250px;
    margin-right: 20px;
    height: 105px;
    line-height: 30px;
    padding-top: 5px;
    font-size: 20px;
}
#posts-index .posts-right h3 {
    color: #616161;
}
#posts-index .posts-right .text-wrapper {
    width: 305px;
    float: left;
    height: 110px;
    overflow: hidden;
}
#post-detail .posts-right .text-wrapper {
    margin-top: -17px;
}
#post-detail .posts-right.no-image {
    width: 718px ! important;
}
#posts-index .posts-right .text-wrapper p {
    margin: 0;
    line-height: 18px;
}
#page-detail .posts-right,
#posts-index .posts-right,
#post-detail .posts-right,
#members-index .members-right {
    float: left;
    width: 388px;
}
#page-detail .posts-left {
    width: 270px;
    margin-right: 20px;
}
#page-detail .posts-right h3 {
    width: 418px;
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 31px;
}
#page-detail .posts-right {
    width: 428px;
    line-height: 25px;
}

.home .posts-wrapper h2 {
    width: 418px;
}

.members-wrapper {
    margin-bottom: 10px;
    float: left;
    line-height: 28px;
}

#posts-index h1 {
    margin-bottom: 5px;
}
#post-detail .posts-wrapper {
    margin-top: 15px;
    float: left;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}
#post-detail .posts-wrapper:last-child {
    border: none;
}
#page-detail .posts-wrapper,
#posts-index .posts-wrapper {
    float: left;
    border-bottom: 1px solid #ccc;
    margin-top: 15px;
    padding-bottom: 10px;
}
#post-detail h2,
#post-detail h3 {
    width: 576px;
    margin-bottom: 10px;
}
#page-detail .posts-wrapper:last-child,
#posts-index .posts-wrapper:last-child {
    border: none;
}

#post-detail .img-gallery .image-wrapper {
    float: left;
    margin-right: 5px;
    margin-bottom: -1px;
}
#post-detail .img-gallery .image-wrapper a:hover img {
    opacity: 0.7;
}
.galleries-wrapper {
    margin-top: 5px;
    margin-left: -10px;
}
.galleries-wrapper a {
    padding: 10px;
    float: left;
    width: 180px;
    font-size: 12px;
    line-height: 16px;
    height: 170px;
}
.galleries-wrapper h3 {
    font-size: 12px;
    overflow: hidden;
    height: 17px;
    clear: both;
}
.galleries-wrapper a:hover {
    background: #ccc;
    color: #000;
}

/* START pagination */
div.pagination {
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: center;
  float: left;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -khtml-border-radius: 4px;
  -webkit-border-radius: 4px;
  display: block;
  background: #fff;
}
div.pagination li {
    float: left;
    list-style: none;
}

div.pagination a {
  float: left;
  width: 32px;
  padding-top: 4px;
  height: 29px;
  color: #333;
  margin-right: 1px;
}
div.pagination span.current,
div.pagination span:hover,
div.pagination a:hover {
  background-color: #ccc;
  color: #fff ! important;;
}
div.pagination span.next {
  border-right: none;
}
/* END pagination */

table.activity-plan {
    width: 95%;
}
table.activity-plan th {
  background-color: #666;
  color: #fff;
}
table.activity-plan th,
table.activity-plan td {
  padding: 0 3px;
}
table.activity-plan tr {
  background-color: #fffbf0;
  color: #000;
  text-align: left;
}
table.activity-plan tr.changed {
    background-color: red ! important;
}
table.activity-plan tr:nth-child(odd) {
  background-color: #e4ebf2 ;
}
table.activity-plan .edit {
    margin-right: 5px;
    float: left;
}
table.activity-plan .edit img {
    margin-top: 0 ! important;
}