* {
    box-sizing: border-box;
    min-height: 0;
    min-width: 0;
}

html, body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    color: #979797;
}

p {
    line-height: 1.6rem;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

a, .blue {
    color: #254F9E;
}

.yellow {
    color: #F8E71C;
}

.grey {
    color: #8BA2C7;
}

#strap {
    background-color: #979797;
    color: white;
    text-align: right;
    font-size: 0.9rem;
    height: 2.25rem;
    z-index: 8;
}

#strap span {
    display: inline-block;
    margin-left: 2.5rem;
}

#strap a {
    text-decoration: none;
    color: #fff;
}

#strap span.icon a {
    position: relative;
    z-index: 9;
}

#strap span.icon img {
    height: 1rem;
    margin-bottom: -2px;
}

.container {
    width: 80%;
    max-width: 1220px;
    margin: 0 auto;
    position: relative;
}

.message {
    text-align: center;
    background-color: rgb(37, 79, 158);
    color: rgb(248, 231, 28);
    padding: 1rem 0;
}

main {
    padding: 1rem 0 2.5rem 0;
}

main.shop {
    background-color: #f5f5f5;
}

#gallery {
    overflow-x: hidden;
}

.slick-next::before, .slick-prev::before {
    color: #000;
}

.tab-content {
    display: none;    
}

.tab-content.active {
    display: block;
}

.responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    min-height: 40vh;
}

.responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    #strap {
        display: none;
    }
}

aside img {
    margin-top: 2rem;
    max-width: 100%;
}

aside .services {
    text-align: center;
}

aside .service {
    min-width: 100px;
    min-height: 100px;
    width: 33%;
    padding-bottom: 33%;
    margin: 1rem 1rem 0 1rem;
    border-radius: 100%;
    position: relative;
    background-color: pink;
    display: inline-block;
}

aside .service span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    display: block;
}

#locations-modal {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}

#locations-modal .mfp-close-btn-in .mfp-close {
    top: 0;
}
#top {
    border-bottom: rgb(37, 79, 158) 2px solid;
    position: sticky;
    top: 0;
    z-index: 7;
    background-color: #fff;
}

#top .container {
    display: flex;
    align-items: flex-end;
    margin: -1rem auto -1.5rem auto;
}

#top .logo {
    position: relative;
    display: block;
    z-index: 2;
    width: 30%;
    min-width: 100px;
    max-width: 260px;
    position: absolute;
    top: -25px;
}

#top .logo svg {
    width: 100%;
}

#top nav {
    padding: 2.5rem 0;
    margin-left: auto;
}

#top:after {
    content: '';
    clear: both;
    display: block;
}

#mobile-nav {
    display: none;
}

nav {
    text-align: right;
}

nav a {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: rgb(110, 155, 238);
    font-size: 2rem;
    margin-left: 1rem;
}

nav a:hover, nav a.active {
    color: rgb(41, 82, 180);
}

nav a.button {
    display: inline-block;
    width: auto;
    position: relative;
    top: -4px;
    border-radius: 3px;
}

@media (max-width: 768px) {
    #top {
        background-color: #fff;
        height: 73px;
    }
    #top:after {
        content: '';
        clear: both;
        display: block;
    }
    #top .container {
        height: 73px;
        width: 95%;
    }
    #top .logo {
        margin: 0;
        top: 0;
        transform: translateY(-26%);
        min-width: 175px;
    }
    #mobile-nav {
        display: block;
        font-size: 2rem;
        position: absolute;
        top: 50%;
        right: 0;
        z-index: 10;
        transform: translateY(-50%);
    }
    #mobile-nav img.icon {
        height: 1.5rem;
        margin: 0 0.75rem;
    }
    #mobile-nav .menu-toggle {
        margin-left: 0.25rem;
    }
    #mobile-nav a {
        text-decoration: none;
        color: rgb(75, 75, 75);
    }
    #mobile-nav .menu-toggle.active {
        color: #fff;
    }
    #top nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        transform: translateX(250px);
        transition: all 0.3s ease-out;
        z-index: 9;
        background-color: rgb(75, 75, 75);
        bottom: 0;
        padding: 5rem 2.5rem;
        
    }
    #top nav.active {
        transform: translateX(0);
    }
    nav a {
        display: block;
        margin-top: 0.5rem;
    }
}

form {
    padding: 1.5rem;
}

form#eye-test {
    padding: 0;
}

input, textarea, select {
    display: block;
    width: 100%;
    padding: 1rem;
    border: none;
    margin-bottom: 0.75rem;
}

input[type="radio"] {
    display: inline;
    width: auto;
}

input[name="email"] {
    display: none;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1rem;
}

a.button, button[type="submit"] {
    border: none;
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    color: rgb(37, 79, 158);
    background-color: rgb(248, 231, 28);
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

.button.appointment {
    padding: 1.5rem 2.5rem;
    display: inline-block;
    width: auto;
    transition: all 0.3s ease-out;
}

.button.appointment:hover {
    color: rgb(248, 231, 28);
    background-color: rgb(37, 79, 158);
}
.grid {
    display: flex;
}

.grid .column {
    flex: 1;
    margin-right: 2.5rem;
    position: relative;
}

.grid.no-margin .column {
    margin-right: 0;
}

.grid .column.no-margin {
    margin-right: 0;
}

.grid .column.one-half {
    flex: 0 1 50%;
}

.grid .column.one-third {
    flex: 0 1 33.3%;
}

.grid .column.two-thirds {
    flex: 0 1 66.6%;
}

.grid .column.three-fifths {
    flex: 0 1 60%;
}

.grid .column.one-quarter {
    flex: 0 1 25%;
}

.grid .column.three-quarters {
    flex: 0 1 75%;
}

.grid .column.one-fifth {
    flex: 0 1 20%;
}

.grid .column.one-tenth {
    flex: 0 1 10%;
}

.grid .column:last-child {
    margin-right: 0;
}

.grid + .grid {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .grid {
        display: block;
    }
    .grid .column {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    .grid .column.one-third, .grid .column.one-quarter, .grid .column.two-thirds, .grid .column.three-quarters, .grid .column.three-fifths {
        flex: 0 0 auto;
    }
    .grid .column:last-child {
        margin-bottom: 0;
    }
    .grid + .grid {
        margin-top: 0;
    }
}
#buy-now {
    background-color: rgb(37, 79, 158);
    color: rgb(124, 176, 252);
    padding: 1.5rem 0 1.6rem 0;
    text-align: center;
}

#buy-now a {
    display: block;
    width: 100%;
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: rgb(248, 231, 28);
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    z-index: 1;
    padding: 1rem 0;
    transition: all 0.3s ease-out;
}

#buy-now a:before, #buy-now a:after {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 7px;
    top: 0;
    left: 0;
    transition: all 0.3s ease-out;
    background-color: rgba(248, 231, 28, 0);
}

#buy-now a:before {
    top: 1px;
    border: rgb(113, 163, 255) 2px solid;
    border-radius: 8px;
}

#buy-now a:after {
    border: rgb(16, 44, 97) 2px solid;
}

#buy-now a:hover {
    color: rgb(16, 44, 97);
    z-index: 2;
}

#buy-now a:hover:before {
    border-top-left-radius: 8px;
    background-color: rgba(248, 231, 28, 1);
    z-index: -1;
}

#buy-now p {
    margin: 0;
}

#buy-now .grid {
    align-items: center;
}

#contact {
    background-color: rgb(217, 217, 217);
    padding: 2.5rem 0 5rem 0;
}

#contact h2 {
    font-size: 3rem;
    color: rgb(37, 79, 158);
    text-align: center;
    margin: 0;
    padding: 1rem 0;
}

#contact .column {
    display: flex;
    flex-direction: column;
}

#contact .panel {
    background-color: rgb(199, 199, 199);
    flex: 1;
}

#contact .panel i {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 7.5rem;
    margin: 0 auto;
    padding: 1rem 0 1.5rem 0;
    width: 7.5rem;
}

#contact .panel .grid {
    align-items: center;
}

#contact .panel .grid .column i {
    font-size: 4rem;
    width: auto;
    display: inline-block;
    padding: 0 1rem;
    margin: 0;
}

#contact .social .panel {
    padding-bottom: 1rem;
}

#contact .social .grid {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

#contact .social .grid:first-of-type {
    margin-top: 3rem;
    margin-bottom: 0.3rem;
}

#contact .social .grid:last-of-type {
    margin-top: 0.75rem;
}

#contact .social .button {
    max-width: 95%;
}

#contact .embed {
    margin-right: 1.5rem;
    padding: 0.5rem;
    background-color: #fff;
    position: relative;
}

#contact #twitter.embed {
    border-radius: 5px;
    padding: 2rem 1rem;
}

#contact #twitter.embed ul, #contact #twitter.embed ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#contact #twitter.embed p {
    margin: 0;
    color: #000;
}

#contact #twitter.embed:after {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    height: 100%;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#contact #twitter.embed:before {
    display: block;
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 2rem 2rem;
    border-color: transparent transparent white transparent;
    top: 2rem;
    left: -2rem;
}

#contact img {
    max-width: 100px;
    margin: 1.5rem auto;
    display: block;
}

#contact .no-margin img {
    height: 3rem;
    margin: 0;
}

@media (max-width: 768px) {
    #contact h2 {
        display: none;
    }
    #contact .embed {
        margin-bottom: 1.5rem;
    }
    #contact .social .grid .one-quarter.column {
        display: none;
    }
    #contact .social .grid .column:last-child {
        margin-left: 1.5rem;
    }
    #contact .social #twitter:before {
        display: none;
    }
}

#locations {
    background-color: rgba(37, 79, 158, 0.5);
    background: url('/storage/app/media/blue.jpg') center center;
    background-size: cover;
    padding: 2.5rem 0;
}

#locations .icon {
    position: absolute;
    font-size: 7.5rem;
    left: 23%;
    top: 1.5rem;
    transform: translateX(-50%);
    width: 4rem;
    border-radius: 0;
}

#locations .fa-location-arrow {
    position: absolute;
    font-size: 7.5rem;
    left: 23%;
    top: -1rem;
    transform: translateX(-50%) rotate(180deg);
}

@media (max-width: 768px) {
    #locations .grid .column {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    #locations .fa-location-arrow, #locations .icon {
        left: 47.5%;
        font-size: 5rem;
        display: none;
    }
    #locations .icon {
        width: 2.5rem;
    }
}

#locations .container {
    padding: 1.75rem;
    margin: 2.5rem auto;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(225, 225, 225);
}

#locations .grid {
    align-items: flex-start;
    position: relative;
}

#locations img {
    border-radius: 100%;
    width: 75%;
}

#locations .location {
    opacity: 0.75;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

#locations .container div:first-of-type .location {
    margin-bottom: 2.5rem;
}

#locations .location.active, #locations .location:hover {
    opacity: 1;
}

#locations .location.active strong {
    text-decoration: underline;
}

#locations a {
    text-decoration: none;
    color: rgb(225, 225, 225);
}

#locations .column p:last-child {
    margin-bottom: 0;
}

#map {
    height: 50vh;
}

#map .responsive-container {
    min-height: 100%;
    padding-bottom: 0;
}

#map .map {
    display: none;
    height: 50vh;
}

#map .map.active {
    display: block;
}

footer {
    background-color: rgb(60, 60, 60);
    background: repeating-linear-gradient(
        45deg,
        rgb(60, 60, 60),
        rgb(60, 60, 60) 2px,
        rgb(55, 55, 55) 3px,
        rgb(55, 55, 55) 5px
    );
    color: rgb(158, 158, 158);
    line-height: 2rem;
    padding: 2.5rem;
}

footer a, footer strong {
    text-decoration: none;
    color: rgb(198, 198, 198);
    transition: all 0.3s ease-out;
}

footer span.site, footer span.site a {
    color: rgb(92, 92, 92);
}

footer a:hover, footer span.site a:hover {
    color: #fff;
}

footer .nav a {
    display: block;
}

footer .social {
    text-align: right;
}

footer .social img {
    margin-left: 2rem;
    width: 2rem;
    height: 2rem;
}

footer .social img:first-of-type {
    margin-left: 0;
}

footer h4 {
    font-size: 2rem;
    margin-top: 1rem;
}

footer .social h4 {
    margin-bottom: 1.5rem;
}

footer .social i {
    font-size: 3rem;
}

@media (max-width: 768px) {
    #locations .container .location-grid, #contact .panel .grid {
        display: flex;
    }
    footer, footer .social {
        text-align: center;
    }
}
#gallery .slider-for:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: rgb(37, 79, 158) transparent transparent transparent;
    position: absolute;
    bottom: -3px;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
}

#gallery .slider-for img {
    width: 100%;
    border-bottom: rgb(37, 79, 158) 2px solid;
    max-height: 60vh;
    object-fit: cover;
}

#gallery .slider-nav {
    margin-top: 1.5rem;
}

#gallery .slider-nav div {
    margin: 0 1rem 0 0.5rem;
}

.lenses {
    text-align: center;
}

.lenses a {
    color: #979797;
}

.lens {
    display: inline-block;
    vertical-align: middle;
    width: 20%;
    max-width: 175px;
    margin: 0.5rem;
}

.actions {
    max-width: 900px;
    margin: 0 auto;
}

.actions .action {
    display: block;
    border-radius: 100%;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: 2rem;
    line-height: 2.5rem;
    padding: 15% 0;
}

.actions .action a {
    text-decoration: none;
    color: #fff;
}

.actions .action-one {
    background-color: rgb(248, 231, 28);
    box-shadow: rgb(37, 79, 158) 0 2px 0;
}

.actions .action-one a {
    color: rgb(37, 79, 158);
}

.actions .action-two {
    background-color: rgb(37, 79, 158);
    box-shadow: rgb(248, 231, 28) 0 2px 0;
}

.actions .action-three {
    background-color: #979797;
    box-shadow: rgb(37, 79, 158) 0 2px 0;
}

@media (max-width: 768px) {
    .actions.grid {
        display: flex;
    }
    .actions.grid .column {
        width: 33.3%;
    }
    .actions .action {
        border-radius: 0;
        font-size: 1rem;
    }
    .actions .action {
        box-shadow: none;
    }
}
#shop {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#shop.grid .column {
    margin-right: 1rem;
}

#shop .categories {
    position: sticky;
    top: 130px;
    padding-bottom: 1rem;
    border-bottom: #ccc 1px solid;
}

#shop .categories h2 {
    margin-top: 0;
}

#shop .categories ul, #shop .categories ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#shop .categories a {
    display: block;
    border-bottom: #979797 1px solid;
    color: #979797;
    text-decoration: none;
    text-align: right;
    padding: 0.5rem 0.5rem 0.5rem 0;
    text-transform: uppercase;
}

#shop .categories ul li:first-of-type a {
    border-top: #979797 1px solid;
}

#shop .categories label {
    margin-bottom: 0;
}

#shop .categories input {
    width: auto;
    display: inline-block;
    position: relative;
    bottom: -2px;
}

#shop .categories a:hover {
    background-color: #979797;
    color: #fff;
}

#shop .categories a.active {
    background-color: rgb(75, 75, 75);
    color: #fff;
}

#shop .products {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(200px, 1fr) );
    grid-auto-rows: minmax(min-content, max-content);
    grid-gap: 1rem;
}

#shop .product {
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease-out;
    color: #979797;
    text-decoration: none;
}

#shop .product.hide {
    display: none;
}

#shop .product:hover {
    transform: scale(1.05);
}

#shop .product img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    max-width: 100%;
    transition: all 0.3s ease-out;
}

#product h2.more {
    text-align: center;
}

#product .productimages.underneath div.image-content {
    display: inline-block;
    text-align: center;
    min-height: 200px;
    padding: 0 1rem;
}
/*
#latest-products {
    margin: 4rem auto 0 auto;
    max-width: 960px;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

#latest-products .categories {
    position: absolute;
    left: 0px;
    margin: 0;
    width: 200px;
    transform: translateX(-200px);
    transition: all 0.3s ease-out;
    z-index: 6;
    background-color: #fff;
}

#latest-products .categories.active {
    transform: translateX(0);
}

#latest-products .categories #category-filter-toggle {
    cursor: pointer;
    position: absolute;
    right: -1.5rem;
    color: rgb(75, 75, 75);
    background-color: #fff;
    width: 1.5rem;
}

#latest-products .categories a {
    display: block;
    border-bottom: rgb(75, 75, 75) 1px solid;
    color: rgb(75, 75, 75);
    text-decoration: none;
    text-align: right;
    padding: 0.5rem 1.5rem 0.5rem 0;
    text-transform: uppercase;
}

#latest-products .categories a:first-of-type {
    border-top: rgb(75, 75, 75) 1px solid;
}

#latest-products .categories a.active {
    background-color: rgb(75, 75, 75);
    color: #fff;
}
*/

h2.latest-product {
    text-align: center;
    font-size: 3rem;
    color: rgb(37, 79, 158);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

#latest-products .products {
    cursor: pointer;
}

#latest-products p:first-of-type {
    margin-top: 0;
}

#latest-products a {
    text-align: center;
    color: inherit;
    text-decoration: none;
}

#latest-products .products {
    width: 100%;
    text-transform: uppercase;
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    color: rgb(37, 79, 158);
    /*color: rgb(248, 231, 28);
    text-shadow: rgb(37, 79, 158) 1px 1px 0;*/
}

#latest-products .product {
    display: none;
}

#latest-products .product.active {
    display: block;
}

#latest-products span {
    display: block;
}

#latest-products .name {
    color: inherit;
    color: #979797;
    font-size: 1.5rem;
    line-height: 2rem;
}

#latest-products .price {
    font-size: 1.5rem;
    line-height: 1.5rem;
}

#latest-products img {
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #latest-products {
        margin-top: 2.5rem;
    }
    #latest-products .products {
        margin-top: 0;
    }
    #latest-products, #latest-products .categories a, #shop .categories a {
        text-align: center;
    }
    #latest-products .products .price {
        position: relative;
        right: auto;
        margin: 0 auto;
    }
    #latest-products .products .name {
        position: relative;
        left: 0;
        transform: translateX(0);
    }
}