body {
    background: transparent url(../images/bg.png);
    color: #444;
}

.messages li { position: relative; min-height: 36px; margin-top: 20px; }
.messages li:first-child { margin-top: 0; }
.messages > li.divider { border-top: 1px solid #DFDFDF!important; margin: 20px 0 20px 0!important; min-height: 0; }
.messages > li.divider > span { background-color: #f5f5f5!important; }
.messages .by-user > a, .messages .by-me > a  { position: absolute; top: 0; display: block; }
.messages .by-user > a { left: 0; }
.messages .by-me > a { right: 0; }
.messages .by-user .arrow, .messages .by-me .arrow { width: 8px; height: 9px;  position: absolute;  top: 12px; }
.messages .by-user .arrow { background: url(../images/elements/other/messageArrow_left.png) no-repeat; left: -8px; }
.messages .by-me .arrow { background: url(../images/elements/other/messageArrow_right.png) no-repeat; right: -8px; }
.messages .by-user .area, .messages .by-me .area { box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; padding: 8px 12px; position: relative; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border: 1px solid; }
.messages .by-user .area { background: #fafeff; border-color: #b5cdd7; margin-left: 52px; } 
.messages .by-me .area { background: #fff; border-color: #dcdcdc; margin-right: 52px; } 
.messages .area > p { margin: 0; }
.by-user .pull-left > strong { color: #2c596d; }
.by-me .pull-left > strong { color: #393939; }
.info-row { font-size: 11px; color: #949494; margin-bottom: 4px; }
.info-row:after { content: ""; display: block; clear: both; }

.message { overflow: hidden; padding: 16px 0 8px; border-bottom: 1px solid #ddd; *zoom: 1; }
.message:first-child { padding-top: 0; }
.message-img { float: left; margin-right: 30px; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; overflow: hidden; }
.message p { margin: 0; }
.message-img img { display: block; }
.message-body { margin-left: 100px; }
.message .text { padding: 10px; border: 1px solid #e5e5e5; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; background: #fff; }
.message .attribution { margin: 6px 0 0; font-size: 11px; color: #666; }

.timeline-messages, .message { position: relative; }
.timeline-messages:before, .message:before, .message .text:before { content: ""; position: absolute; top: 20px; left: 97px; }
.timeline-messages:before { width: 2px; top: 0; bottom: 0; background: rgba(0,0,0,0.1); left: 90px; }
.message:before { width: 8px; height: 8px; border: 2px solid #fafafa; border-radius: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; margin: 32px 0 0 -12px; background: #ccc; }
.message:first-child:before { margin-top: 16px; }
.message:hover:before { background: #fa9e0e; }

.enter-message { position: relative; margin-top: 20px; margin-bottom: 4px; }
.enter-message-divider { height: 0; border-top: 1px solid #ddd; margin: 20px -16px; }
.enter-message.for-messages { margin-top: 0; }
.message-actions { margin-bottom: -5px; }
.message-actions:after { content: ""; display: block; clear: both; }
.enter-message textarea { width: 100%; background: #fff; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; display: block; border: 1px solid #d5d5d5;  box-shadow: 0 1px 1px #fafafa; -webkit-box-shadow: 0 1px 1px #fafafa; -moz-box-shadow: 0 1px 1px #fafafa; padding: 10px; color: #404040; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
.send-button { display: block; float: right; margin-top: 15px; }
.send-button .attach-link, .send-button .attach-photo { opacity: .4; filter: alpha(opacity=40); display: block; float: left; margin: 9px 0 0 12px; }
.send-button .attach-link:hover, .send-button .attach-photo:hover { opacity: 1; filter: alpha(opacity=100); -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; }
.send-button .attach-link { width: 12px; height: 12px; background: url(../images/elements/other/link.png) no-repeat; }
.send-button .attach-photo { width: 14px; height: 11px; background: url(../images/elements/other/photo.png) no-repeat; }
.send-button input[type=submit] { float: left; display: block; margin: 0 0 0 12px; }
.user-is-typing { float: left; color: #999; font-size: 11px; font-style: italic; margin-top: 18px; white-space: nowrap; }
.user-is-typing > img { display: block; float: left; margin: 4px 8px 0 0; }

.center {
     float: none;
     margin-left: auto;
     margin-right: auto;
}

.clear {clear:both;}

.mt10 {margin-top: 10px;}
.mt20 {margin-top: 20px;}
.mt50 {margin-top: 50px;}

.breadcrumb {
  padding: 7px 14px;
  margin: 0 0 18px;
  background-color: #fbfbfb;
  background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
  background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: linear-gradient(to bottom, #ffffff, #f5f5f5);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
  border: 1px solid #ddd;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
}
.breadcrumb li {
  display: inline-block;
  text-shadow: 0 1px 0 #ffffff;
  color: #666 !important;
}
.breadcrumb .divider {
  padding: 0 5px;
  color: #666 !important;
}
.breadcrumb .active a {
  color: #666;
}

.content-box {
	-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.15);
    box-shadow:0 1px 3px rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin-bottom:20px;
}

.content-box .content-box-header {
    background:#444;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-radius: 3px 3px 0px 0px;
    border-radius: 3px 3px 0px 0px; 
    -webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.2) inset;
    -moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.2) inset;
    box-shadow:0 1px 0 rgba(255, 255, 255, 0.2) inset;
    padding:0px;    
    padding-left:20px;
    border:1px solid #444;
    border-bottom:1px solid #ccc;
    border-top:1px solid #444;
    color:#eee;
    text-shadow: 0px 1px 0px #000;
    position:relative;
    overflow:auto;
}
.content-box .content-box-header h3{
    display:block;
    font-weight:normal;
    float:left;
    font-size:13px;
    margin:0;
}

.content-box .content-box-content {
    border:1px solid #E0E0E0;
    border-top:0;
    border-bottom:1px solid #d3d3d3;
    padding:20px;
    background-color:#fafafa;
    -moz-border-radius-topleft: 0px;
    -moz-border-radius-topright: 0px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -webkit-border-radius: 0px 0px 3px 3px;
    border-radius: 0px 0px 3px 3px; 
}

.menu ul { margin-left:0px;}
.menu ul li{ list-style:none;}

ul li.active a {
	background-color:#f9f9f9;
	border:1px solid #ddd;
	border-bottom:1px solid #D3D3D3;
	border-right:0;
    -webkit-box-shadow:0 1px 0 #FFFFFF inset, -2px 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow:0 1px 0 #FFFFFF inset, -2px 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow:0 1px 0 #FFFFFF inset, -2px 1px 2px rgba(0, 0, 0, 0.05);
	color:#b90000;
}
ul li.active a:hover {
	text-decoration:none;
	color:#b90000;
}


#nav {
	background:#444;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    -webkit-border-radius: 3px 3px 0px 0px;
    border-radius: 3px 3px 0px 0px; 
    -webkit-box-shadow:0 1px 0 rgba(255, 255, 255, 0.2) inset;
    -moz-box-shadow:0 1px 0 rgba(255, 255, 255, 0.2) inset;
    box-shadow:0 1px 0 rgba(255, 255, 255, 0.2) inset;
    color: #EEEEEE;
    width: 100%;
    z-index: 999;
	display: block;
    height: 30px;
	clear:both;
}

#mega {
    list-style:none;
    font-weight:bold;
    margin:0;
    padding: 0;
}

#mega li {
    float: left;
    margin-left: -1px;
    padding: 2px 2px 0 8px;
    position: relative;
    text-align: center;
    width: 10%;
    font-size: 13px;
}
#mega li:hover {
    background:#468692;
    border-bottom:0; /* border-bottom:0; and padding-bottom:1px; keeps <li> and <div> connected */
    margin-top:0px;
    z-index:1; /* shadow above adjacent li */
    color:#FFFFFF;
}

#current {
    background:#468692 !important;
    color:#FFFFFF;
}

#mega a {
    color:#000;
    outline:0;
    text-decoration:none;
    display:block;
    line-height:2em;
    font-weight: normal;
}
/* ----------- Hide/Show Div ---------- */
#mega div {
    position:absolute;
    left:-999em;
    margin-top:0px;
    width:350px;
    padding:0 10px 10px;
    border:1px solid #000;
    border-top:0;
    font-weight:normal;
    text-align:left;
    background:#468692;
}
#mega li:hover div {
    left:-1px;top:auto;
}
#mega li.dif:hover div {
    left:-221px;
}

#mega li a {
    color:#FFFFFF;
}

/* --------- Within Div Styles --------- */
#mega div h2 {
    background:#22252A;
    font-size:14px;
    padding:0 10px;
    margin:10px 0 5px 0;
    clear:both;
    float:left;
    width:330px;
    position:relative; /* makes above drop shadow */
}
#mega div p {
    float:left;
    width:150px;
    padding-left:10px;
    position:relative; /* makes above drop shadow */
    margin: 5px;
}
#mega div p a {
    text-decoration:none;
    float:left;
    clear:left;
    width:100%; /* For IE6/7 */
    line-height:1.6;
}

#mega div p a:hover {
    text-decoration:underline;
}

#mega .last {border-right:none;}

#navigation-small {
    clear:both;
    margin:auto;
    margin-top:5px;
    margin-bottom:5px;
    display: none;
}

.show {
    display:block;
}

#unreadNum{
    background-color:#B90000;
    width:20px;
    height:20px;
    display:none;
    border-radius:12px;
    -moz-border-radius:12px;
    -webkit-border-radius:12px;
    -khtml-border-radius:12px;
    font-size:13px;
    color:#fff;
    text-align:center;
    position: relative;
    right: -175px;
    top: -45px;
    z-index: 9;
}

#unreadNumDoc{
    background-color:#B90000;
    width:20px;
    height:20px;
    display:none;
    border-radius:12px;
    -moz-border-radius:12px;
    -webkit-border-radius:12px;
    -khtml-border-radius:12px;
    font-size:13px;
    color:#fff;
    text-align:center;
    position: relative;
    right: -485px;
    top: -45px;
    z-index: 9;
}

/* MESSAGES */
.msg-info, .msg-atten, .msg-ok, .msg-error { margin:3px 0; padding:10px 10px 10px 40px; -moz-border-radius:5px; -webkit-border-radius:5px; }
.msg-info { background:#ADC2F7 url(../images/icons/msg-info.png) 6px center no-repeat; border:1px solid #6D94F7; color:#03C; }
.msg-atten { background:#FAE673 url(../images/icons/msg-atten.png) 6px center no-repeat; border:1px solid #FEBD63; color:#C60; }
.msg-ok { background:#AEE893 url(../images/icons/msg-ok.png) 6px center no-repeat; border:1px solid #8EC46C; color:#060; }
.msg-error { background:#F4B8B5 url(../images/icons/msg-error.png) 6px center no-repeat; border:1px solid #C94042; color:#900; }
/* END OF MESSAGES */

#search{/*position:relative;top:-20px;*/}
#btns{height:40px;}

@media only screen and (max-width:980px){
    #mega {display:none;}
    #navigation-small {display: block;}
    #nav {height: 40px;}
}

@media only screen and (max-width:845px){
    #unreadNum{top: -85px;}
    #btns{height:70px;}
    #search{position:relative;top:0px;}
}

@media only screen and (max-width:785px){
    #unreadNum{top: -85px;}
    #btns{height:70px;}
    #search{position:relative;top:-60px;}
}

@media only screen and (max-width:767px){
    #unreadNum{top: -50px;}
    .noshow{display:none;}
    #nav {background:none;}
    #search{position:relative;top:0px;}
}

@media only screen and (max-width:550px){
    #unreadNum{top: -85px;}
    .mt20 {margin-top: 10px;}
    .noshow{display:none;}
}

@media print {
    .noprint {display:none;}
  a[href]:after {
    content: none;
  }
}


