﻿#modalIframe {
  height: 100vh;
}
#modalIframe .modal-dialog {
  width: 100%;
  max-width: 1024px;
}
#modalIframe iframe {
  border: 0;
  width: 100%;
  height: calc(100vh - 150px);
}
#modalIframe .modal-close {
  background: #303641;
  position: absolute;
  top: -1px;
  right: -1px;
  background: #cc2424;
  color: white;
  cursor: pointer;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 30px;
  z-index: 1;
  border: 0;
  border-radius: 0;
  border-top-right-radius: 3px;
  opacity: 1;
  border-top: 1px solid #c4c4c4;
  border-right: 1px solid #c4c4c4;
}
#modalIframe .modal-close:hover {
  background-color: #de4545;
}
#modalIframe .modal-close:before,
#modalIframe .modal-close:after {
  position: absolute;
  left: 50%;
  content: ' ';
  height: 20px;
  width: 3px;
  margin: 0;
  padding: 0;
  background-color: white;
}
#modalIframe .modal-close:before {
  transform: rotate(45deg) translate(-50%, 0);
  top: 6px;
}
#modalIframe .modal-close:after {
  transform: rotate(-45deg) translate(-50%, 0);
  top: 4px;
}
#modalIframe .modal-close span {
  display: none;
}
.modal .modal-header .close {
  background: #303641;
  position: absolute;
  top: -1px;
  right: -1px;
  background: #cc2424;
  color: white;
  cursor: pointer;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 30px;
  z-index: 1;
  border: 0;
  border-radius: 0;
  border-top-right-radius: 3px;
  opacity: 1;
  border-top: 1px solid #c4c4c4;
  border-right: 1px solid #c4c4c4;
}
.modal .modal-header .close:hover {
  background-color: #de4545;
}
.modal .modal-header .close:before,
.modal .modal-header .close:after {
  position: absolute;
  left: 50%;
  content: ' ';
  height: 20px;
  width: 3px;
  margin: 0;
  padding: 0;
  background-color: white;
}
.modal .modal-header .close:before {
  transform: rotate(45deg) translate(-50%, 0);
  top: 6px;
}
.modal .modal-header .close:after {
  transform: rotate(-45deg) translate(-50%, 0);
  top: 4px;
}
.modal .modal-header .close span {
  display: none;
}
#emailContactViewModal .close-modal-iframe,
#messageViewModal .close-modal-iframe,
#notesModal .close-modal-iframe,
#archiveNoteModal .close-modal-iframe,
#newEntityContactModal .close-modal-iframe,
#newEntityBusinessModal .close-modal-iframe,
#quick-engagement-form-modal .close-modal-iframe,
#addEntity .close-modal-iframe {
  background: #303641;
  position: absolute;
  top: -1px;
  right: -1px;
  background: #cc2424;
  color: white;
  cursor: pointer;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 30px;
  z-index: 1;
  border: 0;
  border-radius: 0;
  border-top-right-radius: 3px;
  opacity: 1;
  border-top: 1px solid #c4c4c4;
  border-right: 1px solid #c4c4c4;
}
#emailContactViewModal .close-modal-iframe:hover,
#messageViewModal .close-modal-iframe:hover,
#notesModal .close-modal-iframe:hover,
#archiveNoteModal .close-modal-iframe:hover,
#newEntityContactModal .close-modal-iframe:hover,
#newEntityBusinessModal .close-modal-iframe:hover,
#quick-engagement-form-modal .close-modal-iframe:hover,
#addEntity .close-modal-iframe:hover {
  background-color: #de4545;
}
#emailContactViewModal .close-modal-iframe:before,
#messageViewModal .close-modal-iframe:before,
#notesModal .close-modal-iframe:before,
#archiveNoteModal .close-modal-iframe:before,
#newEntityContactModal .close-modal-iframe:before,
#newEntityBusinessModal .close-modal-iframe:before,
#quick-engagement-form-modal .close-modal-iframe:before,
#addEntity .close-modal-iframe:before,
#emailContactViewModal .close-modal-iframe:after,
#messageViewModal .close-modal-iframe:after,
#notesModal .close-modal-iframe:after,
#archiveNoteModal .close-modal-iframe:after,
#newEntityContactModal .close-modal-iframe:after,
#newEntityBusinessModal .close-modal-iframe:after,
#quick-engagement-form-modal .close-modal-iframe:after,
#addEntity .close-modal-iframe:after {
  position: absolute;
  left: 50%;
  content: ' ';
  height: 20px;
  width: 3px;
  margin: 0;
  padding: 0;
  background-color: white;
}
#emailContactViewModal .close-modal-iframe:before,
#messageViewModal .close-modal-iframe:before,
#notesModal .close-modal-iframe:before,
#archiveNoteModal .close-modal-iframe:before,
#newEntityContactModal .close-modal-iframe:before,
#newEntityBusinessModal .close-modal-iframe:before,
#quick-engagement-form-modal .close-modal-iframe:before,
#addEntity .close-modal-iframe:before {
  transform: rotate(45deg) translate(-50%, 0);
  top: 6px;
}
#emailContactViewModal .close-modal-iframe:after,
#messageViewModal .close-modal-iframe:after,
#notesModal .close-modal-iframe:after,
#archiveNoteModal .close-modal-iframe:after,
#newEntityContactModal .close-modal-iframe:after,
#newEntityBusinessModal .close-modal-iframe:after,
#quick-engagement-form-modal .close-modal-iframe:after,
#addEntity .close-modal-iframe:after {
  transform: rotate(-45deg) translate(-50%, 0);
  top: 4px;
}
#emailContactViewModal .close-modal-iframe span,
#messageViewModal .close-modal-iframe span,
#notesModal .close-modal-iframe span,
#archiveNoteModal .close-modal-iframe span,
#newEntityContactModal .close-modal-iframe span,
#newEntityBusinessModal .close-modal-iframe span,
#quick-engagement-form-modal .close-modal-iframe span,
#addEntity .close-modal-iframe span {
  display: none;
}
.layout-content-only .floating-sidebar {
  top: 0;
  height: 100%;
}
.floating-sidebar {
  background-color: #f1f1f1;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 5;
  height: calc(100%);
  width: 50%;
  min-width: 400px;
  /*background: white;*/
  transition: right 0.5s ease-in-out, opacity 0.2s ease-in-out;
  right: -1000px;
  opacity: 0;
  -webkit-box-shadow: -10px 10px 5px -5px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: -10px 10px 5px -5px rgba(0, 0, 0, 0.25);
  box-shadow: -10px 10px 5px -5px rgba(0, 0, 0, 0.25);
}
.floating-sidebar .draghandle {
  width: 6px;
  background-color: #303641;
  height: 100vh;
  position: absolute;
  top: 0;
  cursor: col-resize;
}
.floating-sidebar .draghandle:hover {
  background-color: #464e5e;
}
.floating-sidebar iframe {
  border: 0;
  width: 100%;
  height: 100%;
}
.floating-sidebar .floating-close {
  background: #303641;
  position: absolute;
  top: -1px;
  right: -1px;
  background: #cc2424;
  color: white;
  cursor: pointer;
  margin: 0;
  padding: 0;
  width: 30px;
  height: 30px;
  z-index: 1;
  border-top-right-radius: 3px;
  opacity: 1;
  border-top: 1px solid #c4c4c4;
  border-right: 1px solid #c4c4c4;
  border-radius: 0;
  border: 0;
  top: 0;
  right: 0;
}
.floating-sidebar .floating-close:hover {
  background-color: #de4545;
}
.floating-sidebar .floating-close:before,
.floating-sidebar .floating-close:after {
  position: absolute;
  left: 50%;
  content: ' ';
  height: 20px;
  width: 3px;
  margin: 0;
  padding: 0;
  background-color: white;
}
.floating-sidebar .floating-close:before {
  transform: rotate(45deg) translate(-50%, 0);
  top: 6px;
}
.floating-sidebar .floating-close:after {
  transform: rotate(-45deg) translate(-50%, 0);
  top: 4px;
}
.floating-sidebar .floating-close span {
  display: none;
}
.floating-sidebar .floating-sidebar-content {
  height: 100%;
  padding: 0 15px 0 15px;
  margin-left: 6px;
  overflow: auto;
  height: calc(100%);
}
.floating-sidebar .floating-sidebar-content .col-sm-1,
.floating-sidebar .floating-sidebar-content .col-sm-2,
.floating-sidebar .floating-sidebar-content .col-sm-3,
.floating-sidebar .floating-sidebar-content .col-sm-4,
.floating-sidebar .floating-sidebar-content .col-sm-5,
.floating-sidebar .floating-sidebar-content .col-sm-6,
.floating-sidebar .floating-sidebar-content .col-sm-7,
.floating-sidebar .floating-sidebar-content .col-sm-8,
.floating-sidebar .floating-sidebar-content .col-sm-9,
.floating-sidebar .floating-sidebar-content .col-sm-10,
.floating-sidebar .floating-sidebar-content .col-sm-11 {
  width: 100%;
}
.floating-sidebar .floating-sidebar-content input {
  width: 100%;
}
.floating-sidebar .floating-sidebar-content .badge {
  overflow: auto;
  max-width: 100%;
}
.floating-sidebar .floating-sidebar-content h3.business-name {
  display: flex;
  align-items: center;
}
.floating-sidebar .floating-sidebar-content .flex-grid .field-item {
  flex: 1 1 240px;
}
.floating-sidebar .tab-content {
  /*max-height: calc(100vh - 230px);
        min-height: calc(100vh - 230px);*/
  max-height: calc(100vh - 210px);
  min-height: calc(100vh - 210px);
  display: flex;
  flex-direction: column;
  overflow: auto;
  margin: 0;
}
@media (max-width: 768px) {
  .floating-sidebar {
    width: 100%;
  }
}
.floating-sidebar-open .floating-sidebar {
  right: 0;
  opacity: 1;
  display: block;
}
.floating-sidebar-open.modal-open .floating-sidebar {
  position: initial;
}
.floating-sidebar-open.modal-open .floating-close {
  display: none;
}
.flex-grid {
  display: flex;
  flex-wrap: wrap;
}
.flex-grid .field-item {
  margin-right: 5px;
}
.pure-material-progress-linear {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  height: 0.25em;
  /*color: rgb(var(--pure-material-primary-rgb, 33, 150, 243));
    background-color: rgba(var(--pure-material-primary-rgb, 33, 150, 243), 0.12);*/
  color: #303641;
  background-color: #909aad;
  font-size: 16px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
.pure-material-progress-linear::-webkit-progress-bar {
  background-color: transparent;
}
/* Determinate */
.pure-material-progress-linear::-webkit-progress-value {
  background-color: currentColor;
  transition: all 0.2s;
}
.pure-material-progress-linear::-moz-progress-bar {
  background-color: currentColor;
  transition: all 0.2s;
}
.pure-material-progress-linear::-ms-fill {
  border: none;
  background-color: currentColor;
  transition: all 0.2s;
}
/* Indeterminate */
.pure-material-progress-linear:indeterminate {
  background-size: 200% 100%;
  background-image: linear-gradient(to right, transparent 50%, currentColor 50%, currentColor 60%, transparent 60%, transparent 71.5%, currentColor 71.5%, currentColor 84%, transparent 84%);
  animation: pure-material-progress-linear 2s infinite linear;
}
.pure-material-progress-linear:indeterminate::-moz-progress-bar {
  background-color: transparent;
}
.pure-material-progress-linear:indeterminate::-ms-fill {
  animation-name: none;
}
@keyframes pure-material-progress-linear {
  0% {
    background-size: 200% 100%;
    background-position: left -31.25% top 0%;
  }
  50% {
    background-size: 800% 100%;
    background-position: left -49% top 0%;
  }
  100% {
    background-size: 400% 100%;
    background-position: left -102% top 0%;
  }
}