/* Raised shadow - no pseudo-elements needed */

.raised, .Raised
{
    -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.Bold, .bold
{
    font-weight:bold;
}

.Bold A:link
{
  font-weight:bold;
}

/* Shared styles */

.drop-shadow
{
    position: relative;
    float: left;
    padding: 1em;
    margin: 2em 10px 4em;
    background: #fff;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

img.scale-with-grid
{
    max-width: 100%;
    height: auto;
}

texbox.scale-with-grid
{
    -webkit-text-size-adjust: auto;
}

.DropBoxCss
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 3px;
    border: 1px black solid;
    font-size: 130%;
    font-family: Comic Sans MS, Arial, Helvetica, Geneva;
}


.TextBoxCss
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 3px;
    border: 1px black solid;
}

.TextBoxWatermark
{
    font-size: 130%;
    font-weight: bold;
    color: #999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 3px;
    border: 1px black solid;
}


.Prompt1Css
{
    font-size: 110%;
    font-family: Comic Sans MS, Arial, Helvetica, Geneva;
}
.Prompt2Css
{
    font-size: 80%;
    font-family: Comic Sans MS, Arial, Helvetica, Geneva;
}
.EditRounded
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 3px;
    border: 1px black solid;
}
.Dashed, .dashed
{
    border: 1px black dashed;
}
.EditCoupon
{
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 3px;
    font-size: 140%;
    border: 2px black solid;
}

.rounded, .Rounded
{
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.drop-shadow:before, .drop-shadow:after
{
    content: "";
    z-index: -2;
}

.ListingByZipBox
{
    background-color: #ffe;
    border-width: 1px;
    border-color: #555;
    border-style: solid;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    height: 330px;
    vertical-align: middle;
    line-height: 93%;
    text-align: center;
}

.ListingByZipCategoryBox
{
    background-color: #ffe;
    text-align: center;
    font-size: 110%;
    font-weight: bold;
    background-color: #BBB;
    height: 55px;
    border-width: 1px;
    border-color: #555;
    border-style: solid;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    vertical-align: middle;
    border-radius: 8px;
}

.Inverted A:link
{
    color: #FFFFFF;
}
.Inverted A:visited
{
    color: #FFFFFF;
}
.Inverted A:hover
{
    text-decoration: underline blink;
    color: Yellow;
}
.Inverted td
{
    line-height: 140%;
}

.HalfBoxLeft
{
    float: left;
    width: 440px;
    border-width: 1px;
    border-color: #555;
    border-style: solid;
    padding: .1em;
    margin: 5px 5px 7px;
    background: #FFFFEE;
}
.HalfBoxRight
{
    float: left;
    width: 440px;
    border-width: 1px;
    border-color: #555;
    border-style: solid;
    padding: .15em;
    margin: 5px 5px 7px;
    background: #FFFFEE;
}

.CPStandard
{
    color: #444;
    background: #fff;
    font: 14px/21px "HelveticaNeue" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
}

.CPReverse
{
    color: #ff0;
    background: #000;
    font: 14px/21px "HelveticaNeue" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
}


.GreyBack, GrayBack
{
    color: #fff;
    background: #777;
    font: 14px/21px "HelveticaNeue" , "Helvetica Neue" , Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
}

iframe.scale-with-grid
{
    width: 420px;
    height: 236px;
}
@media only screen and (min-width: 768px) and (max-width: 959px)
{
    iframe.scale-with-grid
    {
        width: 300px;
        height: 169px;
    }
}
@media only screen and (max-width: 767px)
{
    iframe.scale-with-grid
    {
        width: 300px;
        height: 169px;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px)
{
    iframe.scale-with-grid
    {
        width: 420px;
        height: 236px;
    }
}



/*

Hide and seek... 

Make only wide visible by default, then conditionally hide it in favor of showing the others


*/

.WideNav
{
    display: block;
}
.MediumNav
{
    display: none !important;
}
.NarrowNav
{
    display: none !important;
}



/* #Tablet (Portrait)
================================================== */

/* Note: Design for a width of 768px */

@media only screen and (min-width: 768px) and (max-width: 959px)
{
    .WideNav
    {
    display: block;
    }
    .MediumNav
    {
    display: none !important;
    }
    .NarrowNav
    {
    display: none !important;
    }
}


/*  #Mobile (Portrait)
================================================== */

/* Note: Design for a width of 320px */

@media only screen and (max-width: 767px)
{
    .WideNav
    {
        display: none !important;
    }
    .MediumNav
    {
    display: none !important;
    }
    .NarrowNav
    {
    display: block !important;
    }
}

/* #Mobile (Landscape)
================================================== */

/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px)
{
    .WideNav
    {
    display: none !important;
    }
    .MediumNav
    {
    display: none !important;
    }
    .NarrowNav
    {
    display: block !important;
    }
}

.vcenter { 
  display: table; 
}

.vcenter p {
  display: table-cell; 
  vertical-align: middle; 
  text-align: center; 
}

