/*
Theme Name: Polite
Theme URI: https://www.templatesell.com/item/polite-minimal-blog-wordpress-theme/
Author: templatesell
Author URI: https://www.templatesell.com/
Description: A perfect theme for blog and magazine site. With masonry layout and multiple blog page layout, this theme is the awesome and minimal theme. This theme has search option, off-canvas sidebar, multiple sidebar options, footer options, featured slider, promo boxed, footer masonrys and many more. Besides that, this theme comes with added custom masonrys for author information, featured posts, social icons, etc. It comes with primary color option to change the whole site color with a single click. More Details: https://www.templatesell.com/item/polite-minimal-blog-wordpress-theme/
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polite
Tags: custom-background, custom-header, one-column, two-columns, three-columns, custom-logo, custom-menu, featured-images, translation-ready, blog, news

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

Polite is free WordPress theme by, Template Sell.
Polite is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

*/

/**
 * 1.0 - General styles (body, headings, links, tags, margins, etc.)
 * -------------------------------------------------------------
 */

/* body */
body {
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    font-family: "Meiryo", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-weight: normal;
    color: #333;
    background: #f5f5f9;
    /* Fallback for when there is no custom background color defined. */
}

h2 {
    font-size: 26px;
    line-height: 1.3;
    font-weight: normal;
    margin: 0 0 10px;
    padding: 0;
    color: #333;
}

h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: bold;
    margin: 0 0 10px;
    padding: 0;
    color: #007b8e;
}

p {
    font-size: 16px;
    line-height: 30px;
    font-weight: normal;
    margin: 10px 0;
    padding: 0;
    color: #333;
}

/*================================
    NEW
==================================*/
/* title */
h3.post-title,
h3.post-title a,
h3.post-title a:hover,
h3.post-title a:focus {
    color: #007b8e;
}
/* btn */
.more-btn{
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
}
a.more-btn {
    color: #007b8e;
}
a.more-btn:hover {
    font-weight: bold;
}
.more-btn:before {
    content: "";
    background-color: #17a2b8;
    width: 40px;
    height: 1px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    -webkit-transition: 0.2;
    -o-transition: 0.2;
    transition: 0.2;
}
#primary .type-post.status-publish.format-standard.hentry .post-wrap .post-content h1 {
    font-size: 26px;
    font-weight: normal;
    color: #333;
    margin: 0 0 10px;
    padding: 0 0 0 42px;
    line-height: 1.3;
    background: url(../wp-content/uploads/2020/05/school.png) no-repeat left bottom;
    border-bottom: solid 1px #17a2b8;
}
#primary .type-post.status-publish.format-standard.hentry .post-wrap .post-content h2 {
    font-size: 22px;
    font-weight: bold;
    color: #007b8e;
}

/* links */
a {
    color: #333;

    -webkit-transition: color 0.2s ease, background-color 0.2s ease;
    -moz-transition: color 0.2s ease, background-color 0.2s ease;
    -o-transition: color 0.2s ease, background-color 0.2s ease;
    transition: color 0.2s ease, background-color 0.2s ease;
}
a:focus {}
a:hover {
    color: #007b8e;
}

/* H1 - H6 */
h4,
h5,
h6 {
    margin: 0 0 15px;
    font-family: 'Prata', serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
}
h4,
.h4 {
    font-size: 20px;
}
h5,
.h5 {
    font-size: 17px;
}
h6,
.h6 {
    font-size: 15px;
}

/* tags */
button {
    -webkit-transition: color 0.2s ease, background 0.2s ease;
    -moz-transition: color 0.2s ease, background 0.2s ease;
    -o-transition: color 0.2s ease, background 0.2s ease;
    transition: color 0.2s ease, background 0.2s ease;
}
dl {
    margin: 0 0 15px;
}
dl dt {
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.7;
}
dl dd {
    margin: 0 0 15px;
    padding: 0 0 0 15px;
    line-height: 1.7;
}
dl dd:last-child {
    margin-bottom: 0;
}
address {
    display: block;
    margin: 0 0 15px;
    font-style: italic;
}
sup,
sub {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
abbr {
    text-decoration: none;
    border-bottom: 1px dotted #4c4f53;
    cursor: help;
}
acronym {
    text-decoration: none;
    border-bottom: 1px dashed #4c4f53;
    cursor: help;
}
big {
    text-transform: uppercase;
    font-size: larger;
}
cite {
    font-style: italic;
    border: none;
}
code,
kbd,
tt {
    padding: 4px 5px;
    font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
    font-size: 15px;
    color: #4c4f53;
    background-color: #f7f8f8;
    border-radius: 0;
}
kbd {
    box-shadow: none;
}
s,
strike,
del {
    text-decoration: line-through;
}
pre {
    display: inline-block;
    width: 100%;
    font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
    font-size: 15px;
    line-height: 1.35;
    overflow: auto;
    white-space: pre;
    margin: 5px 0 13px;
    padding: 21px 30px;
    background-color: #f7f8f8;
    color: #4c4f53;
    border: none;
    border-radius: 0;
}
var {
    font-style: italic;
    font-weight: 700;
}
strong,
b {
    font-weight: 700;
}
em,
q {
    font-style: italic;
}
ins {
    text-decoration: none;
    border-bottom: 2px solid #4c4f53;
}
legend {
    margin-bottom: 15px;
    padding-bottom: 5px;
    font-size: 22px;
    font-weight: 700;
    color: #2f3235;
    border-bottom: 1px solid #eeefef;
}
hr {
    margin-top: 25px;
    margin-bottom: 25px;
    border-color: #eeefef;
}
blockquote {
    position: relative;
    margin: 0 0 40px;
    padding: 0 0 0 60px;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-style: normal;
    line-height: 1.65;
}
blockquote:before {
    position: absolute;
    top: -4px;
    left: -4px;
    z-index: 0;
    font-family: 'Playfair Display', serif;
    content: '\201c';
    font-size: 120px;
    font-style: normal;
    line-height: 0.79;
    color: #ffffff;
}
blockquote footer:before,
blockquote small:before,
blockquote .small:before {
    content: '';
}
blockquote p {
    margin-bottom: 20px!important;
}
blockquote p:last-child {
    margin-bottom: 0 !important;
}
blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.3;
    text-align: left;
    color: #4c4f53;
}
ul {
    list-style: disc;
    margin: 0;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
    padding-left: 10px;
}
img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
}

figure {
    margin:0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 0 30px;
    width: 100%;
}

td,
th {
    border: 1px solid #e7e7e7;
    padding: 7px 0;
    text-align: center;
}

/* text-align */
.aligncenter {
    text-align: center;
}
.alignright {
    text-align: right;
}
.alignleft {
    text-align: left;
}

/* float */
.floatleft {
    float: left;
}
.floatright {
    float: right;
}

/* font-width; !important - it is used to change a current "font-width" value */
.fw-300 {
    font-weight: 300 !important;
}
.fw-400 {
    font-weight: 400 !important;
}
.fw-500 {
    font-weight: 500 !important;
}
.fw-600 {
    font-weight: 600 !important;
}
.fw-700 {
    font-weight: 700 !important;
}

/* padding (none; 0); !important - it is used to change a current "padding-*" value */
.pt-none {
    padding-top: 0 !important;
}
.pb-none {
    padding-bottom: 0 !important;
}
.pr-none {
    padding-right: 0 !important;
}
.pl-none {
    padding-left: 0 !important;
}

/* margin (none; 0); !important - it is used to change a current "margin-*" value */
.mt-none {
    margin-top: 0 !important;
}
.mb-none {
    margin-bottom: 0 !important;
}
.mr-none {
    margin-right: 0 !important;
}
.ml-none {
    margin-left: 0 !important;
}

/* word-break */
.break-word {
    word-wrap: break-word;
}

/* overflow */
.o-hidden {
    overflow: hidden;
}

/* override Bootstrap's default container */
@media (min-width: 1200px) {
/*    .container {
        width: 1030px;
    }*/
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

.top-bar-area {
    background: #fff none repeat scroll 0 0;
    padding: 3px 0px;
    position: relative;
    border-bottom: 1px solid #fafafa;
}
.top-bar-area .left-side{
  float: left;
}
.top-bar-area .right-side{
  float: right;
}
.top-menu > ul > li > a{
    font-size: 12px;
    line-height: 40px;
}
.top-menu  > ul {
    display: block !important;
    padding: 0;
    font-size: 0;
    margin:0;
}
.top-menu  > ul > li {
    display: inline-block;
}
.top-menu  ul li {
    position: relative;
}
.top-menu > ul > li > a {
    display: block;
    vertical-align: middle;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: #4c4f53;
    padding: 0 15px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.top-menu  > ul > li:first-child > a {
    padding-left:0;
}
.top-menu  > ul > li:last-child > a {
    padding-right:0;
}
.top-menu  > ul > li > ul{
    display: none;
}

.menu-area .left-side{
  float: left;
}
.menu-area .right-side{
  float: right;
}
/**
 ##Search (dropdown search form)
 * ------------------------------------------------------------- */
 .search-wrapper{
    position: relative;
    float: right;
    padding-left: 30px;
}
 .search-box-text {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1002;
    width: 320px;
    height: auto;
    padding: 25px 30px;
    background-color: #ffffff;
    box-shadow: 0 14px 28px -4px rgba(14,17,20,0.35);
    display: none;
}
.search-box-text:after {
    content: '';
    position: absolute;
    z-index: 1002;
    right: 20px;
    bottom: 100%;
    margin-bottom: -1px;
    border: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
}
.masonry .search-form,
.search-wrapper .search-form{
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
}
.masonry .search-form label,
.masonry .search-form .search-submit,
.search-wrapper .search-form label,
.search-wrapper .search-form .search-submit{
    display: table-cell;
}
.masonry .search-field,
.search-wrapper .search-field{
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
.masonry .search-field,
.search-wrapper .search-field {
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    color: #4c4f53;
    background: #f7f8f8;
    border: 1px solid #f7f8f8;
    border-right: 0;
    height: 45px;
    padding: 10px 15px;
    border-radius: 0;
    box-shadow: none !important;
}
.search-field::-webkit-input-placeholder {
    color: #4c4f53;
}
.search-field:-moz-placeholder {
    color: #4c4f53;
}
.search-field:-ms-input-placeholder {
    color: #4c4f53;
}
.masonry .search-form .search-submit,
.search-wrapper .search-form .search-submit {
    white-space: nowrap;
    vertical-align: middle;
    height: 45px;
    float: right;
    border: 1px solid #f7f8f8;
    background: #efefef;
    padding: 0 15px;
    margin-left: -1px;
    color: #6f6f6f;
    width: 100%;
}
.second_click {
    display:none;
    position: relative;
    z-index: 999999999;
}
.hide-show .second_click {
    display: block !important;
}
.hide-show .first_click {
    display: none !important;
}
.search_box{
    display: block!important;
}
.search-box i {
    line-height: 56px;
    padding: 15px 0;
    cursor: pointer;
    width: 40px;
    text-align: center;
}

/*
# Top Social
 ----------------------------------------*/

.social-links ul {
    margin: 0;
    padding: 0;
}

.social-links ul li {
    display: inline;
    padding: 0 5px;
}

.social-links ul li a {
    font-size: 0;
    color: transparent;
    line-height: 40px;
}

.social-links ul li a:hover {
    color: #54be73
}

.social-links li:last-child {
    margin-right: 0;
}

.social-links ul li a:before {
    content: "";
    font-family: FontAwesome, sans-serif;
    font-size: 14px;
    padding: 10px 5px;
    transition: color 0.3s ease-in-out 0s;
    vertical-align: middle;
    line-height: 12px;
    color: #68686d;
    display: inline-block;
    border: 0;
    border-radius:0;
}
.social-links ul li:hover a:before{
    opacity: .6;
}
.social-links ul li a[href*="facebook.com"]:before {
    content: "\f09a";
}

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

.social-links ul li a[href*="linkedin.com"]:before {
    content: "\f0e1";
}

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

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

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

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

.social-links ul li a[href*="bitbucket.org"]:before {
    content: "\f171";
}

.social-links ul li a[href*="github.com"]:before {
    content: "\f113";
}

.social-links ul li a[href*="codepen.io"]:before {
    content: "\f1cb";
}

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

.social-links ul li a[href$="/feed/"]:before {
    content: "\f09e";
}

.social-links ul li a[href*="foursquare.com"]:before {
    content: "\f180";
}

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

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

.social-links ul li a[href*="reddit.com"]:before {
    content: "\f1a1";
}

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

.social-links ul li a[href*="digg.com"]:before {
    content: "\f1a6";
}

.social-links ul li a[href*="twitch.tv"]:before {
    content: "\f1e8";
}

.social-links ul li a[href*="stumbleupon.com"]:before {
    content: "\f1a4";
}

.social-links ul li a[href*="delicious.com"]:before {
    content: "\f1a5";
}

.social-links ul li a[href*="mailto:"]:before {
    content: "\f0e0";
}

.social-links ul li a[href*="skype.com"]:before {
    content: "\f17e";
}

.social-links ul li a[href*="dribble.com"]:before {
    content: "\f17d";
}


/***
====================================================================
## Main Menu
====================================================================
***/

.main-header,
.main-header * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.main-header .container{
    position: relative;
}

.main-header:before,
.main-header:after,
.main-header *:before,
.main-header *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.main-header {
    z-index: 200;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.main-header img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.main-header a:hover,
.main-header a:focus,
.main-header a:active {
    text-decoration: none;
}

.main-header a:focus,
.main-header a:active {
    outline: none;
}

.main-header-container {
    position: relative;
}

.main-header-overlay .main-header-container {
    position: inherit;
}

.main-header .logo {
    position: relative;
    padding: 15px 0;
    text-align: center;
    line-height: 56px;
}
.main-header .logo p,
.main-header .logo h1{
    margin: 0;
    padding: 0;
    line-height: normal;
}

.main-header .logo img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.header-default .bar-menu {
    position: absolute;
    top: 35px;
    right: 70px;
    width: 20px;
    height: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;

    -webkit-transition: transform 330ms ease-out;
    -moz-transition: transform 330ms ease-out;
    -o-transition: transform 330ms ease-out;
    transition: transform 330ms ease-out;
}

.header-default .bar-menu.menu-open {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.header-default .line-menu {
    background-color: #111111;
    border-radius: 2px;
    width: 100%;
    height: 3px;
}

.header-default .line-menu.line-half {
    width: 50%;
}

.header-default .line-menu.first-line {
    transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
    transform-origin: right;
}

.header-default .menu-open .line-menu.first-line {
    -webkit-transform: rotate(-90deg) translateX(3px);
    -moz-transform: rotate(-90deg) translateX(3px);
    -o-transform: rotate(-90deg) translateX(3px);
    transform: rotate(-90deg) translateX(3px);
}

.header-default .line-menu.last-line {
    align-self: flex-end;
    transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
    transform-origin: left;
}

.header-default .menu-open .line-menu.last-line {
    -webkit-transform: rotate(-90deg) translateX(-3px);
    -moz-transform: rotate(-90deg) translateX(-3px);
    -o-transform: rotate(-90deg) translateX(-3px);
    transform: rotate(-90deg) translateX(-3px);
}

.main-menu ul {
    display: none;
    margin: 20px 0 10px;
    padding: 0;
}

.main-menu ul li {
    list-style: none;
    display: inline;
    margin: 0;
    padding: 15px 30px;
    background: #17a2b8;
}

.main-menu ul li > a {
    font-size: 16px;
    color: #fff;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.main-menu ul li > a:hover {
    border: solid 1px #fff;
    padding: 5px 10px;
}
.main-menu ul li.current-menu-item > a {}

.main-menu ul ul li > a {
    font-size: 14px;
    font-style: normal;
    text-transform: inherit;
    background-color: #efefef;
    padding: 14px 15px 14px 30px;
}

.main-menu ul ul ul li > a {
    padding: 14px 15px 14px 45px;
}

.main-menu ul ul li:hover > a {
    background-color: #efefef;
}


.main-menu li > ul {
    display: none;
}
.main-header .head_two {
    margin: 100px 0 0;
    padding: 10px;
}
.main-header .head_two .key-caret {
    background-color: rgba(0, 0, 0, 0.5);
    border: solid 1px rgba(255, 255, 255, 0.5);
    padding: 5px 20px;
}
.main-header .head_two .key-caret p{
    color: #fff;
}
@media (min-width: 768px) {

    .header-default .main-header .logo {
        float: left;
    }
    .main-menu {
        clear: both;
    }
    .main-header-overlay .logo {
        left: 30px;
    }
    .main-header-overlay .bar-menu {
        right: 30px;
    }
    .main-menu-overlay > ul > li {
        padding: 0 110px 0 30px;
        margin-bottom: 16px;
    }


}

@media (min-width: 992px) {

    /* =============================================
    Viewport Breakpoint
    ================================================ */    
    .main-menu > ul {
        display: block !important;
        padding: 0;
    }
    .main-header-container {
        height: 90px;
    }
    .main-header-overlay .main-header-container {
        height: auto;
    }
    .main-header .logo {
        position: relative;
    }
    .main-header .logo img {
        max-width: inherit;
        max-height: 90px;
        width: auto;
    }
    .header-default .bar-menu {
        display: none;
    }
    .main-menu {
        float: right;
        clear: inherit;
    }
    /*.main-menu > ul {
        display: block;
        margin: 0;
        padding: 0;
    }
    .main-menu > ul > li {
        display: inline-block;
        position: relative;
        margin: 0;
    }
    .main-menu > ul > li > a {
        font-size: 16px;
        font-weight: normal;
    }
    .main-menu > ul > li:last-child > a {
        padding: 0 0 0 20px;
    }
    .main-menu ul li.current-menu-item > a,
    .main-menu ul li:hover > a {
        background-color: inherit;
    }*/
    .dropdown-plus {
        display: none;
    }
    .main-menu ul li.dropdown_menu > a > span:before {
        border-style: solid;
        border-width: 2px 2px 0 0;
        border-color: #c1c1c1;
        position: relative;
        content: '';
        display: inline-block;
        height: 4px;
        width: 4px;
        top: -3px;
        margin-left: 8px;
        box-sizing: content-box;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .main-menu li > ul {
        display: block !important;
        position: absolute;
        width: 250px;
        top: 100%;
        left: 0;
        background-color: #fff;
        padding: 27px 0;
        visibility: hidden;
        opacity: 0;
        z-index: 1;
        -webkit-box-shadow: 0px 12px 30px -2px rgba(0,0,0,0.1);
        -moz-box-shadow: 0px 12px 30px -2px rgba(0,0,0,0.1);
        -o-box-shadow: 0px 12px 30px -2px rgba(0,0,0,0.1);
        box-shadow: 0px 12px 30px -2px rgba(0,0,0,0.1);

        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }
    .main-menu li:hover > ul {
        visibility: visible;
        opacity: 1;
    }
    .main-menu li.submenu-right > ul {
        left: inherit;
        right: 0;
    }
    .main-menu li > ul ul {
        top: -27px;
        left: 100%;
    }
    .main-menu li.submenu-right > ul ul {
        left: -100% !important;
    }
    .main-menu ul ul li.dropdown_menu > a > span:before {
        float: right;
        top: 7px;
        right: -10px;
        margin: 0;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .main-menu ul ul li > a {
        position: relative;
        color: #818181;
        padding: 9px 35px 7px !important;
    }
    .main-menu ul ul li > a,
    .main-menu ul ul li:hover > a {
        color: #818181;
        background-color: transparent;
        text-align: left;
    }

    .main-menu ul ul li:hover > a {
        padding-left: 55px !important;
    }
    .main-menu ul ul li > a:before {
        position: absolute;
        content: "";
        top: 17px;
        left: 35px;
        width: 0;
        height: 1px;
        background: #a1a1a1;

        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
    }
    .main-menu ul ul li:hover > a:before {
        width: 10px;
    }
    .main-menu ul li.dropdown_menu > a > span {
        display: none;
    }
    .main-menu.menu-caret ul li.dropdown_menu > a > span {
        display: inline-block;
    }
    .main-menu.menu-caret ul ul li.dropdown_menu > a > span {
        display: inline;
    }
    .main-menu.separate-line > ul > li > a {
        position: relative;
    }
    .main-menu.separate-line > ul > li > a:before {
        position: absolute;
        content: "";
        top: 50%;
        right: 0;
        width: 1px;
        height: 20px;
        background: #eeeeee;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .main-menu.separate-line > ul > li:last-child > a:before {
        display: none;
    }
    .main-menu.separate-line > ul > li > a {
        padding: 0 28px;
    }
    .main-menu.separate-line > ul > li:last-child > a {
        padding: 0 0 0 28px;
    }

    /* =============================================
    Header sticky
    ================================================ */
    .main-header{
        -webkit-transition: all 0.5s ease;
        -moz-transition: position 10s;
        -ms-transition: position 10s;
        -o-transition: position 10s;
        transition: all 0.5s ease;
    }
    .main-header.sticky {
        top: 0;
        position: fixed;
        width: 100%;
        z-index: 100;
        animation: smoothScroll 1s forwards;
    }
    @keyframes smoothScroll {
        0% {
            transform: translateY(-40px);
        }
        100% {
            transform: translateY(0px);
        }
    }


    /* =============================================
    Submenu
    ================================================ */
    .main-menu.submenu-top-border li > ul {
        border-top: 3px solid #007b8e;
    }
    .main-menu.submenu-top-border li > ul ul {
        top: -30px;
    }
    .main-menu.submenu-list-border li > ul ul {
        top: -20px;
    }
    .main-menu.submenu-top-border.submenu-list-border li > ul ul {
        top: -23px;
    }
    .main-menu.submenu-list-border ul ul li > a {
        padding: 15px 35px 14px !important;
    }
    .main-menu.submenu-list-border ul ul li:first-child > a {
        padding: 8px 35px 14px 35px !important;
    }
    .main-menu.submenu-list-border ul ul li:last-child > a {
        padding: 15px 35px 8px 35px !important;
    }
    .main-menu.submenu-list-border ul ul li:after {
        position: absolute;
        content: "";
        bottom: 0;
        left: 35px;
        right: 35px;
        height: 1px;
        background: #eeeeee;
    }
    .main-menu.submenu-list-border ul ul li:last-child:after {
        display: none;
    }
    .main-menu.submenu-list-border ul ul li:hover > a {
        padding-left: 55px !important;
    }
    .main-menu.submenu-list-border ul ul li:nth-child(n+2) > a:before {
        top: 24px;
    }
    .header-dark .main-menu.submenu-list-border ul ul li:after {
        background: #333333;
    }

    /* =============================================
    Submenu transitions
    ================================================ */
    .main-menu.submenu-flip li > ul {
        -webkit-transition: all 0.35s ease-in-out;
        -moz-transition: all 0.35s ease-in-out;
        -o-transition: all 0.35s ease-in-out;
        transition: all 0.35s ease-in-out;

        -webkit-transform: rotateX(-90deg);
        -moz-transform: rotateX(-90deg);
        -o-transform: rotateX(-90deg);
        transform: rotateX(-90deg);

        -webkit-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;

        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -o-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    .main-menu.submenu-flip li:hover > ul {
        -webkit-transform: rotateX(0deg);
        -moz-transform: rotateX(0deg);
        -o-transform: rotateX(0deg);
        transform: rotateX(0deg);
    }
    .main-menu.submenu-flip ul {
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-perspective: 200px;
        -ms-perspective: 200px;
        perspective: 200px;
    }
    .main-menu.submenu-flip ul li {
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-perspective: 200px;
        -ms-perspective: 200px;
        perspective: 200px;
    }
    .main-menu.submenu-scale li > ul {
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;

        -webkit-transform: scale(0);
        transform: scale(0);

        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
    }
    .main-menu.submenu-scale li.submenu-right ul {
        -webkit-transform-origin: 100% 0;
        transform-origin: 100% 0;
    }
    .main-menu.submenu-scale li:hover > ul {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

}
@media (max-width: 767px) {
    .main-menu > ul > li > a {
        line-height: normal!important;
    }
    .no-sidebar article.masonry-post {
        width: 100%!important;
    }
}


.mobile-menu {
    display: block;
    width: 20px;
    padding: 21px 0;
    margin: 0;
    float: left;
    position: relative;
    z-index: 2;
    background: none;
    border: none;
}
.mobile-menu:before,
.mobile-menu:after {
    content: '';
    display: block;
    background: #333;
    height: 2px;
}
.mobile-menu span {
    background: #333;
    display: block;
    height: 2px;
    margin: 6px 0;
}
div#MobileMenu {
    background: #fff;
}
div#MobileMenu {
    display: inline-block;
    padding: 0 15px;
    line-height: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #111111;
    margin: 0;
    position: relative;
    -webkit-transition: 350ms;
    -moz-transition: 350ms;
    -o-transition: 350ms;
    transition: 350ms;
    font-family: 'Roboto', sans-serif;
}


/*==============================================================
## Header Type CSS
================================================================*/
/*## Header Images*/
.header-image {
    padding: 0 0 10px;
    position: relative;
}
.header-image .search-box i {
    color: #fff;
}

.header-image .container {
    z-index: 2;
}

.header-image:after {
    position: absolute;
    content: "";
    background: rgba(0, 0, 0, 0.4);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.header-image.sticky {
    padding: 5px 0;
    /*background: #fff!important;*/
}
.header-image.sticky:after{
    background: rgba(0, 0, 0, 0.8);
}

/*====================================================
## Header One
=======================================================*/

.header-1 #site-navigation{
    position: relative;
}
.header-1 .bar-menu{
    display: none;
}
.header-1 .head_one .logo{
    margin: auto;
    max-width: 300px;
    text-align: center;
    padding: 0 0 50px;
    float: none;
}
.header-1 .search-box i {
    line-height: 30px;
}
.header-1 .sticky .head_one{
    display: none;
}
.header-1 .main-menu{
    float: none;
    max-width: 100%;
    text-align: center;
    margin: auto;
}
@media (min-width: 1200px){
    .header-1 .main-menu {
        float: none;
        text-align: center;
    }
    /*.header-1 .main-menu > ul > li > a {}
    .header-1 .main-menu > ul > li:first-child > a{}*/
}
@media (max-width: 1200px) {    
    .main-menu ul li {
        padding: 15px 12px;
    }
}
@media (max-width: 991px){
    .header-1 .search-box i {
        line-height: 35px;
    }
    .header-1 .search-wrapper {
        right: auto;
        position: relative;

    }
    .header-1 .bar-menu {
        left: auto;
        position: relative;
        right: auto;
        margin: auto;
        top: auto;
        line-height: 68px;
        display: block;
        text-align: center;
        cursor: pointer;
        background: none;
        border: none
    }
    .header-1 .main-menu ul {
        width: 100%;
        background: #fff;
        top: 67px;
        text-align: left;
        left: 0;
        margin: 0;
        z-index: 300;
    }
    .header-1 .bar-menu.menu-open {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    .masonry-wrap .col-md-5 .caption {
        padding: 20px 0!important;
    }
    .sidebar-3 .masonry {
        margin-top: 50px;
        padding: 0!important;
    }
}

/*======================================
## Two
========================================*/
.header-2 .menu-area{
    position: relative;
}
.header-2 .head_two{
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
}
.header-2 .head_two .logo{
    max-width: 300px;
    text-align: left;
    padding: 20px 0;
    float: none;
}
.header-2 .bar-menu {
    position: absolute;
    top: 35px;
    right: 70px;
    width: 20px;
    height: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    -webkit-transition: transform 330ms ease-out;
    -moz-transition: transform 330ms ease-out;
    -o-transition: transform 330ms ease-out;
    transition: transform 330ms ease-out;
}

.header-2 .bar-menu.menu-open {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.header-2 .line-menu {
    background-color: #111111;
    border-radius: 2px;
    width: 100%;
    height: 3px;
}

.header-2 .line-menu.line-half {
    width: 50%;
}

.header-2 .line-menu.first-line {
    transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
    transform-origin: right;
}

.header-2 .menu-open .line-menu.first-line {
    -webkit-transform: rotate(-90deg) translateX(3px);
    -moz-transform: rotate(-90deg) translateX(3px);
    -o-transform: rotate(-90deg) translateX(3px);
    transform: rotate(-90deg) translateX(3px);
}

.header-2 .line-menu.last-line {
    align-self: flex-end;
    transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
    transform-origin: left;
}

.header-2 .menu-open .line-menu.last-line {
    -webkit-transform: rotate(-90deg) translateX(-3px);
    -moz-transform: rotate(-90deg) translateX(-3px);
    -o-transform: rotate(-90deg) translateX(-3px);
    transform: rotate(-90deg) translateX(-3px);
}
.header-2 .search-box i {
    line-height: 30px;
}
.header-2 .sticky .head_two{
    display: none;
}

@media (min-width: 1200px){
    .header-2 .main-menu {
        float: left;
    }
    .header-2 .main-menu > ul > li > a {
        line-height: 60px;
    }
    .header-2 .main-menu > ul > li:first-child > a{
        padding-left: 0;
    }
}
@media (max-width: 767px){
    .header-2 .main-header .container {
        position: inherit;
    }
    .header-2 .search-box i {
        line-height: 56px;
    }
    .header-2 .search-wrapper {
        right: 10px;
        position: inherit;
    }
    .header-2 .bar-menu {
        left:15px;
    }
    .header-2 .head_two .logo{
        text-align: center;
        max-width:inherit;
    }
}
.header-2 .advertise-img{
    padding: 20px 0;
}


/*==============================================================
## Main Banner CSS
================================================================*/
section.masonry-wrapper {
    position: relative;
    /* margin-top: 50px; */
    background: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}
.masonry-height{
  height: 665px;
  position: relative;
}
.img-cover{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.caption{
    position: relative;
    z-index: 5;
}
.caption span i{
  margin-right: 5px;
}
.caption .s-cat{
    color: #959595;
    z-index: 3;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    border-radius: 1px;
    padding: 20px 0;
    line-height: normal;
    position: relative;
}

.align-items-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.d-flex {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
}

.overley {
    background: rgba(0,0,0,.3);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.overley:after {
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.75));
}
.bottom-caption {
    position: absolute;
    bottom: 10%;
    width: 100%;

}
.bottom-caption .slider-items{
    position: relative;
    padding: 30px 0 10px 80px;
    cursor: pointer;
}
.bottom-caption .slider-items span{
    position: absolute;
    width: 70px;
    height: 70px;
    left: 0;
    top: 20px;
    border-radius: 100%;
    text-align: center;
    line-height: 70px;
    font-size: 30px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    border: 2px solid #eee;
    background: rgba(0, 0, 0, 0.37);
}
.bottom-caption .slider-items a,
.bottom-caption .slider-items h4 {
    color: #fff;
}

/**
## slider Boxed
**/
.boxed {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 30px;
}
@media (min-width: 768px) {
  .boxed {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .boxed {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .boxed {
    width: 1170px;
  }
}
.bottom-caption .boxed {
    padding: 0 50px;
}
/**
## slider Two
**/
.masonry-wrap{
    display: table;
    width: 100%;
    border: 1px solid rgba(23, 162, 184, 0.2);
    padding: 20px;
    background-color: #f5feff;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='40' viewBox='0 0 24 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40c5.523 0 10-4.477 10-10V0C4.477 0 0 4.477 0 10v30zm22 0c-5.523 0-10-4.477-10-10V0c5.523 0 10 4.477 10 10v30z' fill='%23e3f1f4' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.masonry-wrap [class*="col-"]{
    display: table-cell;
    vertical-align: middle;
    float: none;
    padding: 0;
}
.masonry-wrap .masonry-height{
    height: 450px;
}
.masonry-wrap .col-md-5 .caption {
    padding: 20px 70px;
}
.masonry-wrap .col-md-5 .caption h2#cov1 {
    font-weight: bold;
}
.masonry-wrap.masonry-slap .col-xs-12 .caption h2#cov2 {
    font-weight: bold;
}
.masonry-wrap.post-wrapper {
    border: none;
    padding: 0;
    background: none;
    background-image: none;
}
section.masonry-wrapper.masonry-wrap-post {
    padding-bottom: 0;
}
.masonry-wrap.post-wrapper .col-xs-12 .caption {
    margin-bottom: 70px;
    background: #f5f5f9;
    border: 1px solid rgba(32,18,58,.125);
    padding: 20px 20px 10px;
}
.masonry-wrap.post-wrapper .col-xs-12 .caption h2 a{
    color: #007b8e;
}
.masonry-wrap .entry-meta {
    margin-bottom: 15px;
}
.masonry-wrap .caption span,
.masonry-wrap .caption span a {
    margin-bottom: 15px;
    font-size: 12px;
    color: #989ea6;
    letter-spacing: normal;
}
.masonry-wrap .caption .s-cat{
    color: #007b8e;
    z-index: 3;
    display: inline-block;
    font-size: 14px;
    border-radius: 1px;
    line-height: normal;
    padding: 20px 0;
    position: relative;
    margin-bottom: 5px;
}
.masonry-wrap .caption span i{
  margin-right: 5px;
}
.masonry-wrap.post-wrapper [class*="col-"] {
    margin-top: 0;
    display: block!important;
    vertical-align: middle;
    float: none;
    padding: 0;
}
.masonry-wrap.masonry-slap [class*="col-"] {
    display: block;
}
@media (max-width: 767px){
    .masonry-wrap{
        display: block;
    }
    .masonry-wrap [class*="col-"]{
        display: block;
    }
    .masonry-wrap .s-left{
        float: right;
    }
    .masonry-wrap .caption {
    text-align: left;
    padding: 20px 15px;
}
.masonry-wrap .masonry-height {
    height: 200px;
}

}

.posts-container {
    /*padding-top: 60px;
    padding-bottom: 20px;*/
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;
}

/* masonry */
.masonry-container {
    margin-right: -30px;
}
.masonry-item {
    float: left;
}
.masonry-item.col-1 {
    float: none;
}
.post-wrap {
    position: relative;
    padding: 0;
}

/* masonry: 3 columns */
.col-3-default {
    width: 33.33%;
}
.col-3 {
    width: 33.33%;
}
.col-3.width-2x {
    width: 66.66%;
}

/* masonry: 2 columns */
.col-2-default {
    width: 50%;
}
.col-2 {
    width: 50%;
}
.col-2.width-2x {
    width: 100%;
}

/* 1 column */
.col-1 {
    width: 100%;
}

/***
====================================================================
## Post Format
====================================================================
***/
.date_title .post-date{
    line-height: 30px;
}
span.post-format {
    float: left;
    width: 40px;
    position: relative;
    height: 30px;
}
.blog .format-status .post-excerpt p{
    font-size: 20px;
    font-style: italic;
}
article.format-aside .post-content .post-format::after,
article.format-status .post-content .post-format::after,
article.format-chat .post-content .post-format::after,
article.format-link .post-content .post-format::after,
article.format-standard .post-content .post-format::after,
article.format-image .post-content .post-format::after,
article.hentry.sticky .post-content .post-format::after,
article.format-video .post-content .post-format::after,
article.format-gallery .post-content .post-format::after,
article.format-audio .post-content .post-format::after,
article.format-quote .post-content .post-format::after {
    font-size: 15px;
    content: "\f03e";
    color: #ffffff;
    display: inline-block;
    font-family: "fontawesome";
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 30px;
    line-height: 30px;
    height: 30px;
    background: #007b8e;
}
article.format-standard .post-content .post-format::after{
    content: "\f016"
}
article.format-image .post-content .post-format::after{
    content: "\f03e";
}
article.hentry.sticky .post-content .post-format::after{
    content: "\f097";
}
article.format-video .post-content .post-format::after{
    content: "\f144";
}
article.format-gallery .post-content .post-format::after{
    content: "\f03e";
}
article.format-audio .post-content .post-format::after{
    content: "\f001";
}
article.format-quote .post-content .post-format::after{
    content: "\f10e";
}
article.format-link .post-content .post-format::after{
    content: "\f08e";
}
article.format-chat .post-content .post-format::after{
    content: "\f0e6";
}
article.format-aside .post-content .post-format::after{
    content: "\f24a";
}
article.format-status .post-content .post-format::after{
    content: "\f24d";
}
 @media (max-width: 767px){
    .date_title .post-date {
        line-height: inherit;
    }
}
/***
====================================================================
## Post media: image
====================================================================
***/

.post-media {
    position: relative;
}

/* img */
.post-media img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
}
/* img overlay */
.post-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    background-color: #1f2123;
    opacity: 0;
    -webkit-transition: opacity 0.2s ease;
    -moz-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}
.post-wrap:hover .post-bg-overlay {
    opacity: 0.2;
}
.masonry-post.post .post-content {
    position: relative;
    padding: 20px;
    word-wrap: break-word;
    overflow: hidden;
    background: #fff;
}
/* more link */
.more-link {
    font-style: normal;
    color: #989ea6;
    padding: 0;
    text-transform: uppercase;
    font-size: 13px;
    display: inline-block;
    font-weight: 600;
}
.content .more-link {
    display: inline-block;
    margin-bottom: 5px;

}
.content .more-link:after {
    content: '...';
    display: inline-block;
    margin-left: 4px;
}
.content .more-link {
    margin-bottom: 0;
}
.content .more-link:after {
    display: none;
}
.content .more-link:before {
    content: '...';
    display: inline-block;
    margin-right: 4px;
}
.content .more-link:hover:before,
.content .more-link:focus:before {
    color: #4c4f53;
}
a.clean {
    background: #f7f8f8;
    padding: 10px 15px;
    margin: 15px 0 10px 0;
    border-radius: 3px;
    font-size: 12px;
}
a.effect {
    background:#f7f8f8;
    padding: 10px 15px;
    margin: 15px 0 10px 0;
    border-radius: 3px;
    display: inline-block;
    font-size: 12px;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
a.effect:before {
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background:#337ab7;
    border-radius: 3px;
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
a.effect:hover:before,
a.effect:active:before {
    width: 100%;

}
a.effect:hover,
a.effect:active {
    color: #fff!important;
    z-index: 1;
}

/* meta */
.post-cats{
    display: block;
    font-size: 14px;
    color: #989ea6;
}
.post-cats > span{
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    line-height: 1;
}
.post-cats > span:first-child {
    padding-left: 0;
}
.post-cats > span i,
.post-cats > span a {
    color: #007b8e;
    font-size: 14px;
    padding-right: 5px;
    margin-bottom: 5px;
    line-height: 20px;
}
.post-cats > span a:hover,
.post-cats > span a:focus{
    color: #007b8e;
    text-decoration: underline !important;
}
.post-cats > span.tags-links{
    display: none;
    border-left: 1px solid #d9d9d9;
}
.post-cats > span.tags-links i{
    display: none;
}
.meta_bottom {
    min-width: 100%;
    position: absolute;
    bottom: 50px;
    padding: 5px 10px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.15s ease 0.4s;
    -moz-transition: all 0.15s ease 0.4s;
    -o-transition: all 0.15s ease 0.4s;
    transition: all 0.15s ease 0.4s;
    text-align: center;
}
.meta_bottom .post-share a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    color: #333;
    margin: 0 4px;
}
.meta_bottom .post-share a:hover {
    background: #f28b71;
    color: #fff;
}

.post-media:hover .meta_bottom{
    visibility: visible;
    opacity: 1;
    margin-bottom: 0;
    -webkit-transition: all 0.15s ease 0s;
    -moz-transition: all 0.15s ease 0s;
    -o-transition: all 0.15s ease 0s;
    transition: all 0.15s ease 0s;
}
.single .meta_bottom {
    position: relative;
    opacity: 1;
    bottom: auto;
    visibility: visible;
    border: 1px solid #eeefef;
    margin: 20px 0;
}

/* post format: chat */
.format-chat .post-excerpt p,
.format-chat .content p {
    background-color: #f7f8f8;
    padding: 5px;
    margin-bottom: 10px;
}
.home .format-chat .post-excerpt p {
    display: none;
}
.home .format-chat .post-excerpt p:nth-child(1),
.home .format-chat .post-excerpt p:nth-child(2),
.home .format-chat .post-excerpt p:nth-child(3),
.home .format-chat .post-excerpt p:nth-child(4){
    display: block;
}
/* post format: link */
.format-link .post-excerpt a {
    display: block;
}
a.link-format {
    padding: 43px 20px;
    background: #007b8e;
    margin: 0px -15px;
    color: #fff;
    font-size: 20px;
}
a.link-format:hover {
    color: #fff!important;
    opacity: 0.7;
}
.blog .format-status p{
    display: none;
}
.page .posts-container,
.single .posts-container{
    padding-top: 0;
}

.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.text-justify {
    text-align: justify;
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto;
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline-block;
    margin: 0 5px 0 0;
    padding: 0;
    width: 16px;
    min-width: 16px;
    height: 16px;
    line-height: 0;
    position: relative;
    top: -2px;
    border: 2px solid #e3e5e6;
    background: #ffffff;
    clear: none;
    cursor: pointer;
    outline: none !important;
    text-align: center;
    vertical-align: middle;
    -webkit-appearance: none;

    -webkit-transition: border-color 0.2s ease;
    -moz-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}
input[type="checkbox"] {
    border-radius: 0;
    border-top-width: 1px;
}
input[type="radio"] {
    border-radius: 50%;
    border-top-width: 2px;
}
input[type="checkbox"]:hover, 
input[type="checkbox"]:focus, 
input[type="radio"]:hover {
    border-color: #007b8e;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: #007b8e;
    border-color: #007b8e;
}
input[type="checkbox"]:checked:before {
    content: "\2714";
    line-height: 13px;
    color: #ffffff;
}
input[type="radio"]:checked:before {
    content: "\2022";
    font-size: 22px;
    line-height: 12px;
    color: #ffffff;
}

.container-title {
    margin-bottom: 25px;
    font-size: 26px;
    font-style: normal;
    line-height: 1.2;
    color: #2f3235;
}

.blog.left-sidebar #primary,
.page.left-sidebar #primary{
    float:right
}

.blog.left-sidebar #secondary,
.page.left-sidebar #secondary{
    float:left
}

.blog.no-sidebar #secondary,
.page.no-sidebar #secondary,
.blog.middle-column #secondary,
.page.middle-column #secondary{
    display:none
}


.single.single-left-sidebar #primary{
    float:right
}
.single.single-left-sidebar #secondary{
    float:left
}
.single.single-no-sidebar #secondary,
.single.single-middle-column #secondary{
    display:none
}
.single.single-left-sidebar #secondary,
.single.single-right-sidebar #secondary{
    display:block!important;
}
.single.single-left-sidebar #primary,
.single.single-right-sidebar #primary{
    max-width: 66.666667%;
}
.post-template-post-right-sidebar.single #secondary,
.post-template-post-left-sidebar.single #primary{
    float:right!important;
}

.post-template-post-right-sidebar.single #primary,
.post-template-post-left-sidebar.single #secondary{
    float:left!important;
}


.post-template-post-no-sidebar.single #secondary,
.post-template-post-middle-column.single #secondary{
    display:none!important;
}

.blog.no-sidebar #primary,
.page.no-sidebar #primary,
.single.single-no-sidebar #primary,
.post-template-post-no-sidebar.single #primary{
    width:100%!important;
}


.blog.middle-column #primary,
.page.middle-column #primary,
.single.single-middle-column #primary,
.post-template-post-middle-column.single #primary{
    width: 100%;
}

.blog.middle-column .posts-container .container,
.page.middle-column .posts-container .container,
.single.single-middle-column .posts-container .container{
    width: 70%;
    margin :auto;
}

/* Blog Layout Column options */
.masonry-start{
    clear: both;
}
.alternative .masonry-start,
.two-column .masonry-start{
    margin-right: -15px;
    margin-left: -15px;
}
.two-column article.two-column{
    width: 50%;
    padding:0 15px;
    float: left;
}
.alternative article.alternative {
    width: 50%;
    padding:0 15px;
    float: left;
}
.alternative .site-main article:nth-child(3n-2) {
    width: 100%;
}

.masonry-post .masonry-start{
    margin-right: -15px;
    margin-left: -15px;
}
.right-sidebar article.masonry-post,
.left-sidebar article.masonry-post{
    width: 50%;
    padding:0 15px;
}
.home.both-sidebar #primary,
.page.both-sidebar #primary,
.single.both-sidebar #primary,
.no-sidebar article.masonry-post{
    width: 33.33333333%;
    padding:0 15px;
}
.no-sidebar article.masonry-post {
    float: left;
}
.middle-column article.masonry-post,
.both-sidebar article.masonry-post{
    width: 100%;
    padding:0 15px;
}

/*--sidebar style--*/
.sidebar-3 .sidebar-area {}
.sidebar-3 .masonry {
    padding: 0 20px 30px;
}
.sidebar-3 h2.masonry-title {
    font-size: 20px;
    font-weight: bold;
    background: #20123a;
    padding: 10px 15px;
    margin-bottom: 0;
}
.sidebar-3 h2.masonry-title a{
    color: #fff;
}
.masonry_ebtries ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    border: solid 1px #ddd;
    border-top: none;
}
.masonry_ebtries ul li {
    margin: 0;
    padding: 10px 0 10px 26px;
    border-bottom: solid 1px #ddd;
    background: url(../wp-content/uploads/2020/05/login.png) no-repeat left center;
}
.masonry_ebtries ul li:hover {
    border-bottom: solid 1px #ddd;
    transition: 0.4s;
}
.masonry_ebtries ul li:last-child {
    border-bottom: none;
}
.masonry_ebtries ul li a {
    font-size: 16px;
    font-weight: normal;
    color: #333;
}
.masonry_ebtries ul li a:hover, .masonry_ebtries ul li:hover a {
    color: #007b8e;
    font-weight: bold;
    transition: 0.4s;
}

/**
 - Popular posts masonrys
 * -------------------------------------------------------------
 */
 .masonry_polite-popular-post-masonry ul{
    margin: 0;
    padding: 0;
 }
.masonry_polite-popular-post-masonry li{
    margin-bottom: 20px;
    list-style: none;
}
.masonry_popular_posts_list_item {
    position: relative;
    overflow: hidden;
}
.masonry_popular_posts_list_item img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.masonry_popular_posts_list_item:hover figcaption {
    bottom: 30px;
}
.masonry_popular_posts_list_item figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 6px 6px 18px -2px rgba(14,17,20,0.35);
    -webkit-transition: bottom 0.2s ease;
    -moz-transition: bottom 0.2s ease;
    -o-transition: bottom 0.2s ease;
    transition: bottom 0.2s ease;
}
.masonry_popular_posts_list_item figcaption .post-date{
    margin-bottom: 0;
}
.masonry_popular_posts_list_item figcaption h4 {
    margin-bottom: 0;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    color: #4c4f53;
}
/**
 * - Post Slider masonrys
 * -------------------------------------------------------------
 */
 .masonry_posts_slider_list_item{
    position: relative;
    overflow: hidden;
}
.post-slider-section img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}
.post-slider-section figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    padding: 15px;
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.90));
    -webkit-transition: bottom 0.2s ease;
    -moz-transition: bottom 0.2s ease;
    -o-transition: bottom 0.2s ease;
    transition: bottom 0.2s ease;
}
.post-slider-section figcaption h4 a,
.post-slider-section figcaption .post-date{
    margin-bottom: 0;
    color: #fff;
}
.post-slider-section .s-cat{
    color: #fff;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    border-radius: 3px;
    line-height: normal;
    padding: 4px 12px;
    position: relative;
    background: #007b8e;
}
.post-slider-section .s-cat:hover{
    color: #ffffff!important;
}
.post-slider-section figcaption h4 {
    margin: 5px 0;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
 .polite-featured-post > ul {
    margin: 0;
    padding: 5px 0 0;
}
 .polite-featured-post > ul > li {
    position: relative;
    margin-bottom: 20px;
    list-style: none;
}
.masonry_bg_overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    width: 100%;
    height: 100%;
    background-color: #1f2123;
    -webkit-transition: opacity 0.2s ease;
    -moz-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}
 .footer-wrap {
    background-color: #ffffff;
    border-top: 1px solid #f1f1f1;
    padding: 0;
}
.foot-wrap {
    display: table;
    table-layout: fixed;
}
 .footer-wrap .footer-top-box {
    padding-top: 50px;
    padding-bottom: 20px;
}
.footer-wrap .masonry{
    margin-bottom: 5px;
    padding:0;
}
.footer-wrap .masonry-title,
.footer-wrap .masonry{
    background: transparent;
}
.footer-wrap .masonry a,
.footer-wrap .masonry{
    color: rgb(51, 51, 51);
}
.footer-wrap .masonry-title{
    color: rgb(51, 51, 51);
}
.footer-wrap .masonry_featured_post_num{
    display: none;
}
.footer-wrap .masonry_featured_content {
    height: 80px;
}
.footer-wrap .post-date{
    margin:0;
}
.footer-wrap [class*="footer-col-"]:nth-child(2),
.footer-wrap [class*="footer-col-"]:nth-child(3){
    padding-left: 40px;
}
.footer-col-1,
.footer-col-2,
.footer-col-3,
.footer-col-4{
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    display: table-cell;
    overflow: hidden;
    border-right: 1px solid #f1f1f1;
}
div[class*="footer-col-"]:last-child {
    border: 0;
}
.footer-col-1{
    width: 100%;
}
.footer-col-2{
    width: 50%;
}
.footer-col-3{
    width: 33.333%;
}
.footer-col-4{
    width: 25%;
}
@media (max-width: 991px) {
    .masonry-wrap [class*="col-"] {
        display: block;
    }
   .footer-wrap [class*="footer-col-"]{
    width: 100%;
    margin-bottom: 20px;
    display: block;
    border: 0;
   }
   .footer-wrap [class*="footer-col-"]:nth-child(2),
    .footer-wrap [class*="footer-col-"]:nth-child(3){
        padding-left: 15px;
    }
}

/* footer text */
.site-footer{
    font-size: 16px;
    padding: 25px 0;
    color: #333;
    border-top: 1px solid #f1f1f1;
}

.site-footer a {
    color: #007b8e;
    font-weight: bold;
}
.site-footer a:hover,
.site-footer a:focus {
    text-decoration: none;
    border-bottom: dashed 1px #007b8e;
}

#toTop {
    position: fixed;
    right: 30px;
    bottom: 20px;
    z-index: 1041;
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-family: sans-serif;
    font-size: 16px;
    color: #ffffff;
    background-color: #17a2b8;
    border-radius: 50%;
    box-shadow: 0 14px 28px -4px rgba(14,17,20,0.15);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
#toTop:focus {
    color: #4c4f53;
}
#toTop:hover {
    color: #ffffff;
    background-color: #0f95ab;
}
#toTop:active i {
    position: relative;
    top: 1px;
}

.left-image{
    overflow: hidden;
    padding: 15px 0;
    display: table;
    width: 100%;
}
.left-image .post-content,
.left-image .post-media{
    padding: 0 15px;
    vertical-align: middle;
    display: table-cell;
}
.left-image .post-media{
    max-width: 350px;
    min-width: 300px;
}
.two-column .left-image,
.masonry-post .left-image,
.alternative .left-image{
    margin-left: 0;
    margin-right: 0;
    display: block;
    padding:0;
}
.two-column .left-image .post-media,
.two-column .left-image .post-content,
.masonry-post .left-image .post-media,
.masonry-post .left-image .post-content,
.alternative .left-image .post-media,
.alternative .left-image .post-content{
    display: block;
}
.two-column .left-image .post-media,
.masonry-post .left-image .post-media,
.alternative .left-image .post-media{
    padding:0;
}
.two-column .left-image .post-content,
.masonry-post .left-image .post-content,
.alternative .left-image .post-content{
    padding:20px;
}

.alternative article:nth-child(3n-2) .left-image{
    padding: 15px 0;
    display: table;
}
.alternative article:nth-child(3n-2) .left-image .post-media,
.alternative article:nth-child(3n-2) .left-image .post-content{
    display: table-cell;
    padding: 0 15px;
}
.blog.two-column .post-wrap{
    min-height: 650px;
}
.blog.two-column .post-media iframe{
    height: 200px;
}
.blog.two-column .full-image .post-media{
    min-height: 200px;
    max-height: 200px;
    overflow: hidden;
}
.two-column .full-image .post-excerpt{

}
.hide-image .post-media{
    display: none;
}

.post-excerpt .has-background {
    margin: 5px 0 20px;
    padding: 20px 30px;
    display: inline-block;
    width: 100%;
}
.post-excerpt .has-background a {
    color: inherit !important;
}

/* 991px */
@media (max-width: 991px) {

    /* footer: copyright text (or some other text) */
    .site-footer {
        float: none;
        width: 100%;
        margin-bottom: 15px;
        padding-right: 0;
    }
    .right-sidebar #primary{
        float: none;
    }
.blog.left-sidebar #primary,  
.page.left-sidebar #primary{
    float: none;
}
.single.single-left-sidebar #primary, .single.single-right-sidebar #primary{
    max-width: 100%;
    float: left;
}

}

/* 767px */
@media (max-width: 767px) {

    .right-sidebar #primary{
        float: none;
    }
    .left-image .post-content,
    .left-image .post-media{
        display: block;
        max-width: 100%
        min-width:100%;
    }
.blog.left-sidebar #primary,
.page.left-sidebar #primary{
    float: none;
}

}

/* 720px */
@media (max-width: 720px) {

    .posts-container {
        padding-top: 40px;
        padding-bottom: 0;
    }

}

 */
@media (max-width: 480px) {

    /* masonry layout */
    .right-sidebar article.masonry-post,
    .left-sidebar article.masonry-post,
    .no-sidebar article.masonry-post,
    .middle-column article.masonry-post,
    .both-sidebar article.masonry-post{
        width: 100%;
        padding:0 15px;
    }

}

/* 360px */
@media (max-width: 360px) {

    /* containers with content: reduce left and right indents to 15 pixels */
    pre,
    .post-content {
        padding-right: 15px;
        padding-left: 15px;
    }

}

@media (max-width: 767px) {   

    .header-default .bar-menu {
        left:15px;
    }
    .left-side,
    .right-side{
        float: none!important;
    }
    .top-menu,
    .social-links{
        text-align: center;
    }
    .search-wrapper {
        padding-left: 0;
        position: absolute;
        top: 0;
        right: 0;
    }
    .bottom-caption{
        display: none;
    }
    .masonry-height{
        height: 300px;
    }
    .caption h2 a{
        font-size: 24px;
    }
}
/*==============================================================
## Tab Navigate
================================================================*/
#primary-menu li.menu-item-has-children.locked > ul,
#primary-menu li.menu-item-has-children a:focus ~ ul{
    visibility: visible;
    opacity: 1;
    top: 100%;
    outline: 5px auto red!important;
}