:root{
    --to_top_dim:30px;
    --pan_upper_transY: -7;/*se % auta ta duo. Ta default apo ti js */
    --pan_lower_transY: 7;
    --pan_time: 0;

}

:link,
a:visited,
a:focus,
a:hover,
a:active {
    text-decoration: none;
    color: black;
    outline: none;
}

#arthro_sigle a:link,
#arthro_sigle a:visited,
#arthro_sigle a:hover,
#arthro_sigle a:active {
    text-decoration: underline;
    color: rgb(52, 167, 255);
    cursor: pointer;
}


.page_cont{
    background-color: transparent;
}

#button_to_top {
    display: inline-block;
    background-color: #003a7c;
    width: var(--to_top_dim);
    height: var(--to_top_dim);
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }

  #button_to_top::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    line-height: var(--to_top_dim);
    color: #fff;
  }
  #button_to_top:hover {
    cursor: pointer;
    background-color: #333;
  }
  #button_to_top:active {
    background-color: #555;
  }
  #button_to_top.show {
    opacity: 1;
    visibility: visible;
  }



  /* ==========SINGLE-ARTHRO========== */

  
  .arthro_sigle_text_cont{
    margin-top:1rem;
    display: flex;
    flex-direction: column;
    width:70%;    
    
    text-align: justify;
    text-justify: inter-character;
}
.arthro_sigle_text_cont>p{
    margin:0;
    padding:0;
    margin-bottom: 1ch;
}

  /* .actual_link{
    text-decoration: underline;
    color: rgb(52, 167, 255);
    cursor: pointer;
} */

#arthra_nav_cont{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}



  #arthra_cont{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    margin-top:2rem;
    min-width: 100%;
}

  #arthro_sigle{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
}

.single_arthro_img_cont{
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;

    width:80%;
    max-height:30vh;
    min-height:30vh;

    overflow: hidden;
    position: relative;
    /*box-shadow: 5px 5px 5px black;*/
}

.single_arthro_img{
    position: absolute;
    width:100%;
    animation: pan_image calc(var(--pan_time)*1s);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@media only screen and (max-width: 1200px) {
    .single_arthro_img{
        animation:none;
    }
}




  .single_arthro_time_cont{
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top:0.5rem;
    align-items: center;
    justify-content: flex-end;
    opacity:0.7;
    margin-right: 10%;
}

.new_para{
    text-indent: 5ch;
}



.arthro_para{
    text-indent: 3rem;
    border-left: solid black 2px;
    padding-left: 2ch !important;
    margin-top: 1ch !important;
}

.arthro_new_line{
    text-indent: 0;
    margin-top: 0.5ch;
}




.arthro_sigle_text_cont li{
    padding-left: 1em;
    margin-left: 0em;
    text-indent: 0px;
}


@media only screen and (max-width: 768px) {
    .arthro_sigle_text_cont{
        width:100%;
    }
}

.single_arthro_title {
    align-self: flex-start;
    font-size: 2.3em;
    font-weight: 1000;
    padding-bottom: 2rem !important;
    line-height: 100%;
    text-align: justify;
    text-justify: inter-character;
}

.arthro_sigle_text {
    text-indent: 50px;
    width: 90%;
    border-left: solid black 2px;
    text-align: justify;
    text-justify: inter-word;
    padding-left: 1rem;
    align-self:center;
}







  /*=======MINI-GALLERY============*/

.mini_gallery_cont{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
    width:100%;
    /* height: auto; */
    margin-top: 2em;
    margin-bottom: 2em;
    position: relative;
}


    


.mini_gall_slides{
    max-width: 100%;
    max-height: auto;
    display: none;
    transition: all 0.3s;
    user-select: none;
}



.ww3-button{
    background-color: rgba(0,0,0,1);
    opacity:0.5;
    color:white;
    transition: all 0.1s;
    transform: scale(1.8);
    border: none;
    margin-right:0.5rem;
    margin-left:0.5rem;
}

.ww3-button:hover{
    background-color: rgb(134, 153, 183) !important;
}

.ww3-display-left{
    position:absolute;
    top:50%;
    left:0%;
    transform:translate(0%,-50%) scale(1.8);
    -ms-transform:translate(-0%,-50% scale(1.8));
}


.ww3-display-right{
    position:absolute;
    top:50%;
    right:0%;
    transform:translate(0%,-50%) scale(1.8);
    -ms-transform:translate(0%,-50%) scale(1.8);
}

@keyframes pan_image{
    0%{
        transform: translateY(calc(1%*var(--pan_upper_transY)));
    }
    50%{
        transform: translateY(calc(1%*var(--pan_lower_transY)));

    }
    100%{
        transform: translateY(calc(1%*var(--pan_upper_transY)));
    }
}