.nav { position: absolute; width: 100%; z-index: 5; }

ul { list-style-type: none; margin: 0; padding: 10; background-color: #333; float: inherit; }

.drop-item { float: right; display: none; }

li a { display: inline-block; color: white; text-align: center; padding: 12px 20px; text-decoration: none; background-color: #333; }

li a:hover { background-color: #f3be3b; }

.active { background-color: #f3be3b; }

.dropdown:hover .drop-menu, .dropdown:hover .drop-item { display: block; opacity: 1; visibility: visible; }

.drop-menu { list-style: none; margin: 0; padding: 0; display: inline-block; opacity: 0; position: absolute; width: 9rem; background: #333; box-shadow: 1px 1px 1px #333; }

.drop-menu li { border-bottom: 1px solid #c9c9c9; float: inherit; }

.drop-menu li a { padding: 7px 14px; border: 0 none; width: 9rem; float: inherit; }

.menu-item a:hover { background: #f3be3b; }

.menu-item { padding-right: 30px; margin-right: inherit; }

.drop-menu { position: absolute; top: 50px; left: 1px; width: 140px; }

.fl { float: left; }

.fr { float: right; }

.clearfix::after { content: ""; display: table; clear: both; }

.left-btn { float: left; display: flex; justify-content: space-around; }

.home-btn { text-align: left; }

.badge-container { margin: 0.3% 2% 0% 0%; float: right; color: white; }

.badge-wrapper { height: auto; display: flex; justify-content: center; }

.my-badge { text-decoration: none; max-height: 0.5rem; border-radius: 5%; font-size: 1rem; background: #1779ba; color: #fefefe; border-radius: 15%; padding: 30%; display: flex; justify-content: center; align-items: center; }

.my-badge:hover { background: rgba(23, 121, 186, 0.8); }

.last { padding-right: 1%; }

@media screen and (min-width: 600px) { li a { display: inline-block; color: white; text-align: center; padding: 14px 14px; text-decoration: none; background-color: #333; } .drop-menu li a { padding: 7px 14px; border: 0 none; width: 9rem; float: inherit; } .menu-item { position: relative; } .mobile-btn { display: none; } .mobile-order { display: flex; flex-direction: row; float: right; } .dropdown:hover .drop-menu { display: block; } }

@media screen and (max-width: 700px) { .menu-item { padding-right: 20px; } }

@media screen and (max-width: 600px) { .nav { position: relative; } .desktop-btn { display: none; } .mobile-btn { padding: 1%; } .drop-block .drop-menu { position: static; display: block; } .badge-container { margin: 0.5% 7% 0% 7%; } .nav ul li { width: 100%; } ul { text-align: center; width: 100%; } .menu-item { color: white; padding: 0; text-decoration: none; background-color: #333; width: 100%; } .drop-menu { position: static; width: 100%; display: none; } .drop-block > ul { visibility: visible; opacity: 1; } .drop-menu li a { width: 100%; background-color: #ccc3c3; } a { width: 100%; } .my-badge { max-height: 1.5rem; } }

footer { width: 100%; position: relative; bottom: 0; left: 0; max-height: 80px; display: flex; padding-top: 15px; padding-bottom: 15px; text-align: center; background-color: white; clear: both; }

footer h6 { margin: 0; }

.index-background { width: 100%; height: 100vh; display: flex; justify-content: left center; align-items: center; text-align: left; background-image: url(img/nebula.jpg); background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; }

.index-headings { position: relative; top: -5%; margin-left: 10%; width: 100vw; }

.by-line { width: fit-content; margin-bottom: 0%; margin-left: 1%; color: #137e5a; font-size: 1.5rem; font-weight: 1000; white-space: nowrap; z-index: 50; }

.by-line-zh { width: fit-content; margin-bottom: 0%; margin-left: 2%; color: #137e5a; font-size: 2.5rem; font-weight: 1000; white-space: nowrap; z-index: 50; }

.index-background h3 span { display: inline; }

#index-heading1 { margin-left: 1%; -webkit-text-stroke: 3px white; color: white; text-shadow: 3px 3px 4px #1ac762; margin-top: 0; margin-bottom: 0; color: white; text-decoration: none; text-align: left; }

#index-heading2 { margin-top: -1%; margin-bottom: 0; margin-left: 18%; text-decoration: none; text-align: left; -webkit-text-stroke: 3px white; color: white; text-shadow: 3px 3px 4px #1ac762; }

.index-background .ff:after { content: url(img/alien.png); position: absolute; transform: scale(0.088) rotate(15deg); transition: scale() 0.2s; padding: 15px; left: 20%; top: -2%; animation: 3s ease 0.5s infinite wave; z-index: 100; }

.alien-icon { transform: rotate(25deg); display: inline-block; padding: 1%; color: purple; font: normal normal normal 30px/1 FontAwesome !important; }

.alien-icon:hover { transform: rotate(25deg) scale(1.2); }

@keyframes wave { 0% { transform: scale(0.088) rotate(15deg); }
  50% { transform: scale(0.088) rotate(30deg); }
  100% { transform: scale(0.088) rotate(15deg); } }

.index-background .ff:hover:after { transform: scale(0.089) rotate(15deg); animation: none; }

@media screen and (min-width: 1101px) { #index-heading1, #index-heading2 { font-size: 8rem; } }

@media screen and (max-width: 1100px) { .index-background { padding-top: 10%; } .by-line { font-size: 1.2rem; } .by-line-zh { font-size: 2.5rem; } #index-heading1, #index-heading2 { font-size: 7.2rem; } .ff:after { left: 16%; top: -2%; } }

@media screen and (max-width: 800px) { .index-background { padding-top: 15%; } .by-line { font-size: 1rem; } .by-line-zh { font-size: 2rem; } #index-heading1, #index-heading2 { font-size: 6rem; } #index-heading2 { left: 5%; } .index-background .ff:after { left: 10%; top: -20%; } .index-background h3 span { display: block; } }

@media screen and (max-width: 601px) { .index-background { padding-top: 0; overflow-x: scroll; } .by-line { font-size: 1rem; } .by-line-zh { font-size: 1.8rem; } #index-heading1, #index-heading2 { font-size: 4.1rem; } #heading2 { left: 1%; } .index-background .ff:after { left: -1%; top: -40%; } .index-background h3 span { display: block; } }

@media screen and (max-width: 400px) { .index-headings { margin-top: -55%; } #index-heading1, #index-heading2 { font-size: 3.5em; } .by-line { font-size: 1rem; } .by-line-zh { font-size: 1.8rem; } }

.container-contacts { display: flex; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; z-index: -20; }

.upper-part { width: 100%; height: 50vh; display: flex; align-items: flex-end; align-content: space-around; background-color: rgba(9, 189, 135, 0.8); background-repeat: no-repeat; background-attachment: fixed; }

.lower-part { width: 100%; height: 50vh; background-color: whitesmoke; }

.contact-links { justify-content: center; width: 100%; }

.contact-details:hover { transform: translateY(8px); }

.fa { padding: 1%; width: 5%; font: normal normal normal 30px/1 FontAwesome !important; text-align: center; text-decoration: none; border-radius: 20%; margin: 1%; }

/* Add a hover effect if you want */
.fa:hover { opacity: 0.7; }

/* Set a specific color for each brand */
/* Facebook */
.contact-links .fa-facebook { background: white; color: #09bd87; }

/* Twitter */
.contact-links .fa-twitter { background: white; color: #09bd87; }

.contact-links .fa-instagram { background: white; color: #09bd87; }

.contact-links .fa-youtube { background: white; color: #09bd87; }

@media screen and (min-width: 1801px) { .fa { padding: 0.8%; font: normal normal normal 40px/1 FontAwesome !important; width: 4%; } }

@media screen and (max-width: 1800px) { .fa { padding: 1%; font: normal normal normal 30px/1 FontAwesome !important; width: 5%; } }

@media screen and (max-width: 950px) { .fa { padding: 2%; font: normal normal normal 30px/1 FontAwesome !important; width: 8%; } }

@media screen and (max-width: 650px) { .fa { padding: 2%; font: normal normal normal 26px/1 FontAwesome !important; width: 10%; } }

@media screen and (max-width: 450px) { .fa { padding: 3%; font: normal normal normal 26px/1 FontAwesome !important; width: 13%; margin: 1% 1% 4% 1%; } .upper-part { max-height: 200px; } }

.left-col-credits { width: 45%; height: 100vh; float: left; background-color: #09bd87; }

.right-col-credits { width: 55%; float: right; height: 100vh; background-color: white; }

.left-col-credits div { margin-top: 100px; margin-right: 1%; }

.right-col-credits div { margin-top: 110px; margin-left: 1%; }

.credits-left { text-align: end; font-style: italic; display: flex; flex-direction: column; line-height: 4rem; }

.credits-right { font-style: italic; font-weight: 100 !important; display: flex; flex-direction: column; line-height: 4rem; }

.credits-icon { width: 1%; font: normal normal normal 20px/1 FontAwesome !important; text-align: center; text-decoration: none; margin-left: 1%; position: relative; top: -5px; color: #9a12b3; }

.awards-background { width: 100%; height: 100%; display: flex; justify-content: space-around; background-image: url(img/nudejoin.jpg); background-size: cover; background-position: center center; background-repeat: no-repeat; z-index: -30; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; overflow-x: hidden; }

.awards-background .heading { display: flex; text-decoration: none; color: white; -webkit-text-stroke: 4.5px white; font-size: 5rem; margin: 15% 0 15% 0; }

.awards-background .timeline { background-color: rgba(51, 51, 51, 0.7); padding: 0 5% 5% 5%; flex: 0 1 80%; }

.timeline p { font-size: 1em; border-top: 3px solid; border-image: linear-gradient(to right, #743ad5 0%, #d53a9d 100%); border-image-slice: 1; border-width: 3px; margin: 0; padding: 40px; position: relative; color: whitesmoke; text-align: justify; counter-reset: section; }

.timeline p a { color: white; }

.timeline p:before { content: counter(section); position: absolute; border-radius: 5%; padding: 10px; padding-right: 16px; width: 32px; height: 20px; background-color: rgba(5, 5, 5, 0.9); text-align: center; color: white; font-size: 1em; }

.timeline p:nth-child(odd) { border-right: 3px solid; padding-left: 0; }

.timeline p:nth-child(odd):before { left: 100%; margin-left: -20px; }

.timeline p:nth-child(even) { border-left: 3px solid; padding-right: 10px; }

.timeline p:nth-child(even):before { right: 100%; margin-right: -20px; }

.timeline p:first-child { border-top-right-radius: 0; border-top-left-radius: 0; }

.timeline p:last-child { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }

@media screen and (max-width: 650px) { .awards-background .en-font { font-size: 4.5rem; } .awards-background .zh-font, .awards-background .it-font { font-size: 3.8rem; -webkit-text-stroke: 4px white; } }

@media screen and (max-width: 300px) { .timeline p:nth-child(odd):before { left: 60%; } .timeline p:nth-child(even):before { right: 60%; } }

.ff-background { width: 100%; height: 100%; display: flex; justify-content: space-around; background-image: url(img/citygirl.jpg); background-size: cover; background-position: top; background-repeat: no-repeat; z-index: -30; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; overflow-x: hidden; }

.ff-timeline { background-color: rgba(51, 51, 51, 0.7); padding: 0 5% 25% 5%; flex: 0 1 80%; }

.ff-background .heading { display: flex; flex-flow: wrap; text-decoration: none; color: white; -webkit-text-stroke: 4.5px white; font-size: 5rem; margin: 15% 0 15% 0; }

.ff-description { padding: 0 5% 0 5%; text-align: justify; }

.ff-description h4 { text-align: start; text-decoration: none; color: white; margin-bottom: 0px; padding-bottom: 0px; -webkit-text-stroke: 1.5px white; }

.ff-description p { text-align: justify; color: white; }

.toTheWebsite { position: relative; right: 20px; }

.toTheWebsite { position: relative; width: 100%; text-align: end; text-decoration: none; color: white; margin-bottom: 0px; padding-bottom: 0px; font-weight: 800; }

.ff:after { content: ""; background: url(img/alien.png) no-repeat; position: absolute; background-size: 25px; transform: rotate(10deg); padding: 20px; right: -40px; top: 10px; }

.ff:hover:after { transform: rotate(25deg) scale(1.2); }

.icon { z-index: 90; transform: rotate(0); width: 3.5%; height: 1auto; transition: transform .4s; }

.rotate { -webkit-transform: rotate(40deg); -webkit-transition: -webkit-transform 1s; margin-left: 20%; margin-right: 20%; }

.icon:hover { transform: scale(1.5, 1.5); }

/* @media screen and (min-width: 751px) { .ff-background .heading{ margin: 15% 0 15% 0; padding: 3%; } } @media screen and (max-width: 750px) { .ff-background .heading{ margin: 30% 0 20% 0; padding: 3%; } } */
@media screen and (max-width: 650px) { .ff-timeline .en-font, .it-font2 { font-size: 3.5rem !important; } .ff-timeline .it-font { font-size: 4rem !important; } .ff-timeline .zh-font { font-size: 3.5rem !important; } .ff-background h1 span { display: block; } }

.works-background { width: 100%; height: 100vh; padding: 0 10% 0 10%; display: flex; justify-content: space-around; flex-wrap: wrap; background-image: url(img/nudejoin.jpg); background-size: cover; background-position: center center; background-repeat: no-repeat; z-index: -30; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; overflow-x: hidden; }

.works-background .heading { width: 100%; text-decoration: none; color: white; -webkit-text-stroke: 4.5px white; z-index: 2; text-align: left; }

.works-column { margin: auto; width: 100%; padding: 3%; align-self: center; }

.works-background .frame { box-sizing: border-box; padding: 2%; border-radius: 3%; background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2)); }

.logo-wrapper { position: relative; z-index: 10; }

.logo:after { position: absolute; display: inline-block; content: url(../css/img/amazon.svg); height: auto; z-index: 2; border-radius: 5%; background: linear-gradient(to right, rgba(250, 207, 17, 0.5), rgba(250, 207, 17, 0.8)); background-size: cover; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; }

.frame img { transform: scale(0.7); }

@media only screen and (min-width: 1801px) { .works-column { flex: 1 0 30%; } .works-background .heading { margin: 8% 10% 0 0; font-size: 7rem; } .logo:after { width: 22%; padding: 2%; right: -10%; bottom: 150px; } }

@media only screen and (max-width: 1800px) { .works-column { flex: 1 0 30%; } .works-background .heading { margin: 8% 10% 0 0; font-size: 6rem; } .logo:after { width: 20%; padding: 2%; right: -8%; bottom: 150px; } }

@media only screen and (max-width: 1600px) { .works-column { transform: scale(1.1); } .works-background .heading { margin: 15% 10% 8% 0; font-size: 6rem; } .logo:after { width: 20%; padding: 2%; right: 4%; bottom: 150px; } }

@media only screen and (max-width: 1200px) { .works-background { padding: 0 7% 0 7%; } .works-background .heading { margin: 20% 10% 10% 0; } .works-column { flex: 1 0 40%; } .logo:after { width: 17%; padding: 2%; right: 1%; bottom: 100px; } }

@media only screen and (max-width: 750px) { .works-background .heading { margin: 20% 10% 10% 0; } .logo:after { width: 20%; padding: 2%; right: 8%; bottom: 100px; } }

@media only screen and (max-width: 450px) { .works-background .heading { margin: 15% 0 15% 0; font-size: 5rem; } .works-column { flex: 1 0 60%; } .logo:after { width: 20%; padding: 2%; right: 5%; bottom: 150px; } }

@media only screen and (max-width: 250px) { .works-background .heading { margin: 20% 0 15% 0; font-size: 3.8rem; } .logo:after { width: 17%; padding: 2%; right: 12%; bottom: 100px; } }

.single-background { width: 100%; height: 100%; display: flex; background-image: url(img/nudejoin.jpg); background-size: cover; background-position: center center; background-repeat: no-repeat; z-index: 1; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; }

.single-heading { padding: 10% 0% 0% 10%; text-decoration: none; color: white; -webkit-text-stroke: 4.5px white; align-self: flex-start; }

.single-left { width: 60%; display: flex; flex-direction: column; align-items: center; }

.single-right { width: 40%; display: flex; background-color: rgba(51, 51, 51, 0.7); flex-direction: column; align-items: center; justify-content: center; }

.single-work-div { width: 100%; display: flex; justify-content: center; align-items: center; }

.book-cover { width: 30%; height: auto; display: block; }

.single-frame { padding: 1%; border-radius: 3%; background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2)); }

.book-cover .logo:after { position: relative; display: inline-block; content: url(img/amazon.svg); width: 10%; height: auto; padding: 2%; bottom: 300px; right: 100px; z-index: 2; border-radius: 5%; background: linear-gradient(to right, rgba(250, 207, 17, 0.5), rgba(250, 207, 17, 0.8)); background-size: cover; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; }

.book-description { display: flex; flex-direction: column; justify-content: center; height: 100%; color: white; text-align: left; margin: 10% 7% 7% 7%; }

@media only screen and (min-width: 2000px) { .single-heading h1 { font-size: 6.5rem !important; } .synopsis { font-size: 4.5rem; } }

@media only screen and (min-width: 950px) { .single-heading { padding: 10%; } .single-heading h1 { font-size: 4.5rem !important; } .single-left { width: 55%; padding-bottom: 10%; } .single-right { width: 45%; } .book-description { padding: 10%; } .extra-long-summary { padding: 10% 10% 5% 0%; } .book-cover { margin: 5%; } .single-frame { transform: scale(1.3); } .book-cover .logo:after { width: 35%; top: -50px; right: -100%; } }

@media only screen and (max-width: 950px) and (orientation: portrait) { .single-background { flex-direction: column; height: 100%; } .single-heading { padding-top: 5%; padding-right: 0; -webkit-text-stroke: 1.9px white; } .single-heading h1 { font-size: 1.5rem; } .single-left { height: 40%; width: 100%; display: flex; } .single-right { width: 100%; height: auto; padding: 5%; overflow: scroll; } .book-description { padding-top: 0; } .book-cover { margin: 5%; } .book-cover .logo:after { top: -70px; right: -70%; border-radius: 5%; } }

@media only screen and (max-width: 650px) and (orientation: portrait) { .single-background { flex-direction: column; height: 100%; } .single-heading { padding-top: 5%; padding-right: 0; -webkit-text-stroke: 1.9px white; font-size: 2rem; } .single-left { height: 40%; width: 100%; display: flex; } .single-right { width: 100%; height: auto; padding: 5%; overflow: scroll; } .book-description { padding-top: 0; } .book-cover { margin: 5%; } .book-cover .logo:after { top: -70px; right: -90%; width: 30%; } }

@media only screen and (max-width: 850px) and (orientation: landscape) { .single-heading { -webkit-text-stroke: 1.9px white; font-size: 1.5rem; } .single-left { width: 50%; } .single-right { width: 50%; } .book-description { font-size: 0.8rem; padding: 5%; margin: 15% 5% 15% 5%; } .book-cover { margin: 5%; } .extra-long-summary { padding: 40% 3% 10% 3% !important; } .book-cover .logo:after { top: -70px; right: -90%; width: 30%; } }

.bio-heading { width: auto; margin: 15% 0 5% 5%; text-align: start; text-decoration: none; color: white; -webkit-text-stroke: 4.5px white; font-size: 5rem; }

.bio-text { padding-left: 5%; padding-right: 18%; padding-bottom: 5%; font-size: 1.2rem; line-height: 1.7; }

.bio-row { display: flex; flex-direction: row; width: 100%; margin: 0; }

.bio-left { flex: 5; margin: 0px; background-size: cover; background-position: center; }

.bio-left img { width: 100%; object-fit: cover; height: 100%; display: flex; }

.bio-right { flex: 7; background-color: rgba(9, 189, 135, 0.8); margin: 0px; }

.frame { margin: 50px; padding: 20px 500px 20px 20px; border-radius: 1%; background-color: rgba(51, 51, 51, 0.7); z-index: -2; }

.photos { position: relative; padding: 50px; }

.slideshow-container { width: 100%; min-height: 200px; position: relative; margin-top: 5%; background-color: rgba(0, 0, 0, 0.4); }

.mySlides { width: 100%; height: auto; padding: 3%; display: flex; align-items: center; }

.mySlides img { width: 25%; vertical-align: top; max-height: 300px; object-fit: cover; }

.prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; color: white; font-weight: bold; font-size: 18px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; }

.next { right: 0; border-radius: 3px 0 0 3px; }

.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

.img-text { color: #f2f2f2; font-size: 1.2rem; position: relative; margin-left: 1%; }

.fade { -webkit-animation-name: fade; -webkit-animation-duration: 1.5s; animation-name: fade; animation-duration: 1.5s; }

@-webkit-keyframes fade { from { opacity: .4; }
  to { opacity: 1; } }

@keyframes fade { from { opacity: .4; }
  to { opacity: 1; } }

@media only screen and (min-width: 650px) { .bio-text { text-align: justify; } .bio-heading { font-size: 4rem; } .img-text { position: absolute; display: inline-block; padding-right: 2%; padding-left: 2%; } .mySlides img { width: 35%; } }

@media only screen and (max-width: 650px) { .bio-left img { width: 100%; } .bio-text { padding: 7%; text-align: justify; } .bio-heading { font-size: 4rem; } .bio-row { flex-direction: column; } .mySlides img { width: 100%; vertical-align: top; max-height: 300px; object-fit: cover; margin-bottom: 1em; } .img-text { position: relative; margin: auto; padding-bottom: 1%; } }

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/** 1. Set default font family to sans-serif. 2. Prevent iOS text size adjust after orientation change, without disabling user zoom. */
* { box-sizing: border-box; }

html { width: 100%; height: 100%; font-family: Helvetica, Arial, Sans-Serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }

/** Remove default margin. */
body { width: 100%; height: auto; margin: 0; padding: 0; }

/* HTML5 display definitions ========================================================================== */
/** Correct `block` display not defined for any HTML5 element in IE 8/9. Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. Correct `block` display not defined for `main` in IE 11. */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }

/** 1. Correct `inline-block` display not defined in IE 8/9. 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */
audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ }

/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
audio:not([controls]) { display: none; height: 0; }

/** Address `[hidden]` styling not present in IE 8/9/10. Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. */
[hidden], template { display: none; }

/* Links ========================================================================== */
/** Remove the gray background color from active links in IE 10. */
a { background-color: transparent; }

/** Improve readability when focused and also mouse hovered in all browsers. */
a:active, a:hover { outline: 0; }

/* Text-level semantics ========================================================================== */
/** Address styling not present in IE 8/9/10/11, Safari, and Chrome. */
abbr[title] { border-bottom: 1px dotted; }

/** Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */
b, strong { font-weight: bold; }

/** Address styling not present in Safari and Chrome. */
dfn { font-style: italic; }

/** Address variable `h1` font-size and margin within `section` and `article` contexts in Firefox 4+, Safari, and Chrome. */
h1 { font-size: 2em; margin: 0.67em 0; }

/** Address styling not present in IE 8/9. */
mark { background: #ff0; color: #000; }

/** Address inconsistent and variable font size in all browsers. */
small { font-size: 80%; }

/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }

sup { top: -0.5em; }

sub { bottom: -0.25em; }

/* Embedded content ========================================================================== */
/** Remove border when inside `a` element in IE 8/9/10. */
img { border: 0; }

/** Correct overflow not hidden in IE 9/10/11. */
svg:not(:root) { overflow: hidden; }

/* Grouping content ========================================================================== */
/** Address margin not present in IE 8/9 and Safari. */
figure { margin: 1em 40px; }

/** Address differences between Firefox and other browsers. */
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }

/** Contain overflow in all browsers. */
pre { overflow: auto; }

/** Address odd `em`-unit font size rendering in all browsers. */
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }

/* Forms ========================================================================== */
/** Known limitation: by default, Chrome and Safari on OS X allow very limited styling of `select`, unless a `border` property is set. */
/** 1. Correct color not being inherited. Known issue: affects color of disabled elements. 2. Correct font properties not being inherited. 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */
button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ }

/** Address `overflow` set to `hidden` in IE 8/9/10/11. */
button { overflow: visible; }

/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. Correct `select` style inheritance in Firefox. */
button, select { text-transform: none; }

/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. */
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ }

/** Re-set default cursor for disabled elements. */
button[disabled], html input[disabled] { cursor: default; }

/** Remove inner padding and border in Firefox 4+. */
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/** Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */
input { line-height: normal; }

/** It's recommended that you don't attempt to style these elements. Firefox's implementation doesn't respect box-sizing, padding, or width. 1. Address box sizing set to `content-box` in IE 8/9/10. 2. Remove excess padding in IE 8/9/10. */
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ }

/** Fix the cursor style for Chrome's increment/decrement buttons. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`. */
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; }

/** 1. Address `appearance` set to `searchfield` in Safari and Chrome. 2. Address `box-sizing` set to `border-box` in Safari and Chrome (include `-moz` to future-proof). */
input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box; }

/** Remove inner padding and search cancel button in Safari and Chrome on OS X. Safari (but not Chrome) clips the cancel button when the search input has padding (and `textfield` appearance). */
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/** Define consistent border, margin, and padding. */
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }

/** 1. Correct `color` not being inherited in IE 8/9/10/11. 2. Remove padding so people aren't caught out if they zero out fieldsets. */
legend { border: 0; /* 1 */ padding: 0; /* 2 */ }

/** Remove default vertical scrollbar in IE 8/9/10/11. */
textarea { overflow: auto; }

/** Don't inherit the `font-weight` (applied by a rule above). NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */
optgroup { font-weight: bold; }

/* Tables ========================================================================== */
/** Remove most spacing between table cells. */
table { border-collapse: collapse; border-spacing: 0; }

td, th { padding: 0; }

/* Lists ========================================================================== */
/** Remove default list styles, margins and padding. */
ol, ul { margin: 0; padding: 0; list-style: none; }

/*# sourceMappingURL=styles.css.map */