body { background-color: #333; color: #fff; margin: 0; }

body, p, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size:   13px;
  line-height: 18px;
}

ul {
    list-style: none;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a { color: #444; text-decoration: underline; }
a:hover { text-decoration: none; }
a:visited { color: #666; }

div.field, div.actions {
  margin-bottom: 10px;
}

div.actions {
    text-align: center;
}

div.actions .cta-button {
    display: inline-block;
}

h1
{
    margin-top: 0;
    line-height: 1.25;
}

/***
 * clearfix causes a container to include any internal floats in its height calculation
 ***/
.clearfix:after
{
        content:"."; display:block; height:0; clear:both;
        visibility:hidden;
}
/* IE7 */
*+html .clearfix{
 zoom:1;
}

/**
 * To apply vertical centering, create a <div class="vert-centering"><div>[CONTENT]</div></div> structure
 **/
.vert-centering
{
    display: table;
}
.vert-centering>div
{
    display: table-cell;
    vertical-align: middle;
}

/**
 * Form validation
 **/
.error
{
    color: red;
    font-size: smaller;
}

#notice {
  color: green;
}

.field_with_errors {
  padding: 2px;
  background-color: red;
  display: table;
}

#error_explanation {
  width: 450px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 0;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#error_explanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  margin-bottom: 0px;
  background-color: #c00;
  color: #fff;
  line-height: 1;
}

#error_explanation ul li {
  font-size: 12px;
  list-style: square;
}

#Header
{
    background-color: #333;
    color: #fff;
    width: 100%;
    padding-top: 20px;
}

#LogoAndSlogan
{
    float:right;
    text-align:right;
    padding:15px;
}

#Logo
{
    font-size:48px;
    font-variant:small-caps;
    text-decoration:none;
    background-color:#333333;
}

#Attribution
{
    padding-left: 15px;
    margin-top: 70px;
}


#Attribution a
{
    color: white;
}

#LogoShirt
{
    color: orange;
}

#LogoFit
{
    background-color:#333333;
    border-color:white -moz-use-text-color white white;
    border-style:solid none solid solid;
    border-width:1px medium 1px 1px;
    color:white;
    padding-left:5px;
}

#LogoFinder
{
    background-color:white;
    border-color:white white white -moz-use-text-color;
    border-style:solid solid solid none;
    border-width:1px 1px 1px medium;
    color:#333333;
    padding-right:5px;
}

#Slogan
{
    margin-top:10px;
    font-size: 14px;
    font-style: italic;
}

#MainContent
{
    background-color: #fff;
    color: #222;
    padding: 20px 0;
    margin-bottom: 20px;
    text-align: center;
}
#MainContent>div
{
    display: inline-block;
    text-align: left;
    max-width: 800px;
    padding: 0 20px;
}
#MainContent>.google-ad {
    margin: auto;
}

.google-ad {
    display: block;
    text-align: center;
    margin: 15px inherit;
}

.cta-button,
.cta-button:visited,
.regular-button,
.regular-button:visited
{
    -moz-border-radius:8px;
    border-radius: 8px;
    background-color:#333333;
    border:1px solid #999999;
    color:#FFFFFF;
    font-size: 24px;
    padding: 10px 20px;
    text-decoration:none;
    display: inline-block;
    line-height: 1.25;
    margin-bottom: 15px;
}

.cta-button:hover,
.cta-button:hover:visited,
.regular-button:hover,
.regular-button:hover:visited
{
    background-color:#CCC;
    color:#333333;
    cursor: pointer;
}

#BottomMenu
{
    float:left;
    margin-top: 0;
    padding-left: 20px;
}

#BottomMenu a
{
    color: #fff;
}

#BottomCopy
{
    font-size: .9em;
    font-style: italic;
    display: block;
    margin: 0 40px 0 200px;
    max-width: 660px;
}

label
{
    font-weight: bold;
}

div.field
{
    margin-bottom: 12px;
    position: relative;
}

a.help-link
{
    color: blue;
    vertical-align: super;
    font-size: smaller;
}

p.help-text
{
    display: none;
    width: 250px;
    position: absolute;
    top: -70px;
    right: 10%;
    background: white;
    padding: 20px;
    -webkit-border-radius: 20px;
    -webkit-box-shadow: black 5px 5px 5px;
    border: 1px solid black;
    z-index: 1;
}

.SubmitYourShirtContainer
{
    margin-bottom: 20px;
}

/**
 * NEW SIZES
 **/
form#new_size
{
    width: 650px;
}

.generic-form-instructions
{
    float: right;
    position: relative;
    top: -15px;
    border: 1px solid #333;
    padding: 0px 2px 2px 3px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
    background-color: #EEE;
}

#NewSizeBrandInfo
{
    background-color:#DDDDDD;
    border:1px solid #303030;
    padding: 8px;
    float: right;
    margin:-15px 85px 0 0;
}

#NewSizeBrandInfo > h3
{
    margin-top: 0;
}

#NewSizeBrandInfo > label
{
    display: inline-block;
    width: 60px;
}

#NewSizeMeasurementInstructions
{
    float: right;
    width: 400px;
}

.new-size-measurement-instructions
{
    display: none;
}

.new-size-measurement-instructions > h3
{
    margin-top: 0;
}

.new-size-measurement-instructions img
{
    display: block;
    margin: auto;
}

/************************
 * Blog
 ************************/

.blog-entry {
    margin-bottom: 35px;
}

.blog-entry ul {
    list-style: inherit;
}

.blog-entry blockquote {
    margin: 1em 2em;
    color: #777;
    border-left: 3px solid #999;
    padding-left: 1em;
}

.blog-entry .cta-button
{
    width: 400px;
    display: block;
    margin: 25px auto;
    text-align: center;
}

.blog-entry h2
{
    font-size: 28px;
    line-height: 28px;
    margin: 15px 0;
}

.subtitle
{
    margin-top: 0;
    font-style: italic;
}

.sff-submit-size {
    margin-top: 35px;
}

.float-left {
    float: left;
}

.butler-captioned-image {
    width: 160px;
    margin: 0 10px 0 0;
}

.caption-text {
    margin: 0;
    font-size: .8em;
    line-height: 1;
}

.clothing-list h4 {
    text-align: left;
    margin: 5px 0;
    line-height: 18px;
}
.clothing-list li {
    display: inline-block;
    width: 215px;
    margin: 15px;
    vertical-align: top;
    text-align: center;
    line-height: 12px
}

.clothing-list li .explaination-text {
    font-size: .8em;
    color: #999;
}

/***********************
 * Size Page
 ***********************/
#SizeDescription {
    margin: 20px 0 15px 0;
}

/*****************************
 * Brand page
 *****************************/
.brand_show {
  min-width: 600px
}

.brand_show h1 .logo {
    float: right
}

.brand_form label {
    margin-top: 20px;
    display: block;
}

.brand_form input, .brand_form textarea {
    display: block;
}

.brand_form input[type=submit] {
    margin: 20px 0
}

/*****************************
 * Aamazon shirt widget
 *****************************/

.amazon-shirts { margin: 15px 0; }
.as-list { margin: 0; border: 1px solid #333; border-radius: 10px; padding: 5px 0; }
.as-item { display: inline-block; }
.as-brand, .as-image, .as-name { display: block; text-align: center; }
.as-image > img { max-width: 160px; max-height: 160px; min-height: 100px; }
.as-name { max-width: 240px; }
.as-tip { display: none; }

.amazon-shirts .slick-prev:before, .amazon-shirts .slick-next:before { color: #333; }
.amazon-shirts .slick-slide img { display: inline; }