/*
Theme Name: ProfDuePuntoZero 2023
Theme URI: https://www.pepenymi.com/
Description: Tema per il blog ProfDuePuntoZero.it in occasione dell'uscita del nuovo libro di Alessandro D'Avenia "Restisti cuore"
Author: PEPE nymi
Version: 1.0
License: GNU General Public License
License URI: license.txt
*/

/*
Modifica il colore di sfondo del body
*/

body{
    /*background-color: #fff;*/
    background-color: #DCEAF2;
    font-family: "Poppins",Helvetica,Arial,sans-serif;
    font-size: 15px;
}


/*
Modifica il colore di sfondo del menu hamburger
*/

#header nav.navbar.navbar-default.navbar-fixed-top button.navbar-toggle {
    background-color: #DCEAF2;
}

/*
Modifica la dimensione dei titoli
*/

h2, .h2 {
    font-size: 30px;
}


#header nav.navbar.navbar-default.navbar-fixed-top a.navbar-brand {
	width: 148px;
    background: transparent url(img/logo-white.png) no-repeat left center;
    background-size: contain;
}

#header nav.navbar.navbar-default.navbar-fixed-top.scrolled a.navbar-brand {
	width: 148px;
    background: transparent url(img/logo.png) no-repeat left center;
    background-size: contain;
}

/*
Modifica la dimensione dei titoli nella pagina libri
*/

.libri-archive .libro-precedente h2 {
    min-height: 50px;
}

.libri-archive .libro-precedente h2 {
    padding-bottom: 0px;
    font-size: 14px;
}

/*
Modifica la formattazione dei titoli dei libri
*/

.main .post h1, .main .post h2, .main .post h3, .main .post h4, .main .post h5, .main .post h6 {
    font-family: 'Roboto Mono', monospace !important;
}

/*
Modifica i colori dei bottoni
*/

.btn-default, #footer .info .socials .socials-item,.comments .comment-respond .comment-form .form-submit #submit, .post .form-proposta .form-submit .wpcf7-submit {
    background-color: #DCEAF2;
}

.btn-default:hover {
    background-color: #A5CBE1;
}

.btn-default:active, .btn-default:focus {
    background-color: #77B0D1;
}

.comments .comment-respond .comment-form .form-submit #submit:hover, .post .form-proposta .form-submit .wpcf7-submit:hover{
    background-color: #A5CBE1;
}

.comments .comment-respond .comment-form .form-submit #submit:active, .post .form-proposta .form-submit .wpcf7-submit:active, .comments .comment-respond .comment-form .form-submit #submit:focus, .post .form-proposta .form-submit .wpcf7-submit:focus, .post .form-proposta .form-submit .wpcf7-submit:focus, .post .form-proposta .form-submit .wpcf7-submit.focus{
    background-color: #77B0D1;
}

.focus{
    background-color: #77B0D1 !important;
}

.ew-slider .carousel-control {
    opacity: .8;
    width: 42px;
    height: 42px;
    line-height: 42px;
    font-size: 21px;
    border: 2px solid #000;
    border-radius: 999em;
    color: #000 !important;
    box-shadow: none;
    text-shadow: none;
    background-image: none;
    background-color: #DCEAF2;
}

/*
Modifica i colori delle paginazioni
*/

.dark .navigation a, .dark .navigation a:hover {
    color: #2A2A2A;
}


/* 
Risolve un bug legato all'estensione dell'immagine di sfondo dell'header
*/

#header .head-background {
	background-size: cover;
    background: transparent url('img/header.jpg') no-repeat center center;
}

/* 
Risolve un bug legato al puntamento dell'immagine del logo nel main container
*/

#header .head .logo{
        background: transparent url('img/logo-white.png') no-repeat left center;
}

/* 
Risolve un bug legato al puntamento dell'immagine di sfondo nel footer
*/
@media (min-width: 992px){
    #footer {
background: transparent url('img/footer.jpg') no-repeat right bottom;
}
}

@media (max-width: 991px){
    #footer .info {
    padding-top: 240px;
    padding-bottom: 45px;
    background: transparent url('img/footer.jpg') no-repeat right bottom;
    background-size: cover;
    text-align: center;
}
}


/* 
Risolve un bug legato al widget biografia che non mandava a capo le widget social
*/

#sidebar-footer .widget_alex {
	float: none;
	width: 66.666%;
}

/* 
Modifica il blocco della citazione del libro in evidenza
*/

#header .head .ultimo-libro .ultimo-libro-citazione {
	margin: 30px 30% 0 0;
}

/* 
Modifica la font della citazione del libro in evidenza
*/

#header .head .ultimo-libro .ultimo-libro-citazione p {
	font-family: 'Roboto Mono', monospace;
	font-size: 30px;
    letter-spacing: 1px;
    color: #fff;
    /*text-transform: uppercase;*/
    /*text-shadow: -1px 1px 1px #fff;*/
}

/* 
Toglie l'effetto evidenziatore dalla citazione del libro in evidenza
*/

#header .head .ultimo-libro .ultimo-libro-citazione p em {
	background-color: transparent;
}

/* 
Modifica la font delle categorie del menu nel footer
*/

#footer .footer-menu .widget h4 {
	font-family: 'Roboto Mono', monospace;
    font-size: 32px;
    letter-spacing: 1px;
	/*color: #ae3a36;*/
    color: #da3326;
    /*text-transform: uppercase;*/
	text-shadow: -1px 1px 1px #fff;
}

/* 
Toglie l'effetto evidenziatore dalle categorie del menu nel footer
*/

#footer .footer-menu .widget h4 span {
	background-color: transparent;
}

/* 
Modifica la font delle voci di menu nel footer
*/

#footer .footer-menu .widget a {
    font-family: 'Roboto Mono', monospace;
	color: white;
	text-shadow: -1px 1px 2px black;
}

/* 
Toglie l'effetto evidenziatore dalle voci di menu nel footer
*/

#footer .footer-menu .widget a {
	background-color: transparent;
}

/* 
Modifica la font dei titoli delle pagine interne
*/

#header .head .page-title {
	font-family: 'Roboto Mono', monospace;
    color: white;
    letter-spacing: 1px;    
    /*text-transform: uppercase;*/
    /*text-shadow: -2px 2px 3px black;*/
}

#header .head .page-title a {
    color: white;
}

#header .head .page-title a:hover {
	color: #da3326;
	text-decoration: none;
}

/* 
Toglie l'effetto evidenziatore dai titoli delle pagine interne
*/

#header .head .page-title span {
	 background-color: transparent; 
}

/* 
Modifica la font dei titoli dei post
*/

.main .post h1, .main .post h2, .main .post h3, .main .post h4, .main .post h5, .main .post h6 {
    font-family: 'Roboto Mono', monospace !important;    
    letter-spacing: 1px;    
    /*text-transform: uppercase;*/
}

/* 
Modifica la font dei titoli nel resto del sito
*/

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Roboto Mono', monospace;
    letter-spacing: 1px;    
    /*text-transform: uppercase;*/
}


/* 
Modifica la font delle note legali nel footer
*/

#footer .info .legals span {
	background-color: transparent;
	color: whitesmoke;
}

/* 
Modifica la font dei link nelle note legali nel footer
*/

#footer .info .legals a {
	color: #da3326;
    font-weight: 600;
}

/* 
Modifica i colori della sezione archivio articoli
*/

.post-archive.dark, .post-single.dark{
    color: #fff;
    background-color: #da3326;
}

.dark .post .categories, .dark .post .date,.dark .post a{
    color: #2A2A2A;
    font-weight: 600;
}

.dark .sidebar-categories li.categories ul .cat-item a {
    color: #2A2A2A;
}

.post-single.dark .post a {
    color: #2A2A2A !important;
}


/* 
Modifica la font della lista categorie a lato
*/

.sidebar-categories li.categories {
    font-family: 'Roboto Mono', monospace;
    font-size: 34px;
}

/* 
Modifica il puntamento all'immagine autore del tema corrente
*/

#sidebar-footer .widget_alex .textwidget .foto-container .foto ul {
    background: transparent url('img/alex.jpg') no-repeat center center;
}

/* 
Modifica i colori della nav-bar
*/

#header nav.navbar.navbar-default.navbar-fixed-top.scrolled {
    background-color: #DCEAF2;
}


@media (min-width: 992px) {
#header nav.navbar.navbar-default.navbar-fixed-top {
    background-color: rgba(220,234,242,0.70);
}
    #header nav.navbar.navbar-default.navbar-fixed-top .navbar-form input[name="s"] {
    background-color: rgba(220,234,242,0.50);
}
}

@media (max-width:991px) {
    
    /* 
    Modifica la font delle categorie del menu nel footer
    */

    #footer .footer-menu .widget h4 {
        color: black;
        text-shadow: 0 0 0 transparent;
    }
    
    /* 
    Modifica la font delle voci di menu nel footer
    */

    #footer .footer-menu .widget a {
	    color: #666;
        text-shadow: 0 0 0 transparent;
    }    
    
    /* 
    Modifica il colore del menu a tendina
    */
    
    #header nav.navbar.navbar-default.navbar-fixed-top .navbar-collapse.collapse.in {
    background-color: #ECF4F8;
}

}

@media (max-width:767px) {
    
    /* 
    Modifica la font della citazione del libro in evidenza
    */

        #header .head .ultimo-libro .ultimo-libro-citazione {
    	margin: 30px 0 0 0 !important;

    }
    
    #header .head .ultimo-libro .ultimo-libro-citazione p {
        color: black;
        text-shadow: 0 0 0 transparent;

    }
}


    /* 
    Modifica la visualizzazione dei libri in evidenza in homepage
    */


@media (min-width: 992px){
.col-md-3 {
    width: 16.6666666%;
}
    
    #header .head-libri {
    padding-bottom: 75px;
}
    
    #header .head-libri .ew-slider .cover {
    width: 140px;
}
}

@media (min-width: 768px) and (max-width: 991px){

    #header .head-libri {
    padding-bottom: 10px;
}
    
#header .head-libri .ew-slider .cover {
    width: 110px;
}
    }

    /* 
    Modifica la visualizzazione della mappa interattiva per "Resisti, cuore"
    */

.embed-responsive-map{
        padding-bottom: 75%;
    }

@media (max-width: 768px){
    .embed-responsive-map{
        padding-bottom: 100%;
    }
}