/* Fonts CSS */

@import url('https://fonts.googleapis.com/css?family=Muli:400,600|Ovo');

*{
    font-size: 16px;
    font-family: 'Fira Sans', sans-serif;
    line-height: 1.5;
}
fieldset{
    all: unset;
}

p{
    font-family: "Muli" serif;
    color: #515151;
}

a{
    color: black;
    text-decoration: none;
    -o-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
}
.pink{
    background-color: #E80080;
}
.blue{
 background-color: #00B3EB;
}
.orange{
background-color: #F76411;
color: #fff;
}

.pinktext{
    color: #E80080;
}
.bluetext{
    color: #00B3EB;
}
.orangetext{
    color: #F76411;
}
.italic{
    font-style: italic;
}
a:hover{
    opacity: 0.8;
}

h1{
    font-size: 32px;
    color: #fff;
}

h2{
    font-style: italic;
    font-size: 18px;
}

h3{
    color: #515151;

}



/* Main CSS */

body{
    margin: 0;
}

.content {
    width:1300px;
    margin: 0 auto;
}

section {
    padding: 60px 0px 60px 0px;
    background: #fff;
}
section:nth-of-type(even){
    background-color: #f7f7f7
}

.nopad{
    padding: 0;
}

/*---------- Functional ----------*/

.img-container {
    position: relative;
    overflow: hidden;
}

.img-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: calc(100% + 2px);
    height: auto;
}

.height.img-container img{
    height: calc(100% + 2px);
    width: auto;
}

/*---------- Colours ----------*/

.white{
    background: #fff;
    color: #222;
}

.grey{
    background: #f7f7f7;
    color: #222;
}

/*---------- Buttons ----------*/
.button{
    background-color: #fff;
    font-size: 16px;
    color: #000;
    padding: 15px 20px;
    border: none;
    border-radius: 3px;
    margin-top: 10px;
    min-width: 50px;
}
.pink{
    background-color: #E80080;
    color: #fff;
}
.blue{
 background-color: #00B3EB;
 color: #fff;
}
.orange{
background-color: #F76411;
color: #fff;
}
/*---------- Sections ----------*/

/* nav */
/*header.home,.img-container.home{
    height: 400px;
}*/
nav .content{
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
}
nav p{
    display: inline-block;
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    font-style: italic;
}

nav .content > div{
    display: flex;
    justify-content: space-between;
    width: 50%;
    align-items: center;
}
#hamburger{
    display: none;
    height: 30px;
    width: 30px;
    position: relative;
}
#hamburger span{
    display: block;
    position: absolute;
    top: 50%;
    height: 2px;
    width: 100%;
    transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    background: #000;
    transition: transform 0.1s ease-in;
}
#hamburger span::before,
#hamburger span::after{
    content: "";
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
}
#hamburger span::before{
    bottom: 10px;
    transition: transform 0.1s ease-in, bottom 0.1s ease-out 0.2s;
}
#hamburger span::after{
    top: 10px;
    transition: background 0.01s ease 0.1s, top 0.1s ease-out 0.2s;
}
#hamburger.close span:after{
    top: 0;
    background: none;
    transition: top 0.1s ease-in, background 0.01s ease-out 0.1s;
}
#hamburger.close span::before{
    bottom: 0;
    transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transition: bottom 0.1s ease-in, transform 0.1s ease-out 0.2s;
}
#hamburger.close span{
    transform: rotate(45deg) translate(-1px, -1px);
    -o-transform: rotate(45deg) translate(-1px, -1px);
    -ms-transform: rotate(45deg) translate(-1px, -1px);
    -moz-transform: rotate(45deg) translate(-1px, -1px);
    -webkit-transform: rotate(45deg) translate(-1px, -1px);
    transition: transform 0.1s ease-out 0.2s;
}
/* header */
header,.notheader{
    position: relative;
}
header>div:first-of-type,.notheader>div:first-of-type{
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: cover;
    position: relative;
    background-image: url("../images/festival.jpg");
}
header>div:first-of-type::before,.notheader>div:first-of-type::before{
    width: 100%;
    height: 200px;
    opacity: .6;
    content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.notheader>div:first-of-type{
    height: 500px;
    background-image: url("../images/tony-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

.notheader >div.clock{
    background-image: url("/images/clock.png");
}
.notheader >div.tony2{
    background-image: url("/images/tony-2.png");
}
.notheader >div.tony3{
    background-image: url("/images/tony-3.png");
}

.nopad.white.righttext.flip{
  flex-direction: row-reverse;
  align-items: center;
}
.nopad.white.righttext>div:last-of-type{
  height: 500px
}
/* .notheader>div:first-of-type::before{
    content: '';
    height: 400px;
    background: rgb(232,0,128);
    background: linear-gradient(90deg, rgba(255,255,255,0) 20%, rgba(255,255,255,1) 47%);
} */

.home>div:first-of-type{
    height: 400px;
    background-image: url("../images/home-header.jpg");
}
.home>div:first-of-type::before{
    content: '';
    height: 400px;
    background: rgb(232,0,128);
    background: linear-gradient(150deg, rgba(232,0,128,1) 20%, rgba(0,179,235,1) 47%, rgba(247,100,17,1) 80%);}

.gold>div:first-of-type,.quarterimg.gold>div:first-of-type{
    background-image: url("../images/goldmine-header.jpg");
}
.gold>div:first-of-type::before,.quarterimg.gold>div:first-of-type::before{
    background: rgb(0,194,255);
    background: radial-gradient(circle, rgba(0,194,255,1) 0%, rgba(0,170,223,1) 100%);}

.port>div:first-of-type,.quarterimg.port>div:first-of-type{
    background-image: url("../images/portfolio-header.jpg");
}
.port>div:first-of-type::before,.quarterimg.port>div:first-of-type::before{
    background: rgb(0,194,255);
    background: radial-gradient(circle, rgba(0,194,255,1) 0%, rgba(232,0,128,1) 0%, rgba(177,0,98,1) 100%);}

.wed>div:first-of-type,.quarterimg.wed>div:first-of-type{
    background-image: url("../images/wedding-header.jpg");
}
.wed>div:first-of-type::before,.quarterimg.wed>div:first-of-type::before{
    background: rgb(0,194,255);
    background: radial-gradient(circle, rgba(0,194,255,1) 0%, rgba(232,0,128,1) 0%, rgba(177,0,98,1) 100%);}

.show>div:first-of-type,.quarterimg.show>div:first-of-type{
    background-image: url("../images/tjl-header.jpg");
}
.show>div:first-of-type::before,.quarterimg.show>div:first-of-type::before{
    background: rgb(255,92,0);
    background: radial-gradient(circle, rgba(255,92,0,1) 0%, rgba(212,76,0,1) 100%);
}
header .img-container,.notheader .img-container{
    height: 200px;
    width: 100%;
    position: absolute;
}

header .overlay,header .overlay img,.notheader .overlay{
    width: 600px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}


/* Section 1 - Right Text */
.righttext{
    display: flex;
    align-items: center;
}
.righttext > div:first-of-type{
    width: 42%;
    height: 500px;
}
.righttext > div:last-of-type{
    width: 50%;
}

/* Quarters */
/* .quarter > div > div{
    display: flex;
    justify-content: space-between;
}
.quarterimg{
    width:calc((100% / 4) - 20px);
    height: 150px
}
.quarterimg .img-container{
    height: 150px;
} */
.quarter a{
  width:calc((100% / 3) - 20px);
}
.quarter .content{
  display: flex;
  justify-content: space-between;
}

.quarterimg{
    height: 150px;
    position: relative;
}
.quarterimg>div:first-of-type{
    width: 100%;
    height: 150px;
    background-position: center;
    background-size: cover;
    position: relative;
    background-image: url("../images/festival.jpg");
}
.quarterimg>div:first-of-type::before{
    width: 100%;
    height: 150px;
    opacity: .6;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.quarterimg>div:first-of-type{
    height: 150px;
    background-image: url("../images/festival.jpg");
}
.quarterimg>div:first-of-type::before{
    content: '';
    height: 150px;
    background: rgb(232,0,128);
    background: linear-gradient(150deg, rgba(232,0,128,1) 20%, rgba(0,179,235,1) 47%, rgba(247,100,17,1) 80%);
}

.quarterimg .img-container{
    height: 150px;
    width: 100%;
    position: absolute;
}

.quarterimg .overlay, .quarterimg .overlay img{
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.quarterimg p{
  font-size: 26px;
  color: #fff;
  font-weight: 600;
}

/* Section 2 - Get in touch */


form{

}
fieldset{
    display: block;
    margin: 15px 0;
    border: none;
}
fieldset input{
    padding: 15px;
    box-sizing: border-box;
    border: none;
    width: 295px;
    background-color: #f7f7f7;
}
fieldset > input:first-of-type{
    margin-right: 35px;
}
textarea{
    background-color: #f7f7f7;
    padding: 15px;
    width: 600px;
    display: block;
    margin-bottom: 10px;
    border: none;
    resize: none;
}

/* Portfolio Page */
/* Section 1 and 2 - Commercial */
.splittext > div > div{
    display: flex;
    justify-content: space-between;
}
.splittext > div > div > div{
    width: 47%;
}

/* GoldMine Show Page */
.textflex{
  display: flex;
  align-items: center;
}
/* Section 2 - Gallery */
.gallery > div > div{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.gallery .img-container{
    /*width: 225px;*/
    height: 175px;
}
.gallery > div > div > div{
    margin-right: 10px;
    width: calc(100% / 5 - 10px);
}
.gallery > div > div > div:nth-of-type(5n-5){
    margin-right: 0px;
}

/* Gallery 2 */
section.gallery2 {
    padding: 0;
    font-size: 0
}
#instafeed{
  font-size: 0;
}

#instafeed .img-container {
    width: calc(100% / 6);
    display: inline-block;
    padding-top: 16%
}
/* Section 3 - Purchases */
.imginfo{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.imginfo > div{
    width: 400px;
}
.imginfo > div:nth-of-type(n+4){
    margin-top: 20px;
}
.imginfo .img-container{
    width: 100%;
    height: 200px;
}
.imginfo > div p{
    margin-bottom: 30px;
}
/* footer */
/*footer{
    padding: 20px 0;
}*/
hr{
    margin: 0;
    border-color: white;
    height:1px;
    background-color: #fff;
    border: none;
}
.footercontent{
    width: 650px;
    margin: 0 auto;
    text-align: center;
}
.footercontent > div{
    padding: 0 0 20px 0;
    display: flex;
    justify-content: space-between;
}
footer p{
    margin-top: 20px;
    margin-bottom: 5px;
    color: white;
}
footer a{
    color: white;
}

/* admin contents */
/* Login */
.login{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F76411;
    height: 100vh;
}
.login > div{
    text-align: center;
}
.login form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}
.login form input{
    width: 80%;
    border: 0;
    padding: 10px 15px
}

.login form input:last-of-type{
    margin-top: 10px;
}
.login button{
    width: 50%
}
.login p{
    color: #fff;
    font-size: 18px;
}

/* Product Pages */
.product .content > div{
    display:  flex;
    justify-content:  space-between;
    align-items:  center;

}
.product .content > div > div:last-of-type{
    display: flex;
    justify-content: space-between;
    width: 200px;
    text-align: center;
}

/* Edit product / event */
.editform input, .editform textarea{
    background: white;
    border-color: #F7F7F7;
    border-radius: 2px;
    border: 1px solid;
    padding: 15px;
}
.editform textarea{
    height: 45px;
}
.editform fieldset > div{
    display: flex;
    flex-direction: column;
}
.editform button, .editform input[type="submit"]{
    margin-top: 16px;
}
/*---------- Media Queries ----------*/

@media screen and (max-width: 1500px){
    .content {
        width: 80%;
    }
    .imginfo > div{
        width: calc(100% / 3 - 15px);
    }
}

@media screen and (max-width: 1200px){
    .content {
        width: 90%;
    }
    .righttext .img-container{
        height: 500px;
    }
    .gallery > div > div > div{
        margin-right: 10px;
        width: calc(100% / 3 - 10px);
    }

}
@media screen and (max-width: 1100px){
  .quarter .content{
    flex-direction: column;
    align-items: center;
  }
  .quarter a{
    width: 100%;
  }
  .quarter .content a:nth-of-type(2){
    margin: 25px 0;
  }
  .quarterimg .overlay, .quarterimg .overlay img{
    width: 70%;
  }
  .nopad.white.righttext>div:last-of-type, .righttext > div:first-of-type,.notheader>div:first-of-type{
    height: 650px;
  }
}
@media screen and (max-width: 900px){
    nav .content{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .links{
        margin-top: 15px;
    }
    .home>div:first-of-type, .home>div:first-of-type::before{
        height: 250px;
    }
    .home .overlay{
        top: 42%;
        width: 80%;
    }
    .righttext,.nopad.white.righttext.flip{
        flex-direction: column;
    }
    .nopad.white.righttext>div:last-of-type, .righttext > div:first-of-type,.notheader>div:first-of-type{
      height: 500px;
    }
    .righttext .img-container{
        height: 300px;
        width: 100%
    }
    .righttext > div:first-of-type{
      width: 90%;
    }
    .righttext > div:last-of-type{
      width: 90%;
    }
    #instafeed .img-container{
      width:calc(100% / 2);
      height: 100px
    }
    #instafeed .img-container:nth-of-type(n+5){
      display: none;
    }
}

@media screen and (max-width: 700px){
    form{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    fieldset{
        width: 100%;
        display: flex;
        align-items: center;
    }
    fieldset:last-of-type{
        margin-top: 0;
    }
    fieldset input, textarea{
      box-sizing: border-box;
        width: 100%;
        margin: 0 auto;
    }
    fieldset > input:first-of-type{
        margin: 0 auto 15px auto;
    }
    form .button{
        width: 50%;
        margin-top: 15px;
    }
    .footercontent{
        width: 90%;
        text-align: left;
    }
    .footercontent > div{
        flex-direction: column;
    }
    hr{
        width: 100%;
    }
    .gallery > div > div > div{
        margin-right: 10px;
        width: calc(100% / 2 - 10px);
    }
    .imginfo{
        flex-direction: column;
    }
    .imginfo>div:last-of-type{
        margin-bottom: 0px;
    }
    .imginfo > div{
        width: 100%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 600px){
  nav .content{
      display: flex;
      justify-content: space-between;
      flex-direction: row;
      position: relative;
      margin: 0;
      width: 100%;
      padding-left: 25px;
      padding-right: 25px;
      box-sizing: border-box;
  }
  #menu {
      display: none;
      position: absolute;
      border-top: lightgrey 1px solid;
      background: #fff;
      top: 100%;
      margin: 0;
      left: 0;
      z-index: 1;
      width: 100%;
  }
  #menu a{
      display: block;
      padding: 15px;
      border-bottom: lightgrey 1px solid;
  }
  #menu.visible {
      display: block;
  }
  #hamburger {
      display: block;
  }
    header .overlay{
        width: 100%;
    }
    .quarterimg .overlay, .quarterimg .overlay img{
      width: 95%;
    }
    .splittext > div > div {
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .splittext > div > div > div {
        width: 100%;
    }
    .nopad.white.righttext>div:last-of-type{
      height: 700px;
    }
    .gallery > div > div > div{
        margin-right: 10px;
        width: calc(100% / 1 - 10px);
    }
    .footercontent{
        text-align: center;
    }
    *{
        text-align: center;
    }
    #instafeed .img-container{
      width:100%;
      height: 100px
    }
    #instafeed .img-container:nth-of-type(n+3){
      display: none;
    }
}

@media screen and (max-width: 450px){
    header .overlay img{
        width: 475px;
    }
    .nopad.white.righttext>div:last-of-type{
        height: 750px;
    }
    .notheader>div:first-of-type {
        height: 340px;
    }
    #tony{
        height: 280px;
    }
    #small{
        height: 560px;
    }
    #notheaderheight{
        height: 270px;
    }
    #notheaderheighttwo.notheader{
        height: 350px;
    }
    #notheaderheightthree.notheader{
        height: 370px;
    }
    #notheaderheightfour{
        height: 340px;
    }
    #nottextflex{
        height: 600px;
    }
}
