/*
Theme Name:	D4B ACADEMY
Theme URI:	https://www.digitalforbusiness.com
Description:	D4B ACADEMY is a child theme of WP Bootstrap Starter, created by ChildTheme-Generator.com
Author:		marcognu
Author URI:	https://www.digitalforbusiness.com
Template:	wp-bootstrap-starter
Version:        1.0.0
Text Domain:	d4b-academy
*/


.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#page {
    min-height: 100%;
}

/**
    Navigation
**/

/* logo */
.navbar-brand > a > img {
    max-width: 200px;
    height: auto;
}

/* 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: 100px;
}

img.img-cmp-logo {
    float: right;
    margin: -34px 0 0 0;
}

h3.centered {
    margin: 0 auto;
    text-align: center;
}

/**
    BODY
**/
.entry-header {
    margin-top: 30px;
}
ul.wp-block-latest-posts {
    list-style: none;
}

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: 100px;
}



/**
    FIXED FOOTER
**/

footer {
    display: block;
    width: 100%;
    z-index: 1000;
}

.footer-no-padding {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#footer-widget {
    padding: 20px 0 0 0;
}

footer#colophon {
    /*padding: 20px 0 0 0;*/
    padding: 0;
    background-color: #0a568a !important;
    color: #fff;
}

.site-info {
    margin: 18px auto;
    text-align: center;
}

/* Footer Logo */
.left-footer-logo {
    margin: 0 auto;
    text-align: center;
}
.right-footer-logo {
    margin: 0 auto;
    text-align: center;
}
.left-footer-logo > a > img,
.right-footer-logo > a > img {
    width: 100px;
    height: auto;
}

.footer-logo {
    margin: 0 30px;
    height: 50px !important;
    width: auto !important;
}
.as0-footer-logo-fix {
    margin-top: 10px;
}

/**
    SDM Download
**/

.sdm_download_button {
    margin-right: 15px;
}

/**
    GRAVITY FORMS
**/

/* GForm Style */
.gfield {
    margin-bottom: 50px !important;
}

.gquiz-correct-choice {
    color: #00a800;
}

.gquiz-incorrect-choice {
    color: #ff0000;
}

.gquiz-answer-explanation {
    margin-top: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-style: italic;
    background-color: #f8f9fa;
}

span.passed {
    color: #00a800;
    font-weight: bold;
}

span.failed {
    color: #ff0000;
    font-weight: bold;
}

.consent_box > div.gfield_description {
    border: none !important;
    font-size: 1em !important;
}

/* 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;
}

/* Login Form */
/*.pm-login-links-box.pm-difr.pm-pad10,
.pm-login-links-box.pm-dbfl {
    display: none !important;
}*/

.pm-group-view .pm-header-section {
    height: 100px !important;
}
.pmagic .pm-group-view .pm-profile-title {
    margin: 1em 0px 0px 30px !important;
}

.pseudo-button:hover {
    background-color: #eee;
}
.pseudo-button > div > div > figure > a > img:hover {
    filter: none;
    -webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(1000%);
    cursor: pointer;
    transition: all 300ms ease;
}

/* Elementi Academy personalizzati */

.d4button {
    text-decoration: none;
    color: #ffffff;
    background: rgba(6, 147, 227, 1);
    border-color: rgba(6, 147, 227, 1);
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 20px;
    padding: 12px 24px;
    border-width: 3px;
    z-index: 1;
    position: relative;
    cursor: pointer;
    display: flex;
    line-height: 1.6;
    text-align: center;
    border-style: solid;
    transition: all .3s ease-in-out;
    border-radius: 3px;
    overflow: hidden;
    box-sizing: border-box;
}
.d4button:hover {
    text-decoration:none;
    background: rgba(0, 170, 150, 1);
}


.d4button > div {
    width: 100%;
}


.d4button > div > a {
    color:#fff;
    width: 100%;
    display: block;
}
.d4button > div > a:hover {
    color:#fff;
    text-decoration:none;
}


.d4button_green {
    width: 250px;
    margin: 0 auto;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    background: #1dbe00;
    border-color: #1dbe00;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 20px;
    padding: 10px 24px;
    border-width: 3px;
    z-index: 1;
    position: relative;
    cursor: pointer;
    display: flex;
    line-height: 1.6;
    text-align: center;
    border-style: solid;
    transition: all .3s ease-in-out;
    overflow: hidden;
    box-sizing: border-box;
}
.d4button_green:hover {
    text-decoration:none;
    background: #1dbe00;
}


.d4button_green > div {
    width: 100%;
}


.d4button_green > div > a {
    color:#fff;
    width: 100%;
    display: block;
    font-weight: 600;
}
.d4button_green > div > a:hover {
    color:#fff;
    text-decoration:none;
    font-weight: 600;
}

/* Bottoni Arrotondati Verdi */
.sa_trk_button_rounded{
    color: #ffffff;
    background: #1dbe00;
    border-color: #1dbe00;
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto;
}

.sa_trk_button_rounded:hover{
    transform: scale(1.1);
}

.sa_trk_button_rounded a{
    display: block;
    padding: 10px 30px;
    color: #fff;
    text-decoration: none;
}
.sa_trk_button_rounded a:hover{
    color: #fff;
    text-decoration: none;
}
    

/* Bottoni Academy per le aree */

.area_sep_bar{
    background: transparent linear-gradient(180deg, #6A7B94 0%, #00284B 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    height: 40px;
    width:100%;
    margin-top:60px;
}

.d4button_area_a {
    width: 30%;
    margin: 1.5%;
    float:left;
    border-radius: 3px;
    text-decoration: none;
    color: #ffffff;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 20px;
    border-width: 0px;
    z-index: 1;
    position: relative;
    cursor: pointer;
    display: flex;
    line-height: 1.6;
    text-align: center;
    border-style: solid;
    overflow: hidden;
    box-sizing: border-box;
    
}
.d4button_area_a:hover {
    text-decoration:none;
}
.d4button_area_a > div {
    width: 100%; 
}
.d4button_area_a > div > a {
    color:#fff !important;
    border:0px !important;
    width: 100%;
    display: block;
    font-weight: 600;
    padding-top:30% !important;
    padding-bottom:30% !important;
}
.d4button_area_a > div > a:hover {
    color:#fff !important;
    border:0px;
    text-decoration:none;
    font-weight: 600;
}

.d4button_area_a > div > a > span{
    height: 70px;
    display: block;
    padding: 0 5%;
}
.d4button_area_a .kt-button::before{
    background: transparent !important;
}

/*########################################## Elementi percorsi ####################################################*/

.area_head_bar{
    background: transparent linear-gradient(180deg, #179A80 0%, #0F6E71 47%, #001D55 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    height: 100px;
    width:100%;
    margin-top:-30px;
}
.area_sep_bar{
    background: transparent linear-gradient(180deg, #179A80 0%, #0F6E71 47%, #001D55 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    height: 40px;
    width:100%;
    margin-top:60px;
}

/* Cards */
.sa_perc_card{
    width: 30%;
    margin: 1.5%;
    float:left; 
    height: 320px;
    background-color: #f4f4f4;
}

.sa_perc_card p{
    padding: 0 10px;
}

.sa_perc_card_head {
    width: 100%;
    border-radius: 3px;
    text-decoration: none;
    color: #ffffff;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 20px;
    border-width: 0px;
    z-index: 1;
    position: relative;
    cursor: pointer;
    display: flex;
    line-height: 1.6;
    text-align: center;
    border-style: solid;
    overflow: hidden;
    box-sizing: border-box;
    
}
.sa_perc_card_head:hover {
    text-decoration:none;
}
.sa_perc_card_head > div {
    width: 100%; 
}
.sa_perc_card_head > div > a {
    color:#fff !important;
    border:0px !important;
    width: 100%;
    display: block;
    font-weight: 600;
    padding-top:10% !important;
    padding-bottom:10% !important;
}
.sa_perc_card_head > div > a:hover {
    color:#fff !important;
    border:0px;
    text-decoration:none;
    font-weight: 600;
}

.sa_perc_card_head > div > a > span{
    height: 70px;
    display: block;
    padding: 0 5%;
}
.sa_perc_card_head .kt-button::before{
    background: transparent !important;
}
 
/* Cards Custom block*/
.sa_cblock_card{
    width: 30%;
    margin: 1.5%;
    float:left; 
    height: 320px;
    background-color: #f4f4f4;
    border-radius: 3px;
}

.sa_cblock_card a, .sa_cblock_card a:hover{
    text-decoration:none;
}

.sa_cblock_card .sa-head-card{
    width: 100%;
    height:60px;
    padding: 10% 0px 30% 0px;
    border-radius: 3px;
    text-decoration: none;
    color: #ffffff;
    -webkit-box-pack: center;
    justify-content: center;
    font-size: 20px;
    border-width: 0px;
    z-index: 1;
    position: relative;
    cursor: pointer;
    display: flex;
    line-height: 1.6;
    text-align: center;
    border-style: solid;
    overflow: hidden;
    box-sizing: border-box; 
    font-weight: 600;
}
.sa_cblock_card .sa-head-card:hover {
    text-decoration:none;
}
.sa_cblock_card .sa-head-card > div {
    width: 100%; 
}

.sa_cblock_card .sa-head-card .kt-button::before{
    background: transparent !important;
}

.sa_cblock_card .sa-body-card, .sa_cblock_card .sa-body-card:hover{
    padding: 15px 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #222;
    text-align: left;
}

.sa_cblock_card .sa-foot-card{
    height: 30px;
    width: 95%;
    background-image: url(images/right-arrow.png);
    background-position:right;
    background-size: 30px 30px;
    background-repeat: no-repeat;
}

/*##################################### Colori Disponibili ###########################################*/

.sa_color_a, .sa_color_nh_a, .sa_cblock_color_a .sa-head-card{
    background: transparent linear-gradient(180deg, #004F95 0%, #00284B 100%) 0% 0% no-repeat padding-box;
}
.sa_color_a:hover, .sa_cblock_color_a .sa-head-card:hover{
   background: #004F95; 
}

.sa_color_b, .sa_color_nh_b, .sa_cblock_color_b .sa-head-card{
    background: transparent linear-gradient(180deg, #179A80 0%, #0F6E71 47%, #001D55 100%) 0% 0% no-repeat padding-box;
}
.sa_color_b:hover, .sa_cblock_color_b .sa-head-card:hover{
   background: #179A80; 
}

.sa_color_c, .sa_color_nh_c, .sa_cblock_color_c .sa-head-card{
    background: transparent linear-gradient(180deg, #0078E1 0%, #00284B 100%) 0% 0% no-repeat padding-box;
}
.sa_color_c:hover, .sa_cblock_color_c .sa-head-card:hover{
   background: #0078E1; 
}

.sa_color_d, .sa_color_nh_d, .sa_cblock_color_d .sa-head-card{
    background: transparent linear-gradient(180deg, #177AB4 0%, #011F32 100%) 0% 0% no-repeat padding-box;
}

.sa_color_d:hover, .sa_cblock_color_d .sa-head-card:hover{
    background: #177AB4; 
}
/* Elementi Home */

/* Header */

header#masthead {
    display: block;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: #563d7c;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    padding: .74rem 1rem;
}

.d4b-ext-navbar{    
    display: flex !important;
    justify-content: space-between !important;
}

.d4b-primary li.active > a.nav-link{
    color: #ffffff !important;
}

.men_el_gr{
    color: #ffffff !important;
    background: #1dbe00 !important;
    border-color: #1dbe00 !important;
    border-radius: 50px !important; 
    width: 130px;
    justify-content: center;
    display: flex;
}

.men_el_gr a, .men_el_gr a.nav-link, .men_el_gr a.nav-link:hover {
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
    font-style: normal;
}



/* Buttons */

.home_ext_btn_rw {
    margin-top: -100px;
    padding-bottom:50px;
    display:block;
}

.home_ext_btn_group{
    margin: 0 auto;
    display: flex;
}

.home_ext_btn_group > div{
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.home_ext_btn_group .btn_el_gr_1{
    color: #ffffff !important;
    background: #1dbe00 !important;
    border-color: #1dbe00 !important;
    border-radius: 50px !important; 
    width: 180px !important;
    margin-right:10px
}

.home_ext_btn_group .btn_el_gr_2{
    color: #ffffff !important;
    background: #1dbe00 !important;
    border-color: #1dbe00 !important;
    border-radius: 50px !important; 
    width: 180px !important; 
    margin-left:10px
}

.btn_el_gr{
    color: #ffffff !important;
    background: #1dbe00 !important;
    border-color: #1dbe00 !important;
    border-radius: 50px !important; 
}

.btn_el_mid {
    width: 250px;
    margin: 0 auto;
}

.btn_el_gr svg, .btn_el_gr_1 svg, .btn_el_gr_2 svg {
    width: 25px !important;
    height: 25px !important;
    margin-left: 5px !important;
}

.sal-top-img{
    margin-top:-30px;
}

/* Pagina Home */

.home-block-row{
    margin-bottom: 0px;
    background-color: #f4f4f4;
}

.home-block-row > .wp-block-column{
    margin-left: 0px;
    flex-grow: 1 !important;
}

.home-block-row > .wp-block-column > h2{
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px; 
}

.home-block-row > .wp-block-column > p{
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px; 
}

.home-block-row figure{
    margin-bottom: 0px;
}

.vant-banner-dskt{
    display:block;
}
.vant-banner-mobile{
    display:none;
}

/* Pagina Webinar */

.webinar-program p{
    margin-bottom: 0.1rem;
}

.webinar-block-row{
    margin-bottom: 0px;
    background-color: #f4f4f4;
}

.webinar-block-row > .wp-block-column{
    margin-left: 0px;
}

.webinar-block-row > .wp-block-column > h2{
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px; 
}

.webinar-block-row > .wp-block-column > p{
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px; 
}

.webinar-block-row figure{
    margin-bottom: 0px;
}

.webinar-white-bkg{
    background-color: #ffffff !important;
}


/* Pagina Login */
.supp-log{
    width: fit-content;
    width: -moz-fit-content;
    margin: 0 auto;
}

/* Template Percorso */

.num-mod{
    border-top: 2px solid #2699FB;
    border-bottom: 2px solid #2699FB;
    width: 100%;
    margin-top:20px;
    margin-bottom:20px;
}
.num-mod-text{
    text-align: center;
    font: normal normal bold 25px Arial;
    letter-spacing: 0px;
    color: #2699FB;
    text-transform: uppercase;
    opacity: 1;
    margin-bottom: 0;
    padding: 10px 0;
}

.contact-ref{
    width: 100%;
    background-color: #2699FB;
    height:300px;
    margin-top:50px;
}

.contact-ref-text{
    width: 60%;
    margin-left: 30%;
    color: white;
    text-align: center;
}

.contact-ref-text h3{
    font-weight: 500;
    font-size: 24px;
}

.contact-ref-btn-gr{
    color: #ffffff !important;
    background: #1dbe00 !important;
    border-color: #1dbe00 !important;
    border-radius: 50px !important; 
    width: 250px;
    margin: 0 auto;
    padding:15px 15px;
    margin-top:30px;
}

.contact-ref-btn-gr a,.contact-ref-btn-gr a:hover{
    color: #ffffff !important;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
}
   

.more-trainings-area{
    width: 100%;
    margin-top:70px;
}
.more-trainings-title{
    width: 100%;
    margin-top:0px;
    text-align:center;
    font: normal normal normal 32px Arial;
    letter-spacing: 0px;
    color: #000000;
}
.more-trainings-dsc{
    width: 100%;
    margin-top:30px;
    text-align:center;
    font: normal normal normal 25px Arial;
    letter-spacing: 0px;
    color: #000000;
    margin-bottom:70px;
}
.more-trainings-bootsslides{
    width: 100%;
    background-color: #f4f4f4;
    margin-top:30px;
}

.card-prc{
    float:left;
    height:350px;
    background-color:#ffffff;
    border:10px solid #f4f4f4;
}

.bootslide-card-foot{
    height: 20px;
    width: 80%;
    background-image: url(images/right-arrow.png);
    background-position:right;
    background-size: 20px 20px;
    background-repeat: no-repeat;
}

.card-prc-mobile{
    float:left;
    height:340px;
    background-color:#ffffff;
    border:10px solid #f4f4f4;
}

.card-prc-mobile .sa_perc_card_head{
    height:150px;
}

.card-prc p{
   padding-left:6px;
   padding-right:6px;
}

.card-prc-mobile p{
   padding-left:15px;
   padding-right:15px;
}

.carousel-control-prev,.carousel-control-next{
    background: black;
    opacity: 0.15 !important;
    width: 60px !important;   
}

.carousel-control-prev:hover,.carousel-control-next:hover{
    background: black;
    opacity: 0.5 !important; 
}

.carousel-indicators{
    display:none !important;
}

.carousel-indicators li, .carousel-indicators .active{
    background-color:black !important;
    opacity: 0;
}

/* Dashboard */

.sa-bootsslide-desktop{
    display:block !important;   
}
.sa-bootsslide-mobile{
    display:none !important;
}

.sa-bootsslide-mobile .sa_perc_card_head > div > a {
    color:#fff !important;
    border:0px !important;
    width: 100%;
    display: block;
    font-weight: 600;
    padding-top:4% !important;
    padding-bottom:4% !important;
}

.contact-ref-dash{
    width: 100%;
    background-color: #2699FB;
    height:300px;
    margin-top:0px;
    background-image: url('images/sa-images-custom/banner-cta-contatto-dskt-bg.jpg'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    align-items: center; 
    display: flex;
}

.sa-intro > h1{
    text-align:center;
    margin-bottom: 20px;
}

.sa-intro > p{
    text-align:center;
}

.sa-y-favo{
    margin-top:60px;
}

.sa-y-favo > h2{
    text-align:center;
}

.sa-y-disc {
    margin-top:60px;   
}

.sa-y-disc > h2{
    text-align:center;    
}


/* Responsive */

@media only screen and (max-width: 900px)  {
/* Banner */
    .vant-banner-dskt{
        display:none;
    }
    .vant-banner-mobile{
        display:block;
    }
    
    .d4button_area_a {
        width: 47%;
        margin: 1.5%;
    }
    /* Cards */
    .sa_perc_card{
        width: 30%;
        margin: 1.5%;
        float:left; 
        height: 320px;
        background-color: #f4f4f4;
    }
}

@media only screen and (max-width: 770px)  {
    /* Pagina Home */

    .home-block-row{
        margin-bottom: 0px;
    }

    .home-block-row > .wp-block-column{
        flex-basis: 100% !important;
        flex-grow: 1 !important;
    }

    .home-block-row > .wp-block-column > h2{
        text-align:left;
        margin-top: 40px;
        margin-left: 30px;
        margin-right: 30px; 
    }

    .home-block-row > .wp-block-column > p{
        text-align:left;
        margin-top: 30px;
        margin-left: 30px;
        margin-right: 30px;
        margin-bottom: 130px; 
    }

    .home-block-row figure{
        margin-bottom: 0px;
    }
    .reverse-col-sa{
        flex-direction: column-reverse;
    }
    
    /* Bacheca Personale */
    
    .sa-bootsslide-desktop{
        display:none !important;
    }
    .sa-bootsslide-mobile{
        display:block !important;
    }
    
    .contact-ref-dash{
        width: 100%;
        background-color: #2699FB;
        height:300px;
        margin-top:0px;
        background-image: url('images/sa-images-custom/banner-cta-contatto-mobile-rit-bg.jpg'); 
        background-repeat: no-repeat; 
        background-size: cover; 
        align-items: center; 
        display: flex;
    }
    /* Cards */
    .sa_perc_card{
        width: 47%;
        margin: 1.5%;
        float:left; 
        height: 320px;
        background-color: #f4f4f4;
    }   
    .sa_cblock_card{
        width: 47%;
        margin: 1.5%;
        float:left; 
        height: 320px;
        background-color: #f4f4f4;
    } 
}

@media only screen and (max-width: 500px)  {
    .home_ext_btn_rw .kt-btn-wrap-0{
        display:none !important;
    }  
    .home_ext_btn_rw {
        margin-top: -70px;
        padding-bottom: 0px;
        display: block;
    }
    .men_el_gr{
        width: 100px;
    }
    .navbar-brand > a > img {
        max-width: 180px;
        height: auto;
    }
    /* Cards */
    .sa_perc_card{
        width: 100%;
        margin: 0%;
        float:left; 
        height: 320px;
        background-color: #f4f4f4;
    }
    .sa_cblock_card{
        width: 100%;
        margin: 0%;
        float:left; 
        height: 320px;
        background-color: #f4f4f4;
    }
}