/*
Theme Name: Delirium
Theme URI: https://vivathemes.com/wordpress-theme/delirium/
Description:  Responsive business, fashion theme.
Author: Viva Themes
Author URI: https://vivathemes.com
License: GNU GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 4.2
Tags: black, gray, white, two-columns
Text Domain: delirium
Domain Path: /languages/

Delirium Theme, (C) Viva Themes

*/

body,html{
  height:100%;
  min-height: 100%;
}

body {
	background: #fff url(images/bg.png) repeat-x;
	color: #a3978c;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-size: 15px;
	font-weight: 300;
	margin:0;
	padding:0;
	line-height: 175%;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}


h1 {
	font-size: 26px;
	color: #a3978d;
	margin-top: 20px;
	text-transform: none;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: 400;
}

h2 {
	color: #a3978d;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: 400;
	font-size: 22px;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
}

h3 {
	color: #a3978d;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: 400;
	font-size: 20px;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
}

h4 {
	color: #a3978d;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: 400;
	font-size: 16px;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
}

h5 {
	color: #a3978d;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: 400;
	font-size: 12px;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
}

p { margin-top: 6px; }

img {
	border: none; padding:0;
}

img a {
	border:none;
}

img.left {
	float: left; border: none; padding: 6px 0 0 0;
}

img.right {
	float: right; border: none; padding: 0 0 0 6px;
	}

blockquote {
	border-left:1px solid #ccc;
	margin:15px;
	padding:0 12px 0 12px;
	font-style: italic;
}

code{
	font-family:"Courier New", Courier, monospace;
}


/* links */

a {
	color: #a3978c;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

/* container */

#container {
	width: 100%;
	float: left;
	clear: left;
	overflow:hidden;
}

#wrapper {
	max-width: 916px;
	margin: 0 auto;
	padding-left: 25px;
	padding-right: 25px;
}

/* header */

#header {
  	width: 100%;
	float: left;
	clear: left;
}

#logo {
	width: 100%;
	float:left;
	margin-top: 30px;
	text-align: center;
}

#logo img {
	display: inline-block;
    max-width: 100%;
    min-width: 10px;
}

#logo a {
	color: #a3978e;
	text-decoration: none;
}

#logo h1 a,
#logo h1 {
	font-weight: 300;
	font-size: 32px;
	color: #a3978e;
	text-transform: uppercase;
	text-decoration: none;
	font-family: 'Open Sans', arial, helvetica, sans-serif;
	line-height: 36px;
	margin-top: 0;
	text-align: center;
}

/* Main Menu */

#mainmenu {
	width: 100%;
	float: left;
	clear: left;
	margin-top: 10px;
	*width: 916px; /* IE7 only hack */
}

.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sf-menu li {
	position: relative;
	z-index: 999;
}

.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}

.sf-menu > li {
	float: left;
}

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}

.sf-menu ul ul {
	top: 0;
	left: 100%;
}

/* Centre the Menu */

.sf-menu {
    float: left;
    position: relative;
    left: 50%;
}
.sf-menu ul li {
    left: 0%;
}
.sf-menu li {
    left: -50%;
}

/*** Menu Styling ***/
.sf-menu {
	float: left;
	margin-bottom: 1em;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
	padding: 7px 15px;
	text-decoration: none;
	zoom: 1; /* IE7 */
	font-size: 14px;
	text-transform: uppercase;
	color: #a3978e;
	font-weight: 400;
}

.sf-menu a:hover,
.sf-menu li.current-menu-item a {
	color: #666;
}

.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}

.sf-menu ul li {
	background: #fff;
}

.sf-menu ul ul li {
	background: #fff;
}

.sf-menu ul li a,
.sf-menu ul ul li a {
	color: #666;
	font-size: 13px;
	text-transform: none;
	line-height: 160%;
}

.sf-menu li:hover,
.sf-menu li.sfHover {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #a3978e; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(163,151,142,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #a3978e; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(163,151,142,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}

.select-menu {display: none;}

/* search */

#searchbox {
	width: 23%;
	float: right;
	margin: 0;
	padding: 0;
	height: 60px;
}

#searchform {
	width: 100%;
}

#searchform input#s {
	width: 85%;
	padding-left: 10%;
	background: none;
	border: none;
	height: 30px;
	margin-top: 10px;
	border: solid 1px #eaeaea;
	font-family: 'Open Sans', arial, helvetica;
	font-weight: 400;
	color: #666;
}

input#s:focus {
	outline:none;
}

#searchform input#searchsubmit {
	display: none;
}

#header h2 {
	display: none;
}

/**
 * slippry v1.2.1 - Simple responsive content slider
 * http://slippry.com
 *
 * Author(s): Lukas Jakob Hafner - @saftsaak
 *            Thomas Hurd - @SeenNotHurd
 *
 * Copyright 2013, booncon oy - http://booncon.com
 *
 * Thanks @ http://bxslider.com for the inspiration!
 *
 * Released under the MIT license - http://opensource.org/licenses/MIT
 */
/* -------------------------- MIXINS ---------------------------------- */
/* -------------------------- END MIXINS ---------------------------------- */
/* kenBurns animations, very basic */
@-webkit-keyframes left-right {
  0% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }

  100% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }
}

@-moz-keyframes left-right {
  0% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }

  100% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }
}

@-ms-keyframes left-right {
  0% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }

  100% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }
}

@keyframes left-right {
  0% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }

  100% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }
}

@-webkit-keyframes right-left {
  0% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }

  100% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }
}

@-moz-keyframes right-left {
  0% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }

  100% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }
}

@-ms-keyframes right-left {
  0% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }

  100% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }
}

@keyframes right-left {
  0% {
    -webkit-transform: translateY(0%) translateX(10%);
    -moz-transform: translateY(0%) translateX(10%);
    -ms-transform: translateY(0%) translateX(10%);
    -o-transform: translateY(0%) translateX(10%);
    transform: translateY(0%) translateX(10%);
  }

  100% {
    -webkit-transform: translateY(-20%) translateX(-10%);
    -moz-transform: translateY(-20%) translateX(-10%);
    -ms-transform: translateY(-20%) translateX(-10%);
    -o-transform: translateY(-20%) translateX(-10%);
    transform: translateY(-20%) translateX(-10%);
  }
}

#slidecontainer {
	width: 98%;
	padding: 1%;
	padding-bottom: 0;
	background: #f3e6da;
	float: left;
	clear: left;
	margin-top: 0px;
	-webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  margin-bottom: 40px;
  display: none;
}

.sy-box {
	-webkit-transition: all 3s ease;
  -moz-transition: all 3s ease;
  -o-transition: all 3s ease;
  -ms-transition: all 3s ease;
  transition: all 3s ease;
  margin: 0;
  padding: 0;
}

li.sy-slide {
	line-height: 100%;
}

/* added to the original element calling slippry */
.sy-box.sy-loading {
  background: url(images/sy-loader.gif) 50% 50% no-repeat;
  -webkit-background-size: 32px;
  -moz-background-size: 32px;
  -o-background-size: 32px;
  background-size: 32px;
  min-height: 40px;
}
.sy-box.sy-loading .sy-slides-wrap, .sy-box.sy-loading .sy-pager {
  visibility: hidden;
}

/* element that wraps the slides */
.sy-slides-wrap {
  position: relative;
  height: 100%;
  width: 100%;
}

.sy-slides-wrap:hover .sy-controls {
  display: block;
}

/* element that crops the visible area to the slides */
.sy-slides-crop {
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden;
}

/* list containing the slides */
.sy-list {
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;

}
.sy-list.horizontal {
  -webkit-transition: left ease;
  -moz-transition: left ease;
  -o-transition: left ease;
  transition: left ease;
}
.sy-list.vertical {
  -webkit-transition: top ease;
  -moz-transition: top ease;
  -o-transition: top ease;
  transition: top ease;
}

/* single slide */
.sy-slide {
  position: absolute;
  width: 100%;
  z-index: 2;
}
.sy-slide.kenburns {
  width: 140%;
  left: -20%;
}
.sy-slide.kenburns.useCSS {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}
.sy-slide.kenburns.useCSS.sy-ken:nth-child(1n) {
  -webkit-animation-name: left-right;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-name: left-right;
  -moz-animation-fill-mode: forwards;
  -o-animation-name: left-right;
  -o-animation-fill-mode: forwards;
  animation-name: left-right;
  animation-fill-mode: forwards;
}
.sy-slide.kenburns.useCSS.sy-ken:nth-child(2n) {
  -webkit-animation-name: right-left;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-name: right-left;
  -moz-animation-fill-mode: forwards;
  -o-animation-name: right-left;
  -o-animation-fill-mode: forwards;
  animation-name: right-left;
  animation-fill-mode: forwards;
}
.sy-slide.sy-active {
  z-index: 3;
}
.sy-slide > a {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.sy-slide > a > img {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  border: 0;
}

/* next/ prev buttons, with arrows and clickable area a lot larger than the visible buttons */
.sy-controls {
  display: none;
  list-style: none;
  height: 100%;
  width: 100%;
  position: absolute;
  padding: 0;
  margin: 0;
}
.sy-controls li {
  position: absolute;
  width: 10%;
  min-width: 4.2em;
  height: 100%;
  z-index: 33;
}
.sy-controls li.sy-prev {
  left: 0;
  top: 0;
}
.sy-controls li.sy-prev a:after {
  background-position: -5% 0;
}
.sy-controls li.sy-next {
  right: 0;
  top: 0;
}
.sy-controls li.sy-next a:after {
  background-position: 105% 0;
}
.sy-controls li a {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  text-indent: -9999px;
}
.sy-controls li a:link, .sy-controls li a:visited {
  opacity: 0.4;
}
.sy-controls li a:hover, .sy-controls li a:focus {
  opacity: 0.8;
  outline: none;
}
.sy-controls li a:after {
  content: "";
  background-image: url(assets/img/arrows.svg);
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  text-align: center;
  text-indent: 0;
  line-height: 2.8em;
  color: #111;
  font-weight: 800;
  position: absolute;
  background-color: #fff;
  width: 2.8em;
  height: 2.8em;
  left: 50%;
  top: 50%;
  margin-top: -1.4em;
  margin-left: -1.4em;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}
@media only screen and (max-device-width: 600px) {
  .sy-controls {
    display: block;
  }
  .sy-controls li {
    min-width: 2.1em;
  }
  .sy-controls li a:after {
    width: 1.4em;
    height: 1.4em;
    margin-top: -0.7em;
    margin-left: -0.7em;
  }
}

/* captions, styled fo the overlay variant */
.sy-caption-wrap {
  position: absolute;
  bottom: -34px;
  z-index: 12;
  left: 0;
  text-transform: none;
}
.sy-caption-wrap .sy-caption {
  position: relative;
  left: 2px;
  color: #a3978c;
  font-weight: 300;
  padding: 0;
  -webkit-border-radius: 1.2em;
  -moz-border-radius: 1.2em;
  -ms-border-radius: 1.2em;
  -o-border-radius: 1.2em;
  border-radius: 1.2em;
  font-size: 22px;
}
.sy-caption-wrap .sy-caption a:link, .sy-caption-wrap .sy-caption a:visited {
  color: #a3978c;
  font-weight: 300;
  text-decoration: none;
}
.sy-caption-wrap .sy-caption a:hover, .sy-caption-wrap .sy-caption a:focus {
  text-decoration: underline;
}
@media only screen and (max-device-width: 600px), screen and (max-width: 600px) {
  .sy-caption-wrap {
    left: 0;
    bottom: -36px;
  }
  .sy-caption-wrap .sy-caption {
    left: 0;
    padding: 0.2em 0.4em;
    font-size: 0.92em;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
}

/* pager bubbles */
.sy-pager {
  overflow: hidden;
  *zoom: 1;
  display: block;
  width: 100%;
  margin: 0;
  margin-top: 15px;
  margin-bottom: 5px;
  padding: 0;
  list-style: none;
  text-align: right;
}
.sy-pager li {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  margin-left: 7px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}
.sy-pager li.sy-active a {
  background-color: #bbaea2;
}
.sy-pager li a {
  width: 100%;
  height: 100%;
  display: block;
  background-color: #fff;
  text-indent: 9999px;
  -webkit-background-size: 2em;
  -moz-background-size: 2em;
  -o-background-size: 2em;
  background-size: 2em;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}
.sy-pager li a:link, .sy-pager li a:visited {
  opacity: 1.0;
}
.sy-pager li a:hover, .sy-pager li a:focus {
  opacity: 0.6;
}

/* element to "keep/ fill" the space of the content, gets intrinsic height via js */
.sy-filler {
  width: 100%;
}
.sy-filler.ready {
  -webkit-transition: padding 600ms ease;
  -moz-transition: padding 600ms ease;
  -o-transition: padding 600ms ease;
  transition: padding 600ms ease;
}


/* Featured Posts Template */

#services {
	width: 104%;
	float: left;
	clear: left;
	margin-left: -1.5%;
	padding-bottom: 40px;
}

#servicesinner {
	width: 100%;
	float: left;
	margin: 0;
}

.servicespost {
	width: 30%;
	float: left;
	margin: 0;
	margin-left: 1.5%;
	margin-right: 1.5%;
	padding-bottom: 30px;
	opacity: 0;
	-moz-opacity: 0;
	-webkit-transition: all 3s ease;
  	-moz-transition: all 3s ease;
  	-o-transition: all 3s ease;
  	-ms-transition: all 3s ease;
  	transition: all 3s ease;
}

#services .onScreen {
	opacity: 1;
	-moz-opacity: 1;
}



.attachment-delirium-servicethumb {
	-webkit-transition: all 0.2s ease;
  	-moz-transition: all 0.2s ease;
 	-o-transition: all 0.2s ease;
  	-ms-transition: all 0.2s ease;
  	transition: all 0.2s ease;
}

.attachment-delirium-servicethumb:hover {
	opacity: 0.6;
	-moz-opacity: 0.6;
	zoom: 1;
}

.servicespost h2.entry-title a,
.servicespost h2.entry-title {
	font-weight: 400;
	font-size: 18px;
	margin-top: 20px;
	margin-bottom: 15px;
	padding: 0;
	text-transform: uppercase;
}


/* Portfolio Template */

#portfoliowrapper {
	width: 107%;
	float: left;
}

.flip-container h2.entry-title {
	text-align: center;
	color: #fff;
	font-weight: 300;
	margin-top: 20px;
}

.flip-container {
	-webkit-perspective: 1000;
	-moz-perspective: 1000;
	-ms-perspective: 1000;
	perspective: 1000;
	-ms-transform: perspective(1000px);
	-moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
}


/* START: Accommodating for IE */
.flip-container:hover .backflip, .flip-container.hover .backflip {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.flip-container:hover .frontflip, .flip-container.hover .frontflip {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
/* END: Accommodating for IE */

.flip-container{
	width: 260px;
	float: left;
	margin-right: 6.8%;
	height: 300px;
	margin-bottom: 60px;
	opacity: 0;
	-moz-opacity: 0;
	-webkit-transition: all 3s ease;
  	-moz-transition: all 3s ease;
  	-o-transition: all 3s ease;
  	-ms-transition: all 3s ease;
  	transition: all 3s ease;
}

#portfoliowrapper .onScreen {
	opacity: 1;
	-moz-opacity: 1;
}

.frontflip {
	width: 260px;
	height: 300px;
}

.backflip {
	width: 220px;
	height: 260px;
	padding: 20px;
}

.flipper {
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-ms-transition: 0.6s;
	-moz-transition: 0.6s;
	-moz-transform: perspective(1000px);
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
}

.frontflip, .backflip {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;
	-o-transition: 0.6s;
	-o-transform-style: preserve-3d;
	-ms-transition: 0.6s;
	-ms-transform-style: preserve-3d;
	transition: 0.6s;
	transform-style: preserve-3d;
	position: absolute;
	top: 0;
	left: 0;
}

.frontflip {
	-webkit-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	z-index: 2;
}

.backflip {
	background: #bcaea5;
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);
	-o-transform: rotateY(-180deg);
	-ms-transform: rotateY(-180deg);
	transform: rotateY(-180deg);
}

#portfolioslider {
	width: 50%;
	height: auto;
	padding: 1%;
	background: #f3e6da;
	float: left;
	margin-top: 0px;
	-webkit-border-radius: 5px;
  	-moz-border-radius: 5px;
  	-ms-border-radius: 5px;
  	-o-border-radius: 5px;
  	border-radius: 5px;
  	margin-bottom: 20px;
	display: none;
}

.portfoliopost .smalltext {
	width: 43%;
	float: right;
}

#portfolioslider .sy-pager {
	text-align: center;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Portfolio Post Navigation */

.navigation {
	width: 100%;
	float: left;
	height: 40px;
	clear: both;
	margin-top: 5px;
}

.nav-previous {
	width: 40px;
	height: 40px;
	float: left;
	margin-right: 10px;
}

.nav-next {
	width: 40px;
	height: 40px;
	float: left;
}

.nav-next a,
.nav-previous a {
	border: solid 1px #bcaea5;
	width: 40px;
	height: 40px;
	display: block;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
	-webkit-border-radius: 50%;
  	-moz-border-radius: 5px;
  	-ms-border-radius: 5px;
  	-o-border-radius: 5px;
  	border-radius: 5px;
  	color: #bcaea5;
  	text-align: center;
text-decoration: none;
}

.nav-next a:hover,
.nav-previous a:hover {
	color: #fff;
	background: #bcaea5;
}

.nav-previous a:before {
	content: '\f430';
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 32px/1 'Genericons';
	line-height: 40px;
}

.nav-next a:before {
	content: '\f429';
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 32px/1 'Genericons';
	line-height: 40px;
}

/* Content Section */

#contentwrapper {
	width: 100%;
	float: left;
	clear: left;
	margin-top: 30px;
}

#content {
	width: 70%;
	float: left;
	margin-bottom: 40px;
}

#contentfull {
	width: 100%;
	float: left;
	margin-bottom: 40px;
}

/* content */


.attachment-delirium-blogthumb {
	opacity: 0;
	-moz-opacity: 0;
	-webkit-transition: all 3s ease;
  	-moz-transition: all 3s ease;
  	-o-transition: all 3s ease;
  	-ms-transition: all 3s ease;
  	transition: all 3s ease;
}

.attachment-delirium-blogthumb.onScreen {
	opacity: 1;
	-moz-opacity: 1;
}

.post {
	margin:0;
	padding:0;
	width: 100%;
	float: left;
	clear: left;
	margin-bottom: 40px;
}

.entry {
}

h1.entry-title,
h2.entry-title {
	margin:0;
	padding: 0;
	font-weight: 400;
	color: #a3978d;
	text-transform: uppercase;
	font-size: 18px;
}

h2.entry-title a {
	text-decoration: none;
	color: #a3978d;
	font-size: 18px;
	line-height: 120%;
}

h2.entry-title {
	margin-bottom: 0;
	padding-bottom: 0;
}

h1.archive-title, h1.portfolio-title {
	text-align: center;
	font-size: 18px;
	margin-bottom: 20px;
}

.taxonomy-description {
	text-align: center;
	font-style: italic;
	margin-bottom: 20px;
}

h2.pagetitle {
	display: none;
}

.post ul {}

.post li {
	margin-left: 15px;
}

.entry p {
	margin: 8px 0;
}


.belowpost {
	width: 100%;
	float: left;
	clear: both;
	height: 50px;
}

.postdate {
	font-weight: 400;
	color: #669966;
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none;
	width: 100%;
	float: left;
}

a.more-link {
	font-weight: 400;
	color: #669966;
	font-size: 12px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 3px 22px;
	border: solid 1px #bbaea2;
	margin-top: 10px;
	float: left;
	display: block;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
	-webkit-border-radius: 17px;
  	-moz-border-radius: 17px;
  	-ms-border-radius: 17px;
  	-o-border-radius: 17px;
  	border-radius: 17px;
}

a.more-link:hover {
	color: #bbaea2;
}

ol {
	margin: 10px;
}

ul {
	margin: 5px;
}

p.singletags {
	line-height: 32px;
}
p.singletags a {
	text-decoration: none;
	border: solid 1px #eaeaea;
	height: 26px;
	line-height: 26px;
	font-size: 14px;
	display: inline-block;
	padding: 0 6px;
	-webkit-transition: all 0.3s ease;
	-moz-transition:    all 0.3s ease;
	-ms-transition:     all 0.3s ease;
	-o-transition:      all 0.3s ease;
}
p.singletags a:hover {
	background: #eaeaea;
}
p.singletags:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 32px/1 'Genericons';
	vertical-align: top;
	content: '\f302';
}


/* Right Sidebar*/

#rightbar {
	width: 230px;
	float: right;
	margin-left: 20px;
	font-size: 14px;
	margin-bottom: 40px;
}

#rightbar .widgets {
	width: 198px;
	padding: 15px;
	border: solid 1px #eaeaea;
	margin-bottom: 30px;
	float: left;
	clear: left;
	-webkit-border-radius: 7px;
  	-moz-border-radius: 7px;
  	-ms-border-radius: 7px;
  	-o-border-radius: 7px;
  	border-radius: 7px;
}

#rightbar h2 {
	font-weight: 300;
	font-size: 18px;
	color: #669966;
	margin-top: 0;
	margin-bottom: 10px;
}

#rightbar ul {
	padding: 0;
	margin: 0;
	width: 100%;
	float: left;
	clear: left;
}

#rightbar ul li {
	padding-top: 5px;
	padding-bottom: 5px;
	list-style: none;
	width: 100%;
	margin-top: 2px;
}

#rightbar ul li ul li {
	border: none;
	list-style: none;
	margin-left: 0;
	margin-top: 2px;
	float: left;
	clear: left;
	width: 100%;
}

#rightbar ul li a {
	border: none;
	text-decoration: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 0;
}

#rightbar ul li a:hover {
	text-decoration: none;
	color: #669966;
}

#rightbar a {
	text-decoration: underline;
}

#rightbar a:hover {
	border: none;
	text-decoration: none;
}

/* misc */

.entry-content img, .comment-content img, .widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] {
 height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
 max-width: 100%;
}
img.size-full, img.size-large, img.header-image, img.wp-post-image, #contentwrapper img {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
 * Make sure videos and embeds fit their containers */ embed, iframe, object, video {
 max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}
/* Images */
.alignleft {
	float: left;
	margin-right: 10px;
}
.alignright {
	float: right;
	margin-left: 10px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
	background: #eaeaea;
	text-align: center;
}
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption {
	font-size: 10px;
	color: #757575;
}
img.wp-smiley, .rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.gallery {
	margin: 0 auto;
}
.gallery .gallery-item {
	float: left;
	margin: 0;
	padding: 0;
}
.gallery-columns-2 .gallery-item {
	width: 30%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 1px solid white;
}
.gallery img:hover {
	background: white;
}
.gallery-columns-2 .attachment-medium {
	max-width: 100%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 100%;
	height: auto;
}
.gallery .gallery-caption {
	color: #fff;
	font-size: 14px;
	margin: 0 0 12px;
}
.gallery dl, .gallery dt {
	margin: 0;
	padding: 0;
}
.gallery br+br {
	display: none;
}
.size-auto, .size-full, .size-large, .size-medium, .size-thumbnail {
	max-width: 100%;
	height: auto;
}

.entry pre {
	border: 1px solid #ededed;
	color: #666;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	overflow: auto;
	padding: 24px;
	padding: 1.714285714rem;
}
.entry table {
	border-bottom: 1px solid #ededed;
	color: #757575;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
	width: 100%;
}
.entry dl {
	margin: 0 24px;
	margin: 0 1.714285714rem;
}
.entry dt {
	font-weight: bold;
	line-height: 1.714285714;
}
.entry dd {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
.entry table caption {
	font-size: 16px;
	font-size: 1.142857143rem;
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
.entry td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}
p {
	margin-top: 6px;
}
#archivelist {
	float:left;
	margin-right: 0;
}
#archivelist ul li {
	list-style: none;
	line-height: 35px;
}
#archivelist ul {
	height: auto;
	margin-bottom: 30px;
}
#archivelist ul li a {
	color: #666;
	text-transform: uppercase;
}
#archivelist ul li a:hover {
	text-decoration: none;
}
ol {
	margin: 10px;
	padding: 0;
}
ul {
	margin: 5px;
	padding: 0;
}
.sticky {
}
.bypostauthor {
}
p.form-allowed-tags {
	display: none;
}

/* Blog Page Navigation */

.pagination {
	float: left;
	clear: left;
	width: 100%;
	height: 50px;
}

.pagination span, .pagination a {
	 border: solid 1px #bcaea5;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
	padding: 10px 16px;
	margin-right: 5px;
	text-decoration: none;
	font-size: 12px;
	text-transform: uppercase;
	-webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  font-weight: 400;
}

.pagination a:hover,
.pagination .current {
   padding: 10px 16px;
	margin-right: 5px;
	color: #669966;
	font-size: 12px;
	text-transform: uppercase;
	 border: solid 1px #bcaea5;
	 -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}


/* Contact Form 7 Style */

.wpcf7 {
	margin-top: 10px;
	float: left;
	clear: left;
	width: 70%;
}

.wpcf7 textarea,
.wpcf7 input {
	padding: 5px 8px;
	margin-bottom: 15px;
	margin-top: 3px;
	width: 100%;
	border: solid 1px #eaeaea;
	height: 30px;
	font-family: 'Open Sans', arial, sans-serif;
	color: #333;
	background: none;
	font-weight: 300;
	 -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.wpcf7 textarea {
	height: auto;
}

.wpcf7 input.wpcf7-submit {
	width: auto;
	cursor: pointer;
	border: none;
	border: solid 1px  #eaeaea;
	font-family: 'Open Sans', arial, sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	color: #bcaea5;
	padding: 8px 25px;
	-webkit-transition: all 0.7s ease;
  	-moz-transition:    all 0.7s ease;
  	-ms-transition:     all 0.7s ease;
  	-o-transition:      all 0.7s ease;
	 -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
	height: auto;
}

.wpcf7 input.wpcf7-submit:hover {
	color: #669966;
}

.wpcf7 p {
	text-align: left;
	font-size: 16px;
	margin: 0;
	margin-bottom: 6px;
	text-transform: none;
}


/* comments */


#commentform {
	margin:0;
	padding:0;
}

#commentform p {
}

#commentform a {
	text-decoration: none;
	line-height: 14pt;
}

#commentform h3 {
	font-size: 10pt;
	font-weight: 400;
	font-size: 14px;
	text-transform: uppercase;
	margin:0;
	padding:0;
}

#comment {
	width:80%;
}

#comments label {
	float: left;
	clear: left;
	margin-top: 15px;
}

#author, #email, #url, #comment {
	font-size: 11px;
	padding:12px 16px;
	border: solid 1px #eaeaea;
	float: left;
	clear: left;
	margin-top: 0;
	font-family: 'Open Sans', arial, sans-serif;
	font-weight: 300;
	-webkit-border-radius: 5px;
  	-moz-border-radius: 5px;
  	-ms-border-radius: 5px;
 	-o-border-radius: 5px;
  	border-radius: 5px;
}

#author, #email, #url {
	height:16px;
}

#submit {
	cursor:pointer;
	font-family: 'Open Sans', arial, sans-serif;
	font-weight: 300;
	padding: 12px 16px;
	border: solid 1px #eaeaea;
	float: left;
	clear: left;
	margin-top: 10px;
	-webkit-transition: all 0.4s ease;
  	-moz-transition:    all 0.4s ease;
  	-ms-transition:     all 0.4s ease;
  	-o-transition:      all 0.4s ease;
	background: none;
	color: #bcaea5;
	text-transform: uppercase;
	-webkit-border-radius: 5px;
  	-moz-border-radius: 5px;
  	-ms-border-radius: 5px;
  	-o-border-radius: 5px;
  	border-radius: 5px;
}

#submit:hover {
	color: #669966;
}

#comments {
	margin:0;
	padding:0;
	clear: left;
}

#respond h3,
#comments h2 {
	font-family: 'Open Sans', arial, sans-serif;
	font-weight: 400;
	color: #669966;
	font-size: 14px;
	text-transform: uppercase;
}


.reply a.comment-reply-link {
	border: solid 1px #eaeaea;
	-webkit-transition: all 0.4s ease;
  	-moz-transition:    all 0.4s ease;
  	-ms-transition:     all 0.4s ease;
  	-o-transition:      all 0.4s ease;
	-webkit-border-radius: 5px;
  	-moz-border-radius: 5px;
  	-ms-border-radius: 5px;
  	-o-border-radius: 5px;
  	border-radius: 5px;
	padding: 4px 7px;
	margin-top: 5px;
	float: left;
	clear: left;
}

.reply a.comment-reply-link:hover{
	border: solid 1px #eaeaea;
}

ol.commentlist {
	list-style-type: none;
	margin:0;
	padding:0;
	float:left;
	margin-top: 15px;
}

.avatar {
	float:left;
	margin: 10px 20px 0 0;
	width: 30px;
	height: 30px;
}

ol.commentlist li {
	margin: 0;
	padding: 4%;
	list-style-type:none;
	float: left;
    width: 90%;
	margin-bottom: 20px;
	border: solid 1px #eaeaea;
	-webkit-border-radius: 5px;
  	-moz-border-radius: 5px;
  	-ms-border-radius: 5px;
  	-o-border-radius: 5px;
 	border-radius: 5px;
}

ol.commentlist li ul.children {
	width: 80%;
}

ol.commentlist li ul.children li {
	width: 100%;
	border: none;
	margin-bottom: 0;
}

ol.commentlist li.alt {

}

ol.commentlist li p {
	margin: 6px 0 6px 0;
	padding: 0 12px 0 0;
	line-height: 14pt;
}

ol.commentlist a {
	text-decoration: none;
}

cite {
	font-family: arial, verdana, tahoma;
	font-size: 9pt;
	font-weight: bold;
	font-style: normal;
	}

cite a {
	color: #666;
	text-decoration: none;
	border-bottom: 1px dotted #666;
}

/* footer */

#footer {
	float: left;
	clear: left;
	width: 100%;
	margin: 0;
	padding-bottom: 40px;
	border-top: solid 1px #eaeaea;
	font-size: 13px;
	line-height: 150%;
}

/* Social Media Menu */

#menu-social .screen-reader-text {
	position: absolute;
	top:      -9999em;
	left:     -9999em;
}

#menu-social {
	margin-top: 30px;
	margin-bottom: 10px;
	width: 100%;
	float: left;
}

#menu-social ul {
	list-style: none;
	margin:  0;
	text-align: center;
}

#menu-social ul li {
	display:  inline-block;
	position: relative;
}

#menu-social ul li a {
	display:  inline-block;
	width: 40px;
	height: 40px;
	-webkit-transition: all .3s ease;
  	-moz-transition:    all .3s ease;
  	-ms-transition:     all .3s ease;
  	-o-transition:      all .3s ease;
	text-align: center;
	border: none;
	margin: 10px 5px;
	border: solid 1px #bcaea5;
	-webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

#menu-social ul li a:hover {
	text-decoration: none;
	background: #bcaea5;
}

#menu-social li a::before {
	content:        '\f408';
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 16px/1 'Genericons';
	line-height: 40px;
	color: #bcaea5;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
}

#menu-social ul li a:hover::before {
	color: #fff;
}

#menu-social li a[href*="wordpress.org"]::before,
#menu-social li a[href*="wordpress.com"]::before {
	content: '\f205';
}

#menu-social li a[href*="facebook.com"]::before {
	content: '\f204';
}

#menu-social li a[href*="twitter.com"]::before {
	content: '\f202';
}

#menu-social li a[href*="dribbble.com"]::before {
	content: '\f201';
}

#menu-social li a[href*="plus.google.com"]::before {
	content: '\f218';
}

#menu-social li a[href*="pinterest.com"]::before {
	content: '\f209';
}

#menu-social li a[href*="github.com"]::before {
	content: '\f200';
}

#menu-social li a[href*="tumblr.com"]::before {
	content: '\f214';
}

#menu-social li a[href*="youtube.com"]::before {
	content: '\f213';
}

#menu-social li a[href*="flickr.com"]::before {
	content: '\f211';
}

#menu-social li a[href*="vimeo.com"]::before {
	content: '\f212';
}

#menu-social li a[href*="instagram.com"]::before {
	content: '\f215';
}

#menu-social li a[href*="codepen.io"]::before {
	content: '\f216';
}

#menu-social li a[href*="linkedin.com"]::before {
	content: '\f207';
}

#menu-social li a[href*="foursquare.com"]::before {
	content: '\f226';
}

#menu-social li a[href*="reddit.com"]::before {
	content: '\f222';
}

#menu-social li a[href*="digg.com"]::before {
	content: '\f221';
}

#menu-social li a[href*="getpocket.com"]::before {
	content: '\f224';
}

#menu-social li a[href*="path.com"]::before {
	content: '\f219';
}

#menu-social li a[href*="stumbleupon.com"]::before {
	content: '\f223';
}

#menu-social li a[href*="spotify.com"]::before {
	content: '\f515';
}

#menu-social li a[href*="twitch.tv"]::before {
	content: '\f516';
}

#menu-social li a[href*="dropbox.com"]::before {
	content: '\f225';
}

#menu-social li a[href*="/feed.com"]::before {
	content: '\f413';
}

#menu-social li a[href*="skype"]::before {
	content: '\f220';
}

#menu-social li a[href*="mailto"]::before {
	content: '\f410';
}

#copyinfo {
	width: 100%;
	float: left;
	clear: left;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	margin-top: 8px;
	margin-bottom: 50px;
}

#copyinfo a {
	text-decoration: none;
}

#footermenu {
	width: 100%;
	text-align: center;
	margin:0;
	margin-top: 20px;
	padding: 0;
	*width: 916px; /* IE7 only hack */
}

#footermenu ul {
	text-align: center;
	width: 100%;
	margin:0;
	padding: 0;
	*width: 916px; /* IE7 only hack */
}

#footermenu ul li {
	display: inline;
	list-style: none;
	margin-left: 0px;
	height: 12px;
	line-height: 12px;
	margin-left: 10px;
}

#footermenu ul li a {
	font-size: 13px;
	text-transform: uppercase;
	border: none;
	margin-left: 10px;
	font-weight: 400;
	text-decoration: none;
}

#footermenu ul li a:hover {
	text-decoration: underline;
}

#footermenu ul li:first-child span {
	display: none;
}

#footermenu ul li:first-child,
#footermenu ul li:first-child a {
	margin-left: 0;
}

.mmenu {display:none;}

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

	#portfoliowrapper {
		width: 600px;
		float: none;
		margin: 0 auto;
	}

	.flip-container {
		margin-left: 20px;
		margin-right: 20px;
		margin-bottom: 40px;
	}

}

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

	#rightbar {
		float: left;
		clear: left;
		margin-left: 0;
		width: 100%;
		margin-bottom: 25px;
		margin-top: 12px;
	}

	#rightbar .widgets {
		width: 90%;
		padding: 4.5%;
	}

	#content {
		width: 100%;
	}

}

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

	html {
	    -webkit-text-size-adjust: none;
	}

	#mainmenu {display: none;}

	.mmenu {
  		display: block;
  		font-size: 14px;
  		width: 100%;
  		float: left;
  		clear: left;
		margin-top: 20px;
		position: relative;
	}

	.mmenu ul {
  		list-style: none;
  		padding: 0;
  		text-align: left;
  		position: relative;
  		margin: 0;
  		margin-bottom: 10px;
		display: none;
	}

	.mmenu ul li {
  		float: left;
  		*display: inline;
  		zoom: 1;
  		position: relative;
	}

	.mmenu ul li span.arrow {
  		display: block;
  		/* "display:none" to hide arrows for the non-mobile nav */
  		position: absolute;
  		top: 32px;
  		color: #000;
  		width: 20px;
  		left: 50%;
  		margin-left: -10px;
  		text-align: center;
  		font-size: 7px;
  		z-index: 5;
  		cursor: pointer;
	}

	.mmenu ul li a {
  		display: block;
  		color: #a3978e;
  		padding: 15px 20px;
  		border-bottom: 1px solid #ccc;
  		text-decoration: none;
		font-weight: 700;
		letter-spacing: 1px;
		font-size: 11px;
		text-transform: uppercase;
	}

	.mmenu ul li ul {
  		list-style: none;
  		padding: 0;
  		display: none;
  		position: absolute;
  		left: 0;
  		width: 160px;
  		margin-bottom: 0;
	}

	.mmenu ul li ul li {
  		width: 160px;
	}

	.mmenu ul li ul li a {
  		background: #eaeaea;
  		border-bottom: 1px solid #ccc;
  		display: block;
  		padding: 15px;
	}

	.mmenu ul li ul li a:hover {
  		color: #656565;
	}

	.mmenu ul li.current-menu-item a,
	.mmenu ul li:hover a {
  		color: #656565;
	}

	.mmenu ul li:hover a:hover {
 		color: #656565;
	}

	.mmenu ul li:hover ul {
  		display: block;
	}

	.mmenu ul li:hover ul a {
  		color: #656565;
	}

	.mmenu ul li:hover ul a:hover {
  		color: #656565;
	}

	.mmenu .nav-bars {
  		display: none;
  		position: absolute;
    	left: 50%;
		margin-left: -20px;
    	width: 40px;
		height: 40px;
		text-align: center;
    	top: -40px;
    	color: #a3978c;
    	font-size: 24px;
    	cursor: pointer;
    	clear: none;
		z-index: 4;
		border: none;
	}

	.mmenu .nav-bars::before {
		content: '\f419';
		display: inline-block;
		-webkit-font-smoothing: antialiased;
		font: normal 16px/1 'Genericons';
		line-height: 40px;
		color: #a3978c;
		-webkit-transition: all 0.3s ease;
  		-moz-transition:    all 0.3s ease;
  		-ms-transition:     all 0.3s ease;
  		-o-transition:      all 0.3s ease;
	}

	.opened .nav-bars::before {
		content: '\f406';
	}

	.mmenu .nav-bars i {
  		font-weight: bold;
	}

	.mmenu.mobile {
  		width: 100%;
	}

	.mmenu.mobile ul {
  		display: none;
	}

	.mmenu.mobile ul li {
  		width: 100%;
  		float: none;
	}

	.mmenu.mobile ul li span.arrow {
  		display: block;
  		top: 6px;
  		font-size: 16px;
  		margin: 0;
  		right: 2px;
  		left: auto;
  		padding: 10px;
	}

	.mmenu.mobile ul li span.arrow:hover {
  		color: #aaa;
	}

	.mmenu.mobile ul li span.arrow.arrow-rotate {
 		 -webkit-transform: rotate(180deg);
      	-ms-transform: rotate(180deg);
          transform: rotate(180deg);
	}

	.mmenu.mobile ul li a {
  		padding: 15px;
		padding-left: 25px;
	}

	.mmenu.mobile ul li ul {
  		position: static;
  		width: 100%;
	}

	.mmenu.mobile ul li ul li {
  		width: 100%;
	}

	.mmenu.mobile ul li:hover a {
  		border-bottom: 1px solid #ccc;
	}

	.mmenu.mobile ul li:hover a:hover {
  	}

	.mmenu.mobile ul li:hover ul {
  		display: none;
	}

	.mmenu.mobile ul li:hover ul a {
  	}

	.mmenu.mobile ul li:hover ul a:hover {
	}

	.mmenu.mobile .nav-bars {
  		display: block;
	}

	#services {
		width: 100%;
	}

	#portfolioslider {
		width: 98%;
	}

	#servicesinner {
		float: none;
		width: 540px;
		margin: 0 auto;
	}

	.servicespost {
		width: 240px;
		margin-left: 15px;
		margin-right: 15px;
	}

	.flip-container {
		margin: 0 auto;
		float: none;
		clear: none;
		margin-bottom: 30px;
	}

	.portfoliopost .entry {
		width: 100%;
		float: left;
	}

	.navigation {
		float: left;
	}

}

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

	#portfoliowrapper {
		width: 260px;
		float: none;
		margin: 0 auto;
	}

	.flip-container {
		margin: 0;
		margin-bottom: 30px;
	}

}

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

	#servicesinner {
		float: none;
		width: 240px;
		margin: 0 auto;
	}

	.servicespost {
		width: 240px;
		margin: 0;
	}

}
