#snackbar.show-no-out {
    visibility: visible; /* Show the snackbar */
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

.tiny-on-mobile-only {
  display: none;
}

/*Login */
.login-error-text {
    color: red;
    font-weight: bold;
    font-style: italic;
}

.main-menu-overflow {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

nav.main-menu::-webkit-scrollbar {
  width: 0.4em;
}

nav.main-menu::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

nav.main-menu::-webkit-scrollbar-thumb {
  background-color: rgb(230, 230, 255);
  outline: 1px solid slategrey;
  border-radius: 5px;

} 

/* Main */
.proj_info_toggle {
  margin-left: 30px;
  font-size: 14px;
  cursor: pointer;
}
#main {
    margin-top: 90px;
    margin-left: 50px;
    flex: 0 0 95%;
    max-width: 95%;
}
#main.image-tab-open {
    padding-right: 255px;
}
#main.nav-expanded {
    margin-left: 16.66666%;
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}
div.project-information {
    /* position: fixed; */
    width: 98%;
    background-color: #fff;
    z-index: 990;
    /* top: 51px; */
    padding-top: 10px;
    margin-left: 5px;
    border: 2px solid #ccc;
    border-radius: 8px;
}
#scrollable-content.ceas {
    margin-top: 332px;
    margin-left: 3px;
    z-index: 950;
}
#scrollable-content.trapeze {
    margin-top: 192px;
    margin-left: 3px;
    z-index: 950;
}
.ceas-border {
    border: solid 2px #ccc;
    border-radius: 8px;
    padding: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 30px;
    margin-left: 5px;
    min-height: 200px;
    width: 98%;
}
.modal-open .ceas-border {
  margin-right: 7px;
}
.ceas-border.selected {
	border: solid 2px #23adff;
}
div.selection-description {
    font-size: 60%;
    text-align: center;
}
div.selection-cost {
    text-align: center;
    display: none;
}
div.selection-cost-total {
    font-weight: bold;
    text-align: center;
    display: none;
}
option {
    color: #495057;
}
.inactive {
    color: red !important;
}
button.update-section,
.imageViewerText {
    display: none;
}


/*Side bar */
#sidebar {
    top: 50px;
    height: 100%;
}
#sidebar .far {
    font-size: 20px;
}
#sidebar button {
    color: #fff;
}
#sidebar.col-1:not(.col-2) {
    width: 60px;
}
#sidebar .btn_text {
    display: none;
}
#sidebar.col-2 .btn_text {
    display: inline;
}
#sidebar.col-2 {
    width: 200px;
}

/* Top Nav Bar */
#navbar {

}
.logout-area {
    font-size: 20px;
    color: #fff;
    margin-top: 10px;
    padding-right: 30px;
    padding-left: 0px;
}
.logout-area a, .logout-area a:hover {
    color: #fff;
    text-decoration: none;
}

/*Snackbar */
#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 2000; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  top: 30px; /* 30px from the bottom */
}

#snackbar.show {
  visibility: visible; /* Show the snackbar */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {top: 0; opacity: 0;}
  to {top: 30px; opacity: 1;}
}

@keyframes fadein {
  from {top: 0; opacity: 0;}
  to {top: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {top: 30px; opacity: 1;}
  to {top: 0; opacity: 0;}
}

@keyframes fadeout {
  from {top: 30px; opacity: 1;}
  to {top: 0; opacity: 0;}
}

/* General Classes */
.selected {
    box-shadow: 0 0 6px #23adff;
}

.hidden {
    display: none !important;
}
.isat-blue-bg {
    background-color: #002F65;
}
.label {
    margin-top: 5px;
    font-weight: bold;
}
.label-light {
    margin-top: 5px;
}
.required::after {
    content: ' *';
    color: red;
    margin-bottom: 10px;
}
.red {
    color: red;
}
.modal-max .modal-dialog {
    max-width: 85%;
}
#slider {
    margin-top: 50px;
    padding-left: 20px;
    background-color: #002F65;
    padding-top: 15%;
}
#trigger {
    background-color: #002F65;
    left: -40px;
    padding: 10px;
    position: absolute;
    top: 40%;
    width: 40px;
    cursor: pointer;
    color: #fff;
}

/* Loading Overlay */
.loading {
  position: fixed;
  z-index: 2000;
  height: 2em;
  width: 80%;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  font-size: 48px;
  text-align: center;
}
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* Order Form Modal */
.gen_order_form {
    width: 150px;
}
div.order-form-modal .modal-content {
	width: 500px;
	margin: auto;
}


/* Order Form PDF */
.order-form {
  margin: 30px;
  width: 720px;
}
.order-form table {
    color: #000;
    width: 700px;
}
.order-form table tr td {
    padding: 0;
}
.order-form table th {
    background-color: #336699 !important;
    color: #fff;
    text-align: center;
    font-weight: bold;
}
.order-form table tr:nth-child(even) td {
  background-color: #e6e6ff !important;
}
.order-form .header-label {
    font-weight: bold;
    text-align: right;
}
.img-text {
    font-size: 18px;
    margin-top: -30px;
    margin-left: 5px;
    color: #fff !important;
}
.img-text-after {
    font-size: 18px;
    margin-top: -35px;
    margin-left: 205px;
}
.pdf-img {
    max-height: 200px
}
tr.no-border {
    border: 0;
}
tr.no-border td {
    border: 0;
}

/* Quote PDF */
.pdf-container {
  margin: 30px 30px 0 30px;
}
.pdf-container p {
    margin-bottom: 0;
    line-height: 14px;
}
.pdf-fixed-bottom {
    position: fixed;
    right: 30px;
    left: 30px;
    z-index: 1030;
}

/* Admin */
input.detail_document {
    display: inline;
    width: 150px;
}
.admin-delete_detail {
    margin-bottom: 3px;
}

/* For Custom Alert Dialogs */
.custom-alert {
    z-index: 1500 !important;
}



/* Modal no shift */
body {
    /*overflow-y: scroll;*/
    font-size: 1.1rem;
}
.modal {
 overflow-y: scroll;
 overflow: auto !important;
}
.modal-open {
 overflow-y: scroll;
 padding-right: 0 !important
}
.modal-open #navbar {
    padding-right: 0 !important
}


/* Overrides */
nav.main-menu hr {
    border-top: 1px solid #eee;
}
.main-menu {
  z-index: 1020;
}

.fa-file-pdf:before {
    content: "\f1c1";
}
.fa-file-alt:before {
    content: "\f15c";
}
.modal-body {
    min-height: 50px;
}
.modal-gen-quote .modal-dialog {
    max-width: 90%;
}

/* Trapeze Page */
#trapeze_import_table tr:first-child,
.manual-trapeze tr:first-child {
    font-weight: bold;
    text-align: center;
}
.manual-trapeze td input {
    text-align: center;
    max-width: 80px;
    margin: auto;
}
.quantity-input {
    width: 40px;
    display: inline-block;
    text-align: center;
}
.input-sm {
    width: 100px;
    text-align: center;
    margin: auto;
}
.trap-image {
    max-height: 300px;
}
.optimized-table {
    width: 300px;
    text-align: center;
    margin: auto;
}
.cut-only {
    display: none;
}
html.no-show-modal .modal {
    display: none !important;
}

/* Wind Load Form */
#rooftop_calculation_form {
    font-size: 120%;
}
input.small, select.small {
    width: 120px;
    display: inline-block;
}

/*Engineering Tools nav table*/
.engineering_tools_list, .prefab_tools_list, .generate_submittal_list {
  display: none;
}
li.prefab_tools_open:hover .prefab_tools_list {
    display: block;
    position: absolute;
    text-align: left;
    top: 0;
    left: 250px;
    width: 300px;
    background-color: #002F65;
    height: 100px;
    border-radius: 8px;
    padding-top: 20px;
    padding-left: 20px;
}
li.engineering_tools_open:hover .engineering_tools_list,
li.create_submittal_open:hover .generate_submittal_list {
    display: block;
    position: absolute;
    text-align: left;
    top: 0;
    left: 250px;
    width: 300px;
    background-color: #002F65;
    height: 320px;
    border-radius: 8px;
    padding-top: 20px;
    padding-left: 20px;
}
.tool-link > a {
  position: relative;
  border-collapse: collapse;
  border-spacing: 0;
  color: #F4F4F4 !important;
  font-family: arial;
  font-size: 14px;
  text-decoration: none;
  width: 250px;
  height: 30px;
  margin: auto;
  vertical-align: middle;
  display: table-cell;
  padding-left: 15px;
}
.tool-link > a:hover {
  text-decoration: none;
  background-color: #5fa2db;
}
small.smaller {
  font-size: 60%;
}
.cost-total-display {
  padding: 0;
}
.top-bar {
  max-height: 51px;
}
.show_all_customers {
  float: right;
  margin-bottom: 5px;
}


/* Responsive Overrides */
@media only screen and (max-width: 800px) {
  .modal-lg, .modal-xl {
    max-width: 95%;
  }
  .hide-on-mobile {
    display: none;
  }
  .cost-total-display {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media only screen and (max-width: 600px) {
  .navbar-user {
    font-size: 10px;
  }
}

/*screen size modal*/
.phone {
  height: 50px;
  width: 100px;
  border: 3px solid white;
  border-radius: 10px;
  animation: rotate 1.5s ease-in-out infinite alternate;
  margin: auto;
}
@keyframes rotate {
  0% {
		transform: rotate(0deg)
	}
	50% {
		transform: rotate(-90deg)
	}
	100% {
		transform: rotate(-90deg)
	}
}
#screensize {
  z-index: 9000;
  background: #000;
  color: #fff;
}
#screensize .modal-dialog {
  margin: 0;
}
#screensize .modal-content {
  background: #000;
  text-align: center;
}


/* is-mobile class overrides for better mobile experience */
html.is-mobile {
  font-size: 50%;
}
html.is-mobile .hide-on-mobile {
  display: none;
}
html.is-mobile .tiny-on-mobile {
  font-size: 50%;
}
html.is-mobile .tiny-on-mobile-only {
  display: inline;
    font-size: 75%;
}

.form-control {
  font-size: 1.25rem;
}

#freeze-content.frozen {
  position: fixed;
  width: 97%;
  z-index: 1000;
  background: white;
  top: 50px;
}

#d_margin_updater {
  display: inline-block;
  width: 60px;
}
.mobile-top-font {
  font-size: 12px;
}
.top-font {
  font-size: 20px;
}
.seismic_dropdown {
  text-align: center;
}

.col-15 {
  -ms-flex: 0 0 12.5%;
  flex: 0 0 12.5%;
  max-width: 12.5%;
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.box_with_text{
    height: 100%;
}

.panel_body {
    padding: 0 10px;
}

input[type="checkbox"] {
    margin-right: 3px;
}

.red-border {
  border: 1px solid red;
}

.bom-tab.active, .cut-tab.active {
  border-color: #66afe9 !important;
  outline: 0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 80%);
}