/* https://github.com/twbs/bootstrap/blob/v4-dev/scss/mixins/_clearfix.scss */
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
/* 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-. */
figcaption, figure { 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 { box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ }

/** Add the correct display in IE. */
main { display: block; }

/** 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 */ }

/* Links ========================================================================== */
/** 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 */ }

/* Text-level semantics ========================================================================== */
/** 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 */ 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. */
button { 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"], [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ }

button, [type="button"], [type="reset"], [type="submit"] { /** Remove the inner border and padding in Firefox. */ /** Restore the focus styles unset by the previous rule. */ }

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

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

/** Show the overflow in Edge. */
input { overflow: visible; }

/** 1. Add the correct box sizing in IE 10-. 2. Remove the padding in IE 10-. */
[type="checkbox"], [type="radio"] { 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 */ }

/** 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 { box-sizing: border-box; /* 1 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ color: inherit; /* 2 */ 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; }

/* Interactive ========================================================================== */
/* Add the correct display in Edge, IE, and Firefox. */
details { display: block; }

/* Add the correct display in all browsers. */
summary { display: list-item; }

/* Add the correct display in IE 9-. */
menu { display: block; }

/* 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; }

.above_header i { display: inline-block; width: 22px; height: 22px; text-indent: -9999em; overflow: hidden; background: pink; vertical-align: middle; margin-right: 0.5rem; }

i.phone { background: url("../img/icon_phone.svg") no-repeat; background-size: 100%; }

i.email { background: url("../img/icon_email.svg") no-repeat; background-size: 100%; }

.btn { display: inline-block; padding: 0.33333rem 1rem; border-radius: 10px; background: #0063b6; color: white; text-decoration: none; }

.btn:hover { background: #004783; }

blockquote.coviu p { margin-bottom: 10px; }

blockquote.coviu a { display: inline-block; background: #1FA0A3; border: none; color: #ffffff; font-size: 16px; text-decoration: none; padding: 10px 20px; border-radius: 10px; cursor: pointer; }

body { font-family: 'Open Sans', sans-serif; line-height: 1.4; font-size: 16px; background: #EFEFEF; margin: 0 1rem; padding: 0; }

h1, h2, h3, p, ul, ol { margin-top: 0; margin-bottom: 1rem; }

h1 { font-weight: 300; font-size: 52px; }

h2 { font-weight: bold; font-size: 21px; }

h3 { font-weight: normal; font-size: 21px; }

a { font-weight: bold; color: #0063b6; }

a:hover { text-decoration: none; }

.above_header { color: #999; list-style-type: none; text-align: center; display: block; max-width: 1024px; margin: 0 auto; padding: 1rem 0; }

.above_header li { display: inline-block; margin: 0 1rem; }

.above_header li a { color: #999; }

.outer_container { margin: 1rem auto; max-width: 1024px; border-radius: 10px; box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); }

.container { display: flex; flex-wrap: nowrap; align-items: stretch; }

header { flex: 1 1 0; border-top-left-radius: 10px; margin: 0; background: white; display: flex; flex-direction: column; justify-content: center; }

header h1 { margin: 0 0 0 3rem; }

header h2, header p { margin: 0 0 0 3rem; font-size: 21px; line-height: 1.4; }

footer { color: #999; margin: 1rem 0; text-align: center; }

aside.photo { background: linear-gradient(to bottom, #005297, #0063b6); flex: 0 0 300px; border-top-right-radius: 10px; margin: 0; }

aside.photo div.photo { margin: 1rem; height: calc(300px - 2rem); background: url("../img/dimitrios-mavrelos.webp") no-repeat center; background-size: 100%; border-radius: 5px; box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); }

.page_services aside.photo div.photo, .page_contact aside.photo div.photo { background-image: url("../img/dimitrios-mavrelos-portrait.webp"); background-size: 100%; background-position: center; }

blockquote { background: #EFEFEF; border-radius: 10px; padding: 2rem; margin: 0; text-align: center; }

blockquote.white { background: white; }

section.main { background: white; flex: 1 1 0; border-bottom-left-radius: 10px; margin: 0; box-sizing: border-box; padding: 0 3rem 3rem 3rem; line-height: 1.8; }

nav { background: #0063b6; flex: 0 0 300px; border-bottom-right-radius: 10px; color: white; margin: 0; }

.primary_nav { list-style-type: none; margin: 0; padding: 0; }

.primary_nav a { color: white; display: block; font-size: 21px; line-height: 1.2; font-weight: normal; text-decoration: none; padding: 0.5rem; width: 80%; border-top-right-radius: 10px; border-bottom-right-radius: 10px; }

.primary_nav a:hover { background: rgba(255, 255, 255, 0.2); }

.primary_nav a.s { background: white; font-weight: bold; color: black; }

.primary_nav a.s:hover { background: white; }

.primary_nav ul { list-style-type: disc; }

.primary_nav ul a { opacity: 0.8; font-size: 14px; line-height: 1.3; padding: 0.25rem; }

.primary_nav ul a:hover { opacity: 1; background: none; text-decoration: underline; }

.section-cv { font-size: 14px; line-height: 1.4; }

.section-cv .cv_table { width: 100%; border-collapse: collapse; border-spacing: 0; margin-bottom: 1rem; font-size: 14px; line-height: 1.4; }

.section-cv .cv_table td { padding: 0.5rem; border: 1px solid #CCC; }

.section-cv .cv_table th { padding: 0.5rem; background: #EFEFEF; border: 1px solid #CCC; }

.fertility_table { width: 100%; border-collapse: collapse; border-spacing: 0; margin-bottom: 1rem; }

.fertility_table td { padding: 0.5rem; border: 1px solid #CCC; }

.fertility_table td input { width: 100%; display: block; padding: 0.5rem; border: 1px solid #CCC; }

.fertility_table td em { color: #999; }

.fertility_table th { padding: 0.5rem; background: #EFEFEF; border: 1px solid #CCC; }

@media (max-width: 960px) { aside.photo { flex: 0 0 240px; }
  aside.photo div.photo { height: calc(360px - 2rem); }
  nav { flex: 0 0 240px; }
  .primary_nav a { font-size: 16px; } }

.img_responsive { max-width: 100%; }

@media (max-width: 767px) { body { margin: 0; }
  .outer_container { box-shadow: none; border-radius: 0; margin: 0; }
  .outer_container { border-radius: 0; box-shadow: none; }
  .container { flex-direction: column; }
  header, aside.photo, nav, section.main { flex: 1 1 auto; border-radius: 0; }
  header { order: 1; display: block; text-align: center; color: white; background: linear-gradient(to bottom, #005297, #0063b6); padding: 1rem 1rem 0 1rem; }
  header h1 { margin: 0; font-size: 30px; line-height: 1.4; }
  header h2 { margin: 0; font-size: 16px; }
  header p { margin: 0; font-size: 16px; }
  aside.photo { background: #0063b6; order: 2; }
  aside.photo div.photo { background-size: 100%; }
  nav { order: 4; background: white; }
  section.main { order: 3; padding: 2rem; }
  .primary_nav { margin-bottom: 1rem; }
  .primary_nav a { margin: 0 auto; display: block; text-align: center; color: black; border-radius: 10px; }
  .primary_nav a:hover { background: #EFEFEF; }
  .primary_nav a.s { background: #e2e2e2; }
  .primary_nav a.s:hover { background: #e2e2e2; }
  .fertility_table_canvas { width: 100%; overflow-x: scroll; }
  .fertility_table_canvas .fertility_table { font-size: 14px; line-height: 1.4; } }
