/* global */

html, body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

.arimo{
    font-family: 'Arimo', sans-serif;
}

.cairo{
    font-family: 'Cairo', sans-serif;
}

.nunito{
font-family: 'Nunito Sans', sans-serif;
}

.rubik{
font-family: 'Rubik', sans-serif;
}

.montserrat{
    font-family: 'Montserrat', sans-serif;
}

.opensans{
font-family: 'Open Sans', sans-serif;
}

.logobox {
    z-index: 100;
    position: absolute;
    left: 4%;
    top: 5%; 
}

.tpclogo{
    max-width: 160px;
}

@media(max-width: 600px){
    .tpclogo{
        max-width: 100px;
    }
}

.outsidelogo{
    opacity: 0.75;
}

.contactbox{
    z-index: 100;
    position: absolute;
    right: 4%;
    top: 5%;
}

/* page 1 */

  .home-section {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    margin-left: 0px;
    margin-bottom: 5%;
    color: #ffffff;
  }
  
  video.bgvid {
    position: fixed;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      z-index: -100;
      -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
      background: url(../img/homefb.png) no-repeat;
      background-size: cover; 
      z-index: -100;
  }

  
  .overlay{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    opacity: 0.5;
    z-index: 1;
    border-bottom: none;
  }

  .overlay2{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    opacity: 0.01;
    z-index: 1;
    border-bottom: none;
  }

  .overlay4{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    opacity: 0.25;
    z-index: 1;
    border-bottom: none;
  }

  .overlay5{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    opacity: 0.75;
    z-index: 1;
    border-bottom: none;
  }

.hero-wrap{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.hero-section{
    text-align: center;
    position:absolute;
    width:80%;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 15%;
}

.herotext{
    padding-bottom: 50px;
}

.herotext1{
    color: #eeeeee;
    font-size: 72px;
    font-weight: 900;
}

.herotext2{
    color: #eeeeee;
    font-size: 30px;
    font-weight: 100;
    margin-top: -55px;
}

  .herobutton {
	border:2px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#dcdcdc;
	font-size:16px;
    width: 200px;
    padding: 8px;
    text-align: center;
    outline: none;
    text-decoration: none;
    -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out, color 0.3s ease-out;
    transition: background-color 0.3s ease-out, color 0.3s ease-out;
    border-radius: 5px;
}
.herobutton:hover, 
.herobutton:active {
    background-color: #dcdcdc;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff; /* fallback */
    border-color: rgba(255, 255, 255, 0.4);
    -webkit-transition: background-color 0.5s ease-in, color 0.3s ease-in;
    -o-transition: background-color 0.5s ease-in, color 0.3s ease-in;
    transition: background-color 0.5s ease-in, color 0.3s ease-in;
}

.herobuttondark {
	border:2px solid #0f0f0f;
	display:inline-block;
	cursor:pointer;
	color:#0f0f0f;
	font-size:16px;
    width: 200px;
    padding: 8px;
    text-align: center;
    outline: none;
    text-decoration: none;
    -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out, color 0.3s ease-out;
    transition: background-color 0.3s ease-out, color 0.3s ease-out;
    border-radius: 5px;
}
.herobuttondark:hover, 
.herobuttondark:active {
    background-color: #0f0f0f;
    background-color: rgba(0, 0, 12, 0.1);
    border-color: #0f0f0f; /* fallback */
    border-color: rgba(0, 0, 12, 0.1);
    -webkit-transition: background-color 0.5s ease-in, color 0.3s ease-in;
    -o-transition: background-color 0.5s ease-in, color 0.3s ease-in;
    transition: background-color 0.5s ease-in, color 0.3s ease-in;
}

@media (max-width: 800px) {
    .herotext{
        padding-bottom: 40px;
    }
    
    .herotext1{
        color: #eeeeee;
        font-size: 40px;
        font-weight: 900;
    }
    
    .herotext2{
        color: #eeeeee;
        font-size: 20px;
        font-weight: 100;
        margin-top: -20px;
    }
    
      .herobutton {
        border:2px solid #dcdcdc;
        display:inline-block;
        cursor:pointer;
        color:#dcdcdc;
        font-size:12px;
        width: 80px;
        padding: 8px;
        text-align: center;
        outline: none;
        text-decoration: none;
        -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        -o-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
        border-radius: 5px;
    }

    .herobuttondark {
        border:2px solid #0f0f0f;
        display:inline-block;
        cursor:pointer;
        color:#0f0f0f;
        font-size:12px;
        width: 80px;
        padding: 8px;
        text-align: center;
        outline: none;
        text-decoration: none;
        -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        -o-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
        border-radius: 5px;
    }
}

@media (max-width: 320px) {
    .herotext{
        padding-bottom: 30px;
    }
    
    .herotext1{
        color: #eeeeee;
        font-size: 35px;
        font-weight: 900;
    }
    
    .herotext2{
        color: #eeeeee;
        font-size: 18px;
        font-weight: 100;
        margin-top: -20px;
    }
    
      .herobutton {
        border:2px solid #dcdcdc;
        display:inline-block;
        cursor:pointer;
        color:#dcdcdc;
        font-size:12px;
        width: 80px;
        padding: 8px;
        text-align: center;
        outline: none;
        text-decoration: none;
        -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        -o-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
        border-radius: 5px;
    }
    .herobuttondark {
        border:2px solid #0f0f0f;
        display:inline-block;
        cursor:pointer;
        color:#0f0f0f;
        font-size:12px;
        width: 80px;
        padding: 8px;
        text-align: center;
        outline: none;
        text-decoration: none;
        -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        -o-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
        border-radius: 5px;
    }
}

/* page 2 */

/* .p2background{
    background: rgb(204,210,210);
    background: linear-gradient(354deg, rgba(204,210,210,1) 15%, rgba(255,255,255,1) 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    border-bottom: 5px solid #fff;
    border-left: 5px solid #fff;
} */

.homevid{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.p2vid{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    z-index: -100;
}

.center-text-block{
    position:absolute;
    width:40.5%;
    max-width: 1200px;
    right: 15%;
    margin: 0 auto;
    top: 25%;
    color: #000000;
    z-index: 100;
}

.heading{
    padding-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
}

.para-text{
    font-size: 14px;
    font-weight: 100;
}

.para-break{
    padding-top: 50px;
}

@media (max-width: 768px){
    .center-text-block{
        position:absolute;
        width:45%;
        right: 44%;
        margin: 0 auto;
        top: 30%;
        color: #000000;
        z-index: 100;
    }
    
    .heading{
        padding-bottom: 10px;
        font-size: 32px;
        font-weight: 700;
    }
    
    .para-text{
        font-size: 14px;
        font-weight: 100;
    }
}

@media (max-width: 600px){
    .center-text-block{
        position: absolute;
        width: 57%;
        right: 29%;
        margin: 0 auto;
        top: 28%;
        color: #000000;
        z-index: 100
    }
    
    .heading{
        padding-bottom: 10px;
        font-size: 14px;
        font-weight: 700;
    }
    
    .para-text{
        font-size: 10px;
        font-weight: 100;
    }

    .para-break{
        padding-top: 30px;
    }
}

@media (max-width: 330px){
    .center-text-block{
        position: absolute;
        width: 63%;
        right: 24%;
        margin: 0 auto;
        top: 25%;
        color: #000000;
        z-index: 100;
    }
    
    .heading{
        padding-bottom: 10px;
        font-size: 14px;
        font-weight: 700;
    }
    
    .para-text{
        font-size: 10px;
        font-weight: 100;
    }

    .para-break{
        padding-top: 30px;
    }
}

/* .image-block-left-60{
    position: relative;
    float: left;
    width: 45%;
    height: 55%;
    top: 35%;
    left: 5%;
    background-color: #fff;
    display: inline-block;
}

.image-block-left-60::before{
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background: #fff;
    position: absolute;
    left: -7%;
    bottom: 20%;
}

.p2-picture{
    width: 100%;
    height: auto;
    position: absolute;
    left: 10%;
    bottom: 10%;
}

.text-block-right-40{
    position: relative;
    width: 40%;
    height: 65%;
    top: 15%;
    display: inline-block;
}

@media (max-width: 692px)   {
    .image-block-left-60{
        position: relative;
        float: none;
        width: 100%;
        height: 40%;
        top: 25%;
        background-color: #fff;
        display: inline-block;
    }
    
    .text-block-right-40{
        position: relative;
        width: 40%;
        display: inline-block;
        margin-left: 5%;
    }
    
}

.text-heading{
    font-size: 54px;
    font-weight: 900;
} */

/* page 3 */

.white-bg{
    background-color: #eeeeee;
    padding: 6.75%;
    opacity: 0.95;
}

.white-bg::before{
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #eeeeee;
    opacity: 0.75;
    position: absolute;
    left: -5%;
    bottom: -6%;
    -webkit-animation: updowndown 2s linear infinite alternate;
            animation: updowndown 2s linear infinite alternate;
}

.white-bg::after{
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #eeeeee;
    opacity: 0.75;
    position: absolute;
    right: -5%;
    top: -6%;
    -webkit-animation: updownup 2s linear infinite alternate;
            animation: updownup 2s linear infinite alternate;
}

@-webkit-keyframes updownup {
    0% { -webkit-transform: translateY(0); transform: translateY(0); }
    100% { -webkit-transform: translateY(-20px); transform: translateY(-20px); }
}

@keyframes updownup {
    0% { -webkit-transform: translateY(0); transform: translateY(0); }
    100% { -webkit-transform: translateY(-20px); transform: translateY(-20px); }
}

@-webkit-keyframes updowndown {
    0% { -webkit-transform: translateY(0); transform: translateY(0); }
    100% { -webkit-transform: translateY(20px); transform: translateY(20px); }
}

@keyframes updowndown {
    0% { -webkit-transform: translateY(0); transform: translateY(0); }
    100% { -webkit-transform: translateY(20px); transform: translateY(20px); }
}

@media (max-width: 768px){

.white-bg{
    background-color: #eeeeee;
    padding: 7%;
    opacity: 0.95;
    }    

.white-bg::before{
    display: none;
}

.white-bg::after{
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #eeeeee;
    opacity: 0.75;
    position: absolute;
    right: -10%;
    top: -7%;
}
}

@media(max-height:800px){
    .white-bg{
        background-color: #eeeeee;
        padding: 6vh;
        opacity: 0.95;
    }
}

@media(max-height:768px){
    .white-bg{
        background-color: #eeeeee;
        padding: 4.5vh;
        opacity: 0.95;
    }
}

/* page 4 */

.p4background{
    background-image: url(../img/squarebg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

/* page 5 */

.p5background{
    background-image: url(../img/p2bg6.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

/* contact form  */

.nameemail{
    position: absolute;
    left: 10%;
}

input{
    border-radius: 3px;
    width: 60%;
    padding: 10px;
    margin-bottom: 15px;
}

.dropdown{
    padding: 10px;
    width: 40%;
    border-radius: 3px;
}

.dropdown-label{
    position: absolute;
    left: 10%;
}

.message{
    position: absolute;
    left: 10%;
    margin-top: 10px;
}

textarea{
    border-radius: 3px;
    width: 60%;
    padding-bottom: 50px;
    padding-left: 5px;
    padding-right: 30px;
    margin-top: 15px;
}

.contact-forms{
    position:absolute;
    width:80%;
    right: 0;
    left: 0;
    margin: 0 auto;
    top: 22.5%;
    color: #eeeeee;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 40px;
    border-radius: 5px;
    max-width: 1200px;
}

.contact-title{
    font-size: 70px;
    font-weight: 900;
    text-align: center;
}

.contact-text{
    font-size: 20px;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.form-group{
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.controls{
    text-align: center;
}

.required{
    padding: 10px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 100;
    color:#929292;
}

.herobuttonform {
    border:2px solid #eeeeee;
    background-color: rgba(255, 255, 255, 0);
    color: #eeeeee;
	display:inline-block;
	cursor:pointer;
	font-size:16px;
    width: 200px;
    padding: 8px;
    text-align: center;
    outline: none;
    text-decoration: none;
    -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out, color 0.3s ease-out;
    transition: background-color 0.3s ease-out, color 0.3s ease-out;
    border-radius: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.herobuttonform:hover, 
.herobuttonform:active {
    background-color: #ffffff00;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff; /* fallback */
    border-color: rgba(255, 255, 255, 0.4);
    -webkit-transition: background-color 0.5s ease-in, color 0.3s ease-in;
    -o-transition: background-color 0.5s ease-in, color 0.3s ease-in;
    transition: background-color 0.5s ease-in, color 0.3s ease-in;
}

.privacy-contact{
    font-size: 10px;
    padding: 20px;
    text-align: center;
}

@media(max-height:768px){
    .contact-title {
        font-size: 60px;
        font-weight: 900;
        text-align: center;
    }

    .contact-text {
        font-size: 15px;
        padding: 15px;
        text-align: center;
        width: 100%;
    }

    input {
        border-radius: 3px;
        width: 60%;
        padding: 10px;
        margin-bottom: 10px;
    }

    .dropdown {
        padding: 10px;
        width: 40%;
        border-radius: 3px;
    }

    textarea {
        border-radius: 3px;
        width: 60%;
        padding-bottom: 50px;
        padding-left: 5px;
        padding-right: 30px;
        margin-top: 15px;
    }

    .required {
        padding: 5px;
        font-size: 10px;
        text-transform: uppercase;
        font-weight: 100;
        color: #929292;
    }
}

@media(max-height:568px){

    .contact-text {
        font-size: 15px;
        padding: 3px;
        text-align: center;
        width: 100%;
    }
}

@media (max-width:750px){
    .nameemail{
        position: absolute;
        left: 6%;
        font-size: 9px;
    }
    
    input{
        border-radius: 3px;
        width: 57%;
        padding: 5px;
        margin-bottom: 15px;
    }
    
    .dropdown{
        padding: 5px;
        width: 60%;
        border-radius: 3px;
    }
    
    .dropdown-label{
        position: absolute;
        left: 6%;
        font-size: 9px;
    }
    
    .message{
        position: absolute;
        left: 6%;
        margin-top: 10px;
        font-size: 9px;
    }
    
    textarea{
        border-radius: 3px;
        width: 60%;
        padding-bottom: 20px;
        padding-left: 5px;
        padding-right: 30px;
        margin-top: 10px;
    }
    
    .contact-forms{
        position: absolute;
        width: 80%;
        right: 0;
        left: 0;
        margin: 0 auto;
        top: 22.5%;
        color: #eeeeee;
        z-index: 100;
        background-color: rgba(0, 0, 0, 0.75);
        padding: 8px;
        border-radius: 5px;
        max-width: 1200px;
    }
    
    .contact-title{
        font-size: 25px;
        padding-bottom: 5px;
        font-weight: 900;
        text-align: center;
    }
    
    .contact-text{
        font-size: 12px;
        text-align: center;
        width: 100%;
    }
    
    .form-group{
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    
    .controls{
        text-align: center;
    }
    
    .required{
        padding: 5px;
        font-size: 8px;
        text-transform: uppercase;
        font-weight: 100;
        color: #929292;
    }
    
    .herobuttonform {
        border: 2px solid #eeeeee;
        background-color: #ffffff00;
        color: #eeeeee;
        display: inline-block;
        cursor: pointer;
        font-size: 12px;
        width: 200px;
        padding: 8px;
        text-align: center;
        outline: none;
        text-decoration: none;
        -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        -o-transition: background-color 0.3s ease-out, color 0.3s ease-out;
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
        border-radius: 5px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }
    .herobuttonform:hover, 
    .herobuttonform:active {
        background-color: #ffffff00;
        background-color: rgba(255, 255, 255, 0.1);
        border-color: #fff; /* fallback */
        border-color: rgba(255, 255, 255, 0.4);
        -webkit-transition: background-color 0.5s ease-in, color 0.3s ease-in;
        -o-transition: background-color 0.5s ease-in, color 0.3s ease-in;
        transition: background-color 0.5s ease-in, color 0.3s ease-in;
    }
    
    .privacy-contact{
        font-size: 9px;
        padding: 0px;
        text-align: center;
    }
}

