/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient2
Version: 1.0
*/

/* MENU ADJUSTMENT */

body:not([data-header-format="left-header"]) #top .sf-menu li ul {
    margin-top: -25px;
}

header#top .sf-menu li ul li a:hover, body header#top nav .sf-menu ul li.sfHover > a {
    background-color: #ff0 !important;
}

.transparent ul.sub-menu {
    margin-top: -40px !important;
}

/* GRAVITY FORMS */

#gform_wrapper_19 div.gform_footer.top_label {
 text-align: center;
}

#gform_fields_19 {
 max-width:400px;
 margin: auto !important;
}

body[data-fancy-form-rcs="1"] .select2-container {
 max-width: 480px !important;
 width: auto !important;
 border-color: #005B8F !important;
}

body[data-fancy-form-rcs="1"] .select2-container .select2-choice {
   border-color: #005B8F !important;
}

body[data-fancy-form-rcs="1"] .fancy-select-wrap {
    padding-top: 0 !important;
}

.select2-search {
   display: none !important;
}

div.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
   max-width: 640px !important;
}

#my_account_reset_button {
 cursor: pointer;
}

/* Spinner */
.row .col img.gform_ajax_spinner {
   margin-bottom: 0 !important;
   vertical-align: middle !important;
}

.gform_ajax_spinner {
 background-color: #FFFFFF; 
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 26px !important;
  height: 26px !important;
  animation: spin 1s linear infinite;
  z-index: 999999;
}
@keyframes spinner {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* search return customizing */

body.search #page-header-bg {
    height: 125px !important;
    background: transparent !important;
}

body.search #page-header-bg h1 {
    font-size: 24px !important;
}

body.search #page-header-bg .result-num {
    font-size: 20px !important;
}

/* Wide content box */

@media only screen and (max-width: 999px) {
  .container {
     width: 96% !important;
     max-width: none !important;
     margin-right: 2%;
     margin-left: 2%;
     
  }
} 

/* Home page stuff */

.home_page_button {
     width: 210px;
}
#large_h1_hero {
        font-size: 64px !important ;
        line-height: 64px !important;
        margin-top: -90px;
        margin-bottom: 35px;
        font-family: 'Florencesans-Bold', Arial, sans-serif;
    }
#large_h2_question {
            font-size: 36px !important ;
            line-height: 42px !important;
            margin-bottom: 16px;
        }

@media only screen and (max-width: 999px) and (min-width: 690px) {
 
    #large_h1_hero {
            font-size: 52px !important ;
            line-height: 52px !important;
            margin-top: -80px;
        margin-bottom: 50px;
            font-family: 'Florencesans-Bold', Arial, sans-serif;
        }
      #large_h2_question {
            font-size: 32px !important ;
            line-height: 38px !important;
        }
    #home_page_images {
       display: none;
    }
}

@media only screen and (max-width: 690px) {
 
    #large_h1_hero {
        font-size:36px !important ;
        line-height: 36px !important;
        margin-top: -60px;
        margin-bottom: 24px;
        font-family: 'Florencesans-Bold', Arial, sans-serif;
    }
    #large_h2_question {
            font-size: 28px !important ;
            line-height: 34px !important;
      }    
    #home_page_images {
       display: none;
    }    
}

@media only screen and (max-width: 420px) {
 
    #large_h1_hero {
        font-size: 24x !important ;
        line-height: 24px !important;
        margin-top: 10px;
        margin-bottom: 24px;
        font-family: 'Florencesans-Bold', Arial, sans-serif;
    }
    #large_h2_question {
            font-size: 28px !important ;
            line-height: 34px !important;
      }    
    #home_page_images {
       display: none;
    }    
}

div#footer-outer div#custom_html-2 button, div#footer-outer div#custom_html-3 button, div#footer-outer div#custom_html-4 button{
    background-color:red;
    color:white;
    font-weight: bold;
}
div#footer-outer div#custom_html-2 button a, div#footer-outer div#custom_html-3 button a, div#footer-outer div#custom_html-4 button a{
	color:white !important;
}
form li.gfield.naics_sub{
	border: 1px solid #cecece;
    padding: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 200px;
	margin-top:35px !important;
}
body .gform_wrapper .top_label li.naics_main .gfield_label{
	margin-top:0px;
	margin-bottom:0px;
}
li#field_29_19{
	margin-top:30px !important;
}
body .gform_wrapper ul li.gfield.naics_main {
	margin-top:0px !important;
}
form li.gfield.naics_main{
	height:30px;
}
form li.gfield.naics_main .ginput_container.ginput_container_checkbox{
	margin-top:0px;
}


