/*
Theme Name: Trust Child
Theme URI: http://7oroof.com/tfdemos/wp-trust
Author: 7oroof
Author URI: https://themeforest.net/user/7oroof/portfolio
Description: The 2017 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, left-sidebar, right-sidebar, grid-layout, accessibility-ready, custom-colors, custom-menu, editor-style, featured-images, footer-widgets, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
Template: trust
Text Domain: trust-child
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

-------------------------------------------------------------- */

/*
    GRAVITY FORMS
*/

.gform_wrapper {
    max-width: 720px !important;
}

.gform_wrapper .gfield_label {
    font-weight: bold !important;
    text-transform: uppercase;
}

.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper select, 
.gform_wrapper textarea {
    padding: .55em .75em !important;
    line-height: 1.4em !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: #e7e8e8 !important;
    color: #112337 !important;
    font-family: 'Open Seans', sans-serif !important;
    font-size: 1em !important;
    font-weight: normal !important;
    box-shadow: none !important;
    border-bottom: 2px solid #333 !important;
    transition: border .3s !important;
}

.gform_wrapper input[type=text]:focus,
.gform_wrapper input[type=email]:focus,
.gform_wrapper select:focus, 
.gform_wrapper textarea:focus {
    border-color: #d5aa6d !important;
}

.gform_wrapper textarea {
    min-block-size: auto !important;
    height: 8em;
}

.gform_wrapper .gform_button {
    padding: .55em 1.75em !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: #d5aa6d !important;
    font-family: 'Open Seans', sans-serif !important;
    font-size: 1em !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: background-color .5s !important;
}
.gform_wrapper .gform_button:hover {
    background-color: #333 !important;
}

/* Sidebar forms */
.vc_col-sm-2 .gform_wrapper {
    margin: 1.4em 0 !important;
}

.vc_col-sm-2 .gform_wrapper .gform_fields,
#sidebar .gform_wrapper .gform_fields {
    display: block !important;
}

.vc_col-sm-2 .gform_wrapper .gform_fields .gfield,
#sidebar .gform_wrapper .gform_fields .gfield {
    margin-bottom: .65em;
}

.vc_col-sm-2 .gform_wrapper .gform_fields .gfield .gfield_label,
#sidebar .gform_wrapper .gform_fields .gfield .gfield_label {
    font-size: 13px;
}

.vc_col-sm-2 .gform_wrapper .gform_fields .gfield .gfield_consent_label,
#sidebar .gform_wrapper .gform_fields .gfield .gfield_consent_label {
    font-size: 12px;
}


/* New Twitter/X icon */
.fa.fa-twitter {
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%20122.64%22%3E%3Cpath%20d%3D%22M71.42%2C51.93L116.09%2C0h-10.59l-38.79%2C45.09L35.73%2C0H0l46.85%2C68.18L0%2C122.64h10.59l40.96-47.62%2C32.72%2C47.62h35.73l-48.59-70.71h0ZM56.92%2C68.78l-4.75-6.79L14.4%2C7.97h16.26l30.48%2C43.6%2C4.75%2C6.79%2C39.62%2C56.67h-16.26l-32.33-46.24h0Z%22%20fill%3D%22%23b8b8b8%22%2F%3E%3C%2Fsvg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(7%);
}
.fa.fa-twitter::before {
    visibility: hidden;
}
.cs-social li a:hover .fa.fa-twitter {
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%20122.64%22%3E%3Cpath%20d%3D%22M71.42%2C51.93L116.09%2C0h-10.59l-38.79%2C45.09L35.73%2C0H0l46.85%2C68.18L0%2C122.64h10.59l40.96-47.62%2C32.72%2C47.62h35.73l-48.59-70.71h0ZM56.92%2C68.78l-4.75-6.79L14.4%2C7.97h16.26l30.48%2C43.6%2C4.75%2C6.79%2C39.62%2C56.67h-16.26l-32.33-46.24h0Z%22%20fill%3D%22%23d5aa6d%22%2F%3E%3C%2Fsvg%3E');
}


/* New Accreditations */
.footer-accreditations {
    margin-top: 3em;
}

.footer-accreditations .accreditations-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-accreditations .accreditations-logos a,
.footer-accreditations .accreditations-logos div {
    width: 100px;
    transition: opacity .25s;
}

.footer-accreditations .accreditations-logos a:hover,
.footer-accreditations .accreditations-logos > div:hover {
    opacity: .6;
}

@media screen and (min-width: 992px){
    .footer-accreditations .accreditations-logos {
        gap: 40px;
    }

    .footer-accreditations .accreditations-logos a,
    .footer-accreditations .accreditations-logos div {
        width: 150px;
    }    
}


/* Footer Disclaimer */
.footer-disclaimer {
    margin-top: 3em;
    margin-bottom: 3em;
    text-align: center;
    font-style: italic;
}

/* Carlos Castillo's fixes */
.vc_column-inner  ul {
    margin-bottom: 1.4em;
    padding-left: 1em;
}

.vc_column-inner  ul li {
    margin-bottom: .3em;
}

.wpb_column.vc_column_container.vc_col-sm-2 .wpcf7-form select {
    height: auto;
    padding: 12px;
}

.wpb_column.vc_column_container.vc_col-sm-2 .wpcf7-form .wpcf7-list-item {
    margin: 0;
}

.wpb_column.vc_column_container.vc_col-sm-2 .wpcf7-form .wpcf7-not-valid-tip {
    top: -2px;
    right: auto;
    left: 5px;
}



/* Legacy code */
@media screen and (max-width: 667px){
    #cshero-header-inner #cshero-header #cshero-header-logo a img {
      height: 75px!important;
    }}
  
  #cshero-header-inner #cshero-header {
    height: 90px;
    }
  
  #cshero-header-logo.col-xs-12.col-sm-5.col-md-5.col-lg-5 {
    height: 90px;
  }
  
  #cshero-header-navigation.col-xs-12.col-sm-7.col-md-7.col-lg-7 {
    height: 90px;
  }
  
  #menu-main-menu.nav-menu.menu-main-menu {
    height: 90px;
  }
  
  
  .wpb_text_column ul {list-style: outside;}
  
  @media screen and (max-width: 992px){
  #cshero-header-navigation.collapse {
      background: fixed!important;
  }}
  
  #page-title #page-title-text h1{
      font-family: "Open Sans"!important;
  }
  
  
  
  /* Mobile Menu */
  @media screen and (max-width: 992px){
  #cshero-header #cshero-header-navigation .main-navigation {
      background-color: #2c2b2b;
  }}
  
 
  /* Placeholder Text */
  ::-webkit-input-placeholder { /* WebKit browsers */
  color: #000 !important;
  opacity: 1;
  }
  :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #000 !important;
  opacity: 1;
  }
  ::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #000 !important;
  opacity: 1;
  }
  :-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #000 !important;
  opacity: 1;
  }
  
  @media screen and (max-width: 992px){
  #cshero-footer-feature-top .feature-top-item .row-middle{
      text-align: center;
  }
  #cshero-footer-feature-top .feature-top-item .row-bottom {
      text-align: center;
  }
  }
