@media screen and (min-width: 1800px) {
 .carousel-control .glyphicon-chevron-left,
 .carousel-control .glyphicon-chevron-right,
 .carousel-control .icon-prev,
 .carousel-control .icon-next {
  left: 23px;
 }

 .pull-right {
  margin-right: 1.5em;
 }
}

@media screen and (max-width: 1600px) {
 #sidebar {
  width: 15vw;
 }

 #sidebar .sidebar-inner {
  min-width: 100%;
 }

 .main-menu > li:not(.sidebar-company-image) {
  margin-bottom: 0em !important;
 }

 .main-menu > li:first-child {
  margin-bottom: 1em !important;
 }

 .main-menu .sidebar-submenu {
  padding: 0px 8px 0px 45px;
 }

 .overlap {
  display: none !important;
 }

 .overlap.left {
  display: none !important;
 }

 .overlap.right {
  display: none !important;
 }

 .preload-img--preloading {
  min-width: auto;
 }

 /* .carousel-control .glyphicon-chevron-left, */
 .carousel-control .glyphicon-chevron-right,
 /* .carousel-control .icon-prev, */
 .carousel-control .icon-next {
  left: -25px;
 }

 .carousel-control.right {
  right: -120px;
 }

 .main-menu .sidebar-submenu {
  padding-left: 5px;
 }

 .home-tracks {
  margin-left: 20%;
 }

 .carousel-control.right {
  right: -110px;
 }
}

@media screen and (max-width: 1920px) {
 .shared-container {
  padding-right: 3em !important;
 }
}

@media screen and (max-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) {
 .main-menu .sidebar-submenu {
  padding: 0px 8px 0px 5px;
 }

 .sidebar-company-image img {
  height: 80px;
 }

 .pull-right {
  margin-right: 2em;
 }
}

@media screen and (max-width: 1400px) {
 .sidebar-trigger {
  margin-left: 0;
 }

 .md-sidenav-left {
  width: 250px;
  min-width: 250px;
  display: flex;
 }

 .slick-slide {
  height: auto !important;
 }

 .photos.cat .col-md-3 {
  margin: 0;
 }

 .small-card {
  margin-right: 2em;
  background-color: transparent !important;
  /* border: 1px solid rgba(0, 0, 0, 0.1) !important; */
  border-radius: 5px !important;
  box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px !important;
 }

 .actions > li > a,
 .actions > a {
  border-radius: 50%;
 }

 .no-category-actions {
  background-color: transparent !important;
 }

 .topbar {
  position: relative;
 }

 .formatted-text-msg {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  grid-template-rows: 1fr;
  align-items: flex-start;
 }

 .l img {
  margin: 0 !important;
 }

 .select-layout {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 }

 .modal-content {
  width: 100%;
 }

 .modal-dialog resource > div {
  width: auto !important;
 }

 .logo-email {
  font-size: 13px !important;
  color: #000;
 }

 .logo-email p {
  margin: 0;
 }

 .bottom-menu .logo-setvi-nav {
  font-size: 10px;
  margin-top: 0.5em;
  flex-direction: column;
 }

 .logo-setvi-nav img {
  width: 85px;
 }
}

@media screen and (max-width: 1400px) {
 .container {
  /* margin-bottom: 5em; */
 }

 .table {
  border: none;
 }

 thead {
  border-top: none;
 }

 .card-body .table td {
  font-size: 1em;
  color: #000000;
  font-weight: 400;
 }

 .card-body.mess .table td {
  border: none;
  margin-bottom: 1em;
 }

 .small-resource-card .card-text-area {
  width: 130px;
  font-size: 0.8em;
 }

 .td-mess {
  /* width: 100% !important; */
 }

 .td-mess-img {
  width: 60px !important;
 }

 .check-box {
  /* position: relative; */
 }

 .upload {
  color: #fff;
 }

 a.upload {
  background-color: #2196f3;
 }

 .upload:hover,
 .upload:focus {
  color: #fff !important;
 }

 .dropdown-menu > li:hover {
  background: #f5f5f5;
 }

 .addTemplateHeaderMob {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 80vw;
  align-items: baseline;
  list-style: none;
 }

 .addTemplateHeaderMob h2 {
  font-size: 1em;
 }

 /* Shared */
 .mob-header-shared {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2em;
 }

 .shared-views {
  color: #898989;
 }

 .filter-header {
  font-size: 1em;
 }

 .filter-header a {
  color: #9b9b9b;
  margin-right: 1em;
 }

 .filter-header .active {
  color: #2196f3 !important;
  position: relative;
 }

 .filter-header .active:after {
  position: absolute;
  content: '';
  border-bottom: 3px solid #2196f3;
  width: 50%;
  top: 36px;
  left: 30%;
 }

 .search-wrapper ul {
  margin: 0;
 }

 .lvh-search {
  height: auto;
 }

 .big-td {
  width: 80% !important;
 }

 .smaller-td {
  width: 10% !important;
 }

 .mob-text-td {
  margin-bottom: 0.5em;
 }

 i.zmdi.zmdi-arrow-left {
  font-size: 1em;
 }

 .back-button {
  margin-left: 0;
 }

 .prTemplateItemGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 250px));
 }

 .small-btn .zmdi {
  font-size: 1em;
 }

 .btn.preso-export {
  position: relative;
  float: initial;
  background: #2196f3;
  color: white;
  top: auto !important;
  border-radius: 5px;
  margin-left: 2em;
 }

 i.zmdi.zmdi-more-vert {
  font-size: 25px;
 }

 .ul.dropdown-menu.dropdown-menu-right.slideselect {
  width: 100%;
 }

 .category-dropdown-icon {
  font-size: 1.35em !important;
  right: 2px;
 }

 .mobile-dropdown {
  /* position: fixed; */
  bottom: 0%;
  width: 100%;
 }

 .show-arrow-icon {
  display: block !important;
 }

 .show-icon-mobile {
  display: block !important;
 }
}

@media (max-width: 1368px) {
 .emailModal .modal-dialog,
 .review-variable .modal-dialog {
  height: 95%;
  width: 95%;
 }

 .emailModal .modal-dialog .modal-content {
  height: 100%;
 }

 .mailMergePreviewForm {
  height: 100%;
  display: flex;
  flex-direction: column;
 }

 .preview-recepients-list {
  height: 100%;
  max-height: 90% !important;
 }

 .mail-merge-preview .bottom-panel {
  height: calc(100% - 100px);
 }

 .shareEmailForm {
  height: 100%;
  padding: 15px;
 }

 #compose-contacts-list,
 #compose-groups-list,
 #recent-contacts-list,
 #groups-list,
 #snippets-list,
 #leads-list,
 #city-list,
 #state-list {
  max-height: 77vh;
 }
 #account-list {
  max-height: calc(77vh - 71px);
 }

 .accountListWithClear {
  max-height: calc(77vh - 71px - 45px) !important;
 }

 .shareEmailForm-sm {
  /* 100% - height of the banner */
  height: calc(100% - 32px);
  padding: 15px;
 }
}

@media (max-width: 800px) {
 .dropdown-menu.dropdown-menu-sm {
  width: 400px;
 }

 .main-menu > li {
  margin: 1em 0;
 }

 .main-menu > li > a {
  padding: 2px 8px 2px 45px;
 }

 .main-menu .sidebar-submenu {
  padding: 2px 8px 2px 5px;
 }

 #search_form {
  width: 50vw;
 }

 .popover.bottom {
  width: 49.9vw;
 }

 .results > ul > li > div > div.right-side {
  width: calc(95% - 66px);
 }

 .results > ul > li > div > div.right-side h4 {
  width: 84%;
 }

 .table-responsive > .table > thead > tr > th,
 .table-responsive > .table > tbody > tr > th,
 .table-responsive > .table > tfoot > tr > th,
 .table-responsive > .table > thead > tr > td,
 .table-responsive > .table > tbody > tr > td,
 .table-responsive > .table > tfoot > tr > td {
  white-space: normal !important;
 }

 .dropdown-menu {
  top: 25px;
  right: 20px;
 }

 .dropdown-menu > li {
  padding: 0 !important;
 }

 .notifcation {
  width: 100%;
  padding: 1em;
  margin-bottom: 2em;
  border: none;
  box-shadow: none;
  background-color: transparent;
 }

 .notification-text {
  display: flex;
  flex-direction: row;
 }

 .presentation-dropdown-icon {
  top: 5px;
  font-size: 23px !important;
 }

 .media-body .formatted-text-msg {
  font-size: 13px;
  overflow: hidden;
  text-align: left;
 }

 .formatted-text-msg {
  display: flex;
  flex-direction: column;
  width: 300px;
 }

 .formatted-text-msg span {
  color: #000;
 }

 .formatted-text-msg .msg-title {
  font-size: 14px;
  text-align: left;
 }

 .formatted-text-msg .msg-type {
  color: #898989;
  font-size: 12px;
 }

 .td-mess-detail {
  display: flex;
  flex-direction: column;
  width: 200px !important;
  margin-left: 1em;
 }

 .td-mess-date {
  font-size: 1em;
  color: #898989;
 }

 #home_carousel .zmdi {
  font-size: 30px;
 }

 #home_carousel #arrow-left,
 #arrow-right {
  bottom: 46%;
 }

 .zmdi {
  font-size: 2em;
 }

 .lv-header-alt {
  display: flex;
  align-items: center;
  margin-bottom: 1em !important;
  margin-top: 2em;
  margin-bottom: 4em;
 }

 .lvh-label a span {
  position: relative;
  margin-right: 0;
 }

 .prtemplate-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* margin-left: 1em !important; */
 }

 .t-bar.edit.editable {
  width: 20px;
  height: 20px;
  top: 0;
 }

 .t-bar {
  width: 26px !important;
  height: 26px !important;
  right: 10px !important;
  top: 2px !important;
  left: 0 !important;
 }

 .zmdi.zmdi-edit.flat {
  font-size: 0.8em;
 }

 .check-box.dropdown {
  position: absolute;
  bottom: 0;
 }

 #content .block-header {
  margin-bottom: 0 !important;
 }

 .template-playbar {
  padding: 0;
 }

 .small-resource-card img {
  cursor: pointer;
 }

 .card {
  margin-bottom: 2em;
 }

 .lv-header-alt .lv-actions {
  float: right !important;
  margin-right: 17px;
 }

 .center-area h2 {
  position: relative;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  font-size: 1em;
 }

 .center-area h2.drag-title {
  width: 100%;
 }

 .done {
  margin-right: 1em;
 }

 .a-r {
  justify-content: space-evenly !important;
  width: 200px !important;
 }

 .drag-title-wrapper {
  width: 100vw !important;
 }

 .ng-table-pager .pagination {
  margin-left: 0px;
 }

 .category-dropdown-icon {
  right: 8px;
 }

 .drag-title-wrapper {
  width: 100vw !important;
 }

 .zmdi-search {
  font-size: 1em !important;
 }

 .submenu-resource {
  margin-left: 1em;
 }

 /* PDF Viewer */
 .bookmark {
  font-size: 1em;
 }

 .pdfThumbsLeft {
  float: initial;
  width: 100%;
 }

 .pages_filters {
  display: flex;
  justify-content: center;
 }

 .thumbs ul li a img {
  width: 263px;
  height: 197px;
 }

 .pull-right {
  margin-right: 1.5em;
 }

 .edit-presentation-body .presentationItemClass {
  height: unset !important;
  width: unset !important;
  margin: 0.3em;
 }
}

@media (max-width: 600px) {
 #main {
  padding-bottom: 3em;
 }

 .small-btn .t-bar {
  left: 2px !important;
  top: 2px !important;
 }

 #content {
  padding: 0em;
  width: 100vw;
  margin-left: 1%;
 }

 .container {
  margin-top: 2em;
 }

 .sub-menu ul > li > a {
  padding: 8px 0px 8px 50px;
 }

 .category-card {
  justify-content: flex-start;
  grid-gap: 1em;
 }

 .main-card-body {
  row-gap: 1em;
 }

 .lv-header-alt {
  display: flex;
  align-items: center;
  margin-bottom: 4em;
 }

 .lv-header-alt .lv-actions {
  float: initial;
  margin-top: 0;
  height: 30px;
  margin-left: auto;
 }

 .lv-actions actions {
  margin: 0;
 }

 .lv-header-alt {
  margin-bottom: 1em !important;
  margin-top: 1em;
 }

 .center-box {
  margin: 0;
  float: initial;
  font-size: 1.2em;
 }

 .center-msg {
  display: flex;
  justify-content: center;
  text-align: left !important;
 }

 .center-message {
  width: 100%;
  margin: 2em 0;
 }

 .breadcrumb {
  margin-top: 1em;
  font-size: 0.8em;
 }

 .actions {
  align-items: baseline;
 }

 .actions > li > a,
 .actions > a {
  padding: 0;
 }

 .center-box > a {
  font-size: 0.9em;
 }

 .small-box {
  min-height: 200px;
  padding: 0 10px;
  margin-right: 0;
  text-align: left;
 }

 i.zmdi.zmdi-more-vert {
  font-size: 21px;
 }

 .resource-dropdown-icon {
  font-size: 23px !important;
  margin-right: 1em;
  cursor: pointer;
 }

 .small-resource-card {
  width: 100%;
 }

 .small-resource-card .card-bottom-area {
  width: 100%;
 }

 .card-header .actions {
  top: 0;
  right: 0;
 }

 /* .left-sided-card {
        flex-direction: column;
        justify-content: flex-start;
        align-content: center;
        text-align: center;
        height: 80px;
    } */

 .l img {
  min-height: 100px;
  width: 150px;
 }

 i.zmdi.zmdi-more-vert {
  top: 5px;
 }

 .upload {
  width: 15vw !important;
 }

 .msg-title {
  margin-right: 0;
 }

 .msg-type {
  margin-right: 0;
 }

 .formatted-text-msg {
  width: 200px;
  text-align: center;
 }

 .lvh-label a span {
  position: relative;
  margin-right: 0;
 }

 #notification-miniview {
  top: 50px !important;
  right: -1% !important;
  width: 90%;
 }

 #popular-resource-dropdown {
  width: 100vw !important;
  min-width: auto !important;
  bottom: 0% !important;
  position: fixed !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  font-size: 0.8em !important;
 }

 ul#emailpdf {
  left: auto;
  list-style: none;
 }

 .submenu {
  display: flex;
  flex-direction: column;
 }

 .submenu li {
  margin-bottom: 0.5em;
  cursor: pointer;
 }

 .submenu a {
  color: #4c4c4c;
 }

 .submenu-resource-dropdown {
  display: flex;
  flex-direction: column;
 }

 .submenu-resource li:not(:last-child) {
  margin-bottom: 1em;
 }

 .submenu-resource li a {
  color: #4c4c4c;
 }

 .card {
  border: none;
  margin-top: 1em;
 }

 .sort-ul {
  width: 315px !important;
  right: 0 !important;
 }

 .a-r {
  justify-content: space-evenly !important;
  width: 200px !important;
 }

 .drag-title-wrapper {
  width: 100vw !important;
 }

 .zmdi {
  font-size: 1.2em;
 }

 .notifcation {
  margin-bottom: 0;
 }

 .notifcation img {
  width: 100%;
 }

 #shared-table-overview {
  padding: 0 !important;
 }

 .lvh-label a {
  margin-right: 0;
 }

 .fg-line label {
  font-size: 1em;
 }

 .msg-date {
  margin-left: 0;
  font-size: 12px;
 }

 .contact-email {
  font-size: 1em;
 }

 .card-body .table td {
  width: auto;
 }

 .card-header .small-box h2 {
  margin-left: 0.5em;
  cursor: auto;
 }

 .spinner {
  left: 45%;
 }

 .home-container {
  display: flex;
  justify-content: center;
  align-items: center;
 }

 .media-body .formatted-text-msg {
  overflow: visible;
 }

 .formatted-text-msg .msg-title {
  font-size: 0.8em;
  min-width: 180px;
  margin-right: 15px;
 }

 .formatted-text-msg span {
  font-size: 0.8em;
 }

 .notification-button {
  margin-left: 1em;
  margin-right: 0;
  width: 50px;
  justify-content: center;
  align-items: center;
  display: flex;
 }

 .most-popular-container {
  margin-top: 4em !important;
 }

 .maintable {
  display: flex;
  flex-direction: column;
 }

 .maintable .side-panel {
  width: auto;
 }

 /* Email Modal */
 .modal .emailModal {
  display: flex;
  justify-content: center;
  align-items: center;
 }

 .emailModal .modal-dialog {
  width: 100% !important;
 }

 .modal-dialog {
  min-height: auto;
  margin: 0;
  padding: 5px;
 }

 md-tabs {
  width: 100vw;
 }

 md-pagination-wrapper {
  justify-content: space-around;
  width: 100%;
  padding: 1em;
 }

 md-content {
  border-radius: 10px;
 }

 .md-tab {
  font-size: 0.8em;
  padding: 0 0.3em;
 }

 #email-search-list::placeholder {
  padding-left: 3em;
 }

 .email-modal-header {
  display: flex;
  flex-direction: column;
 }

 .email-modal-header-buttons > a > .zmdi {
  font-size: 0.8em;
 }

 .side-panel {
  width: 100%;
 }

 .side-panel .modal-title {
  font-size: 1.2em;
 }

 .side-main {
  width: 100vw;
 }

 .fg-line {
  margin-bottom: 2em;
 }

 .popover-content {
  overflow-y: auto;
 }

 .searchResultsForm {
  max-height: 70vh !important;
  width: 70vw !important;
 }

 .submenu-mobile {
  margin-left: 1em;
 }

 .modal-content .lv-header-alt .tit {
  position: relative;
  font-size: 1em;
 }

 .modal-content .lv-header-alt .do {
  font-size: 1em;
 }

 .modal-content .lv-header-alt .dont {
  font-size: 1em;
 }

 .modal-content .lv-header-alt h2 {
  width: 100%;
 }

 .modal-content .lv-header-alt h2 a {
  font-size: 0.7em;
 }

 .popover.bottom {
  width: 94vw;
  left: 10 !important;
 }

 .searchResultsForm {
  max-height: 70vh !important;
  width: 100% !important;
 }

 #search_form {
  width: 50vw;
 }

 .pull-right {
  margin-right: 1.6em;
 }
}

.small-resource-card .card-bottom-area h2 {
 white-space: nowrap;
 text-overflow: ellipsis;
 overflow: hidden;
}

@media (max-width: 550px) {
 .small-resource-card .card-bottom-area h2 {
  width: 300px !important;
 }

 .small-resource-card .card-text-area {
  width: 290px;
 }

 /* .lv-header-alt .lv-actions > li {
    margin-right: 0.7em;
  } */
}

@media (max-width: 450px) {
 #header {
  padding: 1em;
 }

 #arrow-left,
 #arrow-right {
  padding: 0.2em 0.4em;
  background: black;
  font-size: 26px !important;
  bottom: 43% !important;
 }

 #arrow-left {
  left: 0 !important;
 }

 #arrow-right {
  right: 0 !important;
 }

 #notification-miniview {
  top: 50px !important;
  right: -1% !important;
  width: 90%;
 }

 #search_form {
  display: flex;
  flex-direction: row;
  /* top: 0 !important; */
 }

 .container {
  padding: 0 0.9em 0 0.5em !important;
 }

 .pull-right {
  margin-right: -1em;
 }

 .sidebar-trigger {
  margin: 0;
 }

 .SETVI_header_content {
  width: 100%;
  margin-left: 1em;
 }

 #search_form {
  flex: 1;
  width: 100%;
 }

 .SETVI_header_content > * {
  flex: auto;
 }

 .frontpage-thumb {
  display: flex;
  flex-direction: row;
 }

 .card-header:not(.ch-alt) {
  padding: 0;
  margin: 2em 0;
 }

 .carousel-inner .small-box {
  width: revert;
 }

 .card-header .small-box {
  font-size: 0.8em;
 }

 /* .photos .col-md-3 {
  width: 100%;
 } */

 .col-md-3 col-sm-4 col-xs-6 {
  padding: 0;
 }

 .actions > li > a,
 .actions > a {
  width: 20px;
  height: 20px;
  font-size: 12px;
 }

 .small-resource-card {
  width: 80vw;
 }

 .small-resource-card .card-bottom-area h2 {
  width: 220px !important;
 }

 .small-resource-card .card-text-area {
  width: 275px;
 }

 .formatted-text-msg {
  width: 150px;
 }
}

#header-spacer {
 display: block;
}

@media (max-width: 375px) {
 .small-resource-card .card-text-area {
  width: 235px;
 }
}

@media (max-width: 350px) {
 .small-resource-card .card-text-area {
  width: 200px;
 }
}

@media (min-width: 2500px) {
 /* #content {
    width: calc(100% - 250px);
  } */
 .lv-header-alt {
  max-width: 100%;
 }

 .pull-right {
  margin-right: 2em;
 }
}

@media only screen and (min-width: 1366px) and (max-width: 1450px) {
 .container {
  padding-left: 0 !important;
 }
}

@media only screen and (min-width: 1366px) {
 #main {
  grid-template-columns: [sidebar] minmax(100px, 260px) [content] 4fr;
 }
}

@media only screen and (min-width: 1366px) and (max-width: 1600px) {
 #sidebar {
  width: 17vw;
 }

 .main-card-body {
  grid-template-columns: repeat(auto-fill, 267px);
 }
}

@media (max-width: 1279px) {
 #sidebar {
  visibility: hidden;
 }

 #main {
  grid-template-columns: [sidebar] auto [content] 1fr;
 }

 .main-menu > li > a {
  padding: 14px 8px 14px 45px;
 }
 .main-menu .sidebar-submenu {
  padding: 14px 8px 14px 5px;
 }

 .main-menu > li > a > i,
 .main-menu > li > a > span > i {
  padding: 0;
 }

 .sidebar-trigger {
  display: block;
 }

 .main-menu {
  width: 100%;
 }

 .main-menu > li {
  margin-bottom: 1em;
 }

 .top-menu > li {
  margin: 0;
 }

 .pull-right {
  margin-right: 1.5em;
 }

 .slider {
  position: relative;
 }

 .sidebar-company-image {
  margin-top: 1em;
  margin-bottom: 1em;
 }

 #content .block-header {
  margin-bottom: 1em;
 }

 #content {
  width: 100%;
 }

 #header {
  padding: 1em;
 }
}

@media (min-width: 1280px) and (max-width: 1365px) {
 #main {
  grid-template-columns: [sidebar] minmax(100px, 215px) [content] 4fr;
 }
}

@media only screen and (max-width: 1365px) {
 #header-spacer {
  display: none;
 }

 #search_form,
 .popover.bottom {
  width: 48vw;
 }

 .popover.bottom {
  /* left: 10% !important; */
 }

 .search_container {
  width: 100%;
 }

 #home_resource-type-nav span {
  font-size: 18px;
 }

 .messagesContainer {
  padding: 0 2em 0 1em !important;
 }
}

@media only screen and (min-width: 800px) and (max-width: 1070px) {
 .results > ul > li > div > div.right-side {
  width: calc(95% - 61px);
 }

 .results > ul > li > div > div.right-side h4 {
  width: 84%;
 }

 .messagesContainer {
  padding: 0 2em 0 1.5em !important;
 }
}

@media only screen and (max-width: 600px) {
 .popover.bottom {
  width: 96.5%;
  left: 1.5% !important;
 }

 .bookmarksForm {
  width: 100%;
 }
}

@media screen and (min-width: 1600px) {
 /* .main-menu > li > a {
  padding: 4px 8px 4px 45px;
 } */
 .main-menu .sidebar-submenu {
  padding: 4px 8px 4px 5px;
 }
}

@media screen and (max-width: 1360px) {
 .sub-menu ul > li > a {
  margin-left: 1em;
 }
}
