
/**********
  CUSTOM FONTS
**********/

@font-face {
    font-family: 'Alegreya';
    src: url('fonts/Alegreya-Regular-webfont.eot');
    src: url('fonts/Alegreya-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Alegreya-Regular-webfont.woff') format('woff'),
         url('fonts/Alegreya-Regular-webfont.ttf') format('truetype'),
         url('fonts/Alegreya-Regular-webfont.svg#AlegreyaRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Alegreya';
    src: url('fonts/Alegreya-Bold-webfont.eot');
    src: url('fonts/Alegreya-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Alegreya-Bold-webfont.woff') format('woff'),
         url('fonts/Alegreya-Bold-webfont.ttf') format('truetype'),
         url('fonts/Alegreya-Bold-webfont.svg#AlegreyaBold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'AlegreyaSC';
    src: url('fonts/AlegreyaSC-Regular-webfont.eot');
    src: url('fonts/AlegreyaSC-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/AlegreyaSC-Regular-webfont.woff') format('woff'),
         url('fonts/AlegreyaSC-Regular-webfont.ttf') format('truetype'),
         url('fonts/AlegreyaSC-Regular-webfont.svg#AlegreyaSCRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'AlegreyaSC';
    src: url('fonts/AlegreyaSC-Bold-webfont.eot');
    src: url('fonts/AlegreyaSC-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/AlegreyaSC-Bold-webfont.woff') format('woff'),
         url('fonts/AlegreyaSC-Bold-webfont.ttf') format('truetype'),
         url('fonts/AlegreyaSC-Bold-webfont.svg#AlegreyaSCBold') format('svg');
    font-weight: bold;
    font-style: normal;
}

/**********
  RESET
**********/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/**********
  GLOBAL
**********/

body, body * {
  font-family: 'Alegreya', serif;
}
.clear {
  clear: both;
}
body {
  background: #09F url(images/new_wave.png) center bottom -100px repeat;
}
body > div {
  width: 100%;
  min-width: 950px;
}
body > div > div {
  margin: 0 auto;
  width: 950px;
  position: relative;
}
a {
  color: #09F;
  text-decoration: none;
  outline: none;
}
a:hover {
  color: #C00;
}
strong {
  font-weight: bold;
}

/**********
  LOGIN
**********/

#login {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 100;
  background: rgba(0,0,0,0.5);
  display: none;
}
#login > div {
  width: 100%;
  height: 100%;
  display: table;
}
#login > div > div {
  width: 100%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
#login > div > div > div {
  display: inline-block;
  width: auto;
  height: auto;
  margin: auto;
  padding: 25px;
  background: rgba(0,0,0,0.5);
}
#login > div > div * {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#login a {
  display: block;
  font-size: 20px;
  background: #FFF;
  color: #000;
  height: 50px;
  line-height: 50px;
}
#login a:hover {
  background: #C00;
  color: #FFF;
}
#login .fs_welcome {
  display: block;
  height: 50px;
  line-height: 50px;
  font-size: 20px;
  background: rgba(0,0,0,0.5);
  color: #FFF;
}
#login .fs_login_links_b {
  display: block;
  padding: 10px 0;
}
#login .fs_login_links_b a {
  width: 200px;
  display: inline-block;
}
#login .fs_c_login {
  display: block;
}
#login .fs_c_login > div,
#login .fs_c_login a {
  width: 200px;
  display: inline-block;
}
#login .logout {
  display: block;
}
#login .logout a {
  height: 50px;
  line-height: 50px;
}

/**********
  LOGIN SCREEN
**********/

#thisLogin > div {
  background: rgba(255,255,255,0.9);
  padding: 25px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

/**********
  HEADER
**********/

#header {
  background: #FFF url(images/new_wave.png) center -100px repeat-x;
  height: 140px;
}
#header > div {
  background-color: inherit;
  padding: 0 5px;
  height: inherit;
}
#header > div > div {
  margin: 0 auto;
  width: 950px;
  position: relative;
  background: #FC0;
  margin-bottom: 40px;
  height: 100px;
  overflow: visible;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* LOGO */
#header #logo {
  display: block;
  width: 350px;
  height: 140px;
  margin-bottom: -40px;
}

/* SEARCH */
#header .search {
  position: absolute;
  right: 0;
  top: 5px;
}
#header .search .search-form {
  border: none;
  background: #FFF;
  line-height: 20px;
  height: 20px;
  padding: 5px 10px;
  width: 150px;
  font-size: 14px;
  float: left;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding-right: 40px;
  margin-right: -30px;
}
#header .search .search-submit {
  border: none;
  background: #09F url(images/new_search.png) center no-repeat;
  width: 30px;
  height: 30px;
  float: left;
  cursor: pointer;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
#header .search .search-submit:hover {
  background-color: #C00;
}

/* MENU */
#header .menu {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 600px;
}
#header .menu > div > ul {
  display: block;
  width: 595px;
}
#header .menu > div > ul > li {
  display: inline-block;
  padding-bottom: 5px;
  position: relative;
}
#header .menu > div > ul > li.fs-linkSep {
  display: none;
}
#header .menu > div > ul > li > a {
  display: block;
  text-align: center;
  padding: 5px 10px;
  line-height: 15px;
  font-size: 16px;
  color: #C00;
  font-weight: bold;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border-bottom: 1px solid #C00;
  margin-bottom: -1px;
}
#header .menu div > ul > li:hover > a {
  background: #C00;
  color: #FFF;
  border-bottom: 0;
  margin-bottom: 0;
}
#header .menu div > ul > li.sub:hover > a {
  padding-bottom: 10px;
  margin-bottom: -5px;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomleft: 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
#header .menu div > ul > li.active > a {
  background: #FFF;
  color: #000;
  border-bottom: 0;
  margin-bottom: 0;
}
#header .menu div > ul > li > ul {
  position: absolute;
  display: none;
  left: 0;
  right: 0;
  background: #FFF;
  z-index: 10;
  margin: 0 -25px;
  background: #C00;
  padding: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  margin-top: 5px;
}
#header .menu div > ul > li:hover > ul {
  display: block;
}
#header .menu div > ul > li > ul > li {
  margin-top: 1px;
}
#header .menu div > ul > li > ul > li > a {
  font-size: 14px;
  display: block;
  background: #FFF;
  padding: 5px;
  text-align: center;
  font-weight: bold;
  color: #000;
}
#header .menu div > ul > li > ul > li:hover > a {
  background: #FC0;
}

/**********
  CONTENT
**********/

/*** GLOBAL ***/

#content {
  background: #EEE;
  padding: 10px 0;
}

/*** LEFT COLUMN ***/

/* GLOBAL */
#content .leftCol {
  width: 320px;
  padding: 0 15px;
  float: left;
  margin-bottom: -10px;
}
#content .leftCol .box {
  background: #FFF;
  padding: 5px;
  margin-bottom: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#content .leftCol .box > h1 {
  display: block;
  background: #09F;
  padding: 5px;
  margin-bottom: 5px;
  color: #FFF;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#content .leftCol .box > h1 a {
  color: inherit;
}
#content .leftCol .box > div {
  padding: 5px;
  background: #EEE;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  line-height: 25px;
}

/* CALENDAR */
#content .leftCol .box > div table.fborder {
  border-collapse: separate;
  border-spacing: 5px;
  width: 320px !important;
  margin: -10px;
  background: #FFF;
}
#content .leftCol .box > div table.fborder span,
#content .leftCol .box > div table.fborder a {
  font-size: 16px;
  line-height: 20px;
  display: block;
  color: #000;
  padding: 5px;
  background: #EEE;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#content .leftCol .box > div table.fborder a:hover {
  background: #DDD;
}
#content .leftCol .box > div table.fborder td {
  padding: 0 !important;
}
#content .leftCol .box > div table.fborder td.forumheader span {
  background: #FC0;
  font-weight: bold;
}
#content .leftCol .box > div table.fborder td.indent a {
  border: 3px solid #09F;
  padding: 2px;
}
#content .leftCol .box > div table.fborder td.indent a[title] {
  border: 0;
  padding: 5px;
  background: #C00;
  color: #FFF;
  font-weight: bold;
}
#content .leftCol .box > div table.fborder td.indent a[title]:hover {
  background: #09F;
}

/* IMAGES */

#content .leftCol .box > div table:not(.fborder) {
  width: 100% !important;
  display: block;
  padding: 0 !important;
  position: relative;
}
#content .leftCol .box > div table:not(.fborder) * {
  display: block;
}
#content .leftCol .box > div table:not(.fborder) tr:first-child {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
}
#content .leftCol .box > div table:not(.fborder) tr:first-child a {
  padding: 10px;
  line-height: 15px;
  color: #FFF;
  font-weight: bold;
}
#content .leftCol .box > div table:not(.fborder) tr:last-child {
  position: absolute;
  bottom: 0;
  right: 0;
}
#content .leftCol .box > div table:not(.fborder) tr:last-child td {
  padding: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 15px;
}

/* CONTACT */
#content .leftCol .box > div > a {
  font-weight: bold;
}

/*** RIGHT COLUMN ***/

/* GLOBAL */
#content .rightCol {
  width: 600px;
  float: right;
  position: relative;
}
#content .rightCol * {
  font-size: 14px;
  line-height: 20px;
}
#content .rightCol img {
  padding: 10px;
}
#content .rightCol h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 40px;
  padding: 10px 0;
  color: #000;
  margin-bottom: 10px;
  font-family: 'AlegreyaSC';
  border-bottom: 1px solid #C00;
}
#content .rightCol ul.bbcode {
  list-style-type: circle;
  margin-left: 20px;
}
#content .rightCol ol.bbcode {
  list-style-type: decimal;
  margin-left: 20px;
}

/* NEWS */
#content .news {
  padding-bottom: 10px;
  border-bottom: 1px solid #C00;
  margin-bottom: 10px;
}
#content .news .head {
  
}
#content .news .head .da {
  float: left;
  width: 80px;
  height: 40px;
  padding: 10px 5px;
  margin-right: 10px;
  background: #C00;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#content .news .head .da span {
  color: #FFF;
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 48px;
  line-height: 30px;
}
#content .news .head .da span:first-child {
  font-size: 16px;
  line-height: 10px;
}
#content .news .head .options {
  float: right;
}
#content .news .head .options a {
  float: left;
  display: block;
  padding-left: 5px;
}
#content .news .head h2 {
  font-size: 32px;
  line-height: 40px;
  padding: 10px 0;
  font-weight: bold;
}
#content .news .head .author {
  margin-top: -10px;
  line-height: 10px;
  font-size: 12px;
}
#content .news .head .author a {
  color: #C00;
  line-height: inherit;
  font-size: inherit;
}
#content .news .content {
  margin-top: 10px;
}
#content .news .content .image {
  float: left;
}
#content .news .content .image img {
  width: 200px;
}
#content .news .content .image img {
  margin-right: 10px;
  margin-bottom: 5px;
}
#content .news .content .body {
  
}

/* GALLERY */
#content .rightCol #sgallery {
  position: relative;
}
#content .rightCol #sgallery img {
  padding: 0 !important;
}
#content .rightCol #sgallery .fborder {
  
}
#content .rightCol #sgallery .fborder .fcaption {
  padding-bottom: 5px;
  border-bottom: 1px solid #C00;
}
#content .rightCol #sgallery .fborder .fcaption,
#content .rightCol #sgallery .fborder .fcaption * {
  font-size: 12px;
  line-height: 15px;
}
#content .rightCol #sgallery .fborder .fcaption a,
#content .rightCol #sgallery .fborder .fcaption div {
  color: #C00;
  font-weight: bold;
  font-size: 16px;
  padding: 0 5px;
}
#content .rightCol #sgallery .fborder .fcaption a:hover {
  color: #09F;
}
#content .rightCol #sgallery .fborder .fcaption h2 {
  color: #000;
  font-size: 32px;
  padding: 10px 0;
  font-weight: bold;
  line-height: 30px;
  margin: 10px 0;
}
#content .rightCol #sgallery .fborder .fcaption h2 a {
  float: right;
}
#content .rightCol #sgallery .fborder .forumheader {
  padding-bottom: 5px;
  border-bottom: 1px solid #C00;
}
#content .rightCol #sgallery .fborder .forumheader,
#content .rightCol #sgallery .fborder .forumheader * {
  font-size: 12px;
  line-height: 15px;
}
#content .rightCol #sgallery .fborder .forumheader a,
#content .rightCol #sgallery .fborder .forumheader div {
  color: #C00;
  font-weight: bold;
  font-size: 16px;
  padding: 0 5px;
}
#content .rightCol #sgallery .fborder .forumheader h2 {
  color: #000;
  font-size: 32px;
  padding: 10px 0;
  font-weight: bold;
  line-height: 30px;
  margin: 10px 0;
  float: right;
  width: 525px;
}
#content .rightCol #sgallery .fborder .forumheader h2 a {
  float: right;
}
#content .rightCol #sgallery .fborder .forumheader .da {
  float: left;
  width: 55px;
  height: 30px;
  margin: 10px 0;
  padding: 10px 5px;
  margin-right: 10px;
  background: #C00;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#content .rightCol #sgallery .fborder .forumheader .da span {
  color: #FFF;
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  line-height: 20px;
}
#content .rightCol #sgallery .fborder .forumheader .da span:first-child {
  font-size: 16px;
  line-height: 10px;
}
#content .rightCol #sgallery .fborder .forumheader > table {
  
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 {
  padding-top: 5px;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table {
  display: block;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr {
  position: relative;
  display: block;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr td {
  display: block;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr td h3 {
  padding: 10px 0;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr td h3 a {
  color: #000;
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  padding: 0;
  display: inline-block;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr td h3 a[title] {
  float: right;
  padding: 0 5px;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr td div,
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr td a {
  padding: 0;
  border: 0 !important;
  display: block;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr:nth-child(2) td:last-child {
  display: none;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr td.smalltext {
  padding: 10px 0 !important;
}
#content .rightCol #sgallery .fborder .forumheader > table .forumheader2 table tr:nth-child(4) {
  display: none;
}
#content .rightCol #sgallery .fborder .forumheader3 {
  padding: 5px 0;
}
#content .rightCol #sgallery .fborder .forumheader3 > table {
  margin: 5px 0;
}
#content .rightCol #sgallery .fborder .forumheader3 > table .forumheader2 a {
  display: block;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  border: 5px solid #EEE;
  margin: -5px;
}
#content .rightCol #sgallery .fborder .forumheader3 > table tr .forumheader2:first-child a {
  margin-left: -5px;
}
#content .rightCol #sgallery .fborder .forumheader3 > table tr .forumheader2:last-child a {
  margin-right: -5px;
}

/* CUSTOM PAGE */
#content .rightCol .cpage_body {

}
#content .rightCol .cpage_body img {
  padding: 10px;
}

/**********
  FOOTER
**********/

#footer {
  background: #09F url(images/new_wave.png) center 0 repeat-x;
  height: 100px;
}
#footer > div {
  background-color: inherit;
  padding: 0 5px;
  height: inherit;
}
#footer > div > div {
  margin: 0 auto;
  width: 950px;
  position: relative;
  height: 100px;
}
#footer * {
  color: #FFF;
  font-size: 14px;
  font-family: 'AlegreyaSC';
}
#footer a {
  font-weight: bold;
}
#footer a:hover {
  color: #FC0;
}

/* MENU */

#footer .menu {
  position: absolute;
  right: 0;
  top: 25px;
  width: 600px;
  height: 15px;
  display: none !important;
}
#footer .menu > div {
  display: table;
  width: inherit;
  height: inherit;
}
#footer .menu > div a {
  display: table-cell;
  text-align: center;
  font-size: 16px;
  line-height: 15px;
  border-right: 1px solid #FFF;
}
#footer .menu .d_sublink {
  display: none !important;
}

/* MADE BY */

#footer .madeby {
  position: absolute;
  right: 0;
  top: 25px;
}
#footer .madeby span {
  float: left;
  display: block;
  line-height: 15px;
  padding: 0 15px;
  border-right: 1px solid #FFF;
  text-align: center;
}
#footer #openAdmin {
  font-weighT: normal;
}

/* COPYRIGHT */

#footer .copy {
  position: absolute;
  left: 0;
  top: 25px;
  width: 200px;
  height: 50px;
  line-height: 15px;
  padding-left: 200px;
  font-weight: bold;
  font-size: 16px;
  background: url(images/new_logo_small.png) 25px 0 no-repeat;
}
#footer span {
  display: block;
  padding-top: 5px;
  font-weighT: normal;
}