/*
Theme Name: WebDiary 
Theme URI: https://www.templatesell.com/item/webdiary-free-wordpress-blog-theme/
Author: templatesell
Author URI: https://www.templatesell.com/
Description: Webdiary is specially designed for blog.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webdiary
Tags: two-columns, right-sidebar, custom-background, custom-colors, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready, blog
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Ts Global
# Normalize
# Typography
# Elements
# Forms
# Header
	# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries

/*--------------------------------------------------------------
# Ts Global
--------------------------------------------------------------*/
#primary,
#secondary{
	float: left;
}
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Muli', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

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: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

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;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	background-color: #fff;
	border: 1px solid #eceeef;
	border-collapse: collapse;
	margin-bottom: 1rem;
	max-width: 100%;
	width: 100%;
}
table td, table th {
	border: 1px solid #eceeef;
	padding: 0.75rem;
	vertical-align: top;
}

table thead th {
	border-bottom: 2px solid #eceeef;
	vertical-align: bottom;
}
table tbody + tbody {
	border-top: 2px solid #eceeef;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Muli', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Source Sans Pro', sans-serif;
}

p {
	margin-bottom: 1.5em;
	font-size: 16px;
}

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: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #F7F7F7; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	background: #ea526f;
	font-size: 13px;
	line-height: 19px;
	padding: 6px 15px;
	color: #fff;
	transition: all 0.3s ease 0s;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #e42549; 
}

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 {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 0;
	padding: 6px 12px;
	font-size: 13px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}
body.custom-background{
	background-attachment: fixed!important;
	background-size: cover!important;
	background-position: center!important;
	background-repeat: no-repeat!important;
}
.content-area label{
	width: 100%;
	display: inline-block;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header{
	background: #fff;
	position: relative;
}

header .site-branding{
	float:left;
	width: 30%;
	padding-left: 30px;
}
header .site-title{
	font-size: 30px;
	margin: 15px 0 0 0;
	font-family: "Source Sans Pro",sans-serif;
}
header .site-description{
	margin:0 0 15px 0;
}
/*--------------------------------------------------------------
# owl Slider
--------------------------------------------------------------*/
.owl-wrapper{
	height:35vh;
	overflow: hidden;
}
#featured-slider{
	display: none;

}
#featured-slider .owl-prev, 
#featured-slider .owl-next {
    background-color: #fff;
    border-radius: 50%;
    color: #292929;
    cursor: pointer;
    font-size: 12px;
    height: 45px;
    line-height: 45px;
    position: absolute;
    text-align: center;
    top: 43%;
    width: 45px;
    z-index: 3;
}
#featured-slider .owl-prev {
    left: 15px;
}
#featured-slider .owl-next {
    right: 15px;
}
#featured-slider div img {
    width: 100%;
}
#featured-slider div span {
    background-color: #fff;
    top: -100%;
    color: #292929;
    font-size: 14px;
    left: 0;
    padding: 15px;
    position: absolute;
    transition: all 0.3s ease 0s;
    width: 100%;
}
#featured-slider .owl-item:hover span {
    top: 0;
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #ea526f;
	text-decoration: none;
}

a:visited {
	color: #e42549;
}

a:hover,
a:focus,
a:active {
	color: #e42549;
}

a:focus {
	outline:none;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    display: block;
    float: left;
    width: 70%;
}
.main-navigation ul {
    list-style: outside none none;
    margin: 0;
    padding-right: 30px;
    display: none;
    text-align: right;
}
.main-navigation ul li {
    display: inline-block;
    line-height: 40px;
    margin-left: 10px;
    position: relative;
    z-index: 40;
}
.main-navigation li::after {
    border-right: 1px solid #ea526f;
    content: "";
    height: 14px;
    left: -10px;
    position: absolute;
    top: 42px;
    width: 5px;
}
.main-navigation ul li:last-child {
    margin-right: 0;
}
.main-navigation ul li:last-child a {
    padding-right: 0;
}
.main-navigation a {
    color: #484848;
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 100px;
    padding: 0 10px;
    position: relative;
    text-decoration: none;
}
.main-navigation ul  li:first-child::after, 
.main-navigation ul ul li::after {
    display: none;
}

.main-navigation ul ul {
	background: #252728 none repeat scroll 0 0;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	left: -999em;
	z-index: 99999;
	text-align: left;
	padding: 0;
}
.main-navigation ul ul li{
	margin-left: 0!important;
}
.main-navigation  ul .children li{
	line-height: 24px !important;
	margin: 0;
	padding: 0;
}
.main-navigation  ul .children li a {
    border-top: 1px solid #2f2f2f;
    color: #ffffff !important;
    font-size: 13px;
    padding: 10px 15px!important;
    position: relative;
}
.main-navigation  ul ul li:first-child {
    border-top: medium none;
}
.main-navigation  ul ul li a {
    border-top: 1px solid #2f2f2f;
    color: #ffffff !important;
    font-size: 13px;
    padding: 10px 15px !important;
    position: relative;
    line-height: 24px !important;
}
.main-navigation  ul ul li a:hover {
    color: #f05253 !important;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	min-width: 180px;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	color: #e42549;
}


.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

/* Small menu. */
.menu-toggle {
    background-color: transparent;
    background-image: none;
    border: 1px solid #666;
    border-radius: 4px;
    color: #e42549;
    margin-bottom: 8px;
    margin-right: 15px;
    margin-top: 8px;
    padding: 5px 10px;
    position: absolute;
    right: 30px;
    top: 20px;
}
.menu-toggle:hover{
	background-color:#E42549; 
	color: #fff;
}
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 1024px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}

}

@media (max-width: 1023px){
	header .site-branding,
	.main-navigation,
	.main-navigation a{
		width: 100%;
	}
	.main-navigation ul {
		text-align: left;
		width: 100%;
		padding: 5px 30px;
	}
	.main-navigation ul li{
		width: 100%;
		margin: 0;
	}
	.main-navigation ul li a{
		line-height: 35px;
		padding: 0;
	}
	.main-navigation li::after{
		border: 0;
	}
	.main-navigation  ul ul.sub-menu{
		display: table;
		padding-left: 15px;
		position: relative;
		left: 0;
	}
}
@media (max-width: 767px) {
	#primary, 
	#secondary {
	    width: 100%;
	    float: none;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
	padding: 0 30px;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
.nav-links .nav-previous a::before, 
.nav-links .nav-next a::before {
	position: absolute;
	top: 5px;
	font-family: FontAwesome;
}
.nav-links .nav-previous a::before{
	left: 10px;
	content: "\f100";
}
.nav-links .nav-next a::before{
	right: 10px;
	content: "\f101";
}
.nav-links .nav-previous a, 
.nav-links .nav-next a {
    background: #ea526f none repeat scroll 0 0;
    position: relative;
    color: #fff;
    transition: all 0.3s ease 0s;
}
.nav-links .nav-previous a:hover, 
.nav-links .nav-next a:hover {
    background: #e42549;
}
.nav-links .nav-previous a{
	padding: 5px 15px 5px 25px;
	float: left;
}
.nav-links .nav-next a {
	padding: 5px 25px 5px 15px;
	float: right;
}
/*--------------------------------------------------------------
# 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: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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 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-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# 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;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    background: #fff none repeat scroll 0 0;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 0 30px 10px 0px;
}
#secondary{
	width:30%;
	padding-left: 15px; 
}
.widget_search h2{
	margin-top: 0;
}
#secondary .search-form{
 border: 1px solid #eee;
 position: relative;
}
#secondary .search-submit {
    background-color: transparent;
    border: medium none;
    color: #999;
    font-size: 14px;
    height: 100%;
    padding-right: 18px;
    position: absolute;
    right: 0;
    top: 0;
}
#secondary .widget_search .search-field{
    border: medium none;
    font-size: 12px;
    font-style: italic;
    font-weight: 300;
    padding: 13px 50px 12px 20px;
    width: 100%;
}
.widget-title {
    font-size: 17px;
    margin-bottom: 30px;
    text-transform: uppercase;
}
#secondary .widget-title:before {
    border-left-style: solid;
    border-color: #ea526f ;
    border-left-width: 3px;
    content: "";
    display: inline-block;
    height: 30px;
    padding-right: 20px;
    position: relative;
    top: 5px;
    vertical-align: sub;
}
#secondary .widget-title::after {
    border-bottom: 1px solid #eee;
    content: "";
    display: block;
    margin-top: 10px;
}
#secondary .widget ul{
	margin: 0;
	padding: 0;
}
#secondary .widget ul li{
	overflow: hidden;
}
#secondary .widget ul li a{
    border-bottom: 1px solid #ddd;
    color: #333;
    display: block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding: 10px 0 10px 0;
    transition: all 0.3s ease 0s;
}
#secondary .widget ul li:first-child{
	padding-top: 0;
}
#secondary .widget .recentcomments a{
border: 0;
}
#secondary .widget.widget_meta ul li{
	float: left;
	list-style: none;

}
#secondary .widget.widget_meta ul li a{
    border: 1px solid #7e7e7e;
    color: #7e7e7e;
    float: left;
    margin: 5px;
    padding: 5px;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site {
    background: #fff none repeat scroll 0 0;
    margin-bottom: 50px;
    margin-top: 50px;
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	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;
}

.site-content{
	padding-top: 50px;
}
#primary{
	width: 70%;
	padding-right: 15px;
}
#primary article,
.comments-area{
	padding: 30px 0;
	overflow: hidden;
    background: #fff none repeat scroll 0 0;
    margin-bottom: 15px;
    padding:0 0 30px 30px;
}
.entry-header {
	padding: 0;
}
.entry-header .entry-title{
	margin: 20px 0;
}
.entry-header .entry-title a{
	color: #222222;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 15px;
    margin-top: 5px;
}
.entry-meta .posted-on,
.entry-meta .byline {
	font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}
.post-date {
    padding-left: 10px;
    position: relative;
}
.entry-header span,
.entry-footer span{
    padding-right: 20px;
    font-size: 13px;
}
.entry-header span a,
.entry-footer span a{
	font-size: 13px;
    line-height: 1;
    font-style: italic;
}    
article footer {
    margin-top: 15px;
    position: relative;
}
article footer .more-area {
	background-color: #fff;
    display: inline-block;
    font-size: 14px;
    font-style: italic;
    padding-right: 30px;
    position: relative;
    z-index: 3;
}
article footer hr {
    background-color: #e4e4e4;
    border: medium none;
    height: 1px;
    position: absolute;
    top: 15px;
    width: 100%;
    margin: 0;
}
article.format-chat p{
	position: relative;
	margin-bottom: 10px;
	border-radius: 4px;
}
article.format-chat p:nth-child(even) {
	background: #fee4fe;
	text-align: right;
	padding: 15px 30px 15px 15px;
	position: relative;
}
article.format-chat p:nth-child(even)::after {
	background: #fff none repeat scroll 0 0;
	border: 1px solid #ccc;
	border-radius: 50%;
	color: #c9cccf;
	content: "\f007";
	font-family: FontAwesome;
	font-size: 15px;
	height: 30px;
	line-height: 30px;
	position: absolute;
	right: -15px;
	text-align: center;
	top: 10px;
	width: 30px;
}
article.format-chat p:nth-child(odd) {
	background: #F9F9F9;
	text-align: left;
	padding:15px 15px 15px 30px;
}
article.format-chat p:nth-child(odd)::after {
	background: #fff none repeat scroll 0 0;
	border: 1px solid #ccc;
	border-radius: 50%;
	color: #c9cccf;
	content: "\f007";
	font-family: FontAwesome;
	font-size: 15px;
	height: 30px;
	line-height: 30px;
	position: absolute;
	left: -15px;
	text-align: center;
	top: 10px;
	width: 30px;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.comment-form label{
	width: 100%;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"]{
	width: 100%;
}
.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-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;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .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%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.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 {
	display: block;
}


/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.site-footer {
    background: #e9e9e9 none repeat scroll 0 0;
    padding: 30px 0;
    text-align: center;
}
.site-info span.copy-right-text{
	width: 100%;
	text-align: center;
	padding: 15px 0;
	display: inline-block;
}

/*--------------------------------------------------------------
## Media
--------------------------------------------------------------*/

@media (max-width: 767px) {
	#primary, 
	#secondary {
	    width: 100%;
	    float: none;
	}
}

.error404 .site-content {background: #efededcf;padding-top: 0px; margin-bottom: }

.error404 #primary{ width: 100%;}

.error404 .search-submit{ max-height:33px;}

.error404 .search-form { display: inline-flex; margin-bottom:35px; }

.error404  .page-content { margin: -2.5em 0 0; }

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
	width: calc(100% - 0px);
    margin: 0 15px;
    margin-bottom: 15px;
}

input[type="submit"] {
	margin-left: 15px;	
}

span.wpcf7-not-valid-tip { margin-left: 14px; }