/* ============================================================
  WordPress WYSIWYG Editor Styles
============================================================ */

/* .entry-content img {
margin: 0 0 1.5em 0;
} */
.alignleft, img.alignleft {
margin-right: 1.5em;
display: inline;
float: left;
}
.alignright, img.alignright {
margin-left: 1.5em;
display: inline;
float: right;
}
.aligncenter, img.aligncenter {
margin-right: auto;
margin-left: auto;
display: block;
clear: both;
}
.alignnone, img.alignnone {
/* not sure about this one */
}
.wp-caption {
margin-bottom: 1.5em;
text-align: center;
padding-top: 5px;
}
.wp-caption img {
border: 0 none;
padding: 0;
margin: 0;
}
.wp-caption p.wp-caption-text {
line-height: 1.5;
font-size: 10px;
margin: 0;
}
.wp-smiley {
margin: 0 !important;
max-height: 1em;
}
blockquote.left {
margin-right: 20px;
text-align: right;
margin-left: 0;
width: 33%;
float: left;
}
blockquote.right {
margin-left: 20px;
text-align: left;
margin-right: 0;
width: 33%;
float: right;
}
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}



/* ============================================================
  GLOBAL
============================================================ */

#big-video {
    line-height: 0;
}
.c-hero section {
    line-height: 0;
}
option {
    color: #000 !important;
}
.effects {
}
.effects .img {
  background: #000 none repeat scroll 0 0;
  float: left;
  margin-right: 0.5%;
  overflow: hidden;
  position: relative;
  width: 24.5%;
}
.effects .img:nth-child(n) {
}
.effects .img:first-child {
}
.effects .img:last-child {
  margin-right: 0;
}
.effects .img img {
  display: block;
  margin: 0;
  padding: 0;

  opacity:0.6;
 /* width:100%;*/
}

.overlay {
  display: block;
  position: absolute;
  z-index: 0;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  display: block;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
}

.img .categories{
    position:absolute;
    top:0px;
    left:0px;
    background:rgba(0,0,0, 0.55);
    width:100%;
    padding:10px 0;
    z-index:99
}

.img .categories h1,
.img .categories h5 {
  color: #fff;
  margin: 0;
  text-align: center;
  font-size: 22px;
}

.img .categories h1 img {
  float: left;
  margin-right: 10px;
  width: auto;
  opacity: 1;
  height: auto
}

a.close-overlay {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  width: 45px;
  height: 45px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 45px;
  text-align: center;
  background-color: #000;
  cursor: pointer;
}

a.close-overlay.hidden {
  display: none;
}

.effects .hover:active,
.effects .hover:focus,
.effects .hover:hover {
  -webkit-transform:translateY(-0px)!important;
  transform:translateY(-0px)!important;
  -webkit-animation-name: none;
  animation-name: none;
}

a.expand {
  display: block;
  position: absolute;
  z-index: 100;
  width: 60px;
  height: 60px;
  border: solid 5px #fff;
  text-align: center;
  color: #fff;
  line-height: 50px;
  font-weight: 700;
  font-size: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}

.img .buttonarea{
    position:absolute;
    bottom:30%;
    width:100%;
}

.img a.btn {
    border:1px solid #fff;
    padding:15px 20px;
    font-size:26px;
    font-weight:100;
    background:none;
    display: block;
    clear: both;
    float: none;
    margin: 0 auto;
    max-width:300px;
    margin-bottom:10px;
    color:#fff;
    transition: all 0.5s ease;
}

.img a.btn:hover{
    background:#ff6c00;
}

@media all and (max-width: 767px) {

  html.sb-scroll-lock,
  html.sb-scroll-lock body {
    height: 100%;
    overflow: hidden;
  }
}

/* ============================================================
  EFFECT 1 - SLIDE IN BOTTOM
============================================================ */
#effect-1 .overlay {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity:0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  background:rgba(0,0,0, 0.5)
}
#effect-1 .overlay a.expand {
  left: 0;
  right: 0;
  bottom: 50%;
  margin: 0 auto -30px auto;
}
#effect-1 .img.hover .overlay {
  height: 100%;
  opacity:1
}

/* ============================================================
  EFFECT 2 - SLIDE IN TOP
============================================================ */
#effect-2 .overlay {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
}
#effect-2 .overlay a.expand {
  left: 0;
  right: 0;
  top: 50%;
  margin: -30px auto 0 auto;
}
#effect-2 .img.hover .overlay {
  height: 100%;
}

/* ============================================================
  EFFECT 3 - SLIDE IN LEFT
============================================================ */
#effect-3 .overlay {
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 100%;
}
#effect-3 .overlay a.expand {
  top: 0;
  bottom: 0;
  left: 50%;
  margin: auto 0 auto -30px;
}
#effect-3 .img.hover .overlay {
  width: 100%;
}

/* ============================================================
  EFFECT 4 - SLIDE IN RIGHT
============================================================ */
#effect-4 .overlay {
  top: 0;
  bottom: 0;
  right: 0;
  width: 0;
  height: 100%;
}
#effect-4 .overlay a.expand {
  top: 0;
  bottom: 0;
  right: 50%;
  margin: auto -30px auto 0;
}
#effect-4 .img {
  overflow: hidden;
}
#effect-4 .img.hover .overlay {
  width: 100%;
}

/* ============================================================
  EFFECT 5 - ICON BORDER ANIMATE
============================================================ */
#effect-5 .overlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
}
#effect-5 .overlay a.expand {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
#effect-5 .img.hover .overlay {
  opacity: 1;
}
#effect-5 .img.hover .overlay a.expand {
  width: 60px;
  height: 60px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}

/* ============================================================
  EFFECT 6 - ICON BOUNCE IN
============================================================ */
#effect-6 .overlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
}
#effect-6 .overlay a.expand {
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  opacity: 0;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
#effect-6 .img.hover .overlay {
  opacity: 1;
}
#effect-6 .img.hover .overlay a.expand {
  top: 50%;
  margin-top: -30px;
  opacity: 1;
}

/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media only screen and (max-width: 1100px) {
  .effects .img {
    width: 50%;
  }
  .effects .img:nth-child(n) {
    margin-right: 5px;
  }
  .effects .img:first-child {
    margin-left: 0;
  }
  .effects .img:nth-child(2n-1) {
    margin-left: -5px;
  }
  .effects .img:nth-child(2n) {
    margin-right: 0;
  }
  .effects .img:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 780px) {

    #effect-1 .overlay{
      opacity: 1;
      background: rgba(0,0,0, 0.0);
    }

    #effect-1 .img:hover .overlay{
      opacity:1;
      background: rgba(0,0,0, 0.5);
    }

    #effect-1 .img .buttonarea{
      bottom:20%;
    }
}

@media only screen and (max-width: 520px) {

  .effects .img {
    width: 100%;
  }

  .effects .img:nth-child(n) {
    margin-right: 0;
  }

  .effects .img:first-child {
    margin-left: 0;
  }

  .effects .img:nth-child(2n-1) {
    margin-left: 0;
  }

  .effects .img:nth-child(2n) {
    margin-right: 0;
  }

  .effects .img:last-child {
    margin-right: 0;
  }

  .effects .img img {
    margin: 0 auto;
  }
}
/* end image effect*/

/*load navigation*/

c-page-header .phone {
    float: right;
    font-size: 32px;
    font-weight: 300;
}

c-page-header .phone a:hover {
    text-decoration: none;
}

/* -----------------------------------------------------------------------------
 * Header
 * ----------------------------------------------------------------------------- */
.c-site-logo img {
    height: auto;
    max-width: 100%;
}

@media (max-width: 767px) {

    .c-site-logo {
        text-align: center;
    }

    .c-page-header .phone {
        display: none;
    }
}



/* -----------------------------------------------------------------------------
 * Page Wrapper
 * ----------------------------------------------------------------------------- */
.c-page-wrapper {
    min-height: 100vh;
    position: relative;
    -webkit-transition: transform 0.4s ease;
    -o-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
}

.c-page-wrapper.slidebar-active {
  overflow: hidden;
}

@media all and (max-width: 479px) {

  .c-page-wrapper.slidebar-active {
    transform: translateX(240px);
  }
}

@media all and (min-width: 480px) and (max-width: 767px) {

  .c-page-wrapper.slidebar-active {
    transform: translateX(260px);
  }
}



/* -----------------------------------------------------------------------------
 * Bootstrap Navigation
 * ----------------------------------------------------------------------------- */
.c-navbar {
    -webkit-box-shadow: none;
    background: transparent;
    border: none;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    position: relative;
    width: auto;
    z-index: 10;
}

.c-navbar .c-navbar__toggle {
  border-color: transparent;
  height: 37px;
  margin-bottom: 7px;
  margin-left: 5px;
  margin-top: 7px;
  width: 50px;
}

.c-navbar .c-navbar__toggle .icon-bar {
  height: 3px;
  left: 50%;
  margin: 0;
  position: absolute;
  transform: translateX(-50%);
  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.c-navbar .c-navbar__toggle .icon-bar--first {
  top: 9px;
}

.c-navbar .c-navbar__toggle .icon-bar--second {
  top: 16px;
  opacity: 1;
}

.c-navbar .c-navbar__toggle .icon-bar--last {
  top: 23px;
}

.c-navbar__toggle[aria-expanded="true"] .icon-bar--first,
.c-navbar__toggle[aria-expanded="true"] .icon-bar--last {
  top: calc(50% - 2px);
}

.c-navbar__toggle[aria-expanded="true"] .icon-bar--second {
  opacity: 0;
}

.c-navbar__toggle[aria-expanded="true"] .icon-bar--first {
  transform: translate(-50%) rotate(-45deg);
}

.c-navbar__toggle[aria-expanded="true"] .icon-bar--last {
  transform: translate(-50%) rotate(45deg);
}

.c-navbar__brand {
    font-size: 24px;
    font-weight: bold;
}

.c-navbar__brand:hover {
    text-decoration: underline;
}

.c-nav-menu {
   text-align: left;
}

.c-nav-menu__inner {
    float: none;
    vertical-align: top;
}

.c-nav-menu .menu-item a {
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-nav-menu .dropdown-menu {
    -webkit-box-shadow: none;
    border: 0;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0;
}

.c-nav-menu .dropdown-menu li {
    border-right: none;
}

/* -----------------------------------------------------------------------------
 * Bootstrap Navigation (Responsive)
 * ----------------------------------------------------------------------------- */
@media (max-width: 767px) {

    .c-navbar {
        height: auto;
        margin: 0 auto;
        min-height: 50px;
        width: 100%;
    }

    .c-nav-menu {
        background: #f7f7f7;
        margin-right: 0;
        width: 100%;
    }

    .c-navbar__toggle {
      float: left;
    }

    .c-navbar__brand {
      float: right;
    }

    .c-nav-menu .menu-item {
        border-right: 0;
    }

   .c-nav-menu .c-nav-menu__inner .menu-item.active a,
   .c-nav-menu .c-nav-menu__inner .menu-item a,
   .c-nav-menu .c-nav-menu__inner .open .dropdown-menu .menu-item a {
        color: #333;
        line-height: 20px;
        margin: 0;
        padding: 15px;
    }

    .c-nav-menu .menu-item a:hover {
        color: #333;
    }

    .c-nav-menu .c-nav-menu__inner .dropdown-menu {
        border: 0;
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0;
        margin-top: -2px;
    }

    .c-nav-menu__inner .menu-item .caret {
        -webkit-transition: -webkit-transform ease-in 0.1s;
        transition: -webkit-transform ease-in 0.1s;
        -o-transition: transform ease-in 0.1s;
        transition: transform ease-in 0.1s;
        transition: transform ease-in 0.1s, -webkit-transform ease-in 0.1s;
    }

    .c-nav-menu__inner .menu-item:not(.open) .caret {
        -webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);

    }

}

@media (min-width: 768px) {

  .c-navbar__brand {
      display: none;
  }

  .c-nav-menu {
    text-align: right;
  }

  .c-nav-menu__inner {
    display: inline-block;
}
}



/* -----------------------------------------------------------------------------
 * Slide Bar
 * ----------------------------------------------------------------------------- */
.c-slidebar {
  height: 100%;
  position: fixed;
  left: 0;
  overflow: hidden;
  overflow-y: scroll;
  top: 0;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  width: 0;
}

.c-slidebar.is-open {
  transition: none;
  width: 240px;
}

.c-slidebar__menu {
  background: transparent;
  font-weight: 400;
  height: auto !important;
  display: block;
  width: 240px;
}

.admin-bar .c-slidebar {
  padding-top: 46px;
}

@media all and (min-width: 480px) {

  .c-slidebar.is-open {
    width: 260px;
  }

  .c-slidebar__menu {
    width: 260px;
  }
}

@media all and (min-width: 768px) {

  .c-slidebar {
    display: none;
  }
}



/******Secondary Page*********/
#contentarea {
    padding-top: 25px;
    padding-bottom: 75px;
}
.secondary_page h1 {
    margin-bottom: 25px;
}
.secondary_page_sidebar label {
    display: none;
}
.has-feedback label ~ .form-control-feedback {
    bottom: 0;
    top: unset;
}
.secondary_page_sidebar h3 {
    margin-bottom: 20px;
}

.secondary_page_sidebar .search_widget .widget-title {
  margin-left: -15px;
}

.secondary_page_sidebar .search_widget .row:nth-child(3) {
    border: 1px solid #ddd;
    padding: 15px 0 0;
}

@media all and (min-width: 768px) {
    .navbar-nav.hover .sub-menu{
        display: none;
    }
    .navbar-nav.hover .sub-menu{
        float: left;
        font-size: 14px;
        left: 0;
        list-style: outside none none;
        min-width: 160px;
        padding: 5px 0;
        position: absolute;
        text-align: left;
        top: 100%;
        z-index: 1000;
    }
}

@media all and (min-width: 992px) {

	.secondary_page_sidebar .search_widget .row:nth-child(3) {
	    margin-top: 20px;
	}
}
