.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0px;
}

#imageContainer {
    position: relative;
    display: flex;
    justify-content: center;
    width: 373px;
    height: 450px;
    margin: 20px auto 0px auto;
}

#sampleImg {
    z-index: 1;
    position: absolute;
    top: 20px;
    left: 0;
    height: 425px;
    background-color: rgb(235, 235, 235);
}

#numberContainer {
    position: absolute;
    z-index: 2;
    top: 110px;
    left: 0;
    width: 372px;
    text-align: center;
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    color: rgb(140, 195, 255);
    cursor: grabbing;
}

#sampleNumber {
    font-size: 115px;
    line-height: 115px;
    color: black;
}

.sampleImglinks {
    margin: 4px auto;
    width: 373px;
    text-align: center;
    color: #bbbbbb;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    font-weight: 500;
    line-height: 100%;
}

.sampleImglinks a {
    margin: 0px 20px;
    cursor: pointer;
}

.sampleImglinks a:hover {
    color: rgb(186, 0, 0);
}

.previewText {
    position: absolute;
    top: 0px;
    left: 3px;
    z-index: 2;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4em;
    color: rgb(38, 47, 87);
}

.active {
    color: rgb(38, 47, 87);
}

.inactive {
    color: #bbbbbb;
}

.titleText2 {
    color: rgb(186, 0, 0);
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    font-size: 3.2em;
    letter-spacing: 0px;
    line-height: 100%;
    margin:20px 0px 10px 0px;
}

.titleText3 {
    color: #1E2649;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    font-size: 3.5em;
    letter-spacing: 0px;
    line-height: 110%;
}

.pageText {
    font-size: 1em;
    line-height: 150%;
}

.prevText{
    font-family: 'Oswald', sans-serif;
    color: #464646;
    font-weight: 300;
    text-align: center;
    margin-top: 5px;
    font-size: 1em;
    line-height: 130%;
}

.pageText a, .productText a {
    color: rgb(38, 47, 87); 
    font-weight: 400;
    text-decoration: none;
}

.pageText a:hover, .productText a:hover {
    color: rgb(140, 195, 255);
}

.styleSelect {
    font-family: 'Oswald', sans-serif;
    display: flex;
    font-weight: 300;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: aliceblue;
    padding: 10px;
    border: 2px solid rgb(196, 218, 237);
}

.styleSelect h3, select {
    height: 30px;
    line-height: 30px;
    font-weight: 300;
}

.styleSelect h3{
    font-size: 1em;
    margin-right: 3px;
}

.styleSelect select{
    font-size: 1em;
    margin-right: 12px;
    width: 110px;
    background-color: white;
}

h2{
    font-family: 'Oswald', sans-serif;
    text-align: center;
    font-weight: 500;
    font-size: 1.2em;
    margin: 20px 0px 0px 0px;
    color: rgb(38, 47, 87);
    text-transform: uppercase;
    background-color: rgb(196, 218, 237);
    padding: 10px 0px;
}

#numberPrices {
    border: 2px solid rgb(196, 218, 237);
    max-width: 980px;
    width: 100%;
    margin: 10px auto 30px auto;
    border-spacing: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 1em;
}

#numberPrices th {
    color: rgb(38, 47, 87);
    background-color: rgb(196, 218, 237);
    font-size: 1.2em;
    font-weight: 500;
}

#numberPrices th, td {
    padding: 10px 40px;
    text-align: center;
}

#numberPrices tr:nth-child(odd) {
    background-color: aliceblue;
}

#size {
    width: 90px;
}

#digit1 {
    width: 65px;
    margin-right: 6px;
}

#digit2 {
    display: none;
    width: 65px;
    margin-right: 6px;
}

#addDigit {
    cursor: pointer;
    color: rgb(38, 47, 87);
    font-weight: 400;
}

#removeDigit {
    display: none;
    cursor: pointer;
    color: rgb(38, 47, 87);
    font-weight: 400;
}

#garmentColor {
    width: 75px;
    height: 30px;
}

@media only screen and (max-width: 950px) {
    .row {
        flex-direction: column;
    }

    #numberPrices {
        width: 100%;
    }

    #numberPrices th, td {
        padding: 8px 7px;
    }

    .styleSelect {
        margin: 0px;
        font-size: .9em;
        flex-direction: column;
    }
    .styleSelect select{
        text-align: center;
        width: 90%;
    }

    h2 {
        margin: 20px 0px 0px 0px;
        font-size: .9em;
    }

    .titleText2 {
        text-align: center;
        font-size: 2.5em;
    }

    .titleText3 {
        text-align: center;
        font-size: 2.5em;
    }

    #color {
        margin-right: 0;
    }

    #size {
        width: 90%;
        margin-right: 0;
    }
    
    #digit1 {
        width: 90%;
        margin-right: 0;
    }
    
    #digit2 {
        display: none;
        width: 90%;
        margin-right: 0;
        margin-top: 6px;
    }

    #garmentColor {
        width: 90%;
    }

}