@charset "UTF-8";
/* Copyright (Derechos de autor): Carlos Galindo @ gonubex.com, carlosgalindo[at]gmail.com */

.nube-wid { color: brown; }
.nube-inactive { color: red; }

#nube-site-content {
    margin: 5px;
    padding: 5px;
    border: 1px solid silver;
    /* color: red; */
}

.nube-tabs li .ui-icon-close { float: left; margin: 1px; cursor: pointer; }
/* #nube-roletabs { border: 0 } */
/* #nube-roletab-index { border: 1px solid silver } */ /* first tab with NO sub-tabs */
.nube-tabs { border: 0; }

thead > tr > th {
	font-weight: normal;
	border: 1px solid #CCCCCC;
	padding: 3px;
	background: url("images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6; /* copied from jquery ui tabs. */
}


/* use >:first-child in order to style only the first child and not affect others (e.g. the _debug.html contents) when ajax. */
/* http://www.w3schools.com/css/sel_firstchild.asp */
/* .nube-table-detail-td table { */
/* .nube-table-detail-td>:first-child>:first-child { */
.nube-table-detail-td>:first-child {
    /* margin: 5px; */
	margin-left: 80px;
	/* border-left: 2px solid silver; */
}

.ui-button-text-only .ui-button-text { padding: 0 8px; }
.ui-widget-content a { color: #607890; }
.ui-tabs .ui-tabs-nav li a { padding: 0.25em 1em; }
.ui-tabs .ui-tabs-panel { padding: 0.3em 0.5em; }


/* for some strange reason, we need to set the following (specifically the 0.2em, instead of the default 0.1em),
otherwise tables will look squished. Ideally we must NOT have to define the following section. */
/* REMOVE IT (while developing libview, Sep.2012), in order for padding to work properly for .nube-layout* withOUT having to use !important,
hopefully it will NOT cause the original (above) problems anymore? */
/* .ui-widget-content td { padding: 0.2em 0.5em; } */


.nube-x-add { list-style-type: none; margin: 0; white-space: nowrap; }
.nube-x-add li { margin: 5px; }

.ui-dialog-title { white-space: nowrap; margin-right: 30px !important; } /* bigger margin-right (to accomodate the upper right X) in case contents are narrower than title (e.g. in create @ all website content menu app. */

#statusbar { margin-bottom: 10px }

/* https://groups.google.com/d/topic/web2py/vMe_2TM0RBU/discussion */
input[type=text], input[type=password], select { height: 20px; }


.nube-sidebar-left, .nube-vmenu-title, .nube-xselected-out {
    margin-left: 3px;
	display: block;
	/* float: left; */ /* NOT necessary anymore because of ul.dropdown float:none */
	width: 95%;
}

.nube-vmenu-title { margin-left: 3px; border-left: 1px solid transparent; }
.nube-vmenu-title:hover { border-left: 1px solid silver; }

.nube-menu-wurl { margin-left: 3px; }

.nube-xselected-out {
    margin-left: 10px;
	/* font-size: 1em; */
	overflow: hidden;
	height: 23px; /* required for overflow to work properly */
	width: 150%; /* necessary in order for the text to NOT break complete words (when not enough space) */
	/* font-size: 0.85em; */
}
.nube-xselected-in {
    /* font-weight: bold; */
	white-space: no-wrap;
	width: 100%;
}
.nube-tab {
	display: none;
}

.nube-button-small {
	width: 20px;
	/* height: 20px; */
	padding: 1px;
	/* margin: 1px; */
	/* font-size: 12px !important; */
}

select[multiple="multiple"] {
    height: 120px;
}

.text {
	width: 350px;
	height: 80px;
}



/* based on #tweets from \web2py\applications\admin\static\css\styles.css */
#nube-tweets ol {
  margin: 1em 0;
}
#nube-tweets ol li {
  /* background: #ebe8d0; */
  list-style: none;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
  padding: 0.5em;
  margin: 1em 0;
  border: 1px solid #aaa;
}
#nube-tweets .entry-date {
  font-weight: bold;
  display: block;
}


.nube-wrap { white-space: normal; }
.nube-nowrap { white-space: nowrap; }

/* must differentiate between nube-table and nube-table-site, mainly because of the following wrapping,
which we do NOT want to be applied in the site (e.g. comments). */
.nube-table td { white-space: nowrap; }


.nube-selected {
	/* background-color: green; */
    /* background: none repeat scroll 0 0 #FBFFFF; */
    border: 1px solid !important;
	width: 100%;
}



/* http://html-color-codes.info/ */
div.flash {
	top: 25px;
    opacity: 0.70;
    color: white;
    background: black /*#352525*/;
	z-index: 3000; /* greater than menus */
}


.decimal[id^="xsysnotary_"] { width: 170px; text-align: right; }

input[id^="xnotary_calc_"] { width: 220px; }
.decimal[id^="xnotary_calc_"], .date[id^="xnotary_calc_"] { width: 150px; }
.decimal[id^="xnotary_calc_"] { text-align: right; }
.boolean[id^="xnotary_calc_"] { width: auto; }

.nube-right { text-align: right; }



label[for^=xspecial] { font-weight: normal; margin-left: 5px; }

.nube-calc { color: blue; text-align: right; }

#nube-box .nube-box-content-hidden { display: none; }


.nube-apptitle { color: brown; /* font-style: italic; */ }


.nube-ul-pdf { margin-top: 20px; color: blue; }
.nube-li-pdf, .nube-li-pdf-data { margin: 5px; }
.nube-li-pdf {}
.nube-li-pdf-data { display: none; }
.nube-li-pdf-data a { color: brown !important; }




.nube-vmenu {
	/* border: 1px solid blue; */
    margin-bottom: 10px;
}

/* 'top' must be set according to 'padding' height: (padding x 2 + 1.0) */
.sf-menu a { padding: 0.6em 1em /* 0.75em 1em */; }
.sf-menu li:hover ul, .sf-menu li.sfHover ul { top: 2.2em /* 2.5em */; }

.sf-vertical {
    /* margin-top: 3px; */
}
.sf-vertical a {
    border-top: 1px solid #FFFFFF;
}
.sf-vertical, .sf-vertical li {
    width: 98%;
}
.sf-vertical li:hover ul, .sf-vertical li.sfHover ul {
	left: 98%; /* match ul width */
	top: 5px;
}

/* SUBMENU */
.sf-menu ul
	{ width: 15em; } /* 10em */
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul,
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul
	{ left: 15em; } /* 10em */

.appname { color: #0083B7 /*0489AB*/ /*#660D05*/; } /* [go] for header and footer */
.appname2 { color: #4E0000 /*#115D9B*/; } /* [Nubex] for header and footer */

label { font-weight: normal; }

.nube-wuse-ckeditor, .nube-wuse-codemirror { width: 600px; height: 400px; }
.CodeMirror { border: 1px solid; width: 600px; height: 400px; }

textarea[id^="xlibview_xhtml"] { width: 600px; height: 400px; }
#xlibview_xhtml__row { display: none; }

#site-left p { margin-left: 13px; }


.nube-td-image { width: 80px; text-align: center; }
.nube-border-left { border-left: 1px solid silver; }
.nube-border-right { border-right: 1px solid silver; }


/* #sitemap > .collapsed, .expanded { border: 1px solid black; } */
/* #sitemap li { border-top: 1px dotted silver; } */
#sitemap li a { padding-left: 0 !important; }
#sitemap, #sitemap li ul, #sitemap li li { background: none !important; }
.nube-sitemap-image, .nube-sitemap-description { display: none; } /* all hidden by default. */

#sitemap .expanded:hover, #sitemap .collapsed:hover { cursor: pointer; }



/* http://lwis.net/free-css-drop-down-menu/ */
ul.dropdown { white-space: normal; } /* override the inherited "nowrap" from xdiv. */
ul.dropdown { float: none; } /* very important */

ul.dropdown ul { white-space: nowrap; }
.ie7 ul.dropdown ul .nube-menuitem-table td { white-space: nowrap; }

ul.dropdown ul, ul.dropdown-vertical { width: auto; }


/* do NOT use this trick (leave it with different widths, not such a big deal considering low usage @ IE7), otherwise problems with PIE ! */
/* now fixing it with javascript, see _fix_ie7_widths @ nube.js. */
.XXXie7 ul.dropdown ul li { zoom: normal !important; } /* @ ie7, for submenu items to stretch to the same width. */


/* in order to EXPAND the clickable area. */
ul.dropdown li .nube-menuitem-div { padding: 6px; } /* display:block; back when we were using A instead. */
ul.dropdown li { padding: 0 !important; }

ul.dropdown li { text-align: left; } /* important default, and very important @ ie7 to not disalign some submenu items on hover. */

/* with respect to hover CLASS, see hoverIntent call in w_prepare @ nube.js. */
ul.dropdown.menuhover { z-index: 900; } /* hover CLASS > very important for subs to correctly show above other menus ! */

/* NOTE: this is in order to 'convert' menus into blocks which can be easily: aligned by the parent, set their borders, and more ! */
/* this way embedded menus can also be centered in pages via [[ ... | ... | text-align:center; ]]. */
/* apply inline-block ONLY to horizontal, and leave vertical as block (using width:auto instead of 100%, otherwise problems: http://www.impressivewebs.com/width-100-percent-css/). */
ul.dropdown-horizontal { display: inline-block; *zoom: 1; *display: inline; /*border: 2px solid red;*/ }

#nube-apps-menu ul.dropdown { margin: 8px; margin-top: 3px; }

ul.dropdown-horizontal > li.dir > ul { margin-top: 0; left: 0; }
ul.dropdown-vertical ul { margin-top: 0; top: 0; }
ul.dropdown ul ul { top: 0; }
ul.dropdown-upward ul ul { bottom: -1px; } /* strange not zero instead? */

ul.dropdown .nube-imgbox img { vertical-align: middle; max-width: 100%; max-height: 100%; }




/* ZEBRA */
/* only the immediate rows (in case of nested tables and forms): > tbody > tr */
.nube-table > tbody > tr.odd, .nube-table-site > tbody > tr.odd { background-color: #F7F7F7 /*#FAFAFA*/; }
.nube-table > tbody > tr.even, .nube-table-site > tbody > tr.even { background-color: white; }
/* EXCEPT @ sites */ .nube-view .nube-table tr.odd, .nube-view .nube-table-site tr.odd, .nube-view .nube-table tr.even, .nube-view .nube-table-site tr.even { background-color: transparent; }

/*
.nube-table tr:hover, .nube-table-site tr:hover { background-color: #FAFAFA; }
.nube-table .nube-table-container, #nube-box .nube-table-site .nube-table-container { background-color: white; }
*/

/* INACTIVE hover to better support changing backgrounds ! */
/* .nube-table tbody tr:hover { background-color: #EFE; } */
/* .nube-table tbody tr.even { ... } */
/* following css based on: http://www.infoisinfo.com.mx/busqueda/accesorios_para_autos/66 */
/*
.nube-table-site tbody tr, .nube-table tbody tr, .nube-vmenu-title {
    border: 1px solid transparent;
}
.nube-table-site tbody tr:hover, .nube-table tbody tr:hover, .nube-vmenu-title:hover {
    background-color: #FBFFFF;
    border: 1px solid #D7F5F8;
}
*/

/* TEMPORARILY (?) remove the following because it was causing weird render issues in firefox, where all row cols were assigned the border. */
/* furthermore maybe it looks better without it?. */
/*
.nube-table tbody tr, .nube-table-site tbody tr { border: 1px solid transparent; }
.nube-table tbody tr:hover, .nube-table-site tbody tr:hover { border: 1px solid #CCCCCC; border-top: 1px solid transparent; }
*/
.nube-table-detail-tr, .nube-table-detail-tr:hover { border: 1px solid transparent !important; }
.nube-table > tbody > tr > td, .nube-table-site > tbody > tr > td { padding-top: 10px; } /* immediate cols only. */


#submit_record__row .w2p_fw { padding-top: 15px !important; } /* leave more space at top for the submit button. */


.nube-table-container .nube-table-container { border: 1px solid #DEDEDE; padding: 5px; }
#nube-box .nube-table-container { margin: 5px; } /* fix horizontal scrollbar (in some cases). */

/* form > table { border: 1px solid silver; margin-top: 5px; magin-bottom: 5px; } */

/* user_home @ box */
#nube-tree-user-roles { white-space: nowrap; line-height: 200%; padding-right: 20px; }
#nube-tree-user-roles .nube-menuitem-table { display: inline-block; }
#nube-tree-user-roles .nube-selected { border: 1px solid brown; padding: 5px; } /* #nube-tree-user-roles .web2py-menu-active */
#nube-tree-user-roles img { vertical-align: middle; margin-right: 5px; }

.nube-ecom-each-empty { border: 1px solid transparent; }
.nube-ecom-each { margin: 0; padding: 10px; border: 1px solid transparent; }
.nube-ecom-each:hover { outline: 1px solid silver; }
.nube-ecom-each-selected { border: 1px solid brown; }
.nube-ecom-each-radio {}
.nube-ecom-each-checkbox { margin: 5px; }

.nube-ecom-line-error { color: brown; }
.nube-ecom-line-errmsg { color: red; }


.nube-lib-page { margin: 0; padding: 0 }
.nube-lib-page table { table-layout: fixed; /* width: 100% !important; */ }


/* .nube-site-form table { width: 100%; } */
/* .nube-site-form .w2p_fc { width: 0; } */
/* the following is necessary in order to shrink forms when the browser gets reduced in width */
.nube-site-form .w2p_fl label { white-space: normal; }
.nube-site-form table { table-layout: auto; } /* in order to remove the "fixed" value set for nube-lib-page */
.nube-site-form input[type="text"], .nube-site-form select, .nube-site-form textarea { width: 100%; max-width: 350px; } /* max-width NOT really working? */

.site-table-underline tr { border: 1px solid transparent; }
.site-table-underline tr:hover { border: 1px solid silver; border-top: 1px solid transparent; }

.nube-toggle { display: none; border-left: 1px solid lightgray; }
.nube-toggle-show { display: inline-block !important; }

/* FullCalendar */
.fc-header-title h2 { font-weight: normal !important; }


/* textarea[id^="nube-mustache-"] { width: 90%; height: 200px; } */

.nube-color-div { width: 20px; height: 13px; border: 1px solid silver; display: inline-block; margin:0 3px; padding:0; vertical-align: middle; }


/* so it works properly with NOWRAP in libview (and throughout the system) for IE7. */
/* http://stackoverflow.com/a/9210190 */
.nube-slider, .nube-color-div { *display: inline; *zoom: 1; }


.nube-tabs > ul { background: none; border-top: none; border-right: none; border-left: none; border-color: #DEDEDE; }
.nube-tabs > ul > li { margin-top: 3px !important; } /* so it looks better in case of multi-line tabs. */




.nube-view { margin: 0; padding: 0; }

/* nube-layouts */

	.nube-layout-x, .nube-layout2-x {
		margin: 0; padding: 0;
		*zoom: 1; /* http://stackoverflow.com/a/7257350 ... otherwise gradients will NOT work for IE7. */
	}

	.nube-layout-x {
		position: relative; /* so we correctly support negative margins without stacking / z-index issues, in case the other adjacent boxes use pie functions (gradients), applying relative position via _pie_apply. */
		/* overflow: hidden; */ /* must NOT do this because of menus !! */
	}

	.nube-layout2-txt {} /* see nube-richtext */

	.nube-layout-root {}

	.nube-layout2-coln-table-max { table-layout: fixed; width: 100%; }
	.nube-layout2-coln-td-max {}

	.nube-layout2-coln-table-min {}
	.nube-layout2-coln-td-min {}

	/* do NOT apply 100% width because of some problems (e.g. a col1 unique child with margins extends PAST the parent boundaries). */
	/* http://www.impressivewebs.com/width-100-percent-css/ */
	.nube-layout-col1-max { /* width: 100%; */ }
	.nube-layout-col1-min {}

	.nube-layout-coln-max {}
	.nube-layout-coln-min {}

	.nube-layout-row-max {}
	.nube-layout-row-min {}

/* /nube-layouts */



.nube-tab-reload { margin: 0; padding: 0; float: right; font-size: 12px !important; width: 15px; height: 17px !important; }
.nube-view-toggle-img { margin: 0; padding: 0; float: right; font-size: 12px !important; width: 18px; height: 18px !important; }
.nube-view-toggle-div { border-bottom: 1px solid silver; border-radius: 8px; margin-bottom: 5px; padding-left: 10px; cursor: pointer; }
.nube-view-toggle-solo { border: 1px dotted silver; border-radius: 5px; padding: 5px; padding-top: 3px; }
.nube-view-toggle-solo .nube-view-toggle-div { margin-bottom: 10px; }

/* must use DIRECT ">" for psize, otherwise menu problems. */
/* SYNC with wn_richtext_p @ nube.js, and with ckeditor contentsCss @ web2py.js */
.nube-richtext > div, .nube-richtext-table > tbody > tr > td > div, h1, h2, h3, h4, h5, h6 { margin-bottom: 6px; }
/* use !important in case of psize attrs (such that we do NOT need to do last-child via js). */
.nube-richtext > div:last-child, .nube-richtext-table > tbody > tr > td > div:last-child { margin-bottom: 0 !important; } /* ALSO being handled via jquery for IE < 9 (which do NOT support last-child pseudo selectors), see w_prepare @ nube.js. */
/*
.nube-richtext ul.dropdown-horizontal > li:last-child { margin-right: 0 !important; }
.nube-richtext ul.dropdown ul > li:last-child { margin-bottom: 0 !important; }
*/

/* .ie7 ... { display: inline; zoom: 1; } */


.nube-apps-table { margin: 0; padding: 0; margin-bottom: 20px; border-collapse: collapse; table-layout: fixed; width: 100%; }
.nube-apps-td { margin: 0; padding: 0; }

.nube-imgbox { margin: 0; padding: 0; display: inline-block; text-align: center; vertical-align: middle; margin: 0 3px; *display: inline; *zoom: 1; }
/* line-height = height is required for vertical-align to work correctly > http://stackoverflow.com/a/721019 */
/* combined with css for: ul.dropdown .nube-imgbox img */
.nube-imgboxtype-menu { width: 25px; height: 25px; line-height: 25px; /* width:220px;height:220px;line-height:220px;border:1px solid red; */ }
.nube-imgboxtype-x {}
/* .nube-menuitem-text { *display: inline; *zoom: 1; } */ /* necessary? */

.nube-menuitem-table, .nube-menuitem-table td, .nube-menuitem-table tr { margin: 0; padding: 0; border: 0; vertical-align: middle; }

.nube-menuitem-div { margin: 0; padding: 0; }
.nube-menuitem-div:hover { cursor: pointer; }



    ul.fontselector {
      background: white;
      border: 1px solid #ccc;
      border-top: 0;
      font-size: 14px;
      float: left;
      list-style: none;
      margin: 0;
      padding:0;
      line-height: 1.2;
      z-index:    10;
      position:   absolute;
    }
    ul.fontselector li {
      margin:   0;
      padding:  0;
      list-style: none;
    }
    ul.fontselector a {
      display:    block;
      padding:    3px;
      color:      black;
      text-decoration: none;
      white-space: nowrap; /* nube */
    }
    ul.fontselector a:hover {
      background: #ddd;
      cursor:     pointer;
    }


.nube-image-select-button { margin: 0; padding: 0; width: 17px; height: 20px; font-size: smaller; }





/* ... already handled below ... required for compatibility with jquery-ui: https://groups.google.com/forum/?fromgroups#!topic/web2py/Co7QrC7Hwak */
/*
.ui-widget, .ui-widget-content, .ui-widget-header, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font:13px/1.231 sans-serif;
    font-size: 100%;
    color: #444;
}
*/


/* SYNC ALL defaults with help buttons in _hw_box_text @ libview. */

body, a, .ui-widget-content a,
.ui-widget, .ui-widget-content, .ui-widget-header, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button /* required for compatibility with jquery-ui: https://groups.google.com/forum/?fromgroups#!topic/web2py/Co7QrC7Hwak */
{
    font-size: 100%;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 13px;
	font-weight: normal;
	font-style: normal;
	/* text-decoration: none; */ /* do NOT define this one, not necessary, and it causes problems with .nsort-text-ahov @ nsort.css. */
	line-height: 1.5;
    color: #444444;
}
a, .ui-widget-content a { color: #275B90/*#607890*/; }
a:hover, .ui-widget-content a:hover { text-decoration: underline; }


/*
NOT NECESSARY anymore, because of .nube-menuitem-div instead of <a> !
making it work with <a> for menu items was a HUGE mess because of its inheritance from actual <a> elements (among several other complications),
therefore now using <div> instead, see _menuitem_div @ nube.py.
*/
/*
this does NOT apply anymore ... read above ...
VERY IMPORTANT in order to override a & a:hover styles, and use their parent li & li.menuhover instead.
we must apply all text styles @ libview to <li> (NOT to <a> children) due to these "inherit" values, otherwise menus will incorrectly inherit from regular <a> links.
SYNC with _fix_inherit @ nube.js.
*/
/*
ul.dropdown a, ul.dropdown a:hover {
	background-color: transparent !important; ... always use parent <li> background.
	text-decoration: inherit !important; ... must NOT implement "underline" for normal text @ libview, otherwise inconsistent results across browsers.
	font-family: inherit !important;
	font-size: inherit !important;
	color: inherit !important;
	font-style: inherit !important;
	font-weight: inherit !important;
}
*/


#nube-box { line-height: 1.5; }

h1, h2, h3, h4, h5, h6 { line-height: 1.7; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; padding-top: 0; padding-bottom: 0; } /* overwritten from base.css. */
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
h5 { font-size: 13px; }
h6 { font-size: 10px; }

XXX {
	background-color: #29FF21;
	text-align: center;
}

ul.dropdown li.menuhover { background-color: #eee; } /* hover CLASS */


.rsThumb {
	width: 64px !important; height: 48px !important; /* match nube.img_small_size */
	border: 1px solid #DEDEDE; border-bottom: none;
}
.rsThumb:hover { border-color: silver; }

.rsThumb img { width: auto !important; height: auto !important; margin: auto; }
.rsContent .rsTmb { display: none; }

.rsNavSelected { background: none !important; border-color: green; }
.rsNavSelected img { opacity: 0.5 !important; }

.rsGCaption { margin-right: 15px; }

.rsWithBullets .rsGCaption { bottom: 25px; }

/*
.rsArrow { width: 15px !important; }
.rsArrowLeft .rsArrowIcn { left: 130%; }
.rsArrowRight .rsArrowIcn { left: -30%; }
*/

.nube-wuse-slideshow {
	width: 100%;
	border: 1px solid silver;
}
/* z-index LOWER than modal boxes (1002, so boxes appear on top, e.g. clicking on events in agendas), and HIGHER than top fixed header @ layout.html (1000). */
.royalSlider.rsFullscreen { z-index: 1001 !important; }

.rsDefault, .rsOverflow, .rsSlide, .rsVideoFrameHolder, .rsThumbs { background-color: white !important; }
/* .rsDefault, .rsOverflow, .rsSlide, .rsVideoFrameHolder, .rsThumbs, .rsTmb { border: 1px solid red; } */
/* .rsSlide { width: auto !important; } */

.nube-flash-wrapper {}

.nube-flash { height: 200px; } /* overridable by xlib_flash. */

.rsContent > div {
	width: 90%;
	height: 90%;
	overflow: auto;
	margin: 10px auto;
	padding: 10px;
}

/* .rsContent .nube-lib-page { background-color: red; } */

.rsContent .nube-wuse-chart { width: 95%; } /* otherwise horizontal scrollbar appears. */

.rsContent .nube-map-wrapper {
	display: block; /* override from .nube-map-wrapper. */
	text-align: center;
}

.rsContent .nube-wuse-map {
	width: 98%;
	height: 97% !important; /* override from xlib_location.xheight. */
}
.nube-map-wrapper {
	margin: 0;
	padding: 0;
	width: 100%; /* fluid. */
	height: 300px;
	display: inline-block; /* to allow centering via rich text. */
}
.nube-wuse-map {
	border: 1px solid #D7F5F8;
	width: 100%; max-width: 1300px; /* max-width:1300px, maps won't display above it? */
	height: 300px; /* overridable by xlib_location and others. */
	display: inline-block; /* ? */
}

.nube-event > table { width: 100%; }
.nube-event-label { width: 10px; } /* just to shrink as much as possible in the table. */

.tweet_list li { margin: 5px; }


.nube-hr { margin: 5px; padding: 0; /* height: 1px; background-color: red; */ border-top: 1px dotted #DEDEDE; }


/*
width:auto is required in order to fix the following error @ IE8, otherwise the user image (avatar) will NOT be sized correctly.
   http://www.456bereastreet.com/archive/201202/using_max-width_on_images_can_make_them_disappear_in_ie8/
max-width required to AUTO-SIZE the image based on its container (see cat linear view TABLE CSS as an example).
do not use margin / padding, otherwise it will inherit the background-color specified by links @ libview.
*/
.nube-fluid { display: inline; max-width: 100%; width: auto; }


#nube-wait img { vertical-align: middle; }

.nube-conv-container { border: none !important; padding: 0 !important; }
.nube-conv-container tr { background: none !important; }
.nube-conv-table-images td:first-child { min-width: 64px; }

.nube-fav-follow-delete { margin-left: 30px; vertical-align: bottom; }
input[id^="xfav_xcontent"], input[id^="xfollow_xcontent"] { margin: 10px; }


.nube-search-applied { outline: 1px solid brown; }

.nube-top-icon { display: inline-block; vertical-align: top; margin-top: 7px; margin-right: 1px; }

#nube-wnots { padding: 2px 3px; }
.nube-wnots-on { background-color: yellow; } /* red / yellow */

.a2a_dd { vertical-align: top; } /* otherwise wnots-on background color will not display fully correct. */

.nube-msg-file { margin-left: 50px; }

.nube-fb-logintop img { opacity: 1 !important; } /* .nube-fb-loginbox img, .nube-fb-connect img */
/* .nube-fb-logintop img:hover, .nube-fb-loginbox img:hover, .nube-fb-connect img:hover { opacity: 0.8 !important; } */
.nube-fb-loginbox img { max-height: none !important; max-width: none !important; } /* nube-fluid issues */
.nube-fb-logintop img { vertical-align: top; margin: 1px 0 0 0 !important; }

#nube-wuse-social-login {
	/* text-align: center; */
	margin: 10px 0 0 20px;
	height: 80px; overflow: hidden; /* white label, tmp */
}

/* .nube-wuse-social-share, .nube-wuse-social-count { position: static !important; } */
/* .nube-position-static { position: static !important; } */

.nube-socialauth-each { margin: 5px; }
.nube-socialauth-each .nube-fluid { max-width: 64px; max-height: 48px; vertical-align: middle; margin: 0 10px; }

/* .wrapper__upload { white-space: nowrap; } */





.ui-dialog { max-width: 95%; max-height: 95%; overflow: auto; position: fixed; }
.ui-helper-clearfix::after { font-size: 0; } /* fix unnecessary vertical scrollbar @ chrome & safari ... https://groups.google.com/forum/?fromgroups=#!topic/jquery-ui-dev/fQJJLKSwFOg */
.ie8 .ui-dialog-buttonpane { display: inline-block; width: 95%; } /* fix unnecessary vertical scrollbar @ ie8. */

/* #nube-box-auth input[type="file"] */
#nube-box-auth input[type="text"], #nube-box-auth input[type="password"], #nube-box-auth textarea, #nube-box-auth select { width: 200px; }
.nube-box-auth { right: 0; }

/* #nube-box-tools, .nube-box-tools { overflow: inherit; } */





/* VERY IMPORTANT for layout.html - START */

	html, body, #nube-lay-table, #nube-lay-tr, #nube-lay-td, #nube-lay-header, #nube-lay-footer, #nube-lay-content { margin: 0; padding: 0; }
	html, body { height: 100%; }

	#nube-lay-table { min-width: 50px; } /* SYNC with nsort-view-wrapper */

	#nube-lay-table { height: 100%; width: 100%; border-collapse: collapse; table-layout: fixed; }
	#nube-lay-td { vertical-align: top; }

	#nube-lay-content { position: static !important; } /* supersede position:relative from nube-view class (applied @ ./views/website/site.html), otherwise css PIE will NOT work @ ie7. */
	#nube-lay-content { line-height: 170%; } /* matching the rest of the site. */
	#nube-lay-header, #nube-lay-footer { background-color: #EDEDED; }
	.ie7 #nube-lay-content { height: 90%; } /* only for IE7. */
	#nube-lay-header {
		height: 30px; /* SYNC with fb_tab_admin_button @ layout.html (30 + button's div height. */
		border-bottom: 1px solid silver;
	}
	#nube-lay-footer { height: 20px; border-top: 1px solid silver; font-size: smaller; }
	/* #nube-lay-header a { color: brown; } */

	/* root menus */
	#nube-lay-header ul.dropdown { margin-top: 3px; font-size: 90%; }
	#nube-lay-header ul.dropdown > li { height: 22px; background-color: transparent; margin-right: 6px; }
	#nube-lay-header ul.dropdown > li .nube-menuitem-div { padding: 3px; color: #4E0000; }

	/* sub menus */
	#nube-lay-header ul.dropdown ul { border-left: 1px solid #DCDCDC; }
	#nube-lay-header ul.dropdown ul .nube-menuitem-div { padding: 8px 20px 8px 10px; }
	#nube-lay-header ul.dropdown ul li { border-bottom: 1px solid #DCDCDC; background-color: #EDEDED; }
	#nube-lay-header ul.dropdown li.menuhover { background-color: #DCDCDC; } /* hover CLASS */


	.xdiv { display: inline-block; }
	#nube-lay-header-left { white-space: nowrap; }
	#nube-lay-header-right { white-space: nowrap; float: right; font-size: 95%; }
	/* ASTERISK only applies to IE 6/7 ... http://stackoverflow.com/questions/5838454/inline-block-doesnt-work-in-internet-explorer-7-6/5838575#5838575 */
	#nube-lay-header-left { *float: left; }
	.xdiv, #nube-lay-header-left ul.dropdown, #gtransel, #nube-lay-header-right div { *display: inline !important; *zoom: 1; }


	#gtransel { display: inline-block; margin-right: 5px; line-height: 1px; vertical-align: top; }
	#gtransel div { display: inline; margin: 0; color: transparent; } /* transparent to hide the "Powered by" text */
	#gtransel div span a { display: none; }
	#gtransel select { height: auto; color: #555555; margin: 0; font-size: 90%; }
	#gtransel, #gtransel select { width: 110px; }
	/* .goog-te-gadget-simple img { display: none; } */

	/* http://stackoverflow.com/questions/5197072/google-translator-top-bar-hide */
	/* do NOT hide it for now, otherwise there is NO way to call "Show Original".
	/*
		.goog-te-banner-frame.skiptranslate {display: none !important;}
		body { top: 0px !important; }
	*/
	.goog-te-banner-frame {
		top: 30px !important; /* so it does NOT conflict with the top FIXED header. */
		z-index: 1000 !important; /* lower than boxes and royalSlider, see layout.html. */
	}

	/* http://stackoverflow.com/questions/3234920/how-to-disable-google-translate-original-text-tooltips */
		.goog-tooltip { display: none !important; }
		.goog-tooltip:hover { display: none !important; }
		.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }

	#nube-lay-header img { margin: 0 4px; }

/* VERY IMPORTANT for layout.html - END */



.nube-login-button { height: 23px !important; margin: 4px 5px 0 0 !important; background: brown !important; color: white !important; border: 1px solid gray !important; vertical-align: inherit; border-radius: 10px !important; font-weight: bold; }
.nube-login-button:hover { border: 1px solid silver !important; }

.nube-login-question { height: 23px !important; margin: 4px 5px 0 4px !important; padding: 2px; color: blue !important; border: 1px solid silver !important; vertical-align: inherit; border-radius: 5px !important; font-weight: bold; }
.nube-login-question:hover { border: 1px solid gray !important; color: brown !important; }

#nube-site-user-img { margin: 4px 5px 0 0; padding: 0; width: 25px; height: 25px; text-align: center; cursor: pointer; border: 1px solid silver; }
#nube-site-user-img:hover { border: 1px solid gray; }
#nube-site-user-img img { max-width: 100%; max-height: 100%; vertical-align: middle; margin: 0 !important; }

#nube-site-user-name { font-size: 12px; border: 1px solid transparent; cursor: pointer; display: inline-block; max-width: 100px; vertical-align: middle; white-space: nowrap; overflow: hidden; }
/* #nube-site-user-name:hover { border: 1px solid silver; } */

.nube-tools-list { list-style-type: none; }
.nube-tools-list li { margin: 5px; }
.nube-tools-list img { vertical-align: middle; }

.nube-socialauth-tools { margin: 10px 0 0 8px; }
.nube-socialauth-tools img { margin: 0 !important; }

.nube-wuse-sitemap { padding-left: 8px; }
.nube-sitemap-controls { margin-bottom: 10px;  }
.ui-dialog .nube-sitemap-controls { white-space: nowrap; overflow: hidden; }

.nube-sitemap-tree ul { list-style-type: none; } /* just so bullets do NOT show/flash before sitemap processing. */
#nube-box .nube-wuse-sitemap { padding: 20px; }

.nube-tools_section_admins { margin-left: 20px; }

.nube-wuse-slideshow { opacity: 0; }

.nube-toggle-close { display: inline-block; vertical-align: top; color: brown; border: 1px solid silver; margin: 0 5px 3px 3px; padding: 0 5px; }
.nube-toggle-close:hover { border: 1px solid gray; cursor: pointer; }

.nube-divs-margin { margin: 10px; }
.nube-gonubex-divs img { vertical-align: middle; }

.ui-dialog-titlebar { margin-left: 25px; }
.nube-inbox-n { position: absolute; top: 8px; left: 1px; opacity: .50; }
.nube-inbox-n:hover { opacity: 1; }

#nube-lay-header img { opacity: .80; }
#nube-lay-header img:hover, #nube-lay-header .nube-site-tools img, #nube-lay-header #nube-lang-wait img, #nube-lay-header #nube-wait img, #nube-site-user-img img { opacity: 1; }

/* do NOT do this, otherwise BOXes (dialog windows) will incorrectly extend all the width, as in opening an event in a calendar. */
/* .nube-site-header-table { table-layout: fixed; width: 100%; } */


/* http://www.w3schools.com/css/tryit.asp?filename=trycss_list-style-image_crossbrow */
.nube-admin-menu { list-style-type: none;  padding: 0; margin:0; }
.nube-admin-menu > li {
	background-image: url("../images/admin-menu-down.png");
	background-repeat: no-repeat;
	background-position: 3px 8px;
	padding-left: 14px;
}

.nube-libview-uses { display: inline-block; vertical-align: middle; }

/* .nube-course-sitemap .nube-sitemap-tree a { color: red; } */

.nube-editor-help-button {
	float: left; margin: 25px 0 0 -26px; /* make sure it looks ok in views too. */
	color: blue !important; border: 1px solid brown !important;
}
.nube-editor-help { display: none; border: 1px solid silver; margin: 5px; padding: 0; max-height: 300px; overflow: auto; }
.nube-editor-help-close { margin: 0 0 10px 50px; }

.nube-table-row-selected { border: 1px solid silver; }


/* make facebook plugin fluid / responsive . */
.fb-like-box, .fb-like-box iframe[style], .fb-like-box span, .fb-like-box iframe span[style] { width: 100% !important; }
.fb-like-box { min-width: 200px; max-width: 500px; } /* defaults, overridable by xlib_fb_likebox. */

.nube-form-tip .nube-tip { margin: 0; padding: 0; font-size: 90%; }

.nube-widget-checkboxes {}
.nube-widget-radios {}
.nube-radios-hor {
	list-style-type: none; margin-left: 10px;
	display: inline-block; /* otherwise .error will NOT display correctly. */
}
.nube-radios-hor li { display: inline; }
.nube-radios-hor li > div { float: left; white-space: nowrap; margin-right: 15px; }

.nube-form-grade, .nube-form-tograde, .nube-form-graded {}
.nube-form-grade > .nube-form-table {
	border-collapse: separate; border-spacing: 0 8px; /* http://www.w3schools.com/cssref/pr_border-spacing.asp */
}
.nube-form-grade > .nube-form-table > tbody > tr > td {
	padding: 5px; /* http://www.w3schools.com/css/css_table.asp */
}
.nube-grading-div, .nube-graded-msg, .nube-graded-msg2, .nube-graded-rate, .nube-tograde-rate {
	margin: 10px; margin-left: 0; padding: 5px; border: 1px solid green; background-color: #CCFFFF;
}
.nube-graded-rate { border: 0; background-color: transparent; }
.nube-tograde-rate { margin: 5px; }
.nube-grading-div { padding-left: 0; white-space: nowrap; }
/* note .ie7 special selectors. */
.nube-graded-ok, .ie7 .nube-graded-ok > td { background-color: #C0D890; }
.nube-graded-err, .ie7 .nube-graded-err > td { background-color: #F06560; }

.nube-div-adjacent { display: inline-block; vertical-align: top; }

/* currently selected value(s) NOT in options, e.g. edit cat with inactive elements or edit menuitem that's child of an inactive parent. */
.nube-widget-missing-option { border: 1px solid red !important; outline: 1px solid red !important; }

.nube-wvisit-td { vertical-align: middle; border:1px solid transparent !important; }
.nube-wvisit-td-curr { border:1px solid fuchsia !important; }
.nube-wvisit-box { width: 8px; height: 8px; margin: 3px; }
/* .nube-wvisit-curr { background-color: fuchsia; } */
.nube-wvisit-visited { background-color: green; }
.nube-wvisit-tovisit { background-color: brown; }
.nube-wvisit-none { background-color: /*#CCCCCC*/ transparent; height: 1px; } /* almost hide it (keeping the width), so menus from right to left are properly aligned. */
.nube-wvisit-partial { background-color: yellow; }

/*
use the following to FIX a problem where ckeditor dialogs (table props) are NOT editable
when in jquery ui modal dialog, e.g. enable "rich text" for images (which open in a box/popup).
note that the alternative _allowInteraction @ nube.js patch did NOT work (see its comment and references).
   https://dev.ckeditor.com/ticket/5779
*/
.cke_dialog_contents input, .cke_dialog_contents select { position: relative; z-index: 9999; }

.nube-wvisit-linear > *, .nube-wuse-path > * { display: inline-block; margin: 0 2px; }
.nube-wvisit-linear { padding: 3px; cursor: pointer; }
.nube-wvisit-linear img { max-width: 25px; max-height: 25px; }

.nube-wvisit-linear:hover { color: red; border-bottom: 1px solid /* currcolor */; }
.nube-wvisit-linear { border-bottom: 1px solid transparent; }

.nube-wvisit-linear .nube-sitemap-description { display: none; } /* in case it comes from sitemap. */

.nube-wuse-path {}
.nube-wuse-prevnext { margin: 3px; }

.nube-wpath-sep { font-size: x-large; vertical-align: middle; }

.nube-prevnext-arrow { font-size: large; }
.nube-prevnext-arrow-hover {} /* not in use anymore, code commented in w_do_prevnext. */

.nube-prevnext-prev { float: left; }
.nube-prevnext-next { float: right; }
.nube-prevnext-2 { clear: both; }

.nube-whome {}
.nube-whome img { vertical-align: bottom; margin-right: 3px; }

.nube-sys-link { margin-left: 20px; font-size: 10px !important; display: inline-block; white-space: nowrap; }

.nube-clickopen { cursor: pointer; }

.nube-table-borders td { border: 1px solid; }

.nube-link-button-large { margin: 15px; padding: 8px; }

.nube-org-table { margin: 0; margin-top: 5px; }
.nube-org-table .nube-treepath { color: brown; font-weight: bold; }
.nube-org-table .nube-hnone { display: none; }
/* .nube-org-table tbody { border: 3px solid yellow; } */

.nube-org-table .nube-wid { opacity: .80; font-size: 11px; }
.nube-org-admins .nube-wid { font-size: 11px; }
.nube-org-table .nube-inactive { font-size: 17px; }

.nube-org-table > table {
	width: 100%; /* such that rich editor expand as much as possible. */
	table-layout: fixed;
}
.nube-org-table > table:first-child > tbody > tr > td { overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.nube-org-table .w2p_fl { color: gray; }
/* .nube-org-table td:nth-of-type(3) { border: 2px solid red; } */

.nube-org-button {
	width: 30px; height: 25px;
	font-size: large !important; /* important for tuser admins in tabs. */
	/* vertical-align: middle; */
}

.nube-org-button-saved { outline: 1px solid fuchsia; }

.nube-org-button2 { border-width: 2px !important; }

/* important to separate border-color with important, otherwise it won't work properly for tusers in tabs. */
.nube-org-button2-exp, .nube-org-tbody-exp { border: 1px solid; border-color: brown !important; }
.nube-org-button2-open, .nube-org-form { border: 1px solid; border-color: navy !important; }
.nube-org-button2-open-mi, .nube-org-form-mi { border: 1px solid; border-color: purple !important; }

.nube-org-button2-parts { border: 1px solid green; }
.nube-org-tr-parts-first { border-top: 1px solid green; }
.nube-org-tr-parts > td:last-child { border-right: 1px solid green; }
.nube-org-tr-parts > td:first-child { border-left: 1px solid green; }
.nube-org-tr-parts-last { border-bottom: 1px solid green; }

.nube-org-sep-tr, .nube-org-sep-tr td { padding: 0 !important; }
.nube-org-sep-tr div { height: 8px; }

.nube-org-form {
	margin: 0 5px 8px 3px;
	background-color: white;
	border-radius: 5px;
	display: inline-block;
	overflow: auto; /* necessary for charts, for horizontal scrolling. */
	/* max-height: 400px; */
	max-width: 100%; /* otherwise form field options will push the form out to the left. */
	float: right;
}
.nube-org-form-mi { float: left; } /* MENU items only, OVERRIDING nube-org-form. */

.nube-org-form .nube-editor-help { max-height: 210px; }
.nube-org-form input[type="checkbox"], .nube-org-admins input[type="checkbox"] { vertical-align: middle; }

.nube-org-form .nube-widget-checkboxes, .nube-org-admins .nube-widget-checkboxes { margin-top: 5px; border: 1px solid #e0e0e0; }

.nube-org-wmenu {
	color: maroon; background-color: lightyellow;
	padding: 1px 30px 1px 13px;
	margin: -3px 0 3px -5px;
	border: 1px solid silver; border-radius: 10px;
	/* max-width: 100px; */
	display: inline-block;
}

.nube-org-close { opacity: .8; }
.nube-org-close-top { float: right; }
.nube-org-close-bottom { /* margin-left: 50px; vertical-align: middle; */ float: right; }

.nube-org-submit { float: left; }

/* instead of [.nube-org-submit input] in order to accomodate xnotary_calc. */
.nube-org-form input[type="submit"],
.nube-org-admins input[type="submit"],
.nube-org-admins #crm-form input[type="button"]
{ border: 1px solid navy; border-radius: 10px; margin-right: 10px; }

.nube-org-tr-forms > td { padding-top: 0 !important; }

.nube-org-zebra { background-color: #F7F7F7; }

.nube-org-controls { margin-right: 8px; color: gray; text-align: right; }
.nube-org-control { margin-right: 5px; }

.nube-org-seq { width: 45px; display: inline-block; font-size: 11px; }
.nube-org-image { width: 65px; display: inline-block; vertical-align: middle; text-align: center; margin-right: 8px; }

.nube-org-top-act { display: inline-block; margin: 1px; padding: 3px 5px; border: 1px solid transparent; border-radius: 10px; }
/* .nube-org-top-act:hover { border-bottom: 1px solid silver; } */
.nube-org-top-act-sel { border: 1px solid gray; }
.nube-org-top-act-sel1 { border-bottom: 1px solid brown; }

.nube-org-admins {}
.nube-org-admins .nube-org-button { margin-bottom: 5px; }
.nube-org-admins .nube-org-form { float: none; }
.nube-org-admins .nube-th-vhwebref { width: 50px; } /* so it doesn't resize when opening forms, e.g. in ecom > items. */

.nube-admin-button-close { visibility: hidden; }
.nube-admin-fieldset-open { border-color: brown; }

.nube-admin-button2 { border: 2px solid brown !important; }
.nube-admin-legend2 { color: brown; }

.nube-th-vorg_admin { width: 65px; } /* button + hwait. */
.nube-th-vhactive { width: 17px; }


.nube-admin-fieldset { display: inline; margin-top: 8px; padding: 5px; }
.nube-admin-fieldset legend { font-weight: normal; white-space: nowrap; }

.w2p_fc { display: none; }

.nube-fieldset { margin: 5px 3px; display: inline-block; }
.nube-org-fieldset-group { margin: 7px 0; border-radius: 10px; padding-bottom: 10px; }
.nube-org-fieldset-group > legend { color: gray; }

.nube-org-tabs {}
.nube-org-tabs > div { border-color: #DEDEDE !important; border-width: 0 1px 1px 1px !important; padding: 8px !important; }

.nube-org-tabs .nube-tab { border-color: brown !important; }

.nube-wuse-agenda { margin-top: 15px; }

#nube-lay-header .nube-tools-libview { margin: 5px 0 0 20px; }


[name=select_period] { max-width: 300px !important; }

.nube-payroll-days {}
.nube-payroll-days select { width: auto; margin-right: 5px; }
.nube-payroll-days input { width: 100px; }
.nube-payroll-days-button-div { margin: 25px 0 0 150px !important; }
.nube-payroll-days-button {
	padding: 8px;
	height: auto !important;
	border: 1px solid purple !important;
}
.nube-payroll-unsaved {
	border: 2px dotted purple;
	padding: 8px;
}
.nube-payroll-calcs { margin: 0 25px 0 15px; }

.nube-payroll-sign-plus { color: blue; }
.nube-payroll-sign-minus { color: red; }
.nube-payroll-sign-equal { color: green; }

.nube-payroll-section {}
.nube-payroll-day { width: auto; outline: 3px solid silver; }
.nube-payroll-day-none { width: 65px; text-align: center; }
.nube-payroll-day-100 { outline-color: green; }
.nube-payroll-day-50 { outline-color: orange; }
.nube-payroll-day-0 { outline-color: red; }
.nube-payroll-day-leave { visibility: hidden; }
.nube-visible { visibility: visible !important; }
