/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
textarea {
    color: #222;
}

html{
	margin: 0px;
	padding: 0px;
	min-height: 100%;
	position: relative;
	overflow: auto !important;
	font-size:1em;
}

body {
	margin: 0px;
	padding: 0px;
	min-height:100%;
	height: 100%;
	width: 100%;
	overflow: auto !important;
	background: #222222;

}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

/*fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}*/

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.row {
	margin-top:10px;
}

.text, .textarea, .widetext, .widetextarea, .file, .password  {
	/*-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;*/
	border:1px solid #cccccc;
	padding:5px;
}

.textarea {
	max-width:100%;
	width:320px;
	height:100px;
}

.widetext {
	width:300px;
}

.widetextarea {
	width:450px;
}

.checkbox {
	border:1px solid #cccccc;
	appearance: none;
        -webkit-appearance: auto;
}
.radio.inline, .checkbox.inline {
	border:none;
}
/*
select {
    margin: 0;
    -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
    background: #f8f8f8;
    color:#888;
    border:1px solid #cccccc;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    padding:5px;
}*/

/*
button, .submit {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background:#43B343;
	color:#fff;
	padding:5px;
	border:1px solid #029801;
}*/

#hor-minimalist-a
{
	font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	font-size: 12px;
	background: #fff;
	/*margin: 45px;*/
	/*width: 480px;*/
	border-collapse: collapse;
	text-align: left;
}
#hor-minimalist-a th
{
	font-size: 14px;
	font-weight: normal;
	color: #039;
	padding: 10px 8px;
	border-bottom: 2px solid #6678b1;
}
#hor-minimalist-a td
{
	color: #669;
	padding: 9px 8px 0px 8px;
}
#hor-minimalist-a tbody tr:hover td
{
	color: #009;
}


#hor-minimalist-b
{
	font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	font-size: 12px;
	background: #fff;
	margin: 45px;
	width: 480px;
	border-collapse: collapse;
	text-align: left;
}
#hor-minimalist-b th
{
	font-size: 14px;
	font-weight: normal;
	color: #039;
	padding: 10px 8px;
	border-bottom: 2px solid #6678b1;
}
#hor-minimalist-b td
{
	border-bottom: 1px solid #ccc;
	color: #669;
	padding: 6px 8px;
}
#hor-minimalist-b tbody tr:hover td
{
	color: #009;
}

div.time-inputs .time-input{
	width:33%;
	float:left;
	max-width:20px;
	margin-right:4px;
}
div.time-inputs select.time-input{
	width:65px;
	max-width:70px;
}
div.time-inputs  span.separator{
	padding:4px 0px;
	margin-right:4px;
	float:left;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.float-right {
	float: right;
}
html.chrome .module-header .form-search {
	line-height: 46px;

}
.module-header .btn {
	/*vertical-align: middle;
	display: block;	*/
}

.module-header form.form-search{
	height: 20px;
	line-height:normal;
	vertical-align:top;

}

.module-header form.form-search div.input-append.input-prepend{
	line-height:normal;
	vertical-align:middle;
}

.module-header form.form-search div.input-append.input-prepend button[type="submit"] {
	-webkit-border-top-right-radius: 14px;
	-webkit-border-bottom-right-radius: 14px;
	-moz-border-radius-topright: 14px;
	-moz-border-radius-bottomright: 14px;
	border-top-right-radius: 14px;
	border-bottom-right-radius: 14px;
}

.module-menu {
	width: 100%;
	border-bottom: #CCCCCC 1px solid;
}

.module-menu-item {
	width: auto;
	float: left;
	padding: 6px 20px;
	margin-bottom: -2px;
	margin-left: 5px;

}
.module-menu .selected {
	border: 1px solid #ccc;
	border-bottom: #fff 1px solid;
	background-color: #fff;
	border-radius: 5px 5px 0px 0px;
-moz-border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
}

#menu-output li#collapse-module-menu i {
	/*-webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);*/
    display:inline-block;
}


/*
 * No script handling
 */

div.noscript {
	margin: 10px;
}

.unsupported-browser-message {
  display: none;
}
.Firefox .unsupported-browser-message {
	display: none;
}

.Firefox18- .unsupported-browser-message {
	display: none;
}
.mobile .unsupported-browser-message, .tablet .unsupported-browser-message, .phone .unsupported-browser-message, .touchscreen .unsupported-browser-message {
	display: none;
}

/*
 * Note CSS Handlers
 */


#note-container textarea { width: 95%;  }

#note-container .note-block {  padding: 5px;  width: 31%; float: left; margin: 0 5px 5px 0; }
#note-container .note-row { margin: 0px 0 15px 0; }
#note-container .note-block button { position: inherit; }
#note-container .note-block i.fa-spinner { margin-top: 4px; }
#note-container h4 { height: auto; }
#note-container #header-container { width: 100%; height: auto; clear: both; }
div#note-container {  }
#note-container span.unsaved { display: none; }
@media ( max-width: 694px) {
	#note-container .note-block { width: 98%; }
}
h2.module-header .modal .modal-header { font-size: inherit; }
h2.module-header .modal .modal-body {
	font-size: 14px;
}

#cost-search-modal {
	width: 800px;
	margin-left: -400px;
}

#add-note {
	clear: both;
}


/**
 * Profiler styles
 */
.profile {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 95%;
}


/** --------------------------------------------------------------------
 * Module Search styles
 ** --------------------------------------------------------------------*/
div.module-search h4 span{
	float:right;
	color:#7F7F7F;
}
div.module-search h4 span:last-child{
	margin-right:10px;
}

div.module-search .accordion{
	margin-bottom:10px;
}

div.module-search .accordion label{
	border:none;
}

/** --------------------------------------------------------------------
 * Form Class Custom styles
 ** --------------------------------------------------------------------*/

form div.controls .text-manual{
	padding:5px 0px 5px 0px;
}
