﻿.card-wrapper {
    padding-top: 3rem;
}

    .card-wrapper .card {
        margin-left: auto;
        margin-right: auto;
    }

.card-wrapper-sm .card {
    max-width: 640px;
}

#btn-keyboard > i {
    font-size: 1.5rem;
}

.content-wrapper > iframe {
    border: 0;
    width: 100%;
    height: 100%;
    margin-bottom: -8px;
}

.reg-bottom-bar {
    min-height: 70px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.pdf-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    padding-top: 87px;
    background: #222;
}

    .pdf-wrapper iframe {
        height: calc(100% - 50px);
        width: 100%;
        border: 0;
        margin-bottom: -10px;
    }

.pdf-wrapper-close {
    float: right;
    margin-bottom: 10px;
}

.dark-mode a.navbar-brand {
    color: rgba(255,255,255,.75);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

    .dark-mode a.navbar-brand:hover {
        color: rgba(255,255,255,1);
    }

.pace .pace-progress {
    background: #3f6791 !important;
}

/* Aumento interfaccia */

body {
    font-size: 1.35rem;
}

h5 {
    font-size: 1.75rem;
}

.navbar-brand {    
    padding-bottom: 1rem;
    padding-top: 1rem;
}

    .navbar-brand img {
        height: 30px;
    }

.main-footer {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;        
}

.card-title {
    font-size: 2rem;
}

.btn {
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.main-header .nav-link {
    padding: 0;
    font-size: 40px;
    height: auto;
}

.form-control {
    height: calc(3rem + 2px);
    font-size: 1.5rem;
}

.modal-header .btn-close {
    margin: 0 !important;
}

.wrapper .content-wrapper {
    min-height: calc(100vh - calc(3rem + 31px) - calc(2.4rem + 41px)) !important;
}

/* restyling */

.dark-mode .content-wrapper {
    background: transparent;
}

.dark-mode {
    background-color: #313131 !important;
    background-image: url('https://services.kama.vsolutions.it/img/bg2.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

    .dark-mode .navbar-dark,
    .dark-mode .main-footer {
        background-color: #1e1e1e;
        border-color: #373737;
    }

    .dark-mode .card,
    .dark-mode .modal-content {
        background-color: #1e1e1e;
    }

    .dark-mode .modal-footer, .dark-mode .modal-header {
        border-color: #373737;
    }

.pace .pace-progress {
    background: #373737 !important;
}

body, html {
    overflow: hidden !important;
}

.dark-mode .custom-control-label::before, .dark-mode .custom-file-label, .dark-mode .custom-file-label::after, .dark-mode .custom-select, .dark-mode .form-control:not(.form-control-navbar):not(.form-control-sidebar), .dark-mode .input-group-text {
    background-color: #2d2d2d;
    color: #fff;
}

#blazor-error-ui {
    display: none;
}

input.form-control.invalid {
    border-color: #dc3545 !important;
}