/* Palette 1*/
.palette1 {
    background-image: linear-gradient(234deg,
        rgb(39, 38, 38) 0%,
        #bf1922 10%) !important;
    color: #fff !important;
    z-index: 10000;
  }
  
  .palette1 .policylink {
    color: #fff !important;
  }
  
  .palette1 .spopupbtnok {
    color: #bf1922 !important;
    background-color: #fff !important;
  }
  
  .palette1.wire .spopupbtnok {
    border: 1px solid !important;
    border-color: yellow !important;
    background-color: transparent !important;
    color: yellow !important;
  }
  
  /* Palette2 */
  .palette2 {
    background-color: #edeff5 !important;
    color: #838391 !important;
  }
  
  .palette2 .spopupbtnok {
    color: #fff !important;
    background-color: dodgerblue !important;
  }
  
  .palette2.wire .spopupbtnok {
    border: 1px solid !important;
    border-color: dodgerblue !important;
    background-color: transparent !important;
    color: dodgerblue !important;
  }
  
  /* Palette3 */
  .palette3 {
    background-image: linear-gradient(234deg,
        #438ed9 30%,
        #5a94ce 90%) !important;
    color: #fff !important;
  }
  
  .palette3 .policylink {
    color: #d3e4fe;
  }
  
  .palette3 .spopupbtnok {
    background-color: #0b5eb1 !important;
    color: #fff !important;
  }
  
  .palette3.wire .spopupbtnok {
    border: 1px solid !important;
    border-color: navy !important;
    background-color: transparent !important;
    color: #fff !important;
  }
  
  /* Palette4 */
  .palette4 {
    background-image: linear-gradient(234deg,
        #8c869f 60%,
        #bcbcc6 90%) !important;
    color: #fff !important;
  }
  
  .palette4 .policylink {
    color: wheat !important;
  }
  
  .palette4 .spopupbtnok {
    background-color: whitesmoke;
    color: #000 !important;
    border: none;
  }
  
  .palette4.wire .spopupbtnok {
    border: 1px solid !important;
    border-color: snow !important;
    background-color: transparent !important;
    color: snow !important;
  }
  
  /* Palette4 End */
  /* Palette5 */
  .palette5 {
    background-color: #000;
    color: #00ff00;
  }
  
  .palette5 .policylink {
    color: #00cc00;
  }
  
  .palette5 .spopupbtnok {
    background-color: #00ff00 !important;
    color: #000 !important;
  }
  
  .palette5.wire .spopupbtnok {
    border: 1px solid !important;
    border-color: #00ff00 !important;
    background-color: transparent !important;
    color: #00ff00 !important;
  }
  
  /* Palette6 */
  .palette6 {
    background-color: #75b5be;
    color: #fff;
  }
  
  .palette6 .policylink {
    color: #fff;
  }
  
  .palette6 .spopupbtnok {
    background-color: #1d7a82 !important;
    color: #fff !important;
  }
  
  .palette6.wire .spopupbtnok {
    border: 1px solid !important;
    border-color: #14a7d0 !important;
    background-color: transparent !important;
    color: #14a7d0 !important;
  }
  
  /* Palette7 */
  .palette7 {
    background-color: #eb6c44;
    color: #fff;
  }
  
  .palette7 .policylink {
    color: #fbe2da;
  }
  
  .palette7 .spopupbtnok {
    background-color: #f5d948 !important;
    color: #000 !important;
  }
  
  .palette7.wire .spopupbtnok {
    border: 1px solid !important;
    border-color: #f5d948 !important;
    background-color: transparent !important;
    color: #f5d948 !important;
  }
  
  /* Palette8 */
  .palette8 {
    background-color: #64386b;
    color: #ffcdfd;
  }
  
  .palette8 .policylink {
    color: #e0afe0;
  }
  
  .palette8 .spopupbtnok {
    background-color: #f8a8ff !important;
    color: #3f0045 !important;
  }
  
  .palette8.wire .spopupbtnok {
    border: 1px solid !important;
    border-color: #f8a8ff !important;
    background-color: transparent !important;
    color: #f8a8ff !important;
  }
  
  .window {
    position: fixed !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box;
  
    font-family: Helvetica, Calibri, Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5em !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    -webkit-transition: opacity 1s ease !important;
    transition: opacity 1s ease !important;
  }
  
  /* General attributes of Floating */
  .floating {
    padding: 2em !important;
    width: 24em !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .window.banner {
    padding: 1em 1.8em !important;
    width: 100% !important;
    border-radius: 5px !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
  }
  
  /* Link */
  .policylink {
    opacity: 0.8 !important;
    display: inline-block !important;
    padding: 0.2em !important;
    text-decoration: underline !important;
  }
  
  /* When mouse hovers on the link */
  .policylink:hover {
    opacity: 1 !important;
    text-decoration: none !important;
    transition: 1.5s !important;
  }
  
  /*Credit*/
  .credit a {
    font-size: 10px !important;
    color: #9c9c9c !important;
    transition: 0.3s ease-in-out !important;
    border-radius: 5px !important;
  }
  
  .credit a:hover {
    text-decoration: none !important;
  }
  
  .credit svg {
    font-size: 16px !important;
    color: #9c9c9c !important;
    fill: #9c9c9c !important;
  }
  
  .banner .credit {
    position: absolute !important;
  }
  
  .banner .credit a {
    display: flex !important;
    align-items: center !important;
    background-color: #5a5a5a !important;
    color: #9c9c9c !important;
    padding: 5px !important;
  }
  
  .banner .credit a:hover {
    background-color: #fff !important;
    color: #000 !important;
    padding: 5px 10px !important;
  }
  
  .credit a span {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
  }
  
  .credit a:hover span {
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1em !important;
    margin-left: 2px !important;
  }
  
  .banner .credit a:hover svg {
    color: #1c86fa !important;
  }
  
  .banner.top .credit {
    top: 100% !important;
    margin-top: 5px !important;
  }
  
  .banner.bottom .credit {
    bottom: 100% !important;
    margin-bottom: 5px !important;
  }
  
  .banner.edgeless .credit {
    margin-left: 10px !important;
  }
  
  .floating .credit {
    margin-top: 10px !important;
  }
  
  .floating .credit a {
    display: flex !important;
    padding: 3px 6px !important;
    justify-content: center;
    align-items: center;
  }
  
  .floating .credit a svg {
    margin-right: 2px !important;
  }
  
  .floating .credit a:hover {
    background-color: #fff !important;
    color: #9c9c9c !important;
    padding: 3px 6px !important;
  }
  
  .floating .credit a:hover svg {
    color: #1c86fa !important;
  }
  
  .floating.block .credit {
    margin-top: 10px !important;
  }
  
  .floating.edgeless .credit {
    padding: 0.5em 2em !important;
    margin-top: 0 !important;
  }
  
  .floating.classic .credit {
    margin-top: 10px !important;
  }
  
  .floating.wire .credit {
    margin-top: 10px !important;
  }
  
  /* Button */
  .spopupbtnok {
    opacity: 0.9 !important;
    display: block !important;
    padding: 0.4em 0.8em !important;
    font-size: 0.9em !important;
  
    text-decoration: none !important;
    font-weight: 700 !important;
    border-width: 2px !important;
  
    text-align: center !important;
    white-space: nowrap !important;
  }
  
  /* Responsive Rules */
  @media screen and (max-width: 550px) {
    .window.floating.left {
      display: flex;
      right: 0em !important;
      left: 0em !important;
      bottom: 0;
      width: 100% !important;
    }
  }
  
  .window.floating.left {
    bottom: 0 !important;
    left: 3em;
    border-radius: 0.5em !important;
  }
  
  /* Responsive Rules */
  @media screen and (max-width: 550px) {
    .window.floating.right {
      display: flex;
      right: 0em !important;
      left: 0em !important;
      bottom: 0;
      width: 100% !important;
    }
  }
  
  /* For floating bottom right */
  .window.floating.right {
    bottom: 0 !important;
    right: 3em;
    /* left: unset !important; */
    border-radius: 0.5em !important;
  
  }
  
  /* "Learn more" Link  */
  .floating>.policylink {
    margin-bottom: 1em !important;
  }
  
  /* Text adjustments for floating cookie */
  .floating .message {
    display: block !important;
    margin-bottom: 1em !important;
  }
  
  /* Text and link container for floating */
  .window.floating .compliance {
    -webkit-box-flex: 1 !important;
    -ms-flex: 1 0 auto !important;
    flex: 1 0 auto !important;
    width: 100%;
  }
  
  /* Banner */
  .window.banner {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
  }
  
  /* banner attributes */
  .banner.top {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
  }
  
  .banner.bottom {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }
  
  /* banner Text */
  .banner .message {
    display: block !important;
    -webkit-box-flex: 1 !important;
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
    max-width: 100% !important;
    margin-right: 1em !important;
  }
  
  /* text and link */
  .compliance {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -ms-flex-line-pack: justify !important;
    align-content: space-between !important;
  }
  
  /* When selected floating, button adjustment */
  .floating .compliance>.spopupbtnok {
    -webkit-box-flex: 1 !important;
    -ms-flex: 1 !important;
    flex: 1 !important;
  }
  
  /* When another layout or position changed, button readjustment */
  .spopupbtnok+.spopupbtnok {
    margin-left: 0.5em !important;
  }
  
  /* Floating when classic theme is selected */
  .floating {
    margin-bottom: 10px;
  }
  
  .floating.classic {
    padding: 1.2em !important;
    border-radius: 5px !important;
  }
  
  /* When selected Floating and classic theme, Text and the link adjustments */
  .floating.classic .compliance {
    text-align: center !important;
    display: inline !important;
    -webkit-box-flex: 0 !important;
    -ms-flex: none !important;
    flex: none !important;
  }
  
  /* When selected Classic Theme, Button border style */
  .classic .spopupbtnok {
    border-radius: 5px !important;
  }
  
  /* When selected Classsic Theme button text adjustment */
  .classic .spopupbtnok:last-child {
    min-width: 140px !important;
  }
  
  /* When floating and Classsic Theme is selected button can become resizable */
  .floating.classic .spopupbtnok {
    display: inline-block !important;
  }
  
  /* When Edgeless Theme selected dialogbox contents padding will change */
  .edgeless.window {
    padding: 0 !important;
  }
  
  /* Floating and Edgeless Theme is selected message text adjust */
  .floating.edgeless .message {
    margin: 2em !important;
    margin-bottom: 1.5em !important;
  }
  
  /* When Banner and edgeless theme is selected button will change */
  .banner.edgeless .spopupbtnok {
    margin: 0 !important;
    padding: 0.8em 1.8em !important;
    height: 100% !important;
  }
  
  /* When Banner and edgeless theme is selected message will adjust */
  .banner.edgeless .message {
    margin-left: 1em !important;
  }
  
  /* When floating and edgeless theme is selected button and button element will adjust */
  .floating.edgeless .spopupbtnok+.spopupbtnok {
    margin-left: 0 !important;
  }
  
  /* When mouse hovers button */
  .spopupbtnok:hover {
    opacity: 1 !important;
    cursor: pointer !important;
  }
  
  .credit a:hover svg {
    fill: #1e86fb !important;
  }
  
  .credit a:hover span {
    color: black;
  }
  
  span.credit {
    position: absolute;
    bottom: 3px;
    left: 4px;
  }