/*
Theme Name: News Element
Theme URI: https://webangon.com/news-element-sites/
Author: XL development
Author URI: https://webangon.com
Description: News Element for developing blog magazine site in conjunction with elementor page builder. News Element is a modern WordPress theme that comes with high-quality features and minimal design. The theme is a perfect fit for all kind of blogs and magazine such as food blogs, travel journals, personal blogs, magazine, many more. News Element is a fully responsive design that always remains mobile-friendly and will render perfectly on all devices. It comes with ajax post filter, magazine blocks, posts slider and much more ! Check demo at https://webangon.com/news-element-sites/
Version: 1.0.5
Requires at least: 4.7
Requires PHP: 5.2
Tested up to: 6.0.1
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: the-pack-element
Tags: magazine, blog, news, personal blog, post filter, ajax, post slider, hero post
*/

/* Based on Normalize.css v8.0.0, HTML5 Boilerplate v6.1.0, & Bootstrap Reboot v4.1.0 | Under MIT License */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: .5rem;
    margin-bottom: 1rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: .9rem;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
    white-space: pre-wrap;
}

a {
    background-color: transparent;
    color: #605be5;
}

a:hover,
a:active {
    color: #333366;
}

a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
    outline: 0;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline dotted;
}
.site-title a:hover,
.site-title a:focus {
    text-decoration: underline;
}
b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
    height: auto;
    max-width: 100%;
}

details {
    display: block;
}

summary {
    display: list-item;
}

figcaption {
    font-size: 16px;
    color: #333333;
    line-height: 1.4;
    font-style: italic;
    font-weight: 400;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        page-break-inside: avoid;
        border: 1px solid #cccccc;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}

label {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    border: solid 1px #666666;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    transition: all .3s;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
    border-color: #333333;
    outline: 0 none;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    width: auto;
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

button,
[type="submit"],
[type="button"] {
    display: inline-block;
    font-weight: 400;
    color: #605be5;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    background-color: transparent;
    border: 1px solid #605be5;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 3px;
    transition: all .3s;
}

button:focus,
[type="submit"]:focus,
[type="button"]:focus {
    outline: 5px auto -webkit-focus-ring-color;
}

button:hover,
button:focus,
[type="submit"]:hover,
[type="submit"]:focus,
[type="button"]:hover,
[type="button"]:focus {
    color: #ffffff;
    background-color: #605be5;
    text-decoration: none;
}

button:not(:disabled),
[type="submit"]:not(:disabled),
[type="button"]:not(:disabled) {
    cursor: pointer;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
    resize: vertical;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

select {
    display: block;
}

table {
    background-color: transparent;
    width: 100%;
    margin-bottom: 15px;
    font-size: 0.9em;
    border-spacing: 0;
    border-collapse: collapse;
}

table th,
table td {
    padding: 15px;
    line-height: 1.5;
    vertical-align: top;
    border: 1px solid #cccccc;
}

table th {
    font-weight: bold;
}

table thead th,
table tfoot th {
    font-size: 1em;
}

table caption+thead tr:first-child th,
table caption+thead tr:first-child td,
table caption+thead tr:first-child th,
table caption+thead tr:first-child td,
table colgroup+thead tr:first-child th,
table colgroup+thead tr:first-child td,
table colgroup+thead tr:first-child th,
table colgroup+thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
    border-top: 1px solid #cccccc;
}

table tbody>tr:nth-child(odd)>td,
table tbody>tr:nth-child(odd)>th {
    background-color: #f7f7f7;
}

table tbody tr:hover>td,
table tbody tr:hover>th {
    background-color: #e9e9e9;
}

table tbody+tbody {
    border-top: 2px solid #cccccc;
}

@media (max-width: 767px) {
    table table {
        font-size: 0.8em;
    }
    table table th,
    table table td {
        padding: 7px;
        line-height: 1.3;
    }
    table table th {
        font-weight: 400;
    }
}

dl,
dt,
dd,
ol,
ul,
li {
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* WordPress Default Class */

.alignright {
    float: right;
    margin-left: 1rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    margin-left: -80px;
    margin-right: -80px;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.alignfull img {
    width: 100vw;
}

.wp-caption {
    margin-bottom: 1.25rem;
    max-width: 100%;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
    margin: 0;
}

.gallery-caption {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
    padding: 0.75rem;
}

.pagination {
    margin: 20px auto;
}

.sticky {
    position: relative;
    display: block;
}

.bypostauthor {
    font-size: inherit;
}

.hide {
    display: none !important;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    clip: auto !important;
    display: block;
    height: auto;
    left: 5px;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/*Site menu*/

.main-navigation {
    justify-content: flex-start;
    width: 100%;
    display: inline-block;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    padding: 0;
    list-style-type: none;
}

.main-navigation ul li {
    margin-left: 20px;
    padding: 0;
    list-style: none;
    float: left;
    position: relative;
}

.main-navigation .sub-menu {
    margin-left: 0;
    left: 0;
    list-style: none;
    padding: 10px;
    position: absolute;
    top: 100%;
    z-index: -999;
    visibility: hidden;
    background: #323232;
    opacity: 0;
    width: 200px;
    margin-top: 30px;
    transition: all 0.3s ease 0s;
    -webkit-box-shadow: 0 5px 10px 0 rgb(83 82 82 / 10%);
    box-shadow: 0 5px 10px 0 rgb(83 82 82 / 10%);
}

.main-navigation .sub-menu a {
    color: white;
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation li:hover>.sub-menu,.main-navigation li:focus-within>.sub-menu {
    margin-top: 0px;
    opacity: 1;
    visibility: visible;
    z-index: 999;
    display: block;
}

.main-navigation .sub-menu li .sub-menu {
    top: 0;
    left: 100%;
    right: auto;
}

@media (max-width: 992px) {
    .main-navigation {
        display: none;
    }
}

.khb-mobile {
    padding: 30px 50px;
    right: 0;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    position: fixed;
    top: 0;
    bottom: 0;
    max-width: 320px;
    width: 100%;
    z-index: 100;
    overflow-y: auto;
    background-color: #fff;
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.khb-mobile.active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}

.khb-mobilenav .sub-menu {
    display: none;
}

.khb-mobilenav {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.khb-mobilenav a,
.khb-mobilenav a:hover,
.khb-mobilenav .sub-menu li a {
    color: black;
    display: block;
    position: relative;
    line-height: 22px;
}

.khb-mobilenav li {
    font-size: 15px;
    font-weight: 600;
    margin: 6px 0px;
}

.khb-mobilenav li.menu-item-has-children>a:after {
    content: ' +';
    display: inline-block;
    transition: .1s;
    right: 0;
    position: absolute;
}

.khb-mobilenav>li:not(:last-child) {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dcdcdc;
}

/* Theme Styles */

#page-wrap {
    max-width: 960px;
    margin: 0 auto;
}

#site-header {
    position: relative;
    -js-display: flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 60px;
}

#site-header .site-logo{
    width: 250px;
}

.site-logo h1,
.site-description {
    margin: 0;
}

.site-description{
    display: none;
}
.tp-single-post {
    margin-bottom: 50px;
}

.tp-single-post img {
    max-width: 100%;
}

.tp-single-post .post-title {
    margin: 0;
}

.tp-single-post .post-categories {
    margin-bottom: 20px;
}

.tp-single-post .post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
}

.tp-single-post .read-more {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #605be5;
    text-transform: capitalize;
}

.tp-single-post .post-tags a {
    display: inline-block;
    margin-right: 10px;
}

.commentslist {
    list-style-type: none;
    padding: 0;
}

.commentslist .children {
    list-style-type: none;
}

.commentslist li {
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #e8e8e8;
}

.comment-author img {
    margin-right: 10px;
}

.commentslist .reply {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #605be5;
}

.comment-form-comment input,
.comment-form-comment textarea {
    border-color: #e8e8e8;
}

nav.navigation {
    text-align: center;
}

nav.navigation a,
nav.navigation span {
    padding: 5px 10px;
    border: 1px solid #e8e8e8;
}

.footer-copyright {
    text-align: center;
    padding: 30px 0;
}

.site-logo a,
.main-navigation a,
.tp-single-post .read-more a,
.tp-single-post .post-title a {
    text-decoration: none;
}

@media (min-width:1025px) {
  .khbtap{
    display:none;
  }
}
