.mt-0 {
    margin-top: 0 !important;
}
.mt-1 {
    margin-top: 1rem !important;
}
.mt-2 {
    margin-top: 2rem !important;
}
.mt-3 {
    margin-top: 3rem !important;
}
.ml-1 {
    margin-left: 0.25rem !important;
}
.mr-1 {
    margin-right: 1rem !important;
}
.mr-2 {
    margin-right: 2rem !important;
}
.mr-3 {
    margin-right: 3rem  !important;
}



/* header */
nav.navbar{
    position: relative;
    /* background: #314259; */
    background:#8E4DB3;
    border-color: #ffffff;
    color: #fff;
}
nav.navbar.navbar-inverse .navbar-brand,
nav.navbar.navbar-inverse .btn-link{
    color: #fff;
    padding: 10px;
}
nav.navbar.navbar-inverse .navbar-nav > li > a{
    color: #fff;
}
nav.navbar.navbar-inverse .navbar-nav > li.navbar-right > a.notification{
    float: left;
    padding: 16px 5px;
}
/*nav.navbar.navbar-inverse .navbar-nav > li.navbar-right .fa{
    float: left;
    padding: 20px 5px;
}*/
nav.navbar.navbar-inverse .navbar-nav > li.navbar-right form{
    float: left;
}
nav.navbar.navbar-inverse .navbar-nav > .active > a{
    background-color: transparent;
    border-bottom: 2px solid #29CEC0;
}
/*.container > .navbar-header{
    width: 10%;
}*/
.avatar{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    /*border: 1px solid #fff;*/
    display: inline-block;
    object-fit: cover;
}
.navbar-inverse .navbar-nav > li.dropdown.user.user-menu > a,
.navbar-inverse .navbar-nav > li.dropdown.user.user-menu > a span{
    width: auto;
    display: inline-block;
    padding: 10px;
        border: 0;
}

.navbar-inverse .navbar-nav > li.dropdown.user.user-menu > a span{
    padding: 0 10px;
}
.navbar-header{
    padding: 0 20px;
}
.navbar-brand img{
    height: 100%;
}
.header-menu{
   /* width: 90%;*/
   float: right;
}
nav.navbar.navbar-inverse .btn-link.logout{
    padding:10px;
}

/* body */
body .wrap > .container {
    padding: 20px 15px 40px;
    min-height: 700px;
}
body{
    font-family: 'Kanit', sans-serif;
}
h1.head-title-login{
    text-align: center;
    color:#32435a;
    margin: 40px 0;
    font-family: 'Kanit', sans-serif;
}
#login-form{
    width: 50%;
    margin: 0 auto;
    border: 2px solid #3c4c62;
    padding: 40px;
    border-radius: 20px;
    font-family: 'Kanit', sans-serif;
}
/*#login-form.form-horizontal .form-group{*/
/*    margin: 0;*/
/*}*/
#login-form .forget-password{
    display: inline-block;
    color: #29CEC0;
    width: 100%;
    text-align: right;
    margin: 10px 0;
}
button.btn-login{
    background: #29CEC0;
    width: 100%;
    border: #29CEC0;
}

/* card */
.card{
    background:  #ebebeb;
    color:#080840;
    padding: 15px;
    width: 100%;
    display: inline-block;
}
.card:hover,
.card:focus{
    text-decoration: none;
    color: #314259;
}
img.icon-menu{
    width: auto;
    margin: 0 auto;
    display: block;
    padding: 15px;
    max-height: 100px;
}
p.title-menu{
    text-align: center;
    font-size: 1.8rem;
    color: #314259;
    padding: 0 20px;
    height: 50px;
}

.sidebar{
    background: #ebebeb;
    color:#080840;
    padding: 15px;
}
.sidebar ul{
    padding: 0;
    list-style-type: none;
    width: 100%;
    float: left;
}
.sidebar ul.list-news li{
    width: 100%;
    display: inline-block;
    /*margin-bottom: 10px;*/
}
.sidebar ul.list-news>li>a{
    display: block;
    float: left;
    margin-bottom: 10px;
    color: #000;
}
.sidebar ul.list-news>li>a:hover,
.sidebar ul.list-news>li>a:focus{   
    color: #000;
}
.sidebar ul.list-news img {
    width: 100%;

}
.sidebar ul .list-news-img {
    width: 40%;
    float: left;
}

.sidebar ul .list-news-detail{
    width: 60%;
    float: left;
    padding-left: 10px;
}
.sidebar ul .list-news-detail .due-date{
    font-size: 12px;
    margin-bottom: 0px;
    margin-top: 10px;
    width: 100%;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar ul .list-news-detail .due-date-has-score{
    font-size: 12px;
    margin-bottom: 0px;
    margin-top: 10px;
    width: calc(100% - 63px);
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar ul .list-news-detail .score{
    width: 63px;
    height: 40px;
    float: right;
    color: #fff;
    background-image: url('/images/SACA_icon-01.png');
    background-size: 100%;
    background-position: center right;
    background-repeat: no-repeat;

}
.sidebar .more-news{
    text-align: center;
    width: 100%;
    display: inline-block;
    border-top: 2px solid #29CEC0;
    padding-top: 10px;
    font-weight: bold;
    color: #29CEC0;
    text-decoration: none;
}
.sidebar ul .list-news-detail .list-news-topic{
    margin-bottom: 15px;
}

.sidebar ul .list-news-detail i.fa{
    color: #29CEC0;
    font-size: 12px;
}
.sidebar-head-news{
    border-bottom: 2px solid #314259;
    padding-bottom: 10px;
    font-weight: bold;
    color: #314259;
}
.sidebar ul.list-news img{
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    height: 80px;
}
.sidebar ul .list-news-detail .list-news-topic{
    min-height: 50px;
    font-size: 1.5rem;
}

/* footer */
footer.footer{
    background: #8E4DB3;
    color: #fff;
    width: 100%;
    height: auto;
    padding: 15px;
}
footer.footer .pull-left{
    padding: 15px 0;
}
footer.footer img.icon-store{
    height: 50px;
}


/*responsive*/
@media screen and (max-width: 992px) {
    .sidebar{
        width: auto;
        margin:30px;
    }
    .news-index .list-view .post-news .card .img-event{
        height: 125px;
    }
    .site-personnel .profile-preview{
        width: 100%!important;
    }
    .site-personnel .profile-info{
        margin-top: 20px;
        margin-left:0!important;
    }
    
    .home-overtime-form .home-overtime-create-form .form-group{
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
    } 

        
}
@media screen and (max-width: 768px){
   /* .container > .navbar-header{
        width: auto;
    }*/
    .header-menu{
        width: 100%;
        margin: 0;

    }
    .site-login #login-form{
        width: 100%;
    }
    .sidebar{
        margin:30px;
    }
    .sidebar ul.list-news img{
       height: 120px;
    }
    .sidebar ul .list-news-detail .list-news-topic{
        height: 90px;
    }
    .news-index .list-view .post-news .item{
        width: 50%;
    }
    .news-index .list-view .post-news .card .img-event{
        height: 175px!important;
    }

}

@media screen and (max-width: 475px){
    .news-index .list-view .post-news .item{
        width: 100%!important;
    }
    .news-index .list-view .post-news .card .img-event{
        height: 175px!important;
        width: 100%;
    }
}

/*News*/
.list-view .img-event img.thumbnail-news{
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    object-position: top;
    height: 175px;
}
.list-view .img-event img.thumbnail-news.default{
    object-position: top;
    -o-object-fit: contain;
    object-fit: contain;

}
.list-view a{
    display: inline-block;

}
.list-view .post-news .card{
    padding: 0;
    margin-bottom: 15px;
}
.list-view .post-news .item{
	width: 25%;
	float: left;
    display: block;     
    padding-right: 20px;
}
.list-view .post-news .item a{
    width: 100%;
}
.list-view .post-news .card h4{
        height: 50px;
    line-height: 26px;
        display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-view .post-news .card .img-event{
    height: 175px;
    display: inline-block;
   
}

.list-view .post-news .card .caption.card-body{
    display: inline-block;
    width: 100%;
    padding: 10px;
    height: 155px;
    max-height: 155px;
}
.list-view .post-news .card .icon-card{
    margin:0;
    font-size: 12px;
}
.list-view .post-news .card .icon-card:first-child{
	height: 34px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-view .post-news .card .icon-card i.fa{
    color: #29CEC0;
    width: 15px;
    text-align: left;
}
.news-index .pagination{
    /* display: inline-block; */
    padding-left: 0;
    margin: 20px auto;
    border-radius: 4px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.news-index .pagination > .active > a, 
.news-index .pagination > .active > span, 
.news-index .pagination > .active > a:hover, 
.news-index .pagination > .active > span:hover, 
.news-index .pagination > .active > a:focus, 
.news-index .pagination > .active > span:focus{
    background-color: #314259;
    border-color: #314259;
}

.profile-info-list .pagination{    
    display: flex;
    justify-content: center;
}
.profile-info-list .pagination > li > a,
.profile-info-list .pagination > li > span{
    font-size: 14px;
} 
.profile-info-list .pagination > .active > a, 
.profile-info-list .pagination > .active > span, 
.profile-info-list .pagination > .active > a:hover, 
.profile-info-list .pagination > .active > span:hover, 
.profile-info-list .pagination > .active > a:focus, 
.profile-info-list .pagination > .active > span:focus{
    background-color: #314259;
    border-color: #314259;
}
/*h4.head-news-title{
	margin: 20px 0;
}*/
.site-news-detail .preview-news-detail{
	display: inline-block;
    margin: 15px 0;
    width: 100%;
}
.site-news-detail .preview-news-detail img{
    margin: 0 auto;
    display: block;
    width: auto;
    max-width: 100%;
}
.site-news-detail .block-news-detail{
    padding-top: 15px;
}
.site-news-detail .block-news-detail .icon-card{
    font-size: 12px;
}
.site-news-detail .block-news-detail .icon-card span{
	padding-right: 15px;
    width: 50px;
    display: inline-block;
    font-weight: bold;
}
.site-news-detail .block-news-detail .icon-card i.fa{
    color: #1cafc6;
    width: 15px;
    text-align: left;
}
.site-news-detail .block-news-detail .news-detail{
	padding-top: 15px;
}
.notification-index .block-notification{
    background: #ebebeb;
    padding: 15px;
}

.notification-index .block-notification .notification-list .notification-item{
	background: #fff;
    padding: 5px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}
.notification-index .block-notification .notification-list .notification-item .notification-title{
	margin: 5px 0;
    width: calc(100% - 150px);
    float: left;
    color: #1cafc6;
}
.notification-index .block-notification .notification-list .notification-item .notification-date{
	margin: 5px 0;
    width: 150px;
    float: right;
    color: #949494;
}
.notification-index .block-notification .notification-list .notification-item .notification-text{
	width: 100%;
	color: #000;
    display: inline-block;
}

.table.table-dark thead{
	background: #8E4DB3;
}
.table.table-dark thead > tr >th > a{
	color: #fff;
    font-weight: normal;

}    
.table.table-dark > tbody > tr:nth-of-type(odd){
    background-color: #ebebeb;
}
.table.table-dark > tbody > tr:nth-of-type(even){
	background-color: #f9f9f9;
}
.table.table-dark thead > tr >th{
	border-top: 0;
    font-weight: normal;
}
.table.table-dark thead > tr >th{	
	color: #fff;    
} 
.table.table-dark tbody > tr >td .empty{
	    text-align: center;
}
.table.table-dark tbody > tr >td > .action-view,
.table.table-dark tbody > tr >td > .action-update,
.table.table-dark tbody > tr >td > .action-delete,
.table.table-dark tbody > tr >td > .action-print{
	display: inline-block;
    padding: 5px 8px;
    text-decoration: none;
    background-color: #fff;
}

.table.table-dark tbody > tr >td > .action-view{
    border: 1px solid #634D4D;
    color: #634D4D;
    font-size: 14px;
}


.table.table-dark tbody > tr >td > .action-update{
	border: 1px solid #ffe65f;
	color: #ffe65f;
}
.table.table-dark tbody > tr >td > .action-delete{
	border: 1px solid #db637a;
	color: #db637a;
}

.table.table-dark tbody > tr >td > .action-print{
    border: 1px solid #8E4DB3;
    color: #8E4DB3;
    font-size: 14px;
    margin-left: 10px;
}

.status-imported,
.status-pending,
.status-approved,
.status-failed,
.status-cancel{
	text-align: center;
    padding: 5px 25px;
    margin-bottom: 0;
    width: fit-content;
    width: -moz-fit-content;
}
.status-imported{
    background: #546db7;
    color: #fff;

}
.status-pending{
    background: #ffe65f;
    color: #000;

}
.status-approved{
    background: #5ed587;
    color: #fff;

}
.status-failed{
    background: #f24c6c;
    color: #fff;

}
.status-cancel{
    background: #adb3b5;
    color: #fff;
}
.table.table-dark thead > tr >th.action-column{
	color: #fff;
}
.attendance-index h1{
	/*margin-bottom: 15px;*/
	margin: 20px 0 40px 0;
}
.attendance-index h1 .btn-add{
    font-size: 18px;
    padding: 10px 15px;
    background: #1fb8cd;
    border: 0;
    color: #fff;
    float: right;
    text-decoration: none;
}
.block-overtime a.btn-add{
    font-size: 18px;
    padding: 10px 15px;
    background: #1fb8cd;
    border: 0;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}
.block-overtime a.btn-add-right{
    font-size: 18px;
    padding: 10px 15px;
   /* background: #337ab7;*/
    border: 0;
    color: #337ab7;
    text-decoration: none;
    display: inline-block;
    float: right;
}    
.block-overtime .list-overtime{
	display: block;
    float: left;
    width: 100%;
    margin: 10px 0;
}
.block-overtime .list-overtime .overtime-member{
    width: auto;
    float: right;
}

.block-overtime .list-overtime .overtime-approver{
	width: 100%;
    float: right;
}
.block-overtime .list-overtime a{
	font-size: 14px;
}
.overtime-form .create-form{
	display: block;
    float: left;
}
.overtime-form .overtime-create-form{
/*	margin-top: 35px;*/
    padding: 20px 15px;
    background: #ebebeb;
}
.overtime-form .overtime-create-form #overtime-compensation label{
    font-weight: normal;
    margin-right: 30px;
}
button.btn.btn-submit-form{
	float: right;
    margin-top: 25px;
    padding: 10px 25px;
    border-radius: 0;
    background: #1cafc6;
    color: #fff;
}
.form-group .form-control{
	background-color: #fff;
}
.overtime-form  .field-overtime-start_date,
.overtime-form .field-offsite-start_date,
.overtime-form  .field-leavedate-start{
	width: 49%;
    float: left;
    margin-right: 2%;
}
.overtime-form .field-overtime-end_date,
.overtime-form .field-offsite-end_date,
.overtime-form .field-leavedate-end{
	width: 49%;
    float: left;
}

.table.table-detail-view tr>th, 
.table.table-detail-view tr>td{
    border: 0;
}
.table.table-detail-view tr>th{
    width: 50%;
}
.table.table-detail-view tr>td .fa{
     color: #1cafc6;
}
.table.table-detail-view tr>td .fa.fa-clock-o{
    padding-left: 15px;
}
#detail-modal .modal-header{
	display: none;
/*	    border: 0;
    color: #1cafc6;*/
}
#failed-modal h4,
#detail-modal .detail-view h4{
	border: 0;
	font-size: 22px;
    font-weight: bold;
    padding-left: 10px;
    margin-bottom: 25px;
    color: #1cafc6;
}
#detail-modal .modal-body button.close{
    font-size: 28px;
}
.detail-view .create-date{
	display: block;
    width: 100%;
    text-align: right;
    padding-top: 20px;
    color: #8e8d8f;
}
.detail-view .create-date .fa.fa-calendar{
    padding-left: 15px;
}

.detail-view .create-date span{
	padding: 0 15px;
}
.user-menu  .dropdown-menu > li > a{
    text-align: left;
    padding: 7px 20px;
}
.user-menu  .dropdown-menu > li.user-header{
    border-top: 1px solid #e5e5e5;
}
.user-menu  .dropdown-menu{
    padding: 0;
        width: 100%;
}
.navbar-inverse .navbar-nav > .user-menu.open > a{
    background-color: #fff;
        border-bottom: 2px solid #fff;
    color:#080808; 
}
.btn-list-attendance{
	float: right;
    font-size: 16px;
    margin: 15px 0;    
    text-decoration: none !important;
}
.btn-approved{
border: 0;
    display: inline-block;
    text-decoration: none !important;
}
a.btn-approved:hover, a.btn-approved:focus{
	color: #fff;
}


.site-personnel h1.head-title-personnel{
	
    color:#32435a;
    margin: 0 0 40px 0;
    font-family: 'Kanit', sans-serif;
}
.site-personnel .profile-preview{
	background-color: #29CEC0;
    padding: 15px;
    color: #fff;
    width: calc(50% - 15px);
}
.site-personnel .profile-picture{
	max-width: 40%;
    display: block;
    float: left;
}
.site-personnel .profile-picture img{
	width: 100%;
	border: 5px solid #fff;
}
.site-personnel .profile-name{	
    display: inline-block;
    width: 60%;
    vertical-align: top;
    padding: 0 15px;
}

.site-personnel .profile-name .profile-info-list{
    padding: 0;
}
.site-personnel .profile-name h4{
    font-size: 24px;
    margin-top: 0;
}
.site-personnel .profile-name p{
	font-size: 20px;
}
.site-personnel .profile-info{
	background-color: #ebebeb;
    padding: 15px;
    margin-left: 15px;
}

.site-personnel .profile-info .profile-info-list,
.site-personnel .profile-name .profile-info-list,
.site-personnel .score-history .profile-info-list{
	list-style-type: none;
	font-size: 18px;
}
.site-personnel .score-history{
    margin: 20px 0;
    background: #ebebeb;
}
.site-personnel .score-history .profile-info-list{
    padding: 20px 0;
}
.site-personnel .profile-info .profile-info-list li{
	margin-bottom: 10px;
}
.site-personnel .profile-info .profile-info-list li:first-child{
    color: #555555;
}
.site-personnel .profile-info .profile-info-list li:last-child .profile-info-label{
    /* font-weight: bold; */
    font-size: 18px;
}
.site-personnel .profile-info .profile-info-list .profile-info-label,
.site-personnel .profile-name .profile-info-list .profile-info-label{
	width: 35%;
    display: inline-block;    
    vertical-align: top;
    font-size: 16px;
}

.site-personnel .score-history .profile-info-list .profile-info-label{
    
    font-size: 20px;
}
.site-personnel .profile-info .profile-info-list .profile-info-detail,
.site-personnel .profile-name .profile-info-list .profile-info-detail{
	width: 60%;
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
}
.site-personnel .profile-info .profile-info-list table>thead>tr,
.site-personnel .score-history .profile-info-list table>thead>tr{
	background-color: #29CEC0;
    color: #fff;
}
.site-personnel .profile-info .profile-info-list table>thead>tr>th{
	text-align: center;
    font-weight: normal;
    font-size: 18px;
    border: 0;
}
.site-personnel .profile-info .profile-info-list table>tbody>tr>td{
	font-size: 18px;
}
.site-personnel .score-history .profile-info-list table>thead>tr>th{
    font-weight: normal;
}
.site-personnel .score-history .profile-info-list table>tbody>tr>td{
    font-size: 14px;
    font-weight: normal;
    word-break: break-word;
    vertical-align: middle;
    color: #555555;
}
.site-personnel .score-history .profile-info-list table>tbody>tr>td:first-child{
    width: 50%;
}
.site-personnel .score-history .profile-info-list table>tbody>tr>td>p{
    margin: 0;
}
.form-group {
    display: inline-block;
    width: 100%;
}
.btn-report{
	background-color: #fff;
    border: 0;
    font-size: 14px;
    /*margin: 15px 0;*/
    text-decoration: none !important;
    cursor: pointer;
}
.report-compensation{
	margin-top: 30px;
}
.report-compensation label{
	padding-right: 35px;
}
.report-info{
    padding: 15px;
}
.report-info p{
	width: 100%;
    display: inline-block;
    padding: 15px 0;
}
.report-name,
.report-position,
.report-workgroup{
    width: 100%;
    float: left;
    padding: 5px 0;
    font-weight: normal;
    display: inline-block;
}

.overtime-report{
	border: 1px solid #aaa;
    width: 100%;
    display: block;
    float: left;
    padding: 15px;
}
.overtime-report h1{
	font-size: 24px;
    text-align: center;
}
.timeattendance-search{
	display: block;
    float: left;
    width: 100%;
    margin: 20px 0 15px 0;
}
.timeattendance-search .input-group{
    width: auto;
    float: left;
}
.timeattendance-search .input-group .form-group{
	/*width: 200px;*/
	width: auto;
    padding-right: 15px;
    display: block;
    float: left;
    margin: 0;
}
.timeattendance-search .input-group .form-group label{
	display: inline-block;
    float: left;
    padding: 7px 10px;
}
.timeattendance-search .input-group .form-group select{
	width: auto;
    display: inline-block;
    float: left;
}
.timeattendance-search .input-group button{
	display: block;
    float: left;
}
.print_report{
    margin-bottom: 20px;
}
#qrModal .modal-content{
    border: 0;
}
#qrModal .modal-header{
	background-color: #314259;
    color: #fff;
}
#qrModal .modal-body img{
    margin: 0 auto;
    display: block;
}
#qrModal .modal-header h5{
    font-size: 22px;
}
#qrModal .modal-footer{
	text-align: center;    
	background-color: #314259;
    color: #fff;
}
#qrModal .modal-header .fa-times{
	cursor: pointer;
}
#menuAttendanceMember,
#menuAttendanceApprover{
    font-size: 16px;
}
#menuAttendanceMember {
    /* background: #1fb8cd; */
    background: #29CEC0;
    width: 150px;
    text-align: center;
    display: inline-block;
}
#menuAttendanceApprover {
    /* background: #5ed587; */
    background: #F58402;
    width: 150px;
    text-align: center;
    display: inline-block;
}
#menuAttendanceMember span,
#menuAttendanceMember .caret,
#menuAttendanceApprover span,
#menuAttendanceApprover .caret{
    color: #fff;
}
#menuAttendanceMember .caret,
#menuAttendanceApprover .caret{
	margin-left: 10px;
}
#menuAttendanceMember.nav > li > a:hover, 
#menuAttendanceMember.nav > li > a:focus,
#menuAttendanceMember .open > a, 
#menuAttendanceMember .open > a:hover, 
#menuAttendanceMember .open > a:focus{
    background-color: #1fb8cd;

}
#menuAttendanceApprover.nav > li > a:hover, 
#menuAttendanceApprover.nav > li > a:focus,
#menuAttendanceApprover .open > a, 
#menuAttendanceApprover .open > a:hover, 
#menuAttendanceApprover .open > a:focus{
    background-color: #F58402;

}

.attendance-index .menu-attendace{
	    display: block;
    float: right;
}
table>tbody>tr>td .weekend{
    color: #f24c6c;
}
.icon-score{
    width: 20px;
    margin-right: 7px;
    margin-bottom: 5px;
}
.score-history .score-txt{
    padding: 10px 15px;
    display: inline-block;
    font-size: 16px;
}
.sidebar ul.list-news .score img{
    height: auto;
    width: 12px;
    display: block;
    float: left;
    margin: 15px 0 5px 15px;
}
.sidebar ul.list-news .score .score-amount{
    display: block;
    float: right;
    padding: 12px 10px 5px 0;
    font-size: 12px;
    margin: 0;
}

.block-datetime p{
    margin: 0;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.block-datetime{
    display: block;
    float: left;
    width: 100%;
}
.block-datetime-has-score{
    display: block;
    float: left;
    width: calc(100% - 75px);
}
.block-datetime-has-score .date,
.block-datetime-has-score .time{
    margin: 0;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.block-score {
    width: 75px;
    float: right;
    color: #fff;
    background-image: url(/images/SACA_icon-01.png);
    background-size: 100%;
    background-position: center right;
    background-repeat: no-repeat;
    position: relative;
    right: -15px;
    bottom: -10px;
    height: 50px;
}

.block-score img{
    height: auto;
    width: 15px;
    display: block;
    float: left;
    margin: 20px 0 15px 15px;
}

.block-score .score-amount{
    display: block;
    float: right;
    padding: 15px 10px 15px 5px;
    font-size: 16px;
}
#eventRegistrationModal .modal-content,
#eventFullApplicantModal .modal-content{
    border-radius: 3px;
}
#eventRegistrationModal .modal-body img,
#eventFullApplicantModal .modal-body img{
    width: 60px;
    display: block;
    margin: 10px auto;
}
#eventRegistrationModal .modal-footer,
#eventFullApplicantModal .modal-footer {
    padding: 15px;
    text-align: center;
    border-top: 0;
}
#eventRegistrationModal .modal-header,
#eventFullApplicantModal .modal-header  {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #e4e4e4;
    text-align: center;
}
#eventRegistrationModal .modal-header .modal-title,
#eventFullApplicantModal .modal-header .modal-title{    
    font-size: 22px;
}
#eventRegistrationModal .modal-content .btn-cancel,
#eventFullApplicantModal .modal-content .btn-cancel{ 
    background-color: #e4e4e4;   
    border-color: #e5e5e5;
    border-radius: 3px;
    color: #666666;
    font-size: 16px;
    font-weight: normal;
}
#eventRegistrationModal .modal-content .btn-submit,
#eventFullApplicantModal .modal-content .btn-submit{    
    background-color: #29CEC0;
    border-color: #72cedb;
    border-radius: 3px;
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
}
#eventFullApplicantModal{
    
    margin-top: 25vh;
}
#eventFullApplicantModal .modal-dialog{
    width: 400px;
}
#eventRegistrationModal .modal-body,
#eventFullApplicantModal .modal-body{
    color: #888888;
}
table.table-rank>thead>tr{
    background-color:#8e4db3;
    color: #fff;
}
table.table-rank>tfoot>tr{
    background-color: #29CEC0;
    color: #fff;
}
table.table-rank>tbody>tr.myscore_line {
    background-color: #29CEC0;
    color: #fff;
}
table.table-rank tr>td{
    border: 0;
    vertical-align: middle;
}
table.table-rank tr .profile-rank{
    margin-left: 15px;
}
table.table-rank > thead > tr > th{
    font-weight: normal;
    border: 0;
}
table.table-rank .rank_no{
    max-width: 200px;
    width: 200px;
}
table.table-rank .rank_no p{
    display: inline-block;
    width: 15px;
    margin: 0;
}
.myscore{
    padding-left: 15px; 
}
.btn-registration{
    color: #fff;
    background-color: #29CEC0;
    border-color: #46b8da;
    width: 300px;
    border-radius: 3px;
}
.btn-registration:hover,
.btn-registration:focus, 
.btn-registration.focus {
    color: #fff;
    background-color: #29CEC0;
    border-color: #46b8da;
}
.site-news-detail .tag-score{
    width: 200px;
    height: 30px;
    float: left;
    color: #fff;
    background-image: url('/images/bg-score-detail.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-x: -10px;
    background-position-y: -10px;
}
.site-news-detail .tag-score .score-label{
    padding: 5px 4rem 5px 0.75rem;
    display: inline-block;
    margin: 0;
}
.site-news-detail .tag-score .score-amount{
    width: auto;
    display: inline-block;
    margin: 0;
}
.site-news-detail .tag-score .icon-score{
    width: 15px;
    display: inline-block;
}
.user-menu .rank .icon{
    width: 13px;
    float: left;
    margin-top: 2px;
    margin-right: 4px;
}

.block-score.item-event{
    bottom: -5px;
}
.sweet-alert.showSweetAlert {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}
.sweet-alert.showSweetAlert h2{
    font-size: 24px;
    margin-top: 30px;
}

@media print {
    .breadcrumb,
    .print_report {
        display: none;
    }
    .overtime-report{
        border: 0 !important;
    }
    @page { margin: 0; }
    body { margin: 1.6cm; }
    #Header, #Footer,.Header, .Footer { display: none !important; }
    .block-overtime .list-overtime{
    	display: none;
    }
}

.home-overtime-create-form .form-group{
    width: 48%;
    margin-right: 2%;
    margin-bottom: 0;
}
.home-overtime-form .home-overtime-create-form{
    background: #ebebeb;
    padding: 20px 15px;
    display: flex;
    flex-flow: wrap;
}
.home-overtime-form .home-overtime-create-form h4,
.home-overtime-form .home-overtime-create-form .field-overtime-compensation{
    width: 100%;
}
.home-overtime-form{
    display: flex;
}
.home-overtime-form .home-overtime-create-form .field-submit{
    width: 100%;
}

.sidebar-statistic{
    margin-top: 30px;
}
@media(max-width: 1200px){
    .statistic{
        height: 170px !important;

    }
}
@media(max-width: 991px){
    .statistic{
        height: 370px !important;

    }
}
@media(max-width: 660px){
    .statistic{
        height: 320px !important;

    }
}
@media(max-width: 550px){
    .statistic{
        height: 280px !important;

    }
}
@media(max-width: 450px){
    .statistic{
        height: 230px !important;

    }
}

@media(max-width: 380px){
    .statistic{
        height: 200px !important;

    }
}