
form#gform_7 .rpb-hide-field {
   display: none;
}

.rpb-dashboard.view_order .gf-num-btn,
.rpb-dashboard.view_order .smap-toolbar, 
.rpb-dashboard.view_order .smap-controls {
   display: none !important;
}

.rpb-dashboard {

   .gfield_required, 
   .gfield.show-optional .gfield_label::after {
      display: none;
   }

   padding: 0;

   .rpb-header {

      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-end;

      h1 {
         font-size: 26px;
         margin-bottom: 0;
         padding-bottom: 10px;

         small {
            font-size: 0.6em;
            font-weight: normal;
            padding-left: 2em;
         }

         span {
            text-transform: none !important;
         }

         & + p {
            text-align: right;
            margin-bottom: 0;
            margin-left: auto;
            padding-bottom: 10px;

            > strong {
               display: block;
               font-size: 22px;
            }

            > span {
               display: block;
               font-size: 16px;
               max-width: 600px;
            }
         }

      }

   }

   .rpb-container {

      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: repeat(1, 1fr);
      gap: 15px;

      .rpb-sidebar {
         grid-column: span 4 / span 4;
         grid-column-start: 1;
         background-color: #ffffff;
         padding: 0;

         div {
            margin-bottom: 30px;
         }
         
         h2 {
            font-size: 16px;
         }

         ul {

            li {

               a {
                  color: #1d5dd1;
               }

            }

         }
      }

      .rpb-main {

         grid-column: span 8 / span 8;
         grid-column-start: 5;
         background-color: #ffffff;
         padding: 0 20px;
         border-radius: 7px;

         .rpb_hidden {
            display: block !important;
            height: 0 !important;
            overflow: hidden !important;
            margin: 0 0 0 0 !important;
            padding: 0 0 0 0 !important;

            position: absolute !important;
            left: -9999px !important;
            top: auto !important;
            width: 1px !important;
            height: 1px !important;
            overflow: hidden !important;

            legend {
               color: #fff;
               margin-left: -999999px;
            }
         }

         .order-lookup {
            padding: 15px;
            max-width: 500px;
         }

      }

      .rpb-sidebar {
         
         border-radius: 7px;

         .rpb-order-management {

            .rpb-actions {

               .active > a {
                  font-weight: bold;
               }

               .hidden {
                  display: none;
               }

               /* .close_contract a {
                  color: #fff;
                  font-weight: normal !important;
                  background-color: #f00;
                  padding: 0.4em 0.6em;
                  margin-left: -2em;
               } */

            }

         }

      }

   }

}

.rpb-dashboard .rpb-order-history {

   ol.history-links {
      list-style: none;
      margin: 0;
      padding: 0;

      li.order-state {
         margin: 0 0 8px 0;
         padding: 10px 10px 6px 10px;
         border: 1px solid #ccc;
         border-radius: 5px;
         list-style: none;
         background: #f2f2f2;

         .order-state-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0 6px 0;
            margin: 0 0 8px 0;
            border-bottom: 1px solid #ccc;
            
            .order-state-action {
               font-weight: bold;
            }
            
            .order-state-datetime {
               font-size: 0.82em;

               .desc {
                  font-size: 0.8em;
               }
            }
         }

         .order-state-body {
            margin: 0;

            ul.order-state-unit-mods {
               list-style: square;
               list-style-position: inside;
               margin: 0 0 0 5px;
               padding: 0 0 0 0;

               li.order-state-unit-mod {
                  

                  span.unit-name {
                     margin-left: -8px;
                  }

                  .unit-quantity-diff {
                     font-weight: bold;
                  }
                  
               }

               li.order-state-unit-mod::marker {
                  font-size: 12px;
                  transform: translateY(-3px) !important;
               }
            }

            .order-state-delivery {
               margin: 5px 0 0 0;
               padding: 2px 0 0 0;
               background-color: #e2e3e5;
               color: #2b2f32;
               border: 1px solid #c4c8cb;
               border-radius: 5px;
               display: flex;
               align-items: center;
               justify-content: space-around;
               font-size: .82em;
               font-style: italic;

               .order-state-delivery-date {
                  display: block;
               }

               .order-state-delivery-status {
                  display: block;
                  font-size: .9em;
               }

            }
            
         }

         .order-state-footer {
            border-top: 1px solid #ccc;
            padding: 8px 0 3px 0;
            margin: 9px 0 0 0;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .order-state-badges {
               padding: 0;
               margin: 0;
            }

            .order-state-button {
               background: #6c757d;
               color: #fff;
               padding: 3px 8px 2px;
               margin: 0;
               font-size: 0.8em;
               border-radius: 4px;
            }
         }

         &.active {
            .order-state-footer {
               .order-state-button {
                  cursor: text;
                  pointer-events: none;
                  background-color: #d9d9d9;
                  color: #333;
                  padding-top: 1px;
                  padding-bottom: 1px;
               }
            }
         }
      }

      li.order-state.today .order-state-delivery {
         background-color: #cfe2ff;
         color: #052c65;
         border: 1px solid #9ec5fe;
      }

      li.order-state.pending {
         background-color: #d1e7dd;
         color: #0a3622;
         border: 1px solid #a3cfbb;
      }

   }

}

.rpb-price-diff {
   background-color: #ffffff !important;
   min-width: max( 50%, 500px );
   /* line-height: 1.4 !important; */
   /* padding: 5px !important; */
}

.rpb-price-diff.rpb_hidden {
   height: 0 !important;
   overflow: hidden !important;
}

@media screen and (max-width: 1280px) {
   .rpb-dashboard {
      .rpb-container {
         .rpb-sidebar {
            grid-column: span 12 / span 12;
         }
         .rpb-main {
            grid-column: span 12 / span 12;
         }
      }
   }
}






form#wppb-edit-user li.wppb-default-e-mail, 
form.wppb-edit-user li.wppb-default-e-mail {
   display: none !important;
}








header.elementor-location-header .elementor-nav-menu .menu-profile > a {
   background-color: #3e4140;
   color: #fff !important;
   padding: 12px 28px !important;
   border-radius: 8px;
}




.gfield--type-sticker_map .smap-searchbar, 
.gfield--type-sticker_map .gform-field-label {
   display: none !important;
}



#rpbAddedTotals strong {
   font-weight: 700;
}
#rpbAddedTotals small {
   font-size: .7em;
}




.rpb-dashboard.change_user_info .smap-toolbar, 
.rpb-dashboard.change_user_info .smap-info-alert {
   display: none;
}

/* .rpb-dashboard.change_user_info .rpb_readonly {
   position: relative;
}

.rpb-dashboard.change_user_info .rpb_readonly::after {
   content: ' ';
   display: block;
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   z-index: 999;
   pointer-events: none;
   background-color: #00000011;
} */