/***** Roundcube|Mail basic styles *****/

body
{
  margin: 8px;
  background-color: #fff;
  color: #333333;
}

body.iframe
{
  margin: 0px;
  background-color: #FFF;
}

body.extwin
{
  margin: 10px;
}

body, td, th, div, p, h3, select, input, textarea
{
  font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

th
{
  font-weight: normal;
}

h3
{
  font-size: 18px;
}

a
{
  color: #1f75cc;
  outline: none;
}

a.button, a.button:visited, a.tab, a.tab:visited, a.axislist
{
  color: #333333;
  text-decoration: none;
}

a.tab
{
  width: 80px;
  display: block;
  text-align: center;
}

hr
{
  height: 1px;
  background-color: #666666;
  border-style: none;
}

select,
input[type="text"]{
  height: 24px;
  padding: 2px;
}

select,
input[type="text"],
input[type="button"],
input[type="password"],
textarea
{
  border: 1px solid;
  border-color: #e4e4ee;
  border-top-color: #aaadb2;  
  color: #333333;
  background-color: #ffffff;
}

input, textarea
{
  color: black;
  padding: 1px 3px;
}

input.button
{
  height: 26px;
  color: #2c7dcf;
  font-size: 11px;
  padding-left: 16px;
  padding-right: 16px;
  background: #f4fbff;
  border: 1px solid #aaccee;
}

input.button:hover
{
  background: #ddf1fd;
}

input.mainaction
{
  font-weight: bold;
  border: 1px solid #aaccee;
}

img
{
  border: 0;
}

.alttext
{
  font-size: 11px;
}

.hint
{
  color: #666;
  font-size: 11px;
}

/** common user interface objects */

#mainscreen
{
  position: absolute;
  top: 110px;
  right: 20px;
  bottom: 20px;
  left: 20px;
}

#header
{
  position: absolute;
  top: 8px;
  left: 19px;
  width: 170px;
  height: 40px;
  z-index: 100;
}

#taskbar
{
  position: absolute;
  top: 17px;
  right: 0;
  left: 0;
  height: 36px;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  z-index: 2;
  overflow: hidden;
}

#taskbar-contents {
  margin-left: 205px;
}

#taskbar-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: 2px solid #aaccee;
  z-index: 2;  
}

#taskbar a
{
  position: relative;
  display: block;
  float: left;
  height: 30px;
  font-size: 11px;
  color: #1f75cc;
  text-decoration: none;
  padding: 10px 18px 0 30px;
  margin: 2px 4px 0 0;
  background-color: #f4fbff;
  border: 1px solid #bfd9f2;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  font-weight: bold;
  z-index: 0;
  background-position: 5px 8px;
  background-repeat: no-repeat;  
}

#taskbar a.button-logout {
  float: right;
  border: none;
  background-color: #fff;
  top: -5px;
}

body#mail #taskbar a.button-mail,
body#addressbook #taskbar a.button-addressbook,
body#settings #taskbar a.button-settings {
  color: #000;
  border-color: #aaccee;
  border-width: 2px;
  background-color: #fff;
  margin-top: 0;
  border-bottom: none;
  z-index: 3;
}

#taskbar a:hover
{
  color: #333333;
}

#taskbar a.button-mail
{
  background-image: url(images/icons/taskbar_mail.png);
}

#taskbar a.button-addressbook
{
  background-image: url(images/icons/taskbar_addressbook.png);
}

#taskbar a.button-settings
{
  background-image: url(images/icons/taskbar_settings.png);
}

#taskbar a.button-logout
{
  background-image: url(images/icons/taskbar_logout.png);
}

#message
{
  position: absolute;
  display: none;
  top: -1px;
  left: 200px;
  right: 200px;
  z-index: 5000;
  opacity: 0.85;
}

#message div
{
  width: 400px;
  margin: 0 auto 0 auto;
  min-height: 22px;
  padding: 8px 10px 8px 46px;
}

#message div.notice,
#remote-objects-message
{
  background: url(images/display/icons.png) 6px 3px no-repeat;
  background-color: #F7FDCB;
  border: 1px solid #C2D071;
}

#message div.error,
#message div.warning
{
  background: url(images/display/icons.png) 6px -97px no-repeat;
  background-color: #EF9398;
  border: 1px solid #DC5757;
}

#message div.confirmation
{
  background: url(images/display/icons.png) 6px -47px no-repeat;
  background-color: #A6EF7B;
  border: 1px solid #76C83F;
}

#message div.loading
{
  background: url(images/display/loading.gif) 6px 3px no-repeat;
  background-color: #f4fbff;
  border: 1px solid #b9d5f1;
}

.box
{
  border: 1px solid #b9d5f1;
}

.boxtitle
{
  height: 20px !important;
  padding: 10px;
  /* border-bottom: 1px solid #999; */
  color: #333;
  font-size: 12px;
  font-weight: bold;
  overflow: hidden;
  /*background: url(images/listheader.gif) top left repeat-x #CCC;*/
}

.boxtitle .rightalign
{
  float: right;
}

.boxcontent
{
  padding: 15px 10px 10px 10px;
}

.boxcontent table td.title
{
  color: #2c84e1;
  padding-right: 10px;
}

.boxlistcontent
{
  position: absolute;
  top: 36px;
  bottom: 22px;
  left: 0;
  right: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.boxsubject
{
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  overflow: hidden;
  height: 22px;
  border-bottom: 1px solid #999;
  background: url(images/listheader.gif) top left repeat-x #CCC;
}

.boxfooter
{
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  overflow: hidden;
  height: 22px;
  border-top: 1px solid #cae0f5;
  background: #e9f4ff;  
}

.boxfooter a.button,
.boxfooter a.buttonPas
{
  display: block;
  float: left;
  width: 34px;
  height: 22px;
  padding: 0px;
  margin: 0;
  overflow: hidden;
  background: url(images/icons/groupactions.png) 0 0 no-repeat transparent;
  opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
}

.boxfooter a.groupactions
{
  background-position: 0 -26px;
}

.boxfooter a.buttonPas
{
  opacity: 0.35;
}

.pagenav
{
  min-width: 250px;
}

.pagenav span
{
  color: #2c84e1;
  font-size: 11px;
  text-shadow: white 1px 1px;
  white-space: nowrap;
}

.pagenav a.button,
.pagenav a.buttonPas
{
  display: block;
  float: left;
  width: 11px;
  height: 11px;
  padding: 0;
  margin: 1px;
  overflow: hidden;
  background: url(images/pagenav.gif) 0 0 no-repeat transparent;
  opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
}

.pagenav a.buttonPas {
  opacity: 0.35;
}

.pagenav a.firstpageSel {
  background-position: 0 -11px;
}

.pagenav a.prevpage {
  background-position: -11px 0;
}

.pagenav a.prevpageSel {
  background-position: -11px -11px;
}

.pagenav a.nextpage {
  background-position: -22px 0;
}

.pagenav a.nextpageSel {
  background-position: -22px -11px;
}

.pagenav a.lastpage {
  background-position: -33px 0;
}

.pagenav a.lastpageSel {
  background-position: -33px -11px;
}

#preview_pane_check {
  position: relative;
  top: 5px;
  cursor: pointer;
}

#preview_pane_checkbox {
  display: none;
}

.splitter
{
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  position: absolute;
  background: url(images/dimple.png) center no-repeat;
}

.splitter-h
{
  cursor: n-resize; cursor: row-resize;
  background-position: center 2px;
}

.splitter-v
{
  cursor: e-resize; cursor: col-resize;
  background-position: 2px center;
}

.popupmenu
{
  position: absolute;
  top: 32px;
  left: 90px;
  width: auto;
  display: none;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #1f75cc;
  padding: 4px;
  z-index: 240;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-box-shadow: 1px 1px 12px #999;
  -webkit-box-shadow: #999 1px 1px 12px;
}

.popupmenu ul
{
  margin: -4px 0;
  padding: 0;
  list-style: none;
}

.popupmenu ul li
{
  font-size: 11px;
  white-space: nowrap;
  min-width: 100px;
  margin: 3px -4px;
}

.popupmenu li a
{
  display: block;
  color: #a0a0a0;
  padding: 2px 10px;
  text-decoration: none;
  min-height: 14px;
}

.popupmenu li a.active,
.popupmenu li a.active:active,
.popupmenu li a.active:visited
{
  color: #333;
}

.popupmenu li a.active:hover
{
  color: #fff;
  background-color: #509EEA;
}

.darkbg
{
  background-color: #F2F2F2 !important;
}

.dropbutton {
  width: 42px;
  margin-right: 5px; 
}

.dropbutton,
.dropbutton span
{
  float: left;
  height: 26px;
 }

.dropbutton:hover
{
  background: url(images/dbutton.png) 0 0 no-repeat transparent; 
}

.dropbutton span
{
  width: 8px;
  background: url(images/dbutton.png) -56px 0 no-repeat transparent;
}

.dropbutton span:hover
{
  cursor: pointer;
  background-position: -74px 0;
}


/***** common table settings ******/

table.records-table thead tr td
{
  height: 20px;
  padding: 10px;
  vertical-align: middle;
  color: #000;
  background: #e9f4ff;
  font-size: 12px;
  font-weight: bold;
}

table.records-table tbody tr td
{
  height: 16px;
  padding: 2px 4px 2px 4px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;  
}

table.records-table tr
{
  /*background-color: #FFFFFF;*/
}

table.records-table tr.selected td
{
  color: #FFFFFF;
  background-color: #509eea;
}

table.records-table tr.focused td
{
}

table.records-table tr.unfocused td
{
  color: #FFFFFF;
  background-color: #b8b8b8;
}


/***** mac-style quicksearch field *****/

#quicksearchbar
{
  position: absolute;
  top: 70px;
  right: 20px;
  width: 182px;
  height: 24px;
  text-align: right;
  border: 1px solid #e4e4ec;
  border-top: 1px solid #aaadb2;
}

#searchreset
{
  position: absolute;
  top: 5px;
  right: 4px;
  text-decoration: none;
}

#searchmenulink
{
 position: absolute;
 top: 5px;
 right: 157px;
}

#quicksearchbar img
{
  vertical-align: middle;
}

#quicksearchbox
{
  position: absolute;
  top: 5px;
  left: 28px;
  width: 134px;
  height: 15px;
  font-size: 11px;
  padding: 0px;
  border: none;
}


/***** roundcube webmail pre-defined classes *****/

#rcmversion
{
  position: absolute;
  bottom: 10px;
  right: 20px;
  text-align: right;
  white-space: nowrap;
  font-size: 8pt;
  color: #999;
}

#rcmdraglayer
{
  min-width: 300px;
  width: auto !important;
  width: 300px;
  border: 1px solid #999999;
  background-color: #fff;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0.82;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-box-shadow: 1px 1px 12px #999;
  -webkit-box-shadow: #999 1px 1px 12px;
}

.draglayercopy:before
{
  position: absolute;
  bottom: -5px;
  left: -6px;
  content: " ";
  width: 14px;
  height: 14px;
  background: url(images/messageactions.png) -2px -128px no-repeat;
}

a.rcmContactAddress
{
  text-decoration: none;
}

a.rcmContactAddress:hover
{
  text-decoration: underline;
}

#rcmKSearchpane
{
  background-color: #F9F9F9;
  border: 1px solid #CCCCCC;
}

#rcmKSearchpane ul
{
  margin: 0px;
  padding: 2px;
  list-style-image: none;
  list-style-type: none;
}

#rcmKSearchpane ul li
{
  display: block;
  height: 16px;
  font-size: 11px;
  padding-left: 6px;
  padding-top: 2px;
  padding-right: 6px;
  white-space: nowrap;
  cursor: pointer;
}

#rcmKSearchpane ul li.selected
{
  color: #ffffff;
  background-color: #509eea;
}

#login {
  background: #fff;
  padding: 0;
  margin: 0;
}

#login-container {
  margin: 0;
  background: url(images/rari_logo_new.jpg) no-repeat center top;
  padding: 50px 0 673px  0;
}

#login #logo {
  position: absolute;
  right: 0;
  bottom: 20px;
}

#login-form
{
  margin: 0 auto 0 auto;
  width: 420px;
  border: 1px solid #aaccee;
  background: #e9f4ff;
  -moz-box-shadow: 3px 3px 4px #c0dcee;
  -webkit-box-shadow: 3px 3px 4px #c0dcee;
  box-shadow: 3px 3px 4px #c0dcee;
}

#login-form .boxtitle {
  border-bottom: 1px solid #aaccee;
  height: auto !important;
}

#login-contents {
  padding: 10px 20px 0 20px;  
}

#login-contents input[type="text"],
#login-contents input[type="password"] {
  height: auto;
}

#login-form table td {
  padding: 3px;
}

#login-form table td.title
{
  text-align: right;
  white-space: nowrap;
  color: #333;
  width: 1%;
}

#login-form table
{
  width: 100%;
  margin: 0;
}

#login-form table input {
  width: 99%;
  padding: 3px;
}

#login-button {
  text-align: right;
  padding: 6px 0 10px 0;
}

#login-button .button {
  height: auto;
  padding: 4px 20px 4px 20px;
}

#rcmloginuser, #rcmloginpwd, #rcmloginhost
{
  width: 200px;
}

#console
{
  opacity: 0.8;
}

.disabled
{
  color: #999;
}

font.bold
{
  font-weight: bold;
}


/***** onclick menu list *****/

ul.toolbarmenu
{
  margin: -4px 0 -4px 0;
  padding: 0;
  list-style: none;
}

ul.toolbarmenu li
{
  font-size: 11px;
  white-space: nowrap;
  min-width: 130px;
  margin: 2px -4px;
}

ul.toolbarmenu li a
{
  display: block;
  color: #a0a0a0;
  padding: 1px 12px 3px 28px;
  text-decoration: none;
  min-height: 14px;
}

ul.toolbarmenu li a.active,
ul.toolbarmenu li a.active:active,
ul.toolbarmenu li a.active:visited
{
  color: #333;
}

ul.toolbarmenu li input
{
  vertical-align: middle;
}

ul.toolbarmenu li hr
{
  color: #ccc;
  width: 130px;
  height: 1px;
  margin: 2px 1px 2px 1px;
}

ul.toolbarmenu li img
{
  float: left;
  margin: 0 2px;
}

div.popupmenu ul li.separator_below,
ul.toolbarmenu li.separator_below
{
  border-bottom: 1px solid #ccc;
  margin-bottom: 2px;
  padding-bottom: 2px;
}

div.popupmenu ul li.separator_above,
ul.toolbarmenu li.separator_above
{
  border-top: 1px solid #ccc;
  margin-top: 2px;
  padding-top: 2px;
}


/***** tabbed interface elements *****/

div.tabsbar,
#tabsbar
{
  position: absolute;
  top: 50px;
  left: 220px;
  right: 20px;
  height: 22px;
  /*border-bottom: 1px solid #999999;*/
  white-space: nowrap;
}

div.tabsbar
{
  top: 35px;
  left: 12px;
  right: 12px;
}

span.tablink,
span.tablink-selected
{
  float: left;
  height: 23px !important;
  height: 22px;
  overflow: hidden;
  /*background: url(images/tabs-left.gif) top left no-repeat;*/
}

span.tablink
{
  cursor: pointer;
}

span.tablink-selected
{
  cursor: default;
  background-position: 0px -23px;
}

span.tablink a,
span.tablink-selected a
{
  display: block;
  padding: 5px 10px 0 5px;
  margin-left: 5px;
  height: 23px;
  color: #555555;
  max-width: 185px;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  /*background: url(images/tabs-right.gif) top right no-repeat;*/
}

span.tablink-selected a
{
  cursor: inherit;
  color: #000000;
  background-position: right -23px;
}

fieldset
{
  margin-bottom: 1em;
  border: 1px solid #bfd9f2;
  padding: 4px 8px 9px 8px; 
}

legend
{
  color: #1f75cc;
}

fieldset.tabbed
{
  margin-top: 32px;
  padding-top: 12px;
}

.quota_text {
  text-align: center;
  font-size: 10px;
  color: #666;
  border: 1px solid #999;
  cursor: default;
}
.quota_bg { background-color: white; }
.quota_high { background-color: #F33131; }
.quota_mid { background-color: #F5AD3C; }
.quota_low { background-color: #91E164; }
.quota_text_high { color: white; }
.quota_text_mid { color: #666; }
.quota_text_low { color: #666; }

/* folder name edit box */

#folder-details #_name {
  width: 300px;
}

/* tabs */

#tabsbar
{
  position: absolute;
  top: 70px;
  left: 205px;
  right: 20px;
  height: 26px;
  white-space: nowrap;
}

span.tablink,
span.tablink-selected
{
  float: left;
  height: 26px !important;
  height: 22px;
  background: #f4fbff;
  border: 1px solid #bfd9f2;
  margin-right: 5px;
}

span.tablink-selected
{
  background: #fff;
}

span.tablink a,
span.tablink-selected a
{
  display: block;
  padding: 6px 20px 0 20px;
  color: #1f75cc;
  text-decoration: none;
  font-weight: bold;
}

span.tablink-selected a
{
  color: #000000;
  cursor: default;
}

/* login demo */

#loginDemoBox {
  position: fixed;
  top: 8px;
  left: 8px;
	color: #000;
  border: 1px solid #000;
  background: #FFFDEA;
  padding: 10px 14px 10px 14px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;  
  -moz-box-shadow: 1px 1px 12px #000;
  -webkit-box-shadow: #545454 1px 1px 12px;
  box-shadow: 1px 1px 12px #545454;
  font-size: 9px;
  z-index: 9999;
}

#loginDemoTitle {
  font-weight: bold;
  text-align: center;
  margin: 0 0 8px 0;
  font-size: 110%;
}

#loginDemoTitle a {
	position: absolute;
	top: 6px;
	right: 0;
	display: block;
	width: 16px;
	height: 16px;
	background: #FFFDEA url(images/demo_close.png) no-repeat left top;	
	padding: 0 6px 0 6px;
	text-decoration: none !important;
}

.loginDemoLine {
  margin-bottom: 4px;
  font-size: 9px;
}

.loginDemoLine span {
  font-weight: bold;
}

#mainscreen.help-box {
  background: #fff !important;
}

#taskbar a.button-help {
  background-image: url(images/help.png) !important;
}
