@import url('https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,300;0,400;0,500;1,400&display=swap');

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(10px);
    }

    75% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}

html,
body {
    background-color: #ECF0F5;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", Arial, sans-serif;
    min-width: 1000px;
}
.main {
    display:flex;
    height:100%;
}

.menu {
    box-shadow: 3px 0px 3px grey;
    background-color: #232D32;
    width: 250px;
    height: 100%;
    position: fixed;
}

.menu .nav-link {
    color: white;
    margin: 5px 0 5px 20px;
    font-weight: 500;

}

.menu .nav-link:hover {
    color: white;

}

.menu .nav-pills .nav-link.active {
    background-color: white;
    color: black;
}

.page {
    flex: 1;
    padding: 20px;
    margin-left: 250px;
}

.logo {
    color: white;
    padding: 20px;
    width: 240px;
    position: relative;

}

.logo p {
    text-transform: uppercase;
    font-size: 13px;
    float: right;
}

.cardButtons div {
    height:50px;
    display: inline-block;
}

.cntrlBtn {
    height:50px;
    
}
.navbar.navbar-dark.bg-dark {
    display: none;
}

.active>.page-link, .page-link.active {
    background-color: #2f66ac;
    border-color: #2f66ac;
}
.status-container {
    display: none;
    align-items: center;
    justify-content: center;
}
.loading,
.success {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
}
.fade-out {
    animation: fadeOut 1s forwards;
}
.fade-in {
    animation: fadeIn 1s forwards;
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1290px) {
   
    .page {
        padding: 0;
        margin: 20px;
    }
    html, body {
        display: block;
        min-width: initial;
    }   
    .main {
        display:block;
    }
    .buttons-menu {
        display:none;
    }
    .welcome {
        display: none;
    }
    #search div button {
        width:100%;
        margin: 10px 0 0 0;
        border-radius: 0px;
    }
    #search .mb-3 {
        margin-bottom: 0px !important;
    }
    .cntrlBtn {
        width:100%;
        display: inline-block;
    }
    .cntrlBtn button {
        width:100% !important;
        
    }
    .cntrlBtn input {
        margin-right: 5px !important;
    }
    .cntrlBtn .form-check {
        margin: 15px 0 0 0;
        justify-content: center !important;
        display: flex;
    }
    .cntrlBtn div {
        position: relative;
        bottom: 5px;
    }
    .cntrlBtn span {
        text-align: center;
        display: block;
        position: relative;
        bottom: 5px;
        margin: 10px 0 0 0;
    }
    .navbar.navbar-dark.bg-dark {
        display: block;
    }
    .bg-dark {
        background-color: #232d32 !important;
    }
    .bg-dark.p-4 a {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .bg-dark.p-4 button {
        width: 100%;
        margin: 0 0 10px 0;
    }
    
    .menu {
        display: none;
    }
    
}



a {
    text-decoration: none;
    color: #2F66AC;
}

a:hover {
    text-decoration: dashed;
}

.bd-block {
    margin: 20px 0 0 0;
    padding: 20px;
    position: relative;
    background-color: white;
    border: solid lightgrey 1px;
    border-radius: 5px;
}

.form-check {
    min-height: 40px;
}

.form-check input[type="text"],
select {
    height: 28px;
}

.card button {
    margin: 0 5px 0 0;
}

.buttons-menu .btn {
    border: 1px solid initial;
    width: 214px;
    margin: 0 0 10px 20px;
}

.buttons-menu span .btn:last-child {
    margin: 0 0 0 20px;
}

.buttons-menu button:hover {

    border: 1px solid white;
}

.btn-confirm {
    display: inline;
    width: 150px;

}

.btn {
    background-color: #2F66AC;
    --bs-btn-border-color: #2F66AC;
    height: 40px;
}

.btn.white {
    background-color: transparent;
    color: white;
    border: 1px solid transparent;
}

.btn.white:hover,
.btn.white:active {
    border: 1px solid white;
    background-color: inherit;

}

.btn.blue {
    background-color: #2F66AC;
    border: 1px solid #2F66AC;
}

.btn.blue:hover,
.btn.blue:active {
    background-color: #2F66AC;
    border: 1px solid white;
}

.btn.darkblue {
    background-color: #2E3573;
    border: 1px solid #2E3573;
}

.btn.darkblue:hover,
.btn.darkblue:active {
    background-color: #2E3573;
    border: 1px solid white;
}

.btn.red {
    background-color: #F83B3B;
    border: 1px solid #F83B3B;
}

.btn.red:hover,
.btn.red:active {
    background-color: #F83B3B;
    border: 1px solid white;
}

.btn.green {
    background-color: #65af36;
    border: 1px solid #65af36;
}

.btn.green:hover,
.btn.green:active {
    background-color: #65af36;
    border: 1px solid white;
}

.btn-close {
    --bs-btn-close-focus-shadow: 0 0 0 0.15rem rgba(13, 110, 253, .25);
}

.btn:hover {
    background-color: #2E3573;
}

.btn:focus-visible {
    background-color: inherit;
    box-shadow: none;
}

.form-select:focus {
    border-color: #2F66AC;
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .25);
}

.modal {
    --bs-modal-width: 350px;

}

.form-control:focus {
    border-color: #2F66AC;
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .25);
}

.login-form input {
    margin: 0 0 10px 0;

}

.login-form button {
    width: 100%;
}

#stone-form input,
#stone-form select,
#stone-form textarea {
    margin: 0 0 10px 0;
    width: 100%;
}

#stone-form button {
    width: 100%;
}

input[type="text"] {
    border: 1px solid #dee2e6;
}

input[type="text"]:focus {
    outline-color: #2F66AC;
    border-width: 1px;
    border-color: #2F66AC;

}

input[type="text"]:focus-visible {

    outline-color: #2F66AC;
    border-width: 1px;
    border-color: #2F66AC;

}

.form-select {
    height: 40px;
    width: 240px;
    display: inline;
}