

/* Body, Common Classes & Wrap */
p { margin: 0 0 1em }
strong { font-weight: 700 }
em { font-style: italic }
pre{
  margin: 20px 0;
  background: #eee;
  border: 1px solid #ddd;
  padding: 10px;
  white-space: pre-wrap;  /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla */
  white-space: -pre-wrap;  /* Opera 4-6 */
  white-space: -o-pre-wrap;  /* Opera 7 */
  word-wrap: break-word;  /* Internet Explorer 5.5+ */
}

.clear { clear: both }


/* OVERALL */
body {
  background: url(../images/background.jpg) no-repeat center top;
  color: #404040;
}

.container {
  margin: 10px auto;
  width: 960px;
  padding: 0 10px;
}
#header {
  position: relative;
  width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}
#footer {
  clear: both;
  overflow: hidden;
  margin: 15px auto 0;
  color: #777;
}

/* hgroup */
h1,
h2,
h3,
h4,
h5,
h6 {line-height: 1.2em; margin-bottom: 15px;}
h1 {font-size: 1.6em; color: #000;}
h2 {font-size: 1.4em; color: #000;}
h3 {font-size: 1.2em; color: #333;}
h4 {font-size: 1.2em; color: #333;}
h5 {font-size: 1em; color: #555;}
h6 {font-size: 1em; color: #555;}




ul, ol {
  margin: 0 0 1.5em 2em;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
  margin-left: 1em;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 1.5em 1.5em;
}

dfn, cite, i {
  font-style: italic;
}
address {
  margin: 0 0 1.5em;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
mark, ins {
  background: #fff9c0;
  text-decoration: none;
}
sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  bottom: 1ex;
}
sub {
  top: .5ex;
}
small {
  font-size: 75%;
}
big {
  font-size: 125%;
}
figure {
  margin: 0;
}


/* .header */
.header-top {
  margin-top: 20px;
  margin-bottom: 10px;
  overflow: hidden;
}

#header #logo h1{font-size: 48px; text-transform: uppercase; margin: 10px 0 0 0;}
#header #logo a {color: #000;}
#header .site-slogan {margin: 0; color: #777;}


#header #logo {
  float: left;
}
#header .region-header {
  float: right;
  margin-top: 10px;
}


#preface-wrapper {
  width:99%;
  margin:5px auto 0;
}

#preface-wrapper .column {
  float: left;
}

#preface-wrapper.in1 .column {
  width: 100%;
}

#preface-wrapper.in2 .column {
  width: 50%;
}

#preface-wrapper.in3 .column {
  width: 33.3%;
}

#preface-wrapper .block {
  margin: 0 15px 25px;;
}

#preface-wrapper .block-title {
  margin-top:15px;
}

#preface-wrapper .region {
  margin:15px 0;
}

.region-footer .block, 
.region-content-top .block{
  margin: 0px 0px 25px 0px;
}

#content {
  margin: 30px 20px;
}

body.sidebar-first #content {
  float:left;
  width:640px;
  margin: 30px 0;
}

.node-teaser {
  /*margin-bottom: 30px; 
  overflow: hidden;*/
  clear: both;
}

.node-teaser .teaser-date {
  float: left; 
  margin-right: 10px; 
  background: #000; 
  color: #ddd; 
  width: 45px; 
  padding: 18px; 
  line-height: 1em; 
  font-size: 1.2em; 
  text-align: center; 
  text-transform: uppercase;
  border-radius: 100px 100px 100px 100px;
}

.node-teaser .teaser-date span {color: #fff; font-size: 1.4em;}

.node-teaser .node-teaser-title {
  margin-bottom: 10px;
  overflow: hidden;
}


/* panels */
.panel-2col-stacked .panel-col-first .inside {
  margin-right: 10px;
}
.panel-2col-stacked .panel-col-last .inside {
  margin-left: 10px;
}



#sidebar {
  float: right; 
  width: 300px; 
  margin: 30px 0; 
}

#bottom-teaser {
  width:99%;
  margin: 15px auto 0;
}

#bottom-teaser .column {
  float: left;
}

#bottom-teaser.in1 .column {
  width: 95%;
}

#bottom-teaser.in2 .column {
  width: 50%;
}

#bottom-teaser.in3 .column {
  width: 33.3%;
}

#bottom-teaser .block {
  margin: 0 15px 20px;
}

#bottom-teaser .region {
  margin:15px 0;
}

/* .copyright */
#copyright {
  padding: 10px 20px;
  font-size: 0.9em;
  overflow: hidden;
  margin: 0 auto;
}
#copyright small {
  font-size: 11px;
  line-height: 21px;
}

/* flexslider */

.flexslider .views-field-title {
  position: absolute;
  bottom: 35px;
  right: -4px;
  max-width: 80%;
  background: #fff;
  background: rgba(255,255,255, 0.8);
  font-size: 22px;
  font-weight: bold;
  line-height: 28px;
  padding: 6px 12px;
  border: 1px solid #eee;
  border-right: 0 none; 
}

#sidebar .flexslider {
  margin: 0;
  border: 0 none;
}
#sidebar .flexslider .views-field-title {
  right: 0;
  font-size: 18px;
  line-height: 24px;
}
#sidebar .flexslider .views-field-field-claim {
  padding: 3px 5px;
  text-align: right;
  font-size:20px;
}
#sidebar .flex-control-nav {
  display: none;
}




/* -------------- Form Elements  ------------- */

.filter-wrapper { top: 0; padding: 1em 0 0.2em;
-khtml-border-radius-topright: 0; -khtml-border-radius-topleft: 0; -moz-border-radius-topright: 0; -moz-border-radius-topleft: 0;
-webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 0; border-top-left-radius: 0; border-top-right-radius: 0; }

.filter-help a { font-size: 0.857em; padding: 2px 20px 0; }

.filter-wrapper .form-item label { margin-right: 10px; }

.filter-wrapper .form-item { padding: 0 0 0.5em 0.5em; }

.filter-guidelines { padding: 0 1.5em 0 0.5em; }


/* Contact Form */

.contact-form #edit-name { width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.contact-form #edit-mail { width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.contact-form #edit-subject { width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.contact-form #edit-message { width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-top-left-radius: 4px; -khtml-border-top-right-radius: 4px; -moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px;
border-top-left-radius: 4px; border-top-right-radius: 4px; }

.contact-form .resizable-textarea .grippie {  width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
-khtml-border-bottom-left-radius: 4px; -khtml-border-bottom-right-radius: 4px; -moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }

/* Comment form */

.comment-form label { float: left; font-size: 0.929em; }

.comment-form input, .comment-form .form-select { margin: 0; 
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.comment-form .form-type-textarea label { float: none; }

.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select { margin-bottom: 10px; overflow: hidden; }

.comment-form .form-type-checkbox,
.comment-form .form-radios { margin-left: 120px; }

.comment-form .form-type-checkbox label,
.comment-form .form-radios label { float: none; margin-top: 0; }

.comment-form input.form-file { width: auto; }

.comment-form .form-text { display: block; margin: 0; width: 100%;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.comment-form .form-item .description { font-size: 0.786em; line-height: 1.2; margin-left: 120px; }

#content h2.comment-form { margin-bottom: 0.5em; }

.comment-form .form-textarea { -khtml-border-radius-topleft: 4px; -khtml-border-radius-topright: 4px;
-moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px;
-webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px;
border-top-left-radius: 4px; border-top-right-radius: 4px; }

.comment-form fieldset.filter-wrapper .fieldset-wrapper,
.comment-form .text-format-wrapper .form-item { margin-top: 0; margin-bottom: 0; }

.filter-wrapper label { width: auto; float: none; }

.filter-wrapper .form-select { min-width: 120px; }

.comment-form fieldset.filter-wrapper .tips { font-size: 0.786em; }

#comment-body-add-more-wrapper .form-type-textarea label { margin-bottom: 0.4em; }

/* Other Overrides */

div.password-suggestions { border: 0; }

.ui-widget-overlay { background: #222222; opacity: 0.7; }

div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane { padding: 1em; }

#forum .name { font-size: 1.083em; }

#forum .description { font-size: 1em; }


ol.search-results { padding-left: 0; }

.search-results li { border-bottom: 1px solid #d3d7d9; padding-bottom: 0.4285em; margin-bottom: 0.5em; }

.search-results li:last-child { border-bottom: none; padding-bottom: none; margin-bottom: 1em; }

.search-results .search-snippet-info { padding-left: 0; }

.submitted {
  background: #eee;
  padding: 4px 9px;
  border-radius: 4px;
  color: #383838;
  text-shadow: 1px 1px #fff;
  clear: both;
  display: block;
  margin-bottom: 2px;
}

.links li a {
  background-color: #E7E5E3;
  color: #100100;
  padding: 4px 5px;
  border-radius: 4px;
  text-shadow: 1px 1px #fff;
  font-weight: normal;
}

.links li a:hover {
  background-color: #D7D5D3;
  color: #100101;
}



.ui-accordion .ui-accordion-header .ui-icon {
  left: 0;
  height: 18px;
  width: 18px;
  margin-top: -11px;
}
.ui-accordion .ui-accordion-content {
  font-size: 14px;
  line-height: 1.5em;
}

.views_tree_link {
  width: 24px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 2px;
}
.views_tree_link a,
.ui-accordion .ui-icon-triangle-1-e,
.ui-accordion .ui-icon-triangle-1-s {
  background: url(../images/plus_minus.png) no-repeat 0 0;
}

.logged-in .views_tree_link a,
.logged-in .ui-accordion .ui-icon-triangle-1-e,
.logged-in .ui-accordion .ui-icon-triangle-1-s {
  background-image: url(../images/plus_minus_pro.png);
}

.ui-accordion .ui-icon-triangle-1-s,
.views_tree_link_expanded a {
  background-position: 0 -18px;
}


/*-------------------------------------------*
/* Fix CKEditor style
/*-------------------------------------------*/
#content table.cke_editor {
  background: transparent;
  border: 0;
}
#content table.cke_editor td {
  background: transparent;
  padding: 0;
  border: 0;
}

/*-------------------------------------------*
/* Poll, Buttons, Form
/*-------------------------------------------*/
.poll .vote-form .choices .title {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 6px;
}

.poll .vote-form .choices {
  margin: 0;
}

.form-item label {
  font-size: 13px;
  font-weight: bold;
}

/*-------------------------------------------*
/* Menus and item lists 
/*-------------------------------------------*/
.item-list ul {
  margin: 0;
  padding: 0 0 0 1.5385em;
}

.item-list ul li {
  margin: 0;
  padding: 0;
}

ul.menu li {
  margin: 0;
  padding: 0;
}

ul.inline {
  clear: both;
}

ul.inline li {
  margin: 0;
  padding: 0;
}


/*-------------------------------------------*
/* Beauty Tips
/*-------------------------------------------*/
.bt-wrapper ul {
  padding: 0;
  margin: 0;
  list-style: none outside none;
}
.bt-wrapper li {
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 5px;
  list-style: none outside none;
}
.bt-wrapper li:last-child {
  border-bottom: 0 none;
  margin-bottom: 0;
  padding-bottom: 0;
}


/*-------------------------------------------*
/* Tabs and Tags
/*-------------------------------------------*/
.field-name-field-tags {
  margin: 0 0 10px 0;
}

.field-name-field-tags a {
    background: none repeat scroll 0 0 #E9E9E9;
    border-color: #CACACA #CACACA #CACACA #0761A7;
    border-style: solid;
    border-width: 1px 1px 1px 3px;
    color: #615F5F;
    padding: 2px 10px;
}
.field-name-field-tags a:hover {
    opacity: 1;
}

.field-name-field-tags .field-item {
  margin: 0 1em 0 0;
}

.field-name-field-tags div {
  display: inline;
}

#main .field-label{
  color: #000;
}

#main .field-items .field-item{
}

/*-------------------------------------------*
/* Profile
/*-------------------------------------------*/
.profile {
  margin: 1.5385em 0;
}

.profile dd {
  margin-bottom: 1.5385em;
}

.profile h3 {
  border: none;
}

.profile dt {
  margin-bottom: 0;
}

.password-parent {
  width: 36em;
}

/* Comments */

.comment h2.title { margin-bottom: 1em; }

.comment div.user-picture img { margin-left: 0; }

.comment { margin-bottom: 20px; display: table; vertical-align: top; }

.comment .attribution { display: table-cell; padding: 0 35px 0 0; vertical-align: top; overflow: hidden; }

.comment .attribution img { margin: 0; border: 1px solid #d3d7d9; }

.comment .attribution .username { white-space: nowrap; }

.comment .comment-submitted p { margin: 4px 0; font-size: 1.071em; line-height: 1.2; }

.comment .comment-submitted .comment-time { font-size: 0.786em; }

.comment .comment-submitted .comment-permalink { font-size: 0.786em; text-transform: lowercase; }

.comment .content { font-size: 0.929em; line-height: 1.6; }

.comment .comment-arrow { background: url(../images/comment-arrow.gif) no-repeat 0 center transparent;
border-left: 1px solid; border-right: 1px solid; height: 40px; margin-left: -36px; margin-top: 15px; position: absolute; width: 20px; }

.comment .comment-text { padding: 0 25px 10px 35px; display: table-cell; vertical-align: top; position: relative; width: 100%; border-left: 1px solid #d3d7d9; }

.comment .indented { margin-left: 40px; }

.comment-unpublished { margin-right: 5px; padding: 5px 2px 5px 5px; }

.comment .comment-text .comment-arrow { border-left: 1px solid #ffffff; border-right: 1px solid #ffffff; }

/*-------------------------------------------*
/* Navigation
/*-------------------------------------------*/
.item-list .pager {
  text-align: right;
}
.item-list .pager li {
  padding: 0;
}
.item-list .pager li.first {
  
}
.item-list .pager li.pager-current {
  margin-right: 0.5em;
}
.item-list .pager li.pager-ellipsis {
  
}
.item-list .pager li a {
  padding: 0 .5em;
  margin: 0 0.25em 0 0;
  display: inline-block;
}
.item-list .pager li.first a {
  
}
.item-list .pager li.pager-first,
.item-list .pager li.pager-last {
  display: none;
}


@media only screen and (max-width: 980px) {
  
  img {
    max-width: 100%;
    height: auto;
  }
  .panel-2col-stacked .panel-col-first,
  .panel-2col-stacked .panel-col-last {
    float: none;
    width: 100%;
  }
  .panel-2col-stacked .panel-col-first .inside,
  .panel-2col-stacked .panel-col-last .inside {
    margin: 0 0 24px;
  }
  
}


@media only screen and (min-width: 681px) and (max-width: 980px) {
  
  #header,
  .container {
    width: 90%;
  }
  #content,
  body.sidebar-first #content {
    width: 60%;
    margin: 20px 0;
  }
  #sidebar {
    width: 35%;
    margin: 30px 0;
  }
  
}

@media only screen and (max-width: 680px) {
  
  #header,
  .container {
    width: 400px;
  }
  #content,
  body.sidebar-first #content {
    width: 100%;
    margin: 20px 0;
  }
  #sidebar {
    clear: both;
    margin: 0 0 30px;
    width: 100%;
    float: none;
  }
 
  .header-top {
    text-align: center;
    overflow: visible;
  }
  #header #logo,
  #header .region-header {
    float: none;
    margin-top: 0;
  }
  
  #search-block-form input.form-submit {
    height: 28px;
    width: 40px;
    background-image: url(../images/search_small.png);
  }
  
  #search-block-form .form-text {
    height: 18px;
    width: 200px;
  }
  
  
  
  #preface-wrapper.in3 .column, #preface-wrapper.in2 .column, #preface-wrapper.in1 .column {
    clear: both; width: 400px;
  }
  #bottom-teaser.in3 .column, #bottom-teaser.in2.column, #bottom-teaser.in1 .column  {
    clear: both; width: 400px;
  }
  #header #logo h1{ text-align: center; }
  #header .site-slogan { text-align: center; }
  
}


@media only screen and (max-width: 420px) {
  #header,
  .container,
  #footer {
    width: auto;
    min-width: 300px;
  }
}
