﻿@font-face {
    font-family: "Segoe UI";
    font-weight: 200;
    src: local("Segoe UI Light"), url("/fonts/segoeuil/segoeuil.ttf") format("truetype");
}

@font-face {
    font-family: "Segoe UI";
    font-weight: 300;
    src: local("Segoe UI Semilight"), url("/fonts/segoeuisl/segoeuisl.ttf") format("truetype");
}

@font-face {
    font-family: "Segoe UI";
    font-weight: 400;
    src: local("Segoe UI"), url("/fonts/segoeui/segoeui.ttf") format("truetype");
}

@font-face {
    font-family: "Segoe UI";
    font-weight: 500;
    src: local("Segoe UI Semibold"), url("/fonts/seguisb/seguisb.ttf") format("truetype");
}

@font-face {
    font-family: "Segoe UI";
    font-weight: 600;
    src: local("Segoe UI Bold"), url("/fonts/segoeuib/segoeuib.ttf") format("truetype");
}

body {
    /*min-width: 320px;*/
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#viewerUI {
    position: fixed;
    background-color: #191919;
    overflow: hidden;
}

#Canvas {
    /*position: absolute;*/
    position: fixed;
    left: 0;
    top: 0;
    transform-origin: 0 0;
}

#SceneCanvas {
    /*position: absolute;*/
    position: fixed;
    left: 0;
    top: 0;
}

/*#SceneImage {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}*/

svg {
    fill: none;
    fill-rule: evenodd;
    clip-rule: evenodd;
    overflow: visible;
}

.full, .fullNoMedia {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.flex-row {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.flex-column {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-center {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-wrap {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex1 {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1;
    flex: 1;
}

.hidden, .flex-row.hidden, .flex-column.hidden, .flex-center.hidden {
    display: none;
}

.abs {
    position: absolute;
}

.abs-tl {
    position: absolute;
    left: 0;
    top: 0;
}

.abs-br {
    position: absolute;
    right: 0;
    bottom: 0;
}

.rel {
    position: relative;
}

.mt0 {
    margin-top: 0;
}

.mb0 {
    margin-bottom: 0;
}

.ml4 {
    margin-left: 4px;
}

.mt4 {
    margin-top: 4px;
}

.mr4 {
    margin-right: 4px;
}

.mb4 {
    margin-bottom: 4px;
}

.ml8 {
    margin-left: 8px;
}

.mt8 {
    margin-top: 8px;
}

.mr8 {
    margin-right: 8px;
}

.mb8 {
    margin-bottom: 8px;
}

.ml12 {
    margin-left: 12px;
}

.mt12 {
    margin-top: 12px;
}

.mr12 {
    margin-right: 12px;
}

.mb12 {
    margin-bottom: 12px;
}

.m12 {
    margin: 12px;
}

.ml20 {
    margin-left: 20px;
}

.mt20 {
    margin-top: 20px;
}

.mr20 {
    margin-right: 20px;
}

.mb20 {
    margin-bottom: 20px;
}

.ml24 {
    margin-left: 24px;
}

.mt24 {
    margin-top: 24px;
}

.mr24 {
    margin-right: 24px;
}

.mb24 {
    margin-bottom: 24px;
}

.m24 {
    margin: 24px;
}

.ml48 {
    margin-left: 48px;
}

.mt48 {
    margin-top: 48px;
}

.mr48 {
    margin-right: 48px;
}

.mb48 {
    margin-bottom: 48px;
}

.m48 {
    margin: 48px;
}

.split-view-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-controls .win-splitviewpanetoggle {
    width: 80px;
    height: 64px;
}

.win-splitviewpanetoggle.accent {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
}

.header {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px;
}

/*.header .controls {
        min-width: 304px;
        margin-left: 4px;
    }*/

/*.header .radio-button label:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .header .radio-button label:active:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }*/

/*.header .radio-button.large input[type='radio']:checked ~ label {
        font-weight: 400;
    }*/

.group-by-title {
    align-self: center;
    margin: 0 8px 2px 16px;
    opacity: 0.4;
}

#FilterRadioButtons .radio-button label {
    padding: 12px;
}

button.win-command.accent-self {
    min-width: 80px;
    height: 80px;
    border: none;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.6);
}
button.win-command.noRound {
    border-radius: 0px;
}

.abs-tl button.win-command.accent-self {
    margin: 12px 0 0 12px;
}

.abs-br button.win-command.accent-self {
    margin: 0 12px 12px 0;
}

#ZoomInButton {
    margin-bottom: 0px;
}

#swatchZoomText {
    line-height: 20px;
    padding: 8px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 8px;
}

#swatchZoomTextWrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

button.win-command.accent-self.square {
    min-width: 40px;
    min-height: 40px;
    height: 40px;
}

button.win-command.accent-self.rect {
    min-width: 80px;
    min-height: 40px;
    height: 40px;
    box-shadow: none;
}


button.win-command.accent-self:disabled > div {
    opacity: 0.4;
}

button.win-command.accent-self > div {
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    box-sizing: border-box;
}
button.win-command.noRound > div {
        border-radius: 0px;
}
button.win-command.accent-self.square > div {
    padding: 8px;
}

button.win-command.accent-self .win-commandimage {
    color: white;
    font-size: 28px;
    min-width: 28px;
    height: 28px;
    line-height: 28px;
}

button.win-command.accent-self.square .win-commandimage {
    font-size: 24px;
    min-width: 24px;
    height: 24px;
    line-height: 24px;
}

button.win-command.accent-self .win-type-body {
    color: white;
    margin-top: 4px;
}

#FilterButton {
    width: 128px;
    min-width: 128px;
    background-color: rgba(0,0,0,0.4);
}


.flex-center button.win-command div.win-type-body.ButtonText {
    margin-top: 0;
    padding: 0;
    color: white;
}

#FilterButtonTitle {
    /*margin-top: 0;*/
    padding: 2px 0 0 4px;
    color: white;
}

#FilterButtonWrapper {
    padding: 8px;
}


html.win-hoverable button.win-command.accent-self:enabled:active:hover {
    box-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

html.win-hoverable button.win-command.accent-self:enabled:hover > div {
    background-color: rgba(255, 255, 255, 0.2);
}

html.win-hoverable button.win-command.accent-self:enabled:active:hover > div {
    background-color: rgba(0, 0, 0, 0.1);
}

html.win-hoverable button.win-command.accent-self:enabled:active:hover .win-type-body {
    color: black;
}

/*.header #LogoContainer {
    margin: 12px;
}*/

.header #MainProductHeader {
    margin: 0 0 12px 16px;
}

.header hr.win-command {
    height: 48px;
    background-color: rgba(255,255,255, 0.2);
}
/*#FilterFlyoutWrapper {
    position:absolute;
    width:100%;
    height:100%;
}*/

.flyout {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


    .flyout .left, .flyout .right, .flyout .filterFloat {
        position: absolute;
        overflow-y: auto;
        box-sizing: border-box;
        border-radius: 8px;
        box-shadow: 6px 6px 12px rgba(0,0,0,0.6);
    }

        .flyout .left > div {
            overflow: auto;
            width: calc(100% - 24px);
            height: calc(100% - 24px);
            margin: 12px;
        }

        .flyout .right > div, .flyout .filterFloat > div {
            width: calc(100% - 24px);
            height: calc(100% - 24px);
            margin: 12px;
        }


    .flyout .left {
        max-width: calc(100% - 24px);
        max-height: calc(100% - 24px);
        left: 12px;
        top: 12px;
    }

    .flyout .right {
        max-width: calc(100% - 24px);
        max-height: calc(100% - 24px);
        right: 12px;
        bottom: 12px;
    }

    .flyout .filterFloat {
        left: 64px;
        top: 32px;
    }
        #JointOkButton, #LayoutOkButton {
        margin-top: 12px;
        height: 40px;
    }


@media (max-width: 640px ), (max-height: 640px) {
    .flyout .left {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        box-shadow: none;
    }

        .flyout .left > div {
            max-width: 100%;
            max-height: 100%;
        }

    .flyout .left {
        left: 0;
        top: 0;
    }
}

/*items*/
.listview-item {
    display: flex;
    /*flex-direction: row;*/
    flex-direction: column;
    align-items: center;
    /*height: 64px;*/
    height: 80px;
    /*padding: 0 12px;*/
    padding: 6px 6px;
    box-sizing: border-box;
}

    .listview-item .none {
        width: 48px;
        height: 48px;
        background-image: url(/PaverPicker/images/icons/none.png);
        background-size: 100%;
    }

    .listview-item .swatch {
        width: 48px;
        height: 48px;
        /*background-size: 100%;*/
        /*border-radius: 50%;*/
        /*box-shadow: inset 2px 2px 12px rgba(0,0,0,0.6);*/
        flex-shrink: 0;
        overflow: hidden;
    }

    .listview-item .plain-swatch {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        min-width: 48px;
    }

/*.listview-item .text-container {
        margin-left: 12px;
    }*/

.scene-item {
    padding: 12px;
    box-sizing: border-box;
}

    .scene-item .swatch {
        width: 192px;
        height: 128px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

        .scene-item .swatch.none {
            background-image: url(/PaverPicker/images/icons/none.png);
            background-size: 50%;
        }

#ViewFlyout {
    padding: 0;
    position: fixed;
}

    #ViewFlyout #ViewListBox {
        width: 216px;
    }

#productUI #SwatchListBox {
    height: 100%;
}

@media (max-width: 640px ), (max-height: 640px) {
    html.isProductUI {
        overflow-y: auto;
        height: auto;
    }

        html.isProductUI body {
            height: auto;
        }

        html.isProductUI .full {
            position: static;
            height: auto;
        }

    #productUI {
        display: block;
    }

        #productUI .header {
            display: block;
        }

        #productUI #SwatchListBox {
            height: auto;
            overflow: visible;
        }

        #productUI #LogoContainer {
            margin-bottom: 12px;
        }

    #SwatchListBox.win-listview > .win-viewport.win-vertical {
        overflow: hidden;
    }
}

#ProductInfoContainer {
    margin: 12px 0 0 12px;
    padding: 6px 12px 10px 12px;
    background-color: rgba(0,0,0,0.4);
    color: white;
    border-radius: 8px;
}
/*@media (max-width: 800px) {
    .header .radio-button.large label {
        font-size: 24px;
        font-weight: 300;
        line-height: 1.167;
        padding: 4px 8px 6px 8px;
    }

    .header .radio-button.large input[type='radio']:checked ~ label {
        font-weight: 500;
    }

    .header .radio-button.medium label {
        font-size: 20px;
        font-weight: 400;
        line-height: 1.2;
        padding: 4px 8px;
    }

    .header .radio-button.medium input[type='radio']:checked ~ label {
        font-weight: 500;
    }
}*/
