/*
 Theme Name:   Monteverde GP
 Description:  GeneratePress child theme
 Template:     generatepress
 Version:      0.1
*/

a {
    color: #bb1717;
}

body.home {
    background: url('/wp-content/themes/mont-gp/images/monteverde-bg-16x9.jpg') top center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

body.home #primary {
    min-height: calc(100% - 120px);
}
body.home .site-content .content-area {
    width:100%;
    max-width:1250px;
    padding-top:2%;
}

body.home #primary #post-52{
    max-width: 474px;
}

body.home.separate-containers  #primary .inside-article {
    padding:0px;

}

body.home .site-branding-container .site-logo {
    margin:2em 0 0;
}

body.home .grid-container {
    max-width: 1280px;
}

body.home.separate-containers  #primary .site-main {
    margin: 0 20px;
}

body.home .entry-content {
    color:#FFF;
}

body.home h1 {
    color:#FFF;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    font-size: 1.6rem;
    padding:21px 0 2px;
    margin:0;
    text-transform: uppercase;
    letter-spacing: .05rem;
    background: linear-gradient(rgba(38, 39, 45, 0.2), rgba(38, 39, 45, 0.5));
}

body.home .intro {
    background: linear-gradient(rgba(38, 39, 45, 0.5), rgba(38, 39, 45, 0.7));
}

.intro-block {
    padding-top:8px;
    text-align: center;
}

.intro-block a {
    display:block;
    background-color: #bb1717;
    width:200px;
    margin:0 auto;
    font-size: 20px;
    font-weight: 600;
    color:#FFF;
    padding:.2rem 0;
}

.intro-block a:hover {
    color:#FFF;
    background-color: #f00708;
}

.intro-block2 {
    font-size: 16px;
    padding: 2% 5%;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.full-width {
    width:100%;
}

body.home h2 {
    color:#FFF;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    font-size: 1.4rem;
}

.arrow {
    padding: 10px 0 6px 20px;
    width: 100%;
    border-top: 1px solid #777777;
    margin: 0 auto; }
.arrow .arrow-content {
    max-width: 340px;
    line-height: 2;
    margin: 0 auto; }
.arrow img {
    vertical-align: top; }
.arrow .arrow-content span img {
    margin: 9px 3px 0 0; }
.arrow-text { 
    font-size: 20px;
    font-weight: 600;
    color:#FFF; } 
.arrow-text:hover,
.arrow-text:focus {
    color:#f00708
}

@media screen and (min-width: 30em) {
    .arrow {
          padding: 8px 0 8px 80px; }
    #block-block-8 h2 {
          margin: 0 0 12px; } 
}

.site-branding-container {
    display:block;
    text-align: center;
}

.site-branding-container .site-branding {
    margin-right: 1em;
}

.site-branding-container .site-logo {
    margin-top: .6em;
}


.site-description {
    font-family: 'Libre Baskerville', Times, serif;
    font-size: 13px;
    line-height: 2;
    font-weight: 400;
    margin-right: .4em;
}

body.home,
body.home .site-header,
body.home.separate-containers .inside-article,
body.home .main-navigation {
    background-color: transparent;
}

#front-background {
    z-index: -999;
    position: fixed;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
}


.separate-containers .site-main {
    margin: 0 40px 20px 0;
}

.inside-header.grid-container{
    max-width: 1400px;
}

body:not(.home).no-sidebar .site-content {
    justify-content: center;
}

.entry-content li {
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.entry-content p {
    line-height: 1.6;
}

.has-text-align-right {
    text-align: right;
}

.has-text-align-left {
    text-align: left;
}



/*** footer stick to bottom ***/
body { 
    min-height: 100vh;
}

 .site-footer {
    margin-top: auto;
}


.container.grid-container {
    width: 100%;
}

body:not(.home)  .site-footer {
    margin-top: auto;
}
/*** END footer stick to bottom ***/




/*** TOP BAR & SEARCH ***/
.inside-top-bar.grid-container {
    display:flex;
    justify-content: flex-end;
}

.inside-top-bar {
    padding: 0 40px;
}

.wp-block-search__inside-wrapper {
    margin:4px 0px;
    padding:2px 0px;
    height:36px;
    display:flex;
    border-radius: 4px;
}

input[type=search] {
    padding:0 0 0 4px;
}

.widget_search button {
    padding:2px 4px;
    background-color:#a70607;
}

/*** end TOP BAR & SEARCH ***/

/*** MAIN MENU ***/

span.mobile-menu { /* remove the word "MENU" */
    display: none;
}

.gp-icon svg {
    height: 1.8em;
    width: 1.8em;
    top: 0.28em;
    fill: #f00708;
}

#menu-primary a {
    font-size: 16px;
    font-weight:600;
    border-top: 2px solid #f00708;
    padding: 3px;
    margin: 12px 0 0 0;
    line-height: 30px;
}

#menu-primary>li>a {
    margin: 12px 0 0 0;
}


@media (max-width: 768px) {

    .site-description {
        font-size: 11px;
        margin-right: 0;
    }
    body.home #primary {
        margin: 0 auto;
    }

    .has-inline-mobile-toggle .inside-header {
        flex-direction: column;
        text-align: center;
        flex-wrap: nowrap;
    }
    .mobile-menu-control-wrapper,
    .nav-float-right #site-navigation {
        margin: 0 auto;
        width: 90%;
        height:48px;
    }

    .has-inline-mobile-toggle #site-navigation.toggled {
        margin-top: 0;
    }
}



@media (min-width: 769px) {

    .mobile-menu-control-wrapper {
        margin-right:24px;
    }
    .menu-item-has-children .dropdown-menu-toggle {
       display: none; 
    }
    #menu-primary>li>a {
        margin: 12px 18px 0 0;
    }
    #menu-primary>li:last-child>a {
        margin: 12px 0 0 0;
    }
    #menu-primary a {
        padding: 3px 3px 6px;
    }
  }

#menu-primary ul li a {
    border-top: none;
    padding: 6px 4px 6px 12px;
    margin:0
}

@media (max-width: 1200px) {
    body.home #primary-menu{
        width:100%;
        background-color:#58585a;
        padding:0 6px;
    }

    #menu-primary a {
        color:white;
    }
    
    #menu-primary a:hover,
    #menu-primary a:focus,
    #menu-primary .current-menu-item a {
        color:white;
    }

    #menu-primary .current-menu-item a:hover,
    #menu-primary .current-menu-item a:focus {
        color:white;
    }

    #menu-primary>li>a{
        border-top: 0px;
    }

}

/*** end MAIN MENU ***/

.site-content .content-area { 
    width: 75%;
}
.is-right-sidebar { 
    width: 25%;
}

#right-sidebar {
    max-width:260px;
}

.sidebar-item{
    margin: 0 0 24px;
}


.footer-widgets-container {
    padding: 20px 0 12px;
}

.footer-widgets .widget {
    margin-bottom: 0px;
}
.menu-footer-container {
    text-align: right;
}

.menu-footer-container>ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.inside-footer-widgets {
    width:100%;
    display: flex;
    align-items: center;  
    justify-content: space-between;
}

#menu-footer li {
    margin-bottom:0;
}
.site-footer .footer-widgets-container .inner-padding {
    padding: 0 0 0 40px;
}

#menu-footer li a {
    padding:12px 20px 12px 0;
    line-height: 60px;
}

body.home .site-footer {
    display: none;
}


footer.site-info {
    display: none;
}

.inside-footer-widgets>div {
    margin:0 0 24px 0;
}

body.home .inside-footer-widgets div:last-child {
    margin:0;
}


@media (max-width: 1200px) {
    .inside-footer-widgets {
        display: block;
    }
}


#post-144 h2 { /* news */
    font-size: 22px;
}

#post-45 .entry-content { /* contact */
    display:flex;
    flex-wrap: wrap;
}

#post-45 .single-location { /* contact */
    margin: 0 24px 36px 0;
    flex: 1 1 300px;
}

.map-image img,
.location-image img {
    width: 320px;
    height: auto;
    margin:12px 0;
}

.location-image img {
    border: 2px solid #000;
}

section.tax .inside-section {
    padding: 40px;
}

/*** Investigations pages ***/

#post-2025 .inside-article .entry-content,
#post-2034 .inside-article .entry-content {
    display: flex;
    flex-direction: column;
    flex-flow: row wrap;
    gap: 20px;
}

section.casegrid {
    flex: 1;
    width: 100%;
    background-color: white;
    box-shadow: 0 3px 6px rgba(99, 81, 81, 0.1), 0 3px 6px rgba(0, 0, 0, 0.16);
    height: 410px;
    padding: 12px;
    text-align: center;
    position: relative;
}

section.casegrid h2 {
    font-size: 16px;
    font-weight: 600;
    margin:0;
}

.case-logo {
    width: 120px;
    height: 60px;
    margin: 4px auto 24px;
}

.case-logo img {
    width:100%;
    height:100%;
    object-fit: contain;
}
section.casegrid .intro {
    margin: 0 0 6px;
}

section.casegrid .join-link {
    position: absolute;
    bottom: 36px;
    width:12em;
    left: 50%; 
    transform: translateX(-50%); 
}

section.casegrid .join-link a {
    padding: 6px 22px;
    background-color: #222222;
    color: #FFF;
}
.case-pagination {
    width:100%;
    grid-column: span 4;  
    margin-top:12px;
}

.case-pagination > a, 
.case-pagination > span {
    padding: 9px 14px;
    line-height: 3;
    text-decoration: none;
    color: #333333;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}


@media (max-width: 768px) {
    .is-left-sidebar.sidebar, .is-right-sidebar.sidebar {
         margin: 0 auto;
    }
}

article.case .entry-content {
    margin-top: .5em;
}

/*** end Investigations pages ***/

.lawyer .status {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 9px;
}
.lawyer .office {
    font-size: 18px;
    margin: 0 0 9px;
    font-weight: 500;
}
.lawyer .email {
    margin: 0 0 24px;
}

.lawyer h3 {
    font-weight: bold;
    margin: 24px 0 12px;
}

.acf-form-submit input {
    background-color: #bb1717;
    font-weight: 600;
    font-size: 16px;
    color:#FFF;
    margin:0 auto;
}

/*** SURVEY ***/

#acf-survey .acf-fields  > .acf-field {
    border-top: 0px;
}


.single-survey article.survey {
    border: 2px solid #000;
    margin: 1em 0;
    padding: 2em 4em 4em;
    text-align: center;
    background:url('images/nyse-vhr4lk8gnbk.jpg')  no-repeat center center fixed ;
}

.single-survey article.survey .inside-article {
    background:url('images/41794981_mamp_a_wv.png') no-repeat center 22px ;
    background-size: 40%;
    padding: 9em 1.5em 1em;
    background-color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 16px;
}

.single-survey #message,
.case-form #message.updated {
    padding:8px 12px 2px;
    color: white;
    font-size: 16px;
    background-color: rgba(33, 33, 33, 0.6);
    margin:0 0 12px;
}

#acf-survey {
    text-align: left;
}

#acf-survey .acf-form-submit {
    margin:36px 0 48px;
    text-align: center;
}

#acf-survey .acf-field > .acf-label label {
    font-weight: 700;
}

#acf-survey .acf-fields .acf-field.contact {
    padding-bottom:0;
}

#acf-survey .acf-fields .acf-field.contact label {
    font-weight: 500;
}

#acf-survey .acf-field-radio li {
    font-size: 16px;
    font-weight: 500;
}

.survey-response .question {
    margin: 0 0 12px 0;
}

.survey-response .question .resp {
    font-weight: 700;
}

.survey-thank {
    margin:24px 0;
    text-align: left;
}

.adv {
    font-weight: 400;
    font-size: 12px;
    margin: 4em auto 1em;
}

/*** end SURVEY ***/



/*** JOIN ACTION ***/

.showhide #acf-join-form {
    display: none; /* show/hide */
}

.acf-field.hidden {
    display: none;
}

#acf-join-form .acf-label label {display: none;}
#acf-join-form .acf-field {
    border:0;
    padding:0;
    margin:0 0 24px;
}

#acf-join-form .acf-field.acf-field-65b518bf58b57 { /* MA intro */
    border: 0;
    padding: 0;
    margin: 0;
}

#acf-join-form .share .acf-field {margin:0 0 4px;}

#acf-join-form div.share>div.acf-label label {
    display: block;
    font-weight: 600;
}

.acf-input .acf-table,
.acf-table > thead > tr > th,
.acf-table > tbody > tr > td {
    border: 0px;
    padding: 0;
    background-color: transparent;
}

.acf-repeater .acf-row-handle.order {
    background: transparent;
    color: #aaa;
}
.acf-fields.-border,
.acf-repeater .acf-row-handle.order + td,
.acf-repeater.-row > table > tbody > tr > td, 
.acf-repeater.-block > table > tbody > tr > td {
    border: 0 !important;
}

.acf-fields.-left > .acf-field:before {
    background: transparent !important;
    border:0 !important;
}

.acf-fields.-left > .acf-field > .acf-input {
    width: 100% !important;
    padding: 0 !important;
}

.acf-repeater:hover  acf-row-handle.remove {
    display:block;
}

#acf-join-form .acf-repeater .acf-row .acf-row-handle .acf-icon.-duplicate, 
#acf-join-form .acf-repeater .acf-row .acf-row-handle .acf-icon.-plus {
    display:none !important;
}

.acf-repeater .acf-row:hover > .acf-row-handle .acf-icon.-duplicate, 
.acf-repeater .acf-row.-hover > .acf-row-handle .acf-icon.-plus {
    display:none !important;
}

.share-single .acf-input .acf-fields {
    display: flex;
}
#acf-join-form .share-single .acf-input .acf-fields>div { 
    margin: 0 6px 0 0; 
    width:30%;
}

.acf-repeater .acf-row-handle.order {
    display:none;
}

#acf-join-form .acf-field-repeater {
    margin:42px 0;
}

#acf-join-form .acf-field-repeater.share-buy {
    margin-bottom: 36px;
}

#acf-join-form .acf-repeater > table {
    margin: 0;
    background: transparent;
}
.acf-actions a.acf-button  {
    background-color: #bb1717;
    font-weight: 600;
    border-radius:24px;
    font-size: 28px;
    padding:0 6px;
    line-height: 1.0;
}

.acf-field-true-false input[type='checkbox'] {
    margin-right:8px;
}

#acf-join-form .acf-form-submit input:hover  {
    background-color: #333;
}

#acf-join-form .acf-repeater .acf-row-handle.remove {
    background-color: transparent;
}

#acf-join-form .acf-field input{
    padding:  8px;
}


a.join-link {
    display: block;
    padding: 6px 0;
    color: #FFF;
    text-align: center;
    background-color: #a70607;
    border-color: #8e0506;
    border-radius: 5px;
    width: 200px;
    height: 45px;
    font-weight: bold;
    line-height: 2.1;
    font-size: 16px;
    margin: 20px auto 48px;
    cursor: pointer;
}

a.join-link:hover{
    background-color: #8e0506;
}

.acf-field-65b52fcdef3f6 .acf-fields {
    display:grid;
    width: 100%;
    grid-template-columns: 48% 48%;
}

#acf-join-form .acf-field-65b52fcdef3f6 .acf-field {
    margin: 0 3px 6px;
}

#joincheck .acf-input {
    display: flex;
    justify-content: center;
}

#joincheck .acf-input > div {
    font-weight: 800;
}

.acf-field-65ba479cfb221 {
    font-weight: 800;
}

#join-form-ma input:not([type="submit"]), 
#join-form-ma textarea, 
#join-form-ma select {
    color: rgb(85, 85, 85);
    background-color: #E5E5E5;
    border-color: transparent;
    text-align: center;
    font-style: italic;
    font-weight: 500;
}

#join-form-ma .acf-form-submit {
    text-align: center;
}

#join-form-ma input[type=submit] {
    padding: 10px 45px;
}

#join-form-ma .acf-label {
    margin: 0;
}



button.clear.signature {
    margin-left: auto;  
    background-color: #666;
}

/*** end JOIN ACTION ***/

/*** RESULTS ***/

div.results {
    margin:0 0 24px;
}

div.results div {
    margin:0 0 12px;
}

div.results .label {
    font-weight: bold;
}

.result-claim a {
    display:block;
    padding:8px;
    color:white;
    font-weight: bold;
    background-color: #bb1717;
    width:160px;
    text-align: center;
}

.result-claim a:hover {
    background-color: #666;
}

.single-result .inside-article {
    min-height:40rem;
}
/*** end RESULTS ***/

/*** start TICKER ***/

.ticker {
    margin-top:20px;
    padding: 8px 30px;
    background-color: rgba(0, 0, 0, .6);
    color: #fff;
    height:130px;
  }
  
  .title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: .8rem;
  }
  
  .slick-track {
    height:200px;
  }
  
  .ticker .line {
    flex-grow: 1;
    height: 2px;
    background-color: #f00708;
  }
  
  .ticker .title-section h2 {
    margin: 0;
    color:white;
    font-size:18px;
    font-weight: bold;
    text-transform:uppercase;
    letter-spacing: .1rem;
  }
  
  .slick-slider {
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .ticker-item {
    width: 144px !important;
    height: 270px;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: center;
    margin-right:20px;
    color: #fff;
    font-weight:bold;
    font-size: 11px;
  }
  
  .ticker .top-text {
    font-size: 17px;
  }
  
  .ticker a {
    color: white;
  }
  
  .ticker .middle-text {
    width: 116px !important;
    margin:0 auto;
  }
  
  .ticker-item:hover a {
    color:#f00708;
  }

/*** end TICKER ***/
