/*

Theme name: CPSM

Colors_____________

  Brand Color                     #AE8E51

  Brand Logo Typeface             "Code Pro Regular"

  Body/Headings                   "Open Sans"

  Site BG                         #ffffff

  Text                            #666666
  Section Header                  #8a8f8f

  Especialidades                  #ffffff
    Especialidades BTN            #e6e0da
    Especialidades BTN Text       #94908d
    Especialidades BTN Shadow     #b3b3b3

  Quem Somos BG                   #f8f8f8

  localizacao BG                    #f8f8f8
  localizacao Box BG                #e6e6e6
  localizacao Horário               #c9cece

  Agenda BG                       #e6e0da
    Form BTN                      #b1d2bf
      Form BTN Text               #758b7e
      Form BTN Shadow             #a19d99

  Footer BG                       #e6e6e6
  Footer Color                    #a2a19f

 */

 @font-face {
    font-family: 'code_proregular';
    src: url('code_pro-webfont.eot');
    src: url('code_pro-webfont.eot?#iefix') format('embedded-opentype'),
         url('code_pro-webfont.woff2') format('woff2'),
         url('code_pro-webfont.woff') format('woff'),
         url('code_pro-webfont.ttf') format('truetype'),
         url('code_pro-webfont.svg#code_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

* {
  box-sizing: border-box;
}

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: 'Open Sans', sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

.small,
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* Ydeal Start */

/* Type */

body {
  font: 16px/1.3 400 'Open Sans', sans-serif;
  color: #666;
}

.font-logo {
  font-family: 'code_proregular', 'open sans', sans-serif;
  font-weight: normal;
}
  .font-logo abbr {
    text-decoration: none;
    outline: none;
    border: none;
  }

a {
  color: inherit;
}
a:hover,
a:focus,
a:active {
  color: #AE8E51;
  text-decoration: none;
}
a:focus,
a:active {
  outline: 1px dotted #ddd;
}

h2 {
  color: #8a8f8f;
  font-size: 3.75em;
  font-weight: 700;
  line-height: 1;
  margin-top: 0;
  text-shadow: rgba(0,0,0,.2) 0 1px 3px;
  text-transform: uppercase;
  text-align: center;
}

h3 {
  font-size: 1.5em;
}
h5, h6 {
  margin: 0;
}

.punchline {
  font-size: 1.3em;
  font-weight: 600;
  text-transform: uppercase;
}

.lead {
  font-size: 1.3125em;
}

.text-info {
  font-size: .8em;
  font-style: italic;
  margin-bottom: 1.5em;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: #AE8E51;
}

.img-responsive {
  display: block;
  max-width: 100%;
}

/* BTN */

.btn {
  background-color: #e6e0da;
  border: none;
  border-radius: 0.1875em;
  /*box-shadow: 0 1px 1px #b3b3b3;*/
  box-shadow: 0 1px 1px #b3b3b3, inset 0 1px 0 #e6e0da, inset 0 2px 0 rgba(255,255,255,.8);
  color: #94908d;
  display: inline-block;
  font-weight: 700;
  line-height: 1;
  padding: .8em 1.2em;
  text-decoration: none;
  text-shadow: rgba(255,255,255,1) 0 1px 1px;
  text-transform: capitalize;
}
.btn:hover,
.btn:active,
.btn:focus {
  color: inherit;
  outline: none;
}

.btn-submit,
.btn-success {
  background-color: #b1d2bf;
  box-shadow: 0 1px 1px #a19d99, inset 0 1px 0 rgba(255,255,255,.8);
  color: #758b7e;
  font-style: normal !important;
}
.btn-submit:hover,
.btn-submit:active,
.btn-submit:focus,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  color: #5b7164;
}

.breadcrumbs {
  border-bottom: 1px dashed #ccc;
  padding-bottom: 1em;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 600
}
.breadcrumbs a {
  color: #AE8E51;
  text-decoration: none;
}
.breadcrumbs a,
.breadcrumbs b {
  display: inline-block;
  margin: 0 1em;
}
.breadcrumbs a:hover,
.breadcrumbs a:focus {
  text-decoration: underline;
}
.breadcrumbs a:active {
  color: #444;
  text-decoration: none;
}
.breadcrumbs .current {
  cursor: default;
  color: #444;
}
.breadcrumbs .current:hover,
.breadcrumbs .current:focus,
.breadcrumbs .current:active {
  text-decoration: none;
}

@media only screen and (max-width: 40em) {
  .breadcrumbs b {
    display: block;
    margin-bottom: 1em
  }
  .breadcrumbs a {
    margin-bottom: 1em;
  }
}

#slides {
  box-shadow: 0 0 0 8px white, 0 0 0 9px #ddd, 0 0 12px #999;
  position: relative;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  width: 94%;
}
.slidesjs-previous,
.slidesjs-next {
  background-color: white;
  display: block;
  overflow: hidden;
  text-indent: 120%;
  height: 0;
  width: 0;
  border: 20px solid transparent;
  position: absolute;
  bottom: 50%;
  margin-top: -12px;
  z-index: 12;
  outline: 6px solid white !important;
  box-shadow: 0 0 2px 8px rgba(0,0,0,.1);
}
.slidesjs-previous {
  border-width: 12px 12px 12px 0;
  border-right-color: #aaa;
  left: 0;
}
.slidesjs-previous:hover,
.slidesjs-previous:active,
.slidesjs-previous:focus {
  border-right-color: #AE8E51;
}
.slidesjs-next {
  border-width: 12px 0 12px 12px;
  border-left-color: #aaa;
  right: 0;
}
.slidesjs-next:hover,
.slidesjs-next:active,
.slidesjs-next:focus {
  border-left-color: #AE8E51;
}

/* Card */
.card {
  text-align: center;
}
.card-img {
  display: block;
  max-width: 100%;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  width: 192px;
}
.card .btn {
  margin-bottom: 15px;
  margin-top: 15px
}

.card a {
  text-decoration: none;
  outline: none;
}
.card .btn-link {
  color: #AE8E51;
}
.card .btn-link:hover,
.card .btn-link:focus,
.card .btn-link:active {
  text-decoration: underline;
}

@media only screen and (max-width: 46.25em) {
  .slidesjs-previous,
  .slidesjs-next {
    margin-top: 0;
    bottom: 45%;
  }
}
/* 840 : 16; */
@media only screen and (max-width: 52.5em) {
 
}

.card-title {
  font-size: 2em;
  font-weight: 400;
  margin: .35em 0 0 0;
}
.card-text p {
  margin-top: .3em;
}

/* dev temp */
.img-grid .img-container {
  display: inline-block;
  height: 0;
  overflow: hidden;
  padding-bottom: 20%;
  width: 30%;
}
.img-grid img {
  display: block;
  max-width: 100%;
}

.sr-only {
  display: none !important;
}

html,body {
  height: 100%;
}
.section-cpsm {
  background: transparent url(./img/tmp-banner/cpsm-2.jpg) no-repeat center center fixed;
  background-size: cover;
  min-height: 100%;
  text-align: center;
  position: relative;
}
.section-cpsm .intro-container {
  background-color: rgba(255,255,255,.8);
  padding: 30px;
  text-align: center;
  max-width: 315px;
  position: relative;
  display: inline-block;
}
.section-cpsm .logo-group {
  max-width: 255px;
  margin-left: auto;
  margin-right: auto;
}
.section-cpsm h1 {
  color: #AE8E51;
  font-size: 5em;
  letter-spacing: .15em;
  text-align: justify;
  margin-top: .15em;
}
.section-cpsm h1 span {
  display: block;
  font-size: .15em;
  margin-top: -1em;
  letter-spacing: .1em;
}
.section-cpsm .punchline {
  position: relative;
}
.section-cpsm .punchline:before {
  content: '';
  background-color: #AE8E51;
  height: 3px;
  display: block;
  position: absolute;
  top: -1em;
  width: 3em;
  left: 50%;
  margin-left: -1.5em;
}


.nav-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.nav-bar.fixed {
  position: fixed;
  top: 0;
  bottom: auto;
  transition: all .3s;
}
.nav-bar.fixed .nav-logo {
  background: transparent url(./img/cpsm-logo-mark.png) no-repeat left center;
  background-size: 48px;
  padding-left: 60px;
}

.nav-bar.scrollAction {
  background-color: rgba(255,255,255,.90);
  box-shadow: 0 0 3px rgba(0,0,0,.2);
}

.site-width-limit {
  max-width: 87.5em;/* 1400 : 16; */
  margin-left: auto;
  margin-right: auto;
}
.nav {
  overflow: 
}
.nav-bar:after,
.nav:after {
  content: '';
  display: table;
  clear: both;
  height: 0;
}

.main-nav.scrollAction .nav {
  float: right;
}
.main-nav .nav {
  text-align: center;
}
.nav-bar .nav-logo {
  font-size: 36px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 10px 6px 10px;
  color: #AE8E51;
  float: left;
  display: block;
  margin-top: -100px;
  font-weight: normal;
  transition: margin-top .3s;
}
.scrollAction .nav-logo {
  display: block;
  margin-top: 0;
  transition: margin-top .3s;
}

.nav-bar a {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  padding: 18px;
  margin-left: 10px;
  position: relative;
}
/*.nav-bar .nav a:first-child:after {
  content: '';
  background-color: #ccc;
  display: block;
  position: absolute;
  left: -15px;
  height: 24px;
  width: 1px;
  top: 16px;
}*/

.main-nav .nav-toggle {
  display: block;
  width: 56px;
  height: 56px;
  padding: 0;
  margin: 0;
  padding: 12px 0;
  position: absolute;
  right: 0;
  top: 0;
  text-align: center;
  z-index: 100;
}
.main-nav .nav-toggle:hover,
.main-nav .nav-toggle:active,
.main-nav .nav-toggle:focus {
  background-color: #EFE8DC;
  outline: none;
}

.main-nav .nav-toggle.open + .nav {
  display: block;
  float: none;
  clear: both;
}


/* "740px" to 16px; */
@media only screen and (min-width: 46.25em) {
  .content:after,
  .grid-container:after {
    content: '';
    display: table;
    clear: both;
  }
  .grid-col-half {
    width: 50%;
  }
  .main-nav .nav-toggle {
    display: none
  }
  .main-nav .nav-toggle.open + .nav {
    float: right;
    clear: none;
  }
}

.card + .card {
  border-top: 1px dashed #ccc;
  padding-top: 30px;
  margin-top: 30px;
}
@media only screen and (min-width: 55.5em) {
  .section-especialidades .card {
    width: 33.333%;
  }
  .section-especialidades .card,
  .grid-col {
    box-sizing: border-box;
    float: left;
    padding: 15px;
  }
  .card + .card {
    border: none;
    padding: 15px;
    margin: 0;
  }
}

/* "740px" to 16px; */
@media only screen and (max-width: 46.25em) {

  h2 {
    font-size: 2em
  }
  .card-title,
  h3 {
    font-size: 1.35em;
  }

  .main-nav a {
    display: block;
  }

  .main-nav .nav {
    display: none
  }
  .main-nav .nav-toggle {
    display: block;
  }
  .nav-bar {
    background-color: rgba(255,255,255,.90);
    box-shadow: 0 0 3px rgba(0,0,0,.2);
  }

}

.form-consulta {
  font-size: 1.125em;
}

.form-consulta label,
.form-consulta input[type=text],
.form-consulta textarea,
.form-consulta select {
  border: none;
  display: block;
  font-style: italic;
  max-width: 100%;
  min-width: 100%;
  padding: 0.8em;
  width: 100%;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  position: relative;
}
.form-consulta textarea {
  height: 7.5em;
  max-height: 7.5em;
  min-height: 7.5em;
}
.form-consulta label {
  margin-bottom: 0.3125em;
}
.form-consulta .select-container{
  position: relative;
}
.form-consulta .select-container:after {
  content: '';
  display: block;
  height: 0;
  width: 0;
  border: 10px solid transparent;
  border-top-color: #AE8E51;
  position: absolute;
  top: 1.2em;
  right: 1em;
}
.form-consulta .group-control + .group-control {
  margin-top: 1.5em;
}
.form-consulta .btn-submit {
  margin-top:  1.5em;
  min-width: auto;
  padding: .8em 2em;
}

.form-errors {
  background-color: red;
  display: inline-block;
  color: white;
  padding: 1.25em;
}
.form-success {
  background-color: green;
  display: inline-block;
  color: white;
  padding: 1.25em;
}

.form-user-type-sr-filter {
  display: none;
}

.checkbox-group {
  display: inline-block;
  margin-right: 1em;
}

/* Sections */

body > .section {
  padding: 5em 1em;
}
body > .footer {
  padding: 2.5em 1em;
}

.section-instalacoes {
  background-color: #f8f8f8;
}
.section-instalacoes {
  border-top: 1px solid #eee;
  /*border-bottom: 1px solid #d1ccc6;*/
  box-shadow: 0 1px 2px #ccc;
}

.section-especialidades {
  min-height: 50%;
}

.section-especialidades .card-title {
  color: #AE8E51;
}

.section-agendar-consulta {
  background-color: #e6e0da;
  border-bottom: 1px solid #bbb;
}

.section-localizacao .map {
  border: 8px solid white;
  outline: 1px solid #eee;
  box-shadow: 0 2px 4px #eee;
  position: relative;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  width: 94%;
}
.section-localizacao .map {
  height: 300px;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.box-localizacao {
 margin-bottom: 30px;
}

.footer {
  background-color: #e6e6e6;
  border-top: 1px solid #d8d8d8;
  color: #a2a19f;
}

/* pages */

.page-especialidade {
  background-color: #e6e6e6;
  padding-top: 56px;
}
.section-body {
  background-color: white;
}
.page-especialidade .content {
  max-width: 800px;
}
.page-especialidade .section-body {
  padding-top: 1.5em;
}
.page-especialidade h1 {
  color: #AE8E51;
  margin: 0;
  padding: 0;
  position: relative;
  font-size: 3em;
  text-transform: uppercase;
  text-align: center;
}

.page-especialidade h3 {
  margin-bottom: 0;
  margin-top: 1.5em;
}
.page-especialidade li + li {
  margin-top: .2em;
}

.page-psiquiatria .banner {
  /*background: transparent url(./img/banner/psiquiatria.jpg) center bottom / cover no-repeat fixed;*/
}

.section-campanha {
  border-top: 1px solid #d8d8d8;
}
.section-campanha .img-campanha {
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}

.banner {
  background: #fff url(./img/banner/especialidade.jpg) top center / contain no-repeat fixed;
  /*border-bottom: 1px solid #d1ccc6;*/
  padding: 30px 0;
  text-shadow: rgba(255,255,255,.6) 0 1px 5px;
}
.page-error .banner {
  background: #fff;
}
.page-politica-servicos .banner {
  background: #e6e0da;
}
.page-politica-servicos h4 {
  margin-bottom: 0;
}
.page-politica-servicos h4 + p {
  margin-top: 0;
}

@media only screen and (max-width: 40em) {
  .banner {
    background: #e6e0da;
  }
}

@media only screen and (max-width: 46.25em) {

  .lead {
    font-size: 1.1em;
  }

  .page-especialidade h1 {
    font-size: 1.8em;
  }
  .banner-img {
    height: auto;
    width: 192px;
  }

}

.scrollNext {
  display: inline-block;
  border: 5px solid transparent;
  border-width: 15px 15px 0 15px;
  border-top-color: #ccc;
  height: 0;
  width: 0;
  text-indent: 120%;
  overflow: hidden;
}
.scrollNext:hover,
.scrollNext:focus,
.scrollNext:active {
  border-top-color: #AE8E51;
}
