
p.instruction {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8125em;
}

.builder-container p.instruction {
    margin-top: -20px;
}

.std-desc-cols {
    display: flex;
    padding-top: 8px;
    flex-wrap: wrap;
}

.std-desc-cols > div {
    width: 100%;
}



img.std-range-img {
    display: block;
    margin: 6px 0;
}


#substyle-select {
    border-bottom: 1px solid #D60175;
    margin: 1em 70px 1em 25px;
    padding-left: 1em;
}

#substyle-select li {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    margin-right: 0.5em;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 0.75em;
}

#substyle-select li a {
    border: 1px solid #D60175;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    background-color: #EA0782;
    display: block;
    margin: 0;
    padding: 0.5em 1em;
    color: #fff;
    text-decoration: none;
}

#substyle-select li a.active {
    background-color: #fff;
    color: #666;
}

#substyle-select li a:hover {
    color: #000 !important;
    background-color: #fff !important;
}

#substyle-select li:last-child {
    color: #d60175;
    font-weight: bold;
    padding-right: 1em;
    float: right;
}

#doorsHolder {
    position: absolute;
    left: 0;
}

.horizontalScroller {
    height: 132px;
    min-width: 6000px;
}

.horizontalScroller ul {
    list-style: none;
    margin: 0px;
    margin-left: -2em;
}

.horizontalScroller ul li {
    float: left;
    margin-left: 1px;
    margin-right: 1px;
	min-width: 32px;
}

#doorsHolder img {
    /* float: left; */
    position: relative;
    top: 0;
    transition: top 0.3s, margin 0.3s;
	display: block;
	margin: 0 auto;
	padding: 0 5px;
}

#doorsHolder img {
    height: 132px;
    transform: matrix3d(1, 0, 0, 0.0025, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
}

#doorsHolder img.active {
    margin: 0 50px;
    height: 200px;
    top: -40px;
    transform: none;
}

.hiddenContent {
    display: none;
}

.activeContent {
    display: block;
}

.activeTab, .tabsMenu {
    font-family: Verdana, Geneva, sans-serif;
    color: #fff;
    text-align: center;
    padding-top: 5px;
    font-weight: 300;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 12px;
}

.tabsMenu {
    background-image: url(images/door-style-btn-up.png);
}

.tabsMenu:hover {
    background-image: url(images/door-style-btn-over.png);
    color: #333;
}

.activeTab {
    background-image: url(images/door-style-btn-selected.png);
    color: #666;
}

#main_content_area_box {
    position: relative;
    overflow: hidden;
    padding-right: 15px;
    z-index: 11;
    width: 620px;
    background-image: url(/background/viewer_background_standard_door_viewer2.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    margin-top: 30px;
    margin-bottom: 30px;
}

#main_content_standard_builder_bed {
    width: 271px;
    float: left;
    margin-left: 0px;
    height: 58px;
    background-image: url(/background/viewer_foreground_standard_door_viewer_left.png);
    background-repeat: no-repeat;
    background-position: left top;
    margin-top: -24px;
}

#doors-controls {
    display: none;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    border: 1px solid #999;
    z-index: 50;
    position: absolute;
    top: 285px;
    right: 25px;
    padding: 0;
    width: 120px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.6);
}

#doors-controls img {
    float: left;
    padding: 0;
    border: none;
    margin: 8px;
}

.ui-widget-overlay {
    opacity: 0.75;
}

.ui-dialog {
    z-index: 99;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.ui-widget-overlay {
    position: fixed;
}

.door-images-container {
    display: flex;
}

.scroll-arrow img {
    cursor: pointer;
    margin-top: 50px;
    height: 160px;
    width: 20px;
}

.scroll-arrow {
    width: 3%;
}

.scroll-arrow-left img {
    margin-right: 10px;
}

.scroll-arrow-right img {
    margin-left: 10px;
}

.doorScroller {
    width: 94%;
    position: relative;
    overflow: hidden;
    height: 212px;
    padding-top: 50px;
    padding-bottom: 0px;
}

html.touch td.scroll-arrow img {
    width: 40px;
}

html.touch td.scroll-arrow {
    width: 50px;
}

html.no-touch td.scroll-arrow {
    width: 30px;
}

html.touch .doorScroller {
    width: 880px;
}

html.no-touch .doorScroller {
    width: 930px;
}

.additional-option-container {
    padding: 24px 0;
    width: 100%;
}

.additional-option-container h2 {
    font-weight: bold;
    margin-bottom: 14px;
    font-size: 14px;
    color: #E9007E;
    font-family: 'Open Sans', sans-serif;
}

.additional-option-container .product-carousel-outer {
    margin: 0 -30px;
}

.additional-option-container #atb-options {
    display: none;
}

.standard-add-to-basket {
    display: block;
    margin: 12px auto;
}

.standard-range-select {
    padding: 1em 0 0 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
}

div.design-tool {
    padding: 10px 10px 0 10px;
}

.design-tool-step .standard-range-select label {
    font-size: 1em;
    font-weight: bold;
}

.standard-range-select select {
    padding: 0.5em;
    margin-left: 1em;
}

.standard-range-select .control {
    flex-grow: 1;
    display: flex;
}

.standard-range-select .control label {
    width: auto;
    line-height: 22px;
}

.prompts p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8125em;
}

.desktop-intro {
    flex-grow: 1;
    flex-shrink: 1;
    padding-right: 1.5em;
}

.desktop-intro .prompts {
    padding-top: 30px;
}

.desktop-intro .prompts p:first-child {
    margin-top: 0;
}

.desktop-intro .links {
    padding-top: 1em;
}

.desktop-intro .links a {
    display: block;
    background: #fff;
    padding: 0.75em;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    margin-bottom: 0.5em;
    font-size: 0.875em;
    font-weight: 500;
    color: #6d767e;
}

.desktop-intro .links a:hover {
    background: #d4d4d4;
    color: #e9007e;
}

.desktop-intro .links a:before {
    font-family: FontAwesome;
    content: "\f0da";
    color: #e9007e;
    display: inline-block;
    padding-right: 0.5em;
}

.desktop-intro h1 {
    margin-top: 30px;
    font-size: 20px;
}

.desktop-intro p, .desktop-intro ul, .desktop-intro ol {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8125em;
    color: #333;
}

.desktop-intro ul {
    padding-left: 3em;
}
.desktop-intro ol {
    padding-left: 1.5em;
}

.builder-window {
    width: 620px;
    flex-grow: 0;
    flex-shrink: 0;
}

.builder-container {
    display: flex;
    width: 100%;
}

.purchase-row {
    background-color: #fff;
    display: flex;
    align-items: center;
}

.purchase-row .purchase {
    flex-grow: 0;
}

.purchase-row .purchase a {
    color: #fff;
    display: block;
    background: #f0178d;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    padding: 0.5em 3.5em 0.5em 2em;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.purchase-row .purchase a:hover {
    background: #768086;
}

.purchase-row .purchase a:after {
    content: '\f0a9';
    font-family: FontAwesome;
    position: absolute;
    top: 0.45em;
    right: 1em;
    font-size: 1.125rem;
}

.purchase-row .dimensions {
    text-align: center;
    flex-grow: 1;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875em;
    color: #e9007e;
}

.purchase-row .dimensions span {
    color: #6c767e;
}

.dimensions-min {
    display: none;
}
.dimensions-min.active {
    display: block;
}
.dimensions-min p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    color: #555;
    margin: 0.5rem 0 0 0;
    text-align: center;
}

.form-field-sml {
    border-radius: 0;
    line-height: 24px;
    padding: 6px;
}

@media only screen and (max-width: 500px) {
    .purchase-row {
        flex-wrap: wrap;
    }

    .purchase-row .dimensions {
        width: 100%;
        padding: 1em 0;
    }

    .purchase-row .purchase {
        width: 100%;
    }

    .form-field-sml {
        line-height: 26px;
        padding: 6px 10px;
        font-size: 16px;
    }

    table.additional {
        width: 100%;
        max-width: 100%;
    }

    table.additional td {
        display: block;
        text-align: center !important;
        width: 100% !important;
    }

    table.additional td.help {
        display: none;
    }

    table.additional td.label {
        font-size: 0.875rem;
        padding: 0.5em 0 0.5em 0;
    }

    table.additional td.opt-select {

    }

    table.additional td.qty-select {

    }

    table.additional td.subtotal {
        font-size: 1rem;
        padding: 0.5em 0 1em 0;
    }

    table.additional select {
        width: 95% !important;
        display: block;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 640px) {
    .desktop-intro {
        display: none;
    }

    .builder-window {
        width: 100%;
        max-width: 100%;
    }

    .standard-range-select .control label {
        width: 120px;
    }

    #main_content_area_box {
        left: 0;
        margin-left: 0;
        padding-right: 0;
        float: none;
        width: 100%;
        overflow-x: scroll;
    }

    .scroll-arrow {
        width: 8%;
    }

    .doorScroller {
        width: 84%;
    }

    .additional-option-container {
        overflow-x: scroll;
    }

    .standard-range-select .control {
        width: 100%;
        padding-bottom: 1em;
    }

    .purchase-row .purchase {
        float: none;
        width: 100%;
    }

    .purchase-row .purchase a {
        display: block;
        text-align: center;
    }

}

@media only screen and (min-width: 768px) {
    .design-tool-step a.exp {
        display: none;
    }

    .std-desc-cols > div {
        width: 33.33%;
    }

    .std-desc-col-1 {
        padding-right: 12px;
    }

    .std-desc-col-3 {
        padding: 0 12px 0 20px;
    }

    .std-desc-col-1 > p:first-child {
        margin-top: 0;
    }

    .std-desc-col-3 img.std-range-img {
        margin-top: 0;
    }
    .design-tool-step .std-desc-col-2 ul {
        margin-top: 0;
    }

    p.instruction {
        display: none;
    }
}