﻿body { padding: 0px;  margin: 0px;  
}

.modal {
    -webkit-box-align: start;
	
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1 !important;
}

    .modal .modalInner, .modal .modal-dialog {
        background-color: #fff;
        min-width: 30rem;
        max-width: 80vw;
        border-radius: 1rem;
        height: auto;
        -webkit-box-shadow: 0px 0px 5px #dadada;
        box-shadow: 0px 0px 5px #dadada;
        -webkit-animation-name: fadeInDown;
        animation-name: fadeInDown;
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        position: fixed;
        margin: auto;
      
    }

    .modal .modalInner .modalContent, .modal .modal-dialog .modal-content {
        height: 100%;
        padding: 0 1.66rem 1.5rem;
        -webkit-animation-name: animatetop;
        -webkit-animation-duration: 0.4s;
        animation-name: animatetop;
        animation-duration: 0.4s;
        transition: transform .3s ease-out;
        border: 0;
     
    
 }

    .modal .modalInner .modalContent .modal-body, .modal .modal-dialog .modal-content .modal-body {padding:0px;
    }


    .modal .modalInner .modalContent > div.modalHeader, .modal .modal-dialog .modal-content > div.modal-header {
        padding: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 1rem 0;
        margin-right: -1.5rem;
        border: 0;
    }

 .modal .modalInner .modalContent > div.modalHeader .modal-title, .modal .modal-dialog .modal-content > div.modal-header .modal-title {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: unset;
 }

    .modal .modalInner .modalContent > div.modalHeader .modalCloser span, .modal .modal-dialog .modal-content > div.modal-header .modalCloser {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 40px;
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        color: #666;
        cursor: pointer;
        border: none;
        font-size: 20px;
        background: transparent;
    }

  .modal .modalInner .modalContent > div.modalHeader .modalCloser span:hover, .modal .modal-dialog .modal-content > div.modal-header .modalCloser:hover {
      color: #bb0505;
  }

        .modal .modalInner .modalContent > div.modalHeader .modalCloser {
            border: 0px;
            background: transparent;
            text-decoration: none;
            background: #ddd;
            border-radius: 50%;
            line-height: 8px;
        
    }                  


 .modal .modalInner .modalContent > div.modalBody, .modal .modal-dialog .modal-content > div.modal-body {
   cursor: auto;
 }

 .modal .modalInner .modalContent > div.modalFooter, .modal .modal-dialog .modal-content > div.modalFooter {
  padding: 0.5rem 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  }

.modal.active {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}

 

.modal .btn {
       
        padding-left: 1.66rem;
        padding-right: 1.66rem;
        border-radius:6px;
        min-width: unset;
        font-size: 14px;
}

.modal.active .form-control {
        font-size: 14px;
}


.modal .modalInner .modalContent .modalFooter .btn.delete {
        color: #111;
        border: solid 1px #ccc;
        background: transparent;
        font-size: 14px;
}

.modal .modalInner .modalContent .modalFooter .btn.delete:hover {
            background-color: #c40000;
            color: #fff;
            border: solid 1px #c40000;
}
/********************login popup************************/
.logogin-modal-content .btn-login-google, .logogin-modal-content .btn-login-facebook, .logogin-modal-content .btn-login-email, .logogin-modal-content .btn-outline-secondary {
    height: auto;
}
#import_pos_content .modal-dialog.modal-xl {
    min-width: 70rem;
    max-width: 70vw;
}

/********************about-us page popup************************/
.modal .about-mobal { background: transparent;box-shadow: none;}
.modal .about-mobal .modal-content {padding:0px; }
.about-mobal-popup .close { background: transparent;  box-shadow: none;  border: 0;}



#modaldiv_preview .modalHeader {
    justify-content: right !important;
}
    #modaldiv_preview .modalHeader .modalCloser {
    float: right;
    margin-right: 20px;
}
#modaldiv_preview {
    background-color: rgb(0 0 0 / 85%);
}

#import_pos_content .modal-content {
    height: 840px;
}

#import_pos_content .pos-cont-h {
    height: 94%;
}

    #import_pos_content .pos-cont-h .row {
        height: 100%;
    }

.creatNew_modal .modalCloser {background:transparent !important;}
    .creatNew_modal .modalCloser span {font-size:14px !important; }

.modalFooter .btn-delete:hover {
    background-color: #c40000 !important;

}

#modaldiv_preview .modalInner {max-width:1000px;
}

    #modaldiv_preview .modalInner .modalHeader {
        padding: .25rem 0;
    }


 
@media (max-width: 1512px) {
    #modalMyScreenAddEdit .modalInner {
        min-width: 30rem;
        max-width: 98%;
    }  
}
 #div_my_images .modalHeader .modalCloser{background:transparent !important;}
 
.box.design-direction .btn:hover {
    color: #fff;
    text-decoration: none;
}



/*modalLocation.active add css---------------------------------*/

.modalLocation.active .form-floating.mb-1 .form-control {border:0px;}
.modalLocation.active .form-floating.mb-1 {border: 1px solid #ddd;border-radius: 6px;margin-bottom: 8px !important;padding: 12px;float: left;width: 100%;}
.modalLocation.active .form-floating.mb-1 label {padding:0px; float:left; width:100%; position:relative;}
.modalLocation.active .form-floating.mb-1 .form-control {padding: 0px;float: left;width: 100%;position: relative;height: 25px;}
.modalLocation.active .form-floating.mb-1 .form-control:focus {outline: 0px;background: transparent;border: 0px;box-shadow:none;}
.modalLocation.active .modalBody {float: left;}
.modalLocation.active .modalFooter { float: left;}
.modalLocation.active .modalInner {  min-width: 30rem; max-width: 30rem;}
.modalLocation.active .modalFooter {float: left;width: 100%;margin-bottom: 20px;}
.modalCloser:hover {color:red;}
#location_table {width:100%;}





.modal.showtemplate .modal-dialog {
    min-width: 80%;
    max-width: 80%;
    padding:0px;
	height:90vh
}

    .modal.showtemplate .modal-dialog h2 {
        float: left;
    }

    .modal.showtemplate .modal-dialog .row {
        margin: 0px; padding:0px;
    }

.showtemplate ul li {
    list-style-type: none;
    padding: 4px 10px;
    border-radius: 10px;
    margin: 0px 0px 0px 0px;
    width: 24.6%;
    display: inline-block;
}

.modal.showtemplate .modal-header .modalCloser {
       position: absolute;
    baseline-shift: baseline;
    height: auto;
      right: 1px;
    top: 9px;
 


 
}
.modal.showtemplate .modal-header{position:relative;}

.showtemplate ul span.img-h img {
    max-width: 100%;
    border-radius: 8px;
    
}


.showtemplate ul {
    margin:10px 0px 0px 0px;
    justify-content: center;
    padding: 0px;
    text-align: center;
    position: relative;
    display: inline-block;
    border-radius: 1rem;
   width:100%;
}

  .showtemplate ul li:nth-child(5n) {
        margin-right: 0px;
    }
 
    .showtemplate ul span.img-h {
       border-radius: 9px;
    float: left;
    width: 100%;
    text-align: center;
    font-size: 12px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    background: #f1f1f1;
 cursor:pointer;
 
    } 
	  .showtemplate ul .item-img:hover .img-h{   border-radius:0px;}
	  	  .showtemplate ul .item-img:hover .img-h img{   border-radius:0px;}


.inline-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: left;
}

    .inline-container input[type="radio"] {
        appearance: none;
        width: 22px;
        height: 22px;
        border: 2px solid #ccc;
        border-radius: 50%;
        margin-right: 8px;
        position: relative;
        cursor: pointer;
        vertical-align: middle;
        transition: var(--transition);
    }

        .inline-container input[type="radio"]:checked {
            border-color: #000;
        }

            .inline-container input[type="radio"]:checked::after {
                content: "";
                position: absolute;
                width: 12px;
                height: 12px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                border-radius: 50%;
                background-color: #000;
            }

        .inline-container input[type="radio"]:focus {
            outline: none;
        }

    .inline-container label {
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
    }

    .inline-container input[type="radio"]:checked + label {
        color: var(--info);
    }


.showtemplate .pagination{
    float: right;
    display: block; margin: 0 25px 0 0;
}
.showtemplate ul.pagination li {
    width: 47px;
    padding: 6px 4px;
    text-align: center;
    margin: 0px 2px;
    border-radius: 3px;
}
    .showtemplate ul.pagination li span{ border-radius: 3px;}
    .showtemplate ul.pagination li a {text-decoration:none; color:#000; border-radius: 3px;
    }

    .showtemplate ul.pagination li.pg-active {
        background:#000;
    }
        .showtemplate ul.pagination li.pg-active a {
            color: #fff;
        }

.showtemplate .modal-content { 
    padding-bottom: 0px; padding-bottom:0px !important;    
}

.show-template-form {float: right; }
    .show-template-form .browse-menu-gl {
        border: 0px;
        width: 128px;
    }
        .show-template-form .btn {
            padding: 6px;
        }
    .show-template-form .btn:active {border:0px;
        padding: 6px;
    }

    .show-template-form .select:focus-visible, .show-template-form .browse-menu-gl:focus-visible {
        outline: 0;
    }

.show-template-form .select{
    float: left;
    padding: 7px;
    width: 200px;
    margin-right: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size:14px;
}
    .show-template-form .form-inline {
        float: left;
        border: solid 1px #ddd;
        border-radius: 6px;
        padding: 0px 10px;
        font-size: 14px;     margin-right: 5px;
    
    }
	
		.showtemplate ul li.Vertical-Menu .img-h img{width: 32%; border-radius: 0;}
	.showtemplate ul li.Vertical-Menu{}
	.showtemplate .modal-footer{border:0px; padding-top:0px;}
	
 
@media screen and (min-device-width: 1366px) and (max-device-width: 1512px) {
		.modal.showtemplate .modal-dialog {height:83vh;}
}
    
	
	@supports (-webkit-appearance: none) {
  .show-template-form select.select {
    overflow-y: auto;
    max-height: 200px; /* Force visible scroll on Mac */
  }
}
 
  .show-menu-row{padding:0px;}
  .inline-container.all-menu-count{    margin-top: 20px;}

    .inline-container.all-menu-count .menu-count {font-weight:bold;
    }