/*
 * 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:16px;
}

body {
	margin: 0px;
	padding: 0px;
	min-height:100%;
	height: 100%;
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	background-color: #f2f3ee;

}



/*
 * 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;
    clear: both;
}

/*
 * 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 {
	/*width:250px;
	height:100px;*/
}

.widetext {
	width:300px;
}

.widetextarea {
	width:450px;
}

.checkbox {
	/*border:1px solid #cccccc;*/
	/*appearance: none;*/
}
.radio.inline, .checkbox.inline {
	border:none;
}

.cleanlist {
	padding:0;
	margin:0;
	list-style: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;
}
/* ==========================================================================
   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;
	}

.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;
}

/*
 * Note CSS Handlers
 */


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

#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.icon-spinner { margin-top: 4px; }
#note-container h4 { height: auto; }
#note-container #header-container { width: 100%; height: auto; clear: both; }
div#note-container { width: 75%;  }
#note-container span.unsaved { display: none; }
@media ( max-width: 694px) {
	#note-container .note-block { width: 98%; }
}
.module-header .modal .modal-header { font-size: inherit; }
.module-header .modal .modal-body {
	font-size: 14px;
}

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

#add-note {
	clear: both;
}



/*Checkbox multi select*/
div.multi_checkbox_select {
  width: 300px;
  height: 100px;
  overflow: scroll;
  overflow-x: hidden;
  border: 1px solid #AAAAAA;
}

.multi_checkbox_row {
  float: left;
  width: 100%;
  padding-left: 25px;
  background-image:url('../img/form_uncheckbox.png');
  background-position:left;
  background-repeat: no-repeat !important;
}

.mcr_checked{
	background-image:url('../img/form_checkbox.png');
}
.multi_checkbox_row:hover{
	cursor:pointer;
}
.multi_checkbox_row label {
  float: left;
  text-align:left;
  font-weight:normal;
}
.multi_checkbox_row input[type="checkbox"] {
  margin: 2px 5px 0px 0px;
  float: left;
  display:none;
}
.odd_row {
  background-color: #F0F0F0;
}

/*----- task generation graph styles -----*/

div.chart {
	height: 550px;
	width: 600px;
	overflow: hidden;
}

div.chart h2 {
	border-bottom: 1px solid #AAA;
	padding-left: 30px;
}

div.progress-bar {
	clear: both;
	height: 400px;
	vertical-align: bottom;
}

div.progress-bar-fill {
	float:left;
	clear: both;
	width: 50px;
	margin-left: 25px;
	margin-right: 25px;
	vertical-align: middle;
}

div.progress-bar-red {

	background-color: #BB3333;
}

div.progress-bar-red:hover {
	background-color: #DD4444;
}

div.progress-bar-grey:hover {
	background-color: #999999;
}

div.progress-bar-grey {

	background-color: #777777;
}

div.chart-content {
	float: left;
	clear: none;
	padding: 0px 10px 0px 10px;
	text-align: center;
	width: 100px;
	vertical-align: bottom;
	position: relative;
}

span.chart-scale hr,
span.time-label-top hr,
span.time-label-bottom hr  {
	clear: none;
	margin: 0px;
	padding: 0px;
	width: 600px;
}

span.chart-scale,
span.time-label-top,
span.time-label-bottom {
	position: relative;
	display: block;
	clear: both;
	overflow: visible;
	word-wrap: none;
}

div.progress-bar-fill img.product-icon {
	margin-top: 5px;
	margin-left: 8px;
}


.google-font-preview {
	padding:0.5em;
	font-size:1.65em;
	margin:0.2em 0;
	max-width:360px;
	width:40%;
	/*display: inline-block;
	vertical-align: middle;
	margin-left: 4em;*/
}

.google-font-preview .item {
	display:block;
	position:relative;
	padding:0.4em;
	border-bottom:1px solid #CCCCCC;
}

.google-font-preview .type {
	position:absolute;
	font-size:10px;
	top:5px;
	right:0;
	padding:4px;
	background-color:#cccccc;
}

.google-font-preview .family {
	
}

.simple-color-picker {
	overflow:auto;
	width:80px;
}

.simple-color-picker .help-popover {
	float:right;
}

.simple-color-picker .colorPicker-picker {
	float:left;
}

.custom-colors {
	display:none;
	/*margin-left:1em;*/
	padding:1em;
	background-color:#eff0f2;
	margin:1em 0;
}

.custom-colors > h4,
.custom-colors > h3 {
	margin-top:0;
}

.custom-colors.display {
	display:inline-block;
}

.color-swatches {
	padding:1em;
}

.color-swatches .palette {
	margin:0;
	padding:0;
	cursor:pointer;
}

.color-swatches .palette.selected {
	border: 1px dashed #000;
	background-color:#e6e6f2;
}

.color-swatches .palette:hover {
	background-color:#f4f3ed;
}

.color-swatches .column {
	text-align:center;
}

.color-swatches ul {
	list-style:none;
	margin:0;
	padding:0;
}



.color-swatches .palette li {
	display: inline-block;
	*display:inline;zoom:1;
	height: 20px;
	width: 20px;
	border: 1px solid #ccc;
}

.domain-detail-tab {
	margin-top:1.5em;
}

.clean-container {
	border-color: #ddd;
  	border-width: 1px;
  	border-radius: 4px 4px 0 0;
  	-webkit-box-shadow: none;
  	box-shadow: none;
  	background-color: #fff;
  	padding:0.5em 1em 1em 1em;
}

.clean-container.push {
	margin-top:1em;
	margin-bottom:1em;
}



/*.custom-select-wrapper {
	position:relative;
}

.custom-select-wrapper .custom-select {
	
}



.custom-select-wrapper.close .appearance,
.custom-select-wrapper .appearance {
	
}

.custom-select-wrapper.open .appearance {
	
}

.custom-select-wrapper .custom-select-box {
	position: absolute;
	z-index:255;
	padding:0.2em;
	background:#FFFFFF;
}

.custom-select-wrapper .custom-select-box .custom-select-list {
	padding:0;
	margin:0;
	list-style:none;
}

.custom-select-wrapper .custom-select-box .custom-select-list li {
	
}

.custom-select-wrapper .custom-select-box .custom-select-list li a {
	display:block;
	color:#000000;
}*/


/*#preview-frame {
	position:fixed;
	top:50%;
	left:50%;
	width:80%;
	height:80%;
	background-color:#FFFFFF;
}*/

.list-search-wrapper {
	position:relative;
}

.list-search-wrapper .fa-refresh {
	position:absolute;
    top: 0.75em;
    right: 1em;
}

.list-select .list-items-container{
	height: 400px;
    overflow-y: scroll;
}

.list-select .loader {
	text-align:center;
}

.simple-list-widget .i-list-item .select-btn {
	display:none;
}

.i-list-item .row {
	margin-left:0;
}

.list-items-container .load-more-btn {
	text-align: center;
    font-weight: bold;
    text-decoration: underline;
}

.setting-list {
	padding-top:1em;
}
.setting-list .row {
	margin-bottom:1em;
}


.note-ui table .note {
	width: 38%;
}