:root {
    --black: #000;
    --blue: #1e90ff;
    --white: #fff;
    --light-gray: #f5f5f5;
    --lightgray: #eee;
    --gray: #333;
    --muted: #999;
    --dark: rgba(0,0,0,0.1);
    --bd-rad: 10px;
    --shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.1), 0px 4px 5px 0px rgba(0, 0, 0, 0.1), 0px 1px 10px 0px rgba(0, 0, 0, 0.1);
    --hr-line:rgba(0, 0, 0, 0.075) 0 1px;
    --danger: #dc3545;
    --success: #198754;
    --secondary: #6c757d;
    --primary: #0d6efd;
    --warning: #ffc107;
    --info: #0dcaf0;
    --dark: #212529;
    --template: #005599;


}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, Sarabun;
    text-decoration: none;
    outline: 0;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: #f4f6fa;
    /* background: linear-gradient(0deg, #d3d3d3, #fff, #fff); */
}


main {
    flex-shrink: 0;
    padding: 20px;
    flex: 1;
}

.login {
    /* margin: 0 auto; */
    padding: 20px 30px;
    min-width: 280px;
    max-width: 425px;
    border-radius: var(--bd-rad);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    grid-gap: 16px;
    flex: 1;
    background-color: var(--white);
}


.center {
    text-align: center;
}

.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.text-red {
    color: var(--red);
}
.text-green {
    color: var(--green);
}
.fs-1 {
    font-size: 26px;
}
.fs-2 {
    font-size: 24px;
}
.fs-3 {
    font-size: 22px;
}
.fs-4 {
    font-size: 20px;
}
.fs-5 {
    font-size: 18px;
}
.fs-6 {
    font-size: 16px;
}
.fs-7 {
    font-size: 14px;
}
.fs-8 {
    font-size: 12px;
}



.card-box-body {
    background: var(--white);
    /* padding: 12px 20px; */
    box-shadow: var(--hr-line);
    /* font-size: 20px; */
    /* font-weight: bold; */
}
.card-box-footer {
    background: var(--white);
    /* padding: 12px 20px; */
    border-radius: 0 0 var(--bd-rad) var(--bd-rad);
    /* box-shadow: var(--hr-line); */
    font-size: 20px;
    font-weight: bold;
}

.title-card {
    padding: 12px 20px 0px 20px;
    font-size: 32px;
    font-weight: bold;
}
.subtitle-card {
    padding: 0px 20px 12px 20px;
    /* font-size: 25px; */
    /* font-weight: bold; */
}


@media (min-width:768px) {
    .card-box-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
@media (max-width:768px) {
    .card-box-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width:420px) {
    .card-box-container {
        grid-template-columns: 1fr;
    }
}

.kenber {
    color: var(--danger);
}
.elearning {
    color: var(--template);
}

.text-red {
    color: var(--danger);
}

.text-green {
    color: var(--success);
}
.text-primary {
    color: var(--primary);
}

.text-blue {
    color: var(--blue);
}

.text-gray {
    color: var(--gray);
}
.text-secondary {
    color: var(--secondary);
}
.text-muted {
    color: var(--muted);
}

.padding-card {
    padding: 15px 20px!important;
}

.header {
    /* position: sticky; */
    /* height: 60px; */
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    z-index: 1000;
    vertical-align: middle;

}
.header label {
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
    display: none;
}


.header .logo {
    font-weight: bolder;
    font-size: 50px;
    color: var(--black);
    padding: 0 20px;
    height: 100%;
    align-content: center;
    display: flex;
    align-items: center;
}

.header .logo .logo-part {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    grid-gap: 4px;

}

.header .logo .logo-part i {
    font-size: 84px
}

.header .logo .logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    line-height: 0.85;
}

.header .logo .logo-text .sub-text {
    font-size: 35px;
    letter-spacing: 4px;
}

.fs-36 {
    font-size: 36px;
}
.fs-company {
    font-size: 15px;
    font-weight: 200;
    color: #636e72;
}

.cog{ background:url(/assets/img/cog.svg) no-repeat;     
    width: 70px;
    height: 70px;
    background-size: 70px;
	-webkit-animation: cog 60s infinite;			
	-moz-animation: cog 60s infinite;
	-ms-animation: cog 60s infinite; 			
	animation: cog 60s infinite;
	-webkit-animation-timing-function: linear;	
	-moz-animation-timing-function: linear;		
	-ms-animation-timing-function: linear;
	animation-timing-function: linear	
}
@-webkit-keyframes cog {
    100%{ -webkit-transform: rotate(360deg)}
    }
    @-moz-keyframes cog {
    100%{ -webkit-transform: rotate(360deg)}
    }
    @-ms-keyframes cog {
    100%{ -webkit-transform: rotate(360deg)}
    }
    @keyframes cog {
    100%{ 
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}



.flex-card {
    display: flex;
    grid-gap: 20px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-item {
    box-shadow: var(--shadow);
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--bd-rad);
    max-width: 350px;
    min-width: 350px;
    height: 140px;
    flex-grow: 1;
    transition: all 0.5s ease;

}
.go-link {
    text-align: right;
    transition: all 0.2s ease;
}
.menu-title {
    display: flex    ;
    align-items: baseline;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    grid-gap: 6px
}
.flex-item:hover {
    cursor: pointer;
    background-color: #e9f5ff;
    transition: all 0.5s ease;
    .menu-title {
        transition: all 0.5s ease;
    }
    .go-link {
        transform: translateX(10px);
    }
}


.mt-1 {
    margin-top: 8px;
}
.mt-card {
    margin-top: 20px;
}




.fs-34 {
    font-size: 34px;
}
.fs-39 {
    font-size: 39px;
}

.fw-normal {
    font-weight: normal;
}