/*
robot green: a4ca39
light green: bbffaa
green1: 8bb45f
green2: 9fce6e
green3: b0e27a
green4: c0f785

dark gray: cccccc;
med gray: eeeeee;
light gray: f5f5f5;
gray1: 808080
gray2: cccccc
gray3: eeeeee
gray4: f2f2f2

light orange: ffa500 
dark orange: ff7f00
*/

body {
	padding-top: 60px;
}
.navbar-header {
}
.navbar-default{
	background:#fff;
	border:none;
}
.navbar.bordered{
	border-bottom:#a4ca39 2px solid;
}
a.navbar-brand {
    padding:0px;
    margin-top: 4px;
	margin-bottom:-4px;
    padding-left:10px;
}
a.navbar-brand img{
    padding-right:5px;
    height:42px;
}
#logo_name {
	height: 100%;
    font-size: 20px;
	background-repeat: no-repeat;
	background-position: 0px 5px;
}

hr {
	margin: 10px 0px 10px 0px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
 }


/* HEADERS */

h1 {
	margin-top: 0px;
	font-size: 180%;
	font-weight: bold;
}
h2 {
	font-size: 150%;
	font-weight: bold;
}
h3 {
	font-size: 125%;
	font-weight: bold;
}
h4 {
	font-weight: bold;
}

.well h1, .well h2, .well h3, .well h4 {
	margin: 0px;
	padding: 0px;
	border: none;
}

.panel-heading h1, .panel-heading h2, .panel-heading h3, .panel-heading h4 {
	margin: 0px;
	padding: 0px;
	border: none;
}



/* COMMON */

.vertical_spacer {
	height: 15px;
}

.with_border {
	margin-bottom: 5px;
	padding: 10px;
	border: 1px solid #eee;
	border-left: 3px solid #eee;
}

tr.highlight {
	background-color: #fcf8e3;
}
tr.completed {
	background-color: #dff0d8;
}
tr.canceled {
	background-color: #f2dede;
}

.color_box {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 1px solid Black;
	vertical-align: middle;
	margin-bottom: 3px;
}

.color_box.color_box_xs {
	width: 12px;
	height: 12px;
}


/* HOME */

.home_cell {
	border-radius: 4px;
	border: 1px solid #dddddd;
	padding: 10px;
	margin-bottom: 18px;
}

.gray_cell {
	background-color: #f5f5f5;
}
.gray_cell .text {
	display: block;
	margin-top: 10px;
	height: 50px;
	text-align: center;
}

.carrier_pics img {
	display: block;
	height: 60px;
	overflow: hidden;
}

.font_icon_link_110 {
	font-size: 100px;
	line-height: 110px;
	display: block;
	text-align: center;
}
.font_icon_link_50 {
	font-size: 50px;
	line-height: 60px;
	display: block;
	text-align: center;
}


/* BUY / SELL */

.or_hr {
	position: relative;
	margin-bottom: 18px;
	padding: 5px 0px 5px 0px;
	background-color: #fafafa;
	border-radius: 4px;
	border: 1px solid #eeeeee;
	/*
	background-color: #fafafa;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	*/
}
.or_hr hr {
	position: absolute;
	top: 18px;
	width: 100%;
	height: 10px;
	color: #dddddd;
	z-index: 1;
}
.or_hr_cirlce {
	position: relative;
	margin: 0px auto;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #aaaaaa;
	text-align: center;
	padding-top: 11px;
	z-index: 3;
}
.or_hr_cirlce .text {
	color: #ffffff;
	font-size: 20px;
	font-weight: bold;
	z-index: 4;
}
.or_hr .text_side {
	font-size: 16px;
	color: #aaaaaa;
	top: 18px;
	white-space: nowrap;
}
.or_hr .text_left {
	position: absolute;
	right: 50%;
	padding-right: 32px;
	z-index: 2;
}
.or_hr .text_right {
	position: absolute;
	left: 50%;
	padding-left: 32px;
	z-index: 2;
}


/* DEVICE GRID */

.dev_cell_tall {
	border-radius: 4px;
	border: 1px solid #dddddd;
	padding: 10px;
	margin-bottom: 18px;
}
.dev_cell_tall:hover {
	background-color: #f5f5f5;
}
.dev_cell_tall .image a {
	display: block;
}
.dev_cell_tall .title {
	margin-top: 10px;
	height: 52px;
	text-overflow: clip;
	overflow: hidden;
}
.dev_cell_tall .actions {
	margin: 5px -10px -10px -10px;
	padding: 0px;
	opacity: 0.9;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
.dev_cell_tall .actions .sell {
	float: left;
	width: 40%;
	background-color: #f0ad4e;
}
.dev_cell_tall .actions .buy {
	margin-left: 10px;
	background-color: #a4ca39;
}
.dev_cell_tall .actions a {
	padding: 20px;
	color: #ffffff;
	font-size: 1.1em;
	font-weight: bold;
}
.dev_cell_tall .actions a:hover {
	text-decoration: none;
}

.dev_cell_price_over {
	position: absolute;
	top: 0px;
	right: 10px;
	opacity: 0.8;
	background-color: #a4ca39;
	color: #ffffff;
	font-size: 1.1em;
	font-weight: bold;
	padding: 3px 5px 3px 5px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
.dev_cell_price_over a {
	opacity: 1.0;
	color: #ffffff;
}
.dev_cell_price_over a:hover {
	text-decoration: none;
}

.dev_cell_sell_over {
	position: absolute;
	bottom: 18px;
	left: 10px;
	background-color: #a4ca39;
	opacity: 0.8;
	color: #ffffff;
	font-size: 1.0em;
	font-weight: bold;
	padding: 3px 12px 3px 12px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
.dev_cell_sell_over a {
	opacity: 1.0;
	color: #ffffff;
}
.dev_cell_sell_over a:hover {
	/*text-decoration: none;*/
}


.dev_cell_wide {
	/* Use some BS3 panel styles for border and such */
	margin-bottom: 15px;
	padding: 10px;
	border: 1px solid #dddddd;
	border-radius: 4px;
}
.dev_cell_wide .image {
	padding: 5px;
	width: 100px;
	text-align: center;
}
.dev_cell_wide .image:hover {
	background-color: #f5f5f5;
}
.dev_cell_wide .body {
	padding-left: 100px;
}
.dev_cell_wide .title {
	font-size: 125%;
	font-weight: bold;
	text-align: left;
	width: 100%;
	height: 35px;
}
.dev_cell_wide .title a {
	display: block;
	line-height: 100%;
}
.dev_cell_wide .subtitle {
	font-size: 115%;
}
.dev_cell_wide .prices {
	font-size: 115%;
}
.dev_cell_wide .buttons {
	margin-top: 10px;
}
.dev_cell_wide .buttons .buy_button {
	width: 60%;
	font-weight: bold;
}
.dev_cell_wide .buttons .sell_button {
	width: 35%;
}
.dev_cell_wide .cell_link a {
	color: #333333;
	text-decoration: none;
}
.dev_cell_wide .cell_link a:hover {
	color: #a4ca39;
}


/* SEARCH DEVICE GRID */

.search_device_cell {
	margin-bottom: 5px;
	padding: 5px;
	border: 1px solid #dddddd;
	border-radius: 3px;
}
.search_device_cell .image {
	padding: 5px;
	width: 50px;
	text-align: center;
}
.search_device_cell .title {
	font-size: 110%;
	height: 30px;
}
.search_device_cell .title a {
	display: block;
	line-height: 100%;
}
.search_device_cell .buttons {
	margin-top: 5px;
}


/* LISTINGS */

.listing_preview {
	cursor: pointer;
	border: 1px solid #cccccc;
	margin-bottom: 5px;
	border-radius: 4px;
}
.listing_preview.featured {
	background-color: #fcf8e3;
	color: #8a6d3b;
	border: 1px solid #faebcc;
}
.listing_preview.featured a {
	color: #66512c;
}
.listing_preview.business {
	background-color: #d9edf7;
	color: #31708f;
	border: 1px solid #bce8f1;
}
.listing_preview.business a {
	color: #245269;
}
.listing_preview.primo {
	background-color: #dff0d8;
	color: #3c763d;
	border: 1px solid #d6e9c6;
}
.listing_preview.primo a {
	color: #2b542c;
}
.listing_preview .inner {
	padding: 5px;
}
.listing_preview .inner:hover {
	background-color: #dff0d8;
}
.listing_preview .media {
	margin: 0px;
	padding: 0px;
}
.listing_preview .seller_img {
	margin-top: 5px;
}
.listing_preview .price {
	color: inherit;
	font-size: 150%;
	line-height: 100%;
	font-weight: bold;
}
.listing_preview .price:hover {
	text-decoration: none;
}
.listing_preview .condition {
	font-weight: bold;
}
.listing_preview .code {
}
.listing_preview .icons {
	white-space: nowrap;
}
.listing_preview .icons img {
	width: 12px;
	height: 12px;
}
.listing_preview .stars_area {
	white-space: nowrap;
	overflow: visible;
}
.listing_preview .stars-small {
	white-space: nowrap;
}
.listing_preview .stars_count {
	color: #888888;
	font-size: 80%;
}
.listing_preview .storage {
}
.listing_preview .color_box {
	display: inline-block; 
	width: 16px; 
	height: 16px; 
	border: 1px solid Black; 
}
.listing_preview .seller_info {
	font-size: 90%;
}
.listing_preview .ship_from {
	font-size: 90%;
}
.listing_preview .more_area {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-top: 3px; 
	padding-top: 3px; 
	font-size: 90%;
}
.listing_preview .headline {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.listing_preview .headline a {
	display: block;
}
.listing_preview .staff_info {
	background-color: rgba(0, 0, 0, 0.1);
}
.listing_preview .nowrap {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.listing_preview .buy_now_price_3, .buy_now_price_ {
	font-size: 400%;
	line-height: 100%;
	font-weight: bold;
}
.listing_preview .buy_now_price_5 {
	font-size: 330%;
	line-height: 120%;
	font-weight: bold;
}

.listing_preview .preview_price_3, .preview_price_ {
	font-size: 200%;
	font-weight: bold;
	line-height: 110%;
	display: block;
}
.listing_preview .preview_price_5 {
	font-size: 125%;
	font-weight: bold;
	line-height: 200%;
	display: block;
}

.buy_now_price_3, .buy_now_price_ {
	font-size: 400%;
	line-height: 100%;
	font-weight: bold;
}
.buy_now_price_5 {
	font-size: 330%;
	line-height: 120%;
	font-weight: bold;
}

.listing_images {
}
.listing_images .listing_image {
	float: left;
	padding: 5px;
	margin: 0px 10px 10px 0px;
	border: 1px solid #eee;
}

hr.listing_section_sep {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Listing User Prefs */
.listing_side_actions {
	text-align: right;
	position: fixed;
	top: 30%;
	right: 0;
}
.listing_side_actions a {
	margin-top: 0 !important;
	border-radius: 0;
    transition: background 0.3s ease-in 0s;
    z-index: 900;
}


/* COMMENTS */

#formComment textarea {
	height: 100px;
	font-size: 110%;
}

.comment {
	/*
	margin-bottom: 5px;
	padding: 5px;
	border: 1px solid #eee;
	border-left: 3px solid #eee;
	*/
}
.comment .text {
	margin-top: 7px;
}

.my_comment {
	background-color: #f5f5f5;
}


/* FORMS */

.field label {
	font-size: 14px;
	margin-bottom: 0px;
}
.field label.required {
}
.field .help-block {
	font-weight: normal;
}

form .errors {
	font-style: italic;
	color: #b94a48;
}
form .errors label {
	color: #b94a48;
}

.field ul.yes_no {
	margin-top: 0px;
}
.field .yes_no li {
	display: inline-block;
	margin-right: 10px;
}
.field .yes_no li label {
	margin-top: 0px;
}


/* TABLES */

th, .table th {
	text-align: center;
	background-color: #f5f5f5;
}
/* Turn off bootstrap row highlighting */
.table tbody tr:hover td,
.table tbody tr:hover th {
	background-color: inherit;
}


/* LISTS */

.list_checks {
	list-style-image: url('https://s3.amazonaws.com/swappa/static/icons/tick.png');
}
.list_cross {
	list-style-image: url('https://s3.amazonaws.com/swappa/static/icons/cross.png');
}
.list_flags_red {
	list-style-image: url('https://s3.amazonaws.com/swappa/static/icons/flag_red.png');
}
.list_feeds {
	list-style-image: url('https://s3.amazonaws.com/swappa/static/icons/feed.png');
}


/* QA */
/* Use panel stylings... */

.qa .question {
	font-weight: bold;
}

/* QUOTES */
/* Use panel stylings... */

.quote .quotation {
	font-style: italic;
}


/* SPECS */

.specs td ul {
	margin-left: 0px;
	padding-left: 0px;
}
.specs td li {
	margin-left: 0px;
	list-style: none;
}


/* MISC */

.device_billboard {
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.panel_not {
	overflow: hidden;
	border-bottom-right-radius: 4px;
	margin-bottom: 18px;
}
.panel_not ul {
	font-size: 110%;
	padding-left: 20px;
}
.panel_corner_cta {
	position: absolute;
	bottom: 10px; left: 25px;
}
.panel_corner_image {
	float: right;
	width: 80%;
	margin: -20px -55px -5px 0px;
}


/* BOOTSTRAP SUPPLEMENTAL */

.alert {
	padding: 10px;
	margin-bottom: 10px;
}
.alert-grey, .alert-gray {
  background-color: #f5f5f5;
  border-color: #dddddd;
  color: #555555;
}
.alert-white {
  background-color: #ffffff;
  border-color: #dddddd;
  color: #444444;
}
.alert-white a {
	text-decoration: none;
}
.alert .dropdown-menu a {
	text-decoration: none;
}	

.btn-xl {
	padding: 12px 18px;
	font-size: 20px;
	line-height: 1.5;
	border-radius: 7px;
}
/*
.btn-lg {
padding: 10px 16px;
font-size: 18px;
line-height: 1.33;
border-radius: 6px;
}
*/

/* make default button very light grey rather than white. */
.btn-default {
  background-color: #f5f5f5;
}
header .btn-default {
  background-color: #ffffff;
}

.panel-heading {
	font-weight: bold;
}
.panel-body ul {
	margin-left: 0px;
	padding-left: 20px;
}
.panel-body ul li {
	margin-left: 0px;
}
.panel-footer ul.inline-list {
	margin-bottom: 0px; 
	padding-left: 0px;
}
.panel-footer ul.inline-list li {
	display: inline; 
	padding-right: 20px;
}
.panel-footer a.btn {
	color: #ffffff;
}
.panel-footer a.btn-default {
	color: #333333;
}
.panel-info .panel-footer a.btn {
	color: #ffffff;
}
.panel-info .panel-heading a {
	color: #245269;
}
.panel-info .panel-footer a {
	color: #245269;
}
.panel-success .panel-heading a {
	color: #2b542c;
}
.panel-success .panel-footer a {
	color: #2b542c;
}
.panel-success .panel-footer a.btn {
	color: #ffffff;
}
.panel-danger .panel-heading a {
	color: #843534;
}
.panel-danger .panel-footer a {
	color: #843534;
}
.panel-primary .panel-heading a {
	color: #ffffff;
}


/* MISC */

.news_logo {
	height: 100px;
	padding: 15px 0px 15px 0px;
}
.news_logo a {
	display: block;
}
.news_logo a:hover {
}

.staff_cell {
	border-radius: 4px;
	border: 1px solid #dddddd;
	padding: 10px;
	margin-bottom: 18px;
}
.staff_cell .image {
	margin-bottom: 9px;
}
.staff_cell .name {
	font-size: 90%;
	font-weight: bold;
	line-height: 100%;
	margin-bottom: 5px;
}
.staff_cell .title {
	min-height: 38px;
	font-size: 90%;
	line-height: 100%;
}


/* FOOTER */

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	clear: both;
	background: #858585;
	color: #cecece;
	/*padding-top:10px;*/
	/*margin-top:20px;*/
	/*padding-bottom: 10px;*/
}
footer ul {
	padding: 0px;
	margin: 0px;
}
footer li {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
footer div.row {
	margin-top: 15px;
}
footer a {
	color: #fff;
	font-size: 1.1em;
	padding: 5px 0px !important;
	font-weight: normal;
}
footer a:hover {
	color: #cecece;
	text-decoration: none;
}
footer .social_links i {
	font-size: 2.8em;
}
footer .copyright {
}
footer span.logo_name {
	font-size: 20px;
}

footer .subfooter div.row {
	margin-top: 5px;
}
footer .subfooter a {
	font-size: 100%;
	text-overflow: clip;
	white-space: nowrap;
}
footer .subfooter h4 {
	font-weight: normal;
	font-size: 110%;
}
footer .subfooter hr {
	color: #cecece;
	opacity: 0.5;
	margin: 10px 0px 10px 0px;
}

#section_main > div > div.col-md-4 > div > div {
    margin-bottom: 0px;
}
#section_comments > div > div.col-md-8 > div.comments > div:nth-child(1) > div.panel-heading > div > a{
    padding: 3px 6px;
    margin-top: -4px;
}

.center {
	margin: 0 auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* responsive social panels */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}
.embed-container iframe, .embed-container object, .embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.form-control-static.box {
	padding: 6px 12px;
	background-color: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

.font-bold {
	font-weight: bold !important;
}


/* glyphicon spin */

.glyphicon-spin {
  -webkit-animation: spin 1000ms infinite linear;
  animation: spin 1000ms infinite linear;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}


/* Media Queries */
@media (max-width: 768px) {
	footer {
		position: relative;
	}
	footer .copyright {
		padding-bottom: 10px;
		padding-top: 10px;
	}
	footer ul {
		margin-bottom: 25px;
	}

}
@media (min-width: 768px) {
	.navbar-nav.navbar-right:last-child {
		margin-right: 0px;
	}
	html {
		position: relative;
		min-height: 100%;
	}
	body {
		/* Margin bottom by footer height */
		margin-bottom: 225px;
	}
	footer {
		height: 225px;
	}
}


/* Social Icons new share */
.shareicon {
	display: inline-block;
	height: 32px;
	width: 32px;
	margin: 0 3px;
}
.shareicon:hover {
	opacity: 0.75;
}
.si-facebook {
	background-image: url("https://s3.amazonaws.com/swappa/static/icons/32_facebook.png");
}
.si-twitter {
	background-image: url("https://s3.amazonaws.com/swappa/static/icons/32_twitter.png");
}
.si-google {
	background-image: url("https://s3.amazonaws.com/swappa/static/icons/32_googleplus.png");
}
/* Remove number input spinner */
input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
/* nav-pills title */
.nav-pills span.nav-header{
	font-weight: bold;
    position: relative;
    display: block;
	padding: 10px 12px;
}
.hideOverflow {
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}

.staff-user-comments-scroll {
	max-height: 120px;
	overflow-y: auto;
}
.staff-user-comments-scroll .comment-content {
	white-space: pre-wrap;
}

/* Print without links in parentheses. */
@media print {
	a[href]:after {
		content: none !important;
	}
}
