/*
Theme Name: Photoline Lite
Theme URI: http://dinevthemes.com/themes/photoline/
Author: Dmitry Dinev as DinevThemes
Author URI: http://www.dinevthemes.com/
Description: Minimalistic theme for photobloggers. Jetpack Ready. Support Post Formats. Customization preview in real time using WordPress Customizer. Built-in Context Help.
Version: 1.0.4
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, custom-header, custom-background, featured-images, full-width-template, custom-colors, post-formats, sticky-post, right-sidebar, translation-ready
Text Domain: photoline

Photoline Lite WordPress Theme, Copyright 2015 Dmitry Dinev
Photoline Lite is distributed under the terms of the GNU GPL v2

Theme based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.

All images used by the theme screenshot are licensed under: CC0 1.0 Universal (CC0 1.0) http://creativecommons.org/publicdomain/zero/1.0/
Used resource pixabay.com at http://pixabay.com/

The images used in the theme in the "img" folder are under GPL v2 License and have been created by Dmitry Dinev.
Copyright 2015 Dmitry Dinev

Resetting and rebuilding styles
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*
===========================================================
Reset-Rebuild-Based
===========================================================
*/

/*
=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;
    outline: 0;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

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/ */;
}

*,
*: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;
}

body {
    background: #fff;
}

article,aside,details,figcaption,figure,footer,header,main,nav,section {
    display: block;
}

ol,ul {
    list-style: none;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption,th,td {
    font-weight: 400;
    text-align: left;
}

blockquote:before,blockquote:after,q:before,q:after {
    content: ' ';
}

a:focus {
    outline: thin dotted;
}

a:hover,a:active {
    outline: 0;
}

a img {
    border: 0;
}

/*
=Rebuild base
-----------------------------------*/
body,button,input,select,textarea {
    color: #404040;
    line-height: 1.5;
}

h1,h2,h3,h4,h5,h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

b,strong {
    font-weight: 700;
}

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: 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%;
}

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;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 0;
}

table {
    width: 100%;
    margin: 0 0 1.5em;
}

dt,th {
    font-weight: 700;
}

button,input,select,textarea {
    font-size: 100%;
    vertical-align: baseline;
    margin: 0;
}

input[type=checkbox],input[type=radio] {
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    -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 {
    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;
}

textarea {
    overflow: auto;
    padding-left: 3px;
    vertical-align: top;
    width: 100%;
}

/*=Menus
---------------------*/
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
    border-bottom: solid 1px #eaeaea;
    border-top: solid 3px #333;
}

.main-navigation ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul {
    left: auto;
}

.main-navigation ul ul li:hover > ul {
    left: 100%;
}

#menu-top a {
color: #eaeaea;
}
#menu-top a:hover,
#content .page-numbers:hover {
color: #FFF;
}

/* Small menu */

.menu-toggle {
    display: none;
}

@media screen and (max-width: 600px) {
    .menu-toggle,.main-navigation.toggled .nav-menu {
        display: block;
    }

    .main-navigation ul {
        display: none;
    };
}

.site-main .comment-navigation,.site-main .paging-navigation,.site-main .post-navigation {
    overflow: hidden;
    margin: 0 0 1.5em;
}

.comment-navigation .nav-previous,.paging-navigation .nav-previous,.post-navigation .nav-previous {
    float: left;
}

.comment-navigation .nav-next,.paging-navigation .nav-next,.post-navigation .nav-next {
    float: right;
    text-align: right;
}

.comment-navigation .nav-previous,.paging-navigation .nav-previous,.post-navigation .nav-previous,
.comment-navigation .nav-next,.paging-navigation .nav-next,.post-navigation .nav-next {
    border-top: solid 1px #ddd;
    margin-top: 20px;
    padding: 10px 5px;
    width: 50%;
}

.comment-navigation .nav-previous,.paging-navigation .nav-previous,.post-navigation .nav-previous {
    border-right: solid 1px #ddd;
}

#content .nav-previous a, #content .nav-next a {
    color: #c4c4c4;
    text-transform: uppercase;
    text-decoration: none;
}

.single #content .nav-previous a, .single #content .nav-next a {
    text-transform: none;
}

.page-numbers {
   margin-top: 20px;
}

/*
=Accessibility
*/
.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: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    padding: 15px 23px 14px;
}

/*
=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;
}

/*
=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;
}

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

.widget select {
    max-width: 100%;
}

.widget_search .search-submit {
    display: none;
}

#secondary .call-to-action-text h3 {
    font-size: 150%;
    font-weight: 200;
    line-height: 1.5;
    
}

.blog-widget {
   text-align: center;
}

.blog-widget p {
    font-size: 150%;
    font-weight: 200;
    line-height: 1.5;
    margin-bottom: 0;
}

.blog-widget .textwidget {
    margin-bottom: 60px;
}

.blog-widget .textwidget p:after {
  content: "";
  display: block;
  height: 2px;
  margin-left: 45%;
  margin-top: 20px;
  width: 10%;
  background-color: #333;
}

/*
=Content
*/

.hentry {
    margin: 0 0 1.5em;
}

.byline,.updated {
    display: none;
}

.single .byline,.group-blog .byline {
    display: inline;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.taxonomy-description {
	text-align: center;
}

.blog .format-aside .entry-title,.archive .format-aside .entry-title {
    display: none;
}

.comment-content a {
    word-wrap: break-word;
}

.infinity-end.neverending .site-footer {
    display: block;
}

.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;
}

embed,iframe,object {
    max-width: 100%;
}

.wp-caption {
    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: .8075em 0;
}

.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%;
}

/*
=Empty, WP style requre
*/
.sticky {
}

.gallery-caption {
}

.bypostauthor {
}

/* =Clear
-----------------------------------------------*/
.clearfix {
    *zoom: 1;
}

.clearfix:after {
    clear: both;
}

.clearfix:before,.clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}

/*
===========================================================
Theme General Style
===========================================================
*/

/* =General
----------------------------------------------- */
body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

a {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

a {
    color: #2d2d2d;
}

a:visited {
    color: #333;
}

a:active {
    color: #000;
}

.page-header h1.page-title {
    font-size: 32px;
    text-align: center;
}

.entry-content h1.page-title {
    line-height: 1.5;
}

.projects-page .page-header h1.page-title,
.woocommerce .page-header h1.page-title,
.page .page-header h1.page-title {
    text-align: left;
}

h1.page-title,
span.page-title p {
    margin-bottom: 0.2em;
}

.entry-content .entry-excerpt p {
    margin-bottom: 1.5em;
}

.photoline-excerpt {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5;
    margin-bottom: 15px;
}

label {
    color: #aaa;
    padding: 5px 0;
}

#content a:hover {
    text-decoration: none;
    color: #00a5e7;
}

#content .entry-meta a {
    text-decoration: none;
    color: #aaa;
}

.out-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
}

.wrap {
    background: #FFF;
    max-width: 1200px;
    margin: 0 auto;
}

#colophon.wrap,
#wrap-header.wrap {
    background: none;
}

#colophon.wrap {
    border-top: solid 1px #ddd;
}

.home.page .site-content {
    padding: 0;
    margin: 0;
}

.home.page .entry-content {
    padding: 0 20px;
}

.home.page .col .entry-content {
    padding: 0;
}

#home-content .entry-content .page-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
}

#home-sticky .entry-content {
    padding: 20px;
}

#home-sticky .half {
    float: left;
    text-align: left;
    width: 48%;
}

.home-section {
    margin-bottom: 20px;
}

.hero {
    background: rgba(255, 255, 255, 0.9);
    margin: 100px auto;
    padding: 60px 20px;
    text-align: center;
    max-width: 400px;
    width: 80%;
}

.entry-content .hero h1 {
    font-size: 40px;
    line-height: 1.2;
    margin: 0;
}

.hero h1:after {
  content: "";
  display: block;
  height: 3px;
  margin-left: 40%;
  margin-top: 5px;
  margin-bottom: 10px;
  width: 20%;
  background-color: #333;
}

.single-post .hero h1:after {
  margin-top: 10px;
}

.hero p {
    margin-bottom: 0;
    font-size: 14px;
}

.home-section p {
    font-size: 16px;
    line-height: 1.8;
}

.site-content {
    padding: 30px 40px 0 40px;
    margin: 0;
}

.content-area {
    float: left;
    width: 70%;
}

.search-results .content-area,
.content-area.no-sidebar {
    float: none;
    width: 100%;
}

.no-sidebar .entry-content,
.no-sidebar .comments-area {
    margin: 0 auto;
    width: 60%;
}

.single .entry-content {
    border-width: 0 0 4px 0;
    border-style: double;
    border-color: #ddd;
}

.no-sidebar .format-standard h1.page-title:after {
  content: "";
  display: block;
  height: 3px;
  margin-left: 40%;
  margin-top: 20px;
  width: 20%;
  background-color: #333;
}

.no-sidebar .format-standard h1.page-title,
.no-sidebar .entry-header h1{
    font-size: 48px;
    text-align: center;
}

.no-sidebar .entry-header {
    text-align: center;
}

.hentry .entry-header p {
    font-size: 200%;
    font-weight: 200;
    line-height: 150%;
}

.format-image .entry-header p {
    font-size: 14px;
    font-weight: normal;
    line-height: 150%;
}

.format-image .hero {
    margin: 0 auto;
}

.widget-area {
    float: right;
    width: 28%;
}

.fullpage,
.fullpage .content-area {
    float: none;
    width: 100%;
}

.fullpage .entry-header {
    margin-top: 20px;
}

.fullpage .entry-header,
.fullpage .page-title {
    text-align: center;
}

.single-attachment #primary {
    float: left;
    width: 100%;
    margin-right: 0;
}

.site-main {
    float: left;
    width: 100%;
    clear: both;
}

.site-footer {
    clear: both;
    padding: 0 20px;
    color: #333;
}

.site-footer .grid3 {
    margin-top: 40px;
}

.footer-border {
    height: 10px;
    margin-bottom: 10px;
    width: 100%;
    border-top: solid 3px #333;
}

.site-footer a {
    color: #aaaaaa;
}

.site-footer a:hover {
    color: #000;
}

.site-info {
    margin-top: 20px;
    color: #666;
    font-size: 11px;
}

.site-branding {
    text-align: center;
    padding: 60px 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.site-title-group {
    margin: 50px 40px 50px 40px;
}

#logo img {
    max-height: 200px;
}

#logo img.roundframe {
    border-radius: 100px;
    box-shadow: 0 0 0 3px white, 0 0 1px #fff;
    height: 100px;
    width: 100px;
}

#logo a,
.title-group a,
.site-title a {
    text-decoration: none;
}

.site-title {
    font-size: 24px;
    line-height: 24px;
}

.site-title a:hover {
    color: #000;
}

.site-description {
    font: 0.9em "Open Sans", Helvetica, Arial, sans-serif;
    font-style: italic;
    color: #2d2d2d;
    padding: 5px;
}

.hidden {
    display: none;
}

.error-404 h1 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 32px;
}

iframe, object, embed {
    width: 100%;
    max-height: 100%;
}

/* =Menu
----------------------------------------------- */
.main-navigation {
    background: transparent;
    padding: 0 40px;
    line-height: 0;
}

.main-navigation a {
    color: #ddd;
}

.main-navigation li a {
    border-bottom: 0;
    color: #2d2d2d;
    font-size: 14px;
    font-weight: 600;
    padding: 34px;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: #FFF;
}

.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
    display: none;
}

.toggled ul.nav-menu {
    display: block;
}

.nav-menu ul li a {
    color: #555;
}

.menu-main {
    width: 100%;
    text-align: center;
}

.menu-main ul ul {
    text-align: left;
}

ul.nav-menu,
.nav-menu ul,
.nav-menu ul li ul {
    list-style: none;
}

.menu-toggle {
    display: block;
    cursor: pointer;
}

#menu-top a {
    text-decoration: none;
}

ul#menu-top {
    list-style: none;
    margin: 0;
}

#menu-top li,
#menu-footer li {
    display: inline-block;
    font-size: 12px;
    padding: 0 5px;
}

#menu-top li a::before {
    content: '';
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-right: 5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#menu-top li a[href*="tel:"]::before {
    content: '\f095';
}

#menu-top li a[href*="mailto:"]::before {
    content: '\f0e0';
}

#menu-top li a[href*="https://goo.gl/maps/"]::before {
    content: '\f041';
}

.top-menu {
    background-color: #2d2d2d;
    border-bottom: solid 1px #000;
    padding: 5px 5px 5px 0;
    text-align: center;
}

.top-menu li,
.top-menu span {
    color: #dedede;
}

.top-menu span {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 11px;
}

/*----Small menu----*/

.menu-toggle {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #333;
    text-transform: uppercase;
    padding: 10px 22px;
    margin: 0;
}

.menu-toggle:hover {
    background: #e3e3e3;
}

.site-header .menu-toggle:before {
    content: '\f419';
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 16px/1 'Genericons';
    vertical-align: middle;
    margin-right: 10px;
}

/*= Sidebar SubMenu
--------------------------------*/
#sidemenu {
    border: 1px solid #dedede;
    border-bottom: 1px solid #fff;
}

ul#sidemenu,
#sidemenu li ul.sub-menu {
    margin-left: 0;
    list-style: none;
}

#sidemenu ul li ul li a {
    padding-left: 35px;
    background: #eaeaea;
    border-bottom: 1px solid #ddd;
}

#sidemenu li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    border-bottom: 1px solid #dedede;
}

#sidemenu li ul li a {
    padding: 10px 25px;
    background: #efefef;
}

#sidemenu li > ul {
    display: none;
}

#sidemenu li.current-menu-item > ul {
    display: block;
}

/*=Social menu
---------------------------------*/
#menu-social {
    text-align: right;
}

#menu-social li {
    display: inline-block;
    padding-left: 5px;
}

#menu-social li a::before {
    color: #2d2d2d;
    content: none;
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#menu-social li a[href*="wordpress.org"]::before,
#menu-social li a[href*="wordpress.com"]::before {
    content: '\f19a';
}

#menu-social li a[href*="facebook.com"]::before {
    content: '\f082';
}

#menu-social li a[href*="twitter.com"]::before {
    content: '\f099';
}

#menu-social li a[href*="dribbble.com"]::before {
    content: '\f17d';
}

#menu-social li a[href*="plus.google.com"]::before {
    content: '\f0d5';
}

#menu-social li a[href*="pinterest.com"]::before {
    content: '\f0d2';
}

#menu-social li a[href*="github.com"]::before {
    content: '\f09b';
}

#menu-social li a[href*="tumblr.com"]::before {
    content: '\f173';
}

#menu-social li a[href*="youtube.com"]::before {
    content: '\f167';
}

#menu-social li a[href*="flickr.com"]::before {
    content: '\f16e';
}

#menu-social li a[href*="vimeo.com"]::before {
    content: '\f194';
}

#menu-social li a[href*="instagram.com"]::before {
    content: '\f16d';
}

#menu-social li a[href*="linkedin.com"]::before {
    content: '\f08c';
}

#menu-social li a[href*="soundcloud.com"]::before {
    content: '\f1be';
}

#menu-social li a[href*="vk.com"]::before {
    content: '\f189';
}

#menu-social li a[href*="feeds.feedburner.com"]::before {
    content: '\f09e';
}

/*---for widget---*/

#secondary #menu-social {
    text-align: left;
}

#secondary #menu-social li a {
    font-size: 13px;
}

#secondary #menu-social li a::before {
    font-size: 20px;
    padding: 5px;
}

/* =Icons & Search on footer */

.icon-footer {
    float: right;
}

.search-footer {
    float: left;
}

.search-footer a {
    font-size: 13px;
}

#search-footer-bar {
    display: none;
    overflow: hidden;
    padding: 20px 0;
}

#search-footer-bar input[type="search"] {
  width: 97%;
  max-width: 1128px;
  margin: 0 auto;
}

/* =Content
----------------------------------------------- */
.colgrid .entry-thumbnail {
    height: auto;
    max-height: 270px;
    overflow: hidden;
}

.single .entry-thumbnail {
    height: auto;
    max-height: 450px;
    overflow: hidden;
}

.single .entry-thumbnail img {
    top: -100px;
    position: relative;
}

.colgrid .entry-header p {
    font-size: 20px;
    line-height: 26px;
}

.format-aside .entry-content,
.colgrid .format-aside .entry-content {
    border: solid 3px #dddddd;
    text-align: center;
    margin-bottom: 10px;
}

.colgrid .format-image .entry-content,
.colgrid .format-gallery .entry-content,
.colgrid .format-audio .entry-content,
.colgrid .format-video .entry-content,
.colgrid .format-link .entry-content,
.colgrid .format-status .entry-content,
.colgrid .format-quote .entry-content,
.colgrid .format-aside .entry-content {
    height: 480px;
    text-align: center;
}

.colgrid .format-status .entry-content,
.colgrid .format-quote .entry-content,
.colgrid .format-aside .entry-content {
    display: table-cell;
    vertical-align: middle;
    padding: 0 20px;
}

.colgrid .format-gallery .entry-content,
.colgrid .format-audio .entry-content,
.colgrid .format-video .entry-content,
.colgrid .format-link .entry-content {
    padding-top: 50%;
}

.format-link .entry-content {
    margin-bottom: 10px;
    padding-top: 60px;
}

.colgrid .format-image .entry-content,
.colgrid .format-gallery .entry-content,
.colgrid .format-link .entry-content,
.colgrid .format-quote .entry-content,
.colgrid .format-audio .entry-content,
.colgrid .format-video .entry-content {
    color: #FFF;
}

.colgrid .entry-content h1 {
    margin: 0 0 20px 0;
}

.colgrid .format-image .entry-content {
    padding-top: 100%;
}

.colgrid .format-image:hover .entry-content {
       padding-top: 50%;
       -webkit-transition: all 0.3s ease-out;
       -moz-transition: all 0.3s ease-out;
       -o-transition: all 0.3s ease-out;
       transition: all 0.3s ease-out;
}

.colgrid .format-image a .fa,
.colgrid .format-image h1 {
    opacity: 0;
}

.colgrid .format-image:hover a .fa,
.colgrid .format-image:hover h1 {
    opacity: 1;
    color: #FFF;
       -webkit-transition: all 0.3s ease-out;
       -moz-transition: all 0.3s ease-out;
       -o-transition: all 0.3s ease-out;
       transition: all 0.3s ease-out;
}

.colgrid .format-image h1,
.colgrid .format-gallery h1,
.colgrid.format-link h1,
.colgrid .format-audio h1,
.colgrid .format-video h1 {
    padding: 10px 20px;
    font-size: 24px;
    color: #FFF;
}

.colgrid .format-image a .fa,
.colgrid .format-gallery a .fa,
.colgrid .format-quote a .fa,
.colgrid .format-link a .fa,
.colgrid .format-audio a .fa,
.colgrid .format-video a .fa,
.colgrid .format-image a,
.colgrid .format-gallery a,
.colgrid .format-quote a,
.colgrid .format-link a,
.colgrid .format-audio a,
.colgrid .format-video a {
    color: #FFF;
    text-decoration: none;
}

.colgrid .format-image i.fa,
.colgrid .format-gallery i.fa,
.colgrid .format-quote i.fa,
.colgrid .format-link i.fa {
    font-size: 32px;
}

.colgrid .format-audio i.fa,
.colgrid .format-video i.fa {
    font-size: 48px;
}

.titleborder.center {
    text-align: center;
}

.titleborder.left {
    text-align: left;
}

.titleborder.right {
    text-align: center;
}

.titleborder {
    position: relative;
    border-bottom: 1px solid #fff;
    margin-bottom: 30px;
    margin-top: 0px;
}

.titleborder div {
    display: inline-block;
    background-color: #fff;
    padding: 1px 12px 2px 0;
    position: relative;
}

#sitemap li {
    line-height: 30px;
    list-style: none;
}

#sitemap ul li {
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: 600;
}

.entry-content h1 {
    font-size: 32px;
    margin: 0 0 40px 0;
}

.entry-content h2 {
    font-size: 28px;
    margin: 0 0 36px 0;
}

.entry-content h3 {
    font-size: 24px;
    margin: 0 0 32px 0;
}

.entry-content h4 {
    font-size: 20px;
    margin: 0 0 28px 0;
}

.entry-content h2 {
    line-height: 36px;
}

.entry-content h5 {
    font-size: 16px;
    margin: 0 0 24px 0;
}

.entry-content h6 {
    font-size: 14px;
    margin: 0 0 20px 0;
}

.breadcrumbs {
    font-size: 13px;
    float: left;
}

.post-thumb {
    background: #FFF;
    padding: 55% 0 0 0;
}

#home-tagline h1 {
    font-size: 50px;
    color: #00a5e7;
    padding: 80px 20px;
}

.home.page-template hr {
    background-color: #e8e8e8;
    margin-bottom: 3em;
}

#home-content .entry-content {
    padding-top: 20px;
}

#before-home-widget .entry-content {
    padding-top: 40px;
}

#before-home-widget .entry-content,
#after-home-widget .entry-content {
    margin-bottom: 60px;
}

#home-content .entry-content h2 {
    font-size: 36px;
    line-height: 1.5;
}

#home-content .entry-content p {
    font-size: 18px;
    line-height: 1.5;
    margin: 24px 0;
}

#home-page .hentry {
    margin: 0;
}

.tagline-txt {
    text-align: center;
    overflow: hidden;
}

.intro-txt {
    text-align: center;
    font-size: 250%;
    font-weight: 200;
}

#before-home-widget {
    padding-top: 40px;
    border-bottom: solid 1px #eaeaea;
}

.page-header {
    padding: 30px 40px;
    x-margin-bottom: 30px;
    border-width: 0 0 4px 0;
    border-style: double;
    border-color: #ccc;
}

.category .page-header {
    margin-bottom: 20px;
}

#category-single.page-header {
    border: 0;
    margin-bottom: 50px;
    padding-bottom: 0;
}

#category-single h1.page-title {
    text-align: left;
}

#category-single.nо-sidebar .taxonomy-description,
#category-single.nо-sidebar h1.page-title {
    text-align: center;
}

#category-single.nо-sidebar.page-header:after {
  content: "";
  display: block;
  height: 1px;
  margin-left: 40%;
  margin-top: 20px;
  width: 20%;
  background-color: #eaeaea;
}

.search .page-header,
.error404 .page-header {
    padding-bottom: 0;
}

.page-title {
    font-size: 24px;
}

.single-attachment .page-header {
    padding-bottom: 30px;
}

#single-nav {
    float: right;
}

#single-nav-left, #single-nav-right {
    float: left;
    margin-left: 10px;
}

#single-nav a {
    font-size: 12px;
    color: #666;
    background: #f2f2f2;
    padding: 0 10px;
    height: 25px;
    line-height: 25px;
    display: block;
}

.nav-previous,
.nav-next {
    font-size: 14px;
}

.site-content .entry-content hr,
.site-content .comment-content hr,
#tinymce hr {
    background-color: #dddddd;
    border: 0;
    height: 1px;
    margin-bottom: 20px;
}

.site-content .entry-content table,
.site-content .comment-content table,
#tinymce table {
    margin-bottom: 20px;
}

.site-content .entry-content th,
.site-content .comment-content th,
#tinymce th,
.site-content .entry-content td,
.site-content .comment-content td,
#tinymce td {
    padding: 8px 8px;
    border-bottom: solid 1px #dddddd;
}

.site-content .entry-content tr:hover td,
.site-content .comment-content tr:hover td,
#tinymce tr:hover td {
    background: #f7f7f7;
}

.site-content .entry-content ul,
.site-content .comment-content ul,
#tinymce ul,
.site-content .entry-content ol,
.site-content .comment-content ol,
#tinymce ol {
    margin-bottom: 20px;
}

.site-content .entry-content blockquote,
.site-content .comment-content blockquote,
#tinymce blockquote {
    display: block;
    position: relative;
    padding: 1% 0 4% 4%;
}

.home-posts-description blockquote {
    font-size: 18px;
    font-style: italic;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

.page .entry-content blockquote:before,
.format-standard .entry-content blockquote:before {
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 26px;
    font-style: oblique;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\f10d';
    color: #DEDEDE;
    left: 0;
    position: absolute;
}

.page .entry-content blockquote,
.format-standard .entry-content blockquote {
    padding-left: 5%;
}

.format-quote .entry-content blockquote:before {
    margin-left: -10px;
    content: '\ ” ';
}

.format-quote .entry-content blockquote:after {
    content: '\“ ';
}

.entry-content blockquote cite:before,
.comment-content blockquote cite:before,
#tinymce blockquote cite:before {
    content: '  ';
}

blockquote {
    font-size: 20px;
    font-style: italic;
    line-height: 30px;
}

.page .entry-content blockquote.pull-left,
.format-standard .entry-content blockquote.pull-left {
    width: 33%;
    float: left;
}

.page .entry-content blockquote.pull-left:before,
.format-standard .entry-content blockquote.pull-left:before {
    content: '';
}

.page .entry-content blockquote.pull-right,
.format-standard .entry-content blockquote.pull-right {
    width: 33%;
    float: right;
    vertical-align: middle;
}

.page .entry-content blockquote.pull-right:before,
.format-standard .entry-content blockquote.pull-right:before {
    content: '';
}

.entry-content blockquote p {
    margin: 0;
}

#secondary blockquote {
    font-size: 16px;
    font-style: italic;
    line-height: 24px;
    margin-left: 0;
}

#secondary blockquote:before {
    content: '\f106';
    font-family: 'Genericons';
    font-size: 18px;
    font-style: normal;
}

.entry-title a {
    text-decoration: none;
}

.single .site-content .entry-title {
    font-size: 28px;
    line-height: 34px;
}

.site-content .entry-title {
    font-size: 24px;
    line-height: 30px;
}

.site-content .entry-header {
    margin-bottom: 1.5em;
}

.entry-header .entry-title {
    margin-bottom: 0.5em;
}

.site-content .entry-title a {
    color: #3a3a3a;
}

.site-content .entry-title a:hover {
    color: #000;
}

h1.entry-title.no-thumb {
    font-size: 32px;
    font-weight: 600;
    line-height:36px;
}

.format-standard.sticky h1.entry-title:before {
    color: #e64743;
    content: '\f02e';
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 22px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    margin-right: 5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.entry-header p {
    font-size: 26px;
    line-height: 32px;
    font-weight: 300;
}

.site-content .entry-meta,
.site-content .entry-header .entry-meta {
    font-size: 12px;
}

.site-content .entry-meta {
    line-height: 15px;
    color: #aaaaaa;
}

.single .site-content .entry-meta,
.single .site-content .entry-meta.no-sidebar {
    padding: 20px 0 10px;
}

.single .site-content .entry-meta.no-sidebar,
.single .entry-meta.no-sidebar .extrameta {
    text-align: center;
}

.site-content .entry-meta {
    text-align: left;
}

.site-content .entry-meta a {
    color: #aaaaaa;
    text-decoration: none;
}

.site-content .entry-meta a:hover {
    color: #000;
}

.site-content .entry-content,
.site-content .entry-header,
.site-content .entry-summary {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.site-content .entry-header .entry-meta {
    text-align: left;
}

.entry-content {
    font-size: 15px;
    line-height: 1.9;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

cite {
    font-size: 14px;
    color: #000;
}

address {
    font-size: 14px;
}

/*=Media
-----------------------------------*/
.img-home-post img {
    -webkit-filter: grayscale(100%);
}

.img-home-post img:hover {
    -webkit-filter: grayscale(0%);
    -webkit-transition: all .5s;
}

.wp-caption-text {
    font-size: 12px;
    color: #666;
    line-height: 18px;
}

.blogroll img {
    max-width: 55px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

/*=Flex Slider
-----------------------------------*/
.home-posts-description .flex-direction-nav a {
    height: 30px;
    padding-top: 5px;
}

.flex-direction-nav a,
li a.flex-next,
li a.flex-prev {
    color: rgba(0,0,0,0.8);
}

.entry-media .flex-direction-nav a:before,
.gallery .flex-direction-nav a:before {
    font-size: 30px;
    padding-top: 0;
}

.entry-content .flex-direction-nav a:before {
    font-size: 30px;
    padding-top: 5px;
}

.widget .flex-viewport {
    width: 99%;
}

.widget .flex-viewport .flex-caption {
    display: none;
}

.widget .format-gallery .flex-direction-nav a {
    top: 50%;
}

.tagline-txt .flexslider,
.entry-content .flexslider,
.widget .flexslider {
    margin: 0;
}

/*=Numbers Pagination
-----------------------------------*/
ul.page-numbers {
    list-style: none;
    margin: 20px 0;
}

ul.page-numbers li {
    display: block;
    float: left;
    text-align: center;
}

.page-numbers a,
.page-numbers span {
    background-color: transparent;
    border: 0;
    color: #606060;
    background: #eee;
    cursor: pointer;
    display: block;
    float: left;
    height: 30px;
    line-height: 30px;
    margin-right: 4px;
    margin-top: 4px;
    width: auto;
    padding: 0 12px;
    text-align: center;
    text-decoration: none;
}

a.prev.page-numbers,
a.next.page-numbers {
    text-decoration: none;
}

#single-nav .fa-chevron-right,
#single-nav .fa-chevron-left {
    font-size: 11px;
}

.page-numbers a:hover,
.page-numbers span.current {
    background: #2d2d2d;
    color: #fff;
    text-decoration: none;
}

.page-numbers:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

.page-numbers li {
    font-size: 14px;
    display: inline;
}
/*= Tiles Layout
-----------------------------------*/
.box {
       width: 25%;
       height: auto;
       padding-top: 25%;
      color: #FFF;
      position: relative;
      float: left;
      overflow: hidden;
      margin: 0;
}
.innerBox {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 2px;
    bottom: 2px;
    overflow: hidden;
    background: #FFF;
    padding: 10px;
    border: 2px solid white;
}
.titleBox {
       position: absolute;
       bottom: 0;
       left: 0;
       right: 0;
       top: 0;
       background: #000;
       background: rgba(0, 0, 0, 0);
       color: #FFF;
       padding: 10px;
       text-align: center;
       -webkit-transition: all 0.3s ease-out;
       -moz-transition: all 0.3s ease-out;
       -o-transition: all 0.3s ease-out;
       transition: all 0.3s ease-out;
    }

.titleBox article a {
    color: #FFF;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
    font-size: 16px;
    text-decoration: none;
    visibility: hidden;
    top:0;
}

.titleBox article h3,
.titleBox article h3:hover  {
    color: #FFF;
}

.titleBox h3:after {
  content: "";
  display: block;
  height: 2px;
  margin-left: 40%;
  margin-top: 10px;
  width: 20%;
  background-color: #fff;
}

.innerBox:hover .titleBox a {
  top: 40px;
  visibility: visible;
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -ms-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

.innerBox:hover .titleBox {
       background: rgba(0, 0, 0, 0.5);
}

body.no-touch .innerBox:hover .titleBox,
body.touch .innerBox.touchFocus .titleBox {
       top:0px;
}

.box.big-square {
  width: 40%;
  height: auto;
  padding-top: 40%;
}

.box.big-rectangle {
  width: 60%;
  height: auto;
  padding-top: 40%;
}

.box.rectangle {
  width: 40%;
  height: auto;
  padding-top: 20%;
}

.box.vertical {
  width: 20%;
  height: auto;
  padding-top: 40%;
}

/* = Plugins
--------------------------------------*/

/*= Masonry
------------------------*/

#masonry .hentry {
    margin: 0 0 16px;
    width: 33.333%;
    padding: 0 8px;
    height: auto;
    min-height: 480px;
}

.tax-post_format #masonry .format-image.hentry {
    height: auto;
    min-height: 250px;
    margin: 0 0 4px;
    padding: 0 4px;
}


/*= JetPack
 -------------------------*/
#content #infinite-handle {
            position: absolute;
            bottom: 0;
            width: 100%;
            text-align: center;
        }

#infinite-handle span {
    text-transform: uppercase;
}

span.infinite-loader {
    margin: 15px 45%;
}

.format-quote .sharedaddy {
    background: #FFF;
    color: #404040;
    padding-top: 20px;
}

.format-quote div.sharedaddy h3.sd-title:before {
    border-color: #ddd;
}

.format-link .sharedaddy {
    color: #FFF;
}

.format-link div.sharedaddy h3.sd-title:before {
    border-color: #FFF;
}

/*=Post Format
-----------------------------------*/
.status {
    float: left;
    margin-right: 10px;
    margin-left: 10px;
}

.entry-meta .genericon {
    background: #444;
    color: #FFF;
    font: normal 24px/1.5 'Genericons';
    width: 36px;
    height: 36px;
}

.entry-title .genericon {
    font: normal 32px/1 'Genericons';
}

.home-posts-description iframe,
.home-posts-description embed,
.home-posts-description object {
    width: 100%;
}

.home-posts-description .wp-caption-text {
    display: none;
}

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

.format-link p a:before {
    font-family: "FontAwesome";
    content: '\f0c1';
    display: inline-block;
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-right: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.format-aside .entry-content,
.format-status .entry-content,
.format-link .entry-content {
    padding: 20px 0;
}

.format-status .entry-content,
.format-aside .entry-content {
    border: solid 3px #dddddd;
    padding: 20px 12px 0 12px;
}

.format-link .entry-content {
    text-align: center;
}

.format-link .entry-content div[class*="genericon-link"]::before {
    color: #FFF;
}

.format-link p a {
    font-size: 18px;
    font-weight: bold;
    padding: 20px 0;
}

.single .format-link .entry-content a {
    display: inline-block;
    font-size: 18px;
    margin-bottom: 40px;
}

.single .format-link .entry-content div.metka.genericon.genericon-link,
.single .format-link .entry-content a {
    padding-top: 40px;
}

.single .format-link .entry-content {
    border: none;
}

.mejs-container {
    margin-bottom: 20px;
}

div.metka.genericon {
    background: #444;
    color: #FFF;
    padding: 0 5px;
    width: 26px;
}

div.metka.genericon.genericon-status,
div.metka.genericon.genericon-link,
div.metka.genericon.genericon-aside {
    background: none;
    padding: 0;
}

div[class*="genericon-link"]::before,
div[class*="genericon-aside"]::before,
div[class*="genericon-status"]::before {
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '';
    color: #404040;
}

div[class*="genericon-link"]::before {
    content: '\f0c1';
}

div[class*="genericon-aside"]::before {
    content: '\f069';
}

div[class*="genericon-status"]::before {
    content: '\f024';
}

.entry-content span.genericon.genericon-quote {
    font-size: 24px;
}

/*=Post Format Icons
---------------------------------*/
.post-image-icon .fa {
        border: 2px solid #404040;
        border-radius: 100%;
        color: #404040;
        padding: 6px 0 0 1px;
        width: 30px; height: 30px;
}

a.widget-format-link::before {
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '';
}

a.widget-format-link[href*="aside"]::before {
    content: '\f069';
}

a.widget-format-link[href*="quote"]::before {
    content: '\f10d';
}

a.widget-format-link[href*="gallery"]::before {
    content: '\f03e';
}

a.widget-format-link[href*="video"]::before {
    content: '\f16a';
}

/*=Gallery shortcode style
----------------------------------------*/
#content .entry-content .gallery a img,
#content .entry-content .gallery img {
    border: 0;
}

.image-navigation {
    padding-top: 15px;
}

.entry-content .flexslider {
    margin: 0 0 0;
}

.entry-content .flexslider ul {
    margin-bottom: 0;
}

.archive .flexslider,
.home-posts-description .flexslider {
    margin: 0;
}

/* =Meta
----------------------------------------------- */
.cat-links:before,
.tags-links:before {
    margin-right: -4px;
}

.author,
.cat-links,
.posted-on,
.tags-links {
    margin-right: 2px;
}

.author:before,
.posted-on:before,
.cat-links:before,
.tags-links:before {
    display: inline-block;
    color: #ccc;
    font-size: 16px;
    font-family: 'Genericons';
    text-decoration: inherit;
    font-weight: normal;
    font-style: normal;
    vertical-align: top;
}

.posted {
    padding: 0 0 5px;
}

#primary.no-sidebar .author-info {
    margin: 0 auto;
    width: 60%;
}

/* =Comments
----------------------------------------------- */
.comment-list form#commentform {
    display: block;
}

form#commentform {
    display: none;
}

.comment-reply-title {
    cursor: pointer;
    padding: 4px;
    background: #f8f8f8;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

.comment-reply-title:hover {
    border: 1px solid #bbb;
}

.comment-list .comment-reply-title,
.comment-reply-title.active {
    background: none;
    cursor: default;
    border: none;
    box-shadow: none;
}

.comments-area #reply-title,
.comments-area .comment-notes {
    text-align: center;
}

.comment-list #reply-title,
.comment-list .comment-notes {
    text-align: left;
}

span.comments-num {
  display: inline-block;
  border: 1px solid #2d2d2d;
  border-radius: 12px;
  padding: 0 12px;
  position: relative;
  color: #fff;
  font-size: 12px;
  background: #2d2d2d;
}

span.comments-num:before {
  border-width: 6px 6px 0 0px;
  border-color: #2d2d2d transparent transparent transparent;
  left: 7px;
}

span.comments-num:after {
  border-width: 4px 3px 0 0px;
  border-color: #2d2d2d transparent transparent transparent;
  left: 8px;
}

span.comments-num:before, span.comments-link:after {
  width: 0;
  height: 0;
  border-style: solid;
  content: '';
  position: absolute;
  top: 100%;
}

.required {
    color: #dd4b38;
}

.comments-area {
    margin-bottom: 40px;
    margin-top: 20px;
}

.comments-area .comments-title {
    font-size: 18px;
    line-height: 24px;
}

.comments-area .comment-list {
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
}

.comments-area ul.children {
    list-style: none;
    padding-left: 56px;
    margin: 0;
}

.comments-area article {
    margin: 0;
    padding: 20px 0 32px 0;
    border-top: solid 1px #eaeaea;
    border-bottom: none;
}

.comments-area .comment-content h1 {
    font-size: 14px;
}

.comments-area .comment-content h2,
.comments-area .comment-content h3,
.comments-area .comment-content h4,
.comments-area .comment-content h5,
.comments-area .comment-content h6 {
    font-size: 14px;
}

.comments-area .comment-content h1,
.comments-area .comment-content h2,
.comments-area .comment-content h3,
.comments-area .comment-content h4,
.comments-area .comment-content h5 {
    margin: 20px 0;
}

.comments-area .comment-content blockquote {
    background: none;
}

.comments-area .comment-content,
.comments-area .reply,
.comments-area li.comment #respond {
    margin-left: 45px;
}

.comment-content {
}

.comment-content p {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

.comments-area footer {
    margin-bottom: 20px;
}

.comments-area footer .comment-author,
.comments-area footer .comment-meta {
    display: inline-block;
    font-size: 12px;
}

.comments-area footer cite {
    font-style: normal;
}

.comments-area footer .says {
    display: none;
}

.comments-area footer .comment-author,
.comment-metadata {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 11px;
}

.fn {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

cite.fn {
    color: #3a3a3a;
}

cite.fn a.url {
    color: #000;
}

.comment-metadata {
    margin-left: 45px;
    margin-top: 5px;
}

.comment-respond p.form-allowed-tags,
.comment-respond p.form-allowed-tags code {
    display: none;
}

.comments-area footer .comment-author a {
    text-decoration: none;
}

.comments-area footer .comment-author a:hover {
    color: #000;
}

.comments-area footer .comment-author .avatar {
    position: relative;
    top: 12px;
    margin-right: 10px;
}

.comments-area footer .comment-meta {
    margin-left: 4px;
}

.comments-area footer .comment-meta,
.comments-area footer .comment-meta a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 12px;
}

.comments-area footer .comment-meta:hover,
.comments-area footer .comment-meta a:hover {
    color: #000;
}

.comments-area #respond {
    padding-top: 40px;
}

.comments-area #reply-title {
    font-size: 18px;
    margin-bottom: 10px;
}

#commentform label {
    display: block;
}

#commentform label .required {
    color: red;
}

#comments {
    font-size: 12px;
}

.pingback {
    font-size: 11px;
    color: #444;
    margin-bottom: 10px;
}

.comments-area .reply:before {
    content: '\f112';
    color: #ddd;
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-right: 5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =Link Meta
----------------------------------------------- */
.edit-link:before {
    content: '\f411';
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 16px/1 'Genericons';
    vertical-align: middle;
}

.edit-link {
    display: block;
    margin-top: 10px;
}

/*=Scroll Up
-----------------------------------------------*/

a#scroll-up {
    bottom: 20px;
    position: fixed;
    right: 20px;
    display: none;
    background-color: #DDD;
    opacity: .5;
    filter: alpha(opacity=50);
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 20px;
    color: #333;
}
#scroll-up:hover {
    color: #000;
    opacity: .9;
    filter: alpha(opacity=90);
}

/*=Input / Submit
-----------------------------------------------*/
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: #00a5e7;
    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 */
    text-decoration: none;
    padding: 10px 16px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    line-height: 16px;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
    border-bottom: none;
    border-right: none;
    border-top: none;
    border-left: none;
    color: #FFF;
    text-transform: uppercase;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #000;
}

/*Shortcodes
----------------------------------------------*/
/*=Button*/
.btn,
.site-header a.btn,
.site-content a.btn,
.site-footer a.btn {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: inset 0 -2px 0 0 rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.1);
}

#content a.btn:hover {
    color: #FFF;
    text-decoration: none;
}

.btn.large {
    padding: 16px 42px;
    font-size: 24px;
}

.btn,
.btn.small {
    padding: 8px 28px;
    font-size: 16px;
}

.btn.orange {
    background: #ff7f66;
}

.btn.orange:hover,
.btn.orange:focus {
    background: #ff7257;
}

.btn.orange.active,
.btn.orange:active {
    background: #ff6547;
}

.btn.blue {
    background: #2185c5;
}

.btn.blue:hover,
.btn.blue:focus {
    background: #1f7cb8;
}

.btn.blue.active,
.btn.blue:active {
    background: #1d73ab;
}

.btn.red {
    background: #e85451;
}

.btn.red:hover,
.btn.red:focus {
    background: #e64743;
}

.btn.red.active,
.btn.red:active {
    background: #e85451;
}

.btn.green {
    background: #228B22;
}

.btn.green:hover,
.btn.green:focus {
    background: #01bf80;
}

.btn.green.active,
.btn.green:active {
    background: #228B22;
}

/*= Colors Block */

.alert {
    padding: 24px;
    margin: 20px 0;
    background: #bcbcbc;
    color: #676767;
}

.alert.red {
    background: #00a5e7;
    color: #FFF;
}

.alert.yellow {
    background: #faeaa7;
    color: #FFA500;
}

.alert.green {
    background: #228B22;
    color: #FFF;
}

/* =Forms
----------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    background-color: #FFF;
    border: 2px solid #E4E4E4;
    border-radius: 2px;
    color: #666;
    display: block;
    font: inherit;
    margin: 5px 0 10px;
    outline: none!important;
    padding: 7px 0 7px 15px;
    max-width: 98%;
    -webkit-appearance: none;
    -webkit-transition: all .1s;
    -moz-transition: all .1s;
    -ms-transition: all .1s;
    -o-transition: all .1s;
}

textarea {
    resize: vertical;
}

#secondary input[type="text"],
#secondary input[type="email"],
#secondary input[type="url"],
#secondary input[type="password"],
#secondary textarea {
    max-width: 86%;
}

.site-footer input[type="search"],
#secondary input[type="search"] {
    width: 86%;
}

#primary input[type="search"] {
    width: 50%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    color: #222;
    border: 2px solid #00a5e7;
}

/* Contact Form 7
================================================== */
div.wpcf7 {
    margin-top: 20px;
    margin-bottom: 40px;
}

.wpcf7-form span.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
    position: relative;
}

.wpcf7-form p {
    font-size: 13px;
    margin: 10px 0 0;
}

.wpcf7-form p:last-of-type {
    margin: 0;
}

div.wpcf7-validation-errors {
    margin: 25px 0 0;
}

span.wpcf7-not-valid-tip {
    font-size: 0.95em;
    font-family: 'Verdana';
}

.wpcf7-response-output {
    background: #f4f4f4;
    color: #888;
    display: none;
    line-height: 1.45em;
    margin-top: 30px;
    padding: 12px;
    text-align: center;
}

input.wpcf7-not-valid[type="text"],
input.wpcf7-not-valid[type="password"],
input.wpcf7-not-valid[type="email"],
input.wpcf7-not-valid[type="url"],
input.wpcf7-not-valid[type="tel"],
textarea.wpcf7-not-valid {
    border-color: #FF4847;
}

/* =Widgets
----------------------------------------------- */
.author-avatar,
.author-description {
    float: left;
}

.author-avatar {
    width: 80px;
}

.author-description {
    margin-left: 10px;
    width: 70%;
}

.author-description h4 {
    line-height: 1;
    margin-bottom: 8px;
}

.author-description p {
    font-size: 13px;
}

.author-follow {
    margin-left: 90px;
}

.widget .author-follow .fa {
    margin-right: 0;
}

.author-follow .fa {
    color: #FFF;
    padding: 5px;
    width: 24px;
}

.author-follow .fa-twitter {
    background: #33ccff;
}

.author-follow .fa-google-plus {
    background: #dd4b39;
}

.author-follow .fa-facebook {
    background: #3b5998;
}

.featured-page {
    border: 1px solid #dedede;
}

.featured-page h3,
.featured-page p {
    padding: 10px;
}

.featured-page h3 {
    text-align: center;
    font-size: 150%;
    font-weight: 300;
}

.featured-page h3 a {
    text-decoration: none;
}

.featured-page p.widget-title {
    padding: 10px 0;
    margin: 0;
    text-align: center;
}

.featured-page .widget-title {
    font-weight: 400;
    margin-bottom: 10px;
}

#secondary .featured-page .widget-title {
    font-weight: 600;
    font-size: 18px;
}

.image-text-widget,
.icon-widget {
    text-align: center;
}

.widget .icon-widget .fa {
    margin-right: 0;
}

.icon-widget .fa {
    font-size: 42px;
    line-height: 1.5;
    margin-right: 0;
}

.green.fa {
    color: #31c493;
}

.blue.fa {
    color: #00a5e7;
}

.red.fa {
    color: #f16272;
}

.btn.green {
    background-color: #31c493;
}

.btn.blue {
    background-color: #00a5e7;
}

.btn.red {
    background-color: #000;
}

.btn.default {
    background-color: #000;
}

.call-to-action {
    padding: 4% 6%;
}

#secondary .call-to-action {
    text-align: center;
}

#secondary .call-to-action-button {
    margin: 20px 0 15px 0;
}

#prebefore-home-widget .call-to-action {
}

#prebefore-home-widget .call-to-action-text {
    float: left;
    width: 60%;
}

#prebefore-home-widget .call-to-action-button {
    float: right;
}

@media screen and (max-width: 790px) {
    #prebefore-home-widget .call-to-action-text {
        float: none;
        width: 100%;
        text-align: center;
        padding-bottom: 30px;
    }

    #prebefore-home-widget .call-to-action-button {
        float: none;
        text-align: center;
    };
}

.call-to-action-text h3 {
    font-size: 24px;
    line-height: 1.2;
}

#prebefore-home-widget h3 {
    margin: 0;
}

#prebefore-home-widget .call-to-action-button a.btn {
    padding: 15px 30px;
    font-size: 18px;
    line-height: 1.5;
}

.widget-area .widget {
    margin-bottom: 40px;
}

.widget-area .widget ul,
.site-footer ul {
    list-style: none;
    margin: 0;
}

.widget_nav_menu .menu ul li {
    margin: 5px 0 5px 10px;
}

.widget ul li {
    margin: 5px 0 0 0;
}

.widget-area .widget-title a {
    color: #3a3a3a;
}

.widget-area .widget-title a:hover {
    color: #000;
}

.widget-area .widget_recent_entries .post-date {
    color: #aaaaaa;
}

#before-home-widget .widget-title,
#home-widget .widget-title {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

#home-txt {
    font-size: 20px;
    text-align: center;
    padding: 20px 0;
}

#home-txt span,
.widget-title span {
    text-transform: uppercase;
    border-bottom: solid 2px #2d2d2d;
}

#home-txt span a {
    text-decoration: none;
}

.textwidget,
.widget-area {
    font-size: 14px;
}

.widget-title {
    font-size: 0.9em;
    color: #525252;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.image-text-widget .widget-title {
    padding: 10px;
}

#aside-post-format-widget .hentry,
#quote-post-format-widget .hentry,
#gallery-post-format-widget .hentry,
#video-post-format-widget .hentry {
    padding: 0;
    margin: 0;
}

#quote-post-format-widget p:before {
    font-family: "FontAwesome";
    display: inline-block;
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\f10d';
    padding-right: 5px;
    vertical-align: middle;
}

#quote-post-format-widget {
    background: #00a5e7;
    color: #FFF;
    padding: 10px 15px;
}

.widget time.entry-date {
    font-size: 12px;
}

/*--widget calendar--*/

#wp-calendar {
    width: 100%;
    font-size: 11px;
}

#wp-calendar thead th {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-top: none;
    font-size: 11px;
}

#wp-calendar tbody td {
    text-align: center;
    border: 1px solid #ddd;
    line-height: 2.5em;
    transition: background 0.15s ease;
    -webkit-transition: background 0.15s ease;
    -o-transition: background 0.15s ease;
    -moz-transition: background 0.15s ease;
}

#wp-calendar caption {
    text-align: center;
    margin-bottom: 5px;
}

td#next {
    text-align: right;
}

#wp-calendar tbody td a,
#wp-calendar tbody td a:hover {
    color: #00a5e7;
    text-decoration: underline;
}

#wp-calendar tfoot td {
    padding-top: 1px;
    padding: 4px;
}

#wp-calendar caption {
    font-size: 12px;
    text-transform: uppercase;
    margin: 0;
    padding: 12px;
    outline: 0 none !important;
    background: #000;
    color: #fff;
}

#wp-calendar tbody a {
    display: block;
    text-decoration: underline;
}

#wp-calendar th {
    text-align: center;
    border: 1px solid transparent;
    border-top: none;
    padding: 2px 0;
    color: #a7a7a7;
}

#wp-calendar tfoot td#next {
    text-align: right;
}

#footer #wp-calendar thead th {
    background: #232323;
}

#footer #wp-calendar thead th,
#footer #wp-calendar tbody td {
    border-color: #333;
}

.site-footer .widget-title {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.widget .fa {
    margin-right: 5px;
}

.widget p {
    margin-bottom: 1em;
}

.footerwidget-left li,
.footerwidget-right li {
    list-style-type: none;
    margin-bottom: 10px;
}

.widget-footer ul {
    margin: 0;
}

.widget-footer h5 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.search-submit {
    display: none;
}

/*=Col Grid
-----------------------------------*/
.grid4 .col:nth-of-type(4n+1),
.grid3 .col:nth-of-type(3n+1),
.grid2 .col:nth-of-type(2n+1) {
	margin-left: 0;
	clear: left;
}
/* col */
.col {
	float: left;
	margin-left: 3.2%;
	margin-bottom: 30px;
}

/* grid4 col */
.grid4 .col {
	width: 22.6%;
}

/* grid3 col */
.grid3 .col {
	width: 31.2%;
}

/* grid2 col */
.grid2 .col {
	width: 48.4%;
}

@media screen and (max-width: 960px) {
	/* change grid3 to 2-column */
	.grid3 .col {
		width: 48.4%;
	}
	.grid3 .col:nth-of-type(3n+1) {
		margin-left: 3.2%;
		clear: none;
	}
	.grid3 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}
}
@media screen and (max-width: 740px) {
	.grid4 .col {
		width: 31.2%;
	}
	.grid4 .col:nth-of-type(4n+1) {
		margin-left: 3.2%;
		clear: none;
	}
	.grid4 .col:nth-of-type(3n+1) {
		margin-left: 0;
		clear: left;
	}
}
@media screen and (max-width: 600px) {
	/* change grid4 to 2-column */
	.grid4 .col {
		width: 48.4%;
	}
	.grid4 .col:nth-of-type(3n+1) {
		margin-left: 3.2%;
		clear: none;
	}
	.grid4 .col:nth-of-type(2n+1) {
		margin-left: 0;
		clear: left;
	}
}
@media screen and (max-width: 400px) {
	.col {
		width: 100% !important;
		margin-left: 0 !important;
		clear: none !important;
	}
}

/* =Media Queries
----------------------------------------------- */
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
      /* Medium desktop: 4 tiles */
      .box {
       width: 25%;
       height: auto;
       padding-top: 25%;
      }
}

@media (min-width: 960px) {
   .box {
       width: 33.333%;
       height: auto;
       padding-top: 33.333%;
      }
    .menu-toggle {
        display: none;
    }
    .main-navigation ul.nav-menu,
    .main-navigation div.nav-menu > ul {
        display: inline-block !important;
    }
    .main-navigation ul {
        margin: 0;
        text-indent: 0;
    }
    .main-navigation li a,
    .main-navigation li {
        display: inline-block;
        text-decoration: none;
    }
    .main-navigation li a:hover {
        color: #CCC;
    }
    .main-navigation li {
        position: relative;
    }
    .main-navigation li ul {
        display: none;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 100%;
        z-index: 1;
    }
    .main-navigation li ul ul {
        top: 0;
        left: 100%;
    }
    .main-navigation ul li:hover > ul {
        border-left: 0;
        display: block;
    }
    .nav-menu li {
        font-size: 12px;
    }
    .main-navigation li ul li a {
        background: #fff;
        border-bottom: 1px solid #eaeaea;
        display: block;
        font-size: 12px;
        line-height: 14px;
        letter-spacing: normal;
        padding: 15px;
        width: 200px;
        white-space: normal;
        color: #666;
    }
    .main-navigation li ul li a:hover {
        background: #e3e3e3;
        color: #444;
    }
    .main-navigation .current-menu-item ul li > a,
.main-navigation .current-menu-ancestor ul li > a,
.main-navigation .current_page_item ul li > a,
.main-navigation .current_page_ancestor ul li > a {
        color: #888;
    }
    .main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a {
        color: #888;
        font-weight: bold;
    };
}

@media (max-width: 959px) {
    #home-sticky .half {
        float: none;
        text-align: center;
        width: 100%;
    }

    #home-sticky .page-title {
        margin: 0;
        padding: 20px 0;
    }

  #masonry .hentry {
      width: 50%;
      padding: 0 2px;
   }

    .main-navigation {
        padding: 0;
        text-align: center;
        line-height: 1.5em;
    }

    .nav-menu li a {
        padding: 0;
    }

    .main-navigation li {
        float: none;
    }

    .menu-main ul ul {
        display: none;
    }

    .nav-menu ul li ul li {
        background: #aaa;
    }

    .main-navigation ul ul a {
        width: 100%;
    }

    .nav-menu li {
        font-size: 16px;
    }

    ul.nav-menu li a {
        color: #333;
        display: block;
        padding: 10px 0 10px 0;
    }
    ul.nav-menu li a:hover {
        color: #000;
    }

.box.big-square,
.box.big-rectangle,
.box.rectangle,
.box.vertical,
      .box {
       width: 50%;
       height: auto;
       padding-top: 50%;
      }

    .call-action-content {
        text-align: center;
    }

    .call-action-but,
.call-action-txt {
        display: block;
        float: none;
    }

    .call-action-txt {
        margin-bottom: 20px;
    }

    .site-content .entry-content blockquote,
.site-content .comment-content blockquote {
        padding: 1% 0 4% 6%;
    }

    .site-footer input[type="search"],
#primary input[type="search"],
#secondary input[type="search"] {
        width: 90%;
    }

    .single .entry-thumbnail img {
          top: 0;
    };
}

@media (max-width: 900px) {
    #wrap {
        width: 87%;
    }

    #primary,
    #secondary,
    .no-sidebar .entry-content,
    .no-sidebar .comments-area {
        width: 100%;
    }

    #primary {
        margin-right: 0;
    }

    #secondary {
        margin-top: 40px;
        margin-left: 0;
    };
}

@media (max-width: 700px) {
    .site-content .entry-content blockquote,
    .site-content .comment-content blockquote {
        margin: 0;
        padding: 1% 0 4% 8%;
    }

    .no-sidebar .format-standard h1.page-title,
    .no-sidebar .entry-content h1,
    .single .site-content .entry-title,
    .site-content .entry-content h1,
    .site-content .comment-content h1 {
        font-size: 36px;
        line-height: 1;
    }

    .single .site-content .related-content {
        padding-bottom: 20px;
    }

    .single .site-content .related-content .related-content-title {
        margin-left: 0;
    }

    .single .site-content .related-content article {
        width: 100%;
        padding: 20px 0 0 0;
        margin: 0;
    }

   .format-standard.sticky h1.entry-title:before {
        font-size: 36px;
   }
    .entry-thumbnail {
        width: 100%;
        height: auto;
        margin: 0;
        float: none;
    }
    .hentry .entry-header p {
       font-size: 180%;
   }
    .comments-area ul.children {
        padding-left: 0;
    };
}

@media (max-width: 650px) {
    #logo {
        float: none;
        width: 98%;
        text-align: center;
    }

   #masonry .hentry {
      width: 100%;
      padding: 0;
   }
    .title-group {
        display: block;
        padding: 5px;
    }

    .img-home-post {
        height: auto;
        max-height: 350px;
    }

    #pagefeature {
        padding: 5px 0;
    }

   .box.big-square,
   .box.big-rectangle,
   .box.rectangle,
   .box.vertical,
      .box {
       width: 100%;
       height: auto;
       padding-top: 100%;
       float: none;
      }

   .site-info,
   .site-info #menu-social {
        text-align: center;
    };
}

@media (max-width: 480px) {
    #wrap {
        width: 100%;
        margin: 0;
    }
    .site-content {
        padding: 10px;
   };
}