*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans';
}

html,body{
    height: 100%;
    background-color: rgb(225,225,225);
}

body{
    overflow-x: hidden;
}

.loading-layer {
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
}

.loading-layer .loading-center {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
}


/* PÁGINA DE LOGIN */

.box-login{
    box-shadow: 10px 10px 5px rgb(200,200,200);
    max-width: 600px;
    width: 95%;
    padding: 60px 2%;
    background-color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

.box-login h2{
    text-align: center;
    font-size: 19px;
    text-transform: uppercase;
    font-weight: normal;
    margin: 10px 0;
    color: black;
}

.select2-container .select2-selection--single,
.box-login input[type=text],
.box-login input[type=email],
.box-login input[type=number],
.box-login input[type=time],
.box-login input[type=password]{
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    padding-left: 8px;
    margin-top: 8px;
}

.select2-container .select2-selection--single {
    padding-top: 5px;
}

.box-login input[type=submit]{
    width: 100px;
    height: 40px;
    cursor: pointer;
    margin-top: 8px;
    font-size: 14px;
    background-color: #00bfa5;
    color: white;
    border: 0;
}


/* BOX ERRO DO PAINEL */

.erro-box{
    width: 100%;
    padding: 8px 2%;
    text-align: center;
    background: #f75353;
    color: white;
    font-size: 15px;
}

/* FIM PÁGINA LOGIN */


/* PAINEL DE CONTROLE */

.clear{
    clear: both;
}

.center{
    padding: 0 2%;
    margin: 0 auto;
}

header{
    position: relative;
    left: 250px;
    padding: 10px 0;
    background: #78909c;
    width: calc(100% - 250px);
}

.loggout{
    float: right;
}

.loggout a{
    padding: 0 20px;
    position: relative;
    top: 4px;
    color: white;
    font-size: 17px;
    text-decoration: none;
}

.loggout a > span{
    font-size: 17px;
    text-decoration: none;
}

.menu-btn{
    float: left;
    cursor: pointer;
    font-size: 23px;
    color: white;
}

.menu-wraper{
    width: 250px;
}

.menu h2 {
    padding-top: 30px;
    font-size: 18px;
    text-align: center;
    color: white;
}

div.menu{
    float: left;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    padding: 15px 0;
    background: #455a64;
}

div.box-usuario{
    text-align: center;
}

.avatar-usuario{
    text-align: left;
    display: inline-block;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #2F3D42;
}

.avatar-usuario i{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    font-size: 50px;
    color: #2F3D42;
}

.imagem-usuario{
    display: inline-block;
    width: 130px;
    height: 130px;
    position: relative;
    border-radius: 50%;
    border: 3px solid #2f3d42;
}

.imagem-usuario img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.nome-usuario{
    text-align: center;
    margin-top: 10px;
}

.nome-usuario p{
    color: white;
    font-size: 16px;
    font-weight: normal;
}

.itens-menu {
    margin-top: 20px;
    border-top: 2px solid #2f3d42;
}

.itens-menu h2{
    text-align: center;
    font-weight: normal;
    font-size: 17px;
    background: #2f3d42;
    color: white;
    padding: 8px;
}

.itens-menu a {
    display: block;
    padding: 8px;
    font-size: 16px;
    font-weight: 250;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid #2f3d42;
}

.itens-menu a:hover {
    text-decoration: none;
    color: white;
    background-color: #36464C;
}

.loggout a:hover {
    background: #60727a;
    padding-top: 15px;
    padding-bottom: 15px;
    text-decoration: none;
    color: white;
    background-color: #36464C;
}

/* CONTEÚDO PRINCIPAL DO PAINEL */

.w100{
    width: 100%;
}

.w50{
    width: 50%;
}

.w33{
    width: 33.3%;
}

.w25{
    width: 25%;
}

.w20{
    width: 20%;
}

.w15{
    width: 15%;
}

.w10{
    width: 10%;
}

.w5{
    width: 5%;
}

.left{
    float: left;
}

.right{
    float: right;
}

.inline-block{
    display: inline-block;
}

.content{
    width: calc(100% - 250px);
    position: relative;
    left: 250px;
    padding: 0;
}

.box-content{
    background: white;
    padding: 30px;
    margin-bottom: 25px;
}

.box-content h2{
    font-weight: 400;
    display: inline-block;
}

.box-content .add-button {
    border: 0;
    outline: 0;
    cursor: pointer;
    float: right;
    background-color: #04A65A;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 10px;
}

.box-content .add-button-bottom {
    background-color: #04A65A;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    display: none;
    width: 100%;
    outline: 0;
    border: 0;
    cursor: pointer;
}

.box-content .back-button {
    float: right;
    background-color: rgb(0, 123, 194);
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 10px;
}

.box-content .back-button-bottom {
    background-color: rgb(0, 123, 194);
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    display: none;
}

#chart_div{
    margin-top: 30px;
    margin-bottom: 10px;
}

/* TABELAS */

.table-search {
    width: 100%;
    text-align: right;
    padding: 20px 0 0 20px;
}

.table-search label {
    padding-right: 10px;
}

.table-search input {
    padding: 5px;
    width: 250px;
}

.wraper-table{
    overflow-x: auto;
}

table{
    font-weight: 300;
    min-width: 900px;
    margin: 20px 0;
    width: 100%;
    border-collapse: collapse;
}

table tr:nth-of-type(1):not(.not-th){
    background: #0091ea;
    color: white;
}

table tr{
    border-bottom: 1px solid #ccc;
    color: #555;
}

table .last-trips-tr {
    background-color: rgb(224, 224, 224);
}

.row-gray {
    background-color: rgb(224, 224, 224);
}

table td{
    padding: 8px;
}

table a.btn-edit{
    display: inline-block;
    text-decoration: none;
    padding: 4px 6px;
    background: #f4b03e;
    color: white;
    font-size: 13px;
}

table a.btn{
    font-size: 15px;
    color: white;
    text-decoration: none;
    padding: 4px 6px;
}

.row-extensible-table span{
    word-wrap: break-word;
}

.botoes a.btn{
    font-size: 18px;
    color: white;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 5px;
}

a.btn.new{background: green;}
a.btn.return{background: rgb(168, 168, 168);}
a.btn.edit{background: #f4b03e;}
a.btn.delete{background: #E05C4E;}
a.btn.order{background: #0091ea;}
a.btn.info{background: #0DCAF0;}


/* PAGINAÇÃO */

.paginacao{
    margin: 20px 0;
    text-align: center;
}

.paginacao a{
    font-size: 14px;
    margin: 0 8px;
    display: inline-block;
    padding: 3px 4px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #666;
}

.paginacao a.page-selected{
    background: rgb(220,220,220);
}


/* BOX METRICAS */

.box-metricas{
	margin-top: 16px;
	padding: 0 15px;
}

.box-metrica-single{
	float: left;
	position: relative;
	width: 33.3%;
	border: 5px solid white;
    cursor: pointer;
}

.box-metricas .btn-visitas-online{
	background: #f4b03e;
}

.box-metricas .btn-visitas-hoje{
	background: #E05C4E;
}

.box-metricas .btn-visitas-todos{
	background: #04A65A;
}

.visitas-hoje{
    display: none;
}

.visitas-todos{
    display: none;
}

.box-metrica-wraper{
	padding: 15px 20px;
	text-align: left;
	color: white;
}

.box-metrica-wraper h2{
	font-size: 28px;
}

.box-metrica-wraper p{
	padding-top: 10px;
	font-size: 26px;
}

/* TABELA RESPONSIVA */

.content{
    overflow-x: auto;
}

.box-content{
    overflow-x: auto;
}

.extensible-table-session{
    margin: 20px auto;
    min-width: 900px;
    overflow-x: auto;
    padding-right: 30px;
}

.btn-mostra-mensagem{
    cursor: pointer;
    font-size: 25px;
    color: rgb(150, 150, 150);
}

.extensible-table{
    display: none;
}

.row-extensible-table{
    cursor: pointer;
    padding: 15px !important;
}

.row-extensible-header {
    padding: 15px !important;
}

.row-extensible-table span {
    color: rgb(49, 49, 49);
}

.row-extensible-table .extensible-table-content{
    text-align: justify;
}

span.tabela-destacado{
    color: black !important;
}

.col{
    float: left;
    padding-left: 5px;
    padding-right: 5px;
}

.table-responsive .row:nth-of-type(1){
    font-weight: normal;
    color: white;
    background-color: #00aca7;
}

.table-responsive .row{
    color: #555;
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
}

.table-responsive .row-green{
    background-color: #91cc93;
}

.table-responsive .rowBreak {
    margin: 30px 0;
    width: 100%;
    text-align: center;
}

.table-responsive .rowBreak p{
    display: inline-block;
    vertical-align: middle;
}

.table-responsive .point{
    background-color: #444;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
}

.table-responsive .rowBreak:first-of-type {
    margin: 0 !important;
    border: 0 !important;
    width: 0px !important;
    height: 0px !important;
    border-radius: 0px;
}

.table-responsive .row-border-top{
    border-top: 1px solid #ccc;
}

.table-responsive .row-extensible-table{
    padding: 10px 0;
}

.row-extensible-table .extensible-table-content{
    color: rgb(130, 130, 130);
}

.box-content form{
    margin: 30px 0;
}

.box-content form label{
    font-size: 17px;
    font-weight: 300;
    color: black;
    display: block;
}

.box-content form label.label-inline {
    display: inline-block;
}

.box-content .form-group{
    margin: 15px 0;
}

.box-content form input[type=text],
.box-content form input[type=email],
.box-content form input[type=number],
.box-content form input[type=password],
.box-content form input[type=time],
.box-content form input[type=date]{
    margin-top: 8px;
    font-size: 16px;
    font-weight: normal;
    color: black;
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    padding-left: 8px;
}

.box-content form textarea{
    margin-top: 8px;
    font-size: 16px;
    font-weight: normal;
    color: black;
    width: 100%;
    height: 150px;
    border: 1px solid #ccc;
    padding: 8px;
    resize: vertical;
}

.box-content form select{
    margin-top: 8px;
    font-size: 16px;
    font-weight: normal;
    color: black;
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    padding-left: 8px;
}

.box-content form input[type=file]{
    margin-top: 8px;
    border: 1px solid #ccc;
    width: 100%;
    padding: 8px;
}

.box-content form input[type=submit]{
    width: 150px;
    height: 40px;
    cursor: pointer;
    margin-top: 8px;
    font-size: 16px;
    background-color: #00bfa5;
    color: white;
    border: 0;
}

/* BOX DE ALERTA */

.box-alert{
    width: 100%;
    text-align: center;
    padding: 8px 2%;
    color: white;
}

.sucesso{
    background: #91cc93;
}

.erro{
    background: #f36868;
}

.menu-active{
    background-color: #3a4b51;
}

.form-group-login label{
    font-size: 13px;
    padding-right: 6px;
    font-weight: 300;
    color: black;
}

form .form-group-login:nth-of-type(2){
    position: relative;
    top: 10px;
}

.images-edit {
    margin-top: 20px;
}

.box-details {
    display: inline-block;
    padding: 20px;
}

.box-image-details {
    width: 350px; 
    height: 350px;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

.box-image-layer {
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.box-image-details:hover .box-image-layer {
    transition: 0.5s;
    background-color: black;
    opacity: 0.5;
}

.box-image-details:hover .delete-icon,
.box-image-details:hover .main-icon {
    transition: 0.5s;
    opacity: 1;
}

.box-image-details .delete-icon {
    position: absolute;
    color: red;
    font-size: 40px;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    opacity: 0;
}

.box-image-details .main-icon {
    position: absolute;
    color: yellow;
    font-size: 40px;
    top: 70%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    opacity: 0;
}

.main-image {
    border: 5px solid yellow;
}

.modal-layer {
    background-color: black;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0.6;
}

.modal {
    z-index: 3;
}

.title-large {
    font-size: 35px;
    text-align: center;
}

#add-bus-to-trip {
    display: none;
}


@media screen and (max-width: 1175px){
    .box-metrica-single{
        min-height: 170px;
    }
}

@media screen and (max-width: 1024px){
    .box-metrica-single{
        width: 100%;
        min-height: auto;
    }
}

@media screen and (max-width: 920px){
    .box-content .add-button {
        display: none;
    }

    .box-content .add-button-bottom {
        display: block;
    }

    .box-content .back-button {
        display: none;
    }

    .box-content .back-button-bottom {
        display: block;
    }
}

@media screen and (max-width: 768px){
    .content{
        width: 100%;
        left: 0;
    }

    header{
        width: 100%;
        left: 0;
    }
}

@media screen and (max-width: 400px){
    .menu-wraper{
        width: 200px;
    }
}