

html {
    
    scroll-behavior: smooth;
    scroll-padding-top: 70px; 
    
}


html, body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}


body {
    padding-top:70px;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
    color: #354869;
    font-weight: bold;
    line-height: 1.1;
}
h1, .h1 {
    margin: 0.6rem 0 1.6rem 0;
}
h2, .h2 {
    margin: 0.5rem 0 1.4rem 0;
}
h3, .h3 {
    margin: 0.4rem 0 1.2rem 0;
}
h4, .h4 {
    margin: 0.3rem 0 0.9rem 0;
}

p.lead {
    color: #354869;
    font-size: 1.1rem;
    font-weight: 500;
}
strong {
    color: #354869;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    padding: 0.6rem 1rem;
    border-radius: 0;
    font-weight: 600;
    box-shadow: none !important;
}
.btn.btn-primary {
    color: #fff;
    background-color: #354869;
    border-color: #354869;
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #354869;
    border-color: #354869;
}
.btn-link {
    display: inline;
    font-weight: inherit;
    -webkit-appearance: none;
    background: none;
    border: 0;
    padding: 0;
    outline: 0 !important;
}
.btn-link.nav-link {
    padding: 0.5rem 1rem;
    text-decoration: none !important;
}

a,
.btn-link {
    color: #296489;
}
a:hover, a:focus,
.btn-link:hover, .btn-link:focus {
    color: #23527c;
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}
label {
    font-size: 0.9rem;
    color: #696E71;
    font-weight: 600;
}
.form-control {
    padding: 0.6rem 1rem;
    height: auto;
    border-radius: 0;
    border-color: #EBEBEB;
    box-shadow: none !important;
}
.form-control:focus {
    border-color: #354869;
}
.input-with-icon {
    position: relative;
}
.input-with-icon > input {
    padding-right: 40px;
}
.input-with-icon > .icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}
.input-with-icon > input.is-invalid + .icon,
.was-validated .input-with-icon > input:invalid + .icon,
.input-with-icon > input.is-valid + .icon,
.was-validated .input-with-icon > input:valid + .icon {
    visibility: hidden;
}

header.page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
}
header.page .navbar {
    padding: 12px 0;
}
header.page .navbar-brand img {
    max-height: 25px;
    width: auto;
}
header.page .navbar-nav {
    font-size: 1.1em;
    font-weight: 600;
    color: #354869;
    padding: 25px 5px 0;
}

.wrapper main {
    padding: 30px 0 35px 0;
}




body { padding-bottom:45px; }

footer.page {
    background: #354869;
    padding: 11px 0;
    font-size: 0.9rem;
    
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    height:auto;
    z-index:99;
    
}

footer.page a {
    color: #fff;
}
footer.page a:hover,
footer.page a:focus {
    color: #eee;
}



.login-box-wrapper {
    margin: 60px 0 200px 0;
}
.login-box {
    background: #fafafa;
    border: 1px solid #ebebeb;
    padding: 25px 30px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.login-box h1 {
    font-size: 3rem;
    text-align: center;
    line-height: 0.9;
    margin: 15px 0 35px 0;
}
.login-box p.lead {
    text-align: center;
}
.login-box h1 small {
    font-size: 0.55em;
    font-weight: inherit;
}
.login-box-wrapper .code-resend {
    text-align: center;
    margin-top: 25px;
}


/* Bootstrap Card */
.card {
    background-color: #FAFAFA;
    border: 2px solid #EBEBEB;
    border-radius: 0;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s ease-in-out;
}

a.card {
    color: inherit;
    text-decoration: none;
}
a.card:hover {
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.2);
}
a.card.disabled {
    opacity: 0.65;
}
a.card.disabled:hover {
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
}
.row > div > .card {
    margin-bottom: 25px;
    height: calc(100% - 25px);
}
.card .card-img-top {
    border-radius: 0;
}
.card .card-img-top.bg-img {
    padding-top: 70%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.card .card-icon-top {
    text-align: center;
    line-height: 1;
    color: #354869;
    padding: 30px 0 20px;
}
.card .card-icon-top > i {
    font-size: 125px;
}
.card .card-body > *:last-child {
    margin-bottom: 0;
}
.card .card-title {
    margin-top: 0;
    margin-bottom: 15px;
}
.card .card-badge {
    position: absolute;
    top: -10px;
    right: -18px;
    z-index: 5;
    transform: rotate(-12deg);
    width: 180px;
}

.card.small-card {
    margin-bottom: 15px;
}
.card.small-card .card-icon-top {
    padding: 15px 0 5px;
}
.card.small-card .card-icon-top > i {
    font-size: 80px;
}
.card.small-card .card-body {
    padding: 1rem;
    font-size: 0.95rem;
}
.card.small-card .card-title {
    margin-bottom: 10px;
}
.card.small-card .card-body h4 {
    font-size: 1.2rem;
}

/* Card on dashboard */
.card.dashboard-card .card-body,
.card.credits-card .card-body {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card.dashboard-card .card-img-top,
.card.credits-card .card-img-top {
    margin: 20px 20px 0 20px;
    width: calc(100% - 40px);
}
.card.dashboard-card .card-icon-top,
.card.credits-card .card-icon-top {
    padding: 70px 0 35px;
}
.card.credits-card .card-title {
    margin-bottom: 5px;
}
.card.credits-card .card-text {
    color: #354869;
    font-size: 1.2rem;
}




.card.dashboard-card {
    position:relative;
}

.card.dashboard-card .card-action {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
}

.card.dashboard-card .card-action:hover {
    text-decoration:none;
}

.card.dashboard-card .delete-action {
    position:absolute;
    right:0px;
    top:0px;
    padding:20px 20px 10px 10px;
}




                   
/* Card for Image Upload */
.card.imgupload-card {
    position: relative;
}
.card.imgupload-card .card-body {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card.imgupload-card .card-img-top {
    margin: 7px 7px 0 7px;
    width: calc(100% - 14px);
}
.card.imgupload-card input[type="file"] {
    cursor: pointer;
    opacity: 0;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}
.card.imgupload-card .delete-btn {
    display: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #FFF;
    background-image: url(Images/times-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 5;
    cursor: pointer;
}
.card.imgupload-card .delete-btn:hover {
    background-color: #EEE;
}
.card.imgupload-card.uploaded .delete-btn {
    display: inline-block;
}
.card.imgupload-card.is-invalid {
    color: #dc3545;
    border-color: #dc3545;
    box-shadow: 0px 3px 6px 0px rgba(220,53,69,.25);
}               

/* Modal */
.modal-content {
    background-color: #FAFAFA;
    border: 0;
    border-radius: 0;
}
.modal-content .modal-header {
    border: 0;
    border-radius: 0;
}
           
/* Custom Checkbox */
.custom-checkbox {
    min-height: 35px;
    padding-left: 45px;
}
.custom-checkbox .custom-control-label {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 35px;
}
.custom-checkbox .custom-control-input,
.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after {
    width: 35px;
    height: 35px;
    top: 0;
    left: -45px;
}
.custom-checkbox .custom-control-input {
    left: 0;
}
.custom-checkbox .custom-control-label::before {
    border-color: #707070;
    border-radius: 0;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    color: inherit;
    border-color: #707070;
    background-color: transparent;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url(Images/icon-checked.svg);
}

                    
/* section 2:
   make adjustments for tablet layouts. extend selectors from section 1
   Small devices (tablets, 768px and up) 
*/
@media (min-width:768px) {
    
    
    
    
}

/* section 3:
   make adjustments for desktop layouts. extend selectors from section 1
   Medium devices (desktops, 992px and up) 
*/
@media (min-width: 992px) {
    
    header.page .navbar-nav {
        padding: 0;
    }
    header.page .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 12px;
        padding-left: 12px;
    }
    
}


/* section 4: 
   make adjustments for large desktop layouts. extend selectors from section 1
   Large devices (large desktops, 1200px and up)
   optional  
*/
@media (min-width:1200px) { 
 
        
    
}


/* Fahrzeugverkauf - Dashboard */
.dashboard-wrapper {
    margin-top: 20px;
}
.dashboard-wrapper .inedit-wrapper,
.dashboard-wrapper .acutions-wrapper {
    margin-bottom: 30px;
}

/* Fahrzeugverkauf - Erfassen */
.page-wrapper .page-count {
    font-weight: 400;
}
.page-wrapper .section-title {
    color: #FFFFFF;
    font-weight: 400;
    background-color: #354869;
    padding: 8px 10px;
}

/* Fahrzeugverkauf - Finish */
.advertisement-finish-wrapper .page-wrapper h5.card-title {
    font-size: 1.1rem;
}
.advertisement-finish-wrapper .page-wrapper .card-body {
    padding: 1rem 1.2rem;
}
.advertisement-finish-wrapper .page-wrapper .custom-checkbox .custom-control-label {
    font-size: 18px;
}










.btn-busy .busy-indicator {
    display:none;
}
    
.btn-busy:disabled .busy-indicator, 
.btn-busy.disabled .busy-indicator{

    display:inline;
}
 
 
.is-invalid .invalid-feedback { display:block; }




.advert-page footer {  margin:2rem 0; }
.advert-page footer .page-selector {  margin:2rem 0;  }
.advert-page footer .page-selector .btn-group { display:flex; }
.advert-page footer .page-navigation { display:flex; justify-content:space-between;align-items:flex-end; }
.advert-page footer .page-navigation *:last-child { margin-left: auto; }

@media (min-width:768px) {
    
    .advert-page footer { display:flex; justify-content:space-between; align-items:flex-end; }       
    .advert-page footer .page-selector {  margin:0;  }
    .advert-page footer .page-selector .btn-group { display:inline-flex; }
    .advert-page footer .page-navigation {  display:block;  }
    
}