/* *********************************************************
**
**
** HOME VISUAL
**
**
********************************************************* */

#home-visual{
    position: relative;
    width: 100%;
}

#home-visual div{
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#home-visual div img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#home-visual-text{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0F417C;
}

#home-visual-text h1 > p{
	margin-bottom: 50px;
	line-height: 48px;
}

#home-visual-text h1 > p > small{
	font-size: 66%;
	line-height: 32px;
}

#home-visual-text div{
    display: block;
    max-width: 80%;
}

#home-visual-text *{
    color: #FFF;
    text-align: center;
}

@media only screen {
    #home-visual, #home-visual-text{
        /*height: 40vh;*/
        height: calc(50vh - 40px);
    }
}

@media only screen and (min-width: 768px) {
    #home-visual, #home-visual-text{
        height: 70vh;
    }
}




/* *********************************************************
**
**
** 
**
**
********************************************************* */

.home-lawyer{
    background-color: #FFF;
    /*border: #CCC 1px solid;*/
    box-shadow: rgba(0,0,0,0.1) 1px 1px 8px;
    padding: 20px;
    transition: transform .2s; /* Animation */
}

.home-lawyer:hover{
    transform: scale(1.1);
}

/* *********************************************************
**
**
** HEADER SPACER
**
**
********************************************************* */


@media only screen {
    .headerspacer{
		height: var(--hh);
	}
}

@media only screen and (min-width: 768px) {
    .headerspacer{
		height: var(--hh);
	}
}