.tile-calculator-data-cont{
    padding: 20px 15px;
}

.tile-calculator-data-cont label{
    display: block;
    font-weight: 700;
}

.tile-container-header{
    border-bottom: 3px solid #bfcc47;
    line-height: 1.7;
}

.tile-div {
    width: 52px;
    height: 52px;   
    float: left;
    border: 1px solid #aaa;
    cursor: pointer;
    margin: 0.5px;
}


.tiles-container.hide-border .tile-div{
    border:none;
}

.tile-div.side-cut{ width: 26px; }
.tile-row.frontback-cut .tile-div,
.tile-row.ramp-tile .tile-div{ height: 26px; }

.tile-row {
    display: flex;
    width: 100%;
}

.tile-calculator-container{
    display:flex;
}
.tile-calculator-container > * { margin-right:50px;}
.tiles-container{margin:auto;display:table;padding-top: 30px;}
.colorcount{
    margin-bottom: 0;
}

.tile-row.ramp-tile{
    margin-bottom: 10px;
}

.totalNumbertiles{
    color: #f00;
    font-weight: 600;
}
 

.draw-erase-section, .ramp-label-section{
    /* position: absolute; */
    /* top: 0; */
    /* left: 100%; */
    background: #52595f;
    color: #fff;
    padding: 10px 15px;
    margin: 0;
} 

.draw-erase-section{
    margin-bottom: 10px!important;
}

.draw-erase-section label{
    display: inline-flex;
    margin: auto 0;
    margin-right: 10px;
}

.draw-erase-section label input{
    margin: auto;
    margin-right: 10px;
}

.tile-calculator-data-cont .tile-img{
    margin-top: 15px;
}

.tile-calculator-data-cont .tile-img img{
    width: 100%;
}

.tile-calculator-data-cont select{
    width: 100%;
    padding: 5px 10px;
}

.btn.btn-calculate,
.btn.btn-savepdf{
    background: #bfcc47;
    text-transform: uppercase;
    font-weight: 500;
    width: 100%;
}

.tile-calculator-data-cont .divider{
    border-bottom: 3px solid #bfcc47;
    margin-top: 20px;
    margin-bottom: 20px;
}

.tile-calculator-data-cont .tile-info p{
    margin-bottom: 5px;
}

.ramp-label-section{
    padding: 0px 10px; 
    display: flex;
    position: absolute;
    bottom: calc(100% - -3px);
    height: 24px;
    left: 0;
    width: 100%;
}
.ramp-label-section > div{
    display: flex;
    margin: auto;
}

.ramp-label-section > div i{
    margin-right: 10px;
    display: flex;
}

.ramp-label-section > div i:before{
    margin: auto;
}

.tile-calculator-display-container{
    overflow: auto;
    padding-bottom: 10px;
}


.tile-calculator-help-popup .modal-body {
        padding: 25px 10px;
    position: relative;
}

.tile-calculator-help-popup .close{
    background: #a4ae38;
    color: #000;
    font-weight: 800;
    position: absolute;
    top: -22px;
    right: -22px;
    padding: 10px 14px;
    border-radius: 50%;
    opacity: 0.8!important;
}

.tile-calculator-help-popup .close:hover{
    opacity: 1!important;
}

.tile-calculator-help-popup  ol{
    margin-bottom: 0;
}

.tile-calculator-help-popup  ol li::marker{
    font-weight: 600;
}

.tile-calculator-data-cont .help-link{
    font-size: 20px;
    color: #bfcc47;
    cursor: pointer;
    float: right;
}

.work-info, .ramp-color-counts, .garage-color-counts{
    margin-bottom: 5px;
}


@media screen and (max-width:768px){
    
    .draw-erase-section{
        position: relative;
        margin-top: 15px;
        left: 0;
        margin-bottom: 0!important;
        display: flex;
    }

    .draw-erase-section label:first-child{
        margin-right: 20px;
    }
    .tile-calculator-data-cont{
        width: 100%!important;
    }
    .btn.btn-calculate{
        width: 100%;
    }
    .tiles-container{
        margin-top: 10px;
    }

    .tiles-container .ramp-label-section{
        left: 0;
        bottom: calc(100% + 5px);
        top: auto;
    }
    .tile-input-fields{ display: flex; }
    .tile-input-fields > div{
        width: 50%;
    }
    .tile-input-fields > div:first-child{
        padding-right: 5px;
    }

    .tile-input-fields > div:last-child{
        padding-left: 5px;
    }

    .tile-div{
        width: 35px;
        height: 35px;
    }

    .tile-row.frontback-cut .tile-div, .tile-row.ramp-tile .tile-div {
        height: 17.5px;
    }
    
    .tile-div.side-cut {
        width: 17.5px;
    }

    .mobile-reverse{
        flex-wrap: wrap-reverse!important;
    }
}


@media screen and (max-width: 575px){
    .tile-calculator-help-popup .modal-dialog{
        width: calc(100% - 60px);
        margin-left: auto;
        margin-right: auto;
    }
}