@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

::selection {
    background-color: #EF8214;
}

body {
    width: 100vw;
    overflow-x: hidden;
}
.hidden {display: none;}
.hidden-true {opacity: 0;}
#loader {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: white;
    z-index: 100;
}
#loader img {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 10%;
    left: 45%;
}
a {
    color: #EF8214;
}
a:hover {
    color: #bc4f10;
}
.darkText, .darkText a, .darkText h2, .darkText li {
    color: black!important;
}


#menu {
    background-color: rgba(0, 0, 0, 0.9);
    width: 100vw;
    height: 100vh;
    z-index: 111;
    position: fixed;
    display: none;
    top: 0;
    font-family: Roboto;
}
#menuInner {
    z-index: 99;
    color: white;
}
#menuClose {
    font-size: 2em;
    margin: 2% 3%;
    float: right;
    cursor: pointer;
}
#menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
	font-family: 'Bank Gothic', sans-serif !important;
}
#menu li {
    display: inline-block;
    font-size: 3em;
    margin-right: 5%;
    position: relative;
}
#menu li:last-of-type {margin-right: 0;}
#menu a {
    color: white;
    text-decoration: none;
}
#menuMain .current::after, .dropdownChild .current::after {
    content: "";
    width: 100%;
    background-color: #EF8214;
    height: 2.5px;
    position: absolute;
    left: 0;
    top: 100%;
}
.smallDrpdwnBtn {
    color: #212529!important;
    background-color: #EF8214;
    right: 40px;
    padding: 0.3% 0.5%;
}


.dropdownParent {
    cursor: pointer;
}
.dropdownArrow {
    border: 12px solid transparent;
    border-left-color: #EF8214;
    height: 0px;
    width: 0px;
    display: inline-block;
}
.dropdownChild {
    display: none;
    right: -100%;
}
.dropdownOpen {display:block!important;}
.dropdownChildBack {
    color: #EF8214;
    font-size: 2em!important;
    line-height: 3em;
    cursor: pointer;
}

#header {
    display: block;
    height: 80vh;
}

/*Navigation menu*/
#nav {
    width: 100%;
    padding: 2% 4%;
}
#navItems {
    position: absolute;
    right: 9%;
    top: 6%;
    width: 10%;
}
#navItems ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
}
#navItems li {
    color: black;
    font-size: 1.5em;
    margin: 0 1%;
    cursor: pointer;
    display: inline-block;
}
#menuButton {
    position: fixed;
    right: 2%;
    z-index: 99;
	font-family: 'Open Sans', sans-serif !important;
}

#slider {
    clear: both;
}
#sliderSlider {
    top: 0;
    z-index: -1;
    height: inherit;
    position: fixed;
    width: 100vw;
}
.sliderItem {
    height: 95vh;
}
.sliderItem img {
    height: 100%;
    width: 100vw;
    object-fit: cover;
    overflow: hidden;
}

#sliderOverlay {
    position: absolute;
    top: 50%;
    color: black;
    transform: translateY(-50%);
    margin-left: 5%;
}
#sliderOverlay h2 {
    font-size: 4em;
    font-family: Roboto;
}
#sliderOverlay ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
}
#sliderOverlay li {
    display: inline-block;
    margin: 0 1.5%;
}
#sliderOverlay a {
    color: black;
    text-decoration: none;
}

#downButton {
    bottom: 10%;
    font-size: 2.5em;
    border-radius: 100%;
    width: 1.5em;
    text-align: center;
    position: absolute;
    right: 5%;
    color: white;
    cursor: pointer;
}

#images {
    width: 100vw;
    background-color: #D9DADB;
}
#images .image {
    overflow: hidden;
    position: relative;
    width: calc(100% / 3);
}
.wideImage {
    width: calc((100% / 3) * 2)!important;
}
.wideImage .imageContent {
    padding: 3%!important;
}
#images .image img {
    width: 100%;
    object-fit: cover;
}
#images .image a {
    color: black;
    text-decoration: none;
}
#images .imageContent {
    position: absolute;
    top: 0;
    padding: 5%;
    height: 100%;
    width: 100%;
}
#images .imageImage {
    position: absolute;
    top: 0;
    transition: transform 0.5s;
    overflow: hidden;
    width: 100%; 
}
#images .image:hover .imageImage {
    transform: translate3d(55px,85px,0);
}

/*---Normal page---*/
#pageMain {
    clear: both;
}
#pageBody {
    background-color: white;
    display: block;
    width: 90vw;
    margin: 15vw auto 0;
    padding: 2% 3%;
}
#pageContent {
    margin: 5% auto 0;
    width: 75%;
    min-height: 60vh;
}
#pageContent h1 {
    font-size: 3em;
    margin-bottom: 5%;
    font-family: Roboto;
    font-weight: bold;
}

/*---Page banner---*/
#pageBanner {
    position: absolute;
    top: 0;
    z-index: -1;
    height: 100vh;
}
#pageBanner img {
    width: 100vw;
    height: inherit;
    object-fit: cover;
    position: fixed;
}

/*Contact*/
#Form_ContactForm {
    width: 85%;
}
input, textarea, select {
    width: 100%;
    outline-color: #EF82144;
    border: none;
    background-color: #f2f2f2;
}

#Form_ContactForm textarea {
    resize: none;
    padding: 2%;
    margin-bottom: 2%;
}

#Form_ContactForm input {
    padding: 1% 2%;
    height: 40px;
    margin-bottom: 2%;
}

input[type=submit] {
    background-color: #EF8214;
    color: white;
    border: none;
    width: 25%;
    padding: 1.5% 0;
    height: auto;
    transition: background 0.3s;
}
select {
    padding: 1.5% 1%;
    margin-bottom: 2%;
}

#Form_ContactForm input[type=submit]:hover {
    background-color: #bc4f10;
}

#contactInfo table {
    width: 100%;
}
#contactInfo td {
    vertical-align: top;
    padding: 2% 5%;
}
#contactInfo td:first-of-type {
    width: 23.5%;
    text-align: right
}
#contactInfo i {
    color: #EF8214;
}
#contactInfo iframe {
    width: 100%;
    height: 20vh;
    margin-top: 5%;
}

/* Blocks */
.blocks h2 {
    width: 100%;
    text-align: center;
}

.blockInner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.blockFocus {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}
.block {
    margin-top: 12%;
    perspective: 400px;
    -webkit-perspective: 400px;
}
.block:hover .blockInner {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}
.blockFront, .blockBack {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}
.blockFront img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blockBack {
    transform: rotateY(180deg);
    background-color: #EF8214;
    color: white;
    padding: 5%;
    overflow: hidden;
}
.blockBack h2 {
    width: 100%;
}
.blockBack p {
    width: 90%;
    margin: 0 auto 5%;
}
.block a {
    background-color: white;
    color: #EF8214;
    padding: 2.5% 5%;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s;
}
.block a:hover {
    background-color: #fdefe8;
}

/*Quote*/
.quoteHolder {
    margin-left: -21.4%;
    width: 142.8%;
}
.quotation {
    background-color: #f2f2f2;
    text-align: center;
    padding: 4% 0;
    margin: 7.5% 0;
}

.quotation button {
    background-color: #EF8214;
    color: white;
    border: none;
    padding: 0.75% 2%;
    font-size: 1em;
    margin-top: 2%;
}

.quoteWindow {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 90;
    top: 0;
    left: 0;
    display: none;
}
.quoteWindowContent {
    width: 50%;
    background-color: white;
    padding: 1% 0;
    margin: 5% auto;
}
.quoteWindowHeader {
    padding: 1% 4%;
}
.quoteWindowHeader h4 {
    float: left;
}
.quoteWindowHeader i {
    float: right;
    font-size: 1.7em;
    cursor: pointer;
}
.quoteWindowHeader hr {
    clear: both;
}
.quoteWindowForm {
    padding: 0 4%;
}

/*Footer*/
#upperFooter a {
    color: #212529;
    transition: color 0.3s;
}
#upperFooter a:hover {
    color: #444d55;
}
#upperFooter {
    margin-left: 0;
    padding: 2%;
    background-color: #EF8214;
    width: 100vw;
}

#footerContact {
    margin-top: 3%;
}
#footerContact td {
    vertical-align: top;
    padding: 2% 5%;
} 
#footerContact {
    width: 100%;
}
#footerContact td:first-of-type {
    width: 1%;
}

#lowerFooter {
    background-color: #2A3330;
    color: white;
    width: 100%;
    padding: 1% 2%;
}
#credits {
    float: right;
}

/*Silverstripe*/
#MemberLoginForm_LoginForm {
    width: 30%;
}
#MemberLoginForm_LoginForm_Email, #MemberLoginForm_LoginForm_Password {
    padding: 3%;
}
#MemberLoginForm_LoginForm_Remember {
    width: 5%;
    margin: 5% 0;
}
#ForgotPassword {
    width: 100%;
    margin-top: 3%;
}

@media screen and (max-width: 1600px) {
    #navItems {
        right: 10%;
    }

}
@media screen and (max-width: 1400px) {
    #navItems {
        right: 12.5%;
    }

}
@media screen and (max-width: 1200px) {
    
    #images .image {
        width: calc(100% / 2);
    }    
    .wideImage {
        width: 100%!important;
    }
    #credits {
        display: block;
    }
    #pageContent {
        width: 80%;
    }
    .quoteHolder {
        margin-left: -17%;
        width: 134%;
    }
    #pageContent h1 {font-size: 2.5em;}
    #Form_ContactForm {
        width: 100%;
    }

}

@media screen and (max-width: 1140px) {
    #contactInfo {
        margin-top: 5%;
    }
    #navItems {
        right: 15%;
    }

}

@media screen and (max-width: 786px) {
    #navItems {
        right: 22%;
    }

    #pageContent h1 {font-size: 2em;}
    #pageContent {
        width: 90%;
    }

    .quoteHolder {
        margin-left: -9.6%;
        width: 119.2%;
    }
    .quotation {
        padding: 7% 3%;
    }
    .quotation button {
        padding: 2% 5%;
    }

    .quoteWindowContent {
        width: 80%;
    }
    
    .blockBack h1, .blockBack a {
        font-size: 80%;
    }
    .blockBack p {
        font-size: 70%;
    }
}

@media screen and (max-width: 500px) {
    h1 {
        font-size: 1.5em!important;
    }
    h2 {
        font-size: 1.3em!important;
    }
    
    #navItems {
        right: 30%;
    }

    #loader img {
        width: 50%;
        left: 25%;
    }

    #Form_ContactForm input[type=submit] {
        width: 100%;
        padding: 2% 0;
    }

    #menu li {
        font-size: 2em;
        display: block;
        text-align: center;
    }
    #menuMain .current:after {
        width: 50%;
        margin-left: 25%;
    }
    .dropdownArrow {
        border-width: 10px;
    }

    #nav {
        padding: 7.5% 8%;
    }
    #navLogo {
        width: 75px;
        height: 75px;
    }

    .smallDrpdwnBtn {
        padding: 1% 3%;
    }
    #menuButton {
        right: 20px;
    }

    #sliderOverlay h2{
        font-size: 1.7em;
    }

    #images .image {
        width: calc(100% / 1);
    }

    #pageBody {
        padding: 5%;
    }

    #pageContent {
        width: 95%;
    }
    .quoteHolder {
        margin-left: -9.4%;
        width: 118.8%;
    }

    #upperFooter {
        padding: 10% 7%;
        width: 100vw;
    }

    #lowerFooter {
        text-align: center;
        padding: 5% 0;
    }
    #credits {
        float: none;
    }
}
@media screen and (max-width: 400px) {
    #navItems {
        width: 80%;
        right: 45%;
    }
}

p {
	
	font-family: 'Open Sans', sans-serif !important;
}

h2 {
	font-family: 'Bank Gothic', sans-serif !important;
}


