/* BLOG COMMON */
body.blog .site-wrapper {
    background: url(../images/backgrounds/care-bg.jpg) no-repeat top center;
}

body.blog .date-badge {
    height: 70px;
    text-align: center;
    width: 83px;    
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.5em;
}

body.blog .date-badge .year {
    background: url(../images/blog/title_date_year_bg.gif) no-repeat 0 0;
    font-size: 14px;
    height: 25px;
    line-height: 25px;
    width: 70px; 
}

body.blog .date-badge .day-month {
    background: url(../images/blog/title_date_day_bg.gif) no-repeat 0 0;
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    width: 70px;
}

/* BLOG INDEX */
body.blog-index .blog-item {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
}

body.blog-index .blog-item h2 {
    color: #333;
    font-size: 20px;
    font-weight: 100;
}

.blog-index p.button-container {
    text-align: right;
}

.blog-index a.fast-button {
    background: url(../images/blog/fast-button-bg.png) left center repeat-x;
    display: inline-block;
    color: #e3e3e3;
    font-weight: bold;
    padding: 0.5em 0.75em;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1;
}

.blog-index a.fast-button:hover {
    text-decoration: none;
    color: #fff;
}

body.blog .schedule {
    padding: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 20px #ccc;
    margin-top: 35px;
}

body.blog .schedule-header {
    background: url(../images/blog/fast-button-bg.png) left center repeat-x;
    color: #fff;
    font-weight: bold;
    padding: 0.5em 0.5em;
    border-radius: 5px;
    font-size: 18px;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1;
}

body.blog .schedule ul {
    padding-left: 0;
}

body.blog .schedule ul li {
    line-height: 1.25em;
    border-top: 1px solid #e9e9e9;
    list-style-image: none;
    list-style: none;
    margin: 0;
    padding: 10px 10px 10px 25px;
}

body.blog .schedule ul li.active {
    background: url(../images/blog/schedule-bullet.png) no-repeat left center;
}

body.blog .schedule ul li:nth-child(odd) {
    background-color: #f4f4f4;
}

body.blog .schedule .date {
    color: #828282;
}

body.blog .schedule a {
    display: block;
    font-weight: bold;
}

/* COMMERCIAL INDEX */
body.commercial-index .header {
    margin-bottom: 0;
}

body.commercial-index .site-wrapper {
    background: url(../images/backgrounds/commercial-bg.jpg) no-repeat 0 50px;
}

body.commercial-index .masthead {
    height: 400px;
    color: #fff;
}

body.commercial-index .masthead h1 {
    font-size: 36px;
    font-weight: 100;
    line-height: 50px;
    margin: 25px 390px 0 15px;
    text-shadow: 2px 2px 2px #555;
    text-transform: uppercase;
}

body.commercial-index .masthead p.lead {
    margin: 0.5em 0 0 15px;
    text-shadow: 2px 2px 2px #555;
}

body.commercial-index .subcategory {
    background: url(../images/tire-cat-block-bg.png) repeat-x bottom center;
    min-height: 240px;
    padding: 10px 15px;
}
    
body.commercial-index h2.subcategory-name a {
    color: #000;
}

body.commercial-index p.subcategory-description {
    color: #666;
    font-size: 12px;
}

body.commercial-index .subcategory a.cta {
    color: #000;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
}

/* COMMERCIAL CATEGORY */
body.commercial-category .site-wrapper {
    background: url(../images/backgrounds/tbr-bg.jpg) no-repeat top center;
}

body.commercial-category .subcategory {
    background: url(../images/tire-cat-block-bg.png) repeat-x bottom center;
    min-height: 142px;
    padding: 10px 15px;
}
    
body.commercial-category h2.subcategory-name a {
    color: #000;
}

body.commercial-category p.subcategory-description {
    color: #666;
    font-size: 12px;
}

body.commercial-category .subcategory a.cta {
    color: #000;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
}

/* COMMERCIAL SUBCATEGORY */
body.commercial-tires .site-wrapper {
    background: url(../images/backgrounds/tire-bg.jpg) no-repeat top center;
}

body.commercial-tires .tire-item {
    background: url(../images/backgrounds/tire-cat-list-item-bg.png) repeat-x bottom;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

body.commercial-tires a.cta {
    font-size: 16px;
    font-weight: normal;
    margin: 10px 0 0;
}

body.commercial-tires .main h3 {
    color: #027ac6;
    font-size: 17px;
    font-weight: bold;
    line-height: 24px;
    text-shadow: 1px 1px 2px #ddd;
    text-transform: uppercase;
}

body.commercial-tires .tire-teaser {
    color: #7f7f7f;
    font-size: 14px;
    line-height: 20px;
    margin: 5px 0 0;
}

/* CONTACT */
body.contact .site-wrapper {
    background: url(../images/backgrounds/care-bg.jpg) no-repeat top center;
}

/* HOMEPAGE */
body.index {
    background: #fff url(../images/toyo-home-bg-gradient.png) repeat-x top center;
}

body.index .header {
    margin-bottom: 0;
}

body.index .main {
    background: none;
    box-shadow: none;
}

/* LABEL COMMON (body.label gets renamed to body.ecolabel using jQuery) */
body.ecolabel .site-wrapper {
    background: url(../images/backgrounds/care-bg.jpg) no-repeat top center;
}

/* NEWS COMMON */
body.news .site-wrapper {
    background: url(../images/backgrounds/care-bg.jpg) no-repeat top center;
}

/* NEWS INDEX */
body.news-index .news-item {
    border-bottom: 1px solid #ccc;
    padding-bottom: 17px;
}

body.news-index .news-item h2 {
    font-weight: normal;
}

/* NEWS ITEM */
body.news-item .content img {
    display: block;
    height: auto;
    max-width: 100%;
}

/* PAGE */
body.page .site-wrapper {
    background: url(../images/backgrounds/care-bg.jpg) no-repeat top center;
}

body.page .content img {
    display: block;
    height: auto;
    max-width: 100%;
}

/* TIRE COMMON */
body.tire .compare-modal .modal-dialog {
    width: 1100px;
}

body.tire .eu-performance-rating-modal .modal-rating-header {
    border-bottom: 2px solid #333;
    margin-bottom: 10px;
    color: #0a318f;
    font-size: 14px;
}

body.tire .global-performance-rating-modal .modal-rating-header {
    border-bottom: 1px solid #ccc;
    color: #0a318f;
    font-size: 14px;
}

body.tire .global-performance-rating-modal .modal-rating-subheader {
    font-size: 14px;
    border-bottom: 2px solid #333;
    margin-bottom: 10px;
}


body.tire .modal-rating-header span {
    margin-bottom: 1em;
    display: block;
}

body.tire .modal-rating-row h4 {
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
}

body.tire .modal-rating-row {
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

/* TIRE INDEX */
body.tire-index .site-wrapper {
    background: url(../images/backgrounds/tire-bg.jpg) no-repeat top center;
}

body.tire-index .subcategory-nav {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding-top: 1em;
    padding-bottom: 1em;
    font-weight: bold;
}

body.tire-index .subcategory {
    background: url(../images/tire-cat-block-bg.png) repeat-x bottom center;
    min-height: 240px;
    padding: 10px 15px;
}
    
body.tire-index h2.subcategory-name a {
    color: #000;
}

body.tire-index p.subcategory-description {
    color: #666;
    font-size: 12px;
}

body.tire-index .subcategory a.cta {
    color: #000;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
}

/* TIRE CATEGORY */
body.tire-category .site-wrapper {
    background: url(../images/backgrounds/tire-bg.jpg) no-repeat top center;
}

body.tire-category .header {
    margin-bottom: 0;
}

body.tire-category .main {
    position: relative;
}

body.tire-category .masthead {
    height: 345px;
    color: #fff;
}

body.tire-category .masthead h1 {
    font-size: 36px;
    font-weight: 100;
    line-height: 50px;
    margin: 1em 15px 0.5em 15px;
    text-shadow: 2px 2px 2px #555;
    text-transform: uppercase;
}

body.tire-category .masthead p.lead {
    margin: 0 15px;
    text-shadow: 2px 2px 2px #555;
}

body.tire-category .subcategory-item h2 {
    font-weight: normal;
    border-bottom: 1px solid #333;
    padding: 0 0 1em 0;
    font-size: 18px;
    color: #333;
    margin-top: 1em;
}

body.tire-category .subcategory-item h2 .category-name {
    text-transform: uppercase;
    font-weight: bold;
}

body.tire-category .tire-item {
    background: url(../images/backgrounds/tire-cat-list-item-bg.png) repeat-x bottom;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

body.tire-category a.cta {
    font-size: 16px;
    font-weight: normal;
    margin: 10px 0 0;
}

body.tire-category .main h3 {
    color: #027ac6;
    font-size: 17px;
    font-weight: bold;
    line-height: 24px;
    text-shadow: 1px 1px 2px #ddd;
    text-transform: uppercase;
}

body.tire-category .tire-teaser {
    color: #7f7f7f;
    font-size: 14px;
    line-height: 20px;
    margin: 5px 0 0;
}

/* TIRE PATTERN */
body.tire-pattern .site-wrapper {
    background: url(../images/backgrounds/tire-bg.jpg) no-repeat top center;
}

body.tire-pattern .main {
    position: relative;
}

body.tire-pattern .main ul.nav-tabs {
    background: url(../images/backgrounds/cord_grey.png) repeat-x bottom;
    color: #027ac6;
    font-weight: bold;
    margin-bottom: 1.5em;
}

body.tire-pattern .tire-feature {
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

body.tire-pattern h4.tire-finder-link {
    border-bottom: 1px solid #dfdfdf;
    border-top: 1px solid #dfdfdf;
    padding-bottom: 15px;
    padding-top: 15px;
    margin-top: 1em;
}

body.tire-pattern .feature-thumbnail .zoom-btn {
    bottom: 10px;
    position: absolute;
    right: 5px;
    cursor: pointer;
}

body.tire-pattern .feature-content {
    background: #fff url(../images/backgrounds/main-bg.png) no-repeat top center;
    padding: 25px;
}

/* TIREFINDER COMMON */
body.tirefinder .site-wrapper {
    background: url(../images/backgrounds/care-bg.jpg) no-repeat top center;
}

body.tirefinder .main .help-block {
    color: #000;
    font-weight: bold;
}

body.tirefinder .tirefinder-tire-content {
    background: #fff url(../images/backgrounds/main-bg.png) no-repeat top center;
    padding: 25px;
}

@media (min-width: 320px) {
    .tiles .tile-col-3, .tiles .tile-col-4 {
        display: none;
    }
}

/* iPhone 4 in landscape */
@media only screen 
and (min-width : 480px)
and (max-width : 567px)
{
    .tiles .col-xs-12 {
        width: 50%;
        padding-right: 0px;
        padding-left: 0px;
    }

    .tile  {
        width: 230px;
        padding: 10px;
    }
    
    .tile h5 {
        margin-top: 1px;
    }
}

/* iPhone 5 & 5S in landscape */
@media only screen 
and (min-width : 568px)
and (max-width : 767px) 
{
    .tiles .col-xs-12 {
        width: 50%;
        padding-right: 10px;
        padding-left: 10px;
    }
    
}

@media (min-width: 768px) {

    .logo-wrapper {
        text-align: left;
    }

    /* HEADER FINDER */
    .header-finder {
        margin-top: -10px;
        position: absolute;
        right: 15px;
        width: 300px;
        z-index: 200;
    }

    body.index .flex-direction-nav .flex-prev { left: 20px; }
    body.index .flex-direction-nav .flex-next { right: 20px; }

    .tiles .tile-col-3, .tiles .tile-col-4 {
        display: block;
    }
    
    .social .sblocks {
        text-align: right;
    }
    
    .footer-bottom form.country-selector {
        float: right;
    }
    
}

/* Desktop */
@media (min-width: 992px) { 

    /* MAIN */    
    .main {
    }

    header nav.navbar .dropdown.open a.dropdown-toggle {
        box-shadow: 0 9px 8px 0 #333;
    }    
    
    .flyout-primary {
        border-right: 1px solid #ccc;
        padding-right: 30px;
    }
    
    /* TIRE CATEGORY */
    .tire-item-image {
        text-align: center;
    }

    .tile {
        margin-top: 0;
    }
    
    /* FOOTER NAVIGATION */
    .footer-nav .nav-column-resources {
        float: right;
    }
}


/* Large Desktop */
@media (min-width: 1200px) {
    body.index .main-container {
        padding: 0;
        width: 1260px;
    }
    
    body.index .flexslider {
        margin-bottom: 70px;
    }

    body.index .has-video-slides .flexslider {
        margin-bottom: 0;
    }
    
    body.index .flex-direction-nav .flex-prev { left: 100px; }
    body.index .flex-direction-nav .flex-next { right: 100px; }

    body.index .flex-control-nav {
        bottom: 115px;
    }
    
    body.index .tiles .tile-col {
        padding-right: 0;
        padding-left: 0;
    }
    
    body.index .tiles {
        position: absolute;
        margin-right: 130px;
        margin-left: 130px;
        bottom: 0;
        z-index: 100;
    }
    
    body.index .has-video-slides .tiles {
        position: relative;
    }

}
