.nsg_container {
    display: flex;
}

.nsg_container .nsg_controls{
    flex: 3;
    max-width: 30%;
    padding-right: 15px;
}

.nsg_container .nsg_canvas{
    flex: 7;
    max-width: 70%;
}

.nsg_container .nsg_group,
.nsg_container .nsg_dropdown{
    margin-bottom: 15px;
}
.nsg_container .nsg_group input[type='text'],
.nsg_container .nsg_group textarea,
.nsg_container .nsg_group select{
    padding: 5px 10px;
    border: 1px solid #ddd;
    width: 100% !important;
    height: 48px;
}

.nsg_container .nsg_group textarea{
    height: 75px;
}

.nsg_container .nsg_group input[type='checkbox']{
    width: fit-content;
}


.nsg_dropdown {
    position: relative;
    width: 100%;
}

.nsg_dropdown .preview{
	padding: 5px 10px;
	font-size: 24px;
	border: 1px solid #ddd;
	cursor: pointer;
}

.nsg_dropdown .options {
    display: none;
    width: 100%;
    position: absolute;
    z-index: 99999999999;
    background: #fff;
    font-size: 24px;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ddd;
}

.nsg_dropdown .options.show {
    display: block;
}

.nsg_dropdown .options .option_item{
    border-bottom: 1px solid #ddd;
    padding: 5px 10px;
    transition: background 0.4s ease;
}

.nsg_dropdown .options .option_item:last-child{
	border-bottom: none;
}

.nsg_dropdown .options .option_item.selected,
.nsg_dropdown .options .option_item:hover{
    background: #eee;
    cursor: pointer;
}

.nsg_colour_selector {
    display: flex;
}
.nsg_colour_selector .option_item:first-child{
    margin-left: 15px;
}
.nsg_colour_selector .option_item{
    cursor: pointer;
    width: 12px;
    height: 50px;
    margin-right: 12px;
    margin-left: 5px;
    border-radius: 50px;
    border: 2px solid transparent;
    box-shadow: 0 0 5px 1px #33333340;
    
    transform: rotate(-22deg);

    transition: border 0.3s ease;
}

.nsg_colour_selector .option_item.selected,
.nsg_colour_selector .option_item:hover{
    border-color: #fff;
}

.nsg_container .reel {
    display: flex;
    height: fit-content;
    margin-top: 5px;
}

.nsg_container .reel .item{
    width: 100px;
    overflow: hidden;
    height: 100px;
    position: relative;
    margin-right: 5px;
    border-radius: 3px;
    cursor: pointer;
}

.nsg_container .reel .item.selected{
    border: 2px solid #2d2d2d;
}

.nsg_container .reel .item img{
    top: 50%;
    left: 50%;
    position: relative;
    transform: translate(-50%, -50%);
    max-width: unset;
    max-height: 100%;
}

.nsg_row {
    display: flex;
}

.nsg_row .nsg_col {
    flex: 1;
}

.nsg_currency,
.nsg_price_container {
    display: inline-block;
}

.nsg_right_text{
    text-align: right;
}

.nsg_container .dimensions {
    position: absolute;
    z-index: 10;
    padding: 10px;
    color: #ddd;
    background: #27272770;
    font-size: 12px;
    margin-left: 5px;
    margin-top: 5px;
    border-radius: 4px;
}

.nsg_container .dimensions .title {
    margin-bottom: 5px;
}

.nsg_container .nsg_add_on_field,
.nsg_container .nsg_add_on_perc_field{
    font-weight: 100;
}

.nsg_container .nsg_add_on_field span ,
.nsg_container .nsg_add_on_perc_field span {
    float: right;
}

.product-type-nsg_sign .single_add_to_cart_button {
    width: 100%;
    margin-top: 20px;
}

.nsg_call_to_action {
    font-size: 0.8em;
    margin-top: 10px;
}

@media screen and (max-width: 1000px){
    .nsg_container {
        flex-direction: column-reverse;
    }   

    .nsg_container .nsg_controls {
        max-width: 100%;
        padding-right: 0;
    }

    .nsg_container .nsg_canvas{
        max-width: 100%;
    }

    .nsg_container .reel{
        overflow-x: auto;
        margin-bottom: 30px;
    }
    .nsg_container .reel .item{
        min-width: 100px;
    }

    .nsg_container .dimensions{
        position: relative;
        margin-bottom: 10px;
        background: #fff;
        color: #000;
        border: 1px solid #c7c7c7;
        margin-top: 0;
        margin-left: 0; 
    }
}