/*
Theme Name: Perfect Magazine
Theme URI: https://thememattic.com/theme/perfect-magazine/
Author: Thememattic
Author URI: https://thememattic.com
Description: Perfect Magazine, A powerful and stylish WordPress magazine theme suitable for news, newspaper, magazine, sports, technology, food, travel, blogs, publishing, business and any kind of sites. Perfect Magazine is designed with the “mobile first” approach, meaning it is designed for mobile from the beginning and was adapted for bigger screen afterward. This result in a beautiful experience for the users, on all devices. Check Demo: https://demo.thememattic.com/perfect-magazine
Version: 1.1.9
Requires PHP: 7.0
Tested up to: 5.8
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: perfect-magazine
Tags: blog, news, one-column, two-columns, left-sidebar, right-sidebar, custom-background, custom-menu, featured-images, full-width-template, rtl-language-support, custom-header, translation-ready, theme-options, threaded-comments, footer-widgets


Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
    ## Links
    ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ##search
    ##Admin only visible css
    ##Social Icon
    ##Slider
    ## Homepage
    ## Posts and pages
# Footer
    ##Backtotop
# Infinite scroll
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: sans-serif;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

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

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;
    outline: none;
}

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 {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    color: #3d3e40;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

h1 i, h2 i, h3 i, h4 i, h5 i, h6 i {
    font-weight: 400;
}

p {
    margin-bottom: 1.5em;
}

.item-title {
    font-size: 22px;
    line-height: 1.4;
    margin-top: 0;
    font-weight: 400;
    text-transform: uppercase;
}

.item-title-small {
    font-size: 14px;
}

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: #fff;
}

blockquote, q {
    quotes: "" "";
}

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

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

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border-radius: 4px;
    border: none;
    line-height: 45px;
    height: 45px;
    padding: 0 1em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

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,
.widget.widget_block input {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
    outline: 0;
}

input,
select {
    height: 45px;
    line-height: 45px;
}

input[type="text"]:focus, input[type="text"]:hover,
input[type="email"]:focus,
input[type="email"]:hover,
input[type="url"]:focus,
input[type="url"]:hover,
input[type="password"]:focus,
input[type="password"]:hover,
input[type="search"]:focus,
input[type="search"]:hover,
input[type="number"]:focus,
input[type="number"]:hover,
input[type="tel"]:focus,
input[type="tel"]:hover,
input[type="range"]:focus,
input[type="range"]:hover,
input[type="date"]:focus,
input[type="date"]:hover,
input[type="month"]:focus,
input[type="month"]:hover,
input[type="week"]:focus,
input[type="week"]:hover,
input[type="time"]:focus,
input[type="time"]:hover,
input[type="datetime"]:focus,
input[type="datetime"]:hover,
input[type="datetime-local"]:focus,
input[type="datetime-local"]:hover,
input[type="color"]:focus,
input[type="color"]:hover,
textarea:focus,
textarea:hover {
    outline: 0;
}

body input:focus-within,
body input[type="search"]:focus-within,
body textarea:focus-within,
body select:focus-within {
    outline: 1px dotted #000;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

.meta-icon {
    margin-right: 5px;
    font-size: 16px;
    line-height: normal;
    vertical-align: middle;
}

.meta-icon.meta-icon-big {
    color: #fff;
    font-size: 50px;
}

.top-bar .icon-search .search-form:before,
.nav-previous:before,
.nav-next:after,
.social-icons ul li a:after,
.widget .social-widget-menu ul a:before {
    display: inline-block;
    font-family: "Ionicons";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #434343;
    text-decoration: none;
}

a:active,
a:visited {
    color: #434343;
}

a:hover,
a:focus {
    text-decoration: none;
}

a:focus {
    outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.pro-banner {
    padding: 30px 0;
    border-top: 1px solid;
}

.top-bar {
    border-bottom: 1px solid;
}

.header-middle {
    padding: 30px 0;
}

.tm-adv-header {
    margin-top: 10px;
}

#masthead {
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 999;
}

.site-branding {
    margin: 0 auto;
    text-align: center;
}

.site-branding .site-title {
    font-size: 64px;
    line-height: 1.4;
}

.site-branding .site-description {
    font-size: 18px;
    margin-bottom: 0;
}

.navigation-area {
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.home .navigation-area {
    border-bottom: 0;
}

.main-navigation {
    position: relative;
}

.top-bar .icon-search .search-form {
    background: #f4f4f4;
    background: rgba(238, 238, 238, .5);
    border-width: 0 1px 0 1px;
    border-style: solid;
    position: relative;
    z-index: 0;
}

.top-bar .icon-search .search-form label {
    margin-bottom: 0;
    display: block;
}

.top-bar .icon-search .search-form:before {
    content: "\f4a5";
    color: #b0bec5;
    font-size: 24px;
    right: 0;
    top: 0;
    line-height: 45px;
    width: 75px;
    position: absolute;
    z-index: -1;
    text-align: center;
}

.top-bar .icon-search .search-form input {
    background: transparent;
    border: none;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
    padding: 15px 80px 15px 15px;
    width: 100%;
}

.top-bar .icon-search .search-form input[type="submit"] {
    font-size: 0;
    height: 45px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 75px;
}

.main-navigation .toggle-menu {
    height: 60px;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    margin-left: 80px;
    margin-right: 80px;
    display: none;
}

.ham {
    width: 23px;
    height: 2px;
    top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #434343;
    position: relative;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.ham:before,
.ham:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    left: 0;
    background-color: #434343;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.ham:before {
    top: -8px;
}

.ham:after {
    top: 8px;
}

.ham.exit {
    background-color: transparent;
}

.ham.exit:before {
    -webkit-transform: translateY(8px) rotateZ(-45deg);
    -moz-transform: translateY(8px) rotateZ(-45deg);
    -ms-transform: translateY(8px) rotateZ(-45deg);
    -o-transform: translateY(8px) rotateZ(-45deg);
    transform: translateY(8px) rotateZ(-45deg);
}

.ham.exit:after {
    -webkit-transform: translateY(-8px) rotateZ(45deg);
    -moz-transform: translateY(-8px) rotateZ(45deg);
    -ms-transform: translateY(-8px) rotateZ(45deg);
    -o-transform: translateY(-8px) rotateZ(45deg);
    transform: translateY(-8px) rotateZ(45deg);
}

.main-navigation .menu > ul {
    display: block;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: center;
    vertical-align: top;
}

.main-navigation .menu ul li {
    position: relative;
    display: inline-block;
    float: none;
}

.main-navigation .menu ul li a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.main-navigation .menu ul li i {
    padding: 0 10px;
    display: inline-block;
    line-height: 1px;
}

.main-navigation .menu ul > li > a {
    display: block;
    line-height: 60px;
    padding: 0 15px;
    position: relative;
}

@media only screen and (min-width: 992px) {
    .main-navigation .menu ul ul li {
        width: 250px;
    }

    .main-navigation .menu ul ul a {
        display: block;
        padding: 12px 30px;
        line-height: inherit;
    }

    .main-navigation .menu ul ul a:before {
        margin-right: 10px;
        position: absolute;
        left: 15px;
        top: 35%;
        display: inline-block;
        font-family: "Ionicons";
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        text-rendering: auto;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\f3d1";

    }

    .main-navigation .menu ul ul {
        position: absolute;
        text-align: left;
        visibility: hidden;
        filter: alpha(opacity=0);
        opacity: 0;
        margin: 0 auto;
        padding: 0;
    }

    .main-navigation .menu li:hover > ul,
    .main-navigation .menu li:focus > ul {
        background: #f6f6f6;
        visibility: visible;
        filter: alpha(opacity=1);
        opacity: 1;
        z-index: 999;
        -webkit-transition: opacity 0.4s, top 0.4s;
        -moz-transition: opacity 0.4s, top 0.4s;
        -ms-transition: opacity 0.4s, top 0.4s;
        -o-transition: opacity 0.4s, top 0.4s;
        transition: opacity 0.4s, top 0.4s;
    }

    .main-navigation .menu li:focus-within > ul {
        background: #f6f6f6;
        visibility: visible;
        filter: alpha(opacity=1);
        opacity: 1;
        z-index: 999;
        -webkit-transition: opacity 0.4s, top 0.4s;
        -moz-transition: opacity 0.4s, top 0.4s;
        -ms-transition: opacity 0.4s, top 0.4s;
        -o-transition: opacity 0.4s, top 0.4s;
        transition: opacity 0.4s, top 0.4s;
    }

    .main-navigation .menu > ul > li > ul {
        top: 100%;
        left: 0;
    }

    .main-navigation .menu > ul > li:last-child > ul {
        left: auto;
        right: 0;
    }

    .main-navigation .menu ul ul ul {
        top: -20px;
        left: 100%;
    }

    .main-navigation .menu ul ul li:hover ul,
    .main-navigation .menu ul ul li:focus ul {
        top: 0;
    }

    .main-navigation .menu ul ul li:focus-within ul {
        top: 0;
    }

    .main-navigation .menu ul > li > a:after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 5px;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

.main-navigation .menu .menu-mobile {
    margin: 0;
    padding: 0;
    display: block;
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 9999;
    display: none;
}

.main-navigation .menu .menu-mobile li {
    display: block;
    border-top: 1px solid #dcdcdc;
    float: none;
}

.main-navigation .menu .menu-mobile li a {
    line-height: 50px;
    letter-spacing: 0.05em;
    display: block;
    position: relative;
    padding-right: 30px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.main-navigation .menu .menu-mobile li a:hover {
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.main-navigation .menu .menu-mobile li a i {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    z-index: 1;
}

.main-navigation .menu .menu-mobile li a i.active:after {
    width: 13px;
    height: 1px;
}

.main-navigation .menu .menu-mobile li a i:before,
.main-navigation .menu .menu-mobile li a i:after {
    content: '';
    width: 13px;
    height: 1px;
    background-color: #848484;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.main-navigation .menu .menu-mobile li a i:after {
    width: 1px;
    height: 13px;
}

.main-navigation .menu .menu-mobile li .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #dcdcdc;
    display: none;
}

.main-navigation .menu .menu-mobile li .sub-menu > li a {
    margin-left: 15px;
}

.main-navigation .menu .menu-mobile li .sub-menu > li:first-child {
    border-top: 0;
}

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

.screen-reader-text: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: none !important;
}

/*--------------------------------------------------------------
# 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,
.post-navigation:before,
.post-navigation:after,
.posts-navigation:before,
.posts-navigation:after,
.widget:before,
.widget:after {
    content: "";
    display: table;
    table-layout: fixed;
}

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

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.container {
    padding-left: 10px;
    padding-right: 10px;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.row [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.row-collapse {
    margin-right: 0;
    margin-left: 0;
}

.row-collapse [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.row-table {
    display: table;
    width: 100%;
    height: 100%;
}

.row-table [class*="col-"] {
    display: table-cell;
    float: none;
    vertical-align: middle;
}

@media only screen and (max-width: 767px) {
    .row-table [class*="col-"] {
        display: block;
        float: left;
    }
}

.row-bg {
    background-color: #fff;
    margin-bottom: 30px;
}

.row-rtl {
    direction: rtl;
}

.row-rtl [class*="col-"] {
    direction: ltr;
}

#secondary .container,
.site-footer .footer-widget .widget .container {
    width: 100%;
    max-width: 100%;
}

#secondary .container .row,
.site-footer .footer-widget .widget .container .row {
    background: none;
    display: block;
    direction: ltr;
    margin-left: -10px;
    margin-right: -10px;
}

#secondary .container [class*="col-"],
.site-footer .footer-widget .widget .container [class*="col-"] {
    display: block;
    width: 100%;
}

#secondary .widget .article-content,
.site-footer .footer-widget .widget .article-content {
    background: none;
    border: 0;
    padding-left: 0;
    padding-right: 0;
}

.bg-image,
.data-bg {
    width: 100%;
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.data-bg-slide {
    background-color: #282828;
    height: 480px;

}

.mainbanner-jumbotron .data-bg-slide {
    margin-bottom: 150px;
}

.data-bg-slide-widget {
    height: 500px;
}

.data-bg-1 {
    height: 210px;
}

.tm-article-item {
    display: block;
    position: relative;
    overflow: hidden;
}

.article-item-image {
    position: relative;
}

.categories-list {
    position: absolute;
    z-index: 9;
    bottom: 25px;
    left: 20px;
}

@media (max-width: 1599px) {
    .main-banner-fullwidth > .container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
}

@media (min-width: 1600px) {
    .mainbanner-jumbotron .slider-figcaption {
        padding-left: 10%;
        padding-right: 10%;
    }

    .data-bg-slide {
        height: 600px;
    }

    .mainbanner-jumbotron .data-bg-slide {
        margin-bottom: 180px;
    }

    .data-bg-1 {
        height: 260px;
    }
}

@media only screen and (max-width: 767px) {
    .data-bg-slide {
        height: 200px;
        height: 30vh;
    }

    .data-bg-1 {
        height: 260px;
    }
}

.text-shadow {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .15);

}

.bg-shadow {
    background-color: rgba(0, 0, 0, .8);
    box-decoration-break: clone;
    -webkit-box-shadow: 10px 0 0 rgba(0, 0, 0, .8), -10px 0 0 rgba(0, 0, 0, .8);
    -moz-box-shadow: 10px 0 0 rgba(0, 0, 0, .8), -10px 0 0 rgba(0, 0, 0, .8);
    -ms-box-shadow: 10px 0 0 rgba(0, 0, 0, .8), -10px 0 0 rgba(0, 0, 0, .8);
    -o-box-shadow: 10px 0 0 rgba(0, 0, 0, .8), -10px 0 0 rgba(0, 0, 0, .8);
    box-shadow: 10px 0 0 rgba(0, 0, 0, .8), -10px 0 0 rgba(0, 0, 0, .8);
    display: inline;
    display: inline;
    font-size: 22px;
    line-height: 1.4;
}

/*--------------------------------------------------------------
##color and font
--------------------------------------------------------------*/
.primary-bgcolor,
#secondary .widget-title,
.widget.widget_block h2,
.comments-area .reply .comment-reply-link,
.footer-bottom .social-icons ul li a:after,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.top-bar .social-icons ul li:hover a:after,
.top-bar .social-icons ul li:focus a:after,
.main-navigation .sub-menu > li:hover > a,
.main-navigation .sub-menu > li:focus > a,
.post-navigation .nav-previous:hover, .post-navigation .nav-previous:focus,
.post-navigation .nav-next:hover, .post-navigation .nav-next:focus {
    background-color: #282828;
    color: #fff;
}

.primary-bgcolor a,
.comments-area .reply .comment-reply-link a,
.post-navigation .nav-previous:hover a,
.post-navigation .nav-previous:focus a,
.post-navigation .nav-next:hover a,
.post-navigation .nav-next:focus a {
    color: #fff;
}

.secondary-bgcolor,
.categories-list > a,
.widget.perfect_magazine_social_widget .social-widget-menu ul a:hover,
.widget.perfect_magazine_social_widget .social-widget-menu ul a:focus,
.footer-bottom .social-icons ul li:hover a:after,
.footer-bottom .social-icons ul li:hover a:after,
.widget.perfect_magazine_widget_tabbed ul.nav-tabs li:hover a,
.widget.perfect_magazine_widget_tabbed ul.nav-tabs li:hover a,
.widget.perfect_magazine_widget_tabbed .nav-tabs > li > a.active,
.widget.perfect_magazine_widget_tabbed .nav-tabs > li > a:focus,
.widget.perfect_magazine_widget_tabbed .nav-tabs > li > a:hover,
.widget.perfect_magazine_widget_tabbed .site-footer .widget ul li,
.widget .social-widget-menu ul li a,
.main-navigation .menu > ul > li.current-menu-item > a:after,
.main-navigation .menu > ul > li:hover > a:after,
.main-navigation .menu > ul > li:focus > a:after,
.author-info .author-social > a,
.search-form .search-submit,
.widget.widget_block button,
.ball span,
.entry-meta.entry-meta-bg span.post-category-label a:hover,
.entry-meta.entry-meta-bg span.post-category-label a:focus {
    background: #b79567;
    color: #fff;
}

a:hover, a:focus, a:active,
.post-category-label a:hover,
.post-category-label a:focus {
    color: #b79567;
}

.entry-meta.entry-meta-bg span.post-category-label a {
    background: #ff5722;
    color: #fff;
}

.post-category-label a {
    color: #ff5722;
}

.widget-header-wrapper .widget-description {
    color: #aaa;
}

.primary-font {
    font-family: 'Source Sans Pro', sans-serif;
}

.secondary-font,
.comment-respond .comment-reply-title,
.nav-previous a,
.nav-next a {
    font-family: 'Playfair Display', serif;
}

body .small-font,
body .full-item-desc {
    font-size: 85%;
    line-height: 1.4;
}

.full-item-title {
    margin: 0 auto 15px;
}

.inner-heading,
.block-text {
    color: #434343;
    display: block;
}

.inner-heading {
    padding-top: 20px;
}

.block-text > span {
    font-size: 44.8px;
    font-size: 2.8rem;
    line-height: 1.6;
    border-bottom: solid 1px;
}

/*--------------------------------------------------------------
##preloader
--------------------------------------------------------------*/
.preloader {
    background: #fff;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 9999;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -ms-transform: all 0.7s ease;
    transition: all 0.7s ease;
}

.page-loaded .preloader {
    transform: translateY(-100%);
    -o-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
}

.page-loaded .header {
    transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    -webkit-transform: translateY(0);
}

.page-loaded .navbar-default {
    transform: translateY(0);
    transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    -webkit-transform: translateY(0);
}

.ball,
.ball span {
    position: absolute;
    top: 50%
}

.ball {
    width: 120px;
    height: 120px;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(0);
    -moz-transform: translate(-50%, -50%) rotate(0);
    -ms-transform: translate(-50%, -50%) rotate(0);
    transform: translate(-50%, -50%) rotate(0);
    -webkit-transform-origin: 66px center;
    -moz-transform-origin: 66px center;
    -ms-transform-origin: 66px center;
    transform-origin: 66px center;
    margin-left: 40px
}

.ball span {
    width: 68px;
    height: 68px;
    left: -10px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%
}

.ball-1 {
    margin-left: -50px
}

.ball-2 {
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
    margin-left: -100px;
    -webkit-animation: loader-animation 1.7s linear infinite;
    -moz-animation: loader-animation 1.7s linear infinite;
    animation: loader-animation 1.7s linear infinite;
    z-index: 2
}

.ball-3 {
    margin-left: 120px
}

@-webkit-keyframes loader-animation {
    0% {
        margin-left: -18px;
        -webkit-transform: translateY(-50%) rotate(0);
        transform: translateY(-50%) rotate(0);
        -webkit-transform-origin: 66px center;
        transform-origin: 66px center
    }
    25% {
        margin-left: -25px;
        -webkit-transform: translateY(-50%) rotate(-180deg);
        transform: translateY(-50%) rotate(-180deg);
        -webkit-transform-origin: 66px center;
        transform-origin: 66px center
    }
    50% {
        margin-left: -33px;
        -webkit-transform: translateY(-50%) rotate(-360deg);
        transform: translateY(-50%) rotate(-360deg);
        -webkit-transform-origin: 66px center;
        transform-origin: 66px center
    }
    50.1% {
        -webkit-transform-origin: -12px center;
        transform-origin: -12px center
    }
    75% {
        margin-left: -36px;
        -webkit-transform: translateY(-50%) rotate(-180deg);
        transform: translateY(-50%) rotate(-180deg);
        -webkit-transform-origin: -12px center;
        transform-origin: -12px center
    }
    100% {
        margin-left: -18px;
        -webkit-transform: translateY(-50%) rotate(0);
        transform: translateY(-50%) rotate(0);
        -webkit-transform-origin: -12px center;
        transform-origin: -12px center
    }
}

@-moz-keyframes loader-animation {
    0% {
        margin-left: -18px;
        -moz-transform: translateY(-50%) rotate(0);
        transform: translateY(-50%) rotate(0);
        -moz-transform-origin: 66px center;
        transform-origin: 66px center
    }
    25% {
        margin-left: -25px;
        -moz-transform: translateY(-50%) rotate(-180deg);
        transform: translateY(-50%) rotate(-180deg);
        -moz-transform-origin: 66px center;
        transform-origin: 66px center
    }
    50% {
        margin-left: -33px;
        -moz-transform: translateY(-50%) rotate(-360deg);
        transform: translateY(-50%) rotate(-360deg);
        -moz-transform-origin: 66px center;
        transform-origin: 66px center
    }
    50.1% {
        -moz-transform-origin: -12px center;
        transform-origin: -12px center
    }
    75% {
        margin-left: -36px;
        -moz-transform: translateY(-50%) rotate(-180deg);
        transform: translateY(-50%) rotate(-180deg);
        -moz-transform-origin: -12px center;
        transform-origin: -12px center
    }
    100% {
        margin-left: -18px;
        -moz-transform: translateY(-50%) rotate(0);
        transform: translateY(-50%) rotate(0);
        -moz-transform-origin: -12px center;
        transform-origin: -12px center
    }
}

@keyframes loader-animation {
    0% {
        margin-left: -18px;
        -webkit-transform: translateY(-50%) rotate(0);
        -moz-transform: translateY(-50%) rotate(0);
        transform: translateY(-50%) rotate(0);
        -webkit-transform-origin: 66px center;
        -moz-transform-origin: 66px center;
        transform-origin: 66px center
    }
    25% {
        margin-left: -25px;
        -webkit-transform: translateY(-50%) rotate(-180deg);
        -moz-transform: translateY(-50%) rotate(-180deg);
        transform: translateY(-50%) rotate(-180deg);
        -webkit-transform-origin: 66px center;
        -moz-transform-origin: 66px center;
        transform-origin: 66px center
    }
    50% {
        margin-left: -33px;
        -webkit-transform: translateY(-50%) rotate(-360deg);
        -moz-transform: translateY(-50%) rotate(-360deg);
        transform: translateY(-50%) rotate(-360deg);
        -webkit-transform-origin: 66px center;
        -moz-transform-origin: 66px center;
        transform-origin: 66px center
    }
    50.1% {
        -webkit-transform-origin: -12px center;
        -moz-transform-origin: -12px center;
        transform-origin: -12px center
    }
    75% {
        margin-left: -36px;
        -webkit-transform: translateY(-50%) rotate(-180deg);
        -moz-transform: translateY(-50%) rotate(-180deg);
        transform: translateY(-50%) rotate(-180deg);
        -webkit-transform-origin: -12px center;
        -moz-transform-origin: -12px center;
        transform-origin: -12px center
    }
    100% {
        margin-left: -18px;
        -webkit-transform: translateY(-50%) rotate(0);
        -moz-transform: translateY(-50%) rotate(0);
        transform: translateY(-50%) rotate(0);
        -webkit-transform-origin: -12px center;
        -moz-transform-origin: -12px center;
        transform-origin: -12px center
    }
}

/*--------------------------------------------------------------
##search
--------------------------------------------------------------*/
.search-box {
    display: none;
    background: #f1f1f1;
    padding: 20px 42px;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99;
    transition: background-color 500ms ease-in-out;
}

.search-box .search-form {
    max-width: 740px;
    margin-right: auto;
    margin-left: auto;
}

.search-box .search-form label {
    float: left;
    width: 85%;
    width: calc(100% - 200px);
}

.search-box .search-form label .search-field {
    width: 100%;
    background: transparent;
    border-width: 1px 0 1px 1px;
    border-color: #e6e6e6;
    border-style: solid;
    font-size: 20px;
    font-size: 1.25rem;
}

.search-box .search-form .search-submit {
    width: 200px;
    border-width: 1px 1px 1px 0;
    border-color: #e6e6e6;
    border-style: solid;
}

.search-box .search-form label .search-field::-webkit-input-placeholder {
    color: #434343;
}

.search-box .search-form label .search-field:-moz-placeholder {
    color: #434343;
}

.search-box .search-form label .search-field::-moz-placeholder {
    color: #434343;
}

.search-box .search-form label .search-field:-ms-input-placeholder {
    color: #434343;
}

/*--------------------------------------------------------------
##Admin only visible css
--------------------------------------------------------------*/
.v-align-top {
    vertical-align: top;
}

.v-align-middle {
    vertical-align: middle;
}

.v-align-bottom {
    vertical-align: bottom;
}

.table-align {
    display: table;
}

.table-align .table-align-cell {
    display: table-cell;
}

.sticky {
    display: block;
}

.site.boxed-layout {
    background: #fff;
    box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), 0 0 20px -5px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), 0 0 20px -5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), 0 0 20px -5px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), 0 0 20px -5px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1), 0 0 20px -5px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .site.boxed-layout {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .site.boxed-layout {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .site.boxed-layout {
        width: 1170px;
    }
}

@media (min-width: 1600px) {
    .site.boxed-layout {
        width: 1570px;
    }
}

.home .site-content {
    max-width: inherit;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.site-content {
    margin: 50px auto;
}

.home.blog .site-content,
.site-content,
.homepage-widgetarea .widget {
    width: 100%;
    max-width: 1170px;
}

.home.blog .site-content,
.homepage-widgetarea .widget {
    margin: 0 auto;
}

.homepage-widgetarea .widget.tm-widget {
    max-width: inherit;
}

#primary,
#secondary {
    float: left;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width: 1600px) {
    .site-content,
    .container,
    .homepage-widgetarea .widget,
    .home.blog-post .site-content {
        width: 1440px;
        max-width: inherit;
    }

    .homepage-widgetarea .widget.tm-widget {
        width: 100%;
    }
}

@media only screen and (min-width: 992px) {
    #primary {
        width: 66.66%;
    }

    body.left-sidebar #primary {
        padding-left: 30px;
    }

    body.right-sidebar #primary {
        padding-right: 30px;
    }

    #secondary {
        width: 33.33%;
    }
}

@media only screen and (max-width: 767px) {
    #primary,
    #secondary {
        padding-left: 10px;
        padding-right: 10px;
    }

}

#primary.content-area.full-width {
    width: 100%;
}

body.left-sidebar #primary {
    float: right;
}

body.no-sidebar #primary {
    width: 100%;
}

body.no-sidebar #secondary {
    display: none !important;
    width: 0px;
    height: 0px;
    visibility: hidden;
    filter: alpha(opacity=0);
    opacity: 0;
}

.feature-block {
    clear: both;
}

.feature-block:before,
.feature-block:after {
    clear: both;
    content: "";
    display: table;
}

.section-title {
    font-size: 26px;
    line-height: 1.2;
    margin: 0 auto 20px;
}

.section-title span {
    display: table-cell;
    padding: 5px 15px;
}

.inner-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center top;
    position: relative;
    padding: 75px 0;
    text-align: center;
}

.inner-banner .entry-header {
    z-index: 2;
    position: relative;
}

.breadcrumb-wrapper {
    background-color: #f3f3f3;
}

.breadcrumbs {
    padding: 15px 0;
    text-transform: uppercase;
}

.breadcrumbs ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.breadcrumbs ul li a {
    color: #333;
}

.breadcrumbs ul li,
.breadcrumbs ul li a:hover,
.breadcrumbs ul li a:focus {
    color: #b79466;
    display: inline;
}

.breadcrumbs ul .trail-item span {
    position: relative;
    padding-left: 12px;
    padding-right: 7px;
}

.breadcrumbs ul .trail-item.trail-begin span {
    padding-left: 0;
}

.breadcrumbs ul li span:before {
    content: "\f3d3";
    font-family: "Ionicons";
    display: inline-block;
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 2px;
}

.breadcrumbs ul .trail-item.trail-begin span:before {
    content: none;
}

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

.entry-meta {
    position: relative;
}

.post-category-label a {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.entry-meta span.post-category-label a {
    padding-right: 3px;
    padding-left: 3px;
}

.entry-meta span.post-category-label a:first-child {
    padding-left: 0;
}

.entry-meta.entry-meta-bg span.post-category-label a {
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 5px;
    display: inline-block;
}

.posted-on {
    display: block;
}

.widget .posted-on {
    display: inline-block;
    margin-right: 5px;
}

.inner-banner .entry-header .posted-on {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.posted-on a {
    color: #85878b;
    font-size: 14px;
}

.entry-header .entry-title {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

.entry-header .entry-title span {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    margin-top: 15px;
}

.entry-title {
    display: block;
    padding-bottom: 15px;
    position: relative;
}

.page-inner-title .entry-header .entry-title {
    font-size: 56px;
    line-height: 1.2;
}

body.archive.no-sidebar #main article {
    float: left;
    width: 50%;
}

body.archive.no-sidebar #main article:nth-child(2n+1) {
    clear: left;
}

body.archive.no-sidebar #main article .article-content {
    padding-left: 20px;
    padding-right: 20px;
}

.site-content .entry-content .image-left {
    float: left;
}

.site-content .entry-content .image-right {
    float: right;
}

span.cat-links,
span.comments-link {
    margin-right: 10px;
}

@media only screen and (min-width: 768px) {
    .site-content .entry-content .image-left {
        margin-right: 3%;
    }

    .site-content .entry-content .image-right {
        margin-left: 3%;
    }
}

@media only screen and (max-width: 991px) {
    body.archive.category.no-sidebar #main article {
        width: 100%;
    }
}

.site-content .entry-content .image-full {
    text-align: center;
    margin: 0 auto 30px;
}

.site-content .entry-content .tm-image-archive {
    position: relative;
}

/*------------------------------------------------------------
 * ## Post-navigation
 *------------------------------------------------------------
 */
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    background: #fff;
    border: 1px solid #bac2cc;
    overflow: hidden;
    margin: 1.5em 0;
    padding: 0;
    position: relative;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
    position: relative;
}

.nav-previous,
.nav-next {
    display: table;
    padding: 20px 10px;
}

.nav-previous:before,
.nav-next:after {
    content: "";
    display: table-cell;
    text-align: center;
    line-height: 1;
    width: 20px;
    vertical-align: middle;
}

.nav-previous:before {
    content: "\f3d2";
}

.nav-next:after {
    content: "\f3d3";
}

.nav-previous a,
.nav-next a {
    padding: 0 15px;
    display: table-cell;
    vertical-align: middle;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

.site-main .comment-navigation:after,
.site-main .posts-navigation:after,
.site-main .post-navigation:after {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    background: #bac2cc;
}

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.homepage-widgetarea .widget {
    margin-bottom: 0;
    padding: 60px 10px;
}

.homepage-widgetarea .tm-widget:nth-child(even) {
    background-color: #f2f1f2;
}

.homepage-widgetarea .widget .widget-header-wrapper {
    background-color: #f2f1f2;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.homepage-widgetarea .tm-widget:nth-child(even) .widget-header-wrapper {
    background-color: #fff;
}

.site-content #primary .site-main .perfect_magazine_slider_widget figcaption.slider-figcaption {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    z-index: 2;
}

.site-content #primary .site-main .perfect_magazine_slider_widget figcaption.slider-figcaption .slider-figcaption-inner {
    width: 100%;
    -webkit-align-self: center;
    align-self: center;
    padding: 0 60px;
}

.site-content .widget_recent_comments li,
.site-content .widget_pages li a,
.site-content .social-widget-menu li a,
.site-content .widget_archive li a,
.site-content .widget_meta li a,
.site-content .widget_categories li a,
.site-content .widget_nav_menu li a,
.site-content .widget_recent_entries li a,
.widget.widget_block ol  a,
.widget.widget_block ul a   {
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    position: relative;
    display: table;
    width: 100%;
}

.site-content .widget_recent_comments li a:hover,
.site-content .widget_recent_comments li a:focus,
.site-content .widget_pages li a:hover,
.site-content .widget_pages li a:focus,
.site-content .social-widget-menu li a:hover,
.site-content .social-widget-menu li a:focus,
.site-content .widget_archive li a:hover,
.site-content .widget_archive li a:focus,
.site-content .widget_meta li a:hover,
.site-content .widget_meta li a:focus,
.site-content .widget_categories li a:hover,
.site-content .widget_categories li a:focus,
.site-content .widget_nav_menu li a:hover,
.site-content .widget_nav_menu li a:focus,
.site-content .widget_recent_entries li a:hover,
.site-content .widget_recent_entries li a:focus,
.widget.widget_block ol li a:hover ,
.widget.widget_block ul li a:hover ,
.widget.widget_block ol li a:focus ,
.widget.widget_block ul li a:focus { 
    color: #b79567;
}

.widget {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.tm-article-meta {
    margin-bottom: 15px;
}

.footer-widget .widget {
    margin-bottom: 1.5em;
}

#secondary .widget:last-child {
    margin-bottom: 20px;
}

.widget ol,
.widget ul,
.widget.widget_block ol ,
.widget.widget_block ul {
    list-style: none;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

.widget ol li,
.widget ul li,
.widget.widget_block ol li,
.widget.widget_block ul li{
    margin-bottom: 10px;
}

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

.widget-title,
.widget.widget_block h2  {
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 20px;
    padding: 20px 0;
    position: relative;
    text-transform: uppercase;
}

#secondary .widget-title,
#secondary .widget.widget_block h2,
.widget.widget_block h2  {
    padding: 15px 20px;
    text-align: center;
}

.widget-header-wrapper {
    padding-bottom: 20px;
}

.widget-header-wrapper .widget-title {
    margin: 0 auto 10px;
    padding: 0;
    font-size: 28px;
    letter-spacing: 2px;
}

.widget-header-wrapper .widget-description {
    color: #828282;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.site-content .site-main .widget-title span {
    background: #fff;
    color: #000;
    font-size: 36px;
    line-height: 1.4;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.site-content .site-main .widget-title:after {
    content: "";
    display: block;
    height: 6px;
    position: absolute;
    top: 50%;
    margin-top: -3px;
    width: 100%;
    left: 0;
    background: #000;
}

.site-content .search-form,
.site-footer .search-form {
    padding-top: 20px;
}

.site-content .search-form label,
.site-footer .search-form label {
    display: block;
    width: 70%;
    float: left;
}

.site-content .search-form label .search-field,
.site-footer .search-form label .search-field {
    padding-left: 15px;
    width: 100%;
}

.site-content .search-form .search-submit,
.site-footer .search-form .search-submit,
.widget.widget_block button  {
    width: 30%;
    text-transform: uppercase;
}
.widget.widget_block button {
	line-height:1rem;
	margin:0px;
	
}
.search-form label .search-field {
    height: 45px;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.search-form .search-submit,
.widget.widget_block button  {
    border: 0;
    color: #fff;
    height: 45px;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.widget ul li:last-child {
    margin-bottom: 0;
}

.site-footer .widget ul li {
    border-bottom: 0;
}

.widget.perfect_magazine_widget_tabbed ul.nav-tabs {
    border: 0;
    position: relative;
    background: #2d2d2d;
}

.widget.perfect_magazine_widget_tabbed .tab-content .full-item-image {
    margin-bottom: 20px;
}

.widget.perfect_magazine_widget_tabbed ul.nav-tabs li {
    border: 0;
    margin: 0 auto;
    padding: 0;
    display: block;
    float: left;
}

.widget.perfect_magazine_widget_tabbed ul.nav-tabs li a {
    word-wrap: break-word;
    padding: 15px 15px;
    text-align: center;
    border-radius: 0;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    margin-right: 0;
}

.site-main .widget.perfect_magazine_widget_tabbed ul.nav-tabs li a {
    padding: .9375rem 1.32rem;
}

.widget_tag_cloud,
.widget_product_tag_cloud {
    margin-bottom: 4em;
    position: relative;
    z-index: 2;
}

.widget_tag_cloud .tagcloud,
.widget_product_tag_cloud .tagcloud {
    margin-bottom: 1.2em;
    *zoom: 1;
}

.widget_tag_cloud .tagcloud:before, .widget_tag_cloud .tagcloud:after,
.widget_product_tag_cloud .tagcloud:before,
.widget_product_tag_cloud .tagcloud:after {
    display: table;
    content: "";
}

.widget_tag_cloud .tagcloud:after,
.widget_product_tag_cloud .tagcloud:after {
    clear: both;
}

.widget_tag_cloud .tagcloud a,
.widget_product_tag_cloud .tagcloud a {
    position: relative;
    color: #616161;
    cursor: pointer;
    display: inline-block;
    float: left;
    font-size: 100% !important;
    font-weight: 300;
    line-height: 1.3;
    margin: 0 12px 12px 0;
    padding: 10px 13px 4px 15px;
    padding: .84em 1em .84em 1.3em;
    position: relative;
    text-align: center;
    text-transform: capitalize;
    vertical-align: middle;
    -webkit-transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.widget_tag_cloud .tagcloud a:hover,
.widget_product_tag_cloud .tagcloud a:hover {
    background-color: #f5f4f0;
}

.widget_tag_cloud .tagcloud a::before,
.widget_product_tag_cloud .tagcloud a::before,
.widget_tag_cloud .tagcloud a::after,
.widget_product_tag_cloud .tagcloud a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #e8e8e8;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
}

.widget_tag_cloud .tagcloud a:hover::before,
.widget_product_tag_cloud .tagcloud a:hover::before {
    margin-top: 4px;
    margin-left: -4px;
}

.widget_tag_cloud .tagcloud a:hover::after,
.widget_product_tag_cloud .tagcloud a:hover::after {
    margin-top: -4px;
    margin-left: 4px;
    z-index: -1;
}

.site-footer .widget_tag_cloud .tagcloud a,
.site-footer .widget_product_tag_cloud .tagcloud a {
    color: #fff;
}

.site-footer .widget_tag_cloud .tagcloud a:hover,
.site-footer .widget_product_tag_cloud .tagcloud a:focus {
    color: #333;
}

.author-info .profile-image {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.site-content .author-info .profile-image {
    height: 250px;
}

.site-content .author-info .profile-image:after {
    content: '';
    position: absolute;
    height: 55px;
    width: 130%;
    background: #fff;
    left: -5px;
    bottom: -12px;
    -ms-transform: rotate(-5deg);
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg);
}

.site-footer .author-info .profile-image {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    margin-left: auto;
    margin-right: auto;
    border: 4px solid #b79567;
}

.author-info .author-details {
    text-align: center;
}

.author-info .author-social {
    margin-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.author-info .author-social > a {
    border-radius: 100%;
    display: inline-block;
    font-size: 11px;
    height: 40px;
    line-height: 40px;
    margin: 0 4px;
    width: 40px;
}

.author-info .author-social .meta-icon {
    margin: 0 auto;
    padding: 0;
    font-size: 24px;
    line-height: 40px;
}

/*Widget Calander*/
#wp-calendar {
    width: 100%;
    margin: 0;
}

#wp-calendar caption {
    text-align: right;
    color: #333;
    margin-bottom: 15px;
    margin-top: -10px;
}

#wp-calendar thead th {
    text-align: center;
}

#wp-calendar tbody td {
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    text-align: center;
    padding: 8px;
}

#wp-calendar tbody td:hover {
    background: #fff;
}

#wp-calendar tbody .pad {
    background: none;
}

#wp-calendar tfoot #next {
    text-transform: uppercase;
    text-align: right;
    border: none;
    background: none;
}

#wp-calendar tfoot #prev {
    text-transform: uppercase;
    text-align: left;
    border: none;
    background: none;
}

#wp-calendar tfoot td.pad {
    display: none;
}

.nav.nav-tabs > li {
    display: inline-block;
    float: none;
}

.widget-wrapper-carousel .slick-list {
    margin-left: -10px;
    margin-right: -10px;
}

.carousel-items {
    margin-left: 10px;
    margin-right: 10px;
}

.carousel-items-list {
    position: relative;
}

.carousel-items-list .slider-figcaption {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 15px;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    width: 91%;
    width: calc(100% - 30px);
}

.carousel-items-list .slider-figcaption .slide-title {
    font-size: 21px;
    margin: 15px 10px;
}

.carousel-items-list .slider-figcaption .slide-title a {
    display: inline;
    line-height: 1.5;
}

.carousel-items-list .slider-figcaption .slide-title a,
.carousel-items-list .slider-figcaption .tm-article-meta a {
    color: #fff;
}

.tm-carousel-widget .slick-arrow {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #b79567;
    border: 2px solid;
    font-size: 24px;
}

.tm-carousel-widget .slide-prev {
    left: -50px;
}

.tm-carousel-widget .slide-next {
    right: -50px;
}

.tm-carousel-widget .slide-icon:before {
    line-height: 40px;
}

@media only screen and (max-width: 767px) {
    .carousel-items-list .slider-figcaption {
        width: 100%;
    }
}

/*------------------------------------------------------------
 * ## Comments
 *------------------------------------------------------------
 */

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

.bypostauthor {
    display: block;
}

.comments-area .comments-title, .comments-area .comment-reply-title {
    margin: 30px auto;
    padding: 20px 0;
    text-transform: uppercase;
}

.comments-area .comments-title {
    padding-left: 20px;
    padding-right: 20px;
}

.comment-respond .comment-reply-title {
    border-bottom: 1px solid #e5e5e5;
    margin-top: 30px;
}

.comments-area .comment-list {
    padding-left: 0;
    margin-left: 0;
}

.comments-area .comment-list, .comments-area .comment-list .children {
    list-style-type: none;
}

.comments-area .comment-author img {
    border-radius: 100%;
    width: 64px;
    height: 64px;
    float: left;
    margin-right: 15px;
}

.comments-area .comment-author a {
    color: #35353c;
    text-decoration: none;
}

.comments-area .comment-content,
.comments-area .comment-awaiting-moderation,
.comments-area .reply {
    padding-left: 80px;
}

.comments-area .reply {
    margin-bottom: 15px;
}

.comments-area .reply .comment-reply-link {
    text-decoration: none;
    padding: 0 15px;
    border-radius: 4px;
    line-height: 26px;
    height: 26px;
    display: inline-block;
}

.comments-area .reply .comment-reply-link:hover {
    color: #3c3c3c;
}

.comments-area .comment-respond {
    outline: 0;
}

.comments-area .comment-form-comment label, .comments-area .comment-form-comment textarea {
    width: 100%
}

.comments-area .comment-respond .form-submit input {
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
    min-width: 180px;
}

.comments-area .comment-respond .form-submit input,
.comments-area .comment-respond .form-submit input:hover {
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.comments-area .comment-respond .comment-form-author label,
.comments-area .comment-respond .comment-form-email label,
.comments-area .comment-respond .comment-form-url label {
    width: 100px;
}

.comments-area .comment-notes {
    margin-bottom: 30px;
}

.comments-area .comment-form label {
    color: #808086;
}

.comments-area .comment-form .comment-form-cookies-consent label {
    display: inline-block;
    height: 50px;
    vertical-align: middle;
}

.comments-area .blog-img-wide.blogdetails img {
    height: auto;
    padding: 20px;
    width: 100%;
}

.comment-form label {
    color: #707070;
    display: block;
    text-transform: uppercase;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    border-color: #e4e4e4;
    width: 100%;
}

.comment-form-author,
.comment-form-email {
    width: 50%;
    float: left;
}

.comment-form-author {
    padding-right: 10px;
}

.comment-form-email {
    padding-left: 10px;
}

.comment.depth-4 ol {
    margin-left: 0;
    padding-left: 0;
}

@media only screen and (max-width: 767px) {
    .comments-area .comment-list,
    .comments-area .comment-list .children {
        margin-left: 0;
        padding-left: 0;
    }
}

.comment-metadata {
    background: #f3f3f3;
    font-size: 85%;
    line-height: 1.2;
    margin: 5px auto 10px;
    display: inline-block;
    padding: 5px 15px;
}

/*--------------------------------------------------------------
##Social Icon
--------------------------------------------------------------*/
.social-icons ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.social-icons ul li {
    display: block;
    float: left;
}

.top-bar .social-icons ul li {
    border-right: 1px solid;
}

.social-icons ul a {
    display: block;
    position: relative;
    text-align: center;
}

.social-icons ul a span {
    display: none;
    filter: alpha(opacity=0);
    opacity: 0;
    visibility: hidden;
}

.social-icons ul li a:after,
.widget .social-widget-menu ul a:before {
    vertical-align: middle;
    width: 50px;
    float: left;
    height: 45px;
    font-size: 20px;
    line-height: 45px;
    color: #f1f1f1;
    text-align: center;
}

.widget .social-widget-menu ul a:before {
    background: rgba(0, 0, 0, 0.3);
}

.social-icons ul li a:after {
    color: #434343;
}

.footer-bottom .social-icons ul li a:after {
    border-radius: 100%;
    margin-right: 5px;
}

.widget .social-widget-menu ul li a {
    display: block;
    border: 0;
    position: relative;
    line-height: 45px;
    height: 45px;
    font-size: 18px;
    font-weight: 400;
    z-index: 99;
    padding: 0;
}

.widget .social-widget-menu ul li:hover a,
.widget .social-widget-menu ul li:focus a {
    filter: alpha(opacity=85);
    opacity: .85;
}

.widget .social-widget-menu ul li a span {
    padding-left: 55px;
    font-size: 14px;
    text-transform: uppercase;
}

.social-icons ul a[href*="dribbble.com"]:after,
.widget .social-widget-menu ul a[href*="dribbble.com"]:before {
    content: "\f22d";
}

.social-icons ul a[href*="facebook.com"]:after,
.widget .social-widget-menu ul a[href*="facebook.com"]:before {
    content: "\f231";
}

.social-icons ul a[href*="twitter.com"]:after,
.widget .social-widget-menu ul a[href*="twitter.com"]:before {
    content: "\f243";
}

.social-icons ul a[href*="linkedin.com"]:after,
.widget .social-widget-menu ul a[href*="linkedin.com"]:before {
    content: "\f239";
}

.social-icons ul a[href*="instagram.com"]:after,
.widget .social-widget-menu ul a[href*="instagram.com"]:before {
    content: "\f351";
}

.social-icons ul a[href*="youtube.com"]:after,
.widget .social-widget-menu ul a[href*="youtube.com"]:before {
    content: "\f24d";
}

.social-icons ul a[href*="vimeo.com"]:after,
.widget .social-widget-menu ul a[href*="vimeo.com"]:before {
    content: "\f245";
}

.social-icons ul a[href*="plus.google.com"]:after,
.widget .social-widget-menu ul a[href*="plus.google.com"]:before {
    content: "\f34f";
}

.social-icons ul a[href*="pinterest.com"]:after,
.widget .social-widget-menu ul a[href*="pinterest.com"]:before {
    content: "\f2b1";
}

.social-icons ul a[href*="tumblr.com"]:after,
.widget .social-widget-menu ul a[href*="tumblr.com"]:before {
    content: "\f241";
}

.social-icons ul a[href*="wordpress.org"]:after,
.widget .social-widget-menu ul a[href*="wordpress.org"]:before,
.social-icons ul a[href*="wordpress.com"]:after,
.widget .social-widget-menu ul a[href*="wordpress.com"]:before {
    content: "\f249";
}

.social-icons ul a[href*="whatsapp.com"]:after,
.widget .social-widget-menu ul a[href*="whatsapp.com"]:before {
    content: "\f4f0";
}

.social-icons ul a[href*="reddit.com"]:after,
.widget .social-widget-menu ul a[href*="reddit.com"]:before {
    content: "\f23b";
}


/*--------------------------------------------------------------
##Slider
--------------------------------------------------------------*/

.slide-icon {
    position: absolute;
    z-index: 1;
    display: block;
    width: 60px;
    height: 50px;
    font-size: 42px;
    line-height: 50px;
    cursor: pointer;
    color: #fff;
    top: 50%;
    margin-top: -25px;
    text-align: center;
    padding: 0;
}

.slide-icon:before {
    display: block;
    line-height: 50px;
}

.slide-prev:hover,
.slide-prev:focus,
.slide-next:hover,
.slide-next:focus {
    outline: none !important;
}

.slide-prev {
    left: 0;
}

.slide-next {
    right: 0;
}

.slick-slide {
    outline: 0 !important;
}

.mainbanner-jumbotron .slick-item,
.tm-slider-widget .slick-item {
    background-color: #000;
}

.slick-dots {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    filter: alpha(opacity=100);
    opacity: 1;
}

.slick-dots li button:before {
    content: "";
    background: transparent;
    border: 1px solid #333;
    border-radius: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    text-align: center;
    filter: alpha(opacity=25);
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
    filter: alpha(opacity=75);
    opacity: .75;
    color: black;
}

@media (min-width: 992px) {
    .featured-slider .article-wrapper-featured {
        padding: 30px 23% 30px 40px;
    }
}

.slider-figcaption-main {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;

}

.slider-figcaption {
    padding: 0 60px 70px;
    width: 100%;
    transition: 500ms ease-in-out;
    -webkit-transition: 500ms ease-in-out;
    -moz-transition: 500ms ease-in-out;
    -ms-transition: 500ms ease-in-out;
    -o-transition: 500ms ease-in-out;
}

.slider-figcaption .posts-date {
    position: relative;
}

.slider-wrapper {
    background: #fff;
    padding: 20px;
    text-align: center;
}

.slider-wrapper,
.slider-wrapper a {
    color: #333;
}

.slide-title {
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 0 auto 15px;
}

tm-slider-widget .slide-title {
    margin: 30px auto 15px;
}

.grid-item-metadata {
    margin-top: 10px;
}

.slide-title span {
    display: block;
}

.tm-article-slides {
    position: relative;
}

.slider-aside-item figcaption {
    padding-left: 20px;
    padding-right: 20px;
}

@media only screen and (max-width: 767px) {
    .slider-figcaption-main {
        padding-left: 0;
        padding-right: 0;
        margin-top: 0;
        position: relative;
    }
}

.slider-aside-item {
    background: #f2f1f2;
}

.slider-aside-item:nth-child(even) {
    background: #fff;
}

/*--------------------------------------------------------------
## Homepage
--------------------------------------------------------------*/
.article-feature-content .article-content {
    padding: 28px 48px;
}

.article-content-1 {
    background: #fff;
    border-bottom: 1px solid #deddde;
    border-left: 1px solid #deddde;
    border-right: 1px solid #deddde;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: table;
    height: 212px;
    padding: 20px;
    width: 100%;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: #000;
    color: #fff;
    padding-top: 50px;
}

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

.site-footer a:hover,
.site-footer a:focus {
    color: #b79567;
}

.site-footer .footer-widget .widget-title {
    color: #fff;
}

.site-footer .footer-widget .widget-area {
    border-left: 1px solid #333;
    display: table-cell;
    text-align: center;
    width: 33%;
    width: calc(100% / 3);
}

.site-footer .footer-widget .widget-area:last-child {
    border-right: 1px solid #333;
}

.site-footer .footer-widget .widget-area .widget {
    padding: 0.8em 10%;
}

.site-footer .footer-widget .widget-area .widget .widget-title {
    text-transform: uppercase;
}

.site-footer .footer-widget .widget-area .widget.simple-social-icons {
    padding: 0;
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}

.simple-social-icons {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.simple-social-icons ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.simple-social-icons ul li {
    display: inline-block;
    margin: 12px 7px;
}

.simple-social-icons ul li a {
    display: block;
    color: #333;
    font-size: 28px;
    font-size: 1.75rem;
}

.simple-social-icons ul li a:hover, .simple-social-icons ul li a:focus {
    color: #c0c0c0;
}

.footer-logo .site-title,
.footer-logo .site-description {
    clip: inherit;
    margin-bottom: 0;
    position: relative;
}

/*--------------------------------------------------------------
##Back to top
--------------------------------------------------------------*/
#scroll-up {
    position: fixed;
    z-index: 8000;
    bottom: 45px;
    right: 15px;
    display: none;
    width: 48px;
    height: 48px;
    font-size: 24px;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#scroll-up:hover,
#scroll-up:focus {
    background-color: #373737;
    color: #fff;
    line-height: 45px;
}

#scroll-up:hover i,
#scroll-up:focus i {
    display: block;
}

@media only screen and (max-width: 767px) {
    #scroll-up {
        right: 20px;
        bottom: 20px;
    }
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.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;
}

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

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: block;
    float: left;
    width: 100%;
    padding: 0 5px;
    position: relative;
    margin-bottom: 20px;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1) {
    clear: left;
}

.gallery-columns-3 .gallery-item {
    width: 33.33%;
}

.gallery-columns-3 .gallery-item:nth-child(3n+1) {
    clear: left;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery-columns-4 .gallery-item:nth-child(4n+1) {
    clear: left;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
}

.gallery-columns-5 .gallery-item:nth-child(5n+1) {
    clear: left;
}

.gallery-columns-6 .gallery-item {
    width: 16.66%;
}

.gallery-columns-6 .gallery-item:nth-child(6n+1) {
    clear: left;
}

.gallery-columns-7 .gallery-item {
    width: 14.28%;
}

.gallery-columns-7 .gallery-item:nth-child(7n+1) {
    clear: left;
}

.gallery-columns-8 .gallery-item {
    width: 12.5%;
}

.gallery-columns-8 .gallery-item:nth-child(8n+1) {
    clear: left;
}

.gallery-columns-9 .gallery-item {
    width: 11.11%;
}

.gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: left;
}

.gallery-caption {
    display: block;
    background: #000;
    background: rgba(0, 0, 0, .74);
    color: #fff;
    font-size: 85%;
    line-height: 1.22857143;
    position: absolute;
    bottom: 0;
    left: 5px;
    right: 5px;
    padding: 15px;
    text-align: left;
}

.widget .gallery-caption {
    display: none;
    visibility: hidden;
    opacity: 0;
}

@media only screen and (max-width: 991px) {
    body .gallery:not(.gallery-columns-1) .gallery-item {
        width: 50%;
        clear: none !important;
    }

    body .gallery:not(.gallery-columns-1) .gallery-item:nth-child(2n+1) {
        clear: left !important;
    }
}

@media only screen and (max-width: 640px) {
    body .gallery:not(.gallery-columns-1) .gallery-item {
        float: none;
        margin-left: auto;
        margin-right: auto;
        max-width: 290px;
        width: 100%;
    }
}

.nav-links .page-numbers {
    background: transparent;
    display: block;
    float: left;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #ccc;
    margin-right: 7px;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 700;
}

.recent-blog {
    margin: 50px auto;
}

.recent-widget-list {
    margin: 0 auto;
    padding: 0;
}

/*Responsive fixes*/

@media only screen and (max-width: 1400px) {
    .page-inner-title .entry-header .entry-title {
        font-size: 42px;
    }

    .site-branding .site-title {
        font-size: 48px;
    }
}

@media only screen and (max-width: 991px) {
    .page-inner-title .entry-header .entry-title {
        font-size: 38px;
    }

    .site-branding .site-title {
        font-size: 44px;
    }

    .footer-bottom .row-table [class*="col-"] {
        display: block;
        float: left;
    }

    .footer-bottom .social-icons ul {
        text-align: center;
        width: 100%;
    }

    .footer-bottom .social-icons ul li {
        display: inline-block;
        float: none;
    }

    .footer-logo {
        margin: 30px auto;
    }

    .footer-bottom .site-copyright {
        text-align: center;
    }

}

@media only screen and (max-width: 767px) {
    .page-inner-title .entry-header .entry-title {
        font-size: 32px;
    }

    .site-branding .site-title {
        font-size: 38px;
    }

    .top-bar .social-icons ul {
        background: #f6f6f6;
        border-width: 0 1px 1px 1px;
        border-style: solid;
        border-color: #e4e4e4;
    }

    .top-bar .social-icons ul li a:after,
    .top-bar .widget .social-widget-menu ul a:before {
        width: 40px;
    }

    .top-bar .social-icons ul li:first-child {
        border-left: 0;
    }

    .top-bar .social-icons ul li:last-child {
        border-right: 0;
    }

    body .social-icons ul {
        text-align: center;
    }

    body .social-icons ul li {
        display: inline-block;
        float: none;
    }

    .slide-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 40px;
        margin-top: -20px;
    }

    .slide-icon:before {
        line-height: 40px;
    }

    .slider-figcaption {
        padding-left: 15px;
        padding-right: 15px;
    }

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

time.updated {
    display: none;
}

.tm-social-share {
    position: relative;
}

@media only screen and (max-width: 640px) {
    .top-bar:before {
        left: 0;
        top: 40px;
    }

    .news {
        width: 100%;
    }
}

figure,
figcaption {
    outline: none !important;
}

.top-bar,
.top-bar .social-icons ul li,
.top-bar .social-icons ul li:last-child,
.top-bar .icon-search .search-form,
.navigation-area,
.pro-banner {
    border-color: #e4e4e4;
}

.comments-tabbed--list figure.article-thumbmnail {
    float: left;
}

.error-404 {
    text-align: center;
    padding: 50px 0 150px;
}

.error-404 h3 {
    text-transform: uppercase;
    max-width: 700px;
    margin: 20px auto;
    line-height: 1.6;
}

.footer-logo .site-title {
    text-transform: uppercase;
    font-size: 42px;
    line-height: 1.2;
}

@media only screen and (max-width: 480px) {
    body .slider-figcaption {
        bottom: 0;
        max-width: 280px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .widget.perfect_magazine_widget_tabbed ul.nav-tabs li a {
        font-size: 12px;
    }
}

.site-branding .site-description,
.main-navigation .menu ul li a {
    letter-spacing: 2px;
}

.entry-content {
    position: relative;
}

@media only screen and (min-width: 1200px) {
    .single .entry-content:before,
    .page .entry-content:before {
        font-weight: bold;
        font-family: 'Playfair Display', serif;
        text-transform: uppercase;
        content: attr(data-initials);
        position: absolute;
        top: -0.21818em;
        left: -0.45818em;
        display: block;
        font-size: 10.27778em;
        line-height: 1;
        color: #171617;
        opacity: .1;
    }

    .tm-slider-widget .slider-figcaption {
        margin-top: -40px;
    }
}

.grid-description {
    margin-top: 15px;
}

/*Gutenberg Fix*/
.wp-block-gallery {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.wp-block-quote {
    margin: 30px 0 30px 0 !important;
    padding: 50px !important;
    font-size: 15px;
    font-style: normal;
    text-align: left;
    quotes: none;
    box-sizing: border-box;
    font-weight: 400;
    position: relative;
    border-left: 0 !important;
    background: #f5f5f5;
}

.wp-block-quote:before,
.wp-block-quote:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 0;
}

.wp-block-quote:before {
    background-image: url(assets/images/icons/icon-quote-top.svg);
    top: 10px;
    left: 40px;
    color: #fff;
}

.wp-block-quote:after {
    background-image: url(assets/images/icons/icon-quote-down.svg);
    right: 40px;
    bottom: 0;
}

.wp-block-quote cite {
    font-size: 12px;
    font-style: normal;
}

.wp-block-quote.is-style-large {
    margin-bottom: 23px;
    margin-top: 0 !important;
}

.wp-block-quote.is-style-large p {
    font-size: 24px !important;
    line-height: 1.5 !important;
}

.wp-block-quote p {
    line-height: 25px !important;
}

@media only screen and (min-width: 768px) {
    .alignfull {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: auto;
        max-width: 1000%;
    }

    .alignwide {
        margin-left: calc(25% - 25vw);
        margin-right: calc(25% - 25vw);
        width: auto;
        max-width: 1000%;
    }

    .alignwide img,
    .alignfull img {
        display: block;
        margin: 0 auto;
    }
}

.wp-block-gallery.columns-1 {
    display: block;
}

ul.wp-block-gallery.columns-1,
.wp-block-gallery .blocks-gallery-grid,
.wp-block-gallery {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

ul.trail-items li:last-child a {
    color: #000;
    cursor: default;
    pointer-events: none;
}

@media only screen and (min-width: 1200px) {
    .site-header.nav-affix .navigation-area {
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
}

.slider-aside-item-container {
	display: flex;
flex-direction: column;
}
.social-icons ul li a::after, .widget .social-widget-menu ul a::before {
	 float: none; 
}
.social-icons ul {
	text-align: left;
}
figure {
	margin: 0;
}
@media only screen and (max-width: 991px) {
.news-ticker {
	max-width: 100vw;
	width:80%;
	margin:auto;
	display:block;
}
}