html,
body{
    font-family: 'Kanit', sans-serif;
    font-weight: 200;
    font-size: 15px;
    color: #555;
}

body{
    display:flex;
    flex-direction:column;
    height:100vh;
}

/* --------------------------- common -------------------------- */

* {
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
    -webkit-box-sizing: border-box;
    -mox-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

a{
    text-decoration: none;
    color: #555;
}

a:hover{
    box-shadow: 0 8px 10px rgba(48, 45, 162,.3);
    transform: scale(1.01);
}

ul {list-style-type: none;}

hr {
    border-top: 1px solid #ccc;
    border-bottom: none;
    margin-bottom: 12px;
}

/* --------------------------- use case boxes -------------------------- */

div.use_case_container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
}

div.use_case_container a{
    /* border: 1px solid #302DA2; */
    background-color: #F2E4FA;
    display: inline-block;
    border-radius: 7px;
    text-align: center;
    margin-right: 2%;
    font-weight: 400;
    font-size: 18px;
    color: #302DA2;
    padding: 5% 0;
    width: 20%;
}

div.use_case_container a:last-child{margin: 0px;}

/* --------------------------- header -------------------------- */

header{
    /* background-color: #f39c11; */
    background-color: #bbb;
    position: fixed;
    height: 55px;
    right: 0px;
    left: 0px;
    top: 0px;
}

header nav.main_menu{
    margin: 0 0 0 20px;
    float: left;
}

header nav ul li,
header nav ul li a{
    line-height: 55px;
    cursor: pointer;
    height: 55px;
    float: left;
    color: #fff;
}

header nav ul li:hover,
header nav ul li.active{
    /* background-color: #e78f02; */
    background-color: #a4a4a4;
}

header nav.main_menu ul li{
    letter-spacing: 0.5px;
    padding: 0 25px;
}

header nav.main_menu ul li svg{
    padding-left: 5px;
    font-size: 11px;
}

header nav.user_menu{float: right;}
header nav.user_menu ul{float: left;}
header nav.user_menu ul li{padding: 0 10px;}

div.user_container{
    background-image: url('../images/profile-man.jpg');
    background-position: center;
    margin: 10px 25px 10px 15px;
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
    height: 35px;
    width: 35px;
    float: left;
}

/* --------------------------- content -------------------------- */

div.content{
    margin-top: 50px;
    padding: 20px;
}

h1{
    margin-bottom: 12px;
    font-weight: 200;
    font-size: 30px;
    color: #4d565c;
}

div.btn_container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

div.btn_container a.btn{
    display: inline-block;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 5px 15px;
    margin-right: 10px;
}

div.btn_container a:last-child{margin-right: 0;}

div.btn_container a.btn.datumo_btn{
    background-color: #302DA2;
    border: 1px solid #302DA2;
    font-weight: 400;
    color: #fff;
}

/* --------------------------- table -------------------------- */

div.table_container{
    width: 100%;
    overflow-y: scroll;
}

table{width: 100%;}
table.tapoi{width: 1550px;}

table,
tr,
th{
    border-collapse: collapse;
    border: 1px solid #ddd;
}

thead {background-color: #f5f5f5;}

th,
td{
    padding: 10px 15px;
    font-weight: 300;
    font-size: 14px;
}

th{
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

td.datumo_filling{
    background-color: rgba(243,203,16, 0.2);
    border: 1px solid rgba(243,203,16, 0.3);
    color: #dea840;
}

td.datumo_cleaning{
    background-color: rgba(243,147,1, 0.2);
    border: 1px solid rgba(243,147,1, 0.3);
    color: #f37901;
}

td.datumo_column{
    background-color: rgba(179,106,230, 0.2);
    border: 1px solid rgba(179,106,230, 0.3);
    color: #2f26a5;
}

td.datumo_column:last-of-type{border-right:1px solid rgba(179,106,230, 0.3);}
