 /*
Theme Name: WildBook
Theme URI: http://themeforest.net/item/wild-book-vintage-elegant-stylish-wordpress-personal-blog-theme-multilingual-rtl-support/10962274
Author: Nord Studio
Author URI: http://themeforest.net/user/nordstudio
Description: Wild Book is a elegant & vintage-inspired Wordpress blog theme. This theme is a content-focused, so perfect for a personal blog. A good choice for travelers, writers, artists and photographers. Wild Book very flexible, fully customizable by WordPress Customizer. It's 100% responsive so it adapts to your devices.
Version: 1.4.10
Tags: grid-layout, two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, footer-widgets, custom-menu, custom-logo, microformats, rtl-language-support, sticky-post, blog, education, entertainment, food-and-drink, news, portfolio, photography
License: 
License URI: http://themeforest.net/licenses
Text Domain: wildbook
*/

/**
 * Table of Contents
 *
 * 1.0 - Body
 *    1.1 - Preloader
 * 2.0 - Base Structure
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Icons
 * 6.0 - Forms
 * 7.0 - Links
 * 8.0 - Transitions
 * 9.0 - Alignments
 * 10.0 - Navigations
 * 11.0 - Clearings
 * 12.0 - Sidebar
 *   12.1 - Header
 *   12.2 - Primary Navigation
 *   12.3 - Toggle Buttons
 *   12.4 - Social Profiles
 * 13.0 - Content
 *   13.1 - Posts and pages
 *   13.3 - Comments
 * 14.0 - Media
 *   14.1 - Captions
 *   14.2 - Galleries
 * 15.0 - Widgets
 * 16.0 - Media Queries
 */

html {
  font-size: 14px;
}


/**
 * 1.0 - Body
 */
body {
  color: #4a4a4a;
  background: #fff;
  line-height: 1.8;
  font-size: 1rem;
	word-spacing: 1.8pt;align-content
	font-style: normal;
  /* font-family: 'Lora', 'Georgia', serif; */
	font-family: 'Courier New';
  font-weight: normal;
  height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.loaded {
  height: auto;
  overflow: visible;
}

/**
 * 1.1 - Preloader
 */
.preloader {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 1000;
  visibility: visible;
  -webkit-transition: all 0.6s ease-out 0.4s; 
          transition: all 0.6s ease-out 0.4s; 
}

.loaded .preloader {
  visibility: hidden;
  opacity: 0;
}

.spinner {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #c8ab77;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: bounce 2.0s infinite ease-in-out;
          animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
          animation-delay: -1.0s;
}

@-webkit-keyframes bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

/**
 * 2.0 - Base Structure
 */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  z-index: 10;
}

.sidebar-right .sidebar {
  left: auto;
  right: 0;
}

.site-content,
.secondary {
  background-color: #fff;
  margin-left: 40%
}

.sidebar-right .site-content,
.sidebar-right .secondary {
  margin-right: 40%;
  margin-left: 0;
}

/**
 * 3.0 - Typography
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: 2.369em;
  line-height: 1.22222222222;
  letter-spacing: -0.071428rem;
  margin: 1.139721em 0 0.379907em;
}

h2 {
  font-size: 1.777em;
  line-height: 1.416666;
  margin: 1.518750em 0 0.506250em;
}

h3 {
  font-size: 1.333em;
  line-height: 1.5;
  margin: 2.025em 0 0.675em;
}

h4 {
  font-size: 1em;
  margin: 0;
}

h5,
h6 {
  text-transform: uppercase;
  letter-spacing: 0.142857rem;
  margin: 2.7em 0 0.9em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

p {
  font-weight: normal;
  margin: 0 0 1.8em;
}

ul,
ol {
  font-weight: normal;
  margin: 0 0 1.8em;
}

ul li,
ol li {
  margin: 0 0 0.875em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
  position: relative;
  font-size: 1.125em;
  line-height: 1.7;
  font-style: italic;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 2.7em 4em;
  padding: 1.8em 0;
}

blockquote p {
  margin: 0 0 1.8em;
}

blockquote cite,
blockquote small {
  color: #bababa;
  display: block;
  font-size: 1rem;
  line-height: 1.75;
}

blockquote > :only-child,
blockquote > :last-child {
  margin: 0;
}

blockquote:before,
blockquote:after {
  position: absolute;
  left: 50%;
  margin-left: -0.357142em;  
  padding: 0 0.7rem;
  font-family: 'Georgia', serif;
  font-size: 5rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  height: 2.5rem;
  color: #e5e5e5;
  background: #fff;
}

blockquote:before {
  content: '\201C';
  top: -1.25rem;
}

blockquote:after {
  content: '\201D';
  bottom: -1.4rem;
}

pre {
	background-color: transparent;
	background-color: rgba(0, 0, 0, 0.01);
	border: 1px solid #eaeaea;
	max-width: 100%;
	overflow: auto;
	padding: 1em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

/**
 * 4.0 - Elements
 */
hr {
  margin: 2.7em;
}

ul,
ol {
	margin: 0 0 1.8em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dl {
	margin: 0 0 1.8em;
}

dd {
  margin: 0 0 1.8em;
}

table,
th,
td {
	border: 1px solid rgba(51, 51, 51, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.8em;
	table-layout: fixed; /* Prevents HTML tables from becoming too wide */
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
}

td {
	border-width: 0 1px 1px 0;
}

th, td {
	padding: 0.4em;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

figure {
	margin: 0;
}

del {
	opacity: 0.8;
}

.uppercase-text {
  font-family: 'Raleway', 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.178571em;
  font-size: 0.8571428rem;
  font-style: normal;
}

.gray-text {
  color: #bababa;
}

.small-text {
  font-size: 0.875em;
  display: inline-block;
}

.text-box {
  position: relative;
  padding: 2.142857em;
  border: 1px solid #e1e1e1;
  margin: 0 0 2.142857em;
}

.text-box:after {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  right: 3px;
  border: 1px solid #e1e1e1;
}

.text-box > :first-child {
  margin-top: 0;
}

.text-box > :last-child,
.text-box > :only-child {
  margin-bottom: 0;
}

/**
 * 5.0 - Icons
 */
.menu-icon {
  position: relative;
  vertical-align: middle;
}

.menu-icon, 
.menu-icon:before, 
.menu-icon:after {
  height: 2px;
  width: 1.428571rem;
  background: #fff;
  display: inline-block;
}

.menu-icon:before, 
.menu-icon:after {
  position: absolute;
  content: '';
}

.menu-icon:before {
  left: 0;
  top: -6px; 
}

.menu-icon:after {
  bottom: -6px;
  left: 0;
}

/**
 * 6.0 - Forms
 */
button,
input,
select,
textarea {
	background-color: #fafafa;
	border-radius: 0;
	font-size: 1rem;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

input,
textarea,
select {
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); /* Removing the inner shadow on iOS inputs */
	border: 1px solid rgba(51, 51, 51, 0.08);
	color: #333;
}

input:focus,
textarea:focus,
select:focus {
	background-color: #fff;
	border: 1px solid rgba(51, 51, 51, 0.3);
}

input:focus {
	outline: 2px solid #c1c1c1;
	outline: 2px solid rgba(51, 51, 51, 0.3);
}

button[disabled],
input[disabled],
select[disabled],
textarea[disabled] {
	cursor: default;
	opacity: .5;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #cbb78f;
	border: none;
	color: #fff;
	cursor: pointer;
	font-family: 'Raleway', 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.178571em;
  font-size: 0.785714em;
	padding: 1.636363em 1.636363em 1.636363em 1.772727em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background-color: #bba579;
	outline: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	padding: 1em;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
	outline: 0;
}

select {
  padding: 1em;
}

label {
  cursor: pointer;
  font-size: 1rem;
}

.post-password-form label {
	color: #bababa;
}

.post-password-form input[type="password"] {
  width: 14rem;
  margin-bottom: 0.714285rem;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

.search-form .search-wrap {
  display: inline-block;
  position: relative;
}

.search-form .search-field {
  display: block;
  width: 16rem;
  border-radius: 0;
  -webkit-appearance: none;
  border-radius: 0;
}

.search-form .search-submit {
  position: absolute;
  top: 50%;
  right: 0.714285em;
  margin-top: -0.5em;
	padding: 0;
	background: transparent;
	color: #b1b1b1;
	font-size: 1.285714rem;
}

.search-form .search-submit i {
  line-height: 1;
}

.search-form .search-submit:hover {
	color: #555;
}

.required {
  color: #ff5a3a;
}

/**
 * 7.0 - Links
 */

a,
a:hover {
  color: #333;
  text-decoration: none;
}

a:focus,
a:hover {
  color: rgba(0,0,0,0.5);
  outline: none;
}

a:hover > img {
  opacity: 0.7
}

.entry-meta a,
.entry-content a,
.author-info a,
.logged-in-as a,
.comment-content a,
.comment-meta a,
.widget_calendar a,
.textwidget a,
.comment-navigation a,
.image-navigation a,
.taxonomy-description a,
.nav-link {
  color: #c8ab77;
}

.entry-meta a:hover,
.entry-content a:hover,
.cat-links a:hover,
.author-info a:hover,
.logged-in-as a:hover,
.comment-content a:hover,
.comment-meta a:hover,
.widget_calendar a:hover,
.textwidget a:hover,
.comment-navigation a:hover,
.image-navigation a:hover,
.taxonomy-description a:hover,
.nav-link:hover,
.entry-meta .portfolio-cats a:hover {
  color: #a9874a;
}

/**
 * 8.0 - Transitions
 */
a,
a:after,
a:before,
input,
textarea,
button,
select {
  -webkit-transition: all 0.2s ease-out; 
          transition: all 0.2s ease-out; 
}

a > img { 
  -webkit-transform: translateZ(0); 
          transform: translateZ(0);  
  -webkit-transition: all 0.3s ease-out; 
          transition: all 0.3s ease-out; 
}

.menu-icon, 
.menu-icon:before, 
.menu-icon:after {
  -webkit-transition: background 0.2s ease-out; 
          transition: background 0.2s ease-out; 
}

/**
 * 9.0 - Alignments
 */
.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

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

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
	margin: 0.4375em 2em 2em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
	margin: 0.4375em 0 2em 2em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 0.4375em
	margin-bottom: 2em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
	margin-bottom: 1.25em;
}

/**
 * 10.0 - Navigations
 */
 
.pagination {
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  vertical-align: middle;
  width: 3.142857em;
  height: 3.142857em;
  text-align: center;
  background: #f5f5f5;
  color: #333;
  line-height: 3.142857em;
  border-radius: 100%;
}

.pagination .page-numbers i {
  line-height: 2.444444em;
  font-size: 1.285714em;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  color: #fff;
  background: #d3c4a6;
}

.pagination .page-numbers.dots {
  background: none;
}

.pagination .page-numbers.dots:hover {
  color: inherit;
}

.pagination .page-numbers.current {
  font-weight: bold;
}

.post-navigation .nav-previous,
.post-navigation .nav-next,
.comment-navigation .nav-previous,
.comment-navigation .nav-next,
.image-navigation .nav-previous,
.image-navigation .nav-next {
  width: 50%;
}

.post-navigation .nav-previous,
.comment-navigation .nav-previous,
.image-navigation .nav-previous {
  float: left;
}

.post-navigation .nav-next,
.comment-navigation .nav-next,
.image-navigation .nav-next {
  float: right;
  text-align: right;
}

.post-navigation .nav-meta {
  display: block;
  font-family: 'Raleway', 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.227272em;
  font-size: 0.785714rem;
  margin-bottom: 0.272727em;
  color: #b1b1b1;
}

.post-navigation .post-title {
  font-size: 1.142857rem;
}

.comment-navigation {
  margin-bottom: 1.428571rem;
}

.image-navigation {
  margin-bottom: 2.142857rem;
}

.attachment .post-navigation {
  margin-top: 2.142857rem;
}

.attachment .post-navigation .nav-previous {
  width: 100%;
}

.comment-navigation a,
.image-navigation a,
.nav-link {
  font-style: italic;
}

/**
 * 11.0 - Clearings
 */
.post-navigation .nav-links:after,
.comment-navigation:after,
.image-navigation:after,
.entry-content:after,
.post-navigation:after,
.comment-metadata:after {
  content: '';
  display: table;
  clear: both;
}

/**
 * 12.0 - Sidebar
 */
.sidebar {
  background-color: #766b5f;
  background-size: cover;
  color: #fff;
  text-align: center;
  color: #ddd;
}

.custom-background .sidebar:before {
  content: '';
  background: #000;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  -webkit-transition: opacity 0.3s ease-out; 
          transition: opacity 0.3s ease-out; 
}

.nav-open.custom-background .sidebar:before {
  opacity: 0.7;
}

.admin-bar .sidebar{
  top: 32px;
}

.sidebar a {
  color: #fff;
}

.sidebar a:hover {
  color: #dbca9e;
}

.sidebar-inner {
  position: relative; 
  z-index: 10;
  display: table;
  height: 100%;
  width: 100%;
  padding: 3.571428rem 5.357142rem;
}

.site-header,
.site-footer,
.secondary-navigation {
  display: table-row;
}

.site-branding,
.site-info,
.toggle-buttons {
  display: table-cell;
}

.site-branding {
  vertical-align: middle;
}

.heading-bottom .site-branding {
  vertical-align: bottom;
}

.site-info {
  vertical-align: bottom;
}

.toggle-buttons {
  vertical-align: top;
  position: relative;
  z-index: 20;
}

/**
 * 12.1 - Header
 */
.sidebar .site-title {
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.35;
  margin: 0;
  color: #fff;
}

.site-title + .site-description {
  margin-top: 0.714285em;
}

.site-title + .social-profiles {
  margin-top: 1.8em;
}

.site-description {
  font-style: italic;
}

.header-image {
  margin: 0 0 1.8em;
  overflow: hidden;
}

.header-image img {
  max-width: 13em;
  height: auto;
  width: 100%;
  transform: translateZ(0);
}

.rounded img {
  border-radius: 100%;
}

.site-branding {
  -webkit-transition: all 0.2s ease-out; 
          transition: all 0.2s ease-out; 
}

.nav-open .site-branding {
  opacity: 0;/*
  -webkit-transition-delay: 0.2s; 
          transition-delay: 0.2s; */
}

/**
 * 12.2 - Primary Navigation
 */
.site-navigation {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  -webkit-transition: all 0.4s ease-out 0s; 
          transition: all 0.4s ease-out 0s; 
}

.primary-navigation {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 20;
}

.primary-navigation .nav-menu {
  display: table-cell;
  vertical-align: middle;
}

.nav-open .site-navigation {
  visibility: visible;
  opacity: 1;/*
  -webkit-transition-delay: 0.2s; 
          transition-delay: 0.2s; */
}

.primary-navigation ul,
.right-side-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation li:last-child,
.primary-navigation li:only-child {
  margin-bottom: 0;
}

.primary-navigation .current-menu-item > a {
  color: #dbca9e;
}

.primary-navigation .nav-menu > li {
  font-size: 1.857142rem;
  line-height: 1.4;
  margin-bottom: 0.461538em;
}

.primary-navigation .menu-item-has-children > a {
  position: relative;
}

.primary-navigation .menu-item-has-children > a:after {
  content: '\e691';
  position: absolute;
  top: 50%;
  right: -1.214285em;
  margin-top: -0.357142em;
  font-family: 'entypo';
  speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
  font-size: 1rem;
  color: #b1b1b1;
}

.primary-navigation .menu-item-has-children > a:hover:after {
  color: #fff;
}

.primary-navigation .sub-menu {
  margin: 1.333333em 0 0;
  display: none;
  padding-bottom: 0.25em;
  font-size: 1.142857rem;
}

.primary-navigation .sub-menu a {
  color: inherit;
}

.primary-navigation .sub-menu li {
  margin-bottom: 0.5em;
}

.right-side-navigation {
  position: relative;
  border-bottom: 1px solid #f2f2f2;
  padding: 1.785714rem 5rem;
  text-align: center;
  background: #ffffff;
}

.right-side-navigation .nav-menu li,
.right-nav-toggle {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.181818em;
  font-size: 0.785714rem;
}

.right-side-navigation .nav-menu > li {
  margin-bottom: 0;
  display: inline-block;
}

.right-side-navigation .nav-menu > li > a {
  position: relative;
  display: inline-block;
  padding: 0.636363em 1.363636em;
  color: #333;
}

.right-side-navigation .nav-menu > li > a:hover {
  color: #a9874a;
}

.right-side-navigation .nav-menu > li > a:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.272727em;
  margin-top: -0.272727em;
  width: 0.363636em;
  height: 0.363636em;
  background: #e5d1ad;
  border-radius: 100%;
}

.right-side-navigation .nav-menu > li:last-child > a:after {
  display: none;
}

.right-side-navigation .nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 10px;
  background: #f6f6f6;
  width: 16.5em;
  margin-top: 0.454545em;
  padding: 1.090909em 0;
  z-index: 50;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s ease-out; 
          transition: all 0.3s ease-out; 
}

.right-side-navigation .nav-menu .sub-menu:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.454545em;
  margin-top: -0.454545em;
}

.right-side-navigation .nav-menu li:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
}

.right-side-navigation .nav-menu .sub-menu li > .sub-menu {
  top: 0;
  left: 100%;
  margin-top: -1.090909em;
  margin-left: 2px;
}

.right-side-navigation .nav-menu .sub-menu li > .sub-menu:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -3px;
  width: 2px;
}

.right-side-navigation .nav-menu .sub-menu li {
  margin: 0;
}

.right-side-navigation .nav-menu .sub-menu li a {
  display: inline-block;
  padding: 0.545454em 2.272727em;
}

.right-side-navigation .nav-menu .sub-menu li a:hover {
  color: #a9874a;
}

.right-nav-toggle {
  display: none;
  padding: 2.272727em 0;
}

.right-nav-toggle:hover {
  color: #333;
}

/**
 * 12.3 - Toggle Buttons
 */
.toggle-buttons {
  text-align: left;
}

.sidebar-right .toggle-buttons {
  text-align: right;
}

.toggle-button {
  background: transparent;
  border: none;
  padding: 0;
}

.toggle-button:hover,
.toggle-button:focus {
  background: transparent;
}

.nav-toggle {
  height: 40px;
  margin-right: 0.5rem;
}

.nav-toggle,
.toggle-buttons .search-form {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}

.nav-toggle .menu-icon,
.nav-toggle .menu-icon:before,
.nav-toggle .menu-icon:after {
  background: #fff;
}

.nav-toggle:hover .menu-icon,
.nav-toggle:hover .menu-icon:before,
.nav-toggle:hover .menu-icon:after {
  background: #dbca9e;
}

.toggle-buttons .search-wrap {
  padding-left: 1.428571rem;
}

.toggle-buttons .search-field {
  width: 0;
  background: transparent;
  border: none;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0.714285em;
  -webkit-transition: all 0.3s ease-out; 
          transition: all 0.3s ease-out;
}

.toggle-buttons .search-open .search-field {
  width: 15rem;
}

.secondary-navigation .search-field:focus {
  border-color: rgba(255,255,255,0.5);
}

.toggle-buttons .search-submit {
  right: auto;
  left: 0;
  color: #fff;
  font-size: 18px;
  margin-top: -0.5em;
}

.toggle-buttons .search-field::-webkit-input-placeholder {
  color: rgba(255,255,255, 0.6);
}

.toggle-buttons .search-field::-moz-placeholder {
  color: rgba(255,255,255, 0.6);
}

.toggle-buttons .search-field:-moz-placeholder {
  color: rgba(255,255,255, 0.6);
}

.toggle-buttons .search-field:-ms-input-placeholder {
  color: rgba(255,255,255, 0.6);
}

.toggle-buttons .search-submit:hover {
  color: #dbca9e;
}

/**
 * 12.4 - Social Profiles
 */
.social-profiles {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .social-profiles {
  margin-bottom: 0.714285em;
}

.social-profiles li {
  display: inline-block;
  margin: 0.214285em;
}

.social-profiles a {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  width: 3em;
  height: 3em;
  border-radius: 100%;
  text-align: center;
}

.sidebar .social-profiles {
  color: #ffffff;
}

.sidebar .social-profiles a,
.sidebar .social-profiles a:hover {
  color: inherit;
}

.sidebar .social-profiles a:hover {
  border: 1px solid rgba(255,255,255,0.5);
}

.social-profiles i {
  line-height: 2.857142em;
  line-height: calc( 3em - 2px );
}

/**
 * 13.0 - Content
 */
 
.site-content {
  overflow: hidden;
}

.page-header {
  text-align: center;
}
 
.section-title,
.page-title,
.widget-title,
.comment-reply-title {
  font-size: 1.142857rem;
  letter-spacing: 0;
  margin: 0 0 1.5em;
}

.section-title:only-child,
.page-title:only-child,
.widget-title:only-child,
.comment-reply-title:only-child {
  margin: 0;
}
 
.hentry,
.comments-area,
.entry-related-posts,
.author-info,
.navigation,
.secondary,
.page-header,
.inner-box,
.single-product .product  {
  border-bottom: 1px solid #f2f2f2;
  padding: 4.642857rem 5.357142rem;
}

.attachment .post-navigation,
.image-navigation {
  padding: 0;
  border: none;
}

.site-main > :last-child {
  border-bottom: none;
}

.secondary {
  border-top: 1px solid #f2f2f2;
  border-bottom: none;
}

.flex-container {
  box-sizing: border-box;
  display: -webkit-flex;
   display: -ms-flexbox;
          display: flex;
   -webkit-flex: 0 1 auto;
       -ms-flex: 0 1 auto;
           flex: 0 1 auto;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
}

.flex-container .flex-item {
  box-sizing: border-box;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
       -webkit-flex-basis: 50%;
  -ms-flex-preferred-size: 50%;
               flex-basis: 50%;
    max-width: 50%;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 60px;
}

.flex-container .flex-item:nth-last-child(1),
.flex-container .flex-item:nth-last-child(2) {
  margin-bottom: 0;
}

/**
 * 13.1 - Posts and pages
 */
.posts-grid .hentry {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  border: none;
  text-align: center;
}

.post-thumbnail {
  display: block;
  margin-bottom: 2.5em;
}

.post-thumbnail.has-caption {
  margin-bottom: 0;
}

.post-thumbnail-caption {
  margin-bottom: 2.5em;
}

.post-thumbnail img {
  display: block;
  margin: 0 auto;
}

.entry-header,
.entry-attachment {
  text-align: center;
  margin-bottom: 2.142857em;
}

.posts-grid .entry-header,
.posts-grid .entry-summary {
  padding-left: 10px;
  padding-right: 10px;
}

.posts-grid .entry-header {
  margin-bottom: 1.428571rem;
}

.entry-title {
  font-size: 2.285714rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 0 0 0.375em;
  letter-spacing: -0.015625em;
}

.posts-grid .entry-title {
  font-size: 1.714285rem;
  line-height: 1.45;
}

.entry-content {
  font-size: 1.142857rem;
}

.posts-grid .entry-summary > :only-child,
.posts-grid .entry-summary > :last-child {
  margin: 0;
}

.entry-content,
.entry-summary,
.page-content,
.comment-content {
	-webkit-hyphens: auto;
	   -moz-hyphens: auto;
	    -ms-hyphens: auto;
	        hyphens: auto;
	word-wrap: break-word;
}

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child,
.entry-content > h5:first-child,
.entry-content > h6:first-child,
.entry-summary > h1:first-child,
.entry-summary > h2:first-child,
.entry-summary > h3:first-child,
.entry-summary > h4:first-child,
.entry-summary > h5:first-child,
.entry-summary > h6:first-child,
.page-content > h1:first-child,
.page-content > h2:first-child,
.page-content > h3:first-child,
.page-content > h4:first-child,
.page-content > h5:first-child,
.page-content > h6:first-child,
.comment-content > h1:first-child,
.comment-content > h2:first-child,
.comment-content > h3:first-child,
.comment-content > h4:first-child,
.comment-content > h5:first-child,
.comment-content > h6:first-child {
	margin-top: 0;
}

.post-thumbnail img,
.entry-summary img,
.entry-content img,
.page-content img,
.comment-content img {
  max-width: 100%;
  height: auto;
}

.entry-content a img,
.entry-summary a img,
.page-content a img,
.comment-content a img {
	display: block;
}

.entry-content .more-link,
.entry-summary .more-link:after {
	white-space: nowrap;
}

.entry-content .more-link {
  font-style: italic;
}

.page-links {
  text-align: center;
  margin-bottom: 1.8em;
  font-style: italic;
}

.taxonomy-description p:only-child,
.taxonomy-description p:last-child,
.author-description p:only-child,
.author-description p:last-child {
  margin-bottom: 0;
}

.cat-links {
  position: relative;
  display: block;
  font-family: 'Raleway', 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.227272em;
  font-size: 0.785714em;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
}

.cat-links:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2em;
  margin-left: -1.090909em;
  height: 2px;
  background: #eee;
}

.posts-grid .cat-links {
  padding-bottom: 0;
  margin-bottom: 0.909090em;
}

.posts-grid .cat-links:after {
  display: none;
}

.sticky .sticky-badge {
  position: relative;
  background: #d3c4a6;
  padding: 0.8em 1.1em 0.8em 1.35em;
  font-family: 'Raleway', 'Open Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.714285rem;
  color: #fff;
}

.sticky .sticky-badge + .entry-title {
  margin-top: 1.8rem;
}

.posts-grid .has-post-thumbnail .sticky-badge {
  position: absolute;
  top: 0;
  left: 20px;
}

.post-meta,
.post-date,
.comment-meta,
.entry-meta .portfolio-cats a {
  font-style: italic;
  color: #bababa;
}

.post-meta:after,
.comment-meta:after {
  content: '\2022';
  margin: 0 1em;
  font-size: 0.571428em;
  display: inline-block;
  vertical-align: middle;
  color: #d5d5d5;
}

.post-meta:last-child:after,
.comment-meta:last-child:after {
  display: none;
}

.entry-tags {
  margin-bottom: 1.8em;
}

.tags-list a,
.tagcloud a {
  display: inline-block;
  padding: 0.142857em 0.714285em;
  border: 1px solid #e7e7e7;
  color: #b1b1b1;
  margin-right: 0.357142em;
  margin-bottom: 0.357142em;
  border-radius: 3px;
}

.tagcloud a {
  font-size: 1rem !important;
  margin-right: 0;
}

.tags-list a:hover,
.tagcloud a:hover {
  border-color: #ccc;
  color: #414141;
}

.entry-more {
  display: table;
  width: 100%;
  margin-top: -0.357142rem;
}

.entry-more .more-wrap,
.entry-more .entry-share {
  display: table-cell;
  vertical-align: middle;
}

.entry-more .entry-share ul,
.entry-more .entry-share ul li {
  margin-bottom: 0;
}

.entry-more .entry-share {
  text-align: right;
}

.share-buttons {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
  vertical-align: middle;
}

.share-buttons:after {
  content: '';
  display: table;
  clear: both;
}

.share-buttons li {
  float: left;
  vertical-align: middle;
  margin-right: 3px;
}

.share-buttons a {
  display: inline-block;
  background: #f5f5f5;
  width: 3.142857em;
  height: 3.142857em;
  border-radius: 100%;
  font-size: 1rem;
  text-align: center;
  color: #333;
}

.entry-content .share-buttons a {
  color: #333;
}

.share-buttons .facebook-share-button {
  font-size: 1.142857rem;
  width: 2.75em;
  height: 2.75em;
}

.share-buttons a:hover {
  background: #d3c4a6;
}

.share-buttons a:hover,
.entry-content .share-buttons a:hover {
  color: #fff;
}

.share-buttons .wdb-facebook-share-button:hover {
  background-color: #3b5998;
}

.share-buttons .wdb-twitter-share-button:hover {
  background-color: #00aced;
}

.share-buttons .wdb-google-share-button:hover {
  background-color: #dd4b39;
}

.share-buttons .wdb-pinterest-share-button:hover {
  background-color: #cb2027;
}

.share-buttons .wdb-tumblr-share-button:hover {
  background-color: #32506d;
}

.share-buttons .wdb-vk-share-button:hover {
  background-color: #45668e;
}

.share-buttons i {
  line-height: 3.142857em;
}

.share-buttons .facebook-share-button i {
  line-height: 2.75em;
}

.author-avatar {
  float: left;
}

.page-header .author-avatar {
  float: none;
  margin-bottom: 1.8rem;
}

.author-avatar img {
  max-width: 7.142857em;
  height: auto;
  border-radius: 100%;
}

.author-description {
  margin-left: 8.928571em;
}

.page-header .author-description {
  margin: 0;
}

.author-link {
  font-style: italic;
}

.related-posts .hentry {
  padding: 0;
  padding-left: 15px;
  padding-right: 15px;
  border: none;
}

.related-post .post-thumbnail {
  margin-bottom: 1rem;
}

.related-post .related-post-title {
  display: block;
  font-size: 1.142857rem;
  line-height: 1.6;
  margin-bottom: 0.3125em;
}

.search-results .entry-header {
  text-align: left;
  margin: 0;
}

.search-results .entry-title {
  font-size: 1.571428rem;
  margin: 0 0 0.454545em;
}

.search-results .post-thumbnail {
  margin-bottom: 0;
}

.not-found .search-form {
  margin-bottom: 1.8em;
}

/**
 * 13.2 - Post formats
 */
.format-video .post-thumbnail,
.format-audio .post-thumbnail {
  position: relative;
}

.format-video .post-thumbnail:after,
.format-audio .post-thumbnail:after {
  content: '';
  font-family: 'entypo';
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-top: -1em;
  margin-left: -1em;
  width: 2em;
  height: 2em;
  background: rgba(255,255,255,0.85);
  text-align: center;
  border-radius: 100%;
  font-size: 2.8571428rem;
  line-height: 2em;
  color: #CDBD87;
}

.format-video .post-thumbnail:after {
  content: "\e6b1";
  padding-left: 0.125em;
  width: 2em;
}

.format-audio .post-thumbnail:after {
  content: "\e737";
  font-size: 36px;
}

.related-post.format-video .post-thumbnail:after,
.related-post.format-audio .post-thumbnail:after,
.search-results .format-video .post-thumbnail:after,
.search-results .format-audio .post-thumbnail:after {
  font-size: 1.714285rem;
}

/**
 * 13.3 - Comments
 */
.comment-list,
.comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list .children {
  margin-top: 1.8em;
  margin-left: 5em;
}

.comment-list li {
  margin-bottom: 1.8em;
}

.comment-author {
  font-family: 'Raleway', 'Open Sans', sans-serif;
  font-size: 1rem;
  margin: 0 0 0.5em;
  letter-spacing: 0;
  text-transform: none;
}

.comment-list .bypostauthor .fn:after {
  content: 'Author';
  margin-left: 5px;
  font-family: Lora, Georgia, serif;
  font-weight: normal;
  font-style: italic;
  color: #bababa;
}

.comment-avatar {
  width: 3.571428em;
  float: left;
  margin-top: 0.357142em;
}

.comment-avatar img {
  max-width: 100%;
  height: auto;
  border-radius: 100%;
}

.entry-comment {
  margin-left: 5em;
}

.comment-notes,
.logged-in-as {
  font-style: italic;
}

.comment-respond {
  margin-top: 2.142857em;
}

.comment-respond:only-child {
  margin-top: 0px;
}

.comment-footer {
  display: table;
  width: 100%;
  margin-top: -1em;
}

.comment-footer .comment-metadata,
.comment-footer .reply {
  display: table-cell;
  vertical-align: middle;
}

.comment-footer .comment-metadata {
  font-size: 0.857142em;
}

.comment-footer .reply {
  text-align: right;
}

.comment-reply-link {
  display: inline-block;
  font-family: 'Raleway', 'Open Sans', sans-serif;
  font-size: 0.642857rem;
  text-transform: uppercase;
  letter-spacing: 0.111111em;
  padding: 0.555555em 1.222222em 0.555555em 1.333333em;
  color: #414141;
  border-radius: 3px;
  border: 1px solid #e7e7e7;
} 

.comment-reply-link:hover {
  border-color:#ccc;
}

.no-comments {
  background: #f5f5f5;
  padding: 1em 1.428571em;
  font-style: italic;
  border-radius: 3px;
}

.comment-reply-title {
  position: relative;
}

.comment-reply-title small i {
  font-size: 1.142857em;
  display: inline-block;
  vertical-align: middle;
  margin-top: -0.142857em;
}

.comment-reply-title small a {
  color: #b1b1b1;
}

.comment-reply-title small a:hover {
  color: #333;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  max-width: 22em;
}

.comment-form .form-submit {
  margin-bottom: 0;
}

/**
 * 14.0 - Media
 */
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

audio,
canvas {
	display: inline-block;
}

embed,
iframe,
object,
video {
	margin-bottom: 2.5em;
	max-width: 100%;
	vertical-align: middle;
}

p > embed,
p > iframe,
p > object,
p > video {
	margin-bottom: 0;
}

.wp-audio-shortcode,
.wp-video,
.wp-playlist.wp-audio-playlist {
	font-size: 1rem;
	margin-top: 0;
	margin-bottom: 1.8em;
}

.wp-playlist.wp-playlist {
	padding-bottom: 0;
}

.wp-playlist .wp-playlist-tracks {
	margin-top: 0;
}

.wp-playlist-item .wp-playlist-caption {
	border-bottom: 0;
	padding: 0.625em 0;
}

.wp-playlist-item .wp-playlist-item-length {
	top: 0.625em;
}

/**
 * 14.1 - Captions
 */
.wp-caption {
	margin-bottom: 1.8em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption-text,
.entry-caption p{
	color: #a1a1a1;
	font-size: 1rem;
	line-height: 1.7;
	padding: 1em 0 0;
}

.wp-caption.aligncenter .wp-caption-text {
  text-align: center;
}

/**
 * 14.2 - Galleries
 */
.gallery {
  margin-bottom: 1.8em;
}

.gallery-item {
  display: inline-block;
  padding: 1.79104477%;
  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-icon img {
  margin: 0 auto;
}

.gallery-columns-5 .gallery-caption,
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.gallery-caption {
  font-size: 0.857142rem;
  line-height: 1.5;
  padding: 0.833333em 0;
}

.tiled-gallery {
  margin-bottom: 1.8em !important;
}

/**
 * 15.0 - Widgets
 */
.widget {
  margin: 0 0 2.5em;
  line-height: 1.7;
}

.widget:last-child,
.widget:only-child {
  margin: 0;
}

.widget-title {
  margin-bottom: 1em;
}

.widget_archive ul,
.widget_categories ul,
.widget_links ul,
.widget_meta ul,
.widget_nav_menu ul,
.widget_pages ul,
.widget_recent_comments ul,
.widget_recent_entries ul,
.widget_about_me ul,
.widget_advanced_recent_posts ul,
.wildbook-widget-recent-posts ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget_archive li,
.widget_categories li,
.widget_links li,
.widget_meta li,
.widget_nav_menu li,
.widget_pages li,
.widget_recent_comments li,
.widget_recent_entries li {
  margin-bottom: 0.714285em;
}

.widget_archive ul li:last-child,
.widget_categories ul li:last-child,
.widget_links ul li:last-child,
.widget_meta ul li:last-child,
.widget_nav_menu ul li:last-child,
.widget_pages ul li:last-child,
.widget_recent_comments ul li:last-child,
.widget_recent_entries ul li:last-child,
.widget_advanced_recent_posts ul li:last-child {
  margin-bottom: 0;
}

.widget_calendar table {
  width: 100%;
}

.widget_calendar caption {
  font-style: italic;
}

.widget .post-date,
.wildbook-widget-recent-posts .post-date {
  display: block;
  font-size: 0.857142em;
  margin-top: 0.5em;
}

.widget_calendar #calendar_wrap {
  max-width: 18em;
}

.widget_calendar table th,
.widget_calendar table td {
  text-align: center;
}

.widget_archive ul,
.widget_categories ul,
.widget_recent_comments ul {
  color: #bababa;
  font-style: italic;
}

.widget_archive a,
.widget_categories a,
.widget_recent_comments a,
.widget_recent_comments .comment-author-link {
  font-style: normal;
}

.widget_categories .children,
.widget_nav_menu .sub-menu {
  margin: 0.714285em 0 0 1.071428em;
}

.widget_categories .children a:before,
.widget_nav_menu .sub-menu a:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  background: #ccc;
  border-radius: 100%;
  margin-right: 10px;
  margin-top: -2px;
}

.textwidget p:only-child,
.textwidget p:last-child {
  margin-bottom: 0;
}

.wdb-widget-about-me .portrait {
  margin-bottom: 1.65em;
  text-align: center;
}

.wdb-widget-about-me .portrait img {
  max-width: 100%;
  height: auto;
}

.wdb-widget-about-me .textwidget + .social-profiles {
  margin-top: 1.65em;
}

.wdb-widget-about-me .social-profiles a {
  border-color: rgba(0,0,0,0.13);
}

.wdb-widget-about-me .social-profiles a:hover {
  color: #c8ab77
}

.wdb-instagram-feed .instagram-pics {
  list-style: none;
  margin: 0 -3px 1em -3px;
  padding: 0;
}

.wdb-instagram-feed .instagram-pics li {
  float: left;
  width: 33.33333333333333333333333%;
  padding-left: 3px;
  padding-right: 3px;
  margin-bottom: 6px;
}

.wdb-instagram-feed p {
  font-style: italic;
}

.wildbook-widget-recent-posts ul li {
  margin-bottom: 1.5rem;
}

.wildbook-widget-recent-posts .widget-post {
  border: none;
  padding: 0;
}

.wildbook-widget-recent-posts .widget-post + .widget-post {
  margin-top: 0;
}

.wildbook-widget-recent-posts .post-thumbnail {
  margin: 0;
  width: 5rem;
  float: left;
}

.wildbook-widget-recent-posts .widget-post-content {
  text-align: left;
  margin: -2px 0 0;
  width: auto;
  line-height: 1.5;
  max-width: 100%;
}

.wildbook-widget-recent-posts .has-post-thumbnail .widget-post-content {
  margin-left: 6.428571rem;
}

.wildbook-widget-recent-posts .format-video .post-thumbnail:after,
.wildbook-widget-recent-posts .format-audio .post-thumbnail:after {
  font-size: 1rem;
}

/**
 * 16.0 Accessibility
 */

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

/**
 * 17.0 - Portfolio
 */
 
.portfolio-grid {
  box-sizing: border-box;
  display: -webkit-flex;
   display: -ms-flexbox;
          display: flex;
   -webkit-flex: 0 1 auto;
       -ms-flex: 0 1 auto;
           flex: 0 1 auto;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.portfolio-grid .portfolio-post {
  box-sizing: border-box;
  -webkit-flex: 0 0 auto;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
       -webkit-flex-basis: 50%;
  -ms-flex-preferred-size: 50%;
               flex-basis: 50%;
  max-width: 50%;
  padding: 0;
  padding-left: 15px;
  padding-right: 15px;
  border-bottom: none;
  margin-bottom: 30px;
}

.portfolio-grid .portfolio-post:nth-last-child(1),
.portfolio-grid .portfolio-post:nth-last-child(2) {
  margin-bottom: 0;
}

.portfolio-grid .portfolio-post .post-thumbnail {
  margin-bottom: 1.3rem;
}

.portfolio-grid .portfolio-post .entry-header {
  margin-bottom: 0;
}

.portfolio-grid .portfolio-post .entry-title {
  font-size: 1.142857rem;
  margin: 0 0 0.2em;
}

/**
 * 18.0 - Media Queries
 */


@media (min-width: 992px) { 
  .site-branding {
    height: auto !important;
  }

  .right-side-navigation .nav-menu {
    display: block !important;
  }
  
  .sticky-right-menu .right-side-navigation {
    position: fixed;
    top: 0;
    left: 40%;
    right: 0;
    z-index: 20;
  }

  .sidebar-right.sticky-right-menu .right-side-navigation {
    left: 0;
    right: 40%;
  }

  .sticky-right-menu.admin-bar .right-side-navigation {
    top: 32px;
  }
  
  .sticky-right-menu .site-content {
    padding-top: 5.928571em;
  }
}
 
@media (max-width: 991px) {
  .sidebar-right .site-content, 
  .sidebar-right .secondary {
    margin-right: 0;
  }

  /*.sidebar-inner,
  .site-header,
  .site-footer,
  .secondary-navigation,
  .site-header .site-branding,
  .site-footer .site-info,
  .secondary-navigation .toggle-buttons,
  .primary-navigation,
  .primary-navigation .nav-menu {
    display: block;
  }*/

  .menu-icon, 
  .menu-icon:before, 
  .menu-icon:after {
    width: 20px;
  }

  .menu-icon:before {
    top: -6px; 
  }

  .menu-icon:after {
    bottom: -6px;
  }

  .toggle-buttons .search-submit {
    font-size: 19px;
  }
/*
  .site-navigation,
  .nav-open .site-branding {
    visibility: visible;
    opacity: 1;
  }

  .site-navigation {
    position: static;
    display: none;
  }
  
  .nav-open .site-navigation {
    display: block;
  }
  
  .nav-open .site-branding {
    display: none;
  }
*/
  .post-navigation .nav-previous,
  .post-navigation .nav-next {
    float: none;
    text-align: left;
    width: 100%;
  }
  
  .nav-previous + .nav-next {
    margin-top: 1.8em;
  }
  
  .right-nav-toggle {
    display: block;
  }
  
  .right-side-navigation {
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .right-side-navigation .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 1px;
    background: #ffffff;
    text-align: left;
    z-index: 50;
    -webkit-box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.08);
       -moz-box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.08);
            box-shadow: 0px 2px 1px 0px rgba(0,0,0,0.08);
    display: none;
  }
  
  .right-side-navigation .nav-menu li {
    border-bottom: 1px solid #f0f0f0; 
  }
  
  .right-side-navigation .nav-menu li:last-child{
    border-bottom: none;
  }
  
  .right-side-navigation .nav-menu li a {
    display: block;
    padding: 1.363636em 2.727272em;
  }
  
  .right-side-navigation .nav-menu a > span:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-top: -3px;
    width: 4px;
    height: 4px;
    background: #e5d1ad;
    border-radius: 100%;
    margin-right: 10px;
  }
  
  .right-side-navigation .nav-menu .sub-menu a > span:before {
    background: #ddd;
  }
  
  .right-side-navigation .nav-menu > li {
    display: block;
  }
  
  .right-side-navigation .nav-menu > li > a:after {
    display: none;
  }
  
  .right-side-navigation .nav-menu .sub-menu {
    width: auto;
    padding: 0;
    position: static;
    visibility: visible;
    opacity: 1;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    margin: 0;
    -webkit-box-shadow: none;
      -moz-box-shadow: none;
          box-shadow: none;
  }
  
  .right-side-navigation .nav-menu .sub-menu > li .sub-menu {
    margin: 0;
  }
  
  .right-side-navigation .nav-menu .sub-menu li a {
    padding: 1.363636em 4.090909em;
    display: block;
    color: #333;
  }
  
  .right-side-navigation .nav-menu .sub-menu .sub-menu a {
    padding-left: 5.909090em;
  }
  
  .right-side-navigation .nav-menu .sub-menu .sub-menu .sub-menu a {
    padding-left: 7.727272em;
  }
  
  .right-side-navigation .nav-menu .sub-menu .sub-menu .sub-menu .sub-menu a {
    padding-left: 9.545454em;
  }

  .sidebar {
    position: relative;
    top: 0;
    width: 100%;
  }
  
  .admin-bar .sidebar {
    top: 0;
  }
  
  .site-branding {
    padding: 3.6em 0;
  }
  
  .sticky-right-menu .site-content {
    padding-top: 0 !important;
  }
  
  .site-content,
  .post-navigation,
  .secondary {
    margin-left: 0;
  }
  
  .related-post {
    margin-bottom: 1.428571em;
  }
  
  .related-post:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 12px;
  }

  .flex-container,
  .flex-container .flex-item {
    display: block;
  }

  .flex-container .flex-item {
    max-width: 100%;
  }

  .posts-grid .entry-header, 
  .posts-grid .entry-summary {
    padding-left: 0;
    padding-right: 0;
  }

  .search-results .post-thumbnail {
    margin-top: 2em;
  }

  .comment-footer,
  .comment-footer .comment-metadata,
  .comment-footer .reply {
    display: block;
  }
  
  .comment-footer .comment-metadata,
  .comment-footer .reply {
    text-align: right;
  }
  
  .comment-footer .reply {
    margin-top: 5px;
  }
  
  .widget-area + .widget-area {
    margin-top: 2.5em;
  }
  
  .portfolio-grid .portfolio-post {
         -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
                 flex-basis: 100%;
    max-width: 100%;
    padding: 0;
    padding-left: 15px;
    padding-right: 15px;
    border-bottom: none;
    margin-bottom: 1.8em;
  }
  
  .portfolio-grid .portfolio-post:nth-last-child(2) {
    margin-bottom: 1.8em;
  }

  .comment-list .children {
    margin-left: 2em;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .related-post:after {
    content: '';
    display: table;
    clear: both;
  }

  .related-post .post-thumbnail {
    width: 12.5rem;
    float: left;
    margin-bottom: 0;
  }
  
  .related-post .related-content {
    margin-left: 14rem;
  }
}

@media (max-width: 480px) {
  blockquote {
    margin-left: 0;
    margin-right: 0;
  }

  .hentry,
  .comments-area,
  .entry-related-posts,
  .author-info,
  .navigation,
  .secondary,
  .page-header,
  .inner-box  {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }

  .entry-more,
  .entry-more .more-wrap,
  .entry-more .entry-share {
    display: block;
  }

  .entry-more .more-wrap + .entry-share {
    margin-top: 1.8em;
  }
  
  .entry-more .entry-share {
    text-align: left;
  }

  .page-header .author-avatar,
  .author-info .author-avatar {
    float: none;
    margin-bottom: 2em;
  }
  
  .page-header .author-avatar {
    text-align: center;
  }

  .page-header .author-description,
  .author-info .author-description {
    margin-left: 0;
  }
}