body {
    background: url('../img/escheresque.png');
    padding-top: 95px;
    text-rendering: optimizelegibility;
}
.control-label input { margin-top: -5px; }
.container {
    max-width: 1300px;
}
.homepage .container {
    max-width: 940px;
}
#content {
    padding: 20px 20px;
    background: #fff;
    box-shadow: 6px 0px 10px -7px #888, -6px 0px 10px -7px #888;
    max-width: 940px;
    float: left;
    display:inline-table;
    margin-right: 20px;
}

#landing-unit { margin-top: 20px; }

#footer {
    margin: 20px 0 0;
}

body.homepage #footer {
    margin: 20px 0 0;
    padding: 40px;
    color: #fff;
    background-color:#4e4e4e;
}

.brand img {
    height: 60px;
    width: auto;
}

.order-modal {
    width: 768px;
    margin-left: -384px;
}
.navbar a.brand { font-weight: 800 }
section {
	margin-top: 60px;
	padding-top: 100px;
}
h1 { color: #6a0000 }
td.linkType {
    background: #3D72B6;
    color:#fff;
}

/* login */
.form-signin {
    max-width: 300px;
    padding: 19px 29px 29px;
    margin: 0 auto 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
            border-radius: 5px;
    box-shadow: 6px 0px 10px -7px #888, -6px 0px 10px -7px #888;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin input[type="text"],
.form-signin input[type="password"] {
    font-size: 16px;
    height: auto;
    margin-bottom: 15px;
    padding: 7px 9px;
}

/* index */

.tooltip-inner {
	max-width: 500px;
}

.hero-unit {
	padding-bottom: 5px;
	background-color: #F3F3F3;
	border: 1px solid #ddd;
	text-align: center;
}

.hero-unit h1,
.hero-unit p {
	margin-bottom: 15px;
}

#social {
	display: inline-block;
	margin-top: 45px;
	text-align: center;
}

#gh-star {
	margin-right: 10px;
}

.twitter-share-button  {
	margin-right: 15px;
}

.rss-button {
	width: 40px;
	height: 14px;
	font-size: 11px;
	line-height: 14px;
	font-weight: bold;
	margin: 0 0 10px;
	padding: 2px 5px 2px 4px;
}

.index h3 {
	text-align: center;
	font-size: 20px;
}

#ticker {
	margin-top: 40px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.4;
}

.about {
	margin-top: 40px;
	margin-bottom: 40px;
}

.about > div {
	margin-bottom: 20px;
}

.about h3 {
	margin: 0;
	text-align: left;
}

.about i {
	margin-right: 8px;
	font-size: 1.3em;
}

#gallery {
	padding-top: 60px;
}

.thumbnail {
	margin-bottom: 20px;
	background-color: #f3f3f3;
	background-color: rgba(0, 0, 0, 0.05);
}

.thumbnail img {
	width: 100%;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}

.thumbnail .caption {
	color: inherit;
}

.thumbnail .caption p {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.thumbnail h3 {
	text-align: left;
	margin-bottom: 0;
}

.thumbnail .btn-toolbar {
	margin-top: 15px;
	text-align: right;
}

#more {
	margin-top: 40px;
	margin-bottom: 20px;
	text-align: center;
}

.links {
	margin-bottom: 20px;
}

.links > a {
	margin-right: 10px;
}

.bsa {
	float: right;
	max-width: 400px;
	padding: 0;
}

body .one .bsa_it_ad {
	margin-bottom: -10px;
	padding: 25px 25px 15px 25px;
	background: none;
	border: none;
	font-family: inherit;
	color: inherit;
}

body .one .bsa_it_ad .bsa_it_t,
body .one .bsa_it_ad .bsa_it_d {
	color: inherit;
	font-size: inherit;
}

body .one .bsa_it_p {
	display: none;
}

.bsap img {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

#footer .links a {
	margin-right: 10px;
}

@media (max-width: 480px) {

	.hero-unit {
		padding: 20px 20px 0;
		margin: 0 0 20px;
	}

	.hero-unit h1 {
		font-size: 36px;
	}

	.hero-unit iframe {
		margin-right: 0 !important;
	}

	#social {
		margin-top: 0px;
		margin-bottom: 20px;
	}

	#social > span {
		display: block;
	}

	#ticker {
		margin-top: 0;
	}

	.about {
		margin-top: 0;
	}

	.about h3 {
		margin-top: 30px;
	}

	.about p {
		margin-bottom: 0;
	}

	.thumbnail .btn {
		font-size: 15px;
	}

	.modal {
		position: fixed !important;
		top: 25% !important;
	}
}

@media (min-width: 481px) and (max-width: 767px) {

	.hero-unit {
		margin-top: 0;
		padding: 30px;
	}

	.about {
		margin-top: 0;
	}
}

@media (max-width: 767px) {


	section {
		padding-top: 20px;
	}

	.bsa {
		float: none;
	}
}

@media (max-width: 979px) and (min-width: 768px) {

	.index .navbar {
		margin-bottom: 0;
	}

	.hero-unit {
		border-radius: 0;
	}

	section {
		padding-top: 20px;
	}

	.thumbnail .btn {
		padding: 6px 10px;
		font-size: 14px;
	}
}

@media (min-width: 980px) {

	.index {
		padding-top: 40px;
	}

	.preview {
		padding-top: 100px;
	}
}

/* preview */

.subhead {
	padding-bottom: 0;
	margin-bottom: 9px;
}

.subhead h1 {
	font-size: 54px;
}

.subhead > div:first-child {
	min-height: 200px;
}

/* subnav */
 
.subnav {
	width: 100%;
	height: 36px;
	background-color: #eeeeee; /* Old browsers */
	background-repeat: repeat-x; /* Repeat the gradient */
	background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
	background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
	background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
	background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
	background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.subnav .brand {
    display:block;
    float:left;
    color:#333;
    font-weight: 800;
    padding:5px 20px;
    margin-left: -10px;
}

.subnav .nav {
	margin-bottom: 0;
}
 
.subnav .nav > li > a {
	margin: 0;
	padding-top:    11px;
	padding-bottom: 11px;
	border-left: 1px solid #f5f5f5;
	border-right: 1px solid #e5e5e5;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
 
.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
	padding-left: 13px;
	color: #777;
	background-color: #e9e9e9;
	border-right-color: #ddd;
	border-left: 0;
	-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
	-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
	box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
}
 
.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
	border-top-color: #777;
}
 
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
	border-left: 0;
	padding-left: 12px;
	-webkit-border-radius: 4px 0 0 4px;
	-moz-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;
}
 
.subnav .nav > li:last-child > a {
	border-right: 0;
}
 
.subnav .dropdown-menu {
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}

.subnav .navbar-form {
    margin-top: 3px;
}
 
.subnav .navbar-form input {
    margin:0;
    padding: 1px;
    height: auto;
}
.subnav .navbar-form button {
    margin:0;
    padding: 0 4px 1px;
    height: auto;
    margin-top:-1px;
}


.searchResult h5 { margin-top:0 }

.dropdown-menu>li>a.active {color:#fff;text-decoration:none;background-color:#e2861f;background-repeat: repeat-x; background-image: linear-gradient(to bottom,#e78b24,#da7e18); }
 
@media (max-width: 767px) {
 
	.subnav {
		position: static;
		top: auto;
		z-index: auto;
		width: auto;
		height: auto;
		background: #fff; /* whole background property since we use a background-image for gradient */
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}
 
	.subnav .nav > li {
		float: none;
	}
 
	.subnav .nav > li > a {
		border: 0;
	}
 
	.subnav .nav > li + li > a {
		border-top: 1px solid #e5e5e5;
	}
 
	.subnav .nav > li:first-child > a,
	.subnav .nav > li:first-child > a:hover {
		-webkit-border-radius: 4px 4px 0 0;
		-moz-border-radius: 4px 4px 0 0;
		border-radius: 4px 4px 0 0;
	}
}
 
@media (min-width: 980px) {
  
	.subnav-fixed {
		position: fixed;
		top: 40px;
		left: 0;
		right: 0;
		z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
		border-color: #d5d5d5;
		border-width: 0 0 1px; /* drop the border on the fixed edges */
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
		-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
		box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
		filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
	}
  
	.subnav-fixed .nav {
		width: 938px;
		margin: 0 auto;
		padding: 0 1px;
	}
  
	.subnav .nav > li:first-child > a,
	.subnav .nav > li:first-child > a:hover {
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}
}
 
@media (min-width: 1210px) {
 
	.subnav-fixed .nav {
		width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
	}
}

.cogs, .cogs-reverse {
    position: relative;
    width: 40px;
    height: 39px;
    font-size:14px;
    display:inline-block;
}

.cogs-reverse {
    -webkit-transform: scale(-1, 1);
    -moz-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);   
}

.cogs .icon-cog {
    position: absolute;
    top: 6px;
    left: 0px;
    -moz-animation: spin 3s infinite linear;
    -o-animation: spin 3s infinite linear;
    -webkit-animation: spin 3s infinite linear;
    animation: spin 3s infinite linear
}

.cogs .icon-2x {
    top: 16px;
    left: 8px;
    -moz-animation: spin 4s infinite linear;
    -o-animation: spin 4s infinite linear;
    -webkit-animation: spin 4s infinite linear;
    animation: spin 4s infinite linear
}
.cogs .icon-large {
    top: 0px;
    left: 18px;
    -moz-animation: spin 5s infinite linear;
    -o-animation: spin 5s infinite linear;
    -webkit-animation: spin 5s infinite linear;
    animation: spin 5s infinite linear
}

.color-header {
    padding: 43px 0;
    color: #ddd;
    background-color:#222;
    margin-bottom: 10px;
}
.color-header .well {border-color: #1C4D72; }
.color-header h1 {text-align: center;color:#00afcf;text-shadow: 0 1px 0 #000;margin: 0 0 30px}
.color-header h1 small {color:#fff}
body.homepage{background-image:url('../img/escheresque-light.png');}
.homepage .text-success {text-shadow: 0 1px 0 #000;color:#00afcf;}

.strike {
  position: relative;
    color:#bbb;
}

.strike.dark:after {
    border-top: .15em solid rgba(0, 0, 0, 0.75);
}
.strike:after {
    border-top: .15em solid rgba(255, 255, 255, 0.75);
    border-radius: 0.2em;
    content: '\00a0';
    -webkit-transform: rotate(-22deg);
    transform: rotate(-22deg);
    position: absolute;
    top: .6em;
    left: 0.25em;
    width: 120%;
}
.circle {
  position: relative;
  color: #ffda00;
  margin: 0 10px;
  min-width: 44px;
  display: inline-block;
  text-align: center;
}
.circle:before {
    border-top: .15em solid #FFDA00;
    border-radius: .9em;
    content: '';
    height: 1em;
    right: -0.1em;
    position: absolute;
    top: -0.12em;
    transform: rotate(-22deg);
    width: 1.1em;
    -webkit-transform: rotate(-22deg);
}
.circle:after {
    border: .25em solid #FFDA00;
    border-top: none;
    border-radius: 1.5em 1em 2em 1.5em;
    bottom: -.3em;
    content: '';
    left: -.3em;
    position: absolute;
    right: -.3em;
    top: 0em;
    height: 1.6em;
}

.center { text-align: center }
h2 small.pull-right{line-height:3}

.pricing-table > div.plan { padding: 9.8px; background: #fff; margin: 25px 0; color: #333;-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; width:219px }
.pricing-table.no-preferred > div.plan { margin:0; }
.pricing-table > div.plan.left-border { border-left: solid 1px #dcdcdc; }
.pricing-table > div.plan.preferred { z-index: 100; position: relative; margin: 0; -moz-box-shadow: #aaa 2px 1px 5px,#aaa -2px 1px 5px; -webkit-box-shadow: #aaa 2px 1px 5px,#aaa -2px 1px 5px; box-shadow: #aaa 2px 1px 5px,#aaa -2px 1px 5px; }
.pricing-table > .plan.left-round { -webkit-border-radius: 4px 0 0 4px; -moz-border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px; }
.pricing-table > .plan.right-round { -webkit-border-radius: 0 4px 4px 0; -moz-border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0; }
.pricing-table > .plan.no-round { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
.pricing-table .header { width: 220px; margin: -9.8px; padding: 9.8px; border-bottom: solid 5px #60D2E7; border-radius: 4px 4px 0 0; }
.pricing-table .preferred .header { border-bottom-color: #FDAF65 }
.pricing-table h2.title { text-transform: uppercase; font-size: 20px; line-height:20px; margin: 0 10px 0 0; }
.pricing-table h2.price { font-weight: normal; font-size: 38.5px; }
.pricing-table .features { margin: 20px 0; }
.pricing-table .preferred .features { margin: 45px 0; }
.pricing-table .features li { margin-bottom: 8px; }
.pricing-table .preferred .btn-inverse { text-shadow: 0 -1px 0 rgba(0,0,0,0.25); background-color: #D5720B; background-image: -moz-linear-gradient(top,#FDAF65,#DC6E04); background-image: -webkit-gradient(linear,0 0,0 100%,from(#FDAF65),to(#DC6E04)); background-image: -webkit-linear-gradient(top,#FDAF65,#DC6E04); background-image: -o-linear-gradient(top,#FDAF65,#DC6E04); background-image: linear-gradient(to bottom,#FDAF65,#DC6E04); background-repeat: repeat-x; border-color: #623204 #623204 #0d0d0d; border-color: rgba(98,50,4,0.1) rgba(98,50,4,0.1) rgba(98,50,4,0.25); }

a.beforeButton { margin-right: 10px; }

.homepage h1, .homepage h2, .homepage h3, .homepage h4, .homepage h5, .homepage h6 { text-align: center; }
.homepage .text-left { text-align: left; }
.homepage .text-right { text-align: right; }


@media only screen and (max-width: 600px) {
	.homepage .newwidth {
		width: 100%;
	}

	.navbar .nav.pull-right{float:none;}
	.navbar .nav li a{padding:10px 11px 10px;}
	.navbar .brand{margin-left:0;}
	.color-header{margin-top:25px;}
	#lead_banner{display: none;}
	#content{margin-top:60px;max-width:100%;margin-right:auto;margin-left:auto;}
	#rhs-banner{display: none;}
 }
 
 @media only screen and (max-width: 430px) {
 
      .homepage .nav-collapse.collapse{    display: -webkit-inline-box;}
    .homepage .container{
        max-width: 420px;
    }
    .span12{
      width:100%;
      margin-left: 0px;
    }
     .span7{
           width: 100%;
             margin-left: 0px;
           
    }
    iframe{
      width:100%;
    }
    h1 {
    font-size: 39.75px;
   }
   
   h1 small {
    font-size: 26.75px;
   }
   .container .row{
            margin-left: 0px;
   }
   
   
   .pricing-table .span3,.pricing-table .header,.row-fluid .span6 {
    width:100% !important;  
   }
   
   .row-fluid .span6{
        margin-left:0px;
   }
   
   .color-header {
     margin-top: 0px;
   }
       
 
 
 }
 
 @media only screen and (max-width: 375px) {
    .homepage .container{
        max-width: 360px;
    }
     .span12{
      width:100%;
    }
    .span7{
            width: 100%;
             margin-left: 0px;
    }
    iframe{
      width:100%;
    }
    h1 {
    font-size: 39.75px;
    }
    .color-header {
     margin-top: 40px;
    }
 }
 
 @media only screen and (max-width: 325px) {
    .homepage .container{
        max-width: 310px;
    }
     .span12{
      width:100%;
    }
     .span7{
           width: 95%;
    }
    iframe{
      width:100%;
    }
    h1 {
    font-size: 39.75px;
}
 }