/*
Theme Name:     WP Bootstrap Starter Child Theme
Theme URI:      https://wordpress.org/themes/wp-bootstrap-starter/
Description:    A child theme of WPBS Theme
Author:         Afterimage Designs
Author URI:     https://afterimagedesigns.com/
Template:       wp-bootstrap-starter
Version:        1.5
*/


/****************************************
*** Theme customization starts below ***
*****************************************/


/* Google Fonts import */

@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/****************************************
*** TEST ***
*****************************************/


/*
@media (max-width:767px){
.container, .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
padding-left: 0;
padding-right: 0;
}

.row {
margin-left: 0;
margin-right: 0;
}
}
*/


/****************************************
*** GENERALI ***
*****************************************/

#page {
    background-color: #e7e7e7;
}

@media (max-width:767px) {
    #page {
        margin-top: 50px;
    }
}

.hidden {
    display: none !important;
}

#content.site-content {
    padding: 0;
}

#content.site-content .container:first-child {
    padding-top: 2rem;
}

.container,
.container-fluid {
    background-color: white;
    border-left: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
}

@media (min-width: 576px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    #content.site-content {
        padding-top: 0;
    }
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 100%;
    }
    .hidden-desktop {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .container {
        /* max-width: 1240px; */
    }
}

a {
    color: #ff8f00;
}

a:hover {
    text-decoration: none;
}

.entry-title a {
    color: #1c486a;
}

.pt-4 {
    padding-top: 2rem!important;
}

.pb-4 {
    padding-bottom: 2rem!important;
}

.form-control,
.btn {
    border-radius: 0;
    font-size: 0.9rem;
}

.btn-danger,
.btn-danger:hover {
    background: #ff8f00;
    border: 1px solid #ff8f00;
    text-transform: uppercase;
}


/*** Blocks **/

.block-title {
    border-bottom: 2px solid #1c486a;
    margin-bottom: 0.8rem;
}

.block-title div {
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 4px 6px 3px 20px;
    background-color: #1c486a;
    color: white;
    width: 175px;
}


/****************************************
*** Fonts ***
*****************************************/

html {
    font-size: 100%;
}

body {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    color: #1c486a;
}

.page-title {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #1c486a;
}


/*******************************
************ HEADER ***********
*******************************/

.navbar {
    background: white;
}

@media (max-width:767px) {
    #navbar {
        z-index: 1000;
        height: 50px;
        position: fixed;
        /* Make it stick/fixed */
        top: 0;
        /* Stay on top */
        left: 0;
        padding: 0px 0.5rem !important;
        width: 100%;
        /* Full width */
        transition: top 0.5s;
        /* Transition effect when sliding down (and up) */
    }
}

#main-nav a.nav-link {
    font-size: 0.6rem;
    font-family: 'Lato', sans-serif;
    color: white !important;
}

ul#menu-main {
    width: 100%;
}

ul#menu-main li {}

#main-nav li a {
    padding: 0.8rem 0.45rem !important;
}

#main-nav li a {
    border-left: 1px solid #ff8f00;
}

#main-nav li:first-child a {
    border-left: 0;
}

#main-nav li.active a {
    background: #ff8f00;
}

.navbar-brand img {
    max-width: 180px;
}

#mobile-nav a.nav-link {
    font-family: 'Lato', sans-serif;
    color: white !important;
    font-size: 1rem;
    border-bottom: 1px solid #ff8f00;
}

#mobile-nav li {
    margin-left: 0.4rem;
}

#mobile-nav li.active a {
    color: #ff8f00 !important;
    font-weight: bold;
}

#mobile-nav li a {
    padding: 0.3rem 0!important;
}

.navbar i.fa {
    color: #1c486a;
}

@media (min-width:768px) {
    .navbar {
        background-color: #1c486a;
    }
    .navbar .navbar-brand {
        display: none;
    }
}

@media (min-width:992px) {
    #main-nav a.nav-link {
        font-size: 0.7rem;
    }
    #main-nav li a {
        padding: 1rem 0.8rem !important;
    }
}

@media (min-width:1200px) {
    #banner-desktop .brand img {
        max-width: 430px;
    }
    #main-nav a.nav-link {
        font-size: 0.9rem;
    }
    #main-nav li a {
        padding: 0.8rem 0.8rem !important;
    }
}

.offcanvas {
    position: fixed;
    top: 0;
    /* Height of navbar */
    bottom: 0;
    right: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    z-index: 10000;
    overflow-y: hidden;
    visibility: hidden;
    background-color: #1c486a;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    transition-property: right, visibility;
}

.offcanvas.open {
    right: 0;
    visibility: visible;
}

.offcanvas-secondary {
    position: fixed;
    top: 0;
    /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    z-index: 10000;
    overflow-y: hidden;
    visibility: hidden;
    background-color: #1c486a;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    transition-property: left, visibility;
}

.offcanvas-secondary.open {
    left: 0;
    visibility: visible;
}

.offcanvas-secondary h4,
.offcanvas-secondary h3 {
    color: white !important;
}

.offcanvas-secondary h4 {
    font-size: 1.2rem;
}

.offcanvas-header {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.offcanvas-header .navbar-brand img {
    max-width: 180px;
}

.offcanvas-header .fa {
    color: white;
}

.offcanvas-header button {
    background: none;
    border: none;
}

.offcanvas-secondary .scrollable {
    overflow-y: auto;
    max-height: 320px;
    overflow-x: hidden;
}


/*******************************
************ SIDEBAR ***********
*******************************/

.widget {
    margin: 0;
    font-size: 1rem;
}

.sidebar-block {
    margin-bottom: 2rem;
}

.blocco-seguici,
.blocco-info {
    border-bottom: 2px solid #ff8f00;
    padding-bottom: 30px;
}

.blocco-info img {
    max-width: 90px;
    height: auto;
}

h4.seguici-title {
    background-color: #ff8f00;
    color: #fff;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.blocco-seguici a i {
    background-color: #1c486a;
    color: #fff;
    transition: 0.2s;
    text-decoration: none !important;
}

.blocco-seguici i {
    font-size: 40px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 20px;
    margin-top: 30px;
}

.blocco-seguici a i {
    background-color: #1c486a;
    color: #fff;
    transition: 0.2s;
    text-decoration: none !important;
}

.blocco-seguici a:hover i {
    background-color: #ff8f00;
    color: white;
    text-decoration: none !important;
    transition: 0.2s;
    border: 0px !important;
}

.blocco-seguici a:hover {
    color: white;
}

.blocco-seguici p {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.fb_iframe_widget {
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    width: 134px;
}

.blocco-info {}

.icon-segnalazioni {
    text-transform: uppercase;
    font-size: 0.8rem;
    text-align: center;
}

.icon-segnalazioni img {
    margin-bottom: 0.5rem;
}

.icon-segnalazioni a {
    color: #333;
}

.time-space-wrapper {
    width: 100%;
    background-color: #1c486a;
    padding: 4px;
    color: white;
    text-align: center;
}

.simple-weather {
    display: block;
}

.simple-weather-widget .widget_title {
    font-size: 2rem;
}

.simple-weather-table__row {
    background-color: #1c486a0f;
    padding: 10px;
}

.mailchimp-block {
    background-color: #1c486a;
    padding: 30px;
    text-align: center;
    color: #fff;
}

.mailchimp-block img {
    max-width: 90px;
    margin: -10px 0 4px 0;
}

.mailchimp-block strong {
    color: #ff8f00;
    font-size: 1.5rem;
}

.mailchimp-block .titoletto {
    font-size: 1.4rem;
    margin-bottom: 10px;
    width: 100%;
    float: left;
    line-height: 1.4em;
}

input.form-newsletter-sidebar {
    font-size: 1rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
    padding: 4px;
}

.check-newsletter-sidebar {
    float: left;
    width: 100%;
    margin-bottom: 20px;
    font-size: 0.85rem;
    line-height: 1.6em;
    margin-top: -20px;
}

.check-newsletter-sidebar a {
    font-weight: 700;
    text-decoration: underline;
    color: #fff;
}

input.button-full {
    background-color: #dd8c0b;
    width: 100%;
    text-transform: uppercase;
    font-size: 16px;
}

input[type=submit] {
    font-size: 1rem;
    text-transform: uppercase;
    background-color: #ff8f00;
    color: #fff;
    padding: 15px;
    font-weight: 400;
    border: none;
}

.sidebar-block @media (min-width: 768px) {
    h4.seguici-title {
        margin-top: 0px;
    }
}


/****************************************
*** Articolo  ***
*****************************************/

.single-post h1.entry-title {
    font-size: 2.7rem;
    line-height: 3rem;
    font-weight: 700;
    color: #1c486a;
    border: none;
    margin-bottom: 7px;
    word-wrap: break-word;
}

@media (max-width:767px) {
    .single-post h1.entry-title {
        font-size: 1.7rem;
        line-height: 1.9rem;
    }
}

p.occhiello {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.4rem;
    font-weight: 700;
    color: #1c486a;
    margin-bottom: 0.2rem;
}

h2.catenaccio {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    line-height: 1.4rem;
    font-weight: 400;
    font-style: italic;
}

.testo-articolo {
    font-size: 1.1rem;
    line-height: 1.8rem;
    color: #1c486a;
    margin-top: 10px;
    font-weight: 400;
}

@media (min-width: 992px) {
    .testo-articolo {
        hyphens: none;
        margin-bottom: 40px;
    }
}

.entry-crumbs {
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1rem;
    background-color: #1c486a;
    padding: 0.3rem;
    color: white;
}

.post-date {
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: #aaa;
}

.post-copyright {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: 500;
    margin-bottom: 30px;
}


/****************************************
*** SOCIAL SHARE ARTICOLO ***
*****************************************/

.shareaholic-share-buttons-container {
    margin-bottom: 30px !important;
}

.shareaholic-share-buttons-container li.shareaholic-total-count .shareaholic-total-share-count {
    position: relative;
    top: 0;
    font-size: 20px;
    line-height: 20px;
}

.entry-date.td-module-date {
    font-size: 14px;
    font-family: Roboto;
}

.copyright_post {
    font-size: 14px !important;
    color: #aaa;
    margin-bottom: 30px
}

@media (min-width: 768px) {
    .shareaholic-canvas.shareaholic-share-buttons-container.shareaholic-ui.shareaholic-resolved-canvas {
        display: none;
    }
}


/****************************************
*** Contentuti Multimediali Articolo ***
*****************************************/

.contiene {
    color: #1c486a;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.multimedia {
    margin-bottom: 2rem;
}

.multimedia ul.nav {
    border: 1px solid #ccc;
    padding: 6px;
}

.multimedia ul li {
    padding: 0 12px;
}

.multimedia ul li a {
    color: #1c486a;
}

.multimedia ul li a:hover,
.multimedia ul li a.active {
    color: #ff8f00;
    background: none;
}

.galleria-icon:before {
    content: "";
    background: url(https://www.aldomaldera.it/aprilianews/wp-content/themes/wp-bootstrap-starter-child/assets/img/icone-toolbar.png);
    margin-right: 7px;
    float: left;
    width: 26px;
    height: 22px;
}

.video-icon:before {
    content: "";
    background: url(https://www.aldomaldera.it/aprilianews/wp-content/themes/wp-bootstrap-starter-child/assets/img/icone-toolbar.png);
    margin-right: 7px;
    float: left;
    width: 26px;
    background-position: -138px -1px;
    height: 22px;
}

.audio-icon:before {
    content: "";
    background: url(https://www.aldomaldera.it/aprilianews/wp-content/themes/wp-bootstrap-starter-child/assets/img/icone-toolbar.png);
    margin-right: 7px;
    float: left;
    width: 26px;
    background-position: -82px -1px;
    height: 22px;
}

.documenti-icon:before {
    content: "";
    background: url(https://www.aldomaldera.it/aprilianews/wp-content/themes/wp-bootstrap-starter-child/assets/img/icone-toolbar.png);
    margin-right: 7px;
    float: left;
    width: 26px;
    background-position: -54px -1px;
    height: 22px;
}

#allegati {
    margin: 1rem 0;
}

#allegati a:before {
    content: "\f1c1";
    font-family: FontAwesome;
}

#allegati a {
    margin: 6px;
    font-size: 1.1rem;
}

.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
    background: #1c486a !important;
}

#slider-articolo {
    padding: 0;
    box-shadow: none;
    border-radius: 0px;
    overflow: hidden;
    margin: 0;
}

#slider-articolo .points {
    margin: 20px 0;
}

@media (max-width:767px) {
    #slider-articolo .buttons {
        display: none;
    }
}


/****************************************
*** Moduli e Gruppi post ***
*****************************************/

.main-block {
    margin-bottom: 2rem;
}

.an-module .thumb {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.an-module .entry-title h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}


/* PRIMA PAGINA */

body.category-prima-pagina .module-categoria .thumb {
    margin-bottom: 1rem;
}


/* PRIMO POST CATEGORIA */

.fp-container {
    position: relative;
}

.fp-content-desktop {
    position: absolute;
    bottom: 10px;
    ;
    width: 95%;
}

.module-first-post .thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background-position: center !important;
}

@media (min-width:768px) {
    .module-first-post .thumb {
        padding-top: 43.449%;
        /* 2.35:1 Aspect Ratio */
    }
}

.module-first-post .block-title {
    margin-bottom: 0;
}

.fp-content-desktop .entry-title {
    background: rgba(5, 44, 82, 0.7) !important;
    width: 100%;
}

.fp-content-desktop .entry-title h2 {
    font-size: 2.2rem;
    font-weight: 400;
    padding: 1rem;
    color: white;
}

.fp-content-mobile .block-title div {
    width: 100%;
}

.fp-content-mobile .entry-title {
    background: #1c486a !important;
    width: 100%;
}

.fp-content-mobile .entry-title h2 {
    font-size: 1.6rem !important;
    font-weight: 400;
    padding: 1rem;
    color: white;
}


/* POST CATEGORIA */

.module-categoria {
    margin-bottom: 2rem;
}

@media (max-width:767px) {
    .module-categoria {
        margin-bottom: 1rem;
    }
}

.module-categoria h2 {
    font-size: 1.4rem !important;
    border: none;
}

.module-categoria .excerpt {
    color: #212529;
    font-size: 1rem;
}

@media (max-width:992px) {
    .module-categoria .thumb {
        margin-bottom: 1rem;
    }
}


/* MODULO SIDEBAR */

.module-sidebar h3 {
    font-size: 0.9rem !important;
}

.module-sidebar {
    margin-bottom: 0.45rem;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 0.45rem;
}

.module-sidebar img {
    width: 120px;
    height: 90px;
}

.articoli-correlati .content {
    background-color: #e7e7e7;
    padding: 20px;
}

.module-correlati {
    margin-bottom: 1.4rem;
}

.module-correlati .thumb {
    border: 5px solid white;
}

.module-correlati .entry-title h3 {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem;
}

.suggeriti-redazione {
    background-color: #1c486a;
    padding: 20px;
}

.suggeriti-redazione .module-content {
    background-color: #ff8f00;
    height: 100%;
}

.suggeriti-redazione .module-correlati h3 {
    color: white;
}

.suggeriti-redazione-title {
    border-bottom-color: #ff8f00;
}
.suggeriti-redazione-title div{
    background-color: #ff8f00;
    color: white;
}

/****************************************
*** ADV ***
*****************************************/

div[class^="april-"] {
    margin-bottom: 2rem;
}

div[class^="april-"] img {
    border: 12px solid #d2d2d2;
    max-width: none;
    width: 100%;
}

div[class^="april-"] iframe {
    background-color: #e7e7e7;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    height: calc(100% + 12px) !important;
}

@media (max-width:768px) {
    div[class^="april-"] {
        margin-left: -14px;
        margin-right: -14px;
    }
    div[class^="april-"] img {
        border-left: 0;
        border-right: 0;
    }
}

.april-header-adv6-mobile,
.april-header-adv6-desktop,
.april-sidebar-adv1-top,
.april-sidebar-adv1-bottom {
    margin: 0 !important;
}

.april-header-adv6-desktop img,
.april-adv6-april-mobile img,
.april-header-adv6-desktop iframe,
.april-adv6-april-mobile iframe {
    border: none !important;
}

.april-sidebar-adv1-top img,
.april-sidebar-adv1-top iframe,
.april-sidebar-adv1-bottom img,
.april-sidebar-adv1-bottom iframe {
    margin-bottom: 11px;
}

.contenuto-sponsorizzato {
    text-align: left !important;
    color: #b4b4b4;
    font-style: italic;
    font-size: 12px;
}

.media-container {
    position: relative;
    padding-bottom: 20.85%;
    height: 0;
    overflow: hidden;
    width: 100%;
}

@media (max-width:575px) {
    .media-container {
        padding-bottom: 41.66%;
    }
}

.media-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/****************************************
*** FOOTER ***
*****************************************/

.main-footer {}

@media (max-width:767px) {
    .main-footer {
        text-align: center;
    }
}

.main-footer .col {
    background-color: #1c486a;
    color: white;
    padding: 3rem 2rem;
}

.main-footer a {
    color: white;
}

.main-footer p {
    font-size: 0.9rem;
}

.main-footer .search {
    margin-bottom: 2rem;
}

.social-link {
    padding-top: 2rem;
    padding-left: 1rem
}

.social-link i {
    width: 45px;
    border-radius: 5px;
    border: 1px solid #fff;
    /* padding: 10px; */
    height: 45px;
    line-height: 45px;
    margin-right: 5px;
    text-align: center
}

.site-info {
    color: #555;
    font-size: 0.9rem;
}

.site-info a {
    color: #ff8f00;
}

#toTop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    display: none;
    background: #ff8f00;
    color: white;
    padding: .3rem .6rem;
}


/****************************************
*** FORM CONTATTO ***
*****************************************/

.wpcf7 .form-control {
    border: none;
}