/* Defaults & Resets *************************************************************************/
* {
    box-sizing: border-box;
}

html {
    -webkit-box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    font-size: 16px;
    overflow-x: hidden;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit
}

@font-face {
    font-family: 'Cantarell';
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/cantarell/cantarell-regular-webfont-regular.woff") format("woff")
}

@font-face {
    font-family: 'Cantarell';
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/cantarell/cantarell-thin-webfont.woff") format("woff")
}

@font-face {
    font-family: 'Cantarell';
    font-style: bold;
    font-weight: 500;
    src: url("../fonts/cantarell/cantarell-bold-webfont-500.woff") format("woff")
}

@font-face {
    font-family: 'Cantarell';
    font-style: bold;
    font-weight: 800;
    src: url("../fonts/cantarell/cantarell-extrabold-webfont-800.woff") format("woff")
}

body {
    color: #2d2d2d;
    font: 24px/1.55 "Cantarell", Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}
h1 {
    font-weight: 300;
    font-size: 82px;
}
h2 {
    font-size: 48px;
}

hr {
    background: rgba(255,255,255,0.3);
    border: 0;
    height: 1px;
    margin: 4rem auto;
    width: 600px;
}

a,a:visited {
    color: #396afc;
    font-weight: 600;
}
a:hover,a:focus {
    color: currentColor;
}

.purism-logo {
    fill: white;
    margin: 0 auto 1rem;
    max-width: 140px;
    opacity: 0.6;
    width: 100%;
}

img, video {
    height: auto;
    margin: 0 auto 2rem;
    width: 100%;
}

/* Main Wrappers ******************************************************************/
.dark-wrapper, .grey-wrapper, .white-wrapper, footer {
    padding: 6rem 2rem;
    width: 100%;
}

header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,.3);
    padding: 0.8rem 1rem 1.3rem;
    width: 100%;
}
header ul {
    align-items: center;
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0 !important;
    padding: 0;
    text-align: center;
    width: 100%;
}
header ul li {
    display: inline-block;
    font-style: normal !important;
    font-weight: 500;
    margin: 0 0.8rem !important;
}
header ul li a, header ul li a:visited {
    color: currentColor;
    font-size: 16px;
    padding: 8px 15px 10px;
    text-decoration: none;
}
header ul li a:hover, header ul li a:focus {
    background: #eee;
    border-radius: 4px;
}

.intro-header {
    background: #2d2d2d url(../images/intro-bg.jpg) no-repeat top center;
    background-size: cover;
}
.intro-header .intro-section {
    padding: 50px 0px 0px 0px;
}

.first-section {
    padding-top: 20px;
}

.hero-wrapper {
    padding-bottom: 0;
    position: relative;

}
.hero-wrapper.homepage:after {
    background: #2d2d2d;
    bottom: -400px;
    content:'';
    left: 0;
    height: 400px;
    position: absolute;
    width: 100%;
}
.hero-wrapper.no-extra {
    padding-bottom: 6rem;
}

.dark-wrapper { background: #2d2d2d; }
.grey-wrapper { background: #ededed; }

.inner-wrapper {
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    text-align: center;
    width: 100%;
}
.inner-wrapper.dark-mode { color: white; }
.inner-wrapper.dark-mode a { color: white !important; }
.inner-wrapper p {
    margin: 1.5rem auto;
    max-width: 75ch;
}
.inner-wrapper span {
    display: block;
    font-size: 90%;
    margin-top: 0.5rem;
    opacity: 0.6;
}
.inner-wrapper ul {
    list-style: none;
    margin: 4rem 0 0;
    padding: 0;
}
.inner-wrapper ul li {
    font-style: italic;
    margin-top: 1rem;
}
.inner-wrapper ol {
    margin: 4rem auto 0;
    max-width: 650px;
    text-align: left;
}
.inner-wrapper ol li {
    border-bottom: 1px solid lightgrey;
    color: grey;
    font-weight: bold;
    margin-top: 0.5rem;
    padding-bottom: 1rem;
}
.inner-wrapper ol li span {
    color: #2d2d2d;
    display: inline-block;
    font-size: 100%;
    font-weight: 500;
    padding-left: 0.5rem;
    opacity: 1;
}

.inner-footer {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    width: 100%;
}
.inner-footer p {
    font-size: 80%;
    margin-left: auto;
    margin-right: auto;
    max-width: 66ch;
}
.inner-footer p:first-of-type {
    margin-bottom: 1rem;
}
.inner-footer svg {
    margin: 0 auto 1rem;
    max-width: 180px;
    width: 100%;
}

/* Menu Toggle *********************************************************************/
input[type="checkbox"]#toggle-menu {
    left: -9999px;
    position: absolute;
    z-index: -5;
}
label.toggle-menu-label {
    cursor: pointer;
    display: none;
    position: relative;
    right: 0;
    top: 0;
    width: 30px;
}
label.toggle-menu-label span {
    background: black;
    height: 2px;
    position: relative;
    width: 100%;
}
label.toggle-menu-label span:nth-child(2) {
    margin: 8px 0;
}

/* Hero Image *********************************************************************/
.hero-img {
    left: -15%;
    position: relative;
    width: 130%;
    margin: 0;
}

/* Buttons *************************************************************************/
.button-wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: right;
}
.button-wrapper .button {
    padding: 0.3rem 1rem 0.5rem;
}
.button-wrapper .button:nth-child(2) {
    margin-left: 10px;
}
button, .button {
    background: #fff;
    border: 1px solid lightgrey;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: inline-block;
    padding: 0.8rem 1.5rem 1rem;
    text-decoration: none;
    color: #396afc;
}

button.cta, .button.cta {
    background: -webkit-gradient(linear, left top, left bottom, from(#396afc), to(#2948ff));
    background: linear-gradient(#396afc 0%, #2948ff 100%);
    border-color: #2948ff;
    color: #fff;
    font-weight: bold;
    margin-top: 1rem;
    position: relative
}

button:hover, .button:hover, button:focus, .button:focus {
    color: #396afc;
    background: #f9f9f9;
}

button.cta:hover, button.cta:focus, .button.cta:hover, .button.cta:focus {
    background: -webkit-gradient(linear, left top, left bottom, from(#7194fc), to(#2948ff));
    background: linear-gradient(#7194fc 0%, #2948ff 100%)
}

button.cta.sale, .button.cta.sale {
    background: linear-gradient(0deg, rgba(145,21,21,1) 0%, rgba(253,29,29,1) 100%);
    border-color: rgba(145,21,21,1);
}
button.cta.sale:hover, button.cta.sale:focus, .button.cta.sale:hover, .button.cta.sale:focus {
    background: linear-gradient(0deg, rgba(145,21,21,1) 0%, rgba(255,141,141,1) 100%);;
}

@media(max-width:860px) {
    label.toggle-menu-label {
        display: block;
    }
    .hero-wrapper.homepage:after {
        bottom: -300px;
        height: 300px;
    }
    header {
        padding: 0.4rem 1rem 1rem;
    }
    header .inner-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    header .inner-wrapper ul {
        display: none;
        padding-top: 1rem;
    }
    header .inner-wrapper ul li,
    header .inner-wrapper ul li a {
        display: block;
        margin: 0.8rem 0 !important;
        width: 100%;
    }
    header .inner-wrapper ul li:last-of-type,
    header .inner-wrapper ul li:last-of-type a {
        margin-bottom: 0 !important;
    }
    input[type="checkbox"]#toggle-menu:checked ~ ul {
        display: block;
    }
    input[type="checkbox"]#toggle-menu:checked + label.toggle-menu-label span:nth-child(1) {
        top: 8px;
        transform: rotate(45deg);
    }
    input[type="checkbox"]#toggle-menu:checked + label.toggle-menu-label span:nth-child(2) {
        display: none;
    }
    input[type="checkbox"]#toggle-menu:checked + label.toggle-menu-label span:nth-child(3) {
        top: -2px;
        transform: rotate(-45deg);
    }
}

@media(max-width:550px) {
    body {
        font-size: 18px;
    }
    .hero-wrapper.homepage:after {
        bottom: -200px;
        height: 200px;
    }
}

/***** Notifications *****/

.notification-wrapper {
	background: #ebe6d8;
	background-color: rgb(235, 230, 216);
	padding: 2rem 1rem 1.5rem 1rem;
	line-height: 1.55;
}

.notification-wrapper.info {
	background-color: #5c6cb5 !important;
	color: #ffffff !important;
}

.notification-wrapper.warning {
	background-color: #fe6e0d !important;
	color: #ffffff !important;
}

.inner-notification {
  	margin: 0 auto;
  	max-width: 1200px;
  	padding: 2rem 0;
	position: relative;
}

.notification-wrapper .button {
	margin-top: 2rem;
	padding: 0.5rem 1rem 0.8rem;
	font-size: 16px;
	text-decoration: none;
	display: inline-block !important;
}


.notification-header {
	font-size: 32px;
}

.notification-details.full-width {
  	text-align: center;
  	width: 100%;
}

.empty-header {
	height: 0px !important;
}

header.inverted {
	background: rgba(49, 49, 49, 0.8);
}

