
.widget {
    margin-bottom: 18px;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 4px #eee;
    -moz-box-shadow: 0 0 4px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 4px #eee;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.2);
    -khtml-box-shadow: 0 0 4px #eee;
    -khtml-box-shadow: 0 0 4px rgba(0,0,0,0.2);
    -pie-box-shadow: 0 0 4px #ccc;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    zoom: 1;
}
.widget header {
    background: #e1e1e1;
    background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#e1e1e1));
    background: -moz-linear-gradient(top, #fafafa, #e1e1e1);
    -pie-background: linear-gradient(top, #fafafa, #e1e1e1);
    border: 1px solid #bbb;
    color: #333;
    font-size: 13px;
    text-shadow: 0 1px 0 #fff;
    margin: 0;
    padding: 0 10px;

    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -khtml-border-top-left-radius: 5px;
    -khtml-border-top-right-radius: 5px;
    border-radius: 5px 5px 0 0;
    position: relative;
}
.widget header h2 {
    font-size: 13px;
    line-height: 30px;
    margin: 0;
}
.widget section {
    background: #fafafa;
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;

    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -khtml-border-bottom-left-radius: 5px;
    -khtml-border-bottom-right-radius: 5px;
    border-radius: 0 0 5px 5px;
    position: relative;
}
.widget section {
    padding: 10px;
}

.widget.modal {
    display: none;
    width: 300px;
    top: 100px !important;
}

/**
 * Tabs
 */

/* root element for tabs  */
.tabs { 
    list-style:none; 
    margin:0 !important; 
    padding:0;
    height:30px;
    border-bottom:1px solid #aaa;    
}

/* single tab */
.tabs li { 
    float:left;     
    text-indent:0;
    padding:0;
    margin:0 2px 0 0 !important;
    list-style-image:none !important;
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -khtml-border-top-left-radius: 4px;
    -khtml-border-top-right-radius: 4px;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

/* link inside the tab. uses a background image */
.tabs a {
    background: #ddd;
    background: -moz-linear-gradient(top,  #eee,  #ddd);
    background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ddd));
    -pie-background: linear-gradient(top,  #eee,  #ddd);
    border-bottom: 1px solid #aaa;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    -moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
    font-size:11px;
    display:block;
    height: 29px;  
    line-height:30px;
    width: 111px;
    text-align:center;    
    text-decoration:none;
    color:#000;
    padding:0px;
    margin:0px;    
    position:relative;
    text-shadow: 0 1px 0 #fff;
    top:0px;

    -webkit-background-clip: padding-box;
}

.tabs a:active {
    outline:none;        
}

/* when mouse enters the tab move the background image */
.tabs a:hover {
    background: #ddd;    
    -pie-background: #ddd;    
}

/* active tab uses a class name "current". it's highlight is also done by moving the background image. */
.tabs .current, .tabs .current:hover, .tabs li.current a {
    border-bottom: 1px solid #fff;
    background: #fff;
    background: -webkit-gradient(linear, left top, left bottom, from(#e1e1e1), to(#fff));
    background: -moz-linear-gradient(top,  #e1e1e1,  #fff);
    -pie-background: linear-gradient(top,  #e1e1e1,  #fff);
    cursor:default !important; 
    color:#000 !important;
    text-shadow: 0 1px 0 #fff;
}

/* tab pane styling */
.panes {
    border:1px solid #aaa;
    border-top:0;
}
.panes section {
    display:none;       
    padding:15px 10px;
    min-height:100px;
    background-color:#fff;
}

/**
 * Calendar
 */
/* calendar root element */
#calroot {
    background-color:#fff;
    -moz-box-shadow: 0 0 4px #eee;
    -moz-box-shadow: 0 0 4px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 4px #eee;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.2);
    -khtml-box-shadow: 0 0 4px #eee;
    -khtml-box-shadow: 0 0 4px rgba(0,0,0,0.2);
    -pie-box-shadow: 0 0 4px #ccc;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    font-size:11px;
    margin-top:-1px;
    width:205px;
    z-index:10000;
    zoom: 1;
}

/* head. contains title, prev/next month controls and possible month/year selectors */
#calhead {    
    background: #e1e1e1;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fdfeff), color-stop(0.5, #e1e1e1), color-stop(0.5, #d2d2d2), color-stop(1, #a1a2a4));
    background: -moz-linear-gradient(top, #fdfeff 0%, #e1e1e1 50%, #d2d2d2 50%, #a1a2a4 100%);
    -pie-background: linear-gradient(top, #fdfeff 0%, #e1e1e1 50%, #d2d2d2 50%, #a1a2a4 100%);
    border: 1px solid #bbb;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -khtml-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    color: #333;
    font-size: 13px;
    height:22px;
    margin: 0;
    padding:2px 0;
    position: relative;
    text-shadow: 0 1px 0 #fff;
} 

#caltitle {
    float:left;
    text-align:center;
    width:162px;
    line-height:20px;
}

#calnext, #calprev {
    display:block;
    width:20px;
    height:20px;
    background:transparent url(../images/prev.gif) no-repeat scroll center center;
    float:left;
    cursor:pointer;
}

#calnext {
    background-image:url(../images/next.gif);
    float:right;
}

#calprev.caldisabled, #calnext.caldisabled {
    visibility:hidden;    
}

/* year/month selector */
#caltitle select {
    font-size:10px;    
}

#calbody {
    background: #fafafa;
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;

    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -khtml-border-bottom-left-radius: 5px;
    -khtml-border-bottom-right-radius: 5px;
    border-radius: 0 0 5px 5px;
    padding: 3px;
    position: relative;
}

/* names of the days */
#caldays {
    height:14px;
    border-bottom:1px solid #ddd;
}

#caldays span {
    display:block;
    float:left;
    width:28px;
    text-align:center;
}

/* container for weeks */
#calweeks {
    background-color:#fff;
    margin-top:4px;
}

/* single week */
.calweek {
    clear:left;
    height:22px;
}

/* single day */
.calweek a {
    display:block;
    float:left;
    width:27px;
    height:20px;
    text-decoration:none;
    font-size:11px;
    margin-left:1px;
    text-align:center;
    line-height:20px;
    color:#666;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    -khtml-border-radius:3px;
    border-radius:3px;
} 

/* different states */
.calweek a:hover, .calfocus {
    background-color:#ddd;
}

/* sunday */
a.calsun {
    color:red;        
}

/* offmonth day */
a.caloff {
    color:#ccc;        
}

a.caloff:hover {
    background-color:rgb(245, 245, 250);        
}


/* unselecteble day */
a.caldisabled {
    background-color:#efefef !important;
    color:#ccc    !important;
    cursor:default;
}

/* current day */
#calcurrent {
    background-color:#498CE2;
    color:#fff;
}

/* today */
#caltoday {
    background-color:#333;
    color:#fff;
}



/**
 * Inputs and Validation
 */


#form .btn-primary {

    border: 1px solid #276A9E;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6) inset, -1px -1px 1px rgba(0, 0, 0, 0.1) inset;
    color: #FFFFFF;
  padding:2px 2px;
     line-height: 22px;
     width:130px;
  
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
    margin-top:32px;
    
 }  
#form  .btn-warning {

    border: 1px solid #276A9E;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6) inset, -1px -1px 1px rgba(0, 0, 0, 0.1) inset;
    color: #FFFFFF;
  padding:2px 2px;
     line-height: 22px;
    width:150px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
    margin-top:32px;
    
 } 
 
 
#form hr {
    border-top-color: #CBCCCD;
    width:283px;
}


input, textarea, select {
    outline: none;
}

fieldset {
    
}

fieldset legend {
    
}

.form label {
	margin-top:2px!Important;
	float: left;
  line-height:1em;
    text-align: left;
    max-width: 130px;
  float: left;
	vertical-align:top!Important;
	
	
  
}

.form label small {
   
}

.form .action {
   
}

.form input, .form textarea, .form select {
   
   
}

label em {
    color: red;
    font-style: normal;
}

input.half,select.half,textarea.half {
    width:50%;
}
input.full,select.full,textarea.full {
    width:95%;
}

input {
   
}
select, textarea, input[type=text], input[type=password], input[type=email], input[type=url], input[type=date], input[type=number], input[type=time], input[type=date], input.date {
	border:1px solid #ccc;
    
}
select {
    
}
textarea {
   
}

input.full {
   
}

.invalid {
    border: 1px solid red !important;
     -moz-box-shadow:0 0 4px #744646!important;;
    -webkit-box-shadow:0 0 4px #744646!important;;
}

.form-error {
    -moz-box-shadow: #DDD 0px 0px 6px;
    -webkit-box-shadow: #DDD 0px 0px 6px;
    box-shadow: #DDD 0px 0px 6px;
    background: none repeat scroll 0 0 #ec6f23;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    display: none;
    font-size: 11.444px;
    height: 16px;
    padding: 4px 7px;
    z-index: 9999;
  
    
    font-weight: bold;
    line-height: 14px;
    padding: 2px 4px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
 
    -moz-box-shadow:0 0 7px #666;
    -webkit-box-shadow:0 0 7px #666;
    
        
}
.form-error p {
    color: #fff;
    display: block;
    margin: 0px;
    line-height: 13px;
   
}
.form-error em {
    display:block;
    width:0;
    height:0;
    border:5px solid;
    border-color:transparent #ec6f23 transparent transparent;

    /* positioning */
    position:absolute;
    top: -10px;
    left:20px;
    -moz-transform:rotate(90deg);
-webkit-transform: rotate(90deg);
}


/**
 * Speech Bubbles
 */

.speech-bubble, .tooltip, .popupballoon {
    position:relative;
    padding:10px;
    margin:1em 0 1em;
    color:#000;
    background:#ddd; /* default background for browsers without gradient support */
    
    /* css3 */
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    border-radius:5px;
    min-height: 20px;
}

.speech-bubble.left {
    margin-left:20px;
}

/* creates triangle */
.tooltip:before, .popupballoon:before {
	content:"";
	display:block; /* reduce the damage in FF3.0 */
	position:absolute;
	bottom:-31px; /* value = - border-top-width - border-bottom-width */
	left:75px; /* controls horizontal position */
	width:0;
	height:0;
	border:15px solid transparent;
	border-top-color:#dd6611;
}


/* creates the larger triangle */
.tooltip.left:before {
	top:9px; /* controls vertical position */
	left:-16px; /* value = - border-left-width - border-right-width */
	bottom:auto;
	border-width:11px 16px 11px 0;
	border-style:solid;
	border-color:transparent #dd6611;
}

.speech-bubble:after, .tooltip:after, .popupballoon:after {
    content:"";
    display:block; /* reduce the damage in FF3.0 */
    position:absolute;
    bottom:-15px; /* value = - border-top-width - border-bottom-width */
    left:50px; /* controls horizontal position */
    width:0;
    height:0;
    border-width:15px 15px 0; /* vary these values to change the angle of the vertex */
    border-style:solid;
    border-color:#ddd transparent;
}

.speech-bubble.left:after, .tooltip.left:after {
    top:10px; /* controls vertical position */
    left:-15px; /* value = - border-left-width - border-right-width */
    bottom:auto;
    border-width:10px 15px 10px 0;
    border-color:transparent #ddd;
}

.comment .speech-bubble.left {
    margin-top: 10px !important;
    width: 590px;
}

.tooltip {
    border: 1px solid #dd6611;    
    -moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.3);
    -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.3);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.3);
    margin-top: 0px;
    width: 160px;
    display: none;
    background: #f9d835;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f9d835), color-stop(0.3, #f9d835), color-stop(1, #f3961c));
    background: -moz-linear-gradient(top, #f9d835 0%, #f9d835 30%, #f3961c 100%);
    -pie-background: linear-gradient(top, #f9d835 0%, #f9d835 30%, #f3961c 100%);
    text-align: center;
    z-index: 999;
}

.tooltip:after {
    border-color: #ccc transparent;
    left: 75px;
    zoom: 1;
}

.tooltip.left:after {
    border-color: transparent #ccc;
}

.tooltip.left {
    width: 200px;
}

.subnav .tooltip.left {
    left: 131px !important;
}

.tooltip .avatar {
   
    display: block;
    float: left;
    height: 60px;
    margin-right: 10px;
    width: 60px;
    -moz-box-shadow: 0 0 3px #000;
    -webkit-box-shadow: 0 0 3px #000;
    -khtml-box-shadow: 0 0 3px #000;
    box-shadow: 0 0 3px #000;
}

.tooltip h5, h6 {
    margin: 0;
}

.popupballoon {
    background: #fff;
    border: 1px solid #777;
    display: none;
    height: auto;
    position: absolute;
    width: 200px;
    z-index: 1000;
    -moz-box-shadow: 0 1px 3px #777;
    -webkit-box-shadow: 0 1px 3px #777;
    -khtml-box-shadow: 0 1px 3px #777;
    box-shadow: 0 1px 3px #777;
    zoom: 1;
}

.popupballoon:after {
    border-color: #fff transparent;
}
.popupballoon.top:before {
    top:-16px; /* value = - border-top-width - border-bottom-width */
    left:29px; /* controls horizontal position */
    border-width:0 16px 16px; /* vary these values to change the angle of the vertex */
    border-color: #777 transparent;
}
.popupballoon.top:after {
    top:-15px; /* value = - border-top-width - border-bottom-width */
    left:30px; /* controls horizontal position */
    border-width:0 15px 15px; /* vary these values to change the angle of the vertex */
    border-color: #fff transparent;
}
.popupballoon h3 {
    margin-top: 0;
}
.popupballoon input[type=text], .popupballoon input[type=date], .popupballoon input.date {
   
}
.popupballoon select {
    width: 200px;
}