/*================================
Custom Login
================================*/

.login .message { display: none; }
.login label { display: block!important; }
#login { width: 450px; }
.login h1 { background-color: #FFF; border: 2px solid #000; }
.login h1 a { background-image: none, url('/wp-content/themes/edidesk-child/img/logo.png');     background-size: contain; width: 100%; height: 60px; margin-top: 20px; }
.wp-core-ui .button-primary.focus, .wp-core-ui .button-primary.hover, .wp-core-ui .button-primary:focus, .wp-core-ui .button-primary:hover {border: none; background-color: lightgrey; box-shadow: none; -webkit-box-shadow: none; }
.wp-core-ui .button-primary, .wp-core-ui .button-primary, .wp-core-ui .button-primary, .wp-core-ui .button-primary {border: none; background-color: lightgrey; color: #000; box-shadow: none; -webkit-box-shadow: none; text-shadow: none; }
.gglcptch, #recaptcha_table { transform: scale(0.955); -webkit-transform: scale(0.955); transform-origin: 0 0; -webkit-transform-origin: 0 0; }
.login form { margin-top: 0; border: 2px solid #000; border-top: none;  }
@media all and (max-width: 575px) {

    #loginform, #lostpasswordform, #registerform { width: 100%!important; }
    #login { width: 100%; }
    .login form { padding: 26px 6px 46px; }

}

#topbar #socialmenu { height: 299px !important;}
.wrap-sidebar-centrale .share-now .sharrre .onfire i { color: #FFF !important}
article.apertura { background-color: #000 !important}

.news-top .sharrre .onfire i, .news-bottom .sharrre .onfire i, .wrap-sidebar-right .sharrre .onfire i { color: #F90 !important}
.single-pubbliredazionale .adunit { display: none !important }

body#MM_mcJS_HTML5_LIQUID_SKIN_TheBody #topbar { position: fixed; top: 0; width: 100%}



/*================================
Main Colors
================================*/

.bottom-related-posts h5 { font-family: "Lato", Helvetica, Arial}


#topbar {  background-color: #4f7cc0 !important;}
#topbar .submenu, #topbar .main-menu.sx-menu > li#main-menu-05 ul { background-color: #132846 !important;} 
#topbar #megamenu .megamenu-col-1 ul.submenu-02 { background-color: #161e29  !important;   }

#topbar.header-animate { background-color: rgba(79, 124, 192, 0.8) !important;}

#topbar .main-menu > li#main-menu-01.on { background-color: #f07d00 !important; }
#topbar #cercamenu form .btn { background-color: #f07d00 !important; }

#topbar #cercamenu form .form-control { background-color: #0c0a1d !important; }
#topbar .main-menu > li#main-menu-01 { border-bottom: 4px solid #ffba00 !important}

 

#topbar .main-menu > li:hover, .sb-widget-box.tabs .menu li a:hover,  .wrap-author-profile .row.wrap-author-content h3,
.comment-list .reply a:hover, .multimedia-row h2.title,  .wrap-footer,  .argomento, .page-links > a > span, #topbar ul .sub-menu, .row.wrap-menu, .megabox { background-color: #000 !important} 
.wrap-footer { background-color: #4f7cc0 !important }
.argomento a, .megabox.eventi .megabox-content h3 { color: #FFF !important}
.sb-widget-box.news24 li h3 { background: none !important;  }
.megabox.eventi .megabox-content h3 { border-bottom: 1px solid #FFF}

 .megabox.oroscopo .row.wrap-menu, .megabox.oroscopo .row.wrap-menu .submenu { background-color: #FFF !important}
 

.sb-widget-box.news24 li h3 a, .speciali-title, .row.wrap-menu.megasport-menu .sport.btn:hover, .news-top .news-item .wrap-appoggi a, .article-bar .share-now i, .wrap-sidebar-centrale .sidebar-centrale-title span, .wrap-sidebar-centrale .sidebar-centrale-title a:hover,
.sb-widget-box header .title a:hover  , .wrap-author-profile .row.profile .profile-meta li span, .wrap-author-profile .row.wrap-author-content li .post-related a, #user-info h3, 
.row.tag ul li a:hover,   .bottom-related-posts h3,  .comments-title h4, .comment-list .reply a, .comment-form .form-submit input#submit, .comment-form .form-submit #acp-preview,
.comment-navigation a:hover, #post-entry.webtv-apertura-content .read, .carousel-related-post h4, .multimedia-row .share-now i, .event-add-btn  a, .wrap-entry-redazione strong, .wrap-invia-notizia p.phone, .wrap-redazione-content .giornalista h2,
.wrap-redazione-content .giornalista ul li i.fa-envelope, .wrap-invia-notizia ul li i.fa-envelope, .wrap-meteo .forecast-day .menu-day a, .wrap-meteo .change-day a, .footer-header #footer-icon-menu li a, .footer-header #footer-icon-menu li a:hover,
.related-posts h4 a { color:  #000 !important} 

article.apertura .gradient { background-image: url(../img/shadow-apertura.png) }
  .megabox.oroscopo .title span, .megabox.oroscopo .row.wrap-menu h4, .sb-widget-box header .title span, .bottom-related-posts h5, .row.thumb header h4, .bottom-related-posts h4, .comments-title h4, .related-posts li strong, .row.tag h4  { color: #4f7cc0 !important}
.apertura .sharehover, .argomento, .sb-widget-box.tabs .menu li.current a, .row.related-posts h4   { background-color: #4f7cc0 !important}

 #topbar #megamenu article h4.argomento,  #topbar #megamenu article h3.argomento {    background: none !important;    text-transform: uppercase;    padding: 0;    line-height: 16px;    color: #ffba00 !important;    font-size: 12px;    margin: 0 0 5px 0;}


.row.related-posts h4   { color: #FFF; padding: 5px}
.row.wrap-menu .search input.form-control, .row.wrap-menu .search input.btn { background-color: #181818; border: none}

.wrap-sidebar-centrale.bottom {    border: none;    background-color: inherit;}
.wrap-sidebar-centrale.bottom .rubriche-box .argomento {    top: inherit;    position: inherit;    background-color: #FFF !important;    text-transform: none;    color: #0D2C5A !important;    margin:   0;    font-size: 17px;    display: block;    text-align: center;    padding: 10px 0;    font-weight: 800;}
.wrap-sidebar-centrale.bottom .sb-news-box, .wrap-sidebar-centrale.bottom .sb-banner {    border: none;    padding: 0 0 20px 0;}
.speciali-title {    display: block;    text-align: center;    padding: 10px;    background: #FFF;    color: #4f7cc0 !important;    text-transform: uppercase;}

/*================================
Custom Team
================================*/

.sb-news-box.calcio.team1 { background: url(../img/header-squadra1.png) 0 34px;}
.sb-news-box.calcio.team2 { background: url(../img/header-squadra2.png) 0 0;}
/* .sb-news-box.calcio.team1 .logo { background: url(../img/logo-squadra1.png) no-repeat ;} */
.sb-news-box.calcio.team2 .logo { background: url(../img/logo-squadra2.png) no-repeat ;}


.sb-news-box.calcio { padding: 34px 0 0 0; position: relative }
.sb-news-box.calcio.samp { background: url(/wp-content/themes/edidesk-child/img/header-samp-genoa.jpg) 0 34px; }
.sb-news-box.calcio.genoa { background: url(/wp-content/themes/edidesk-child/img/header-samp-genoa.jpg) 0 0; }
.sb-news-box.calcio .logo { width: 44px; height: 56px; position: absolute; left: 5px; top: 5px; z-index: 3 }
.sb-news-box.calcio.samp .logo { background: url(/wp-content/themes/edidesk-child/img/loghi/samp.png) no-repeat; }
.sb-news-box.calcio.genoa .logo { background: url(/wp-content/themes/edidesk-child/img/loghi/genoa.png) no-repeat; }
.sb-news-box.calcio .title { color: #FFF; font-size: 20px; position: absolute; right: 5px; top: 5px; display: block; font-weight: 400 }
.sb-news-box.calcio header h2 { padding: 5px 5px 10px 5px }

/*================================
NECROLOGIO
================================*/

.single-necrologio .upstory-native.upstory-upcontent { display: none!important;}
.single-necrologio .title-necro { text-align: center; line-height: 30px; padding: 10px 0; font-size: 26px; letter-spacing: 2px; }
.single-necrologio .wrap-single-photo { /*text-align: center;*/ float: left; width: 250px; margin: 0 15px 5px 0;}
.single-necrologio .wrap-single-photo a { display: inline-block; box-shadow: 0 0 4px rgba(0, 0, 0, 0.4); border: 2px solid #FFF; }
.single-necrologio .pre-photo { text-align: center; }
.single-necrologio .intestazione, .single-necrologio .sottonome { font-style: italic; padding: 0!important;}
.single-necrologio .page-title {padding: 10px 0 5px; font-size: 30px; }
.single-necrologio .date-year-death { color: #989898; padding: 15px 0;  }
.single-necrologio .simbolo-croce { margin: 0 auto 15px; }
.single-necrologio #entry p { margin: -5px 0 0!important; padding: 0 0 8px 0!important; }
.single-necrologio .date-funerale { text-align: center; color: #98141B; padding: 0 0 15px 0; font-size: 20px; }
.single-necrologio .city-date { color: #989898; text-align: right; padding: 0 0 15px 0; }
.single-necrologio .ringraziamento-footer { text-align: center; font-size: 20px; padding: 0 0 15px;}
.single-necrologio .entry-author { background-color: #dadada; text-align: center; padding: 10px 20px;
    margin: 0 0 20px; }
.single-necrologio .text-center { text-align: center;}

.wrap-finder-necro h3 { text-align: center; margin-bottom: 5px; padding-bottom: 5px; text-transform: uppercase; border-bottom: 1px solid; }
.wrap-finder-necro { padding: 20px 0 20px 0; width: 970px; float: left}
.wrap-finder-necro fieldset { float: left; width: 214px; margin: 0 10px 0 0; border: none; }
.wrap-finder-necro .btn { margin: 23px 0 0 0; background-color: rgb(221, 221, 221); }

.page-template-home-necrologio #wrap-sidebar-necro { width: 320px; }

#wrap-necro-result li.no-thumb { -webkit-transition: all 0.4s ease; -moz-transition: all 0.4s ease; -o-transition: all 0.4s ease; transition: all 0.4s ease; }
#wrap-necro-result { float: left; width: 640px}
#wrap-necro-result li {  margin: 0 10px 30px 0; display: block; list-style: none; position: relative}
#wrap-necro-result li.no-thumb {  padding: 10px;  float: left;  overflow: hidden }
#wrap-necro-result li.no-thumb  a { display: block; }
#wrap-necro-result li.with-thumb { width: 146px;  float: left; }
#wrap-necro-result li.with-thumb, #wrap-necro-result li.no-thumb { width: 150px; height: 150px;  float: left; }
/*#wrap-necro-result li.with-thumb img { width: 142px; height: 146px}*/
#wrap-necro-result li.with-thumb div { position: absolute; width: 130px; bottom: -10px; background: #FFF; left: 50%; transform: translateX(-50%);}
#wrap-necro-result li.with-thumb h4 { padding: 2px 0; position: absolute; background: #FFF; width: 70px; left: 40px;}
#wrap-necro-result li.with-thumb h2 { font-size: 16px !important; padding: 5px  !important; line-height: 16px}
#wrap-necro-result li.with-thumb  h3 { position: inherit !important; padding: 4px 0 0 0}
#wrap-necro-result li h3, #wrap-necro-result li h4{ font-family: Arial, Helvetica, sans-serif; }
#wrap-necro-result li h2, #wrap-necro-result li h3, #wrap-necro-result li h4, #wrap-necro-result li h5 { text-align: center; color: #484747; word-wrap:break-word;}
#wrap-necro-result li h2 { font-size: 21px; padding: 0 0 10px 0; color:  #000}
#wrap-necro-result li h3 { font-size: 11px; font-weight: bold; text-transform: uppercase; position: absolute; bottom: 10px; width: 130px; color: #000 !important}
#wrap-necro-result li h4 { font-size: 10px; color: #989898 !important}
#wrap-necro-result li h5 { font-size: 11px; }

#wrap-necro-result li, .content-single .thumb-feat  {-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);-moz-box-shadow:    0px 0px 4px rgba(0, 0, 0, 0.4);box-shadow:         0px 0px 4px rgba(0, 0, 0, 0.4);}
/* elementi con hover in trasparenza*/
#wrap-necro-result li:hover { opacity: 0.8}
/* elementi con hover in movimento a sinistra*/
#wrap-necro-result li { bottom: 0}
#wrap-necro-result li:hover  { position: relative; bottom: 5px }

.adunit.necro { margin: 10px auto; width: 320px;}
.adunit.necro:first-child { margin: 0 auto 10px; }

.sb-widget-box.necrologie .necro-title {  padding: 0 10px; }
.btn-archive-necro { display: block; text-align: right; padding: 10px; }

/*================================
ADDTHIS
================================*/

.at4-jumboshare .at4-count { line-height: inherit!important; font-size: inherit!important; }
.at4-jumboshare .at4-count-container { min-width: 130px!important; width: 130px!important; padding: 0 20px 0 20px!important; }
.single-content .row.social-bar .share { float: inherit; display: flex; margin: 0 0 0 auto; width: 340px; justify-content: flex-end;}
#share-fire { flex: 1; position: relative; }
#share-fire i { font-size: 36px; background-color: #F90; color: white; border-bottom: 5px solid white; padding: 3px; }
#share-fire .tooltip { display: none; position: absolute; bottom: -23px; left: 0; width: 210px; font-size: 12px; background-color: #F90; color: white; padding: 5px 10px; text-align: center; }
#share-fire:hover .tooltip { display: block; }
.at-svc-whatsapp { display: none!important; }
