.colourswatch {
    display: inline-block;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 0.25rem;
    cursor: pointer;
    border: 1px solid var(--accord-white);
}

.selectedcolour {
    outline: 2px solid var(--accord-orange);
    box-shadow: inset 0 0 0 1px #f58c24;
}

.haserror {
    background-color: #ff9f9f;
    color: #820000;
    border-color: red;
}

.colourswatch .tooltext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    top: 100%;
    left: 50%;
    margin-left: -75px;
    position: absolute;
    z-index: 1;
}

.colourswatch:hover .tooltext {
    visibility: visible;
}

#mtitle {
    display:none;
}
#dtitle {
    display: block;
    padding-bottom: 5px;
}
#kstitle {
    margin-bottom:5px;
}

#images {
    width: 500px;
    max-width: 40%;
}

#images img {
        max-width: 100%;
        object-fit: cover;
        border-radius: inherit;
    }

#gallery {
    width: 100%;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

.gallery-thumb {
    width: 100px;
    height: 100px;
    flex: 0 0 auto;
}

#gallery img:hover {
    transform: scale(0.9);
}

#vari-thumb{
    display:none;
}

#addtocart {
    flex: 1;
    text-align: center;
    vertical-align: top;
    padding: 10px;
}

#sheet_options {
    width: 100%;    
    overflow: hidden;
}

.sobody {
    color: var(--accord-white);
    background-color: var(--darkbg);
    border: 1px solid var(--accord-white);
    border-top: none;
    padding: 10px;
    text-align: left;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
}

    .sobody label {
        font-weight: 600;
        display: inline-block;
        width: 30%;
        padding-right: 20px;
        text-align: right
    }

    .sobody select {
        display: inline-block;
        width: 70%;
        padding: 10px;
    }

    .sobody input {
        display: inline-block;
        width: 100%;
        padding: 10px;
    }

    .sobody button {
        margin-top: 5px;
        width: 100%;
    }

#id_quantity {
    width: 70%;
}

#id_qty {
    width: 70%;
}

#sheets {
    display: block;
    width: 100%;
}

#sheets-table {
    width: 100%;
}

#sheets-table * {
        margin-top: 0px;
        margin-bottom: 0px;
    }

#sheets-table .btn {
        width: 41px;
        height: 50px;
        padding: 0px;
    }

#sheets-table select{
    width:100%;
}

#Finish{
    margin-bottom:5px;
}

#Fixings {
    margin-bottom: 5px;
    margin-top: 5px;
}

#allcolours {
    display: inline-block;
    width: 70%;
    padding: 10px;
}

#addtocartbtn {
    width: 100%;
    background-color: var(--accord-orange);
    color: var(--accord-white);
    border-color: var(--accord-orange);
}

    #addtocartbtn:hover {
        background-color: var(--accord-white);
        color: var(--accord-orange);
    }

#product_info{
    text-align:center;
}

.prodbody {
    margin-top: 10px;
    display: block;
    text-align: left;
}

.prodbody-head {
    color: var(--accord-white);
    background-color: var(--accord-blue);
    padding: 10px;
    border: 1px solid var(--accord-white);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 600;
}

.prodbody-head h2 {
        color: var(--accord-white);
    }

.prodbody-body {
    color: var(--accord-white);
    background-color: var(--darkbg);
    padding: 10px;
    border: 1px solid var(--accord-white);
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

    .prodbody-body table {
        width: 100%;
        text-align: center;
    }
        .prodbody-body table tr {
            border-bottom: 1px solid var(--accord-darker-grey);
        }
    .prodbody-body table td{
        padding: 2px, 5px;
    }

#price-list {
    margin-top: 10px;
}

    .price-table {
    border: solid 1px var(--accord-white);
}
    .price-table tr {
        border: solid 1px var(--accord-white);
    }
    .price-table th {
        border: solid 1px var(--accord-white);
        padding: 10px;
    }
    .price-table td {
        border: solid 1px var(--accord-white);
        padding:10px;
    }

    #curved-col-cont {
        width: 50%;
    }


#curved-dimsimg-cont {
    width: calc(50% - 10px);
}

#curved-fixings-cont, #curved-finish-div, #curved-colour-div, #curved-add-cont {
    width: 100%;
    padding-right: 5px;
}

#curved-dims-cont label, #curved-finish-div label, #curved-colour-div label, #curved-fixings-cont label {
    width: 100px;
}

#arc-width, #arc-rise, #arc-lor, #curved-Fixings, #curved-Finish, #curved-allcolours {
    display: inline-block;
    width: calc(100% - 100px);
}

#arc-width-uom, #arc-rise-uom, #arc-lor-uom {
    width: 100px;
}

.curveddimscont {
    width: calc(100% - 100px);
    display: inline-block;
    padding-right: 5px;
}

.dpadl {
    padding-left: 5px;
}
#flashing_options input {
    display: inline-block;
    width: 70%;
    padding: 10px;
}

.colourname {
    margin-left: 30%;
    display: inline-block;
    width: 70%;
    padding: 10px;
    font-size: 16px;
    color: var(--accord-white);
    background-color: var(--midbg);
    border: 2px solid var(--accord-dark-orange);
    border-radius: 10px;
}

.downloads {
    margin-top: 10px;
}

@media screen and (max-width: 760px) {
    #addtocart {
        width: 100%;
        display: block;
        padding:0px;
    }

    #images {
        width: 100%;
        max-width: 100%;
        display: block;
        max-height: 100%;
    }

    #mtitle {
        display: block;
        text-align:center;
    }
    #dtitle {
        display: none;
    }
    .flex-cont {
         display: block;
    }
    #curved-dimsimg-cont, #curved-col-cont {
        width: 100%;
    }
    .dpadl {
        padding-left: 0px;
    }
    
}