/*
Theme Name: DCMultipage
Author: David Chan
Author URI: http://davidchankl.me/
Description: DC\'s take on a multipage template
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dcmultipage
Tags:

This theme, like WordPress, is licensed under the GPL.

DCMultipage is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

@import 'https://fonts.googleapis.com/css?family=Josefin+Slab';
@import url('https://fonts.googleapis.com/css?family=Abel');
@import url('https://fonts.googleapis.com/css?family=Playball');


/*--------------------------------------------------------------
# Word Break
--------------------------------------------------------------*/

#primary, #secondary{

    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;

}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.centerstuff{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:10;
}

.no-padding{
    padding:0 !important;
}

.bg-gray{
  background-color: #0e0e0e;
  background-image: url("https://www.transparenttextures.com/patterns/dark-denim-3.png");
  /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
color: #f7f7f7;
border-top: 2px solid #bf0808;
}


.bg-gray a{
color: #f7f7f7;
}
.indent-left{
    padding-left:30px;
}
.single-header{
  color: #bf0808;
margin-bottom: -13px;
padding: 0;
font-size: 55px;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6{
    color:#111;
    font-family: 'Playball', cursive;

    text-transform: none;
    letter-spacing: 2px;
}

h1{
    margin-bottom: 50px;
    z-index:10;
}

body{
    color:#333;
    font-family: 'Abel', sans-serif;
    line-height:2;
    font-size:18px;
}

a{
    color:#333;
    cursor:pointer;
}

.font-size-40{
    font-size:40px;
}

.page-header{
    border-bottom:0;
}

.center{
  text-align:center;
}

/*--------------------------------------------------------------
# Shadows
--------------------------------------------------------------*/

.shadow{
    box-shadow:0px 0px 3px rgba(0,0,0,0.2) !important;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

.widget ul{
    list-style:none;
    padding-left:15px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    //display:block;
}
.hentry {
	margin: 0 0 1.8em;
	border-bottom: 1px solid #ddd;
	padding-bottom: 1.8em;
}
.byline,
.updated {
	//display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.copyright {
	float: left;
}
.copyright img{
    padding: 0px 5px 4px 5px;
    display:inline-block;
}
img.wp-post-image {
	margin-bottom: 20px;
}
.author-meta {
	margin-top: 40px;
}

.author-meta .avatar {
	border-radius: 50%;
}

.author-meta .fa{
	font-size: 22px;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.comments-title, .comment-reply-title {
	padding-bottom: 9px;
	margin: 40px 0 20px 0;
	border-bottom: 1px solid #eee;
}

ol.comment-list {
	list-style:none;
	padding-left: 0;
}

.comment-author .avatar {
	margin-right: 25px;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	padding: 4px;
}

.comment-meta {
	margin-top: 20px;
	margin-bottom: 20px;
}

.comment-details {
	overflow: hidden;
	zoom: 1;
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 1px solid #ddd;
}

.comment-details .reply {
	margin-top: 10px;
}

.comment-date a {
	font-size: 11px;
	color: #777;
	margin-right: 10px;
}

#commentform #comment {
	width: 100% !important;
}

#commentform #submit {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;

	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

#commentform #submit:hover{
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}


.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

embed,
iframe,
object,
img {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Buttons
--------------------------------------------------------------*/

.btn{
    border-radius:0 !important;
    font-size:inherit;
}

.btn-group{
  margin: 30px auto;
}

.btn-danger{
    color:#fff !important;
}

.btn-fancy{
  font-family: 'Abel', sans-serif;
  color: #ffffff;
  /* border: 2px solid; */
  margin-top: 20px;
  cursor: -webkit-zoom-in;
  padding: 9px 20px;
  font-size: 18px;
  text-transform: uppercase;
  background-color: #257b5c;
  letter-spacing: 2px;
}
.btn-fancy:hover{
    color:#fff;
    border-color:#bf0808;
    background-color:#bf0808;
}
.btn-fancy-black{
  color: #fff;
  border: 0;
  cursor: -webkit-zoom-in;
  padding: 10px 20px;
  background: #257b5c;
}
.btn-fancy-white{
  color:#fff;
  border-color:#257b5c;
  background-color:#257b5c;
    margin-top: 7px;
    cursor: -webkit-zoom-in;
    padding: 10px 20px;
}

.btn-fancy-black:hover{
    color:#fff;
    border-color:#333;
    background-color:#333;
}

.btn-fancy-white:hover{
  color:#fff;
  border-color:#bf0808;
  background-color:#bf0808;
}

/*--------------------------------------------------------------
## Fancy Navigation
--------------------------------------------------------------*/

.fancy-header{
    padding-bottom:85px;
}

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 220px;
}

#sidebar-wrapper {
    z-index: 1000;
    left: 220px;
    width: 0;
    height: 100%;
    margin-left: -220px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #1a1a1a;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#sidebar-wrapper::-webkit-scrollbar {
  display: none;
}

#wrapper.toggled #sidebar-wrapper {
    width: 220px;
}

#page-content-wrapper {
    width: 100%;
    padding-top: 70px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -220px;
}

.sidebar-header{
    width: 100%;
    height: 150px;
    text-align: center;
    position: relative;
}

.sidebar-header img{
  display: inline-block;
width: auto;
max-height: 120px;
}

.sidebar-nav {
  top: 0;
width: 220px;
margin: 0;
padding: 0;
list-style: none;
font-family: 'Abel', sans-serif;
letter-spacing: 1px;
text-transform: uppercase;
font-size: 15px;
}

.sidebar-nav li {
    position: relative;
    line-height: 20px;
    display: inline-block;
    width: 100%;
}

.sidebar-nav li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 3px;
    background-color: #1c1c1c;
    -webkit-transition: width .2s ease-in;
      -moz-transition:  width .2s ease-in;
       -ms-transition:  width .2s ease-in;
            transition: width .2s ease-in;

}

.sidebar-nav li:nth-child(1):before {
    background-color: #bf0808;
}
.sidebar-nav li:nth-child(2):before {
    background-color: #b70505;
}
.sidebar-nav li:nth-child(3):before {
    background-color: #a92636;
}
.sidebar-nav li:nth-child(4):before {
    background-color: #861f2c;
}
.sidebar-nav li:nth-child(5):before {
    background-color: #5a141d;
}
.sidebar-nav li:nth-child(6):before {
    background-color: #2b070b;
}
.sidebar-nav li:nth-child(7):before {
    background-color: #2b070b;
}
.sidebar-nav li:nth-child(8):before {
    background-color: #35acdf;
}
.sidebar-nav li:hover:before,
.sidebar-nav li.open:hover:before {
    width: 100%;
    -webkit-transition: width .2s ease-in;
      -moz-transition:  width .2s ease-in;
       -ms-transition:  width .2s ease-in;
            transition: width .2s ease-in;

}

.sidebar-nav li a {
    display: block;
    color: #ddd;
    text-decoration: none;
    padding: 10px 15px 10px 30px;
}

.sidebar-nav li a:hover,
.sidebar-nav li a:active,
.sidebar-nav li a:focus,
.sidebar-nav li.open a:hover,
.sidebar-nav li.open a:active,
.sidebar-nav li.open a:focus{
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 20px;
    line-height: 44px;
}
.sidebar-nav .dropdown-menu {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: #222;
    box-shadow: none;
}

.hamburger {
  position: fixed;
  top: 20px;
  z-index: 999;
  display: block;
  width: 32px;
  height: 32px;
  margin-left: 15px;
  background: transparent;
  border: none;
}
.hamburger:hover,
.hamburger:focus,
.hamburger:active {
  outline: none;
}
.hamburger.is-closed:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom,
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  position: absolute;
  left: 0;
  height: 4px;
  width: 100%;
}
.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom {
  background-color: #1a1a1a;
}
.hamburger.is-closed .hamb-top {
  top: 5px;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed .hamb-middle {
  top: 50%;
  margin-top: -2px;
}
.hamburger.is-closed .hamb-bottom {
  bottom: 5px;
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover .hamb-top {
  top: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover .hamb-bottom {
  bottom: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  background-color: #1a1a1a;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-bottom {
  top: 50%;
  margin-top: -2px;
}
.hamburger.is-open .hamb-top {
  -webkit-transform: rotate(45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open .hamb-middle { display: none; }
.hamburger.is-open .hamb-bottom {
  -webkit-transform: rotate(-45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}

.overlay-fancy {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(250,250,250,.8);
    z-index: 1;
}

/*--------------------------------------------------------------
## Home
--------------------------------------------------------------*/

.home .centerstuff{
    text-align:center;
}
.home .btn-fancy{
    text-shadow:0px 0px 3px rgba(0,0,0,0.5);
}
.mainlogo{
  max-width:500px !important;
}

@media(max-width:767px){
  .mainlogo{
	max-width:300px !important;
  }
}

/*--------------------------------------------------------------
## Slider
--------------------------------------------------------------*/

.fade-carousel {
    position: relative;
    height: 60vh;
}
.fade-carousel .carousel-inner .item {
    height: 60vh;
}
.fade-carousel .carousel-indicators > li {
  margin: 0 2px;
background-color: #bf0808;
border-color: #bf0808;
opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

.overlay-slider {
  position: absolute;
width: 100%;
height: 100%;
z-index: 2;
background-color: #000;
opacity: 0.2;
}

.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3 {
  height: 60vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media(max-width:767px){
  .fade-carousel .carousel-indicators{
    display:none;
  }
}

/*--------------------------------------------------------------
## Hover Effect Panels
--------------------------------------------------------------*/

.hovereffect {
  width: 100%;
  height: 18vh;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  margin-top:15px;
  background-size:cover !important;
  background-position:center !important;
  font-family: 'Abel', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hovereffect .overlay-panel {
  width: 100%;
height: 100%;
position: absolute;
overflow: hidden;
top: 0;
background: rgba(0, 0, 0, 0.15);
left: 0;
    border: 3px solid;
}

.hovereffect img {
  display: block;
  position: relative;
}

.hovereffect h2 {
  color: #fff;
  text-align: center;
  font-size:29px;
  text-shadow: 2px 1px 0px #000;
}


.hovereffect:hover h2 {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: translate3d(-50%,-50%,0) scale3d(0.8,0.8,1);
  transform: translate3d(-50%,-50%,0) scale3d(0.8,0.8,1);
}

.hovereffect a.info {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  margin: 50px 0 0 0;
  background-color: transparent;
}

.hovereffect a.info:hover {
  box-shadow: 0 0 5px #fff;
}

.hovereffect h2,
.hovereffect p {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
  -webkit-transform-origin: 50%;
  -ms-transform-origin: 50%;
  transform-origin: 50%;
  background-color: transparent;
  margin: 0px;
  padding: 0px;
}

.hovereffect .overlay-panel:before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 2px solid #fff;
  content: '';
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-50%,-50%,0) rotate3d(0,0,1,-45deg) scale3d(0,0,1);
  transform: translate3d(-50%,-50%,0) rotate3d(0,0,1,-45deg) scale3d(0,0,1);
  -webkit-transform-origin: 50%;
  -ms-transform-origin: 50%;
  transform-origin: 50%;
}

.hovereffect p {
  width: 20%;
  text-transform: none;
  font-size: 15px;
  line-height: 2;
}

.hovereffect p a {
  color: #fff;
}

.hovereffect p a:hover,
.hovereffect p a:focus {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.hovereffect  a i {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  padding: 0px 3px;
}

.hovereffect p a:first-child i {
  -webkit-transform: translate3d(-60px,-60px,0);
  transform: translate3d(-60px,-60px,0);
}

.hovereffect p a:nth-child(2) i {
  -webkit-transform: translate3d(60px,-60px,0);
  transform: translate3d(60px,-60px,0);
}

.hovereffect p a:nth-child(3) i {
  -webkit-transform: translate3d(-60px,60px,0);
  transform: translate3d(-60px,60px,0);
}

.hovereffect p a:nth-child(4) i {
  -webkit-transform: translate3d(60px,60px,0);
  transform: translate3d(60px,60px,0);
}

.hovereffect:hover .overlay-panel:before {
  opacity: 1;
  filter: alpha(opacity=100);
  background-color: rgba(0,0,0,0.2);
  -webkit-transform: translate3d(-50%,-50%,0) rotate3d(0,0,1,-135deg) scale3d(1,1,1);
  transform: translate3d(-50%,-50%,0) rotate3d(0,0,1,-135deg) scale3d(1,1,1);
}

.hovereffect:hover p i:empty {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  opacity: 1;
  filter: alpha(opacity=100);
}

/*--------------------------------------------------------------
## About
--------------------------------------------------------------*/

#about .bg-gray{
    padding:30px;
}

/*--------------------------------------------------------------
## Menu
--------------------------------------------------------------*/
.menubox{
  text-align: center;
}
#menu-carousel .item{
	margin: 0px auto;
}
#menu-carousel .item img{
	margin-left: auto;
	margin-right: auto;
}
#menu-carousel .carousel-control.right, #menu-carousel .carousel-control.left{
	background: transparent none !important;
}
.menu-carousel-indicators.carousel-indicators{
	list-style: none;
    color: #676767;
    text-align: center;
    position: relative !important;
    margin-left: auto !important;
    margin-right: auto !important;
    left: 0 !important;
    bottom: 0px;
    top: 20px;
    letter-spacing: 1px;
    margin: 0 auto;
    padding: 15px 0;
    border-bottom: 1px solid #676767;
    border-top: 1px solid #676767;
}
.menu-carousel-indicators.carousel-indicators li{
	display: inline !important;
	border: 0px;
	margin: 0 10px;
}
.menu-carousel-indicators.carousel-indicators li.active{
	background-color: transparent !important;
	color: #cc0000!important;
	border-radius: 0px !important;
	margin: 0 10px;
    padding-bottom:5px;
}

.menu-carousel-indicators.carousel-indicators li:first-child:before{
        display: none;
}
#menu-carousel .carousel-inner{
	margin-top: 50px;
}
#menu-carousel table tr td{
	width: 85%;
	vertical-align: top;
	padding: 0px 0px 20px;
}
#menu-carousel table tr th{
	height: 55px;
	font-size: 20px;
	text-transform: uppercase;
	padding: 20px 0px 5px;
}
#menu-carousel table tr td p{
	margin-bottom: 0px;
}
#menu-carousel table tr td strong,
#menu-carousel table tr td b{
	font-size: 17px;
	letter-spacing: 1px;
}
#menu-carousel table tr td:nth-child(2){
	letter-spacing: 1px;
	vertical-align: top;
    text-align: right;
}
.menu-h2{
  color: #ececec;
/* background: #fff; */
font-size: 20px;
margin: 50px auto 0px auto;
}

.dropdown-menu {
    font-family: 'Abel', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 16px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border-radius:0;
}

.dropdown-menu li:hover a{
    background-color:#bf0808;
    color:#fff;
}
/*--------------------------------------------------------------
## Contact
--------------------------------------------------------------*/

#contact .bg-gray{
    padding:30px;
}

.blurb{
    margin-top:30px;
    margin-left:20%;
    width:80%;
    text-align:right;
}

/*--------------------------------------------------------------
## Modal
--------------------------------------------------------------*/

.modal-content{
    border-radius: 0;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}
.modal-header, .modal-content, .modal-footer{
    border:none;
}
.modal-content .thumbnail p{
    height:40vh;
}

.modal-body{
text-align:center;
}

.modal-body .fa{
	margin:10px;
}
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.gallery-panel{
    padding-bottom: 33.33333333%;
    background-size:cover !important;
    background-position:center !important;
    transition-duration:0.3s;
    -webkit-transition-duration:0.3s;
}

.gallery-panel:hover{
    transform:scale(1.1);
    -webkit-transform:scale(1.1);
    z-index:5;
}

/*--------------------------------------------------------------
# Post Meta
--------------------------------------------------------------*/

.entry-meta span {
	margin-right: 20px;
	display: inline-block;
}

.entry-meta span:last-child {
	margin-right: 0;
}

.entry-meta span .fa{
	color: #bcbcbc;
}

.entry-meta span a {
	color: #777;
	text-decoration: none;
}

.entry-meta span a:hover {
	text-decoration: underline;
}

.posted-on .fa, .byline .fa{
    color:#bcbcbc;
}

.posted-on a, .byline a{
    color:#777;
    text-decoration:none;
}

.posted-on a:hover, .byline a:hover{
    color:#555;
    font-weight:bold;
}
.comments-link span{
    display:none;
}
.post-navigation{
    display:none;
}

.overflowscroll{
overflow:scroll;
}
/*--------------------------------------------------------------
Search
--------------------------------------------------------------*/
.search-highlight {
    background:#FFFF00
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
  .footer-bg {     background-color: transparent;
          color: #0e0e0e;
          margin-top: 41px;
          padding: 17px 0;
          z-index: 10;}


.footer {
	margin-left:0;
    margin-bottom:0;
}

.footer li {
	display:inline;
	list-style-type:none;
}

.footer li a {
	border-left:1px solid #ddd;
	padding: 0 8px;
}

.footer > li:first-child > a {
	border-left:none;
	padding:0 8px 0 0;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

.portfolio img.wp-post-image{
    margin-bottom: 0;
    height: auto;
}

.portfolio-item{
    margin: 10px 0;
}

.thumbnail{
    margin-bottom: 5px;
    border-radius:0;
    border-color:#333;
    padding:0;
}

.portfolio h4{
    margin-top: 17px;
    color:#f7f7f7;
}

.portfolio h4 a{
    color:#f7f7f7;
}
.single-portfolio .hentry {
	border-bottom: 0;
}

.entry-content{
    padding:30px;
    background-color:#0e0e0e;
    color:#f7f7f7;
}



/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
	.hovereffect{
        height:170px;
        margin-top:10px;
    }
    .shadow{
        box-shadow:none;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

	.copyright {
		float: right;
	}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

@media(min-width: 768px){
	#menu-carousel table:not(.big-table){
		display: table;
		float: left;
		width: 45%;
		margin: 0px 2%;
	}
	#menu-carousel .big-table{
		display: table;
		float: left;
		width: 96%;
		//padding: 0px 2%;
	}
	#menu-carousel table.big-table tr td{
		padding-left: 2%;
	}
}

/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/
@media only screen and (max-device-width : 768px) {
  .hovereffect  a i{
    opacity:0;
  }
  .hovereffect:hover p i:empty{
    opacity:0;
  }
  .hovereffect:hover h2{
    opacity:1;

  }
  .hovereffect:hover .overlay-panel:before{
    opacity:0;
    /*CSS transforms*/
     -o-transform: none !important;
     -moz-transform: none !important;
     -ms-transform: none !important;
     -webkit-transform: none !important;
     transform: none !important;
  }

hovereffect:hover h2, .hovereffect  a i,  .hovereffect p a:first-child i, .hovereffect p a:nth-child(2) i, .hovereffect p a:nth-child(3) i, .hovereffect p a:nth-child(4) i,  .hovereffect:hover p i:empty {
    /*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
  /*CSS transforms*/
   -o-transform: none !important;
   -moz-transform: none !important;
   -ms-transform: none !important;
   -webkit-transform: none !important;
   transform: none !important;
   /*CSS animations*/
   -webkit-animation: none !important;
   -moz-animation: none !important;
   -o-animation: none !important;
   -ms-animation: none !important;
   animation: none !important;
  }


}

/* ipad */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
  .fade-carousel {
    position: relative;
    height: 500px;
  }
  .fade-carousel .carousel-inner .item {
    height: 500px;
  }
  .fade-carousel .slides .slide-1,
  .fade-carousel .slides .slide-2,
  .fade-carousel .slides .slide-3 {
    height: 500px;
  }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
  .fade-carousel {
    position: relative;
    height: 1000px;
  }
  .fade-carousel .carousel-inner .item {
    height: 1000px;
  }
  .fade-carousel .slides .slide-1,
  .fade-carousel .slides .slide-2,
  .fade-carousel .slides .slide-3 {
    height: 1000px;
  }
}
/* Android */
@media only screen and (min-device-width: 320px) and (min-device-height: 569px) and (max-device-height: 700px) and (orientation : landscape){
  .fade-carousel {
    position: relative;
    height: 300px;
  }
  .fade-carousel .carousel-inner .item {
    height: 300px;
  }
  .fade-carousel .slides .slide-1,
  .fade-carousel .slides .slide-2,
  .fade-carousel .slides .slide-3 {
    height: 300px;
  }

}
@media only screen and (min-device-width: 320px) and (min-device-height: 569px) and (max-device-height: 700px) and (orientation : portrait) {
  .fade-carousel {
    position: relative;
    height: 400px;
  }
  .fade-carousel .carousel-inner .item {
    height: 400px;
  }
  .fade-carousel .slides .slide-1,
  .fade-carousel .slides .slide-2,
  .fade-carousel .slides .slide-3 {
    height: 400px;
  }
}
/* iphone5 */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) {
  .fade-carousel {
    position: relative;
    height: 400px;
  }
  .fade-carousel .carousel-inner .item {
    height: 400px;
  }
  .fade-carousel .slides .slide-1,
  .fade-carousel .slides .slide-2,
  .fade-carousel .slides .slide-3 {
    height: 400px;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
  .fade-carousel {
    position: relative;
    height: 300px;
  }
  .fade-carousel .carousel-inner .item {
    height: 300px;
  }
  .fade-carousel .slides .slide-1,
  .fade-carousel .slides .slide-2,
  .fade-carousel .slides .slide-3 {
    height: 300px;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

.spinner{
  width: 80px;
  height: 80px;

  border: 2px solid #f3f3f3;
  border-top:3px solid #f4cd3a;
  border-radius: 100%;

  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right: 0;
  margin: auto;

  animation: spin 1s infinite linear;
}

@keyframes spin {
  from{
    transform: rotate(0deg);
    }to{
      transform: rotate(360deg);
    }
  }

  #overlay{
    height:100%;
    width:100%;
    background:rgba(0, 0, 0, 1);
    position:fixed;
    left:0;
    top:0;
    z-index:9999;
  }
