@import url("jquery.ui.core.css");
@import url("jquery.ui.theme.css");
@import url("jquery.ui.datepicker.css");
@import url("jquery.ui.slider.css");
@import url("../common/css/libs/jquery.ui.timepicker/jquery-ui-timepicker-addon-1.5.5.css");

html, body {
  width:    100%;
  height:   100%;         
  padding:  0;
  margin:   0;
  overflow: visible; /* when page gets too small */
}

.application {
  width: 100%;
  height: 100%;
  min-width:  1064px;
  /*min-width: 928px; */
  position: relative;
  /*background: #DDD;*/
}

div#head-bar ul.dropdown-menu {
  left: -285px;
}

.account-header-bar {
  height: 40px;
  background-color: #f0f0f0;
}

.account-header-bar .title {
  font-family: "Helvetica Neue",Arial,sans-serif;
  font-size: 20px;
  font-weight: 200;
  text-rendering: optimizeLegibility;
  line-height: 1;
  padding-top: 11px;
  padding-left: 25px;
}

.account_footer {
  color: #999;
}
.account_footer a {
  color: #999;
  text-decoration:none;
}

.account_setting_toggle {
  margin: 20px 0;
}
.info-desc {
  color: #999;
  margin: 0px;
  display: inline;
}
.modal {
  top: 25%; 
}

/* facebook button */
a.fb_button, a.fb_button_rtl, .fb_button, .fb_button_rtl {
  text-decoration: none;
}
.fb_button_medium, .fb_button_medium_rtl {
  background-position: left -188px;
  font-size: 11px;
  line-height: 14px;
}
.fb_button, .fb_button_rtl {
  background: #29447E url(https://s-static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png);
  background-repeat: no-repeat;
  cursor: pointer;
  display: inline-block;
  padding: 0 0 0 1px;
  text-decoration: none;
  outline: none;
}
.fb_button .fb_button_text, .fb_button_rtl .fb_button_text {
  background: #5F78AB url(https://s-static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png);
  border-top: solid 1px #879AC0;
  border-bottom: solid 1px #1A356E;
  color: white;
  display: block;
  font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
  font-weight: bold;
  padding: 2px 6px 3px 6px;
  margin: 1px 1px 0 21px;
  text-shadow: none;
}

.dl-horizontal-sieveitem {
  *zoom: 1;
  margin-top: 2px;
}

.dl-horizontal-sieveitem:before,
.dl-horizontal-sieveitem:after {
  display: table;
  line-height: 0;
  content: "";
}

.dl-horizontal-sieveitem:after {
  clear: both;
}

.dl-horizontal-sieveitem dt {
  float: left;
  width: 60px;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl-horizontal-sieveitem dd {
  margin-left: 70px;
}
/* end facebook button */
li.submenu-head a {
  padding-left: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  white-space: nowrap;
}
li.submenu a {
  padding-left: 40px;
}
.nav-pills .sub-active > a {
  background-color: #D0EDF2
}
div#add-account-modal {
  top: 8%;
}

div.fb-controls {
  height: 22px;
}
a.unbind-fb {
  line-height: 22px;
}

.cancelDelete {
  line-height: 28px;
  padding-left: 5px;
  float: left;
}

div.perm-item {
  padding: 10px 0;
}
div.perm-item div.checkbox-col {
  width: 20px;
  text-align: right;
  float: left;
}
div.perm-item div.desc-col {
  float: left;
}

/* license */
form.license div.progress {
  display: inline-block;
  margin: 5px 0;
  width: 55%;
  margin-top: 0;
}
/* end license */

/* Usage Quota */
div#accountContainer .container-title {
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  width: 160px !important;
}

div#accountContainer .row {
  margin-bottom: 20px;
}

div#accountContainer .inline-muted {
  display: inline-block;
  text-align: right;
  margin-left: 0;
}

div#accountContainer .progress, div#accountContainer .bar {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

div#accountContainer .graph-container {
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

/* end Usage Quota */


/* override headbar css (bootstrap2.0.1) */
div#head-bar span.unread {
  padding: 0 4px;
}
/* end override headbar css (bootstrap2.0.1) */
div.vacationContain .control-label{
  width: 70px;
}

div.vacationContain .form-horizontal .controls{
  margin-left: 80px;
}

div.vacationContain .sub-container {
  padding-left: 70px;
}

.btn-group {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
}
.saveShowDone.active {
  color: #777;
}

.service-selection {
  text-align: center;
}

.service-selection a.service-btn {
  display: block;
}

.service-selection a.service-btn img {
  border: 1px solid transparent;
}

.service-selection a.service-btn img:hover {
  border: 1px solid #378ce6;
}

.service-selection a.service-other-btn {
  padding-top: 12px;
  padding-bottom: 8px;
}

.emaillist-control-section {
  width: 70px;
  margin-left: 10px;
  margin-right: -10px;
  text-align: center;
}

.medium-label {
  width: 170px!important;
}

.medium-controls {
  margin-left: 180px!important;
}

li.nav-header.nav-header-minor {
  font-size: 12px;
}

.account_menu.mailinfo a{
  overflow: hidden!important;
  text-overflow: ellipsis!important;
  -o-text-overflow: ellipsis!important;
  white-space: nowrap!important;
}


/* overried bootstrap 3 */
div#head-bar div.menu ul.app-list li:hover {
  max-height: 33px !important;
}
div#head-bar div.menu ul.app-list li.active:hover, 
div#head-bar div.menu ul.app-list li.active {
  max-height: 33px;
}

.menu .caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0 2px;
  vertical-align: middle;
}

.progress {
  background: #F7F7F7;
  box-shadow: none;
  border: 1px solid #EEE;
}

.progress .bar {
  background: #0E90D2;
}

.redactor_toolbar {
  box-shadow: none !important;
  border: 1px solid #EEE !important;
  width: 100%;
}
/* END overried bootstrap 3 */

/* Date picker */
#ui-datepicker-div {
  z-index: 3 !important;
}

.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
  opacity: 1 !important;
}

.hide {
  display: none;
}

.custom-label {
  width: 100px !important;
  margin-right: 10px;
}
/* END Date picker */