﻿
@font-face {
    font-family: 'Mortend';
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/mortend-mortend-bold-700.woff");
}

body {
    font-family: 'DM Sans',sans-serif;
    color: #000000;
    font-size: 14px;
    overflow-x:hidden;
    overflow-y:auto;
}

a,a:active, a:focus, a:visited{
    color:black;
    text-decoration:underline;
}



.size1 {
    font-size: 17px
}

.size2 {
    font-size: 14px
}
body.with-navbar {
    padding-top: 56px;
}
body.with-bottom-menu {
    padding-bottom: 56px;
}

body > div#main{
    margin-top:28px;
}
body.no-margin > div#main{
    margin:0px!important;
}
body.no-margin > div#main{
    margin:0px!important;
    padding:0px!important;
}

body.bg-dark{
    color:white;
}

.bg-black {
    background-color: #0C0C0C !important;
}

.black {
    color: #0C0C0C !important;
}

div.mobile-container {
    max-width: 500px;
}

.bg-dark-tires, .bg-yellow-tires {
    background-attachment: fixed;
    background-image: url('../img/backgrounds/tires-dark.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    background-size:cover;
    overflow: hidden;
}
    .bg-yellow-tires {    
        background-image: url('../img/backgrounds/tires-yellow.jpg');
    }

.navbar-top {
    height: 56px;
    background-color:white;
}

.navbar-bottom {
    height: 66px;
    background-color: #ffffff;
    box-shadow: #0000001F 0px 2px 48px;
}
    .navbar-bottom a img{
        padding:8px 8px;
    }
    .navbar-bottom a.active {
        background-position:bottom center;        
        background-image: url('../img/dot.svg');
        background-size:2px 2px;
        background-repeat:no-repeat;
    }

    .nav-icon {
        font-size: 1.2rem;
    }

    .nav-tabs a span{
        border-bottom:2px solid transparent!important;
    }
        .nav-tabs a.active span {
            border-bottom: 2px solid #F7D50F!important;
            font-weight:700;
        }


.mortend {
    font-family: Mortend,sans-serif; font-weight: 700; text-transform:uppercase;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    line-height:38px;
}

    h1.mortend{
        font-size:24px;
    }

    h2 {
        font-size: 28px;
        font-weight: 700
    }

h3 {
    font-size: 19px;
    font-weight: 700;
}

h4 {
    font-size: 17px;
    font-weight: 700;
}


.bg1 {
    background-color: #1d1d1f
}

.bg2 {
    background-color: #000
}

.btn, .btn-toggle {
    border-radius: 20px!important;
    min-width: 120px;
    font-size: 13px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 22px;
}
.btn-link {
    min-width: 50px;
}

.block-scroll {
    touch-action: none;
}

body .btn-outline-primary, body button.btn.btn-outline-primary:active, body button.btn.btn-outline-primary:hover {
    color: white;
    background-color: transparent;
    border-color: white;
}
body button.btn.btn-primary, body button.btn.btn-primary:active, body button.btn.btn-primary:hover {
    background-color: #f7d50d;
    color: black;
    border-color: #f7d50d;
}

body.bg-dark button.btn.btn-outline-primary, body.bg-dark button.btn.btn-outline-primary:active {
    color: white;
    background-color: transparent;
    border-color: white;
}
body.bg-dark button.btn.btn-primary, body.bg-dark button.btn.btn-primary:active {
    background-color: white;
    color: black;
    border-color: white;
}
/*
.bg.bg-yellow button.btn.btn-outline-primary, body.bg-dark button.btn.btn-outline-primary:active {
    color: white;
    background-color: transparent;
    border-color: white;
}*/
.bg-yellow button.btn.btn-primary, .bg-yellow button.btn.btn-primary:active {
    background-color: #0C0C0C;
    color: #ffffff;
    border-color: #0C0C0C;
}
.btn-check + .btn, .btn-check + .btn:hover {
    background-color: #f7d50d;
    border: 1px solid #0C0C0C !important;
    color: #676767 !important;
}

.btn-check:checked + .btn-toggle {
    background-color: #ffffff !important;
    color: #0C0C0C !important;
}
/*
.btn-check + .btn {
    background-color: #f7d50d;
    border:1px solid #0C0C0C!important;
    color:#0C0C0C!important;
}*/
/*.bg-dark .btn-check + .btn:hover {
    
}*/

.bg-dark a, .bg-dark a:active, .bg-dark a:focus, .bg-dark a:visited {
    color: white;
    text-decoration: underline;
}

@media(max-width:600px) {
    .modal.bottom-sheet {
        top: 300px;
        max-height: calc(100vh - 300px);
    }

        .modal.bottom-sheet .modal-dialog {
            position: fixed;
            bottom: 0;
            margin: 0;
            left: 0;
            right: 0;
            transform: translateY(100%);
            transition: transform 0.3s ease-out;
            margin-left: auto;
            margin-right: auto;
            max-height: calc(100vh - 300px);
        }

        .modal.bottom-sheet.show .modal-dialog {
            transform: translateY(0);
        }

        .modal.bottom-sheet .modal-content {
            border-radius: 1rem 1rem 0 0;
        }

        .modal.bottom-sheet .align-content-start .modal-content {
            height: calc(100vh - 300px);
        }


        .modal.bottom-sheet.bottom-sheet-small {
            top: 400px;
            max-height: calc(100vh - 400px);
        }

            .modal.bottom-sheet.bottom-sheet-small .modal-dialog {              
                max-height: calc(100vh - 400px);
            }

        .modal.bottom-sheet.bottom-sheet-small .modal-content {
            height: calc(100vh - 400px);
        }
}

@media(min-width:601px) {
    .modal.bottom-sheet {
        top: 20%;
        max-height: 60%;
    }
    .popup-content div.mobile-container {
        max-width:unset;
    }
}

    img.cp-tire-card {
        width: 100%;
        max-width: 370px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

.mobile-container .btn{
    width:100%;
    max-width:100%;
}

.form-control, .input-group-text {
    border-radius: 20px;
    font-size: 12px;
    line-height: 24px;
    border-color: #444648;
    background-color: #FFFFFF;
}
form label {
    margin-bottom: 4px;
}

.mobile-container div.spacer {
    width: 100%;
    display: block;
    height: 15px;
}
    .form-control:focus {
        box-shadow: 0 0 0 .25rem rgba(255,255,255, .25);
        border-color: #a6aaae;
    }
.modal-dialog-scrollable .modal-content{
    max-height:unset;
}
.bg-dark .form-control, .bg-dark .input-group-text {
    background-color: #0C0C0C;
    color: white;
}
.popup-content, .wizard-form {
    display: none;
}



.blur {
    filter: blur(10px);
    -webkit-filter: blur(10px);
}

.shadow {
    box-shadow: 3px 4px 10px rgba(100, 100, 100, 0.3);
}

.radius-0 {
    border-radius: 0 !important;
}

.radius-5 {
    border-radius: 5px !important;
}

.etichettaA, .etichettaB, .etichettaC, .etichettaD, .etichettaE, .etichettaF, .etichettaG {
    width: 18px;
    height: 18px;
    line-height: 18px;
    display:inline-block;
    color:white!important;
}

.etichettaA {
    background-color: #00a651 !important;
}

.etichettaB {
    background-color: #9aca3c !important;
}

.etichettaC {
    background-color: #fff200 !important;
}

.etichettaD {
    background-color: #fdb913 !important;
}

.etichettaE {
    background-color: #ed1c24 !important;
}
.text-light {
    color: #979797!important;
}
.red {
    color: #dd1520 !important;
}

.bg-red {
    background-color: #dd1520 !important;
}

.yellow {
    color: #f7d50d !important;
}
.border-yellow {
    border-color: #f7d50d !important;
}
.border-red {
    border-color: #dd1520 !important;
}

.white {
    color: #ffffff !important;
}

.bg-yellow {
    background-color: #f7d50d !important;
}
