/*
Theme Name: BDB - UNIVERSITY
Theme URI: http://themes.designcrumbs.com/skillfully
Description: Child theme for Skillfully.
Author: ManlioMa
Author URI: http://www.manlioma.it
Template: skillfully
*/

@import url("../skillfully/style.css");

/* Start your custom css below here! */

h2, h3, h4, h5, h6 {
    color: #666;
    font-weight: 300;
}

.bdbred{color: #752121;}

/*-------------- STARTER -------------------
--------------------------------------------*/

.fl{float: left;}
.fr{float: right;}
.no_float{float:none;}
.no_display{display:none!important;}
.hidden{width: 0px;height: 0px;visibility: hidden;opacity: 0;overflow: hidden;}
.muto{line-height: 0px;margin: 0px;padding: 0px;text-indent: -999px;font-size: 0px;}
.clear{clear: both;}
a.active{border: none;outline:0;}
*:focus {
    outline: none!important;border: none!important;outline:0!important;outline-style: none!important;
}
.top40{margin-top: 40px;}
.top90{margin-top: 90px;}
.padd100{padding-top: 100px;}
.bottom_30{margin-bottom: 30px;}
.bottom_0{margin-bottom: 0px;}
.wow {
   visibility: hidden;
}

.trans{
  
  -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s; 
  
}

.alert-grey{color:gray;}

a.button.inline{display: inline-block;}

/*-------------- MENU  ----------------------
--------------------------------------------*/

#header_nav .menu-navigation li {
    line-height: 40px;
    margin-right: 0px;
    padding: 0 16px;
    border-bottom: 3px solid #752121;
}


#header_nav .menu-navigation li a{
	text-transform: uppercase;
}
#menu-search {
    display: none;
}

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

    #header_nav .menu-navigation li:first-child {
        margin-left: 15px;
    }
    #header_nav .menu-navigation li.current-menu-item,
    #header_nav .menu-navigation li:hover{
        border-bottom: 3px solid white;
    }

    #header_nav .menu-navigation li.current-menu-item > span a,
    #header_nav .menu-navigation li:hover > span a{
        color: white;
        opacity: 1;
    }
}

/*-------------- HOMEPAGE --------------------
--------------------------------------------*/

.home .container{
    padding: 60px 20px;
}
.big-text{
    font-size: 1.1em;
}
.box-testo{
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.ico-card {
    position: absolute;
    right: 40px;
    top: 20px;
    background: #f9f9f9;
    border-radius: 50%;
}
.bold-text{
    font-weight: bold;
}

/*-------------- PROGRAMMA -------------------
--------------------------------------------*/

ul.programma > li strong {
    color: #ff9800;
    font-size: 1.3em;
    font-weight: 100;
}
ul.programma > li > ul {
    list-style:none;
}
.programma .collapsible-body h3{line-height: inherit;}


/*Beer Accent*/
.programma > li:nth-child(3),
.programma > li:nth-child(5),
.programma > li:nth-child(7),
.programma > li:nth-child(9),
.programma > li:nth-child(11) {
    border-bottom: 3px solid #ff9800;
    margin-bottom: 30px!important;
}
.programma li:nth-child(3) .course-title,
.programma li:nth-child(5) .course-title,
.programma li:nth-child(7) .course-title,
.programma li:nth-child(9) .course-title,
.programma li:nth-child(11) .course-title{
    color: #ff9800;
}

ul.birre-small {
    margin:60px 0 30px;
}
ul.birre-small li {
    width: 50%;
    float: left;
    list-style-type: none;
    line-height: 60px;
    margin-bottom: 10px;
}
ul.birre-small li img{
    width: 60px;
    padding:0px;
}

/*-------------- QUESTIONS ------------------
--------------------------------------------*/

[type="radio"].dcs_checkrad:checked + label:after {
    background: #752100!important;
}
[type="radio"].dcs_checkrad:checked + label:before {
    border: 2px solid #752100!important;
}
.quiz form ol#sensei-quiz-list li > span span {
    font-size: 0px!important;
}
.quiz form ol#sensei-quiz-list li .answer_message.user_right {
    display: none;
}
.quiz form ol#sensei-quiz-list li ul li label {
    vertical-align: middle;
    text-transform: inherit;
    letter-spacing: inherit;
}

#home_latest_posts{display: none}

#main-course .woo_card.card,
#sensei-search-results .woo_card,
#author-course-archive .woo_card,
#event-search-results .tribe_card,
.page-template-page-courses #primary.courses_page_template .course-container .woo_card.card {
	/*float: left;*/
	width: 100%;
/* 	max-width: 320px; */
	max-width: 100%;
	margin-right: 5%; /* 40 / 780 */ 
}

#primary:not(.no-sidebar) .woo_card,
#primary:not(.no-sidebar) .tribe_card {
	width: 100%!important;
/*     max-width: 320px; */
	max-width: 100%;
	/* 375 / 780 */
	margin: 0 3.8461538461538464% 3.8461538461538464% 0;
	/* 30 / 780 */
  padding: 0px;
}

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

    .card_image_link {
        display: block;
        height: 340px;
    }
}
.course.card .about_the_author,
.course-container .post_desc,
.single-badges .entry-meta{
	display: none;
}

.course_card .course-title {
    font-weight: 500;
}

/*-------------- SIDEBAR --------------------
--------------------------------------------*/

#sidebar{margin-top: 150px;background-color: rgba(255, 255, 255, 0);}

#sidebar .widget-title{color: #999;}
#sidebar .widget.widget_sensei_course_component ul li a{color: #ff9800;}

#sidebar .widget-achievements-listing-item.has-thumb:before {
    content: ''!important;
}
#sidebar .widget-achievements-listing-item {
    padding-left:0px;
}
#sidebar .widget-achievements-listing-item img{
   width:80px
}
#sidebar .widget-achievements-listing-item .widget-badgeos-item-title{
   width: 65%;
   font-size:1.5em;
   font-weight:100;
}


/*-------------- CONTENT -------------------
--------------------------------------------*/

.alignright, .alignleft, .aligncenter, .alignnone{
	border: 0px solid!important;
}


/*-------------- CHECK STATUS COURSE -------
--------------------------------------------*/

.post_meta .course_price_wrap{
  display: none;
}
span.check {
    position: absolute;
    right: 20px;
    margin-top: 65px;
}
.check:before{
    font-family: FontAwesomeSensei,FontAwesome;
    content: '\f058';
    font-size: 24px;
}
span.check.completed:before {
    color: #63a95f;
}
span.check.in-progress:before {
    color: #ff9800;
}
span.check.null:before {
    content: '\f10c';
    color: rgba(0,0,0,0.1);
}

/*--------- LOGIN AND RECOVER PSW PAGE -------
--------------------------------------------*/
.login_box h3,
.login_box p{
    color: #f9f9f9;
}
p.wppb-error {
    color: #000;
}
#loginform p, .register p {
    position: relative;
    margin: 0 0 0px !important;
}
#loginform p label {
    color: #fafafa;
    padding-left: 10px;
}
#wppb-recover-password {
    color: #fafafa;
}
#loginform label.active,
#wppb-recover-password label.active{top:-20px!important;}

.wppb-form-field label, #wppb-login-wrap .login-username label, #wppb-login-wrap .login-password label {
    width: 100%!important;
}
#wppb-recover-password label {
    position: relative;
    top: 26px;
    left: 10px;
}
#wppb-recover-password input[type="text"],
#loginform input[type="text"],
#wppb-recover-password input[type="password"],
#loginform input[type="password"]{
  color: #fff;
  padding-left: 10px!important;
}

#wppb-recover-password input:focus,
#loginform input:focus{
    border:1px solid #fff!important;
}

/*-------------- HEADER ---------------------
--------------------------------------------*/

#secondary-navigation * {
    color: #fafafa!important;
}
.site-branding a img{
    max-height: 180px;
}
#logo_wrap {
    padding: 50px 0;
}

/*-------------- PAGE -----------------------
--------------------------------------------*/

.page .entry-title_wrap {
    background: none;
}
.page .entry-title_wrap h1:after {
    background: #752121;
    width: 70px;
    height: 3px;
    display: block;
    top: 20px;
    position: relative;
}

/*------------ COURSE NAVIGATION ------------
--------------------------------------------*/

#course-nav > div {
    width: 49%!important;
}

#course-nav .nav-next p{
    color: lightgrey;
    text-align: right;
    padding-right: 10px;
}
#course-nav .nav-prev p{
    color: lightgrey;
    text-align: left;
    padding-left: 10px;
}

#course-nav .nav-next a{float: right;}

/*-------------- PROFILE USER ---------------
--------------------------------------------*/

#user-dashboard .avatar-box {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 30px auto 10px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    max-width: 150px;
}

#user-dashboard .avatar-box img.avatar-150 {
    max-width: 100%;
}

#user-dashboard .user-info h2{
    color: #752121;
    font-weight: 300;
    text-transform: capitalize;
}

.link-modifica-profilo {
    margin: 10px 0;
}

/*sidebar user dashboard*/
#user-dashboard.sidebar.widget {
    margin-top: -85px;
}
#user-dashboard.widget .user-info h2{
    font-size: 1.6em;
    margin: 20px 0 25px;
}
#user-dashboard.widget .avatar-box{
    width: 100px;
    border: 2px solid white;
    position: relative;
    z-index: 999;
}
#user-dashboard.widget .user-info{
    text-align: center;
    padding-top: 50px;
    margin-top: -58px;
    position: relative;
}


.user_stats li {
    display: inline-block;
    position: relative;
    padding: 5px 10px 0!important;
    margin-bottom: 10px;
}

#user-dashboard .user_stats li:before   {
    content: none;
}
#sidebar .user_stats li i{
    font-size: 40px;
}
.user_stats li i{
    font-size: 30px;
}
#sidebar .user_stats li span{
    position: relative;
    top: 5px;
    color: grey;
}
.user_stats.account{
    padding-left: 0px;
    margin-bottom: 0px;
}
.user_stats.account li span{
    position: relative;
    top: 0px;
    left:5px;
    color: grey;
}
#sidebar .user_stats li > *{
    display:block;
}
.user_stats li > *{
    display:inline-block;
    text-align: center;
}

i.fa.fa-graduation-cap {
    
    color: #3c948b;
}

i.fa.fa-diamond {
    color: #4f8adf;
     
}

i.fa.fa-trophy {
    /*color: #df6c4f;*/
    color: #ecd06f;
}
i.fa.fa-tachometer {
    color: #df6c4f;
}

.rank_icon{
    margin-right: -8px;
}
.settings_icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
}

#user_stats_circle ul{
    margin:0px 0;
    padding: 0px;
    list-style: none;
    width: 100%;
    display: block;
}
#user_stats_circle ul li{
    width: 25%;
    list-style: none;
    float: left;
    text-align: center;
}
#user_stats_circle ul li strong {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    font-weight: 100;
}
#user_stats_circle ul li i{
    font-size: initial;
    font-style: normal;
}
#user_stats_circle ul li p{
    font-style: italic;
    font-size: .9em;
    color: gray;
}
#user_stats_circle ul li canvas{
    display: block;
    margin: 0 auto;
}
.alert_orange {
    background: lavenderblush;
    padding: 2px 10px;
    font-style: italic;
    border-radius: 5px;
}

/*MODIFICA PROFILO*/

.wppb-form-field label {
    margin-bottom: 0px;
}
.wppb-user-forms input:not([type="button"]):not([type="reset"]):not([type="submit"]){
    padding:2px 5px!important;
}
#wppb-edit-user .wppb-form-field > span{
    margin-left: 0px;
}
#profile_image_info_container {
    margin: 10px 0;
}
#profile_image_info_container .file-thumb {
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    width: 80px;
}

/*QUERY PERSONAL COURSE*/

#courses-profile .collapsible-header span.check{
    margin-top: 0px;
    top: 30px;
    right: auto;
}

.collapsible-body{
    padding:5%;
}

#courses-profile .course-completion-rate {
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 40px;
}

.collapsible.popout {
  border: none;
  box-shadow: none;
    padding: 0px;
}
.collapsible-header {
    padding: 20px;
}
.collapsible-header .course-title {
    padding-left: 40px;
    font-weight: bold;
}
.collapsible-header:after {
    font-family: FontAwesomeSensei,FontAwesome;
    content: '\f107';
    font-size: 24px;
    position: absolute;
    right: 30px;
    top: 30px;
    color: lightgray;
}
.collapsible-header:hover{
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.collapsible-header:hover:after,
.collapsible-header:hover .course-title,
.collapsible.popout > li.active .collapsible-header .course-title{
    color: #752121;
}    
.collapsible.popout > li {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
    margin: 0;
    transition: margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    list-style: none;
    position: relative;
    background: #fff;
    margin-bottom: 5px;
}

.collapsible.popout > li.active {
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  margin: 16px -10px;
}
.collapsible.popout > li.active .collapsible-header{
    background: #fafafa;
}
.collapsible.popout > li.active .collapsible-header:after{
    content: '\f106';
    color: #752121;
}
.collapsible.popout > li.active .collapsible-header:hover{
    box-shadow: none;
}

/*-------------- RANKING PAGE ----------------
--------------------------------------------*/

#user_stats_circle.ranking ul li strong {
    font-size: 14px;
    top: 5px;
}

#user_stats_circle.ranking ul li {
    margin-bottom: 0px;
}

.rank_img img{
    border-radius: 50%;
}
.rank_name {
    text-transform: capitalize;
}
td.rank_point {
    text-align: center;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    position: absolute;
    bottom: 3px;
    display: block;
    opacity: 0.3;
    font-size: 1em;
}

#ranking_table {
    margin: 0px 0 20px;
}
#ranking_table thead tr,
#ranking_table thead tr th {
    background: none;
    height: 35px;
}
#ranking_table_filter {
    text-align: left;
    position: relative;
    top: 0;
    z-index: 999;
}
#ranking_table_filter input{
    height: 30px;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
    left: 10px;
    content: "\2191";
    right: auto;
}
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    left: 18px;
    content: "\2193";
    right: auto;
}

#ranking_table tbody tr {
    background:white;
    transition: background-color .25s ease;
    border-bottom:1px solid whitesmoke;
    color:#666;
}
#ranking_table tbody tr:hover {
    background:whitesmoke;
}

#ranking_table_info {
    display: none;
}
#ranking_table th, #ranking_table td {
    padding: 10px 10px;
}

#ranking_table.dataTable th, 
#ranking_table.dataTable td {
    border-color: #e3e3e3!important;
}
#ranking_table .ranking li {
    width: 40px;
}

@media only screen and (min-width: 1024px){
    .select_team {
        max-width: 300px;
    }
}
.select_team {
    margin: 0px 0px 20px;
    float: left;
    width: 100%;
}
.select_team span{
    line-height:40px;
    height:40px;
    float:left;
    padding-right:10px;
    width: 120px;
}
.select_team .custom_select_wrap{
    float:left;
    width: calc(100% - 120px);
}
#ranking_table .round_count {
    width: 5%;
}
/*-------------- LEARNER PROFILE -------------
--------------------------------------------*/

#learner-info .link-modifica-profilo{display: none;}

/*-------------- BADGE PAGE -----------------
--------------------------------------------*/

    /*SHORTCODE*/
    #main #badgeos-achievements-container {
        border-top: 0px dotted #aaa;
    }
    #badgeos-achievements-container .badgeos-achievements-list-item {
        clear: none;
        padding: 20px;
        border-bottom: 0px dotted #aaa;
        overflow: hidden;
        width: 25%;
        float: left;
        margin-bottom: 20px;
    }
    #badgeos-achievements-container .badgeos-achievements-list-item .badgeos-item-image {
        width: 100%;
        padding-right: 0%;
        display: block;
        float: none;
        margin: 0 10px 10px 0;
        opacity: .6;
        filter: grayscale(100%);
        -webkit-filter: grayscale(100%);
        
    }
    #badgeos-achievements-container .badgeos-achievements-list-item.user-has-earned .badgeos-item-image {
        opacity: 1;
        filter: grayscale(0%);
        -webkit-filter: grayscale(0%);
    }
    #badgeos-achievements-container .badgeos-achievements-list-item .badgeos-item-description {
        width: 100%;
        float: none;
        text-align: center;
    }
    #badgeos-achievements-container .badgeos-item-title {
        display: inline-block;
        margin-top: 0;
        font-size: 22px;
        font-weight: 300;
    }



    /*CUSTOM BADGE PAGE*/

    .badges_page_template .card {
        padding: 1em 0;
    }
    ul.badge_listing {
        padding: 0px;
        list-style:none;
    }
    ul.badge_listing li{
        padding: 20px;
        float:left;
        width:25%;
        text-align:center;
    }
    ul.badge_listing li a img{
        width:100%;
        margin-bottom:15px;
    }
    ul.badge_listing li a:hover img{
        opacity:.8;
    }    
    ul.badge_listing li.user-has-not-earned{
        opacity:.5;
        filter: grayscale(100%);
        -webkit-filter: grayscale(100%);
    }


/*Badge widget*/

#earned_user_achievements_widget h3 {
    font-weight: 300;
    font-size: 2em;
    color: #999;
    margin-bottom: 20px;
}

#earned_user_achievements_widget ul li {
    padding: 5px;
    width: 70px;
}

#earned_user_achievements_widget ul li:before {
    content: '';
}


/*Single Badge*/
.single-badges .achievement-wrap .badgeos-item-image{
    display: none;
}

.single-badges .achievement-wrap h4{
    font-size: 1.5em;
}


/*-------------- RISPOSTE -------------------
--------------------------------------------*/

.quiz form ol#sensei-quiz-list li .answer_message.user_wrong {
    color: red;
    border-color: red;
    float: left;
    width: 100%;
    position: relative;
    text-align: left;
    margin-bottom: 20px;
    display: none;
}



span.tips {

    /* Required */
    position: absolute;
    z-index: 2;
    display: none;

    /* Optional */
 /*   font-size: 15px;
    max-width: 150px;
    height: auto;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 1px 2px #666;
    background: #FD0;*/
} 

/*-------------- MEDIA QUERIES --------------
--------------------------------------------*/

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

  .align_center_mobile{text-align: center!important;}

}

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

    #ranking_table thead tr .rank_num {
        width: 20px!important;
    }
    #user-dashboard .user-info > *{
        text-align: center;
    }
    #user_stats_circle ul li {
        width: 50%;
    }

}

@media only screen and (max-width: 980px){
    #header_nav .menu-navigation li {
        padding: 0 10px;
    }
}