/*Edn of Swal 2 custom style*/

.swal2-container{
    z-index: 10000 !important;
}

.swal2-popup .swal2-title {
    display: inline-block !important;
}

.swal2-popup .swal2-styled {
    flex-grow: 1;
    border-radius: 10px !important;
    font-size: 17px !important;
}

.swal2-popup .swal2-actions {
    flex-direction: row-reverse;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    margin-top: 20px !important;
}

.swal2-popup .swal2-styled:focus {
    box-shadow: none !important;
}



/*Edn of Swal 2 custom style*/


.sweet-alert, .jquery-modal .modal,  .swal2-popup {
    box-shadow: 0px 4px 41px -9px rgba(73, 109, 145, 0.1);
    border-radius: 12px !important;
    font-family: Heebo !important;
    padding: 29px 23px;
}

.sweet-alert,  .swal2-popup {
    padding: 29px 23px !important;
}

@media (min-width:541px) {
    .sweet-alert:not([data-custom-class="swal-transcode"]) {
        max-width: 331px;
        margin-left: -165.5px; /*half of the max-width*/
    }

}
.jquery-modal .media_picker.modal{
    box-shadow: 0px 4px 41px -9px rgba(73, 109, 145, 0.1) !important;
}


.mainCard:hover, div#category-wrapper{
    border: transparent !important;
}

.sweet-alert h2, .modal legend,
.swal2-popup .swal2-title {
    color: #011F3B !important;
    font-style: normal;
    font-weight: 500 !important;
    font-size: 28px;
    line-height: 33px;
    margin-top: 20px !important;
    margin-bottom: 16px !important;
    word-break: break-word;
}

/*sweet alert Close button*/
.sa-close-button {
    float: right;
    cursor: pointer;
}

.sa-close-button + h2 {
    margin-top: 25px !important;
}

/*end sweet alert Close button*/

.sweet-alert p {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    color: #455A64;
}

.showSweetAlert .sa-button-container, .sweet-alert .sa-button-container,
.swal2-popup .swal2-actions {
    width: 100%;
    margin-bottom: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sweet-alert .sa-confirm-button-container {
    display: flex;
    flex-grow: 1;
}

.sweet-alert button, .swal2-popup .swal2-styled.swal2-confirm {
    background: #084F94 !important;
    border-radius: 10px;
    margin: 0;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 20px;
    text-transform: none !important;
    letter-spacing: 1px;
    flex-grow: 1;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    box-shadow: none !important;
}
.sweet-alert button.cancel, .swal2-popup .swal2-styled.swal2-cancel {
    border: 1px #084F94 solid !important;
    color: #084F94 !important;
    text-transform: none !important;
}

body > div.sweet-alert.warning.showSweetAlert.visible > div.sa-button-container > div > button

/*.sweet-alert[data-custom-class="warning"] button{*/
/*    background: #E7873B !important;*/
/*}*/
/*.sweet-alert[data-custom-class="warning"] button.cancel{*/
/*    background: transparent !important;*/
/*}*/

/* Jquery modals */
.jquery-modal .modal {
    box-shadow: 0px 4px 41px -9px rgba(73, 109, 145, 0.1) !important;
}
.jquery-modal.blocker.current {
    z-index: 9999;
}

.jquery-modal.blocker.current div.pageActionsContainer,
.jquery-modal.blocker.current .screen-buttons {
    border-top: none;
}

.primaryBtn {
    opacity: 1;
}
.overall-crop-header{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.overall-crop-header-right{
  text-align: end;
  align-self: center;
}
#inner-crop-box #exitSaveAndAssignCroppedImage {
  background: white !important;
  color: #084F94 !important;
  border: 1px solid #084F94;
}
.modal .primaryBtn, .modal .primaryBtn.cancel {
    border-radius: 10px;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    text-transform: none !important;
    letter-spacing: 1px;
}
.modal .primaryBtn {
    background: #084F94 !important;
    border-radius: 10px;
}

.modal .primaryBtn.cancel {
    border: 1px #084F94 solid !important;
    color: #084F94 !important;
}

.container-checkbox2 input:checked ~ .checkmark2,
.jquery-modal.blocker.current .btn-primary {
    background-color: #084F94 !important;
}

.jquery-modal.blocker.current .btn-primary {
    border-color: #084F94;
}

/*Pixabay*/

.outsourced-images-modal.modal {
    top: 100px !important;
    padding: 20px !important;
}

.outsourced-images-modal.modal #searchbar {
    background: transparent !important;
}

.griddiv1, .griddiv2, .griddiv3 {
    background: linear-gradient( 45deg , #876af0 0%, #876af0 85%, transparent 85%) !important;
}

/*End of Pixabay*/

body > span.select2-container.select2-container--default.select2-container--open {
    z-index: 10000;
}

/*Clone Modals*/
.cloneModal{
  width: 602px !important;
  height: 532px !important;
  background: #FFFFFF !important;
  border-radius: 12px !important;

  padding-top: 24px !important;
  padding-right: 40px !important;
  padding-bottom: 30px !important;
  padding-left: 35px !important;
}

.cloneModal legend{
  height: 41px;
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 22px;

  font-family: Heebo;
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 41px;
  color: #455A64;
}

.cloneModal .error{
  margin-bottom: 4px;
  margin-top: -20px;
  height: 16px;
}

.errorPulse{
  animation: errorPulse 1.5s;
}

p.cloneErrorText{
  color: red;
  font-family: Heebo;
}

.kaModalRow{
  margin-bottom: 19px;
}

.kaModalLabel{
  height: 16px;
  margin-bottom: 0px;
  padding: 0px;
  font-family: Heebo;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 16px;
  /* Dark Gray */
  color: #677582;
}

.modalLabelFix{
  position: relative;
  top: -6px;
}

.modalInputFix, .kaModalRow.tagEditorFix ul.tag-editor,
.kaModalRow.selectorFix .select2.select2-container{
  position: relative;
  top: -12px;
}

.kaModalTextInput{
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100% !important;
  height: 40px !important;
  padding: 12px;
  background: #FFFFFF;
  /* Light Gray */
  border: 1px solid #CFD1D2;
  box-sizing: border-box;
  border-radius: 8px;
}

.kaModalRow .select2.select2-container{
  width: 100% !important;
  height: 40px !important;
}

.kaModalTextArea, .kaModalRow .tag-editor{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 12px;
  width: 100% !important;
  height: 106px !important;
  background: #FFFFFF;
  border: 1px solid #CFD1D2 !important;
  box-sizing: border-box;
  border-radius: 8px !important;
  resize: none;
  flex-wrap: wrap;
}


/* Add/Create Modal */

.createModal{
  width: 868px !important;
  background: #FFFFFF !important;
  border-radius: 12px !important;

  padding-top: 24px !important;
  padding-right: 32px !important;
  padding-bottom: 34px !important;
  padding-left: 35px !important;
}

.createModal legend{
  height: 41px;
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 22px;

  font-family: Heebo;
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 41px;
  color: #455A64;
}

.optionsColumn{
  padding: 0;
}

.col-md-6.leftCol{
  padding-right: 16px !important;
  padding-left: 0 !important;
}

.col-md-6.rightCol{
  padding-left: 16px !important;
  padding-right: 0 !important;
}

.ka-close-modal{
  position: absolute;
  top: 24px !important;
  right: 25px !important;
}

.ka-close-icon{
  margin-right: 0 !important;
  margin-top: -6px !important;
}

input[type="checkbox"] + label.kaCheckbox {
    background: url(../images/ka-checkbox-unchecked.png) no-repeat center center;
    background-size: 100%;
    padding: 0px !important;
    width: 14px;
    height: 14px;
    margin-right: 0px;
}

input[type="checkbox"]:checked + label.kaCheckbox{
    background: url(../images/ka-checkbox-checked.png) no-repeat center center !important;
    background-size: 100% !important;
    padding: 0px !important;
    width: 14px !important;
    height: 14px !important;
    margin-right: 0px !important;
}

input[type="checkbox"] + label.kaCheckbox:hover{
    background: url(../images/ka-checkbox-hover.png) no-repeat center center;
    background-size: 100%;
    padding: 0px !important;
    width: 14px;
    height: 14px;
    margin-right: 0px;
}

.kaCheckText{
  padding-top: 1px !important;
  padding-left: 6px !important;
  font-family: Heebo;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #455A64;
}

label.kaSwitch{
  padding-right: 20px !important;
  width: 50px !important;
  height: 25px !important;
  background: #CFD1D2 !important;
}

.right_settings_grouping input:checked + label.kaSwitch{
  padding-right: 20px !important;
  width: 50px !important;
  height: 25px !important;
  background: #22B5F5 !important;
}

.kaDropdownArrow{
  background: url(../images/ka-chevron-down.png) no-repeat center center;
  width: 18px;
  height: 18px;
  background-size: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -9px !important;
  margin-top: -9px !important;
}

.select2-container--open label.kaDropdownArrow{
  background: url(../images/ka-chevron-up.png) no-repeat center center;
  background-size: 100%;
}

.kaColorContainer{
  align-items: center;
  padding: 12px;
  height: 40px;

  background: #FFFFFF !important;

  border: 1px solid #CFD1D2;
  box-sizing: border-box;
  border-radius: 8px;
}

.kaColorContainer .colorText{
  padding: 0px;
  border: none !important;

  position:absolute;
  height: 16px;
  width: calc(100% - 48px);
  left: 36px;
  top: 12px;

  font-family: Heebo;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;

  color: #455A64 !important;
  background: #FFFFFF !important;
}

.kaColorContainer .colorText:focus{
    border: none !important;
}

.kaColorContainer .col-colorbtn{
  display: none;
}

.kaColorContainer .col-colorbox{
  border-right: none !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 2px;
}

.kaColorContainer ._col_pick_tool{
  border: none;
  width: 18px !important;
  height: 18px !important;
  margin-top: -2px;
  border-radius: 2px;
}

.kaImageContainer{
  align-items: center;
  padding: 12px 0;
  height: 40px;
  background: #FFFFFF !important;
  border: none;
}

.kaImageContainer .imageText{
  padding: 0px;
  border: none !important;

  position:absolute;
  height: 16px;
  width: calc(100% - 32px);

  font-family: Heebo;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;

  color: #455A64 !important;
  background: #FFFFFF !important;
}

.kaImageContainer .clear{
  position: absolute;
  right: 0px;
  top: 10px;
  background-size: 100% !important;
  height: 20px;
  width: 20px;
  background: url(../images/x-circle.png) no-repeat center center;
  cursor: pointer;
  margin-right: 0px;
}

.kaImageContainer .select{
  position: absolute;
  left: 0px;
  top: 10px;
  height:20px;
  width: calc(100% - 32px);
  cursor: pointer;
}

.modalButtonRow .primaryBtn{
  width: 122px;
}

.inputUnits{
  float: right;
  margin-right:34px;
  margin-top:-28px;

  font-family: Heebo;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #084F94;
}

/* Datatables Paginate */
#DataTables_Table_0_next.disabled,  #DataTables_Table_0_previous.disabled{
  color: #CFD1D2 !important;
}
.dataTables_paginate{
  border: none !important;
}
#DataTables_Table_0_paginate > span > a.current{
  color: white !important;
  background: #22B5F5 !important;
  border: none;
  border-radius: 6px;

}
.paginate_button.next, .paginate_button.previous{
  border: none !important;
  font-weight: 400 !important;

}
#DataTables_Table_0_paginate > span > a{
  color: #455A64 !important;
  min-width: 30px;
}

/* Tables */
.tablehead{
  font-family: Heebo;
  font-style: normal !important;
  font-weight: normal !important;
  font-size: 12px !important;
  line-height: 16px;
  background-color: #fff !important;
  color: #6A728A !important;
  border-bottom: 1px solid #EFF1F7 !important;
}
.modalTopRow{

  border-bottom: 1px solid #EFF1F7;
}
 .modal table.dataTable tbody tr{
  line-height: 2 !important;
 }
.modal table.dataTable tr td{
  border-bottom: 1px solid #EFF1F7 !important;
}
.modal table.dataTable tbody tr td:first-child {
  border-left: none !important;
}
.modal table.dataTable tbody tr td:last-child {
  border-right: none !important;
}
table.dataTable{
  border: 1px solid #EFF1F7 !important;
  border-bottom: 1px solid #EFF1F7 !important;
}

.modal table.dataTable {
    border: none !important;
    border-radius: 12px !important;
}

.modal table.dataTable thead .sorting_desc{
  background-image: url('/images/sort_descV2.png') !important;
}
.modal table.dataTable thead .sorting_asc{
  background-image: url('/images/sort_ascV2.png') !important;
}
.modal table.dataTable thead .sorting{
  background-position: center right;
  background-image: url('/images/sort_iconV2.png') !important;
}

.modal table.list-table-new thead th {
    background-color: transparent;
    font-size: 12px;
}

.modal table.list-table-new thead th,
.modal table.dataTable tr td {
    border-bottom: 1px solid #EFF1F7 !important;
}

.modal table.dataTable tr:last-child td {
    border: none !important;
}

.modal table.dataTable tr td {
    background-color: transparent !important;
}

.modal table.dataTable tr:hover td {
    background: #f5f7ff !important;
}

.modal .dataTables_wrapper .dataTables_filter input {
    border: solid 1px #cccccc;
}

.sweet-alert .sa-icon {
    display: none !important;
}
