/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jan 4, 2016, 6:01:45 PM
    Author     : Narayana
*/

/*makes all element's width equal include padding and border instead of just content.
http://stackoverflow.com/questions/4698054/css-does-the-width-include-the-padding*/
* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html {
	font-family: Calibri, Verdana, "Century Gothic", Tahoma, sans-serif;
}

body {
	margin: 0px;
}

.content {
	margin-left: 15px;
	margin-top: 62px;
	margin-bottom: 200px;
	max-width: 820px;
	border: 0px solid black;
}

.listings-preview-wrapper {
	margin: 75px auto 0px auto;
	width: 1100px;
	height: 1000px;
}

#listings-preview-html {
}

h1 {
	font-size: 123.6%; /*1.236 x h2 font size*/
	color: white;
	/*text-transform: uppercase;*/
	margin: 0px;
	padding: 0px;
	font-weight: normal;
}

h2 {
	font-size: 100%;
	color: white;
	text-transform: uppercase;
	margin: 0px;
	padding: 0px;
	
}

h3 {
	font-size: 90%;
	margin: 10px 0px 5px 0px;
}

h3.inline {
	display: inline-block;
}

.body-text {
	font-size: 80%;
}

a:link {
	color: inherit;
}

a:visited {
	color: inherit;
}

a:active {
	color: inherit;
}

.disabled {
	opacity: 0.5;
}

.centered {
	text-align: center;
}

.unsaved {
	background-color: #BFA965;
}

.unsaved-border {
	border: 1px solid #BFA965;
}


/*
 * Data grid styles
 * See also .nav and .subnav for some shared styles
 */
table {
	border-collapse: collapse;
}

th {
	font-size: 85%;
	font-weight: normal;
	color: white;
	text-align: left;
	vertical-align: bottom;
	background-color: #98B35E;
	padding: 3px 15px 3px 5px;
	border-bottom: 1px black solid;
	margin: 0px;
	height: 20px;
}

th.up-to-3-char {
	width: 30px;
}

th.up-to-5-char {
	width: 55px;
}

th.up-to-10-char {
	width: 90px;
}

th.up-to-20-char {
	width: 140px;
}

tr#final-row {
	border-bottom: 1px solid black;
}

td {
	background-color: #ffffff;
	font-weight: normal;
	text-align: left;
	padding: 3px 15px 3px 5px;
	margin: 0px;
	height: 20px;
	vertical-align: top;
}

tr.grid-footer td {
	font-size: 85%;
	font-weight: normal;
	color: white;
	text-align: left;
	vertical-align: bottom;
	background-color: #98B35E;
	padding: 3px 15px 3px 5px;
	border-bottom: 1px black solid;
	margin: 0px;
	height: 20px;
}

.grid-footer input {
	height: 15px;
	width: 35px;
}

.grid-footer-right {
	float: right;
}

.grid-footer ul {
	margin: 0px;
}

.grid-footer a li:hover {
	background-color: #C5DB95;
}

table#images-grid {
	min-width: 400px;
	max-width: 100%;
}

.data-grid {
	font-size: 75%;
}

.no-records {
	font-size: 90%;
	font-style: italic;
}

/*Data-grid command styles*/
.data-grid-commands td {
	padding: 2px;
}


/*Form field styles*/
input, select, textarea {
	font-family: inherit;
	font-size: 80%;
	padding: 7px;
	border: 1px #98B35E solid;
	height: 35px;
}

input.file-upload {
	border: 0px #98B35E solid;
}

input.button {
	background-color: #98B35E;
	border: 0px;
	color: #FFFFFF;
}

input.button:hover {
	background-color: #C5DB95;
	color: #FFFFFF;
}

select.multi-select {
	height: 75px;
}

select.operator-select {
	position: absolute;
	width: 60px;
}

.operator-underlay {
	/*used for input fields that are under operator select*/
	padding-left: 65px;
}

textarea {
	min-width: 300px;
	width: 100%;
	height: 150px;
}

textarea#final-html {
	height: 175px;
}

/*Navigation Wrapper*/
.nav-wrapper {
	position: fixed;
	top: 0px;
	width: 100%;
	z-index: 90;
	margin: 0px;
}

#final-html-wrapper {
	position: fixed;
	bottom: 0px;
	width: 100%;
	z-index: 90;
	margin: 0px;
	background-color: #98B35E;
}

.nav-wrapper li {
	cursor: pointer;
	cursor: hand;
}

/*Main navigation style definition*/
.main-nav {
	background-color: #76923C;
	border: 0px solid #76923C;
	height: 32px;
	display: block;
	width: 100%;
	margin: 0px;
}

.main-nav ul {
	display: inline;
	padding-left: 0px;
	padding-top: 0px;
}

.main-nav li {
	display: inline-block;
	margin: 0px;
	padding: 0px 7px 0px 7px;
	line-height: 32px;
}

.main-nav li.nonlink {
	font-weight: bold;
	cursor: default;
}

.main-nav li:hover {
	background-color: #C5DB95;
}

.main-nav li.nonlink:hover {
	background-color: #76923C;
}

.main-nav .right-side {
	float: right;
}

/*Sub navigation style definition*/
.sub-nav {
	background-color: #98B35E;
	border: 0px solid #98B35E;
	height: 20px;
	display: block;
	width: 100%;
	margin: 0px;
}

.sub-nav ul, .grid-footer ul {
	display: inline;
	padding-left: 0px;
	padding-top: 0px;
}

.sub-nav li, .grid-footer li {
	display: inline-block;
	margin: 0px;
	padding: 0px 10px 0px 10px;
	line-height: 20px;
}

.sub-nav li:hover {
	background-color: #C5DB95;
}

/*Flash/info message styles*/
.message-bar {
	border: 0px solid #76923C;
	height: 20px;
	text-align: center;
	margin: 0px;
	color: #BFA965;
	font-weight: bold;
}

#flash-message {
	display: block;
}

#loading-message {
	display: none;
}

/*Element width classes*/

.full-width {
	width: 100%;
	min-width: 400px;
	padding-right: 10px;
}

.half-width {
	width: 100%;
	min-width: 200px;
}

.quarter-width {
	width: 100%;
	min-width: 100px;
}

.eighth-width {
	width: 100%;
	min-width: 50px;
}

.width-inherit {
	width: inherit;
	min-width: inherit;
}

/*General layout classes*/

.col-wrapper {
	border: 0px solid black;
	margin-bottom: 10px;
	width: 100%;
	overflow: auto;
	font-size: 0; 
	/* font-size set to 0 to avoid white space between DIVs from increasing width of cols
	see http://stackoverflow.com/questions/6871996/css-two-inline-block-width-50-elements-dont-stack*/
}

/*generic column wrapper*/
.col {
	display: inline-block;
	padding: 0px 10px 0px 0px;
	vertical-align: top;
	font-size: 1rem;
}

/*single column ... up to eight column*/
.one-col {
	min-width: 400px;
	width: 100%;
}

.two-col {
	min-width: 300px;
	width: 50%;
}

.four-col {
	min-width: 150px;
	width: 25%;
}

.eight-col {
	min-width: 75px;
	width: 12.5%;
}


/*Image styles*/

.grid-icon {
	height: 100%;
}

.grid-icon a img {
	width: 16px;
	vertical-align: middle;
	border: 0px;
}


#floating-image {
	width: 200px;
	height: 150px;
	border: 1px solid black;
	position: absolute;
	float: left;
	/*background-image: url("http://ebay.nwcapitalsolutions.com/images/00214_090315_honda_ps_reservoir_2.jpg");*/
	background-size: 200px 150px;
	display: none;
}


/*CSS Shapes*/

/*.triangle-up {
	display: inline;
	width: 0;
	height: 0;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-bottom: 6px solid white;
	position: relative;
	bottom: 10px;
	left: 5px;
}

.triangle-down {
	display: inline;
	width: 0;
	height: 0;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-top: 6px solid white;
	position: relative;
	top: 13px;
	left: 5px;
}*/

.triangle-down {
	/*requires relative position to work properly*/
	position: relative;
}

.triangle-down:after {
	content: "";
	display: inline;
	width: 0;
	height: 0;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-top: 6px solid white;
	position: absolute;
	right: -10px;
	bottom: 5px;
}

.triangle-up {
	position: relative;
}


	
.triangle-up:after {
	content: "";
	display: inline;
	width: 0;
	height: 0;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-bottom: 6px solid white;
	position: absolute;
	right: -10px;
	bottom: 5px;
}