/*
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.
*/

@import "css/widgets.css";

h1 > a,
h2 > a,
h3 > a,
h4 > a,
h5 > a,
h6 > a {
  text-decoration: none;
}

/* Hemeroteca */
.newspaper-library h1 {text-align:center; font-family: Roboto Slab; font-size:41px; font-weight:700; margin-bottom:35px;}
.newspaper-library .searchform {font-family:Roboto Slab;}
.newspaper-library .searchform>div {margin-bottom:5px;}
.newspaper-library .searchform input[type=text] {font-size:18px; padding:5px .75rem; width:100%; border-radius:2px;}
.newspaper-library .searchform select {width:100%; min-height:34px; padding:0 10px; border:1px solid #e1e1e1;}
.newspaper-library .searchform #searchsubmit {border:none; background:#A8113F; padding:6px 15px; color:#fff; cursor:pointer;}

.newspaper-library .timeline {font-size:16px; font-weight:400; font-family:Roboto Slab !important; margin:45px 0;}
.newspaper-library .timeline li {list-style-type:none; border-top:none; margin:10px 0; padding-bottom:2px;}
.newspaper-library .timeline li:not(:last-child) {border-bottom:1px solid #E8E8E8;}
.newspaper-library .timeline datetime {background:none; color:#2B2B2B; font-weight:bold; font-family:Roboto Slab !important; text-align:left; padding:10px 0;}
.newspaper-library .timeline h2 {font-family:Roboto Slab; font-size:24px; line-height:1.2; font-weight:800; margin:0 0 5px 0;}
.newspaper-library .timeline .article-meta {width:100%; font-size:12px; text-transform:uppercase; margin:0 0 10px 0; font-weight:Roboto Slab;}
.newspaper-library .timeline .article-meta a, .newspaper-library .timeline .article-meta datetime {float:none; display:inline-block; color:#666; font-weight:400; padding:0; letter-spacing:0.5px;}
.newspaper-library .timeline .article-meta a {color:#A8113F;}
.newspaper-library .btn {display:inline-block; text-align:center; font-size:12px; letter-spacing:5px; border-radius:0; text-transform:uppercase; font-weight:400; padding:10px 15px;}
.newspaper-library .btn-inverse {background:none; border:1px solid #D8D8D8; min-width:200px; margin-bottom:50px;}

@media (min-width: 576px) {
  .newspaper-library .searchform .form-control {margin-bottom:0;}
}
@media (max-width: 575.98px) {
  .newspaper-library .searchform input[type=text]+.form-group {padding:0; margin-bottom:0;}
  .newspaper-library .searchform select {margin-bottom:0;}
}


/* landscape */
@media (min-width: 1019px) and (max-width: 1140px) {
    .widget-graella-digital .td_module_wrap {
        clear: none !important;

        padding-bottom: 18px !important;
        margin-bottom: 18px !important;

        padding-left: 10px;
        padding-right: 10px;

        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    .widget-graella-digital .td_module_wrap:nth-child(4n+1) {
        clear: both !important;
    }

    .widget-graella-digital .td_module_wrap:nth-last-child(-n+4) {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .widget-graella-digital .td_module_wrap .td-module-container:before {
        display: block !important;
    }

    .widget-graella-digital .td_module_wrap:nth-last-child(-n+4) .td-module-container:before {
        display: none !important;
    }

    .widget-graella-digital .td_block_inner {
        margin-left: -10px;
        margin-right: -10px;
    }

    .widget-graella-digital .td-module-container:before {
        bottom: -18px;
    }
}

/* portrait */
@media (min-width: 768px) and (max-width: 1018px) {
    .widget-graella-digital .td_module_wrap {
        clear: none !important;

        padding-bottom: 18px !important;
        margin-bottom: 18px !important;

        padding-left: 8px;
        padding-right: 8px;

        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    .widget-graella-digital .td_module_wrap:nth-child(4n+1) {
        clear: both !important;
    }

    .widget-graella-digital .td_module_wrap:nth-last-child(-n+4) {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .widget-graella-digital .td_module_wrap .td-module-container:before {
        display: block !important;
    }

    .widget-graella-digital .td_module_wrap:nth-last-child(-n+4) .td-module-container:before {
        display: none !important;
    }

    .widget-graella-digital .td_block_inner {
        margin-left: -8px;
        margin-right: -8px;
    }

    .widget-graella-digital .td-module-container:before {
        bottom: -18px;
    }

    .widget-graella-digital .entry-title {
        font-family: Roboto Slab !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }
}

/* phone */
@media (max-width: 767px) {
    .widget-graella-digital .td_module_wrap {
        width: 50%;
        float: left;

        clear: none !important;

        padding-bottom: 18px !important;
        margin-bottom: 18px !important;

        padding-left: 7.5px;
        padding-right: 7.5px;

        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    .widget-graella-digital .td_module_wrap:nth-child(2n+1) {
        clear: both !important;
    }

    .widget-graella-digital .td_module_wrap:nth-last-child(-n+2) {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .widget-graella-digital .td_module_wrap .td-module-container:before {
        display: block !important;
    }

    .widget-graella-digital .td_module_wrap:nth-last-child(-n+2) .td-module-container:before {
        display: none !important;
    }

    .widget-graella-digital .td_block_inner {
        margin-left: -7.5px;
        margin-right: -7.5px;
    }

    .widget-graella-digital .td-module-container:before {
        bottom: -18px;
    }

    .widget-graella-digital .entry-title {
        font-family: Roboto Slab !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    .wpb_wrapper.header-widgets .tdm-content-horiz-center {
        text-align:left!important;
        margin:0;
    }
    .wpb_wrapper.header-widgets .tdm-content-horiz-center strong {
        font-weight:normal;
        font-size:11px;
    }
}