/*
Theme Name: 		Moon Photography WP Theme
Theme URI: 			http://moon.designagent.sk/
Author: 				Darina Tyrpakova
Author URI: 			http://designagent.sk/
Description: 		Clean and tidy photography theme that is very simple and user-friendly.  Responsive and clean-coded.
Version: 				1.8
License: 				GNU General Public License v2 or later
License URI: 		http://www.gnu.org/licenses/gpl-2.0.html
Tags: 				white, light, dark, one-column, two-columns, right-sidebar, left-sidebar, fluid-layout, custom-menu, editor-style, microformats, post-formats, custom-background, custom-colors, translation-ready, responsive-layout
Text Domain: 		moon
*/
@import url("editor-style.css");

/********************************************************************************************************
 * Please do not make edits directly to this file.  You will lose all modifications when the theme is next updated if you do so.  Please use a child theme.  This theme's styles will automatically be loaded for you.  You can then overwrite specific style rules in your child theme's 'style.css' file.
 
 * TABLE OF CONTENTS:
	1. FORM ELEMENTS - inputs, selects, buttons, fields 
	2. BODY DEFAULTS, LAYOUTS - html, body
	3. MAIN WRAPPER - wrappers
	4. HEADER - header, logo, navigation
		4.1 - Loading effect
	5. CONTENT - inside content elements and classes (find more classes in editor-style.css)
	6. SIDEBAR - widgets, footer
	7. WOO COMMERCE - shop styles
	8. RESPONSIVNESS - media queries
*/
/********************************************************************************************************

/* 1. FORM ELEMENTS
_____________________________________ */
input, textarea, button { font-family: 'PT Sans', sans-serif; vertical-align: middle; }
select { font-family: 'PT Sans', sans-serif; }
input[type="submit"], input[type="button"], button, .button { font-family: 'PT Sans', sans-serif; font-weight: bold; vertical-align: middle; }
label { display: block; padding: 5px 0 5px 0; font-size: 1em; font-weight: 400; }

input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], input[type=password], input[type=number], input.input-text, textarea { border: 0; outline: 0; background: #E4E4E4; width: 100%; height: 36px; padding: 7px 7px 7px 14px; -webkit-appearance: none; -webkit-focus-ring-color: none; border: 0; font-weight: normal; color: #6B6B6B; letter-spacing: 0.12em; }
select { outline: 0 !important; vertical-align: middle; background: white; width: 100%; height: 36px; line-height: 36px; padding: 0 0 0 7px; font-size: 1em; border: 1px solid rgba(0,0,0,0.15); color: #6B6B6B; }
input[type=text]:focus,  input[type=email]:focus,  input[type=tel]:focus,  input[type=password]:focus,  textarea:focus { border-color: #d8d8d8; }

input[type=submit], input[type=button], button, .button { display: inline-block; height: auto; padding: 6px 15px 5px 15px; font-weight: bold; font-size: 0.85em; line-height: 1.6; text-align: center; cursor: pointer; border: 2px solid #212121; border-radius: 0; text-transform: uppercase; background: transparent; margin: 2px 0; text-decoration: none !important; letter-spacing: 0.15em; color: #212121; z-index: 2; overflow: hidden; position: relative;
-webkit-transition: all .4s ease; -moz-transition: all .4s ease; -ms-transition: all .4s ease; -o-transition: all .4s ease; transition: all .4s ease; }
input[type=submit]:hover, input[type=button]:hover,
input[type=submit]:focus, input[type=button]:focus { color: white; background-color: #212121; outline: 0; }
input[type=submit]:active, input[type=button]:active { outline: 0; }
.button::after, button::after { content: ''; position: absolute; z-index: -1;  -webkit-transition: all .2s; -moz-transition: all .2s; transition: all .2s;
	width: 100%; height: 0; top: 50%; left: 50%; background: #fff; opacity: 1;
	-webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	-moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	-ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.button:hover, button:hover { color: white; outline: 0; background-color: #212121; }
.button:hover::after, button:hover::after, .button:focus::after, button:focus::after { height: 260%; opacity: 0; }
.button:active::after, button:active::after { height: 300%; opacity: 1; }

input[type=checkbox] { width: 15px; float: left; margin: 0 10px 0 0; position: relative; top: 10px; border: 1px solid rgba(0,0,0,0.15); }
input[type=radio] { position: relative; bottom: 3px; }
input[type=number] { width: 60px; margin: 0 5px; background: white; }

textarea { padding-top: .7em; height: 100px; border-radius: 4px; }
form { position: relative; }
form h3 { clear: both; padding: 10px 0; }

/* 2. BODY DEFAULTS, LAYOUTS
_____________________________________ */
html { height: 100%; font-family: 'PT Sans', sans-serif; font-size: 62.5%; }
body { font-family: 'PT Sans', sans-serif;  background: #FFFFFF; color: #212121; font-size: 1.4em; letter-spacing: 0.09em; overflow-x: hidden; }

/* 3. MAIN WRAPPER
_____________________________________ */
.wrapper {  }
.wrapper::after { content: ""; display: block; clear: both; }

#content { width: 100%; position: relative; z-index: 3; }
#content::before { content: ""; display: block; height: 64px; }
#content::after { content: ""; display: block; clear: both; }

/* 4. HEADER
_____________________________________ */
#header { display: block; width: 100%; position: fixed; top: 0; height: 64px; z-index: 150; background: #fff; }
#header::after { content: ""; display: block; clear: both; }

/* Loading effect */
body.loading { height: 800px; overflow: hidden; }
#loadscreen { position: fixed; top: 0; width: 100%; height: 100%; background: white; z-index: 9999; }
#loader { position: absolute; width: 100%; height: 3px; left: 0; top: 0; bottom: 0; right: 0; margin: auto; background: rgba(0,0,0,0.1); }
#loader span { display: block; width: 100%; height: 100%; background: #E0222B; 
    -webkit-animation: loadanim 3s linear;
    -moz-animation: loadanim 3s linear;
    -o-animation: loadanim 3s linear;
    animation: loadanim 3s linear;
}
@-webkit-keyframes loadanim { 0%   { width: 0px; } }
@-moz-keyframes loadanim {  0%   { width: 0px; } }
@-o-keyframes loadanim {  0%   { width: 0px; }}
@keyframes loadanim { 0%   { width: 0px; } }

/* Logo */
#logo { margin: 0; font-weight: normal; line-height: 1; position: absolute; z-index: 200; 
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
#logo a img { position: relative; vertical-align: middle; margin: 0; }
#logo a { display: block; text-decoration: none !important; line-height: 1; position: relative; font-weight: normal; font-size: 1em; line-height: 64px; margin: 0 0 0 35px; color: #212121; text-transform: uppercase; white-space: nowrap; }
/* Logo Shine Effect */
#logo a::after { content: ""; display: block; width: 15px; height: 54px; background: #fff; box-shadow: 0 0 10px #fff; position: absolute; left: -30px; top: 0; opacity: 0.6; -ms-transform: rotate(30deg); -webkit-transform: rotate(30deg); -moz-transform: rotate(30deg); -o-transform: rotate(30deg); transform: rotate(30deg);  }
#logo a:hover::after { -webkit-animation: shine .4s; -o-animation: shine .4s; -moz-animation: shine .4s; animation: shine .4s; }
@-webkit-keyframes shine { 100% { left: 110%;} }
@-moz-keyframes shine { 100% { left: 110%;} }
@-o-keyframes shine { 100% { left: 110%;} }
@keyframes shine { 100% { left: 110%;} }

/* Navigation */
#header nav { float: right; position: relative; z-index: 200; margin-right: 20px; }
#header nav ul { float: right; text-align: right; margin: 0; padding: 0 20px 0 0; }
#header nav ul li { display: inline-block; }
#header nav ul li a { display: block; color: #212121; font-size: 0.9em; font-weight: bold; text-transform: uppercase; height: 64px; line-height: 64px; padding: 0 25px;  margin: 0 -5px; text-decoration: none; letter-spacing: 0.13em; }
#header nav > ul > li.current-menu-item > a, #header nav > ul > li.current-menu-parent  > a, #header nav > ul > li.current_page_item  > a {  color: #E0222B;  }
#header nav > ul > li > a:hover, #header nav > ul > li > a.active-parent { text-decoration: none; }
#header nav > ul > li.menu-item-has-children > a::after { font-family: FontAwesome; font-weight: normal; content: "\f107"; color: #9B9B9B; padding: 0 0 0 8px; position: relative; left: 0;
-webkit-transition: left .2s ease; -moz-transition: left .2s ease; -ms-transition: left .2s ease; -o-transition: left .2s ease; transition: left .2s ease; }
#header nav > ul > li.menu-item-has-children:hover > a::after { left: 4px;  }

#header nav ul.sub-menu { display: none; position: absolute; top: 54px; padding: 15px 0; left: auto; z-index: 999; float: none; text-align: left; }
#header nav ul.sub-menu li { display: block; padding: 0; margin: 0 0 5px 0;  position: relative; }
#header nav ul.sub-menu li a { display: block; padding: 10px 10px; margin: 0 11px; width: auto; height: 34px; line-height: 1.1; text-align: left; text-decoration: none; background: #fff; position: relative;
-webkit-transition: background .2s ease; -moz-transition: background .2s ease; -ms-transition: background .2s ease; -o-transition: background .2s ease; transition: background .2s ease; }
#header nav ul.sub-menu li a::before, #header nav ul.sub-menu li a::after { content: ""; display: block; width: 0; height: 0; position: absolute; top: 0; 
-webkit-transition: all .2s ease; -moz-transition: all .2s ease; -ms-transition: all .2s ease; -o-transition: all .2s ease; transition: all .2s ease; }
#header nav ul.sub-menu li a::before { left: -10px; 
border-style: solid; border-width: 0 0 34px 11px;
border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) #ffffff rgba(255, 255, 255, 0); 
-moz-transform: scale(.9999); }
#header nav ul.sub-menu li a:hover::before { border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) #E0222B rgba(255, 255, 255, 0); }
#header nav ul.sub-menu li a::after {  right: -10px; 
border-style: solid; border-width: 34px 11px 0 0;
border-color: #ffffff rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
-moz-transform: scale(.9999); }
#header nav ul.sub-menu li a:hover::after { border-color: #E0222B rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0); }

#header nav ul.sub-menu li a:hover { background: #E0222B; border-bottom-color: #E0222B; color: white; text-decoration: none; }
#header nav ul.sub-menu ul { position: absolute; left: 99%; top: -15px; min-width: 120px; z-index: 1000; }
#header nav ul.sub-menu ul li { border-radius: 0 !important; }
 
#header nav .mobilemenu { display: none; margin: 15px 0 0 0; float: right; width: 300px; position: relative; }
#header nav .mobilemenu select { font-size: 0.9em; text-transform: uppercase; letter-spacing: 0.1em; }

#header #expandsidebar { display: block; width: 36px; height: 48px; position: absolute; right: 0; top: 40px; text-decoration: none !important; z-index: 990; }
#header #expandsidebar span { display: block; width: 100%; height: 100%; }
#header #expandsidebar .sidebar-show { background: url('imgs/icon-show-sidebar.svg'); }
#header #expandsidebar .sidebar-hide { background: url('imgs/icon-hide-sidebar.svg'); display: none; }

#header nav ul.social-icons { float: right; }
#header nav ul.social-icons li { padding: 0; font-size: 1.3em; }
#header nav ul.social-icons li a { padding: 0 8px; margin: 0; }
#header nav ul.social-icons li a i { vertical-align: middle; }
#header nav ul.social-icons li.cart a i { position: relative; bottom: 1px; }



/* 5. CONTENT
_____________________________________ */
body #content { position: relative; }
body #content > .wrapper { padding: 0; }

/* Layouts */
body.layout-horizontally-scrollable { max-height: 100%; overflow-y: hidden; overflow-x: auto; }
body.layout-horizontally-scrollable.disable-scrolling { overflow-x: hidden; }
body.layout-horizontally-scrollable #content { height: 100vh; }
body.layout-horizontally-scrollable #content > .wrapper { height: 80%; padding: 0 0 10px; white-space: nowrap; }
body.layout-horizontally-scrollable #content > .wrapper article.gallery-item { display: inline-block; white-space: normal; }

body.singular .entry-content-wrapper { clear: both; padding: 50px 10% 50px 12%; } /* visually looks more centered */

body.layout-fullscreen-fixed { max-height: 100%; overflow-y: auto; overflow-x: hidden; }
body.layout-fullscreen-fixed #content { height: 100vh; }
body.layout-fullscreen-fixed article { margin: 0; }
body.layout-fullscreen-fixed .featured-image-header { height: 91.5vh; }
body.layout-fullscreen-fixed .featured-image-header h1 { visibility: hidden; }
body.layout-fullscreen-fixed .entry-content-wrapper { width: 57.5%; padding: 5% 8% 2% 2%; position: absolute; top: 0; left: 0; bottom: 0; z-index: 2; color: white; }
body.layout-fullscreen-fixed .entry-content-wrapper a { color: white; }
body.layout-fullscreen-fixed .entry-content-wrapper hr { background-color: white !important; }
body.layout-fullscreen-fixed .entry-content-wrapper::before { content: ""; display: block; width: 100%; height: 100%; position: absolute; left: 0; top: 0; bottom: 0; right: 0; z-index: -1; background: #E0222B; opacity: 0.75;
clip-path: url(imgs/content-clip.svg#svgClip); 
-webkit-clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%); }

body.layout-fullscreen-fixed-right  .entry-content-wrapper { left: auto; right: 0; padding: 5% 2% 2% 12%; }
body.layout-fullscreen-fixed-right  .entry-content-wrapper::before { clip-path: url(imgs/content-clip.svg#svgClipReversed); -webkit-clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%); }

body.layout-fullscreen-fixed-center  .entry-content-wrapper { left: 0; right: 0; text-align: center; padding: 5%; margin: auto; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
body.layout-fullscreen-fixed-center  .entry-content-wrapper .entry-content { padding: 0; }
body.layout-fullscreen-fixed-center .entry-content-wrapper::before { display: none; }
body.layout-fullscreen-fixed-center  .entry-content-wrapper hr { margin-left: auto; margin-right: auto; }

body.layout-fullscreen-fixed article.post .entry-related-posts, body.layout-fullscreen-fixed article.post .entry-header, body.layout-fullscreen-fixed article.post .entry-footer, body.layout-fullscreen-fixed article.post .entry-social-shares, body.layout-fullscreen-fixed .post-pagination { display: none; }

body.map {  }
body.map .entry-content-wrapper { left: auto; right: 0; width: 50%; padding: 5% 1% 2% 12%; }
body.map .entry-content-wrapper::before { clip-path: url(imgs/content-clip.svg#svgClipReversed); -webkit-clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%); }
body.map .featured-image-header {  }
body.map .featured-image-header img { max-width: 9999px; position: static; margin: 0; } /* fix for map zoom control */
#gmap { width: 100%; height: 100%; }

body.logged-in.admin-bar #header { top: 32px; } 
body.logged-in.admin-bar #sidebar { top: 32px; padding-bottom: 32px; } 

/* Content */
article { clear: both; margin: 0 0 2em 0; width: 100%; position: relative; }
article img { max-width: 100%; } 
article iframe { width: 500px; margin: 0 auto; display: inherit; }

.entry-content { font-size: 1.1em; clear: both; padding: 0 10% 1em 8%; }
.entry-footer { padding: 1em 10% 0 8%; clear: both; }

/* Image Header and Meta */
.featured-image-header { width: 100%; height: 75vh; min-height: 500px; background: #aaa; overflow: hidden; position: relative; background-size: cover; background-attachment: fixed; background-position: top center; z-index: 1; }
.featured-image-header img { width: 100%; height: auto; min-height: 100%; margin: 0 0 -4px 0; }
.featured-image-header::after { content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; 
background-image: -webkit-linear-gradient(rgba(0,0,0,.3) 0,rgba(0,0,0,.2) 30%,rgba(0,0,0,.4) 70%,rgba(0,0,0,.3) 100%);
background-image: linear-gradient(rgba(0,0,0,.3) 0,rgba(0,0,0,.2) 30%,rgba(0,0,0,.4) 70%,rgba(0,0,0,.3) 100%); }
body.layout-fullscreen-fixed .featured-image-header::after { display: none; }
.featured-image-header.short { height: 300px; min-height: 300px; }

.featured-image-header .entry-header { position: absolute; width: 100%; height: auto; bottom: 0; padding: 0 12% 4% 12%; color: white; text-align: center; z-index: 9; }
.featured-image-header .entry-header h1 { display: block; text-transform: uppercase; font-size: 2.9em; letter-spacing: 0.08em; font-weight: normal; width: 80%; margin: 0 auto .3em auto; position: relative; line-height: 1.3; }
.featured-image-header .entry-header h1 a { color: white; text-decoration: none !important; }
 
.entry-header p { position: relative; }  
.entry-category { display: inline-block; font-size: 1.2em; border-bottom: 1px solid white; padding: 0 0 8px 0; letter-spacing: 0.08em; margin: 0 0 .7em 0; }
.entry-category a { color: white; text-decoration: none !important; }
.entry-category::first-letter { text-transform: uppercase; }
.entry-author img { width: 120px; height: 120px; border-radius: 60px; margin: 0 2em 2em 0; vertical-align: middle; float: left; }
.entry-author h4 { padding-top: 1em; text-transform: uppercase; }
h4.entry-author { text-transform: uppercase; margin: 0; vertical-align: middle; }
.entry-header .entry-author { display: inline-block; vertical-align: middle; padding: 0; }
.entry-header .entry-author img { width: 40px; height: 40px; border-radius: 20px; margin: 0 1em 0 0; float: none; min-height: 0; } 
.entry-date { display: inline-block; padding: 0 30px 0 0; vertical-align: middle; min-width: 140px; }
.entry-date strong { display: inline-block; float: left; font-size: 3.35em; line-height: 0.9; font-family: "Quicksand", sans-serif; padding: 0 5px 0 0; }
.entry-date span { text-transform: uppercase; letter-spacing: 0.3em; display: inline-block; padding-left: 2px; }
.entry-tags a { display: inline-block; color: #fff; background: #E0222B; padding: 0 1.5em; height: 24px; line-height: 24px; margin: 1em 1em 0 0; font-size: 0.8em; text-transform: uppercase; position: relative;
-webkit-transition: background .2s ease; -moz-transition: background .2s ease; -ms-transition: background .2s ease; -o-transition: background .2s ease; transition: background .2s ease; }
.entry-tags a::before, .entry-tags a::after { content: ""; display: block; width: 0; height: 0; position: absolute; top: 0; 
-webkit-transition: all .2s ease; -moz-transition: all .2s ease; -ms-transition: all .2s ease; -o-transition: all .2s ease; transition: all .2s ease; }
.entry-tags a::before { left: -10px; 
border-style: solid; border-width: 0 0 24px 11px;
border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) #E0222B rgba(255, 255, 255, 0); 
-moz-transform: scale(.9999); }
.entry-tags a:hover::before { border-color: rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) #ffffff rgba(255, 255, 255, 0); }
.entry-tags a::after {  right: -10px; 
border-style: solid; border-width: 24px 11px 0 0;
border-color: #E0222B rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
-moz-transform: scale(.9999); }
.entry-tags a:hover::after { border-color: #ffffff rgba(255, 255, 255, 0) rgba(255, 255, 255, 0) rgba(255, 255, 255, 0); }
.entry-tags a:hover { background: #fff; color: #212121; text-decoration: none; }
.entry-excerpt { display: block; font-size: 1.25em; font-style: italic; padding: 0 10%; letter-spacing: 0.04em; }
.entry-related-posts { position: absolute; left: 6.5%; width: 8%; text-align: right; }
.entry-related-posts h2 { font-size: 1.2em; border-bottom: 1px dashed rgba(147, 147, 147, 0.3); padding-bottom: 1em; }
.entry-related-posts h3 { font-weight: normal; font-size: 0.9em; text-transform: uppercase; }
.entry-related-posts header > a { display: block; overflow: hidden; height: 80px; margin: 1em 0; }
.entry-social-shares { position: absolute; right: 7.5%; width: 8%; text-align: center; }
.entry-views span { font-size: 1.4em; font-family: "Quicksand", sans-serif; }
.entry-social-shares h2 { font-size: 1.2em; border-bottom: 1px dashed rgba(147, 147, 147, 0.3); padding-bottom: 1em; }
.entry-social-shares > div { margin: 0 0 2em 0; }
.entry-social-shares a:hover i, .entry-video a.popup-frame:hover i { -moz-animation: spinHorizontal .5s linear;  -o-animation: spinHorizontal .5s linear;  -webkit-animation: spinHorizontal .5s linear; animation: spinHorizontal .5s linear; }
.entry-video a.popup-frame { text-decoration: none !important; }
.entry-video a.popup-frame i { vertical-align: middle; }

/* Standard Blog */
.standard-blog { width: 100%; clear: both; }
.standard-blog article.post, .standard-blog article.page { width: 100%; margin: 0; float: none; }
.standard-blog article.post.format-quote blockquote { background: none; padding: 0; font-size: 2em; font-weight: bold; }
.standard-blog article.post.format-quote blockquote::after { display: none; }

/* Masonry Blog */
.masonry-blog { width: 100%; clear: both; }
.masonry-blog article.post { width: 33.33%; margin: 0; float: none; }
.masonry-blog article.post .featured-image-header { width: 100%; height: 100%; overflow: hidden; }
.masonry-blog article.post .featured-image-header h1 { font-size: 1.8em; }
.masonry-blog article.post .featured-image-header img { margin: -4px; width: 102%; max-width: 102%; height: auto;
 -webkit-transition: -webkit-transform .5s; transition: transform .5s; }
.masonry-blog article.post:hover .featured-image-header img {
 -webkit-transform: rotate(-9deg) scale(1.3);
  -ms-transform: rotate(-9deg) scale(1.3);
  transform: rotate(-9deg) scale(1.3);
  -webkit-transition: -webkit-transform .5s; transition: transform .5s; }
.masonry-blog article.post .featured-image-header .entry-header h1 { width: 100%; }
.masonry-blog article.post.format-quote blockquote { background: none; padding: 0; margin: 1em 0; font-size: 1.5em; font-weight: bold; }
.masonry-blog article.post.format-quote blockquote::after { display: none; }
.masonry-blog article.post.format-video .entry-header::before { display: none; }

#fb-icon-sharer .fa { color: #3b5998; }
#tw-icon-sharer .fa { color: #4099ff; }
#gp-icon-sharer .fa { color: #dd4b39; }

/* Galleries */
.gallery { clear: both; width: 100%; }
.gallery .gallery-row { display: inline; }
.gallery::after { content:""; display: block; clear: both; }
.gallery-icon { }
.gallery-icon a { width: 100%; height: 100%; display: block; position: relative; margin: 0 0 -4px 0; }
.gallery-icon.link a { cursor: pointer; }
.gallery-item { position: relative; display: block; width: auto; }
.grid-sizer { margin-top: -20px; display: block; }
.gallery-icon img { max-width: 100%; height: auto; margin: 0; }
.gallery-caption { position: absolute; left: 0; top: 0; bottom: 0; right: 0; float: none; vertical-align: middle; width: 100%; height: 100%; padding: 0; z-index: 8; color: white; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; transform-style: preserve-3d; }
.gallery-caption .entry-summary {  display: inline-block; position: absolute; width: 100%; padding: 0 5%; margin: auto; text-align: center; top: 50%; left: 0;
-webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); 
-webkit-transition: all .2s ease; -moz-transition: all .2s ease; -ms-transition: all .2s ease; -o-transition: all .2s ease; transition: all .2s ease; }
.gallery-caption a { color: white; }
.gallery-caption h2 {  }
.gallery-caption footer {  }
.gallery-caption footer span { padding: 0 10px 0 0; }
.gallery-caption footer a { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.85em; font-weight: bold; }
.gallery-caption .gallery-category { display: inline-block; font-size: 1.1em; padding: 0 0 7px 0; margin-bottom: 15px; border-bottom: 1px solid white; }
.gallery-caption .gallery-category a { text-decoration: none !important; }
.gallery-caption .gallery-category::first-letter { text-transform: uppercase; }

.scroll-arrows a { display: block; position: fixed; top: 49%; opacity: 1; z-index: 90; width: 40px; height: 40px; text-align: center; text-decoration: none !important; }
.scroll-arrows a::before { content: ""; display: block; width: 40px; height: 40px; border-radius: 20px; background: #E0222B; position: absolute; right: 0; z-index: -1; -ms-transform: scale(0); -webkit-transform: scale(0); transform: scale(0); 
-webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -ms-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; transition: all .3s ease-in-out; }
.scroll-arrows a:hover::before { -ms-transform: scale(1); -webkit-transform: scale(1); transform: scale(1); }
.scroll-arrows a img { width: 20px; margin: 5px 0; vertical-align: middle;
-webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -ms-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; transition: all .3s ease-in-out; }
.scroll-arrows a:hover img { width: 12px; margin: 10px 0;  }
.scroll-arrows a span { color: white; font-size: 0.85em; font-style: italic; text-align: right; position: absolute; right: 50px; width: 100px; }
.scroll-arrows a.disable { display: none; }
.scroll-arrows a.next { right: 50px; }
.scroll-arrows a.prev { left: 50px; -webkit-transform: scaleX(-1); -ms-filter: fliph; filter: fliph; transform: scaleX(-1); z-index: 90; }
.horizontally-scrollable #content > .wrapper:hover .scroll-arrows a:hover { opacity: 1; }

body.layout-horizontally-scrollable .gallery { height: 100%; }
body.layout-horizontally-scrollable .gallery-item { margin: 0 -6px 0 0; vertical-align: top; height: 100%; width: auto; overflow: hidden; cursor: e-resize; }
body.layout-horizontally-scrollable .gallery-icon { display: block; width: auto; height: 100%; }
body.layout-horizontally-scrollable .gallery-icon a { height: 100%; width: auto; }
body.layout-horizontally-scrollable .gallery-icon img { max-height: 100%; height: 100%; width: auto; max-width: 9999px; }
body.layout-horizontally-scrollable .gallery-icon::after { content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; 
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.25)));
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%);
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%);
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d4e4ef', endColorstr='#000000', GradientType=0 ); }
body.layout-horizontally-scrollable .gallery-caption .entry-summary { top: auto; left: 50px; bottom: 60px; padding: 0; margin: 0; text-align: left;
-webkit-transform: none; -ms-transform: none; transform: none; max-width: 360px; }
body.layout-horizontally-scrollable .gallery-item.horizontal .gallery-caption .entry-summary { width: 40%; }
body.layout-horizontally-scrollable .gallery-caption.gallery-caption-position-center .entry-summary { width: 100%; padding: 0 5%; margin: auto; text-align: center; top: 50%; left: 50%; bottom: auto; max-width: 9999px;
-webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%); }
body.layout-horizontally-scrollable .gallery-caption { font-size: 1.1em; }
body.layout-horizontally-scrollable .gallery-caption h2 { font-size: 2.0em; margin: 0 0 5px 0; }
body.layout-horizontally-scrollable .gallery-caption footer { margin-top: 15px; }

body.home.layout-horizontally-scrollable .gallery-item:first-child .gallery-caption::after { content: ""; display: block; top: 0; right: 0; bottom: 0; left: 0; position: absolute; z-index: -1; }
body.home.layout-horizontally-scrollable .gallery-item:first-child .gallery-caption .entry-summary { min-height: 250px; }
body.home.layout-horizontally-scrollable .gallery-item:first-child .gallery-caption hr { margin: 0 auto; }
body.home.layout-horizontally-scrollable .gallery-item:first-child .gallery-icon::after { background: none; }
body.layout-horizontally-scrollable .gallery-caption .slide { left: 0; right: 0; width: 100% !important; }
.slide p,  .slide div, .slide h1, .slide h2, .slide h3,  .slide h4, .slide h5, .slide h6 { position: relative; }
#slidenav { text-align: center; position: absolute; left: 0; right: 0; bottom: 20%; }
#slidenav a { display: inline-block; width: 12px; height: 12px; border-radius: 6px; background: white; font-size: 0em; margin: 0 5px; }
#slidenav a.activeSlide, #slidenav a:hover { background: #E0222B; }

#horizontal-reel-gallery-thumbs { display: block; position: fixed; bottom: 0; left: 0; height: 64px; width: 102%; z-index: 85; }
#horizontal-reel-gallery-thumbs ul { list-style: none; white-space: nowrap; padding: 0 !important; overflow-x: visible; position: relative; background: #aaa; } 
#horizontal-reel-gallery-thumbs ul li { display: inline-block; width: 150px; height: 100%; margin: 0 -11px; vertical-align: top; }
#horizontal-reel-gallery-thumbs ul li:first-child { margin-left: -15px;  }
#horizontal-reel-gallery-thumbs ul li { cursor: crosshair; }
#horizontal-reel-gallery-thumbs ul li img { width: 100%; height: 100%; margin: 0; 
-webkit-clip-path: polygon(0px 64px,130px 64px,150px 0px,20px 0px);  
clip-path: url(imgs/thumb-clip.svg#svgClip); 
-webkit-mask: url(imgs/thumb-clip.svg); }

.masonry-gallery.gallery { width: 100%; clear: both; overflow: hidden; }
.masonry-gallery .gallery-item { width: 33.33%; margin: 0; float: left; }
.entry-content-wrapper .masonry-gallery.gallery { width: 100%; }
.masonry-gallery .gallery-item.col-2 { width: 50%; }
.masonry-gallery .gallery-item.col-3 { width: 33.33%; }
.masonry-gallery .gallery-item.col-4 { width: 25%; }
.masonry-gallery .gallery-item.col-5 { width: 20%; }
.masonry-gallery .gallery-item.col-6 { width: 16.66%; }
.masonry-gallery .gallery-item.col-7 { width: 14.28%; }
.masonry-gallery .gallery-item.col-8 { width: 12.5%; }
.masonry-gallery .gallery-item.col-9 { width: 11.11%; }
.entry-content-wrapper .masonry-gallery.gallery .gallery-caption,
.masonry-gallery .gallery-item.col-5 .gallery-caption,
.masonry-gallery .gallery-item.col-6 .gallery-caption,
.masonry-gallery .gallery-item.col-7 .gallery-caption,
.masonry-gallery .gallery-item.col-8 .gallery-caption,
.masonry-gallery .gallery-item.col-9 .gallery-caption { display: none; }
.masonry-gallery .gallery-icon { display: inline; width: auto; height: auto; }
.masonry-gallery .gallery-icon a { cursor: crosshair; width: auto; height: auto; }
.masonry-gallery .gallery-icon img { margin: 0; width: 100%; max-width: 9999px; height: auto; }
.masonry-gallery .gallery-caption { pointer-events: none; font-size: 0.9em; opacity: 0; padding: 0 2%; height: auto;
-webkit-transition: opacity .2s ease; -moz-transition: opacity .2s ease; -ms-transition: opacity .2s ease; -o-transition: opacity .2s ease; transition: opacity .2s ease; }
.masonry-gallery .gallery-caption .entry-summary { padding: 5%; }
.masonry-gallery .gallery-caption .entry-summary::before { content: ""; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; background: #E0222B; opacity: 0.75; z-index: -1;
-webkit-transform: scale(0,1); transform: scale(0,1);
-webkit-transform-origin: 50% 0; transform-origin: 50% 0;
-webkit-transition: -webkit-transform 0.2s; transition: transform 0.2s; }
.masonry-gallery .gallery-item:hover .gallery-caption .entry-summary::before { -webkit-transform: scale(1); transform: scale(1); }
.masonry-gallery .gallery-item:hover .gallery-caption { opacity: 1; }
.masonry-gallery .gallery-caption .gallery-category {  }
.masonry-gallery .gallery-caption footer { font-size: 0.9em; }

.before-after { max-width: 100%; clear: both; float: left; margin: 0 20px 10px 0; }
.before-after .gallery-icon a::after { display: none; }

/* Popup image */
body.mfp-zoom-out-cur #header, body.mfp-zoom-out-cur #content, body.mfp-zoom-out-cur #sidebar {  -webkit-filter: blur(2px); -moz-filter: blur(2px); -o-filter: blur(2px); -ms-filter: blur(2px); filter: url(blur.svg#blur);
filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='2'); }
.mfp-bg { background: white; opacity: 0.7; }
.mfp-figure:after { box-shadow: none; border: 8px solid rgba(255,255,255,0.8); }
img.mfp-img { padding: 0; } 
.mfp-counter { color: white; background: #212121; padding: 0.5em 1em; margin-right: -2em;
 -webkit-clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%); 
 -moz-clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%); 
 -o-clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);  
 -ms-clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);  
 clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%); }
.mfp-container button { box-shadow: none; background: none; }
.mfp-container button.mfp-arrow-right { background: #222 url("imgs/right-arrow.svg") no-repeat center center; }
.mfp-container button.mfp-arrow-right::before, .mfp-container button.mfp-arrow-right::after { display: none; }
.mfp-container button.mfp-arrow-left { background: #222 url("imgs/right-arrow.svg") no-repeat center center; -webkit-transform: scaleX(-1); -ms-filter: fliph; filter: fliph; transform: scaleX(-1);  }
.mfp-container button.mfp-arrow-left::before, .mfp-container button.mfp-arrow-left::after { display: none; }
.mfp-container button.mfp-close { visibility: hidden; }
.mfp-inline-holder .mfp-content { width: auto; }

/* Contact Form */
body.map #content form { clear: both; position: relative; width: 175%; background: white; color: #212121; float: right; padding: 1.5em 0 0 0; margin: 2em 0; }
body.map #content form  > p { width: 48%; padding: 0 25px 25px 0; display: inline-block; font-size: 0.9em; vertical-align: top; float: right; }
body.map #content form  > p:nth-child(6) { margin-top: -4.5em; }
body.map #content form div { clear: both; }
body.map #content form .wpcf7-response-output { border: 0; background: #E0222B; color: white; padding: .5em 2em; margin: 0; }
body.map #content form input[type=submit], body.map #content form input[type=button], body.map #content form button,
body.map #content form .button { color: #212121; border-color: #212121;  }
body.map #content form input[type=submit]:hover, body.map #content form input[type=button]:hover, body.map #content form button:hover, body.map #content form .button:hover { color: #ffffff; background: #212121; }

/* Comments */
#comments { clear: both; margin: 2em 0; border-top: 1px dashed rgba(147, 147, 147, 0.3); padding-top: 2em; }
.comment-author img { border-radius: 40px; position: absolute; left: 0; } 
ol.comment-list { list-style: none; padding: 0 0 20px 0; }
ol.comment-list li { margin: 0 0 2em 0; clear: both; float: left; }
ol.comment-list li article { margin: 0; }
.comment-list .avatar { float: left; margin: 0 2em 1em 0; }
.comment-meta, p.log-in-out, .form-allowed-tags { font-size: 0.85em; color: #747474; }
.comment-meta div { display: inline-block; }
.comment-meta div.comment-metadata { float: right; font-size: 0.9em; }
.comment-meta div.comment-author { padding-left: 100px; }
.comment-reply-link { float: right; clear: both; }
.comment-content { float: right; width: 88%; background: #F2F2F2; margin: 1em 0; padding: 1em 1.5em 0 1.5em; position: relative; }
.comment-content p { padding-bottom: 15px; }  
.comment-content::before { content: ""; display: block; width: 0; height: 0; border-right: 8px solid #F2F2F2; border-top: 8px solid transparent; border-bottom: 8px solid transparent; position: absolute; left: -8px; top: 30%; }
#respond { max-width: 800px; margin: 4em 0; clear: both; }

/* Password-protected post */
.post-password-form { text-align: center; clear: both; margin: 2em 0; }
.post-password-form label { display: inline; }
.post-password-form label input { width: 150px; margin: 0 5px 0 15px; }
.post-password-form label::before { display: block; font-family: FontAwesome; font-weight: normal; content: "\f13e"; color: #fff; font-size: 4em; width: 100px; height: 100px; text-align: center; line-height: 100px; background: #dadada; border-radius: 50px; margin: 30px auto; }
.post-password-form input[type=submit] { display: inline; }

.wp-caption-text { clear: both; text-align: center; margin: 1em 0 2em 0; font-size: 0.9em; font-style: italic; }
.sticky {}
.bypostauthor {}

/* All whistles (tabs, accordion, toggle) */
.whistles {}
.whistle-title { display: block; cursor: pointer; }
.whistles-toggle .whistle-title::before, .whistles-accordion .whistle-title::before { background: white; color: #212121; }
.whistles-toggle .whistle-title:hover::before, .whistles-accordion .whistle-title:hover::before { background: #212121; color: white; }
.whistle-content { clear: both; }

.whistles-tabs {}
.whistles-tabs-nav, ul.tabs { display: block; float: left; margin-bottom: 2em; border-bottom: 1px solid #212121; padding: 0 !important; }
.whistles-tabs-nav li, ul.tabs li { display: block; float: left; margin: 6px 6px 0 0; padding: 0 !important; }
.whistles-tabs-nav .whistle-title {}
.whistles-tabs-nav li a, ul.tabs li a { display: block; padding: .5em 1em; text-align: center; font-size: 0.9em; cursor: pointer; background: #212121; border: 1px solid #212121; border-bottom: 0; color: white; position: relative; top: 2px; white-space: nowrap; text-decoration: none; 
 -webkit-transition: background .4s ease; -moz-transition: background .4s ease; -ms-transition: background .4s ease; -o-transition: background .4s ease; transition: background .4s ease; }
.whistles-tabs-nav li[aria-selected="true"] a, .whistles-tabs-nav li[aria-selected="true"] a:hover, ul.tabs li.active a:hover, ul.tabs li.active a { color: #212121; background: transparent; border-bottom: 2px solid #fff; }
.whistles-tabs-nav li a:hover, ul.tabs li a:hover { color: #212121; background: transparent; }
.whistles-tabs-wrap {}
.whistles-tabs-wrap .whistle-content {}

.whistles-toggle {}
.whistles-toggle .whistle-title { display: block; padding: .3em 0;  }
.whistles-toggle .whistle-title::before { content: '+'; font-weight: bold; font-size: 1.1em; position: relative; display: inline-block; width: 22px; height: 22px; line-height: 20px; vertical-align: middle; margin: -2px 12px 0 0; text-align: center;
 -webkit-transition: background .4s ease; -moz-transition: background .4s ease; -ms-transition: background .4s ease; -o-transition: background .4s ease; transition: background .4s ease; }
.whistles-toggle .whistle-title[aria-selected="true"]::before { content: '-'; }
.whistles-toggle .whistle-title[aria-selected="true"] {  }
.whistles-toggle .whistle-content {}

.whistles-accordion {}
.whistles-accordion .whistle-title { display: block;  padding: .3em 0 0 0;  }
.whistles-accordion .whistle-title::before { content: '+'; font-weight: bold; font-size: 1.1em; position: relative; display: inline-block; width: 22px; height: 22px; line-height: 20px; vertical-align: middle; margin: -2px 12px 0 0; text-align: center;
 -webkit-transition: background .4s ease; -moz-transition: background .4s ease; -ms-transition: background .4s ease; -o-transition: background .4s ease; transition: background .4s ease; }
.whistles-accordion .whistle-title[aria-selected="true"]::before { content: '-'; }
.whistles-accordion .whistle-content {}

/* Grid columns */
.column-grid-2 .column-span-1 { margin-right: 5%; width: 46.5%; }
.column-grid-2 .column-span-1.column-last { margin-right: 0; }

/* Loop navigation */
.loop-pagination, .woocommerce-pagination { clear: both; width: 100%; text-align: center; margin: 2em 0; }
.loop-pagination span.current, .woocommerce-pagination span.current { display: inline-block; margin: -2px -5px 0 0; font-size: 1.4em; vertical-align: middle;
font-weight: bold; padding: 7px 16px; text-align: center; }
.woocommerce-pagination ul { padding: 0 !important; }
.woocommerce-pagination li { display: inline; list-style: none; }
.loop-pagination a, .woocommerce-pagination a { display: inline-block; margin: 0 -5px 0 0; padding: 7px 16px; text-align: center; font-size: 0.9em; background: #e0222b; color: white; text-decoration: none;
-webkit-clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%); }
.loop-pagination a:hover, .woocommerce-pagination a:hover { background: #212121; }
.post-pagination { padding: 2em 3em; text-transform: uppercase; font-size: 0.8em; border-bottom: 1px solid rgba(147, 147, 147, 0.3); }
.post-pagination::after { content: ""; display: block; clear: both; }
.post-pagination > div { display: inline-block; width: 50%; float: left; }
.post-pagination .prev-post { text-align: left; }
.post-pagination .next-post { text-align: right; float: right; }


/* 6. SIDEBAR
_____________________________________ */
#sidebar { width: 320px; position: fixed; top: 0; right: -320px; height: 100%; overflow-x: hidden; overflow-y: hidden; background: #212121; z-index: 120; color: white; font-size: 0.85em; cursor: auto; }
#footer { padding: 35px 20px 0 30px; color: #6B6B6B; }

/* Widgets */
#sidebar .widget { clear: both; position: relative; margin: 0 22px 10px 32px; padding: 12px 0; border-bottom: 1px dashed #333; }
#sidebar .widget h2, #sidebar .widget h3 { font-size: 1.25em; }
#sidebar h2 a, #sidebar h3 a, #sidebar h4 a, #sidebar h5 a, #sidebar h6 a { color: white; }
#sidebar .widget ul { list-style: none; padding: 0; }
#sidebar .widget li { display: block; }
#sidebar .widget li a:first-child { display: inline-block; padding: 0 0 5px 0; }
#sidebar .widget li img { max-width: 100%; height: auto; margin-top: 2px; }
.rsswidget img { margin: 2px 10px 0 0; } /* for rss icon */
#sidebar .widget .entry-meta, .#sidebar .widget  .post-date, #sidebar .widget  .rss-date { display: block; font-size: 0.9em; margin: 0 0 8px 0; }
#sidebar .widget p { padding: 0 0 10px 0; line-height: 1.4; }
.tagcloud a { display: inline-block; font-size: 1em !important; padding: 0 4px 5px 0; }
#recentcomments li::before { font-family: FontAwesome; font-weight: normal; content: "\f075"; font-size: 0.9em; padding: 0 12px 0 0; color: #9D9D9D; } 
#wp-calendar td, #wp-calendar th { padding: 1em .5em; }

/* Recent Posts widget */
#sidebar .widget .recent-post-widget { margin: 0; }
#sidebar .widget .recent-post-widget h3.entry-title { font-size: 0.9em; text-transform: uppercase; font-weight: normal; margin: 0; height: 60px; }
#sidebar .widget .recent-post-widget h3.entry-title a { display: block; position: relative; top: 40%; -webkit-transform: translateY(-50%);-ms-transform: translateY(-50%); transform: translateY(-50%); }
#sidebar .widget .recent-post-widget .post-featured-image { width: auto; }
#sidebar .widget .recent-post-widget .post-featured-image img { width: 52px; height: 52px; border-radius: 26px; float: left; vertical-align: middle; margin: 0 20px 12px 0 !important; }

/* Search */
#searchbar { width: 100%; position: relative; }
#searchbar #searchbar-submit { position: absolute; margin: 0; right: -5px; top: 0; background: none; border: 0; font-size: 1.4em; color: #E0222B; line-height: 23px; }
#searchbar #searchbar-submit::after { display: none; }
#sidebar #searchbar #searchbar-submit {  }
#sidebar #searchbar #searchbar-input { background: #3E3E3E; }
#sidebar #searchbar { width: 100%; margin: 7px 0; }

/* Social Icons */
ul.social-icons { list-style: none; }
ul.social-icons::after { content: ""; display: block; clear: both; }
ul.social-icons li { display: block; float: left; padding: 0 17px 0 0; font-size: 1.5em; }
ul.social-icons li a { text-decoration: none !important;
-webkit-transition: color .5s ease; -moz-transition: color .5s ease; -ms-transition: color .5s ease; -o-transition: color .5s ease; transition: color .5s ease; }
ul.social-icons li a:hover i { color: #E0222B;
	-moz-animation: spinHorizontal .5s linear;
    -o-animation: spinHorizontal .5s linear;    
    -webkit-animation: spinHorizontal .5s linear;
    animation: spinHorizontal .5s linear; }
@-webkit-keyframes spinHorizontal { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(-360deg); } }
@-mox-keyframes spinHorizontal { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(-360deg); } }
@-o-keyframes spinHorizontal { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(-360deg); } }
@keyframes spinHorizontal { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(-360deg); } } 

/* Instagram/Flickr */
.photoreel-widget { padding: 0 !important; list-style: none; }
.photoreel-widget li { display: inline-block !important; width: 22%; margin: 0 5px -5px 0; }
.photoreel-widget li a { display: inline; }
.photoreel-widget li a img { width: 100%; height: auto; margin: 0 !important; }

/* Custom Scrollbar */
#sidebar .viewport { width: 100%; height: 100%; overflow: hidden; position: relative; }
#sidebar .overview { width: 100%; list-style: none; position: absolute; left: 0; top: 0; padding: 0; margin: 0; }
#sidebar .scrollbar { background: transparent; position: absolute; right: 0; width: 5px; z-index: 125; opacity: 0; 
-webkit-transition: opacity .4s ease; -moz-transition: opacity .4s ease; -ms-transition: opacity .4s ease; -o-transition: opacity .4s ease; transition: opacity .4s ease; }
#sidebar:hover .scrollbar { opacity: 1; }
#sidebar .track { background: transparent; height: 100%; width: 100%; position: relative; }
#sidebar .thumb { background: #555; height: 20px; width: 5px; cursor: pointer; overflow: hidden; position: absolute; top: 0; left: 0; }
#sidebar .thumb .end { background: #555; overflow: hidden; height: 5px; width: 5px; }
#sidebar .disable { display: none; }
.noSelect { user-select: none; -o-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; }

/* WOO COMMERCE 
______________________________________ */
.shop-entry-content-wrapper { width: 64%; float: right; }
.shop-entry-content-wrapper .entry-content { padding: 0 6% 1em 0; } 
#shop-sidebar { width: 30%; float: left; padding: 50px 0 0 12%; }
body.singular-product .shop-entry-content-wrapper { padding: 50px 0 2em 8%; }

.woocommerce-result-count { display: inline-block; float: left; position: relative; top: -50px; z-index: 5; color: white; }
.woocommerce-ordering { float: right; margin: -5px 0 0 0; font-size: 0.85em; position: relative; top: -50px; z-index: 5;  }

.products { clear: both; list-style: none; width: 104%; padding: 0 !important; }
.products::after { content: ""; display: block; clear: both; }
.products li.product { float: left; width: 30.2%; margin: 3px 2.7% 18px 0; padding: 0 0 18px 0; position: relative; border: 1px solid rgba(0,0,0,0.1); border-bottom-color: rgba(0,0,0,0.2); text-align: center; background: white; }
.products li.product:nth-child(3n+1) { clear: both; }
.products li.product img { width: 100%; height: auto; margin: 0 0 10px 0; }
.products li.product a { display: block; text-decoration: none; }
.products li.product h3 {  color: #1B1B1B; }
.products li.product a.button { display: block; text-decoration: none; width: 70%; padding: 7px; position: absolute; top: 48%; left:0; right: 0; margin: 0 auto; opacity: 0; 
-webkit-transition: opacity 0.4s ease-in-out; -moz-transition: opacity 0.4s ease-in-out; -o-transition: opacity 0.4s ease-in-out; transition: opacity 0.4s ease-in-out; }
.products li.product:hover a.button { opacity: 1; }

.product .onsale { position: absolute; width: 120px; height: 120px; color: white; text-align: center; line-height: 200px; text-decoration: none; background: #e0222b; top: -60px; left: -60px; font-weight: bold; text-transform: uppercase;
-ms-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); transform: rotate(-45deg);  }
.products li.product a.button.add_to_cart_button { width: 40px; height: 40px; overflow: hidden; }
.products li.product a.button.add_to_cart_button::before { font-family: FontAwesome; font-weight: normal; content: "\f07a"; display: block; padding: 0 0 20px 0; }

.product { position: relative; overflow: hidden; }
.product .single-product-main-image { width: 55%; float: left; margin: 0 2em 2em 0; }
.product .single-product-main-image img { width: 100%; height: auto; border: 1px solid rgba(0,0,0,0.1); margin: 0; }
.product .images { width: 47%; float: left; margin: 0 2% 20px 0; }
.product .images img { width: 100%; height: auto; border: 1px solid rgba(0,0,0,0.1); margin: 0 0 1em 0; }
.product .images .thumbnails img { height: 80px; width: auto; margin: 0 1em 2em 0; }
.product .entry-summary { width: 50%; float: right !important; display: block; }
.product h3 { margin-bottom: 10px; }
.product .price .amount { font-size: 1.2em; padding: 0 3px; color: #555; font-weight: bold; }
.product .price ins { text-decoration: none; }
.product .price del .amount { font-size: 0.95em; }
.panel.entry-content { font-size: 1.0em; float: none; clear: both; width: 100%; }

.product .cart { background: rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.1); padding: 10px 15px 3px 15px; margin: 0 0 20px 0; }
.product .cart::after { content: ""; display: block; clear: both; }
.product .cart .quantity { display: inline-block; margin-top: -5px; }
.product .cart button { float: right; padding: 0 15px; line-height: 32px; margin: 2px -5px 0 0; }
input.plus, input.minus { background: none !important; border: 0 !important; font-size: 2em; color: #729221 !important; padding: 0 10px; box-shadow: none !important; -webkit-appearance: none; outline: none; }
input.minus { padding-left: 0; }
input.plus:hover, input.minus:hover { color: #2E62CF; }
.product .cart.variations_form .price { float: left; margin: 10px 25px 0 -4px; }
.product .cart.variations_form  table { margin: 0 0 10px -2px; width: 101%; background: #D2D2D2; border: 0; }
.product .cart.variations_form  table td { background: none; border: 0; vertical-align: text-top; padding: 1em; }
.product .cart.variations_form  table td select { width: 64%; }
a.reset_variations { float: right; padding: 4px; }
.button.checkout { border-color: #729221 !important; color: #729221; } 
.button.checkout:hover, .button.checkout:focus { color: white; background-color: #729221; }

.product_meta { font-size: 0.9em; }

.woocommerce.widget .price_label { float: right; background: #E9E9E9; border: 1px solid rgba(0,0,0,0.1); padding: 3px 5px; margin: 5px 0 0 0; }
.woocommerce.widget ul  { padding: 0 0 2em 0; }
.woocommerce.widget ul li { display: block; }
.woocommerce.widget ul.product_list_widget::after { content: ""; display: block; clear: both; }
.woocommerce.widget ul.product_list_widget li { display: block; clear: both; line-height: 1.8; }
.woocommerce.widget ul.product_list_widget li a { display: block; text-transform: uppercase; }
.woocommerce.widget ul.product_list_widget img { float: left; width: 80px; height: auto; border: 1px solid rgba(0,0,0,0.1); margin: 0 15px 15px 0; clear: both; }
.woocommerce.widget ul.product_list_widget .amount { display: block; font-size: 1.2em; color: #555; font-weight: bold; padding: 3px 0; }
.woocommerce.widget ul.product_list_widget  ins { text-decoration: none; line-height: 1; }
.woocommerce.widget ul.product_list_widget  ins  .amount { display: inline; }
.woocommerce.widget ul.product_list_widget  del { display: inline-block; padding: 0 5px 0 0; }
.woocommerce.widget ul.product_list_widget  del .amount { font-size: 0.95em; color: #C94A2A; }
.woocommerce.widget ul.product_list_widget .variation { display: none; }
.woocommerce.widget .total { background: #E9E9E9; border: 1px solid rgba(0,0,0,0.1); padding: 3px 5px !important; margin: 0 0 10px 0; width: 90%; }

.woocommerce-message { clear: both; padding: 1em 1em 1em 1.5em; border: 1px solid #E2D64C; background: #CABC5C; margin-bottom: 20px; position: relative; font-size: 0.95em; color: #6E650A; line-height: 2; z-index: 10; }
.woocommerce-message .button { float: right; }
.woocommerce-message::after { content: ""; display: block; clear: both; }

.woocommerce-info { padding: 7px 7px 8px 15px !important; border: 1px solid #E2D64C; background: #CABC5C; position: relative; font-size: 0.95em; border-radius: 4px; color: #6E650A; margin: 0 0 20px 0; }
.woocommerce-info a { float: right; }
.woocommerce-info::after { content: ""; display: block; clear: both; }

.woocommerce-tabs { clear: both; float: left; width: 80%; margin: 30px 0 0 0; }
#content #shop .woocommerce-tabs .entry-content { width: 100%; margin-bottom: 40px; clear: both; }

#review_form_wrapper { margin: 25px 0 0 0; }
#review_form_wrapper form > p.comment-form-author { width: 48%; padding-right: 3%; float: left; }
#review_form_wrapper form > p.comment-form-email { width: 48%; padding-right: 0; float: left; }

.woocommerce #comments { background: none; padding: 0; border: 0; }
.woocommerce #comments ol { list-style: none; padding: 0; }
.woocommerce #comments ol li { background: rgba(0,0,0,0.1); border: 1px dotted rgba(147, 147, 147, 0.3); padding: 10px 20px 0 20px; margin: 0 0 10px 80px; clear: both; font-size: 0.9em; }
.woocommerce #comments ol li::after { content: ""; display: block; clear: both; }
.woocommerce #comments ol li img { position: absolute; left: 0; border: 1px solid rgba(0,0,0,0.15); margin: 0 15px 10px 0; }
.woocommerce #comments ol li .comment-text { display: inline; }
.woocommerce #comments ol li .meta { display: inline-block; border-bottom: 1px dotted rgba(147, 147, 147, 0.3); font-size: 0.9em; padding-bottom: 5px; margin-bottom: 15px;  }
.woocommerce #comments ol li .star-rating { top: 10px; right: -10px;  }

.related.products { clear: both; width: 50%; }

body.woocommerce-cart .shop-entry-content-wrapper, body.woocommerce-checkout .shop-entry-content-wrapper, body.singular-product .shop-entry-content-wrapper { width: 100%; }
body.woocommerce-cart #shop-sidebar, body.woocommerce-checkout #shop-sidebar, body.singular-product .shop-entry-content-wrapper #shop-sidebar { display: none; }

.woocommerce table th { text-align: left; padding: 5px 10px; border-left: 0; border-right: 0; }
.woocommerce table td { text-align: left; padding: 5px 10px; border-left: 0; border-right: 0; }
.woocommerce table td img { width: 80px; height: auto; }
.woocommerce table.cart .coupon { width: 50%; float: left; }
.woocommerce table.cart .coupon .input-text, input#coupon_code { width: 40%; float: left; margin: 1px 10px 10px 0; }
.woocommerce table.cart .coupon .button, .checkout_coupon .button { margin-top: 1px; }
.checkout_coupon p { display: inline; }
.woocommerce table.cart .actions > p { text-align: right; padding: 1em 0 .5em 0; }
a.remove { text-decoration: none; font-weight: bold; font-size: 1.5em; color: #C94A2A; }
.woocommerce table.cart .actions > input.button { float: right; margin: 34px 0 0 10px; padding: 3px 15px 4px 15px; }
.woocommerce table.cart .actions > input.button.checkout-button { float: right; margin: 28px 0 0 10px; padding: 6px 18px 7px 18px; border-color: #729221; color: #729221; }
.woocommerce .cart_totals { width: 40%; float: right; }
.woocommerce .cart_totals table th { text-align: right; }
.woocommerce .cart_totals table td { text-align: left; }
.order-total .amount { font-size: 1.2em; }
.shipping_calculator { width: 40%; float: right; clear: both; }
.shipping_calculator h2 { font-size: 1em; }
.shipping_calculator p.form-row { float: left; margin: 0 2% 0 0; width: 47%; }

#payment ul { list-style: none; padding: 0 !important; }
#payment label, label.checkbox { display: inline-block; }
#payment img { vertical-align: middle; }
.checkout .col-1 { width: 45%; float: left; }
.checkout .col-2 { width: 45%; float: right; }
input#place_order { margin: 20px 0 0 0; }

ul.products .product .star-rating { display: none; }
.woocommerce .star-rating,.woocommerce-page .star-rating{float:right;overflow:hidden;position:relative;height:1em;line-height:1em;font-size:1em;width:5.4em;font-family:'FontAwesome'}.woocommerce .star-rating::before,.woocommerce-page .star-rating::before{content:"\f005\f005\f005\f005\f005";color:#dfdbdf;float:left;top:0;left:0;position:absolute}.woocommerce .star-rating span,.woocommerce-page .star-rating span{color: #DFCB00;overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.woocommerce .star-rating span::before,.woocommerce-page .star-rating span::before{content:"\f005\f005\f005\f005\f005";top:0;position:absolute;left:0}.woocommerce .woocommerce-product-rating,.woocommerce-page .woocommerce-product-rating{line-height:2em;display:block;float: right;}.woocommerce .woocommerce-product-rating .star-rating,.woocommerce-page .woocommerce-product-rating .star-rating{margin:.5em 4px 0 0;float:left;font-style: normal;}.woocommerce .products .star-rating,.woocommerce-page .products .star-rating{display:block;margin:0 0 .5em;float:none}.woocommerce .hreview-aggregate .star-rating,.woocommerce-page .hreview-aggregate .star-rating{margin:10px 0 0 0}
.woocommerce p.stars,.woocommerce-page p.stars{position:relative;height:1em;font-size:1em}.woocommerce p.stars a,.woocommerce-page p.stars a{display:inline-block;font-weight:700;margin-right:1em;text-indent:-9999px;position:relative}.woocommerce p.stars a:last-child,.woocommerce-page p.stars a:last-child{border-right:0}.woocommerce p.stars a.star-1,.woocommerce p.stars a.star-2,.woocommerce p.stars a.star-3,.woocommerce p.stars a.star-4,.woocommerce p.stars a.star-5,.woocommerce-page p.stars a.star-1,.woocommerce-page p.stars a.star-2,.woocommerce-page p.stars a.star-3,.woocommerce-page p.stars a.star-4,.woocommerce-page p.stars a.star-5{border-right:1px solid rgba(0,0,0,0.1)}.woocommerce p.stars a.star-1::after,.woocommerce p.stars a.star-2::after,.woocommerce p.stars a.star-3::after,.woocommerce p.stars a.star-4::after,.woocommerce p.stars a.star-5::after,.woocommerce-page p.stars a.star-1::after,.woocommerce-page p.stars a.star-2::after,.woocommerce-page p.stars a.star-3::after,.woocommerce-page p.stars a.star-4::after,.woocommerce-page p.stars a.star-5::after{font-family:"FontAwesome";text-indent:0;position:absolute;top:0;left:0;padding-right:1em;font-weight:normal;}.woocommerce p.stars a.star-1,.woocommerce-page p.stars a.star-1{width:2em}.woocommerce p.stars a.star-1::after,.woocommerce-page p.stars a.star-1::after{content:"\f006"}.woocommerce p.stars a.star-1:hover::after,.woocommerce p.stars a.star-1.active::after,.woocommerce-page p.stars a.star-1:hover::after,.woocommerce-page p.stars a.star-1.active::after{content:"\f005"}.woocommerce p.stars a.star-2,.woocommerce-page p.stars a.star-2{width:3em}.woocommerce p.stars a.star-2::after,.woocommerce-page p.stars a.star-2::after{content:"\f006\f006"}.woocommerce p.stars a.star-2:hover::after,.woocommerce p.stars a.star-2.active::after,.woocommerce-page p.stars a.star-2:hover::after,.woocommerce-page p.stars a.star-2.active::after{content:"\f005\f005"}.woocommerce p.stars a.star-3,.woocommerce-page p.stars a.star-3{width:4em}.woocommerce p.stars a.star-3::after,.woocommerce-page p.stars a.star-3::after{content:"\f006\f006\f006"}.woocommerce p.stars a.star-3:hover::after,.woocommerce p.stars a.star-3.active::after,.woocommerce-page p.stars a.star-3:hover::after,.woocommerce-page p.stars a.star-3.active::after{content:"\f005\f005\f005"}.woocommerce p.stars a.star-4,.woocommerce-page p.stars a.star-4{width:5em}.woocommerce p.stars a.star-4::after,.woocommerce-page p.stars a.star-4::after{content:"\f006\f006\f006\f006"}.woocommerce p.stars a.star-4:hover::after,.woocommerce p.stars a.star-4.active::after,.woocommerce-page p.stars a.star-4:hover::after,.woocommerce-page p.stars a.star-4.active::after{content:"\f005\f005\f005\f005"}.woocommerce p.stars a.star-5,.woocommerce-page p.stars a.star-5{width:6em;border:0}.woocommerce p.stars a.star-5::after,.woocommerce-page p.stars a.star-5::after{content:"\f006\f006\f006\f006\f006"}.woocommerce p.stars a.star-5:hover::after,.woocommerce p.stars a.star-5.active::after,.woocommerce-page p.stars a.star-5:hover::after,.woocommerce-page p.stars a.star-5.active::after{content:"\f005\f005\f005\f005\f005"}

.woocommerce.widget .star-rating { float: none; }
.woocommerce.widget #searchform input[type=text] { width: 60%; }


/* 7. RESPONSIVNESS
_____________________________________ */
@media screen and (max-height: 700px) {
	body.layout-horizontally-scrollable .gallery-caption, .masonry-gallery .gallery-caption { font-size: 80%; }
	body.layout-horizontally-scrollable .gallery-caption .entry-summary { width: auto; bottom: 25px; left: 8%; padding-right: 5%; max-width: 240px; }
	#slidenav { bottom: 10%; }
}
@media screen and (max-width: 980px) {
	#header nav ul { display: none; }
	#header nav .mobilemenu { display: block; }

	.masonry-gallery .gallery-item { width: 48%; }

	body.logged-in.admin-bar #header { top: 46px; }
	body.logged-in.admin-bar #sidebar { top: 46px; }
	
	.comment-content { width: 82%; }
}
@media screen and (max-width: 770px) {
	html, body { height: auto; }
	#header { height: auto; position: static; }
	#logo, #header nav { width: 40%; float: left; position: relative; }
	#header nav { float: right; width: 55%; }
	#logo a { position: static; margin: .3em 0 .3em 1em; }
	#logo a img { position: static; margin: 0; }
	#logo::after { display: none; }
	#header nav .mobilemenu { width: 100%; float: none; margin: 1.5em 0 0 0; padding: 0; }
	#content::before { display: none; }
	#content { height: auto; }
	#expandsidebar { display: none !important; }
	#sidebar { position: relative; clear: both; width: 100%; height: auto; right: 0 !important; overflow: visible; }
	#sidebar .viewport, #sidebar .overview { position: static; overflow: visible; height: auto; }
	#sidebar .overview { max-width: 450px; margin: 0 auto; }

	body #content > .wrapper { padding: 0; overflow-x: hidden; } 
	body.singular .entry-content-wrapper { padding: 50px 0; }
	.entry-content { padding: 0 4% 1em; }
	article { margin: 0; }
	h2 { font-size: 1.4em; }
	.entry-header { font-size: 80%; }
	.entry-related-posts { display: none; }
	.entry-social-shares { position: static; width: auto; margin: -40px 0 0 0; }
	.entry-social-shares > p, .entry-social-shares > div { display: inline-block; margin: 1em; }
	.entry-social-shares > h2 { display: none;  }
	.featured-image-header {  }
	.featured-image-header .entry-header { padding: 0 2% 5%; }
	.featured-image-header .entry-header h1 { font-size: 2.2em; }
	
	.p50, .column-grid .column { float: none !important; width: 100% !important; padding-right: 0; margin: 0 0 4em 0; }
	#content p.input-block.p50.right { padding-right: 0; margin-left: 0; }
	.left, .right { float: none !important; padding-bottom: 25px; }
	.right { margin-left: 0 !important; }
	img.right, img.alignright, img.left, img.alignleft { float: none !important; padding-bottom: 0; } 
	.justifyright { text-align: left; }
	img.alignnone.size-full, .alignnone > img.size-full { margin: 0 0 0 -5%; max-width: 110%; }
	.ribbon { padding: 1.6% 15% 2.4% 15%; }

	body.layout-horizontally-scrollable { overflow-y: auto; overflow-x: auto; }
	body.layout-horizontally-scrollable #content { height: auto; }
	body.layout-horizontally-scrollable #content > .wrapper { height: auto; white-space: normal; padding: 0; }
	body.layout-horizontally-scrollable #content > .wrapper article.gallery-item { display: block; width: 100% !important; height: auto; margin: 0 !important; }
	body.layout-horizontally-scrollable .gallery-icon { height: auto; }
	body.layout-horizontally-scrollable .gallery-icon img { width: 100%; height: auto; min-height: 1px; }
	body.layout-horizontally-scrollable .gallery-caption.gallery-caption-position-left { width: 50%; min-width: 200px; left: 30px; bottom: 40px; }
	body.layout-horizontally-scrollable .gallery-caption h2 { font-size: 1.6em; }
	body.layout-horizontally-scrollable .gallery-caption .entry-summary { width: auto; bottom: 25px; left: 8%; padding-right: 5%; }
	.scroll-arrows { display: none; }
	#horizontal-reel-gallery-thumbs { position: static; display: none; }
	body.home.layout-horizontally-scrollable #content > .wrapper article.gallery-item:first-child { height: 96vh; min-height: 300px; }
	body.home.layout-horizontally-scrollable #content > .wrapper article.gallery-item:first-child .gallery-icon { height: 100%; }
	body.home.layout-horizontally-scrollable #content > .wrapper article.gallery-item:first-child .gallery-icon img { height: 100%; width: auto; min-width: 100%; }
	#slidenav { bottom: 5%; }

	body.layout-fullscreen-fixed { max-height: 9999px; }
	body.layout-fullscreen-fixed #content { height: auto; }
	body.layout-fullscreen-fixed .featured-image-header { height: auto; }
	body.layout-fullscreen-fixed .entry-content-wrapper { position: static; width: 100%; }
	body.layout-fullscreen-fixed.layout-fullscreen-fixed-center .entry-content-wrapper { position: absolute; width: 90%; }
	body.singular .entry-content-wrapper { position: static; width: 100%; }
	body.layout-fullscreen-fixed .entry-content-wrapper::before { -webkit-clip-path: none; -moz-clip-path: none; -o-clip-path: none; -ms-clip-path: none; clip-path: none; }

	.masonry-blog article.post  { width: 100%; }
	.masonry-gallery.gallery, .entry-content-wrapper .masonry-gallery.gallery { width: 110%; margin: 0 0 0 -5%; }
	.masonry-gallery .gallery-item { width: 100% !important; }
	.before-after { float: none; width: 100%; margin-right: 0; }

	body.map #content form { width: 100%; }
	body.map #content form > p  { width: 93%; }
	body.map #content form > p:nth-child(6) { margin: 0 !important; }
	#gmap { height: 500px; }

	#shop-sidebar { float: none; width: 100%; padding-left: 4%; } 
	.shop-entry-content-wrapper { float: none; width: 100%; }
	.shop-entry-content-wrapper > .entry-content { padding-left: 4%; }
	body.singular-product .shop-entry-content-wrapper { padding-left: 0; }
	.woocommerce-ordering { float: none; margin: -18px 0 0 0; }
	.archive-product .featured-image-header .entry-header  { bottom: 50px; }
	.products li.product { width: 46.4%; }
	.products li.product:nth-child(2n+1) { clear: both; }
	.products li.product:nth-child(3n+1) { clear: none; }
	.product .images, .product .entry-summary, .woocommerce-tabs, .related.products { float: none; width: 100%; }
	.woocommerce-tabs ul.tabs { margin-top: 2em; }
	.woocommerce .cart_totals, .woocommerce table.cart .coupon, .shipping_calculator, 
	.checkout .col-1, .checkout .col-2 { float: none; width: 100%; }
	.woocommerce table.cart .actions > p { text-align: left; }
}
@media screen and (max-width: 500px) {
	#logo, #header nav { width: 100%; float: none; clear: both; text-align: center; position: relative; }
	#logo a { margin: 1em auto .3em; white-space: normal; line-height: 1.5; }
	#logo a img { margin: 0; }
	#header nav .mobilemenu { width: 70%; float: none; margin: 0 auto; padding: 15px 0; }

	body.home.layout-horizontally-scrollable #content > .wrapper article.gallery-item:first-child { height: 64vh; min-height: 250px; }
	
	body.layout-fullscreen-fixed .featured-image-header { min-height: 300px; background-repeat: no-repeat; background-attachment: scroll; background-color: transparent; }
	body.singular.layout-fullscreen-fixed .entry-content-wrapper { padding: 15px; font-size: 80%; }
	
	.megabig { font-size: 160%; }
}
