/*
Theme Name: my theme
Description: my theme
Version: 1.0.0
Author: me
Template: tidymag
*/

body {
    font-family: Nunito !important;
    /* font-family: Roboto, 'Segoe UI', Tahoma, sans-serif !important; */
    font-size: 16px !important;
    line-height: 1.6 !important;
}

h1 {
    font-family: Nunito !important;
}
h2 {
    font-family: Nunito !important;
}
h3 {
    font-family: Nunito !important;
}
h4 {
    font-family: Nunito !important;
}
h5 {
    font-family: Nunito !important;
}
h6 {
    font-family: Nunito !important;
}

.iconimage {
    color: #fff;
    /* opacity: 0.7; */
    font-weight: 600;
    opacity: 0.9;
    text-shadow: 0 0 0.3em #333;
    position: absolute;
    display: block;
    right: 2.5%;
    top: 2.5%;
    z-index: 99;
}

/* menu */
.tidymag-primary-nav-menu.tidymag-primary-responsive-menu li a:before {
    font-family: fontawesome;
    content: "\f030";
    color: #aaa;
    margin: 0 10px 0 0;
}
@media only screen and (max-width: 1076px) {
    .tidymag-primary-nav-menu.tidymag-primary-responsive-menu li.current-menu-item > a, .tidymag-primary-nav-menu.tidymag-primary-responsive-menu .sub-menu li.current-menu-item > a:hover, .tidymag-primary-nav-menu.tidymag-primary-responsive-menu .sub-menu li.current-menu-item > a:focus, .tidymag-primary-nav-menu.tidymag-primary-responsive-menu li.current_page_item > a, .tidymag-primary-nav-menu.tidymag-primary-responsive-menu .children li.current_page_item > a:hover, .tidymag-primary-nav-menu.tidymag-primary-responsive-menu .children li.current_page_item > a:focus, .tidymag-primary-nav-menu.tidymag-primary-responsive-menu li a, .tidymag-primary-nav-menu.tidymag-primary-responsive-menu li a:hover, .tidymag-primary-nav-menu.tidymag-primary-responsive-menu li a:focus {
        font-family: inherit;
        font-size: 18px;
        padding: 10px;
    }
}

.tidymag-nav-primary {
    padding-bottom: 2px;
}
.tidymag-primary-nav-menu a {
    font-family: Nunito;
    font-size: 16px;
}
.tidymag-primary-nav-menu > li > a {
    text-transform: none;
}
.tidymag-primary-responsive-menu-icon {
    padding-left: 5px;
    padding-right: 0px;
}
.tidymag-primary-responsive-menu-icon:hover,
.tidymag-primary-responsive-menu-icon:focus {
    background: none;
}
.tidymag-top-social-icons a {
    margin-right: 2px;
    font-size: 18px !important;
}

/* home */
.tidymag-posts .tidymag-posts-heading {
    font-size: 24px;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    text-transform: none;
}
.tidymag-cgrid-post-details {
    width: 100%;
    height: auto;
    float: none;
    position: absolute;
    z-index: 5;
    bottom: 0;
    padding: 5px;
    background: none;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
}

.tidymag-cgrid-post-title {
    font-family: inherit;
    font-size: 20px;
    color: #ffffff !important;
    margin: 0 0 5px 0;
    line-height: 1.2;
    text-transform: none;
    text-align: center;
    letter-spacing: -1px;
}
.tidymag-cgrid-post-title a {
    font-weight: 400;
    color: #ffffff !important;
    text-shadow: 0 0 6px #ca0033 !important;
}

/* post single */
/* .entry-title {
    font-family: inherit;
    font-size: 28px;
} */
.entry-title {
    font-family: inherit;
    position: relative;
    margin: 0 0 10px 0;
    text-align: center;
    background: #eee;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    padding: 8px;
}
.entry-content {
    text-align: center;
}
.entry-header {
    font-family: inherit;
}
.entry-footer {
    text-align: left !important;
    margin-top: 20px;
}
.tidymag-entry-meta-single {
    text-transform: none;
    font-family: inherit;
}
.tidymag-entry-meta-single-top {
    text-align: left !important;
    font-size: 16px;
    border-bottom: none;
}
.tidymag-entry-meta-single-top,
.tags-links {
    padding: 8px !important;
    background: #eee;
    display: block;
    font-size: 15px;
}
/* =Page Links */
.page-links{display:inline-block;background:#fff !important;margin-top:10px;margin-bottom:10px;overflow:hidden;color:#fff !important;clear:both;}
.page-links > span,.page-links > a{font-size: 17px;font-family: Roboto, sans-serif;border-radius: 5px;font-weight: normal;float:left;padding:3px 7px; margin:3px ;border:1px solid #444 !important;color:#444 !important;}
.page-links span.page-links-title{border-left:0 !important;background:none !important;color:#fff !important;}
.page-links > span{background:#444 !important;color:#fff !important;}
.page-links a:hover{background:#444 !important;color:#fff !important;}

/* menu sidebar */
.widget_nav_menu ul li a:before {
    font-family: fontawesome;
    content: "\f030";
    color: #888;
    margin: 0 10px 0 0;
}

.tidymag-sidebar-content .tidymag-widget-title {
    margin: -12px -12px 10px -12px;
    padding: 0;
    border-bottom: 1px solid #dddddd;
    color: #000000;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    text-align: left;
}
.tidymag-sidebar-content .tidymag-widget-title span:before {
    font-family: fontawesome;
    content: "\f0c9";
    margin: 0 10px 0 3px;
}
.tidymag-sidebar-content .tidymag-widget-title span {
    font-family: Nunito;
    font-size: 18px;
    background: #323232;
    padding: 10px 10px;
    color: #eee;
    display: block;
}
.tidymag-sidebar-content .tidymag-widget-title a,
.tidymag-sidebar-content .tidymag-widget-title a:hover {
    color: #000000;
}

/* relatead post */
/*
@media screen and (max-width: 355px) {
    .crp_related.crp-rounded-thumbs a {
        width: 200px;
        height: 200px;
    }

    .crp_related.crp-rounded-thumbs img {
        width: 200px;
        height: 200px;
        max-width: 300px;
    }
}
*/
.crp_related.crp-rounded-thumbs h3 {
    font-size: 22px;
}
.crp_related.crp-rounded-thumbs li {
    display: inline-block;
    float: none;
    padding: 3px;
    margin: 0 !important;
    box-shadow: none;
    border: none;
    border-radius: 0
}
.crp_related.crp-rounded-thumbs .crp_title {
    height: 60px;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    background-color: rgba(0, 0, 0, 0.4);
    line-height: 1.3;
    padding: 2px 2px 4px 2px;
}
.crp_related.crp-rounded-thumbs h2 {
    font-size: 21px !important;
    font-family: inherit;
}
.crp_related.crp-rounded-thumbs .crp_title {
    height: 42px;
}
.crp_related.crp-rounded-thumbs img {
    max-width: 150px;
    margin: auto;
}
.crp_related.crp-rounded-thumbs {
    text-align: center !important;
}
.crp_related.crp-rounded-thumbs ul {
    display: inline-block !important;
    float: none;
    margin: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* top 10 */
.tptn_title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.tptn_posts ul li {
    width: 100%;
    float: left;
}

.tptn_posts img {
    border-radius: 10%;
    float: left;
    margin-right: 10px;
    width: 80px;
    height: 80px;
}