/* GENERAL */

:root {
    --page-width: 900px;
    --inner-width: 900px;
    
    --main-color: #980a2b;
    --main-dark: #790722;
    --link-color: #fff;
    --link-hover: #980a2b;
}

body {
    font-family: "Helvetica Neue", "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

a {
    color: var(--main-color);
    -webkit-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

a:hover {
    color: var(--main-dark);
    text-shadow: 0 0 1px var(--main-dark);
    -webkit-transition: all 0.35s ease-in;
    -o-transition: all 0.35s ease-in;
    transition: all 0.35s ease-in;
}

h1, h2 {
    font-size: 2em;
}

ul {
    list-style: none;
}

ul li:before {
    content: "\2022";
    color: var(--main-color);
    margin-left: -1em;
    display: inline-block;
    width: 1em;
    font-weight: bold;
}

.columns {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.columns .column {
    width: 50%;
}

.columns .column {
    margin-right: 2em;
}

.columns .column:last-child {
    margin-right: 0;
}

/* HEADER */

.header {
    background: var(--main-color);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

.header .headerInner {
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: var(--page-width);
    margin: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.header #logo {
    max-width: 250px;
}

.headerInner > div:first-child {
    max-width: 250px;
}

.headerInner > div:last-child {
    width: 100%;
    margin-left: 1em;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

/* NAVIGATION */

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

nav ul li {
    margin: 0 1em;
    font-size: 1.2em;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    color: #333;
}

/* FOOTER */

.footer {
    background: var(--main-color);
    color: #fff;
}

.footer .footerInner {
    max-width: var(--page-width);
    margin: auto;
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
}

/* MAIN */

.main {
    min-height: calc(100vh - 202px);
}

.main section:not(#home) {
    min-height: 100vh;
    font-size: 1.2em;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.main section .sectionInner {
    max-width: var(--inner-width);
    width: 100%;
    margin: 152px auto;
    padding: 0 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.main section a {
    word-break: break-all;
}

/* HOME */

.hero {
    background-color: #000;
    background-image: url('../images/shadows.jpg');
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    height: 100vh;
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: table;
    position: relative;
}

.hero:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero .heroInner {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 999;
}

.quoteWrap {
    max-width: var(--inner-width);
    margin: 152px auto;
    padding: 0 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.quote {
    font-size: 2.5em;
    font-family: minion-pro, serif;
    position: relative;
    text-align: left;
    font-weight: normal;
    color: #fff;
}

.quote:before {
    content: '“';
    color: var(--main-color);
    margin-top: -15px;
    margin-left: -31px;
    font-size: 2em;
    position: absolute;
    display: inline-block;
}

.quote:after {
    content: '”';
    color: var(--main-color);
    margin-top: -15px;
    margin-right: -31px;
    font-size: 2em;
    position: absolute;
    display: inline-block;
}

.quoteWrap .author {
    font-size: 0.8em;
    text-align: right;
    max-width: 250px;
    margin-right: 0;
    margin-left: auto;
    color: #fff;
}

/* ABOUT US */

#about-us {
    background: #777;
    color: #fff;
}

#about-us p {
    margin: 2em auto;
}

/* RESOURCE PACK */

#resource-pack h1,
#resource-pack h2 {
    color: var(--main-color);
    margin-bottom: 0.5em;
    margin-top: 0;
}

#resource-pack h3 {
    margin-top: 0.5em;
}

#resource-pack p, #resource-pack .column1 ul {
    font-size: 0.9em;
}

#resource-pack .columns {
    margin: 4em auto;
    margin-bottom: 1em;
}

#resource-pack .columns .column1 {
    width: 70%;
}

#resource-pack .columns .column2 {
    background: #ccc;
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    width: 40%;
}

#resource-pack h4 {
    margin: 0;
    margin-bottom: 1em;
}

#resource-pack .column > *:first-child {
    margin-top: 0;
}

#resource-pack .sectionInner > *:last-child {
    margin-bottom: 0;
}

#bulletAfter {
    list-style: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 1em;
}

#bulletAfter li:before {
    display: none;
}

#redBullet {
    color: var(--main-color);
}

.redBox {
    border: 2px solid var(--main-color);
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 1em auto;
}

.redBox h4, .redBox p {
    color: var(--main-color);
}

.redBox hr {
    border-top: 1px solid var(--main-color);
}

.redBox ul {
    font-size: 0.8em;
}

#requestPack {
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    background: var(--main-color);
    text-align: center;
    display: block;
    margin: 2em auto;
    cursor: default;
}

#requestPack:hover {
    background: var(--main-dark);
}

.requestForm {
    z-index: 10001;
    position: fixed;
    top: 152px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto !important;
    height: calc(100vh - 184px);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: calc(var(--inner-width) - 2em) !important;
    display: none;
}

.requestForm form {
    background: #ccc;
    height: 100%;
    max-width: var(--inner-width);
    padding: 2em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-y: auto;
}

#requestOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.75;
    cursor: not-allowed;
    display: none;
}

.requestForm.formBlock p label {
    font-size: 1.2em;
}

.requestForm.formBlock p textarea {
    min-height: auto;
}

#packImage {
    position: relative;
    padding: 2em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 580px;
    width: 650px;
    margin: auto;
}

#packImage #book {
    position: absolute;
    max-height: 500px;
    -webkit-transform: rotate(10deg);
    -ms-transform: rotate(10deg);
    transform: rotate(10deg);
    left: 60px;
}

#packImage #wheel {
    position: absolute;
    width: 220px;
    top: 140px;
    right: 30px;
}

#wheel img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

#wheel p {
    font-size: 0.8em;
    margin: 0;
    padding: 0 0.5em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#text {
    position: absolute;
    max-width: 220px;
    right: 30px;
    bottom: 0;
    padding-left: 0.5em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#redText {
    color: var(--main-color);
}

/* ENQUIRIES */

#enquiries {
    background: #777;
    color: #fff;
}

.formBlock {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    margin: 4em auto;
}

.formBlock form {
    width: 100%;
    margin: auto;
}

.formBlock p label {
    font-size: 1.8em;
    text-align: left;
}

.formBlock p label, .formBlock p input {
    display: inline-block;
    vertical-align: middle;
    width: 200px;
}

.formBlock p input:not([type="radio"]), .formBlock p textarea {
    min-width: -o-calc(100% - 208px);
    min-width: calc(100% - 208px);
}

.formBlock p input[type="radio"] {
    width: auto;
}

.formBlock p input[type="text"],
.formBlock p textarea {
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 0;
}

.formBlock p textarea {
    vertical-align: top;
    min-height: 200px;
    max-width: -o-calc(100% - 208px);
    max-width: calc(100% - 208px);
}

.formBlock input[type="button"],
.formBlock input[type="submit"] {
    background: #00c4ff;
    background: var(--main-color);
    border: 0;
    min-width: 150px;
    padding: 1em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    margin: auto 0 auto auto;
    display: block;
    -webkit-transition: background 0.5s ease-out;
    -o-transition: background 0.5s ease-out;
    transition: background 0.5s ease-out;
}

.formBlock input[type="button"]:hover,
.formBlock input[type="submit"]:hover {
    background: #2195bf;
    background: var(--main-dark);
    -webkit-transition: background 0.5s ease-out;
    -o-transition: background 0.5s ease-out;
    transition: background 0.5s ease-out;
}

.message {
    float: left;
    color: var(--main-color);
    font-weight: bold;
    margin: 0;
}

.message:empty {
    display: none;
}

#required:after {
    content: " *";
    color: var(--main-color);
}

.responsiveEmbed {
	position: relative;
	width: 100%;
}

.responsiveEmbed:after {
	content: "";
	display: inline-block;
	padding-top: 52.5%;
	width: 100%;
}

.responsiveEmbed > * {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

/* RESPONSIVE */

@media only screen and (max-width: 900px) {
    .formBlock p label, .formBlock p input:not([type="radio"]), .formBlock p textarea {
        width: 100%;
        display: block;
        max-width: 100%;
        min-width: 0;
    }
    
    .columns {
        display: block;
        margin: 1em auto !important;
    }
    
    .columns .column {
        margin-right: 0 !important;
    }
    
    .columns .column {
        width: 100% !important;
        max-width: 100%;
    }
    
    #requestPack {
        margin-top: 1em;
    }
}

@media only screen and (max-width: 768px) {
    .header .headerInner {
        display: block;
    }
    
    .headerInner > div {
        width: 100%;
        max-width: 100%;
        margin: auto;
        margin-bottom: 1em;
        text-align: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
    .headerInner > div:last-child {
        margin-left: auto;
        display: block;
        margin-bottom: 0;
    }
    
    nav ul {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
    nav ul li {
        font-size: 0.8em;
    }
    
    #about-us p, #enquiries .formBlock {
        margin: 2em auto;
    }
    
    .requestForm {
        height: 100vh;
        top: 0;
    }
    
    .requestForm form {
        border: 0;
    }
    
    .requestForm input[type="button"] {
        margin: 1em auto;
    }
    
    .message {
        margin: 1em auto;
        text-align: center;
        float: none;
    }
    
    #closeForm {
        display: block;
        margin: 1em auto;
        float: none;
        text-align: center;
    }
    
    #resource-pack h2 {
        margin-top: 1em;
    }
}

@media only screen and (max-width: 700px) {
    #packImage {
        width: auto;
        height: auto;
        min-height: 0;
        padding: 0;
    }
    
    #packImage #book, #packImage #wheel {
        position: static;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: 1em auto;
        max-width: 100%;
        display: block;
    }
    
    #packImage #book {
        -webkit-transform: rotate(0);
        -ms-transform: rotate(0);
        transform: rotate(0);
    }
    
    #text {
        padding: 0;
        position: static;
        margin: 1em auto;
    }
}

@media only screen and (max-width: 500px) {    
    nav ul li {
        font-size: 0.7em;
    }
    
    .quote {
        font-size: 1.6em;
    }
}