.modal-dialog {
    width: inherit !important;
  }
  /*reset the width back to bootstrap default*/
  #showClipartModelBtn {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* when we refactor we should replace this entire modal with a bootstrap modal */
  .clipart-modal-header {
    padding: 25px;
  }
  
  #clipart-close {
    position: absolute;
    right: 40px;
  }
  
  .bas-clipart-icon {
    width: 64px;
  }
  
  .clipartSearch {
    padding-bottom: 10px;
  }
  
  .clipartSearch span {
    color: #666666;
    font-size: 17px;
    padding: 7px 1px 6px 29px;
  }
  
  .clipartSearchBox {
    display: block;
    white-space: nowrap;
    display: flex;
  }
  #clipartSearchTerms {
    width: 65%;
  }
  #search-clipart {
    width: 35%;
  }
  
  .clipartSearchTerms,
  .clipartSearchBox .btn-search {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    height: 30px !important;
  }
  
  .clipartSearchBox .btn-search {
    height: 30px !important;
    padding: 6px 19px !important;
  }
  
  .bas-clipart-icon img {
    vertical-align: bottom;
    max-height: 100%;
  }
  
  .clipart-category-menu {
    border: 2px solid #e1e6eb;
    border-radius: 5px;
    text-align: left !important;
    background-color: #ffffff;
  }
  
  .clipart-category-menuheading {
    font-weight: bolder !important;
    background-color: whitesmoke !important;
    padding: 8px !important;
  }
  
  .clipart-category-menulist {
    overflow-y: scroll !important;
    max-height: 550px !important;
    overflow-x: hidden !important;
  }
  
  .clipart-category-menuitem {
    padding: 8px !important;
    border-bottom: thin solid #e1e6eb !important;
    font-weight: bold !important;
    cursor: pointer;
  }
  
  .clipart-category-submenuitem {
    padding: 8px 8px 8px 16px !important;
    border-bottom: thin solid #e1e6eb !important;
    color: #004a99 !important;
    cursor: pointer !important;
  }
  
  .modal-clipart {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

.cimpress-designer .toolbar, .cimpress-designer .toolbar .dcl-contextual-toolbar {
  display: block !important;
}
  
  .ct-loding-new-style {
    position: fixed;
    top: 50%;
    right: 36%;
    z-index: 999;
    width: 72px;
    height: 72px;
    margin: -16px -16px 0 0;
    background: url("../images/spinner.svg") center no-repeat;
  }
  
  .btnViewAll {
    float: right;
    padding-right: 12px;
    padding-top: 22px;
    padding-left: 14px;
  }
  
  .clipart-pagination {
    text-align: right !important;
  }
  
  .viewPaged {
    text-align: right;
    padding-bottom: 19px;
    padding-top: 12px;
    padding-right: 30px;
  }
  
  .modal-image-scrollbar {
    height: 514px !important;
  }
  
  .category-selected {
    font-weight: bolder !important;
  }
  
  .rotate {
    -moz-transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    transition: all 0.5s linear;
  }
  
  .rotate.down {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  
  .results-header {
    text-align: left;
    font-weight: bold;
    padding-top: 27px;
  }
  
  .btnViewPaged {
    padding-top: 8px;
  }
  
  .noResultsFound {
    height: 100%;
    width: 100%;
    font-size: 15px;
    font-family: cursive;
  }
  
  .noResultsFound img {
    height: 50%;
  }
  
  .noResultsFound > p:first-of-type {
    color: darkorange;
  }
  
  .noResultsFound ul {
    list-style-type: unset;
    text-align: left;
    padding-left: 62px;
  }
  
  .pagination-sm > li > span {
    width: 28px !important;
  }
  
  .clipart-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .clipart-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 1000px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    font: normal 14px Arial, Helvetica, sans-serif;
    border-radius: 5px;
  }
  .icon-widget-icon {
    float: left;
    padding: 10px;
    cursor: pointer;
    height: 64px;
    border: 1px solid transparent;
  }
  
  
  /* Mobile Specific Styling */
  @media only screen and (max-width: 768px) {
    .modal-dialog {
      margin: inherit !important;
    }
    .clipartSearchBox {
      display: flex;
    }
    .clipartSearchBox input[type=text] {
      width: 65%;
      padding-left: 10px;
    }
    .clipartSearchBox button {
      width: 35%;
    }
    .clipart-category-menulist {
      height: 30vh;
      overflow-y: scroll;
    }
    #image_item {
      text-align: center;
      justify-content: center;
    }
    .clip-art-dialog .modal-dialog {
      height: 100%;
      max-height: 100%;
    }
    .clip-art-dialog .modal-content {
      min-height: 100%;
      border-radius: 0;
    }
    /* hide clipart tab panel on mobile, the modal should pop up without the tab panel */
    .cimpress-designer .content-panel.panel--clipart.is-active {
      display: none;
    }
  }

/* Adding specific media query for weird resolutions */

@media screen and (max-height: 865px) {

  .designer-promo-bar {
    display: none !important;
  }
}
@font-face {
  font: Varela Round;
  font-display: swap;
}