/*
Theme Name:     Spezia 1906
Description:    Tema Child per il tema Sporty
Author:         Alessandro Ferrini
Author URI:     http://www.alessandroferrini.it
Template:       sporty
Version:        0.1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Roboto+Slab:wght@400;700&display=swap');

header#masthead{
    background:#fff !important;
}

.site-logo {
    min-height: 70px;
    padding:0;
    float: left;
    margin-left:50%;
    transform:translateX(-50%);
}

.site-logo img{
    max-width:300px;
    margin:0 auto;
    text-align:center;
}

#wrap{
    box-shadow:none;
    border-top:0px !important;
}

.main-navigation li.current_page_item, #main-navigation li.current-menu-parent, .main-navigation li:hover a, .main-navigation > li > a, .main-navigation li.current_page_ancestor a, .main-navigation li.current_page_item, #main-navigation li.current-menu-parent, .main-navigation li.current_page_item:hover a, #main-navigation li.current_page_item:hover, .main-navigation li.current-menu-parent:hover > a, .main-navigation li.current-menu-parent ul.sub-menu li.current_page_item, .featuretext_top, .menu-top-menu-container .current-menu-item{
    color:#000 !important;
    background-color:#fff !important;
}

.main-navigation li.current_page_item a {
    color: #000;
}

.main-navigation{
    background:#000;
    border-top:0;
}

#primary{
    padding:10px 0 !important;
    width:100% !important;
}

#secondary, #tertiary {
    margin: 0.4em 0em 0.4em;
    padding: 1em 0 !important;
    position: relative;
    width: 22%;
    border-radius: 0.4em;
    background:transparent;
}

.entry-content{
    font-family: Georgia !important;
    font-size:12pt !important;
}

.entry-title, .page-title {
    font-size: 18px;
    font-size: 1.8rem;
    margin: 0 0 0.2em;
    border-bottom: 6px solid #000;
    color: #000;
    background: transparent !important;
    padding: 6px;
    text-transform: none;
}

.widget-title {
    border-bottom: 4px solid #000 !important;
}

.site-footer {
    border-top: 4px solid #000 !important;
}

.sticky h1 {
    border-bottom: 0 !important;
}

.sticky{
    background-color:transparent;
}

article .blog-image{
    position:relative;
}

/*article .blog-image:after{
    position:absolute;
    display:block;
    content:" ";
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:10;
}*/



article .blog-image .entry-header{
    position:absolute;
    bottom:0px;
    left:0px;
    z-index:20;
    width:calc(100% - 10px);
    padding:5px;
}

article .blog-image .entry-header h1{
    color:#fff;
    font-size: 42px;
    line-height: 44px;
    font-weight: bold;
}

article .blog-image .entry-header .entry-meta{
    color: #ccc;
    font-size: 14px;
    margin-bottom: 15px;
}

.hentry {
    border-bottom: 0;
    margin: 0;
    padding-bottom: 0;
}

.featured-posts-six{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    margin-top:15px;
}

.featured-posts-six .entry-meta{
    padding:0;
}

.featured-posts-six article{
    width:32%;
    margin-bottom:15px;
    
}

.featured-posts-six .entry-title{
    border-bottom:0;
    font-size: 18px;
    line-height: 20px;
    padding:6px 0;
}
.sticky h1.entry-title a{
    color:#fff;
}

.featured-posts-six article .blog-image:after{
    content:none;
}

.featured-posts-six article .blog-image{
    max-height:150px;
    overflow:hidden;
}

.featured-posts-six .post-categories{
    margin:5px 0;
}

.latest-news .post-categories{
    margin:0 5px 5px 5px;
}

.latest-news{
    margin-top:15px;
}

.latest-news .posts-list article{
    display:flex;
    margin:10px 0;
    border-bottom:1px solid rgba(0,0,0,0.1);
}

.latest-news .entry-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.latest-news .entry-title h1{
    flex-grow:2;
    margin:0;
    line-height:1;
}

.latest-news .latest-time{
    font-size:14px;
    line-height:20px;
}

.latest-news .blog-image .image-link:before {
    content: none;
}

.latest-news .posts-list article .post-categories a{
    margin-bottom:0px;
}

.latest-news .posts-list article .blog-image{
    max-width:150px;
}

.latest-news .posts-list article .entry-header{
    flex-grow:2;
}

.latest-news .posts-list article .entry-header .entry-title{
    border:0;
    padding: 0 6px;
    line-height:1;
}

.categories-pills ul{
    display:inline-block;
    list-style-type: none;
}

.blog-image .image-link:before{
    bottom: 0;
    content: "";
    display: block;
    position: absolute;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:10;
}

.post-categories{
    display:inline-block;
}

.post-categories li{
    line-height:1;
    display:inline-block;
}

.post-categories li a,
.single-cats a{
    padding: 3px 7px;
    line-height: 11px;
    margin-bottom: 10px;
    font-size: 11px;
    text-transform: uppercase;
    background-color: rgba(0,0,0,1);
    color:#fff;
    transition:all 0.2s;
}

.post-categories li a:hover,
.post-categories li a:active,
.post-categories li a:focus,
.single-cats a:hover,
.single-cats a:active,
.single-cats a:focus{
    background-color: rgba(255,255,255,1);
    color:#000;
}

#menu-menu-principale a{
    font-family:"Lato";
    padding:12px;
}

h1, h2, h3, h4, h5, h6, .site-title, .entry-title, .page-title, .widget-title{
    font-family: "Roboto Slab";
    font-weight: 700;
}

.site-footer,.footer-container{
    background-color:#000;
}

#smoothup {
    height: 60px;
    width: 60px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    border-radius:30px;
    display: none;
    background: #000;
    -webkit-transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    transition-duration: 0.4s;
    font-family: "dashicons";
    text-indent:0;
    text-align:center;
    outline:none;
}

#smoothup:before{
    content: "\f343";
    width: 60px;
    height: 60px;
    font-size: 30px;
    line-height:60px;
    color: #fff;
    /* display: inline-block; */
    /* line-height: 1; */
    /* font-weight: 400; */
    /* font-style: normal; */
    position: absolute;
    left: 0;
    top: 0;
}

.clearfix{
    display: block;
    content: "";
    clear: both;
}

.all-news-link{
    display:block;
    width:100%;
    background:#000;
    color:#fff;
    text-align:center;
    font-family:lato;
    font-weight:700;
    font-size:18px;
    padding:10px 0;
    line-height:18px;
    margin: 10px 0;
}

.all-news-link:visited{
    color:#fff;
}

.nav-previous a,
.nav-next a{
    padding:5px 10px;
    color:#fff;
    background:#000;
}

.nav-previous a span,
.nav-next a span{
    margin-top: 4px;
    font-size: 15px;
}

.single-post article header .entry-title{
    font-size: 50px;
    line-height: 54px;
    font-weight: bold;
    border:0;
    padding:6px 0;
}

.single-post article header{
    margin-bottom: 20px;
}

span.signature{
    font-weight:bold;
}

#comments{
    border-top:1px solid rgba(0,0,0,0.3);
    padding-top:10px;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    border: 0;
    border-color: none;
    border-radius: 0px;
    background: #000;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    -webkit-appearance: button;
    font-size: 12px;
    font-size: 1.4rem;
    line-height: 1;
    padding: 1.12em 1.5em 1em;
    text-shadow: none;
    transition:all 0.2s;
}

button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    border-color: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: rgba(222,222,222,1);
    color:#000;
}

.home .sp-template {
    padding: 0px;
}

.sp-league-table{
    border:0 !important;
    margin:0 !important;
    padding:0 !important;
    width: 99.1%;
}

.sp-league-table th:first-of-type,
.sp-league-table tr td:first-of-type {
    padding: 0.5em 0.5rem 0.5rem 0;
    text-align:center;
}

.sp-league-table th:last-of-type,
.sp-league-table tr td:last-of-type {
    padding: 0.5em 0 0.5rem 0.5rem;
    text-align:center;
}

.main-small-navigation .menu {
    display: none;
    background-color: #000;
    border-bottom: none;
    padding-top: 10px;
    padding-left: 30px;
    margin: 0;
    text-transform: uppercase;
}


#searchform #s{
    background: rgba( 255, 255, 255, 0.3 );
    border: 2px solid #000;
    border-radius: 0px;
    padding: 6px;
    width:calc(100% - 16px);
}

.sp-section-content-venue,
.sp_event .sp-section-content-details .sp-template-event-details{
    display:none;
}

.stream-cronaca-title{
    text-align:center;
    margin:20px 0;
}

.cronaca-item-wrapper{
    -webkit-box-shadow: 0 4px 40px 0 rgba(0,0,0,0.2);
    box-shadow: 0 4px 40px 0 rgba(0,0,0,0.2);
    width: 90%;
    margin: 0 5% 70px 5%;
}

.cronaca-item-header{
    background:#000;
    padding:10px;
    color:#fff;
    display:flex;
    font-size:18px;
    align-items:center;
    font-weight:normal;
}

.cronaca-item-header .cronaca-item-type{
    width:32px;
    height:32px;
    display:block;
}

.cronaca-item-header .cronaca-item-type i{
    display:block;
    width:100%;
    height:100%;
    background-size:contain;
    background-repeat:no-repeat;
    background-position: center;
}

.cronaca-item-header .cronaca-item-title{
    flex-grow:2;
    text-align:center;
}

.cronaca-item-wrapper.boldevent .cronaca-item-header .cronaca-item-title{
    font-weight:bold;
    font-size:20px;
}

.cronaca-item-header .cronaca-item-minute{
    font-size:16px;
    font-weight:normal;
}

.cronaca-item-header .cronaca-item-minute i{
    vertical-align:middle;
}

.cronaca-item-header .cronaca-item-minute .minute-minute{
    display:inline-block;
    vertical-align:middle;
}

.cronaca-item-content{
    padding:10px;
}

.cronaca-item-wrapper{
    position:relative;
}

.cronaca-item-wrapper .line-segment{
    display:block;
    width:2px;
    height:50px;
    position:absolute;
    left:calc(50% - 1px);
    background:rgba(0,0,0,0.3);
    top: -60px;
}


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* =Responsive Structures
----------------------------------------------- */

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

	

}

/* --- IPhone5 (portrait and landscape) --- */

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

	.featured-posts-six article {
        width: 49%;
    }

    .latest-news .posts-list article{
        flex-wrap:wrap;
    }

    .latest-news .posts-list article .blog-image {
        max-width: 100%;
    }

    article .blog-image .entry-header h1 {
     
        font-size: 26px;
        line-height: 28px;
    }
}

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

	.featured-posts-six article {
        width: 99%;
    }

    
}

/* for 800px or less */
@media screen and (max-width: 800px) {
    #secondary, #tertiary {
        margin: 0.4em 0em 0.4em;
        padding: 1em 0 !important;
        position: relative;
        width: 100%;
        border-radius: 0.4em;
        background:transparent;
    }

}

/* for 600px or less */
@media screen and (max-width: 600px) {
    .site-logo img {
        max-width: 120px;
        margin: 0 auto;
        text-align: center;
    }
	.site-logo {
        max-height: 30px;
        padding: 0;
        float: left;
        margin-left: 50%;
        transform: translateX(-50%) translateY(6px) !important;
    }
}

/* for 768px or less */
@media screen and (max-width: 798px) {
    .site-logo img {
        max-width: 120px;
        margin: 0 auto;
        text-align: center;
    }
	.site-logo {
        max-height: 30px;
        padding: 0;
        float: left;
        margin-left: 50%;
        transform: translateX(-50%) translateY(11px);
    }

    #menu-menu-principale{
        padding:10px;
    }

    .menu-toggle {
        text-align: right;
        padding-right:6px;
    }

    .menu-toggle .dashicons{
        font-size:32px;
        width:32px;
        height:32px;
        transform:translateY(-1px);
    }

    .menu-toggle.toggled-on .dashicons:before{
        content:"\f335";
    }
}

.wp-polls .Buttons {
    border: 0px;
    background-color: #000;
}