﻿
/************************************
	 ESTILOS CDN MIN .GOV
************************************/

/* Inicio estilos boton subir arriba  */

html,
#s4-workspace {
  scroll-behavior: smooth;
}

.scrollTop {
  position: fixed;
  bottom: 48px;
  right: 15px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #FF1715;
  box-shadow: 4px 4px 6px #00000029;
  display: flex;
  align-items: center;
  justify-content: space-around;
  transition: all 300ms;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  z-index: 99;
}

.scrollTop__div {
  background-color: #fff;
  border-radius: 50%;
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms;
  margin-left: 50px;
}

.scrollTop__icon {
  color: #FF1715;
  font-size: 37px !important;
  font-weight: 700 !important;
  text-align: center;
  transition: all 300ms;
}

.scrollTop__p {
  opacity: 0;
  transition: all 400ms;
  width: 30px;
  text-align: center;
  margin-right: 20px;
  margin-bottom: 0;
}

.scrollTop:hover {
  width: 118px;
  border-radius: 27px 10px 10px 27px;
  background: #920806 0% 0% no-repeat padding-box;
}

.scrollTop:hover .scrollTop__div {
  margin-left: 0px;
  margin-right: 0px;
}

.scrollTop:hover .scrollTop__p {
  opacity: 1;
  color: #FF1715;
}

.scrollTop:hover .scrollTop__icon {
  color: #920806;
}

.scrollTop:focus {
  border: 1px solid #000;
}

/* Fin estilos boton subir arriba  */
.scroll-dark-govco{
    overflow-y:scroll;
    scrollbar-face-color:#3772FF !important;
    scrollbar-track-color:#fff !important;
    scrollbar-arrow-color:#fff !important;
    scrollbar-highlight-color:#3772FF !important;
    scrollbar-3dlight-color:#3772FF !important;
    scrollbar-darkshadow-color:#3772FF !important;
    scrollbar-color:#3772FF #fff !important;
    scrollbar-width:thin !important
}
.scroll-dark-govco::-webkit-scrollbar{
    width:0.7em;
    height:0.7em
}
.scroll-dark-govco::-webkit-scrollbar-thumb{
    border-radius:10px;
    background:#3772FF;
    box-shadow:var(--sombras);
    }
.scroll-dark-govco::-webkit-scrollbar-track{
    border-radius:10px;
    background:#fff
}
.scroll-dark-govco::-webkit-scrollbar-thumb:hover{
    background:#3772FF
}
.scroll-light-govco{
    scrollbar-face-color:#004884 !important;
    scrollbar-track-color:#E6EFFD !important;
    scrollbar-arrow-color:#E6EFFD !important;
    scrollbar-highlight-color:#E6EFFD !important;
    scrollbar-3dlight-color:#E6EFFD !important;
    scrollbar-darkshadow-color:#E6EFFD !important;
    scrollbar-color:#004884 #E6EFFD !important;
    scrollbar-width:thin !important;
    overflow-y:scroll
}
.scroll-light-govco::-webkit-scrollbar{
    width:0.7em;
    padding:5px
}
.scroll-light-govco::-webkit-scrollbar-thumb{
    border-radius:10px;
    background:#004884;
    box-shadow:var(--sombras)
}
.scroll-light-govco::-webkit-scrollbar-track{
    border-radius:10px;
    background:#E6EFFD
}
.scroll-light-govco::-webkit-scrollbar-thumb:hover{
    background:#004884
}

body.all .scroll-to-top button{
    background:black
}
body.all .scroll-to-top button .btn-svg-up-hover,body.all .scroll-to-top button span{
    color:#004884 !important
}
.block--gov-accessibility .block-options a:hover label{
    cursor:pointer;
    display:inline-block !important;
    margin-bottom:0;
    margin-left:0;
    font-family:"Work Sans", sans-serif;
    font-size:0.8rem
}
.btn-top-up{
	border: solid 1px white;
    width: 31px;
    height: 31px;
    background: var(--color-fondo);
    color: white !important;
    margin-left: 4px;
    border-radius: 8px;
}
.btn-text-top-up{
	font-size: 15px !important;	
}



span.fa.fa-angle-up.btn-svg-up-hover.btn-top-up {
    color: #fff !important;
    background: #FF1715 !important;
}


div#scrollUp {
    border: 4px solid #FF1715;
    background-color:white;
}
span.label-button-star-up.btn-text-top-up {
    font-size: 15px !important;
    color:  #FF1715 !important;
    transition: .4s;
}

span.label-button-star-up.btn-text-top-up:hover{
    transform: scale(1.1);
}

/*************************************************
		  Scroll Bar
*************************************************/

#s4-workspace {
    position: relative;
    overflow-x: hidden;
}
#s4-workspace::-webkit-scrollbar {
    -webkit-appearance: none;
}

#s4-workspace::-webkit-scrollbar:vertical {
    width:6px;
}

#s4-workspace::-webkit-scrollbar-button:increment,.contenedor::-webkit-scrollbar-button {
    display: none;
} 

#s4-workspace::-webkit-scrollbar:horizontal {
    height: 7px;
}

#s4-workspace::-webkit-scrollbar-thumb {
    background-color: #FF1715;
    border-radius: 20px;
    border: 2px solid #FF1715;
}

#s4-workspace::-webkit-scrollbar-track {
    border-radius: 10px;  
}


@media (max-width: 600px){
	#s4-workspace::-webkit-scrollbar:vertical {
    width:0px;
}

#s4-workspace::-webkit-scrollbar:horizontal {
    height: 0px;
}

}
