/*--------------------------------------*/
/* BASIC  SETUP */
/*--------------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: #fff;
    color: #000;
    font-family: 'Lato', 'Arial', sans-serif; 
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}


.clearfix {zoom: 1;}
.clearfix:after {
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/*--------------------------------------*/
/* REUSABLE COMPONENTS */
/*--------------------------------------*/



.row {
    max-width: 1140px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}


.box {
    padding: 2%;
}



/*--------------------------------------*/
/* HEADINGS */
/*--------------------------------------*/

h1,
h2,
h3 {
    font-weight: 300;
    letter-spacing: 1px;
}

h1 {
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 240%;
    word-spacing: 4px;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
}

h2:after {
    display: block;
    height: 2px;
    background-color: rgb(206, 13, 13);
    content: " ";
    width: 200px;
    margin: 0 auto;
    margin-top: 30px;
}


h3 {
    font-size: 100%;
    margin-bottom: 15px;
}

/*--------------------------------------*/
/* NAVBAR */
/*--------------------------------------*/


.main-nav {
    float: right;
    list-style: none;
    text-transform: uppercase;
    margin-top: 55px;
    font-size: 90%;
    font-weight: 300;
}

.main-nav li {
    display: inline-block;
    margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase; 
    font-size: 90%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
   border-bottom: 2px solid rgb(206, 13, 13);
}


/* MOBILE NAVI */

.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}



/* STICKY NAVI */


.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98 );
    box-shadow: 0 2px 2px #efefef;
    z-index: 9999;
}

.main-nav { margin-top: 21px; }

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #555;
}


.sticky .logo { display: none;  }
.sticky .logo-black { display: block;  }




/*--------------------------------------*/
/* HEADER */
/*--------------------------------------*/


header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)), url(images/DSC_0756.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
}


.hero-text-box {
    position: absolute;
    text-align: center;
    margin-top: 180px;
    width: 1140px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    font-size: 110%;
    font-weight: 400;
}

.logo {
    height: 50px;
    width: auto;
    float: left;
    margin-top: 20px;
}

.logo-black { 
    display: none;
    height: 50px;
    width: auto;
    float: left;
    margin: 5px 0;
}

.avvocati {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 300;
    font-size: 130%;
}


/*--------------------------------------*/
/* TEAM */
/*--------------------------------------*/

.box-1 img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.box-2 img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.box-3 img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.box-4 img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.box-5 img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.bio-feature {
    margin-top: 15px;
    margin-bottom: 5px;
}

.team-section {
    background-color: #fff;
}

.more {
    display: none;
}

.post {
    line-height: 25px;
}

.post:not(:last-child){
    
}

button {
    margin-top: 15px;
    display: block;
    background-color: #ce0d0d;
    color: #fff;
    border: none;
    outline: none;
    padding: 5px;
}

.img-team {
    width: 80%;
    height: 50%;
    margin-bottom: 10px;
}


/*--------------------------------------*/
/* PARAGRAPHS */
/*--------------------------------------*/

.long-copy {
    line-height: 145%;
    width: 100%;
    text-align: center;
}

.box p {
    font-size: 90%;
    line-height: 145%;
}


/*--------------------------------------*/
/* ICONS */
/*--------------------------------------*/

.icon-small {
    display: inline-block;
    width: 10px;
    text-align: left;
    color: rgb(206, 13, 13);
    font-size: 130%;
    margin-right: 10px;
    
    /*Secrets to align text and icons */
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;    
}



/*--------------------------------------*/
/* BUTTONS */
/*--------------------------------------*/


.btn:link,
.btn:visited {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 50px;
    color: rgb(206, 13, 13);  
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}


.btn-ghost:link,
.btn-ghost:visited {
    border: 2px solid rgb(206, 13, 13);
    color: rgb(206, 13, 13);
}

.btn:hover,
.btn:active {
    background-color: rgb(201, 32, 32);
    color: #fff;
} 



/*--------------------------------------*/
/* CHI SIAMO / OFFICE SHOWCASE*/
/*--------------------------------------*/


.long-copy {
    margin-bottom: 50px;
}

.office-showcase {
    list-style: none;
    width: 100%;
    height: 60vh;
}

.studio-showcase li {
    display: block;
    float: left;
    width: 25%;
    margin-top: 30px;
}

.studio-photo {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #000;
}

.studio-photo img {
    opacity: 0.7;
    width: 100%;
    height: auto;
    transform: scale(1.15);
    transition: transform 0.5s, opacity 0.5s;
}

.studio-photo img:hover {
    opacity: 1;
    transform: scale(1.03);
}

.link { 
    text-decoration: none;
    color: #5a86e8;
}

/*--------------------------------------*/
/* COMPETENZE */
/*--------------------------------------*/


.competenze-section {
    background-color: #efefef;
    height: 150vh;
    margin-top: 160px;
}


.circle-ball {
    background-color: #fff;
}

.circle {
    width: 240px;
    height: 240px;
    background: #b8bcbf;
    margin: 10% auto;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 5px 5px #e3e3e3;
}

.content {
    position: absolute;
    width: inherit;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
}


/*--------------------------------------*/
/* CONTATTI */
/*--------------------------------------*/

.adress {
    margin-top: 100px;
    margin-right: 300px;
    float: right;
}

.adress-info li {
    list-style: none;
    padding: 10px;
    font-weight: 300;
    font-size: 110%;
}


/* readme-bttn */

.box-read {
    width: 25%;
    float: left;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
}

.img-bttn {
    width: 300%;
}





/*--------------------------------------*/
/* FOOTER */
/*--------------------------------------*/


footer {
    padding: 10px;
    background-color: #333;
}



.copyright-thing {
    padding: 10px;
    color: #888;
    font-size: 80%;
    float: left;
}



/*--------------------------------------*/
/* ANIMATIONS */
/*--------------------------------------*/

.js--wp-1,
.js--wp-2 {
    opacity: 0;
    animation-duration: 1s;
}

.js--wp-1.animated,
.js--wp-2.animated {
    opacity: 1;
}



 