@CHARSET "UTF-8";

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

/** Default styles */
body {
  font-family: Hind, Arial, Helvetica, sans-serif;
  font-size: 11pt;
  padding: 0;
  margin: 0;
  background: #d6d6d6;
  background: -moz-linear-gradient(top,  #d6d6d6 400px, #eaeaea 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d6d6d6), color-stop(100%,#eaeaea));
  background: -webkit-linear-gradient(top,  #d6d6d6 400px,#eaeaea 100%);
  background: -o-linear-gradient(top,  #d6d6d6 400px,#eaeaea 100%);
  background: -ms-linear-gradient(top,  #d6d6d6 400px,#eaeaea 100%);
  background: linear-gradient(to bottom,  #d6d6d6 400px,#eaeaea 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d6d6', endColorstr='#eaeaea',GradientType=0 );
  color: #303030;
}

div.bg {
  border-top: 8px solid #002045;
  height: 400px;
  width: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  background: #012f64;
  background: -moz-linear-gradient(left,  #012f64 0%, #0f56a8 50%, #012f64 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#012f64), color-stop(50%,#0f56a8), color-stop(100%,#012f64));
  background: -webkit-linear-gradient(left,  #012f64 0%,#0f56a8 50%,#012f64 100%);
  background: -o-linear-gradient(left,  #012f64 0%,#0f56a8 50%,#012f64 100%);
  background: -ms-linear-gradient(left,  #012f64 0%,#0f56a8 50%,#012f64 100%);
  background: linear-gradient(to right,  #012f64 0%,#0f56a8 50%,#012f64 100%);
}

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

a img {
  border: none;
}

div.clearfix {
  clear: both;
}

/* Wrapper */

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

/* Header */

.header {
  position: relative;
  z-index: 2;
  height: 100px;
  padding: 20px 0 0 0;
  font-size: 11pt;  
}

.header .wrapper {
  position: relative;
  color: #fff;
}

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

.header .right {
  position: absolute;
  top: 20px;
  right: 0;
  text-align: right;  
}

.right .phone {
  font-size: 12pt;
  text-transform: uppercase;
}

.right .widgets {
  margin-top: 10px;
  font-size: 9pt;
}

.right .widgets>div {
  display: inline-block;
  text-transform: uppercase;
}

.right .links a {
  color: #fff;
  text-decoration: none;
  border-left: 1px solid #002045;
  display: inline-block;
  padding: 0 10px;
  transition: color 0.3s;
  -o-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

.right .links a:first-child {
  border-left: 0;
}

.right .links a:hover {
  color: #1e7dee;
}

.right .font-size {
  padding: 0 0 0 10px;
}

.header div.font-size span.font-btn {
  cursor: pointer;
  transition: color 0.3s;
  -o-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -webkit-transition: color 0.3s;
}

span.font-btn:hover, span.font-btn.selected-font {
  color: #1e7dee;
}

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

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

span.font-btn[data-size="15"] {
  font-size: 14pt;
}
/* Menu bar */

#menu-btn {
  
}

.navbar {
  position: relative;
  z-index: 10000;
}

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

.navbar>ul>li {
  display: table-cell;
}

.navbar ul li a {
  cursor: pointer;
  border-top: 2px solid #003779;
  padding: 10px 0;
  font-family: Cinzel, times, "times new roman", serif;
  text-transform: uppercase;
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background: #1e7dee;
  background-image: -moz-linear-gradient(top,  #003779 0%, #003779 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#003779), color-stop(100%,#003779));
  background-image: -webkit-linear-gradient(top,  #003779 0%,#003779 100%);
  background-image: -o-linear-gradient(top,  #003779 0%,#003779 100%);
  background-image: -ms-linear-gradient(top,  #003779 0%,#0f56a8 100%);
  background-image: linear-gradient(to bottom,  #003779 0%,#003779 100%);
  background-repeat: repeat-x;
  background-position: 0 -50px;
  transition: background 0.3s;
  -o-transition: background 0.3s;
  -ms-transition: background 0.3s;
  -moz-transition: background 0.3s;
  -webkit-transition: background 0.3s;
}

.navbar ul li:hover a, .selectedanchor, .navbar ul li a.current {
  background-position: 0 0;
}

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

.navbar li.has-dropdown {
  position: relative;
}

.navbar 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);
  transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -ms-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;

}

.navbar .css-menu-panel a {
  background: #fff;
  color: #003779;
  padding: 10px;
  transition: color 0.3s, background 0.3s;
  display: block;
  border: none;
}

.navbar .css-menu-panel a:hover {
  background: #1e7dee;
  color: #fff;
}

/* Banner */

.banner {
  background: #fff;
  font-size: 11pt;
}

.banner li.slide {
  position:relative;
}

.banner li.slide:after {
  position: absolute;
  content: url(img/slide-overlay.png);
  bottom: -10px;
  left: 0;
}

.banner a.slides-next, .banner a.slides-prev {
  font-size: 0;
  height: 38px;
  width: 38px;
  transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
}

.banner a.slides-next:hover, .banner a.slides-prev:hover {
  opacity: 0.8;
  background-color: transparent;
}

.banner a.slides-next {
  background: transparent url(img/slide-right.png);
  top: 290px;
  right: 40px;
}

.banner a.slides-prev {
  background: transparent url(img/slide-left.png);
  top: 290px;
  left: 40px;
}

.tag {
  background: #fff;
  padding: 10px 0;
  text-align: center;
  margin-top: -15px;
  font-size: 11pt;
}

.tag h2 {
  color: #003366;
  font-family: cinzel, times, "times new roman", serif;
  text-transform: uppercase;
  font-weight: normal;
  margin: 0 0 10px;
}

.tag p {
  color: #666;
  width: 90%;
  margin: 0 auto 10px;
}

hr {
  border: 0;
  border-top: 1px solid #c6c6c6;
  border-bottom: 1px solid #c6c6c6;
  height: 3px;
  width: 90%;
  margin: 0 auto;
}

/* Main */

div.main {

}

/* Content */

.content {
  background: #fff;
  padding: 10px 20px;
  width: 935px;
  line-height: 150%;
  text-align: justify;
}

.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: #003366;
  font-weight: normal;
}

.content h1:before, .content h2.title:before {
  content: url(img/heading-twiddle.png);
  margin-right: 8px;
}

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

.content a:hover {
  color: #1e7dee;
}

/** Footer */

div.footer {
  background: #003366;
  border-bottom: 5px solid #002045;
  color: #fff;
  padding: 10px 0;
}

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

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

.footer .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: 1001px) {
  .only-desktop {
    display: auto !important;
  }
  .not-desktop {
    display: none !important;
  }
}

/** Too small for desktop (tablet) - set width to page width */
@media (max-width: 1000px) {
  .not-desktop {
    display: auto !important;
  }
  .only-desktop {
    display: none !important;
  }
}

/** Phone */
@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;
  }
  .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;
  }
}