/* =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 centred 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/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
#hgroup,
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: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* =Clearing
================================================== */

/* Self Clearing Goodness */
.container:after,
#header-menu:after,
#featured-post:after,
#footer-menu:after,
.entry-container:after,
.entry-header:after,
.entry-content:after,
.widget:after,
#supplementary:after,
.site-info:after,
.featued-content-wrap:after {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* You can also use a <br class="clear" /> to clear columns */
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}


/* =Structure
----------------------------------------------- */

.site {
	width: 100%;
	margin: 0 auto;
}
#header-left {
    float: left;
	max-width: 100%;
} 
#primary {
	clear: both;
    float: left;
    width: 580px;
}
#header-right {
	float: right;
	max-width: 300px;
}
#secondary {
    float: right;
    width: 300px;
}


/* =Margins and Paddings
----------------------------------------------- */

.page-links,
.widget,
blockquote,
.site-content article,
.site-content .site-navigation,
#infinite-handle,
.comments-title, #reply-title,
#respond {
	/*margin-bottom: 20px*/
}
#homepage-message {
	margin-top: 40px;
}
.single-format-gallery .entry-meta {
	margin-top: 30px;
}
article.sticky .featured-post,
.page-header,
/*p,*/
.featured-image,
/*.entry-content table,*/
.comment-content table,
.widget.widget_catcheverest_social_widget,
#content .searchform,
.page-link,
.single-attachment .entry-attachment img {
	margin-bottom: 30px;
}
#header-right .widget,
.entry-header,
article.format-aside .entry-title,
.comments-area article header,
.widget-feat-content {
	margin-bottom: 20px;	
}
.page .entry-header,
.widget-title,
#header-right .widget.widget_catcheverest_social_widget {
	margin-bottom: 10px;
}
#featured-post .entry-header {
	margin-bottom: 0;
}
.container {
	padding: 0 40px;
}
#site-logo,
#hgroup,
#header-right,
#supplementary,
#main {
	padding-top: 40px;
}
#hgroup-wrap,
.hentry,
.comments-area article { 
	padding-bottom: 20px;
}
#site-generator .site-info {
	padding: 15px 0;
}
.entry-header .entry-title {
	padding-bottom: 10px;
}
.page .entry-header .entry-title,
.tag-post-formats .entry-header .entry-title{
	padding-bottom: 0;
}


/* =Font Size
----------------------------------------------- */

body,
button,
/*input,
select,*/
textarea {
	font-size: 14px;
	font-size: 1.4rem;
}
#site-title {
	font-size: 40px;
    font-size: 4rem;
}

.entry-header .entry-title,
#homepage-message {
	font-size: 26px;
	font-size: 2.6rem;	
}
#homepage-message span {
	font-size: 18px;
	font-size: 1.8rem;
	
}
#featured-post .entry-title {
	font-size: 20px;
	font-size: 2rem;
}

/* =Global
----------------------------------------------- */

body,
button,
/*input,*/
select,
textarea {
	color: #404040;
	font-family: sans-serif, Arial;
	/*line-height: 1.8;*/
	text-rendering: optimizeLegibility;
	word-wrap: break-word;
}
.site {
	background-color: #fff;
	-webkit-box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);	
	-moz-box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);	
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);	
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #e6e6e6;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
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;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 14px 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%;
}
figure {
	margin: 0;
}
/*table {
	margin: 0 0 1.5em;
	width: 100%;
}*/
th {
	font-weight: bold;
}

/* Links */
a {
	color: #0070A8;
	outline: none;
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	color: #0088cc;
	text-decoration: none;
}

/* Alignment */
.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;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

/* Display */
.displayblock {
	display: block;

}
.displaynone {
	display: none;
}	
img#wpstats {
	display: none;
}

/* =Header
----------------------------------------------- */

#site-logo {
	float: left;
    line-height: 0;
    max-width: 100%;
}
#site-logo a {
    display: block;
    line-height: 0;
}
#hgroup {
    display: block;
}
#hgroup.with-logo {
    clear: both;
}
#site-title {
    font-weight: bold;
    line-height: 1.4;
	text-shadow: 2px 2px #e6e6e6;
}
#site-title a {
	color: #000;
	text-decoration: none;
}
#site-title a:hover,
#site-title a:focus,
#site-title a:active {
	color: #0088cc;
}
#site-description {
    color: #888;
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 1.2;
}


/* =Menu
----------------------------------------------- */

#header-right .menu li {
	display: inline;
	margin: 0;
}
#header-right .menu ul {
	display: inline;	
}
#header-right .menu a {
	border-left: 1px solid #e6e6e6;
	padding: 0 4px 0 8px;
	text-decoration: none;
}
#header-right .menu a:hover {
	color: #0088cc;
}
#header-right .menu  li.current_page_item > a,
#header-right .menu  li.current-menu-item > a {
	color: #000;
}
#header-right .menu > li:first-child > a {
	padding-left: 0;
    border-left: none;
}
#header-menu {
	background-color: #3a3d41;
	margin-bottom: 0;
}
#header-menu #access {
	clear: both;
	display: block;
	float: left;
	margin: 0 auto;
	width: 100%;
}
#header-menu ul.menu {
	list-style: none;
	padding-left: 50px;
	text-align: left;
}
#header-menu ul.menu li {
	display: inline-block;
	position: relative;
	text-align: left;
}
#header-menu ul.menu a {
	color: #eee;
	display: block;
	line-height: 45px;
	line-height: 4.5rem;
	padding: 0 20px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
#header-menu ul.menu ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 45px;
	left: 0;
	list-style: none;
	width: 188px;
	z-index: 99999;
}
#header-menu ul.menu ul ul {
	left: 100%;
	top: 0;
}
#header-menu ul.menu ul a {
	background: #3a3d41;
	border-bottom: 1px dotted #444;
	color: #fff;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 23px;
	line-height: 2.3rem;
	height: auto;
	padding: 10px;
	width: 168px;
	white-space: normal;
}
#header-menu ul.menu li:last-child, 
#header-menu ul.menu ul li {
	border:none;
} 
#header-menu ul.menu li:hover > a,
#header-menu ul.menu a:focus {
	background-color: #2d2d2d;
}
#header-menu ul.menu li:hover > ul {
	display: block;
}
#header-menu .menu .current-menu-item > a,
#header-menu .menu .current-menu-ancestor > a,
#header-menu .menu .current_page_item > a,
#header-menu .menu .current_page_ancestor > a {
	background-color: #000;
}
#access-secondary { 
	background-color: #e6e6e6;
	clear: both;
    display: block;
    float: left;
    margin: 0 auto;
    width: 100%;
}
#access-secondary ul.menu {
	font-size: 13px;
	font-size: 1.3rem;
}
#access-secondary ul.menu li {
    border-right: 1px solid #dedede;
}
#access-secondary ul.menu a {
	color: #373737;
	line-height: 35px;
	line-height: 3.5rem;
}
#access-secondary ul.menu ul {
    list-style: none;
	top: 35px;
}
#access-secondary ul.menu ul ul { 
	top: 0;
}


/* =Responsive Menu (Tinynav.js)
-------------------------------------------------------------- */
.tinynav { 
    display: none;
	font-size: 16px;
}
.sb-holder {
    display: none;
    height: 40px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}
.sb-selector {
    display: block;
    height: 40px;
    left: 0;
    line-height: 42px;
    outline: none;
    overflow: hidden;
    position: absolute;
    text-indent: 10px;
    top: 0;
    width: 100%;
}
.sb-selector:link,
.sb-selector:visited,
.sb-selector:hover {
    color: #3A3D41;
    font-weight: bold;
    outline: none;
    text-decoration: none;
    /*text-shadow: 0 -1px 0 #000;*/
}
.sb-toggle {
    background: url(../images/menu.svg) center left no-repeat;
    background-size: 30px;
    display: block;
    height: 40px;
    outline: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
}
.sb-toggle-open {
    background: url(../images/menu.svg) center left no-repeat;
    background-size: 30px;
}
.sb-holder-disabled {
    background-color: #3c3c3c;
    border: 1px solid #515151;
}
.sb-options {
    background-color: #3a3d41;
    list-style: none;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 99;
    overflow-y: auto;
    border-top: solid 1px #666666;
}
.sb-options li {
    padding: 0;
}
.sb-options a {
    border-bottom: 1px solid #666;
    display: block;
    font-size: 16px;
    outline: none;
    padding: 10px 10px;
    text-indent: 4px;
}
.sb-options a:link,
.sb-options a:visited {
    color: #eee;
    text-decoration: none;
}
.sb-options a:hover,
.sb-options a:focus,
.sb-options a.sb-focus {
    background-color: #2d2d2d;
}
.sb-options li.last a {
    border-bottom: none;
}
.sb-options .sb-disabled {
    border-bottom: dotted 1px #515151;
    color: #999;
    display: block;
    padding: 7px 0 7px 3px;
}
.sb-options .sb-group {
    border-bottom: dotted 1px #515151;
    color: #ebb52d;
    display: block;
    font-weight: 700;
    padding: 7px 0 7px 3px;
}
.sb-options .sb-sub {
    padding-left: 17px;
}
.default-menu {
	display: none !important;
}
.sb-options li:last-child {
	display: none;
}


/* =Slider
-------------------------------------------------------------- */

#main-slider {
	display: block;
	position: relative;
	padding: 0
}
.featured-slider {
	position: relative;
}
.featured-slider .slides {
	background-color: #fafafa;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	margin: 0;
	padding: 0;
}
.featured-slider .slides img {
	box-shadow: none;
	margin: 0 auto;
}
.featured-img a img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}
#main-slider .entry-container {
	max-width: 50%;
	position: absolute;
	bottom: 15%;
}
#main-slider .entry-header {
    color: #393938;
	display: inline-block;
    left: 0;
	margin-bottom: 15px;
}
#main-slider .entry-title {
	padding: 0;
}
#main-slider .entry-title a {
	background: rgba(255, 255, 255, 0.7);
	display: block;
    padding: 10px 25px;
}
#main-slider .entry-title a:hover,
#slider-nav a:hover {
	color: #000;
	background: rgba(255, 255, 255, 1);
}
#main-slider .entry-content {
    background: rgba(255, 255, 255, 0.7);
	color: #393938;
	padding: 15px 25px;
}
#main-slider .entry-content p {
	margin: 0;
	padding: 0;
}
#controllers {
    bottom: 2%;
    list-style: none outside none;
    position: absolute;
    right: 0;
    text-align: center;
    width: 100%;
	z-index: 20;
}
#controllers a { 
	display: inline-block;
	width: 10px;
	height: 10px;
	cursor: pointer;
	background: rgba(255,255,255,.4);
	border-radius: 24px;
	-moz-border-radius: 24px;
	-webkit-border-radius: 24px;
	color: #333;
	font-weight: 600;
	line-height:24px;
	margin: 0 4px;
	text-indent: -48px;
	overflow: hidden;
}
#controllers a:hover, 
#controllers a.active {
	background:rgba(255,255,255,.8);
}
#slider-nav {
    bottom: 4%;
    display: block;
    position: absolute;
    right: 1.5%;
    z-index: 30;
}
#slider-nav a {
	background: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	color: #666;
    display: inline-block;
    font-size: 28px;
	font-size: 2.8rem;
    font-weight: 200;
    line-height: 35px;
    padding: 0 10px;
}
#slider-nav .slide-previous { }
#slider-nav .slide-next { }
	

/* =Featured Images
-------------------------------------------------------------- */

#homepage-message {
    background-color: #fafafa;
    border-bottom: 1px solid #e6e6e6;
    border-top: 1px solid #e6e6e6;
    line-height: 1.5;
    text-align: center;
}
#homepage-message p {
	margin: 20px 0;
}
#homepage-message span {
    display: block;
    font-style: italic;
    padding-top: 5px;
}
#featured-post figure {
	margin-bottom: 15px;
}
#featured-post .entry-title {
	padding-bottom: 5px;
}
#featured-post .post {
    float: left;
    margin-left: 4%;
    width: 30.66%;
}
#featured-post .post.first {
	clear: both;
	margin-left: 0;
}


/* =Content
----------------------------------------------- */

.entry-meta {
	clear: both;
	color: #757575;
	font-size: 14px;
	font-size: 1.4rem;
}
.entry-header .entry-title {
	color: #222;
}
.entry-header .entry-title a {
	color: #222;
	text-decoration: none;
}
.entry-header .entry-title a:hover {
	color: #0088cc;
}
.page-header { 
	border-top: 4px double #e6e6e6;
	border-bottom: 4px double #e6e6e6;
	color: #757575;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 3.5;
	text-align: center;
}
.byline {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-links {
	clear: both;
	font-size: 20px;
	font-size: 2rem;
}
.site-content article {
	/*border-bottom: 1px solid #e6e6e6;*/
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;	
}
.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul,
.mu_register ul {
	margin: 0 0 24px;
	line-height: 1.7;
}
.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {
	margin-bottom: 0;
}
.entry-content ul,
.comment-content ul,
.mu_register ul {
	list-style: disc outside;
}
.entry-content ol,
.comment-content ol {
	list-style: decimal outside;
}
.entry-content li,
.comment-content li,
.mu_register li {
	margin: 0 0 0 36px;
}

.entry-content h1,
.comment-content h1 {
	font-size: 24px;
	font-size: 2.4rem;
}
.entry-content h2,
.comment-content h2 { 
	/*font-size: 22px;
	font-size: 2.2rem;*/
}
.entry-content h3,
.comment-content h3 { 
	font-size: 20px;
	font-size: 2rem;
}
.entry-content h1,
.comment-content h1,
.entry-content h2,
.comment-content h2,
.entry-content h3,
.comment-content h3 {
	margin-bottom: 15px;
}
.entry-content h4,
.comment-content h4 { 
	font-size: 18px;
	font-size: 1.8rem;
}
.entry-content h5,
.comment-content h5 { 
	font-size: 16px;
	font-size: 1.6rem;
}
.entry-content h6,
.comment-content h6 { 
	font-size: 14px;
	font-size: 1.4rem;
}
/*.entry-content table,
.comment-content table {
    border-bottom: 1px solid #e6e6e6;
    width: 100%;
}
.entry-content td, 
.comment-content td {
    border-top: 1px solid #e6e6e6;
    padding: 10px 10px 8px 0;
}*/


/* =Left Sidebar Content Layout
-------------------------------------------------------------- */

.left-sidebar #primary {
	float: right;
}
.left-sidebar #secondary {
	float: left;
}


/* =Full WidthContent Layout & WooCommerce Layout
-------------------------------------------------------------- */

.no-sidebar-full-width #primary,
.woocommerce #primary {
	width: 100%
}


/* =error404
----------------------------------------------- */

.error404 #primary,
.no-sidebar #primary {
    float: none;
    margin: 0 auto;
}
.error404 .searchform {
	margin-bottom: 30px;
}
.error404 .site-content article {
	border-bottom: 0;
}
.error404 .site-content ul li {
	margin: 0;
}


/* =Sticky
----------------------------------------------- */

article.sticky .featured-post {
	border-top: 4px double #e6e6e6;
	border-bottom: 4px double #e6e6e6;
	color: #757575;
	line-height: 3.5;
	text-align: center;
}

/* =Asides
----------------------------------------------- */

article.format-aside .entry-header {
	margin-bottom: 0;
}
article.format-aside .entry-title {
	font-size: 24px;
	font-size: 2.4rem;
	padding-bottom: 0;
}
article.format-aside .entry-title a {
	text-decoration: none;
	color: #222;
}
article.format-aside .entry-title a:hover {
	color: #0088cc;
}
article.format-aside .aside {
	margin-bottom: 30px;
	padding: 30px;
	background: #d2e0f9;
	border-left: 22px solid #a8bfe8;
}
article.format-aside p {
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.5;
	color: #4a5466;
}
article.format-aside blockquote:last-child,
article.format-aside p:last-child {
	margin-bottom: 0;
}


/* =Post Format
----------------------------------------------- */

.post-format .entry-title {
	float: left;
	max-width: 85%;
	padding-bottom: 0;
}
article .entry-format {
	margin-top: 5px;
	padding: 0 10px;
	float: right;
	font-size: 11px;
	font-size: 1.1rem;
	line-height: 2.181818182;
	font-weight: bold;
	font-style: italic;
	text-transform: uppercase;
	clear: none;
	color: #848484;
	background-color: #ebebeb;
}
article .entry-format a {
	color: #848484;
	text-decoration: none;
}
article .entry-format a:hover {
	color: #0088cc;
}


/* =Link
----------------------------------------------- */

article.format-link .entry-content { 
	float: left;
	font-size: 25px;
	font-size: 2.5rem;
	line-height: 1.5;
	max-width: 85%;
}
article.format-link .entry-content a {
	text-decoration: none;
}


/* =Image & Gallery
----------------------------------------------- */

article.format-gallery .entry-format {
	clear: none;
}
article.format-image .entry-title a {
	color: #222;
    text-decoration: none;
}
article.format-image .entry-title a:hover {
	color: #0088cc;
}


/* =Quote posts
----------------------------------------------- */

blockquote {
	display: block;
	padding: 30px;
	color: #6a6a6a;
	background: #efefef;
}
blockquote p {
	margin-bottom: 0;
}


/* =Status posts
----------------------------------------------- */

article.format-status .entry-format,
article.format-status .entry-title {
	clear: none;
}
article.format-status .entry-title {
	float: left;
	padding-bottom: 0;
}
.format-status .entry-header img {
	float: left;
	margin-right: 15px;
}


/* =Chat
----------------------------------------------- */

.chat-transcript {
    background-color: #efefef;
	margin-bottom: 30px;
	padding: 0 30px 1px;
}
.chat-author {
    color: #757575;
    font-size: 13px;
	font-size: 1.3rem;
}
.chat-row {
    border-bottom: 1px solid #ddd;
    padding-top: 30px;
}
.chat-row:last-child {
	border: none;
}


/* =Media
----------------------------------------------- */

.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
#hgroup-wrap img,
.featured-image img,
.entry-content img,
img.size-full,
img.size-large,
img.wp-post-image {	
	display: block;
	/*max-width: 100%;*/
	/*height: auto;*/ /* Prevent stretching of full-size images with height and width attributes in IE8 */
}
.featured-image img,
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	/*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);*/
}
#hgroup-wrap a:hover img,
.featured-image a:hover img,
.entry-content a:hover img,
.comment-content a:hover img,
.widget a:hover img,
a:hover img.header-image,
.author-avatar a:hover img,
a:hover img.wp-post-image {
	/*opacity: 0.9;*/
}
.entry-header img.wp-post-image {
	margin-bottom: 15px;
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	display: inline-block;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #e6e6e6;
	max-width: 100%;
}
img.aligncenter,
img.alignleft,
img.alignright,
.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright {
	margin-top: 8px;
	margin-bottom: 10px;
}
.wp-caption img {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption .wp-caption-text, 
.gallery-caption, .entry-caption {
	color: #757575;
	font-size: 14px;
	font-size: 1.4rem;
	font-style: italic;
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 10px auto;
	max-width: 98%;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}
.single-attachment .image-attachment img {
	display: block;
    margin: 0 auto;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-content .site-navigation,
#infinite-handle {
	overflow: hidden;
}
#nav-above {
	display: none;
}
.site-content .nav-previous,
.site-content .previous-image {
	float: left;
	width: 50%;
}
.site-content .nav-next,
.site-content .next-image {
	float: right;
	text-align: right;
	width: 50%;
}
#image-navigation {
	padding-top: 10px;
}


/* =Scrollup
----------------------------------------------- */

a#scrollup {
	background-color: #000;
	bottom: 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #fff;
	display: none;
	-webkit-font-smoothing: antialiased;
	font: normal 24px/1 'Genericons';
	padding: 5px;
	position: fixed;
	right: 20px;
	text-decoration: none;
	vertical-align: top;
	opacity: 0.5;
	filter:alpha(opacity=50); /* For IE8 and earlier */
	z-index: 999;
}
a#scrollup:before {
	content: '\f432';
}
a#scrollup:hover {
	opacity: 1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
}


/* =Jetpack plugins
----------------------------------------------- */

/* Infinite Scroller */
#content #infinite-handle {
    display: block;
    text-align: center;
    width: 100%;
}
#content #infinite-handle span {
    background-color: #3a3d41;
    display: block;
    font-size: 14px;
    padding: 10px 0;
    width: 100%;
}
#content #infinite-handle span:hover {
	background-color: #000;
}


/* =WP PageNavi and WP Page Numbers plugins
----------------------------------------------- */
#nav-below .wp-pagenavi {
	float: right;
}
#nav-below .wp-pagenavi a, 
#nav-below .wp-pagenavi span, 
#nav-below #wp_page_numbers ul li a,
.page-link span,
.page-link a span {
	border: none;
	float: left;
	height: 30px;
	background: #ddd;
	color: #555;
	text-align: center;
	font-size: 14px;
	line-height: 30px;
	display: block;
	padding: 0 12px;
	text-decoration: none;
}
#nav-below .wp-pagenavi a, 
#nav-below .wp-pagenavi span,
.page-link span {
	margin: 0 0 0 10px;
}
#nav-below .wp-pagenavi span.pages,
.page-link span.pages {
	color: #555;
	background: none; 
	padding: 2px 0 0 0;
}
#nav-below .wp-pagenavi a:hover,
#nav-below #wp_page_numbers ul li a:hover,
.page-link a span:hover {
	background:#444;
	color:#fff;
}
#nav-below .wp-pagenavi span.current, 
#nav-below #wp_page_numbers ul li.active_page a,
.page-link span {
	background:#444;
	color:#fff;
	font-weight: normal;
}
#nav-below #wp_page_numbers {
    background: none repeat scroll 0 0 transparent;
    float: right;
    margin: 0;
    width: auto;
}
#nav-below #wp_page_numbers ul {
	border: none;
    list-style: none;
}
#nav-below #wp_page_numbers ul li {
    color: #aaa;
    float: left;
    font-size: 12px;
    line-height: 30px;
    margin-left: 10px;
}
#nav-below #wp_page_numbers ul li.page_info {
	background: none;
	border: none;
}


/* =Comments
----------------------------------------------- */

.bypostauthor {
}	
#commentform input {
	display: block;
}
#commentform .comment-subscription-form input {
	display: inline-block;
}
#respond p {
	margin-bottom: 20px;
}
.comments-area article header {
	overflow: hidden;
	position: relative;
}
.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
}
.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 80px;
}
.comments-area article header cite {
	font-style: normal;
}
.comments-area article header time {
	color: #757575;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.2;
}
.comments-area article header a {
	text-decoration: none;
	color: #5e5e5e;
}
.comments-area article header a:hover {
	color: #21759b;
}
.comments-area article header cite a {
	color: #444;
}
.comments-area article header cite a:hover {
	text-decoration: underline;
}
.commentlist .children {
	margin-left: 48px;
}
.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 5px;
	padding: 2px 5px 1px;
	font-size: 10px;
	font-size: 1rem;
}
li.bypostauthor cite span {
	color: #fff;
	background-color: #21759b;
	background-image: none;
	border: 1px solid #1f6f93;
}

/* =Widgets
----------------------------------------------- */

.widget-title {
	color: #222;
	font-size: 20px;
	font-size: 2rem;
}
.widget-title a {
	color: #222;
}
/*.widget-area .widget a {
	color: #0070A8;
}
.widget-area .widget a:hover {
	color: #0088cc;*/
}
.widget ul, 
.widget ol {
    list-style: none;
    margin-left: 0;
}
.widget-area .widget ul ul {
	margin-left: 15px;
}
/* Calendar Widget */
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: left;
}
#wp-calendar #next {
	padding-right: 35px;
	text-align: right;
}
/* Search Widget */
input#s {
    background: url("images/search.png") no-repeat scroll 5px 6px transparent;
    height: 22px;
    padding: 5px 10px 5px 28px;
	width: 85%;
}
#searchsubmit {
	padding: 9px 20px;
	display: none;
}


/* Header Right widget */
#header-right .widget {
	clear: both;
	float: right;
	font-size: 13px;
}
#header-right #s {
	float: right;
	-webkit-transition-duration: 400ms;
	-webkit-transition-property: width, background;
	-webkit-transition-timing-function: ease;
	-moz-transition-duration: 400ms;
	-moz-transition-property: width, background;
	-moz-transition-timing-function: ease;
	-o-transition-duration: 400ms;
	-o-transition-property: width, background;
	-o-transition-timing-function: ease;
	width: 72px;
}
#header-right #s:focus {
	width: 166px;
}
#header-right .widget-title {
	font-size: 16px;
	font-size: 1.6rem;
	margin-bottom: 0;
}
#header-right .widget,
/*input[type="text"], 
input[type="email"],*/ 
textarea {
	color: #404040;
}
	
#header-right .widget ul {
	list-style: none;
}
#header-right .widget:last-child {
	margin-bottom: 0;
}
#header-right .menu,
#header-right .widget_text {
	float: right;
}


/* ==Social Profile
----------------------------------------------- */

ul.social-profile {
	list-style:none;
	margin-left: -10px;
}
#header-right ul.social-profile {
	float:right;
}
ul.social-profile li {
    display: inline-block;
	float: left;    
    margin: 0 0 10px 10px;
}
ul.social-profile li a {
	display:block;
	background:url(../images/social-profile.png) right bottom no-repeat;
	width:33px;
	height:33px;
	text-indent: -99999px;
}
ul.social-profile li.facebook a {
	background-position: 0 0;
}
ul.social-profile li.facebook a:hover {
	background-position: 0 -43px;
}
ul.social-profile li.twitter a {
	background-position: -44px 0;
}
ul.social-profile li.twitter a:hover {
	background-position: -44px -43px;
}
ul.social-profile li.you-tube a {
	background-position: -87px 0;
}
ul.social-profile li.you-tube a:hover {
	background-position: -87px -43px;
}
ul.social-profile li.rss a {
	background-position: -130px 0;
}
ul.social-profile li.rss a:hover {
	background-position: -130px -43px;
}
ul.social-profile li.google-plus a {
	background-position: -173px 0;
}
ul.social-profile li.google-plus a:hover {
	background-position: -173px -43px;
}
ul.social-profile li.pinterest a {
	background-position: -216px 0;
}
ul.social-profile li.pinterest a:hover {
	background-position: -216px -43px;
}
ul.social-profile li.slideshare a {
	background-position: -259px 0;
}
ul.social-profile li.slideshare a:hover {
	background-position: -259px -43px;
}
ul.social-profile li.foursquare a {
	background-position: -302px 0;
}
ul.social-profile li.foursquare a:hover {
	background-position: -302px -43px;
}
ul.social-profile li.viemo a {
	background-position: -345px 0;
}
ul.social-profile li.viemo a:hover {
	background-position: -345px -43px;
}
ul.social-profile li.myspace a {
	background-position: -388px 0;
}
ul.social-profile li.myspace a:hover {
	background-position: -388px -43px;
}
ul.social-profile li.flickr a {
	background-position: -431px 0;
}
ul.social-profile li.flickr a:hover {
	background-position: -431px -43px;
}
ul.social-profile li.dribbble a {
	background-position: -474px 0;
}
ul.social-profile li.dribbble a:hover {
	background-position: -474px -43px;
}
ul.social-profile li.wordpress a {
	background-position: -517px 0;
}
ul.social-profile li.wordpress a:hover {
	background-position: -517px -43px;
}
ul.social-profile li.deviantart a {
	background-position: -560px 0;
}
ul.social-profile li.deviantart a:hover {
	background-position: -560px -43px;
}
ul.social-profile li.linkedin a {
	background-position: -603px 0;
}
ul.social-profile li.linkedin a:hover {
	background-position: -603px -43px;
}
ul.social-profile li.tumblr a {
	background-position: -646px 0;
}
ul.social-profile li.tumblr a:hover {
	background-position: -646px -43px;
}
ul.social-profile li.delicious a {
	background-position: -689px 0;
}
ul.social-profile li.delicious a:hover {
	background-position: -689px -43px;
}
ul.social-profile li.lastfm a {
	background-position: -732px 0;
}
ul.social-profile li.lastfm a:hover {
	background-position: -732px -43px;
}
ul.social-profile li.instagram a {
	background-position: -775px 0;
}
ul.social-profile li.instagram a:hover {
	background-position: -775px -43px;
}
ul.social-profile li.github a {
	background-position: -818px 0;
}
ul.social-profile li.github a:hover {
	background-position: -818px -43px;
}
ul.social-profile li.odnoklassniki a {
	background-position: -860px 0;
}
ul.social-profile li.odnoklassniki a:hover {
	background-position: -860px -43px;
}
ul.social-profile li.vkontakte a {
	background-position: -903px 0;
}
ul.social-profile li.vkontakte a:hover {
	background-position: -903px -43px;
}
ul.social-profile li.myworld a {
	background-position: -946px 0;
}
ul.social-profile li.myworld a:hover {
	background-position: -946px -43px;
}
ul.social-profile li.goodreads a {
	background-position: -989px 0;
}
ul.social-profile li.goodreads a:hover {
	background-position: -989px -43px;
}
ul.social-profile li.skype a {
	background-position: -1033px 0;
}
ul.social-profile li.skype a:hover {
	background-position: -1033px -43px;
}
ul.social-profile li.soundcloud a {
	background-position: -1076px 0;
}
ul.social-profile li.soundcloud a:hover {
	background-position: -1076px -43px;
}
ul.social-profile li.email a {
	background-position: -1119px 0;
}
ul.social-profile li.email a:hover {
	background-position: -1119px -43px;
}
ul.social-profile li.contactus a {
	background-position: -1119px 0;
}
ul.social-profile li.contactus a:hover {
	background-position: -1119px -43px;
}
ul.social-profile li.xing a {
	background-position: -1162px 0;
}
ul.social-profile li.xing a:hover {
	background-position: -1162px -43px;
}


/* =Footer
----------------------------------------------- */
#footer-sidebar { 
	background-color: #fafafa;
	border-top: 1px solid #e6e6e6;
}
#site-generator {
	background-color: #18528D;
	color: #999;
}
#site-generator a {
	color: #ddd;
}
#site-generator a:hover {
	color: #fff;
	text-decoration: none;
}
#colophon {
	clear: both;
}
#supplementary {
	overflow: hidden;
}
#supplementary .widget-area {
	float: left;
}

/* Two Footer Widget Areas */
#supplementary.two .widget-area {
	float: left;
	width: 48%;
}
#supplementary.two .widget-area + .widget-area {
	float: right;
}

/* Three Footer Widget Areas */
#supplementary.three .widget-area {
    float: left;
    margin-right: 4%;
    width: 30.66%;
}
#supplementary.three .widget-area + .widget-area + .widget-area {
	margin-right: 0;
}
#site-generator {
	font-size: 13px;
	font-size: 1.3rem;
}
#site-generator .copyright, 
#site-generator .powered {
    width: 100%;
}
#site-generator .copyright { 
	clear: both;
	float: left;
    text-align: center; color: #FFFFFF; font-size: 16px;
}
#site-generator .powered { 
	float: right;
    text-align: right;
}

#content {
	padding-bottom: 40px;
}
@media screen and (max-width: 1020px) {
	#content {
		padding-bottom: 30px;
	}
}
@media screen and (max-width: 480px) {
	#content {
		padding-bottom: 20px;
	}
}
@media screen and (max-width: 480px) {
	#content {
		padding-bottom: 15px;
	}
}

th a {
	color: #404040;
}

ul.pagination {
	list-style-type: none;
	margin:  auto;
	line-height: unset;
}

ul.pagination li {
	margin: 0;
}

ul.pagination li.active {
	width: 100%;
	padding-top: 12px;
	color: #FFFFFF;
	margin: 0 auto;
	text-align: center;
	font-size: 16px;
}

ul.pagination li.active a:hover {
	color: inherit;
}

ul.pagination li a:hover {
	cursor: pointer;
}

ul.pagination li.active a:hover {
	cursor: default;
}

ul.pagination .first.disabled .t-pages3 {
	background-image: url(../images/arrow-left2-off.svg);
}

ul.pagination .prev.disabled .t-pages4 {
	background-image: url(../images/arrow-left-off.svg);
}

ul.pagination .next.disabled .t-pages6 {
	background-image: url(../images/arrow-right-off.svg);
}

ul.pagination .last.disabled .t-pages7 {
	background-image: url(../images/arrow-right2-off.svg);
}

.complaint {
	display: none;
}

.table-show_more th {
	visibility: hidden;
}
.table-show_more {
	margin-top: -40px;
}

.comments-form__wrapper {
	display: none;
}

.comment-user-reply__active {
	animation: comment-user-reply__active  3s ease-in;
}

@keyframes comment-user-reply__active {
	from {background: #eee;}
	to {background: #fff;}
}

.comment-body p {
	margin-bottom: 8px;
}

.comment-body p:last-child {
	margin-bottom: 0;
}

.sub-comments__show-more_wrapper {
	margin-left: 80px;
}
@media screen and (max-width: 480px) {
	.sub-comments__show-more_wrapper {
		margin-left: 20px;
	}
}

.t-menu__wrap {
	display: inline-block;
	margin-bottom: 30px;
	width: 100%;
}

/* preloader */
.loading {
	display: flex;
	clear: both;
}
.loading .dot {
	position: relative;
	width: 1em;
	height: 1em;
	margin: 0.4em;
	border-radius: 50%;
}
.loading .dot::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: inherit;
	border-radius: inherit;
	animation: wave 2s ease-out infinite;
}
.loading .dot:nth-child(1) {
	background: #7ef9ff;
}
.loading .dot:nth-child(1)::before {
	animation-delay: 0.2s;
}
.loading .dot:nth-child(2) {
	background: #89cff0;
}
.loading .dot:nth-child(2)::before {
	animation-delay: 0.4s;
}
.loading .dot:nth-child(3) {
	background: #4682b4;
}
.loading .dot:nth-child(3)::before {
	animation-delay: 0.6s;
}
.loading .dot:nth-child(4) {
	background: #0f52ba;
}
.loading .dot:nth-child(4)::before {
	animation-delay: 0.8s;
}
.loading .dot:nth-child(5) {
	background: #000080;
}
.loading .dot:nth-child(5)::before {
	animation-delay: 1s;
}

@keyframes wave {
	50%, 75% {
		transform: scale(2.5);
	}
	80%, 100% {
		opacity: 0;
	}
}
/* preloader */