/*-----------replace table with div class -----------------*/
/* Main Wrapper */
.wrapper-grid {
    display: flex;
    flex-direction: column;
    color: #000;
    margin: 0 auto !important;
}

.wrapper-grid__info ol {
    margin-top: 20px;
    padding-left: 1.5rem;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.wrapper-grid__info li {
    margin-bottom: 0.5rem;
}
 
.wrapper-grid__details {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.wrapper-grid__details-list-item {
    flex: 1;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.wrapper-grid__details-list-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.wrapper-grid__details-list-item-cell {
    font-size: 14px;
    line-height: 1.5;
}

/*-----------end replace table with div class -----------------*/
 .navbar-static-top.navbar .menu-bar > .navbar-nav > li > a{
  text-decoration:none;
  border-bottom: 5px solid transparent;
}
.weblink > [aria-current="page"] {
    border-bottom: 5px solid var(--purple) !important;
    height: auto;
}
.navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: inherit;
}
.profile .dropdown-menu>li>a {
    color: var(--txtcolor);
    text-transform: none;
    text-decoration: none;
    padding: 8px 16px;
    border-bottom: 1px solid #80808045;
}
.profile .dropdown-menu>li>a:focus, .profile .dropdown-menu>li>a:hover {
    background: #002595 !important;
    color: #fff;
}
#navbar .dropdown-menu {
    margin: 0;
    padding: 0px;
    border-radius: 4px;
}
.profile .dropdown-toggle {
    border: 1px solid #00000000;
    border-radius: 4px;
}
.profile .dropdown-toggle:focus, .dropdown-toggle:active {
    border: 1px solid #01269b;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .form-facilityinvolvement-edit, .form-facilityinvolvement-insert .form-initialapplication .form-control {
        width: 100%
    }

    .half-page {
        width: 100%;
    }

    #cdph_electronicsign, #cdph_title, #cdph_date_datepicker_description {
        min-width: 100%;
        width: 100%;
    }
}

/* Mobile Devices (Phones) */
@media only screen and (max-width: 575.98px) {
   .navbar-static-top.navbar-inverse .navbar-brand {
        margin-top: 10px;
   }
    .gachaph-tiles .col-md-3 {
        margin-right: 15px;
    }
   .gachaph-card {
        display: flex;
        flex-direction: column;
    }
    .gachaph-startapplication, .gachaph-pendingcorrectionsbutton {
        text-align: center;
    }
    .tile-notstarted, .tile-inprogress, .tile-notimplemented, .tile-completed, .tile-pendingcorrection {
        text-align: justify;
        align-items:center;
    }
    .navbar-inverse .navbar-toggle {
        border-radius: 4px;
        background-color: #858383;
        border: 1px solid #858383;
    }
   .navbar-toggle, .navbar-inverse .navbar-toggle:focus, 
   .navbar-inverse .navbar-toggle:hover, 
   .navbar-inverse .navbar-toggle:hover, 
   .navbar-inverse .navbar-toggle:focus {
        background-color: #858383;
        border: 1px solid #858383;
    }
   footer .footer-bottom .container .row {
        margin: 0px 10px 20px 10px;
        display: flex;
        align-items: center;
   }
    .right.col-md-10 {
        min-height: auto;
    }
    .file-control-container {
        overflow: hidden;
    }
    .break-file-name {
        min-width: 88px;
    }
    .page-header h1 {
        font-size:27px; 
     }
    #cdph_productlabel_delete_button, #cdph_shippinglabel_delete_button, .btn-for-delete {
        position: absolute;
        right: 20px;
        background: #fff;
    }
    .form-initialapplication .form-control {
        width: 100% !important;
    }
    .view-grid.table-responsive span.fa {
        line-height: inherit;
        position: absolute;
        top: 0px;
    }
    .table-striped th, .view-grid .table>thead>tr>th {
        padding-right: 15px;
    }
.please-ensure-info-provided {
        white-space: wrap;
        margin-top: 0px;
    }
   .general-acute-care-services .row{
       display: flex;
       flex-direction: column;
      gap :15px;
     margin: 0px;
    } 
   .general-acute-care-services .row .col-sm-3{
          min-height: auto;
    border-right: 0px;
    } 
    --------------*/
    .accordion-panel {
        padding: 22px;
    } 
    .section .cell.form-control-cell {
        padding: 0px;
    }
    .datetime .control {
        width: 100%;
    }
    .datetimepicker .input-group-addon {
        padding-right: 1px;
        padding-left: 3px;
    }
    .control .picklist.vertical {
        display: flex;
    }
    #WebFormControl_0e20a315bc27ef11840a001dd8075f2f .control .picklist.vertical {
        display: flex;
        flex-direction: column;
    }

    .form-search .dropdown-menu {
        margin-top: 2px;
        padding: 0px;
        border: 0px;
        width: calc(100vw - 16vw);
        border-radius: 4px;
    }
    .dropdown-menu>li>a{
        padding: 8px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }
    .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
        background-color: var(--link) !important;
        color: #fff;
        padding: 8px 16px !important;
        border: none !important;
    }
    #navbar {
        width: 100%;
        position: absolute;
        background: #fff;
    }
    .weblink > [aria-current="page"] {
        border-bottom: 4px solid var(--purple);
        height: inherit;
    }
    .search-results li {
        margin-bottom: 20px;
        margin-left: 16px;
    }
    .title-row h1 {
        margin: 20px 0px;
    }
    .d-row {
        margin-bottom: 0px;
    }
    #navbar .dropdown-search #q {
        min-width: auto;
    }
    #navbar .dropdown-menu .dropdown-menu {
        margin-top: 0px;
    }
    #navbar .dropdown-search #search-filter {
        width: auto;
    }

/*    .navbar-collapse .profile .dropdown-toggle {
        display: flex;
        align-items: center;
        border-radius: 4px;
        justify-content: space-between;
        border: 1px solid;
    }
*/


   
    
    .form-search .dropdown-menu {
        margin-top: 2px;
        padding: 0px;
        border: 0px;
        width: calc(100vw - 16vw);
        border-radius: 4px;
    }

    .dropdown-menu>li>a{
        padding: 8px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }

    .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
        background-color: var(--link) !important;
        color: #fff;
        padding: 8px 16px !important;
        border: none !important;
    }

   .navbar-static-top.navbar-inverse .navbar-brand {
        margin-top: 10px;
   }
    .gachaph-tiles .col-md-3 {
        margin-right: 15px;
    }
   .gachaph-card {
        display: flex;
        flex-direction: column;
    }
    .gachaph-startapplication, .gachaph-pendingcorrectionsbutton {
        text-align: center;
    }
    .tile-notstarted, .tile-inprogress, .tile-notimplemented, .tile-completed, .tile-pendingcorrection {
        text-align: justify;
        align-items:center;
    }
    .navbar-inverse .navbar-toggle {
        border-radius: 4px;
        background-color: #858383;
        border: 1px solid #858383;
    }
    .navbar-collapse .username {
        font-size: 14px;
        margin-left: -8px;
        padding: 0px 16px;
        color: var(--txtcolor);
        border-radius: 4px;
    }


/*    .navbar-collapse .profile .dropdown-menu{
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        border: none;
        box-shadow: none;
     }
*/
     .program-checklist .section.accordion-panel {
        background: #f9f9f9;
        padding: 12px 20px;
    }
    .left-col.program-checklist {
        padding-right:0px;
     }
     
        .eda-left .crmEntityFormView .cell {
            padding: 0px;
        }
   .eda-right {
        min-height: auto;
        box-shadow: 2px 2px 2px 0px var(--txtcolor) 0001A;
    }
    .btn-communication{
        padding: 0px 24px;
        margin-right: 8px;
        cursor:pointer;
    }
    #Subgrid_edaProducts .view-toolbar.grid-actions .input-group{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }
    .section .cell {
        padding: 0px;
    }
    #CancelProducts {
        margin-left: 0px;
    }
    .product-details-info b {
        margin: 24px 0px !important;
        display: block;
        font-size: 18px;
        font-weight: bold;
    }
    #cdph_productlabeltype label, #cdph_returncertificatecarrier label {
        margin-right: 8px;
    }
    #cdph_country_lookupmodal .modal.modal-lookup {
        padding: 0px;
    }
    #cdph_country_lookupmodal .view-grid.table-responsive span.fa, #cdph_manufacturerlicensetype_lookupmodal .view-grid.table-responsive span.fa{
        line-height: inherit;
        position: static;
    }
    .form-checkout {
        min-height: auto;
    }
    .btn-checkoutandsubmit {
        margin-top: 20px;
        margin: 20px 0px;
    }
    #validateAddress {
        margin-top: -40px;
    }
    .crmEntityFormView.right {
        border: 0;
        padding: 0px 0px;
        margin: 0;
        background: #f9f9f908;
        box-shadow: none;
    }
    .eda-summary-form fieldset {
        border-radius: 6px;
        box-shadow: 0px 1px 1px 2px #00000029;
    }
    .wrapper-grid__details {
        gap: 2rem;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .wrapper-grid__details-list-item-cell {
        font-size: 16px;
    }
    .wrapper-grid__details-list-item-title {
        font-size: 20px;
    }
}

/* Ipad Devices (Tablets) 
@media only screen and (min-width: 576px) and (max-width: 767.98px) {
  
}

/* Medium Devices (Landscape Tablets) */
@media only screen and (min-width: 744px) and (max-width: 1180px) {
   .collapse.in {
        min-height: 320px;
    }
    .navbar .container {
        flex-direction: column;
    }
    .profile {
        float: left;
        margin: 16px 0px;
        border: 1px solid #bfdef3;
    }
   .navbar-header{
      width:100%;
    }
    .navbar-header img {
        margin-top: 22px;
        margin-left: -15px;
    }
    .navbar-toggle {
        margin-right: 0px;
        margin-top: 15px;
        border-radius: 4px;
    }
    .gachaph-startapplication, .gachaph-pendingcorrectionsbutton {
        text-align: center;
    }
    .gachaph-tiles {
        display: flex;
        flex-wrap: wrap;
        margin-right: 0px;
    }
    .gachaph-tiles .col-md-3 {
        flex: 1 1 50%;
    }
   .gachaph-card {
        display: flex;
        flex-direction: column;
    }
    .tile-notstarted, .tile-inprogress, .tile-notimplemented, .tile-completed, .tile-pendingcorrection {
        text-align: justify;
        align-items: center;
    }
    /* causing issues on all gach tiles when screen is resized. Talk to Syed/Sumit.
     .container.main-content.page-full .common-form .page-copy + div {
       display:flex;
    }*/
    .common-form div + div.right-col, .common-form .box .item, .common-form div + div.contact-info, .common-form div + div.invalid-step {
        display:flow;
    }
   
    .half-page div + div {
        display:block;
    }
    .footer-bottom .row {
         margin-right:0px;
         margin-left :0px;
     }
    .footer-logo {
/*        position: absolute; */
        top: -100px;
        right: 100px;
    } 
    footer .footer-bottom .container .row p {
        bottom: 8px;
    }
   .view-grid.table-responsive span.fa {
        line-height: inherit;
        position: relative;
        top: -5px;
    }
    .table-striped th, .view-grid .table>thead>tr>th {
        padding-right: 15px;
    }
    .half-page {
            width: 100%;
        }
    .page-services {
        display: flex;
        flex-wrap: wrap;
    }
   .page-services .col-md-4{
    flex: 1 1 50%;
        margin-bottom: 20px;
    }
    .please-ensure-info-provided {
        white-space: wrap;
    }
    .general-acute-care-services .row{
          display: flex;
        margin: 0px;
        justify-content: center;
        align-items: baseline;
        flex-wrap: wrap;
        row-gap: 15px;
     }
   .general-acute-care-services .row .col-sm-3{
          min-height: auto;
        border-right: 0px;
        width: calc(50% - 15px);
        display: flex;
        flex-direction: column;
        margin-right: 15px;
    } 
    /*--------------*/
     .page-apcc > div {
          display:flex;
      }
}