@font-face {
    font-family: 'webfontregular';
    src: url('../fonts/proximanova-regular-webfont-webfont.eot');
    src: url('../fonts/proximanova-regular-webfont-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/proximanova-regular-webfont-webfont.woff2') format('woff2'), url('../fonts/proximanova-regular-webfont-webfont.woff') format('woff'), url('../fonts/proximanova-regular-webfont-webfont.ttf') format('truetype'), url('../fonts/proximanova-regular-webfont-webfont.svg#webfontregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'proxima_nova_semibolddemibold';
    src: url('../fonts/proximanovasemibold-webfont.eot');
    src: url('../fonts/proximanovasemibold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/proximanovasemibold-webfont.woff2') format('woff2'), url('../fonts/proximanovasemibold-webfont.woff') format('woff'), url('../fonts/proximanovasemibold-webfont.ttf') format('truetype'), url('../fonts/proximanovasemibold-webfont.svg#proxima_nova_semibolddemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* ---- Generelized css rules  ---- */

html,
body {
    min-height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'webfontregular';
    background-color: #1564C0;
}

.row {
    margin: 0;
    padding: 0;
}

a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

a:hover,
a:focus {
    color: #000;
    text-decoration: none;
    outline: none;
}

hr {
    margin-top: 16px;
    margin-bottom: 0px;
}

.btn:hover,
.btn-focus {
    -webkit-transition: all 1100ms ease;
    -moz-transition: all 1100ms ease;
    -ms-transition: all 1100ms ease;
    -o-transition: all 1100ms ease;
    transition: all 1100ms ease;
}

.form-control:focus {
    box-shadow: none;
}

.p-l-none{
    padding-left:0px;
}

/* -----  rotating class ---  */
// .rotate{
//     background-image: url('../images/rotate.png');
//     background-repeat: no-repeat;
//     background-position: center;
//     background-size: cover;
//     padding: 15px;
//     margin: 0 5px;
//     font-size: 12px;
// }
.rotation_wrap{
    display: inline-block;
    text-align: center;
    float: left;
}
.rotate90{
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    transform: rotate(90deg);
}
.rotate180{
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}
.rotate270{
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    transform: rotate(270deg);
}

.custom_dialog{
    height: 100vh;
}
.custom_modal_content,.custom_modal_container,.custom_modal_container > div{
    // height: 100%;
}
.custom_modal_body{
    height: 83%;
    position: relative;
}
.canvas-container {
    margin: 0 auto;
    float: none;
    max-width: 100%;
}
.canvas-container canvas{
    max-width: 100% !important;
    max-height: 100% !important;
}

/* ---- custom css for checkbox and radio button ---- */

.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 49%;
    left: 18%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}
.main-wrapper {
    position: relative;
    min-height: 550px;
    margin-top: 6%;
    display: flex;
    background-color: #fff;
    margin-bottom: 15px;
    -moz-box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, .24);
    -webkit-box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, .24);
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, .24);
}

.light-gray-bg {
    background-color: #f5f5f5;
}

.selection-btn-block {
    margin: 40px auto;
}

.selection-img-block {
    margin-bottom: 40px;
}

.custom-btn {
    background: none;
    border-radius: 25px;
    border: 1px solid #898989;
    color: #898989;
    font-size: 16px;
    width: 100%;
    max-width: 180px;
    margin: 5px auto;
}

.custom-btn:hover,
.custom-btn:focus {
    color: #1564C0;
    border-color: #1564C0;
}

.white-btn {
    border-color: #fff;
    color: #1564C0;
    background-color: #fff;
}

.white-btn:hover,
.white-btn:focus {
    border-color: #fff;
    color: #1564C0;
    background-color: #fff;
}

.label-title {
    color: #545454;
    font-size: 16px;
}

.thumbs-wrap {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin: 1px 6px 6px 1px;
    float: left;
}

.thumbs-wrap img {
    box-shadow: 0px 0px 1px 0 rgba(0, 0, 0, 0.7);
}

.main-area {
    padding: 16px;
    text-align: center;
}

.right-block {
    padding: 16px;
}

.action-icons {
    margin: 10px auto 0px auto;
    padding: 10px 0px 0px;
    text-align: center;
}

.action-icons a {
    display: inline-block;
    color: #898989;
    font-size: 16px;
    line-height: 33px;
    border-radius: 50%;
    border: 1px solid #898989;
    text-align: center;
    height: 35px;
    width: 35px;
    margin: 0px 15px 0px 15px;
    float: left;
}

.action-icons a:hover,
.action-icons a:focus {
    color: #1564C0;
    border-color: #1564C0;
}

.grout-details {
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 25px 15px;
}

.grout-details .column {
    padding: 0px 5px;
}

.grout-block {
    margin-top: 10px;
}

.color-picker-btn {
    height: 28px;
    width: 28px;
    border: 1px solid transparent;
    border-radius: 50%;
    background-color: #988065;
    margin: 5px 0px;
}

.input-number {
    margin: 5px 0px;
    border-radius: 2px;
}

.object-btns {
    padding: 0px 15px;
}

.next-step-label {
    font-family: 'proxima_nova_semibolddemibold';
    display: block;
    font-size: 18px;
    margin-top: 8px;
    text-align: left;
    padding-left: 15px;
    margin-bottom: 8px;
}

.del-btn {
    max-width: 150px;
}


/* .checkbox.grout {
    margin: 0;
} */

.checkbox.grout {
    float: left;
    border-radius: 4px;
    margin-top: 6px;
    margin-bottom: 10px;
    margin-left: 15px;
    width:100%;
    text-align:left;
}

.checkbox.grout label {
    padding-left: 0;
    font-size: 16px;
}

.next-step-row {
    text-align: right;
}

.circle-btn {
    color: #fff;
    background-color: #1564C0;
    height: 54px;
    width: 54px;
    border-radius: 50%;
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.24);
    font-size: 20px;
    line-height: 40px;
    float: right;
    margin: 0px 20px 20px 20px;
}

.circle-btn:hover,
.circle-btn:focus {
    color: #fff;
}

.color-btns > div > div {
    padding: 7px;
    float: left;
    margin-top: 15px;
    cursor: pointer;
}

#svg1 {
    display: none;
}

#used-colors .color-btn {
    width: 100%;
    text-align: left;
    padding: 0px;
    margin-top: 5px;
}

#used-colors {
    margin-bottom: 15px;
    max-height: 130px;
    overflow-y: auto;
}

#grout-colors{
    padding-bottom:15px;
    padding-top:5px;
    text-align:left;
}

/* #c {
    display: none;
} */

#edit-wrap{
    position:relative;
    float:left;
    width:100%;
    min-height:1px;
    padding-left:1px;
    padding-right:1px;
}
#edit-wrap svg{
    visibility:hidden;
}
#edit-wrap.bucket svg{
    cursor: url('../images/paint-brush.png'), auto;
}

#edit-wrap.erase svg{
    cursor: url('../images/clean.png'), auto;
}

.colors-container {
    height: 550px;
    overflow-y: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}

.color-group tr td {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.color-group {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    cursor: pointer;
}

.color-item {
    margin-bottom: 15px;
    padding-left: 15px;
    float: left;
}

/* .canvas-container {
    margin:auto;
    float:left;
} */

#svg-elemnt{
    display:none;
}
/* .color-item:nth-child(odd) {
    float: left;
    padding-right: 8px;
}

.color-item:nth-child(even) {
    float: left;
    padding-left: 8px;
} */

.modal-body canvas
{
    pointer-events:none;
}

#color-modal .color-group tr td {
    padding: 30px;
    position: relative;
}

.sp-replacer {
    padding: 0px !important;
    border: none !important;
    margin-top: -1px !important;
}

.sp-preview {
    margin: 0px !important;
    border: none !important;
    background: transparent !important;
    width: 18px;
    height: 18px;
}

.sp-preview-inner {
    border-radius: 50%;
}

.sp-replacer .sp-dd {
    display: none !important;
}

.disable {
    pointer-events: none !important;
}

.stroke-wrapper {
    float: left;

}

#myModal .modal-body{
    position:relative;
}

.grout-cntrl .ch-text {
    font-family: "proxima_nova_semibolddemibold";
    font-size: 18px;
    color: #545454;
    margin-left:8px;
}

#resizable{
    border:1px solid #000000;
    position:absolute;
    width:150px;
    height:150px;
    display:none;
    top:100px;
    left:100px;
}

.preview_container{
    position:relative;
}

.crop_preview_container .crop_preview{
    display:none;
}

/* .crop_preview_container.crop_mode .preview_container{
    width:70%;
}
.crop_preview_container.crop_mode .crop_preview{
    width:30%;
    padding-left:15px;
    padding-right: 15px;
    border:1px solid #000000;
    display:inline-block;
}

#myModal .modal-dialog.crop_mode{
    min-width:1024px;
} */
#save_crop{
    display:none;
}
/* svg{
    width:84%;
    margin:auto;
    height:auto;
} */
.custom-row{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}
.custom-row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
.imgs-container{
    max-height:545px;
    overflow-y: auto;
    width:100%;
}
.imgs-container > .custom-row{
    width:99%;
}
.outer-button-wrapper{
    position: absolute;
    right: -42px;
}
.outer-button{
    display: block;
    height: 42px;
    width: 42px;
    font-size: 20px;
    text-align: center;
    line-height: 42px;
    color: #898989;
    background-color: #fff;
    border-radius: 0 27px 27px 0;
    margin-bottom: 8px;
}
.outer-button i{
    margin-right: 3px;
}
.outer-button:hover,
.outer-button:focus{
    color: #1564C0;
}
.img-center{
    margin: auto;
    position: relative;
    display: block;
}
#suggestion{
    display: none;
}
.sp-replacer{
    pointer-events: none;
}
#transfer{
    display: none;
}









.btn-color-picker {
    width: 32px;
    height: 32px;
    margin: 2px;
    float: left;
    border: #ccc solid 1px;
    border-radius: 4px;
    cursor: pointer;
}









/* ----------------------- */
/* ---- Media Queries ---- */
/* ----------------------- */

@media screen and (max-width: 1270px){
    .main-container{
        padding: 25px 45px;

    }
}
@media screen and (max-width: 1200px) {
    .action-icons a {
        margin: 0px 5px 10px 5px;
    }
}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 991px) {
    .custom-btn {
        font-size: 14px;
    }
    .action-icons a {
        margin-left: 2px;
        margin-right: 2px;
    }
    .color-picker-btn {
        height: 24px;
        width: 24px;
        margin-top: 7px;
        margin-left: 7px;
    }
    .next-step-row {
        text-align: center;
    }
    .circle-btn {
        float: none;
    }
    .object-btns {
        padding: 15px;
    }
    .next-step-label {
        margin-top: 0;
    }
    .main-container{
        padding-top: 0;
    }
}

@media screen and (max-width: 767px) {
    .main-container{
        padding: 40px 15px 0 15px;
    }
    .main-wrapper {
        display: block;
        margin-top: 15px;
    }
    .selection-btn-block {
        margin: 15px auto;
    }
    .selection-img-block {
        margin-bottom: 15px;
    }
    /* .thumbs-wrap {
        width: 16.67%
    } */
    /* .thumbs-wrap img {
        margin: 0 auto;
    } */
    .action-icons {
        margin-top: 10px;
    }
    .checkbox.grout {
        text-align: center;
    }
    .grout-details {
        padding: 15px;
    }
    .grout-block {
        display: table;
    }
    .grout-block .column {
        display: table-cell;
        vertical-align: middle;
    }
    .color-picker-btn {
        margin-right: 7px;
    }
    .input-number {
        max-width: 125px;
    }
    .action-icons a {
        margin: 0px 5px;
    }
    .next-step-label {
        width: 100%;
    }
    .custom-btn {
        margin: 0;
    }
    .outer-button-wrapper{
        top: -45px;
        /* left: calc(50% - 41px); */
        left: calc(50% - 63px);
        right: 0;
    }
    .outer-button{
        display: inline-block;
        float: left;
        border-radius: 50%;
        height: 36px;
        width: 36px;
        line-height: 36px;
        font-size: 16px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    .outer-button i{
        margin-right: 0;
    }
}

@media screen and (max-width: 640px) {

}

@media screen and (max-width: 600px) {
    .canvas-container canvas {
        width: 80% !important;
        height: auto !important;
        top: 10% !important;
        left: 10% !important
    }
}
@media screen and (max-width: 568px) {
 .canvas-container canvas {
        width: 75% !important;
        top: 10% !important;
        left: 15% !important
    }
    .canvas-container {
        margin: 0 auto;
    }
}
@media screen and (max-width: 479px) {
    /* .thumbs-wrap {
        width: 25%;
    } */
    .canvas-container {
        max-height: 400px !important;
        height: 300px !important;
    }
    .canvas-container canvas {
        top: 6% !important;
    }
}

@media screen and (max-width: 359px) {
    .input-number {
        max-width: 95px;
    }
    .rotation_wrap{
        margin-bottom: 20px;
        width: 100%;
    }
    .modal-footer{
        text-align: center;
    }
    .canvas-container canvas {
        top: 12% !important;
        left: 12% !important;
    }
}
