/*
Theme Name: ÖGMP Jahrestagung
Text Domain: oegmp_tagung
*/

/*----------------------------------------*/
/*                                        */
/*           COLORS TABLE                 */
/*                                        */
/*----------------------------------------*/

/*
    black:      #000000
    blue:       #333399
    dark_blue:  #4e657c
    light_blue: #89b7d9
    gray:       #808080
    gray:       #444444
    white:      #ffffff
*/

/*----------------------------------------*/
/*                                        */
/*           Normalize                    */
/*                                        */
/*----------------------------------------*/

/*! normalize.css v8.0.1 | 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 iOS.
 */

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

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

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    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
   ========================================================================== */

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

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

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

a {
    background-color: transparent;
    text-decoration: none;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 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 */
}

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

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

img {
    border-style: none;
}

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

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

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

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

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

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

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

textarea {
    overflow: auto;
}

/**
 * 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 in Chrome and Safari on macOS.
 */

[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 Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

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

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

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

template {
    display: none;
}

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

[hidden] {
    display: none;
}

/*----------------------------------------*/
/*                                        */
/*           FONT IMPORT                  */
/*                                        */
/*----------------------------------------*/

@font-face {
    font-family: 'Open Sans';
    src: url('src/fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('src/fonts/OpenSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('src/fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('src/fonts/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('src/fonts/OpenSans-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('src/fonts/OpenSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

/*----------------------------------------*/
/*                                        */
/*           BASIC                        */
/*                                        */
/*----------------------------------------*/

*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-y: scroll;
}

body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 1.4rem;
    color: #444444;
    background-color: #ffffff;
    min-height: 100vh;
}

td,
th {
    vertical-align: top;
}

a {
    color: #89b7d9;
    background: transparent;
    text-decoration: none;
}

a:hover, a:focus {
    color: #4e657c;
    text-decoration: none;
}

nav a {
    text-decoration: none;
}

a:focus {
    outline: 0;
}

nav ul {
    list-style: none;
}

img {
    height: auto;
    width: auto;
    vertical-align: bottom;
}

.d_flex_row {
    display: flex;
    flex-direction: row;
}

.d_flex_row_sb {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.d_flex_row_hc {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.d_flex_col {
    display: flex;
    flex-direction: column;
}

.d_flex_col_c {
    display: flex;
    flex-direction: column;
    align-items: center
}

.d_flex_col_sb {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cc {
    justify-content: center;
    align-items: center;
}

.f_end {
    justify-content: flex-end;
}

.no-break {
    white-space: nowrap;
}

.flex_wrap {
    flex-wrap: wrap;
}

p {
    line-height: 1.5;
    margin: 0 0 1.5em 0;
}

table {
    border-collapse: collapse;
    color: #444;
    border-top: 1px #ccc solid;
    border-bottom: 1px #ccc solid;
    margin: 0 0 1.35714em 0;
}

tbody td {
    text-align: left;
    border-top: 1px solid #ccc;
}

th, td {
    line-height: 1.5em;
    vertical-align: top;
    padding: 1rem 0.7rem;
}

tbody tr:hover th, tbody tr:hover td {
    background: #f8f8f8;
}

/*----------------------------------------*/
/*                                        */
/*           ICONS                        */
/*                                        */
/*----------------------------------------*/

/*----------------------------------------*/
/*                                        */
/*           BUTTONS                      */
/*                                        */
/*----------------------------------------*/

/*----------------------------------------*/
/*           WORDPRESS CORE               */
/*----------------------------------------*/

.alignnone {
    margin: 0.5rem 2rem 2rem 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 0.5rem auto 0.5rem auto;
}

.alignright {
    float: right;
    margin: 0.5rem 0 2rem 2rem;
}

.alignleft {
    float: left;
    margin: 0.5rem 2rem 2rem 0;
}

a img.alignright {
    float: right;
    margin: 0.5rem 0 2rem 2rem;
}

a img.alignnone {
    margin: 0.5rem 2rem 2rem 0;
}

a img.alignleft {
    float: left;
    margin: 0.5rem 2rem 2rem 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*.wp-caption {*/
/*    background: #fff;*/
/*    border: 1px solid #f0f0f0;*/
/*    max-width: 96%;*/
/*    !* Image does not overflow the content area *!*/
/*    padding: 0.5rem 0.3rem 1rem;*/
/*    text-align: center;*/
/*}*/

.wp-caption.alignnone {
    margin: 0.5rem 2rem 2rem 0;
}

.wp-caption.alignleft {
    margin: 0.5rem 2rem 2rem 0;
}

.wp-caption.alignright {
    margin: 0.5rem 0 2rem 2rem;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 1.1rem;
    line-height: 1.7rem;
    margin: 0;
    padding: 0 1.4rem 0.5rem;
    text-align: right;
}

@media only screen and (max-width: 767px) {
    figure.alignleft,
    img.alignleft,
    figure.alignright,
    img.alignright {
        float: none;
    }
}

/*----------------------------------------*/
/*                                        */
/*           COLORS                       */
/*                                        */
/*----------------------------------------*/

/*
    black:      #000000
    blue:       #333399
    dark_blue:  #4e657c
    light_blue: #89b7d9
    gray:       #808080
    gray:       #444444
    white:      #ffffff
*/

.bg_darkgray {
    background-color: #333333;
    color: #ffffff;
}

.bg_red {
    background-color: #a3170f;
    color: #ffffff;
}

.bg_white {
    background-color: #ffffff;
    color: #333333;
}

.txt_darkgray {
    color: #333333;
}

.txt_red {
    color: #a3170f;
}

.txt_white {
    color: #ffffff;
}

/*----------------------------------------*/
/*                                        */
/*           TYPOGRAPHY                   */
/*                                        */
/*----------------------------------------*/

h1 {
    color: #333399;
    font-size: 4.6rem;
    margin: 0;
    padding: 2rem 0 3rem 0;
    text-align: center;
    width: 85%;
    margin: 0 auto;
    line-height: normal;
}

h2 {
    color: #4e657c;
    font-size: 2.6rem;
    margin: 0 0 1.7rem 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.3px;
    line-height: 1.3125;
    font-family: Arial, sans-serif;
}

h3 {
    font-size: 1.84rem;
    font-family: Arial, sans-serif;
    margin: 0 0 1.6rem 0;
    color: #4e657c;
    text-transform: uppercase;
}

h6 {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.5;
    margin: 0 0 1.5em 0;
    font-family: Arial, sans-serif;
}


/*----------------------------------------*/
/*                                        */
/*           LAYOUT                       */
/*                                        */
/*----------------------------------------*/

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    position: relative;
    /*overflow: hidden;*/
}


/*----------------------------------------*/
/*                                        */
/*           HEADER                       */
/*                                        */
/*----------------------------------------*/

.heading_wrapper {
    border-bottom: 1px solid #7c6b4e;
}

.main_navbar {
    margin-top: 5rem;
}

.menu-main-menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

nav ul {
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
}

nav a {
    padding: 5rem 4rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
}

nav a:hover,
nav a:focus {
    background: #6a99c8;
    color: white;
    text-decoration: none;
}

.jyaml-mobilenav {
    background: #fff;
    color: #fff;
    text-align: left;
}

.jyaml-mobilenav .mobilenav-title {
    background: #4e657c;
    padding: 15px 8px;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
}

[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: .25em;
    line-height: 14px;
}

.jyaml-mobilenav .mobilenav-title .icon-list:before {
    background: url(src/img/icon-list.svg) 50% .25em no-repeat;
    height: 1em;
    width: 1em;
    text-align: center;
    content: '';
    display: inline-block;
}

.jyaml-mobilenav .menu-mobile-menu-container {
    font-size: 14px;
    border-bottom: 3px solid #4e657c;
}

.jyaml-mobilenav .menu-mobile-menu-container {
    font-size: 14px;
    border-bottom: 3px solid #4e657c;
}

.jyaml-mobilenav .menu-mobile-menu-container ul, .jyaml-mobilenav .menu-mobile-menu-container ul li, .jyaml-mobilenav .menu-mobile-menu-container ul li a {
    display: block;
    overflow: hidden;
    background: #fff;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    line-height: 1.5;
}

.jyaml-mobilenav .menu-mobile-menu-container ul .current-menu-item a {
    background: #f1e2cc;
    color: #6a655e;
}

.jyaml-mobilenav .menu-mobile-menu-container ul li a {
    border-bottom: 1px solid white;
    color: white;
    background: #89b7d9;
    padding: 0.5rem;
}

.jyaml-mobilenav .menu-mobile-menu-container ul li a:hover, .jyaml-mobilenav .menu-mobile-menu-container ul li a:focus, .jyaml-mobilenav .menu-mobile-menu-container ul li a:active {
    background: #4e657c;
    color: #fff;
}

.menu-mobile-menu-container {
    display: none;
}

.menu_info {
    font-weight: normal;
}

/*----------------------------------------*/
/*                                        */
/*           CONTENT                      */
/*                                        */
/*----------------------------------------*/

.main {
    margin: 9rem auto 0 auto;
    width: calc(100% - 6rem);
    max-width: 120rem;
    min-height: calc(100vh - 62.7rem);
}

.registrieren label {
    width: 17rem;
    display: inline-block;
}

.require::after {
    content: '*';
    color: #ff0000;
}

span.wpcf7-list-item {
    display: block;
    margin: 0 0 0 1em;
}

span.wpcf7-form-control.wpcf7-radio {
    margin: -2rem 0 0 16rem;
    display: block;
}

span.wpcf7-form-control.wpcf7-checkbox {
    margin: -2rem 0 0 16rem;
    display: block;
}

[type="submit"] {
    background: #6a99c8;
    color: white;
    text-decoration: none;
    border: none;
    padding: 1rem 2.5rem;
    cursor: pointer;
}

[type="submit"]:hover,
[type="submit"]:focus {
    text-decoration: underline;
}

.grecaptcha-badge {
    display: none;
}

.registrieren.abstract {
    margin-bottom: 6rem;
}

.abstract label {
    width: 31rem;
}

.abstract > p {
    display: flex;
}
/*----------------------------------------*/
/*                                        */
/*           FOOTER                       */
/*                                        */
/*----------------------------------------*/

footer {
    color: white;
    background: #485a6b;
    line-height: 1.5em;
}

footer .ym-cbox {
    padding: 10px;
}

.ym-clearfix:before {
    content: "";
    display: table;
}

.menu {
    list-style-type: none;
    padding: 0;
    margin: 30px 0 0;
}

.menu li {
    text-align: center;
}

footer a {
    color: white;
    background: transparent;
    font-weight: 600;
}

.footer_copyright .ym-wbox {
    color: #6a655e;
    text-align: right;
    font-size: 11px;
    padding: 0 20px 15px 20px;
}

footer a:focus, footer a:hover, footer a:active {
    color: white;
    opacity: 0.7;
    background-color: transparent;
}

/*----------------------------------------*/
/*                                        */
/*           MEDIA QUERY                  */
/*                                        */
/*----------------------------------------*/

@media only screen {
    .jyaml-mobilenav {
        display: none;
    }
}

@media only screen and (max-width: 1100px) {
    .main_navbar {
        display: none;
    }

    .jyaml-mobilenav {
        display: block;
    }
}

@media only screen and (max-width: 730px) {
    .registrieren.abstract > p {
         display: block;
    }

    .registrieren.abstract label {
        display: block;
    }
}

@media only screen and (max-width: 700px) {
    span.wpcf7-form-control.wpcf7-radio {
        margin: 0;
        display: block;
    }

    span.wpcf7-form-control.wpcf7-checkbox {
        margin: 0;
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    .header_heading {
        font-size: 3.2rem;
        width: calc(100% - 3rem);
    }

    .main {
        width: calc(100% - 3rem);
    }

    .registrieren label {
        display: block;
    }

}


@media only screen and (max-width: 400px) {
    .abstract label {
        width: 100%;
    }

    textarea {
        width: 100%;
    }

    [type="tel"],
    [type="text"],
    [type="email"] {
        width: 100%;
    }
}