#spl_allzone {
    font-size:16px;
    min-width: 100%;
    font-family:Calibri;
    overflow:hidden;
}

#spl_allzone input {
    padding:0 !important;
    border:1px solid #aaa !important;
}

#spl_allzone button {
    padding:0.3em 0.5em !important; 
}


#spl_header {
    display:flex;
   
}

#spl_breadcrumbs {
    flex-grow: 1;
}

#spl_breadcrumbs span {
    vertical-align: middle;
}

#spl_search {
    width:200px;
    display: flex;
    margin-bottom:5px;
    margin-right:2px;
    max-height:30px;
}

#spl_viewzone {
    background-color: #eee;
    border: 1px solid #ddd;
    min-width: 99%;
    height: 100%;
    display: flex;
    
}



/* View modes (thumbnail and dual view) */

#spl_thumbnails {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 100%;
    overflow: auto;
}

#spl_dualview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

#spl_dualleft {
    background-color: #eee;
    width: 60%;
    min-width: 10px;
    overflow:hidden;
    display:inline-block;
    position:relative;
}


#spl_separator {
    cursor: col-resize;
    background-color: #aaa;
    background-repeat: no-repeat;
    background-position: center;
    min-width: 10px;
    min-height: 10px;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#spl_dualright {
    background-color: #eee;
    min-width: 10px;
    scroll-behavior: smooth;
    display:inline-block;
}

/* Breadcrumb navigation links */

.spl_breadcrumb:hover {
    color: blue;
    cursor: pointer;
}

.spl_breadCrumbSep {
    margin-left:10px;
    margin-right:10px;
    font-size:12px;
}


/* Thumbnails for eCatalogs, groups and drawings */

.spl_thumbnail {
    width: 250px !important;
    border-radius: 5px;
    height: 200px !important;
    margin: 5px;
    float: left;
    background-color: #fff;
}

.spl_thumbnail:hover {
    cursor: pointer;
}

.spl_thumbnailimage {
    width: 100%;
    height: 140px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.spl_thumbnailimage img {
    max-width: 180px;
    max-height: 120px;
}

.spl_thumbnailtext {
    width: 100%;
    height: 60px !important;
    background-color: #a1c517;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 0px 0px 5px 5px;
}

/* Exploded view area */

#spl_drawingwrapper {
    height:100%;
}

#spl_theDrawing {
    height:100%;
    border:2px solid #888;
    border-radius: 5px;
    overflow:hidden;
}

#spl_drawingactions {
    position:absolute;
    top:5px;
    right:5px;
    left:auto;
    z-index:100;
}

#spl_drawingactions button {
    background-color:rgba(255,255,255,0.5) !important;
    color:#31ade2 !important;
    border:1px solid #aaa;
    padding:0.3em 0.71em;
}


/* Hotspots */

.pcg_hotspot {
    fill: none;
}


.pcg_hotspot:hover {
    fill:lightgreen !important;
    fill-opacity:0.5;
}

/* Parts list */

.spl_part {
    display:flex;
    width:calc(100% - 10px);
    border:1px solid #ddd;
    border-radius:5px;
    margin:5px;
    padding:2px;
}


.spl_part:hover {
    cursor:pointer;
}

.spl_partpos {
    font-weight:700;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 40px;
}

.spl_partpos span {
    align-items: center;
    background: #207fc0;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    font-size: .875rem;
    height: 2rem;
    justify-content: center;
    margin-right: .5rem;
    width: 2rem;
}

.spl_partdetails {
    flex-grow: 0;
    max-width:calc(100% - 130px);
    /* flex-shrink: 0; */
}

.spl_partdesc {
    color:blue;
    text-decoration:underline;
}

.spl_stockqtyzone {
    font-weight:700;
    color:green;
}




.spl_activepart {
    background: #deecf6;
    border-color: #207fc0;
}

.spl_partright {
    margin-left:auto;
    display:flex;
    flex-direction:column;
}

.spl_regpricezone {
    flex-grow:1;
    font-weight:600;
    color:black;
    text-align:right;
    
}

.spl_part_spacer {
    width:calc(100% - 10px);
    height:20px;
    margin:5px 5px 20px 5px;
}

.spl_addtocartzone input {
    width: 50px;
    text-align: center;
}


/* Add to cart form */

#spl_addToCartForm {
    border:1px solid #999;
    box-shadow: 5px 5px 5px #aaa;
    border-radius:3px;
    padding: 0px;
}

#spl_addToCartHeader {
    padding:4px 10px 2px 10px;
    background-color:lightblue;
    text-align:left;
}

#spl_addToCartContent {
    padding:10px;
    border-bottom:1px solid #aaa;
}

#spl_addToCartFooter {
    padding:10px;
    display:flex;
    flex-direction:column;
    align-items: flex-end;
}

/* Searching */
#spl_searching {
    font-size:15px;
    font-weight:600;
}

#spl_searchresults {
    width:100%;
}

#spl_searchresultstable {
    width:100%;
}

/* Photo */
#spl_photo {
    width:160px;
    height:160px;
    padding:5px;
    border:1px solid #aaa;
    position:absolute;
    left:5px;
    top:5px;
    background-color:#fff;
    border-radius:3px;
    display:none;
}

#spl_photo:hover {
    cursor:pointer;
    border:1px solid lightblue;
}

#spl_poweredby {
    position:absolute;
    top:5px;
    left:5px;
    background-color:white;
}

/* NARROW SCREEN */
@media (max-width:800px) {
    #spl_dualview {
        flex-direction:column;
    }

    #spl_dualleft {
        height:50%;
        width:100%;
    }

    #spl_separator {
     cursor: row-resize;
    }

    #spl_poweredby {
        display:none !important;
    }

    #spl_photo {
        display: none !important;
    }
    
}

/* WIDE SCREEN */
@media (min-width:801px) {

    #spl_dualright {
        flex-grow: 1;
    }

    #spl_dualright {
        overflow:auto;
    }

    #spl_allzone {
        height: calc(100vh - 300px);
    }
}