.contactflags{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    top: 300px;
    right: 0;
    z-index: 801;
}
.contactflags .flag{
    width: 60px;
    height: 60px;
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: 60px 1fr;
    background-color:var(--primaryTextColor);
    margin: 5px 0;
    border-radius: 5px 0 0 5px;
    /*-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);*/
    /*-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);*/
    /*box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);*/
    transition:all .4s;
}
.contactflags a.flag,
.contactflags div.flag{
    font-size:1.5rem;
    text-decoration: none;
    color:white;
}
.contactflags .flag .icon{
    font-size:3rem;
}
.contactflags .flag .img{
    width: 30px;
    height: 30px;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid white;
    padding: 5px;
    background-color: white;
}
.contactflags .flag .label{
    padding-right:15px;
    padding-left:5px;
}
.contactflags .flag:hover{
    width: auto;
}
@media screen and (max-width:1100px){
    .contactflags{
        flex-direction: row;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        top: auto;
        left: 0;
        bottom: 0;
        /*-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);*/
        /*-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);*/
        /*box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);*/
    }
    .contactflags .flag{
        margin: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border-right:1px solid white;
        border-radius: 5px 5px 0 0;
    }
    .contactflags .flag:last-of-type{
        border-right:0px;
    }
    .contactflags .flag:hover{
        width: 60px;
    }
    .contactflags .flag:hover .label,
    .contactflags .flag .label{
        display: none;
    }
}
