 :root{
  --accent:#0376A0;
  --accentLight: #ccdbe5;
  --imageBorder:#cecece;
  --neutralLighter:#f3f2f1;
  --neutralLight:#EDEBE9;
  --warning: red;
  --textColour:#323130;
 }
 html,
 body {
     width: 100%;
     height: 100%;
     margin: 0;
     padding: 0;
     overflow: hidden;
 }
.b {
    font-weight: bold;
}
a:any-link{
  color: var(--accent);
  font-weight:600;
}
.bolder{
  font-weight:400;
}
/*MAIN PAGES STYLING*/
.page{
  margin:0 auto;
  max-width: 1060px;
}
#page-container{
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  min-width:300px;
}
#page-content-container{
  padding:0 3%;
  height:100%;
  overflow: auto;
}
#header {
  display: flex;
  padding:0.4em;
  text-align: center;
  z-index:99;
}
#header-left, #header-right{
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
#header-left{
  text-align:left;
}
#header-right{
  text-align:right;
}
.headerAlign{
  height: 34px;
}
.menuButton{
  border-radius: 4px;
  border:none;
  width:34px;
  height:34px;
  cursor: pointer;
  background-color:inherit;
  margin-right: 5px;
  color: var(--textColour);
}
.menuButton:hover{
  background-color: var(--accentLight)
}
.leftMenuButton{
  padding-top:3px;
}
#buy-now{
  margin-right:5px;
  height:24px;
  font-size: 12px;
}
.headerAlignCentre{
  flex-grow: 1;
  text-align: center;
}
.headerAlign + .headerAlign { 
  margin-left: 2%;
}
#avatar{
  background-image: url("../../assets/account-circle.png");
  font-size: 12px;
  color:white;
  width:28px;
  height:28px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -3px;
}
#tooltip-home-text{
  margin-left: 7.5em;
  margin-right: -3em;
  min-width:130px;
}
#tooltip-chunk-text{
  margin-left:9em;
  min-width:180px;
}
#tooltip-filter-text{
  margin-right: 9em;
}
#tooltip-whats-new-text, #tooltip-bookmarks-text, #tooltip-copy-selected-ids, #tooltip-filter-text, #tooltip-select-same-colour-text{
  min-width:180px;
}
.tooltipArea{
  display:block;
  max-width:210px;
  min-width:0;
  word-wrap: break-word;
  white-space: initial;
  word-break:keep-all;
  padding:0;
  margin:0;
  text-align: start;
  font-size:12px;
  }
/*MENU STYLING*/

#menu-button{
  margin-right:12px;
}
#header-menu {
  display:none;
  right:19px;
  top:44px;
  min-width: 150px;
  position:absolute;
  margin-left:30px; 
}
.buttonIcon{
  margin-right:10px;
  vertical-align:text-top;
}
#menu-subscription{
  height:100%;
  line-height: 1.8;
}
.menuItemSubscription{
  text-align: left;
  margin-top:0.2em;
  margin-bottom:0.2em;
}
#chunk-menu, #select-same-colour-menu{
  display:none;
  min-width: 180px;
  position:absolute;
  left:7px;
  top:44px;
}
#select-same-colour-menu{
  margin-left:45px;
}
/*SEARCH PAGE STYLING*/
.searchContainer{
  height:100%;
}
#search-image-container{
  width:100%;
  padding-top: 2rem;
}
.bottomDiv{
  padding-top: 1rem;
}
fluent-menu fluent-option {
  align-self: flex-end;
  display:none;
}
#search-box-input{
  min-width:228px;
  width:100%;
}
#search-row{
  align-items: center;
  display: flex;
  position: relative;
  margin-top: 1em;
  width:100%;
}
.recentTitle{
  font-size: 1.1.em;
  font-weight: 500;
}
#cancel-indicator{
  display:none;
  cursor: pointer;
}
.bagLogoImage{
  /*margin-top:18vh;*/
  margin-left: auto;
  margin-right: auto;
  display: block;
  aspect-ratio:400px/100px;
  width:85%;
  max-width: 300px;
}
#menu-recent-search{
  width:100%;
  position: absolute;
  top: 35px;
  display:none;
  z-index:2;
}
#recent-search-title{
  padding-left: 15px;
  padding-top: 5px;
  padding-bottom: 8px;
  font-weight: 500;
}
.link{
  color: var(--accent);
  font-weight:600;
  text-decoration: underline;
  cursor: pointer;
}
.searchQueryText{
  border-bottom: 2px solid var(--accent);
}
#btn-filter{
  display:none;
  height: 32px;
  width: 32px;
  margin-top: 1px;
  align-items: center;
  justify-content: center;
  margin-left:3px;
  border-bottom:1px solid transparent;
}
#btn-filter:hover{
  background-color: var(--neutralLighter);
}
#btn-filter i{
  font-size:1.2em;
  color:#515151;
}
#filter-surround{
  margin-top: 8px;
  padding:5px 0;
  display:none;
  width: 100%;
}
#filter-area{
  display: flex;
  justify-content: center;
  font-weight:500;
}
.filterLabel{
  display:inline-block;
  cursor: pointer;
  text-align:center;
  padding:3px;
  border:1px solid var(--imageBorder);
  color: var(--accent);
  font-size:0.9em;
  border-radius: 4px;
  margin-right: 0.5em;
}
.filterLabel[checked]{
  background-color: var(--accent);
  color:white;
  border:1px solid var(--accent);
}
#filter-all{
  width: 10%;
}
.filterNotAll{
  width: 45%;
}
#graphic-types-results-outer{
  display:none;
  margin-top:0.5em;
}
#search-tip{
  text-align: left;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
#tip-description{
  margin-top:0;
}
.subheadTitleText{
  margin-bottom: 0.5em;
}
.subheadTitle{
  background-color: #CEDBE5;
  padding: 2px 6px;
  border-radius: 4px;
  color: #39769E;
  font-weight: 600;
}
  /*RESULTS PAGE STYLING*/
  #page-results{
    display:none;
    padding-bottom: 3em;
  }
  #results-search{
    padding-top:1em;
    padding-bottom:2em;
    font-weight:500;
  }
  #results-count{
    float:left;
  }
  #clear-bookmarks{
    float:right;
  }
  #copy-selected-ids-button{
    margin-right:5px;
  }
.thumbnail-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .thumbnail-message {
    text-align:center;
    margin:1.5em auto;
  }
  .thumbnail-message span{
    text-decoration: underline;
    text-decoration-color:  var(--accent);
  }
  .col {
    flex: 1;
    min-width: 32%;
    max-width: 49%;
    display:flex;
    justify-content: center;
  }
  .col img{
    max-width:96%;
    min-width:60%;
    aspect-ratio:384/216;
    border:1px solid var(--imageBorder);
    margin-bottom:5px;
  }
  .col img:hover{
    cursor: pointer;
    border-color: var(--accent);
  }
  .selectCheck, #copy-selected-ids-button{
    display: none;
  }
   input.selectCheck{
    margin-right:-20px;
    align-self: flex-end;
    margin-bottom:10px;
    z-index:1;
  }
  .flexed{
    display:flex;
  }
  #end-results-message{
    margin-top:3em;
    text-align:center;
  }
  #no-results, #no-filtered-results, #no-bookmarks{
    display:none;
    text-align:center;
    margin-left: auto;
    margin-right:auto;
    margin-top:10vh;
  }
  #no-graphics-found{
    min-height:40vh;
  }
 .noResultsIcon{
    height:20%;
    width:20%;
    fill: var(--accent);
  }​
  #sponsor-a-graphic{
    width:90%;
    margin-bottom: 1em 0;
  }
  .greyBox{
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 16px;
  }
/*GRAPHIC DETAILS PAGE STYLING*/
  
#page-graphic-details{
  display:none;
}
#nav-button{
    width: 100%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
  }
  #graphic-thumbnail{
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  #graphic-thumbnail img{
    width:100%;
    aspect-ratio:384/216;
    border:1px solid var(--imageBorder);
  }
  .largeButton{
    margin-top:10px;
    width:100%;
    height:40px;
    line-height: 35px;
    font-weight: 600;
    font-size:1.2em;
  }
  #btn-insert-graphic i{
    margin-top: 4px;
  }
  #copy-bookmark{
    margin: 1.5em 0;
    width:100%;
  }
  .copyBookmarkContent{
    display: inline-block;
  }
  #graphic-id{
    margin-left:0.5em;
  }
  #copy-id-to-clipboard-alert{
    margin-left: 0.5em;
  }
  .keyword-area-container{
    border-radius: 6px;
    padding:0.5em;
  }
  .graphic-types-container{
    border-radius: 6px;
    padding:0.5em;
    display: flex;
    flex-wrap: wrap;
    max-height: none; /* This will be controlled via jQuery */
    overflow: hidden; /* Hide overflow when needed */
    transition: max-height 0.3s ease; /* Smooth transition */
  }

  .keyword-area{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: 4px;
    overflow:hidden;
  }
  .keywordCol {
    display:flex;
    justify-content: center;
    margin-top:0.2em;
    margin-bottom:0.2em;
  }
  .keywordCol fluent-button{
    font-size:0.85em;
    height:2.2em;
    margin:0;
    padding:0;
    border:1px solid var(--imageBorder);
    margin-right: 3px;
    line-height:0.5em;
  }
  .keywordCol fluent-button:hover{
    border:1px solid var(--accent);
    background-color: #ffffff;
  }
  .show-hide-keywords{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .show-hide-keywords i{
    font-size:1.2em;
  }
  .btnShowHide{
    cursor: pointer;
    margin-top: -9px;
    z-index: 1;
    border-radius: 50%;
    padding-left: 0.3em;
    padding-right: 0.3em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    display: inline-flex;
  }
  /*NOT LICENSED AND VALIDATE LICENSE PAGES STYLING*/
  #page-not-licensed, #page-validate-license, #page-expired-license{
    display: none;
    height: calc(100% - 34px);
  }
 .imageContainer{
    height: calc(41.7% - 68px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    margin: 0 auto;
  }
  #btn-buy-not-licensed, #btn-activate-license{
    margin:1.5em 0;
  }
  #activate-errors{
    color: var(--warning);
    font-weight:bold;
    height: 1em;
    margin-top: 0;
    margin-bottom: 1.4em;
  }
 .closeSurround{
    text-align:right;
    margin-top:0.5em;
  }
  .closeSurround i{
    padding-left:0.2em;
    vertical-align:text-bottom;
    display: inline-flex;
    align-items: center;
  }
  #input-validate-license{
    margin: 0 0 1em 0;
    width: 100%;
  }
  #not-licensed-text, #validate-license-text{
    width:90%;
    margin:0 auto;
    margin-top:3em;
  }
  .largeIcon{
    font-size:2em;
  }
  .rotateNinety{
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
#waiting-state{
  display: none;
}
.expiredText{
  color: var(--warning);
  font-weight: bold;
}
.expiryMessageTitle{
  margin: 1.2em 0;
}
#expired-license-text{
  text-align: center;
}
.linkHasPointer{
  cursor: pointer;
}
.linkAuto{
  cursor: auto;
}
  @media (max-width:850px) {
    .col {
      min-width: 50%;
    }
    
  }
  @media (min-width:851px) {
    .col {
      max-width:32%
    }
  }
  @media (max-width: 300px) {
    .col {
      min-width:95%;
    }
  }
.debugHide { display: none; }
