body {
    font-family: 'Open Sans', sans-serif !important;
    font-size:13px;
    line-height: 16px;
}

.encrypted {
	color: green !important;
}

.mini_loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../img/loader_mini.gif') no-repeat;
}

.form_sub_title {
    font-style: italic !important;
    color:#555 !important;
    font-size: 16px;
    padding-left: 3px;
}

.tooltip-inner {
    text-align: left !important;
    max-width: 290px !important;
}

.pdf {
    background: url("../img/reldocs.png") -80px -100px no-repeat transparent;
    display: inline-block;
    margin: 0px;
    min-height: 16px;
    padding: 0px 0px 0px 24px;
}

.progress-bar {
    font-size: 13px;
    line-height: 23px;
}

.form_table {
    width: 100%;
    margin-bottom: 20px;
}
.form_table tr td {
    padding-bottom: 15px;
}
.form_table tr td:first-child {
    width: 175px;
    vertical-align: top;
    padding-top: 10px;
}
.form_table tr td:nth-child(2) .form-control {
    display: inline-block;
    font-size: 13px;
}
.form_table .btn-group .btn {
    font-size: 13px;
}


.from_to_table tr td {
    padding-bottom: 0;
}
.from_to_table tr td:first-child {
    width: 50px;
}
.from_to_table tr td:nth-child(2) {
    width: 120px;
    padding-right: 20px;
}
.from_to_table tr td:nth-child(3) {
    width: 30px;
}

.short_control, .bfh-datepicker-toggle {
    width: 250px;
}
.shorter_control {
    width: 140px;
    min-width: auto !important;
}
.shortest_control {
    width: 80px;
    min-width: auto !important;
}

/* =Bootstrap Fix
-----------------------------------------------------------------------------*/
a, a:hover, a:active {
	outline: none !important;
}
.top_navbar {
    background: #333333 !important;
    border: medium none currentColor;
    box-shadow: none;
    height: 35px;
    margin-bottom: 10px;
    color: #fff;
}
.navbar-brand {
    padding-top: 7px;
    font-size: 14px;
}
.icon-white {
	opacity: .5;
}
legend, .comments_title {
     border-bottom: 1px solid #0072DC;
     padding-bottom: 10px;
}
.inputError {
	color: #B94A48;
	border-color: #B94A48;
}
h4 {
	margin-bottom: 8px;
}
h4 i {
	position: relative;
	top: 2px;
}
/* Clearfix */
.group:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* =Body
-----------------------------------------------------------------------------*/
body {
	min-width: 940px;
	background: url(../img/bg.jpg) #f4f4f4;
        overflow-y: hidden;
}

/* =Helpers
-----------------------------------------------------------------------------*/
.bold {
	font-weight: bold;
}
.small, small {
	font-size: 11px;
}
.gray {
	color: #777;
}
.req, .red {
	color: #C43D48 !important;
}

.green {
	color: green !important;
}

.green_bg {
    background: #EaFaEa  !important;
}

.red_bg {
    background: #fee  !important;
}

.high_priority {
	color: #E78200;
}
.strike {
	text-decoration: line-through !important;
}
.black {
	color: #000;
}
a.black b.caret {
	border-top-color: #000 !important;
	border-bottom-color: #000 !important;
}
.w100 {
	width: 100%;
}
.w50 {
	width: 50%;
}
.last {
	margin-bottom: 0;
}
.tacenter {
	text-align: center !important;
}
.table-pills a.black {
	padding: 0 2px !important;
}
.tr_skip td {
	background-color: #fff !important;
	border-top: none;
	border-bottom: 1px solid #e4e4e4;
	font-weight: bold;
	font-size: 11px;	
}
#side_btn_stack {
	padding: 12px;
}
#side hr {
	border-bottom: 1px solid #e6eef5;	
	border-top: 1px solid #c1cee3;
}
.descr td {
	color: #777;
	font-size: 11px;
	padding-bottom: 12px;
}
div.descr {
	color: #777;
	font-size: 11px;
    margin-bottom: -5px;
}
table.forms td {
	padding-right: 20px;
}
.task_table_head td {
	line-height: 2em;
}

/* =Layout
-----------------------------------------------------------------------------*/
#wrap {
	position: relative;
	z-index: 1;
	padding: 0 18px;
	padding-top: 18px;
	background-color: #fff;
	box-shadow: 0 1px 5px #999;
	border-radius: 0 5px 5px 5px;
}
#loginbox {
	z-index: 1;
	width: 305px;
	margin: 50px auto;
	padding: 50px 70px;
	background-color: #fff;
	box-shadow: 0 1px 5px #999;
	border-radius: 5px;
}
#loginbox footer, #regbox footer {
	margin-top: 2em;
	color: #666;
}

#maintainance {
    width: 420px;
    margin: 200px auto 0;
    padding: 50px 70px;
    background-color: #fff;
    box-shadow: 0 1px 5px #999;
    border-radius: 5px;
    z-index: 99;
}

#show_login_form {
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 0;
    right: 0;
}

#regbox {
	z-index: 1;
	width: 840px;
	margin: 10px auto 50px auto;
	padding: 50px 70px;
	background-color: #fff;
	box-shadow: 0 1px 5px #999;
	/*border-radius: 1px;*/
}


#toptext {
	text-align: right;
	line-height: 40px;
}
#side {
	overflow: visible;
	background-color: #e6e9ed;
	border-radius: 5px;
	float: left;
	width: 18%;
	margin-bottom: 18px;
        float: left;
}
#box {
	overflow: auto;
}
#main {
	position: relative;
}
#area {
	float: right;
	width: 80%;
}
#content_header {
	padding-bottom: 10px;
}
#content_footer {
	padding: 0 0 18px 0;
}
#content_body {
	overflow: auto;

}
#content_footer .btn-group {
	display: inline-block;
}
#content_footer .pull-left {
	position: relative;
	top: 6px;
}
#content_footer .form-actions {
	margin: 0;
}
#content_footer .form-actions.horizontal {
  padding-left: 152px;
}

/* =Tabs
-----------------------------------------------------------------------------*/
#tabs {
	margin-bottom: 0;
	position: relative;
	z-index: 2;
}
#tabs .active a, #tabs .active a:hover {
	border: none;	
	background-color: #fff;
	font-weight: bold;
	color: #000;
	padding-bottom: 10px;
}
#tabs a {
	position: relative;
	background-color: #ececec;
	background-color: rgba(255, 255, 255, 0.6);
	color: #666;	
	color: rgba(0, 0, 0, .7);
}
#tabs a:hover {
	border: 1px solid transparent;
	background-color: #fff;
	background-color: rgba(255, 255, 255, 1);
	color: #000;	
	color: rgba(0, 0, 0, 1);	
}
#tabs .badge {
	margin-left: 6px;
	font-size: 11px;
}



/* =NavStacked
-----------------------------------------------------------------------------*/
#nav_stacked, .nav_stacked {
	margin-bottom: 18px;
}
#nav_stacked li, .nav_stacked li  {
	position: relative;
	text-shadow: 0 1px 0 #fff;
}
#nav_stacked .badge, .nav_stacked .badge {
	position: absolute;
	right: -8px;
	top: 5px;
	padding: 2px 5px 3px 5px;
	line-height: 1;
	font-size: 11px;
	font-weight: normal;
	color: #777;
	background-color: transparent;
}
#nav_stacked a, .nav_stacked a {
	color: #000;
	padding-right: 40px;
}
#nav_stacked .active a, #nav_stacked .active a:hover, .nav_stacked .active a, .nav_stacked .active a:hover {
	font-weight: bold;
	color: #000;
	background-color: #fff;
	background-color: rgba(255, 255, 255, .9);
	text-shadow: none;
}
#nav_stacked a:hover, .nav_stacked a:hover {
	background-color: #fff;
	background-color: rgba(255, 255, 255, .9);
}


/* =Cal
-----------------------------------------------------------------------------*/
#absolute-pills {
	position: absolute;
	top: 0;
	left: 0;
}
#cal_head {
	text-align: center;
	padding:  0;
	font-size: 14px;
	margin-bottom: 18px;
}
#cal_head span {
	margin: 0 6px;
}
#cal_table {
	margin: 0;
}
#cal_table thead td {
	font-weight: bold;
	border-bottom: 1px solid #ddd;
}
#cal_table td {
	padding: 5px;
	font-size: 10px;
	vertical-align: top;
}
.slowweek {
	color: #999;
}
#cal_table .today {
	background-color: #e9f1f6;
}
.cal_events div {
	padding: 1px 4px;
	color: #fff;
	background-color: #4e7db9;	
	font-size: 11px;
	cursor: pointer;

}
.mode_normal, .mode_low, .mode_high {
	padding: 1px 4px;
	color: #fff;
	margin-bottom: 1px;	
	border-radius: 4px;	
}
.mode_normal { background-color: #4e7db9; }
.mode_low { background-color: #68a896 !important; }
.mode_high { background-color: #b0586d !important; }

a.link_more_class {
	color: #000;
	display: block;
}
.show_cal_more {
	position: relative;
	top: -8px;
	left: -7px;
	z-index: 10000;
	font-size: 11px;	
}
.show_cal_more .ico_close {
	position: absolute;	
	top: -1px;
	right: 3px;
	font-size: 14px;
	color: #000;
}
.show_cal_more_box {
	position: absolute; 
	width: 100%; 
	padding: 7px;
	background-color: #fff; 
	border: 2px solid #ddd;
}

/*
	Forms
*/
.form_status_red {
	color: #c00;
	border-bottom-color: #c00;
}
.form_status_green {
	color: #2f982f;
	border-bottom-color: #2f982f;
}
.form_element_box {
	background: #f6f6f6;
	padding: 3px 7px;
	border: 1px solid #dcdcdc;
	margin-bottom: 3px;
	font-size: 11px;
	white-space: nowrap;
	cursor: move;
	float: left;
	width: 40%;
	white-space: nowrap;
	margin-right: 3%;
}
.form_element_box span {
	margin-right: 5px;
}

.form_blue_set, .fc_element_box:hover {
	background-color: #eff6ff;
}
.section_nohover .fc_element_box {
	cursor: default;
}
.section_nohover .fc_element_box:hover {
	background-color: transparent !important;
}

.fc_element_checkbox_class div {
	margin-bottom: 4px;
	margin-top: 1px;
}
.fc_element_checkbox_class div label {
	margin-left: 5px;
}
.fc_element_box {
	padding: 7px 10px;
	margin: 0 4px;
	margin-bottom: 4px;
	cursor: pointer;
}
.fc_element_desc {
	color: #777;
	font-size: 11px !important;
	padding-bottom: 5px !important;
	padding-top: 0px !important;	
}


/* =Icons
-----------------------------------------------------------------------------*/
.ico {
	width: 16px;
	height: 16px;
	line-height: 16px;
	display: inline-block;
	text-indent: -9999px;
	text-decoration: none;
	background-repeat: no-repeat !important;
}
.ico_unread {
	background: url(../img/icons/ico_unread.png);
        width:20px;
        background-position: 2px 2px;
        height:17px;
}

.ico_read {
	background: url(../img/icons/ico_read.png);
        width:20px;
        background-position: 2px 2px;
        height:17px;
}
.ico_online {
	background: url(../img/icons/ico_online.png);
}
.ico_offline {
	background: url(../img/icons/ico_offline.png);
}
.ico_remove_label {
	color: #666;
	position: relative;
	top: -2px;
	/*font-size: 12px;*/
}
.ico_remove_label:hover {
	color: #000;
}



/* =Fileicons
-----------------------------------------------------------------------------*/
.ico_file {
	padding-left: 20px;
	background-repeat: no-repeat !important;
	display: inline-block;
}

.ico_file_avi { background: url(../img/fileicons/avi.png); }
.ico_file_doc { background: url(../img/fileicons/doc.png); }
.ico_file_gif { background: url(../img/fileicons/gif.png); }
.ico_file_jpg { background: url(../img/fileicons/jpg.png); }
.ico_file_mov { background: url(../img/fileicons/mov.png); }
.ico_file_other { background: url(../img/fileicons/other.png); }
.ico_file_png { background: url(../img/fileicons/png.png); }
.ico_file_ppt { background: url(../img/fileicons/ppt.png); }
.ico_file_rar { background: url(../img/fileicons/rar.png); }
.ico_file_xls { background: url(../img/fileicons/xls.png); }
.ico_file_zip { background: url(../img/fileicons/zip.png); }
.ico_file_txt { background: url(../img/fileicons/txt.png); }
.ico_file_rtf { background: url(../img/fileicons/rtf.png); }
.ico_file_pdf { background: url(../img/fileicons/pdf.png); }
.ico_file_csv { background: url(../img/fileicons/csv.png); }
.ico_file_html { background: url(../img/fileicons/html.png); }



.ico_form_input { background: url(../img/forms/input.gif) !important; }
.ico_form_textarea { background: url(../img/forms/textarea.gif) !important; }
.ico_form_select { background: url(../img/forms/select.gif) !important; }
.ico_form_date { background: url(../img/forms/date.gif) !important; }
.ico_form_upload { background: url(../img/forms/upload.gif) !important; }
.ico_form_checkbox { background: url(../img/forms/checkbox.gif) !important; }
.ico_form_hr { background: url(../img/forms/hr.gif) !important; }
.ico_form_name { background: url(../img/forms/name.gif) !important; }
.ico_form_address { background: url(../img/forms/address.gif) !important; }
.ico_form_phone { background: url(../img/forms/phone.gif) !important; }
.ico_form_price { background: url(../img/forms/price.gif) !important; }
.ico_form_time { background: url(../img/forms/time.gif) !important; }
.ico_form_email { background: url(../img/forms/email.gif) !important; }
.ico_form_radio { background: url(../img/forms/radio.png) !important; }
.ico_form_text { background: url(../img/forms/textfield.png) !important; }
.ico_form_well { background: url(../img/forms/well.png) !important; }
.ico_form_h2_section { background: url(../img/forms/h2_section.png) !important; }



/* =Message
-----------------------------------------------------------------------------*/
.vatop {
	vertical-align: top;
}
.message_upic {
	float: left; 
	margin-right: 10px;
}
.message_actions {
	padding-top: 43px;
}
.message {	
	clear: both;
	position: relative;	
	
	margin-top: 5px;
	margin-bottom: 18px;
	
	padding: 1.5em;
	padding-bottom: 8px;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;			
}
.message p {
	margin-bottom: 10px;
}
.message_blue {
	background-color: #f5f9ff;
	border: 1px solid #dde6f0;	
}
.message_gray {
	background-color: #fafafa;
	border: 1px solid #dedede;	
}



.colorpicker_dialog {
	position: absolute; 
	z-index: 10000;
	background: #fff;
	
	padding: 5px;
	width: 210px;
	overflow: hidden;
	
	-webkit-box-shadow: 0 1px 3px #999;
	-moz-box-shadow: 0 1px 3px #999;
	box-shadow: 0 1px 3px #999;		
}
.colorpicker_item {
	width: 15px;
	height: 15px;
	cursor: pointer;
	float: left;
	font-size: 0;
	border: 2px solid #fff;
	padding: 0;
	line-height: 0;
}

.confirmbox { 
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0px 1px 5px #999999;
    padding: 40px 60px;
    width: 320px;
    z-index: 1;
    position:absolute;
    top:80%;
    margin-top: -200px;
    left:50%;
    margin-left: -220px;
}

#confirm_form_content {
    padding: 10px 0 0;
}

#confirm_form_content .your_number {
    padding: 0 0 10px 0;
}

#confirm_form_content .control-group {
    padding-bottom: 10px;
}

#new_phone input {
    display: inline-block;
}