/************* COLORS ****************

Main Color (dark blue)  -------------- #154E60
Main Color Hover (bright blue) ------- #A9F1FF
Secondary Color (med blue)  ---------- #00B6C4
Secondary Color (light blue)  -------- #537E8A

*************************************/


/***********************************************************************************
*
*   ~ SLEEPINC. ~
*
* HEADER, HOMEPAGE, FOOTER STYLES
**********************************************************************************/


/*** GLOBAL ***********************************************************/

*:focus {
    outline: none;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

h1, h2, p, ul, body, html {
    margin: 0;
    padding: 0;
}

h1, h2, h2, h4, h5, h6, p, a, input {
	font-family: 'Muli', sans-serif;
}

.hidden {
	display: none;
}

.grid-container {
    margin: 0 auto;
    padding: 0 4vw;
    max-width: 1600px;
}

/*** END GLOBAL *******************************************************/

.LoginPageContainer {
    margin: 25vh auto 15vh;
    width: 255px;
}

/*** HEADER ***********************************************************/

header,
nav,
footer {
    max-width: 100%;
    position: relative;
    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
	background-color: rgba(21, 78, 96, .9);
}

header ul,
footer ul {
    list-style: none;
}

nav > ul > li {
    float: left;
    text-align: center;
}

header .nav-item {
    width: 18%;
}

header .logo {
    width: 28%;
    padding-top: 12px;
}

header a {
	-webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    -o-transition: color .25s ease-in-out;
    -ms-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
}

header .nav-item div {
    position: relative;
    display: inline-block;
}

header .nav-item:last-child div {
    position: unset;
}

header .nav-item div > a {
    display: inline-block;
    padding: 40px 15px;
}

header .nav-item a {
    font-size: 1.125em;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
}

header .nav-item a:hover {
	color: #A9F1FF;
}

header .nav-item ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -15px;
    min-width: 250px;
    min-width: max-content;
    background-color: rgba(21, 78, 96, .9);
    -webkit-transition: opacity .25s ease-in-out, visibility 0s .25s;
    -moz-transition: opacity .25s ease-in-out, visibility 0s .25s;
    -o-transition: opacity .25s ease-in-out, visibility 0s .25s;
    -ms-transition: opacity .25s ease-in-out, visibility 0s .25s;
    transition: opacity .25s ease-in-out, visibility 0s .25s;
}

header .nav-item:last-child ul {
    left: unset;
    right: 0;
}

header .nav-item li {
    display: block;
    text-align: left;
}

header .nav-item li a {
    display: block;
    padding: 12px 30px;
}

header .nav-item:first-child li a {
    padding-right: 5vw;
}

header .nav-item li:first-child a {
    padding-top: 25px;
}

header .nav-item li:last-child a {
    padding-bottom: 25px;
}

header .nav-item div:hover ul {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -o-transition: opacity .25s ease-in-out;
    -ms-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}

nav > .slideout-menu-toggle {
    display: none;
    color: #fff;
}

#slideout-menu {
    display: none;
    position: fixed;
    top: 5vw;
    width: 75%;
    max-width: 280px;
    min-height: 395px;
    max-height: calc(100vh - 30px);
    margin-right: 8vw;
    background-color: #fff;
    box-shadow: 0 0 0 150vw rgba(0, 0, 0, 0);
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: box-shadow .5s ease;
    -moz-transition: box-shadow .5s ease;
    -o-transition: box-shadow .5s ease;
    -ms-transition: box-shadow .5s ease;
    transition: box-shadow .5s ease;
}

#slideout-menu.open {
    box-shadow: 0 0 0 200vw rgba(0, 0, 0, .5);
}

#slideout-menu p,
#slideout-menu a {
    font-family: 'Montserrat', sans-serif;
}

#slideout-menu p {
    display: inline-block;
    position: relative;
    padding: 20px 25px;
    color: #444649;
    text-transform: uppercase;
}

#slideout-menu .slideout-menu-toggle {
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 10px;
    font-size: 1.5em;
    color: #154E60;
}

#slideout-menu .slideout-menu-toggle:hover {
    color: #A9F1FF;
}

#slideout-menu > ul {
    position: relative;
}

#slideout-menu ul {
    list-style: none;
}

#slideout-menu > ul > li {
    margin: 20px 0 10px;
}

#slideout-menu ul li a {
    position: relative;
    display: block;
    padding: 15px 25px;
    color: #444649;
    text-decoration: none;
    text-transform: uppercase;
}

#slideout-menu ul ul li a {
    padding-left: 45px;
}

#slideout-menu ul li a:hover {
    background-color: #eee;
    color: #2C2E30;
}

#slideout-menu ul li a i,
#slideout-menu ul li a .menu-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    line-height: 1.25;
    color: #537E8A;
}

#slideout-menu ul li a .menu-indicator {
    font-size: 1.25em;
    line-height: 1;
}

#slideout-menu .slide-in ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1;
}

#slideout-menu .slide-in ul li:first-child a {
    padding-left: 15px;
}

/*** END HEADER *******************************************************/

/*** HOMEPAGE GLOBAL **************************************************/

section {
    margin-bottom: 35px;
}

.home-title {
    text-align: center;
    margin: 35px;
}

.home-title h1 {
    display: inline-block;
    padding-top: 10px;
    font-size: 2.75em;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    color: #154E60;
}

span.no-wrap {
    white-space: nowrap;
}

.underline h1::after {
    content: "";
    display: block;
    margin-top: .4em;
    border-top: 4px solid #154E60;
}

.home-copy p {
    margin-bottom: 55px;
    font-size: 1.25em;
    line-height: 1.75;
    color: #222;
}

/*** END HOMEPAGE GLOBAL **********************************************/

/*** SLIDESHOW ********************************************************/

.hero-slideshow .owl-dots {
    position: absolute;
    right: 30px;
    bottom: 25px;
}

.hero-slideshow .owl-theme .owl-dots .owl-dot span {
    width: 15px;
    height: 15px;
    background: rgba(215, 215, 215, .75);
}

.hero-slideshow .owl-theme .owl-dots .owl-dot.active span,
.hero-slideshow .owl-theme .owl-dots .owl-dot:hover span {
    background: rgba(102, 179, 195, .75);
}

/*** END SLIDESHOW ****************************************************/

/*** MAIN COPY ********************************************************/

.video-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 52.5%;
    margin-bottom: 55px;
}

.video-container video {
    position: absolute;
    top: -3.5%;
    max-width: 100%;
}

.video-sound {
    position: absolute;
    top: 3.5%;
    right: 3.5%;
    opacity: 0;
    -webkit-transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -o-transition: opacity .25s ease-in-out;
    -ms-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}

.video-container:hover .video-sound {
    opacity: 1;
}

.play-pause {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -o-transition: opacity .25s ease-in-out;
    -ms-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}

.play-pause:hover {
    opacity: 1;
    cursor: pointer;
}

.play-pause i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: #fff;
    opacity: .75;
}

.video-sound a {
    display: block;
    padding: 15px;
    color: #154E60;
    opacity: .65;
    -webkit-transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -o-transition: opacity .25s ease-in-out;
    -ms-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}

.video-sound a:hover {
    opacity: 1;
}

#brand-copy img {
    margin-bottom: 55px;
}

#brand-copy h2 {
    font-size: 2em;
    font-size: 3.5vw;
    font-weight: 700;
    font-style: italic;
    line-height: 1.25;
    text-transform: uppercase;
    color: #00B6C4;
}

#brand-copy .text-right {
    margin: 55px 0 55px 55px;
    margin-top: 1vw;
}

#brand-copy .text-left {
    margin: 55px 55px 55px 0;
    margin-top: 6vw;
    text-align: right;
}

/*** END MAIN COPY ****************************************************/

/*** CRAFTMANSHIP *****************************************************/

#craftsmanship {
    padding-bottom: 35px;
    background-color: #537E8A;
}

#craftsmanship h1 {
    padding: 20px 0 15px;
    color: #fff;
}

#craftsmanship h2,
#craftsmanship p {
    text-align: center;
    color: #fff;
}

#craftsmanship h2 {
    padding: 20px 0;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

#craftsmanship p {
    font-size: 1.25em;
    padding: 0 10px;
    margin-bottom: 35px;
}

/*** END CRAFTMANSHIP *************************************************/

/*** FOOTER ***********************************************************/

footer {
    padding: 10px 6vw;
    background-color: #636466;
}

.footer-columns {
    padding: 25px 0;
}

footer p,
footer a {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.footer-columns p,
.footer-columns a {
    text-transform: uppercase;
}

.footer-columns p {
    font-weight: 500;
    margin: 25px 0;
}

.footer-columns ul {
    margin-bottom: 30px;
}

footer a {
    display: inline-block;
    padding: 7px 0;
    text-decoration: none;
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    -o-transition: color .25s ease-in-out;
    -ms-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
}

footer a:hover {
    text-decoration: underline;
    color: #A9F1FF;
}

footer div:last-child {
    text-align: center;
    font-size: .9em;
}

footer .admin-link {
    padding-right: 50px;
}

#logoutLink::after {
    display: block;
    content: "";
    margin-top: 12px;
    border-bottom: 1px dotted #fff;
}

footer .social {
    margin-top: 10px;
}

footer .social li {
    display: inline-block;
}

footer .social li a {
    padding: 10px;
}

/*** END FOOTER *******************************************************/

@media screen and (min-width: 1800px) {

    #brand-copy .text-right {
        margin-top: 20px;
    }

    #brand-copy .text-left {
        margin-top: 110px;
    }

    #brand-copy h2 {
        font-size: 3.8em;
    }
}

@media screen and (min-width: 2050px) {

    header .nav-item:last-child div {
        position: relative;
    }

    header .nav-item:last-child ul {
        left: -15px;
        right: unset;
    }
}

@media screen and (max-width: 1024px) {

    header .logo {
        padding-top: 8px;
    }

    header .nav-item div > a {
        padding: 38px 15px;
    }

    header .nav-item a,
    footer p,
    footer a  {
        font-size: .75em;
    }

    header .nav-item ul {
        left: -15px;
    }

    header .nav-item:last-child ul {
        left: unset;
    }

    .home-copy p {
        font-size: 1em;
    }

    .home-title h1 {
        font-size: 2em;
    }

    #brand-copy .text-right {
        margin-left: 35px;
    }

    #brand-copy .text-left {
        margin-right: 35px;
    }

    #craftsmanship h1 {
        padding: 0;
    }

    #craftsmanship h2 {
        font-size: 1.75em;
    }

    #craftsmanship p {
        font-size: 1em;
    }

    footer .social li a {
        padding: 5px;
        font-size: .9em;
    }
}

@media screen and (max-width: 900px) {

    #craftsmanship h2 {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 767px) {

    #divworkspacearea {
        padding: 0 !important;
    }

    .mobile-tablet-clear {
        clear: both;
    }

    header {
        position: static;
    }

    header .nav-item {
        display: none;
    }

    header .logo {
        float: none;
        width: 100%;
        height: 100%;
        padding: 5px 0 0;
        background-color: #154E60;
    }

    header .logo div {
        display: block;
        margin: 0 36vw;
    }

    nav > .slideout-menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 25px;
        top: 2.8vw;
        right: 4.5vw;
        font-size: .9em;
    }

    .home-title h1 {
        font-size: 1.75em;
    }

    .play-pause {
        opacity: unset;
    }

    .play-pause i {
        font-size: 3.5em;
        opacity: .75;
    }

    .video-container,
    #brand-copy img {
        margin-bottom: 30px;
    }

    #brand-copy aside br {
        display: none;
    }

    #brand-copy h2 {
        font-size: 4.5vw;
    }

    #brand-copy .text-right,
    #brand-copy .text-left {
        margin: 0 auto 35px;
        text-align: center;
    }

    footer .social {
        margin: 0 0 20px;
        text-align: center;
    }

    footer .social li a {
        padding: 10px;
    }

    footer p,
    footer a  {
        font-size: .85em;
    }
}

@media screen and (max-width: 500px) {

    header .logo div {
        margin: 0px 32vw;
    }

    nav > .slideout-menu-toggle {
        font-size: .75em;
        top: 4.2vw;
        right: 5.5vw;
    }

    .footer-columns {
        padding: 10px 0;
    }

    footer p,
    footer a  {
        font-size: .75em;
    }
}

@media screen and (max-width: 400px) {

    section {
        margin-bottom: 0;
    }

    .home-copy p {
        margin-bottom: 25px;
        font-size: .85em;
    }

    .home-title h1 {
        font-size: 1.25em;
    }

    #craftsmanship h2 {
        padding: 10px 0;
        font-size: 1.25em;
    }

    #craftsmanship p {
        font-size: .9em;
    }
}