
/*FONT----------------------------------------------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');

.book-shadow-margin{
    position:relative;
    top:4px;
    left:8px;
    height: calc(100% - (4px));
    width: calc(100% - (4px));
    overflow:hidden;
    -webkit-box-shadow: 0px 0px 4px 2px rgba(131,142,152,0.27);
    -moz-box-shadow: 0px 0px 4px 2px rgba(131,142,152,0.27);
    box-shadow: 0px 0px 4px 2px rgba(131,142,152,0.27);
}


@media screen and (max-width: 800px) {
    .owl-next {
        right:-28px;
    }
    .owl-prev {
        margin-left:-28px;
    }

    .book-title-carosel-review,.book-author-carosel-review,.book-preview-review,.avatar-review{

    max-width: 76%;
    }
}

.owl-carousel .owl-stage, .owl-carousel.owl-drag .owl-item{
    -ms-touch-action: auto;
    touch-action: auto;
}

.book-badge{
    color: #32373d;
    height:50px;
    border:solid 3px #32373d;
    display: inline-flex;
    align-items: center;
    padding:0 5px 0 5px;
    font-weight:bold;
    margin:0 20px 20px 0;
    font-size:16px;
}

.book-feature{
    text-overflow: ellipsis;
    overflow:hidden;
    margin-bottom:20px;
    font-family:  Poppins;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    color:#32373d;
}

.book-feature-value{
    font-family:  Poppins;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1px;
    color:  #838E98;
}

.title{
    font-family:  Poppins;
    font-size: 30px;
    line-height: 2;
    letter-spacing: -1.3px;
    color: #32373d;
}
.title-bold{
    font-weight:bold;
}

.number-of-reviews{
    color:#ff4757;
    font-size: 16px;
    font-weight:500;
}

.btn-vote,.btn-primary-action-outline{
    border-radius: 50px;
    font-family: Poppins;
    font-size: 14px !important;
    font-weight: bold;
    color: #32373d;
    border: solid 3px #ff4757;
    min-width: 110px;
    text-align: center;
    background-color:#fff;
    height:41px;
}

.btn-vote,.btn-primary-action-outline-big{
    width:150px;
}

.question{
    color: #32373d;
    font-size: 16px;
    font-weight:500;
}

.book-shadow-margin img{
    height:100%
}

.book-detail-thumb-container{
    position:relative;
}
.book-detail-thumb{
    position:absolute;
    bottom:-212px;
    height:auto;
    width:90%;
}

.book-detail-thumb .book-thumb-carosel {
    width: 100%;
    max-height:345px;
    height:auto;
}

.book-detail-thumb .book-shadow-margin{
    max-height:360px;
}

.detail-book-image{
	width: 100%; 
	height: 360px; 
	background-position: center;
	background-size: contain;
}

.book-detail-thumb img{
    width:100%;
    height:unset;
}

.book-thumb-carosel .book-shadow-margin {
    left:0;
}

.book-detail-title,.list-title{
    color:white;
    font-size: 35px;
    font-weight: 600;
    letter-spacing: -2.1px;
    line-height:50px;
}

.book-detail-author,.list-number-of-books{
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -1.1px;
    color: white;
}

.book-detail-reading-date{
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.6px;
    color: #bcbcbc;
}

.review{
    font-size: 16px;
    line-height: 1.88;
    letter-spacing: -0.7px;
}

.site-main {
    padding: 0;
}

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

.single-libri #content{
    min-height:350px;
}
.single-libri .header-content, .page-template-my-books .header-content{
    /*padding: 40px 0 20px 0;*/
}

.bpj {
    max-width: 105px;
    border: 3px solid #fff;
    border-radius: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.profile-detail-link{
    display:inline-block;
    vertical-align:middle;
}

.user{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
    color: #ffffff;
}

.btn-primary-action{
    height:41px;
}

/*my books*/
.book img {
    display: block;
    width: 100%;
}

.book-position{
    height:67px;
    width:67px;
    border: solid 3px #c1d0dd;
    text-align: center;
}

.reorder-book{
    margin:10px 0 0 0;
    height:67px;
    width:67px;
    font-size: 29px;
    color: #e1e8ee !important;
    text-align: center;
    line-height:58px;
}

.reorder-book i,.reorder-book svg{
    vertical-align:middle;
    color: #e1e8ee !important;
    font-size: 29px;
}

.position-number{
    font-size: 29px;
    line-height:58px;
    font-weight: bold;
    color: #848d99;
}

#my-books{
    list-style:none;
}

.book{
    width: 115px;
}
.page-template-my-books .book-thumb-carosel, .book-list .book-thumb-carosel {
    width: 115px;
    height: 182px;
}

.book-title{
<!--    white-space:nowrap;-->
    text-overflow:ellipsis;
    overflow:hidden;
    margin-top:60px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0px;
    color: #4d545c;
    max-width:200px;
}

.book-author{
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1px;
    color: #848d99;
}

.number-of-votes{
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0px;
    color: #4d545c;
}

.number-of-votes-bold{
    font-weight:bold;
}

.my-book-container .d-flex{
    margin:20px 20px 20px 0
}

.my-book-container {

}

.btn-big{
    width: 194px;
    height: 46px;
    border-radius: 23px;
}

.btn-big-outline{
    border: solid 4px #ff4757;
}

.my-books-action-div .btn{
    margin:5px;
}

.ui-sortable-helper{
    background-color:#fff;
    z-index:2;
    box-shadow: 0 2px 20px 0 rgba(100, 105, 110, 0.34);
}

.ui-sortable-helper .my-book-container{
    opacity:1 !important;
}

li{
    padding:20px;
    margin:0;
}

/*rimuove il bordo e la sottolineatura dai link*/
.linkInvisible a,a.linkInvisible  {
color: #FFFFFF;
text-decoration: none;
}

/*rimuove il bordo e la sottolineatura dagli input*/
input{
    outline: none;
}


.my-books-action-div button{
    float:right;
    clear:both;
}

<!--.align-center{-->
<!--    position: absolute;-->
<!--    top: 50%;-->
<!--    transform: translateY(-50%);-->
<!--}-->
<!---->
<!--.align-bottom{-->
<!--position: absolute;-->
<!--bottom: 0;-->
<!--}-->
<!---->


/*
per il bottone del like

*/
.like-content {
display: inline-block;
width: 100%;
margin: 40px 0 0;
padding: 40px 0 0;
font-size: 18px;
border-top: 10px dashed #eee;
text-align: center;
}
.like-content span {
color: #9d9da4;
font-family: monospace;
}
.like-content .btn-secondary {
    display: block;
    margin: 40px auto 0px;
    text-align: center;
    background: #ed2553;
    border-radius: 3px;
    box-shadow: 0 10px 20px -8px rgb(240, 75, 113);
    padding: 10px 17px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    outline: none;
    color: #ffffff;
    text-decoration: none;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
}
.like-content .btn-secondary:hover {
    transform: translateY(-3px);
}
.like-content .btn-secondary .fa {
    margin-right: 5px;
}
.animate-like {
    animation-name: likeAnimation;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-duration: 0.65s;
}
@keyframes likeAnimation {
    0%   { transform: scale(2); }
    100% { transform: scale(1); }
}

.btn-vote svg,.btn-vote i{
    display:none;
    color:white;
}

.button-vote svg,.button-vote i{
    color:white;
}

.btn-vote-active svg.animate-like
,.btn-vote-active i.animate-like,svg.animate-like,i.animate-like
{
    display:inline-block;
}



/* elimina il bordo ombreggiato quando premi i bottoni*/
.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgb(255,71,87);
}

.dialog-clean .modal-content,.dialog-clean .modal-header,.dialog-clean .modal-footer{
    border:0;
}


/*generalizzo la classe carousel-title e carousel-title-bold che andranno rimosse */
.title{
    font-family: Poppins;
    font-size: 30px;
    line-height: 2;
    letter-spacing: -1.3px;
    color: #32373d;
}
.title-bold{
    font-weight:bold;
}

.modal-body .title{
    text-align:center;
}

/*la classe originale crea un problema ne ltasto add new book nella pagina my books */
.nav > li > a:focus, .nav > li > a:hover {
    background-color: transparent;
    text-decoration: none;
}

#gform_confirmation_message_6 {
    font-size:30px;
    font-weight:bold;
    margin-top:40px;
    text-align:center;
}

#menu-item-216 .dropdown-toggle::after{
    display:none;
}

.avatar,.avatar-carosel{
    -webkit-border-radius: 105px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 105px;
    -moz-background-clip: padding;
    border-radius: 105px;
    background-clip: padding-box;
    background-size: cover;
    background-position: center center;
    cursor:pointer;

}

.header-avatar{
    width: 105px;
    height: 105px;
    margin: 7px 0 0 5px;
    float: left;
    border: 3px solid #fff;
}

.user{
    text-align:center;
    margin-bottom:5px;
}

.reviewed {
    position:absolute;
    bottom:0;
    width: 100%;
    height: 38px;
    background-color: #ff4757;
    font-family:"&amp;Matchmaker" !important;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    color: #ffffff;
}

.triangle-rank {
    position:absolute;
    height:50px;
    width:100%;
<!--    position:absolute;-->
<!--    width: 63.1px;-->
<!--    height: 57.7px;-->
<!--    background-image: linear-gradient(57deg, #f5f123, #f79a1c);-->
<!--    -webkit-transform:rotate(45deg) skew(20deg,20deg);-->

}

.rank{
    position:absolute;
    height:50px;
    width:100%;
    font-family:  Poppins;
    font-size: 21px;
    font-weight: bold;
    letter-spacing: -0.9px;
    padding-left: 6px;
    color: #ffffff;
    line-height: 33px;

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

html {
-ms-touch-action: none;
}

body,ul,li {
padding: 0;
margin: 0;
border: 0;
}

<!--    position:absolute;-->
<!--    width: 63.1px;-->
<!--    height: 57.7px;-->
<!--    background-image: linear-gradient(57deg, #f5f123, #f79a1c);-->
<!--    -webkit-transform:rotate(45deg) skew(20deg,20deg);-->

}

.rank10{
    padding-left: 5px;

}

.triangle-rank:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(-260deg, #3DB8B8, #33ADA3);
    background-size: cover;
    background-position: center top;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.triangle-rank-gold:before{
    background-image: linear-gradient(-260deg, #f5f123, #f79a1c);
}
.triangle-rank-silver:before{
    background-image: linear-gradient(-260deg, #C0C0C0, #F2F2F2);
}

.triangle-rank-bronze:before{
    background-image: linear-gradient(-260deg, #CD9932, #ad6b2a);
}

.centered{
    margin:auto !important;
}

.book-list i,.book-list svg {
    font-size: 27px;
    color: #4d545c;
}












#top-books .modal-content{
    height:90vh;
    width:50vw;
    margin:auto;
}

#top-books .modal-dialog{
    max-width:unset;
}


















* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

html {
-ms-touch-action: none;
}

<!--body,ul,li {-->
<!--padding: 0;-->
<!--margin: 0;-->
<!--border: 0;-->
<!--}-->

body {
font-size: 12px;
font-family: ubuntu, helvetica, arial;
}

#header {
position: absolute;
z-index: 2;
width:100%;
height:45px;
font-family: Poppins;
font-size: 30px;
font-weight: bold;
background-color:#fff;
line-height: 2;
letter-spacing: -1.3px;
text-align: center;
color: #32373d;

}

#footer {
position: absolute;
z-index: 2;
bottom: 0;
left: 0;
width: 100%;
height: 48px;
background: #444;
padding: 0;
border-top: 1px solid #444;
}

#wrapper {
position: absolute;
z-index: 1;
top: 60px;
bottom: 48px;
left:9999px; /* Not a must - can be 0 - but it makes the appearance of the content a bit nicer */
width: 100%;
background: #fff;
overflow: hidden;
}

#scroller {
position: absolute;
z-index: 1;
-webkit-tap-highlight-color: rgba(0,0,0,0);
width: 100%;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
-o-text-size-adjust: none;
text-size-adjust: none;
}

#scroller ul {
list-style: none;
padding: 0;
margin: 0;
width: 100%;
text-align: left;
}

#scroller li {
padding: 0 70px;
height: 224px;
line-height: 224px;
background-color: #fff;
font-size: 16px;
}


.pullDownLabel, .pullUpLabel {color:#999}
.pullDown, .pullUp {background:#fff;height:40px;line-height:40px;font-weight:bold;font-size:0.8em;color:#888}
.pullDown .pullDownIcon, .pullUp .pullUpIcon {display:block;float:left;opacity:0.4;width:40px;height:40px;background:url(pull_to_refresh.png) 0 0 no-repeat;-webkit-background-size:40px 80px;-ms-background-size:40px 80px; background-size:40px 80px;-webkit-transition-property:-webkit-transform;-ms-transition-property:-webkit-transform;-webkit-transition-duration:250ms;-ms-transition-duration:250ms}
.pullDown .pullDownIcon {-webkit-transform:rotate(0deg) translateZ(0);-ms-transform:rotate(0deg) translateZ(0)}
.pullUp .pullUpIcon  {-webkit-transform:rotate(-180deg) translateZ(0);-ms-transform:rotate(-180deg) translateZ(0)}
.pullDown.flip .pullDownIcon {-webkit-transform:rotate(-180deg) translateZ(0);-ms-transform:rotate(-180deg) translateZ(0)}
.pullUp.flip .pullUpIcon {-webkit-transform:rotate(0deg) translateZ(0);-ms-transform:rotate(0deg) translateZ(0)}
.pullDown.loading .pullDownIcon, .pullUp.loading .pullUpIcon {background-position:0 100%;-webkit-transform:rotate(0deg) translateZ(0);-ms-transform:rotate(0deg) translateZ(0);-webkit-transition-duration:0ms;-ms-transition-duration:0ms;-webkit-animation-name:loading;-ms-animation-name:loading;-webkit-animation-duration:1s;-ms-animation-duration:1s;-webkit-animation-iteration-count:infinite;-ms-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-ms-animation-timing-function:linear}

@-webkit-keyframes loading {
from {-webkit-transform:rotate(0deg) translateZ(0)}
to {-webkit-transform:rotate(360deg) translateZ(0)}
}
@-ms-keyframes loading {
from {-ms-transform:rotate(0deg) translateZ(0)}
to {-ms-transform:rotate(360deg) translateZ(0)}
}


#top-books .modal-body{
    padding:0;
}

.btn-secondary-action:hover,.btn-secondary-action:active{
    background:transparent !important;
    border-color: #fff !important;
}


@media screen and (max-width: 1199px){
    .dropdown-menu li > a {
        color:#fff!important;
    }
}

.book-title {
    max-width: 500px;
}

.my-list .book-title,.modal-body .my-list .book-title {
    max-width: 200px;
}


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

    #top-books .modal-content{
        width:calc(100vw - (1rem));
        height:calc(100vh - (1rem));
    }

    .my-book-container .d-flex{
        margin: 20px 0px 0px 0;
    }
    .modal-content .my-book-container .d-flex{
        margin: 20px 20px 0px 0;
    }

    .modal-dialog {
        max-width: unset;
        margin: 0.5rem;
    }



}

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


.book-title {
    max-width: 200px;
}

}

@media screen and (max-width: 500px){
    #scroller li {
        padding:0;
    }

    .book-detail-title,.list-title{
        color:white;
        font-size: 30px;
        font-weight: 600;
        letter-spacing: -2.1px;
        line-height: 40px;
    }

    .sidebar-social {
        margin-top:0px;
    }

    .book-detail-thumb {
        position: unset;
    }

}

.book-title-small{
    margin-top:0;
}

#top-books .modal-header button{
    position:absolute;
    right:16px;
    z-index:3;
}
.top-books-carosel-anchor i,.top-books-carosel-ancho{
    color:#fff;
}

.autocomplete-container{
    border:3px solid #E1E8EE;
    border-top:0;
    width:100%;
}

.flexselect_dropdown {
/* display: none; */
<!--position: absolute;-->
z-index: 999999;
margin: 0;
padding: 0;
max-height: 200px;
overflow-x: hidden;
overflow-y: auto;
background-color: Window;
color: WindowText;
text-align: left;
box-shadow: 0 6px 12px #ccc;
-webkit-box-shadow: 0 6px 12px #ccc;
}

.flexselect_dropdown ul {
width: 100%;
list-style-position: outside;
list-style: none;
padding: 0;
margin: 0;
}

.flexselect_dropdown li {
margin: 0px;
padding: 2px 5px !important;
cursor: pointer;
display: block;
width: 100%;
font: Menu;
overflow: hidden;
}

.flexselect_dropdown li.disabled {
cursor: not-allowed;
color: GrayText;
}

.flexselect_selected {
background-color: Highlight;
color: HighlightText;
}

.autocomplete-value{
    background-color: rgb(250, 255, 189)
}

.highlight{
background-color: #5897fb;
color: white;
}

.simple-link{
    outline:none;
    color:#62bba5;
}

.widget_nav_menu .btn-primary-action a {
    white-space:nowrap;
}

.pagination .col-sm-6 {
-webkit-box-flex: 0;
-ms-flex: 0 0 50%;
flex: 0 0 50%;
max-width: 50%;
}
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}



@media screen and (max-width: 575px) {
    #scroller li {
        height: 309px;
    }
}
@media screen and (max-width: 575px) {
    #top-books .d-flex.d-none {
        display: none!important;
    }
}

.btn-primary-action{
    cursor:pointer
}

.my-list-menu a,.edit-profile-menu a,.add-new-book-menu a{
    border-bottom: 4px solid #fff;
}
.page-template-my-books .my-list-menu a,.page-template-edit-profile .edit-profile-menu a,.page-template-insert-book .add-new-book-menu a{
    border-bottom: 4px solid #ff4757;
}

/*@media (pointer:coarse) {
    .add-new-book-menu{
        display:none !important;
    }
}*/

.page-template-search-book .author{
    display:block!important;
}

#field_1_8 .gfield_label,#field_1_9 .gfield_label,#field_1_10 .gfield_label,#field_1_11 .gfield_label{
	display:none;
}

#gform_fields_1 ul,#gform_fields_1 li{
	margin:0 !important;
	padding:0 !important;
}

#field_1_8 .gfield_description.validation_message, #field_1_9 .gfield_description.validation_message,#field_1_10 .gfield_description.validation_message{
	display:none !important;
}

.matchmaker{
	font-family:"&amp;Matchmaker" !important;
	font-size:22px;
}

.ui-datepicker{
	margin:0 !important;
}

.page-template-insert-book .ui-datepicker-calendar{
	display:none !important;
}

.ui-datepicker-current{
	display:none;
}

.ui-datepicker-close{
	width: 100%;
    margin-top: 20px;
    height: 30px;
}

.ui-datepicker-buttonpane{
	background-color:#666;
}

#field_6_29{
    margin-top:0 !important;
}

#field_6_29>.gfield_label{
    display:none;
}

.gform_fields{
    position:relative;
}

.moreInfoSpan{
    cursor:pointer;
}

#field_6_32,#field_6_31{
    display:none;
}

#modal-login h3,#modal-login-vote h3{
    text-align:center;
}

.single-libri #secondary,.single-gruppo_libri #secondary{
    text-align:center;
}

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

    #my-books li{
        padding:0;
    }

    .book-position,.reorder-book{
        margin: 0 10px;
    }

    .buttonMyList{
        width:70px;
        min-width:70px;
    }

    .my-list .book-title, .modal-body .my-list .book-title {
        max-width: 115px;
overflow: hidden;
text-overflow: ellipsis;
white-space: normal;

    }

    #confirm-delete,#notification{
        width: 98%;
    }

    .modal-footer{
        justify-content: space-around;
    }

    .col.my-books-action-div{
        padding-right:12px;
        padding-left:5px;
    }
}
body,img{
    image-rendering:-webkit-optimize-contrast;
}












