.btn-q8 {
    background-size: auto 100%;
    font-size: 12px;
    font-weight: bold;
    border: none;
    padding: 0 55px 0 30px;
    position: relative;
    text-transform: uppercase;
    border-radius: 0;
    line-height: 60px;
    height: 60px;
    transition: 500ms;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
}
.btn-q8:hover {
    text-decoration: none;
}
.btn-q8:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    background: url("../img/icone/arrow_right_white.svg") no-repeat center;
    background-size: 16px;
    width: 16px;
    right: 26px;
    top: 0;
}

.btn-q8.btn-primary {
    background-size: 100%;
    background-image: linear-gradient(90deg, rgba(10, 48, 110, 0.9) 0%, rgba(83, 131, 175, 0.9) 100%);
    color: #ffffff;
    z-index: 100;
}
.btn-q8.btn-primary:before {
    border-radius: inherit;
    background-image: linear-gradient(90deg, rgba(35, 65, 154, 0.9) 0%, rgba(35, 65, 154, 0.9) 100%);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    z-index: -100;
    transition: opacity 0.45s;
}
.btn-q8.btn-primary:hover {
    color: #ffc929;
}
.btn-q8.btn-primary:hover:before {
    opacity: 1;
}
.btn-q8.btn-primary:hover:after {
    background: url("../img/icone/arrow_right_yellow.svg") no-repeat center;
}
.btn-q8.btn-extrarete {
    background-size: 100%;
    background-image: linear-gradient(90deg, rgba(10, 48, 110, 0.9) 0%, rgba(83, 131, 175, 0.9) 100%);
    color: #ffdbb5;
    z-index: 100;
}
.btn-q8.btn-extrarete:after {
    background: url("../img/icone/arrow_right_extrarete.svg") no-repeat center;
}
.btn-q8.btn-extrarete:before {
    border-radius: inherit;
    background-image: linear-gradient(90deg, rgba(35, 65, 154, 0.9) 0%, rgba(35, 65, 154, 0.9) 100%);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    z-index: -100;
    transition: opacity 0.45s;
}
.btn-q8.btn-extrarete:hover {
    color: #ffdbb5;
}
.btn-q8.btn-extrarete:hover:before {
    opacity: 1;
}
.btn-q8.btn-extrarete:hover:after {
    background: url("../img/icone/arrow_right_extrarete.svg") no-repeat center;
}
.btn-q8.btn-utility {
    background: #20419A;
    cursor: pointer;
    color: #fff;
    display: inline-block;
    overflow: hidden;
    padding: 0 75px 0 60px;
    position: relative;
    z-index: 100;
}
.btn-q8.btn-utility.btn-back {
    background-color: #fff;
    color: #20419A;
}
.btn-q8.btn-utility:after {
    left: 20px;
    right: auto;
    background-position: center;
    background-repeat: no-repeat;
    width: 25px;
    background-size: 25px;
}
.btn-q8.btn-utility.btn-download:after {
    background-image: url("../img/icone/download.svg");
}
.btn-q8.btn-utility.btn-invio:after {
    background-image: url("../img/icone/invio.svg");
}
.btn-q8.btn-utility.btn-plus:after {
    background-image: url("../img/icone/plus_white.svg");
}
.btn-q8.btn-utility.btn-close:after {
    background-image: url("../img/icone/plus_white.svg");
    transform: rotate(45deg);
    background-size: 15px;
}
.btn-q8.btn-utility.btn-back:after {
    background-image: url("../img/icone/arrow_left_blu.svg");
    background-size: 17px;
}
.btn-q8.btn-utility.btn-search:after {
    background-image: url("../img/icone/search_white.svg");
}
.btn-q8.btn-utility:before {
    border-radius: inherit;
    background-image: linear-gradient(90deg, rgba(35, 65, 154, 0.9) 0%, rgba(35, 65, 154, 0.9) 100%);
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    z-index: -100;
    transition: opacity 0.3s;
}
.btn-q8.btn-utility .btn-text {
    color: #fff;
}
.btn-q8.btn-utility .btn-filler {
    display: block;
    position: absolute;
    top: 0;
    transform: translateY(0);
    background: #16368b;
    width: 0;
    height: 100%;
    left: 0;
}

.btn-q8-simple {
    font-size: 12px;
    font-weight: bold;
    padding: 0 30px;
    text-transform: uppercase;
    border-radius: 0;
    line-height: 42px;
    height: 42px;
    transition: 400ms;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    background-color: white;
    border: none;
    color: #16368b;
}

.btn-q8-simple:hover {
    background-color: #16368b;
    color: white;
}

@media (max-width: 640px) {
    .input-group .btn-q8.btn-utility {
        padding: 0 0 0 50px;
        max-width: 50px;
    }
    .input-group .btn-q8.btn-utility:after {
        left: 15px;
    }
}


.btn-q8.btn-utility.hover .btn-filler {
    animation: buttonSlide 0.5s ease-in 0s 1;
    animation-fill-mode: forwards;
}
.btn-q8.btn-utility.leave .btn-filler {
    animation: buttonFlush 0.7s ease-in 0s 1;
    animation-fill-mode: forwards;
}
.btn-q8.secondary-white {
    background-image: none;
    background-color: #fff;
    color: #20419a;
}
.btn-q8.secondary-white:after {
    background: url("../img/icone/arrow_right_blu.svg") no-repeat center;
}
.btn-q8.secondary-white:hover {
    background-color: #e6e5e5;
    color: #20419a;
}
.btn-q8.secondary-white:hover:after {
    background: url("../img/icone/arrow_right_blu.svg") no-repeat center;
}
.btn-q8 .btn-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #20419a;
}
.btn-q8 .btn-text {
    color: #20419a;
    position: relative;
    font-size: 12px;
}
.btn-q8.btn-fill {
    overflow: hidden;
    line-height: 56px;
    height: 56px;
}
.btn-q8.btn-fill.arrow-up:after {
    background-image: url("../img/icone/arrow_top_white.svg");
    background-size: 15px;
    background-position: center;
}

.btn-q8.btn-fill.no-icon {
    padding-right: 30px;
}
.btn-q8.btn-fill.no-icon:after {
    display: none;
}
.btn-q8.btn-fill:after {
    background-image: url("../img/icone/arrow_right_blu.svg");
}
.btn-q8.btn-fill.download:after {
    background-image: url("../img/icone/download.svg");
}
.btn-q8.btn-fill .btn-filler {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-10px);
    background: #ffc929;
    width: 2px;
    height: 20px;
    left: 0;
}
.btn-q8.btn-fill.hover .btn-filler {
    animation: buttonFill 0.5s ease-in 0s 1;
    animation-fill-mode: forwards;
}
.btn-q8.btn-fill.leave .btn-filler {
    animation: buttonFlush 0.7s ease-in 0s 1;
    animation-fill-mode: forwards;
}
.btn-q8.white .btn-bg {
    border: 2px solid #ffffff;
}
.btn-q8.white .btn-text {
    color: #ffffff;
}
.btn-q8.btn-white {
    background-color: #fff;
    color: #20419A;
    overflow: hidden;
}
.btn-q8.btn-white .btn-bg {
    border: none;
}
.btn-q8.btn-white:after {
    background-image: url("../img/icone/arrow_right_blu.svg");
}
.btn-q8.btn-white.download:after {
    background-image: url("../img/icone/download.svg");
}
.btn-q8.btn-white.hover .btn-filler, .btn-q8.btn-white.leave .btn-filler {
    animation: none;
}
.btn-q8.square {
    padding-right: 28px;
}
.btn-q8.square.btn-text {
    display: none;
}
.btn-q8.square:after {
    right: 0;
    width: 100%;
}
.btn-q8.btn-blue {
    background: #20419A;
    color: #fff;
    overflow: hidden;
    padding: 0 28px;
}
.btn-q8.btn-blue:after {
    background-image: none;
}
.btn-q8.btn-blue .btn-text {
    color: #ffffff;
}
.btn-q8.btn-blue img {
    width: 25px;
    vertical-align: middle;
    margin-right: 27px;
}
.btn-q8.btn-blue.selected .btn-bg {
    border: none;
}
.btn-q8.btn-blue.selected .btn-text {
    color: #ffc929;
}
.btn-q8.btn-blue.selected.hover .btn-filler, .btn-q8.btn-blue.selected.leave .btn-filler {
    animation: none;
}
.btn-q8.btn-blue .btn-filler, .btn-q8.btn-white .btn-filler {
    display: block;
    position: absolute;
    top: 0;
    transform: translateY(0);
    background: #16368b;
    width: 0;
    height: 100%;
    left: 0;
}
.btn-q8.btn-white .btn-filler {
    background: #e6e5e5;
}
.btn-q8.btn-blue.hover .btn-filler, .btn-q8.btn-white.hover .btn-filler {
    animation: buttonSlide 0.5s ease-in 0s 1;
    animation-fill-mode: forwards;
}
.btn-q8.btn-blue.leave .btn-filler, .btn-q8.btn-white.leave .btn-filler {
    animation: buttonFlush 0.7s ease-in 0s 1;
    animation-fill-mode: forwards;
}
.btn-q8.btn-login {
    display: inline-block;
    background-color: rgba(32, 65, 154, 0.95);
    color: #fff;
    padding-left: 85px;
    margin-right: 10px;
}

.btn-slider-link {
    display: inline-block;
    position: relative;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    height: 18px;
    line-height: 18px;
    z-index: 1;
    color: #20419a;
    border: none;
}
.btn-slider-link:after {
    content: "";
    width: 0;
    height: 7px;
    background: #ffc929;
    position: absolute;
    bottom: 21px;
    left: 0;
    transition: all 0.2s ease;
    z-index: -1;
}
.btn-slider-link:hover {
    text-decoration: none;
}
.btn-slider-link:hover:after {
    width: 100%;
}

.carousel-arrow {
    background-size: 100%;
    background-image: linear-gradient(90deg, rgba(10, 48, 110, 0.9) 0%, rgba(83, 131, 175, 0.9) 100%);
    cursor: pointer;
    color: #ffffff;
    display: inline-block;
    width: 60px;
    height: 60px;
    z-index: 100;
}
.carousel-arrow:focus {
    outline: none;
}
.carousel-arrow:after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}
.carousel-arrow.prev:after {
    background-image: url("../img/icone/arrow_left_white.svg");
}
.carousel-arrow.next:after {
    background-image: url("../img/icone/arrow_right_white.svg");
}
.carousel-arrow:before {
    background-image: linear-gradient(90deg, rgba(35, 65, 154, 0.9) 0%, rgba(35, 65, 154, 0.9) 100%);
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -100;
    transition: opacity 0.45s;
}
.carousel-arrow:hover {
    color: #ffc929;
}
.carousel-arrow:hover:before {
    opacity: 1;
}
.carousel-arrow:hover.prev:after {
    background-image: url("../img/icone/arrow_left_yellow.svg");
}
.carousel-arrow:hover.next:after {
    background-image: url("../img/icone/arrow_right_yellow.svg");
}

.btn-nude {
    display: block;
    width: 16px;
    height: 16px;
}

.btn-nude:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: url("../img/icone/arrow_right_white.svg") 0 0 no-repeat;
    background-size: 16px;
}

.btn-nude:hover:after {
    background-image: url("../img/icone/arrow_right_yellow.svg");
}

.category-button.btn-q8.btn-fill.hover .btn-filler {
    animation: buttonFillCom 0.5s ease-in 0s 1;
    animation-fill-mode: forwards;
}

.category-button.btn-q8.btn-fill.leave .btn-filler {
    animation: buttonFlushCom 0.5s ease-in 0s 1;
    animation-fill-mode: forwards;
}

#quaser_page .btn-q8.btn-fill .btn-filler {
    background: #EC8D88;
}

.webkit.safari .bg-fade {
    opacity: 0;
}

.btn-q8.btn-simple {
    background-image: none;
}

/*---singup_buttons---*/
.btn-q8.btn-dashboard,
.btn-q8.btn-service,
.btn-q8.btn-signup,
.signed-in .btn-q8.btn-external,
.signed-in .btn-q8.btn-standard {
    display: none;
}

.signed-in .btn-q8.btn-login.btn-signup {
    display: inline-block;
}

.signed-in.is_starq8 .registrazione-starq8 .btn-q8.btn-login.btn-signup,
.signed-in.is_q8easy .registrazione-q8easy .btn-q8.btn-login.btn-signup,
.signed-in.is_fatturazione .registrazione-fatturazione .btn-q8.btn-login.btn-signup,
.signed-in.is_cartissima .registrazione-cartissima .btn-q8.btn-login.btn-signup,
.signed-in.is_recard .registrazione-recard .btn-q8.btn-login.btn-signup {
    display: none;
}

.signed-in.is_starq8 .registrazione-starq8 .btn-q8.btn-login.btn-dashboard,
.signed-in.is_q8easy .registrazione-q8easy .btn-q8.btn-login.btn-dashboard,
.signed-in.is_fatturazione .registrazione-fatturazione .btn-q8.btn-login.btn-dashboard,
.signed-in.is_cartissima .registrazione-cartissima .btn-q8.btn-login.btn-dashboard,
.signed-in.is_recard .registrazione-recard .btn-q8.btn-login.btn-dashboard {
    display: inline-block;
}

/*---singup_buttons:end--*/