/*
 Theme Name:   Infinite Child
 Theme URI:    http://demo.goodlayers.com/infinite
 Description:  Goodlayers Infinite Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     infinite
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  infinite-child

 START YOUR CHILD THEME CSS HERE
*/

.widget_search input.search-field, .widget_archive select, .widget_categories select, .widget_text select {
    color: #3f3f3f;
}

#home-boxes-mobile{
    display:none;
}

ul#menu-services li {
    background: #2e91b0;
    padding: 10px;
    color: #fff;
    width: 100%;
    text-align: center;
}
ul#menu-services li a{
    color:#fff;
    width:100%;
    height:100%;
    display:block;
}
ul#menu-services li:before {
    color: #000;
}
ul#menu-services li.current_page_item, ul#menu-services li:hover {
    background: #56b047;
}

#home-boxes {
    z-index:999;
}

#text-4 a,#text-12 a, #text-14 a, #text-8 a {
    font-size: 17px;
    color: #fff;
    display: inline-block;
    transition: all 0.4s ease 0s;
    padding: 5px 10px 5px 10px;
    -webkit-transition: all ease 0.8s;
    -moz-transition: all ease 0.8s;
    transition: all ease 0.8s;
    margin-bottom: 20px;
    border-radius: 2px;
    text-shadow: none;
    border: 2px solid #294a22 !important;
    background-size: 100% 200%;
    background-color: #2e91b0 !important;
    background-image: linear-gradient(to bottom, #2e91b0 50%, #56b047 50%) !important;
    width: 100%;
    text-align: center;
}

#text-4 a:hover, #text-12 a:hover, #text-14 a:hover, #text-8 a:hover {
    background-position: 0 -100%;
}

.gdlr-core-pbf-wrapper {
    clear: both;
    padding: 10px 0px 30px;
    position: relative;
}

.joint-commission {
	display: block;
    position: relative;
    padding: 20px;
    background: #f1f1f1;
    width: 100%;
    min-height: 185px;
}

.joint-commission .textwidget {
	
	max-width:1490px;
	display:block;
	position:relative;
	margin:0 auto;
}

.first-form, .horizontal-form {
    background: #F0F0F0;
    padding: 35px;
}

/*.wpcf7-form {
    background: #f7f7f8 !important;
    -webkit-box-shadow: 5px 4px 5px -1px rgba(48,170,217,.3);
    -moz-box-shadow: 5px 4px 5px -1px rgba(48,170,217,.3);
    box-shadow: 5px 4px 5px -1px rgba(48,170,217,.3);
}

#api-form-wrapper h2 {
    color: #2e91b0;
    margin: 0 0 25px 0px;
}
*/
.first-form input, .first-form select {
    height: 40px;
    width: 100%;
    border: 3px solid #2e91b0;
    background: #f7f7f7 linear-gradient(0deg,#f7f7f7,#eee);
    margin-bottom: 15px;
    padding: 10px;
}

.first-form input, .first-form textarea {
    border: 1px solid #479148 !important;
    padding: 10px;
}

/*input.wpcf7-submit {
    font-size: 20px;
    color: #fff;
    display: inline-block;
    transition: all 0.4s ease 0s;
    padding: 5px 10px 5px 10px;
    -webkit-transition: all ease 0.8s;
    -moz-transition: all ease 0.8s;
    transition: all ease 0.8s;
    margin-bottom: 20px;
    border-radius: 2px;
    text-shadow: none;
    border: 2px solid #2e91b0 !important;
    background-size: 100% 200%;
    background-color: #56b047 !important;
    background-image: linear-gradient(to bottom, #56b047 50%, #2e91b0 50%) !important;
}

input.wpcf7-submit:hover {
    background-position: 0 -100%;
}*/
.first-form textarea {
    width: 100%;
    border: 3px solid #479148;
    background: #f7f7f7 linear-gradient(0deg,#f7f7f7,#eee);
    margin-bottom: 15px;
}

.first-form input, .first-form textarea {
    color:#000;
}*/

#get-help .gdlr-core-text-box-item-content a {
    padding: 10px;
    width: 60%;
    margin: 0 auto;
    display: block;
    background: rgb(245, 148, 32);
    color: #fff;
}

#get-help .gdlr-core-text-box-item-content {
    text-align: center;
    width: 100%;
}

.landing-logos {
    width: 100%;
    display: block;
    position: relative;
    background-color: #2e91b0;
    text-align: center;
    padding: 20px 0;
}
.landing-logos div {
    vertical-align: top;
}

.landing-logos img {
    padding: 5px 20px;
    display: inline-block;
    width: 9%;
    margin: 7px 6px;
   vertical-align: middle;
}

ul#menu-programs-and-services li {
    background: #047099;
    padding: 10px;
    color: #fff;
    width: 100%;
    text-align: center;
}
ul#menu-programs-and-services li.current_page_item, ul#menu-programs-and-services li:hover {
    background: #2e91b0;
}
ul#menu-programs-and-services li a {
    color: #fff;
    width:100%;
    height:100%;
    display: block;
}
ul#menu-programs-and-services li:before {
    color: #fff;
}

ul#menu-programs-and-services li.current_page_item:before, ul#menu-programs-and-services li:hover:before {
    color: #000;
}

ul#menu-financial li {
    background: #047099;
    padding: 10px;
    color: #fff;
    width: 100%;
    text-align: center;
}
ul#menu-financial li.current_page_item, ul#menu-financial li:hover {
    background: #2e91b0;
}
ul#menu-financial li a {
    color: #fff;
    width:100%;
    height:100%;
    display: block;
}
ul#menu-financial li:before {
    color: #fff;
}

ul#menu-financial li.current_page_item:before, ul#menu-financial li:hover:before {
    color: #000;
}

.infinite-sidebar-right {
    background: url('https://www.gbhoh.com/wp-content/uploads/2019/11/side-bar-bg.png');
}


.infinite-sidebar-area a {
    color: #00a458;
    font-weight:500;
}

.infinite-sidebar-area {
    padding-top: 15px;
}
@media screen and (max-width: 680px) {
.infinite-footer-back-to-top-button {
    right: 1px;
    bottom: 57px;
}
}
@media screen and (max-width: 768px) {
#home-boxes {
    margin: -90px 0px 0px 0px !important;
}

#home-boxes .gdlr-core-column-20 {
    float: none;
    width: 100%;
}
#chat-widget-container { bottom:54px!important; left:0; max-height:500px !important; }
}

@media screen and (max-width: 769px) {

.landing-logos img {
    padding: 5px 20px;
    display: inline-block;
    width: 25%;
    margin: 0 0px;
    vertical-align: middle;
}
}

/* Home Form */

@media screen and (min-width: 1235px) {
.home .api-field-block {
    width: 47%;
    display: block;
    float: left;
    margin: 0 14px 0 0;
}
.home .first-form, .horizontal-form {
    background: #fff;
    padding: 20px 10px;
}
.home-contact a{    
	font-size: 17px;
    font-weight: 700;
}

.home .first-form textarea {
    height: 125px;
}

.home div.api-field-block:nth-child(5), .home div.api-field-block:nth-child(6), .home div.api-field-block:nth-child(7){
	width:100%;
	margin:0;

}
}
@media screen and (max-width: 1024px) {
.infinite-navigation .sf-menu > li {
    padding-right: 0;
    padding-left: 16px;
}
.infinite-navigation-submenu-indicator .sf-menu > li > a.sf-with-ul-pre:after {
    display: inline-block;
    margin-left: 4px;
    content: "\f107";
    font-family: fontAwesome;
}
.infinite-navigation .sf-menu > li > a, .infinite-navigation .sf-vertical > li > a {
    font-size: 13px;
}
}

@media screen and (max-width: 480px) {
#home-boxes {
    display:none !important;
}
#home-boxes-mobile{
    display:block;
}
.landing-logos img {
    padding: 5px 20px;
    display: inline-block;
    width: 33%;
    margin: 0 0px;
    vertical-align: middle;
}
}

.home p.api-form-disclaimer {
	display:none;
}

/* Contact Form */
.wpcf7-form {
    background: #ffffff00 !important;
}

/* keep fields inside their parent element */
.wpcf7-form-control {
    width: 100%;
    border-style: none;
    border-bottom: 1px solid #BBB;
    border-radius: 5px;
}

.api-field-block label {
    font-size: 19px;
    margin-bottom: 15px;
    color: black;
}


.api-field-block {
    margin: 0px 0px 10px;
}

.wpcf7-text {
    height: 30px;
    border: 1px solid #cfd4d8;
    border-radius: 3px;
}

input.wpcf7-text {
    font-size: 20px;
}

.wpcf7-select {
    height: 30px;
    font-size: 20px;
}

/*fix double down arrow on dropdown*/
.wpcf7-form-indicator {
    display: none;
}

textarea.wpcf7-textarea {
    font-size: 20px;
    height:  150px;
}

textarea.wpcf7-form-control,
select.wpcf7-form-control {
    border-style: none;
    border: 1px solid #BBB;
    border-radius: 5px;
    margin-bottom: 1em;
}


#api-form-id {
    padding: 1em;
}

/*submit button*/
input.wpcf7-submit {
    font-size: 25px;
    color: #fff;
    display: inline-block;
    transition: all 0.4s ease 0s;
    padding: 5px 10px 5px 10px;
    -webkit-transition: all ease 0.8s;
    -moz-transition: all ease 0.8s;
    transition: all ease 0.8s;
    margin-bottom: 20px;
    border-radius: 2px;
    text-shadow: none;
    border: 2px solid #00a458 !important;
    background-size: 100% 200%;
    background-color: #00a458 !important;
    background-image: linear-gradient(to bottom, #00a458 50%, #0c487a 50%) !important;
    border-radius: 10px;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3)
}

input.wpcf7-submit:hover {
    background-position: 0 -100%;
}

#api-form-wrapper h3 {
    color: #00a458;
    margin: 0 0 25px 0px;
}

#api-form-wrapper {
    margin: -25px auto auto;
}

/*snap doctor photo to bottom of contianer element*/
#form-img-container .gdlr-core-column-extend-left {
    display: flex;
    align-items: flex-end;
}