﻿.hovercircle,
.hoverrect {
    position: relative;
    margin: auto;
}

.hoverrect {
    cursor: pointer;
    overflow: hidden;
}

.hovercircle,
.hovercircle a,
/*.hovercircle div,*/
.hovercircle img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
}

.hovercircle img,
.hoverrect img {
    width: 100%;
    border: 4px solid #0081c2;
}

.hovercircle:hover div.hovergray,
.hoverrect:hover div.hovergray {
    opacity: 1;
    width: 100%;
    height: 100%;
}

.hovercircle:hover div.hoveritem,
.hoverrect:hover div.hoveritem  {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: transform .5s ease, opacity 1.3s ease;
    transition: transform .5s ease, opacity 1.3s ease;
}

.hovercircle a:hover,
.hoverrect a:hover  {
    text-decoration: none;
}

.hovercircle div.hovergray {
    background: rgba(0,0,0,0.4);
    position: absolute;
    margin: auto;
    width: 0px;
    height: 0px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    opacity: 0;
    -webkit-transition: .4s ease;
    transition: .4s ease;
}

.hoverrect div.hovergray {
    background: rgba(0,0,0,0.4);
    position: absolute;
    margin: auto;
    width: 0px;
    height: 0px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: .4s ease;
    transition: .4s ease;
}

.hovercircle div.hoveritem,
.hoverrect div.hoveritem {
    position: absolute;
    text-align: center;
    margin: auto;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    overflow: visible;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: transform .5s ease, opacity .7s ease;
    transition: transform .5s ease, opacity .7s ease;
}


.hovercircle div.hoverfaitem,
.hoverrect div.hoverfaitem {
    color: #FFFFFF;
    height: 50px;
}

.hovercircle div.hoverfaitem i,
.hoverrect div.hoverfaitem i  {
    height: 50px;
    width: 45px;
    line-height: 50px;
    font-size: 50px;
}

.hovercircle div.hoverimgitem,
.hoverrect div.hoverimgitem {
    background-position: center center;
    background-repeat: no-repeat no-repeat;
    background-size: cover;
    height: 100%;
}

.hovercircle div.d-table,
.hoverrect div.d-table {
    height: 100%;
    width: 100%;
}

div.icontextcontainer {
    position: absolute;
    padding: 15px;
    bottom: 0px;
    height: 50%;
    width: 100%;
    text-align: center;
    color: #0081c2;
    font-weight: bold;
    font-size: 0.75em;
}

@media all and (min-width: 550px) {
    div.icontextcontainer {
        padding: 10px;
        font-size: 1em;
    }
}

@media all and (min-width: 992px) {
}

@media all and (min-width: 1200px) {

}