/*!
 * MCE Editor Styles.
 * Make the editor look the same as the theme.
 * These styles change the actual editor.
 */

/*--------------------------------------------------------------
1. CSS Reset
--------------------------------------------------------------*/
html
{
    line-height: 1.15;

    -webkit-text-size-adjust: 100%;
}

body
{
    margin: 0;
}

h1
{
    font-size: 2em;

    margin: .67em 0;
}

hr
{
    overflow: visible;

    box-sizing: content-box;
    height: 0;
}

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

a
{
    background-color: transparent;
}

abbr[title]
{
    text-decoration: underline;
    text-decoration: underline dotted;

    border-bottom: none;
}

b,
strong
{
    font-weight: 700;
}

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

small
{
    font-size: 80%;
}

sub,
sup
{
    font-size: 75%;
    line-height: 0;

    position: relative;

    vertical-align: baseline;
}

sub
{
    bottom: -.25em;
}

sup
{
    top: -.5em;
}

img
{
    border-style: none;
}

button,
input,
optgroup,
select,
textarea
{
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;

    margin: 0;
}

button,
input
{
    overflow: visible;
}

button,
select
{
    text-transform: none;
}

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

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner
{
    padding: 0;

    border-style: none;
}

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

fieldset
{
    padding: .35em .75em .625em;
}

legend
{
    display: table;

    box-sizing: border-box;
    max-width: 100%;
    padding: 0;

    white-space: normal;

    color: inherit;
}

progress
{
    vertical-align: baseline;
}

textarea
{
    overflow: auto;
}

[type='checkbox'],
[type='radio']
{
    box-sizing: border-box;
    padding: 0;
}

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

[type='search']
{
    outline-offset: -2px;

    -webkit-appearance: textfield;
}

[type='search']::-webkit-search-decoration
{
    -webkit-appearance: none;
}

::-webkit-file-upload-button
{
    font: inherit;

    -webkit-appearance: button;
}

details
{
    display: block;
}

summary
{
    display: list-item;
}

template
{
    display: none;
}

[hidden]
{
    display: none;
}

/*--------------------------------------------------------------
2. Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea
{
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

body
{
    font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;

    color: #575757;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6
{
    font-weight: 400;

    clear: both;

    -ms-word-wrap: break-word;
        word-wrap: break-word;
}

h1
{
    font-size: 32px;
    font-size: 2rem;
}

h2
{
    font-size: 24px;
    font-size: 1.5rem;
}

h3
{
    font-size: 22px;
    font-size: 1.375rem;
}

h4
{
    font-size: 20px;
    font-size: 1.25rem;
}

h5
{
    font-size: 18px;
    font-size: 1.125rem;
}

h6,
p
{
    font-size: 16px;
    font-size: 1rem;
}

/*--------------------------------------------------------------
3. Elements
--------------------------------------------------------------*/
/*--------------------------------------------------------------
3.1 HTML
--------------------------------------------------------------*/
html
{
    font-size: 100%;

    box-sizing: border-box;
}

@media screen and (min-width: 48.9375em)
{
    html
    {
        font-size: 110%;
    }
}

*,
:before,
:after
{
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
}

html,
body
{
    height: 100%;
}

figure
{
    margin-top: 16px;
    margin-right: 0;
    margin-bottom: 16px;
    margin-left: 0;
}

address
{
    font-style: italic;

    margin-top: 0;
    margin-right: 0;
    margin-bottom: 28px;
    margin-left: 0;
}

hr
{
    height: 1px;
    margin-bottom: 24px;

    border: 0;
    background-color: #d1d1d1;
}

figure
{
    margin: 0;

    text-align: center;
}

mark,
ins
{
    padding-top: 2px;
    padding-right: 4px;
    padding-bottom: 2px;
    padding-left: 4px;

    text-decoration: none;

    background-color: #f5f5f5;
}

blockquote cite
{
    font-size: 80%;
    font-style: italic;
}

blockquote
{
    font-size: 110%;
    font-style: italic;
    line-height: 1.4736842105;

    margin-bottom: 1.25em;
    margin-left: 0;
    padding-top: .1em;
    padding-right: 0;
    padding-bottom: 1em;
    padding-left: 1.263157895em;
}

blockquote
{
    quotes: none;

    border-left: solid 4px #000;
}

q
{
    border-left: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after
{
    content: '';
}

blockquote p
{
    margin-bottom: 1.4736842105em;
}

blockquote > :last-child
{
    margin-bottom: 0;
}

dd
{
    margin-right: 24px;
    margin-bottom: 24px;
    margin-left: 24px;
}

em
{
    font-style: italic;
}

img
{
    display: block;

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

figcaption
{
    font-size: 11px;
    font-size: .6875rem;
    line-height: 1.6;
}

blockquote strong,
blockquote b,
dt,
bold
{
    font-weight: 700;
}

pre
{
    font-family: 'Courier 10 Pitch', Courier, monospace;

    overflow: auto;
}

/*--------------------------------------------------------------
3.2 Lists
--------------------------------------------------------------*/
ul,
ol
{
    margin: 0;
    padding: 0;
}

ul
{
    list-style: disc;
}

li
{
    margin-bottom: 8px;
    margin-left: 16px;
}

li > ul,
li > ol
{
    margin-top: 8px;
}

ul li a
{
    margin-left: 1px;
    padding-top: 8px;
}

/*--------------------------------------------------------------
3.3 Tables
--------------------------------------------------------------*/
table
{
    font-weight: 300;

    width: 100%;
    margin: 0;

    table-layout: auto;
    border-spacing: 0;
    border-collapse: collapse;

    border: 1px solid #d1d1d1;
    border-width: 1px 0 0 1px;
}

table tbody
{
    display: table-row-group;

    vertical-align: middle;

    border-color: inherit;
}

table td
{
    font-weight: 300;

    display: table-cell;

    margin: 0;
    padding-top: 7px;
    padding-right: 7px;
    padding-bottom: 7px;
    padding-left: 7px;

    text-align: left;
    vertical-align: inherit;

    border: 1px solid #d1d1d1;
}

table tfoot
{
    display: table-footer-group;

    vertical-align: middle;

    border-color: inherit;
}

table th
{
    font-weight: 300;

    display: table-cell;

    padding-top: 7px;
    padding-right: 7px;
    padding-bottom: 7px;
    padding-left: 7px;

    text-align: left;
    vertical-align: inherit;

    border: 1px solid #d1d1d1;
}

table thead
{
    display: table-header-group;

    vertical-align: middle;

    border-color: inherit;
}

table tr
{
    display: table-row;

    vertical-align: inherit;

    border-color: inherit;
}

/*--------------------------------------------------------------
4. Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
4.1 Buttons
--------------------------------------------------------------*/
button,
input[type='button'],
input[type='reset'],
input[type='submit']
{
    font-size: 13px;
    font-size: .8125rem;
    line-height: 1;

    margin: 0;
    padding-top: 13px;
    padding-right: 16px;
    padding-bottom: 13px;
    padding-left: 16px;

    transition: all .2s ease-in-out;
    text-decoration: none;

    color: #fff;
    border: solid 1px #00538a;
    border-radius: 0;
    background-color: #00538a;
}

button:hover,
input[type='button']:hover,
input[type='reset']:hover,
input[type='submit']:hover
{
    transition: all .2s ease-in-out;
    text-decoration: none;

    color: #fff;
    border: solid 1px #a3041f;
    outline-offset: -3px;
    background-color: #a3041f;
}

button:focus,
button:active,
input[type='button']:focus,
input[type='button']:active,
input[type='reset']:focus,
input[type='reset']:active,
input[type='submit']:focus,
input[type='submit']:active
{
    text-decoration: none;

    color: #fff;
    border: solid 1px #a3041f;
    outline: dotted 1px #fff;
    outline-offset: -3px;
    background-color: #a3041f;
}

.disabled
{
    cursor: not-allowed;

    opacity: .5;
}

.disabled > a
{
    display: inline-block;

    text-decoration: none;
    pointer-events: none;

    color: currentColor;
}

/*--------------------------------------------------------------
4.2 Fields
--------------------------------------------------------------*/
input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='number'],
input[type='tel'],
input[type='range'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='time'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'],
textarea
{
    width: 100%;
    padding-top: 8px;
    padding-right: 16px;
    padding-bottom: 8px;
    padding-left: 16px;

    border: 1px solid #d1d1d1;
    border-radius: 0;
}

input[type='text']
input[type='email'],
input[type='url']
{
    width: 100%;
}

@media screen and (min-width: 48.9375em)
{
    input[type='text'],
    input[type='email'],
    input[type='url']
    {
        width: 60%;
    }
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='range']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='week']:focus,
input[type='time']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='color']:focus,
textarea:focus
{
    outline: dotted 1px #000;
    outline-offset: -4px;
}

input[type='checkbox']
{
    margin-right: 5px;
}

.contact-form label span
{
    color: #a3041f !important;
}

label.subscribe-label
{
    font-size: 13px;
    font-size: .8125rem;
}

li.share-linkedin a.sd-button > span,
li.share-google-plus-1 a.sd-button > span,
li.share-facebook a.sd-button > span,
li.share-twitter a.sd-button > span,
li.share-pinterest a.sd-button > span,
li.share-reddit a.sd-button > span
{
    color: #525252;
}

.wpl-button a
{
    color: #525252 !important;
}

input[name='wp-comment-cookies-consent']
{
    background-color: #000;
}

::-webkit-input-placeholder
{
    color: #525252;
}

:-moz-placeholder
{
    color: #525252;
}

::-moz-placeholder
{
    color: #525252;
}

:-ms-input-placeholder
{
    color: #525252;
}

.required
{
    color: #a3041f;
}

/*--------------------------------------------------------------
5. Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a
{
    transition: all .2s ease-in-out;
}

a:link,
a:visited
{
    text-decoration: underline;

    color: #00538a;
}

a:hover,
a:focus,
a:active
{
    text-decoration: none;

    color: #a3041f;
}

a:focus,
a:active
{
    outline: dotted 1px #000;
}

a:focus img,
a:active img
{
    opacity: .8;
    outline: dotted 1px #fff;
    outline-offset: -4px;
}

/*--------------------------------------------------------------
7. Alignments
--------------------------------------------------------------*/
.alignleft
{
    display: inline;
    float: left;

    margin-top: 0;
    margin-right: 24px;
}

.alignright
{
    display: inline;
    float: right;

    margin-top: 0;
    margin-left: 24px;
}

.aligncenter
{
    display: block;
    clear: both;

    margin-right: auto;
    margin-left: auto;
}

/*--------------------------------------------------------------
14. Media
--------------------------------------------------------------*/
/*--------------------------------------------------------------
14.1 Captions
--------------------------------------------------------------*/
.wp-caption
{
    max-width: 100%;
    margin-bottom: 24px;
}

.wp-caption img[class*='wp-image-']
{
    display: block;

    margin-right: auto;
    margin-left: auto;
}

.wp-caption .wp-caption-text
{
    margin-top: 14px;
    margin-bottom: 14px;
}

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

/*--------------------------------------------------------------
14.2 Galleries
--------------------------------------------------------------*/
.gallery
{
    margin-bottom: 24px;
}

.gallery-item
{
    display: inline-block;

    width: 100%;

    text-align: center;
    vertical-align: top;
}

.gallery-columns-2 .gallery-item
{
    max-width: 50%;
}

.gallery-columns-3 .gallery-item
{
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item
{
    max-width: 25%;
}

.gallery-columns-5 .gallery-item
{
    max-width: 20%;
}

.gallery-columns-6 .gallery-item
{
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item
{
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item
{
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item
{
    max-width: 11.11%;
}

.gallery-caption
{
    display: block;
}
