.card {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-block {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-title {
    margin-bottom: 0.75rem;
}

.card-subtitle {
    margin-top: -0.375rem;
    margin-bottom: 0;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-link:hover {
    text-decoration: none;
}

.card-link + .card-link {
    margin-left: 1.25rem;
}

.card > .list-group:first-child .list-group-item:first-child {
    border-top-right-radius: 0.25rem;
    border-top-left-radius: 0.25rem;
}

.card > .list-group:last-child .list-group-item:last-child {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: #f7f7f9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: #f7f7f9;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
    border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
    margin-right: -0.625rem;
    margin-bottom: -0.75rem;
    margin-left: -0.625rem;
    border-bottom: 0;
}

.card-header-pills {
    margin-right: -0.625rem;
    margin-left: -0.625rem;
}

.card-primary {
    background-color: #0275d8;
    border-color: #0275d8;
}

.card-primary .card-header,
.card-primary .card-footer {
    background-color: transparent;
}

.card-success {
    background-color: #5cb85c;
    border-color: #5cb85c;
}

.card-success .card-header,
.card-success .card-footer {
    background-color: transparent;
}

.card-info {
    background-color: #5bc0de;
    border-color: #5bc0de;
}

.card-info .card-header,
.card-info .card-footer {
    background-color: transparent;
}

.card-warning {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}

.card-warning .card-header,
.card-warning .card-footer {
    background-color: transparent;
}

.card-danger {
    background-color: #d9534f;
    border-color: #d9534f;
}

.card-danger .card-header,
.card-danger .card-footer {
    background-color: transparent;
}

.card-outline-primary {
    background-color: transparent;
    border-color: #0275d8;
}

.card-outline-secondary {
    background-color: transparent;
    border-color: #ccc;
}

.card-outline-info {
    background-color: transparent;
    border-color: #5bc0de;
}

.card-outline-success {
    background-color: transparent;
    border-color: #5cb85c;
}

.card-outline-warning {
    background-color: transparent;
    border-color: #f0ad4e;
}

.card-outline-danger {
    background-color: transparent;
    border-color: #d9534f;
}

.card-inverse {
    color: rgba(255, 255, 255, 0.65);
}

.card-inverse .card-header,
.card-inverse .card-footer {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.card-inverse .card-header,
.card-inverse .card-footer,
.card-inverse .card-title,
.card-inverse .card-blockquote {
    color: black;
}

.card-inverse .card-link,
.card-inverse .card-text,
.card-inverse .card-subtitle,
.card-inverse .card-blockquote .blockquote-footer {
    color: black;
}

.card-inverse .card-link:focus, .card-inverse .card-link:hover {
    color: #fff;
}

.card-blockquote {
    padding: 0;
    margin-bottom: 0;
    border-left: 0;
}

.card-img {
    border-radius: calc(0.25rem - 1px);
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
}

.card-img-top {
    border-top-right-radius: calc(0.25rem - 1px);
    border-top-left-radius: calc(0.25rem - 1px);
}

.card-img-bottom {
    border-bottom-right-radius: calc(0.25rem - 1px);
    border-bottom-left-radius: calc(0.25rem - 1px);
}

@media (min-width: 576px) {
    .card-deck {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }
    .card-deck .card {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 1;
        -webkit-flex: 1 0 0%;
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .card-deck .card:not(:first-child) {
        margin-left: 15px;
    }
    .card-deck .card:not(:last-child) {
        margin-right: 15px;
    }
}

@media (min-width: 576px) {
    .card-group {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }
    .card-group .card {
        -webkit-box-flex: 1;
        -webkit-flex: 1 0 0%;
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
    }
    .card-group .card + .card {
        margin-left: 0;
        border-left: 0;
    }
    .card-group .card:first-child {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
    }
    .card-group .card:first-child .card-img-top {
        border-top-right-radius: 0;
    }
    .card-group .card:first-child .card-img-bottom {
        border-bottom-right-radius: 0;
    }
    .card-group .card:last-child {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
    }
    .card-group .card:last-child .card-img-top {
        border-top-left-radius: 0;
    }
    .card-group .card:last-child .card-img-bottom {
        border-bottom-left-radius: 0;
    }
    .card-group .card:not(:first-child):not(:last-child) {
        border-radius: 0;
    }
    .card-group .card:not(:first-child):not(:last-child) .card-img-top,
    .card-group .card:not(:first-child):not(:last-child) .card-img-bottom {
        border-radius: 0;
    }
}

@media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
    }
    .card-columns .card {
        display: inline-block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

/*body {
        margin-top: 60px;
    font-size: 14px;
    font-family: "Helvetica Nueue",Arial,Verdana,sans-serif;
    background-color: #E5E9ED;
}*/
.btn:hover,
.btn:focus,
.btn:active{
    outline: 0 !important;
}
/* entire container, keeps perspective */
.card-container {
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
    margin-bottom: 30px;
}
/* flip the pane when hovered */
.card-container:not(.no-flip):hover .card,
.card-container.hover.no-flip .card{
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}


.card-container.static:hover .card,
.card-container.static.hover .card {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    transform: none;
}
/* flip speed goes here */
.card {
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    -o-transition: -o-transform .5s;
    transition: transform .5s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
}

/* hide back of pane during swap */
.front, .back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.14);
}

/* front pane, placed above back */
.front {
    z-index: 2;
}

/* back, initially hidden pane */
.back {
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
    z-index: 3;
    padding: 10px 10px 10px 10px;
}

.back .btn-simple{
    position: absolute;
    left: 0;
    bottom: 4px;
}
/*        Style       */


.card-block .text-credito{
    padding: 20px;
}

.card {
    background: center repeat scroll 0 0 #FFFFFF;
    border-radius: 4px;
    color: #444444;
}
.card-container, .front, .back {
    width: 100%;
    height: 300px;
    border-radius: 4px;

}
.card .cover{
    height: 200px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}
.card .cover img{
    width: 100%;
}
.card .user{
    border-radius: 50%;
    display: block;
    height: 120px;
    margin: -55px auto 0;
    overflow: hidden;
    width: 120px;
}
.card .user img{
    background: none repeat scroll 0 0 #FFFFFF;
    border: 4px solid #FFFFFF;
    width: 100%;
}

.card .content{
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    padding: 10px 20px 20px;
}
.card .content .main {
    min-height: 160px;
}

.card-container.card-43-slabel {
    margin-bottom:.5rem;
}
.card-container.card-43-slabel, .card-43-slabel .front, .card-43-slabel .back {
    height: 156px;
}

.card-43-slabel .card .cover {
    height: 122px;
}

.card-43-slabel .card .etichetta {
    height: 27px;
    line-height: 11px;
    padding: 5px 5px 0px 5px;
    overflow: hidden;
    font-size: 1.2rem;
}

.card-43-slabel .card .etichetta img {
    height:100%;
    max-height: 24px;
}

@media (min-width: 768px) {
    .card-container.card-43-slabel, .card-43-slabel .front, .card-43-slabel .back {
        height: 156px;!important;
    }
    .card-43-slabel .card .cover {
        height: 122px !important;
    }
    .card-43-slabel .card .etichetta {
        height: 27px !important;
        line-height: 11px;
        padding: 5px 5px 0px 5px;
        overflow: hidden;
        font-size: 1rem;
    }
}

.card-container.card-43-blabel {
    margin-bottom: .5rem;
}

.card-container.card-43-blabel, .card-43-blabel .front, .card-43-blabel .back {
    height: 180px;
}

.card-43-blabel .card .cover {
    height: 122px;
}

.card-43-blabel .card .sub-etichetta-1 {
    height: 36px;
    line-height: 16px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    font-size: 1.3rem;
}

.card-43-blabel .card .sub-etichetta-2 {
    height: 22px;
    line-height: 16px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    font-size: 1.3rem;
}

@media (min-width: 576px) {
    .card-container.card-43-blabel, .card-43-blabel .front, .card-43-blabel .back {
        height: 250px !important;
    }

    .card-43-blabel .card .cover {
        height: 184px !important;
    }

    .card-43-blabel .card .sub-etichetta-1 {
        height: 40px !important;
        line-height: 16px;
        padding-top: 9px;
        padding-left: 9px;
        padding-right: 9px;
        overflow: hidden;
        font-size: 1.3rem;
    }

    .card-43-blabel .card .sub-etichetta-2 {
        height: 26px;
        line-height: 16px;
        padding-bottom: 9px;
        padding-left: 9px;
        padding-right: 9px;
        overflow: hidden;
        font-size: 1.3rem;
    }
}

.card-container.card-square-blabel {
    margin-bottom: .5rem;
}

.card-container.card-square-blabel, .card-square-blabel .front, .card-square-blabel .back {
    height: 180px;
}

.card-square-blabel .card .cover {
    height: 122px;
}
.card-square-blabel .card {
    padding: 8px 6px;
}

.card-square-blabel .card-image {
    padding: 4px 9px;
}

.card-square-blabel .card .sub-etichetta-1 {
    height: 30px;
    line-height: 15px;
    padding-left: 9px;
    padding-right: 9px;
    overflow: hidden;
    overflow: hidden;
    font-size: 1.2rem;
}

.card-square-blabel .card .sub-etichetta-1 span {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.card-square-blabel .card .sub-etichetta-2 {
    height: 37px;
    line-height: 37px;
    margin-left: 36px;
    margin-right: 36px;
    overflow: hidden;
    font-size: 1.1rem;
}

.card-square-blabel .card .sub-etichetta-inv-1 {
    height: 36px;
    line-height: 11px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    font-size: 1.4rem;
}

.card-square-blabel .card .sub-etichetta-inv-2 {
    height: 22px;
    line-height: 16px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .card-container.card-square-blabel, .card-square-blabel .front, .card-square-blabel .back {
        height: 250px !important;
    }

    .card-square-blabel .card .cover {
        height: 184px !important;
    }

    .card-square-blabel .card .sub-etichetta-1 {
        height: 30px;
        line-height: 15px;
        padding-left: 9px;
        padding-right: 9px;
        overflow: hidden;
        overflow: hidden;
        font-size: 1.2rem;
    }

    .card-square-blabel .card .sub-etichetta-1 span {
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* number of lines to show */
        -webkit-box-orient: vertical;
    }

    .card-square-blabel .card .sub-etichetta-2 {
        height: 37px;
        line-height: 37px;
        margin-left: 36px;
        margin-right: 36px;
        overflow: hidden;
        font-size: 1.1rem;
    }

    .card-square-blabel .card .sub-etichetta-inv-1 {
        height: 36px !important;
        line-height: 11px;
        padding-top: 3px;
        padding-left: 5px;
        padding-right: 5px;
        overflow: hidden;
        font-size: 1.2rem;
    }

    .card-square-blabel .card .sub-etichetta-inv-2 {
        height: 22px;
        line-height: 16px;
        padding-bottom: 5px;
        padding-left: 5px;
        padding-right: 5px;
        overflow: hidden;
        font-size: 1.1rem;
    }
}

.card .back .content .main {
    /*height: 215px;*/
}
.card .name {
    font-size: 22px;
    line-height: 28px;
    margin: 10px 0 0;
    text-align: center;
    text-transform: capitalize;
}
.card h5{
    margin: 5px 0;
    font-weight: 400;
    line-height: 20px;
}
.card .profession{
    color: #999999;
    text-align: center;
    margin-bottom: 20px;
}
.card .one-line {
    height: 1.5em;
    line-height: 1.5em;
    overflow: hidden;
}
.card .two-lines {
    height: 3em;
    line-height: 1.5em;
    overflow: hidden;
}
.card .three-lines {
    height: 4.5em;
    line-height: 1.5em;
    overflow: hidden;
}
.card .footer {
    border-top: 1px solid #EEEEEE;
    color: #999999;
    margin: 30px 0 0;
    padding: 10px 0 0;
    text-align: center;
}
.card .footer .social-links{
    font-size: 18px;
}
.card .footer .social-links a{
    margin: 0 7px;
}
.card .footer .btn-simple{
    margin-top: -6px;
}
.card .header {
    padding: 15px 20px;
    height: 90px;
}
.card .motto{
    border-bottom: 1px solid #EEEEEE;
    color: #999999;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 10px;
    text-align: center;
}

.card .stats-container{
    width: 100%;
    margin-top: 50px;
}
.card .stats{
    display: block;
    float: left;
    width: 33.333333%;
    text-align: center;
}

.card .stats:first-child{
    border-right: 1px solid #EEEEEE;
}
.card .stats:last-child{
    border-left: 1px solid #EEEEEE;
}
.card .stats h4{
    font-weight: 300;
    margin-bottom: 5px;
}
.card .stats p{
    color: #777777;
}

.card .card-badge {
    background: #fff;
}

.card .card-badge-transparent {
    background: transparent;
}

.card .card-badge-top-left {
    position: absolute;
    top: 0px;
    left: 0px;
    padding:10px;
}

.card .card-badge-bottom-left {
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding: 6px 6px 9px 6px;
}
.card .card-badge-bottom-right {
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 6px 6px 9px 6px;
}

.card .card-badge-bottom-center {
    position: absolute;
    bottom:0;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    max-width: 95%;
}

.card .card-badge-round {
    border-radius: 100%;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 1px solid #bd111f57;
}



.card .card-badge-round-cart {
    border-radius: 100%;
    width: 30px;
    height: 30px;
    background: #fff;

}

.card .card-badge-round-cart span {
    font-size: 0.8rem;
    display: block;
    padding-top: 1px;
    line-height:10px;
}

.card .card-badge-round-cart img {
    width: 18px;
    display: block;
    margin: -3px 0 -3px 6px;
}

.card .card-badge-rectangle-rounded {
    border-radius: 5%;
    max-width: 40%;
}

.card .card-badge-rectangle-rounded > div {
    font-size:1.5rem;
}

.card .card-badge-label {
    background: #bd111f;
    color: #fff;
    overflow: hidden;
    font-size: 0.8rem;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
}

@media (min-width: 576px) {
    .card .card-badge-label {
        font-size: 1.2rem!important;
    }
}
@media (min-width: 768px) {
    .card .card-badge-label {
        font-size: 0.7rem !important;
    }
}
/*      Just for presentation        */

.title{
    color: #506A85;
    text-align: center;
    font-weight: 300;
    font-size: 44px;
    margin-bottom: 90px;
    line-height: 90%;
}
.title small{
    font-size: 17px;
    color: #999;
    text-transform: uppercase;
    margin: 0;
}
.space-30{
    height: 30px;
    display: block;
}
.space-50{
    height: 50px;
    display: block;
}
.space-200{
    height: 200px;
    display: block;
}
.white-board{
    background-color: #FFFFFF;
    min-height: 200px;
    padding: 60px 60px 20px;
}
.ct-heart{
    color: #F74933;
}

pre.prettyprint{
    background-color: #ffffff;
    border: 1px solid #999;
    margin-top: 20px;
    padding: 20px;
    text-align: left;
}
.atv, .str{
    color: #05AE0E;
}
.tag, .pln, .kwd{
    color: #3472F7;
}
.atn{
    color: #2C93FF;
}
.pln{
    color: #333;
}
.com{
    color: #999;
}

.btn-simple{
    opacity: .8;
    color: #666666;
    background-color: transparent;
}

.btn-simple:hover,
.btn-simple:focus{
    background-color: transparent;
    box-shadow: none;
    opacity: 1;
}
.btn-simple i{
    font-size: 16px;
}

.navbar-brand-logo{
    padding: 0;
}
.navbar-brand-logo .logo{
    border: 1px solid #333333;
    border-radius: 50%;
    float: left;
    overflow: hidden;
    width: 60px;
}
.navbar .navbar-brand-logo .brand{
    color: #FFFFFF;
    float: left;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    margin-left: 10px;
    margin-top: 10px;
    width: 60px;
}
.navbar-default .navbar-brand-logo .brand{
    color: #555;
}


/*       Fix bug for IE      */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .front, .back{
        -ms-backface-visibility: visible;
        backface-visibility: visible;
    }

    .back {
        visibility: hidden;
        -ms-transition: all 0.2s cubic-bezier(.92,.01,.83,.67);

    }
    .front{
        z-index: 4;
    }
    .card-container:not(.manual-flip):hover .back,
    .card-container.manual-flip.hover .back{
        z-index: 5;
        visibility: visible;
    }
}



.half{
    width: 50%;
}

.back .list-group-item{
    font-size: 14px;
    padding: 10px 0px 10px 0px;
    margin: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.back .fa{
    padding-left: 5px;
    margin-right: 5px;
}