/*
Theme Name:	D4B D3BASE JUNIOR - Area Kids Theme
Theme URI:	https://www.digitalforbusiness.com
Description:	D4B D3BASE JUNIOR - Area Kids Theme is a child theme of WP Bootstrap Starter
Author:		marcognu
Author URI:	https://www.digitalforbusiness.com
Template:	wp-bootstrap-starter
Version:        1.0.0
Text Domain:	d4b-d3basejunior
*/

/**
    Fonts
**/
body {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 1.7rem !important;
    margin: 0 !important;
    color: #707070 !important;
}
p  {
    font-family: 'Quicksand', sans-serif !important;
    font-size: 1.7rem !important;
    color: #707070 !important;
}
/* Headings
--------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Lobster', cursive !important;
        font-size: 2.6rem !important;
        font-weight: bold !important;
}
h3 > a,
h3 > a:hover {
    color: #282828;
    text-decoration: none;
}

.navbar{
    margin-top:10px !important;
}

.navbar-brand {
	padding-top: 0.15rem;
}
.navbar-brand>a {
	font-family: 'Quicksand', cursive !important;
	text-transform: capitalize;
}
#masthead .navbar-nav>li a {
	border-bottom-width: 0;
	display: block;
	font-family: 'Quicksand', sans-serif !important;
	padding: 10px;
}

#menu-item-dropdown-121{
    color: transparent !important;
}

#menu-item-dropdown-540{
    color: transparent !important;
    cursor: pointer;
}

div#page-sub-header h1 {
	font-family: 'Lobster', cursive !important;
}
#secondary .widget-title {
	font-family: 'Lobster', cursive !important;
}

.entry-title{
    border-bottom: 2px solid black !important;
    padding-bottom:30px !important;
    text-decoration: none;
}

.entry-title > a:hover {
    color: #282828;
    text-decoration: none;
}

.entry-meta {
	font-family: 'Lobster', cursive !important;
}

/* WP MEMBERS */

h3.form-title {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: bold !important;
    font-size: 2.5rem !important;
    text-align: center;
}

#wpmem_login,
#wpmem_reg,
#wpmem_login .form,
#wpmem_reg .form,
#wpmem_reg label,
#wpmem_profile_form .text,
#wpmem_profile_form .div_text,
#wpmem_profile_form .req-text {
    font-family: 'Quicksand', sans-serif !important;
    color: #707070 !important;
}

#wpmem_reg .noinput, #wpmem_login .div_text, #wpmem_reg .div_checkbox, #wpmem_reg .div_date, #wpmem_reg .div_file, #wpmem_reg .div_image, #wpmem_reg .div_multicheckbox, #wpmem_reg .div_multiselect, #wpmem_reg .div_number, #wpmem_reg .div_radio, #wpmem_reg .div_select, #wpmem_reg .div_text, #wpmem_reg .div_textarea, #wpmem_reg .div_url {
    width: 100% !important;
}

#wpmem_login .button_div{
    width: 100% !important;
    height:auto !important;
    text-align: left !important;
}
#wpmem_login .link-text {
    width: 100% !important;
    margin-top: 30px;
}

.wpmem_msg{width:100% !important;}

label.checkbox {
    padding-left: 18px !important;
}
input#confirmation_of_age,
input#newsletter_subscription_agreement {
    margin-top: -18px !important;
    float: left;
}
@media only screen and (max-width: 991px)  {
    input#newsletter_subscription_agreement {
        margin-top: -42px !important;
    }
}
@media only screen and (max-width: 427px)  {
    input#newsletter_subscription_agreement {
        margin-top: -67px !important;
    }
}
@media only screen and (max-width: 307px)  {
    input#newsletter_subscription_agreement {
        margin-top: -90px !important;
    }
}

/** end of fotns **/

#page {
    min-height: 100%;
}

/**
    Navigation
**/
#masthead{
    padding: 0px !important;
    height:100px !important;
    box-shadow:0px 10px 6px rgba(0,0,0,0.25) !important;
}

.navbar-brand{
    width: 10% !important;
    margin: 0px !important;
}

.menu-logo-d4b{
    width: 80%;
}

.menu-logo-d4b > img{
    height:80px;
    display: block;
    margin: 0 auto;
}

.navbar-right-face{
    width: 10%;
    margin: 0px;
}

.navbar-nav{
    width: 100px;
    padding-left: 20px;
}
.navbar-static-top{
    position: fixed;
    top: 0px;
    width: 100%;
    background: #fff;
    z-index: 99999;
}

.menu-face-icon{
    background-image: url('images/Icona-bimba.png');
    background-repeat: no-repeat;
    background-size: cover;
    height:50px !important;
    width:50px !important;
}
.menu-face-icon:hover{

}

#menu-utente-loggato{
    height:50px !important;
    width:50px !important;
}

.menu-face-icon > a, .menu-face-icon > a.nav-link:hover{
    color: rgba(0,0,0,0) !important;
}

/*######################## Submenù Peronalizzato ###########################*/

.dropdown-menu.show {
    display: block;
    position: fixed !important;
    right: 0px !important;
    left: 43%;
    top: 0px !important;
    padding-top: 0px;
    border: 0px;
    background:transparent;
    border-radius: 0px;
    padding-bottom:0px;
    margin: 0px;
}

.dropdown-item:hover, .dropdown-item:focus{
    background-color: #E30614 !important;
}

.dropdown-menu.show > li {
    width:100%;
    padding-left:90px !important;
    background: #E30614;
}

.dropdown-menu.show > li > a{
    color: white !important;
    font-size:1.8rem;
    border-bottom: 1px solid white !important;
    padding: 0px !important;
    margin-left: 20px !important;
    margin-top: 20px;
}

.dropdown-menu.show > li > a:hover, .dropdown-menu.show > li > a:focus{
    background-color: #E30614 !important;
}

.dropdown-menu > li{
    margin-left:0px;
    width:80%;
}

/* Elementi submenù */
#d4b-sub-first-row{
    width:100%;
    padding-left:40px !important;
    background: transparent;
    font-size: 0rem;
}

#d4b-sub-first-row-el1{
    height: 100px;
    margin: 0;
    padding: 0;
    display: inline-block;
}

#d4b-sub-first-row-el2{
    width: 50%;
    background-color: #E30614;
    height: 100px;
    margin: 0;
    padding: 0;
    float: right;
    display: inline-block;
    background-image: url(images/annulla-bianco_b.png);
    background-size: 60px;
    background-repeat: no-repeat;
    background-position-x: 30%;
    background-position-y: center;
}
a.dropdown-item{
    display: inline-block !important;
    width:50% !important;
}

#d4b_sub_menu-item-122{
    padding-top:40px;
}

#menu-item-122 > a{
    margin-bottom:50px;
    width: calc(50% + 60px) !important;
}

#d4b_sub_menu-item-531{
    display: inline-block;
    height:60px;
    width:60px;
    margin-bottom:-10px;
    background-image: url('images/disegno-bianca.png');
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: bottom;
}

#d4b_sub_menu-item-112{
    display: inline-block;
    height:60px;
    width:60px;
    margin-bottom:-10px;
    background-image: url('images/lucchetto-bianco_b.png');
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: bottom;
}
#d4b_sub_menu-item-23{
    display: inline-block;
    height:60px;
    width:60px;
    margin-bottom:-10px;
    background-image: url('images/database-bianco_b.png');
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: bottom;
}
#d4b_sub_menu-item-124{
    display: inline-block;
    height:60px;
    width:60px;
    margin-bottom:-10px;
    background-image: url('images/esci-bianco_b.png');
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: bottom;
}

#menu-item-124{
    padding-bottom:60px;
}

/*################### MODIFICHE TEMPORANEE AREA DEMO ########################*/
.bt-1-d4b{
    margin:0px !important;
/*    display:none !important;*/
}

.bt-1-d4b > a{
    width: 140px !important;
    padding: 10px !important;
    font-size: 0.74em;
    font-weight: bold;
}

.bt-1-d4b:first-of-type{
    padding-left:25%;
}
.bt-1-d4b:last-of-type{
    float:right;
    padding-right:25%;
}

@media only screen and (max-width: 1440px)  {
    .bt-1-d4b{
        display:initial !important;
    }
    #menu-item-20{
        display:none;
    }
    #menu-item-13{
        display:none;
    }
    .bt-1-d4b:first-of-type{
        padding-left:25%;
    }
    .bt-1-d4b:last-of-type{
        float:right;
        padding-right:25%;
    }
}
@media only screen and (max-width: 770px)  {
    #menu-item-20{
        display:none;
    }
    #menu-item-13{
        display:none;
    }
    .bt-1-d4b:first-of-type{
        padding-left:15%;
    }
    .bt-1-d4b:last-of-type{
        float:right;
        padding-right:15%;
    }
}
@media only screen and (max-width: 600px)  {
    .bt-1-d4b:first-of-type{
        padding-left:5%;
    }
    .bt-1-d4b:last-of-type{
        float:right;
        padding-right:5%;
    }
}

/*###########################################################################*/

/* logo */
.navbar-brand > a > img {
    width: 50px;
    height: 50px;
}

/* primary menu */
.navbar-nav > li > a {
    text-transform: uppercase;
    /*color: #000  !important;*/
}
.nav-link {
    text-shadow: none !important;
}

li.margin-dx {
    margin-right: 50px;
}

li.active > a.nav-link {
    color: #0693e3 !important;
    font-weight: bold !important;
}
li > a.nav-link:hover {
    color: #00aa96 !important;
    font-weight: bold !important;
}

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

img.img-cmp-logo {
    float: right;
    margin: -34px 0 0 0;
}

h3.centered {
    margin: 0 auto;
    text-align: center;
}

/**
    BODY
**/

/*
  Header
*/
#page-sub-header {
    margin: 0 auto;
    padding: 100px 0 0 0;
    width: 100%;
    height: auto;
    background: #ffffff !important;
}

.head_single_small{
    bottom: 30px;
    position: absolute;
    width: 100%;
}

.head_single_small > img{
    width:20%;
    margin-bottom:20px;
}

/* general */
.entry-title {
    text-align: center;
}

.entry-meta {
    margin: 20px auto 0 auto;
    text-align: center;
}

.row-meta{
    width:100%;
    display:block;
    height:auto;
}

/* home */

.d4b-multitext {
    height:100px;
}

.home-title-logo{
    width: 40%;
    margin: 0 auto;
    margin-bottom: 50px;
}

/* racconti della buonanotte */
.mic-icon {
    display: block;
    float: left;
    width: 60px;
    height: 60px;
    background: transparent url('images/microphone-32.png') center center no-repeat;
    background-size:cover;
}
.clock-icon {
    display: block;
    float: left;
    width: 60px;
    height: 60px;
    background: transparent url('images/watch-nero.png') center center no-repeat;
    background-size:cover;

}.time-txt {
    display: block;
    float: left;
    height: 60px;
    margin-left:10px;
    margin-right:0px;
    line-height: 60px;
}

/* Circle Audio Player */

.circle-audio-player {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}
#playerContainer {
  padding: 24px;
  margin-top:6%;
  margin-bottom:6%;
}

.hide-me{
    display: none;
}

/* giochi all'aperto */

#pills-citta-tab{
    background: url(images/Citta-mobile-220x300.png) center no-repeat;
    background-size: cover;
    opacity: 0.3;
    border:0px;
}

#pills-citta-tab.active{
    opacity: 1;
}

#pills-mare-tab{
    background: url(images/Mare-mobile-220x300.png) center no-repeat;
    background-size: cover;
    opacity: 0.3;
    border:0px;
}

#pills-mare-tab.active{
    opacity: 1;
}

#pills-parco-tab{
    background: url(images/Parco-mobile-220x300.png) center no-repeat;
    background-size: cover;
    opacity: 0.3;
    border:0px;
}

#pills-parco-tab.active{
    opacity: 1;
}

.go_left_game , .go_left_game > a{
        float:left;
        color:#fff;
    }

.go_right_game , .go_right_game > a{
        float:right;
        color:#fff;
    }

.go_left_game{
    margin-left:10%;
}

.go_right_game {
    margin-right:10%;
}

.AK_thumbnail_container {
    float: left;
}

.header-back-button {
    display: block;
    position: absolute;
    left: 13%;
    bottom: 0px;
    height: 70px;
    width: 70px;
    background: white url(images/Icona-nuova-freccia.png) center no-repeat;
    z-index: 9999;
    background-size: cover;
    border-radius: 10px 10px 0px 0px;
    z-index: 9999;
}
.header-back-link {
    display: block;
    height:100%;
    width:100%;
}

.spacer-thumbnail-full {
    height: 70px;
    width: 100%;
}

.giochi_small_image{
    width:25%;
    height:auto;
    margin:0 auto;
    text-align: center;
    display: block;
}

.giochi_aria_aperta{
    margin-top:60px;
}

.spacer-pregame-single{
    margin-top:80px;
}

.giochi_aria_aperta h3{
    text-align: center;
    font-family: 'Quicksand', sans-serif !important;;
    font-size: 2rem !important;
    letter-spacing: 0px;
    color: #FF9715;
    opacity: 1;
    margin-top: 0.5rem;
}

.head_single_small h1{
    font-size: 4rem !important;
}

.pregame_bar{
    height:2px;
    margin-bottom:10px;
    margin-top:40px;
    background-color: #FF9715;
    width:100%;

}

.wp-block-separator{
    border-bottom:2px solid #FF9715 !important;
}


.opengame_bar{
    height:30px;
    margin-bottom:100px;
    margin-top:10px;
    width:100%;
}

.opengame_bar > a,.opengame_bar > a:hover {
    margin:0 auto;
    text-align: center;
    display: block;
    text-decoration: none;
    color:#fff;
    border-radius: 10px;
    background: #FF9715;
    width: 250px;
    padding: 10px;
    margin-top:-30px;
}

.sep_game_bar{
    height: 40px !important;
    width: 100%;
    border-bottom: 2px solid #FF9715;
}

.e_gioc-icon {
    display: block;
    float: left;
    width: 60px;
    height: 60px;
    background: transparent url('images/people1-nero.png') center center no-repeat;
    background-size:cover;
}

.e_gioc-txt {
    display: block;
    float: left;
    height: 60px;
    margin-left:10px;
    margin-right:0px;
    line-height: 60px;
}
.gioc-icon {
    display: block;
    float: left;
    width: 60px;
    height: 60px;
    background: transparent url('images/people2-nero.png') center center no-repeat;
    background-size:cover;
}
.gioc-txt {
    display: block;
    float: left;
    height: 60px;
    margin-left:10px;
    margin-right:0px;
    line-height: 60px;
}
.locat-icon {
    display: block;
    float: left;
    width: 60px;
    height: 60px;
    background: transparent;
}
.locat-txt {
    display: block;
    float: left;
    height: 60px;
    margin-left:10px;
    margin-right:0px;
    line-height: 60px;
}

.new_game{
    margin-bottom:220px;
    margin-top:60px;
    width:100%;
}

.new_game > a,.new_game > a:hover {
    margin:0 auto;
    text-align: center;
    display: block;
    text-decoration: none;
}

.go_left_game p{
    float:left;
    width:180px;
    color:black;
    text-align: right;
}

.go_right_game p{
    float:right;
    width:180px;
    color:black;
}

.prev-d4b-game{
    height: 70px;
    width: 70px;
    background: #00CC97 url(images/Minus-icon.png) center no-repeat;
    background-size: 40%;
    float: left;
    margin: 10px 20px;
    border-radius:35px;
}

.next-d4b-game{
    height: 70px;
    width: 70px;
    background: #00CC97 url(images/Plus-icon.png) center no-repeat;
    background-size: 40%;
    float: right;
    margin: 10px 20px;
    border-radius:35px;
}

/* AREA RACCONTI */

.openracc_bar{
    height:30px;
    margin-bottom:15%;
    margin-top:10px;
    width:100%;
}

.openracc_bar > a,.openracc_bar > a:hover {
    margin:0 auto;
    text-align: center;
    display: block;
    text-decoration: none;
    color:#fff;
    border-radius: 10px;
    background: #FF9715;
    width: 350px;
    padding: 10px;
    margin-top:-30px;
}

article.racconti_buonanotte:first-of-type{
    margin-top:10%;
}

.col_racconti{
    margin:0 auto;
}

#pills-tab-racc{
    width: 250px;
    margin-left: auto;
    margin-right: auto;
}

#pills-audio-tab{
    background: url(images/Ascolta.png) center no-repeat;
    background-size: cover;
    opacity: 0.3;
    border:0px;
}

#pills-audio-tab.active{
    opacity: 1;
}

#pills-testo-tab{
    background: url(images/Leggi.png) center no-repeat;
    background-size: cover;
    opacity: 0.3;
    border:0px;
}

#pills-testo-tab.active{
    opacity: 1;
}

.tipologie_racc{
    margin-bottom:30px !important;
}

.single-racc{
    margin-top:4% !important;
}

.racc-entry-title{
    border-bottom: 2px solid black !important;
    padding-top:30px !important;
    padding-bottom:30px !important;
    text-decoration: none;
    text-align: center;
    margin-bottom:40px;
}

.racc-testo-entry-title{
    padding-top:15px !important;
    padding-bottom:15px !important;
    text-decoration: none;
    text-align: center;
    background-color:#00CC97;
    width:100%;
    margin-bottom:30px;
    margin-top:60px;
    color:white;
}

.rac-player{
    margin-top:40px;
}

/* other */
.entry-header {
    margin-top: 30px;
}
ul.wp-block-latest-posts {
    list-style: none;
}

.entry-content{
    margin-top:0px !important;
}

ul.wp-block-latest-posts > li {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #0693e3;
    border-color: #0693e3;
}
ul.wp-block-latest-posts > li:hover {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #00aa96;
    border-color: #00aa96;
}

ul.wp-block-latest-posts > li > a {
    color: #fff;
}
ul.wp-block-latest-posts > li > a:hover {
    color: #fff;
    text-decoration: underline;
}

.spacer {
    margin: 10px 0;
}
.bottom-spacer {
    height: 300px;
}

/**
    FOOTER
**/

footer {
    width: 100%;
    z-index: 1000;
}

footer#colophon {
    padding: 20px 0 0 0;
    background-color: white !important;
}

#colophon > .container-fluid{
     color: #fff;
     background-color: #555 !important;
     font-size: 65% !important;
}

.d4b-footbar-products{
    margin:0 auto;
}

.red-cent-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 65% !important;
  width: 100%;
}

.d4b-foot-contain {
  position: relative;
  text-align: center;
  color: white;
}

/* Footer Logo */
.footer-logo {
    margin: 0 30px;
    height: 50px !important;
    width: auto !important;
}
.as0-footer-logo-fix {
    margin-top: 10px;
}

/* Responsive Wordpress Video Shortcode */
/*
.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
    width: 100% !important;
    height: 100% !important;
    border: 1px solid #E7E9EB;
}
.mejs-container {
    padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
    max-width: 100% !important;
}
video.wp-video-shortcode {
    position: relative;
}
.mejs-mediaelement {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
*/
/*.mejs-controls {
    display: none;
}*/
/*
.mejs-overlay-play {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto !important;
    height: auto !important;
}
*/
/*
* JSON CLASSES
*/
.json-usr {
    display: none;
}

/* Pagina Galleria colora e disegna */
 .gal-but {
    display: block;
    height: 80px;
    margin-bottom: 40px;
    margin-top: 20px;
    background-image: url(images/scarica-nera.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}

/*################ DESKTOP BIG ##########################*/

@media only screen and (min-width: 1281px) {

        .header-back-button{
            left:13%;
        }

        .tipologie_tab_container{
            width:100%;
            margin-bottom:100px;
            border-radius:0;
        }

        .tipologie_tab_container > ul > li > a {
            width:110px;
            height:150px;
            margin:0px;
            margin-right:30px;
            float:left;
            border:solid 1px black;
            border-radius:0px !important;
        }

        .tipologie_tab_container > ul > li:last-of-type > a {
            margin-right:0px;
        }

        #pills-tab{
            width: 390px;
            margin: 0 auto;
        }

        /* MENU */

         /* Disabilito il TOGGLER */
        .navbar-toggler{
            display:none !important
        }
        #main-nav{
            display:block !important;
        }
        #menu-utente-loggato {
            float: right;
        }

    /* classi modello post Gioco all'aperto */

        .mob-horizontal {
            display: block;
        }
        .mob-vertical {
            display: none;
        }

        .head_single_small > img{
            width:20%;
            margin-bottom:20px;
        }

        div.entry-meta{
            margin: 0 auto;
            width: 70%;
        }
        .passo-gioco-img{
            flex-basis: 35%!important;
        }
        .passo-gioco-txt{
            flex-basis: 55% !important;
            margin-left:5% !important;
        }

        .passo-gioco-txt > p{
            margin-top:20px;
        }
    }

/*################ DESKTOP + TABLET BIG ##########################*/

@media only screen and (min-width: 1040px) and (max-width: 1280px)  {

    .header-back-button{
        left:13%;
    }

    .tipologie_tab_container{
        width:100%;
        margin-bottom:100px;
        border-radius:0;
    }

    .tipologie_tab_container > ul > li > a {
        width:110px;
        height:150px;
        margin:0px;
        margin-right:30px;
        float:left;
        border:solid 1px black;
        border-radius:0px !important;
    }

    .tipologie_tab_container > ul > li:last-of-type > a {
            margin-right:0px;
        }

    #pills-tab{
        width: 390px;
        margin: 0 auto;
    }

    /* MENU */

     /* Disabilito il TOGGLER */
    .navbar-toggler{
        display:none !important
    }
    #main-nav{
        display:block !important;
    }
    #menu-utente-loggato {
        float: right;
    }

/* classi modello post Gioco all'aperto */

    .mob-horizontal {
        display: block;
    }
    .mob-vertical {
        display: none;
    }

    .head_single_small > img{
        width:20%;
        margin-bottom:20px;
    }

    div.entry-meta{
        margin: 0 auto;
        width: 70%;
    }
    .passo-gioco-img{
        flex-basis: 35%!important;
    }
    .passo-gioco-txt{
        flex-basis: 55% !important;
        margin-left:5% !important;
    }

    .passo-gioco-txt > p{
        margin-top:20px;
    }

    @media only screen and (min-aspect-ratio: 1/1){
    /* dispositivi in orizzontale */
        .mob-horizontal {
            display: block;
        }
        .mob-vertical {
            display: none;
        }

        /* Giochi aria aperta */

        /* classi modello post Gioco all'aperto */

        .head_single_small h1 {
            font-size: 2.7rem !important;
            padding: 0 8%;
            margin-bottom: 10px;
        }

        .head_single_small > img {
            width: 20%;
            margin-bottom: 10px;
        }

        .d4b-footbar-products{
            width:74%;
        }
    }
}
/*##################### TABLET E SCHERMI ORIZZONTALI ########################*/

@media only screen and (min-width: 740px) and (max-width: 1039px) {

    .header-back-button{
        left:10%;
    }

    .tipologie_tab_container{
        width:100%;
        margin-bottom:100px;
        border-radius:0;
    }

    .tipologie_tab_container > ul > li > a {
        width:110px;
        height:150px;
        margin:0px;
        margin-right:20px;
        float:left;
        border:solid 1px black;
        border-radius:0px !important;
    }

    .tipologie_tab_container > ul > li:last-of-type > a {
         margin-right:0px;
    }

    #pills-tab{
        width: 370px;
        margin: 0 auto;
    }

    #pills-tab-racc{
        width: 240px;
        margin: 0 auto;
    }

    /* MENU */

     /* Disabilito il TOGGLER */
    .navbar-toggler{
        display:none !important
    }
    #main-nav{
        display:block !important;
    }
    #menu-utente-loggato {
        float: right;
    }

    /* SUBMENU */

    .dropdown-menu.show{
        width: 70%;
        left: 30%;
    }

    #d4b-sub-first-row-el2 {
        width: 34%;
    }

    .dropdown-menu.show > li {
        width: 100%;
        background: #E30614;
    }

    .dropdown-menu.show > li > a{
        color: white !important;
        font-size:1.7rem;
        border-bottom: 1px solid white !important;
        padding: 0px !important;
        margin-left: 20px !important;
        margin-top: 20px;
    }

    a.dropdown-item{
        display: inline-block !important;
        width:60% !important;
    }

    #d4b_sub_menu-item-122{
        padding-top:30px;
    }

    #menu-item-122 > a{
        margin-bottom:40px;
        width: calc(60% + 60px) !important;
    }

    .mob-horizontal {
        display: block;
    }
    .mob-vertical {
        display: none;
    }

/* classi modello post Gioco all'aperto */
    div.entry-meta{
        margin: 0 auto;
        width: 90%;
        padding-left:5%;
    }

    .locat-txt{
        display:none;
    }

    .head_single_small h1 {
        font-size: 2.7rem !important;
        padding: 0 8%;
        margin-bottom: 10px;
    }

    .head_single_small > img {
        width: 20%;
        margin-bottom: 10px;
    }

    .passo-gioco-img{
        flex-basis: 35%!important;
    }
    .passo-gioco-txt{
        flex-basis: 55% !important;
        margin-left:5% !important;
    }

    .passo-gioco-txt > p{
        margin-top:20px;
    }

    .go_left_game{
        margin-left:0%;
    }

    .go_right_game {
        margin-right:0%;
    }

    @media only screen and (min-aspect-ratio: 1/1){
    /* dispositivi in orizzontale */
        .mob-horizontal {
            display: block;
        }
        .mob-vertical {
            display: none;
        }

        /* Giochi aria aperta */

        /* classi modello post Gioco all'aperto */

        .head_single_small h1 {
            font-size: 2.7rem !important;
            padding: 0 8%;
            margin-bottom: 10px;
        }

        .head_single_small > img {
            width: 20%;
            margin-bottom: 10px;
        }

        .d4b-footbar-products{
            width:74%;
        }
    }
}

/*##################### PERSONALIZZATO MOBILE ###############################*/

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

    .header-back-button{
        left:5%;
    }

    .tipologie_tab_container{
        width:100%;
        margin-bottom:60px;
        border-radius:0;
    }

    .tipologie_tab_container > ul > li > a {
        width:70px;
        height:95px;
        margin:0px;
        margin-right:20px;
        float:left;
        border:solid 1px black;
        border-radius:0px !important;
    }

    .tipologie_tab_container > ul > li:last-of-type > a {
        margin-right:0px;
    }

    #pills-tab{
        width: 250px;
        margin: 0 auto;
    }

    #pills-tab-racc{
        width: 160px;
        margin: 0 auto;
    }

    /* MENU PRINCIPALE*/

    #masthead{
        padding: 0px !important;
        height: 80px !important;
        box-shadow:0px 10px 6px rgba(0,0,0,0.25) !important;
    }

    #page-sub-header {
        margin: 0 auto;
        padding: 80px 0 0 0;
        width: 100%;
        height: auto;
    }

    .navbar-brand{
        width: 20% !important;
        margin: 0px !important;
    }

    .menu-logo-d4b{
        width: 60%;
    }

    .menu-logo-d4b > img{
        height:50px;
        display: block;
        margin: 0 auto;
    }

    .navbar-right-face{
        width: 20%;
        margin: 0px;
    }

    .navbar-brand > a > img {
        width: 44px;
        height: 44px;
    }

    .menu-face-icon{
        height:44px !important;
        width:44px !important;
        margin-top: 6px;
    }

    /* Disabilito il TOGGLER */
    .navbar-toggler{
        display:none !important
    }
    #main-nav{
        display:block !important;
    }

    #menu-utente-loggato {
        float: right;
    }

    /* SUBMENU */

    .dropdown-menu.show{
        width: 100%;
        left: 0px;
    }

    .dropdown-menu.show > li {
        width: 100%;
        padding-left: 5% !important;
        background: #E30614;
    }

    .dropdown-menu.show > li > a{
        color: white !important;
        font-size:1.7rem;
        border-bottom: 1px solid white !important;
        padding: 0px !important;
        margin-left: 20px !important;
        margin-top: 20px;
    }

    a.dropdown-item{
        display: inline-block !important;
        width:60% !important;
    }

    #d4b_sub_menu-item-122{
        padding-top:30px;
    }

    #menu-item-122 > a{
        margin-bottom:40px;
        width: calc(60% + 60px) !important;
    }

    #d4b-sub-first-row-el1{
        height:80px;
    }

    #d4b-sub-first-row-el2{
        width: 24%;
        background-color: #E30614;
        height: 80px;
        margin: 0;
        padding: 0;
        float: right;
        display: inline-block;
        background-image: url(images/annulla-bianco_b.png);
        background-size: 60px;
        background-repeat: no-repeat;
        background-position-x: 40%;
        background-position-y: center;
    }

    .mob-horizontal {
        display: none;
    }
    .mob-vertical {
        display: block;
    }

    /* FOOTER */

    .d4b-footbar-red{
        line-height: 0px;
    }

    /* Pagina Home */
    .home-title-logo{
        width: 50%;
        margin-bottom: 30px;
    }

    .d4b-multitext {
        height: auto;
    }

    .home_round_butt{
        width: 70%;
        margin: 0 auto;
    }

    .d4b-multitext {
        height: 100%;
    }

    .wp-block-spacer {
        clear: both;
        height: 40px !important;
    }

    .spacer-thumbnail-full {
        height: 40px;
        width: 100%;
    }
    /* classi modello post Gioco all'aperto */

    .head_single_small h1 {
        font-size: 2.7rem !important;
        padding: 0 8%;
        margin-bottom: 30px;
    }

    .head_single_small > img {
        width: 50%;
        margin-bottom: 20px;
    }

    .header-back-button{
        height: 50px;
        width: 55px;
    }

    .giochi_small_image{
        width:50% !important;
    }
    article.giochi_aria_aperta{
        margin-top:20px
    }

    .entry-meta > .col-3{
        padding-right: 0px;
        padding-left: 0px;
    }

    .entry-meta{
        margin-left:10px !important;
        margin-right:-20px !important;
        width:100% !important;
    }

    .entry-meta > .col-3 > div{
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.7rem;
        margin-left: 0px;
    }

    .entry-meta > .col-3 > div:last-child {
        margin-left: 5px;
        text-align: left;
        width: 36px;
    }

    .locat-txt{
        display:none !important;
    }

    .spacer-pregame-single{
       height: 10px !important;
       margin-top: 0px !important;
    }
    .giochi_aria_aperta p{
        margin-top: 0;
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .passo-gioco-img{
        flex-basis: 100% !important;
    }

    .passo-gioco-img > figure{
        padding-right:5% !important;
    }

    .passo-gioco-img > p{
        display:none;
    }

    .passo-gioco-txt{
        flex-basis: 100% !important;
        margin-left: 6%;
        margin-right: 5%;
    }

    .passo-gioco-txt > p{
        margin-top:0px;
    }

    .go_left_game{
        margin-left: 0 !important;
    }

    .go_left_game p{
        display:none;
    }

    .prev-d4b-game{
        height: 60px;
        width: 60px;
        background-size: 30%;
        margin: 10px 20px;
        border-radius: 30px;
    }

    .new_game {
        margin-bottom: 130px;
        margin-top: 0px;
        width: 100%;
    }
    .go_right_game{
        margin-right: 0 !important;
    }

    .go_right_game p{
        display:none;
    }

    .next-d4b-game{
        height: 60px;
        width: 60px;
        background-size: 30%;
        margin: 10px 20px;
        border-radius: 30px;
    }

    /* AREA RACCONTI */

    .openracc_bar{
        height:30px;
        margin-bottom:34%;
        margin-top:10px;
        width:100%;
    }

    .openracc_bar > a,.openracc_bar > a:hover {
        margin:0 auto;
        text-align: center;
        display: block;
        text-decoration: none;
        color:#fff;
        border-radius: 10px;
        background: #FF9715;
        width: 250px;
        padding: 10px;
        margin-top:-30px;
    }

    .rac-player{
        margin-top:20px;
        margin-bottom:30px;
    }

    .racc-entry-title{
        border-bottom: 2px solid black !important;
        padding-top:30px !important;
        padding-bottom:30px !important;
        text-decoration: none;
        text-align: center;
        margin-bottom:20px;
    }

    @media only screen and (min-aspect-ratio: 1/1){
    /* dispositivi in orizzontale */
        #masthead{
            padding: 0px !important;
            height: 80px !important;
            box-shadow:0px 10px 6px rgba(0,0,0,0.25) !important;
        }

        .menu-logo-d4b > img{
            height:50px;
            display: block;
            margin: 0 auto;
        }

        #page-sub-header {
            margin: 0 auto;
            padding: 80px 0 0 0;
            width: 100%;
            height: auto;
        }
        .dropdown-menu.show{
            width: 70%;
            left: 30%;
        }

        .dropdown-menu.show > li {
            width: 100%;
            padding-left: 15% !important;
            background: #E30614;
        }

        .dropdown-menu.show > li > a{
            color: white !important;
            font-size:1.7rem;
            border-bottom: 1px solid white !important;
            padding: 0px !important;
            margin-left: 20px !important;
            margin-top: 10px;
        }

        a.dropdown-item{
            display: inline-block !important;
            width:60% !important;
        }

        #d4b_sub_menu-item-122{
            padding-top:5px;
        }

        #menu-item-122 > a{
            margin-bottom:20px;
            width: calc(60% + 40px) !important;
        }

        #d4b-sub-first-row-el1{
            height:80px;
        }

        #d4b-sub-first-row-el2{
            width: 40%;
            background-color: #E30614;
            height: 80px;
            margin: 0;
            padding: 0;
            float: right;
            display: inline-block;
            background-image: url(images/annulla-bianco_b.png);
            background-size: 60px;
            background-repeat: no-repeat;
            background-position-x: 40%;
            background-position-y: center;
        }
        #d4b_sub_menu-item-531{
            height:40px;
            width:40px;
            margin-bottom:-7px;
        }
        #d4b_sub_menu-item-112{
            height:40px;
            width:40px;
            margin-bottom:-7px;
        }
        #d4b_sub_menu-item-23{
            height:40px;
            width:40px;
            margin-bottom:-7px;
        }
        #d4b_sub_menu-item-124{
            height:40px;
            width:40px;
            margin-bottom:-7px;
        }
        .mob-horizontal {
            display: block;
        }
        .mob-vertical {
            display: none;
        }

        /* Giochi aria aperta */

        /* classi modello post Gioco all'aperto */

        .head_single_small h1 {
            font-size: 2.7rem !important;
            padding: 0 8%;
            margin-bottom: 5px;
        }

        .head_single_small > img {
            width: 18%;
            margin-bottom: 5px;
        }

        div.entry-meta{
            padding-left:5%;
        }

        .passo-gioco-img > figure{
            padding-right:5% !important;
            width: 80%;
            margin-left: auto;
            margin-right: auto;
        }

        /* AREA RACCONTI */

        .openracc_bar{
            height:30px;
            margin-bottom:24%;
            margin-top:10px;
            width:100%;
        }

        .openracc_bar > a,.openracc_bar > a:hover {
            margin:0 auto;
            text-align: center;
            display: block;
            text-decoration: none;
            color:#fff;
            border-radius: 10px;
            background: #FF9715;
            width: 250px;
            padding: 10px;
            margin-top:-30px;
        }
    }
}
/*###########################################################################*/

