/*modal adjustments */

@media (min-width: 1024px){
.modal-lg.modal-dialog {
    width: auto;
    max-width: 70%;
}
}
@media (min-width: 992px){
.modal-lg.modal-dialog {
    width: auto;
    max-width: 70%;
}
}
@media (min-width: 768px){
.modal-lg.modal-dialog {
    width: auto;
    max-width: 70%;
}
}
tbody>tr {
    background-color: white;
}

.modal-footer {
    text-align: center;
    margin-left: 130px;
}

.entity-associate .view-grid, .entity-lookup .view-grid {
    height: auto;
    max-height: fit-content;
}

.modal-content {
    padding: 15px;
    background-color: rgba(246, 246, 246, 1) !important;
    border-radius: 10px;
}

h4 {
    color:black;
 }
 
 .container-fluid.clanavy {
    background-color: #2E334E;
    padding: 0px;
    position: sticky;
    top: 64px;
    z-index: 998;
 }
 
 h4.clah4 {
     color: white;
     margin-top: 1px;
     margin-bottom: 1px;
 }
 
 
 /* Header turned grey */
 
 .tabs-header {
     margin: 0px 0 0px !important;
     margin-top: 0px;
     margin-right: 0px;
     margin-bottom: 0px;
     margin-left: 0px;
     position: sticky;
     z-index: 997;
     top: 164px;
     padding-bottom:0px !important;
 }
 
 .nav-tabs {
     background-color: #e9e9e9/*#abaeab */;
 }
 
 
 
 /* Modal longer and full width */
 
 
 form#liquid_form {
     min-height: 100%;
 }
 
 .modal-content {
   /*height: 90vh; */ 
   min-height: 740px
 }
 .modal-body {
   float: left; width: 100%; height: 83%; padding: 0px;
 }
 .modal-form .modal-body iframe {
   height: 80vh;
 }
 
 
 /* Lists w black header, white text */
 
 
 .table>thead>tr>th>a {
     color: white;
 }
 
 thead {
     background-color: black;
 }
 
 
 
  
 
 
 
 
 /* list icons edit */
 
 
 .view-grid .dropdown.action .dropdown-menu {
     display: block;
     position: static !important;
     position: initial !important;
     border: 0;
     background: transparent;
     box-shadow: none;
     text-align: center;
     max-width: 95px;
     min-width: 95px;
     width: 95px;
     left: auto !important;
     top: auto !important;
 }
 
 
 
 .view-grid .dropdown.action .dropdown-menu li {
     display: inline-block;
     text-align: center;
 }
 
 .view-grid .dropdown.action .dropdown-menu li a {
     font-size: 0;
     padding: 2px;
     margin: 0;
 }
 
 .view-grid .dropdown.action .dropdown-menu li a>span {
     font-size: 18px;
 }
 
 /*.view-grid .dropdown.action .dropdown-menu li a[aria-posinset="1"] {
     display: none !important;
 }
 */
 .view-grid .dropdown.action .dropdown-menu li a[title="Edit"] {
     color: #2E334E;
     text-decoration: none !important;
     border: none !important;
 }
 
 .view-grid .dropdown.action .dropdown-menu li a[title="Deactivate"] {
     color: rgb(196, 43, 43);
     text-decoration: none !important;
     border: none !important;
 }
 
 .view-grid .dropdown.action .dropdown-menu li a[title="Delete"] {
     color: rgb(196, 43, 43);
     text-decoration: none !important;
     border: none !important;
 }
 
 .view-grid .dropdown.action .dropdown-menu li a[title="Add Agreement"] {
     display: none !important;
 }
 
 
 
 view-button-hide
 
 .view-grid .dropdown.action .dropdown-menu li a:hover {
     color: #008C95;
     background: transparent;
 }
 
 .view-grid .dropdown.action>.btn {
     display: none;
 }
 
 
 
 /* reposition new attachment button */
 /*
 div[class="form-action-container-right"]> button.create-related-record-link.btn-default.btn {
    margin: 12px 0px 12px 0px;
}
 
 .col-sm-6.clearfix {
     height: 0px;
     float: right;
     width: 100%;
     margin-right: 10px;
 }
 
 .form-action-container-right {
     float: right;
 }
 */
 
 /* center header for documents title */
 /*
 $('h2').filter(function (i, element) {
     return element.text == "Document";
 }).css('margin-top','-12px');
 
 
 h2.tab-title-document {
     padding-bottom: 12px;
     margin-top: 8px;
     margin-bottom: 12px;
 }
 */
 
 /* make list take up full width */
 
 td.clearfix.cell.subgrid-cell {
     padding: 0px;
 }
 
 
 /* Footer changes */

 footer {
     background-color:#2D3B59;  
     display:flex; 
     align-items:center;
     bottom: 0;
     width: 100%;
     height: 4rem;
     position: fixed;
   }

   .wrapper-body>footer {
    position:absolute !important;
   }
  
   .logo {
     margin-left:10px;
   }
  
   .textbox {
     flex-grow:1; 
     text-align:right; 
     margin-right:10px;
   }
  
   .footerimg {
     height:25px;
   }
  
   footer .xrm-attribute-value {
     color:white;
   }
 

   /* date picker */

th.dow {
    color: white;
}

th.prev {
    color: white;
}

th.next {
    color: white;
}

th.picker-switch {
    color: white;
}


.bootstrap-datetimepicker-widget table td, .bootstrap-datetimepicker-widget table th {
    text-align: center;
    border-radius: 0px;
    border: none !important;
    padding: 5px !important;
}

/*remove white header bar from lists */

.entitylist {
    border: revert  !important;
    margin-top: 10px;
}


/*fix export button color */

.btn-info {
    color: #FFFFFF;
    background-color: #2E334E;
    border-color: #2E334E;
    border-radius: 2px;
    font-family: Arial;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 20px;
    width: fit-content;
    border-style: solid;
    background-color: #2E334E;
    color: #FFFFFF;
}

.btn-info:hover {
    color: #2E334E;
    background-color: transparent;
    border-color: #2E334E;
}

/* fix page excess spacing */

.page-header {
    padding-bottom: 0px;
    margin: 0px 0 0px;

}

.wrapper-body {
    margin-bottom: 50px !important;
    min-height: 100vh !important;
    position: relative;
}

/* Align Status */



.status-align-div {
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 10px;

}

.status-align-p {
    color:white;
    font-size: 12px;
    margin:0px;
}

.status-align-span {
    color:white;
    font-size: 12px;
    font-weight: 600;
}

/* fix action buttons being cut off from form */

.row.form-custom-actions {
    margin-bottom: 0px;
}

/* This was causing an issue on top form buttons
.row.form-custom-actions>div[class="col-sm-6 clearfix"] {
    margin-bottom: -100px;
    padding-top: 15px;
    width: 99%;
}
*/

/*hide header text*/

div[class="page-header"]>h1 {
    display: none;
}

h2[class="tab-title"] {
    display: none;
}



/* add light border to lists */

.table {
    border-width: 1px;
    border-color: lightgray;
    border-style: solid;
}




/* add header art */
.inner {
	position: absolute;
    }
    
.outer {
	position:relative;
    height: 100px;
}

.triangle-up {
	width: 50vw;
	height: 0;
	border-right: 40px solid transparent;
	border-bottom: 100px solid #2E334E;
}

.rectangle {
	width: 100%;
    height:100px;
    background-color: #2D3B59;
}

.lower-angle {
	width: 0;
	height: 0;
	border-top: 25px solid transparent;
	border-left: 40vw solid rgba(125, 210, 211, 0.77);
	border-bottom: 0px solid transparent;
    top:75px;
}

.upper-angle {
	width: 0;
	height: 0;
	border-top: 0px solid transparent;
	border-left: 30vw solid rgba(251, 197, 90, 0.77);
	border-bottom: 20px solid transparent;
}

.pg-header-text {
	color: white;
    font-size: 2em;
    padding:30px;
    line-height: 40px;
}

.row.inner {
    width: 100%;
    padding: 25px;
}

.crmEntityFormView textarea.form-control.readonly, .crmEntityFormView textarea.form-control[readonly][disabled], .form-readonly textarea.form-control {
    height: 65px;
}

.form-control:focus {
    border-color: #6badb4 !important;
    box-shadow: 0px 0px 1px 2px rgba(118, 210, 211, 0.5) !important;
}

/* fix color of multistep form progress indicator */
li.list-group-item.active {
    color:black !important;
    border-color: #e5e5e5 !important;
    background-color: white !important;
}




/* Header buttons format */

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color:white; 
    border-radius:10px; 
    height: 70px; 
    width:80px; 
    margin:10px; 
    display:flex; 
    align-items:center; 
    justify-content: center; 
    flex-direction:column;
  }
  
  .card:hover {
  box-shadow: 0px 0px 2px 3px rgba(118, 210, 211, 0.8);
  }
  
  .card>img {
      height:25px; 
      padding-top: 5px;
  }
  
  .card>h6 {
      margin:5px;
      text-align: center;
  }
  
  .headerbox {
      width:50%; 
      height:100px; 
      right:10px; 
      display:flex; 
      align-items: center; 
      justify-content: flex-end;
  }
  
  .display {
      text-decoration: none !important;
  }
  
  .hide {
      display:none;
  }

body {
    height: min-content !important;
    min-height: 100vh;
    overflow-x: hidden;
}


div#mainContent {
    margin-top: 20px;
    padding-bottom: 100px; /* was 56px*/
}


.navbar-static-top.navbar-inverse {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    height: 64px;
}

.navbar-nav {
    background-color: #fafafa;
}


form#content_form {
    min-height: 100vh;
}

.headertitle {
    width: 100%;
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/*checklist buttons */

.btn-true {
    display: flex;
    background-color: #E2E868;
    padding: 5px;
    border-radius: 5px;
    justify-content: center;
}

.btn-false {
    display: flex;
    background-color: #EE5340;
    padding: 5px;
    border-radius: 5px;
    justify-content: center;
}


/* adding placeholder for modal to be correct container size */
.placeholder {
    font-size: 1px;
    color: transparent;
}


/* fix colors on calendar buttons */

.btn-default.active {
    border-color: transparent !important;
}

/* pagination */
/* for container to be aligned to center of page */
.jquery-bootstrap-pagination {
    display: flex;
    justify-content: center;
}
/* for pagination container style */
ul.pagination {
    border-radius: 45px !important;
    background-color: #fafafa;
    padding: 5px;
    margin: 10px 0 10px 0 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}
/* for previous and next buttons when disabled */
.pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus {
        color: #666 !important;
        background-color: transparent !important;
}

/* for selected page button */
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus {
    color: #fff;
    background-color: black !important;
    z-index: 0;
}
/* for hover effect */
.pagination > li > a:hover, .pagination > li > a:focus, .pagination > li > span:hover, .pagination > li > span:focus {
    background-color: black !important;
    color: white !important;
    border-radius: 45px !important;
    text-decoration: none !important;
    /* animation-name: fade-to-black;*/
    /* animation-duration: 2s;*/
}

/* base styling and alignment of buttons */
.pagination > li > a, .pagination > li > span {
    margin-left: 5px !important;
    margin-right: 5px !important;
    font-weight: 600;
    width: inherit !important;
    height: inherit !important;
}

/* animation for hover effect */
/*
@keyframes fade-to-black {
    from {background-color: #fafafa;}
    to {background-color: black;}
  }
*/

/* to add instructions on the page */
  .instructions {
    padding: 15px;
    background-color: #fafafa;
    margin: 10px 0px 10px 0px;
    border-radius: 15px;
    font-style: italic;
    font-weight: 400;
}

/* changing color of nav bar drop down menu to black */

.navbar-inverse .navbar-nav .open .dropdown-menu {
    background-color: #000000 !important;
}



/* REPORTS STYLING FROM THEME B CSS FILE*/
/* Right align values on grouping rows */
th.val {
    text-align: right !important;
}

/* changing color of Report section 0 background */
tr.dtrg-group.dtrg-start.dtrg-level-0 {
    background-color: #2d3b59;
    color: white !important;
    font-size: medium;
}
  
  /* changing color of Report Section 0 text */
  tr.dtrg-group.dtrg-start.dtrg-level-0>th {
    /* color: #3c3c3c; */
  }
  
  /* changing color of Report Section end background */
  tr.dtrg-group.dtrg-end.dtrg-level-0 {
    background-color: #393939de;
    font-size: small;
    color: #ffffff;
  }
  
  /* Report Section End , align to right */
  tr.dtrg-group.dtrg-end.dtrg-level-0 th {
    /*text-align: right;*/
  }

  tr.dtrg-group.dtrg-start.dtrg-level-1 {
    background-color: #2d3b59e0;
    color: white;
    font-size: medium;
  }

  tr.dtrg-group.dtrg-end.dtrg-level-1 {
    background-color: #999;
    color: white;
    font-size: medium;
  }
  
  /* changing color of Report Section footer background and text */
  table.dataTable tfoot tr td {
    background-color: #353535 !important;
    font-weight: bold;
    color: white;
  }
  
  /* changing color of Report collapsed level 0 background and text */
  tr.collapsed.dtrg-group.dtrg-start.dtrg-level-0 td {
    background-color: #2E334E;
    color: #ffffff;
    font-weight: 600;
  }
  
  /* changing of Report collapsed level 1 text */
  tr.collapsed.dtrg-group.dtrg-start.dtrg-level-1 td {
    font-weight: 500;
  }
  
  /* changing color of Report collapsed level 2 background */
  tr.collapsed.dtrg-group.dtrg-start.dtrg-level-2 td {
    background-color: white;
    font-weight: 400;
  }
  
  .dtrg-foot td {
    font-size: small;
    background-color: #353535 !important;
    font-weight: bold;
    color: white;
  }
  
  table.dataTable tr.dt-hdr th {
    color: white;
  }



  /* disabled class for buttons */
  .disabled {
    pointer-events: none;
    opacity: 0.8;
  }

  /* disabled class for input fields on a form */
  .input-disabled {
    opacity: 0.6;
    background-color: #f5f5f5 !important;
    cursor: not-allowed;
  }

  /* Styling fix for table columns with sort-disabled to match sort-enabled columns */

  th.sort-disabled {
    font-family: Arial;
    font-weight: 400;
    font-size: 14px;
    color: white;
    text-decoration: underline;
  }

  /* Styling fix for form descriptions to be italic and smaller font size - Added for Report forms */
  div.description.above {
    font-size: smaller;
    font-style: italic;
  }

  /* disabled class for lookup fields on report to be greyed out */
  select.disabled {
    pointer-events: none;
    opacity: 0.8;
    background-color: #e1e1e1 !important;
    color: #7b7b7b;
  }
