/* ------------------------------------------------------------------------ **
**  Initial Reset
** ------------------------------------------------------------------------ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

/* ------------------------------------------------------------------------ */
/*  Scroll to Top Button
*/
/* ------------------------------------------------------------------------ */

#scroll-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 1.2em;
    border: none;
    outline: none;
    background-color: #545454;
    color: white;
    cursor: pointer;
    padding: 1em;
    border-radius: 0.3em;
}

#scroll-top:hover {
    background-color: #de4c4f;
}

@media only screen
and (max-device-width : 1080px) {
    #scroll-top{
        font-size: 0.9em;
        padding: 2em 1.5em;
        margin-bottom: 3em;
        margin-right:0em;
    }
}

/* ------------------------------------------------------------------------ */
/*  Note Styling
*/
/* ------------------------------------------------------------------------ */

html {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

q, blockquote {
    quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}

a img {
    border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

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

html {
    font-size: 1.2em;
    line-height: 1.6em;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #fcfcfc;
    color: #545454;
    text-rendering: optimizeLegibility;
    font-family: "AvenirNext-Regular";
}

a {
    color: #de4c4f;
    text-decoration: none;
    font-weight: bolder;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-family: "AvenirNext-Medium";
    color: white;
    background-color: #434343;
    border-width: 3px;
    border-style: solid;
    font-size: 1.6em;
    line-height: 1.6em;
    text-align: center;
    border-radius: 20px;
    padding: 20px;
    margin:80px 0px 20px;
    text-transform: uppercase;  
}

h1:first-of-type {
    margin:15px 0px 0px;
}

h2 {
    font-family: "AvenirNext-Medium";
    color: white;
    background-color: #BF5E59;
    font-size: 1.4em;
    line-height: 1.6em;
    border-style: solid;
    border-color: #434343;
    border-width: 2px;
    border-radius: 5px;
    padding: 15px;
    margin:60px 0px 20px;
    text-align: center;
}

h2:first-of-type {
    margin:20px 0px 20px;
}


h3 {
    font-family: "AvenirNext-Medium";
    color: grey;
    font-size: 1.15em;
    line-height: 1.4em;
    margin:50px 10px 10px;
    border-bottom: #DDD;
    border-bottom-style: solid;
    border-bottom-width: 10px;
    text-transform: uppercase;
    text-align: center;
}

h4 {
    font-family: "AvenirNext-Medium";
    color: grey;
    font-size: 1.05em;
    line-height: 1.3em;
    margin:40px 0px 20px;
    text-transform: uppercase;
    text-align: center;
}

h5 {
    font-family: "AvenirNext-Medium";
    color: #333;
    font-size: 1.05em;
    line-height: 1.3em;
    margin:35px 0px 15px;
}

h6 {
    font-family: "AvenirNext-Medium";
    color: #333;
    font-size: 1.05em;
    line-height: 1.3em;
    margin:35px 0px 15px;
}

p {
    hyphens: auto;
    max-width: 100%;
    /* font-size: 1.3em; */
    line-height: 1.5em;
    margin: 0px auto 10px;
    padding: 10px;
}

/* p img {
    padding-top: 20px;
} */

hr {
    height: 1px;
    border: 0;
    background-color: #dedede;
    margin: -1px auto 1.57143em auto;
}

ul, ol {
    margin-bottom: .31429em;
}

ul ul, ul ol, ol ul, ol ol {
    margin-bottom: 0px;
}

ol {
    counter-reset: ol-ctr;
}

ol li:before {
    content: counter(ol-ctr) ".";
    counter-increment: ol-ctr;
    color: #e06e73;
    text-align: right;
    display: inline-block;
    min-width: 1em;
    margin-right: 0.5em;
}

b, strong {
    font-family: "AvenirNext-Bold";
}

i, em {
    font-family: "AvenirNext-Italic";
}

code {
    font-family: "Menlo-Regular";
}

.note-wrapper {
    max-width: 40em;
    margin: 0px auto;
    padding: 1.57143em 3.14286em;
}

.note-wrapper.spotlight-preview {
    overflow-x: hidden;
}

u {
    text-decoration: none;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #e06e73 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 1.05em;
}

s {
    color: #878787;
}

/* p {
    margin-bottom: 0.1em;
} */

hr {
    margin-bottom: 0.7em;
    margin-top: 0.7em;
}

li {
    /* font-size: 1.3em; */
    /* line-height: 1.6em; */
}

ul li.task-list-item {
    text-indent: -0.45em;
    margin-left:3em;
}

ul li:not(.task-list-item) {
    text-indent: -0.45em;
    /*margin-left: 1.25714em;*/
    margin-left: 1.4em;
}

ul li:not(.task-list-item):before {
    content: "\2022";
    color: #e06e73;
    display: inline-block;
    margin-right: 0.6em;
}

ul ul {
    margin-left: 1.25714em;
}

ol li {
    text-indent: -1.45em;
    margin-left: 2em;
}

ol ol {
    margin-left: 1.25714em;
}

blockquote {
    display: block;
    margin-left: 0.5em;
    padding-left: 0.8em;
    border-left: 0.2em solid #e06e73;
}

p code {
    display: inline;
    background: white;
    border: solid 1px #dedede;
    padding: 0.2em 0.5em;
    font-size: 0.9em;
}

pre code {
    display: block;
    background: white;
    border: solid 1px #dedede;
    padding: 0.7em 1em;
    font-size: 0.9em;
    white-space: pre-wrap;
    word-wrap: break-word;
}

input{
    font-size: 1.3em;
    padding: 3px;
    margin: 2px;
    border-radius: 6px;
}

input:focus{
    background-color: lightgoldenrodyellow;
}

mark {
    color: inherit;
    display: inline;
    padding: 0.2em 0.5em;
    background-color: #fcffc0;
}

img {
    max-width: 100%;
    height: auto;
    margin: 5px 0px;
    image-orientation: from-image;
    border-radius: 1em;
}


/* ------------------------------------------------------------------------ */
/*  Link button styling
*/
/* ------------------------------------------------------------------------ */

/* map pin button */
.map-pin {
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;
    margin: 15px 0;
    text-align: center;
    background: #696969;
    border-style: solid;
    padding: 15px 20px;
    border-radius: 2em;   
    display: inline-block;
    transition: all 0.4s ease 0s;
}

.map-pin:hover {
    background: #7aa2da;
    letter-spacing: 1px;
    text-decoration: none;
    -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
    transition: all 0.4s ease 0s;
    border-color: #6C90C2;
}

/* more button */
.more-link {
    color: #333;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;
    text-align: center;
    background: #fff;
    /* margin-top: 1em; */
    margin: 15px 0;
    padding: 15px 20px;
    display: inline-block;
    transition: all 0.4s ease 0s;
    border-style: solid;
    border-width: 2px;
    border-color: #C9C9C9;
    border-radius: 2em;    
    /* border-radius: 5px; */
}

.more-link:hover {
    color: #fff;
    background: #434343;
    border-color: #434343;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
    text-decoration: none;
    -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
    transition: all 0.4s ease 0s;
}


/* ------------------------------------------------------------------------ */
/*  Miscellaneous styling
*/
/* ------------------------------------------------------------------------ */

.alert {
    color: #e06e73 !important;
}


/* ------------------------------------------------------------------------ */
/*  Footer styling
*/
/* ------------------------------------------------------------------------ */
footer{
    font-size: 0.8em;
    text-align: center;
}


/* ------------------------------------------------------------------------ */
/*      MOBILE SCREENS
*/
/* ------------------------------------------------------------------------ */
@media only screen
and (max-device-width : 1080px) {

    .note-wrapper {
        width:100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-x: hidden;
        padding: 10px 10px;
    }

    h1{
        /* padding: 40px 20px; */
        /* margin: 40px 0 20px; */
    }

    h2{
        text-align: center;
        /* padding: 30px 20px; */
        margin: 80px 0 20px;
    }

    h2:first-of-type{
        margin: 30px 0 20px;
    }
    
    p {
        font-size: 1.1em;
        margin: 10px 0;
        padding: 3px;
    }

    a.more-link {
        /*font-weight: normal;*/
    }

    .map-link{
        padding:20px;
    }

    .more-link{
        padding:20px;
        font-size: 0.85em;
        text-transform: none;
    }
    
}    

/* ------------------------------------------------------------------------ */
/*      NAV
*/
/* ------------------------------------------------------------------------ */
nav {
    background-color: #333;
    max-width: 40em;
    margin: 0px auto 0em;
    padding: 0em 3em;
    display: block;
}

div.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

div.topnav span {
    float: left;
}

div.topnav span a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    font-size: 1.2em;
    text-decoration: none;
}

div.topnav span a:hover:not(.active) {
    background-color: #111;
}

/*div.topnav span a.active {background-color: #4CAF50;}*/

div.topnav li.right {
    float: right;
}

@media screen and (max-width: 600px) {
    div.topnav li.right,
    div.topnav span {
        float: none;
    }
}


/*NavBar*/

.Navbar {
    /*background-color: #46ACC2;*/
    user-select: none;
    display: flex;
    padding: 16px;
    /*font-family: sans-serif;*/
    color: white;
    background-color: #333;
    max-width: 40em;
    margin: 0px auto 0em;
    /*padding: 0em 3em;*/
    /*display: block;*/
}

#Navbar__Icon{
    height: 1.4em;
    text-align: bottom;
    padding:0;
    margin:0;
    vertical-align: text-bottom;
    border-radius:0;
}

.Navbar__Link-brand{
    font-weight: bold;
}

.Navbar__burger{
    user-select: none;
}

.Navbar__Link {
    user-select: none;
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 1.2em;
    font-weight: normal;
    text-decoration: none;
}

.Navbar__Link:hover:not(.active) {
    color: #de4c4f;
    text-decoration: none;
}

.Navbar__Items {
    display: flex;
    margin-left:0;     /* move the items to the left */
    padding-left:20px;
}

.Navbar__Items--right {
    margin-left:auto;
}

.Navbar__Link-toggle {
    display: none;
}

/* @media only screen and (max-width: 768px) { */
.Navbar__Items,
.Navbar {
	flex-direction: column;
}

.Navbar__Items {
	display:none;
	margin-left:auto;  /* recenter the items */
	padding:0;        
}

/*.Navbar__Items--right {*/
/*    margin-left:0;*/
/*}*/

.Navbar__ToggleShow {
	display: flex;
}

.Navbar__Link-toggle {
	user-select: none;
	align-self: flex-end;
	display: initial;
	position: absolute;
	cursor: pointer;
}
/* } */
