﻿body {
    min-width: 300px;
    min-height: 600px;
    margin: 0;
    overflow: hidden;
    font: 9pt arial;
    font-size: .85em;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

p {
    position: static;
}

svg {
    max-width: 100%;
    max-height: 100%;
}

#svgDrawingObjects text {
    white-space: pre;
}

.kern {
    font-kerning: normal;
    font-feature-settings: 'kern';
}

.noKern {
    font-kerning: none;
}

#generatorDrawingArea {
    display: inline-block;
    visibility: hidden;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    max-height: 600px;
}

#drawingAreaContainer {
    text-align: center;
    float: left;
    width: 100%;
    margin-right: -350px;
}

#drawingAreaSubContainer {
    margin-right: 360px;
}

#generatorPreviewContainer {
    display: none;
    max-width: 600px;
}

#generatorPreviewContainer img {
    max-width: 98%;
    max-height: 98%;
    border: solid 1px black;

}

#generatorSideBar {
    width: 350px;
    float: left;
}

#generatorColorSchemes .swatch {
    padding: 10px;
    display: inline-block;
    border: 3px solid transparent;
}

#generatorColorSchemes .selectedSwatch {
    background: #fff1d7;
    border: 3px solid #ffac0d;
}

#generatorColorSchemes .swatch div {
    border-radius: 50%;
    border: solid 1px #808080;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin: 5px;
}

#generatorSelectButton{
    width: 200px;
    margin: 10px auto;
}

#btnGeneratorViewChanges {
    display: none;
}

/*Side Bar*/
.side-panel {
    background: #fafafa;
    float: left;
    width: 100%;
}

.side-panel h2 {
    margin: 5px 0 0 0;
    font-size: 1.2em;
    font-weight: bold;
    float: left;
    color: #222;
}

.first-step {
    margin-bottom: 15px;
}

.personalize-label, .print-label {
    margin: 15px;
}

.step-number {
    background: url("../images/generator-sprites.png") 0 0;
    display: block;
    float: left;
    height: 31px;
    margin: 0 10px 10px 0;
    position: relative;
    text-indent: -9999px;
    width: 31px;
}

.print-label .step-number {
    background: url("../images/generator-sprites.png") -31px 0;
}

.print-option {
    width: 100%;
    background: #fff;
    clear: both;
    margin-top: 15px;
}

.print-option label {
    padding: 10px 5px;
}

.print-option label input {
    margin-bottom: 0;
}

.print-option label p {
    margin:3px 0 0 0;
    font-size: .95em;
    color: #666;
    font-weight: normal;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

/*#btnGeneratorPrint {
    margin-top: 15px;
    width:100%;
}*/

#generatorFields .textError {
    background: #c92810 none repeat scroll 0 0;
    color: #ffffff;
    font-size: 0.75rem;
    margin: -1rem 0 1rem;
    padding: 0.375rem 0.5625rem 0.5625rem;
}

#generatorSideBar input[type="text"],
#generatorSideBar textarea {
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    background-color: #fff;
    font-family: inherit;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.75);
    display: block;
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
     width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: box-shadow 0.45s,border-color 0.45s ease-in-out;
    border-radius: 4px;
}

.generatorButton {
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
    font-weight: bold;
    line-height: normal;
    margin: 0 0 1.25rem;
    position: relative;
    text-decoration: none;
    text-align: center;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    display: inline-block;
    padding-top: 0.6875rem;
    padding-bottom: 0.75rem;
    font-size: 0.84375rem;
    background-color: #ffac0d;
    border-color: #f19f00;
    color: #fff !important;
    transition: background-color 300ms ease-out;
    width: 100%;
    border-radius: 4px;
}

#generatorSideBar label {
    font-size: 1em;
    color: #4d4d4d;
    cursor: pointer;
    display: block;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 0;
}

#generatorSideBar a {
    color: #1978b8;
    text-decoration: none;
    line-height: inherit;
}

#lnkGeneratorCustomize {
    margin-left: 5px;
}

@media only screen and (max-width: 720px) {
    #drawingAreaContainer {
        margin-right: auto;
    }

    #drawingAreaSubContainer {
        margin-right: auto;
    }

    #generatorSideBar {
        width: 100%;
    }

    #lnkGeneratorCustomize {
        display: none;
    }

    #btnGeneratorViewChanges {
        display: inline-block;
    }
}