/*
	Theme Name: Pubsphere
	Theme URI: http://pubsphere.com
	Description: Custom theme for Pubsphere
	Version: 1.0
	Author: Matthieu Ouin
	Author URI: https://undisconnected.com
	Date: 2018
*/

/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

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

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

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

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

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

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

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

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

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

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

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

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

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

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

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

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

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

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

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

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

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

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

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

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background-color: fff;
  font-size:14px;
}

img {
  max-width: 100%;
  height: auto;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

a {
  color: #333;
  text-decoration: none;
}

.uppercased {
  text-transform: uppercase;
}

.clearfix {
  content:"";
  clear:both;
  display: table;
}

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

.btn {
  background-color: #d91a29;
  color: #fff;
  text-decoration: none;
  padding: .75rem 1.2rem;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  
}

.btn--large {
    padding: 1.1rem 1.2rem;
  }

.btn--small {
    padding: .3rem .5rem;
    font-size: .8rem;
  }

input[type=text], input[type=date] {
  border: 1px solid #333;
  padding:3px;
  font-size: 1rem;  
}

.mainmenu {
  
  height: 98px;
  line-height: 98px;
  vertical-align: middle;
  
  
  
}

.mainmenu-logo {
    position: inline-block;
    float: left;
    line-height: 98px;
    vertical-align: middle;
    height: 100%;
    padding-top: 20px;
  }

.mainmenu-logo img {
    
  }

.mainmenu-links-wrapper {
    float: right; 
    text-align: right;   
  }

.mainmenu-links {
    margin:0;
    text-align: right;
  }

.mainmenu-links li {
    padding: 0 25px;
    display: inline-block;
  }

.mainmenu-links li a {
    text-transform: uppercase;
    font-size:1.05rem;
    font-weight: 600;
    -webkit-transition: .5s all ease-out;
    transition: .5s all ease-out;
    border-bottom: 2px solid #fff;
  }

.mainmenu-links li a:hover {
    border-bottom: 3px solid #d91a29;
    border-bottom-style: inset;
  }

.footer {
  
  margin-top: 70px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 200;
  margin-top:40px;
  margin-bottom: 35px;
  
}

.header {

  background-image: url(../images/header-image2.jpg);
  background-position-x: 50%;
  background-repeat: no-repeat;
  text-align: center;
  
}

.header-wrapper {
    z-index: 10;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.65)),to(rgba(0,0,0,0)));
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
    
  }

.header-logo {
    width: 160px;
    padding-top:20px;
  }

.header-main-title {
    margin-top: 30px;
    padding-bottom: 20px;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 900;
    text-align: center;
    color: #fff;
    
  }

.page-section {
  margin: auto;
  text-align: center;
  margin-top: 50px;
 
}

.page-section--align-left {
    text-align: left;
  }

.page-section p {
    text-align: left;
    color: #292929;
    padding: 10px 0;
    line-height: 20px;
    font-size: 1.025rem;
  }

.section-title {
  
  font-weight: 900;
  color: #3e3e3e;
  font-size: 1.4rem;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  margin:auto;
  width:100%;
  position: relative;
  margin-bottom: 27px;
  margin-top: 17px;

  
  
}

.section-title--smaller {
    font-size: .9rem;
  }

.section-title--align-left {
    text-align:left;
    width: 100%;
    margin-bottom: 20px;
  }

.section-title--no-padding-left {
    padding-left:0;
  }

.section-title--bigger-top-margin {
    margin-top: 150px;
  }

.section-title--smaller-top-margin {
    margin-top: 30px;
  }

.section-title--medium-top-margin {
    margin-top: 85px;
  }

.section-title--smaller-bottom-margin {
    margin-bottom: 5px;
  }

.section-title--more-width {
    width: 460px;
  }

.section-title-subtitle {
    font-family: poppins;
    font-weight: 400;
    color: #d91a29;
    font-size: 1.375rem;
    font-weight: 700;
    display: block;
    letter-spacing: 3px;
  }

.section-title--left-smaller {
    text-align: left;
    font-size: 15px;
    margin-bottom: 12px;
    margin-top:27px;
  }

.section-title:before {
    content: '';
    background-image: url("./assets/images/title-section-grey-bar.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: auto;
    display: block;
    width:71px;
    height: 4px;
    position: absolute; 
    left:-10px;
    top: -10px;
  }

.section-title:after {
    content: '';
    background-image: url("./assets/images/title-section-grey-bar.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    display: block;
    width:400px;
    height:4px; 
    position: absolute; 
    right:-10px;
    bottom: -15px;
  }

.section-title--more-up:before {
    left:-10px;
    top: -20px;
  }

.section-title--align-left:before {
    left: 0px;
    top: -25px;
  }

.section-title--align-left:after {
    content: '';
    background: none;
  }

.section-title--no-padding-left:before {
    left:0;
  }

.menu {
  
  margin:0;
  padding:0;
  font-weight: bold;
  color: #000;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  
  
}

.menu li {
    padding-right: 10px;
    display: inline-block;
  }

.menu li a {
    text-decoration: none;
    color: #fff;
  }

.menu li a:hover {
    text-decoration: none;
    color: #d2cdcb;
  }

.menu-separator {
    color: #fff;
  }

.appointment_canceled {
    border-left: 5px solid red !important;
  }

.appointment_validated {
    border-left: 5px solid green !important;
  }

.date-hour-overflow {
    
    overflow: scroll;
    height:400px;
    
  }

.date-hour-overflow td.clickable {
     cursor: pointer;
    }

.date-hour-add-date-field {
    width:150px;
  }

.date-hour-add-area {
    display: none;
    margin-bottom: 12px;
  }

.date-hour-add-area--is-visible {
    display: block;
  }