body.login-bg{
    background-color: #2a3542;

}

a::active{
  color:#000;
}
.login-bg .h2, .login-bg h2{
    color: #fff;
}

#sidebar-menu ul li a .fas, #sidebar-menu ul li a .fab, #sidebar-menu ul li a .far{
    display: inline-block;
    font-size: 18px;
    line-height: 17px;
    margin-left: 3px;
    margin-right: 15px;.
    text-align: center;
    vertical-align: middle;
    width: 20px;
}

.card-header h3{
    float: left;
}

.card {
    font-size: 1rem;
}

.card form{
  overflow-y: auto;
}

.ta-center{
    text-align: center;
}

.footer{
    text-align: center !important;
}

#avatar_container {
    height: 202px;
  }
  
  .user-avatar {
    width: 80px;
    height: 80px;
    margin: 2em auto;
    display: block;
  }
  
  .user-avatar, .user-avatar-nav {
    border-radius: 50%;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
  }
  
  .dropzone {
    position: relative;
  }
  
  #avatar_container .dz-preview {
    display: none;
  }
  
  .dropzone, .dropzone * {
    box-sizing: border-box;
  }
  
  .dropzone {
    min-height: 150px;
    border: 2px solid rgba(0,0,0,.3);
    background: #fff;
    padding: 20px;
  }
  
  .dropzone.dz-clickable {
    cursor: pointer;
  }
  
  #avatar_container .dropzone {
    border: 1px dashed rgba(0,0,0,.3);
    background: hsla(0,0%,100%,.05);
    height: 180px;
    padding: 0;
    border-radius: 3px;
  }
  
  
  .dropzone.dz-clickable * {
    cursor: default;
  }
  
  .dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message * {
    cursor: pointer;
  }
  
  #avatar_container .dz-message {
    margin-top: -20px 1em 0;
    padding: 0;
    text-align: center;
  }
  
  #avatar_container .dz-message.dz-default {
    margin: 0 2em;
  }
  
  select.form-control option{
    padding: 5px;
  }

  .selectize-control{
    padding: 0px;
  }

  .selectize-dropdown{
    padding: 0px;
  }

  .selectize-dropdown-content{
    width: 100%;
    background-color: #fff;
    border: 1px solid #d0d0d0;
  }

  .card-body{
    background-color:#fff;
  }

  .add_event_button{
		position: absolute;
		width: 55px;
		height: 55px;
		background: #ff5722;
		border-radius: 50px;
		bottom: 40px;
		right: 55px;
		box-shadow: 0 2px 5px 0 rgba(0,0,0,0.3);
		z-index: 5;
		cursor:pointer;
	}
	.add_event_button:after{
		background: #000;
		border-radius: 2px;
		color: #FFF;
		content: attr(data-tooltip);
		margin: 16px 0 0 -137px;
		opacity: 0;
		padding: 4px 9px;
		position: absolute;
		visibility: visible;
		font-family: "Roboto";
		font-size: 14px;
		visibility: hidden;
		transition: all .5s ease-in-out;
	}
	.add_event_button:hover{
		background: #ff774c;
	}
	.add_event_button:hover:after{
		opacity: 0.55;
		visibility: visible;
	}
	.add_event_button span:before{
		content:"";
		background: #fff;
		height: 16px;
		width: 2px;
		position: absolute;
		left: 26px;
		top: 20px;
	}
	.add_event_button span:after{
		content:"";
		height: 2px;
		width: 16px;
		background: #fff;
		position: absolute;
		left: 19px;
		top: 27px;
	}

  .dhx_matrix_cell div.load-marker{
		position: absolute;
		width: 40%;
		height: 25px;
		transform: translate(70%, 20%);
		line-height: 25px;
		text-align: center;
		border-radius: 7px;
		color: white;
	}

	.load-marker-no{
		background: #e0e0e0;
	}
	.load-marker-light{
		background: #aed581;
	}
	.load-marker-high{
		background: #ff8a65;
	}

  body.adminbody-void{
    min-height: 100vh;
  }

  /* schedule table start */
  .opt-tools {
    width: 25px;
    right: -21px;
    position: absolute;
    border: 1px solid #E8E8E8;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  .opt-edit, .opt-trash, .opt-clone {
    height: 50%;
    line-height: 25px;
    text-align: center;
    font-size: 13px;
    cursor: pointer;
  }
  .opt-edit {
    border-bottom: 1px solid #E8E8E8;
    border-top-right-radius: 8px;
    background-color: #fff;
    color: #ff8e00;
  }
  
  .opt-edit:hover {
    color: #fff;
    background-color: #ff8e00;
  }
  .opt-trash {
    border-bottom: 1px solid #E8E8E8;
    background-color: #fff;
    color: #cc0000;
  }
  .opt-trash:hover {
    color: #fff;
    background-color: #cc0000;
  }
  .opt-clone {
    border-bottom-right-radius: 8px;
    background-color: #fff;
    color: #7a1fd7;
  }
  .opt-clone:hover {
    color: #fff;
    background-color: #7a1fd7;
  }
  
  /* LOCK HEADER AND FIRST COLUMN */
  .table td,
  .table th {
    padding: 5px !important;
  }
/*    
  th:first-child {
    position: sticky;
    left: 0;
    z-index: 1030;
  }
  td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
  }
*/    

  thead th.week {
    position: sticky;
    top: -1px;
    z-index: 1020;
  }
  
  thead th.week.weekend {
    color: #ff0000;
  }
  thead th.week.sum {
    color: #3e5569;
  }
  thead th.office {
/*    
    color: #fff;
    background-color: #28a745 !important;    
*/    
    position: sticky;
    top: 33px;
    z-index: 1020;
  }
  thead th.cal-userinfo{
    color: #fff;
    background-color: #2a3542 !important;    
    position: sticky;
    top: 35px;
    z-index: 1020;
  }


  /* ---------- END (LOCK HEADER AND FIRST COLUMN ) --------- */
  .datetimepicker {
    width: 70% !important;
    height: 70% !important;
  }
  
  .cal-container {
    max-width: 900px;
    max-height: 500px;
    overflow: auto;
    margin: auto;
  }
  .cal-table {
    position: relative;
    border: solid #ebebeb;
    border-width: 0 1px 0 0;
    overscroll-behavior: contain;
  }
  .cal-thead {
    top: 0px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.04);
  }

/*  .cal-thead.fixed {
    position: fixed;
    z-index: 9999;
  }
*/  
  .table-responsive{
    overflow-y: auto;
  }

  .cal-viewmonth {
    font-size: 16px;
    background: #fdfdfd;
    width: 150px;
    height: 50px;
  }
  .cal-toprow {
    color: #3e5569;
    background-color: #f7f9fb !important;
    border: 1px solid #ebebeb !important;
  }
  
  .cal-viewmonth,
  .cal-toprow {
    font-weight: 700 !important;
    text-align: center;
    vertical-align: middle !important;
  }
  
  .cal-userinfo {
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.05);
  }
  
  .cal-tbody .cal-userinfo {
    min-width: 50px !important;
    text-align: right;
    color: hsla(210, 5%, 40%, 1);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.03em;
    background: #fdfdfd;
    padding: 0.3em;
    border: 1px solid #ebebeb;
    text-align: center;
  }

  .cal-tbody .cal-userinfo.stuffview{
    position: sticky;
    left: 0;
    z-index: 10;
  }

  .cal-tbody .cal-userinfo .txt-job{
    font-size: 14px;
    color: #3587c1;
  }

  .cal-tbody .cal-userinfo .txt-user{
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
  }
  
  .cal-usersheader {
    height: 20px;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.05);
    min-width: 150px !important;
    text-align: left;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.03em;
    padding: 0.3em;
    background-color:#389fe8;
    color: #fff;
  }
  
  .weekend {
/*    background-color: #f7f9da; */
  }

  .cal-toprow.weekend {
/*    background-color: #f7f9da !important; */
  }

  .table-bordered td, .table-bordered th {
    border: 1px solid #dee2e6;
  }

  .drag {
    z-index: 10;
    cursor: all-scroll;
  }
  .span-info {
    display: inline-block;
    padding: 0.25em 0.4em;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    width: 25px;
    background-color: red;
    cursor: pointer;
  }
  
  .ui-draggable-dragging {
    z-index: 9999 !important;
  }
  
  .cal-usercounter {
    bottom: 0;
    right: 0;
    position: absolute;
    text-align: right;
    border-radius: 0px;
    border: 2px thick red;
  }
  
  .cal-userbadge {
    border-radius: 0;
    font-weight: 600;
    font-size: 11px;
  }
  
  /* USER TASKS */
  .details {
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #ebecee;
    padding: 0px 0px 5px 10px;
    margin: 2px;
    z-index: 20 !important;
  }
  
  .details-uren {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    margin: 0;
    right: 0px;
    text-align: right;
    padding-right: 10px;
  }
  
  .details-task {
    margin-top: 5px;
    margin-bottom: 2px;
    font-size: 12px;
    padding: 2px 5px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 2px;
    width: 94%;
  }
  /* schedule table end */
  table td .details-task {
/*    min-height: 48px; */
  }

  .checkbox label, .radio label, label{
    color: inherit;
  }

  
  .modal-content .input-group{
    flex-wrap: nowrap;
  }

  .form-control, .form-group .form-control{
    border: solid 1px #ced4da;
    background-image:unset;
    margin-bottom: 0;
    background-color: #fff;
  }

  .justify-center{
    justify-content: center;
  }

  .spinner {
    height: 60px;
    width: 60px;
    margin: auto;
    display: flex;
    position: absolute;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, .15);
    border-right: 6px solid rgba(0, 174, 239, .15);
    border-bottom: 6px solid rgba(0, 174, 239, .15);
    border-top: 6px solid rgba(0, 174, 239, .8);
    border-radius: 100%;
    top: 50vh;
    margin-left: 60px;
  }

  @-webkit-keyframes rotation {
    from {
      -webkit-transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(359deg);
    }
  }
  
  @-moz-keyframes rotation {
    from {
      -moz-transform: rotate(0deg);
    }
    to {
      -moz-transform: rotate(359deg);
    }
  }
  
  @-o-keyframes rotation {
    from {
      -o-transform: rotate(0deg);
    }
    to {
      -o-transform: rotate(359deg);
    }
  }
  
  @keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }

  #overlay {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
  }
  
  /* schedule table start */
  .opt-tools-bottom {
    width: 100%;
/*    
    left: 0;
    bottom: 0;
    position: absolute;
*/    
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .opt-add {
    color: #0f9df7;
    padding: 1px 5px;
    border-radius: 2px;
    cursor: pointer;
  }

  .opt-add:hover {
    color: #fff;
    background-color: #0f9df7;
  }

  .table td.ui-droppable{
    padding-bottom: 25px !important;
    position: relative;
    z-index: 0 !important;
  }

  .color-box{
    width: 30px;
    height: 30px;
  }

  .ui-draggable-dragging{
    z-index: 999;
  }

  .table thead th{
    z-index: 100;
    border-top: none !important;
    border-bottom: none !important;    
  }

  .table thead th.cal-toprow.week:nth-child(odd){
    background-color: #fb7e6d !important;
    color: #fff;
  }

  .table thead th.cal-toprow.week:nth-child(even){
	background-color: #ffffff !important;
  }

  .table thead th#changemonth.cal-toprow.week{
    background-color: #ffffff !important;
    position: sticky;
    left: 0;
    z-index: 150;
  }

  #modal-version-list table tr th{
    background-color: #fb7e6d;
    color: #fff;
    text-align: center;
    z-index: 15;
  }

  #modal-version-list table tr td{
    text-align: center;
  }

  .pagination{
    justify-content: center;
  }

  .no-result{
    text-align: center;
  }
  
  .office-panel{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 30px 10px 15px 10px;
    border: dashed 1px #ced4da;
    position: relative;
    margin-top: 30px;
    background-color: #e6f4fd;
  }

  .office-panel .panel-title{
    position: absolute;
    top:-15px;
    left: 15px;
    z-index: 100;
    background-color: #fff;
    padding: 0 5px;
    border-radius: 2px;
  }

  .office-panel .btn-add-office{
    position: absolute;
    top:-15px;
    right: 15px;
    z-index: 100;
  }

  .office-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .office-list .office-item{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 5px 0;
  }
  .office-list .office-item label{
    width:10%;
    margin-right: 10px;
    margin-bottom: 0;
    text-align: right;
  }
  .office-list .office-item select{
    width:30%;
  }

  .office-list .office-control{
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .office_checkbox_list{
    margin-top: 10px;
    display: none;
    border: dashed 1px #cccccc;
    padding: 20px 10px 10px 10px;
    margin-top: 15px;
    position: relative;
    text-align: left;
  }

  .office_checkbox_list .title{
    position: absolute;
    margin-top: -32px;
    background-color: #fff;
  }

  .office_checkbox_list label{
    margin-right: 10px;
    margin-bottom: 0;
  }

  .srch_week_part{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .srch_week_panel{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border:  solid 2px #e5e5e5;
    border-radius: 5px;
    padding: 5px;
    margin-left: 3px;
  }

  .srch_week_panel label{
    margin-right:10px;
  }

  .srch_week_panel label:last-child{
    margin-right: 5px;
  }

  .srch_week_panel label input[type=checkbox]{
    margin-right: 5px;
  }

  .search-panel{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* width: 1050px; */
    margin:0 auto 0 auto;
    justify-content: center;
    font-size: 13px;
    padding-bottom: 5px;
  }

  .search-panel .btn{
    font-size: 13px;
    margin-bottom: 0;
    padding: 0.2rem 0.5rem;
  }

  .search-panel .form-control{
    padding: 0.2rem 0.3rem;
    height: calc(1.5em + 0.3rem + 2px);
    font-size: 13px;
  }

  .search-panel select{
    max-width: 150px;
  }

	@media only screen and (max-width: 1210px){
    .search-panel{
      width: 100%;
    }

  }

  .card-header {
    padding: 0.5rem 1rem 1px 1rem;
  }

  td.total-hours{
    background-color:#eeeeee;
  }

  .total-hours{
    text-align: center;
    font-weight: bold;
    font-size: 14px;
  }
  .total-hours .no-blank{
    color: #007bff;
  }

  .dropdown-item.active, .dropdown-item:active{
    color: inherit;
  }

  .container-fluid{
    padding-right: 3px;
    padding-left: 3px;
  }

  #changemonth{
    width: 120px;
  }

  .row-control{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .row-control span{
    margin-left: 5px;
  }

	@media only screen and (max-width: 1000px){
		.add_event_button{
			bottom: 5vw;
			right: 5vw;
		}
  
	}

  .cal-toprow_custom {
    color: #ebebeb;
    background-color: #2a3542 !important;  
    font-weight: 600 !important;
    font-size: 13px;
    text-align: center;
    vertical-align: middle !important;
  }

  .txt-job{
    font-size: 12px;
  }