
.caixas {
    text-align: center;
    margin: 0 auto;
}

.cx {
    display: inline-block;
    width: auto;
    height: auto;
    margin-top: 15px;
    text-align: center;
    padding: 3px;
    line-height: 2em;
    color: #fff;
}

.um {
    background: #2f54b8;
}

.dois {
    background: #2f54b8;
}

.tres {
    background: #2f54b8;
}

.clearfix {
    display:block;
}

.clearfix:after {
    content:"\0020";
    display:block;
    height:0;
    clear:both;
    margin-bottom:0px;
}

.formulario input[type=text] {
    margin-bottom: 10px;
    padding: 6px;
    appearance: none;
    background: #fff;
    border: 1px solid red;
    border-color: red;
    border-radius: 3px;
    color: red;
}

.btn-right {
    cursor: pointer;
    background-color: red;
    color: white;
    border-color: red;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    padding: 7.5px;
    display: inline-block;
    margin: 0px 0px 0px 2px;
    font-size: 1em;
}

@media screen and (max-width: 320px) {
    .formulario, #left, #right, .btn-right {
        width: auto;
        display: block;
        float: left;
    }
    .formulario input[type=text] {
        width:70%;
    }
}

@media screen and (max-width: 480px) {
    .formulario, #left, #right, .btn-right {
        width: auto;
        display: block;
        float: left;
    }
    .formulario input[type=text] {
        width:70%;
    }
}
@media screen and (max-width: 500px) {
    .formulario, #left, #right, .btn-right {
        width: 70%;
        display: block;
        float: left;
    }
}
@media screen and (max-width: 650px) {
    .formulario, #left, #right, .btn-right {
        width: auto;
        display: block;
        float: left;
    }
}

.cor a { 
    color: white;
    text-decoration: none;
}/* foi necessario mudar a cor do <a> da tag PHP */

.cor {
    background: #2f54b8;
    color: white;
    text-decoration: none;
    padding: 0.5em 0em 0.5em 0em; /* posições das disciplinas */
    padding-left: 10px; /* posições das disciplinas */
}

.div_titulo table {
    width: 100%;
	background-color: #fff;
	color: #2f54b8;
	font-weight: 600;
}

.div_titulo table tr {
	background-color: #fff;
	color: #2f54b8;
}
.div_titulo tr:nth-child(even){background-color: #fff;}

.div_titulo th {
    background: #fff;
    color: #2f54b8; 
    border: none;
}

.div_titulo td {
    border: none;
}

.div_tabela {
	table-layout: fixed;
    width: 100%;
    height: 100vh;  /*300px; */
    overflow-y: auto;
	overflow-x: auto;
}

/* COR VERDE 2eaf57 */

.div_tabela .td_cor {
    color: #ffffff;
    background-color: #2eaf57;
}


.div_tabela .td_cor a {
    text-decoration: none;
    cursor: pointer;
    color: #ffffff;
    background-color: #2eaf57;
}

.div_tabela .td_ama a:hover {
    text-decoration: none;
    cursor: pointer;
    color: #ffffff;
    background-color: #2eaf57;
}
/* COR AMARELA fae72b */
.div_tabela .td_ama {
    color: #ffffff;
    background-color: #fae72b;
}

.div_tabela .td_ama a {
    text-decoration: none;
    cursor: pointer;
    color: #ffffff;
    background-color: #fae72b;
}

.div_tabela .td_ama a:hover {
    text-decoration: none;
    cursor: pointer;
    color: #ffffff;
    background-color: #fae72b;
}
/* COR VERMELHA c82230 */
.div_tabela .td_ver {
    color: #ffffff;
    background-color: #c82230;
}

.div_tabela .td_ver a {
    text-decoration: none;
    cursor: pointer;
    color: #ffffff;
    background-color: #c82230;
}

.div_tabela .td_ver a:hover {
    text-decoration: none;
    cursor: pointer;
    color: #ffffff;
    background-color: #c82230;
}

.div_tabela select, .f_falta {
	color: #fff;
    background-color:red;
}
.div_tabela select, .j_justif {
	color: #fff;
    background-color:orange;
}
.div_tabela select, .p_presente {
    background: #0e2454;
	background-color: #0e2454;
	color: #fff;
    border: 1px solid #fff;
    border-color: #fff;
    border-radius: 4px;
    width: 90%;
	padding: 4px;
}

.cor {
    background: #2f54b8;
    color: white;
    padding: 0.5em 0em 0.5em 0em; /* posições das disciplinas */
    padding-left: 10px; /* posições das disciplinas */
}

.acoes {
    background: black;
    color: white;
}

table {
    width: 100%;
    border-spacing: 0;
    font-size: 13px;
}

thead {
    color: white;
    background-color: #2f54b8;
}

tbody {
    background-color: #fff;
}

th, td {
    padding: 0;
}

tr:nth-child(even){background-color: #e9edf6;}

th { 
    background: #2f54b8;
    color: white; 
    font-weight: bold; 
    text-align: center;
    padding: 5px; /* posições dos títulos da table */
    border: 0.5px solid white;
}

td {
    padding: 5px; /* posições dos títulos da table */
    border: 0.5px solid white;
    text-align: left;
}

/* TD IMG ICONE */
tbody td img {
    margin: 0px;
    vertical-align: middle;
    max-width:25px;
    max-height:25px;
    width: auto;
    height: auto;
}

/* TD IMG ICONE */
tbody td img:hover {
  /* background-color: #2f54b8;  cor do mouse em movimento */
  color: white;
}

/*
+++++++ INÍCIO - STYLE JANELA MODAL +++++++
*/

#div_modal span {
    margin-top: 10px;
    color: red;
    display: block;
}
.formulario-modal input[type=text] {
    margin-bottom: 10px;
    padding: 6px;
    appearance: none;
    background: #fff;
    border: 1px solid red;
    border-color: red;
    border-radius: 3px;
    color: red;
}
.btn-cancelar-modal {
    content: 'FECHAR';
    cursor: pointer;
    background-color: red;
    color: white;
    border-color: red;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    padding: 7.5px;
    display: inline-block;
    margin: 0px 0px 0px 2px;
    font-size: 1em;
}
.div-modal{
    z-index:3;
    display:none;
    padding-top:100px;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color:rgb(0,0,0);
    background-color:rgba(0,0,0,0.4);
}
.janela-modal{
    margin:auto;
    background-color:#fff;
    position:relative;
    padding:0;
    outline:0;
    width:600px;
}
.bloco-barra-modal .btn-modal{
    width:100%;
    text-align:left;
    padding:8px 16px;
}
.btn-modal{
    border:none;
    display:inline-block;
    padding:8px 16px;
    vertical-align:middle;
    overflow:hidden;
    text-decoration:none;
    color:#fff;
    background-color:red;
    text-align:center;
    cursor:pointer;
    white-space:nowrap;
}
.btn-modal{
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -khtml-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}
.btn-top-left{
    position:absolute;
    left:0;
    top:0;
}
.btn-top-right{
    position:absolute;
    right:0;
    top:0;
    color:#fff!important;
    background-color:red;
}
.btn-modal:hover{
    color:#fff!important;
    background-color:red;
}
@media (max-width:600px){
    .div-modal{
        padding-top:30px;
    }
    .janela-modal{
        margin:0 10px;
        width:auto!important;
    }
    .barra-modal-responsiva .btn-modal,
    .barra-modal-responsiva .btn-modal{
        width:100%;
    }
}
@media (max-width:768px){
    .div-modal{
        padding-top:50px;
    }
    .janela-modal{
        width:500px;
    }
}
@media (min-width:993px){
    .janela-modal{
        width:900px;
    }
}

.div_list {
    display: none;
    background: #fff;
    color: #0075f9;
}

.div_list p {
    border: 2px solid #0075f9;
    border-radius: 8px;
    padding: 5px;
    display: block;
    align-content: space-between;
}

.div_list a img {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}
.capa_carodromo {
    font-size: 16px;
    position: relative;
    overflow: hidden;    
    
}

.capa_carodromo .imagem-carodromo {
    height: 150px;
    width: 150px;
    overflow: hidden;
    display: block;
    
}

.capa_carodromo .imagem-carodromo img {
    max-height: 100%;
    max-width: 100%;
}

@media only screen and (max-width: 600px), (min-device-width: 600px) and (max-device-width: 600px) {
    .div_list {display: block;}
    .div_tabela table { display: none; }
    .div_tabela_scroll table {display: none;}
}
/*
+++++++ FINAL - STYLE JANELA MODAL +++++++
*/


/*
+++++++ VICTOR +++++++
*/

.tableFixHead { 
	position: sticky; 
	top: 0;
 } 
  
  /*
  +++++++ end VICTOR +++++++
  */