/**
 * @file
 * base.css
 * 
 * The basic styles
 * 
 * -------------------------------------------------
 * Attached thru `.libraries.yml`
 *
 =========================================================================== */

/**
 * Global
 ========================================*/

*, :before, :after {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/**
 * Elements
 ========================================*/

/**
 *  Form Elements
  ----------------------------*/
.form-required:after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.3em;
  content: "";
  vertical-align: super;
  background-image: url(../../../../../../core/misc/icons/ee0000/required.svg);
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

/**
 * Links (has classes)
 -----------------------------*/

a {
 /* color: #3d86c5; */
  color: #0057b7;
  text-decoration: none;
  -webkit-transition: all .4s;
  transition: all .4s;
  display: inline-block;
  vertical-align: bottom;
  background-color: transparent;
}

a:hover {
  color: inherit;
  opacity: .7;
  text-decoration: none;
}

/* Shorthand classes */
.no-fade a:hover {  opacity: 1;  }

.links-inherit a {  color: inherit;  }

/**
 * Headers
 -----------------------------*/
h1 {
    font: 400 2.5em/1.2 'Open Sans', Helvetica, sans-serif;
}

h2 {
  font: 500 2.1em/1.2 'Open Sans', Helvetica, sans-serif;
}

h3 {
  font: 500 1.3em/1.5 'Open Sans', Helvetica, sans-serif;
}

h4 {
  font: 700 1.2em 'Open Sans', Helvetica, sans-serif;
}


.field-name-body h2,
.headers--add-margin h2,
.field-name-body h3,
.headers--add-margin h3,
.field-name-body h4,
.headers--add-margin h4 {
  margin: 1em 0 .5em;
}

/**
 * Misc 
 -----------------------------*/

/* Lists
----------------*/
ol, ul {
  margin: 0 0 1em 3em;
}

.menu, .inline {
  margin: 0;
}

/* Paragraphs
----------------*/
p {  margin: 0 0 1em;  }


/* Images
----------------*/
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border: 0;
}


/**
 * Meyer's Reset (with modifications)
 ============================================================================ */

main, details, .display-block, /* Modification */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/**
 * normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css 
 ============================================================================ */

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

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

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

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