/*
 Theme Name:   Divi Child
 Description:  A child theme for the main site on the network.
 Author:       CedarWaters
 Author URI:   http://cedarwaters.com
 Template:     Divi
 Version:      1.0.3
*/

@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaRegular.eot');
    src: url('fonts/ProximaNovaRegular.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaRegular.woff2') format('woff2'),
         url('fonts/ProximaNovaRegular.woff') format('woff'),
         url('fonts/ProximaNovaRegular.ttf') format('truetype'),
         url('fonts/ProximaNovaRegular.svg#ProximaNovaRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaRegularItalic.eot');
    src: url('fonts/ProximaNovaRegularItalic.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaRegularItalic.woff2') format('woff2'),
         url('fonts/ProximaNovaRegularItalic.woff') format('woff'),
         url('fonts/ProximaNovaRegularItalic.ttf') format('truetype'),
         url('fonts/ProximaNovaRegularItalic.svg#ProximaNovaRegularItalic') format('svg');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaLight.eot');
    src: url('fonts/ProximaNovaLight.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaLight.woff2') format('woff2'),
         url('fonts/ProximaNovaLight.woff') format('woff'),
         url('fonts/ProximaNovaLight.ttf') format('truetype'),
         url('fonts/ProximaNovaLight.svg#ProximaNovaLight') format('svg');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaLightItalic.eot');
    src: url('fonts/ProximaNovaLightItalic.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaLightItalic.woff2') format('woff2'),
         url('fonts/ProximaNovaLightItalic.woff') format('woff'),
         url('fonts/ProximaNovaLightItalic.ttf') format('truetype'),
         url('fonts/ProximaNovaLightItalic.svg#ProximaNovaLightItalic') format('svg');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaSemibold.eot');
    src: url('fonts/ProximaNovaSemibold.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaSemibold.woff2') format('woff2'),
         url('fonts/ProximaNovaSemibold.woff') format('woff'),
         url('fonts/ProximaNovaSemibold.ttf') format('truetype'),
         url('fonts/ProximaNovaSemibold.svg#ProximaNovaSemibold') format('svg');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaSemiboldItalic.eot');
    src: url('fonts/ProximaNovaSemiboldItalic.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaSemiboldItalic.woff2') format('woff2'),
         url('fonts/ProximaNovaSemiboldItalic.woff') format('woff'),
         url('fonts/ProximaNovaSemiboldItalic.ttf') format('truetype'),
         url('fonts/ProximaNovaSemiboldItalic.svg#ProximaNovaSemiboldItalic') format('svg');
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaBold.eot');
    src: url('fonts/ProximaNovaBold.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaBold.woff2') format('woff2'),
         url('fonts/ProximaNovaBold.woff') format('woff'),
         url('fonts/ProximaNovaBold.ttf') format('truetype'),
         url('fonts/ProximaNovaBold.svg#ProximaNovaBold') format('svg');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaBoldIt.eot');
    src: url('fonts/ProximaNovaBoldIt.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaBoldIt.woff2') format('woff2'),
         url('fonts/ProximaNovaBoldIt.woff') format('woff'),
         url('fonts/ProximaNovaBoldIt.ttf') format('truetype'),
         url('fonts/ProximaNovaBoldIt.svg#ProximaNovaBoldIt') format('svg');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaExtrabold.eot');
    src: url('fonts/ProximaNovaExtrabold.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaExtrabold.woff2') format('woff2'),
         url('fonts/ProximaNovaExtrabold.woff') format('woff'),
         url('fonts/ProximaNovaExtrabold.ttf') format('truetype'),
         url('fonts/ProximaNovaExtrabold.svg#ProximaNovaExtrabold') format('svg');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'ProximaNova';
    src: url('fonts/ProximaNovaBlack.eot');
    src: url('fonts/ProximaNovaBlack.eot') format('embedded-opentype'),
         url('fonts/ProximaNovaBlack.woff2') format('woff2'),
         url('fonts/ProximaNovaBlack.woff') format('woff'),
         url('fonts/ProximaNovaBlack.ttf') format('truetype'),
         url('fonts/ProximaNovaBlack.svg#ProximaNovaBlack') format('svg');
    font-weight: 900;
    font-style: normal;
}

@font-face {
   font-family: 'Gilroy';
   src: url('fonts/Gilroy-ExtraBold.ttf') format('ttf'),
	    url('fonts/Gilroy-ExtraBold.otf') format('otf'),
	    url('fonts/Gilroy-ExtraBold.eot') format('eot'),
	    url('fonts/Gilroy-ExtraBold.woff') format('woff'),
	    url('fonts/Gilroy-ExtraBold.woff2') format('woff2'),
	    url('fonts/Gilroy-ExtraBold.svg');
    font-weight: 800;
    font-style: normal;
}
@font-face {
   font-family: 'Gilroy';
   src: url('fonts/Gilroy-Light.ttf') format('ttf'),
   		url('fonts/Gilroy-Light.otf') format('otf'),
    	url('fonts/Gilroy-Light.woff') format('woff');
   	font-weight: 300;
   	font-style: normal;
}

/*15-04-25 css start */
.dentonrehab-form-wrap .gform_heading .gform_required_legend {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
    color: #40444C;
    margin-bottom: 20px;
}

.dentonrehab-form-wrap form .gform-body .gfield_label {
    color: #6B7280;
    font-size: 13px;
}

.dentonrehab-form-wrap form .gform-body input[type="text"], .dentonrehab-form-wrap form .gform-body input[type="number"], .dentonrehab-form-wrap form .gform-body input[type="tel"], .dentonrehab-form-wrap form .gform-body .gchoice input[type="checkbox"]  {
    border: 1px solid #E1E4E7;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 15px;
    color: #6B7280;
    width: 100%;
}

.dentonrehab-form-wrap form .gform-body .gfield_required {
    font-size: 20px;
    line-height: unset;
}

.dentonrehab-form-wrap form .gform-body .ginput_container_radio .gfield_radio {
    flex-direction: row;
    gap: 30px;
}

.dentonrehab-form-wrap form .gform-body .gchoice input[type="checkbox"] {
    cursor: pointer;
    width: 20px;
    height: 20px;
    padding: 5px;
}
.dentonrehab-form-wrap form .gform-body .gchoice label.gform-field-label {
    cursor: pointer;
    color: #6B7280;
    font-size: 16px;
}

.dentonrehab-form-wrap form .gform-body input[type="text"]:focus,
.dentonrehab-form-wrap form .gform-body input[type="email"]:focus,
.dentonrehab-form-wrap form .gform-body input[type="tel"]:focus,
.dentonrehab-form-wrap form .gform-body input[type="number"]:focus,
.dentonrehab-form-wrap form .gform-body input[type="url"]:focus,
.dentonrehab-form-wrap form .gform-body input[type="tel"]:focus,
.dentonrehab-form-wrap form .gform-body input[type="checkbox"]:focus {
    outline: 1px solid #3C797D;
    border: 1px solid #3C797D;
    box-shadow: unset;
}

.dentonrehab-form-wrap form .gform-body input:checked::before {
    color: #3C797D;
}

.dentonrehab-form-wrap .gform_footer input[type="submit"] {
    width: 100% !important;
    background: #3C797D !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.dentonrehab-form-wrap .gfield--type-section {
    border-block-end: 1px solid #3c797d;
}

.dentonrehab-form-wrap form .repeater-field-footer {
    padding-top: 16px;
}

.dentonrehab-form-wrap form .repeater-field-footer a.gf-repeater-field-button-add {
    background: #3C797D !important;
    padding: 12px 20px;
    text-transform: uppercase !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}
/*15-04-25 css end */



/*Custom Fonts Integretion*/
body {
    font-family: 'ProximaNova';
}
h1,h2,h3 {
    font-family: 'Gilroy';
    font-weight: 800;
}
h4,h5,h6 {
    font-family: 'ProximaNova';
    font-weight: 700;
}
h1.et_pb_slide_title {
    background: linear-gradient(to right, #DAFEC2, #5ADEFE);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
}
h1.et_pb_module_heading {
    background: linear-gradient(to right, #59DEFF, #C6F9CC);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
}
.gform_title {
    text-align: center;
    padding-bottom: 40px;
}
.hyperlink-color-inrerit a{
    color: inherit;
}
.footer-above-section h2 {
    font-family: 'Gilroy';
    font-weight: 300;
    color: #40444C;
    font-size: 36px;
}
/*Header CSS*/
.has_et_pb_sticky .denton-header .et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.et_pb_menu--style-inline_centered_logo .et_pb_menu__wrap {
    justify-content: end;
}
.global-header-menu .et_mobile_menu{
    padding: 10px 0;
    border-top: 0px;
    margin-top: 24px;
}
.global-header-menu .mobile_nav.opened .mobile_menu_bar:before{
    content: "\4d";
}
.header-custom-link {
    text-align: right;
    margin-right: 70px;
    text-transform: uppercase;
    font-weight: 500;
}
.header-custom-link a {
    color: #ffffff;
}
.header-custom-link a:last-child{
    font-weight: 700;
    margin-left: 20px;
}
.et_pb_menu .et_mobile_nav_menu {
    margin-top: -32px !important;
}

/*show hamburger menu on desktop*/

@media (min-width: 980px) {
.et_pb_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu {
    display: none;
}

.et_pb_menu .et_mobile_nav_menu, .et_pb_fullwidth_menu .et_mobile_nav_menu {
    display: flex;
    float: none;
    margin: 0 6px;
    align-items: center;
}
.et_pb_menu .et_mobile_nav_menu li {
    list-style-type: none;
}
    
}

/*Home CSS*/
.home-slider .et_pb_slide{
    padding: 0 10%;
}
.home-slider .et_pb_slide_description{
    padding: 16% 0;
    animation: none;
}
.home-slider .et-pb-arrow-prev:before {
    content: "";
    width: 50px;
    height: 30px;
    position: absolute;
    background: url("/wp-content/uploads/2024/10/arrow-left-v2.png") no-repeat;
    background-size: contain;
}
.home-slider .et-pb-arrow-next:before {
    content: "";
    width: 50px;
    height: 30px;
    position: absolute;
    background: url("/wp-content/uploads/2024/10/arrow-left.png") no-repeat;
    background-size: contain;
    right: 0px;
}
.home-slider .et-pb-arrow-next, 
.home-slider .et-pb-arrow-prev{
    top: 90%;
}
.home-slider.et_pb_slider .et-pb-arrow-prev,
.home-slider.et_pb_slider:hover .et-pb-arrow-prev{
    left: 10%;
    opacity: 1;
}
.home-slider.et_pb_slider .et-pb-arrow-next,
.home-slider.et_pb_slider:hover .et-pb-arrow-next{
    right: auto;
    left: calc(10% + 120px);
    opacity: 1;
}
/*.home-slider .et_pb_slide:before{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url("/wp-content/uploads/2024/10/slider-four-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: square-to-circle 2s ease-out forwards;
    animation-delay: 1s;
}
.home-slider .et_pb_slide_1:before{
    width: 300px;
    height: 300px;
    right: 10%;
    bottom: 10%;
    border-radius: 100%;
    background-image: url("/wp-content/uploads/2024/10/slider-one-bg.jpg");
    animation: circle-to-square 2s ease-out forwards;
    animation-delay: 1s;
        
}*/
.life-at-dentor-rehab .et_pb_blurb_container {
    position: absolute;
    bottom: 30px;
    background: rgba(0,0,0,0.5);
    width: 100%;
    padding: 20px 15px 10px;
    max-width: 418px;
    margin: 0 auto;
    right: 0;
    left: 0;
}
.care-options-tailored:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.7);
}
body #page-container .et_pb_section .et_pb_button_module_wrapper .et_pb_button {
    border-bottom: 2px solid #6B7280!important;
}
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none;
}
body #page-container .et_pb_section.footer-above-section .et_pb_button_module_wrapper .et_pb_button {
    border-bottom: 2px solid #3C797D !important;
}
body #page-container .et_pb_section.care-options-tailored .et_pb_button_module_wrapper .et_pb_button {
    border-bottom: 2px solid #ffffff !important;
}

/*Inner Page CSS*/
.inner-page-banner:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(27,58,60,0.7);
}
.about-side-images .et_pb_column:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, #3C797D 100%);
}
.denton-special-section .et_pb_divider_internal:after {
    content: "";
    width: 30%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(87.22deg, rgba(60, 121, 125, 0) 22.54%, rgba(60, 121, 125, 0.99) 76.58%);
}
.service-special-section:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(60,121,125,0.95);
}
.about-slider .et-pb-controllers,
.about-testimonial-slider .et-pb-controllers {
    position: unset;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-slider .et-pb-controllers .et-pb-active-control,
.about-testimonial-slider .et-pb-controllers .et-pb-active-control {
    width: 10px;
    height: 10px;
}
.about-slider .et-pb-controllers a,
.about-testimonial-slider .et-pb-controllers a {
    background-color: #3C797D;
    border-radius: 10px;
}
.about-testimonial-slider .et_pb_slide {
    padding-left: 0;
    padding-right: 0;
}
.about-testimonial-slider .et-pb-controllers {
    justify-content: flex-start;
}
.site-contact-form .gform_wrapper input[type=text],
.site-contact-form .gform_wrapper input[type=email],
.site-contact-form .gform_wrapper input[type=tel],
.site-contact-form .gform_wrapper textarea {
    border: 1px solid #E1E4E7;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 15px;
    color: #6B7280;
}
.site-contact-form .gform_wrapper input[type=text]:focus,
.site-contact-form .gform_wrapper input[type=email]:focus,
.site-contact-form .gform_wrapper input[type=tel]:focus,
.site-contact-form .gform_wrapper textarea:focus {
    outline: 1px solid #3C797D;
    border: 1px solid #3C797D;
}
.site-contact-form .gform_wrapper .gfield-choice-input {
    border: 1px solid #dddddd;
    box-shadow: none;
    margin-bottom: 8px;
}
.site-contact-form .gform_wrapper label {
    color: #6B7280;
    font-size: 16px;
}
.site-contact-form .gform-theme--foundation .gform_fields {
    row-gap: 25px;
}
.site-contact-form .gform_footer input[type=submit] {
    width: 100% !important;
    background: #3C797D !important;
    padding: 15px !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    max-height: 60px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    border: 0 !important;
}
.site-contact-form .gform_footer.before {
    position: relative;
    margin-top: 35px;
}
.site-contact-form .gform_footer.before:before {
    content: "";
    width: 17px;
    height: 16px;
    position: absolute;
    background: url(/wp-content/uploads/2024/10/icon-chevron-right.png) no-repeat;
    left: calc(50% + 38px);
    top: 15px;
}
span.gfield_required.gfield_required_text {
    display: none;
}

/*Footer CSS*/
.footer-widget form#gform_1 {
    display: grid;
    grid-template-columns: 65% 32%;
    grid-column-gap: 3%;
}
.footer-widget .gform_footer.before {
    margin-top: 0;
}
.footer-widget .gform_wrapper input[type=email] {
    border: 2px solid #3C797D;
    border-radius: 0;
    padding: 22px 15px;
}
.footer-widget .gform_wrapper input[type=submit] {
    background: #3C797D !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-size: 17px !important;
    height: 49px !important;
}
#main-footer {
    background-color: #ffffff;
}
#footer-bottom .container {
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}
.footer-widget:first-child h2 {
    color: #6B7280;
    font-size: 32px;
    margin-bottom: 15px;
}
.footer-widget:first-child h3 {
    font-family: "Dancing Script";
    font-size: 35px;
    color: #6B7280;
}
#footer-widgets .footer-widget .title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #3C797D;
}
#footer-widgets .footer-widget li {
    margin-left: -12px;
    margin-bottom: 5px;
}
#footer-widgets .footer-widget li a {
    font-size: 18px;
    text-decoration: underline;
}
#footer-widgets .footer-widget li:before {
    display: none;
}


/*custom-gallery(04-03)*/
.custom-gallery .et_pb_gallery_item .et_pb_gallery_image .et_overlay {
      border: 0; 
}
.custom-gallery .et_pb_gallery_item {
        margin: 0 !important;
    width: 25% !important;
    padding: 10px 10px;
}

.custom-gallery .et_pb_gallery_item a{
    width: 100%;
    display: inline-block;
    overflow: hidden; 
}

.custom-gallery .et_post_gallery {
    padding-bottom: 15px;
}

.custom-gallery .et_pb_gallery_item:nth-child(odd) a img{
    border: 4px solid #3a3838;
    border-radius: 12px 0;
}

.custom-gallery .et_pb_gallery_item:nth-child(even) a img {
    border: 4px solid #3a3838;
    border-radius: 0 12px;
}

.custom-gallery .et_pb_gallery_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding-top: 15px;
}

.custom-gallery .et_pb_gallery_pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
}

.custom-gallery .et_pb_gallery_pagination li {
    display: inline-block;
    padding: 0 5px !important;
}

.custom-gallery .et_pb_gallery_pagination a {
    display: flex;
    padding: 8px 14px;
    border-radius: 5px;
    background: #f1f1f1;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
}

.custom-gallery .et_pb_gallery_pagination a:hover {
  background: #000000;
  color: #FFFFFF;
}

.custom-gallery .et_pb_gallery_pagination .active {
  background: #000000;
    color: #FFFFFF !important;
}

.custom-gallery .et_pb_gallery_pagination li[style*="display:none"] {
  display: none !important;
}

.custom-gallery .et_pb_gallery_pagination .prev a,
.custom-gallery .et_pb_gallery_pagination .next a {
  background: #333;
  color: #FFFFFF;
    width: auto;
}

.custom-gallery .et_pb_gallery_pagination .prev a:hover,
.custom-gallery .et_pb_gallery_pagination .next a:hover {
  background: #000000;
}
/*custom-gallery-end*/


/*Media CSS*/
@media ( min-width: 1321px ) {
    .dh-fullwidth-column {
        max-width: 535px;
        margin: 0 0 0 auto;
    }
    .dh-fullwidth-column-2nd {
        max-width: 675px;
        margin: 0 0 0 auto;
    }
}
@media(min-width: 981px){
    .vertically-center-text {
        display: flex;
        align-items: center;
    }
    .dh-fullwidth-column-right {
        max-width: 535px;
    }
    .welcome-to-benton-rehab-section .et_pb_column.gif-column:before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 200px;
        height: 100%;
        background: linear-gradient(87.22deg, #F1EFE9 16.73%, rgba(255, 255, 255, 0) 61.14%);
    }
}
@media(min-width: 768px){
    #footer-widgets{ display: flex; width: 100%; gap: 10px; }
    #footer-widgets .footer-widget{ width: 33.33% !important; }
    /*#footer-widgets .footer-widget:first-child {
        width: 40% !important;
    }
    #footer-widgets .footer-widget:nth-child(2) {
        width: 19.5% !important;
    }
    #footer-widgets .footer-widget:nth-child(3) {
        width: 15% !important;
    }
    #footer-widgets .footer-widget:last-child {
        width: 15% !important;
    }*/
    .et_pb_gutters3 .footer-widget {
        margin-right: 3.5%;
    }
    .employee-month-two:before {
        content: "";
        width: 250px;
        height: 336px;
        position: absolute;
        background: url(/wp-content/uploads/2024/10/tree-foliage-01.png) no-repeat;
        background-size: contain;
    }
    .employee-month-two:after {
        content: "";
        width: 220px;
        height: 333px;
        position: absolute;
        background: url(/wp-content/uploads/2024/10/tree-foliage-02.png) no-repeat;
        bottom: 110px;
        right: 0px;
        background-size: contain;
    }
    .dining-nutrition-right:after {
        content: "";
        width: 387px;
        height: 312px;
        position: absolute;
        left: -60px;
        top: 100px;
        background: url(/wp-content/uploads/2024/10/dn-foliage-img-01.png) no-repeat;
        background-size: contain;
        z-index: -1;
    }
    .dining-nutrition-left:after {
        content: "";
        width: 387px;
        height: 312px;
        position: absolute;
        right: -60px;
        top: 100px;
        background: url(/wp-content/uploads/2024/10/dn-foliage-img-02.png) no-repeat;
        background-size: contain;
        z-index: -1;
    }
    .rehab-services-right:before {
        content: "";
        width: 500px;
        height: 500px;
        position: absolute;
        left: -80px;
        bottom: -260px;
        background: url(/wp-content/uploads/2024/10/services-foliage.png) no-repeat;
        background-size: contain;
    }
    .service-special-section>.et_pb_row>.et_pb_column:last-child .et_pb_column {
        width: 31.87%;
        margin-right: 2.186%;
    }
}
@media ( min-width: 981px ) and ( max-width: 1320px ) {
    .dh-fullwidth-column {
        max-width: 39.8%;
        margin: 0 0 0 auto;
    }
    .dh-fullwidth-column-2nd {
        max-width: 49.9%;
        margin: 0 0 0 auto;
    }
}
@media(min-width: 768px) and (max-width: 980px){
    #footer-widgets .footer-widget{ margin: 0 !important; }
    /*#footer-widgets .footer-widget:first-child {
        width: 46.25% !important;
    }
    #footer-widgets .footer-widget:nth-child(2) {
        width: 46.25% !important;
    }
    #footer-widgets .footer-widget:nth-child(3) {
        width: 46.25% !important;
    }
    #footer-widgets .footer-widget:last-child {
        width: 46.25% !important;
    }*/
}

@media(max-width: 980px){
    .denton-header>.et_pb_row{
        flex-wrap: wrap !important;
    }
    .denton-header .et_pb_menu__wrap .mobile_menu_bar{
        margin-top: -58px;
    }
    .denton-header.et_pb_sticky--top .et_pb_menu__wrap .mobile_menu_bar{
        margin-top: -42px;
    }
    .global-header-menu .et_mobile_menu{
        margin-top: 0;
    }
    .custom_row {
        display: flex;
        flex-wrap: wrap;
    }
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }
    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }
}
@media (max-width: 767px){
    .et_pb_divider.tree-foliage {
        background-position: center;
    }
    h2 {
        font-size: 35px !important;
    }
    h3 {
        font-size: 32px !important;
    }
    h4 {
        font-size: 28px !important;
    }
    h2.gform_submission_error {
        font-size: 16px !important;
    }
    .qualified-caring-professionals h3.et_pb_module_header {
        font-size: 24px !important;
    }
    #footer-widgets h4.title {
        font-size: 20px !important;
    }  
    .custom-gallery .et_pb_gallery_item {
        width: 50% !important
    } 
    .gform_title {
        font-size: 24px !important;
        padding-bottom: 20px;
    }
}
@media screen and (max-width: 479px){
    .custom-gallery .et_pb_gallery_pagination a {
        width: 36px;
        height: 36px;
    }

    .dentonrehab-form-wrap .gform_title {
        font-size: 22px !important;
    }

    .dentonrehab-form-wrap .gfield--type-html  strong h4,  .dentonrehab-form-wrap h3.gsection_title {
        font-size: 22px !important;
    }
}

@media(max-width: 400px){
    .footer-widget form#gform_1 {
        grid-template-columns: 60% 32%;
        grid-column-gap: 1%;
    }
    .footer-above-section h2 {
        font-size: 32px !important;
    }
}

/*Custom Animation CSS*/
@keyframes square-to-circle {
    0%{
        border-radius: 0 0 0 0;
    }
    25%{
        border-radius: 50px 50px 50px 50px;
    }
    50%{
        border-radius: 100px 100px 100px 100px;
    }
    90%{
        border-radius: 100px 100px 100px 100px;
    }
    100%{
        right: 10%;
        bottom: 10%;
        width: 300px;
        height: 300px;
        border-radius: 100% 100% 100% 100%;
    }
}
@keyframes circle-to-square {
    0%{
        border-radius: 100% 100% 100% 10%;
    }
    25%{
        border-radius: 50px 50px 50px 50px;
    }
    50%{
        border-radius: 100px 100px 100px 100px;
    }
    90%{
        border-radius: 100px 100px 100px 100px;
    }
    100%{
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0 0 0 0;
    }
}