
.cast_container{
    margin: 0 auto;
    width: 98%;
}
.menu_panel{
    display: flex;
    justify-content: space-between;
}
.menubar{
        background-color: #0d6efd;
}
.menubar ul{
        display: flex;
        justify-content: center;
        gap: 20px;
        height: auto;
        margin: 0;
        padding: 15px 0px;
}
.menubar ul li a{
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    font-weight: 300;
}
.menubar ul li a:hover{
    background-color: #0b62e1;
}
.databody{
        padding: 40px 0 60px 0;
        background-color: #f5f5f5;
}
.castomForm .card-header {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.castomForm .box_in input[type=date] {
   margin-left: 10px;
}
.dataTables_wrapper {
    background-color: #fff;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
div.dataTables_wrapper div.dataTables_wrapper {
    text-align: right;
    float: right;
}

.dataTables_wrapper tbody{
   background-color: #fff;
}
.dataTables_wrapper tr th {
    font-size: 15px;
    font-weight: 600;
    padding: 10px;
}
.dataTables_wrapper tr td {
    font-size: 14px;
    font-weight: 400;
    padding: 5px 10px 0px 10px;
    margin: 0;
}
div.dataTables_wrapper div.dataTables_info {
    font-size: 14px;
}
.form{
        padding: 20px 0 50px 0;
}
.form_div {
    padding: 35px 25px 25px 25px;
    width: 90%;
    background-color: #eee;
    border-radius: 3px;
    margin: 0px auto;
}
.inputbox{
    padding: 0 8px 0 0;
    width: 100%;
}
.inputbox input[type=text], .inputbox input[type=email], .inputbox input[type=number]  {
    width: 100%;
    height: 35px;
    padding: 0 0 0 10px;
    border-radius: 5px;
    margin: 5px 5px 10px 0px;
}
.inputbox input[type=date] {
    width: 100%;
    height: 35px;
    padding: 0 0 0 10px;
    border-radius: 5px;
    margin: 5px 0 10px 0;
}
.inputbox textarea {
    width: 100%;
    height: 135px;
    padding: 0 0 0 10px;
    border-radius: 3px;
    margin: 5px 0 10px 0;
}
.inputbox input[type=submit] {
    padding: 6px 20px;
    background-color: #007bff;
    color: #fff;
    border-radius: 0px;
}
label {
   font-size : 14px;
   white-space: nowrap;
}
.spc{
    margin: 4px;
}
.form_input {
    display: flex;
    padding: 5px 0px;
}
.postCode{
   flex-basis: 70%;
}
.ortation{
    flex-basis: 47%;
}
.panels{
    flex-basis: 47%;
}
.dater{
    flex-basis: 60%;
}

.adbutton{
   width: 99%;
   display: flex;
   justify-content: flex-end;
}
.adbutton a{
   font-size: 15px !important;
   font-weight: 400 !important;
   color: #fff;
   text-decoration: none;
   padding: 5px 15px !important;
   border-radius: 0px !important;
   margin-bottom: 10px;
}
.adbutton a i{
   margin-right: 8px;
}
select.form-control:not([size]):not([multiple]) {
    height: 28px;
    font-size: 14px;
    margin: 0px;
    padding: 0 8px;
}
.commentdata{
      cursor: pointer;
    }
   .upfile{
        margin: 20px auto;
         width: 85%;
   }
   .modal {
       --bs-modal-width: 800px !important;
   }
   .modal-header{
      padding: 20px 40px !important;
   }
   .modal-body{
      padding: 40px !important;
   }
   .modal-body img{
      position: relative !important;
      transition: .3s ease all;
      margin-bottom: 10px;
   }
 /*  .modal-body img:hover {
    position: relative !important;
    transform: scale(1.3);
    transition: .3s ease all;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}*/
.modal-body form{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
   .deleteimage {
    position: absolute !important;
        top: 0px;
    right: 67px;;
    transform: translateY(-50%);
    border: sold 50px #000;
   }
   .deleteimage i{
      font-size: 13px;
      padding: 1px 4px;
      border: solid 1px #000;
      border-radius: 50%;
      cursor: pointer;
   }
   .castomForm .card-header{
    padding: 10px 20px;
    background-color: #eee;
        display: flex;
    justify-content: space-between;
    align-items: center;
   }
   .castomForm .form_one, .castomForm .form_two{
    display: flex;
    align-items: center;
    gap: 10px;
   }
   .castomForm .box_in{
    display: flex;
}
.castomForm .box_in input[type=date] {
    background: #fff;
    border-radius: 3px;
    padding: 2px 2px 2px 10px;
    font-size: 14px;
}
.right_panel{
    display: flex;
    align-items: center;
    gap: 20px;
}
.btn {
      border-radius: 0px !important;
   } 

.upload__btn{
   white-space: normal;
   text-align: center;
}
.dataTables_length label select{
   padding-right: 20px !important;
}


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



.cast_container {
    margin: 0 auto;
    width: 100%;
}
/*.table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
}*/
.dataTables_wrapper {
   overflow: scroll;
   border-collapse: collapse;
   border-spacing: 0;
   width: 100%;
   border: 4px solid #ddd;
}
.castomForm .card-header {
   display: inherit; 
}
.castomForm .form_one{
   display: inherit;
   text-align: right;
}
.castomForm .box_in {
    margin-bottom: 10px;
    justify-content: space-between;
}
.right_panel {
   display: inherit;
}
select.form-control:not([size]):not([multiple]) {
    padding: 0px 3px;
}
.dataTables_length{
   margin-bottom: 10px;
}
.dataTables_length label select{
   padding: 0 25px 0 10px !important;
}
.dataTables_filter{
   margin-bottom: 10px;
}
.castomForm .form_two {
   margin: 10px 0;
}



}
 .openClick{
    position: relative;
 }

 .openlayer{
    position: absolute;
    top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background-color: #625d5d;
     padding: 0px 5px;
     font-size: 12px;
     color: #333;
     font-weight: 600;
     opacity: 0;
     cursor: pointer;
     transition: .5s ease all;
 }
 .openClick:hover .openlayer{
    opacity: 1;
    color: #fff;
    background-color: #625d5d;
    transition: .5s ease all;
 }

 .imageOpen{
    width: 40%;
    height: 500px;
    position: fixed;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    transition: transform .5s ease all;
}
.imageOpen img {
    width: 100%;
    height: auto;
}

.crossbtn i{
    position: absolute;
    top: 5px;
    right: 5px;
    color: #f00;
    background-color: #fff;
    font-size: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50px;
    border: solid 1px #f00;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}