@media only screen and (min-width: 768px) {
    .widget-post-list .flex.border .thumb {
        max-width: 60%;
    }
}
@media only screen and (max-width: 576px) {
    .hentry-content img {
        width: 100%;
        height: auto;
    }
}
#morePost,
#showComments {
    border:none;
    background: none;
    color: #444;
    font-size: 14px;
    width: 100%;
}
.mag-content-body.bottom-full {
    padding-bottom: 0;
    background: url('../img/banner.jpg');
    background-color: #000;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
}
#contentContainer{
    background: #fff;
    z-index: 1;
    position: relative;
}
#slider, .mag-content-body.bottom-full #contentContainer .site-footer {
    margin-left: -15px;
    margin-right: -15px;
}
.blog-load-more-1 {
    margin-bottom: 30px;
}
.bg-link {
    position:  fixed;
    width:  100%;
    top:  0;
    height:  100%;
    background: url('../img/asus_g14_rendszerigeny.jpg');
    background-color: #000;
    background-attachment: fixed;
    background-position: center 120px;
    background-repeat: no-repeat;
    z-index: 0;
}
figure img {
    max-width: 100%;
    height: auto;
}
.site-footer {
    margin-left: -15px;
    margin-right: -15px;
}
.site-footer .row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.hentry-content {
    color: #444;
}
.hentry-content ul {
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
}
.hentry-content figure{
    margin-bottom: 20px;
}
@media screen and (min-width: 992px) {
    .hentry-content figure iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }
}
.center-sm-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
h1.hentry-title {
    font-size: 22px;
}
.mag-featured-top h1 {
    font-size: 27px;
}
.owl-stage article h1 {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 0;
}
.hentry-content p {
    font-size: 18px;
    font-weight: 300;
    color: #000;
}
.hentry-meta .posted-on,
.hentry-meta .author,
.hentry-meta .cats {
    color: #989898 !important;
    font-weight: 500;
}
.hentry-meta .author a,
.hentry-meta .cats a {
    color: #8cc63f;
    font-weight: 500;
}
ul.social-2 a {
    cursor:pointer;
}
main.site-content {
    background: url('../img/bg_tri.jpg');
}
/*
    ############# DARK MODE #############
 */
/* HEADER */
body.darkMode .header-top {
    background: #414141;
}
body.darkMode .header-top .social-1 li a {
    background-color: #313131;
}
body.darkMode .header-top .social-1 li a:hover,
body.darkMode .header-top .social-1 li a:active {
    background-color: #212121;
}
body.darkMode .header-top .search-box button{
    background-color: #313131;
}
body.darkMode .header-top .search-box button:hover{
    background-color: #8cc63f;
}
body.darkMode .header-top .search-box input{
    background-color: #525252;
    color: #ffff;
}
body.darkMode .header-top .search-box input::placeholder {
    color: #ffff;
}
/* HEADER MIDDLE */
body.darkMode .header-middle {
    background: #525252;
}
body.darkMode .header-bottom {
    background: #525252;
}
body.darkMode .header-bottom .primary-nav {
    background: #525252;
}
body.darkMode .header-bottom .primary-nav li a {
    color: #fff;
}
body.darkMode .header-bottom .primary-nav li .sub-menu li {
    background: #414141;
}
body.darkMode .header-bottom .primary-nav li .sub-menu li a {
    color: #fff;
}
body.darkMode .header-bottom .primary-nav li .sub-menu li a:hover {
    color: #8cc63f;
}
/* MAIN PAGE */
body.darkMode main #contentContainer {
    background: #525252;
}
body.darkMode main #contentContainer .mag-widget-title-2 {
    background: #414141;
    color: #fff;
}
body.darkMode main #contentContainer .widget-inner {
    background: #414141;
    color: #fff;
}
body.darkMode main #contentContainer .magazine-post {
    background: #414141;
    color: #fff;
}
body.darkMode main #contentContainer .magazine-post h1 a {
    color: #fff;
}
body.darkMode main #contentContainer .magazine-post h1 a:hover {
    color: #8cc63f;
}
body.darkMode main #contentContainer .widget-post-list-2 li {
    background: #414141;
    color: #fff;
}
body.darkMode main #contentContainer .widget-post-list-2 .title {
    color: #fff;
}
body.darkMode main #contentContainer .widget-post-list-2 .title:hover {
    color: #8cc63f;
}
body.darkMode main #contentContainer .widget-post-list time {
    color: #fff;
}
body.darkMode main #contentContainer .title-link {
    color: #fff;
}
body.darkMode main #contentContainer .title-link:hover {
    color: #8cc63f;
}
body.darkMode main #contentContainer .mag-featured-top.half {
    color: #fff;
}
body.darkMode main #contentContainer .hentry-card {
    background: #424242;
    color: #fff;
}
body.darkMode main #contentContainer .hentry-card .sep{
    background: #fff;
}
body.darkMode main #contentContainer .hentry-card .hentry-content p {
    color: #fff;
}
body.darkMode main #contentContainer .hentry-card .hentry-meta {
    background: #313131;
    color: #fff;
}
body.darkMode main #contentContainer .blog-load-more-1 {
    background: #414141;
}
body.darkMode main #contentContainer .blog-load-more-1 button {
    color: #fff;
}
/* FOOTER */
body.darkMode main #contentContainer .site-footer .primary-footer {
    background: #414141;
    color: #fff;
}
body.darkMode main #contentContainer .site-footer .primary-footer .text-link {
    color: #8cc63f;
}
body.darkMode main #contentContainer .site-footer .primary-footer .footer-nav-3 a {
    color: #8cc63f;
}
body.darkMode main #contentContainer .site-footer .secondary-footer {
    background: #414141;
    color: #fff;
}
/* POST CONTENT*/
body.darkMode main #contentContainer .hentry-content h1,
body.darkMode main #contentContainer .hentry-content h2,
body.darkMode main #contentContainer .hentry-content h3,
body.darkMode main #contentContainer .hentry-content h4,
body.darkMode main #contentContainer .hentry-content h5,
body.darkMode main #contentContainer .hentry-content p {
    color: #fff;
}
body.darkMode main #contentContainer .hentry-content  {
    color: #fff !important;
}
body.darkMode main #contentContainer article.hentry-single .hentry-meta .posted-on,
body.darkMode main #contentContainer article.hentry-single .hentry-meta .author,
body.darkMode main #contentContainer article.hentry-single .hentry-meta .cats {
    color: #fff !important;
}
body.darkMode main #contentContainer .author-card {
    background: #414141;
}
body.darkMode main #contentContainer .author-card h4,
body.darkMode main #contentContainer .author-card p {
    color: #fff;
}
body.darkMode main #contentContainer .comments-container h3 {
    color: #fff;
}
body.darkMode main.site-content {
    background: url('../img/bg_tri_dark.jpg');
}
body.darkMode .header-magazine-2.post .header-top.bg-white {
    background: #525252 !important;
}
body.darkMode .header-magazine-2.post .header-top.bg-white h3 {
    color: #fff !important;
}
/*
    HENTRY INDEX IMAGE BLUR
 */
.hentry-single {
    margin-top: -20px;
}
.hentry-single .article-content, .hentry-single .article-content .row{
    margin: 0px;
}
.hentry-single .hentry-media img.main-image {
    margin: 0 auto;
    max-width: 960px;
    box-shadow: 0 10px 25px 0 rgba(0,0,0,0.13);
}
.hentry-single .hentry-media .index-image-bg {
    position: relative;
    z-index: -1;
}
.hentry-single .hentry-media .index-image-bg .blur-img {
    position: absolute;
    overflow: hidden;
}
.hentry-single .hentry-media .index-image-bg .blur-img img{
    max-width: 924px;
    filter: blur(20px);
}
.hentry-single .hentry-media .index-image-bg .img-left {
    top:0;
    left:0;
}
.hentry-single .hentry-media .index-image-bg .img-left img{
    transform: translateX(-50%) scale(1.5);
}
.hentry-single .hentry-media .index-image-bg .img-right {
    top:0;
    right:0;
}
.hentry-single .hentry-media .index-image-bg .img-right img{
    transform: translateX(50%) scale(1.5);
}
@media only screen and (max-width: 1150px) {
    .hentry-single .hentry-media .index-image-bg {
        display: none;
    }
}
@media only screen and (max-width: 992px) {
    .hentry-single .hentry-media .index-image-bg {
        display: none;
    }
    .hentry-single .hentry-media img.main-image {
        max-width: 100%;
    }
}
/*

 */
.header-magazine-2.post.is-sticky {
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.1);
    position: fixed !important;
    -webkit-animation: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s alternate none 1 running fadeInDown !important;
    animation: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s alternate none 1 running fadeInDown !important;
    z-index: 150
}
.header-magazine-2.post.is-sticky .header-top.main {
    display: none;
}
.header-magazine-2.post.is-sticky .header-top.bg-white {
    display: block;
}
.header-magazine-2.post .header-top.bg-white {
    display: none;
    background: #fff !important;
}
.site-header.header-magazine-2.post.is-sticky .read-progress {
    display: block;
    width: 1%;
    border-bottom: 3px solid #8CC63F;
}
/*
    Post redesign
 */
.hentry-footer .social-2 li:hover {
    cursor: pointer;
}
.hentry-footer .social-2 li .facebook {
    margin-bottom: 20px;
    width: auto;
    display: inline-block;
    padding: 0 20px;
}
.hentry-footer .social-2 li .facebook:hover {
    background: #384b85;
}
.hentry-footer div.tags {
    color: #000;
}
.hentry-footer div.tags a {
    color: #8CC63F;
}
.hentry-footer div.tags a:hover {
    color: #7aad37;
}
.hentry-content figure iframe {
    max-width: 100%;
}
@media screen and (max-width: 979px) {
    nav.primary-nav .menu-list li.has-dropdown a {
        display: inline-block;
    }
    nav.primary-nav .menu-list li.has-dropdown:after {
        font: normal normal normal 14px/1 FontAwesome;
        content: "\f105";
        float: right;
        margin-right: 10px;
    }
}
/**
    Custom navigation
 */
.header-magazine-2, .header-magazine-2.is-sticky {
    position: fixed !important;
}
#wrapper {
    transition: all 300ms;
}
#wrapper.nav-open  #main{
    transform: translateX(-300px);
    filter: brightness(0.3);
    pointer-events:none
}
#wrapper.nav-open .custom-nav {
    transform: translateX(0);
    right:0;
}
#main {
    transition: all 200ms linear;
    margin-top: 155px;
}
.custom-nav {
    position:fixed;
    top:125px;
    right:0;
    transform: translateX(300px);
    width: 300px;
    height: 100%;
    background: #fff;
    transition: all 200ms linear;
}
.custom-nav ul  {
    padding: 10px 20px;
}
.custom-nav ul li {
    padding: 10px 0px;
    border-bottom: 1px solid #EEEEEE;
}
.custom-nav ul li *::after {
    width: 80%;
    margin: 0 auto;
    height: 1px;
    background: #aaa;
}
.custom-nav ul li a{
    color: #000;
    text-transform: uppercase;
}

.custom-nav ul li span {
    float:right;
}
.custom-nav ul li span.dropdown-icon {
    width: 40px;
    text-align: center;
}
.custom-nav ul li span.dropdown-icon i {
    font-size: 18px;
    transition: all 200ms ease-in-out;
}
.custom-nav ul li ul.custom-dropdown {
    display: none;
    background: rgba(0,0,0,0.1);
    margin: 0 -20px;
    margin-top: 10px;
}

.custom-nav ul li.active ul.custom-dropdown:nth-child(1) {
    display: block;
}
.custom-nav ul li.active > span i {
    transform: rotate(90deg);
}
.isotope-gutter .row {
    margin: 0 0px;
}
#slider .col-md-3.slider-grid-post .title-link-light {
    line-height: 1.41;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#slider  {
    margin: 0px;
}
#slider .owl-item .row.no-gutter {
    overflow: hidden;
}
@media screen and (max-width: 1366px) {
    #main {
        margin-top: 125px;
    }
}
@media screen and (max-width: 767px) {
    .custom-nav {
        top:175px;
    }
    #main {
        margin-top: 175px;
    }
    header#header .search-box form {
        margin-left: 50%;
        transform: translateX(-50%);
    }
}
