/*
 Theme Name:     html5blank-stable_2 Child Theme
 Theme URI:      http://html5blank.com
 Description:    html5blank-stable_2 Child Theme
 Author:         Todd Motto (@toddmotto)
 Author URI:     http://toddmotto.com
 Template:       html5blank-stable_2
 Version:        1.0.0
 Tags: Blank, HTML5, CSS3

 License: MIT
 License URI: http://opensource.org/licenses/mit-license.php
*/

/* =Theme customization starts here
------------------------------------------------------- */

div.wpcf7 {
  flex-grow: 1;
}
div.wpcf7 ul {
  margin-top: 20px;
}
div.wpcf7 li {
  margin-bottom: 15px;
}
div.wpcf7 input[type="text"],
div.wpcf7 input[type="email"],
div.wpcf7 input[type="tel"],
div.wpcf7 input[type="number"],
div.wpcf7 input[type="file"],
div.wpcf7 textarea {
  width: 100%;
  line-height: 40px;
  padding-left: 5px;
  border: 1px solid #ddd;
  margin-top: 5px;
  margin-bottom: 10px;

  border-radius: 2px;
}
select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
    width: 100%;
    height: 40px;
}

div.wpcf7 input[type="submit"] {
  background: #4dd0e7;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  width: 100%;
  height: 40px;
  line-height: 40px;
}
div.wpcf7 label {
  font-size: 16px;
  font-family: 'Montserrat', 'arial';
  font-weight: normal !important;
  width: 100%;
}
.wpcf7-form .wpcf7-response-output.wpcf7-validation-errors {
  color: #D8000C;
  background-color: #FFBABA;
  border: 0;
  padding: 10px;
}
.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
  color: #4F8A10;
  background-color: #DFF2BF;
  border: 0;
  padding: 10px;
}
body.occupational-medicine-form div.wpcf7 form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
body.occupational-medicine-form div.wpcf7 form label {
  width: 48%;
  display: block;
}
div.wpcf7 li {
    margin-bottom: 15px;
    list-style-type: none;
    font-family: 'Montserrat', 'arial';
    font-weight: normal !important;
    font-size: 1.6em;
}
.form-row li {
    width: 30%;
    border: 2px solid #fff;
    padding: 8px;
}
body {
  font-family: 'Montserrat', sans-serif !important;
}
.nav {
  max-width: 100% !important;
  display: block;
}

.btn-link {
    color: #4dd0e7 !important;
}
.btn {
      white-space: inherit !important;
      font-size: 14px;
}

.card {
  font-size: 13px;
}

.header-menu-item {
outline-style: double;
outline-color: #fe5a5f;
outline-width: 5px;

}
.top-part2-text {
  float:right
}

.top-bar-logo {
  max-width: 28% !important;
}

.top-bar-logo-2 {
    max-width: 80%;
    padding: 15px;
    max-height: 9em;
    width: auto;
}

.location-info {
  padding: 20px;
}

.telephone-number span {
  color: #fe5a5f;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #fe5a5f;
  padding: 10px 30px;
  margin-right: 10px;
}

.location-wait-time span {
  background-color: #fe5a5f;
  color: white;
  padding: 11px 30px;
  text-transform: uppercase;
  font-size: 12px;

}
#current-wait-howell {
    padding: initial !important;
}
#current-wait-marlboro {
    padding: initial !important;
}
#current-wait-monroe {
    padding: initial !important;
}

.dropdown {
  position: relative;
  display: inline-block;
  text-align: left;
  width: 232px;
  left: 30px;
}

.dropdown-text {
  cursor: pointer;
  position: absolute;
  text-indent: 10px;
  line-height: 32px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255,255,255, .9) inset, 0 1px 3px rgba(0,0,0, .1);
  width: 100%;
}

.dropdown-text:after {
  position: absolute;
  right: 6px;
  top: 15px;
  content: '';
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  border-color: #555 transparent transparent transparent;
}

.dropdown-text,
.dropdown-content a {
  color: #333;
  text-shadow: 0 1px #fff;
}

.dropdown-toggle {
  font-size: 0;
  z-index: 1;
  cursor: pointer;
  position: absolute;
  top: 0;
  border: none;
  padding: 0;
  margin: 0 0 0 1px;
  background: transparent;
  text-indent: -10px;
  height: 34px;
  width: 100%;
}

.dropdown-toggle:focus {
  outline: 0;
}

.dropdown-content {
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
  list-style-type: none;
  position: absolute;
  top: 32px;
  padding: 0;
  margin: 0;
  opacity: 0;
  visibility:hidden;
  border-radius: 3px;
  text-indent: 10px;
  line-height: 32px;
  background-color: #eee;
  border: 1px solid #ccc;
  width: 232px;
  z-index: 2;
}

.dropdown-content a {
  display: block;
}

.dropdown-content a:hover {
  background: #e8e8e8;
}


.dropdown-toggle:hover ~ .dropdown-text,
.dropdown-toggle:focus ~ .dropdown-text {
  background-color: #e8e8e8;
}

.dropdown-toggle:focus ~ .dropdown-text {
  box-shadow: 0 1px 3px rgba(0,0,0, .2) inset, 0 1px 0 rgba(255,255,255, 0.8);
  z-index: 2;
}

.dropdown-toggle:focus ~ .dropdown-text:after {
  border-width: 0 4px 5px 4px;
  border-color: transparent transparent #555 transparent;
}

.dropdown-content:hover,
.dropdown-toggle:focus ~ .dropdown-content {
  opacity: 1;
  visibility:visible;
  top: 42px;
}

.icons-home {
  font-size: 20px;
  float: right;
}

.icons-home a {
    color: #fff !important;
}
.cj-banner:before {
  position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    content: " ";
    background: linear-gradient(
			rgba(25, 46, 72, 0.65),
		rgba(25, 46, 72, 0.65)
			);
}

.cj-banner {
 width: 100%;
 position: relative;
 display: inline-block;
}

.cj-banner-heading {
  position: absolute;
  color: white;
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  width: 71%;
  max-width: 430px;
  top: 50%;
  text-align: left;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}
.cj-banner-heading-outline {
  border: 3px solid #fff;
  padding: 10px 30px;
}
.cj-banner-heading h1 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 1rem;
}

.home-slide {
  background-size: cover;
  height: 700px;
}
.cj-banner-location-time span {
    background-color: #4dd0e7;
    color: #fff;
    padding: 11px 30px;
    text-transform: uppercase;
    font-size: 14px;
}

.cj-banner-bottom-paragraph {
  font-size:22px;
  font-weight:200;
}
.top-service-carousel-item:before {
  position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    content: " ";
    background: linear-gradient(
      rgba(240, 240, 240, 0.65),
    rgba(240, 240, 240, 0.65)
      );
}

.top-service-carousel-heading {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
.carousel-caption {
  text-align: left !important;
  font-family: 'Montserrat', sans-serif;
  color: #3b3b3b !important;

}
.carousel-caption p{
  font-size: 14px;
  font-weight: 600;
}

.carousel-container {
    max-width: 90% !important;
}
.carousel-picture {
  width: 560px;
  height:320px;
}

.open-now-banner {
background: #fe5b5f;
text-align: center;
color: white;
font-size: 24px;
text-transform: uppercase;
font-weight: 600;
}


.sub-pages-nav {
text-align: center;
text-transform: uppercase;
font-size: 16px;
font-weight: 600;
background: #4dd0e7;
color: white;
text-decoration: underline;
margin-bottom: 20px;

}

.sub-pages-nav a {
  color: white;
}

ul#menu-footer-menu-below-banner {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: auto;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}
ul#menu-footer-menu-below-banner li {
    flex: 1 1 50%;
    list-style-type: none;
    padding: 10px;
}
.top-service-carousel {
  padding: initial !important;
  min-height: auto !important;
}

.services {
  text-align: center;
  text-transform: uppercase;
  margin-top: 25px;
  background: #fff2e8;
  font-family: 'Montserrat', sans-serif;
}

.service-section {
  padding-bottom: 10px;
  background: #fe5a5f;
  color: white;
  padding-top: 20px;
  margin: 10px;
}

.icon {
  background: #4dd0e7;
  padding: 5px;
  position: inherit;
  left: 0px;
  bottom: 18px;
}
.service-button {
  background-color: #fff2e8;
  color: #840208 !important;
  border: none;
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  font-weight: 600;
}

.service-button a {
  color: #555658 !important;
}


.service-heading {
padding-bottom: 20px;
font-weight: 600;
font-size: 12px;
text-decoration: underline;
margin-top: 10px;
}

.services-picture {
  border: 2px solid #fff;
}

.service-paragraph {
  font-size: 12px;
}

.map-location-heading {
font-size: 18px;
font-weight: 900;
text-transform: uppercase;
background: #F0F0F0;
float: right;
padding-top: 20px;
padding-bottom: 20px;
padding-right: 7px;

}
.location-map {
position: absolute;
z-index: 2;
width: 93%;
}
.cj-urg-logo {
  position: inherit;
    left: 15px;
    bottom: 35px;

}

.map-location-info {
z-index: 100;
position: absolute;
bottom: 0px;
width: 93%;
font-family: 'Montserrat', sans-serif;
background: #F0F0F0;
}

.map-location-address {
 font-weight: 300;
 font-size: 14px;
}

.map-location-button-info {
background-color:#4dd0e7;
border: none;
color: white;
padding: 5px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 14px;
font-weight: 200;
margin-left: 2px;
}

.map-location-button-info a {
  color: white;
}

img.slider-picture-four {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*Sub Pages */

.breadcrumbs {
color: white;
background: #192E48;
padding: 10px;
font-size: 16px;

}

.breadcrumbs a {
  color: white !important;
}

.breadcrumbs p {
  margin: auto;
}

.page-title {
  color: #fe5a5f;
  font-size: 34px;
}

.page-sub-title {
  color: #192E48;
}

.sub-page-banner-picture{
object-fit: cover;
height: 500px;
width: 100%;
}

.sub-page-banner {
width: 100%;
position: relative;
display: inline-block;
}

.sub-page-banner::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    background: #00000040;
    right: 0;
}

.sub-page-heading {
color: white;
font-size: 52px;
font-weight: 800;
text-transform: uppercase;
font-family: 'Montserrat', sans-serif;
width: auto;
top: 50%;
text-align: left;
overflow: hidden;
padding: 20px 10px;
position: absolute;
top: 30%;
left: 30%;
transform: translate(-30%, -30%);
}

.sub-page-info {
background: #F0F0F0;
margin-top: 20px;
padding: 10px;
font-size: 14px;
margin-bottom: 50px;
}

.sub-page-info-container {
  max-width: 90% !important;
}

body.page-template.page-template-no_picture_sub_page.page-template-no_picture_sub_page-php .sub-page-info-container {
    font-size: 14px !important;
}

.sub-page-button {
border: none;
color: white;
padding: 10px 30px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 6px;
cursor: pointer;
background: #fe5a5f;
width: 252px;
text-transform: uppercase;
text-decoration: underline;
float: right;
}
ul#menu-sub-page-menu {
    padding-inline-start: 0px;
}

.sub-page-button a {
  color: white;
}

/*Occ Med Form */

.container.occ-med div.wpcf7 {
    max-width: 100%;
}

/* Get Directions Page */

.location-header {
  color: #fe5a5f;
  font-size: 22px;
  font-weight: 600;
}

.directions-paragraph {
  color: #192E48;
  font-size: 14px;
}

.get-directions-heading {
  text-align: center;
  color: #fe5a5f;
  font-weight: 700;
  font-size: 36px;
}

.get-directions-sub-heading {
  color: #192E48;
  text-align: center;
  font-size: 28px;
}

.get-directions-heading-paragraph {
  text-align: center;
  margin-bottom: 40px;
  font-size: 16px;
}

/* Meet the physicans page */

.doc-row {
  background: #fff2e8;
  margin-top: 20px;
  margin-bottom: 40px;
}

.doctor-picture {
  border: 6px solid #192E48;
}
.team-heading {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-top: 20px;
}

.doc-col {
background: #fe5a5f;
margin: 20px;
color: white;
padding: 20px;
}

/* services page */

img.employer-services {
  width: 576px;
  height: 235px;
  object-fit: cover;
  margin-right: auto;
  margin-left: auto;
  display: block;
}

.employer-services-heading {
    text-align: center;
    color: #fe5a5f;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 30px;
}


/*contact form 7 */
div.wpcf7 {
    margin-top: 20px;
    padding: 0;
    margin-bottom: 30px;
    max-width: 634px;
}

.wpcf7 {
background-color: #F0F0F0;
border: 5px solid #4dd0e7;
}

.wpcf7-form {
margin-left: 25px;
margin-right: 25px;
margin-top: 25px;
}

.wpcf7-textarea {
width: 85%;
}

.wpcf7-text {
width: 50%;
}

.wpcf7-submit {
background: #555555;
color: #ffffff;
}

@media only screen and (max-width:1200px) {
 .map {
    width: 80%;
 }
}
@media screen and (max-width: 985px) and (min-width: 800px) {
.carousel-picture{

height: 280px !important;

 }
}

@media only screen and (max-width:978px) {
  .home-slide {
    height: 640px;
  }
}

@media only screen and (max-width:900px) {
  .sub-pages-services{
    font-size: 14px;
  }
  .map-location-heading {
    font-size:16px;
  }
  .map-location-address{
    font-size: 12px;
  }
  .map-location-button-info {
    font-size: 12px;
  }
}

@media only screen and (min-width:880px) {
 .service-button {
   margin-bottom: 25px;
 }
}

@media screen and (max-width: 800px) and (min-width: 638px) {
.carousel-picture{
  width: 650px;
height: 370px;

 }
}


@media only screen and (max-width:830px) {
 .sub-page-button {
   width: 210px;
 }
}

@media only screen and (max-width:800px) {
  .sub-pages-services{
    font-size: 16px;
      max-width: 50%;
      flex-basis: auto;
      padding: 5px;
  }
  .map-location-heading {
/*    font-size:14px; */
  }
  .map-location-address{
  /*  font-size: 10px; */
  }

  .cj-banner-heading {
    font-size: 28px;
  }
  .cj-banner-bottom-paragraph {
    font-size: 18px;
  }
  .cj-banner-heading h1 {
  font-size: 28px;
}

}

@media only screen and (max-width:770px) {
	.top-services-slider {
		flex-basis: auto !important;
    margin-bottom: 20px;
	}
  .location-map {
    position: inherit;
    width: 100%;
  }
  .map-location-info {
  /*  width: 95.3%; */
  width:auto;
  position: inherit;
  }
  .top-bar-logo {
   max-width: 40% !important;
  }
  .map-holder {
    flex: none !important;
    max-width: 100%;
}
  .map {
    width: 100%;
}
.dropdown {
  display: none;
}
body.occupational-medicine-form div.wpcf7 form label {
    width: 100%;
  }
  .form-row li {
    width: 48%;
  }
  .wpcf7-list-item-label {
    font-size:14px;
  }
  .top-bar-text {
    font-size:14px;
  }
  .home-slide {
  height: 500px;
}

}

@media screen and (max-width: 800px) and (min-width: 771px) {

   .carousel-inner {
    max-height: 299px !important;
  }
  .carousel-caption {
    bottom: 100px !important;
}
 }

@media screen and (max-width: 700px) and (min-width: 500px) {
  .sub-page-paragraph {
    max-width: 50% !important;
}
.sub-page-button-container {
    max-width: 50%;
    margin-left: auto;
}





 }

 @media only screen and (min-width: 570px) {
 ul#menu-footer-menu-below-banner li {
     flex: 1 1 25%;
 }
}
@media only screen and (max-width:570px) {
	.service-section {
		flex-basis: auto !important;
	}
  .cj-banner-heading {
    font-size: 19px;
  }
  .cj-banner-heading h1 {
  font-size: 19px;
}
  .cj-banner-bottom-paragraph {
    font-size: 14px;
  }
  .cj-banner-location-time span {
    font-size: 14px;
  }
  .map-location-heading {
    padding-top: 25px;
  }
  .doc-col {
    max-width: 100%;
    flex-basis: auto;
  }
  .membership-col {
    max-width: 100%;
    flex-basis: auto;
  }
  .map-location-button-info {
    font-size: 10px;
  }
  .open-now-banner {
    font-size: 20px;
  }
  .form-row li {
    width: 100%;
}
 .form-row {
   padding: inherit;
 }
 .top-bar-text {
   font-size:12px;
 }
 .home-slide {
  height: 340px;
 }
}

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

  .sub-page-heading {
    font-size: 38px;
  }
  .sub-page-heading p {
    font-size: 14px !important;
  }
  .sub-page-button-container {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .sub-page-button {
    float: none;
    font-size: 14px;
  }
  .sub-page-paragraph {
   font-size: 14px;
   flex: auto;
   max-width: 100% !important;
  }
  .cj-banner-heading-outline {
    margin-bottom: 10px;
  }
  .cj-banner-location-time span {
   padding: 6px 7px;
  }
.top-part2-text {
  display: none;
}
.service-button {
    font-size: 12px;
  }

  .top-service-carousel-heading {
    font-size: 16px;
  }

.top-bar-text{
  font-size: 16px;
}
.sub-pages-nav {
  font-size:14px;
}

}

@media only screen and (max-width:460px) {
	.telephone-number span {
	 padding: 10px 20px
	}
  .location-wait-time span {
        padding: 10px 20px;
  }
  .sub-pages-services{
    font-size: 14px;

  }
  .cj-banner-image {
    height: 300px;
    object-fit: cover;
  }
  .carousel-picture {
    height: 250px;
  }
  .sub-page-info {
    margin-left: auto;
    margin-right: auto;
  }
  .employer-services-col {
    flex-basis: auto;
}
.carousel-caption p {
    font-size: 12px;
}
.home-slide {
  height: 300px;
  object-fit: cover;
}
}
@media only screen and (max-width:420px) {
	.telephone-number span {
	 padding: 10px 5px
	}
  .location-wait-time span {
        padding: 10px 5px;
  }
  .sub-pages-services{
    font-size: 12px;

  }
  .map-location-address {
      font-size: 9px;
  }
  .open-now-banner {
    font-size: 18px;
 }
 .cj-banner-heading {
  width: 81%;
}
}

@media only screen and (max-width:360px) {
	.telephone-number span {
	 padding: 10px 3px
   font-size: 9px;
	}
  .location-wait-time span {
        padding: 12px 3px;
        font-size: 9px;
  }
  .cj-banner-heading {
  width: 91%;
}
.cj-banner-location-time span {
  font-size: 14px;
}
}
