.form-block {
    margin-bottom: 20px;
    color: #fff;
}

.table-box {
    font-size: 0.8rem;
    /*overflow:auto;max-height:600px;*/
    overflow-x: auto;
}

    .table-box .table {
        /*min-width:100vw;*/
        max-width: 1480px;
        /*min-width: 800px;*/
    }

        .table-box .table th, .table-box .table td {
            text-align: center;
            color: #fff;
        }

        .table-box .table th {
            font-size: 0.9rem;
        }

        .table-box .table td {
            color: #333;
        }

    .table-box thead {
        background-color: #212529;
    }

.tabs {
    width: 100%;
}

    .tabs .nav-tabs .nav-item {
        font-size: 1rem;
        font-weight: bold;
    }

        .tabs .nav-tabs .nav-item .nav-link {
            background: rgba(51, 51, 51, 0.7);
            color: white;
            border: rgba(255, 255, 255, 0.7) solid 1px;
        }

            .tabs .nav-tabs .nav-item .nav-link.active {
                color: #fff;
                background: #634500;
            }

.ttype-0,
.ttype-1 {
}

.ttype-2,
.ttype-3 {
    color: blue !important;
}

.ttype-4 {
    color: green !important;
}

.ttype-5 {
    color: red !important;
}

.ttype-6 {
    color: darkcyan !important;
}

.ttype-7 {
    color: brown !important;
}

.form-back {
    padding: 0;
    text-align: right;
}

    .form-back .button {
        background: none;
        background-color: #542b1f;
        background-color: rgba(84,43,31,0.8);
        color: #fad861;
        border: 1px solid #fad861;
        text-align: center;
        vertical-align: middle;
        font-size: 16px;
        padding: 3px 10px;
        margin: 0;
        border-radius: 10px;
    }
    .form-back .button:hover{
        text-decoration: none;
    }
    
@media only screen and (max-width:966px) {

.form-group{
	display: flex;
	margin: 7px 0;
}
	.form-group label{
		flex-direction: row;
		width: 30%;
	}
	.form-group select, 
	.form-group input{
		flex-direction: row;
		width: 70%;
	}
	
}

@media only screen and (max-width:480px) {
	
.content{
	padding: 20px 5px;
}

.container{
	padding: 5px;
}
	
.tab-content{
	padding: 0;
}

.form-wrap{
	padding: 0;
}

.table td, .table th{
	padding: 3px;
}

}