@import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);
@import url(https://fonts.googleapis.com/earlyaccess/droidarabickufi.css);

body{
    text-align: right;
}

#mk-right{
    width:600xp !important;
    float: right;
}

#mk-left{
    float: right;
}

.mk-Content{
    overflow: hidden;
    width: 100%;
    /*border-bottom:1px solid gray;*/
    margin-bottom: 20px;
    padding: 20px;
}

.container{
    /* margin-top: 70px; */
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}  

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
    padding-top: 60px;
}

.tab {
    display: inline-block;
    margin-right: 4em;
}

.dropdown-item{
    text-align: right;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .submenu {
    display: none;
    position: absolute;
    right: 100%;
    top: -7px;
}

.dropdown-menu>li:hover>.submenu {
    display: block;
}

.dropdown-menu .submenu-left {
    left: 100%;
    right: auto;
}

@media (max-width: 990px) {
    .dropdown-menu {
        width: 60%;
    }
}

.mk-cont1{
    background-color: lightcyan;
}

.mk-cont2{
    background-color: linen;
}

.titleMK{
    padding-top:15px;
    padding-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Droid Arabic Kufi', serif;
    border-bottom: 1px solid lightgray;
}

.manageRow1{
    /*background-color: maroon;*/
}

.manageRow2{
    /*background-color: rgb(255, 149, 149);*/
}

.manageRow3{
    /*background-color: rgb(34, 37, 240);*/
}

.hidden{
    display: none;
}


.droid-arabic-naskh{font-family: 'Droid Arabic Naskh', serif;}
.droid-arabic-kufi{font-family: 'Droid Arabic Kufi', serif;}

.card{
    /* margin-top: 50px; */
}

table thead tr th,.tableCenter tbody tr td{
    text-align: center;
}

.tableNoPadding tbody tr td{
    padding: 2px;
}

.td-center{
    text-align: center;
}

th, td{
    vertical-align: middle !important;
}

.dropdown-mk{
    /* padding: 0px; */
    text-align: center;
    background-position : left.5rem center;
    padding: .375rem .375rem .375rem .75rem;
}

.margin-mk-bottom{
    margin-bottom: 5px;
}

.dropdown-mk.small{
    /*height: 25px;*/
    margin-bottom: 5px;
}

.groupbox-mk{
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 0px;
    margin-right: 0px;
}

.no-padding-top{
    padding-top: 0px !important;
}

.no-padding{
    padding: 0px !important;
    text-align: center;
    vertical-align: middle;
}

.padding5px{
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.txtPrice{
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.td-topMK{
    vertical-align: top !important;
    padding-top: 25px !important;
}

.create-offer-title{
    height: 15px;
    font-weight: bold;
}

.create-offer-img{
    height: 90px;
    text-align: center;

}

.create-offer-select{
    margin-bottom: 10px;
}

.create-offer-select .dropdown-mk{
    font-weight: bold;
}

.hiddenDiv{
    display: none;
}

.fullWidth{
    max-width: 100%;
}

.offset-md-3 {
    margin-right: 25% !important;
}

.form-check {
    padding-right: 1.25rem !important;
}

.form-check-input {
    margin-right: -1.25rem !important;
}

.containerMK{
    width : 1000px;
}

.table-noPadding th,.table-noPadding td {
    padding: 5px !important;
}

.sheetMessage{
    width: 300px;
    display: block;
    position: fixed;
    float: left;
    top:125px;
    left: 50px;
}

.workMessage{
    width: 300px;
    display: block;
    position: fixed;
    float: left;
    top:70px;
    left: 600px;
}


.testColor{
    width: 30px;
    height: 30px;
    /* background-color: green; */
}



.trAdding{
    background-color: green !important;
}

.trCancel{
    background-color: red !important;
}

.workingCustomerColor{
    background-color: rgb(2, 247, 255) !important;
}

.trStatus2{
    background-color: orange !important;
}

.trStatus3{
    background-color: rgb(109, 128, 0) !important;
}

.trStatus4{
    background-color: rgb(234, 0, 255) !important;
}

.trStatus5{
    background-color: green !important;
}

.trStatus6{
    background-color: rgb(0, 26, 255) !important;
}

.trStatus11{
    background-color: rgb(127, 196, 0) !important;
}

.trStatus12{
    background-color: rgb(255, 238, 0) !important;
}

.trStatus20{
    background-color: red !important;
}

.nav-tabs a{
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.mk11
{
    width: 100%;
    height: 450px;
    overflow-x:auto;
    overflow-y:auto;
}

.col01{
    position: absolute;
    right: 0px;
    top: auto;

}

.col02{
    position: absolute;
    right: 70px;
    top: auto;
}

.table-fixed tbody {
    height: 400px;
    overflow-y: auto;
    width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
    display: block;
}

.table-fixed tbody td,
.table-fixed tbody th,
.table-fixed thead > tr > th {
    float: left;
    position: relative;

    &::after {
        content: '';
        clear: both;
        display: block;
    }
}

.headerMMKK {
    position: sticky;
    top:0;
}
.headerMMKK2 {
    position: sticky;
    top:35px;
}

.inEdit{
    background-color: grey;
}

.inEdit2{
    background-color: blue;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    background-color: lightgray;
    border: solid 1px black;
    border-radius: 5px;
    padding: 10px;

    width: 250px;
    height: 100px;
}

.sheetContact{
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
    background-color: lightgray;
    border: solid 1px black;
    border-radius: 5px;
    padding: 10px;

    width: 250px;

}

.tdMK{
    /* word-break: break-word; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */

    /* white-space: nowrap; */
    /* overflow: hidden; */

    /* width:100px; */
    /* word-wrap:break-word; */
    /* display:inline-block; */

}

.tdDiv{
    width:240px;
    height: 30px;
    vertical-align: middle;
    /* background-color: yellow; */
    overflow: hidden;
    text-overflow: ellipsis;
    /* display:inline-block; */
    white-space: nowrap;
}


.main {
    width: 50%;
    margin: 50px auto;
}

/* Bootstrap 4 text input with search icon */

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.inputMK {
    padding: 10px;
    font-size: 17px;
    border: 1px solid grey;
    float: left;
    width: 80%;
    background: #fbf8f8;
  }

.buttonMK {
    float: left;
    width: 20%;
    padding: 10px;
    background: #003512;
    color: white;
    font-size: 17px;
    border: 1px solid grey;
    border-right: none;
    cursor: pointer;
  }

.buttonMK :hover {
    background: #0b7dda;
  }

  .searchBox{
      width: 400px;
  }
  form.example::after {
    content: "";
    clear: both;
    display: table;
  }

  .edit-pop{
      width: 400px;
      height: 150px;
      display: none;
      position: absolute;
      top: 300px;
      left: 500px;
      background-color: ivory;
      z-index: 9999;
      padding: 10px;
      border: gray 1px solid;
      border-radius: 5px;
  }

  .edit-pop-full{

    display: none;

    top: 50%;
    left: 50%;
    width: 80%;
    /* height: 200px; */

    transform: translate(-50%, -50%);
    border: gray 1px solid;
    background-color: #fff;
    position: fixed;

    padding: 40px 20px;
    border-radius: 5px;
    z-index: 9999;

}

  .edit-pop-img{
    width: 400px;
    /*height: 150px;*/
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: ivory;
    z-index: 9999;
    padding: 10px;
    border: gray 1px solid;
    border-radius: 5px;

    transform: translate(-50%, -50%);
    max-height: 500px;
    overflow-y: scroll;
}


  #tbl_mk tr:hover{
    background-color:#d3d3d3;
  }

  /*
  .btn {
    background-color: DodgerBlue;
    border: none;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
  }

  .btn:hover {
    background-color: RoyalBlue;
  }
  */

  #tbody_center td{
      text-align: center !important;
  }


  .tab-pane{
      padding-top: 10px;
  }

  .handOver{
    cursor: pointer;
  }

  a .imgDrawingView{
      display: block;

  }

  a:hover .imgDrawingView{
    display: block;
}

.tdCenter td{
    text-align: center;
    padding: 0px;
}

.row-additional{
    background-color: lightgray;
}

.manage-button-bar{
    text-align: center;
    margin-top: 20px;
}

.manage-button-bar a:active{
    background: rgb(136, 127, 0);
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.card-priceOffer{
    display: block;
    border-radius: 5px;
    background-color: rgb(208, 208, 208);
    color: #494949;
    font-size: 14px;
    font-weight: bold;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.rowExtra{
    background-color: lightgrey;
}

.tb-center{
    text-align: center;
}


/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

  .transparent .form-control[readonly]{
    background-color: #00000000;
  }

  .txtMK{
    border: 0px;
  }

  .transparent .mkTR{
    height: 35px;
  }

  .transparent .mkTR:hover{
    border: solid  black 2px;
    background-color: #00000022 !important;
  }

  .center-td > tr > td{
    text-align: center;
  }

/* =============== for Form input MK =================== */

  /*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap");
/*===== VARIABLES CSS =====*/
:root {
  /*===== Colores =====*/
  --first-color: #1A73E8;
  --input-color: #80868B;
  --border-color: #DADCE0;
  /*===== Fuente y tipografia =====*/
  --body-font: "Roboto", sans-serif;
  --normal-font-size: 1rem;
  --small-font-size: .75rem;
}

/*===== BASE =====*/
*, ::before, ::after {
  box-sizing: border-box;
}


/*===== FORM =====*/

.form__title {
  font-weight: 500;
  margin-bottom: 2.5rem;
}
.form__div {
  position: relative;
  height: 52px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 1.5rem;
}
.form__input {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  font-size: var(--normal-font-size);
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  outline: none;
  padding: 1rem;
  background: none;
  z-index: 1;
}
.form__label {
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 0 0.25rem;
  background-color: #fff;
  color: var(--input-color);
  font-size: var(--normal-font-size);
  transition: 0.3s;
}
.form__button {
  display: block;
  margin-right: auto;
  padding: 0.75rem 2rem;
  outline: none;
  border: none;
  background-color: var(--first-color);
  color: #fff;
  font-size: var(--normal-font-size);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: 0.3s;
}
.form__button:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15);
}

/*Input focus move up label*/
.form__input:focus + .form__label {
  top: -0.5rem;
  right: 0.8rem;
  color: var(--first-color);
  font-size: var(--small-font-size);
  font-weight: 500;
  z-index: 10;
}

/*Input focus sticky top label*/
.form__input:not(:placeholder-shown).form__input:not(:focus) + .form__label {
  top: -0.5rem;
  right: 0.8rem;
  z-index: 10;
  font-size: var(--small-font-size);
  font-weight: 500;
}

/*Input focus*/
.form__input:focus {
  border: 2px solid var(--first-color);
}


/* bootstrap 5 overwrite css Khawaldeh */
.form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select{
    height: calc(40px + calc(var(--bs-border-width) * 2));
    min-height: calc(40px + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
}

.form-floating > .form-control-plaintext:focus, 
.form-floating > .form-control-plaintext:not(:placeholder-shown),
.form-floating > .form-control:focus, 
.form-floating > .form-control:not(:placeholder-shown){
    padding-top: 10px;
    padding-bottom: 10px;
}

.form-floating > .form-control, 
.form-floating > .form-control-plaintext{
    padding: 10px 12px;
}


.form-floating > label{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    height: 100%;
    padding: 10px 12px;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: var(--bs-border-width) solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
}

.pagination{
    margin-bottom: 0px;
    --bs-pagination-border-radius: 0px;
}

.navbar{
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
}
