﻿/* Set padding to keep content from hitting the edges */
body {
    padding-top: 20px;
    padding-bottom: 20px;
}

.body-content {
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 448px;*/
    max-width: 100%;
}


fieldset.scheduler-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}
legend.scheduler-border {
    width: inherit; /* Or auto */
    padding: 0 10px; /* To give a bit of padding on the left and right */
    border-bottom: none;
}


.linkLinhaTabela{

}

    .linkLinhaTabela  th {
        background: green;
        /*border: 2px solid black;*/
    }

    .clickable {
        /*height: 50px;*/
        /*background: gray;*/
        /*border: 2px solid black;*/
    }

        .clickable:hover {
            background: gray;
        }

.checkbox {
    padding-left: 40px;
}



.dropdown-menu {
    --bs-dropdown-min-width: 18rem;
}

/*
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    .dropdown-submenu .dropdown-submenu-left {
        margin-left: -570px;
    }

.btn {
    margin-bottom: 8px;
}
*/

/****************Interruptor checkbox**********************/
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

    .slider::before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #4CAF50;
}

    input:checked + .slider::before {
        transform: translateX(24px);
    }

/***************************************************/

label.is-invalid {
    border: 1px solid #dc3545; /* mesma cor da borda de input inválido */
    border-radius: 0.375rem; /* arredondamento igual ao form-control */
    padding: 0.375rem 0.75rem; /* espaço interno parecido com input */
}