body {
    /*padding: 0px;*/
    font-family: verdana,arial,sans-serif;
    background-color: White;
}
body, input, select, table, td, th, label {
    font-size: 12px;
    line-height: 18px;
    color: #333333;
}
body.fullscreen {
    overflow-x: hidden;
}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    font-size: 12px;
}
input[type="radio"], input[type="checkbox"] {
    cursor: pointer;
    line-height: normal;
    margin: 0px 5px 0 0;
}
a span.wrapper-text {
    color: #999;
}
label {
    display: inline-block;
    margin: 0;
    padding: 5px 0 0 0;
}
textarea.larger {
    width: 440px;
}



label.field, .radioButtonList label, .radioButton label {
    padding: 5px 0;
    margin-bottom: 9px; /* 9 if line-height == 20, 11 if line-height == 18 */
}
.label-field {
    display: inline-block;
    padding: 5px 0 0 0;
    
}

span.label a {
    color: #fff;
}

.wysiwyg-container {
}
.wysiwyg-container-start img {
    max-width: 300px;
}

body .dhtmlwindow {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #777777;
    -webkit-box-shadow: 2px 5px 5px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 5px 5px 2px rgba(0, 0, 0, 0.4);
}
body .drag-contentarea {
    border-color: #777777;
    padding: 10px;
}
body .drag-handle {
    background-color: #0088CC;
    line-height: 24px;
    padding-left: 7px;
    font-size: 16px;
    font-weight: normal;
}
body .drag-handle .drag-controls {
    margin-right: 7px;
}
body.restricted-page .restricted {
    display: none !important;
}
.wrapper {
    margin: 20px 0;
}
.navbar-inner {
    background-image: none;
}
.navbar-inverse .navbar-inner {
    background-image: none;
    background-color: #000;
}

/* Main navigation fix for touch devices - START */
#topbar .nav-touch * {
    /*background-color: transparent !important;*/
    background-image: none !important;
}
#topbar .nav-touch .dropdown-submenu:hover > .dropdown-menu {
    display: none;
}
/* Main navigation fix for touch devices - STOP */

.resultsContainer, body .wrapper-boxed {
    border: 1px dashed #777777;
    padding: 10px;
    margin: 20px 0;
}
.wrapper .fieldTable .x1, .wrapper-boxed .fieldTable .x1 {
    padding-left: 0px;
}

.resultsContainer hr {
    height: 1px;
    border-top: 1px dashed #777777;
}
.noItemsFound {
    font-style: italic;
    font-weight: bold;
}

.imageContainer {
    border: 1px solid #777777;
}

.no-selection,
.no-selection a,
.no-selection p,
.no-selection i,
.no-selection b,
.no-selection em,
.no-selection span,
.no-selection div,
.no-selection label,
.no-selection button,
.no-selection img,
.no-selection ul,
.no-selection ol,
.no-selection li,
.no-selection table,
.no-selection tr,
.no-selection th,
.no-selection td {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    /*color: blue !important;*/
}
div.no-selection,
span.no-selection,
.no-selection p,
.no-selection i,
.no-selection b,
.no-selection em,
.no-selection span,
.no-selection div,
.no-selection table,
.no-selection tr,
.no-selection th,
.no-selection td {
    cursor: default;
}

#disconnectedDiv {
    width: 36px;
    height: 36px;
    background: transparent  url(disconnected.png) no-repeat top right;
    display: inline-block;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
}

/* Headers 
 *******************************************************************/
h3 {
    font-size: 18px;
    line-height: 30px;
    font-weight: normal;
}
h4 {
    font-size: 16px;
    line-height: 20px;
    font-weight: normal;
}
h4.center {
    padding-left: 300px;
}
h5 {
    font-size: 12px;
    font-weight: bold;
    color: #777777;
}
#side h3 a {
    font-size: 12px;
    font-weight: normal;
}
#pageHeader, .pageHeader, .pageHeaderHomeRight, div.tableHeader {
    font-size: 24px;
    font-weight: 100;
    line-height: 30px;
    color: #333;
    display: block;
    margin-bottom: 20px;
}
.pageHeaderHomeRight {
    /*padding-left: 170px;*/
}
div.tableHeader {
    margin-bottom: 10px;
    padding-left: 250px;
    padding-top: 18px;
}

.column h3 {
    /*text-decoration: underline;   text-align: center;*/
}

/* Top Bar
 */
#topbar img {
	padding: 10px 15px 0 15px;
	border: 0px transparent;
}
#topbar img.site-logo {
    width: auto;
    padding: 5px 15px;
    max-height: 30px;
}
#topbar img.lims-logo {
    margin-top: 2px;
}
		
.actions-container {
	white-space: nowrap;
}
.icon-disabled {
	background-color: #999;
	background-image: url("img/glyphicons-halflings-white.png");
}
.icon-error {
	background-color: #b94a48;
	background-image: url("img/glyphicons-halflings-white.png");
}
		
@media (min-width: 1200px){}
		
/* Not collapsed */
/*@media (min-width: 979px) {
	#content-container {
		margin-top: 60px;
	}
}*/
@media (max-width: 962px) {
    #side {
        display: none;
    }
    #main {
        -moz-box-sizing: border-box;
        display: block;
        float: none;
        margin-left: 0;
        width: 100%;
    }
}
@media (min-width: 768px) and (max-width: 979px) {}
     
@media (max-width: 767px) {}
     
@media (max-width: 480px) {}

/* Content
 *******************************************************************/
#content-container {
    display: block;
}

#side input, #side textarea, #side .uneditable-input {
    width: 180px;
}
#side input[type="file"], #side input[type="submit"], #side input[type="reset"], #side input[type="button"], #side input[type="radio"], #side input[type="checkbox"] {
    width: auto;
}

.session-login-modal label {
    display: block;
}
.login-container label {
    margin-right: 5px;
}
.login-container input {
    margin-right: 10px;
}
.login-container .login-fields * { float: left; }
.login-container .btn { float: right; margin: 0; }
.login-container .apply-container {
    display: inline-block;
    float: right;
}

.infoPage-container {
    max-width: 768px;
}

.cf:before, .cf:after, .rmVertical:before, .rmVertical:after {
    content: "";
    display: table;
}
.cf:after, .rmVertical:after {
    clear: both;
}
.cf, .rmVertical {
}

.right {
    display: inline-block;
    float: right;
}

/* Interfers with bootstraps 'label' */
/*.label { 
    background-color: transparent;
    color: inherit;
    border-radius: none;
    text-shadow: none;
    font-weight: normal;
}*/

/* Field Collections
 ***************************************************************/
div.field-collection-header {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #AAAAAA;
    border-image: none;
    border-style: solid;
    border-width: 1px 0;
    margin: 10px 0;
    padding: 10px 0;
}
div.field-collection .row {
    padding: 5px 0;
    margin-left: 0; /* Reset bootstrap */
}
div.field-collection .row .label, div.field-collection .row label {
    float: left;
    font-weight: bold;
    width: 180px;
}
div.field-collection .row .label label, div.field-collection .row .field label {
    float: inherit;
    font-weight: inherit;
    width: inherit;
}
div.field-collection .row .field {
    margin-left: 200px;
}
div.field-collection .separator {
    border-bottom: 1px solid #AAAAAA;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
div.field-collection-display .row {
    padding: 1px 0;
}
div.field-collection h4 {
    text-align: center;
    text-decoration: underline;
}
.column .field-collection {
    float: left;
    width: 100%;
}
input.dateField, select.dateField {
    width: 85px;
}
input.timeField, select.timeField {
    width: 85px;
}
input.yearField, select.yearField {
    width: 85px;
}
input.partYearField, select.partYearField {
    width: 100px;
}

/* Modal Popup (not jQuery/Bootstrap)
 ********************************************************************/
.modalBackground {
    background-color: Gray;
    opacity: 0.7;
}
.modalPopup {
    background-color: #FFFFDD;
    border-color: Gray;
    border-style: solid;
    border-width: 3px;
    height: 400px;
    padding: 3px;
    width: 400px;
}

/* Accordion
 *******************************************************************/
.accordionHeader {
    border: 1px solid #2F4F4F;
    color: white;
    background-color: #0088CC;
    font-weight: bold;
    padding: 5px;
    margin-top: 5px;
    cursor: pointer;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.accordionContent {
    /*background-color: #E6E6E6;*/
    background-color: #fafafa;
    border: 1px solid #2F4F4F;
    border-top: none;
    padding: 5px;
    padding-top: 10px;
}
a.accordionLink:hover, a.accordionLink:link, a.accordionLink:visited, a.accordionLink:active {
    color: #FFFFFF;
}

/* Tab Container
 *********************************************************************/

.tab-container .ajax__tab_header {
}
.tab-container .ajax__tab_outer {
    background-color: #F7F7F7;
    border: 1px solid #DDDDDD;
    border-bottom: 0px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 3px 5px 0px 5px;
    margin-right: 5px;
}
.tab-container .ajax__tab_hover .ajax__tab_outer {
    background-color: white;
}
.tab-container .ajax__tab_hover .ajax__tab_tab {
    text-decoration: underline;
}
.tab-container .ajax__tab_active .ajax__tab_outer {
    border-color: #DDDDDD;
    background-color: #0088CC;
    color: White;
}
.tab-container .ajax__tab_body {
    border: 1px solid #DDDDDD;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    border-top-right-radius: 5px;
    padding: 10px;
}

/* Tab List
 ****************************************************************/

.tabs ul.tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
    position: relative;
}
.tabs li.tab {
    float: left;
    margin-right: 5px;
}
.tabs li.tab a.tab-link {
    color: #333333;
    background-color: #F7F7F7;
    display: inline-block;
    outline: none;
    text-decoration: none;
    border: 1px solid #DDDDDD;
    border-bottom: 0px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 3px 5px 3px 5px;
}
.tabs li.tab a.tab-link:hover {
    background-color: white;
    text-decoration: underline;
}
.tabs li.tab .tab-content {
    position: absolute;
    background: #fff;
    width: 100%;
    left: 0;
    display: none;
    border: 1px solid #DDDDDD;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    border-top-right-radius: 5px;
}
.tabs li.tab .tab-content .tab-content-inner {
    padding: 10px;
}
.tabs li.tab-active a.tab-link,
.tabs li.tab-active a.tab-link:hover {
    background: #0088CC;
    color: White;
}
.tabs li.tab-active .tab-content {
    display: block;
    overflow: visible;
}

/* SPINNER
 *******************************************************************/
#loadingDiv {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #aaa;
  opacity: 0.15;
  text-align: center;
  z-index: 9999999;
}

@-webkit-keyframes rotateProgress {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(360deg); }
}

@-moz-keyframes rotateProgress {
	from { -moz-transform: rotate(0deg); }
	to { -moz-transform: rotate(360deg); }
}

@-ms-keyframes rotateProgress {
	from { -ms-transform: rotate(0deg); }
	to { -ms-transform: rotate(360deg); }
}

@-o-keyframes rotateProgress {
	from { -o-transform: rotate(0deg); }
	to { -o-transform: rotate(360deg); }
}

@keyframes rotateProgress {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

#loadingDiv .spinner {
  display: inline-block;
	background: transparent url(spinner.png) no-repeat center center;
  width: 200px;
  height: 100%;
  margin: auto;
  position: relative;
  
  -webkit-animation: rotateProgress 1.3s linear infinite;
  -moz-animation: rotateProgress 1.3s linear infinite;
  -ms-animation: rotateProgress 1.3s linear infinite;
  -o-animation: rotateProgress 1.3s linear infinite;
  animation: rotateProgress 1.3s linear infinite;
}