h1 {
    font-size: 20px;
    line-height: 24px;
}
h1:first-of-type {
    padding-top: 13px;
    padding-bottom: 27px;
}
h2 {
    font-size: 16px;
    margin-bottom: 18px;
}
h2.carousel-heading .heading-text {
    display: inline-block;
    margin-left: -2px;
    max-width: 80%;
}

#main {
    padding-top: 0px;
}
#main #container_wrapper {
    padding: 16px 27px 16px;
}

.carousel {
    width: calc(100% + 48px);
    max-height: 200px;
    margin-bottom: 88px;
}

.item-block img {
    height: 173px;
    width: 229px;
}
.item-block .info {
    width: 229px;
    height: 76px;
    box-sizing: border-box;
    padding: 14px 15px 18px;
}
.item-block .title {
    box-sizing: border-box;
    font-size: 14px;
    padding: 0;
    height: 20px;
    width: 100%;
}
.item-block .price {
    font-size: 16px;
    margin-bottom: -2px;
}
.item-block .location {
    display: none;
}

.slick-slide {
    width: 254px;
}

h2 a.view-more {
    position: relative;
    font-size: 14px;
    color: #828282;
    margin-top: -3px;
}

#theme-section {
    margin-left: -28px;
    width: calc(100% + 56px);
    max-width: calc(100% + 56px);
    overflow: hidden;
    height: auto;
    margin-bottom: 38px;
}

a.theme-link {
    margin: 0;
    padding: 0;
}

#theme-section table .left-side {
    width: 73.387755104%;
    height: auto;
}
#theme-section table .right-side {
    width: 26.612244896%;
    height: auto;
}

#theme-section table tbody .tr-main-theme-image {
    max-height: 400px !important;
    display: block;
    overflow: hidden;
}

#theme-section td.img-holder.top-right {
    padding-bottom: 7%;
}

#theme-table {
    overflow: hidden;
}
#theme-section h2 {
    margin-left: 28px;
    margin-top: 1px;
}

#discovery-footer {
    padding-top: 17px;
}
#discovery-footer h2 {
    margin-bottom: 17px;
}
#discovery-footer .feedback-button {
    box-sizing: border-box;
    border: 1px solid #ff931c;
    border-radius: 3px;
    color: #ff931c;
    font-size: 14px;
    font-weight: bold;
    height: 45px;
    line-height: 45px;
    margin: 21px 0px 43px;
    text-align: center;
    width: 231px;
}

/* Portrait 800px screen max */

@media screen and (orientation:portrait) and (max-device-width: 800px) {
    #theme-section {
        margin-bottom: 37px;
    }
    #theme-table {
        margin-bottom: 8px;
    }
    #theme-section .large-screen-only {
        display: none !important;
    }
    #theme-section .small-screen-only {
        display: inline-block;
    }
    #theme-section tr.small-screen-only {
        display: table-cell;
    }
    #theme-section tr.small-screen-only td img {
        width: 100%;
        position: relative;
    }
    #theme-section tr.small-screen-only td {
        max-width: 50%;
        vertical-align: middle;
    }
    #theme-section .left-side {
        width: 100%;
        max-height: 300px !important;
    }
    
    #theme-section #main-theme-image-wrapper {
        max-height: 400px !important;
    }
    
    #theme-section .tr-main-theme-image, .left-side {
        overflow: hidden;
        width: 100%;
    }
    #theme-section .img-wrapper {
        line-height: 0;
        max-height: 420px;
    }
    #theme-section .img-wrapper.small {
        box-sizing: border-box;
        display: inline-block;
        width: 50%;
        vertical-align: top;
    }
    #theme-section .img-wrapper.small:nth-child(1) {
        padding-right: 4px;
    }
    #theme-section .img-wrapper.small:nth-child(2) {
        padding-left: 4px;
    }
    #theme-section .img-wrapper-holder {
        display: inline-block;
        margin-bottom: 0;
        padding-bottom: 0;
        position: relative;
        width: 100%;
        vertical-align: top;
    }
    #theme-section td.main-img-holder {
        padding-right: 0px;
    }
}


/* Portrait 400px screen max */

@media screen and (orientation:portrait) and (max-device-width: 400px) {
    #theme-section .img-wrapper.small {
        max-height: 200px !important;
    }
}

/* Landscape 800px screen max */

@media screen and (orientation:landscape) and (max-device-width: 800px) {
    #theme-section {
        margin-bottom: 37px;
    }
}