/* SIDE BAR */

  #sidebar_content{
    display: none !important;
  }

  #sidebar{
    margin-top: -14em;
    padding: 1em !important;
    padding-top: 14em !important;
    border-bottom-left-radius: 0.5em !important;
    border-bottom-right-radius: 0.5em !important;
    border-top: 0;
    background-blend-mode: darken !important;
    background-size: cover !important;

    /*
    position: relative;
    z-index: 3;
    */
    
    /* FIX SAFARI RENDERING BUG */
      border: none !important;
  }
  #sidebar a{
      text-decoration: none;
  }
  #sidebar .wp-block-latest-posts li{
      border-top: 1px solid;
      border-bottom: 1px solid;
      border-color: transparent !important;
  }
  #sidebar .wp-block-latest-posts li:hover{
      border-color: var(--awb-color4) !important;
  }
  #sidebar .widget-title{
      margin-top: 0px;
  }
  #sidebar .widget{
      margin-bottom: 0px;
  }


  .home #sidebar{
      background-image: url(../img/florida_bw.jpg);
      background-position: left center;
      background-size: 100vw;
  }
  
  /*
  .home #sidebar::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url(../img/florida_bw.jpg);
    background-position: left center;
    background-size: auto 100%;
    /* mix-blend-mode: multiply; */
    background-blend-mode: multiply;
    z-index: -1;
    background-color: var(--color2);
  }
  */


/* SIDEBAR AUTHOR */

  .sidebar .widget{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  #sidebar .author{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #sidebar .author .author_portrait{
    /*
    margin-left: -2em !important;
    max-width: calc(100% + 4em) !important;
    width: calc(100% + 4em) !important;
    background-color: var(--awb-color4);
    */
    border-radius: 200% !important;
    width: 100%;
    height: auto;
    /* border: 2px dashed var(--awb-color4) !important; */
    overflow: hidden;
    display: inline-block;
    position: relative;
  }
  #sidebar .author .portrait_animation{
    position: absolute;
    height: calc(100% - 4px);
    width: calc(100% - 4px);
    z-index: 2;
    border-radius: 200% !important;
    border: 2px dashed var(--color3) !important;
    pointer-events: none;
    animation-direction: reverse;
    animation: spin 10s linear infinite;
  }
  #sidebar .author .portrait_backround{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 0;
    background-image: url(../img/portrait_bgA.png);
    background-size: contain;
    pointer-events: none;
  }
  #sidebar .author .portrait_overlay{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 2;
    background: var(--color2);
    mix-blend-mode: darken;
    transition: opacity 0.2s linear;
  }
  #sidebar .author .author_portrait img{
    height: auto;
    width: 100%;
    z-index: 1;
    position: relative;
    max-width: 100% !important;
  }

  #sidebar .author .portrait_animation{ opacity: 0; transition: opacity 3s linear; }
  .loaded #sidebar .author .portrait_animation{ opacity: 1; }
  #sidebar .author .author_portrait img{ opacity: 0; transition: opacity 1s linear; }
  .loaded #sidebar .author .author_portrait img{ opacity: 1; }

  #sidebar .author .author_portrait:hover .portrait_overlay{
    opacity: 0;
  }
  #sidebar .author *{
    color: var(--color3);
  }
  #sidebar .author .author_name{
    margin: 0.5em;
  }
  #sidebar .author .author_name:before{
    content: "-";
  }
  #sidebar .author .author_name:after{
    content: "-";
  }
  .author .author_buttons{
    display: flex;
    justify-content: center;

    border: 2px dotted var(--color3);
    border-radius: 0.5em;
    border-right: none;
    border-left: 0;

    list-style: none;
    margin: 0;
    padding: 0;
  }
  .author .author_button{
    display: flex !important;
    padding: 0.5em;
  }
  .author .author_button:hover .author_icon{
    color: var(--color1) !important;
  }
  .author .author_icon{
    font-size: 1em;
    margin: 0;
  }
  
  @media only screen and (max-width: 782px){
    #sidebar{
      margin: 0 !important;
      margin-top: 1em !important;
    }
    .home #sidebar{
      background-size: 300vw;
    }
    #sidebar .author .author_portrait{
      
    }
  }
  @media only screen and (max-width: 1024px){
    #sidebar{
      padding-top: 2em !important;
      margin: 0 !important;
      border-top-left-radius: 0.5em !important;
      border-top-right-radius: 0.5em !important;
    }
    .home #sidebar{
      background-size: 320% 320% !important;
    }
    
    #sidebar .author .author_portrait{
      width: 50%;
    }
  }