html,
body {
    width: 100%;
    height: 100%;
    background-color: white;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: fixed;
}

* {
    padding: 0;
    margin: 0;
    border: 0;
}

body {
    height: 100%;
    width: 100%;
    padding: 0;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #565656;
    overflow: hidden;
    position: fixed;
}

.modal body {
    /*overflow: hidden !important;*/
    /*position: fixed;*/
}

.important-message {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    transform: scale(1,1);
    opacity: 1;
    transition: opacity .25s ease-out, transform .4s ease-out
}

.important-message.message-on {
    color: white;
    opacity: 1;
    transform: scale(1,1);
    background: rgba(0, 0, 0, 0.9);
    display: block !important;
}

.important-message.message-off {
    opacity: 0;
    transform: scale(0,0);
    background: rgba(0, 0, 0, 0);
}

.important-message-text {
    position: absolute;
    top: 73%;
    min-height: 27%;
    background: white;
    color: #12100f;
    font-size: 2.1vh;
    font-weight: bolder;
    text-align: center;
}

.important-message-text p {
    padding-top: 1.5%;
}

.important-message a.close{
    position: absolute;
    top: -3vh;
    right: 0;
    color: white;
    font-weight: bold;
    font-size: 1.5vh;
    display: block;
}


.important-message a:hover {
    color: #ff1552;
}

#main-container {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: transform 0.3s ease-out;
    -moz-transition: transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}

.modal #main-container {
    overflow: hidden !important;
    position: fixed;
}

#main-container.menu-on {
    -webkit-transform: translate3d(300px, 0, 0);
    -moz-transform: translate3d(300px, 0, 0);
    -ms-transform: translate3d(300px, 0, 0);
    -o-transform: translate3d(300px, 0, 0);
    transform: translate3d(300px, 0, 0);
}

#ipad-container {
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
    background-color: #FFF;
    position: relative;
}

#modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    padding-left: 16px;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    pointer-events: none;
}

#modal-container h2 {
    margin-bottom: 8px;
    font-weight: normal;
}

#modal-container a {
    color: orange;
    text-decoration: underline;
}

#modal-container a:hover {
    color: #ffef34;
}

/*.pages ul li > div {*/
/*position: relative;*/
/*overflow: hidden;*/
/*}*/

.modal-aspect {
    position: fixed;
    margin: auto;
    width: 90%;
    max-width: 910px;
    max-height: 95%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    -moz-transform: translate3d(-50%, -50%, 0);
    -ms-transform: translate3d(-50%, -50%, 0);
    -o-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
}

.modal-aspect:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 75%;
}

#modal-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#modal-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-color: rgba(15, 22, 35, 0.9);
}

#modal-content-container {
    position: absolute;
    z-index: 2;
}

.modal #modal-container {
    opacity: 1;
    pointer-events: auto;
    padding-left: 0;
    position: fixed;
}

#modal-content {
    font-size: 14px;
    color: white;
    background-color: rgba(15, 22, 35, 0.9);
}

#modal-content header {
    padding: 0;
}

.modal__logo {
    width: 50px;
    height: 50px;
    background: no-repeat url(../images/saltslogo-dark.png);
    background-size: 100%;
    position: fixed;
    bottom: 10px;
    right: 30px;
    z-index: 11;
}

#modal-content h1 {
    text-transform: uppercase;
    font-size: 20px;
    margin: 0 0 0 5%;
    padding: 0;
    line-height: 74px;
}

#modal-container .close {
    color: white;
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 80px;
    text-align: center;
    /*border-radius: 50%;*/
    background-color: transparent;
    font-size: 18px;
    padding: 0;
    line-height: 44px;
    z-index: 100;
    /*outline: none;*/
    cursor: pointer;
    /*text-shadow: 1px 1px 10px white;*/
}

#modal-content .close:hover {
    background-color: red;
    color: white;
}

#modal-content .heading-img {
    height: 190px;
    width: 100%;
    background: no-repeat url(../images/pano.jpg) center;
    background-size: 100% auto;
    position: absolute;
    left: 0;
    top: 74px;
}

#modal-content > section {
    margin: 215px 20% 15px 5%;
}

#modal-content p {
    margin-bottom: 1em;
}

#modal-content .fade-bottom {
    position: fixed;
    bottom: 1px;
    left: 1px;
    right: 1px;
    height: 60px;
    z-index: 10;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+84,1+100 */
    /*background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 84%, rgba(255, 255, 255, 1) 100%); !* FF3.6-15 *!*/
    /*background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 84%, rgba(255, 255, 255, 1) 100%); !* Chrome10-25,Safari5.1-6 *!*/
    /*background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 84%, rgba(255, 255, 255, 1) 100%); !* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ *!*/
    /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0); !* IE6-9 *!*/

}

.no-show {
    display: none;
}

#modal-content .page-content2 {
    color: white;
    height: 100%;
    overflow: auto;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    /*background: #212224;*/
}

#modal-content .page-content2 a {
    color: floralwhite;
}

#modal-content .page-content2 > div {
    height: 100%;
}

#modal-content .page-content2 h1 {
    margin: 0;
    padding: 0 30px;
    text-transform: uppercase;
    font-size: 25px;
    height: 80px;
    line-height: 80px;
}

#modal-content .page-content2 .section-img {
    height: 41%;
    background: no-repeat url(../images/gallery2-pano.jpg) center;
    background-size: auto 100%;
}

#modal-content .page-content2 section {
    padding: 20px 0 0 30px;
    width: 70%;
}

.image-content {
    color: white;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.5+0,0+100 */
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); /* IE6-9 */
    height: 100%;
}

.txt-gradient {
    color: white;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.5+0,0+100 */
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); /* IE6-9 */
    height: 100%;
}

.image-content h1 {
    margin: 0 !important;
}

.image-content header {
    padding: 20px 0 0 40px !important;
}

.image-content section {
    width: 50%;
    padding-left: 40px;
    position: absolute;
    bottom: 15px;
    font-size: 12px;
}

nav {
    position: fixed;
    width: 300px;
    top: 0;
    -webkit-transform: translate3d(-50%, 0, 0);
    -moz-transform: translate3d(-50%, 0, 0);
    -ms-transform: translate3d(-50%, 0, 0);
    -o-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    height: 100%;
    overflow-y: auto;
    -webkit-transition: transform 0.3s ease-out;
    -moz-transition: transform 0.3s ease-out;
    -ms-transition: transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    /*background-color: #f5f5f5;*/
}

nav.menu-on {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

.new-shop-notification {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #bd000d;
    color: white;
    /*font-family: Monaco, "Courier New", Courier, monospace;*/
    display: block;
    line-height: 100%;
    padding: 4px 7px;
    font-size: 14px;
    margin: 0;
}

#ipad-container header {
    height: 52px;
    background: no-repeat url(../images/logo.png);
    -webkit-background-size: 66px auto;
    -moz-background-size: 66px auto;
    -ms-background-size: 66px auto;
    -o-background-size: 66px auto;
    background-size: 66px auto;
    background-color: white;
    background-position-y: -3px;
    background-position-x: calc(100% - 4px);
}

footer {
    padding: 14px 14px 24px 14px;
    font-size: 14px;
}

.social {
    text-align: right;
    display: block;
    position: absolute;
    bottom: 14px;
    right: 14px;
}

.social a {
    border: 0px !important;
    background: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
}

.social i {
    font-size: 14px;
    margin-left: 7px;
    cursor: pointer;
    padding: 5px;
    width: 16px;
    border-radius: 500px;
    color: #fff;
}

.twitter {
    background-color: #479DEE;
}

.facebook {
    background-color: #455990;
}

.social i:hover {
    background: #ec008c;
}

h1 {
    font-size: 14px;
    margin: 0;
    padding-left: 55px;
    line-height: 52px;
    font-weight: normal;
    position: relative;
}

.menu {
    background: url("../images/menu.png") no-repeat center;
    -webkit-background-size: 50%;
    -moz-background-size: 50%;
    -ms-background-size: 50%;
    -o-background-size: 50%;
    background-size: 50%;
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    z-index: 100;
    color: transparent;
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    -ms-transition: opacity 0.3s linear;
    -o-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
    cursor: pointer;
    /*outline: none;*/
}

.pano {
    height: 215px;
    /*height: 45vh;*/
    background: no-repeat url(../images/pano.jpg) left top;
    -webkit-background-size: auto 100%;
    -moz-background-size: auto 100%;
    -ms-background-size: auto 100%;
    -o-background-size: auto 100%;
    background-size: auto 100%;
    background-position: 41%;
    /*-webkit-animation: pano 20s 1 linear 2s;*/
    /*-moz-animation: pano 20s 1 linear 2s;*/
    /*-ms-animation: pano 20s 1 linear 2s;*/
    /*-o-animation: pano 20s 1 linear 2s;*/
    /*animation: pano 20s 1 linear 2s;*/
    /*background: rgba(255,0,0,0.3);*/
}

main {
    clear: both;
    overflow: hidden;
}

.pages {
    padding: 5px 15px 5px 15px;
    background-color: white;
}

.pages h2 {
    font-weight: normal;
    font-size: 14px;
    height: 42px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}

.pages ul {
    margin: 0;
    padding: 0;
}

.pages ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 24%;
    margin-right: 1.3%;
    margin-bottom: 10px;
    margin-bottom: 1.3vw;
    float: left;
    font-size: 14px;
    line-height: 30px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a {
    color: #aa6d00;
    text-decoration: none;
}

a:hover {
    color: orange;
    text-decoration: underline;

}


nav a {
    color: black;
}

nav li a:hover {
    color: black;
    text-decoration: none;
}

nav li {
    padding: 15px 20px 12px 10px;
    text-transform: uppercase;
    font-size: 0.7em;
    list-style: none;
    text-align: right;
    /*border-bottom: 1px solid #CCC;*/
}

nav li:nth-child(2n+1) {
    background-color: #fbfbfb;
}

nav li:hover {
    background-color: #e6f3fd;
}

#shop-banner {
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    height: 40vh;
    width: 99.9%;
    margin-bottom: 1.3vw;
}

#shop-banner h2 {
    position: absolute;
    top: 80%;
    margin: 0;
    text-transform: uppercase;
    height: 42px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#shop-banner .image {
    height: 80%;
    overflow: hidden;
    position: relative;
}

#shop-banner .image > h2 {
    position: absolute;
    top: 10px;
    font-size: 3vh;
    color: #fff;
    left: 15px;
    z-index: 3;
    margin: 0;
    opacity: 1;
    -webkit-transition: opacity .3s ease-out, opacity 1s ease-out;
    transition: opacity .3s ease-out, text-shadow 1s ease-out;
    text-shadow: 0 0 5px #2B0000;
}

.image-gradient {
    background: rgba(0,0,0,0.4);
    opacity: 0;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
}

#shop-banner a {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

.shop-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    /*background-image: url(../images/1853.jpg);*/
    /*height: 100%;*/
    background-image: url(../images/ann-hamilton-wide.jpg);
    background-position: center;
    /*background-position: left;*/
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: transform .5s ease-out;
    transition: transform .5s ease-out;
    transform: scale3d(1,1,1);
    white-space: nowrap;
}

.shop-image img {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin-right: 1.3%;
    height: 100%;
}

#shop-banner a:hover .shop-image {
    transform: scale3d(1.1,1.1,1);
}

#shop-banner a:hover .image > h2 {
    opacity: 1 !important;
    text-shadow: 0 0 0 #2B0000;
}

#shop-banner a:hover .image-gradient {
    opacity: 1 !important;
}

.pages ul li a {
    display: block;
}

.pages ul li a:hover {
    color: #aa6d00;
}

.pages ul li a > div {
    position: relative;
    overflow: hidden;
    display: block;
}

.pages ul li a > div {
    position: relative;
    overflow: hidden;
    display: block;
    color: black;
    text-decoration: none;
}

.pages ul li a > div:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 65%;
}

.pages ul li a > div > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    -webkit-transition: transform .3s ease-out;
    transition: transform .3s ease-out;
    transform: scale3d(1,1,1);
}

.pages ul li a > div > img:hover{
    transform: scale3d(1.2,1.2,1);
}

.pages ul li:nth-child(4n) {
    margin-right: 0;
}

.pages ul li > div {

}

.pages ul li > div img {
    width: 100%;
}

@-webkit-keyframes pano {
    0% {
        background-position: 41%;
    }
    25% {
        background-position: 100%;
    }
    75% {
        background-position: 0;
    }
    100% {
        background-position: 41%;
    }
}

@keyframes pano {
    0% {
        background-position: 41%;
    }
    25% {
        background-position: 100%;
    }
    75% {
        background-position: 0;
    }
    100% {
        background-position: 41%;
    }
}

@media screen
and (min-device-width: 1025px) {

    .open #ipad-container {
        /*padding-right: 15px;*/
    }

}

@media screen
and (max-width: 1024px) {

    .modal-aspect {
        position: fixed;
        margin: auto;
        width: 88%;
        max-width: 861px;
        max-height: 95%;
    }

    #modal-content .heading-img {
        height: 105px;
    }

    #modal-content > section {
        margin: 118px 20% 15px 5%;
        font-size: 9px;
    }

    #modal-content .page-content2 {

    }

    #modal-content .page-content2 h1 {
        font-size: 22px;
    }

    #modal-content .page-content2 .section-img {
        height: 43%;
    }

    #modal-content .page-content2 section {
        /*font-size: 10px;*/
    }

    .image-content section {
        top: 216px;
        font-size: 11px;
    }

    .pages ul li {
        font-size: 11px;
    }

    .pages ul li h2 {
        margin: 0;
        font-weight: normal;
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pages ul li a {
        display: block;
        text-overflow: ellipsis;
        width: 100%;
    }

}

@media screen
and (max-width: 1024px)
and (orientation: portrait) {
    .modal-aspect {
        width: 99%;
    }

    #modal-content .page-content2 section {
        /*font-size: 12px;*/
    }

    #shop-banner {
        height: 20vh;
    }
}

@media screen and (min-width: 800px) {
    .pano {
        background: no-repeat url(../images/pano.jpg) left top;
        background-size: auto 100%;
        height: 256px;
        background-color: black;
    }

    #shop-banner {
        height: 20vh;
    }
}

@media screen and (min-width: 1025px) {
    .pano {
        background-size: auto 100%;
        height: 356px;
        height: 45vh;
        min-height: 356px;
        background-position: center;
        background-color: black;
    }

    #shop-banner {
        height: 30vh;
    }
}

@media all
and(min-device-width: 1000px)
and(max-device-width: 3000px) {
    .pano {
        background-image: url(../images/salts_mill_new-pano.jpg) !important;
    }
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {

    .pano {
        /*background-position: -235px;*/
    }
}
