﻿body{
    /*padding-top:50px;*/
    padding-bottom:20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

/* 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: 280px;
}
.container-esqueci-senha, .container-redefinir-senha {
    width: 300px;
    margin: 0 auto;
}
.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.titulo {
    margin-bottom: 30px;
    text-transform: uppercase;
}

.invisivel {
    display: none;
}

.modal {
    overflow-y: hidden;
}

body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
    margin-right: 0px;
}

#mensagem_grid {
    height: 100px;
    text-align: center;
    border: 1px solid #dddddd;
    line-height: 100px;
}

.text-right {
    text-align: left;
    width: 100%;
}

.modal-header .close {
    position: absolute;
    right: 15px;
    top: 15px;
}

#grid_cadastro thead tr th span {
    cursor: pointer;
}

/* Submenu para Bootstrap 4 */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
        position: absolute;
    }

    .dropdown-submenu:hover > .dropdown-menu,
    .dropdown-submenu:focus-within > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        content: " \f0da";
        float: right;
        font-family: "FontAwesome";
    }
@media (max-width: 991px) {
    .navbar-collapse {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

    .navbar-nav {
        width: 100%;
    }
}

#grid_cadastro tr th,
#grid_cadastro tr td {
    font-size: 1rem; /* padrão para desktops */
}

    #grid_cadastro tr td i {
        font-size: 1rem; /* padrão para desktops */
    }

/* Tablets entre 1024px e 3000px */
@media only screen and (min-width: 1024px) and (max-width: 3000px) {
    #grid_cadastro tr th,
    #grid_cadastro tr td {
        font-size: 0.9rem;
    }

        #grid_cadastro tr td i {
            font-size: 0.9rem;
        }
}

/* Dispositivos entre 600px e 1024px */
@media only screen and (min-width: 600px) and (max-width: 1024px) {
    #grid_cadastro tr th,
    #grid_cadastro tr td {
        font-size: 0.6rem;
    }

        #grid_cadastro tr td i {
            font-size: 0.5rem;
        }
}

/* Dispositivos entre 400px e 599px */
@media only screen and (min-width: 400px) and (max-width: 599px) {
    #grid_cadastro tr th,
    #grid_cadastro tr td {
        font-size: 0.5rem;
    }

        #grid_cadastro tr td i {
            font-size: 0.4rem;
        }
}

/* Celulares entre 200px e 399px */
@media only screen and (min-width: 200px) and (max-width: 399px) {
    #grid_cadastro tr th,
    #grid_cadastro tr td {
        font-size: 0.4rem;
    }

        #grid_cadastro tr td i {
            font-size: 0.3rem;
        }
}

/* Celulares menores que 200px */
@media only screen and (max-width: 199px) {
    #grid_cadastro tr th,
    #grid_cadastro tr td {
        font-size: 0.2rem;
    }

        #grid_cadastro tr td i {
            font-size: 0.15rem;
        }
}