/* =====================================================
   Urgent Care Dental — Emergency Dentist Scarsdale
   Medical Plus Theme v1.05 (Goodlayers) — CSS Rebuild
   ===================================================== */

/* Reset
================================================== */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, address, em, img, ins, small,
strike, strong, sub, sup, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot,
thead, tr, th, td, article, aside, details, embed, figure,
figcaption, footer, header, menu, nav, output, section, summary {
  margin: 0; padding: 0; border: 0; font-size: 100%;
  font: inherit; vertical-align: baseline; box-sizing: border-box; }
article, aside, details, figcaption, figure, footer, header,
hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
a { text-decoration: none; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* Base Styles
================================================== */
body {
  line-height: 165%;
  -webkit-text-size-adjust: 100%;
  font-family: HelveticaNeue, "Helvetica Neue", Arial, Helvetica, sans-serif;
  background: #f0f0f0;
  color: #444;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: lighter;
  line-height: 1.2;
  margin-bottom: 15px;
  font-family: HelveticaNeue, "Helvetica Neue", Arial, Helvetica, sans-serif;
}
p { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
strong { font-weight: bold; }
small { font-size: 80%; }
ul, ol { margin-left: 30px; }
ul { list-style: disc; }
ol { list-style: decimal; }
table { border-width: 1px; border-style: solid; width: 100%; }
tr th { border-bottom-width: 1px; border-bottom-style: solid; text-align: left; }
tr th, tr td { padding: 9px 20px; border-right: 1px solid; }
tr th:last-child, tr td:last-child { border-right: 0; }
table th { font-weight: bold; }
a { transition: color 300ms, background-color 300ms; }

/* WordPress Alignment
================================================== */
.alignleft, img.alignleft { float: left; margin: 5px 20px 20px 0; }
.alignright, img.alignright { float: right; margin: 5px 0 20px 20px; }
.aligncenter, img.aligncenter { display: block; margin: 5px auto; }

/* Foundation-Style Grid (12 column)
================================================== */
.container, .wrapper { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.row { width: 100%; margin-bottom: 20px; overflow: hidden; }
.row:after { content: ""; display: table; clear: both; }
.columns { float: left; padding: 0 10px; }
.one.columns    { width: 8.33%; }
.two.columns    { width: 16.67%; }
.three.columns  { width: 25%; }
.four.columns   { width: 33.33%; }
.five.columns   { width: 41.67%; }
.six.columns    { width: 50%; }
.seven.columns  { width: 58.33%; }
.eight.columns  { width: 66.67%; }
.nine.columns   { width: 75%; }
.ten.columns    { width: 83.33%; }
.eleven.columns { width: 91.67%; }
.twelve.columns { width: 100%; float: none; }
.mb0 { margin-bottom: 0 !important; }
.mb5 { margin-bottom: 5px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb40 { margin-bottom: 40px !important; }
.clear { clear: both; display: block; width: 0; height: 0; overflow: hidden; visibility: hidden; }

/* Body Wrapper
================================================== */
div.body-wrapper { background: #fff; }

/* TOP NAVIGATION BAR
================================================== */
div.top-navigation-wrapper {
  background: #e8e8e8;
  border-bottom: 1px solid #d0d0d0;
  position: relative;
  z-index: 20;
}
div.top-navigation.container {
  text-align: center;
  font-size: 12px;
  padding-top: 7px;
  padding-bottom: 7px;
  line-height: 100%;
  overflow: hidden;
}
div.top-navigation-left { float: left; line-height: 17px; }
div.top-navigation-left ul { margin: 0; list-style: none; }
div.top-navigation-left ul li { float: left; margin-right: 23px; }
div.top-navigation-left ul li a { color: #555; font-size: 12px; }
div.top-navigation-left ul li a:hover,
div.top-navigation-left ul li.current-menu-item a { color: #cc2222; }
div.top-navigation-right { float: right; }

/* Social Icons
================================================== */
div.social-wrapper { float: right; }
div.social-icon { float: left; margin-right: 8px; cursor: pointer; }
div.social-icon:last-child { margin-right: 0; }
div.social-icon img { display: block; width: 20px; height: 20px; }

/* HEADER
================================================== */
div.header-wrapper {
  background: #1a2b3c;
  position: relative;
  z-index: 50;
  padding: 18px 0;
}
div.header-container.container { overflow: hidden; }
div.logo-wrapper { float: left; text-align: left; margin-right: 20px; }
div.logo-wrapper h1 { margin: 0; }
div.logo-wrapper img { max-height: 80px; width: auto; display: block; }
div.logo-right-text {
  float: left;
  margin: 8px 10px;
  color: #fff;
  font-size: 18px;
  line-height: 150%;
}
div.logo-right-text a { color: #fff; }
div.logo-right-text a:hover { color: #ff9999; }
.phone-red { color: #ff3333; font-weight: bold; font-size: 22px; }
div.content-top-shadow {
  height: 63px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), transparent);
  position: absolute;
  left: 0; right: 0; bottom: -63px;
  pointer-events: none;
  z-index: 10;
}

/* MAIN NAVIGATION
================================================== */
div.gdl-navigation-gimmick {
  height: 9px;
  border-top: 2px solid #cc2222;
  border-bottom: 1px solid #ddd;
}
div.gdl-navigation-wrapper {
  background: #2b2b2b;
  position: relative;
  z-index: 200;
}
div.navigation-wrapper { position: relative; }
div.navigation-bottom-shadow {
  height: 6px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  pointer-events: none;
}

/* SuperFish Nav
================================================== */
ul.sf-menu { margin: 0; list-style: none; }
ul.sf-menu > li {
  float: left;
  position: relative;
}
ul.sf-menu > li > a {
  display: block;
  padding: 14px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: normal;
  white-space: nowrap;
}
ul.sf-menu > li > a:hover,
ul.sf-menu > li.current-menu-item > a {
  background: #cc2222;
  color: #fff;
}
/* Dropdowns */
ul.sf-menu ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2b2b2b;
  min-width: 200px;
  z-index: 1000;
  border-top: 2px solid #cc2222;
  list-style: none;
  margin: 0;
}
ul.sf-menu ul.sub-menu li { position: relative; }
ul.sf-menu ul.sub-menu li a {
  display: block;
  padding: 10px 16px;
  color: #ccc;
  font-size: 12px;
  border-bottom: 1px solid #3a3a3a;
  white-space: nowrap;
}
ul.sf-menu ul.sub-menu li a:hover { color: #fff; background: #cc2222; }
ul.sf-menu ul.sub-menu ul.sub-menu {
  left: 100%;
  top: 0;
}
ul.sf-menu li:hover > ul.sub-menu { display: block; }
div.responsive-menu-wrapper { display: none; }

/* PAGE CONTENT AREA
================================================== */
div.content-wrapper { position: relative; z-index: 100; background: #fff; }
div.page-container { padding-top: 10px; padding-bottom: 40px; }
div.page-wrapper { padding-top: 15px; }

/* FLEXSLIDER
================================================== */
.flexslider { position: relative; margin: 0; padding: 0; overflow: hidden; }
.flexslider .slides { margin: 0; padding: 0; list-style: none; }
.flexslider .slides li { display: none; position: relative; }
.flexslider .slides li:first-child { display: block; }
.flexslider .slides li img { width: 100%; display: block; }
.flex-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  padding: 15px 25px;
}
h2.gdl-slider-title {
  color: #fff;
  font-size: 24px;
  margin: 0;
  font-weight: normal;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
/* FlexSlider Controls */
.flex-control-nav {
  position: absolute;
  bottom: 10px;
  right: 10px;
  list-style: none;
  margin: 0;
  z-index: 10;
}
.flex-control-nav li { display: inline-block; margin: 0 3px; }
.flex-control-nav li a {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.flex-control-nav li a.flex-active { background: #fff; }
.flex-direction-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  list-style: none;
  margin: 0;
  z-index: 10;
  transform: translateY(-50%);
}
.flex-direction-nav li a {
  position: absolute;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}
.flex-direction-nav li a.flex-prev { left: 10px; }
.flex-direction-nav li a.flex-next { right: 10px; }
.flex-direction-nav li a:hover { background: rgba(204,34,34,0.8); }
div.gdl-slider-wrapper { margin-bottom: 25px; }

/* SECTION HEADERS
================================================== */
div.gdl-header-wrapper { margin: 15px 0 20px; }
h3.gdl-header-title {
  font-size: 18px;
  color: #333;
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 2px solid #cc2222;
  font-weight: normal;
  display: inline-block;
  width: 100%;
}
div.gdl-header-gimmick { display: inline-block; }

/* SERVICE COLUMNS (icon boxes)
================================================== */
div.column-service-wrapper { padding: 10px; }
div.column-service-image { text-align: center; margin-bottom: 10px; }
div.column-service-image img { max-width: 80px; }
div.column-service-title-wrapper { text-align: center; }
h2.column-service-title {
  font-size: 18px;
  color: #1a2b3c;
  margin-bottom: 8px;
  font-weight: bold;
}
div.column-service-content { font-size: 14px; color: #555; line-height: 1.6; text-align: center; }

/* STUNNING TEXT (CTA Band)
================================================== */
div.stunning-text-wrapper {
  background: #1a2b3c;
  padding: 25px 30px;
  margin: 20px 0;
  text-align: center;
}
h1.stunning-text-title {
  font-size: 32px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: bold;
  letter-spacing: 2px;
}
div.stunning-text-caption {
  color: #ccc;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
a.stunning-text-button {
  display: inline-block;
  background: #cc2222;
  color: #fff;
  padding: 12px 30px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 3px;
  margin-top: 10px;
  letter-spacing: 1px;
}
a.stunning-text-button:hover { background: #aa1111; }

/* MAIN CONTENT BODY
================================================== */
#lipsum { font-size: 15px; line-height: 1.75; color: #444; }
#lipsum ul { margin: 15px 0 15px 25px; }
#lipsum ul li { list-style: disc; margin-bottom: 5px; }
#lipsum span { color: #3e3e3e; }
#lipsum img.alignright { max-width: 300px; }

/* TESTIMONIALS
================================================== */
div.gdl-static-testimonial { }
div.testimonial-item {
  background: #f8f8f8;
  border-left: 4px solid #cc2222;
  padding: 12px 15px;
  margin-bottom: 15px;
}
div.testimonial-content {
  font-style: italic;
  color: #555;
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.6;
}
div.testimonial-info { font-size: 13px; color: #888; }
span.testimonial-author { font-weight: bold; color: #333; }

/* COLUMN ITEMS (mission, locations)
================================================== */
div.gdl-column-item { font-size: 14px; line-height: 1.7; color: #555; }
div.gdl-column-item h3 { font-size: 15px; color: #1a2b3c; font-weight: bold; margin: 10px 0 5px; }
div.gdl-column-item h3 a { color: #1a2b3c; }
div.gdl-column-item h3 a:hover { color: #cc2222; }
div.gdl-column-item p { margin-bottom: 10px; }

/* PAGE TITLE (inner pages)
================================================== */
div.gdl-page-title-outer-wrapper {
  border-bottom: 1px solid #ddd;
  margin-bottom: 25px;
}
div.gdl-page-title-wrapper {
  background: linear-gradient(135deg, #1a2b3c 0%, #2b4a6a 100%);
  padding: 30px 20px 26px;
}
h1.gdl-page-title {
  color: #fff;
  font-size: 26px;
  margin: 0;
  font-weight: normal;
}

/* GOOGLE MAP
================================================== */
#map-canvas { height: 300px; width: 100%; margin: 0; padding: 0; background: #e5e5e5; }
#map-canvas img { max-width: none; }

/* CONTACT FORM
================================================== */
.contact-form-wrapper { max-width: 600px; }
.contact-form-wrapper label { display: block; font-size: 13px; color: #555; margin-bottom: 4px; }
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  margin-bottom: 15px;
  font-family: inherit;
}
.contact-form-wrapper textarea { height: 120px; resize: vertical; }
.contact-form-wrapper .form-group { margin-bottom: 5px; }
.contact-form-wrapper .required { color: #cc2222; }
.btn-submit {
  background: #cc2222;
  color: #fff;
  padding: 10px 28px;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}
.btn-submit:hover { background: #aa1111; }

/* OFFICE INFO BOXES
================================================== */
.office-info-box {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 3px;
}
.office-info-box h3 {
  font-size: 18px;
  color: #1a2b3c;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #cc2222;
}
.office-info-box p { font-size: 14px; color: #555; margin-bottom: 8px; }
.office-info-box .hours-table { width: 100%; border: none; margin-top: 10px; }
.office-info-box .hours-table tr td {
  padding: 5px 8px;
  border: none;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.office-info-box .hours-table tr:last-child td { border-bottom: none; }
.office-info-box .hours-table tr td:first-child { font-weight: bold; color: #333; width: 45%; }

/* WHAT TO EXPECT (office page)
================================================== */
.step-list { counter-reset: steps; list-style: none; margin-left: 0; }
.step-list li {
  counter-increment: steps;
  padding: 10px 10px 10px 50px;
  position: relative;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.step-list li:before {
  content: counter(steps);
  position: absolute;
  left: 8px;
  top: 10px;
  background: #cc2222;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
}

/* DOCTOR PROFILES
================================================== */
.doctor-profile {
  overflow: hidden;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}
.doctor-profile:last-child { border-bottom: none; }
.doctor-photo { float: left; margin: 0 20px 10px 0; }
.doctor-photo img { width: 160px; height: auto; border: 3px solid #ddd; }
.doctor-bio h3 { font-size: 20px; color: #1a2b3c; font-weight: normal; margin-bottom: 5px; }
.doctor-bio .credentials { color: #cc2222; font-size: 13px; margin-bottom: 12px; font-style: italic; }
.doctor-bio p { font-size: 14px; color: #555; line-height: 1.7; }

/* FAQ
================================================== */
.faq-item { margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-size: 16px;
  color: #1a2b3c;
  font-weight: bold;
  margin-bottom: 8px;
  cursor: pointer;
}
.faq-answer { font-size: 14px; color: #555; line-height: 1.7; }

/* DIRECTIONS FORM
================================================== */
.directions-form { margin-top: 15px; }
.directions-form input[type="text"] {
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 13px;
  width: 220px;
  margin-right: 8px;
}
.directions-form button {
  padding: 7px 16px;
  background: #1a2b3c;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
}

/* FOOTER
================================================== */
div.footer-top-shadow {
  height: 6px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent);
}
div.footer-container {
  background: #1a2b3c;
  border-top: 3px solid #cc2222;
  padding: 15px 0;
}
div.copyright-wrapper {
  padding: 10px 20px;
  font-size: 12px;
  overflow: hidden;
}
div.copyright-left { float: left; color: #aaa; line-height: 2; }
div.copyright-left a { color: #ccc; margin: 0 8px; }
div.copyright-left a:hover { color: #ff9999; }
div.copyright-right { float: right; color: #aaa; line-height: 2; }
div.copyright-right a { color: #ccc; }
div.copyright-right a:hover { color: #ff9999; }

/* EMERGENCY BANNER (inner pages)
================================================== */
.emergency-callout {
  background: #cc2222;
  color: #fff;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 3px;
  font-size: 15px;
  text-align: center;
}
.emergency-callout strong { font-size: 22px; }
.emergency-callout a { color: #fff; text-decoration: underline; }

/* SIDEBAR
================================================== */
div.custom-sidebar { margin-bottom: 40px; }
h3.custom-sidebar-title {
  font-size: 15px;
  color: #1a2b3c;
  font-weight: normal;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 2px solid #cc2222;
}

/* Responsive
================================================== */
@media (max-width: 768px) {
  div.logo-wrapper { float: none; text-align: center; margin-bottom: 10px; }
  div.logo-right-text { float: none; text-align: center; display: block; margin: 0 0 10px; }
  div.navigation-wrapper { display: none; }
  div.responsive-menu-wrapper {
    display: block;
    padding: 8px 10px;
    background: #2b2b2b;
  }
  div.responsive-menu-wrapper select {
    width: 100%; height: 32px;
    background: #3a3a3a; color: #fff;
    border: 1px solid #555; padding: 4px;
  }
  .four.columns, .six.columns { width: 100%; float: none; margin-bottom: 15px; }
  div.top-navigation-left, div.top-navigation-right { float: none; }
  div.copyright-left, div.copyright-right { float: none; text-align: center; }
  #map-canvas { height: 220px; }
  .doctor-photo { float: none; margin: 0 0 15px; }
  .doctor-photo img { width: 120px; }
  div.logo-right-text { font-size: 15px; }
  .phone-red { font-size: 18px !important; }
}
