/*
Theme Name:     ANP Community
Theme URI:      http://www.anp.it
Description:    Customizzazione WordPress per la community ANP
Author:         ZWAN
Author URI:     http://www.zwan.it
Template:       socialize
Version:        1.3.0
*/

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

.home #gp-left-column{
	overflow: visible;
}

.trans{
    transition: transform 0.3s ease, opacity 0.3s;
    -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s;
}

img {
  -webkit-backface-visibility: hidden; /* Webkit fix */
  transform: translate3d(0px,0px,0px); /* Firefox fix */
}

/*-------------- FOOTER IMAGE --------------*/

#footer-image{display: none!important;}



/*-------------- MEMBERSHIP FILTER ----------*/

.single-course.user-no-member .course-start {
    display: none;
}


/*-------------- BUDDYPRESS MEMBER PROFILE ------*/


#buddypress div.item-list-tabs ul li#settings-personal-li, #wp-admin-bar-my-account-settings{
	display: none;
}

/*-------------- WEBINAR CUSTOM CSS ---------*/

#webinar-actionbar {
    border-color: #0081da!important;
}
#action_hand {
    color: #777;
}
#webinar-actionbar ul li a.message-center-newmsg:before,
#webinar-actionbar .status-text,
#action_hand:hover:before,
#action_hand.hand-raised:before,
.webinar-my-chat,
#attendee-online-list .hand-raised,
#adminbar-handraised.hand-raised-admin,
.live-title,
a#gift_icon{
    color:#0081da!important;
}
#attendee-online-list .fa-hand-paper{
    margin-top:5px;
}

#webinar-actionbar ul li ul{
	border-color: #0081da!important;
}
#webinar-chat-action .webinar-chat-push{
    background-color: #0081da!important;
    border-color: #0081da!important;
}
.live-title {
    background-color: #FFF;
    font-weight:bold;
}
.livep-content {
    color: #333;
}
.live-box {
    border-radius: 3px;
    background-color: #f9f9f9!IMPORTANT;
    border: 0px!important;
}

#custom-tabs li {
    border-color: #fff!important;
}
#webinar_questionbox > div,
#webinar_chatbox > div,
#webinar_chatbox {
    border-color: #ffffff!important;
    background-color:#ffffff!important;
}
.live-title-sub{
    color:#333;
}

#custom-tabs li.active > a, #custom-tabs > li.active > a:hover, #custom-tabs > li.active > a:focus {
    background: #ffffff none repeat scroll 0 0!important;
    color: #0081da!important;
    text-decoration: none;
    border-bottom: 0px;
}

#custom-tabs > li > a, #custom-tabs > li > a:hover, #custom-tabs > li > a:focus {
    color: #FFFFFF!important;
    background: #0081da none repeat scroll 0 0!important;
}
.weninar-chat-showbox.box_shadow {
    box-shadow: none!important;
    overflow: auto;
    border: 1px solid lightgrey;
}
#webinar-chat-action .box_shadow {
    box-shadow: none!important;
    border: 1px solid lightgrey;
}
#embed,
#custom-tabs li,
.raise-hand-box,
.live-box {
    border-radius: 0px !important;
}
#ticket-link-holder{
	background: #0081da!important;
}

.tab-content {
 border-radius: 0px!important;
  border:0px solid white!important;
  background:#fff!important;
  color: #555!important;
 
}
.tab-content.round-border > *{
  color:#555!important;
}
.tab-content.round-border a{
  color:#0081da!important;
}
#WebinarDescription .round-border{
  border-radius: 0px!important;
  border:0px;
  background:#fff!important;
  color: #555!important;
  margin-top: 30px
}
#WebinarDescription .round-border > *{
  color: #555!important;
}
#reg-title, .tmp-live h1.text-center {
    margin-top: 40px;
    color: #0081da !important;
    font-weight: 400!important
}
.tmp-live .cta-button button{
	border-radius: 0px;
	border: 0px !important;
}
.live-box{
	background: #fff!important;
}

.tmp-post-container #leftcol .row > div {
    display: none;
}

.tmp-post-container #leftcol .row #embed {
    display: block!important;
}

.tmp-post-container .tnxp-box {
    display: none;
}

/*--------- CORSI ARCHIVIO --------------------*/

.post-type-archive-course #gp-content {
    background: none;
}

.course-container {
    list-style: none;
}

#loop_corsi li, #loop_corsi li.first {
    clear: none;
    float: left;
    padding: 0px;
    background: #fff;
    width: 32%;
    margin: .5%;
    overflow: hidden;
}
@media all and (max-width:1120px){
    #loop_corsi li, #loop_corsi li.first {
    width: 49%;
    margin: .5%;    
    }
}
@media all and (max-width:768px){
	#loop_corsi li, #loop_corsi li.first {
	width: 100%;
	margin-bottom: 30px;	
	}
}

#loop_corsi li img {
    width: 100%;
    border-bottom: 0px solid #e8e8e8;
    margin: 0px;
    float: left;
    opacity: 1;
    -webkit-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
    outline: none;
	display: block;
}
#loop_corsi li:hover img {
	opacity: .9;
}

#loop_corsi li .meta_corso {
    width: 25%; 
    padding: 10px;
    background: #0081da;
    color: white;
    text-align:center;
}
#loop_corsi li .titolo_corso{padding: 0 10px;}
#loop_corsi li .titolo_corso h2{font-size: 1.1em;line-height: 1.5em;min-height: 55px;}
#loop_corsi li .titolo_corso h2 a {
    max-height: 100px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}
#loop_corsi li .sensei-course-meta > span.sale{
	clear: both;
	display: block;
	font-weight: 400;
}
#loop_corsi li .sensei-course-meta > span.price{display:block;}
#loop_corsi li .sensei-course-meta > span.price.barrato{text-decoration: line-through;opacity: .95}

#loop_corsi li .entry {
    display: table;
    height: 140px;
    width: 100%;
}
#loop_corsi li .entry > div{
    display: table-cell;
    vertical-align:middle;
    height:100%;
}
#loop_corsi li .course-price > * {
    float: left;
    width: 100%;
}
#loop_corsi li .course-content{position: relative;}
.restricted_alert {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 999;
}
.restricted_icon{font-size: 2em;}


/*-------------- SINGLE CORSO -----------*/

.single-course .course-meta {
    margin-bottom: 1.618em;
    clear: both;
    padding-top: 1em;
    display: block;
    width: 100%;
}
.single_add_to_cart_button.button.alt {
    font-size: 1em;
    font-weight: 200;
}

.single-course .sensei-course-meta span {
	background: rgba(0, 0, 0, 0.05);
	padding: 10px 15px;
	margin-right: 10px;
}
.single-course .sensei-course-meta span.sale {
	color: #0081da;
	padding: 10px 15px;
}
.single-course .sensei-course-meta span.price.barrato {
/*	text-decoration: line-through;*/
}
#formatori-corso {
    padding: 1em;
    float: left;
}
.course .cart button.button {
    background: #090;
    padding: 8px 23px 6px;
    transition: all ease .3s .3s;
    -o-transition: all ease .3s .3s;
    -moz-transition: all ease .3s .3s;
    -webkit-transition: all ease .3s .3s;
}
.course .cart .single_add_to_cart_button {
    font-size: 1.2em;
}

/*------------- I MIEI CORSI ------------*/

#loop_corsi li .entry > div.meter.green {
  display: block;
  clear: both;
  width: 100%;
}
#sensei-user-courses #loop_corsi li .entry > div {
  display: block;
}
#sensei-user-courses #loop_corsi li .entry > div:first-child{
  
  float: left;
  margin-right: 20px;
}

#sensei-user-courses .course-container {
    display: flex;
    flex-wrap: wrap;
}

/*-------------- HOME SLIDER ------------*/

.txt_slider {
	position: absolute;
    bottom: 40px;
    width: 38%;
    left: 50px;
    z-index: 20;
    color: white;
}
.rsContent .opacity{
	position: absolute;
	top:0px;left:0px;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0, .3);
	z-index: 10;
}
.rsTmb h4 {
    position: absolute;
    top: 25%;
    width: 100%;
    text-align: center;
    font-size: 1.1em;
    padding: 0 5px;
    color: white;
    font-weight: 400;
    z-index: 20;
}
.rsDefaultInv .rsThumb.rsNavSelected img {
    opacity: 1!important;
    filter: alpha(opacity=100)!important;
}
img.rsImg, .rsDefaultInv .rsThumb img {
    max-width: none;
    opacity: .6;
    filter: alpha(opacity=60);
}
.rsDefaultInv .rsTmb, .rsContent{
	background: #000;
}
.rsThumb.rsNavSelected .rsTmb h4, .rsThumb.rsNavSelected .rsTmb .opacity{display: none;}
.new-royalslider-1 .rsThumb {
    width: 320px;
    height: 180px;
    background: transparent;
    border-width: 4px 2px;
    border-color: #fff;
    border-style: solid;
    
}
.rsDefaultInv .rsThumbs {
    background: #fff!important;
}

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

.gp-footer-widget.gp-footer-1.gp-footer-whole {
    margin-bottom: 0px;
}

@media all and (min-width: 1280px){
	#footer_row {
	    width: 80%!important;
	    margin: 0 auto!important;
	    left: 0!important;
	}
}

#footer_row a img{
	opacity: 1;
	-webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;	
}
#footer_row a img:hover{
	opacity: .8;
}
#footer_row a:hover span{
	text-decoration: underline;
}

/*----------- USER ANP e RUOLI ----------------*/

#dashboard_anp,
.area_riservata_link{
	display: none!important;
}
.user-member #dashboard_anp,
.user-member .area_riservata_link,
.role-administrator .area_riservata_link{
	display: block!important;
}

.role-administrator{}
.role-editor{}
.role-author{}
.role-teacher{}
.role-subscriber{}

.role-administrator .woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address{
	display: list-item!important;
}
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address{
	display: none!important;
}

.alert_celeste {
    background: rgba(0, 129, 218, 0.11);
    padding: 10px;
    border-radius: 4px;
}


/*---------- LEZIONE SINGOLA ----------------*/

.single-lesson footer .lesson_button_form {
    height: 0!important;
    opacity: 0!important;
}
.single-lesson footer .lesson_button_form.visible {
    height: auto!important;
    opacity: 1!important;
}
.single-lesson #lesson_complete{
    opacity: 0!important;
}
.single-lesson #lesson_complete.visibile{
    opacity: 1!important;
}
.single-lesson .lesson_button_form input.quiz-submit{
    font-size: 1em;
}


/*--------- CHECK OUT E NEGOZIO -------------*/

.return-to-shop .button.wc-backward{
    display: none;
}
#privacy-checkbox{
    margin-top: 30px;
}

.woocommerce-checkout label[for="billing_cf"]{
    clear: both;
}

/*-------------- PAGINA NEGOZIO ----------*/

.shop-page #gp-content{background: none;}

#categorie-prodotto li.product-category a img{margin: 0px;}
#categorie-prodotto li.product-category a {
    display: block;
    margin-right: 5px;
    padding: 0px;
    background: #eee;
}
#categorie-prodotto li.product-category{
    margin-right: 5px;
    background: none;
}
#categorie-prodotto li.product-category mark{display: none;}
#categorie-prodotto li.product-category h3{
    line-height: 28px;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    padding: 20px 10px;
    border-top: 1px solid;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 48%!important;
    background: white;
    margin: .5%;
}
.single-course.prodotto{margin-bottom: 20px;}

.woocommerce-breadcrumb{display: none;}

#loop_corsi .products .product-type-bundle .meta_corso{background: #f4cc4d;}

.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    position: relative;
    top: auto;
    right: auto;
    /* margin-top: 0; */
    left: 0px;
    float: left;
    margin: 20px 0 0;
}

/*-------------- PRODOTTO SINGOLO ----------*/

.single-product .related.products{display: none;}
body.product-is-already-bought .single_add_to_cart_button{
    display: none; !important;
}

/*-------------- PRODOTTO BUNDLE ----------*/

.single-product .product-type-bundle .woocommerce-tabs.wc-tabs-wrapper{display: none;}

.cart.bundle_data {
    margin: 30px 10px;
}
.cart.bundle_data .bundle_wrap{
    float: right;
}


/*--------- PRODOTTO AGGIUNTO NEL CARRELLO -----------*/

