@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css);
@import url(//fonts.googleapis.com/css?family=Roboto:400,900,300,300italic,700);
@import url(//fonts.googleapis.com/css?family=Lato:300,400);
@import "../css/animate.css";
/*========================================================
                    Main layout styles
=========================================================*/
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 28px;
  font-weight: 300;
  background: #494949;
  color: #464646;
}
a {
  font: inherit;
  color: inherit;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a:hover {
  text-decoration: underline;
}
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
* {
  -webkit-text-size-adjust: none;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  text-transform: uppercase;
  font-weight: 700;
}
h1 {
  font-size: 60px;
  line-height: 70px;
}
h1 span {
  font-weight: 300;
}
h1 a:hover {
  text-decoration: none;
}
@media (max-width: 1280px) {
  h1 {
    font-size: 56px;
  }
}
@media (max-width: 479px) {
  h1 {
    font-size: 41px;
  }
}
h2 {
  font-size: 48px;
  line-height: 54px;
  letter-spacing: 2px;
  color: #222;
}
@media (max-width: 767px) {
  h2 {
    font-size: 37px;
    line-height: 44px;
  }
}
@media (max-width: 479px) {
  h2 {
    font-size: 30px;
    line-height: 36px;
  }
}
h3 {
  font-size: 40px;
  line-height: 46px;
  color: #222;
}
h3.__fw-300 {
  font-weight: 300;
}
h3.__fw-900 {
  font-weight: 900;
}
h4 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 3px;
  color: #222;
}
h4 a:hover {
  text-decoration: none;
  color: #27326d;
}
h5 {
  font-size: 30px;
  line-height: 28px;
}
a[data-gal] {
  display: block;
  width: 20%;
  height: 100%;
  float: left;
  position: relative;
}
a[data-gal] .first {
  width: 100%;
}
a[data-gal] .overlay-gallery {
  display: block;
  background: rgba(0, 0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a[data-gal] .fa {
  display: block;
  visibility: hidden;
  text-align: center;
  position: absolute !important;
  left: 0;
  right: 0;
  font-size: 65px;
  top: 50%;
  margin-top: -32px !important;
  color: #ffffff;
  -webkit-transition: 0.1s;
  transition: 0.1s;
}
@media (max-width: 1199px) {
  a[data-gal] .fa {
    font-size: 45px;
    margin-top: -22px !important;
  }
}
@media (max-width: 479px) {
  a[data-gal] .fa {
    font-size: 30px;
    margin-top: -15px !important;
  }
}
a[data-gal]:hover .overlay-gallery {
  background: rgba(0, 0, 0, 0.65);
}
a[data-gal]:hover .fa {
  visibility: visible;
}
@media (min-width: 768px) and (max-width: 979px) {
  a[data-gal] {
    width: 25%;
  }
}
@media (max-width: 767px) {
  a[data-gal] {
    width: 33.3333334%;
  }
}
.overlay {
  background: rgba(0, 0, 0, 0.5);
}
.overlay2 {
  background: rgba(0, 0, 0, 0.6);
}
.overlay3 {
  background: rgba(0, 0, 0, 0.8);
}
.btn {
  display: inline-block;
  text-align: center;
  font-size: 24px;
  line-height: 30px;
  font-weight: 900;
  padding: 18px 31px 18px 30px;
  border: 4px solid #ffffff;
  min-width: 246px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.btn:hover {
  background: #ffffff;
  text-decoration: none;
}
.btn2 {
  display: inline-block;
  text-align: center;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  padding: 18px 31px 18px 30px;
  border: 2px solid #27326d;
  min-width: 246px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.btn2:hover {
  text-decoration: none;
  background: #27326d;
  color: #ffffff;
}
/*========================================================
                    HEADER styles
=========================================================*/
#header {
  position: relative;
  background: #27326d;
  color: #ffffff;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 23, 0.5);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 23, 0.5);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 23, 0.5);
}
#header h1 {
  margin: 12px 0 0 35px;
}
@media (min-width: 1200px) and (max-width: 1280px) {
  #header h1 {
    margin-left: 5px;
  }
}
@media (max-width: 479px) {
  #header h1 {
    margin-left: 0;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  #header .header-menu {
    clear: both;
    float: none;
    text-align: center;
  }
}
#header .search-button {
  display: inline-block;
  cursor: pointer;
  position: relative;
  font-size: 20px;
  line-height: 30px;
  padding: 6px 12px;
  border-radius: 50%;
  margin: 25px 18px 0 0;
  background: rgba(0, 0, 0, 0.25);
  -webkit-transition: background 0.2s, color 0.2s;
  -moz-transition: background 0.2s, color 0.2s;
  transition: background 0.2s, color 0.2s;
}
#header .search-button:after {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: '';
  top: -8px;
  left: -8px;
  padding: 5px;
  border: 3px solid #000;
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  -webkit-transform: scale(0.8);
  -moz-transition: -moz-transform 0.2s, opacity 0.2s;
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transition: transform 0.2s, opacity 0.2s;
  transform: scale(0.8);
  opacity: 0;
}
#header .search-button.active {
  background: #000;
}
#header .search-button.active:after {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
#header .search-button:hover {
  text-decoration: none;
  background: #000;
}
#header .search-button:hover:after {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
@media (min-width: 1200px) and (max-width: 1280px) {
  #header .search-button {
    margin-right: 5px;
  }
}
@media (max-width: 767px) {
  #header .search-button {
    display: none;
  }
}
#header .search-form-wrapper {
  position: relative;
}
@media (max-width: 767px) {
  #header {
    text-align: center;
  }
}
#header .camera-wrapper {
  height: 800px;
}
@media (max-width: 1199px) {
  #header .camera-wrapper {
    height: 583px;
  }
}
@media (max-width: 979px) {
  #header .camera-wrapper {
    height: 475px;
  }
}
@media (max-width: 767px) {
  #header .camera-wrapper {
    height: 373px;
  }
}
@media (max-width: 479px) {
  #header .camera-wrapper {
    height: 235px;
  }
}
/* Main menu styles
========================================================*/
.sf-menu > li {
  position: relative;
  display: inline-block;
  padding: 33px 15px 32px;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.sf-menu > li > a {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 400;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.sf-menu > li > a:hover {
  text-decoration: none;
  color: #222;
}
.sf-menu > li.last {
  padding-right: 32px;
}
@media (min-width: 1200px) and (max-width: 1280px) {
  .sf-menu > li.last {
    padding-right: 5px;
  }
}
@media (max-width: 1199px) {
  .sf-menu > li.last {
    padding-right: 3px;
  }
}
@media (min-width: 1200px) and (max-width: 1528px) {
  .sf-menu > li {
    padding: 33px 5px 32px;
  }
}
@media (min-width: 1200px) and (max-width: 1418px) {
  .sf-menu > li > a {
    font-size: 20px;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .sf-menu > li {
    padding: 33px 5px 32px;
  }
  .sf-menu > li > a {
    font-size: 20px;
  }
}
.sf-menu > li.active > a {
  color: #222222;
}
.sf-menu > li.sfHover > a {
  color: #222222;
}
.sf-menu a {
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.sf-menu a:hover {
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
/* First level sub-menu styles
========================================================*/
.sf-menu ul {
  position: absolute;
  top: 96px;
  padding: 10px 0;
  left: 0;
  z-index: 4;
  width: 235px;
  display: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #252525;
}
.sf-menu ul li {
  font-size: 14px;
  line-height: 20px;
  position: relative;
}
.sf-menu ul li a {
  display: block;
  padding: 10px 0 10px 20px;
}
.sf-menu ul li a:hover {
  text-decoration: none;
  background: #27326d;
}
.sf-menu ul li a.sf-with-ul:before {
  content: '\f105';
  position: absolute;
  top: 0;
  right: 30px;
  font-size: 14px;
  line-height: 40px;
  font-family: FontAwesome;
}
.sf-menu ul li.sfHover > a {
  background: #27326d;
}
/* Second level sub-menu styles
========================================================*/
.sf-menu ul ul {
  position: absolute;
  top: 0;
  left: 236px;
  z-index: 4;
}
@media only screen and (max-width: 767px) {
  .sf-menu {
    display: none;
  }
  .select-menu {
    display: block;
    clear: both;
    position: relative;
    width: 90%;
    left: 0;
    top: 0;
    margin: 14px auto;
    padding: 0;
    height: 40px;
    background: #ffffff url(../images/select.png) 99% center no-repeat;
    color: #05090d;
    border-radius: 0;
    -webkit-appearance: none;
    outline: none;
    font: normal 14px 'Open Sans', sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
}
/* Stuck menu styles
========================================================*/
.isStuck {
  background: #27326d;
  z-index: 999;
}
#header .isStuck .search-form-wrapper {
  display: none;
}
@media (max-width: 1199px) {
  #header .isStuck .logo-caption {
    display: none;
  }
}
@media only screen and (max-width: 979px) {
  .isStuck {
    display: none !important;
  }
}
/*========================================================
                    CONTENT styles
=========================================================*/
#content {
  background: #ffffff;
  /*=========== Wrappers ===============*/
}
#content .heading {
  position: relative;
  z-index: 1;
}
#content .heading .underline {
  margin-bottom: 24px;
}
#content .heading p {
  padding: 0 120px;
}
@media (max-width: 767px) {
  #content .heading p {
    padding: 0;
  }
}
#content .img-border {
  border: 6px solid #ffffff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#content .video-box {
  position: relative;
}
#content .video-box a:hover .video-icon {
  color: #27326d;
}
#content .video-icon {
  font-size: 89px;
  position: absolute;
  left: 50%;
  margin-left: -38px;
  top: 50%;
  margin-top: -45px;
  color: #ffffff;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
#content .underline {
  position: relative;
  padding-bottom: 15px;
}
#content .underline:before {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -99px;
  width: 198px;
  height: 3px;
  bottom: 0;
  background-color: #27326d;
}
#content .wrapper1 {
  padding: 90px 0 72px;
}
#content .wrapper1__inset1 {
  padding-bottom: 122px;
}
#content .wrapper1__inset2 {
  padding-bottom: 0;
}
#content .wrapper1__inset3 {
  padding-bottom: 107px;
}
#content .wrapper1__inset4 {
  padding-bottom: 91px;
}
#content .wrapper2 {
  padding: 58px 0 55px;
}
#content .wrapper3 {
  padding: 120px 0 71px;
}
#content .wrap-bot {
  position: relative;
  margin: -40px 0 23px;
  z-index: 0;
}
#content .bg-content {
  background: #f5f5f5;
}
#content .icon-box {
  margin-top: 36px;
}
#content .icon-box a {
  display: inline-block;
}
#content .icon-box a:hover {
  text-decoration: none;
}
#content .icon-box a:hover .icon {
  background-position: 0 0;
}
#content .icon-box a:hover p {
  color: #27326d;
}
#content .icon-box a:hover p.underline:before {
  background: #27326d;
}
#content .icon-box .underline {
  padding-bottom: 8px;
}
#content .icon-box .underline:before {
  width: 73px;
  margin-left: -36px;
  background-color: #cbcbcb;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
#content .icon-box p {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
#content .icon-box .icon {
  display: block;
  margin: 0 auto 18px;
  height: 67px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
#content .icon-box .icon.i1 {
  background: url("../images/page1-img5.png") 0 67px;
  width: 38px;
}
#content .icon-box .icon.i2 {
  background: url("../images/page1-img6.png") 0 67px;
  width: 82px;
}
#content .icon-box .icon.i3 {
  background: url("../images/page1-img7.png") 0 67px;
  width: 67px;
}
#content .icon-box .icon.i4 {
  background: url("../images/page1-img8.png") 0 67px;
  width: 56px;
}
#content .icon-box .icon.i5 {
  background: url("../images/page1-img9.png") 0 67px;
  width: 47px;
}
#content .icon-box .icon.i6 {
  background: url("../images/page1-img10.png") 0 67px;
  width: 63px;
}
#content .box {
  padding: 63px 0 30px;
}
#content .box h3 {
  margin-bottom: 29px;
}
#content .box p {
  padding-right: 80px;
}
@media (max-width: 767px) {
  #content .box p {
    padding: 0;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  #content .box {
    padding: 0;
  }
}
@media (max-width: 767px) {
  #content .box {
    padding-top: 0;
  }
}
#content .box2 {
  margin-top: 62px;
}
#content .box2 img {
  margin-bottom: 41px;
}
#content .box2 p {
  margin-top: 36px;
  font-size: 14px;
}
#content .box2 a:hover {
  text-decoration: none;
  color: #27326d;
}
#content .owl1 {
  width: auto;
  margin: 40px -15px 0;
}
#content .owl1 .item {
  position: relative;
  padding: 0 15px 10px;
}
#content .owl2 {
  width: auto;
  margin: 98px -15px 0;
}
#content .owl2 .item {
  position: relative;
  padding: 0 15px 10px;
}
#content .box3 {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  padding: 9px 8px 11px;
}
#content .box3 img {
  margin-bottom: 20px;
}
#content .box3 p {
  font-family: "Lato";
  font-size: 18px;
  line-height: 32px;
  font-weight: 300;
  color: #f26522;
  margin-top: -8px;
}
#content .box3 .name {
  font-size: 20px;
  font-weight: 400;
  color: #464d52;
  margin: 0;
}
#content .box3 .social-list {
  margin-top: 22px;
}
#content .box4 {
  margin-top: 38px;
}
#content .box4 p {
  font-weight: 900;
}
#content .box4 .number {
  font-size: 70px;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
#content .box4 .underline:before {
  height: 1px;
}
@media (min-width: 768px) and (max-width: 979px) {
  #content .box4 .underline:before {
    width: 100%;
    margin-left: 0;
    left: 0;
  }
}
#content .box5 {
  text-align: center;
}
#content .box5 blockquote {
  position: relative;
  border: 1px solid #dcdcdc;
  padding: 42px 20px 28px 46px;
  text-align: left;
  border-radius: 3px;
  background: url(../images/page1-img36.png) no-repeat 42px 20px;
  z-index: 1;
}
#content .box5 blockquote:before {
  content: '';
  position: absolute;
  bottom: -29px;
  left: 50%;
  margin-left: -15px;
  z-index: 3;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 29px 15.5px 0 15.5px;
  border-color: #ffffff transparent transparent transparent;
}
#content .box5 blockquote:after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -16px;
  z-index: 2;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 16.5px 0 16.5px;
  border-color: #dcdcdc transparent transparent transparent;
}
#content .box5 blockquote p {
  font-size: 14px;
  line-height: 21px;
}
#content .box5 blockquote .name {
  margin-top: 21px;
  font-size: 16px;
  color: #242424;
}
#content .box5 img {
  margin-top: 53px;
  border-radius: 50%;
}
#content .social-list li {
  display: inline-block;
  margin: 0 4px;
}
#content .social-list li a {
  font-size: 16px;
  line-height: 18px;
  color: #bababa;
}
#content .social-list li a:hover {
  text-decoration: none;
  color: #419cc9;
}
#content .form-wrapper {
  margin: 43px 0 80px;
}
#content .partners {
  display: table;
  margin-top: 50px;
  width: 100%;
}
#content .partners .table-row {
  display: table-row;
}
#content .partners .table-row .cell {
  display: table-cell;
  width: 16.66666667%;
  vertical-align: middle;
  text-align: center;
}
#content .partners .table-row .cell a:hover {
  opacity: .5;
}
@media (max-width: 767px) {
  #content .partners {
    display: block;
  }
  #content .partners .table-row {
    display: block;
  }
  #content .partners .table-row .cell {
    display: block;
    margin: 20px auto;
    width: 100%;
  }
}
#content .policy-box {
  text-align: center;
  margin-top: 62px;
  font-size: 14px;
  line-height: 28px;
  padding: 0 200px;
}
#content .policy-box + .policy-box {
  margin-top: 27px;
}
@media (max-width: 979px) {
  #content .policy-box {
    padding: 0;
  }
}
#content .policy-link {
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  margin-top: 40px;
}
/*========================================================
                    FOOTER styles
=========================================================*/
#footer {
  padding: 95px 0 62px;
  text-align: center;
}
#footer.page2 {
  padding: 0 0 70px;
}
#footer .social-list {
  margin-bottom: 85px;
}
#footer .social-list li {
  display: inline-block;
  margin: 0 35px;
}
#footer .social-list li a {
  position: relative;
  font-size: 47px;
  line-height: 47px;
  padding: 20px;
  color: #28292a;
  border: 3px solid #fff;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  transition: color 0.3s;
}
#footer .social-list li a.fa-facebook {
  padding: 20px 30px;
}
#footer .social-list li a:after {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: '';
  top: -2px;
  left: -2px;
  padding: 2px;
  z-index: -1;
  background: #fff;
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  -moz-transition: -moz-transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s;
}
#footer .social-list li a:hover {
  text-decoration: none;
  color: #fff;
}
#footer .social-list li a:hover:after {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  -webkit-transition: -webkit-transform 0.4s, opacity 0.2s;
  -moz-transition: -moz-transform 0.4s, opacity 0.2s;
  transition: transform 0.4s, opacity 0.2s;
}
@media (max-width: 767px) {
  #footer .social-list li {
    margin: 0 20px;
  }
}
@media (max-width: 479px) {
  #footer .social-list li {
    display: block;
    margin-bottom: 20px;
  }
}
#footer .divider {
  height: 1px;
  background-color: #616161;
}
#footer .copyright {
  margin-top: 63px;
  font-size: 14px;
  font-weight: 400;
}
.google-map-api {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
#map-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#map-canvas img {
  max-width: none !important;
}
.map {
  color: #fff;
  position: relative;
  text-align: center;
  height: 485px;
}
@media (max-width: 767px) {
  .map {
    height: 350px;
  }
}
/*========================================================
                    Widget styles
=========================================================*/
/* UItoTop styles
========================================================*/
#toTop {
  display: none;
  text-decoration: none;
  position: fixed;
  bottom: 80px;
  right: 30px;
  overflow: hidden;
  font-size: 37px;
  z-index: 20;
  border-radius: 50%;
  color: #6f7274;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#toTop:hover {
  color: #27326d;
}
@media only screen and (max-width: 1199px) {
  #toTop {
    display: none !important;
  }
}
#search {
  display: block;
  position: absolute;
  right: 63px;
  bottom: 8px;
  width: 0;
  height: 26px;
  background: #000;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  z-index: 15;
}
#search.enable {
  width: 180px;
}
#search.enable:before {
  border: 3px solid #000;
  border-right: none;
}
#search.enable a {
  display: inline-block;
}
#search .input_wrap {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  line-height: 26px;
  border-radius: 0;
  -webkit-appearance: none;
}
#search input {
  display: block;
  position: relative;
  padding-left: 10px;
  line-height: 26px;
  height: 100%;
  outline: none;
  width: 80%;
  background-color: transparent;
  color: #ffffff;
  border: none;
  overflow: hidden;
  margin: 0;
  z-index: 10;
}
@media (max-width: 767px) {
  #search input {
    width: 90%;
  }
}
#search a {
  display: none;
  position: absolute;
  right: 5px;
  bottom: 3px;
  cursor: pointer;
  font-size: 22px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#search a:hover {
  text-decoration: none;
}
#search:before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: '';
  top: -8px;
  left: -8px;
  padding: 5px;
  border-right: none;
  z-index: 0;
}
@media (max-width: 767px) {
  #search {
    position: relative;
    right: 0;
    bottom: 0;
    display: block;
    width: 90%;
    margin: 0 auto;
    height: 30px;
  }
  #search input {
    line-height: 30px;
  }
  #search a {
    bottom: 5px;
  }
}
/* Stellar(parallaxBG) styles
========================================================*/
.stellar-block {
  position: relative;
  background-repeat: no-repeat;
}
.desktop .stellar-block {
  background-attachment: fixed;
}
.stellar-section .stellar1 {
  background-image: url(../images/page1-img11.jpg);
  background-position: center center;
}
@media (max-width: 767px) {
  .stellar-section .stellar1 {
    background-size: auto 100%;
  }
}
.stellar-section .stellar2 {
  background-image: url(../images/page1-img29.jpg);
  background-position: center center;
}
@media (max-width: 767px) {
  .stellar-section .stellar2 {
    background-size: auto 100%;
  }
}
.stellar-section .stellar3 {
  background-image: url(../images/page1-img39.jpg);
  background-position: center 20%;
}
@media (max-width: 767px) {
  .stellar-section .stellar3 {
    background-size: auto 100%;
  }
}
/*============  Floats  =============*/
.f__left {
  float: left;
}
.f__right {
  float: right;
}
@media (max-width: 1199px) {
  .f__none-1199 {
    float: none;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .f__none-768 {
    float: none;
  }
}
@media (max-width: 767px) {
  .f__none-767 {
    float: none;
  }
}
@media (max-width: 479px) {
  .f__none-479 {
    float: none;
  }
}
/*============= Text ============*/
.t__center {
  text-align: center;
}
.t__right {
  text-align: right;
}
.t__left {
  text-align: left;
}
.t__up {
  text-transform: uppercase;
}
.t__low {
  text-transform: lowercase;
}
.t__none {
  text-transform: none;
}
.brr-50 {
  border-radius: 50%;
}
/*============= Overflow ===============*/
.o__hidden {
  overflow: hidden;
}
.color_2 {
  color: #27326d;
}
.white {
  color: #ffffff;
}
/* Space between cards without breaking Owl's widths */
#owl1 .box3,
#owl-cathy .box3,
#owl-horizon .box3,
#owl-mamoad .box3,
#owl-mamosd .box3,
#owl-mpad .box3,
#owl-mpsd .box3,
#owl-ross .box3,
#owl-seasonal .box3 {
  margin: 0 10px;
}
/* Base safe spacing for all states */
#owl-seasonal {
  width: 100%;
  margin: 0 auto;
}

/* If the carousel isn't initialized (fallback mode) */
#owl-seasonal:not(.owl-loaded) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

/* Each fallback card */
#owl-seasonal:not(.owl-loaded) .item {
  flex: 0 1 260px;
  max-width: 300px;
  text-align: center;
}

/* Mobile sizing */
@media (max-width: 768px) {
  #owl-seasonal:not(.owl-loaded) .item {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* Optional: tweak padding inside each card for consistency */
#owl-seasonal .box3 {
  padding: 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}


/* Fix layout in the Latest Video section */
#vids .row {
  display: flex;
  align-items: center;      /* vertical centering */
  gap: 24px;                /* space between text and video */
}
#vids .grid_6 {
  float: none;              /* override grid floats just in this section */
  width: 50%;
}
#vids .video-box {
  position: relative;
  text-align: center;
}
#vids .video-box .img-border {
  width: 100%;
  height: auto;
  display: block;           /* removes stray bottom whitespace */
  border: 6px solid #fff;   /* optional: a clean frame */
}
#vids .video-box .video-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 72px;
  opacity: 0.9;
}
#vids .box.white h3,
#vids .box.white p { text-align: center; } /* replace <center> tags */
/* =========================
   OLDPUG THEME — BUTTONS
   ========================= */
:root{
  --opg-blue:#1d2742;   /* primary */
  --opg-blue-600:#172039;
  --opg-blue-200:#cfd4df;
  --opg-white:#ffffff;
}

a.btn, .btn, .btn2 {
  display:inline-block;
  font: inherit;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
  padding:.9rem 1.4rem;
  border-radius:8px;
  border:2px solid var(--opg-blue);
  background:var(--opg-white);
  color:var(--opg-blue);
  cursor:pointer;
  text-decoration:none;
  transition: all .18s ease;
  line-height:1;
}
a.btn:hover, .btn:hover, .btn2:hover {
  background:var(--opg-blue);
  color:var(--opg-white);
}

/* Filled primary button */
.btn-primary,
.btn2.color_2 {                 /* map old .btn2 to the primary look */
  background:var(--opg-blue);
  color:var(--opg-white);
}
.btn-primary:hover,
.btn2.color_2:hover {
  background:var(--opg-blue-600);
  border-color:var(--opg-blue-600);
}

/* Outline button */
.btn-outline{
  background:transparent;
  color:var(--opg-blue);
}
.btn-outline:hover{
  background:var(--opg-blue);
  color:var(--opg-white);
}

/* For buttons that are actually <a> */
a.btn:focus, .btn:focus, .btn2:focus {
  outline:2px solid var(--opg-blue-200);
  outline-offset:2px;
}

/* =========================
   OLDPUG — VOLUNTEER MODAL
   (single source of truth)
   ========================= */
.vol-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  z-index:100000;
  padding:1rem;
}
.vol-modal[aria-hidden="false"]{ display:block; }

.vol-modal__dialog{
  position:relative;
  z-index:100001;
  max-width:600px;
  max-height:90vh;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  margin:5vh auto;
  background:#fff;
  border-radius:10px;
  padding:1.2rem 1.4rem;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
}
.vol-modal__close{
  position:sticky;
  top:0;
  float:right;
  border:0;
  background:transparent;
  font-size:1.6rem;
  cursor:pointer;
}

body.modal-open { overflow:hidden; }

/* Keep video layers behind modal just in case */
.stellar-section iframe,
.video-box iframe { position:relative; z-index:1; }

/* =========================
   CONTACT / FOOTER TIDY
   ========================= */
#contact.stellar-section { margin-bottom:0; }
#contact .stellar-block { padding-bottom:24px; }
#contact .overlay3 { padding-bottom:0; }
#contact .wrapper3 { padding-bottom:24px; margin-bottom:0; }

#footer { padding-top:24px; }
#footer .social-list { display:flex; justify-content:center; gap:48px; margin:8px 0 4px; }
#footer .divider { max-width:1100px; margin:16px auto 0; height:1px; background:#e7e7e7; }

/* Optional: headings/buttons minor polish to match */
.heading .btn, .heading .btn2 { margin-top:8px; }
/* Center single CTA buttons in content sections */
.cta-center { text-align: center; }
.cta-center .btn { display: inline-block; }
#footer { background:#fff; color:#111; }
#footer .copyright { color:#111; opacity:.85; }
#footer .copyright a { color:#1d2742; text-decoration:underline; }
#footer .copyright a:hover { opacity:1; }
/* ---------- Legal pages (privacy / terms) reset ---------- */
.legal-page { background:#fff; color:#111; }

/* Header bar */
.legal-page #header { 
  background:#1d2742; 
  color:#fff; 
  padding:24px 0;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.legal-page #header h1,
.legal-page #header p,
.legal-page #header .btn { color:#fff; }
.legal-page #header .btn.btn-outline {
  background:transparent; 
  border-color:#fff; 
  color:#fff;
}
.legal-page #header .btn.btn-outline:hover{
  background:#fff; 
  color:#1d2742;
}

/* Main content area */
.legal-page .wrapper1,
.legal-page section { 
  background:#fff; 
  opacity:1;               /* ensure no inherited fade */
}
.legal-page h3, 
.legal-page h4 { color:#111; }
.legal-page p, 
.legal-page li { color:#111; opacity:.95; }

/* Footer readable on light bg */
.legal-page #footer { background:#fff; color:#111; }
.legal-page #footer .copyright { color:#111; opacity:.85; }
.legal-page #footer .copyright a { color:#1d2742; text-decoration:underline; }
.legal-page #footer .divider { background:#e7e7e7; }

/* Make sure no “modal-open” leftovers affect scroll */
.legal-page.modal-open { overflow:auto; }
/* Footer social bar */
#footer { background:#fff; color:#111; padding-top:24px; }
#footer .social-wrap{
  background:#f3f4f7;            /* subtle band so icons don't float on white */
  padding:18px 0;
}
#footer .social-list{
  display:flex; justify-content:center; gap:28px;
  margin:0; padding:0; list-style:none;
}

/* Big, tappable, high-contrast icon buttons */
#footer .social-list a{
  display:grid; place-items:center;
  width:52px; height:52px;        /* 44px+ touch target */
  border-radius:999px;
  background:#1d2742;             /* OLDPUG blue */
  color:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration:none;
}
#footer .social-list a:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 16px rgba(0,0,0,.12);
  background:#172039;
}

/* If your icons are <i> fonts or inline SVGs */
#footer .social-list a i,
#footer .social-list a svg{ font-size:24px; width:24px; height:24px; }

/* Tone down/remap the faint divider lines under icons */
#footer .divider{ background:#e7e7e7; height:1px; max-width:1100px; margin:12px auto 0; }
/* Footer social list: bigger, centered, high-contrast buttons */
#footer .social-list{
  display:flex;
  justify-content:center;
  gap:28px;
  margin:0;
  padding:18px 0 8px;
  list-style:none;
}

#footer .social-list li{ margin:0; }

/* turn each link into a round button */
#footer .social-list a{
  display:grid;
  place-items:center;
  width:56px;               /* tap target 44px+ */
  height:56px;
  border-radius:9999px;
  background:#1d2742;       /* OLDPUG blue */
  color:#fff;
  text-decoration:none;
  box-shadow:0 4px 10px rgba(0,0,0,.10);
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
  -webkit-tap-highlight-color: transparent;
}
#footer .social-list a:hover{
  transform:translateY(-2px);
  background:#172039;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
}

/* ensure SVGs inherit color and are visually balanced */
#footer .social-list svg{
  width:26px;
  height:26px;
  fill:currentColor;
  display:block;
}

/* Make footer social buttons pop */
#footer .social-list { gap:36px; padding:22px 0 10px; }

#footer .social-list a{
  position:relative;
  display:grid; place-items:center;
  width:64px; height:64px;                 /* bigger tap target */
  border-radius:9999px;
  background:#1d2742;                      /* solid OLDPUG blue */
  color:#fff;                               /* makes SVG white via currentColor */
  text-decoration:none;
  box-shadow:0 10px 24px rgba(29,39,66,.18);
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
#footer .social-list a:hover{
  transform:translateY(-4px) scale(1.04);
  background:#172039;
  box-shadow:0 16px 32px rgba(29,39,66,.28);
}

/* ensure SVGs inherit white and don’t keep a black fill */
#footer .social-list a svg,
#footer .social-list a svg *{
  width:28px; height:28px;
  fill:currentColor !important;
  stroke:currentColor !important;
}

/* optional: light band behind icons for contrast on white footers */
#footer .social-band{ background:#eef1f6; }
/* 1) Make the layout fluid */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
img, video, iframe { max-width: 100%; height: auto; display: block; }

/* 2) Stop iPhone auto-zoom on form fields (you’ve got a volunteer form) */
input, select, textarea { font-size: 16px; }

/* 3) Responsive container + grid collapse */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.grid_6 { flex: 1 1 48%; }

/* 4) Social icons: tappable size + spacing */
.social-list { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.social-list a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #ffffff; /* or a brand color */
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.social-list svg { width: 24px; height: 24px; }

/* 5) Make the video embed behave (16:9 wrapper) */
.video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.video-wrap iframe, .video-wrap video {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

/* 6) Kill parallax/“fixed” backgrounds on mobile (they jitter on iOS) */
@media (max-width: 1024px) {
  [data-stellar-background-ratio],
  .stellar-section,
  .stellar-block {
    background-attachment: scroll !important;
    background-position: center top !important;
  }
}

/* 7) Typography & spacing on small screens */
@media (max-width: 768px) {
  .grid_6 { flex: 1 1 100%; }
  h1 { font-size: 1.9rem; line-height: 1.2; }
  h2 { font-size: 1.5rem; }
  p, li { font-size: 1rem; line-height: 1.6; }
  .wrapper2, .box { padding: 16px; }
  .social-list a { width: 48px; height: 48px; }
  .social-list svg { width: 22px; height: 22px; }
}

/* 8) Safer animations on mobile */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  .wow, [data-wow-delay] { animation: none !important; opacity: 1 !important; }
}

/* 9) Don’t let long words blow up the layout */
h1, h2, h3, p, li { overflow-wrap: anywhere; }
/* --- FIX FOR DE-CENTERED DESKTOP ROWS --- */

/* Restore the classic .row layout for desktops/tablets */
@media (min-width: 769px) {
  .row {
    display: block;      /* back to normal block flow for grid.css */
  }
  .grid_6,
  .grid_12 {
    float: left;         /* reinstate column floats */
  }

  /* Reset general .social-list only outside the footer */
  #content .social-list {
    display: inline-block;
  }
}
/* Center standalone section images like About, Mission, Story, etc. */
#about img.wrap-bot,
#mission img.wrap-bot,
#story img.wrap-bot,
#parks img.wrap-bot {
  display: block;
  margin: 0 auto 2rem auto; /* centers horizontally, adds space below */
  float: none !important;   /* overrides template float-left */
  text-align: center;
  max-width: 100%;
  height: auto;
}
/* Center Park Rep / Owl Seasonal cards */
#owl-seasonal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* centers them horizontally */
  gap: 24px;                /* space between cards */
}
#owl-seasonal .item {
  flex: 0 1 260px;
  max-width: 300px;
  text-align: center;
}
/* Center card grids when the carousel isn't active */
.owl-carousel.is-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* <-- centers the row */
  gap: 24px;
}
.owl-carousel.is-fallback .item {
  flex: 0 1 260px;           /* nice card width */
  max-width: 300px;
  text-align: center;
}
/* Center cards when NOT using the carousel */
.owl-carousel.is-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* centers the row */
  gap: 24px;
}
.owl-carousel.is-fallback .item {
  flex: 0 1 260px;
  max-width: 300px;
  text-align: center;
}
/* Center images inside the small profile cards (e.g., Park Reps, Board, etc.) */
.box3 img {
  display: block;
  margin: 0 auto 20px auto; /* centers image and adds spacing below */
  float: none !important;   /* overrides any inherited float */
  text-align: center;
}
/* Center the 3 fact boxes under the "FACTS" heading */
#facts .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* center the 3 boxes */
  align-items: flex-start;
  gap: 24px;
  text-align: center;        /* center text inside each box */
}

#facts .grid_4 {
  float: none;               /* remove old floats */
  flex: 0 1 240px;           /* set a nice consistent width */
  max-width: 260px;
}
/* ---- FACTS: force centered 3-up layout ---- */
#facts { text-align: center; }                           /* center headings + blurb */
#facts .heading,
#facts .heading p { text-align: center; }

/* kill old floats + use a centered flex row */
#facts .row {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

/* each stat box width */
#facts .grid_4 {
  float: none !important;           /* override theme floats */
  flex: 0 1 300px;                  /* nice, even width */
  max-width: 320px;
}

/* tidy the inner box */
#facts .box4 { margin: 0 auto; }
#facts .box4 .number { display: block; margin: 0 auto 8px; }


/* FACTS — hard-center and ignore legacy grid gutters */
#facts .row {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;                 /* spacing between the three boxes */
  text-align: center;
}

/* Nuke grid.css floats, fixed widths, and left gutters here */
#facts .grid_4 {
  float: none !important;
  width: auto !important;
  margin: 0 !important;      /* <-- removes the left gutter causing the offset */
  flex: 0 1 320px;           /* target card width */
  max-width: 360px;
}

/* Tidy inner card */
#facts .box4 { margin: 0 auto; }
#facts .box4 .number { display: block; margin: 0 auto 8px; }
/* FACTS — center the four stat cards and ignore old float gutters */
#facts .row:last-of-type {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: flex-start;
  gap: 32px;
  text-align: center;
}

/* neutralize the legacy grid floats/widths inside this row */
#facts .row:last-of-type > [class^="grid_"] {
  float: none !important;
  width: auto !important;
  margin: 0 !important;         /* removes left gutter */
  flex: 0 1 280px;              /* nice card width */
  max-width: 340px;
}

/* minor tidy */
#facts .box4 { margin: 0 auto; }
#facts .box4 .number { display: block; margin: 0 auto 8px; }
