html {
    height:100%;
    width:100%;
    background-color: #fff;
    /*overflow: hidden;*/
  }
body {
    height:100%;
    width:100%;
    padding: 0;
    margin: 0;
    font-family: 'nexa regular';
    /*overflow: hidden;*/
    cursor: default;
}

main, app-users {
    width:100%;
    height: 100%;
    display: block;
    /*overflow:hidden;*/
    display:inline-block;
}

.mat-tooltip, .mat-tooltip.mat-tooltip-custom {
    font-size: 14px !important;
    /* border: 1px solid blue !important;
    background-color: yellow !important;
    color: green !important; */
 
}

.dialog-panel {
    width: 450px !important;
    max-height: 80% !important;
    min-height: 200px;
    font-family: "nexa regular"; 
    border: 1px solid #2BBBCF;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 30px 0 rgba(0,0,0,0.2);
}

.dialog-panel.scan-dialog-panel {
    width: auto !important;
    max-height: 90% !important;
    overflow-y: auto;
}
.dialog-panel.copy-to-sub-orgs-dialog {
    width: 710px !important;
    height: 730px !important;
    max-height: 100% !important;
}
.dialog-panel.params-dialog {
    width: 700px !important;
    height: 730px !important;
    max-height: 100% !important;
}

.dialog-panel.copy-sub-orgs-dialog {
    width: 405px !important;
    height: 430px !important;
    max-height: 100% !important;
}
.dialog-panel.sub-applet-details-dialog {
    width: 900px !important;
    height: 600px !important;
    max-height: 100% !important;
}

.dialog-panel.params-dialog .modal-footer, 
.dialog-panel.copy-sub-orgs-dialog .modal-footer, 
.dialog-panel.sub-applet-details-dialog .modal-footer{
    height: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
}


.dialog-panel.confirm-dialog {
    width: 600px !important;
    height: auto !important;
    max-height: 80% !important;
} 
.dialog-panel.confirm-dialog .content{
    width: 100%;
    height: 100%;
} 

.dialog-panel.confirm-dialog .modal-footer{
    height: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.dialog-panel.confirm-dialog .modal-footer button{
    width: auto;
}
.dialog-panel.confirm-dialog .modal-footer button.btn-cancel{
    background-color: #fff;
    color: #2bbbcf;
}
.dialog-panel.confirm-dialog .modal-footer button.btn-cancel:hover{
    background-color: #fff;
    color: #1E99AE;
}

.dialog-panel.confirm-dialog.save-results {
    width: 635px !important;
}

.dialog-panel.preview-params-dialog {
    min-width: 600px;
    min-height: 600px;
}
mat-dialog-container,
.mat-dialog-container {
    height: auto !important;
    overflow: hidden  !important ;
    padding: 0px !important ;
    max-height: 100%  !important ;
}

mat-dialog-content,
.mat-dialog-content {
  overflow: hidden  !important ;
  padding: 0px !important;
  margin: 0px  !important ;
  max-height: none !important ;        
  height: 100%  !important ;
  background-color: #fff;
}

.mat-menu-content {
    background-color: #fff;
}

.mat-option, .mat-selected .mat-active{
    background-color: #fff !important;
    color:black  !important;
}

.dialog-header {
    float: left;
    /* margin-top: -10px; */
    position: relative;
    height: 60px;
    width: 100%;
    padding: 0px;
    border-bottom: 1px solid #ccc;
}

.dialog-header .dialog-header-title {
    padding: 15px 15px 15px 30px;
    text-align: left;
    width: calc(100% - 40px);
    float: left;
    margin: 0;
    font-size: 20px;
    position: relative;

}
.dialog-header .dialog-header-title.center-with-buttons{
    float: none;
    padding: 15px 80px;
    width: 100%;
    text-align: center;
}

.dialog-header .dialog-header-title.center-with-buttons .dialog-btn {
    color: #2BBBCF;
    font-weight: bold;
    font-size:14px;
    letter-spacing: 1px;
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
    width: 50px;
    line-height: 28px;
}

.dialog-header .dialog-header-title.center-with-buttons .dialog-btn.dialog-header-close {
    left: 16px;
}

.dialog-header .img-close {
    float: right;
    margin-right: 20px;
    cursor: pointer;
    margin-top: 20px;
    height: 17px;
    width:17px;
    background-image: url("./../img/icons/close-x.svg");
    background-position: 0 0;
    background-repeat: no-repeat;
}



.custom-modal-content{
    float: left;
    overflow-y: auto;
    overflow-x: hidden;
    width:100% !important;
    /* header height == 60 */
    height: calc(100% - 60px) !important;
    padding: 30px;
    color: #333;
    font-family: "nexa regular";
    position: relative;
   
}

.custom-modal-content.with-search {
    /* search height == 65 */
    height: calc(100% - 125px) !important;
}
.custom-modal-content.with-footer {
    /* footer height == 60 */
    height: calc(100% - 120px) !important;
}
.custom-modal-content.with-search.with-footer {
    height: calc(100% - 205px) !important;
}



.modal-footer{
    float:left;
    width:100%;
    height: 60px;
    display: block;
}  

.modal-footer .form-group{
    margin: 0px !important;
}

.modal-footer button {
    float: right;
    min-width: 100px;
}
.modal-footer .pull-right button{
    float: right;
}

.modal-footer .main-button {
    border: 0;
    border-radius: 4px;
    /* padding: 0 6px; */
}
.modal-footer .main-button {
    float: right;
    color: #FFF;
}

.modal-footer .main-button:disabled {
    background-color: #ccc;      
}

.modal-footer .main-button:disabled:hover{
    background-color: #ccc;
}


.mat-snack-bar-container.confirmation-toast {
    width: 100%  !important;
    min-width: 100%  !important;
    min-height : 32px;
    max-width: 100% !important;
    box-sizing: border-box;
}

/***************/
/*** desctop ***/
/***************/
@media (min-width: 1025px) {

}


/**************/
/*** mobile ***/
/**************/
@media (min-width: 320px) and (max-width: 767px) {

    .form-group{
        padding: 0px 25px !important;
    }

    .custom-modal-content  form {
        width:100%;
        height: 100%;
    }

    .dialog-panel {
      width: 100% !important;
      height: 100% !important;
      max-height: 100% !important;
    }

    .dialog-panel.scan-dialog-panel {
        max-height: none;
    }
  
    mat-dialog-container, .mat-dialog-container {
        max-width: none !important ;
        overflow: auto !important ;
    }
    .dialog-header .dialog-header-title{
        float: none;
        padding: 15px;
        width: 100%;
        text-align: center;
    }

    .dialog-header  .img-close {
        border: none;
        margin: 0px;
        padding: 0px;
        height: 16px;
        left: 15px;
        top:22px;
        position: absolute;
        width: 16px;
        background-image: url("./../img/icons/close.png");
        background-position: 0px 0px;
        background-repeat: no-repeat;  
    } 

    .custom-modal-content.with-footer {
        /* modal footer height == 80 */
        height: calc(100% - 140px) !important;
    }

    .modal-footer{
        height: 80px;
        border: 0px !important;
    }
    .modal-footer button {
        width: 100% !important;
        height: 50px !important;
        font-size:16px !important;
    } 
  

}


/***************/
/*** tablet  ***/
/***************/
@media (min-width: 768px) and (max-width: 1024px) {
    .dialog-panel {
      position: absolute !important;
      top: 10%;
    }  
}
