/*   
Theme Name: WE Cork
Theme URI: http://www.wecork.com
Description: Theme for WE Cork
Author: Dan Mensinger
Author URI: http://www.mpresscreative.com
Version: 1.0
.
Copyright mPress Creative 2015
.
*/
body {
  font-family: "Raleway", Arial, Sans-Serif;
  color: #333;
  background: #fff url(images/bg1.jpg) repeat center center;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 24px;
}

iframe, object, embed {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #008383;
}

a:hover {
  color: #00a6a6;
}

a {
  border: 0px;
  opacity: 1;
  filter: alpha(opacity=100);
  transition: opacity .20s ease-in-out;
  -moz-transition: opacity .20s ease-in-out;
  -webkit-transition: opacity .20s ease-in-out;
}

a:hover {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

img.expand {
  -webkit-transform: scale(0.95, 0.95);
  -webkit-transition-timing-function: ease-out;
  -webkit-transition-duration: 150ms;
  -moz-transform: scale(0.95, 0.95);
  -moz-transition-timing-function: ease-out;
  -moz-transition-duration: 150ms;
  transform: scale(0.95, 0.95);
  transition-timing-function: ease-out;
  transition-duration: 150ms;
}

img.expand:hover {
  -webkit-transform: scale(1, 1);
  -webkit-transition-timing-function: ease-out;
  -webkit-transition-duration: 150ms;
  -moz-transform: scale(1, 1);
  -moz-transition-timing-function: ease-out;
  -moz-transition-duration: 150ms;
  transform: scale(1, 1);
  transition-timing-function: ease-out;
  transition-duration: 150ms;
  position: relative;
  z-index: 99;
  opacity: 1;
  filter: alpha(opacity=100);
}

img.main {
  background-color: #efefef;
  max-width: 96%;
  padding: 2%;
  height: auto;
}

#content img.main {
  background-color: #efefef;
  max-width: 96%;
  padding: 2%;
  height: auto;
}

h1, h2, h3, h4, h5 {
  margin: 0px 0px 15px 0px;
  padding: 0px;
}

h1 {
  font-size: 32px;
  line-height: 42px;
  font-weight: 300;
}

h2 {
  font-size: 28px;
  line-height: 38px;
  font-weight: 400;
}

h3 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
}

h4 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}

h5 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 800;
  color: #db0000;
}

h1.pagetitle {
  color: #db0000;
}

h3.widget-title {
  font-weight: 400;
  color: #555;
}

p {
  margin: 0px 0px 15px 0px;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  height: 0;
  background: #ccc;
  margin: 20px 0px;
}

.wrapper {
  width: 1080px;
  margin: 0px auto;
  padding: 0px 0px;
}

#header-mobile {
  display: none;
}

#header {
  margin: 0px auto;
  width: 100%;
  height: auto;
  min-width: 1080px;
  background: url(images/fade-top-white.png) repeat-x;
  display: block;
}
#header .logo {
  display: block;
  margin-top: 35px;
}
#header .logo img {
  max-width: 300px;
  height: auto;
}
#header .phone {
  color: #db0000;
  font-size: 26px;
  font-weight: 800;
  text-align: right;
  display: block;
  float: right;
  margin-left: 25px;
}
#header .tagline {
  color: #008383;
  font-size: 20px;
  font-weight: 300;
  text-align: right;
  display: block;
  float: right;
}

#page {
  width: 100%;
  min-width: 1080px;
  margin: 0px auto;
  padding: 40px 0px;
  overflow: hidden;
  background-color: #fff;
}

#content {
  width: auto;
}

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

#footer {
  width: 100%;
  min-width: 1080px;
  margin: 0px auto;
  display: block;
  padding: 40px 0px;
  text-align: center;
  border-top: 1px solid #ccc;
}

.entry {
  margin: 0px;
  padding: 0px;
}
.entry ul {
  margin: 0px;
  padding: 0px 0px 25px 25px;
  overflow: hidden;
}
.entry ul li {
  list-style-image: url(images/bullet.png);
  margin: 0px 0px 4px 0px;
  padding: 0px;
  text-align: left;
}
.entry blockquote {
  font-size: 21px;
  line-height: 42px;
  padding: 0px;
  margin: 20px 0px 30px 0px;
  color: #;
  font-weight: 300;
  font-style: italic;
}
.entry table {
  border-width: 0px;
  font-size: 16px;
  line-height: 24px;
  width: 100%;
  margin-bottom: 30px;
}
.entry table tr td {
  padding: 15px;
}
.entry table tr:nth-child(odd) td {
  background-color: #efefef;
}
.entry table tr:nth-child(even) td {
  background-color: #e1e1e1;
}
.entry table thead {
  color: #000;
  font-weight: bold;
}
.entry table thead tr td {
  background-color: #efefef !important;
  text-align: left;
}
.entry table tr.head {
  font-weight: bold;
}

/* SOCIAL LINKS */
#smedia {
  overflow: hidden;
  margin: 20px 0px 0px 0px;
  padding: 0px;
  position: relative;
  display: block;
}
#smedia a {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0px 5px;
  background-position: top center;
  background-repeat: no-repeat;
}
#smedia a:hover {
  background-position: bottom center;
}
#smedia a.fb {
  background-image: url("images/fb.png");
}
#smedia a.tw {
  background-image: url("images/tw.png");
}
#smedia a.gp {
  background-image: url("images/gp.png");
}
#smedia a.in {
  background-image: url("images/in.png");
}
#smedia a.yt {
  background-image: url("images/yt.png");
}
#smedia a.ig {
  background-image: url("images/ig.png");
}
#smedia a.pn {
  background-image: url("images/pn.png");
}

.addthis_toolbox {
  margin-top: 25px;
}

/* SEARCHBAR */
#searchbar {
  margin: 0px;
  background-color: transparent;
  width: 180px;
  position: relative;
  top: 240px;
  right: 78px;
}

#searchbar a img {
  margin: 0px 0px 10px 0px;
}

#searchform {
  background-color: transparent;
  border: 0px;
  color: #ccc;
  width: 180px;
  padding: 6px;
}

.home .two_third {
  width: 62.6%;
  margin-left: 0%;
  margin-right: 4%;
}
.home .one_third {
  width: 30.3%;
  margin-left: 2%;
}
.home h3 {
  color: #db0000;
}

.home .gallery {
  margin-bottom: 25px;
  overflow: hidden;
}

.home .gallery a img {
  margin: 5%;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
}

.home .gallery-item {
  text-align: left !important;
}

.home .gallery-item {
  float: left;
  width: 31%;
  margin: 0 2% 0 0;
}

.home .gallery-item img {
  width: 90%;
  height: auto;
}

/* COLUMNS */
.full_width, .one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth {
  float: left;
  clear: right;
}

.full_width {
  width: 100%;
}

.one_half {
  width: 48%;
  margin: 0 1%;
}

.one_third {
  width: 31.3%;
  margin: 0 1%;
}

.two_third {
  width: 64.6%;
  margin: 0 1%;
}

.one_fourth {
  width: 23%;
  margin: 0 1%;
}

.three_fourth {
  width: 73%;
  margin: 0 1%;
}

.one_fifth {
  width: 18%;
  margin: 0 1%;
}

.two_fifth {
  width: 38%;
  margin: 0 1%;
}

.three_fifth {
  width: 58%;
  margin: 0 1%;
}

.four_fifth {
  width: 78%;
  margin: 0 1%;
}

.one_sixth {
  width: 14.6%;
  margin: 0 1%;
}

.clear_column {
  clear: both;
  display: block;
  font-size: 0;
  height: 0;
  line-height: 0;
  width: 100%;
  overflow: hidden;
}

@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
  .full_width_md {
    width: 100%;
  }

  .one_half_md {
    width: 48%;
    margin: 0 1%;
  }

  .one_third_md {
    width: 31.3%;
    margin: 0 1%;
  }
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
  .full_width_sm {
    width: 100%;
  }

  .one_half_sm {
    width: 48%;
    margin: 0 1%;
  }

  .one_third_sm {
    width: 31.3%;
    margin: 0 1%;
  }
}
/* SALVATORRE GRID */
/* These are the classes that are going to be applied: */
#grid[data-columns]::before {
  content: '2 .column.size-1of2';
}

@media screen and (max-width: 480px) {
  #grid[data-columns]::before {
    content: '1 .column.size-1of1';
  }
}
@media screen and (min-width: 481px) and (max-width: 829px) {
  #grid[data-columns]::before {
    content: '1 .column.size-1of1';
  }
}
@media screen and (min-width: 830px) and (max-width: 1079px) {
  #grid[data-columns]::before {
    content: '2 .column.size-1of2';
  }
}
@media screen and (min-width: 1080px) {
  #grid[data-columns]::before {
    content: '2 .column.size-1of2';
  }
}
#grid.portfolio[data-columns]::before {
  content: '4 .column.size-1of4';
}

@media screen and (max-width: 480px) {
  #grid.portfolio[data-columns]::before {
    content: '1 .column.size-1of1';
  }
}
@media screen and (min-width: 481px) and (max-width: 829px) {
  #grid.portfolio[data-columns]::before {
    content: '2 .column.size-1of2';
  }
}
@media screen and (min-width: 830px) and (max-width: 1079px) {
  #grid.portfolio[data-columns]::before {
    content: '3 .column.size-1of3';
  }
}
@media screen and (min-width: 1080px) {
  #grid.portfolio[data-columns]::before {
    content: '4 .column.size-1of4';
  }
}
.column {
  float: left;
}

.size-1of1 {
  width: 98%;
  margin: 1%;
}

.size-1of2 {
  width: 48%;
  margin: 1%;
}

.size-1of3 {
  width: 31.3%;
  margin: 1%;
}

.size-1of4 {
  width: 23%;
  margin: 1%;
}

/* SECTIONS */
.center {
  text-align: center;
}

.center a.button {
  margin: 25px auto;
}

#section {
  display: block;
  width: 100%;
  min-width: 1080px;
  padding: 0px 0px;
  overflow: hidden;
}
#section .wrapper {
  padding: 40px 0px;
  overflow: hidden;
}
#section.lightgray {
  background-color: #efefef;
}
#section.darkgray {
  background: #111 url(images/section-darkgray.jpg) repeat;
  color: #ccc;
}
#section.darkgray h1 {
  color: #fff;
}
#section.darkgray span {
  display: block;
  max-width: 60%;
  margin: 0px auto;
}
#section.blue {
  background-color: #008383;
  color: #fff;
}
#section.blue h2 {
  margin-bottom: 0px;
}
#section.split {
  /* Set 50% split behind wrapper and 2/3 split in wrapper to better match other columns */
  background-color: #e5e5e5;
  background: -webkit-linear-gradient(90deg, #e5e5e5 50%, #c8c8c8 50%);
  background: linear-gradient(90deg, #e5e5e5 50%, #c8c8c8 50%);
}
#section.split .wrapper {
  display: block;
  background-color: #e5e5e5;
  background: -webkit-linear-gradient(90deg, #e5e5e5 66%, #c8c8c8 34%);
  background: linear-gradient(90deg, #e5e5e5 66%, #c8c8c8 34%);
}
#section.split .one_half {
  width: 42%;
  margin: 0 4%;
}

.so-panel .product {
  padding: 25px 25px 5px 25px;
  margin-bottom: 0 !important;
  border-radius: 3px;
}
.so-panel .product h3 {
  color: #008383;
}
.so-panel .product .gallery {
  margin-bottom: 0;
}

.so-panel:nth-of-type(odd) .product {
  background-color: #efefef;
}

.so-panel:nth-of-type(even) .product {
  background-color: #f1f1f1;
}

#arrow-down {
  width: 100%;
  height: 20px;
  display: block;
  margin: 0px auto -20px auto;
  z-index: 1;
  position: relative;
}
#arrow-down.repeat {
  background-repeat: repeat-x !important;
}
#arrow-down.white {
  background-image: url("images/arrow-down-white.png");
  background-position: top center;
  background-repeat: no-repeat;
}

.mask {
  display: block;
  position: relative;
  z-index: 30;
  height: 52px;
}

.mask img {
  width: 100%;
  height: 52px;
}

.mask.mask-bottom {
  margin-top: -52px;
}

.mask.mask-top {
  margin-bottom: -52px;
}

#section.masked {
  padding-top: 60px;
}

/* VIDEOS */
.video {
  margin-bottom: 25px;
}

.video-featured {
  padding: 25px !important;
  background-color: #222;
}

/* BUTTONS */
a.graybutton {
  display: block;
  background-color: #ececec;
  width: 90%;
  padding: 10px 0px;
  margin: 0px 0px 10px 0px;
  border: 1px solid #efefef;
  text-align: center;
}

a.graybutton:hover {
  border: 1px solid #ddd;
  background-color: #f1f1f1;
}

a.button {
  text-align: center;
  text-transform: uppercase;
  font-family: "Raleway", Arial, Sans-Serif;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
}
a.button:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 99;
}
a.button.large {
  max-width: 180px;
  padding: 10px 14px 8px 14px;
}
a.button.small {
  max-width: 120px;
  padding: 8px;
}
a.button.primary {
  color: #fff;
  font-size: 16px;
}
a.button.primary {
  background-color: #db0000;
}
a.button.primary:hover {
  background-color: #ff2323;
}
a.button.secondary {
  color: #fff;
  font-size: 16px;
}
a.button.secondary {
  background-color: #008383;
}
a.button.secondary:hover {
  background-color: #00a6a6;
}

/* NAV */
#nav {
  margin: 30px auto 0px auto;
  padding: 0px;
  height: 48px;
  width: 100%;
  background: #dedede url(images/nav.png) repeat-x top center;
  text-align: center;
}
#nav ul {
  display: inline;
  margin: 0px;
  padding: 0;
}
#nav ul li {
  display: inline;
  padding: 0px;
  font-size: 15px;
}
#nav ul li a {
  display: inline;
  padding: 0px;
  margin: 0px 30px;
  line-height: 48px;
  color: #454545;
  text-transform: uppercase;
}
#nav ul li a:hover {
  color: #db0000;
}
#nav ul li.current_page_item a {
  color: #db0000;
}

#nav-footer {
  margin: 0px auto 25px auto;
  padding: 0px 0px 0px 0px;
  text-align: center;
}
#nav-footer ul {
  display: inline;
  margin: 0px;
  padding: 0;
}
#nav-footer ul li {
  padding: 0px;
  display: inline;
}
#nav-footer ul li a {
  padding: 0px;
  margin: 0px 30px 0px 0px;
  display: inline;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
}

#nav-top {
  margin: 0px auto 25px auto;
  padding: 10px 15px;
  min-width: 330px;
  float: right;
  background-color: #e9e9e9;
}
#nav-top ul {
  display: block;
  margin: 0px;
  padding: 0px;
  float: left;
}
#nav-top ul li {
  padding: 0px;
  display: inline;
}
#nav-top ul li a {
  display: block;
  padding: 0px;
  margin: 0px 25px;
  font-weight: bold;
  float: right;
  font-size: 14px;
  font-weight: 600;
}

#nav-sub {
  padding: 0px 0px 0px 0px;
  text-align: center;
  margin-bottom: 40px;
}
#nav-sub ul {
  display: inline;
  padding: 0;
}
#nav-sub ul li {
  padding: 0px;
  display: inline;
  font-size: 14px;
}
#nav-sub ul li a {
  padding: 6px;
  background-color: #ccc;
  color: #111;
  font-weight: 500;
  display: inline-block;
  margin: 0px 0px 5px 0px;
}
#nav-sub ul li a:hover {
  color: #fff;
  background-color: #aaa;
}
#nav-sub ul li.current_page_item a {
  color: #fff;
  font-weight: 700;
  background-color: #db0000;
  padding: 10px 10px 8px 10px;
}

.toggle {
  display: none;
  width: 25px;
  height: 25px;
  float: right;
  margin: 20px 20px 0 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .5s;
  z-index: 1002;
  margin-bottom: -45px;
}
.toggle.on {
  transform: rotate(45deg);
  transform-style: preserve-3d;
  position: absolute;
  right: 0;
  top: 0;
}
.toggle:hover > .bar {
  background: #db0000;
  transition: .5s;
}
.toggle > .top {
  top: 0px;
}
.toggle > .top.active {
  top: 7px;
}
.toggle > .center.active {
  transform: rotate(450deg);
  transform-style: preserve-3d;
}
.toggle > .bottom {
  bottom: 0px;
}
.toggle > .bottom.active {
  bottom: 7px;
}

.bar {
  display: block;
  width: 100%;
  height: 4px;
  background: #ccc;
  margin: 3px auto;
  background: #000;
  position: relative;
  transition: width 1s;
}
.bar.active {
  background: white;
}

nav {
  width: 100%;
  max-height: 0;
  position: relative;
  background: #333;
  transition: max-height .5s;
  z-index: 1000;
  padding: 0;
  overflow: hidden;
}
nav.mm {
  max-height: 1000px;
  z-index: 1001;
  left: 0;
}
nav ul {
  margin: 0;
  padding: 0;
}
nav .menu-item {
  border-bottom: 1px solid #444;
  display: block;
  position: relative;
  overflow: hidden;
}
nav .menu-item a {
  display: block;
  padding: 12px;
  background: #333;
  color: #ccc;
}
nav .menu-item:first-child {
  margin-top: 60px;
  border-top: 1px solid #444;
}
nav .sub-menu {
  margin: 0;
  max-height: 0;
  display: block;
  overflow: hidden;
  transition: max-height .5s;
}
nav .sub-menu.expand {
  max-height: 600px;
}
nav .sub-menu .menu-item a {
  color: #aaa;
  background: #111;
}
nav .sub-menu .menu-item:first-child {
  margin-top: 0;
  border-top: 0;
}

p.subtoggle {
  display: block;
  position: absolute;
  margin: 0;
  right: 10px;
  top: 0;
  height: 100%;
  padding-top: 12px;
  width: 45px;
  float: right;
  z-index: 3;
  transition: .5s;
}
p.subtoggle.on span:first-child {
  transform: rotate(180deg);
  transform-style: preserve-3d;
}

p.subtoggle span {
  display: block;
  width: 100%;
  height: 3px;
  width: 15px;
  background: #ccc;
  margin: 3px auto;
  background: #666;
  position: relative;
  transition: 1s;
}
p.subtoggle span:first-child {
  transform: rotate(90deg);
  transform-style: preserve-3d;
  top: 6px;
}

/* QUERY */
#query {
  margin: 25px 0px 0px 0px;
  padding: 0px 0px 0px;
  overflow: hidden;
}
#query .content {
  width: auto;
  float: left;
  display: block;
  margin: 0px;
}
#query .content p {
  margin: 0px 0px 5px 0px;
  padding: 0px;
}
#query .text {
  display: block;
  width: auto;
  padding-left: 165px;
}
#query .title a {
  font-size: 24px;
  line-height: 30px;
}
#query .metadate {
  font-size: 13px;
  line-height: 18px;
  color: #333;
  text-transform: uppercase;
  display: block;
  margin: 5px 0px;
}
#query .thumb {
  float: left;
  display: block;
  margin-right: 15px;
}
#query .thumb a img {
  margin: 3px 0px 0px 0px;
  width: 100%;
  height: 100%;
  max-width: 150px;
}
#query .more {
  font-size: 13px;
  font-weight: 700;
}

#query-featured .title a {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  text-transform: uppercase;
}
#query-featured .content {
  display: block;
  margin: 20px 0px;
}
#query-featured .metadate {
  display: block;
  margin: 5px 0px;
  color: #777;
}
#query-featured p {
  margin-bottom: 5px;
}

#query-page {
  margin: 0px 0px 20px 0px;
  padding: 20px;
  overflow: hidden;
  background-color: #fafafa;
  display: block;
  transition: .20s ease-in-out;
  -moz-transition: .20s ease-in-out;
  -webkit-transition: .20s ease-in-out;
}
#query-page:hover {
  -webkit-box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.15);
  background-image: none;
  background-color: #fff;
}
#query-page .content {
  width: auto;
  display: block;
  margin: 0px;
  color: #555;
}
#query-page:hover .content {
  color: #222;
}
#query-page .content p {
  margin: 5px 0px;
  padding: 0px;
}
#query-page .text {
  display: block;
  width: auto;
  padding-right: 165px;
}
#query-page .title {
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  color: #275a8c;
  transition: .20s ease-in-out;
  -moz-transition: .20s ease-in-out;
  -webkit-transition: .20s ease-in-out;
}
#query-page:hover .title {
  color: #21926a;
}
#query-page .thumb {
  float: right;
  display: block;
  margin-left: 15px;
}
#query-page .thumb img {
  margin: 3px 0px 0px 0px;
  width: 100%;
  height: 100%;
  max-width: 150px;
}

#query-fourth {
  display: block;
  margin-bottom: 25px;
  background-color: #000;
}
#query-fourth .content {
  display: block;
  padding: 10px 20px;
}
#query-fourth img {
  width: 100%;
  height: auto;
}
#query-fourth .thumb a img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}
#query-fourth .title {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: #fff;
}
#query-fourth .title a {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
}
#query-fourth .title a:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}
#query-fourth p {
  margin: 10px 0px;
  font-size: 16px;
  line-height: 24px;
}
#query-fourth.resources .content {
  height: 80px;
}

#query-fourth.resources:hover {
  -webkit-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.75);
}

#query-fourth.resources:hover .title {
  color: #db0000;
}

/* GALLERIES */
.gallery {
  margin-bottom: 15px;
}

.gallery a img {
  margin: 5%;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
}

.gallery-item {
  text-align: left !important;
}

.gallery-item {
  float: left;
  width: 23%;
  margin: 10px 1%;
}

.gallery-item img {
  width: 90%;
  height: auto;
}

.wp-caption-text {
  max-width: 100% !important;
  width: auto !important;
  margin: -5px 0 0 0;
  text-align: center;
  font-size: 14px;
}

dd.wp-caption-text {
  -webkit-margin-start: 0px;
}

#section.darkgray .gallery-item {
  display: inline-block;
  float: none;
  width: 14.6%;
  margin: 10px 1%;
}

.portfolio-item {
  display: block;
  margin-bottom: 15px;
}
.portfolio-item img {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
}

/* SIDEBAR */
#sidebar {
  width: 100%;
  padding: 0px 0px;
  margin: 0px;
}
#sidebar .widget, #sidebar .sidebar.widget {
  margin-bottom: 25px;
  display: block;
}
#sidebar ul li, #sidebar ul li {
  list-style-type: none;
  list-style-image: none;
}
#sidebar ul, #sidebar ul ol, #sidebar ul {
  margin: 0px;
  padding: 0px;
}
#sidebar ul ul, #sidebar ul ol, #sidebar ul ul {
  margin: 0px;
}
#sidebar ul ul ul, #sidebar ul ol, #sidebar ul ul ul {
  margin: 0 0 0 20px;
}
#sidebar ul ul li, #sidebar ul ol li, #sidebar ul ul li {
  margin: 0px;
  padding: 0px;
}
#sidebar ul li a, #sidebar ul li a {
  margin: 6px 0px 0px 0px;
  padding: 5px 0px 0px 0px;
  display: block;
  border-top: 1px solid #efefef;
}
#sidebar ul ul li a, #sidebar ul ul li a {
  margin: 5px 0px 0px 0px;
  padding: 5px 0px 0px 10px;
  display: block;
  color: #444;
  font-size: 13px;
  line-height: 16px;
}
#sidebar ul ul ul li a, #sidebar ul ul ul li a {
  margin: 5px 0px 0px 0px;
  padding: 5px 0px 0px 10px;
  display: block;
  color: #666;
  font-size: 12px;
  line-height: 14px;
}
#sidebar ul li.current_page_item a, #sidebar ul li.widget_subpages_current_page a, #sidebar .sidebar ul li.widget_subpages_current_page a {
  font-weight: 700;
  color: #db0000;
}

/* SLIDER */
#slides-mobile {
  display: none;
}

#slides {
  display: block;
  height: 300px !important;
  z-index: 1;
  color: #fff;
  text-align: center;
}
#slides .text {
  display: block;
  position: relative;
  bottom: 0px;
  width: 75%;
  margin: 50px auto;
}
#slides .textbox {
  display: none;
  margin: 0px auto;
  position: absolute;
  padding: 40px 35px;
  width: 1000px;
  bottom: 0px;
  text-align: center;
  background-image: url("images/black70.png");
  background-repeat: repeat;
}
#slides h1 {
  font-size: 40px;
  line-height: 50px;
  font-weight: 800;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}
#slides p {
  font-size: 20px;
  line-height: 36px;
  font-weight: 300;
  margin-bottom: 0px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}
#slides a {
  font-weight: 600;
}
#slides a.button {
  margin: 25px auto;
}
#slides a.button.secondary {
  border: 1px solid #0a6b6b;
}
#slides .text {
  -webkit-animation: fade-in 1s;
  -moz-animation: fade-in 1s;
  -ms-animation: fade-in 1s;
  -o-animation: fade-in 1s;
  animation: fade-in 1s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
#slides .text {
  filter: alpha(opacity=100);
  /* for lte IE9 */
}

@-webkit-keyframes fade-in {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}
@-moz-keyframes fade-in {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}
@-o-keyframes fade-in {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}
@keyframes fade-in {
  from {
    bottom: -300px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}
.slides-navigation {
  display: block;
  width: 100%;
  position: relative;
  top: 45% !important;
  z-index: 1100;
}

.slides-navigation a.prev {
  background-image: url("images/slide-prev.png");
  display: block;
  width: 25px;
  height: 40px;
  margin-left: 0px;
  float: left;
  background-position: bottom;
}

.slides-navigation a:hover.prev {
  background-position: top;
}

.slides-navigation a.next {
  background-image: url("images/slide-next.png");
  display: block;
  width: 25px;
  height: 40px;
  margin-right: 0px;
  float: right;
  background-position: bottom;
}

.slides-navigation a:hover.next {
  background-position: top;
}

p.slideshow-info-content {
  font-size: 10px !important;
  line-height: 14px;
}
@media screen and (min-width: 768px) {
  p.slideshow-info-content {
    font-size: 12px !important;
    line-height: 16px;
  }
}

/* FORMS */
.gform_wrapper {
  background-color: #efefef;
  padding: 15px 25px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
}

.gform_wrapper ul li {
  margin: 0px;
  padding: 0px;
}

.gfield_checkbox {
  font-size: 14px;
}

.gform_fields input {
  background-color: #fff;
  border: 1px solid #ccc;
}

.gform_fields textarea {
  background-color: #fff;
  border: 1px solid #ccc;
  max-width: 97.5%;
}

.gform_fields select {
  background-color: #fff;
  border: 1px solid #ccc;
}

.gform_button {
  display: block;
  position: relative;
  padding: 0px 10px;
  margin: 0 auto;
  border: 0;
  background-color: #db0000;
  border-bottom: #ff2323 3px solid;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  width: 140px;
  height: 32px;
  line-height: 32px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
  width: auto;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}

.gform_button:hover {
  background-color: #ff2323;
  border-bottom-color: #ff2323;
}

.gform_button:active {
  top: 2px;
  border-bottom-width: 1px;
}

/* POST / COMMENTS */
.metaauthor {
  font-size: 13px;
  color: #666;
  background-color: #e7e7e7;
  padding: 2px 10px;
  display: block;
  text-transform: uppercase;
}

.metaauthor a {
  color: #333;
}

.metaauthor a:hover {
  color: #000;
}

.alignright {
  padding: 0;
  margin: 0px 0px 5px 15px;
  display: inline;
  float: right;
}

.alignleft {
  padding: 0;
  margin: 0px 15px 5px 0;
  display: inline;
  float: left;
}

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

#navigation {
  margin: 20px 0px 0px 0px;
  display: block;
  padding: 0px;
  overflow: hidden;
  color: #333;
}

#navigation a {
  padding: 5px;
  display: block;
}

#navigation .left {
  float: left;
}

#navigation .right {
  float: right;
}

/* COMMENTS*/
.commentlist {
  margin: 0px;
  padding: 0px;
  border-bottom: 1px dashed #ccc;
}

.commentlist li {
  list-style: none;
  margin: 25px 0px;
  padding: 25px 0px 0px 0px;
  border-top: 1px dashed #ccc;
}

.commentlist li li {
  border-top: 0px;
  padding: 0px 0px 25px 25px;
  border-left: 2px solid #efefef;
}

.comment-author img {
  float: left;
  border: 1px solid #555;
  padding: 2px;
  margin: 2px 8px 0px 0px;
}

.commentlist cite.fn {
  font-style: normal;
  font-weight: bold;
}

.commentlist .comment-meta {
  font-size: 12px;
  margin-bottom: 15px;
}

ul.children li {
  list-style: none;
}

.commentarea {
  width: 90%;
  border: 1px solid #ccc;
  margin: 0px 0px 10px 0px;
  padding: 5px;
  color: #555;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  background: url("images/diagonal.gif") repeat;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}

.commentinput {
  width: 300px;
  font-size: 14px;
  border: 1px solid #ccc;
  margin: 0px 0px 10px 0px;
  padding: 5px;
  color: #555;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  background: url("images/diagonal.gif") repeat;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
    margin: 0;
  }

  #header {
    display: none;
  }

  #page {
    border: 0px;
    padding: 0px;
    margin: 0px;
    width: auto;
  }

  #content {
    margin-left: 0;
    float: none;
    width: auto;
    border: 0px;
    font-size: 10pt;
  }

  #comments {
    display: block;
    background: white;
    color: black;
  }

  #comments .avatar {
    display: none;
  }

  #comments .reply {
    display: none;
  }

  #comments .comment-edit-link {
    display: none;
  }

  #sidebar {
    display: none;
  }

  #footer {
    display: none;
  }

  #respond {
    display: none;
  }

  #navigation {
    display: none;
  }
}
@media only screen and (max-width: 1080px), only screen and (max-device-width: 1080px) {
  .wrapper {
    width: auto;
    /* Force small margins on smaller devices. Breathing room! */
    margin-left: 15px !important;
    margin-right: 15px !important;
  }

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

  #header {
    min-width: 100%;
  }
  #header .tagline {
    font-size: 16px;
  }

  #nav {
    min-width: 100%;
  }

  #page {
    min-width: 100%;
  }
  #page .wrapper {
    padding: 0px 20px;
  }

  #slides {
    min-width: 100%;
  }
  #slides .wrapper {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  #slides .textbox {
    width: 84%;
    margin: 0 3%;
    padding: 3% 5%;
  }
  #slides h1 {
    font-size: 30px;
    line-height: 40px;
  }

  #section {
    min-width: 100%;
  }
  #section .wrapper {
    padding: 30px 20px;
  }

  #footer {
    min-width: 100%;
  }
}
@media only screen and (max-width: 860px), only screen and (max-device-width: 860px) {
  #nav-top {
    padding: 10px 10px;
    min-width: 320px;
  }
  #nav-top ul li a {
    margin: 0px 15px;
    font-size: 14px;
  }
}
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {
  .toggle {
    display: block;
  }

  #nav-top {
    display: none;
  }

  #header .tagline {
    display: none;
  }
  #header .phone {
    margin-top: -30px;
    margin-bottom: 25px;
  }

  #slides p {
    font-size: 16px;
    line-height: 24px;
  }
  #slides h1 {
    font-size: 25px;
    line-height: 34px;
  }

  .home .one_third {
    width: 100%;
    margin-left: 0;
  }

  .home .two_third {
    width: 100%;
    margin-right: 0;
  }

  #section.split {
    background: #e5e5e5;
  }
  #section.split .wrapper {
    background: #e5e5e5;
  }
  #section.split .one_half {
    width: 96%;
    margin: 0 2%;
    float: none;
  }

  #nav {
    display: none;
  }

  #content {
    width: 100%;
    float: none;
    padding: 0px 0px;
  }

  #sidebar {
    width: 100%;
    float: none;
    padding: 0px 0px;
    margin: 0px;
  }
}
@media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
  #header {
    text-align: center;
  }
  #header .logo {
    margin-top: 20px;
  }
  #header .phone {
    margin: 25px 0;
    text-align: center;
    float: none;
  }
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
  #header .logo {
    text-align: left;
  }
  #header .logo img {
    width: 84%;
  }

  #slides p {
    font-size: 14px;
    line-height: 20px;
  }

  #query .text {
    width: auto;
    float: none;
    text-align: justify;
    padding-left: 0px;
  }
  #query .title {
    text-align: center;
  }
  #query .thumb {
    float: none;
    margin: 0px auto 5px auto;
    width: 150px;
  }
  #query .more a {
    display: none;
  }

  .alignright {
    float: none;
    margin: 0px 0px 20px 0px;
    display: block;
  }

  .alignleft {
    float: none;
    margin: 0px 0px 20px 0px;
    display: block;
  }

  .gallery-item {
    float: left;
    width: 46%;
    margin: 10px 2%;
  }

  .gallery-item img {
    width: 90%;
    height: auto;
    margin: 5%;
  }
}
