/*
Theme Name: Espania
Theme URL: Espania - Minimal Personal Blog
Version: 1.0
Description: Espania - Minimal Personal Blog
Author: Designfamily
Author URI: http://themeforest.net/user/Designfamily


0. Normalize.css
1. Main styles + font-face
2. Main layouts
3. Icons
4. Header
5. Single post/page
6. Comments
7. Page Templates
8. Sidebar
9. Footer
10. Elements
11. Widgets
12. Shortcodes
13. Shortcode elements
14. Wordpress Core
15. Grid
16. WooCommerce
17. Responsive



/*-----------------------------------------------------------------------------------*/
/*	0. Normalize.css v2.1.0 | MIT License | git.io/normalize */
/*-----------------------------------------------------------------------------------*/	

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary {display: block;} audio,canvas,video {display: inline-block;} audio:not([controls]) {display: none;height: 0;}[hidden] {display: none;} html {font-family: sans-serif;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;} body {margin: 0;} a:focus {outline: none;} a:active,a:hover {outline: 0;} h1 {font-size: 2em;margin: 0.67em 0;} abbr[title] {border-bottom: 1px dotted;} b,strong {font-weight: bold;} dfn {font-style: italic;} hr {-moz-box-sizing: content-box;box-sizing: content-box;height: 0;}
mark {background: #ff0;color: #000;} code,kbd,pre,samp {font-family: monospace, serif;font-size: 1em;} pre {white-space: pre-wrap;} q {quotes: "\201C" "\201D" "\2018" "\2019";} small {font-size: 80%;} sub,sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline;} sup {top: -0.5em;} sub {bottom: -0.25em;} img {border: 0;} svg:not(:root) {overflow: hidden;} figure {margin: 0;} fieldset {border: 1px solid #c0c0c0;margin: 0 2px;padding: 0.35em 0.625em 0.75em;} legend {border: 0;padding: 0;} nav ul, nav ol {list-style: none;list-style-image: none;margin: 0;padding: 0;}
button,input,select,textarea {font-family: inherit;font-size: 100%;margin: 0;} button,input {line-height: normal;} button,select {text-transform: none;} button,html input[type="button"],input[type="reset"],input[type="submit"] {-webkit-appearance: button;cursor: pointer;} button[disabled],html input[disabled] {cursor: default;} input[type="checkbox"],input[type="radio"] {box-sizing: border-box;padding: 0;} input[type="search"] {-webkit-appearance: textfield;-moz-box-sizing: content-box;-webkit-box-sizing: content-box;box-sizing: content-box;} 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;} textarea {overflow: auto;vertical-align: top;} table {border-collapse: collapse;border-spacing: 0;}	
	
	
	
/*-----------------------------------------------------------------------------------*/
/*	1. Main styles + font-face
/*-----------------------------------------------------------------------------------*/

@font-face {
  font-family: 'icomoon';
  src:url('../fonts/icomoon.eot');
  src:url('../fonts/icomoon.eot') format('embedded-opentype'),
	url('../fonts/icomoon.woff') format('woff'),
	url('../fonts/icomoon.ttf') format('truetype'),
	url('../fonts/icomoon.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'icomoon2';
  src:url('../fonts/icomoon2.eot');
  src:url('../fonts/icomoon2.eot') format('embedded-opentype'),
	url('../fonts/icomoon2.woff') format('woff'),
	url('../fonts/icomoon2.ttf') format('truetype'),
	url('../fonts/icomoon2.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}	

/*html,
body {
  height: 100%;
}*/

body {
  position: relative;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #777777;
  background: #ffffff;
  word-wrap: break-word;
  overflow-y: scroll;
  overflow-x: hidden!important;
  -webkit-font-smoothing: antialiased;
}	
	
p { margin: 0 0 24px; }
	
a { 
  color: #369670; 
  text-decoration: none;		
  outline: none;   
  -webkit-transition: color .3s linear;
     -moz-transition: color .3s linear;
       -o-transition: color .3s linear;
          transition: color .3s linear;
}
a:hover, a:focus {
  -webkit-transition: color .1s linear;
     -moz-transition: color .1s linear;
       -o-transition: color .1s linear;
          transition: color .1s linear;
}

img { 
  height: auto; 
  vertical-align: middle;
  max-width: 100%;
}	
	
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 { 
  font-family: 'Raleway', sans-serif;
  margin: 10.5px 0 12.5px; 
  font-weight: 200;
  color: #3d3d3d;
  text-transform: uppercase;
}

h5, .h5,
h6, .h6 { 
  font-weight: 700;
  color: #000000;
}

h1, .h1 { font-size: 48px; line-height: 1.2; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 12px; }
h6, .h6 { font-size: 10px; }
	

abbr[data-original-title] {
  position: relative;
  color: #444444;
  cursor: help;
  border-bottom: 1px dotted #999999;
}
abbr[data-original-title]:after {
  content: "?";
  position: absolute;
  right: -16px;
  top: -6px;
  display: block;
  width: 14px;
  height: 14px;
  font-size: 10px;
  color: #ffffff;
  line-height: 14px;
  text-align: center;
  border-radius: 50%;
}
abbr[data-original-title]:hover:after {
  background-color: #cccccc;
}
abbr[data-original-title]:hover:before {
    position: absolute;
    bottom: 100%;
    left: 100%;
	z-index: 999;
	margin-left: 16px;
	margin-bottom: 5px;
	color: #777777;
	font-size: 14px;
    display: block;
    padding: 10px;
    background: #ffffff;
	border: 1px solid #eeeeee;
    content: attr(data-original-title);
}

small { font-size: 11px; }
	
cite { font-style: normal; }	
	
address {
  display: block;
  margin-bottom: 21px;
  font-style: normal;
  line-height: 1.428571429;
}
	
code {
  font-size: 14px;
  color: #777777;
}
	
pre {
  display: block;
  padding: 15px 30px !important;
  margin: 0;
  font-size: 12px;
  line-height: 1.428571429;
  word-break: break-all;
  word-wrap: break-word;
  color: #333333;
  background-color: #f8f8f8;
  border: 1px solid #e4e4e4 !important;
  border-left-width: 3px !important;
}
pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre-wrap;
  background-color: transparent;
  border: 0;
}
	
ul,
ol {
  margin-top: 20px;
  margin-bottom: 24px;
}
	
ul ul,
ol ul,
ul ol,
ol ol { margin-bottom: 0; }

dl { margin-bottom: 21px; }

dt { font-weight: bold; }

dd { margin-left: 0; }		
	
/* Blockquote */
blockquote {
  position: relative;
  margin: 48px 0 68px;
  padding-left: 65px;
  font-style: italic;
}
blockquote:before {
  content: '\e60d';
  position: absolute;
  left: 8px;
  top: -1px;
  display: block;
  font-family: 'icomoon2';
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
}
blockquote p {
  font-family: Georgia, serif;
}
blockquote small {
  display: block;
  padding-top: 23px;
  font-family: 'Lato', sans-serif;
  font-size: 1.1em;
  font-style: normal;
}
blockquote small:before { content: '- '; }
	
q:before,
q:after,
blockquote:after { content: ""; }
	
/* Form */	
input[type="text"],	
input[type="password"],	
input[type="email"] { 
  display: inline-block;
  width: 100%;
  padding: 5px 30px 5px 10px;
  border: none;
  font-size: 14px;
  font-style: italic;
  color: #777777;
}	
input:focus { outline: 0; }
input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder, textarea:focus:-moz-placeholder { color:transparent; }
input:focus::-moz-placeholder, textarea:focus::-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder { color:transparent; }

::-webkit-input-placeholder { color: #777777; }
:-moz-placeholder { color: #777777; opacity: 1; }
::-moz-placeholder { color: #777777; opacity: 1; }
:-ms-input-placeholder { color: #777777; }

::selection { color: #ffffff; }
::-moz-selection { color: #ffffff; }
	
label, legend { display: block; }
label  { 
  margin-bottom: 5px; 
  font-weight: normal;	
}
legend {
  width: 100%;
  padding: 0;
  margin-bottom: 21px;
  font-size: 22.5px;
  line-height: inherit;
  color: #333333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

/* Table */	
table {
  font-size: 0.9em;
  border-collapse: separate; 
  border-spacing: 0;
  width: 100%; 
  margin-bottom: 18px;
  border-top: 1px solid #ddd; 
  border-left: 1px solid #ddd;
  background-color: transparent;
}
	
table, td, th { text-align: left; }
	
th, td { padding: 10px; }
	
tfoot td { border: 0px; }
	
table { 
  text-align: left; 
  margin: 0 -1px 24px 0; 
  width: 100%; 
}
	
tr th, thead th { 
  padding: 9px 5px;
  font-weight: bold;
}
	
tr td { 
  border-bottom: 1px solid #ddd; 
  border-right: 1px solid #ddd; 
  padding: 6px; 
}
	
th { 
  background: #f9f9f9; 
  border-bottom: 1px solid #ddd; 
  border-right: 1px solid #ddd; 
}
	
thead th { border-right: 1px solid #ddd;}
tr.odd td { background: #F2F7FC; }	
table td:hover { background-color: #f9f9f9; }	  

iframe { 
  width: 100%;
  height: 100%;	
  border: none;
}
	
/** Optional Classes **/
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after { clear: both; }	
.pull-right { float: right !important; }	
.pull-left { float: left !important; }
.hide { display: none !important; }
.show { display: block !important; }
.invisible { visibility: hidden !important; }
.visible { visibility: visible !important; }
.lato { font-family: 'Lato', sans-serif; }

/* Main colors */
.main-color,
.blog-post__date i,
.main-color-hover:hover,
.title,
.st-menu__nav a:hover,
.st-menu__nav a:hover:before,
.st-menu__nav .on > a,
.st-menu__nav .on > a:before,
blockquote:before,
blockquote small,
.sidebar a:hover,
.woocommerce-page .woocommerce-MyAccount-navigation li a:hover,
a.likes:hover:before,
a.likes.active:before,
a.header__search:hover,
.blog-post__title a:hover,
.header .searchform__submit,
.archive__list a:hover,
.sidebar .widget .widget__title,
.footer_content a:hover,
.blog-panel__more a,
.b-filter a:hover,
.b-filter a.active,
.searchform__submit:hover,
.active .searchform__submit:hover,
div.espania-popup button.mfp-arrow:hover:before,
.posts-slider__content .blog-panel__more a:hover span:before,
.posts-slider .arrow-left:hover:before,
.posts-slider .arrow-right:hover:before {
  color: #369670;
}

.main-color-bg,
.main-color-bg-b:before,
.header-altern__nav:hover span, 
.header-altern__nav:hover span:after, 
.header-altern__nav:hover span:before,
.header__menu > ul ul li a:hover,
.mobilenav__menu li a:hover,
.b-portfolio-panel__nav a:hover,
input.form-group__control:focus,
.form-group__control:focus,
input.wpcf7-form-control.wpcf7-text:focus,
textarea.wpcf7-form-control:focus,
.btn span,
.tagcloud a:hover,
.footer_content .tagcloud a:hover,
abbr[data-original-title]:after,
.current-color-scheme,
.mejs-overlay-button-wrapper:hover,
.mejs-controls .mejs-button button:hover,
.mejs-controls .mejs-time-rail .mejs-time-current,
.mejs-controls .mejs-volume-button .mejs-volume-slider .mejs-volume-current {
  background-color: #369670;
}


::selection { background-color: #369670; }
::-moz-selection { background-color: #369670; }
 
 
.st-menu__nav a:after,
.sidebar .cat-item a:after,
.header .searchform,
.blog .blog-post__text > a,
.blog .blog-post__text > *:not(.b-sc) > a,
.b-portfolio-panel__nav a:hover,
input.form-group__control:focus,
.form-group__control:focus,
input.wpcf7-form-control.wpcf7-text:focus,
textarea.wpcf7-form-control:focus,
.tagcloud a:hover {
  border-color: #369670;
}

.random-posts .block-post__overlay {
  background-color: rgba(54, 150, 112, 0.8);
}

.blog .blog-post__text > a:hover,
.blog .blog-post__text > *:not(.b-sc) > a:hover {
  background-color: rgba(54, 150, 112, 0.2);
}

.header__menu > ul ul,
.nav-tabs > li.active > a {
  border-top-color: #369670 !important; 
}


/* Color scheme */
.current-color-scheme {
  color:#ffffff; 
  background-color: #369670;
  -webkit-transition: background-color .3s linear;
     -moz-transition: background-color .3s linear;
      -ms-transition: background-color .3s linear;
       -o-transition: background-color .3s linear;
          transition: background-color .3s linear;
}
.btn.btn-code.btn-current-color-scheme {
  background-color: #5f9571;
  border-color: #5f9571;
}
.btn.btn-code.btn-current-color-scheme span {
  background-color: #ffffff;
}
.btn.btn-code.btn-current-color-scheme:hover {
  color: #5f9571;
}
.btn.btn-code.btn-current-color-scheme-white {
  background-color: #ffffff;
  border-color: #5f9571;
  color: #5f9571;
}
.btn.btn-code.btn-current-color-scheme-white span {
  background-color: #5f9571;
}
.btn.btn-code.btn-current-color-scheme-white:hover {
  color: #ffffff;
}


	
/*-----------------------------------------------------------------------------------*/
/*	2. Main layouts
/*-----------------------------------------------------------------------------------*/

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}


/*-----------------------------------------------------------------------------------*/
/*	3. Icons
/*-----------------------------------------------------------------------------------*/

[class^="icomoon-"], 
[class*=" icomoon-"],
.icon {
  position: relative;
  display: inline-block;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-decoration: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="icomoon2-"], 
[class*=" icomoon2-"] {
  font-family: 'icomoon2';
}

.icomoon-globe:before {
  content: "\e60a";
}
.icomoon-brush:before {
  content: "\e60c";
}
.icomoon-search:before {
  content: "\e600";
}
.icomoon-mail:before {
  content: "\e607";
}
.icomoon-iphone:before {
  content: "\e608";
}
.icomoon-pin:before {
  content: "\e609";
}
.icomoon-arrow-right:before {
  content: "\e611";
}
.icomoon-twitter:before {
  content: "\e612";
}
.icomoon-facebook:before {
  content: "\e613";
}
.icomoon-googleplus:before {
  content: "\e614";
}
.icomoon-pinterest:before {
  content: "\e615";
}
.icomoon-linkedin:before {
  content: "\e616";
}

.icomoon2-person:before {
  content: "\e60a";
}
.icomoon2-more:before {
  content: "\e60b";
}
.icomoon2-say:before {
  content: "\e60c";
}
.icomoon2-quote:before {
  content: "\e60d";
}
.icomoon2-close2:before {
  content: "\e60e";
}
.icomoon2-logo:before {
  content: "\e600";
}
.icomoon2-arrow-left:before {
  content: "\e601";
}
.icomoon2-arrow-right:before {
  content: "\e603";
}
.icomoon2-arrow-top:before {
  content: "\e604";
}
.icomoon2-cite:before {
  content: "\e605";
}
.icomoon2-close:before {
  content: "\e607";
}
.icomoon2-like1:before {
  content: "\e608";
}
.icomoon2-like2:before {
  content: "\e609";
}



/*-----------------------------------------------------------------------------------*/
/*	4. Header
/*-----------------------------------------------------------------------------------*/

.header {
  margin-bottom: 56px;
  -webkit-transition: all 0.5s;
     -moz-transition: all 0.5s;
          transition: all 0.5s;
}

.header.active {
  overflow: hidden;
  -webkit-transform: translateY(0%);
     -moz-transform: translateY(0%);
          transform: translateY(0%);
}


/* Header logo */
.header__logo {
  position: relative;
  display: block;
  float: left;
  padding: 0;
  font-size: 75px;
  color: #3d3d3d;	  
  -webkit-transition: all .3s linear;
     -moz-transition: all .3s linear;
      -ms-transition: all .3s linear;
       -o-transition: all .3s linear;
          transition: all .3s linear;	  
}
.header__logo:hover {
  -webkit-transition: all 0s linear;
     -moz-transition: all 0s linear;
      -ms-transition: all 0s linear;
       -o-transition: all 0s linear;
          transition: all 0s linear;
}

.header__logo .icon {
  padding: 24px 50px 0;
}

.header .header__logo img {
  -webkit-transition: all .5s linear;
     -moz-transition: all .5s linear;
      -ms-transition: all .5s linear;
       -o-transition: all .5s linear;
          transition: all .5s linear;
}


/* Fixed header */
.header-fixed {
  padding-top: 225px;
}
.header-fixed.page-template-template-full-width-php {
  padding-top: 168px;
}

.header-fixed .header {
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  margin: 0;
}

.header-fixed.admin-bar .header {
  margin-top: 32px;
}


/* Resize fixed header */
.header.small-header .header__menu > ul > li > a,
.header.small-header a.header__search {
  line-height: 90px;
}
.header .header__menu a,
.header a.header__search {
  -webkit-transition: line-height 0.5s;
     -moz-transition: line-height 0.5s;
          transition: line-height 0.5s;
}
.header.small-header .header__logo {
  font-size: 40px;
}
.header.small-header .header__logo .icon {
  padding-top: 25px;
}

.header.small-header .header__logo img {
  max-height: 60px;
  margin-top: 10px;
}

.header.small-header .header__perspective > div {
  padding-top: 6px;
}

.header.small-header .header__front,
.header.small-header .header__menu > ul ul {
  background: rgba(255,255,255,0.95);
}
.header.small-header .header__bottom {
  background: rgba(247,247,247,0.95);
}
.header.small-header .searchform ,
.header.small-header .searchform input.searchform__text {
   background: transparent;
}

.header.small-header .searchform {
  margin-top: 3px;
}


/* Navigation menu */
.header__nav {
  position: relative;
  float: right;
}

.header__menu {
  float: left;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
}

.header__menu:first-child {
  margin-top: 0;
}

.header__menu li {
  float: left;
  position: relative; 
}
 
.header__menu a {
  position: relative;
  display: block;
  padding: 0 18px;
  color: #777777;
  line-height: 140px;
  text-decoration: none;
}

.header__menu > ul > .menu-item-has-children:before {
  content: '';
  display: block;
  position: absolute;
  width: 5px;
  top: 50%;
  left: 6px;
  margin-top: -2px;
  height: 3px;
  background: url("../img/arrow-down.png") 0 0 no-repeat;
}

.header__menu > ul li { 
  position: relative; 
  white-space: nowrap;
  cursor: pointer;
  z-index: 999;
  -webkit-transition: color .3s linear;
     -moz-transition: color .3s linear;
       -o-transition: color .3s linear;
          transition: color .3s linear;
}

.header__menu > ul > li:hover > a ,
.header__menu > ul > li.current-menu-item > a,
.header__menu > ul > li.current-menu-ancestor > a {
  color: #000000;
}

/* Menu second level */
.header__menu > ul ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  min-width: 12em;
  z-index: 99;
  background: #fff;
  border: 1px solid #cccccc; 
  border-top-style: solid;
  border-top-width: 1px;
}
  
.header__menu > ul li:hover > ul,
.header__menu > ul li.sfHover > ul { display: block; }

.header__menu > ul ul li {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 0; 
}
.header__menu > ul ul li.current-menu-item > a{
  color: #000000;
}

.header__menu > ul ul li a {
  margin-left: -1px;
  margin-right: -1px;
  padding: 10px 174px 10px 70px;
  line-height: 1.7;
  -webkit-transition: all 0 linear;
     -moz-transition: all 0 linear;
      -ms-transition: all 0 linear;
       -o-transition: all 0 linear;
          transition: all 0 linear;
}
.header__menu > ul ul li a:last-child {
  margin-bottom: -1px;
}
.header__menu > ul ul li a:hover {
  color: #ffffff;
}
.header__menu > ul ul li a:hover:before {
  content: '';
  display: block;
  position: absolute;
  width: 3px;
  height: 5px;
  top: 50%;
  margin-top: -3px;
  left: 57px;
  background: url("../img/arrow-right.png") 0 0 no-repeat;
}

/* Menu third level */
.header__menu > ul ul ul {
  top: 0;
  left: 100%;
}

#walked-line {
  bottom: 50%;
  margin-bottom: -0.9em;
  height: 1px;
  left: 0;
  position: absolute;
  width: 0;
  z-index: 1;
}


/* Mobile menu */
.header-mobile {
  display: none;
  margin-bottom: 36px;
  padding-top: 28px;
}

.header-mobile .header__logo {
  float: none;
    text-align: center;
}

.mobilenav {
  margin: 30px 0 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.mobilenav__toggle {
  display: block;
  width: 32px;
  height: 30px;
  margin: 23px auto 18px;
}
.mobilenav__toggle span:after,
.mobilenav__toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
}
.mobilenav__toggle span:after{
  top: 5px;
}
.mobilenav__toggle span {
  position: relative;
  display: block;
  top: 14px;
}

.mobilenav__toggle span,
.mobilenav__toggle span:after,
.mobilenav__toggle span:before {
  width: 100%;
  height: 1px;
  background-color: #3d3d3d;
  transition: all 0.3s;
  backface-visibility: hidden;
}

/* on activation */
.mobilenav__toggle.on span {
  background-color: transparent;
}
.mobilenav__toggle.on span:before {
  -webkit-transform: rotate(45deg) translate(2px, 3px);
     -moz-transform: rotate(45deg) translate(2px, 3px);
          transform: rotate(45deg) translate(2px, 3px);
}
.mobilenav__toggle.on span:after {
  -webkit-transform: rotate(-45deg) translate(4px, -5px);
     -moz-transform: rotate(-45deg) translate(4px, -5px);
          transform: rotate(-45deg) translate(4px, -5px);
}

.mobilenav__menu {
  display: none;
  padding: 5px 0 10px;
}

.mobilenav__menu li a {
  position: relative;
  display: block;
  padding: 7px 15px;
  font-size: 14px;
  color: #777777;
  line-height: 1.7;
  text-transform: uppercase;
  text-decoration: none;	  
  -webkit-transition: all 0 linear;
     -moz-transition: all 0 linear;
          transition: all 0 linear;
}

.js .mobilenav__menu li a {
  opacity: 0;
  margin-left: 100px;
}

.mobilenav__menu li a:hover {
  color: #ffffff !important;
}

.mobilenav__menu > li.current-menu-item > a {
  color: #000000;
}

.mobilenav__menu .sub-menu {
  padding-left: 15px;
}

.mobilenav__menu .menu-item-has-children > a:after {
  content: '';
  position: relative;
  display: inline-block; 
  right: -10px;
  top: 50%;
  width: 5px;
  height: 3px;
  margin-bottom: 4px;
  background: url("../img/arrow-down.png") 0 0 no-repeat;
}
.mobilenav__menu .menu-item-has-children > a:hover:after {
  background: url("../img/arrow-down-white.png") 0 0 no-repeat;
}


/* Search */
a.header__search {
  position: relative;
  float: left;
  z-index: 2;
  margin-left: 2px;
  font-size: 32px;
  line-height: 140px;
  color: #777777;
}

a.header__search-close {
  color: #3d3d3d;
  font-size: 14px;
  text-decoration: none;
}

.header .searchform {
  margin-top: 28px;
}

.header .searchform input.searchform__text {
  text-align: center;
  background-color: #f7f7f7;
}

.header__perspective {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-perspective-origin: 50% 0;
     -moz-perspective-origin: 50% 0;
	      perspective-origin: 50% 0;
}

.active .header__perspective {
  -webkit-perspective: 1100px;
     -moz-perspective: 1100px;
          perspective: 1100px;
}

.header__perspective > div {
  padding-top: 28px;
  background: #fff;
  height: 100%;
  width: 100%;
  position: relative;
  border-bottom: 1px dotted #ccc;
 -webkit-backface-visibility: hidden;
     -moz-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: all 0.5s;
     -moz-transition: all 0.5s;
          transition: all 0.5s;
}

.header__perspective .header__front {
  z-index: 2;
  -webkit-transform-origin: 50% 100%;
     -moz-transform-origin: 50% 100%;
          transform-origin: 50% 100%;
}

.header__perspective .header__bottom {
  background-color: #f7f7f7;
  position: absolute;
  top: 0;
  z-index: 1;
  text-align: right;
  -webkit-transform-origin: 50% 0%;
     -moz-transform-origin: 50% 0%;
          transform-origin: 50% 0%;
  -webkit-transform: rotateX(-90deg);
     -moz-transform: rotateX(-90deg);
          transform: rotateX(-90deg);
  -webkit-transition: top 0.5s;
     -moz-transition: top 0.5s;
          transition: top 0.5s;
}

.ha-header-rotate .header__front {
  -webkit-transform: translateY(-100%) rotateX(90deg);
	 -moz-transform: translateY(-100%) rotateX(90deg);
	      transform: translateY(-100%) rotateX(90deg);
}

.ha-header-rotate .header__bottom {
  top: 100%;
  -webkit-transition: -webkit-transform 0.5s;
	 -moz-transition: -moz-transform 0.5s;
	      transition: transform 0.5s;
  -webkit-transform: rotateX(0deg) translateY(-100%);
	 -moz-transform: rotateX(0deg) translateY(-100%);
	      transform: rotateX(0deg) translateY(-100%);
}

.ha-header-rotateBack .header__front {
  -webkit-transform: translateY(0%) rotateX(0deg);
	 -moz-transform: translateY(0%) rotateX(0deg);
	      transform: translateY(0%) rotateX(0deg);
}

.ha-header-rotateBack .header__bottom {
  top: 100%;
  -webkit-transition: -webkit-transform 0.5s;
	 -moz-transition: -moz-transform 0.5s;
	      transition: transform 0.5s;
  -webkit-transform: rotateX(-90deg);
	 -moz-transform: rotateX(-90deg);
	      transform: rotateX(-90deg);
}

.no-csstransitions .header__bottom { top: 0; }
.no-csstransitions .ha-header-rotate .header__bottom { z-index: 3; }


/* Alternative header */
.header-altern {
  position: absolute;
  z-index: 999;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 28px 0 41px;
  background: transparent;
}

.header-altern .header__logo {
  color: #ffffff;
}

.header-altern__nav {
  display: block;
  position: relative;
  float: right;
  width: 70px;
  height: 70px;
  margin-top: 24px;
  line-height: 70px;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
     -moz-transition: all 0.3s ease-in-out;
      -ms-transition: all 0.3s ease-in-out;
       -o-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
}

.header-altern__nav span {
  position: relative;
  display: block;    
  margin: 0 auto;
  top: 50%;
}

.header-altern__nav span, 
.header-altern__nav span:after, 
.header-altern__nav span:before {
  width: 18px;
  height: 1px;
  background-color: #ffffff;
  backface-visibility: hidden;
  -webkit-transition: all 0.3s ease-in-out;
     -moz-transition: all 0.3s ease-in-out;
      -ms-transition: all 0.3s ease-in-out;
       -o-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
}

.header-altern__nav span:after,
.header-altern__nav span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
}
.header-altern__nav span:after{
  top: 5px;
}

.header-altern__nav:hover {  
  background-color: #ffffff; 
}


/* Offcanvas menu */
.st-container,
.st-pusher,
.st-content,
.st-menu {
  height: 100%;
}

.st-content {
  background: #fff;
}

.st-content,
.st-content-inner {
  position: relative;
}

.st-container {
  position: relative;
  overflow: hidden;
}

.st-pusher {
  position: relative;
  right: 0;
  z-index: 99;
  -webkit-transition: all 0.5s;
     -moz-transition: all 0.5s;
	  -ms-transition: all 0.5s;
	   -o-transition: all 0.5s;
          transition: all 0.5s;
}
.st-pusher:after {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  background: rgba(0,0,0,0.7);
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
     -moz-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
	  -ms-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
	   -o-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
          transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
}
.st-menu-open .st-pusher {
  -webkit-transform: translate3d(-400px, 0, 0);
	 -moz-transform: translate3d(-400px, 0, 0);
	  -ms-transform: translate3d(-400px, 0, 0);
       -o-transform: translate3d(-400px, 0, 0);
	      transform: translate3d(-400px, 0, 0);
}

.no-csstransforms3d .st-menu-open .st-pusher { right: 400px; }

.st-menu-open .st-pusher:after {
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: 999;
  -webkit-transition: opacity 0.5s;
     -moz-transition: opacity 0.5s;
      -ms-transition: opacity 0.5s;
	   -o-transition: opacity 0.5s;
	      transition: opacity 0.5s;
}

.st-menu {
  position: fixed;
  top: 0;
  right: -400px;
  z-index: 1;
  padding: 10px 80px;
  visibility: hidden;
  width: 400px;
  background: #ffffff;
  overflow-y: auto;
  -webkit-transition: all 0.5s;
     -moz-transition: all 0.5s;
      -ms-transition: all 0.5s;
	   -o-transition: all 0.5s;
          transition: all 0.5s;		  
}

.st-menu-open .st-menu {
  right: 0;
  visibility: visible;
  -webkit-transition: all 0.5s;
     -moz-transition: all 0.5s;
	  -ms-transition: all 0.5s;
	   -o-transition: all 0.5s;
	      transition: all 0.5s;
}

.st-menu__table {
  display: table;
  height: 100%;
  width: 100%;
}

.st-menu__cell {
  display: table-cell;
  vertical-align: middle;
}

.st-menu__nav {
  width: 100%;
  margin: 0 auto;
}

.st-menu__nav a {
  position: relative;
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  color: #3d3d3d;
  border-bottom: 1px dotted #ebebeb;
  line-height: 1;
}

.st-menu__nav a:before {
  content: "\e603";
  position: relative;
  float: right;
  color: #cccccc;
  display: inline-block;
  margin-top: 4px;
  font-family: 'icomoon2';
  font-size: 6px;
}
/*
.st-menu__nav a:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  bottom: -1px;
  border-bottom-style: dotted;
  border-bottom-width: 1px;
  -webkit-transition: width .4s linear;
     -moz-transition: width .4s linear;
       -o-transition: width .4s linear;
          transition: width .4s linear;
}

.st-menu__nav a:hover:after,
.st-menu__nav .on > a:after {
  width: 100%;
}
*/
.st-menu__nav ul ul {
  display: none;
  padding-left: 18px;
}

.st-menu__nav .on > a {
}

.st-menu__nav .title {
  display: inline-block;
  margin-bottom: 18px;
}

.st-menu__close {
  display: inline-block;
  float: right;
  cursor: pointer;
  height: 37px;
  width: 37px;
  margin-top: 1px;
  line-height: 37px;
  text-align: center;
  margin-right: -15px;
}
.st-menu__close.close-rotate:before {
  margin: 0;
}



/*-----------------------------------------------------------------------------------*/
/*	5. Single post/page
/*-----------------------------------------------------------------------------------*/

.content-blocks {
  position: relative;
  margin: 0;
}
.content-blocks:after {
  content: "";
  display: table;
  clear: both;
}


/* Blog posts */
.blog .blog-post {
  margin-bottom: 96px;
}

.blog-post__title a {
  color: inherit;
  text-decoration: none;
}

.blog .blog-post.sticky .blog-post__title a:before {
  content: '';
  background: url(../img/sticky.png) 50% 50% no-repeat;
  width: 40px;
  margin-right: 10px;
  margin-bottom: -4px;
  height: 40px;
  border: 1px solid #777;
  border-radius: 50%;
  display: inline-block;
}

.blog-post__meta {
  margin-bottom: 35px;
  padding: 0 0 12px;
  color: #777777;
  border-bottom: 1px dotted #cccccc;
}
.blog-post__meta:before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 1px;
  margin: 0 7px 3px 0;
}

.blog-post__meta a {
  text-decoration: none;
}
.blog-post__meta > span {
  display: inline-block;
  margin-right: 20px;  
}
.blog-post__meta > span:last-child {
  margin-right: 0;
}

.blog-post__date {
  color: #3d3d3d;
}

.blog-post__image {
  margin-bottom: 28px;
}
.blog-post__image a {
  display: inline-block;
  position: relative;
}

.blog-post__image a img,
.blog-post__image a .img-circle {
  -webkit-transition: opacity 0.4s ease-in-out;
     -moz-transition: opacity 0.4s ease-in-out;
          transition: opacity 0.4s ease-in-out;
}

.blog-post__image a .img-circle {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #000;
  height: 80px;
  width: 80px;
  line-height: 80px;  
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto; 
  z-index: 500;
  font-size: 30px;
  text-align: center;
  color: #fff;
  opacity: 0;
  filter: alpha(opacity=0);
}

.blog-post__image a .img-circle:before,
.blog-post__image a .img-circle:after {
  content: "";
  position: absolute;
  display: block;
  background-color: #ffffff;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto; 
}

.blog-post__image a .img-circle:before {
  width: 1px;
  height: 35px;
}

.blog-post__image a .img-circle:after {  
  width: 35px;
  height: 1px;
}

.blog-post__image a:hover img,
.blog-post__image a:hover .img-circle {
  opacity: 0.7;
}

.blog-post__image a:hover .img-circle {
  -webkit-animation: img_wrap 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
     -moz-animation: img_wrap 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
          animation: img_wrap 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

@-webkit-keyframes img_wrap {
  0%   { -webkit-transform:rotate(-175deg) scale(0.2);  }
  100% { -webkit-transform:rotate(0deg) scale(1);  }
}
@-moz-keyframes img_wrap {
  0%   { -moz-transform:rotate(-175deg) scale(0.2);  }
  100% { -moz-transform:rotate(0deg) scale(1);   }
}
@keyframes img_wrap {
  0%   { transform:rotate(-175deg) scale(0.2);  }
  100% { transform:rotate(0deg) scale(1);   }
}


.blog .blog-post__text {
  margin-bottom: 40px;
}

.blog .blog-post__text > a,
.blog .blog-post__text > *:not(.b-sc) > a {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
     -moz-transition: background-color 0.3s, border-color 0.3s;
       -o-transition: background-color 0.3s, border-color 0.3s;
		  transition: background-color 0.3s, border-color 0.3s;
}

.blog .blog-post__text > a:visited,
.blog .blog-post__text > *:not(.b-sc) > a:visited {
  color: #3d3d3d;
  border-color: #3d3d3d;
}
.blog .blog-post__text > a:visited:hover,
.blog .blog-post__text  > *:not(.b-sc) > a:visited:hover {
  background-color: rgba(61, 61, 61, 0.2);
}
.blog .blog-post__text > a:hover,
.blog .blog-post__text > *:not(.b-sc) > a:hover {
  border-color: transparent;
}

.blog .posts-slider .blog-panel .likes,
.blog .posts-slider .blog-panel__comments {
  width: auto;
}

.blog .posts-slider .blog-panel .likes:after, 
.blog .posts-slider .blog-panel__comments:after, 
.blog .posts-slider .blog-panel__tags:after {
  display: none;
}

.blog-post__tags,
.blog-post__share {
  margin: 62px 0 46px;
  font-size: 14px;
}

.blog-post__tags .title {
  margin-bottom: 24px;
}

.blog-post__share .title {
  margin-bottom: 16px;
}

.blog-post__share a {
  color: #3d3d3d;
  font-size: 18px; 
  vertical-align: middle;
}
.blog-post__share a:hover {
  color: #000000;
}

.js .block-post,
.js .blog-post {
  opacity: 0;
}


/* Single post/page */
.single.blog .content-blocks > .post {
  margin-bottom: 0;
}

.single .post ul,
.single .post ol {
   font-style: italic;
}

.single .post ul {
  list-style: none;
 
}
.single .post ul li:before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 1px;
  margin-right: 7px;
  vertical-align: middle;
  background-color: #000000;
}

.blog.single .content-blocks > .post > .blog-post__text > p:last-child {
  margin-bottom: 86px;
}
.blog.single .content-blocks > .post > .blog-post__text > p:last-child:after {
  content: '';
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 8px;
  margin-bottom: -1px;
  background-color: #3d3d3d;
}

.blog.single .content-blocks > .post > .blog-post__text > p:first-child:first-letter {
  float: left;
  margin-right: 12px;
  font-size: 72px;
  color: #3d3d3d;
  line-height: 66px;
}

.blog-post__text > h1,
.blog-post__text > h2,
.blog-post__text > h3,
.blog-post__text > h4,
.blog-post__text > h5,
.blog-post__text > h6 {
	line-height: 1.2;
}

.blog-post__text input[type="text"],
.blog-post__text input[type="password"],
.blog-post__text input[type="email"] {
  border-bottom: 1px solid #cccccc;
  margin-bottom: 15px;
}
	
.single .post .blog-post__text > h5,
.single .post .blog-post__text > h6 {
  color: inherit;
  font-weight: inherit;
}

.page .single .blog-post__title {
  margin-bottom: 42px;
}

.post-media {
  width: 100%;
  height: 100% !important;
  padding: 0;
  background-color: #000000;
}

.blog-media {
  margin-bottom: 46px;
  width: 100%;
}
.blog-media iframe {
}


/* Alternative post */
.alt-post__img {
  padding: 0;
  margin: 0 0 76px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  max-height: 840px;
}

.alt-post__container {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.alt-post .blog-post__meta {
  border-bottom: none;
}

.alt-post .comments-area {
  margin-top: 64px;
}


.alt-post-nav {
  position: relative;
  margin: 64px 0 0;
  padding: 0;
  overflow: hidden; 
  display: block;
  height: 100%;
  max-height: 480px;  
  width: 100%;
  color: #a7a7a7;
 
}

.alt-post-nav__img {
  display: block;
  width: 100%; 
  max-height: 480px;  
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transform: scale(1);
     -moz-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1); 
  -webkit-transition: -webkit-transform 0.5s;
     -moz-transition: -moz-transform 0.5s;
      -ms-transition: -ms-transform 0.5s;
       -o-transition: -o-transform 0.5s;
          transition: transform 0.5s;
}
.alt-post-nav:hover .alt-post-nav__img {
  -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
      -ms-transform: scale(1.1);
       -o-transform: scale(1.1);
          transform: scale(1.1);
}


.alt-post-nav__overlay {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(0,0,0,0.7);
}

.alt-post-nav__table {
  display: table;
  height: 100%;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 15px;
}

.alt-post-nav__cell {
  display: table-cell;
  vertical-align: middle;
}

.alt-post-nav__content {
  display: block;
  margin: 0 auto;
  width: 100%;
}

.alt-post-nav .blog-post__meta,
.alt-post-nav .blog-post__date,
.alt-post-nav .blog-post__title {
  color: #ffffff;
}

.alt-post-nav .blog-post__text {
  display: block;
  margin-bottom: 36px;
}

.alt-post-nav .blog-post__meta {
  display: block;
  margin-bottom: 20px;
}

.alt-post-nav .blog-post__title {
  display: block;
}

.alt-post-nav__next {
  display: block;
  position: relative;
  margin: 0 0 44px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
}
.alt-post-nav__next .icon:before {
  font-size: 6px;
  position: relative;
  display: inline-block;
  margin-left: 12px;
  top: -1px;
}

.single-alt-post.header-fixed {
  padding-top: 168px;
}
.single-alt-post .header {
  margin-bottom: 0;
}



/*-----------------------------------------------------------------------------------*/
/*	6. Comments
/*-----------------------------------------------------------------------------------*/

.comments-area {
  max-width: 800px;
  margin-bottom: 88px;
}

.commentlist, 
.pinglist {
  padding-left: 0;
  margin: 24px 0 25px;
  list-style-type: none;
  font-size: 14px;
}

.comment__author {
  margin-left: 40px;
  padding-right: 19px;
  padding-left: 20px;
}
.comment__author:before {
  position: absolute;
  font-size: 24px;
  left: -7px;
  top: -3px;
}

.comment__reply {
  padding-left: 28px;
  text-decoration: none;
  line-height: 1;
}
.comment__reply:before {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -2px;
}
.comment__reply:hover {
  color: #000000;
}
.comment__reply:hover:before {
  color: #000000;
  -webkit-transition: color .1s linear;
     -moz-transition: color .1s linear;
       -o-transition: color .1s linear;
          transition: color .1s linear;
}

.comment__text {
  position: relative;
  max-width: 600px;
  border: 1px solid #ededed;
  margin: 16px 0 31px;
  padding: 21px 38px 25px;
}
.comment__text p {
  margin: 0;
}

.commentlist .bypostauthor .comment__text {
    border: 1px solid #5a5a5a;
}

.children { 
  list-style-type: none; 
  margin: 0 0 0 18px;
}

.commentlist > li > .children {
  margin-bottom: 0;
}

#submit-old {
  display: none;
}

#cancel-comment-reply-link {
  display: inline-block;
  float: right;
  margin-top: 8px;
  font-size: 14px;
  text-transform: lowercase; 
  line-height: 1;
  color: #3d3d3d;
}
#cancel-comment-reply-link span {
  display: block;
}



/*-----------------------------------------------------------------------------------*/
/*	7. Page Templates
/*-----------------------------------------------------------------------------------*/

.content-blocks-wrap {
    margin-bottom: 102px;
}

.with-sb {
  float: left;
  width: 75%;
  padding-right: 40px;
}

.single-portfolio.header-fixed {
  padding-top: 168px;
}
.single-portfolio .header {
  margin-bottom: 0;
}

.post-without-sb .random-posts .block-post {
  width: 13.85%;
  margin: 0 0.5% 0.5% 0;
}


/* Full width page */
.full-width-page > .content-blocks > .blog-post > .blog-post__title {
  max-width: 1150px;
  margin: 70px auto 42px;
  padding-left: 15px;
  padding-right: 15px;
}


/* Portfolio single page */
.b-single-portfolio__rightcol,
.b-single-portfolio__leftcol {
  float: left;
}

.b-single-portfolio__rightcol {
  width: 66.66666%;
  padding-right: 34px;
}

.b-single-portfolio__rightcol img {
  margin-bottom: 24px;
}

.b-single-portfolio__leftcol {
  width: 33.33333%;
  padding-left: 46px;
}

.b-single-portfolio__title h2 {
  margin: 0 0 6px;
  line-height: 1.1;
}

.b-single-portfolio__text {
  margin: 21px 0 50px;
}

.b-single-portfolio__share a {
color: #3d3d3d;
font-size: 18px;
vertical-align: middle;
}

.b-single-portfolio .post-nav {
  margin: 72px 10px 36px;
}


/* Archive page */
.blog-post .archive {
  float: left;
  width: 33.3333%;
  margin-top: 20px;
  padding-right: 40px;
}

.archive__list {
  list-style: none;
  margin: 30px 0 68px;
  padding-left: 0;
}
.archive__list li {
  line-height: 1;
  margin-bottom: 9px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #e0e0e0;
}
.archive__list li:last-child {
  margin-bottom: 0;
}
.archive__list a {
  font-size: 14px; 
  color: #3d3d3d;
  text-decoration: none;
  vertical-align: top;
  border-bottom: none;
}
.archive__list a:hover {
  font-size: 14px; 
  text-decoration: none;
  vertical-align: top;
  background-color: transparent;
}


/* 404 page */
.error404-block {
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}

.error404-block__title h1 {
  font-size: 120px;
  color: #cccccc;
}

.error404-block__subtitle {
  color: #3d3d3d;
  padding-top: 7px;
}

.error404-block__desc {
  padding: 24px 0 60px;
}

.error404-block__btn .btn {
  padding: 9px 0 8px;
}


/* Search page */
.search-block {
  margin-bottom: 98px;
}

.search-block__title {
  margin-bottom: 30px;
}

.search-block input.searchform__text {
  padding: 5px 50px 7px 24px;
}

.search-block .searchform__submit {
  right: 4px;
  top: -6px;
}

.no-result-block {
  max-width: 800px;
  margin: 0 auto 90px;
  text-align: center;
}

.no-result-block__title h1 {
  font-size: 120px;
  color: #cccccc;
}

.no-result-block__subtitle {
  color: #3d3d3d;
  padding-top: 7px;
}

.no-result-block__desc {
  padding: 24px 0 60px;
}


/* Contact page */
.contact-block {
  margin-top: 46px;
}

.contact-block .form-group {
  float: left;
  margin-right: 92px;
  margin-bottom: 56px;
}

.contact-block__contacts {
  float: left;
  margin: 66px 0; 
  padding-left: 18px;
  border-left: 1px solid #cccccc;
}

.contact-block__contact {
  margin-bottom: 30px;
  font-size: 14px;
}
.contact-block__contact:last-child {
  margin-bottom: -2px;
}
.contact-block__contact a {
  color: #777777;
  text-decoration: none;
}
.contact-block__contact a:hover {
  color: #000000;
}

.contact-block__contact .icon {
  float: left;
  padding: 5px 12px 0 0;
  color: #000000;
  font-size: 16px;
  clear: both;
}

.contact-block__info {
  display: block;
  margin-top: -6px;
  overflow: hidden;
}

.contact-block #map-area {
  width: 100%;
  height: 310px;
  margin-bottom: 55px;
}

.contact-block .gm-style .gmnoprint, 
.contact-block .gmnoprint,
.contact-block .gm-style .gmnoscreen, 
.contact-block .gmnoscreen {   
  display: none  
}

a[href^="http://maps.google.com/maps"] {
  display: none !important;
}


/* Archives ( category, tag, author, date ) */
.archive-block {
  margin-bottom: 98px;
  padding-bottom: 20px;
  border-bottom: 1px solid #cccccc;
}



/*-----------------------------------------------------------------------------------*/
/*	8. Sidebar
/*-----------------------------------------------------------------------------------*/

.sidebar {
  float: left;
  width: 25%;
  margin: 14px 0 0;
  padding-left: 40px;
  font-size: 14px;
}

.sidebar a {
  color: #3d3d3d;
}


/* Widgets */
.sidebar .widget {
  margin-bottom: 55px;
}

.sidebar .cat-item a {
  position: relative;
  display: block;
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: #cecece; border-style:dotted;
  border-width:0px 0px 1px 0px;
  line-height: 1;
}
.sidebar .cat-item:first-child a {
  padding-top: 10px;
}

.sidebar .cat-item a:before {
  content: "\e603";
  position: relative;
  float: right;
  display: inline-block;
  margin-top: 4px;
  font-family: 'icomoon2';
  font-size: 6px;
}
/*
.sidebar .cat-item a:after {
  content: "";
  position: absolute;
  display: block;
  bottom: -1px;
  border-style:dotted;
  border-width:0px 0px 1px 0px;
  width: 0;
  -webkit-transition: width .4s linear;
     -moz-transition: width .4s linear;
       -o-transition: width .4s linear;
          transition: width .4s linear;
}
.sidebar .cat-item a:hover:after {
  width: 100%;
}
*/
.sidebar .instagram-pics li a {
  display: block;
  background-color: #3d3d3d;
}



/*-----------------------------------------------------------------------------------*/
/*	9. Footer
/*-----------------------------------------------------------------------------------*/

.footer {
  margin-top: 102px;
  font-size: 14px;
}
.footer:before {
  content: "";
  display: block;
  height: 25px;
  background: #777777 url("../img/footer-top_bg.png");
}
.footer .widget {
  width: 100%;
  margin-bottom: 40px;
}

.footer .widget li {
  display: inline-block;
  padding-bottom: 6px; 
  -webkit-transition: all 0.5s cubic-bezier(0.215,0.61,0.355,1);
	-moz-transition: all 0.5s cubic-bezier(0.215,0.61,0.355,1);
	 -ms-transition: all 0.5s cubic-bezier(0.215,0.61,0.355,1);
	  -o-transition: all 0.5s cubic-bezier(0.215,0.61,0.355,1);
		 transition: all 0.5s cubic-bezier(0.215,0.61,0.355,1);
}
.footer .widget li:last-child {
  padding-bottom: 0; 
}
.footer .widget li:hover {
  margin-left: 10px;
}

.footer .widget li a {
  padding: 3px 0; 
}

.footer_column1,
.footer_column2,
.footer_column3 {
  width: 33.33333333333333%;
  float: left;
}

.footer_column1 .widget {
  padding-right: 40px;
}
.footer_column2 .widget {
  padding-left: 20px;
  padding-right: 20px;
}
.footer_column3 .widget {
  padding-left: 40px;
}

.footer_content {
  padding: 18px 0 0;
  background-color: #3d3d3d;
}
.footer_content a {
  color: #ffffff;
  text-decoration: none;
}

.footer_content .widget__title {
  color: #ffffff;
}

.footer_content .tagcloud a {
  background-color: #343434;
  color: #ffffff;
  border: none;
}

/* Social buttons */
.footer_content .social-icons__wrap {
  width: 36px;
  height: 36px;
}

.footer_content .social-icons__wrap .icon:before {
  line-height: 36px;
}
.footer_content .social-icons__wrap .icon.icomoon-linkedin:before {
  line-height: 36px;
}

.footer_content .social-icons__infofront { 
  border: none;
  background-color: #343434;
  color: #ffffff;
}


/* Flickr widget */
.flickr_badge_image img {
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -ms-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear; 
}
.flickr_badge_image img:hover {
  opacity: 0.6;
}

.footer_copyright {
  padding: 10px 0;
  color: #ffffff;
  text-align: right;
  background-color: #343434;
}



/*-----------------------------------------------------------------------------------*/
/*	10. Elements
/*-----------------------------------------------------------------------------------*/	

.meta {
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}


/* Page loader */
.ajax_loader {
  display: none;
  position: absolute;
  z-index: 1100;	
  width: 100%;
  height: 100%;  
  top: 150px;
  left: 50%;
  margin-left: -15px; 
}

.ajax_loader__pulse {
  position: fixed;
  width: 32px;
  height: 32px;
  background-color: #303030;
  -webkit-border-radius: 16px;
     -moz-border-radius: 16px;
      -ms-border-radius: 16px;
       -o-border-radius: 16px;
          border-radius: 16px;
  -webkit-animation: scaleout 1.0s infinite ease-in-out;
          animation: scaleout 1.0s infinite ease-in-out;
}

.js .ajax_loader {
  display: block;
}

.js.no-cssanimations .ajax_loader__pulse {
  background: url("../img/loading.gif") 0 0 no-repeat;
  border-radius: 0;
  background-color: transparent;
}


@-webkit-keyframes scaleout {

  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
  
}
@-moz-keyframes scaleout {

  0% {
    -moz-transform: scale(0);
  }
  100% {
    -moz-transform: scale(1);
    opacity: 0;
  }
  
}
@-ms-keyframes scaleout {

  0% {
    -ms-transform: scale(0);
  }
  100% {
    -ms-transform: scale(1);
    opacity: 0;
  }
  
}
@-o-keyframes scaleout {

  0% {
    -o-transform: scale(0);
  }
  100% {
    -o-transform: scale(1);
    opacity: 0;
  }
  
}
@keyframes scaleout {

  0% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 0;
  }
  
}

/* Scroll to top */
#toTop { 
  position: fixed; 
  right: 25px; 
  bottom: 65px; 
  z-index: 1000;
  width: 72px;
  height: 72px;
  padding: 3px;
  background: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 50%; 
  opacity: 0;
  filter: alpha(opacity=0);
  visibility: hidden;
}
#toTop a { 
  display: block;
  width: 100%;
  height: 100%;
  color: #ffffff;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 26px;
  border-radius: 50%;
  -webkit-transition: all .3s ease 0s;
     -moz-transition: all .3s ease 0s;
       -o-transition: all .3s ease 0s;
          transition: all .3s ease 0s;
}

#toTop a:hover {
  background: #3d3d3d;
}

#toTop.active {
  visibility: visible;
}

#toTop a .icon {
  font-size: 6px;
  display: block;
  padding-top: 16px;
}


/* Close with rotation icon */
.close-rotate:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: url("../img/close.png") 0 0 no-repeat;
  -webkit-transition: -webkit-transform 0.2s linear;
     -moz-transition: -moz-transform 0.2s linear;
          transition: transform 0.2s linear;
}
.close-rotate:hover:before {
  -webkit-transform: rotate(90deg);
     -moz-transform: rotate(90deg);
          transform: rotate(90deg);
}


/* Load more button */
.post-more {
  margin: -40px auto 0;
  text-align: center;
}
.post-more a {
  padding: 9px 0 8px;
}

.masonry .post-more {
  margin-top: 40px;
}


/* Posts navigation */
.post-nav {
  position: relative;
  margin: 112px 10px 116px;
  border-color: #cecece; border-style:dotted;
  border-width:0px 0px 1px 0px;
}

.post-nav a.arrow {
  position: absolute;
  display: block;
  width: 50px;
  height: 50px;
  top: 50%;
  z-index: 10;
  margin-top: -24px;
  font-size: 8px;
  line-height: 50px;
  text-align: center;
}

.post-nav__prev {
  left: -20px;
}

.post-nav__next {
  right: -20px;
}

.post-nav a.arrow:before { 
  position: relative;
  z-index: 11;
  opacity: 0;
  -webkit-transition: opacity .2s ease 0s;
     -moz-transition: opacity .2s ease 0s;
       -o-transition: opacity .2s ease 0s;
          transition: opacity .2s ease 0s;
}

.post-nav__next:before {
  margin-left: 1px;
}

.post-nav__prev:before {
  margin-right: 1px;
}

.post-nav a.arrow:after { 
  content: "";
  position: absolute;
  display: block;
  width: 11px;
  height: 11px;
  top: 0; 
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  background-color: #cfcfcf; 
  -webkit-transition: all .3s ease 0s;
     -moz-transition: all .3s ease 0s;
       -o-transition: all .3s ease 0s;
          transition: all .3s ease 0s;
}

.post-nav a.arrow:hover:before {
  opacity: 1;
  -webkit-transition: opacity .3s ease 0s;
     -moz-transition: opacity .3s ease 0s;
       -o-transition: opacity .3s ease 0s;
          transition: opacity .3s ease 0s;
}

.post-nav a.arrow:hover:after {
  width: 50px;
  height: 50px;
  background-color: #fff;
}


/* Random posts block */
.random-posts {
  margin-bottom: 88px;
}

.random-posts .block-post__overlay {
  padding: 0;
}

.random-posts__title {
  margin-bottom: 18px;
}

.random-posts .block-post {
  width: 19.6%;
  margin: 0 0.5% 0.5% 0;
}
.random-posts .block-post:last-child {
  margin-right: 0;
}

.random-posts .block-post__title {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  font-size: 14px;
  line-height: 1.2;
  text-transform: none;
}


/* Blog panel */
.blog .blog-panel {
  padding: 17px 0 12px;
  border-top: 1px dotted #cccccc;
  border-bottom: 1px dotted #cccccc;
}

.blog-panel .likes-count,
.blog-panel .count {
  display: block;
  margin: 0;
  padding-top: 3px;
  color: #cccccc;
  line-height: 1;
  text-align: center;
}

.blog-panel .likes,
.blog-panel__comments,
.blog-panel__tags {
  position: relative;
  display: block;
  float: left;
  margin-right: 7px;
  padding: 0 20px 0 10px;
}

.blog .blog-panel .likes {
  width: 10%;
  width: 64px;
}

.blog .blog-panel__comments {
  width: 10%;
  width: 58px;
}

.blog .blog-panel__tags {
  width: 50%;
  max-width: 500px;
  margin: 5px 0 0 6px;
  font-size: 14px;
}

.blog .blog-panel .likes:after,
.blog .blog-panel__comments:after,
.blog .blog-panel__tags:after {
  content: "";
  position: absolute;
  right: 0;
  top: 14px;
  display: inline-block;
  height: 11px;
  border-right: 1px dotted #ccc;
}

.blog-panel .likes:before {
  font-size: 32px;
  color: #cccccc;
  line-height: 32px;
}

.blog-panel__comments:before {
  font-size: 28px;
  color: #cccccc;
  line-height: 32px;
}

.blog-panel__more a {
  position: relative;
  float: right;
  display: block;
  margin: 9px 0 0;
  padding-right: 38px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
}

.blog .blog-panel__more:not(.posts-slider__more) a .icon {
  position: absolute;
  font-size: 6px;
  height: 1em;
  top: 50%;
  margin-top: -0.6em;
  right: 24px;
  -webkit-transition: all .2s linear;
     -moz-transition: all .2s linear;
       -o-transition: all .2s linear;
          transition: all .2s linear;
}

.blog .blog-panel__more a:hover .icon {
  right: 20px;
}


/* Likes */
.post-nav .likes {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  margin-top: -48px;
  margin-left: -48px;
  line-height: 96px;
  text-align: center;
  background: #fff;
  font-size: 32px;
  color: #cccccc;
}

.likes:hover:before,
.likes.active:before {
  content: "\e609";
}

.post-nav .likes-count {
  position: relative;
  display: block;
  width: 100%;
  margin: -28px 0 0;
  line-height: 1;
  color: #cccccc;
}


/* Portfolio filter */
.b-filter {
  padding: 48px 0;
  font-size: 12px;
  background-color: #f7f7f7;
  text-transform: uppercase;
}
.b-filter a {
  padding-left: 12px;
  text-decoration: none;
  color: #777777;
}
.b-filter a:after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 9px;
  margin-left: 17px;
  background-color: #777777;
}
.b-filter a:last-child:after {
  display: none;
}

.b-filter__note {
  padding-right: 8px;
}


/* Portfolio panel */
.b-portfolio-panel {
  margin-bottom: 60px;
  line-height: 120px;
  background-color: #f7f7f7;
}

.b-portfolio-panel__back {
  padding: 8px 0;
  color: #777777;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.b-portfolio-panel__back .icon {
  font-size: 6px;
  padding-right: 9px;
  position: relative;
  top: -1px;
}

.b-portfolio-panel__nav {
  float: right;
}

.b-portfolio-panel__nav a {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 1px solid #cfcfcf;
  font-size: 8px;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  margin-left: 3px;
  background-color: transparent; 
  -webkit-transition: all 0.2s linear;
     -moz-transition: all 0.2s linear;
	  -ms-transition: all 0.2s linear;
       -o-transition: all 0.2s linear;
         -transition: all 0.2s linear;
}
.b-portfolio-panel__nav a:hover { 
  color: #ffffff;
}


/* Forms */
.form-group,
.form,
.comment-respond {
  width: 468px;
  margin: 0;
}

.form-group__title {
  display: inline-block;
  margin-bottom: 0;
  line-height: 1;
}

.form-group__note,
.logged-in-as {
  margin: 7px 0 22px;
  color: #3d3d3d;
  line-height: 15px;
}

input.form-group__control,
.form-group__control,
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 13px 20px 16px;
  font-size: 14px;
  font-style: normal;
  color: #000000;
  vertical-align: middle;
  border: 1px solid #9e9e9e;
  box-shadow: none;
  outline: 0;
  resize: none;
  background-color: #ffffff;
  -webkit-transition: all 0.2s linear;
     -moz-transition: all 0.2s linear;
       -o-transition: all 0.2s linear;
          transition: all 0.2s linear;
}

input.form-group__control:focus,
.form-group__control:focus,
input.wpcf7-form-control.wpcf7-text:focus,
textarea.wpcf7-form-control:focus {
  color: #ffffff;
}

textarea.form-group__control,
textarea.wpcf7-form-control {
  height: 127px;
}

.wpcf7-form p {
  margin: 0;
}
.wpcf7-form .wpcf7-submit {
  margin-bottom: 24px;
}


/* Search form */
.searchform {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #cccccc;
  -webkit-transition: opacity 0s, visibility 0s 0s;
     -moz-transition: opacity 0s, visibility 0s 0s;
          transition: opacity 0s, visibility 0s 0s;
}

input.searchform__text {
  padding: 5px 30px 5px 10px;
}

.searchform__submit {
  position: absolute;
  background: none;
  border: none;
  outline: none;
  right: -6px;
  top: -5px;
  z-index: 2;
  font-size: 32px;
  color: #777777;
}


/* Buttons */
.btn,
a.btn,
#submit {
  position: relative;
  display: inline-block;
  z-index: 1;
  width: 190px;
  padding: 9px 0 8px;
  margin-bottom: 0;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  background-color: #3d3d3d;  
  cursor: pointer;
  border: none;
  overflow: hidden;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none; 
  -webkit-transition: all 0.2s linear;
     -moz-transition: all 0.2s linear;
       -o-transition: all 0.2s linear;
         -transition: all 0.2s linear;
}
#submit,
.wpcf7-form .btn {
  padding: 12px 0 11px;
}

.btn span {
  position: absolute;
  display: block;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;  
  z-index: -1;
  -webkit-transition: all 0.3s;
     -moz-transition: all 0.3s;
          transition: all 0.3s;
}
.btn:hover span {
  height: 100%;
}
.btn:active span {
  background-color: #000000;
}


/* Mediaelementjs */
.format-video .mejs-container,
.widget .mejs-container {
  width: 100% !important;
  height: auto !important;
  padding-top: 57%;
}
.mejs-poster,
.mejs-overlay {
  width: 100% !important;
  height: 100% !important;
}
.mejs-mediaelement video {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100% !important;
  height: 100% !important;
}
.format-video .masonry .mejs-container,
.widget .masonry .mejs-container {
  height: 100% !important;
}


/* Magnific Popup */
.mfp-bg { top: 0; left: 0; width: 100%; height: 100%; z-index: 1042; overflow: hidden; position: fixed; background: #0b0b0b; opacity: 0.8; filter: alpha(opacity=80); }
.mfp-wrap { top: 0; left: 0; width: 100%; height: 100%; z-index: 1043; position: fixed; outline: none !important; -webkit-backface-visibility: hidden; }
.mfp-container { text-align: center; position: absolute; width: 100%; height: 100%; left: 0; top: 0; padding: 0 8px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.mfp-container:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; }
.mfp-align-top .mfp-container:before { display: none; }
.mfp-content { position: relative; display: inline-block; vertical-align: middle; margin: 0 auto; text-align: left; z-index: 1045; }
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { width: 100%; cursor: auto; }
.mfp-ajax-cur { cursor: progress; }
.mfp-zoom { cursor: pointer; cursor: -webkit-zoom-in; cursor: -moz-zoom-in; cursor: zoom-in; }
.mfp-auto-cursor .mfp-content { cursor: auto; }
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.mfp-loading.mfp-figure { display: none; }
.mfp-hide { display: none !important; }
.mfp-preloader { color: #cccccc; position: absolute; top: 50%; width: auto; text-align: center; margin-top: -0.8em; left: 8px; right: 8px; z-index: 1044; }
.mfp-preloader a { color: #cccccc; }
.mfp-preloader a:hover { color: white; }
.mfp-s-ready .mfp-preloader { display: none; }
.mfp-s-error .mfp-content { display: none; }
button.mfp-close, button.mfp-arrow { overflow: visible; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; display: block; outline: none; padding: 0; z-index: 1046; -webkit-box-shadow: none; box-shadow: none; }
button::-moz-focus-inner { padding: 0; border: 0; }
.mfp-close { line-height: 44px; position: absolute; right: 0; top: 0; text-decoration: none; text-align: center; padding: 0 0 18px 10px; color: white; }
.mfp-close:hover, .mfp-close:focus { opacity: 1; filter: alpha(opacity=100); }
.mfp-close-btn-in .mfp-close { color: #333333; }
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { color: white; right: -6px; text-align: right; padding-right: 6px; width: 100%; }
.mfp-counter { position: absolute; top: 0; right: 0; color: #ffffff; font-size: 18px; line-height: 25px; font-family: 'Raleway', sans-serif; font-weight: 200; text-transform: uppercase; }
.mfp-arrow { position: absolute; margin: 0; top: 50%; margin-top: -30px; padding: 0; width: 90px; height: 110px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
.mfp-arrow:hover, .mfp-arrow:focus { opacity: 1; filter: alpha(opacity=100); }
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a { content: ''; display: block; width: 0; height: 0; position: absolute; top: 0; margin-top: 35px; margin-left: 35px; border: medium inset transparent; }
.mfp-arrow:after, .mfp-arrow .mfp-a { border-top-width: 13px; border-bottom-width: 13px; top: 8px; }
.mfp-arrow:before, .mfp-arrow .mfp-b { border-top-width: 21px; border-bottom-width: 21px; opacity: 0.7; }
.mfp-arrow-left { left: 0; }
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a { border-right: 17px solid white; margin-left: 31px; }
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b { margin-left: 25px; border-right: 27px solid #3f3f3f; }
.mfp-arrow-right { right: 0; }
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a { border-left: 17px solid white; margin-left: 39px; }
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b { border-left: 27px solid #3f3f3f; }
.mfp-iframe-holder { padding-top: 40px; padding-bottom: 40px; }
.mfp-iframe-holder .mfp-content { line-height: 0; width: 100%; max-width: 900px; }
.mfp-iframe-holder .mfp-close { top: -40px; }
.mfp-iframe-scaler { width: 100%; height: 0; overflow: hidden; padding-top: 56.25%; }
.mfp-iframe-scaler iframe { position: absolute; display: block; top: 0; left: 0; width: 100%; height: 100%; box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); background: black; }
img.mfp-img { width: auto; max-width: 100%; height: auto; display: block; line-height: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 90px 0 40px; margin: 0 auto; }
.mfp-figure { line-height: 0; }
.mfp-figure small { color: #bdbdbd; display: block; font-size: 12px; line-height: 14px; }
.mfp-figure figure { margin: 0; }
.mfp-bottom-bar { margin-top: -37px; position: absolute; top: 100%; left: 0; width: 100%; cursor: auto; }
.mfp-title { text-align: left; word-wrap: break-word; padding-right: 36px;  color: #ffffff; font-size: 18px; line-height: 25px; font-family: 'Raleway', sans-serif; font-weight: 200; }
.mfp-image-holder .mfp-content { max-width: 100%; }
.mfp-gallery .mfp-image-holder .mfp-figure { cursor: pointer; }
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { 
  .mfp-img-mobile .mfp-image-holder { padding-left: 0; padding-right: 0; }
  .mfp-img-mobile img.mfp-img { padding: 0; }
  .mfp-img-mobile .mfp-figure small { display: inline; margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar { background: rgba(0, 0, 0, 0.6); bottom: 0; margin: 0; top: auto; padding: 3px 5px; position: fixed; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
  .mfp-img-mobile .mfp-bottom-bar:empty {  padding: 0; }
  .mfp-img-mobile .mfp-counter { right: 5px; top: 3px; }
  .mfp-img-mobile .mfp-close { top: 0; right: 0; width: 35px; height: 35px; line-height: 35px; background: rgba(0, 0, 0, 0.6); position: fixed; text-align: center; padding: 0; } 
}
@media all and (max-width: 900px) {
  .mfp-arrow { -webkit-transform: scale(0.75); transform: scale(0.75); }
  .mfp-arrow-left { -webkit-transform-origin: 0; transform-origin: 0; }
  .mfp-arrow-right { -webkit-transform-origin: 100%; transform-origin: 100%; }
  .mfp-container { padding-left: 6px; padding-right: 6px; } 
}
.mfp-ie7 .mfp-img { padding: 0; }
.mfp-ie7 .mfp-bottom-bar { width: 600px; left: 50%; margin-left: -300px; margin-top: 5px; padding-bottom: 5px; }
.mfp-ie7 .mfp-container { padding: 0; }
.mfp-ie7 .mfp-content { padding-top: 44px; }
.mfp-ie7 .mfp-close { top: 0; right: 0; padding-top: 0; }
.mfp-ready .mfp-figure {  opacity: 0; }
.mfp-zoom-in .mfp-figure, .mfp-zoom-in .mfp-iframe-holder .mfp-iframe-scaler{ opacity: 0; -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out; -webkit-transform: scale(0.95); -ms-transform: scale(0.95); transform: scale(0.95);}
.mfp-zoom-in.mfp-bg, .mfp-zoom-in .mfp-preloader { opacity: 0; -webkit-transition: all 0.3s ease-out; transition: all 0.3s ease-out; }
.mfp-zoom-in.mfp-image-loaded .mfp-figure, .mfp-zoom-in.mfp-ready .mfp-iframe-holder .mfp-iframe-scaler{ opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); }
.mfp-zoom-in.mfp-ready.mfp-bg, .mfp-zoom-in.mfp-ready .mfp-preloader { opacity: 0.8; }
.mfp-zoom-in.mfp-removing .mfp-figure, .mfp-zoom-in.mfp-removing .mfp-iframe-holder .mfp-iframe-scaler{ -webkit-transform: scale(0.95); -ms-transform: scale(0.95); transform: scale(0.95); opacity: 0; }
.mfp-zoom-in.mfp-removing.mfp-bg, .mfp-zoom-in.mfp-removing .mfp-preloader { opacity: 0; }


.mfp-img {
  -webkit-animation: espania-fadein 0.7s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
     -moz-animation: espania-fadein 0.7s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
          animation: espania-fadein 0.7s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

@-webkit-keyframes espania-fadein {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@-moz-keyframes espania-fadein {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes espania-fadein {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

div.espania-popup .mfp-close {
  width: 80px;
  height: 80px;
  line-height: 80px;
  right: -17px;
  top: 4px;
  padding: 0;
  text-align: center;
  -webkit-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}

div.espania-popup .mfp-close:before {
  font-size: 44px;
}
div.espania-popup .mfp-close:hover { 
  -webkit-transform: rotateZ(90deg);
   transform: rotateZ(90deg);
}
div.espania-popup button.mfp-arrow:before, div.espania-popup button.mfp-arrow:after {
  border:none; 
  margin:0; 
  display:none;
}
div.espania-popup button.mfp-arrow:before { 
  position: absolute; 
  top:50%; 
  display:block; 
  width: 50px; 
  height: 50px;
  line-height: 50px;
  margin: -25px 0 0;
  opacity:1; 
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  color: #ffffff;
  background-color: transparent;
  font-family: 'icomoon2';
  font-size: 8px;
  text-align: center;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
  font-weight: normal;
  text-indent: 0px;
  -webkit-transition: all 0.3s ease-in-out;
	 -moz-transition: all 0.3s ease-in-out;
	  -ms-transition: all 0.3s ease-in-out;
	   -o-transition: all 0.3s ease-in-out;
		  transition: all 0.3s ease-in-out;
}

div.espania-popup button.mfp-arrow:hover:before {  background-color: #ffffff; }
div.espania-popup button.mfp-arrow-right:before { content:"\e603"; left:0; }
div.espania-popup button.mfp-arrow-left:before { content:"\e601"; right:0; }

div.espania-popup .mfp-preloader { 
  width: 32px;
  height: 32px;
  opacity: 1 !important;
  line-height: 32px;
  background-color: #fff;
  margin: 0 auto;
  -webkit-border-radius: 16px;
     -moz-border-radius: 16px;
      -ms-border-radius: 16px;
       -o-border-radius: 16px;
          border-radius: 16px;
  -webkit-animation: scaleout 1.0s infinite ease-in-out;
          animation: scaleout 1.0s infinite ease-in-out;
}

div.espania-popup .mfp-s-error .mfp-preloader {
  background: transparent; 
  width: 100%; 
  white-space: nowrap;
  -webkit-animation: none; 
	      animation: none;  
}



/*-----------------------------------------------------------------------------------*/
/*	11. Widgets
/*-----------------------------------------------------------------------------------*/	
	
.widget ol, 
.widget ul, 
.widget li {
  margin: 0;
  list-style: none;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

.widget a {
  text-decoration: none;
}

.widget__title {
  margin-bottom: 17px;
}


/* Tagcloud widget */
.tagcloud a {
  float: left;
  padding: 8px 16px;
  line-height: 14px; 
  color: #3d3d3d;
  text-decoration: none;
  margin: 0 1px 1px 0;
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  -webkit-transition: all 0.2s linear;
     -moz-transition: all 0.2s linear;
	  -ms-transition: all 0.2s linear;
       -o-transition: all 0.2s linear;
         -transition: all 0.2s linear;
}
.tagcloud a:hover { 
  color: #ffffff !important;
}
	
	
/* Flickr widget */
.flickr {
  margin-right: -10px;
}

.flickr_badge_image {
  float: left;
  margin: 0 10px 10px 0;
}
.flickr_badge_image img {
  border-radius: 3px;
}


/* Social buttons widget */
.social-icons__wrap {
  display: inline-block;
  width: 48px;
  height: 48px;
  text-align: center;
  font-size: 16px;
}

.social-icons__wrap .icon:before {
  line-height: 48px;
}
.social-icons__wrap .icon.icomoon-linkedin:before {
  line-height: 45px;
}

.social-icons__item {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
}

.social-icons__infowrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-perspective: 800px;
	 -moz-perspective: 800px;
	   -o-perspective: 800px;
	  -ms-perspective: 800px;
	      perspective: 800px;
  -webkit-transition: all 0.4s ease-in-out;
	 -moz-transition: all 0.4s ease-in-out;
	   -o-transition: all 0.4s ease-in-out;
	  -ms-transition: all 0.4s ease-in-out;
	      transition: all 0.4s ease-in-out;
}

.social-icons__info {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-transition: all 0.4s ease-in-out;
	 -moz-transition: all 0.4s ease-in-out;
	   -o-transition: all 0.4s ease-in-out;
	  -ms-transition: all 0.4s ease-in-out;
	      transition: all 0.4s ease-in-out;		
  -webkit-transform-style: preserve-3d;
	 -moz-transform-style: preserve-3d;
	   -o-transform-style: preserve-3d;
	  -ms-transform-style: preserve-3d;
	      transform-style: preserve-3d;
}

.social-icons__info > span {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-position: center center;
  -webkit-backface-visibility: hidden;
	 -moz-backface-visibility: hidden;
	   -o-backface-visibility: hidden;
      -ms-backface-visibility: hidden;
	      backface-visibility: hidden;
}

.social-icons__info .social-icons__infoback { 	
  color: #ffffff;
  -webkit-transform: rotate3d(0,1,0,180deg);
	 -moz-transform: rotate3d(0,1,0,180deg);
	   -o-transform: rotate3d(0,1,0,180deg);
	  -ms-transform: rotate3d(0,1,0,180deg);
	      transform: rotate3d(0,1,0,180deg);
}


.social-icons__infofront { 
  border: 1px solid #d0d0d0;
  background-color: #ffffff;
  color: #3d3d3d;
}


.social-icons__item:hover .social-icons__info {
  -webkit-transform: rotate3d(0,1,0,-180deg);
	 -moz-transform: rotate3d(0,1,0,-180deg);
	   -o-transform: rotate3d(0,1,0,-180deg);
	  -ms-transform: rotate3d(0,1,0,-180deg);
	      transform: rotate3d(0,1,0,-180deg);
}


.no-csstransforms3d .social-icons__info .social-icons__infoback { display: none; }
.no-csstransforms3d .social-icons__item:hover .social-icons__infofront { display: none; }
.no-csstransforms3d .social-icons__item:hover .social-icons__infoback { display: block; }


/* Instagram widget */
.instagram-pics li {
  padding-bottom: 1px;
}

.instagram-pics.pics-thumbnail li {
  float: left;
  max-width: 50%;
  padding-right: 1px;
}

.instagram-pics li img {
  display: block;
  -webkit-transition: opacity .2s linear;
	 -moz-transition: opacity .2s linear;
	  -ms-transition: opacity .2s linear;
       -o-transition: opacity .2s linear;
          transition: opacity .2s linear; 
}
.instagram-pics li img:hover {
  opacity: 0.6;
}



/* Search widget */
.widget .searchform {
  position: relative;
}


/* Espania Posts/Comments Widget */	
.posts-widgettitle {
  margin: 0 0 10px;
  line-height: 1.2;
}

.espania-posts-widget img,
.espania-comments-widget img {
  margin-bottom: 10px;
}

.espania-posts-widget li,
.espania-comments-widget li {
  padding-bottom: 24px;
}
.espania-posts-widget li:last-child,
.espania-comments-widget li:last-child {
  padding-bottom: 0;
}

.comments-widget-entry,
.posts-widget-meta {
  line-height: 1.4;
  overflow: hidden;
}

.posts-widget-entry {
  line-height: 1.4;
  padding-top: 8px;
}

.comments-widget-date,
.comments-widget-more,
.posts-widget-more,
.posts-widget-meta {
  display: block;
}

.comments-widget-author {
  font-weight: bold;
}

/* Video Widget */
.espania-widget-video > div {
  width: 100%;
}
.espania-widget-video .video-descr { 
  margin-top: 20px; 
}
.espania-widget-video .mejs-container {
  min-height: 200px;
}



/*-----------------------------------------------------------------------------------*/
/*	12. Shortcodes
/*-----------------------------------------------------------------------------------*/		

/* Block posts */
.block-post {
  position: relative;
  float: left;
  display: block;  
  overflow: hidden;
  font-size: 15px;
  line-height: 18px;
  text-decoration: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;  
  -webkit-transform: translate3d(0, 0, 0);
     -moz-transform: translate3d(0, 0, 0);
      -ms-transform: translate3d(0, 0, 0);
       -o-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.block-post:hover .block-post__overlay {
  opacity: 1;
  filter: alpha(opacity=100);
  visibility: visible;
}

.block-post__image img {
  display: block;
  width: 100%; 
  -webkit-transform: scale(1);
     -moz-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1); 
  -webkit-transition: -webkit-transform 0.5s;
     -moz-transition: -moz-transform 0.5s;
      -ms-transition: -ms-transform 0.5s;
       -o-transition: -o-transform 0.5s;
          transition: transform 0.5s;
}
.block-post:hover .block-post__image img {
  -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
      -ms-transform: scale(1.1);
       -o-transform: scale(1.1);
          transform: scale(1.1);
}

.block-post__overlay {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  padding: 20px 30px 30px;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  filter: alpha(opacity=0);
  visibility: hidden;   
  -webkit-backface-visibility: hidden;
     -moz-backface-visibility: hidden;
	      backface-visibility: hidden;
  -webkit-transition: all .4s ease-in-out;
     -moz-transition: all .4s ease-in-out;
      -ms-transition: all .4s ease-in-out;
       -o-transition: all .4s ease-in-out;
          transition: all .4s ease-in-out;
}

/* Hover border effect */
.block-post__overlay:before,
.block-post__overlay:after {
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
	   -moz-transition: opacity 0.4s ease, -moz-transform 0.4s ease;
        -ms-transition: opacity 0.4s ease, -ms-transform 0.4s ease;
         -o-transition: opacity 0.4s ease, -o-transform 0.4s ease;
            transition: opacity 0.4s ease, transform 0.4s ease;			
}

.block-post__overlay:before {
    border-top: 1px solid rgba(255,255,255,1);
    border-bottom: 1px solid rgba(255,255,255,1);
    -webkit-transform: scale(0,1);
	   -moz-transform: scale(0,1);
	    -ms-transform: scale(0,1);
		 -o-transform: scale(0,1);
            transform: scale(0,1);
}

.block-post__overlay:after {
    border-right: 1px solid rgba(255,255,255,1);
    border-left: 1px solid rgba(255,255,255,1);
    -webkit-transform: scale(1,0);
	   -moz-transform: scale(1,0);
	    -ms-transform: scale(1,0);
		 -o-transform: scale(1,0);
            transform: scale(1,0);
}

.block-post:hover .block-post__overlay:before,
.block-post:hover .block-post__overlay:after {
    opacity: 1;
    -webkit-transform: scale(1);
	   -moz-transform: scale(1);
	    -ms-transform: scale(1);
		 -o-transform: scale(1);	
            transform: scale(1);
}


.block-post__table { 
  display: table; 
  height: 100%;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
}

.block-post__cell {
  display: table-cell;
  vertical-align: middle;
}

.block-post__content {
  margin: 0 auto; 
  width: 100%;  
  height: 100%;
  max-height: 500px;
}

.block-post__more {
  display: block;
  padding-top: 27px;
  text-align: center;
  color: #ffffff;
}
.block-post__more:before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 5px;
  margin-right: 6px;
  margin-bottom: 1px;
  background: url("../img/arrow-right.png") no-repeat;
}

.block-post__date {
  display: block;
  color: #ffffff;
  text-align: center;
  margin: 0 0 18px;
}

.block-post__title {
  display: block;
  color: #ffffff;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 21px;
}
.block-post__title:after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 20px auto 0;
  background-color: #ffffff;
}

.block-post__excerpt {
  color: #e5e5e5;
}


/* Grid shortcode */
.grid-one-columns .block-post {
  width: 100%;
}
.grid-one-columns .block-post__title {
  font-size: 48px;
  margin-bottom: 22px;
}
.with-sb .grid-one-columns .block-post__table {
  max-width: 600px;
}

.grid-three-columns .block-post {
  width: 33.33333%;
}
.grid-four-columns .block-post {
  width: 25%;
}
.grid-five-columns .block-post {
  width: 20%;
}
.grid-five-columns .block-post__overlay {
    padding: 10px;
}
.grid-five-columns .block-post__title {
    font-size: 22px;
}
.grid-twosb-columns .block-post {
  width: 50%;
}

.grid-columns .fluid-width-video-wrapper {
  height: 100%;
}


/* Masonry blog shortcode */
.masonry-grid {
  margin: 0 -12px;
}

.masonry-grid .masonry-loaded {
  opacity: 1;
}

.masonry-grid .blog-post {
  float: left;
  width: 33.33333%;
  margin: 0 0 24px;
  padding: 0 12px;
}

.masonry-grid .blog-post__inner {
  border: 1px solid #cccccc;
}

.masonry-grid .blog-post__image {
  margin-bottom: 9px;
}

.masonry-grid .blog-post__textinner {
  padding: 30px;
}

.masonry-grid .blog-post__title h3 {
  margin-bottom: 5px;
}

.masonry-grid .blog-post__meta {
  margin-bottom: 9px;
  border-bottom: none;
}

.masonry-grid .blog-post__text {
  font-size: 15px;
}

.masonry-grid .blog-post__more {
  display: block;
  margin: 0 auto;
}

.blog-masonry .post-more a {
  width: 100%;
}

.masonry-grid  .blog-media {
  margin-bottom: 0;
}


/* Portfolio shortcode */
.portfolio .mix {
  display: none;
}

.portfolio .block-post__date {
  margin-bottom: 51px;
}

.portfolio .block-post__title {
  margin: 0;
}
.portfolio .block-post__title:after {
  display: none;
}


/* Alternative blog shortcode */
.blog-alt .blog-post__lefttcol,
.blog-alt .blog-post__rightcol {
  float: left;
  width: 50%;
}

.blog-alt .blog-post__lefttcol {
  max-width: 490px;
}

.blog-alt .blog-post__rightcol {
  padding-left: 58px;
}

.blog-alt .blog-post__title {
  margin-top: -9px;
  padding-bottom: 1px;
}

.blog-alt .blog-post__meta {
  margin-bottom: 0;
  border-bottom: none;
}

.blog-alt .blog-post__text {
  margin-bottom: 28px;
}

.blog-alt .post-more {
  margin-top: 20px;
}


/* Swiper styles */
.swiper-container {
  margin: 0 auto;
  position:relative;
  overflow:hidden;
  z-index:1;
  -webkit-backface-visibility: hidden;
	 -moz-backface-visibility: hidden;
	  -ms-backface-visibility: hidden;
	   -o-backface-visibility: hidden;
	      backface-visibility: hidden;	
}

.swiper-wrapper {
  position:relative;
  width:100%;
  -webkit-transition-property: -webkit-transform, left, top;
     -moz-transition-property: -moz-transform, left, top;
	  -ms-transition-property: -ms-transform, left, top;
	   -o-transition-property: -o-transform, left, top;
	      transition-property: transform, left, top;	 
		  
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
	  -ms-transition-duration: 0s;
	   -o-transition-duration: 0s;
	      transition-duration: 0s;
 
  -webkit-transform: translate3d(0px,0,0);
     -moz-transform: translate3d(0px,0,0);
	  -ms-transform: translate3d(0px,0,0);
	   -o-transform: translate3d(0px,0,0);
	   -o-transform: translate(0px,0px);
	      transform: translate3d(0px,0,0);
		  
  -webkit-transition-timing-function: ease;
	 -moz-transition-timing-function: ease;
	  -ms-transition-timing-function: ease;
	   -o-transition-timing-function: ease;
	      transition-timing-function: ease;

  -webkit-box-sizing: content-box;
	 -moz-box-sizing: content-box;
	      box-sizing: content-box;
}
.swiper-free-mode > .swiper-wrapper {
  margin: 0 auto;
  -webkit-transition-timing-function: ease-out;
	 -moz-transition-timing-function: ease-out;
	  -ms-transition-timing-function: ease-out;
	   -o-transition-timing-function: ease-out;
	      transition-timing-function: ease-out;	
}

.swiper-slide {
  float: left;
}

.swiper-wp8-horizontal {
  -ms-touch-action: pan-y;
}
.swiper-wp8-vertical {
  -ms-touch-action: pan-x;
}


/* Gallery shortcode */
.gallery-custom-style {
  margin: 10px -10px;
}

.gallery-custom-style .gallery-item {
  float: left;
  padding: 10px;
  text-align: center;
}
.gallery-custom-style .gallery-item a {
  display: block;
  border: none;
  -webkit-transition: opacity 0.3s ease-in-out;
	 -moz-transition: opacity 0.3s ease-in-out;
	      transition: opacity 0.3s ease-in-out;
}
.gallery-custom-style .gallery-item a:hover {
  background-color: transparent;
  opacity: 0.7;
}

.gallery-custom-style.gallery-columns-1 .gallery-item { width: 100%; }
.gallery-custom-style.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-custom-style.gallery-columns-3 .gallery-item { width: 33%; }
.gallery-custom-style.gallery-columns-4 .gallery-item { width: 25%; }	
.gallery-custom-style.gallery-columns-5 .gallery-item { width: 20%; }	
.gallery-custom-style.gallery-columns-6 .gallery-item { width: 16.66666%; }
.gallery-custom-style.gallery-columns-7 .gallery-item { width: 14.285%; }
.gallery-custom-style.gallery-columns-8 .gallery-item { width: 12.5%; }
.gallery-custom-style.gallery-columns-9 .gallery-item { width: 11.11111%; }
.gallery-custom-style.gallery-columns-10 .gallery-item { width: 10%; }


.gallery .gallery-slider-wrapper {
  visibility: hidden;
  opacity: 0;
}

.gallery .swiper-container {
  margin: 0 0 10px 0;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.gallery .swiper-slide {
  height: 100%;
  opacity: 0.3;
  text-align: center;
  -webkit-transition: opacity 1s;
	 -moz-transition: opacity 1s;
	  -ms-transition: opacity 1s;
	   -o-transition: opacity 1s;
		  transition: opacity 1s;
}

.gallery .swiper-slide-active {
  opacity: 1;
}

.gallery .swiper-prev, 
.gallery .swiper-next {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
   -khtml-user-select: none;
	 -moz-user-select: none;
	  -ms-user-select: none;
		  user-select: none;
}
.gallery .swiper-prev { left: 0; }
.gallery .swiper-next { right: 0; }
	
	
.gallery  .pagination {
  text-align: center;
  width: 100%;
  margin: 10px 0 0 0;
}

.gallery .swiper-pagination-switch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 20px;
  background: #a9a9ab;
  margin: 0 3px 10px;
  opacity: 0.8;
  cursor: pointer;
}

.gallery .swiper-visible-switch {
  background: #a9a9ab;
}

.gallery .swiper-pagination-switch:hover,
.gallery .swiper-active-switch {
  background: #d4d4d4;
}


/* Posts slider shortcode */
.posts-slider { 
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  cursor: move; 
  cursor: -webkit-grab;
  cursor: -moz-grab;
}
	
.posts-slider .swiper-container {
  visibility: hidden;
  width: 100%;
  color: #fff;
  text-align: left;
  min-height: 250px;
}	

.posts-slider .swiper-slide {
  padding: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  display: table;
  width: 100%;
}

.posts-slider__content {
  margin: 0 auto;
  padding: 40px 15px 60px 15px;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  min-height: 250px;
  background: rgba(0, 0, 0, 0.5);
}

.posts-slider__elements {
  visibility:hidden;
}
.posts-slider__elements.animated {
  visibility:visible;
  -webkit-animation-fill-mode: both;
     -moz-animation-fill-mode: both;
      -ms-animation-fill-mode: both;
       -o-animation-fill-mode: both;
          animation-fill-mode: both;   		  
  -webkit-animation: espania-fadein 1s;
     -moz-animation: espania-fadein 1s;
       -o-animation: espania-fadein 1s;
          animation: espania-fadein 1s;
}

.posts-slider__content .container {
  max-width: 1000px;
  padding-left: 100px;
  padding-right: 100px;
}

.posts-slider__content h1 a,
.blog .posts-slider__content h1 a {
  color: #ffffff;
}

.posts-slider__content p {
  margin-bottom: 0;
}

.posts-slider__content .blog-post__meta,
.posts-slider__content .blog-post__date {
  color: #ffffff;
}

.posts-slider__content .blog-post__meta {
  margin-bottom: 20px;
  border-bottom: none;
}

.posts-slider__content .blog-panel__comments {
  margin-right: 0;
  padding: 0;
}
.posts-slider__content .blog-panel .likes {
  margin-right: 40px;
  padding: 0;
}

.posts-slider__content .blog-post__text {
  margin-bottom: 42px;
}

.posts-slider__content .blog-panel {
  padding: 0;
  border: none;
}

.posts-slider__content .blog-panel__more a {
  padding: 0;
  color: #ffffff;
}
.posts-slider__content .blog-panel__more a span {
  display: inline-block;
  padding-left: 10px;
}
.posts-slider__content .blog-panel__more a span:before {
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  color: #ffffff;
  background-color: transparent;
  font-size: 8px;
  text-align: center;
  -webkit-transition: all 0.3s ease-in-out;
     -moz-transition: all 0.3s ease-in-out;
      -ms-transition: all 0.3s ease-in-out;
       -o-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
}
.posts-slider__content .blog-panel__more a:hover span:before {  
  background-color: #ffffff; 
}

.posts-slider .pagination {
  position: absolute;
  z-index: 20;
  left: 0px;
  bottom: 15px;
  text-align: center;
  width: 100%;
}

.posts-slider .swiper-pagination-switch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 20px;
  background: #222;
  margin: 0 3px;
  opacity: 0.8;
  cursor: pointer;
}

.posts-slider .swiper-visible-switch {
  background: #aaa;
}

.posts-slider .swiper-active-switch {
  background: #fff;
}

.posts-slider .arrow-left,
.posts-slider .arrow-right {
  position: absolute; 
  top: 50%; 
  display: block; 
  width: 50px; 
  height: 50px;
  line-height: 50px;
  margin: -25px 0 0;
}

.posts-slider .arrow-left {
  left:30px;
}

.posts-slider .arrow-right {
  right:30px;
}

.posts-slider .arrow-left.hidden,
.posts-slider .arrow-right.hidden {
  display:none;
}

.posts-slider .arrow-left:before,
.posts-slider .arrow-right:before { 
  display: block;
  width: 100%; 
  height: 100%;
  opacity: 1; 
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  color: #ffffff;
  background-color: transparent;
  font-size: 8px;
  text-align: center;
  -webkit-transition: all 0.3s ease-in-out;
	 -moz-transition: all 0.3s ease-in-out;
	  -ms-transition: all 0.3s ease-in-out;
	   -o-transition: all 0.3s ease-in-out;
		  transition: all 0.3s ease-in-out;
}

.posts-slider .arrow-left:hover:before,
.posts-slider .arrow-right:hover:before {  
  background-color: #ffffff; 
}



/*-----------------------------------------------------------------------------------*/
/*	13. Shortcode elements
/*-----------------------------------------------------------------------------------*/		

/* Button */
.btn-code {
  margin-bottom: 5px;
  border: 1px solid transparent;
}
.btn-code.btn-normal {
  width: 100%;
  max-width: 190px;
}
.btn-code.btn-big {
  width: 100%;
  padding: 16px 0 15px;
}


/* Columns */
.row {
  margin-left: -15px;
  margin-right: -15px;	
}
.row:before,
.row:after {
  content: " ";
  display: table;
}
.row:after { clear: both; }
.row:before,
.row:after {
  content: " ";
  display: table;
}
.row:after { clear: both; }
	
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {	  
  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11 { float: left; }
	  
  .col-md-1 { width: 8.333333333333332%; }
  .col-md-2 { width: 16.666666666666664%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333333333%; }
  .col-md-5 { width: 41.66666666666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.333333333333336%; }
  .col-md-8 { width: 66.66666666666666%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.33333333333334%; }
  .col-md-11 { width: 91.66666666666666%; }
  .col-md-12 { width: 100%; } 
}

/** Highlight **/
.highlight-green,
.highlight-violet ,
.highlight-blue,
.highlight-lime ,
.highlight-red,
.highlight-black { color: #ffffff; }
	
.highlight-green { background-color: #5f9571; }
.highlight-violet { background-color: #946fdb; }
.highlight-blue { background-color: #8c94fc; }
.highlight-lime { background-color: #acffbd; }
.highlight-red {	background-color: #e58882; }
.highlight-black {	background-color: #000000; }
	
	
/** Divider **/
.divider {
  margin: 10px 0;
  width: 100%;
}
	
	
/** Panel **/
.panel {
  margin-bottom: 21px;
  background-color: #ffffff;
  border: 1px solid transparent;
}
.panel-body {
  padding: 15px;
}
.panel-body:before,
.panel-body:after {
  content: " ";
  display: table;
}
.panel-body:after {
  clear: both;
}
.panel > .list-group {
  margin-bottom: 0;
}
.panel > .list-group .list-group-item {
  border-width: 1px 0;
}
.panel > .list-group .list-group-item:first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.panel > .list-group .list-group-item:last-child {
  border-bottom: 0;
}
.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}
.panel > .table {
  margin-bottom: 0;
}
.panel > .panel-body + .table {
  border-top: 1px solid #dddddd;
}
.panel-heading {
  border-bottom: 1px solid transparent;
}
.panel-heading a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
}
.panel-heading a:after {
  display: inline-block;
  float: right;
  content: "";
  width: 21px;
  height: 21px;
  margin-top: 2px;
  background: url('../img/controls.png') no-repeat;
  background-position: 0 -21px;
}
.panel-heading a.on:after {
  background-position: 0 -42px;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 17px;
}
.panel-title > a {
  color: inherit;
}
.panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #dddddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel-group .panel {
  margin-bottom: 7px;
  overflow: hidden;
}
.panel-group .panel + .panel {
  margin-top: 5px;
}
.panel-group .panel-heading {
  border-bottom: 0;
}
.panel-group .panel-heading + .panel-collapse .panel-body {
  border-top: 1px solid #dddddd;
}
.panel-group .panel-footer {
  border-top: 0;
}
.panel-group .panel-footer + .panel-collapse .panel-body {
  border-bottom: 1px solid #dddddd;
}

.panel-group .panel-heading + .panel-collapse .panel-body p {
    margin: 0;
}

.panel-black {
  border-color: #000000;
}
.panel-black > .panel-heading {
  color: #ffffff;
  background-color: #000000;
  border-color: #000000;
}
.panel-black > .panel-heading a { 
  color: #ffffff; 
}
.panel-black > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #000000;
}
.panel-black > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #000000;
}
.panel-green {
  border-color: #5f9571;
}
.panel-green > .panel-heading {
  color: #ffffff;
  background-color: #5f9571;
  border-color: #5f9571;
}
.panel-green > .panel-heading a { 
  color: #ffffff; 
}
.panel-green > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #5f9571;
}
.panel-green > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #5f9571;
}
.panel-blue {
  border-color: #8c94fc;
}
.panel-blue > .panel-heading {
  color: #ffffff;
  background-color: #8c94fc;
  border-color: #8c94fc;
}
.panel-blue > .panel-heading  a { 
  color: #ffffff; 
}
.panel-blue > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #8c94fc;
}	
.panel-blue > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #8c94fc;
}
.panel-lime {
  border-color: #acffbd;
}
.panel-lime > .panel-heading {
  color: #ffffff;
  background-color: #acffbd;
  border-color: #acffbd;
}
.panel-lime > .panel-heading a { 
  color: #ffffff; 
}
.panel-lime > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #acffbd;
}
.panel-lime > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #acffbd;
}
.panel-red {
  border-color: #e58882;
}
.panel-red > .panel-heading {
  color: #ffffff;
  background-color: #e58882;
  border-color: #e58882;
}
.panel-red > .panel-heading a { 
  color: #ffffff; 
}
.panel-red > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #e58882;
}
.panel-red > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #e58882;
}
.panel-violet {
  border-color: #946fdb;
}
.panel-violet > .panel-heading {
  color: #ffffff;
  background-color: #946fdb;
  border-color: #946fdb;
}
.panel-violet > .panel-heading a { 
  color: #ffffff; 
}
.panel-violet > .panel-heading + .panel-collapse .panel-body {
  border-top-color: #946fdb;
}
.panel-violet > .panel-footer + .panel-collapse .panel-body {
  border-bottom-color: #946fdb;
}
.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}
.fade.in {
  opacity: 1;
}
.collapse {
  display: none;
}
.collapse.in {
  display: block;
}
.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition: height 0.35s ease;
  transition: height 0.35s ease;
}
	
	
/** Tabs **/	
.nav {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  font-weight: bold;
  color: #777777;
}
.nav > li {
  position: relative;
  display: block;
}
.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}
.nav .open > a {
  background-color: #eeeeee;
  border-color: #428bca;
}
.nav > li > a > img {
  max-width: none;
}
	
.nav-tabs {
  border-bottom: 1px solid #eeeeee;
}
.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
}
.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.428571429;
  color: #777777;
  border: 1px solid transparent;
  text-decoration: none;
}

.nav-tabs > li.active > a {
  background-color: #ffffff;
  border-left: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
  border-top: 2px solid #eeeeee;
  border-radius: 2px 2px 0 0;
}

.tab-content {
  padding: 15px 20px;
  border: 1px solid #eeeeee;
  border-top: none;
  color: #777777;
}
.tab-content > .tab-pane,
.pill-content > .pill-pane {
  display: none;
}
.tab-content > .active,
.pill-content > .active {
  display: block;
}	
	
.single .post .nav li:before {
  content: none;
}

.tab-content > .tab-pane > br:first-of-type,
.tab-content > .tab-pane > br:last-of-type,
.pill-content > .pill-pane > br:first-of-type,
.pill-content > .pill-pane > br:last-of-type {
    display: none;
}


/** Alerts **/
.alert {
  padding: 10px 15px;
  margin-bottom: 7px;
  border: 1px solid transparent;
}
.alert > p,
.alert > ul {
  margin-bottom: 0;
}
.alert > p + p {
  margin-top: 5px;
}
.alert-dismissable {
  padding-right: 35px;
}
.alert-dismissable .close {
  position: relative;
  top: -2px;
  right: -21px;
  color: inherit;
}
.alert-success {
  background-color: #d7fedf;
  border-color: #d7fedf;
  color: #3d3d3d;
}
.alert-success hr {
  border-top-color: #c9e2b3;
}
.alert-success .alert-link {
  color: #356635;
}
.alert-info {
  background-color: #f1c3c1;
  border-color: #f1c3c1;
  color: #3d3d3d;
}
.alert-info hr {
  border-top-color: #a6e1ec;
}
.alert-info .alert-link {
  color: #2d6987;
}
.alert-warning {
  background-color: #c6cbfc;
  border-color: #c6cbfc;
  color: #3d3d3d;
}
.alert-warning hr {
  border-top-color: #f8e5be;
}
.alert-warning .alert-link {
  color: #a47e3c;
}
.alert-danger {
  background-color: #c9b8eb;
  border-color: #c9b8eb;
  color: #3d3d3d;
}
.alert-danger hr {
  border-top-color: #e6c1c7;
}
.alert-danger .alert-link {
  color: #953b39;
}

.close {
  float: right;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  outline: 0;
  border: 0;
  background: url('../img/controls.png') no-repeat;
}
	

/* Labels */	
.label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: normal;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}
.label[href]:hover,
.label[href]:focus {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.label:empty {
  display: none;
}
.label-default {
  background-color: #000000;
}
.label-default[href]:hover,
.label-default[href]:focus {
  background-color: #000000;
}
.label-primary {
  background-color: #8d97f9;
}
.label-primary[href]:hover,
.label-primary[href]:focus {
  background-color: #3071a9;
}
.label-success {
  background-color: #affebf;
}
.label-success[href]:hover,
.label-success[href]:focus {
  background-color: #449d44;
}
.label-info {
  background-color: #9472d8;
}
.label-info[href]:hover,
.label-info[href]:focus {
  background-color: #31b0d5;
}
.label-warning {
  background-color: #fecd58;
}
.label-warning[href]:hover,
.label-warning[href]:focus {
  background-color: #ec971f;
}
.label-danger {
  background-color: #e38884;
}
.label-danger[href]:hover,
.label-danger[href]:focus {
  background-color: #c9302c;
}


	
/*-----------------------------------------------------------------------------------*/
/*	14. Wordpress Core
/*-----------------------------------------------------------------------------------*/

.alignnone { margin: 5px 20px 0 0; }
.alignleft {
  float: left;
  margin-right: 15px;
}
.alignright {
  margin-left: 15px;
  float: right;
}
.aligncenter {
  display: block;
  margin: 0 auto 15px;
}
.wp-caption {
  max-width: 100%;
  padding: 4px;
}
.wp-caption .wp-caption-text, 
.gallery-caption, 
.entry-caption {
  font-style: italic; 
  font-size: 12px; 
  font-size: 0.857142857rem;
  line-height: 2; 
  color: #757575;
}
.gallery-caption {}
.clearboth {
  height: 0;
  clear: both;
  margin: 0;
  padding: 0;
  margin-bottom: 12px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}


/*-----------------------------------------------------------------------------------*/
/*	15. Grid
/*-----------------------------------------------------------------------------------*/		

.container:before,
.container:after {
  content: " ";
  display: table;
}
.container:after { clear: both; }
.container:before,
.container:after {
  content: " ";
  display: table;
}
.container:after { clear: both; }



/*-----------------------------------------------------------------------------------*/
/*	16. WooCommerce
/*-----------------------------------------------------------------------------------*/

.woocommerce-page {
}

.woocommerce-page textarea,
.woocommerce-page input[type="date"],
.woocommerce-page input[type="datetime"],
.woocommerce-page input[type="datetime-local"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="month"],
.woocommerce-page input[type="number"],
.woocommerce-page input[type="password"],
.woocommerce-page input[type="search"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="text"],
.woocommerce-page input[type="time"],
.woocommerce-page input[type="url"],
.woocommerce-page input[type="week"] {
    padding: 10px;
    max-width: 100%;
    border: 0px;
    font-size: 15px;
    font-weight: normal;
    line-height: 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
    -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
    transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    background-color: #f2f2f2;
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
    color: #000000;
}

.woocommerce-page #customer_details {
    margin-bottom: 50px;
}

.woocommerce-page .woocommerce-MyAccount-navigation {
    padding-right: 40px;
}

.woocommerce-page .woocommerce-MyAccount-navigation li {
    margin: 0;
    list-style: none;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

.woocommerce-page .woocommerce-MyAccount-navigation li a {
    position: relative;
    display: block;
    padding-top: 12px;
    padding-bottom: 12px;
    border-color: #cecece;
    border-style: dotted;
    border-width: 0px 0px 1px 0px;
    line-height: 1;
    text-decoration: none;
    color: #3d3d3d;
    font-size: 14px;
}



/*-----------------------------------------------------------------------------------*/
/*	17. Responsive
/*-----------------------------------------------------------------------------------*/
@media only screen and (max-width: 1600px) and (min-width: 1200px) {

  .grid-three-columns .block-post {
    width: 50%;
  }

  .grid-four-columns .block-post {
    width: 33.3%;
  }
  
  .grid-five-columns .block-post {
    width: 25%;
  }
  
}

@media only screen and (max-width: 1200px) and (min-width: 768px) {

  .grid-three-columns .block-post {
    width: 100%;
  }
  
  .grid-four-columns .block-post {
    width: 50%;
  }
  
  .grid-five-columns .block-post {
    width: 33.3%;
  }
  
}

@media only screen and (max-width: 768px) and (min-width: 0px) {

  .grid-four-columns .block-post {
    width: 100%;
  }
  
  .grid-five-columns .block-post {
    width: 50%;
  }
  
}


@media only screen and (max-width: 1100px) {

  .post-without-sb .random-posts .block-post {
    width: 15.86%;
    margin: 0 0.8% 0.8% 0;
  } 
  .post-without-sb .random-posts .random-posts__num6 {
    margin-right: 0;
  }
  .post-without-sb .random-posts .random-posts__num7 {
    display: none;
  }

}

@media only screen and (max-width: 960px) {

  .header-mobile {
    display: block;
  }
  
  .header {
    display: none;
  }
  
  .header-alt .header-altern {
    position: static;
	padding: 0 0 24px;
    background: #fff;	
  }
  
  .header-altern .header__logo {
    color: #3d3d3d;
  }
  
  .header-altern__nav {
    margin-right: 20px;
  }
  
  .header-altern__nav span, 
  .header-altern__nav span:after, 
  .header-altern__nav span:before {
    background-color: #3d3d3d;
  }
  
  .header-altern__nav {
    border-color: #3d3d3d;
  }
  
  .alt-post__img {
    max-height: 640px;
  }
  
  .masonry-grid {
    margin: 0 -8px;
  }
  
  .masonry-grid .blog-post {
    width: 50%;
    margin: 0 0 16px;
    padding: 0 8px;
  }
  
  .page-template-template-full-width-php.header-fixed,
  .single-alt-post.header-fixed,
  .masonry-full-width.header-fixed,
  .single-portfolio.header-fixed,
  .header-fixed  {
	padding-top: 0;
  }
  
  .grid-one-columns .block-post__title  {
    font-size: 30px;
    margin-bottom: 10px;
  }
  
  .grid-twosb-columns .block-post {
	width: 100%;
  }
  
  .sidebar {
    padding-left: 10px;
  }

  .post-with-sb .random-posts .block-post {
	width: 24.25%;
	margin: 0 1% 1% 0;
  }
  .post-with-sb .random-posts .random-posts__num4 {
    margin-right: 0;
  }
  .post-with-sb .random-posts .random-posts__num5 {
    display: none;
  }
  
  .post-without-sb .random-posts .block-post {
    width: 19.6%;
    margin: 0 0.5% 0.5% 0;
  } 
  .post-without-sb .random-posts .random-posts__num5 {
    margin-right: 0;
  }
  .post-without-sb .random-posts .random-posts__num6 {
    display: none;
  }
  
  .contact-block .form-group {
    margin-right: 50px;
  }
  
  .b-single-portfolio__rightcol {
	padding-right: 14px;
  }
  
  .b-single-portfolio__leftcol {
	padding-left: 26px;
  }
  
}

@media only screen and (max-width: 768px) {

  .contact-block .form-group,
  .contact-block__contacts {
    float: none;
  }
  
  .blog-alt .blog-post__lefttcol, 
  .blog-alt .blog-post__rightcol,
  .b-single-portfolio__rightcol,
  .b-single-portfolio__leftcol {
    float: none;
    width: 100%;
	padding-left: 0;
	padding-right: 0;
  }
  
  .b-single-portfolio__leftcol {
    padding-top: 4px; 
  }
  
  .b-portfolio-panel {
	margin-bottom: 30px;
  }
  
  .blog-alt .blog-post__title {
    margin-top: 0;
  }
  
  .alt-post__img {
    margin-bottom: 36px;
    max-height: 480px;
  }

  .with-sb {
	width: 100%;
	padding-right: 0;
  }
  
  .sidebar {
    width: 100%;
	margin-top: 68px;
    padding-left: 0;
  }
  
  .flex-direction-nav .flex-prev { 
    opacity: 1; 
	left: 10px;
  }
  .flex-direction-nav .flex-next { 
    opacity: 1; 
	right: 10px;
  }
  
  .flex-direction-nav a:before {
    background-color: transparent;
    color: #ffffff;
  } 

  .footer_column1 .widget {
    padding-right: 10px;
  }
  .footer_column2 .widget {
	padding-left: 5px;
	padding-right: 5px;
  }
  .footer_column3 .widget {
	padding-left: 10px;
  }
  
  .children {
	margin: 0 0 0 12px;
  }
  
  .post-without-sb .random-posts .block-post {
	width: 24.25%;
	margin: 0 1% 1% 0;
  }
  .post-without-sb .random-posts .random-posts__num4 {
    margin-right: 0;
  }
  .post-without-sb .random-posts .random-posts__num5 {
    display: none;
  }
	
}

@media only screen and (max-width: 600px) {

  #toTop,
  #style-picker,
  .blog-panel__tags:after,
  .posts-slider .arrow-left,
  .posts-slider .arrow-right,
  .swiper-prev, 
  .swiper-next,
  .alt-post-nav .blog-post__text {
    display: none;
  }  

  .footer_column1,
  .footer_column2,
  .footer_column3,
  .blog-post .archive {
	width: 100%;
  }
  
  .footer_column1 .widget {
    padding-right: 0;
  }
  .footer_column2 .widget {
	padding-left: 0;
	padding-right: 0;
  }
  .footer_column3 .widget {
	padding-left: 0;
  }
  
  .blog-post .archive {
    padding-right: 0;
  }
  
  .alt-post-nav {
	text-align: center;
  }
  
  .posts-slider__content .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .post-with-sb .random-posts .block-post,
  .post-without-sb .random-posts .block-post  {
	width: 32.333%;
	margin: 0 1% 1% 0;
  }
  .post-with-sb .random-posts .random-posts__num3,
  .post-without-sb .random-posts .random-posts__num3,
  .contact-block .form-group {
    margin-right: 0;
  }
  .post-with-sb .random-posts .random-posts__num4,
  .post-without-sb .random-posts .random-posts__num4  {
    display: none;
  }
  
  .masonry-grid {
    margin: 0 auto;
    max-width: 490px;
  }
  
  .masonry-grid .blog-post {
    width: 100%;
	margin-bottom: 28px;
	padding: 0;
  }
  
  .children {
	margin: 0;
  }
  
  .form-group,
  .form,
  .comment-respond {
	width: 100%;
  }
  
  .blog-panel__tags {
    float: none;
	width: 100%;
	clear: both;
	margin: 0;
	padding: 20px 0 0;
  }
  
  .gallery-custom-style {
	margin: 10px -5px;
  }
  .gallery-custom-style .gallery-item {
	padding: 5px;
  }
  
}

@media only screen and (max-width: 480px) {

  h1, .h1 { font-size: 32px; }
  h2, .h2 { font-size: 26px; }
  h3, .h3 { font-size: 20px; }
  h4, .h4 { font-size: 16px; }  
  
  
  .st-menu-open .st-pusher {
    -webkit-transform: translate3d(-100%, 0, 0);
	   -moz-transform: translate3d(-100%, 0, 0);
	    -ms-transform: translate3d(-100%, 0, 0);
         -o-transform: translate3d(-100%, 0, 0);
	        transform: translate3d(-100%, 0, 0);
  }

  .no-csstransforms3d .st-menu-open .st-pusher { right: 100%; }

  .st-menu {
    right: -100%;
    width: 100%;
  }

  .grid-columns .block-post__title:after,
  .grid-columns .block-post__excerpt,
  .grid-columns .block-post__meta,
  .blog-post__meta:before {
    display: none;
  }
  
  .grid-five-columns .block-post {
    width: 100%;
  }
  
  .post-with-sb .random-posts .block-post,
  .post-without-sb .random-posts .block-post  {
	width: 48%;
	margin: 0 4% 4% 0;
  }
  .post-with-sb .random-posts .random-posts__num2,
  .post-without-sb .random-posts .random-posts__num2,
  .post-with-sb .random-posts .random-posts__num4,
  .post-without-sb .random-posts .random-posts__num4 {
    margin-right: 0;
  }
  .post-with-sb .random-posts .random-posts__num4,
  .post-without-sb .random-posts .random-posts__num4  {
    display: block;
  }
  
  .blog-post__meta > span {
	display: block;
	margin-right: 0;
  }
  
  .nav-tabs > li {
    float: none;
	border: 1px solid #eeeeee;
  }
  .nav-tabs > li.active > a {
	border-left: none;
	border-right: none;
	border-top: 2px solid #eeeeee;
	border-radius: 2px 2px 0 0;
  }

}

@media only screen and (max-width: 320px) {

  .block-post__title:after,
  .block-post__excerpt,
  .block-post__meta {
    display: none;
  }
  
  .post-nav a {
	font-size: 12px;
  }
  
  .posts-slider__content .blog-panel__more a {
	float: none;
	margin-bottom: 40px;
  }

}