/**** COLORS ****/
/* 
Main color: green
Web: #00ACA9
RGB: R 0 G 172 B 169

Main color: blue
Web: #1A3AAB
RGB: R 26 G 58 B 171

Light grey: #E9ECEF
*/


.bg-trama-elhuyar{
    background: url(/static/elhuyar/img/trama_3.svg);
    background-position: -52rem 8rem, 55rem 63rem;
    background-repeat: no-repeat;
    background-size: 80rem, 80rem;
    background-color: #E9ECEF;
}
.bg-trama-elhuyar-green{
    background: url(/static/elhuyar/img/trama_5.webp);
    background-position: -22rem 1rem, 55rem 63rem;
    background-repeat: no-repeat;
    background-size: 80rem, 80rem;
    background-color: white;
}

.bg-gradient-elhuyar{
    background: #1A3AAB;
    background: -webkit-gradient(linear, left top, right top, from(#1A3AAB), to(#00ACA9));
    background: linear-gradient(to right, #1A3AAB, #00ACA9);
}

.bg-elhuyar{
    background-color: #00ACA9 !important;
    color: white !important;
}

.bg-elhuyar-dark{
    background-color: #1A3AAB !important;
    color: white !important;
}

.navbar.header-elhuyar{
    background: white !important;
    padding: 1.5rem 3rem !important;
}

.navbar .nav-item .nav-link{
    color: #1A3AAB !important;
    font-weight: 400;
    padding-left: 2rem; 
    padding-right: 2rem;
}

.navbar .nav-item.active{
    color: #00ACA9 !important;
}
.navbar .nav-item.elhuyar-nav-item-hover:hover{
    color: #00ACA9 !important;
}

.border-bottom{
    border-bottom: 1px solid rgba(26, 58, 171, 0.2) !important;
}

td, th{
    color: #4F483C !important;
}
.dropdown-item{
    color: #4F483C !important;
}

.alert-elhuyar {
    color: white;
    background-color: #1A3AAB; 
    border-color: #1A3AAB;
}

.alert-elhuyar-dark {
    color: #4F483C;
    background-color: #CAC7C4;
    border-color: #8C8880;
}

.btn-xs{
    padding: .5rem .75rem;
}
.btn-elhuyar-min{
    background-color: transparent !important;
    color: #4F483C !important;
    border: 1px solid #4F483C;
    box-shadow: none !important;
}
.btn-elhuyar-min:hover{
    background-color: rgba(0,0,0,0.05) !important;
    color: #00ACA8 !important;
}

.btn-elhuyar{
    background-color: #00ACA9 !important;
    color: white !important;
    /*font-weight: 400 !important;*/
}
.btn-elhuyar:hover{
    background-color: rgba(0, 172, 169, 0.8) !important;
    color: white !important;
}
.btn-elhuyar-white{
    background-color: transparent !important;
    color: white !important;
    border: 1px solid white !important;
    /*font-weight: 400 !important;*/
}
.btn-elhuyar-white:hover{
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}
.btn-elhuyar-dark{
    background-color: #1A3AAB !important;
    color: white !important;
}
.btn-elhuyar-dark:hover{
    background-color: rgba(26, 58, 171, 0.8) !important;
    color: white !important;
}
.btn-elhuyar-dark-65{
    background-color: #8C8880 !important;
    color: white !important;
}
.btn-elhuyar-dark-65:hover{
    background-color: #4F483C !important;
    color: white !important;
}

.text-elhuyar{
    color: #00ACA9 !important;
}

.text-elhuyar-dark{
    color: #1A3AAB !important;
}

.md-form input[type=date]:focus:not([readonly]), .md-form input[type=datetime-local]:focus:not([readonly]), .md-form input[type=email]:focus:not([readonly]), .md-form input[type=number]:focus:not([readonly]), .md-form input[type=password]:focus:not([readonly]), .md-form input[type=search-md]:focus:not([readonly]), .md-form input[type=search]:focus:not([readonly]), .md-form input[type=tel]:focus:not([readonly]), .md-form input[type=text]:focus:not([readonly]), .md-form input[type=time]:focus:not([readonly]), .md-form input[type=url]:focus:not([readonly]), .md-form textarea.md-textarea:focus:not([readonly]) {
    -webkit-box-shadow: 0 1px 0 0 var(--secondary-theme-color);
    box-shadow: 0 1px 0 0 var(--secondary-theme-color);
    border-bottom: 1px solid var(--secondary-theme-color);
}
.md-form input[type=date]:focus:not([readonly])+label, .md-form input[type=datetime-local]:focus:not([readonly])+label, .md-form input[type=email]:focus:not([readonly])+label, .md-form input[type=number]:focus:not([readonly])+label, .md-form input[type=password]:focus:not([readonly])+label, .md-form input[type=search-md]:focus:not([readonly])+label, .md-form input[type=search]:focus:not([readonly])+label, .md-form input[type=tel]:focus:not([readonly])+label, .md-form input[type=text]:focus:not([readonly])+label, .md-form input[type=time]:focus:not([readonly])+label, .md-form input[type=url]:focus:not([readonly])+label, .md-form textarea.md-textarea:focus:not([readonly])+label {
    color: #00ACA8 !important;
    color: var(--secondary-theme-color) !important;
}
.md-form-elhuyar-light.md-form input[type=date]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=datetime-local]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=email]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=number]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=password]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=search-md]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=search]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=tel]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=text]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=time]:focus:not([readonly]), .md-form-elhuyar-light.md-form input[type=url]:focus:not([readonly]), .md-form-elhuyar-light.md-form textarea.md-textarea:focus:not([readonly]) {
    -webkit-box-shadow: 0 1px 0 0 var(--main-theme-color);
    box-shadow: 0 1px 0 0 var(--main-theme-color);
    border-bottom: 1px solid var(--main-theme-color);
}
.md-form textarea~label.active{
	color: inherit !important;
}




/* width */
::-webkit-scrollbar {
  width: 7px !important;
}

/* Track */
::-webkit-scrollbar-track {
  /*background: var(--main-theme-color) !important; */
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: #1A3AAB !important;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 58, 171, 0.8) !important;
}


.pointer{
    cursor: pointer;
}

textarea.minimal, input.minimal{
    border: none !important;
    background-color: transparent !important;
    resize: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.footer-left{
    display: inline-block; 
    text-align: left;
}

.text-left{
    padding-left: 2px;
}

/*.interactive{
    padding: 0em 0.25rem 0em 0.25rem;
}*/

.interactive:hover{
    background-color: rgba(0, 0, 0, 0);
    /*background-color: #1A3AAB;
    color: rgba(255, 255, 255, 1);*/
    color: #1A3AAB;
    cursor: pointer;
    /*border-radius: 0.2rem;
    padding: 0em 0.25rem 0em 0.25rem;*/
}

.popup{
    position: absolute;
    z-index: 1;
    border-radius: 0.25rem;
    background-color: rgba(255, 255, 255, 1);
    color: black;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    max-height: 75%;
    overflow: auto;
}

.popup li{
    padding: 0em 1em 0em 1em;
    border-bottom: 1px solid rgba(0,0,0,.1)
}

.popup li:hover{
    background-color: #1A3AAB;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
}

.nobull{
    list-style-type: none;
}

.glossary-marked{
    color: #00ACA9;
    padding: none;
}

.unfocus{
    color: rgba(0,0,0,0.3);
}

.flex-row{
    display: flex;
    flex-direction: row;
}

.flex-grow-auto{
    flex-basis: auto;
    flex-grow: 1;
}

.glossary-box a{
    color: inherit;
    font-weight: 400;
}

.glossary-box{
    color: #dee2e6;
}

.glossary-box:hover{
    color: #00ACA9;
}
