body {
  background-color: #f0f0f0; 
}

h1,h2,h3,h4,h5 {
  font-weight:700;
}

h1 { 
  font-size: 2.5em;
  margin-bottom: 1em; 
}

h2 { 
  font-size: 1.8em; 
  line-height: 1.2em;
  margin: 1.2em 0 0.1em 0;
  color: #1f3f7a;
}

h3 {
  font-size: 1em;
  margin-bottom: 0px;
}

a {
  color:#006da5;
  text-decoration:none;
	outline: none;  /* TODO: Very temporary solution! */
}

a:hover {
  text-decoration:underline;
}

.error, .notice, .success, .message, .required, .password, .admin-toolbar {
  padding:.8em;
  margin-bottom:1em;
  margin-bottom: 2px;
}

.admin-toolbar {
  background:#FFF6BF;
  color:#514721;
  border-color:#FFD324;
}

.input.error, .input.notice, .input.success, .input.message, .input.required, .input.password {
  padding:0px;
  margin-bottom:0px;
  margin-bottom:0px;
}

.error a, .notice a, .success a, .message a {
  color: #006DA5;
}

.input.error .error-message {
  background-color: #F5DCDC;
  border: 1px solid #F5DCDC;
  float: left;
  margin-left: 15px;
  padding: 0px 10px;
  width: 250px;
}

.message {
  padding: .8em;
  background:#FFF6BF;
  color:#514721;
  border:2px solid #FFD324;
}

ul, ol {
  margin: 0 1.5em 1.5em 4em;
}

li ul, li ol {
  margin: 0.5em 4em;
}

#container {
  width: 950px;
  margin: 0 auto;
  position: relative;
  padding: 0px 17px;
  background: #FFF url(/img/shadow-bg.gif) repeat-y center top;
}

.paypal-transfer #container {
  width: 600px;
  background-image: none;
  background-color: transparent;
  text-align: center;
}

/* =Header */

#header {
  background:url(/img/header_bg.jpg) no-repeat #fe9900;
  height:139px;
  position:relative;
  width:100%;
}
  #header.white-label {
    background-image: none;
    background-color: transparent;
    height: auto;
    min-height: 75px;
  }

#flashMessage, #authMessage, #orderMessage {
  background-color: #fdefd8;
  color: #222;
  border-style: none;
}

/* =Branding */

#branding {
  width:330px;
  height:27px;
  position: relative;
  top:12px;
}

#branding a img {
  position: absolute;
  left: -40px;
}

#branding a strong {
  background:url(/img/logo-words.png) no-repeat;
  display:block;
  height:33px;
  left: 80px;
  position:relative;
  text-indent:-9999px;
  top:45px;
  width:239px;
}

  #branding.white-label {
    width: auto;
    height: auto;
    top: 0;
    min-height: 75px;
  }
  #branding.white-label a img {
    position: relative;
    left: 0;
  }
  #branding.white-label a strong {
    background-image: none;
    display: inline;
    height: auto;
    left: 0;
    text-indent: 0;
    top: 0;
    width: auto;
  }
  #branding.white-label .secondary {
    position: absolute;
    bottom: 0px;
    right: 0px;
  }

/* =Form Styles */

textarea {
  height: 200px;
}

input[type="text"],
input[type="password"],
textarea {
  border:solid 1px #828282;
  padding: 5px;
  margin: 0 0 0.8em;
}

div.text-box {
  height: 100px; 
  overflow: auto; 
  border: 1px solid #000; 
  padding: 7px; 
  width: auto;
}

div.text-box h1, 
div.text-box h2 {
  font-size: 1.5em;
  padding: 25px 0 0 25px;
}

div.form div.input {
  padding:2px;
}

div.form {
  margin:25px;
  position:relative;
}

div.form fieldset {
  border:1px solid #eee;
  margin-bottom:1em;
}

div.form legend {
  background-color:#FFF;
  font-size:116%;
  font-weight:700;
  left:5px;
  position:relative;
  top:-5px;
}

div.form div.input.text label,
div.form div.input.select label,
div.form div.input.textarea label,
div.form div.input.password label,
div.form div.input.checkbox label {
  font-weight: normal;
  display: block;
  width: 75px;
  float:left;
}

div.form div.input,
div.form div.submit {
  clear: both;
}

div.form div.input.text input,
div.form div.input.password input {
  width: 170px;
  border: 1px solid #333;
  background-color: #ededed;
  padding: 2px;
  float: left;
}

div.form div.submit,
div.form div.back {
  float:left;
}

div.form div.actions {
  float: right;
}

div.form div.actions ul {
  list-style: none;
  margin: 0px;
}

div.form div.actions ul li {
  float: left;
  margin: 0px 1em;
}

div.form div.actions ul li a {
  padding: 0.5em;
  display: block;
  text-decoration: none;
}

div.form div.actions ul li a:hover {
  background-color: #eee;
  -moz-border-radius: 5px;
  border: 1px solid #ccc;
  text-decoration: none;
}


/* =Login Box */

#login_box, #account_box {
  background: transparent url(/img/loginbox-bg.png) no-repeat top left;
  width:291px;
  height:55px;
  position:absolute;
  left:640px;
  top:0px;
  overflow: hidden;
}

#login_box form {
  text-align:right;
}

#login_box #user_name, 
#login_box #password {
  border:1px solid #828282;
  height:14px;
  margin-top:8px;
  width:72px;
}

#login_box #user_name {
  margin-right:10px;
}

#login_box #password {
  margin-right:2px;
}

#login_box div.input {
  display: inline;
}

#login_box .input label {
  margin-right: 5px;
  float: none;
  width: 20px;
}

#login_box .input input {
  padding: 2px;
  margin-bottom: 5px;
}

#login_box input.submit_button {
  margin:0 18px -5px 0px;
}

#login_box a.sign_up {
  clear: left;
  float:right;
  font-weight:700;
  margin-right: 10px;
}

/* =Account Box */

#account_box p {
  font-size: 130%;
  margin: 5px 0 0 10px;
}

#account_box a.logout {
  float: right;
  margin-right: 10px;
  font-weight: bold;
}
#account_box a.saved-banners {
  float: left;
  margin-left: 10px;
  font-weight: bold;
}

/* =Menu */

#menu {
  margin: 2px 0;
  background: #629ffe url(/img/menu-gradient-bg.gif) repeat-x top left;
  height: 42px;
  overflow: hidden;
  float: left;
  width: 100%;
  line-height: 42px;
}
  #menu.no-menu {
    height: 6px;
    line-height: 6px;
  }

#menu ul {
  margin-left: 75px;
  list-style: none;
  margin: 0;
}

#menu li {
  float: left;
  background: url(/img/menu-button-r.gif) no-repeat right top;
  height: 42px;
  margin: 0;
  padding: 0;
}

#menu a {
  display: block;
  background: url(/img/menu-button-l.gif) no-repeat left top;
  height: 42px;
  padding: 0px 14px;
  color: #000;
  font-weight: 700;
  font-size: 1.3em;
}

#menu a:hover {
  background: url(/img/menu-button-hover-l.gif) no-repeat left top;
  text-decoration: none;
}

#menu li:hover {
  background: url(/img/menu-button-hover-r.gif) no-repeat right top;
}

#menu a:active {
  background: url(/img/menu-button-on-l.gif) no-repeat left top;
}

#menu li:active {
  background: url(/img/menu-button-on-r.gif) no-repeat right top;
}

#menu div.menu-end {
  height: 42px;
  float: left;
}

#menu div.menu-end.left{
  background: url(/img/menu-end-left.gif) no-repeat top left;
  width: 6px;
  margin-left: 62px;
}

#menu div.menu-end.right{
  background: url(/img/menu-end-right.gif) no-repeat top left;
  width: 11px;
}

/* =Content Classes */

div.simple-content {
  background-color: #ddeafd;
}

div.simple-content > div {
  background-color: #ffffff;
  width: 60%;
  padding: 25px 20px;
}

div.simple-content li {
  position: relative;
}

.simple-content .example {
  position: absolute;
  top: -140px;
  left: 540px;
  padding: 30px;
  background: transparent url(/img/white-rt-arrow.png) no-repeat center left;
}
  .simple-content .example span {
    display: block;
    font-weight: bold;
  }

/* =Login & Signup page */

div.login-page {
  background-color: #ddeafd;
}
  div.login-page div.span-17 {
    background-color: #ffffff;
  }
  div.login-page form {
    padding: 50px 25px 25px;
  }
  div.login-page h2 {
    padding: 25px 0 0 25px;
    margin: 0;
  }
  div.login-page div.border {
    border-right: 1px dotted #666;
  }
  div.login-page .input.text input,
  div.login-page .input.password input {
    width: 170px;
    border: 1px solid #333;
    background-color: #ededed;
    padding: 2px;
  }
  div.login-page .input.text.error input,
  div.login-page .input.password.error input {
    border-color: #fa0000;
  }
  div.login-page div.input label {
    font-weight: normal;
    display: block;
    width: 75px;
  }
  div.login-page div.checkbox {
    margin-left: 75px;
  }
  div.login-page div.checkbox label {
    margin-left: 5px;
    width: auto;
  }
  div.login-page div.input input,
  div.login-page div.input label {
    float: left;
  }
  div.login-page div.input,
  div.login-page div.submit {
    clear: both;
  }
  div.login-page div.submit {
    text-align: right;
    width: 255px;
    padding-top: 15px;
  }

.login-page.white-label {
  background-color: transparent;
}
.login-page.white-label .login-form {
  margin: 0px auto;
  width: 305px;
}

/* =Footer */

#footer {
  background-color:#589aff;
  color:#434240;
  font-size:85%;
  height:30px;
  padding-top:15px;
  margin-top: 2px;
  position:relative;
}

#footer a {
  color:#434240;
  margin-left:15px;
}

#footer #copyright p {
  padding-left: 10px;
}

#footer #footer_menu ul {
  text-align: right;
  padding-right: 10px;
  list-style: none;
}

#footer #footer_menu li {
  display: inline;
}

div.shadow-footer {
  width: 100%;
  height: 15px;
  background: url(/img/shadow-footer.gif) no-repeat center top;
}

/* =Home Page */

#main #mission {
  margin: 40px 30px 40px 40px;
}

#main #mission h1 {
  font-weight: bold;
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

#main #mission a {
  display: block;
}

#main #mission p {
  font-size: 1.25em;
}

#mission div.video {
  width: 360px;
  padding: 20px 20px 5px 20px;
  height: 100px;
  margin-bottom: 0.5em;
}

#mission div.video.highlight {
  background-color: #e1ecfe;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

#mission div.video a {
  color: #000;
  font-size: 1.5em;
  font-weight: bold;
}

#mission div.video a:hover {
  text-decoration: none;
  color: #000;
}

#mission div.video a img {
  border: none;
  padding-right: 20px;
  float:  left;
}

#mission div.video a span {
  float: left;
  display: block;
  margin-top: 14px;
  width: 200px;
}

#mission div a.get-started {
  text-indent: -9999px;
  display: block;
  width: 198px;
  height: 48px;
  background: transparent url(/img/get-started-button.gif) no-repeat top left;
}

#secondary {
  border-left: 1px dotted #333;
  margin-left: -1px;
}

#showcase {
  padding: 25px 0 1em 30px;
}

#price {
  border-top: 1px solid #c0d4f3;
  margin: 1em 0 2em 0;
  padding: 2em 0 0 30px;
}

#price h2 {
  font-size: 1.5em;
  font-weight: bold;
}

#price h3 a {
  float: right;
  width: 107px;
  height: 107px;
  background: #fff url(/img/start-at-50-stamp.gif) no-repeat top left;
  margin-right: 2em;
  text-indent: -9999px;
}

#price .badge {
	float: right;
	width: 130px;
	background-color: #ffd699;
	border: 2px solid #f59400;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 5px;
	margin: 20px 20px 10px 20px;
	text-align: center;
	font-size: 1.2em;
	line-height: 1.2em;
}

#price .badge small {
	display: block;
	margin-top: 0.5em;
	font-size: 0.5em;
}

#price p {
  font-size: 1.25em;
}

#price dl {
  width: 250px;
  padding-top: 12px;
	margin-bottom: 20px;
}

#price dl dt, #price dl dd {
  background-color: #e1ecfe;
  border-bottom: 1px solid #c0d4f3;
  margin: 0;
  height: 18px;
  padding-top: 5px;
  padding-bottom: 5px;
}

#price dl dt {
  width: 190px;
  float: left;
  padding-left: 10px;
	overflow: hidden;
	font-weight: normal;
}

#price dl dd {
  width: 40px;
  float: right;
  text-align: right;
	padding-right: 10px;
	font-size: 1.5em;
	line-height: 12px;
	font-weight: bold;
	overflow: hidden;
}

#price .currency {
	vertical-align: super;
	font-size: 50%;
	padding-right: 2px;
}

/* =How Banners Work */

#flash_example {
  width: 300px;
}

/* =Gallery */

#main_gallery {
  margin:0 0 5px;
  padding:5px 0 20px 2px;
  position:relative;
}

.banner {
  border:1px dotted #BBB;
  float:left;
  height:250px;
  margin:-1px 0 0 -1px;
  padding:8px;
  position:relative;
  text-align:center;
  width:299px;
}

.banner img.thumb {
  cursor:pointer;
}

.banner img.thumb_728x90 {
  cursor:pointer;
  height:39px;
  left:8px;
  position:absolute;
  top:116px;
  width:312px;
}

.banner img.thumb_160x600 {
  cursor:pointer;
  height:256px;
  left:130px;
  position:absolute;
  top:5px;
  width:69px;
}

.banner img.thumb_300x250 {
  cursor:pointer;
  height:169px;
  left:63px;
  position:absolute;
  top:45px;
  width:203px;
}

.banner .stats {
  bottom:4px;
  color:#232e3e;
  font-size:85%;
  left:6px;
  margin-top:15px;
  padding:0;
  position:absolute;
}

.banner .sizes {
  bottom:7px;
  float:right;
  position:absolute;
  right:7px;
}

.banner .sizes .size728x90,
.banner .sizes .size300x250,
.banner .sizes .size160x600 {
  float:right;
  margin-left:4px;
  overflow:hidden;
  text-indent:-9999px;
}

.banner .sizes .size728x90 {
  height:5px;
  margin-top:20px;
  width:31px;
}

.banner .sizes .size300x250 {
  height:10px;
  margin-top:15px;
  width:12px;
}

.banner .sizes .size160x600 {
  height:25px;
  width:7px;
}

.banner .sizes .avail {
  background:#fe9f10;
  border:1px solid #494949;
}

.banner .sizes .unavail {
  background:#FFF;
  border:1px solid #494949;
}

/* =Size Selection */

.banner-size-select {
  background:#DDEAFD;
  display:block;
  font-size:.75em;
  height:252px;
  left:0;
  margin:5px;
  padding:20px 16px 16px;
  position:absolute;
  top:0;
  width:273px;
}

.banner-size-select .ss_question {
  font-size:14px;
  margin-bottom:15px;
  position:relative;
  width:auto;
}

.banner-size-select .ss_sizes {
  border-bottom:solid 1px #599aff;
  border-top:solid 1px #599aff;
  height:116px;
  padding:21px 5px 16px 0;
  width:270px;
}

.banner-size-select .ss_sizes .ss_size728x90,
.banner-size-select .ss_sizes .ss_size300x250,
.banner-size-select .ss_sizes .ss_size160x600 {
  float:left;
  height:115px;
  margin:0 15px;
  width:45px;
}

.banner-size-select .ss_sizes .ss_size728x90 {
  width:90px;
}

.banner-size-select .ss_sizes img,
.banner-size-select .ss_sizes label,
.banner-size-select .ss_sizes input {
  display:block;
  margin:0 auto 5px;
  position:relative;
  text-align:center;
}

.banner-size-select .ss_size728x90 img {
  margin-top:56px;
}

.banner-size-select .ss_size300x250 img {
  margin-top:42px;
}

.banner-size-select .ss_cost,
.banner-size-select input#ss_next, 
.banner-size-select #ss_cancel {
  position:absolute;
}

.banner-size-select .ss_cost {
  bottom:20px;
  left:15px;
}

.banner-size-select .ss_cost span {
  font-size: 12px;
}

.banner-size-select input[name=ss_next] {
  background:url(/img/which_size_next_btn.png) no-repeat 0 0;
  bottom:15px;
  height:29px;
  overflow:hidden;
  right:15px;
  text-indent:-9999px;
  width:66px;
  border-width: 0px;
}
.banner-size-select input[name=ss_next].inactive {
  background-image: url(/img/which_size_next_btn-disabled.png);
}

.banner-size-select #ss_cancel {
  background:url(/img/which_size_cancel_btn.png) no-repeat;
  bottom:14px;
  height:29px;
  overflow:hidden;
  right:100px;
  text-indent:-9999px;
  width:78px;
}

/* =About */
#about_container {
  background-color: #ddeafd;
}

#about_content {
  background-color: #ffffff;
}

#about_content > div,
#contact_form > div {
  padding: 25px 20px;
}

#contact_form form label {
  width: 110px;
  float: left;
}

#contact_form form div.input.text,
#contact_form form div.input.textarea,
#contact_form form input[type="text"],
#contact_form form textarea {
  margin: 0 0 0.8em;
}

#contact_form form input[type="text"] {
  padding: 5px;
}

#contact_form form div.input.textarea {
  border-bottom: 1px solid #609fff;
}

#contact_form form input[type="text"],
#contact_form form textarea {
  width: 240px;
}

#contact_form form textarea {
  height: 150px;
}

#contact_form form p#feedback_message {
  width: 60%;
  float: left;
}

#contact_form form div.submit {
  float: right;
}

/* =Preprocess */
body.paypal-transfer {
  background-color: #f0f0f0;
}

body.paypal-transfer #container {
  margin: 20px auto;
}

body.paypal-transfer h1 {
  text-indent: -9999px;
  background: transparent url(/img/transferring-to-paypal-header.png) no-repeat 50% 0px;
  width: 600px;
  height: 164px;
  margin: 0px;
  padding: 0px;
}

body.paypal-transfer p.flash-message {
  width: 400px;
  margin: 0px auto;
  padding: 30px 0px;
  font-size: 1.225em;
  text-align: center;
  background: transparent url(/img/dots32.gif) no-repeat 50% 0px;
}
  body.paypal-transfer p.flash-message a {
    color: #222;
    text-decoration: none;
  }
  
/* =Edit User Form */
#UserEditForm .error-message {
  width: 190px
}

/* =White Label */
.white-label .auth {
  position: absolute;
  top: 10px;
  right: 10px;
}
#branding.white-label {
  background: transparent url(/img/bg-gradient-grey.gif) repeat-x bottom left;
  height: 109px;
  position: relative;
}
  #branding.white-label .secondary a {
		position: absolute;
    bottom: 10px;
    right: 10px;
		text-indent: -9999px;
    background: transparent url(/img/powered-by-cb-sm.png) no-repeat center center;
    width: 113px;
    height: 29px;
	}
.info-banner {
  min-height: 120px;
  background-color: #feefd8;
  position: relative;
}
  .info-banner p.text {
    text-indent: -9999px;
    height: 120px;
    margin-bottom: 0px;
    background: transparent url(/img/select-a-template-text.gif) no-repeat 32px 50px;
  }
  .info-banner p.video {
    position: absolute;
    text-align: center;
    background: transparent url(/img/video-preview-small.gif) no-repeat center 8px;
    padding: 65px 4px 4px 4px;
    width: 140px;
    margin-bottom: 0px;
    top: 10px;
    right: 35px;
  }
  .info-banner p.video.highlight {
    background-color: #fef9f2;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }
.return-url {
	font-size: 1.5em;
}

div.empty-set {
	text-align: center;
	font-size: 1.5em;
}

.saved-banners.index {
	padding: 50px 20px;
}
	.saved-banners.index p.intro {
		width: 500px;
	}
	
#saved-banners th {
	height: 16px;
	background: transparent url(/img/table-heading-blue.gif) repeat-x 0 0;
	border-left: 1px solid #fff;
}
#saved-banners td {
	vertical-align: top;
	background-color: #f0f4f9;
	border-bottom: 3px solid #fff;
	color: #717171;
}
	#saved-banners td.name,
	#saved-banners td.save-status {
		font-weight: bold;
	}
	#saved-banners td.save-status {
		text-transform: capitalize;
	}
	#saved-banners td.banner-images ul li {
	  float: left;
		background-color: #fff;
		width: 48px;
		height: 48px;
		border: 1px solid #d6d6d6;
		background-position: center center;
		background-repeat: no-repeat;
		margin-right: 3px;
	}
#saved-banners ol {
	margin: 0px 0.5em 0.5em 1.5em;
}
#saved-banners ul {
	margin: 0;
}
	#saved-banners ul li {
		list-style: none;
		margin: 0;
	}

.actions ul {
	margin: 0;
}
	.actions ul li {
		list-style: none;
		float: left;
		padding-right: 2px;
	}
	.actions ul li a.icon {
		display: block;
		width: 22px;
		height: 20px;
		text-indent: -9999em;
	}
	.actions ul li a.properties {	background: #f0f4f9 url(/img/icon-properties-active.gif) no-repeat top center; }
	.actions ul li a.edit {	background: #f0f4f9 url(/img/icon-edit-active.gif) no-repeat top center; }
	.actions ul li a.duplicate { background: #f0f4f9 url(/img/icon-duplicate-active.gif) no-repeat top center; }
	.actions ul li a.delete{ background: #f0f4f9 url(/img/icon-delete-active.gif) no-repeat top center; }
	
#customizer {
  margin-top: 20px;
}