.info-box {
    position: relative;
    display: inline;
    cursor: pointer;
}

header div.info-text {
    font-size: small;
    font-weight: 300;
}

div.info-text {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border-radius: 3px;
    background-color: white;
    width: 15rem;
    padding: 1rem;
    margin-bottom: 1rem;
    min-width: 225px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.33);
}

.info-text fas, .info-text .material-icons {
    font-size: 16px;
}

.info-text img {
    max-width: 16px;
    vertical-align: middle;
}

.info-text::after {
    content: "";
    position: absolute;
    margin-right: 1px;
    width: 20px;
    height: 20px;
    bottom: 0%;
    right: 50%;
    transform: translate(50%,47%) rotate(45deg);
    background: white;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.33);
    clip-path: polygon(20px 0,25px 3px, 25px 25px,3px 25px, 0 20px);
}

.info-icon {
    font-size: 20px;
    color: var(--gray);
    margin: 0.2rem;
}

div.info-text div:not(.btn), .settings div.info-text{
    font-weight: normal;
    font-size: small;
}

.settings div.info-text{
    display:none;
}

.activeInfo{
    box-sizing: border-box  !important;
    position: fixed !important;
    height: fit-content  !important;
    top: 50%  !important;
    transform: translateY(-50%) !important;
    left: 2%  !important;
    right: auto  !important;
    width: 96% !important;
    display: flex !important;
    z-index: 10 !important;
    box-shadow: box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.33) !important;
    webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.33) !important;
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.33) !important;
    padding:1rem 1rem 0 1rem !important;
    font-size: 16px !important;
    cursor: default;
    flex-direction: column;
    margin-top:0;
    align-items:end!important;

}

.activeInfo div:not(.btn){
    font-weight: 400 !important;
    font-style: normal !important;
    font-weight: normal !important;
}

.info-text div:not(.btn){
    display:inline;
    width:100%;
}

div.info-text .btn{
    display:none;
    position: relative;
    bottom: 0;
    right: 0;
    background:var(--red);
    width:fit-content;
    margin-bottom:0;
    padding: 0.5rem;
    cursor:pointer;
    margin: 1rem 0 1rem 0;
}

.overlay{
    display:block;
    z-index:3;
}

@media screen and (max-width: 850px) {
	div.info-text div:not(.btn) {
		font-size: medium;
	}

    div.info-text .btn{
        display:block;
    }

    div.info-box:hover .info-text::after{
        display: none;
    }

    .info-text::after{
        background: transparent;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow:none;
    }
}

@media screen and (min-width: 850px) {
    .info-box:hover .info-text{
        display: block !important;
    }
}