/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

/* NAVIGATION STYLES */

/* -- Top nav styles -- */
#menu-td-demo-top-menu-2 li a {
    font-size: 14px;
    font-weight: 500;
}

#menu-td-demo-top-menu-2 li a:hover {
    color: #ffffff;
}

#dev_header .devclass_top_menu {
    margin-bottom: 0;
}

body .tdi_27_rand_style {
    background-color: #000e26!important;
}

/* -- General nav styles -- */
.devclass_header .td-element-style {
    background-color: #000e26!important;
}

#td-outer-wrap .td-header-template-wrap,
#td-outer-wrap .td-header-template-wrap .tdi_29_rand_style {
    background-color: #000e26!important;
}

/* -- Top nav styles -- */
.tdb_header_menu .tdb-menu > li:hover > a:after,
.tdb_header_menu .tdb-menu > .current-menu-item > a:after {
    background-color: #ffd800;
}

/* -- Global style -- */
.td-container, .tdc-row,
.tdc-row-composer {
    max-width: 1164px;
    width: 100%;
}

.tdb-logo-a {
	max-width: 250px;	
}

h1, h2, h3, h4, h5, h6,
h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a,
.td-post-author-name a,
.td-post-date {
    color: #ffffff;
}

.td-excerpt {
    color: #aaa;
    font-family: "PT Sans";
}

.td_module_wrap .entry-title {
    font-weight: 700;
}

/* -- -- Advert style -- -- */

#tdi_41.tdc-row, .td-footer-template-wrap #tdi_82.tdc-row {
    max-width: 100%;
}

#tdi_41.tdc-row .condor_ad .tdi_41_rand_style {
    background-color: #000000!important;
}

#tdi_111.tdc-row, #tdi_54.tdc-row, .td-footer-template-wrap #tdi_55 {
    margin-top: 2.5em;
    max-width: 100%;
}

.td-footer-template-wrap #tdi_82.tdc-row {
    margin-top: 2.5em;
}

.td-post-content #ad-falcon {
    margin-bottom: 15px;
    margin-top: 9px;
    margin-right: 21px;
    float: left;
}

/* -- -- Search popup style -- -- */

.tdb_module_search .td-module-title a {
    color: #000;
}

.tdb_module_search .td-post-date {
    color: #aaaaaa;
}

.search-results .tdc-content-wrap {
    width: 1068px;
    margin-right: auto;
    margin-left: auto;
}

.search-results .tdb-title-text, .search-results .td-module-title a {
    color: #8b4cd1;
}

.search-results  .td-post-author-name a {
    color: #000;
}

.search-results  .td-post-date {
    color: #aaaaaa;
}

/* -- Home Page Style -- */

/* -- -- Section one style -- -- */
#tdi_57 {
    width: 100%;
}

body .dev_row_1_col2 .td-module-meta-info {
    padding: 20px;
    background-color: #131b26;
}

body .dev_row_1_col2 .td-module-meta-info .td-editor-date .td-post-category {
    display: none;
}

body .dev_row_2 .td-module-meta-info {
    position: absolute;
    bottom: -28%;
    left: 50%;
    width: 87%;
    background-color: #fff;
    border-bottom: 1px dashed #f1f1f1;
    margin: 0 20px;
    padding: 14px 20px 25px 20px;
    transform: translateX(-56%);
}

body .dev_row_2 .td-module-meta-info h3 a, .dev_row_2 .td-post-author-name a {
    color: #000000;
}

body .dev_row_2 .td-post-date {
color: #aaa;
}

#devops_wrapper .td_block_inner .td_module_flex_1 {
    width: 66.66666667%;
}

#devops_wrapper .td_block_inner .td_module_column {
    width: 33.33333333%;
}

#devops_wrapper {
    background-color: #E8E8E8;
    position: relative;
    margin-bottom: 5em;
    display: inline-block;
}

#devops_wrapper .td-post-author-name a, #devops_wrapper .td-post-date {
    color: #aaa;
}

#devops_wrapper::before {
    background-color: black;
    top: -10em;
    content: '';
    display: block;
    height: 11em;
    left: 0;
    position: absolute;
    right: 0;
    transform: skewY(-7.8deg);
    transform-origin: 100%;
    z-index: 0;
}

#devops_wrapper::after {
        background-color: black;
    bottom: -5em;
    content: '';
    display: block;
    height: 12%;
    left: 0;
    position: absolute;
    right: 0;
    transform: skewY(3.8deg);
    transform-origin: 100%;
    z-index: 0;
}

#devops_wrapper h3, #devops_wrapper h3 a {
    color: #000000;
}

#devops_wrapper .td_module_flex_3:nth-of-type(1) h3 a {
    color: #000000;
    font-size: 21px;
    line-height: 25px;
    margin: 13px 0 6px 0;
}

#devops_wrapper .td_block_inner {
    padding: 0 25px;
}

#devops_wrapper .td_module_wrap {
    margin-top: -2em;
}

#devops_wrapper .td-module-meta-info {
    padding-bottom: 4em;
}

#devops_wrapper .td_module_flex_1 .td-module-container {
    padding-top: 2em;
}

#devops_wrapper .td_module_flex:nth-of-type(1) .td-category-pos-image h3{
    position: absolute;
    top: 52%;
    background-color: #fff;
    width: 90%;
    left: 5%;
    padding: 1em;
    font-size: 30px;
    line-height: 38px;
    font-weight: 500;
}

#devops_wrapper .td_module_flex_3:nth-of-type(1) .td-image-container, #devops_wrapper .td_module_flex_3:nth-of-type(1) .td-module-meta-info {
    flex: 0 0 100%;
    width: 100%;
    padding-left: 0;
}

#devops_wrapper .td_module_flex_3:nth-of-type(1) .td-module-container {
    flex-direction: column;
}

/* -- -- Section three style -- -- */
.dev_double {
    margin-top: 7em;
}

/* -- Single post style -- */


.single-post .td-container,
.single-post  .tdc-row {
    max-width: 1068px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.single-post header .entry-title a {
    color: #000000;
}

.single-post .td-post-header {
    max-width: 744px;
}

.single-post .td-post-author-name a {
    font-weight: 700;
    margin-right: 3px;
    color: #000000;
}

#td-outer-wrap .td-main-page-wrap {
    padding-top: 4em;
}

.single-post .td-main-content-wrap {
    margin-top: 1.5em;
}

@media only screen and (max-width: 1068px) {
    .single-post .td-container, .single-post  .tdc-row {
    padding: 0 1em;
    }
}

/* -- -- Single page social icons / share -- -- */

.social_wrapper {
    width: 100%;
    display: inline-block;
    margin: 2em auto;
}

.social_icon_box {
    background-color: #000;
    border-radius: 2px;
    width: 40px;
    display: inline-block;
    height: 40px;
    position: relative;
}

.td-social-but-icon {
    z-index: 1;
    display: inline-block;
    color: #ffffff;
}

.td-social-but-icon i {
    font-size: 17px;
    vertical-align: middle;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.td-social-but-text {
    display: none;
}

/* -- -- Single page related -- -- */

.relpost-block-single {
    margin-right: 4.37%;
}

.relpost-block-single:nth-child(4n) {
    margin-right: 0;
}

.relpost-block-single-text {
    text-align: left;
    font-weight: 500;
}
/* -- Category Pages -- */
.category.td-boxed-layout .td-container-wrap {
	padding: 0 3em;
    box-sizing: content-box;
}

.category.td-boxed-layout .td-post-date {
    color: #aaa;
    display: inline-block;
    position: relative;
    top: 2px;
}

.category.td-boxed-layout .td-excerpt p {
    font-size: 13px;
    color: #777;
    font-family: "PT Sans";
    margin-top: 9px;
}

.category.td-boxed-layout .td-module-comments {
	display: none;
}

.category .td-ss-main-content .type-post a {
	color: #111111;
}

.category .td-ss-main-content .type-post .td-post-category {
	color: #ffffff;
}

body.category .tdi_69 .tdc-row-video-background-error, body.category .tdi_69 .vc_column {
    padding-left: 18px!important;
}

/* -- Page general style -- */


.page-template-default .td-main-content-wrap .td-container {
    max-width: 1068px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

@media only screen and (max-width: 1068px) {
    .page-template-default .td-main-content-wrap .td-container {
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* MOBILE STUFF */

@media only screen and (max-width: 500px) {
    #devops_wrapper .td_module_flex:nth-of-type(1) .td-category-pos-image h3 {
        position: inherit;
        width: 100%;
    }

    .dev_double .tdi_71 {
        padding: 0!important;
    }

    .dev_double .tdi_71 .td-module-meta-info {
        padding: 0 20px 0 20px;
    }

    .dev_double .tdi_71 .td-module-thumb {
        margin-left: auto;
    }
}

@media only screen and (max-width: 600px) {

    .td-pb-row [class*="td-pb-span"] {
        padding-left: 0!important;
        padding-right: 0!important;
    }

    .menu-td-demo-footer-menu-container ul {
        justify-content: center!important;
    }

    .dev_last_col .tdi_98 .td_module_wrap {
        width: 100%;
    }

    .dev_last_col #tdi_98 .td-cpt-post:first-child {
        margin-bottom: 2em!important;
    }

}
@media only screen and (max-width: 700px) {
    .dev_row_2 .tdi_66 .td_module_wrap {
        width: 100%;
        float: none;
    }

    body .dev_row_2 .td-module-meta-info {
        bottom: 5%;
    }

    .tdi_66 .td-module-container {
        margin-bottom: 1em;
    }
}


@media only screen and (max-width: 768px) {

    /* -- -- Section one style -- -- */
    .dev_row_1 .tdi_58 .td-module-thumb {
        margin-left: -14px;
    }

    #devops_wrapper .td_block_inner .td_module_flex_1, #devops_wrapper .td_block_inner .td_module_column {
        width: 100%;
    }

    #devops_wrapper::after {
        height: 0;
    }

    #devops_wrapper .td_module_wrap {
        margin-top: 0;
    }

    #devops_wrapper .td_module_flex_3:nth-of-type(1) .td-image-container, #devops_wrapper .td_module_flex_3:nth-of-type(1) .td-module-meta-info {
        margin-bottom: 1em;
    }

    /* -- -- Header style -- -- */
    body .tdi_10 .tdb-logo-img-wrap {
        display: inherit;
    }

    body .tdi_10 .tdb-logo-img-wrap img {
        max-height: 48px;
    }

    .tdi_10 .tdb-logo-text-wrap {
        display: none!important;
    }
	
	.category.td-boxed-layout .td-container-wrap {
		padding: 0;
	}
}

@media only screen and (max-width: 999px) {

    /* -- -- Global styles -- -- */
    .td_module_wrap .entry-title {
        font-size: 15px;
        line-height: 1.2;
    }
    /* -- -- Section one style -- -- */
    #devops_wrapper .td_module_flex:nth-of-type(1) .td-category-pos-image h3 {
        font-size: 22px;
        line-height: 1.2;
    }
}

@media only screen and (max-width: 1179px) {

    /* -- -- Header style -- -- */
    .td-header-desktop-wrap {
        padding: 0 14px;
    }
}
