/************ MODAL Styling ************/

.modal-open {overflow: hidden;}

.ztop  {z-index: 999999 !important;}

.modal {
	display: none;
	overflow: auto;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	line-height: initial;
	color: #000;
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
}

.modal-dialog {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.modal.in .modal-dialog {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 0 auto;
	z-index: 1050;
	width: 96%;
	margin: 30px auto;	
	max-width: 1400px;
	border-radius: 10px;
	overflow: hidden;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1030;
	background-color: #FFFFFF;
}

.modal-backdrop.fade {opacity: 0; filter: alpha(opacity=0);}

.modal-backdrop.in {opacity: 0.8; filter: alpha(opacity=100);}

.modal-content {
	width: 100%;
	height: auto;
	min-height: 84vh;
	background-color: #FFF;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	position: relative;
}

#confirmationPopup .modal-content  {min-height: 0;}

.modal-header  {
	width: 100%;
	height: 74px;
	padding: 20px;
	background-color: #152950;
	background-image: url('../images/whitelogo.svg');
	background-repeat: no-repeat;
	background-position: center left;
	background-size: 200px auto;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9;
}

.modal-title  {
	width: auto;
	height: auto;
	float: left;
	color: #FFF;
	font-size: 22px;
	line-height: 34px;
}

.modal-buttons  {
	width: auto;
	height: auto;
	float: right;
}

.modal-buttons .btn  {
	width: auto;
	min-width: 100px;
	float: left;
	margin-right: 10px;
}

.modal_body_buttons .btn  {margin-right: 20px;} 

.modal-body  {
	width: 100%;
	height: auto;
	max-height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	padding: 94px 20px 20px 20px;
	overflow-y: scroll;
}

.modal-body .btn  {width: auto;}

.modal-body .column  {
	width: 50%;
	height: auto;
	float: left;
}

.modal-content .btnpanel  {padding: 1%;}

.modal-body .column:nth-child(1)  {padding-right: 2%;}
.modal-body .column:nth-child(2)  {padding-left: 2%;}

.modal-sidebar  {
	width: 280px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	padding: 94px 20px 20px 20px;
	overflow-y: scroll;
	background-color: #f7f7f7;
	border-right: 1px solid #c4c4c4;
	z-index: 8;
}

.modal-body-with-sidebar  {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	padding: 94px 20px 20px 300px;
	overflow-y: scroll;
}

#accountModal .modal-sidebar  {width: 380px;}

#accountModal .modal-body-with-sidebar  {padding-left: 400px;}

.modal_item  {
	width: 100%;
	height: auto;
	margin-bottom: 16px;
}

.modal_item .split  {
	width: auto;
	min-width: 140px;
	height: auto;
	float: left;
}

.modal_item .split:nth-child(1)  {margin-right: 20px;}
.modal_item .split:nth-child(2)  {min-width: 300px;}
.schedule_column .modal_item .split:nth-child(2)  {min-width: 70px !important;}

.modal_item input[type="text"]  {
	width: 100%;
	border-radius: 0px;
	font-size: 14px;
	margin: -3px 0 0 0;
	padding: 4px;
}

#mange_leave .modal_item input[type="text"]  {
	width: 45px !important;
	border-radius: 0px;
	font-size: 14px;
	margin: -3px 0 0 0;
	padding: 4px;
}

#mange_leave .modal_item .split:nth-child(2) {
    min-width: 50px !important; 
}

.modal_body_buttons .btn {max-width: 200px;}

.modal_item .label  {min-width: 130px;}

.modal_item .labelled_item  {min-width: 250px; margin-left: 8px;}

.modal_textarea  {
	width: 100%;
	min-width: 400px;
	height: auto;
	min-height: 200px;
}

.modal-footer  {
	width: 100%;
	height: auto;
	background-color: #FFF;
}

.modal-footer .btn  {
	width: 50%;
	height: auto;
	float: left;
	margin-right: 0;
	border-radius: 0px;
}

.modal-footer .btn:nth-child(1)  {border-right: 1px solid #82a43e;}
.modal-footer .btn:nth-child(2)  {border-left: 1px solid #82a43e;}







.sidebar_item  {
	width: 100%;
	height: auto;
	border: 1px solid #dbdbdb;
	padding: 0 10px;
	margin-bottom: 20px;
}

.sidebar_item_title  {
	width: 100%;
	height: auto;
	font-weight: 700;
	font-size: 18px;
	color: #152950;
	border-bottom: 2px solid #c4c4c4;
	padding: 8px 0;
}

.sidebar_item_body  {
	width: 100%;
	height: auto;
	padding: 8px 0;
}










#leave_nav  {
	width: 100%;
	height: auto;
}

.leave_nav_full  {
	width: 100%;
	height: auto;
	padding-bottom: 16px;
}

#leave_right  {
	width: 75%;
	height: auto;
	float: left;
	padding: 10px;
}

.leave_title  {
	width: 100%;
	height: auto;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 14px;
}

.leave_full  {
	width: 100%;
	height: auto;
}

#recentLeavesLog  {
	width: 100%;
	height: auto;
}

#add_leave_range  {
	width: 45%;
	height: auto;
	float: left;
}

.add_leave_range_item  {
	width: 100%;
	height: auto;
	padding-bottom: 8px;
}

.add_leave_range_item .split:nth-child(1)  {width: 30%; height: auto; float: left;}
.add_leave_range_item .split:nth-child(2)  {width: 70%; height: auto; float: left;}

.add_leave_range_item .split select  {width: 30%; min-width: 0px;}

#add_leave_breakdown  {
	width: 55%;
	height: auto;
	float: left;
	padding: 0 10px;
}

#add_leave_breakdown_title  {
	width: 100%;
	height: auto;
	padding-bottom: 12px;
	font-weight: 700;
	font-size: 20px;
}

.add_leave_breakdown_item  {
	width: 100%;
	height: auto;
	padding-bottom: 8px;
}


                



/************ Error Message Styling ************/

#errorPopup .modal-dialog  {
	width: 300px;
	height: auto;
	border-radius: 0;
}

#errorPopup .modal-content  {
	border: none;
	border-radius: 0;
	background-color: #F9FBFA;
}

#errorPopup .modal-body  {	
	padding: 20px 20px 20px 20px;	
	font-size: 14px;
	line-height: 24px;
	position: relative;
}

#sussessPopup .modal-dialog  {
	width: 300px;
	height: auto;
	border-radius: 0;
}

#sussessPopup .modal-content  {
	border: none;
	border-radius: 0;
	background-color: #F9FBFA;
}

#sussessPopup .modal-body  {	
	padding: 20px 20px 20px 20px;	
	font-size: 14px;
	line-height: 24px;
	position: relative;
}

#warningPopup .modal-dialog  {
	width: 300px;
	height: auto;
	border-radius: 0;
}

#warningPopup .modal-content  {
	border: none;
	border-radius: 0;
	background-color: #F9FBFA;
}

#warningPopup .modal-body  {	
	padding: 20px 20px 20px 20px;	
	font-size: 14px;
	line-height: 24px;
	position: relative;
}

#processingPopup .modal-dialog  {
	width: 300px;
	height: auto;
	border-radius: 0;
}

#processingPopup .modal-content  {
	border: none;
	border-radius: 0;
	background-color: #F9FBFA;
}

#processingPopup .modal-body  {	
	padding: 20px 20px 20px 20px;	
	font-size: 14px;
	line-height: 24px;
	position: relative;
}

#confirmationPopup .modal-dialog  {
	width: 300px;
	height: auto;
	border-radius: 0;
}

#sessionTimeOutPopup .modal-dialog  {
	width: 300px;
	height: auto;
	border-radius: 0;
}

#sessionTimeOutPopup .modal-footer .btn:nth-child(1) {width: 100% !important;}

#confirmationPopup .modal-content  {
	border: none;
	border-radius: 0;
	background-color: #F9FBFA;
}

#confirmationPopup .modal-body  {	
	padding: 20px 20px 20px 20px;	
	font-size: 14px;
	line-height: 24px;
	position: relative;
}

.popup_notification_container  {
	width: 300px;
	height: auto;
	position: relative;	
	padding: 45px 0 45px 0;
}

.error_color  {background-color: #8C1F27;}

.success_color  {background-color: #00834D;}

.warning_color  {background-color: #6AACDE;}

.popup_notification  {
	width: 90px;
	height: 90px;
	margin: 0 auto;
	background-size: 100%;
	background-position: center center;
	background-repeat: no-repeat;
}

.error_graphic  {
	background-image: url("../images/error.svg");
}

.success_graphic  {
	background-image: url("../images/success.svg");
}

.warning_graphic  {
	background-image: url("../images/error.svg");
}

.popup_exit  {
	width: 17px;
	height: 17px;
	position: absolute;
	top: 5px;
	right: 5px;
	background-color: transparent;
	border: none;
	background-image: url("../images/popupexit.svg");
	background-size: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
}






#errorPopup .modal-content,
#sussessPopup .modal-content,
#warningPopup .modal-content,
#processingPopup .modal-content,
#confirmationPopup .modal-content,
#sessionTimeOutPopup .modal-content  {
	min-height: 0;
	height: auto;
}

#id_modal_confirm_body,#id_modal_error_body,#id_modal_succ_body{
	height: auto;
}