@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,800);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,900);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,900);
@import url(https://fonts.googleapis.com/css?family=Exo:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 10px
}

body {
    background-color: #eee
}

a,
h1,
h2,
h3,
li,
p,
span {
    font-family: Lato, sans-serif
}

a,
b,
li,
p {
    font-size: 1.8rem;
    color: #333
}

a {
    color: #0054a6
}

ul {
    list-style-type: none;
    line-height: 1.75
}

ul.circle {
    margin-left: 10px
}

ul.circle li:before {
    content: '';
    display: inline-block;
    margin-right: 10px;
    background-image: url(/images/icons/circle.svg);
    background-size: 10px 10px;
    height: 10px;
    width: 10px
}

ul.circle.links {
    -moz-column-count: 1;
    -moz-column-gap: 20px;
    -webkit-column-count: 1;
    -webkit-column-gap: 20px;
    column-count: 1;
    column-gap: 20px
}

@media (min-width:600px) {
    ul.circle.links {
        -moz-column-count: 2;
        -moz-column-gap: 20px;
        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
        column-count: 2;
        column-gap: 20px
    }
}

ul.circle ul {
    margin-left: 20px
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 3px solid #0054a6;
    font-size: 2rem;
    transition: all .5s ease;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 4px 4px rgba(51, 51, 51, .3)
}

.btn:hover {
    box-shadow: 6px 6px rgba(51, 51, 51, .5)
}

.btn.header-book {
    box-shadow: none
}

.btn.header-book:hover {
    background-color: #0054a6;
    color: #fff
}

.btn.arrow img {
    width: 22px;
    height: auto;
    margin: 5px 0 0 15px
}

.inner-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto
}

.contact-details {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    box-direction: normal;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -ms-flex-direction: column
}

.contact-details span {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-flex-align: center;
    font-size: 1.8rem;
    margin: 8px 0
}

.contact-details span a {
    text-decoration: none;
    color: #333
}

.contact-details span img {
    width: 23px;
    height: auto;
    margin-right: 10px
}

header {
    background-color: #fff
}

.header {
    padding: 20px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    box-direction: normal;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-flex-align: center
}

@media (min-width:1024px) {
    .header {
        -webkit-box-orient: horizontal;
        -moz-box-orient: horizontal;
        box-orient: horizontal;
        -webkit-box-direction: normal;
        -moz-box-direction: normal;
        box-direction: normal;
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        flex-direction: row;
        -ms-flex-direction: row;
        -webkit-box-pack: justify;
        -moz-box-pack: justify;
        box-pack: justify;
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -ms-justify-content: space-between;
        -o-justify-content: space-between;
        justify-content: space-between;
        -ms-flex-pack: justify
    }
}

.header .btn {
    margin: 25px 0
}

.logo {
    width: 100%;
    max-width: 400px;
    padding: 0 10px
}

.logo img {
    width: 100%
}

nav {
    background-color: #0054a6;
    padding: 10px;
    width: 100%;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    box-direction: normal;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: none
}



@media (min-width:795px) {
    nav {
        height: auto;
        position: relative;
        display: -webkit-box;
        display: -moz-box;
        display: box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -moz-box-orient: horizontal;
        box-orient: horizontal;
        -webkit-box-direction: normal;
        -moz-box-direction: normal;
        box-direction: normal;
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        flex-direction: row;
        -ms-flex-direction: row
    }
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 15px 10px;
    text-align: center
}

nav a:after {
    content: '';
    display: block;
    border-bottom: 2px solid #fff;
    position: relative;
    top: 15px;
    opacity: 0;
    transition: all .5s ease
}

nav a:hover:after {
    top: 5px;
    opacity: 1;
}


nav .icon {
    display: none;
  }



.content-wrapper {
    background-color: #fff;
    padding: 20px
}

@media (min-width:1024px) {
    .content-wrapper {
        display: -webkit-box;
        display: -moz-box;
        display: box;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -moz-box-orient: horizontal;
        box-orient: horizontal;
        -webkit-box-direction: normal;
        -moz-box-direction: normal;
        box-direction: normal;
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        flex-direction: row;
        -ms-flex-direction: row
    }
}

.content-wrapper main.book-online {
    min-height: 1300px
}

.content-wrapper main .header-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px
}

@media (min-width:1024px) {
    .content-wrapper main {
        width: 60%;
        margin-right: 10%
    }
}

.content-wrapper h1 {
    font-size: 3.5rem;
    color: #0054a6;
    font-weight: 800;
    margin-bottom: 20px
}

.content-wrapper h2 {
    font-size: 2.75rem;
    color: #0054a6;
    font-weight: 800;
    margin-bottom: 20px
}

.content-wrapper h3 {
    font-size: 2.45rem;
    color: #0054a6;
    font-weight: 800;
    margin-bottom: 20px
}

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.75
}

.content-wrapper ul {
    margin-bottom: 20px
}

.content-wrapper a b {
    color: #0054a6
}

@media (min-width:1024px) {
    aside {
        width: 30%
    }
}

aside .side-box {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    box-direction: normal;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -ms-flex-direction: column;
    padding-bottom: 20px;
    border-bottom: 2px solid #0054a6;
    margin-bottom: 20px
}

aside .side-box h3 {
    margin-top: 10px
}

aside .side-box .side-btn {
    align-self: flex-end
}

footer {
    background-color: #0054a6;
    padding: 20px
}

footer .footer-links {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    box-direction: normal;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center
}

@media (min-width:600px) {
    footer .footer-links {
        -webkit-box-orient: horizontal;
        -moz-box-orient: horizontal;
        box-orient: horizontal;
        -webkit-box-direction: normal;
        -moz-box-direction: normal;
        box-direction: normal;
        -webkit-flex-direction: row;
        -moz-flex-direction: row;
        flex-direction: row;
        -ms-flex-direction: row;
        -webkit-box-lines: multiple;
        -moz-box-lines: multiple;
        box-lines: multiple;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
}

footer .link-block {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-direction: normal;
    box-direction: normal;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    -ms-flex-direction: column;
    min-width: 100%;
    text-align: center;
    margin: 10px 0
}

@media (min-width:600px) {
    footer .link-block {
        min-width: 50%
    }
}

@media (min-width:1024px) {
    footer .link-block {
        min-width: 25%
    }
}



footer .link-block a {
    color: #fff;
    text-decoration: none;
    line-height: 1.75
}

footer .link-block a:hover {
    text-decoration: underline
}

footer .link-block a:first-child {
    font-size: 2rem;
    font-weight: 800
}

.footer-details {
    padding: 10px 20px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-pack: justify
}

.footer-details a {
    text-decoration: none
}

.footer-details:first-child {
    padding-top: 25px;
    border-bottom: 1px solid #0054a6
}

.breadcrumbs {
    padding: 10px 20px 0 20px;
    background-color: #fff;
    display: none
}

@media (min-width:795px) {
    .breadcrumbs {
        display: block
    }
}

.breadcrumbs a {
    text-decoration: none
}

.breadcrumbs a:after {
    content: '';
    display: inline-block;
    background-image: url(/images/icons/arrow.svg);
    background-repeat: no-repeat;
    background-size: 20px 10px;
    height: 10px;
    width: 20px
}

.breadcrumbs .breadcrumb-flex {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex
}

.footer-details:first-child {
    border: none
}

.contact-details span a {
    transition: ease all .3s;
    border-bottom: solid 1px transparent;
    color: #0054a6
}

.contact-details span a:hover {
    border-bottom: solid 1px
}

.footer-new {
    background-color: #fff;
    width: 100%;
    max-width: 1280px;
    padding: 20px;
    margin: 0 auto
}

.footer-new .primary-container {
    width: 100%
}

* {
    font-family: Lato
}

.form-text {
    margin: 20px 0
}

.form-text h2,
.form-text p {
    margin: 0 auto;
    margin-bottom: 25px;
    text-align: center;
    max-width: 650px
}

.form-text h2 {
    color: #0054a6
}

b {
    color: inherit
}

.video-container {
    width: 100%;
    max-width: 939px;
    height: 250px;
    margin: 25px 0
}

@media (min-width:1024px) {
    .video-container {
        height: 418px
    }
}

.social {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 20px 0
}

@media (min-width:1024px) {
    .social {
        flex-direction: row;
        justify-content: space-around;
        margin: 100px 0
    }
}

.social a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 30px;
    width: 300px;
    height: 300px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .05);
    background-color: #0054a6;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 5px;
    margin-bottom: 20px;
    position: relative;
    transition: ease all .3s
}

@media (min-width:1024px) {
    .social a {
        padding: 60px;
        padding-top: 70px;
        margin: 0
    }
}

.social a:last-child {
    margin-bottom: 0
}

.social a:hover {
    transform: scale(1.05)
}

.social a:hover:after {
    transform: rotate(5deg)
}

.social a p {
    text-align: center;
    overflow: hidden;
    max-height: 100%;
    color: #fff;
    padding-top: 15px
}

.social a:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    width: 50px;
    height: 50px;
    top: 25px;
    left: calc(50% - 25px);
    background-size: 40px;
    background-position: center;
    background-repeat: no-repeat;
    transition: ease all .3s
}

.social a:first-child:after {
    background-image: url(/images/icons/twitter-white.png)
}

.social a:last-child:after,
.social a:nth-child(2):after {
    background-image: url(/images/icons/instagram-white.png)
}

.footer-new form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px
}

@media (min-width:1024px) {
    .footer-new form {
        margin-top: 100px;
        margin-bottom: 100px
    }
}

.footer-new form input,
.footer-new form textarea {
    padding: 20px;
    resize: none;
    transition: ease all .3s;
    font-size: 1.5em;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .05);
    border: solid 1px #eee;
    outline: 0;
    width: 100%;
    background-color: #eee
}

.footer-new form input::placeholder,
.footer-new form textarea::placeholder {
    font-size: 1em;
    opacity: .75;
    transition: ease all .3s
}

.footer-new form input:hover::placeholder,
.footer-new form textarea:hover::placeholder {
    opacity: 0
}

.footer-new form button {
    border: none;
    border-radius: 5px
}

.footer-new form button input {
    cursor: pointer;
    font-size: 1.5em;
    background-color: #0054a6;
    color: #fff;
    border-radius: 5px
}

.footer-new form button input:hover {
    background-color: #003a73
}

.footer-new form span {
    margin-bottom: 20px
}

.footer-new form span p {
    margin-bottom: 10px
}

.footer-new form span:last-child {
    text-align: right
}

.physiolates-banner-container {
    background-color: #00407c;
    margin-bottom: 20px;
    transition: ease all .3s;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex
}

@media (min-width:1024px) {
    .physiolates-banner-container {
        background: #00407c url(http://www.physio.co.uk/images/physiolates-additions/physiolates-background.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover
    }
}

.physiolates-banner-container:hover {
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .05)
}

.banner-physiolates {
    font-family: Exo, sans-serif;
    color: #fff;
    box-sizing: border-box;
    padding: 30px 20px 30px 20px
}

.banner-physiolates-info {
    float: left;
    width: 34%;
    margin: 0 5% 0 0
}

.banner-physiolates-info:hover {
    cursor: pointer
}

.banner-physiolates-classes {
    background: url(http://www.physio.co.uk/images/physiolates-additions/classes-box-off.jpg) no-repeat;
    float: left;
    width: 28%;
    margin: 0 5% 0 0;
    display: table;
    border-radius: 5px;
    transition: ease all .3s
}

.banner-physiolates-classes:hover {
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .05)
}

.banner-physiolates-classes:hover {
    background: url(http://www.physio.co.uk/images/physiolates-additions/classes-box-on.jpg) no-repeat;
    cursor: pointer
}

.banner-physiolates-solo {
    background: url(http://www.physio.co.uk/images/physiolates-additions/121-box-off.jpg) no-repeat;
    float: left;
    width: 28%;
    margin: 0;
    border-radius: 5px;
    transition: ease all .3s
}

.banner-physiolates-solo:hover {
    background: url(http://www.physio.co.uk/images/physiolates-additions/121-box-on.jpg) no-repeat;
    cursor: pointer;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .05)
}

img.banner-physiolates-logo {
    float: left;
    margin: 0 20px 20px 0
}

.banner-physiolates-info-subheader {
    font-family: 'Source Sans Pro', sans-serif;
    color: #659bcd;
    font-size: 1.43em
}

.banner-physiolates h2 {
    display: inline-block;
    color: #fff;
    font-family: Exo, sans-serif;
    font-size: 3em;
    font-weight: 700;
    margin: 0 0 20px 0
}

.banner-physiolates p {
    color: #fff;
    font-size: 1.43em;
    line-height: 1.43em;
    margin: 0 0 10px 0
}

.banner-physiolates-classes-box {
    box-sizing: border-box;
    padding: 30px 20px 30px 20px;
    display: table-cell;
    vertical-align: bottom;
    width: 240px;
    height: 240px;
    border-radius: 5px;
    transition: ease all .3s
}

.banner-physiolates-classes-box:hover {
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .05)
}

.banner-physiolates-classes-box span {
    font-size: .95em;
    line-height: 1.13em;
    font-weight: 200;
    margin: -20px 0 0 0
}

.physiolates-banner-content {
    width: 100%;
    border: 0
}

.physiolates-banner-sidebar {
    width: 100%;
    border: 0
}

@media only screen and (max-width:88em) {
    .banner-physiolates-info {
        width: 65%
    }
    .banner-physiolates-classes {
        width: 30%;
        margin: 0
    }
    .banner-physiolates-solo {
        display: none
    }
}

@media only screen and (max-width:52em) {
    .banner-physiolates-info {
        width: 100%;
        margin: 0 0 30px 0
    }
    .banner-physiolates-classes {
        width: 46%;
        margin: 0 7% 0 0
    }
    .banner-physiolates-solo {
        display: block;
        width: 46%
    }
}

@media only screen and (max-width:42em) {
    .banner-physiolates {
        background: #00407c url(http://www.physio.co.uk/images/physiolates-additions/physiolates-mobile-background.png)
    }
    .banner-physiolates h2 {
        font-size: 2.3em;
        margin: 0 0 20px 0
    }
    .banner-physiolates p {
        font-size: 1.23em;
        line-height: 1.33em
    }
    .banner-physiolates-classes-box span {
        font-size: .7em;
        line-height: .9em
    }
    img.banner-physiolates-logo {
        width: 40px;
        margin: 0 20px 20px 0
    }
}

@media only screen and (max-width:32em) {
    .banner-physiolates h2 {
        font-size: 2.23em;
        margin: 0 0 20px 0
    }
    .banner-physiolates p {
        font-size: 1.13em;
        line-height: 1.23em
    }
    .banner-physiolates-classes-box span {
        font-size: .7em;
        line-height: .9em
    }
    img.banner-physiolates-logo {
        width: 40px;
        margin: 0 10px 10px 0
    }
    .banner-physiolates-classes-box {
        padding: 30px 20px 20px 20px;
        height: 200px
    }
}

.banner-massage {
    background: #0c55a5;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-radius: 5px
}

@media (min-width:1024px) {
    .banner-massage {
        padding: 40px
    }
}

.banner-massage .massage-content {
    width: 35%
}

.banner-massage h2 {
    color: #fff;
    font-weight: 700;
    font-size: 32px
}

.banner-massage h3 {
    color: #fff
}

.banner-massage p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px
}

.banner-massage .btn {
    background: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    color: #0c55a5;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 700;
    transition: .2s ease-in-out
}

.banner-massage .btn:hover {
    background: #eee
}

.banner-massage .massage-blocks {
    display: flex;
    justify-content: center;
    width: 60%
}

.banner-massage .massage-blocks .block {
    margin: 0 5%;
    width: 50%
}

.banner-massage .massage-blocks a {
    text-decoration: none
}

.banner-massage .massage-blocks .block-image {
    height: 150px;
    background-size: cover;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    margin-bottom: 10px
}

@media (max-width:450px) {
    .banner-massage {
        flex-direction: column
    }
    .banner-massage .massage-blocks,
    .banner-massage .massage-content {
        width: 100%;
        margin-bottom: 20px
    }
    .banner-massage .massage-blocks {
        flex-direction: column
    }
    .banner-massage .massage-blocks .block {
        width: 100%;
        margin-bottom: 20px
    }
}

.massage-content {
    padding-top: 10px
}

.massage-content img {
    margin-bottom: 20px
}

.block-content a {
    text-align: center
}

.block-content a h3 {
    font-size: 1em
}

@media (min-width:1024px) {
    .massage-blocks {
        margin-top: 85px
    }
}

.banner-massage .btn {
    font-size: 1.5em
}

.book-block-iframe {
    margin-top: 35px;
    width: 100vw;
    max-width: 100%
}

@media (min-width:1024px) {
    .book-block-iframe {
        margin-top: 100px
    }
}

.book-header-banner-iframe {
    width: 100vw;
    max-width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    margin: 0
}



@media screen and (max-width: 600px) {
    nav a:not(:first-child) {display: none;}
    nav a.icon {
      float: right;
      margin-top: -1px;
      display: block!important;
    }
  }
  
  @media screen and (max-width: 600px) {
    nav.responsive {position: relative;}
    nav.responsive a.icon {
      position: absolute;
      right: 20px ;
      top: 20px;
    }
    nav.responsive a {
      float: none;
      display: block;
      text-align: left;
   
    }
  }
  

  @media screen and (max-width: 600px) {
    nav {
        width: auto;
        display:block;
        height:auto;
        position: relative;
        padding: 20px;
    }

    

    nav a:first-child {
        margin: 15px 10px;
    }

    nav a:after {
        display: none;
        
    }

    nav a:hover {
        text-decoration: underline;
    }
  }