/*
Theme Name: H-Vene
Theme URI: http://underscores.me/
Author: Tuomas Lecklin
Author URI: http://www.lecklin.fi
Description: Theme for Suomen H-veneliitto
Version: 1.0-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hvene
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 H-Vene is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
	12.1 - Captions
	12.2 - Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	height: 100%;
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
	.stButton,
	.stButton_gradient, .stButton .stFb, .stButton .stTwbutton, .stButton .stMainServices {
		-webkit-box-sizing: content-box;
		-moz-box-sizing:    content-box;
		box-sizing:         content-box;
	}
body {
	background: #fff url(img/bg.jpg) center top no-repeat;
	background-size: cover;
	height: 100%;
	background-attachment:fixed;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: 0;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: 300;
}
	h1 {
		font-size: 2.5em;
	}
  h2 {
    font-size: 2em;
  }
  h3 {
    font-size: 1.5em;
  }
  @media screen and (max-width: 1280px){
    h1 {
      font-size: 2em;
    }
    h2 {
      font-size: 1.6em;
    }
    h3 {
      font-size: 1.2em;
    }
  }
    .page-template-hnews-php h2 {
      color: #64b9f8;
    }
      .page-template-hnews-php h2:hover {
        cursor: pointer;
      }
	.widget h1 {
		font-size: 1.5em;
		color: #64b9f8;
		line-height: 1.1em;
		margin-bottom: 0.5em;
	}
	.site-title {
		font-family: 'Merriweather', serif;
		font-weight: 300;
		width: 65%;
		margin: 0;
		text-shadow: 2px 2px 4px #1d1d1d;
    line-height: 1em;
	}
	.site-title a {
		line-height: 1em;
	}
p {
	margin-bottom: 1.5em;
}
  p.form-allowed-tags {
    display: none;
  }
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
.entry-date {
  text-transform: capitalize;
}
.comments-link {
  font-size: 1.2em;
  margin-right: 2em;
}
.comments-link:before {
  content: "\f101";
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  font: normal 2em 'dashicons';
  vertical-align: top;
  color: #64b9f8;
}
.embed-pdf p a:before {
  content: "\f498";
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  font: normal 2em 'dashicons';
  vertical-align: middle;
  color: #64b9f8;
}
.cat-links {
  float: right;
  font-size: 0.9em;
  line-height: 2.2em;
}
/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
.entry-content td {
  padding: 0.5em 0;
  border-bottom: 1px solid #ebebeb;
}
.entry-content tr:last-child td {
  border-bottom: none;
}
/**
	General
**/
.wrapper,
.main-navigation {
	width: 1200px;
	max-width: 96%;
	margin: 0 auto;
}
.half {
	float: left;
	display: block;
	width: 50%;
}
/**
	Content and sidebar
**/
.content-area {
	float: left;
	width: 65%;
	background: #fff;
	padding: 40px;
	box-shadow: 2px 2px 2px #666;
}
.site-main {
}
.site-content .widget-area {
	float: right;
	width: 35%;
}
	.widget {
		float: right;
		width: 85%;
		background: #fff;
		padding: 20px;
		box-shadow: 2px 2px 1px #1d1d1d;
	}
		.widget_text,
		.widget_sp_image,
    .widget_black_studio_tinymce {
			border: 5px solid #64b9f8;
		}
		.widget .more {
			display: block;
			text-align: right;
			margin-bottom: 1em;
		}
/**
	Calendar
	**/
    #calendar {
      width: 100%;
      height: 337px;
      background: #fff;
      overflow: hidden;
    }
		.clndr {
			/*height: 280px;*/
		}
    #calendar table {
      box-sizing: border-box;
      width: 100%;
      text-align: center;
    }
    .clndr-controls {
      position: relative;
      line-height: 40px;
      height: 40px;
    }
      .clndr-control-button,
      .month {
        width: 40px;
        float: left;
      }
        .month {
          width: 100%;
          text-align: center;
          text-transform: capitalize;
        }
        .clndr-control-button {
          float: none;
          position: absolute;
          top: 0;
          left: 0;
        }
        .rightalign {
          /*float: right !important;*/
          text-align: right;
          left: auto;
          right: 0;
        }
    .header-days td {
      color: #000;
      text-transform: uppercase;
      text-align: center;
    }
    .day {
      color: #333333;
      padding: 10px 0;
      text-align: center;
    }
      .adjacent-month {
        color: #cccccc;
      }
      .event {
        color: #3399ff;
        font-weight: bold;
      }
        .event:hover {
          color: #fff;
          background: #3399ff;
          cursor: pointer;
        }
    #calendar .event-listing {
      height: 100%;
      opacity: 0;
    }
      .event-listing thead th {
        padding-bottom: 2em;
      }
      .event-listing tbody {
        text-align: left;
      }
      .event-listing tbody tr:first-child td {
        padding-top: 1em;
      }
      .event-listing tfoot th {
      	font-weight: normal;
      }
      .event-listing-close,
      .clndr-previous-button,
      .clndr-next-button {
        display: block;
        float: left;
        text-align: center;
        color: #3399ff;
        padding: 0 15px;
        margin-right: 20px;
      }
      .event-listing-close {
        margin-top: 1em;
        padding: 10px;
      }
	      .clndr-previous-button,
	      .clndr-next-button {
	      	margin-right: 0;
	      }
        .event-listing-close:hover,
        .clndr-previous-button:hover,
        .clndr-next-button:hover {
          background: #3399ff;
          color: #fff;
          cursor: pointer;
        }
      .event-item td {
      	padding-bottom: 0.5em;
      }
      .event-item-name {
        font-size: 1.1em;
      }
.site-footer {
	clear: both;
	width: 100%;
}
/**
	Header
**/
.site-header {
	width: 100%;
	position: fixed;
	top: 0;
	background: #fff;
	height: 3.75em;
  -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;
}
	.site-header.animate {
		height: 2.5em;
		border-bottom: 1px solid #666;
		z-index: 10;
	}
/**
	Content
**/
.site-content {
	padding-top: 12.5em;
}
  @media screen and (max-width: 1600px){
    .site-content {
      padding-top: 10em;
    }
  }
  @media screen and (max-width: 1366px){
    .site-content {
      padding-top: 7.5em;
    }
  }
  .post-thumb {
    position: relative;
    height: 200px;
  }
  .post-thumb span {
    background: #fff;
    position: absolute;
    bottom: 0;
    padding-right: 1em;
  }
.embed-pdf {
  height: 0;
  overflow: hidden;
  display: none;
}
  @media screen and (max-width: 960px){
    .page-template-hnews-php h2:hover {
      cursor: default;
    }
    .embed-pdf {
      height: auto !important;
      display: block;
    }
    .embed-pdf object {
      display: none;
    }
  }
/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	background: #64b9f8;
	color: #fff;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 1em;
	line-height: 1;
	padding: 1em 2em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: #4ea9ec;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  background: #3a9ae1;
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
  .widget input[type="search"] {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing: border-box;
  }
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}
.comment-form label {
  display: inline-block;
  width: 120px;
}
/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #64b9f8;
	text-decoration: none;
}
	.site-title a {
		color: #fff;
	}
  @media screen and (max-width: 960px){
    .entry-content a {
      word-break: break-all;
    }
  }
a:visited {
}
a:hover,
a:focus,
a:active {
	text-decoration: underline;
}
	.site-title a {
		text-decoration: none;
	}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
  /* display: table; */
  width: 100%;
}
.main-navigation li {
  float: left;
	/*display: table-cell;*/
	position: relative;
  margin-right: 1em;
}
.main-navigation a {
	display: block;
	color: #1d1d1d;
	padding: 20px 0.5em;
	line-height: 20px;
	text-align: center;
}
  @media screen and (max-width: 1280px){
    .main-navigation li {
      margin-right: 0.8em;
    }
    .main-navigation a {
      padding: 20px 0.35em;
    }
  }
  @media screen and (max-width: 1024px){
    .main-navigation a {
      padding: 20px;
    }
  }
  .main-navigation li:first-child a {
    margin-left: -0.5em;
  }
  @media screen and (min-width: 961px){
    .animate .main-navigation a {
      padding: 10px 0.5em 9px 0.5em;
    }
  }
	.main-navigation a:hover {
		background: #64b9f8;
		text-decoration: none;
	}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
}
/* Small menu */
.menu-toggle,
.sidebar-toggle {
  float: left;
	display: none;
}
.sidebar-toggle {
  float: right;
}
@media screen and (max-width: 960px) {
  .site-header {
    background: transparent;
  }
    .main-navigation {
      max-width: 100%;
    }
    .main-navigation a {
    }
    .main-navigation li:first-child a {
      margin-left: 0;
    }
  	.menu-toggle,
  	.main-navigation.toggled .nav-menu,
    .sidebar-toggle {
  		display: block;
  	}
  	.main-navigation ul {
  		display: none;
      background: #fff;
      z-index: 11;
      border: 1px solid #1d1d1d;
      clear: both;
  	}
    .main-navigation ul:after {
      content:'';
      display:block;
      clear: both;
    }
    .site-content {
      padding-top: 5em;
    }
    .site-header {
      z-index: 10;
    }
    .site-header.animate {
      height: auto;
      border-bottom: none;
    }
}
.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

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

.screen-reader-text:hover,
.screen-reader-text:active,
.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-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 */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 3em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
#media a img {
  max-width: 96%;
}
.gallery {
	margin-bottom: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {}
#imagelightbox-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0.7;
	z-index: 3;
	top: 0;
	left: 0;
}
#imagelightbox {
  position: fixed;
  z-index: 9999;
  padding: 1em;
	background: ;
}
		#imagelightbox-loading,
		#imagelightbox-loading div
		{
		}
		#imagelightbox-loading
		{
			width: 5em; /* 80 */
			height: 5em; /* 80 */
			position: fixed;
			z-index: 10003;
			top: 50%;
			left: 50%;
			/* background-color: #fff; */
			padding: 1.25em; /* 10 */
			margin: -2.5em 0 0 2.5em; /* 40 */
			/*-webkit-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 );
			-moz-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 );
			box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); */
		}
			#imagelightbox-loading div
			{
				width: 3em; /* 40 */
				height: 3em; /* 40 */
				background: url(img/overlay.png) 0 0 repeat;
				-webkit-animation: imagelightbox-loading .5s ease infinite;
				-moz-animation: imagelightbox-loading .5s ease infinite;
				-o-animation: imagelightbox-loading .5s ease infinite;
				animation: imagelightbox-loading .5s ease infinite;
			}

			@-webkit-keyframes imagelightbox-loading
			{
				from { opacity: .5;	-webkit-transform: scale( .5 ); }
				50%	 { opacity: 1;	-webkit-transform: scale( 1 ); }
				to	 { opacity: .5;	-webkit-transform: scale( .5 ); }
			}
			@-moz-keyframes imagelightbox-loading
			{
				from { opacity: .5;	-moz-transform: scale( .5 ); }
				50%	 { opacity: 1;	-moz-transform: scale( 1 ); }
				to	 { opacity: .5;	-moz-transform: scale( .5 ); }
			}
			@-o-keyframes imagelightbox-loading
			{
				from { opacity: .5;	-o-transform: scale( .5 ); }
				50%	 { opacity: 1;	-o-transform: scale( 1 ); }
				to	 { opacity: .5;	-o-transform: scale( .5 ); }
			}
			@keyframes imagelightbox-loading
			{
				from { opacity: .5;	transform: scale( .5 ); }
				50%	 { opacity: 1;	transform: scale( 1 ); }
				to	 { opacity: .5;	transform: scale( .5 ); }
			}
@media screen and (max-width: 960px){
  .menu-toggle,
  .sidebar-toggle {
    box-shadow: 0px 0px 4px #1d1d1d;
  }
  .content-area {
    float: left;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 2px 2px 2px #666;
    position: relative;
  }
  .site-content .widget-area {
    position: fixed;
    width: 100%;
    right: 0;
    top: 48px;
    visibility: hidden;
    background: #fff;
    border: 1px solid #1d1d1d;
  }
  .site-content .visible {
    visibility: visible;
    z-index: 100;
  }
  #media,
  .widget_search {
    display: none;
  }
  .widget {
    width: 100%;
  }
  #secondary .widget {
    width: 100%;
    box-shadow: none;
  }
  .widget_text, .widget_sp_image, .widget_black_studio_tinymce {
    display: none;
    border: 5px solid #64b9f8;
    margin: 0.75em 0;
  }
    .home .widget_text, .home .widget_sp_image, .home .widget_black_studio_tinymce {
      display: block;
    }
  .widget img {
    display: none;
  }
}