@CHARSET "UTF-8";

/* External resources */
@import url(http://fonts.googleapis.com/css?family=Oxygen|Kalam);

html {
  width: 100%;
}

/** Default styles */
body {
  font-family: Oxygen, Arial, Helvetica, sans-serif;
  font-size: 11pt;
  padding: 0;
  margin: 0;
  background: #fff;
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

a img {
  border: none;
}

div.clearfix {
  clear: both;
}

/* Wrapper */

.wrapper {
  width: 975px;
  margin: 0 auto;
}

/* Header */

.header {
  border-top: 4px solid #300e12;
  color: #fff;
  height: 160px;
  background: #990000;
  background: -moz-linear-gradient(top,  #990000 0%, #b91000 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#990000), color-stop(100%,#b91000));
  background: -webkit-linear-gradient(top,  #990000 0%,#b91000 100%);
  background: -o-linear-gradient(top,  #990000 0%,#b91000 100%);
  background: -ms-linear-gradient(top,  #990000 0%,#b91000 100%);
  background: linear-gradient(to bottom,  #990000 0%,#b91000 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#990000', endColorstr='#b91000',GradientType=0 );
  font-size: 11pt;
}

.header .wrapper {
  position: relative;
  height: 160px;
}

.header .logo {
  position: absolute;
  top: 20px;
  left: 0;
}

.header .header-links {
  position: absolute;
  top: 7px;
  right: 0;
}

.header .header-links a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  border-left: 1px solid #fff;
  padding: 2px 10px;  
}

.header .header-links a:first-child {
  border-left: none;
}

.header .header-links a:hover {
  text-decoration: underline;
}

.header h2.phone {
  font-weight: normal;
  font-size: 16pt;
  position: absolute;
  right: 0;
  top: 50px;
}

.header .widgets {
  position: absolute;
  top: 105px;
  right: 0;
  display: table;
}

.header .widgets span, .header .widgets a {
  display: table-cell;
  vertical-align: middle;
  padding-left: 5px;
}

.header .widgets span.font-btn {
  cursor: pointer;
  vertical-align: bottom;
  padding-bottom: 5px;
  padding-right: 2px;
  transition: color 0.3s;
  -o-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

.header .widgets span.font-btn:hover, .header .widgets span.font-btn.selected-font {
  color: #440a14;
}

span.font-btn[data-size="11"] {
  font-size: 11pt;
}

span.font-btn[data-size="13"] {
  font-size: 13pt;
}

span.font-btn[data-size="15"] {
  font-size: 15pt;
}

.widgets a img {
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

.widgets a:hover img {
  opacity: 0.8;
}

div.admin-button {
  position: absolute;
  top: 35px; 
  right: 8px;
}

div.admin-button a {
  color: #fff;
  text-decoration: none;
}

div.admin-button a:hover {
  text-decoration: underline;
}

.header div.font-size {
  
}

.header div.font-size span.font-btn {
  
}

/* Menu bar */

#menu-btn {
  
}

.navbar {
  background: #440a14;
  position: relative;
  z-index: 10;
  font-size: 11pt;
}

.navbar ul {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: table;  
}

.navbar li {
  display: table-cell;
  text-align: center;
  position: relative;
}

.navbar ul li a {
  padding: 10px;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  -o-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
  display: inline-block;
}

.navbar ul li.has-dropdown a:after {
  content: '';
  display: inline-block;
  margin-left: 5px;
  width: 0;
  height: 0;
  border-top: 6px solid #fff;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-bottom: none;
  transition: border 0.3s;
  -o-transition: border 0.3s;
  -ms-transition: border 0.3s;
  -moz-transition: border 0.3s;
  -webkit-transition: border 0.3s;
}

.navbar ul li.has-dropdown:hover a:after {
  border-top: 6px solid #ffc2a3;
}

.navbar ul li a:hover, .selectedanchor, .navbar ul li a.current {
  color: #ffc2a3;
}

.css-menu-panel {
  transform: scaleY(0);
  -o-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -moz-transform: scaleY(0);
  -webkit-transform: scaleY(0);
  transform-origin: top center;
  -o-transform-origin: top center;
  -ms-transform-origin: top center;
  -moz-transform-origin: top center;
  -webkit-transform-origin: top center;
  transition: transform 0.3s;
  -o-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
  background: #990000;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
}

.navbar ul li.has-dropdown:hover .css-menu-panel {
  transform: scaleY(1);
  -o-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -moz-transform: scaleY(1);
  -webkit-transform: scaleY(1);
}

.navbar ul li .css-menu-panel a {
  border-top: 1px solid #ffc2a3;
  transition: background 0.3s, color 0.3s;
  -o-transition: background 0.3s, color 0.3s;
  -ms-transition: background 0.3s, color 0.3s;
  -moz-transition: background 0.3s, color 0.3s;
  -webkit-transition: background 0.3s, color 0.3s;
  display: block;
  padding: 10px 15px;
  text-align: left;
}

.navbar ul li .css-menu-panel a:after {
  display: none;
}

.navbar ul li .css-menu-panel a:first-child {
  border-top: none;
}

.navbar ul li .css-menu-panel a:hover {
  background: #440a14;
}

/* Banner */

.banner {
  background: #ffc2a3;
  background: -moz-linear-gradient(top,  #ffc2a3 0%, #ffcbaf 13%, #ffdcc7 45%, #ffe7d6 75%, #ffebdb 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffc2a3), color-stop(13%,#ffcbaf), color-stop(45%,#ffdcc7), color-stop(75%,#ffe7d6), color-stop(100%,#ffebdb));
  background: -webkit-linear-gradient(top,  #ffc2a3 0%,#ffcbaf 13%,#ffdcc7 45%,#ffe7d6 75%,#ffebdb 100%);
  background: -o-linear-gradient(top,  #ffc2a3 0%,#ffcbaf 13%,#ffdcc7 45%,#ffe7d6 75%,#ffebdb 100%);
  background: -ms-linear-gradient(top,  #ffc2a3 0%,#ffcbaf 13%,#ffdcc7 45%,#ffe7d6 75%,#ffebdb 100%);
  background: linear-gradient(to bottom,  #ffc2a3 0%,#ffcbaf 13%,#ffdcc7 45%,#ffe7d6 75%,#ffebdb 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc2a3', endColorstr='#ffebdb',GradientType=0 );
  height: 350px;
}

.banner .wrapper {
  height: 350px;
  position: relative;
  background: url(img/banner.png) center bottom no-repeat;
}

.banner .text {
  position: absolute;
  right: 0;
  width: 417px;
  top: 100px;
  text-align: center;
}

.banner h1 {
  font-family: kalam, times, serif;
  font-weight: normal;
  font-size: 19pt;
  margin: 0 0 10px 0;
  color: #900;  
}

.banner h2 {
  color: #440a14;
  font-size: 14pt;
  margin: 0;
  font-weight: normal;
}

.banner p {
  margin: 0 20px 20px;
  font-size: 11pt;
  color: #303030;
}

.banner .buttonbox {
  
}

.button {
  text-align: center;
  background: #900;
  color: #fff !important;
  display: inline-block;
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 4px;
  transition: background 0.3s;
  -o-transition: background 0.3s;
  -ms-transition: background 0.3s;
  -moz-transition: background 0.3s;
  -webkit-transition: background 0.3s;
  text-decoration: none !important;
}

.button:hover {
  background-color: #440a14 !important;
  color: #fff !important;
}

.banner .buttonbox .button {
  padding: 8px 5px 8px 40px;  
}

.banner .person {
  background: #900 url(img/person.png) 5px center no-repeat;
}

.banner .donate {
  background: #900 url(img/pound.png) 5px center no-repeat;
}

.banner-sep {
  height: 25px;
  background: #dbdbdb;
  background: -moz-linear-gradient(top,  #dbdbdb 0%, #ffffff 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dbdbdb), color-stop(100%,#ffffff));
  background: -webkit-linear-gradient(top,  #dbdbdb 0%,#ffffff 100%);
  background: -o-linear-gradient(top,  #dbdbdb 0%,#ffffff 100%);
  background: -ms-linear-gradient(top,  #dbdbdb 0%,#ffffff 100%);
  background: linear-gradient(to bottom,  #dbdbdb 0%,#ffffff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dbdbdb', endColorstr='#ffffff',GradientType=0 );
}

/* Main */

div.main {
  
}

/* Side bar */

div.sidebar {
  float: right;
  width: 270px;;
}

div.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

div.sidebar>ul>li>h3:first-child {
  display:none;
}

div.sidebar ul li {
  
}

div.sidebar ul li a {
  display: block;
}

/* Content */

.content {
  float: left;
  width: 670px;
}

.content script+link+h1 {
  display:none;
}

.content>*:first-child,div.gallery-header>*:first-child {
  margin-top: 0;
}

.content td>*:first-child {
  margin-top: 0;
}

.content td>*:last-child {
  margin-bottom: 0;
}

.content h1,.content h2,.content h3,.content h4,.content h5,.content h6 {
  color: #900;
  font-weight: normal; 
}

.content h1:before {
  content: url(img/heading.png);
  display: inline-block;
  margin: 0 5px 0 0;
  vertical-align: bottom;
}

.content hr {
  height: 0;
  border: none;
  border-top: 1px solid #d6d6d6;
}

.content a, .sidebar a {
  color: #900;
  text-decoration: underline;
  transition: color 0.3s, background 0.3s;
  -o-transition: color 0.3s, background 0.3s;
  -ms-transition: color 0.3s, background 0.3s;
  -moz-transition: color 0.3s, background 0.3s;
  -webkit-transition: color 0.3s, background 0.3s;
}

.content a:hover, .sidebar a:hover {
  color: #440a14;
}

.content p.subhead {
  font-size: 1.4em;
  font-family: Kamal, times, serif;  
}

/** Footer */

div.footer {
  background: #900;
  padding: 10px 0;
  font-size: 9pt;
  color: #fff;
}

div.footer a, .bottom a {
  color: #fff;
  text-decoration: none;
}

div.footer a:hover, .bottom a:hover {
  text-decoration: underline;
}

div.footer .wrapper {
  background: url(img/logo-footer.png) center right no-repeat;
}

div.footer a img {
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

div.footer a:hover img {
  opacity: 0.8;
}

div.bottom {
  background: #440a14;
  color: #fff;
  padding: 10px;
  font-size: 9pt;
}

div.bottom .right {
  text-align: right;
}

/** gallery styles */

div.slideshow#image-gallery {
  
}

div#image-gallery a.slides-next, div#image-gallery a.slides-prev {
  background:#333;
  background: rgba(51,51,51,0.6);
  text-decoration: none;
  transition:padding 0.2s, background 0.2s;
  -o-transition:padding 0.2s, background 0.2s;
  -ms-transition:padding 0.2s, background 0.2s;
  -moz-transition:padding 0.2s, background 0.2s;
  -webkit-transition:padding 0.2s, background 0.2s;
  padding:0 5px;
}

div#image-gallery a.slides-next:hover, div#image-gallery a.slides-prev:hover {
  background: #333;
  padding:0 10px;
}

div#image-gallery * {
	padding:0;
	list-style:0;
}

div#image-gallery *:after, div#image-gallery *:before {
	display:none;
}

/*******************************************************************************
 ** Utility: 3-col responsive grid */

.col1,.col2,.col3 {
  padding: 4px 0;
  margin: 0;
}

.col1 {
  width: 24%;
  padding-left: 1%;
  float: left;
}

.col1.gapless {
  width: 25%;
  padding-left: 0;
}

.col2 {
  width: 49%;
  padding-left: 1%;
  float: left;
}

.col2.gapless {
  width: 50%;
  padding-left: 0;
}

.col3 {
  width: 74%;
  padding-left: 1%;
  float: left;
}

.col3.gapless {
  width: 75%;
  padding-left: 0;
}


.col4 {
  width: 100%;
  padding-left: 0;
}

.colthumb {
  float: left;  
  width: 160px;
}

.colall {
  float: left;
  padding-left: 1%;
  width: calc(99% - 160px);
}

.col1:first-child, .col2:first-child {
  padding-left: 0;
}

/** Clears */

.clear:before,
.clear:after {
  display: table;
  content: ' ';
  clear: both;
}

/** Remove background in editor */

body.content {
  float: none;
  border-right: 1px solid #ddd;
  background: #fff;
}

/** Responsive 2, 3 and 4 column tables */

.content table.responsive3, .content table.responsive2, .content table.responsive4, .content table.responsive3 tbody, .content table.responsive2 tbody, .content table.responsive4 tbody {
  border: 0;
  border-spacing: 0;
  width: 100% !important;  
}

.content table.responsive3 td {
  width: 32%;
  padding-left: 2%;
  border: 0;
  vertical-align: top;
}

.content table.responsive3 td:first-child {
  padding-left: 0;
}

.content table.responsive2 td {
  width: 48%;
  padding-left: 4%;
  border: 0;
  vertical-align: top;
}

.content table.responsive2 td:first-child {
  padding-left: 0;
}

.content table.responsive4 td {
  width: 24%;
  padding-left: 1.33333%;
  border: 0;
  vertical-align: top; 
}

.content table.responsive4 td:first-child {
  padding-left: 0;
}

/** Additional styles - delete/uncomment as needed */

/** coloured bullets 

.content ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 40px;
}

.content ul li {
  position: relative;
  text-align: left;
}

.content ul li:before {
  content: '';
  position: absolute;
  left: -20px;
  top: 6px;
  top: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 15px;
  background: #006837;
}
*/

/** Email form presentation 

.email-form-controls {
  margin-top: 10px;
  background: #e2e2e2;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
}

.email-form-controls .formandu-text,.email-form-controls .formandu-dropdown {
  width: 80%;
  margin: 0 auto;
  border: 1px solid #888;
  font-size: 12pt;
  color: #888;
  padding: 6px !important;
}

.email-form-controls .formandu-container {
  text-align: center !important;  
  padding: 10px 0 0 0;
}

.email-form-controls .formandu-container button.formandu-button {
  font-size: 14pt;
  font-weight: bold;
  padding: 14px 50px;
}

*/

/** Blog presentation 

div.blog-post {
  padding: 0 0 10px 0;
  margin: 0 0 10px 0;
  border-bottom: 2px solid #006837;
}

a.permalink[href*="/blog/"] {
  position: relative;
  text-decoration: none;
  background: #262261;
  color: #fff;
  border-radius: 4px;
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

a.permalink[href*="/blog/"]:hover {
  opacity: 0.7;
}

a.permalink[href*="/blog/"]:nth-of-type(1) {
  float: right;
  padding: 8px 25px 8px 8px;
}

a.permalink[href*="/blog/"]:nth-of-type(2), a.permalink[href*="/blog/"]:only-of-type {
  float: left;
  padding: 8px 8px 8px 25px;
}

a.permalink[href*="/blog/"]:nth-of-type(1):after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 0;
  top: 40%;
  top: calc(50% - 5px);
  right: 10px;
  padding: 0;
  position: absolute;
}

a.permalink[href*="/blog/"]:nth-of-type(2):after, a.permalink[href*="/blog/"]:only-of-type:after {
  border-right: 6px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 0;
  right: auto;
  left: 10px;
  content: '';
  width: 0;
  height: 0;
  top: 40%;
  top: calc(50% - 5px);
  right: 10px;
  padding: 0;
  position: absolute;
}

.blog-date {
  font-size: 9pt;
  margin-top: -0.5em;
  margin-bottom: 0.5em;
}

*/

/** Responsive views */

/** Desktop only (need to set width to page width + 1) */

@media (min-width: 976px) {
  .only-desktop {
    display: auto !important;
  }
  .not-desktop {
    display: none !important;
  }
  .tablet {
    display: none !important;
  }
}

/** Too small for desktop (tablet) - set width to page width */
@media (max-width: 975px) {
  .wrapper {
    width: 100%;
  }
  .not-desktop {
    display: auto !important;
  }
  .only-desktop {
    display: none !important;
  }
  .col1 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col2 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col3 {
    width: 100%;
    padding-left: 0;
    float: none;
    text-align: center;
  }
  .col1.right, .col2.right, .col1.right+.col1 {
    text-align: center;
  }
  .content {
    float: none;
    width: auto;
  }
  div.sidebar {
    float: none;
    width: auto;
  }
  div.footer .wrapper {
    padding: 10px 0 60px;
    background-position: center bottom !important;
  }
  .bottom .col2.right {
    text-align: center;
  }
  .navbar {
    display: none;
  }
  .header .wrapper {
    text-align: center;
    position: absolute;
  }
  .header .logo {
    position: static;
    top: auto;
    left: auto;
  }
  .header .widgets span {
    display: none;
  }
  .header .widgets {
    bottom: 2px;
    right: 2px;
    top: auto;
  }
  .header #menu-btn {
    bottom: 2px;
    left: 2px;
    background: #440a14;
    color: #fff;
    display: inline-block;
    padding: 4px 7px 5px;
    position: absolute;
    cursor: pointer;
  }
  .header h2.phone {
    bottom: 6px;
    font-size: 1.2em;
    top: auto;
    left: 36px;
    right: auto;
    margin: 0;
  }
  .header h2.phone span {
    display: none;
  }
  div.admin-button {
    display: none;
  }
  .header .header-links {
    position: static;
    top: auto;
    right: auto;
  }
  .navbar {
    background: #900;
  }
  .navbar ul {
    display: block;
  }
  .navbar ul li {
    display: block;
  }
  .navbar ul li a {
    display: block;
  }
  .navbar a:hover, .navbar a.current {
    background: #440a14;
    color: #fff !important;
  }
  .navbar li.has-dropdown .css-menu-panel {
    transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    position: static;
    top: auto;
    left: auto;
    width: auto;
    text-align: center;
    display: none;
  }
  .navbar li.has-dropdown .css-menu-panel a {
    border: none;
    text-align: center;
    display: block;
  }
  .main {
    padding: 4px;
  }
}

@media (min-width: 789px) {
  .tablet {
    display: none !important;
  }
}

/** Phone */
@media (max-width: 788px) {
  .banner {
    height: auto;
  }
  .banner .wrapper {
    background-image: none;
    height: auto;
  }
  .banner .text {
    display: block;
    background: #fff;
    position: static;
    right: auto;
    left: auto;
    top: auto;
    width: auto;
    margin: 0;
    padding: 4px 0;
  }
  .banner .text h1 {
    display: none;
  }
  .banner .tablet {
    position: relative;
    display: block;
  }
  .banner .tablet h1 {
    position: absolute;
    top: 40%;
    right: 20px;
  }  
}

@media (max-width: 500px) {
  table.responsive3,table.responsive2,table.responsive4 {
    display: block;
  }  
  table.responsive4 td,table.responsive3 td,table.responsive2 td {
    padding: 5px 0 0 0;
    display: block;
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
  }
  .banner .tablet h1 {
    font-size: 1.2em;
  }
}
