/*   
    Theme Name: SER
    Theme URI: http://ser.esrtheta.nl
    Description: Stylesheet for the SER Website. Also contains template files for the NextGen Gallery.
    Author: Joris Kraak
    Author URI: http://majorfail.com
    Version: 0.98
*/

/* Main element styles */
* {
    margin: 0;
    padding: 0;
}

html {
    background: transparent url('images/background.png') repeat fixed 0 0;
    height: 100%;
    font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
}

body {
    width: 800px;
    height: 100%;
    margin: 0 auto;
}

a {
    color: #000;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignright {
    margin: 0 0 2px 7px;
    display: inline;
}

img.alignleft {
    margin: 0 7px 2px 0;
    display: inline;
}

.current_page_item {
    border-top: 2px solid #fff;
    position: relative; /* This is here to fix weird IE < 8 behavior */
}
/* End - Main element styles */

/* Layout element styles */
#container {
    background: #fecf4c url('header_image.php') no-repeat scroll 0 0;
    width: 800px;
    min-height: 100%;
    border-left: 1px solid #dbd3d1;
    border-right: 1px solid #dbd3d1;
}

#content {
    width: 554px;
    margin-left: 20px;
    padding-top: 10px;
    float: left;
    padding-bottom: 20px;
}

#content_container {
    width: 780px;
}

#footer {
    background-color: #fecf4c;
    width: 800px;
    height: 50px;
    clear: both;
    text-align: center;
    font-size: 8pt;
}

#header{
    width: 800px;
    height: 315px;
    position: relative;
}

#sidebar {
    background: transparent url('images/sidebar_background.png') repeat-y 0 0;
    color: #fff;
    position: relative;
    width: 204px;
    margin-right: -2px;
    margin-bottom: 60px;
    float: right;
    text-align: center;
    font-size: 10pt;
    list-style: none;
}

.clearer {
    clear: both;
    height: 1px;
    overflow: hidden;
    margin-top: -1px;
}
/* End - Layout element styles */

/* Content styles */
#content p {
    padding: 0 0 2ex 0;
}

#content a img {
	border: none;
}

#content .alignleft {
    float: left;
}

#content .alignright {
    float: right;
}

#content .more-link {
    float: right;
    padding: 0.5ex 0 0 0;
}

#content .news_date {
    margin: 2ex 0 1ex 1.5em;
    padding-top: 1ex;
}

#content .news_header {
    padding: 0 0 15px 0.75em;
}

#content .news_link {
    position: relative;
    top: -1.5ex;
    left: 1em;
}

#content .news_post {
    margin-bottom: 2ex;
}

#content .post, #content .sub_nav {
    background: transparent url('images/box_middle.png') repeat-y scroll 0 0;
    text-align: justify;
    font-size: 10pt;
}

#content .post h2.block_header, #content .sub_nav .sub_nav_header {
    background: transparent url('images/box_top_bottom.png') no-repeat scroll 0 100%;
    height: 15px;
    padding: 10px 0 0 20px;
    margin-bottom: 1.5ex;
}

#content .sub_nav .sub_nav_header {
    margin-bottom: 0 !important;
}

#content .post img {
    padding: 0 10px;
}

#content .post table.ec3_schedule {
    float: none !important;
    border-collapse: separate !important;
}

#content .post .entry {
    padding: 0 20px 20px 20px;
}

#content .post .entry ul {
    margin-left: 1em;
    padding-bottom: 2ex;
}

#content .post .post_bottom, #content .sub_nav .sub_nav_bottom {
    background: transparent url('images/box_top_bottom.png') no-repeat scroll 0 0;
    height: 25px;
    margin-top: -25px;
    clear: both;
}

#content .postlink_left {
    float: left;
    padding-left: 2em;
    font-size: 8pt;
}

#content .postlink_right {
    float: right;
    padding-right: 2em;
    font-size: 8pt;
}

#content .post_navigation a {
    color: #000;
    font-size: 10pt;
    text-decoration: none;
    padding: 0.5ex 1em;
}

#content .sub_nav .sub_nav_bottom {
    margin-top: -25px;
}

#content .sub_nav a {
    color: #fff;
    padding: 0 0.5em;
    text-decoration: none;
}

#content .sub_nav ul {
    width: 525px;
    list-style: none;
    position: relative;
    top: -1.75ex;
    font-size: 12pt;
    font-weight: bold;
    text-align: center;
}

#content .sub_nav li {
    display: inline;
}

#content .sub_nav .sub_nav_bottom {
    margin-bottom: 1.5ex;
}
/* End - Content styles */

/* Footer styles */
#footer p {
    padding: 2px 0;
}
/* End - Footer styles */

/* Header styles */
#header ul {
    width: 525px;
    position: absolute;
    top: 272px;
    left: 35px;
    text-align: center;
    font-size: 13.3pt;
    list-style: none;
}

#header li {
    display: inline;
}

#header li a {
    color: #fff;
    padding: 0 0.5em;
    text-decoration: none;
    font-weight: bold;
}
/* End - Header styles */

/* Sidebar styles */
#sidebar a {
    color: #fff;
    text-decoration: none;
}

#sidebar ul {
    text-align: left;
    list-style: none;
}

#sidebar .member_link {
    color: #febb00;
    font-size: 20pt;
    margin-bottom: 3ex;
}

#sidebar .sidebar_bottom {
    background: transparent url('images/sidebar_bottom.png') no-repeat scroll bottom center;
    width: 204px;
    height: 38px;
}

#sidebar .widget {
    padding: 1ex 1em;
}

#sidebar .widget_recent_entries li, #sidebar .widget_rss li {
    padding: 0.25ex 0;
}
/* End - Sidebar styles */

/* Table styles */
.vloot_table th {
    padding: 2ex 0.5em 0.5ex 0.5em;
}

.vloot_table td {
    padding: 0.5em 0.5ex;
}
/* End - Table styles */

/* SER Form styles */
.serform h3 {
    padding: 0.75ex 0 0.5ex 0;
}

.serform li {
    line-height: 175%;
}

.serform ul {
    list-style: none;
    float: left;
}

.serform #warrant-amount {
    width: 5.25em;
    display: block;
}

.serform #warrant-a-c {
    position: relative;
    top: -3.25ex;
    left: 8em;
}

.serform #warrant_comment {
    padding-top: 1ex;
}

.serform #warrant-c-label {
    position: relative;
    top: -2px;
}

.serform #warrant_options .wpcf7-list-item {
    display: block;
}

.serform .labels {
    width: 11em;
    padding-right: 1em;
    text-align: right;
}

.serform .required {
    font-style: italic;
}

.serform .warrant-labels {
    width: 17.5em;
}

.serform .wpcf7-captcha-captcha-20 {
    position: relative;
    top: 10px;
}

.serform .wpcf7-not-valid-tip {
    position: relative;
    top: 0;
    left: 0.5em;
    font-size: 8pt;
}
/* End - SER Form styles */

/* SER NextGen Gallery styles */
.ngg-gallery-thumbnail img {
    padding: 4px !important;
}

.ngg-navigation {
    margin: 5px 0 10px 0;
    padding-top: 0 !important;
}
/* End - SER NextGen Gallery styles */

/* Menu Fixes for sub-menu's */
.page-id-14 #navigation .current_page_parent, .page-id-16 #navigation .current_page_parent {
    border-top: 2px solid #fff;
}
/* End - Menu Fixes for sub-menu's */

/* Event Calendar Styles */
.ec3_events {
	margin-left: 1em;
}

.ec3_list {
	color: #fff !important;
	font-weight: bold;
}

.ec3_list ul li {
	font-weight: normal;
}
/* End - Event Calendar Styles */

/* Start - NSRF Styles */
#nsrf_form {
    list-style: none;
}

#nsrf_form input[type="checkbox"] {
    position: relative;
    top: 1px;
    margin-right: 0.5em;
}

#nsrf_form label {
    display: block;
    float: left;
    width: 22em;
    margin-right: 1em;
    text-align: right;
}

#nsrf_form li {
    padding: 0.5ex 0;
}

#nsrf_form option {
    padding-right: 1em;
}

#nsrf_form .nsrf_guests label {
    display: inline;
    float: none;
}

#nsrf_form .nsrf_guests input[type="checkbox"] {
    margin: 0 0.25em 0 0.5em;
}

#nsrf_form .nsrf_guest_year {
    margin: 0 0.5em 0 1em;
}

#nsrf_form input[type=checkbox].nsrf_guest_child, #nsrf_form input[type=checkbox].nsrf_guest_childcare {
    margin: 1ex  0 0 16.75em;
}

#nsrf_form_controls {
    text-align: center;
    margin-left: 1em;
}

#nsrf_form_errors li {
    margin: 0.25ex 1.25em;
}

#nsrf_form_errors li:first-child {
    list-style: none;
    margin-left: 0;
}

#nsrf_participants td {
    padding-right: 1em;
}

#nsrf_participants .nsrf_guest {
    padding-left: 1.5em;
}

#nsrf_participants th {
    font-weight: bold;
}
/* End - NSRF Styles */