/* Top level grid */
.colorizer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: 85px auto;
}

#colorizer-preview {
    grid-row: 1 / 3;
    grid-column: 1;
}

#colorizer-shirt-picker {
    grid-row: 1;
    grid-column: 2;
}

#colorizer-ink-picker {
    grid-row: 2;
    grid-column: 2;
}

@media (max-width: 915px) {
    .colorizer-container {
        grid-template-rows: 125px auto;
    }
}

@media (max-width: 525px) {
    .colorizer-container {
        grid-template-rows: auto;
    }

    #colorizer-preview {
        grid-row: 2;
        grid-column: 1;
    }
    
    #colorizer-shirt-picker {
        grid-row: 1;
        grid-column: 1;
        margin-bottom: 20px !important;
    }
    
    #colorizer-ink-picker {
        grid-row: 3;
        grid-column: 1;
    }
}

/* Design preview */
#design-no {
    text-align: left;
    padding-left: 20px;
    padding-bottom: 20px;
}

#design-no h1, #design-no h3 {
    display: inline;
}

#design-container {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    background-color: white;
    z-index: -1;
}

#design-container div {
    grid-row: 1;
    grid-column: 1;
}

#design-container div svg {
    max-width: 100%;
}

#design_noise {
    z-index: 3;
}

#design-ink1 {
    z-index: 2;
}
#design-ink2 {
    z-index: 1;
}

/* Shirt picker */
#colorizer-shirt-picker, #ink-color-box {
    background-color: white;
    padding: 0px;
    border: 1px solid #d6d6d6;
    margin: 5px;
}

#colorizer-shirt-picker p, #ink-color-box p {
    background: black;
    color: white;
    padding: 5px;
    margin: 0px;
}

#colorizer-shirt-picker select {
    padding: 5px;
    margin: 5px;
    border: none;
    border-width: 0px;
    width: 95%;
}

#shirt-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Ink picker */
#ink-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid #d6d6d6;
}

#ink1-choice, #ink2-choice {
    color: #00a1e4;
    font-weight: bold;
}

#ink1-picker, #ink2-picker {
    border-collapse: separate;
    font-size: 0.7em;
    margin: 10px;
}

.ink-tab {
    padding: 5px;
    cursor: pointer;
}

#ink-tab-l {
    grid-column: 1;
}

#ink-tab-r {
    grid-column: 2;
    background-color: #e1e1e1;
}

.ink-picker-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

#ink1-picker {
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
}

#ink2-picker {
    grid-column: 1;
    grid-row: 1;
    z-index: 0;
}

.ink-picker {
    color: black;
    display: grid;
    font-family: Arial, sans-serif;
    grid-gap: 1px;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
}

.ink-picker div {
    text-align: center;
    cursor: pointer;
    font-family: arial;
    align-self: center;
    padding: 13px 0px;
}

/* Misc. */
.colorizer-disclaimer {
    font-size: 1em;
    text-align: center;
}

.metal {
    background: -moz-linear-gradient(-45deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0.65) 32%, rgba(255,255,255,0) 57%, rgba(255,255,255,0.65) 66%, rgba(255,255,255,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(255,255,255,0.65)), color-stop(30%,rgba(255,255,255,0)), color-stop(32%,rgba(255,255,255,0.65)), color-stop(57%,rgba(255,255,255,0)), color-stop(66%,rgba(255,255,255,0.65)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg, rgba(255,255,255,0.65) 0%,rgba(255,255,255,0) 30%,rgba(255,255,255,0.65) 32%,rgba(255,255,255,0) 57%,rgba(255,255,255,0.65) 66%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, rgba(255,255,255,0.65) 0%,rgba(255,255,255,0) 30%,rgba(255,255,255,0.65) 32%,rgba(255,255,255,0) 57%,rgba(255,255,255,0.65) 66%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, rgba(255,255,255,0.65) 0%,rgba(255,255,255,0) 30%,rgba(255,255,255,0.65) 32%,rgba(255,255,255,0) 57%,rgba(255,255,255,0.65) 66%,rgba(255,255,255,0) 100%); /* IE10+ */
    background: linear-gradient(135deg, rgba(255,255,255,0.65) 0%,rgba(255,255,255,0) 30%,rgba(255,255,255,0.65) 32%,rgba(255,255,255,0) 57%,rgba(255,255,255,0.65) 66%,rgba(255,255,255,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.splash {
    position: relative;
    z-index: 100;
    top: -112px;
    left: 41%;
    width: 75px;
    height: 75px;
    background:#00a1e4;
    font-size:1em;
    border-radius: 50px;
    border: 2px solid white;
    box-shadow: 0px 0px 10px 2px #00a1e4;
    -ms-transform: rotate(10deg); /* IE 9 */
    -moz-transform: rotate(10deg); /* Mozilla */
    -webkit-transform: rotate(10deg); /* Chrome, Safari, Opera */
    transform: rotate(10deg); 
}

.splash:hover {
    background: white;
    border-color: #00a1e4;
    box-shadow: 0px 0px 10px 2px white;
    text-shadow: 0px 0px 2px #00a1e4;
}

.splash a {
    position: relative;
    width: 100%;
    height: 100%;
    color: white;
}

.splash p {
    margin: auto;
    position: relative;
}

.darkink {
    color:white;
}