/***** GRS Avvocati - Custom CSS *****/

/* Generic */
h2, h4 { color: #911034; }

/* Menu/sidebar */
.et_vertical_nav #top-menu li { text-transform: uppercase; }
.et_vertical_nav #top-menu > li > a { background: #911034; font-weight:600; }
.et_vertical_nav #top-menu > li > a:hover { opacity: 1; }
.et_vertical_nav #top-menu a:hover, 
.et_vertical_nav #top-menu li.current-menu-item > a { background: #4f0218 !important; }

/* Footer */
#main-footer { display: none; }
#footer-info { color: #911034; }
#footer-info a { color: #911034; }

/* Full title header */
.header-full-title { padding: 62px 0; }
.header-full-title .header-content { padding: 0; }
.header-full-title .et_pb_fullwidth_header_container.center .header-content { width: 100%; margin: 0 auto; }

.et_pb_fullwidth_header_subhead { padding-bottom: 20px; font: 500 26px 'Ubuntu', Helvetica, Arial, Lucida, sans-serif; }

/* Fullscreen content (Studio/Of Counsel v2) */
.fullscreen-bg h1 { padding-bottom: 20px; line-height: 1.2; }
.fullscreen-bg p { padding-bottom: 1em; } 

/*.et_pb_row { width: 960px; }
.et_pb_column_1_2 { width: 450px; }
.et_pb_column_3_4 { width: 675px; }
.et_pb_column_1_3 { width: 280px; }*/
ul.et_pb_side_nav.et-visible { display: none; }
.et_pb_slide_description { padding: 130px 100px; }
.et_boxed_layout.et_vertical_nav #page-container { width: 100%; }

/* Home page */
#home-content { padding: 0; } /* azzera .et_pb_fullwidth_header */
#home-content .et_pb_button { color: #FFF; margin-top: 50px; }
#home-content .et_pb_button--mobile { display: none; }
/* da verificare 
.home #page-container { box-shadow: none; } 
.home #main-header { display: none; } 
.home #et-main-area { margin-left: 0; } */

/* Studio/Of Counsel v2 */
#studio-full .header-content, 
#ofcounsel-full .header-content { max-width: 1000px; padding: 20px; border: 1px solid #FFF; }
#studio-full .header-content { background: rgba(0,0,0,.25); }
#ofcounsel-full .header-content { background: rgba(0,0,0,.35); }
#ofcounsel-full .header-content p, 
#ofcounsel-full .header-content ul { text-align: left; } 

/* Professionisti v2 */
#professionisti-title { position: absolute; bottom: 0; width: 100%; padding: 0; background-color: rgba(0, 0, 0, 0.2); }
#professionisti-content .et_pb_testimonial_portrait { width: 150px; height: 150px; } 
#professionisti-content .et_pb_row_0 { max-width: 650px; } 
#professionisti-content-v3 a.email-protect { color: #333; }
.et_pb_testimonial_portrait--clickable:hover { cursor: pointer; }

/* Persone */
.et_pb_member_position { color: #911034; }
.et_pb_team_member a.profile-link { color: #333; text-decoration: underline; }

@media only screen and (max-width: 640px) {
  /* Hamburger Menu */ 
  #et_mobile_nav_menu { visibility: hidden !important; } 
  /* Home page */
  #home-content .et_pb_button--mobile { display: block; }
  #home-content .et_pb_button--default { display: none; }
  /* Studio/Of Counsel v2 */
  .fullscreen-bg .et_pb_fullwidth_header_container { width: 100%; }
  #studio-full .header-content, 
  #ofcounsel-full .header-content { width: 100%; margin: 0; border: none; }
}
@media only screen and (max-width: 980px) {
  /* Professionisti */
  .content-professionisti .et_pb_row { padding: 0; } 
}
@media only screen and (min-width: 641px) {
  /* Full title header */
  .header-full-title h1 { font-size: 50px; }
  
  /* Industry Group */
  .industry-content h2 { font-size: 32px; }
}
@media only screen and (min-width: 981px) {
  /* Menu/sidebar */
  .et_vertical_nav #main-header { padding-top: 0 !important; }
  .et_vertical_nav #main-header .et_menu_container { margin: 0; text-align: center; } 
  .et_vertical_nav #main-header #top-menu > li > a { margin-right: 0; padding: 19px 0; }
  .et_vertical_nav.et_header_style_left #et-top-navigation { padding-top: 0 !important; } /* Theme fix */
}
@media only screen and (min-width: 1025px) {
  /* Generic */
  h1 { font-size: 50px; }
  
  /* Studio/Of Counsel v2 */
  #studio-full .header-content, 
  #ofcounsel-full .header-content { padding: 50px 50px 30px; }
  .fullscreen-bg p,
  .fullscreen-bg ul { font-size: 120%; }
}
