/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.clear {
    clear:both;
}

h1,h2,h3,h4,h5 {
    margin: 0;
}

body {
    min-width: 1024px;
    font-family: "Lato", Arial;
}

.wrapper {
    max-width: 1024px;
    display: block;
    margin: 0 auto;
}

header, footer {
    background-color: #1F1F1F;
    padding: 20px 0;
}

footer {
    font-size: 13px;
    color:#D1D1D1;
}

#logo {
    height: 60px;
    float: left;
}

header h3 {
    font-family: "Lato", Arial;
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    float: right;
    padding-top: 10px;
}

header h3 span {
    font-weight: 700;
}


main {
    margin: 40px auto;
    display: block;
}

.row {
    display: block;
    clear: both;
    width: 100%;
}

/* Sidebar */

#sidebar {
    float: left;
    width: 320px;
    background-color: #eee;
    padding: 20px;
    font-size: 22px;
    font-weight: 300;
    color: #1d1d1b;
}

#sidebar select {
    visibility: hidden;
    font-size: 12px;
    width: 144px;
}

#sidebar .select2 {
    margin-top: -8px;
    margin-left: 10px;
    font-size: 14px;
}

#sidebar #shipment + .select2 {
    margin: 4px 0 0;
    display: block;
}

.select2-results__option {
    font-size: 12px;
}

#sidebar label {
    font-weight: 500;
    font-size: 24px;
}

#sidebar .row {
    margin: 10px 0 30px;
}

.color-square {
    width: 20px;
    height: 22px;
    vertical-align: bottom;
    display: inline-block;
    border: 1px solid #eee;
    margin-right: 7px;
}

#sidebar .preset-colors {
    margin: 14px 0;
}

#sidebar .preset-colors label {
    font-size: 11px;
    color: #000;
    padding: 12px 0;
    text-align: center;
    border: 1px solid #eee;
    float: left;
    width: 62px;
    margin: 2px 4px;
    cursor: pointer;
    border: 1px solid #fff;
    
    opacity: 0.5;
    
    transition: 0.3s ease opacity;
}

#sidebar .preset-colors label:hover {
    opacity: 0.95;
}

#sidebar .preset-colors label.active {
    opacity: 1.0;
}

#sidebar .preset-colors label input {
    display: none;
}

#sidebar .finish {
    margin: 4px 0 10px;
}

#sidebar .finish label, #sidebar #sizes label  {
    font-size: 14px;
    margin-right: 10px;
}

#sidebar textarea {
    display: block;
    margin: 10px auto;
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

#sidebar .smalltext {
    font-size: 12px;
}

#sidebar form button {
    display: block;
    background-color: #1f1f1f;
    padding: 6px 0;
    text-align: center;
    width: 100%;
    color: #fff;
    border: none;
}

/* Primary */
#primary {
    float: right;
    width: 680px;
    padding: 20px;
} 

#primary svg {
    width: 100%;
}





/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}