/*------------------------------------------------------------------
Ehshan's css framework
 -------------------------------------------------------------------*/

/* Custom fonts */

@font-face {
    font-family: Aileron;
    src:    url(../fonts/Aileron-Light.otf) format('opentype'),
            url(../fonts/Aileron-Light-webfont.eot?#iefix) format("embedded-opentype");
}

@font-face {
    font-family: Aileron_Thin;
    src:    url(../fonts/Aileron-Thin.otf) format('opentype'),
            url(../fonts/Aileron-Thin-webfont.eot?#iefix) format("embedded-opentype");
}

@font-face {
    font-family: Aileron_Ultra_Light;
    src:    url(../fonts/Aileron-UltraLight.otf) format('opentype'),
            url(../fonts/Aileron-UltraLight-webfont.eot?#iefix) format("embedded-opentype");

}

@font-face {
    font-family: Aileron_Bold;
    src:    url(../fonts/Aileron-Bold.otf) format('opentype'),
            url(../fonts/Aileron-Bold-webfont.eot?#iefix) format("embedded-opentype");
}

@font-face {
    font-family: Nautilus;
    src:    url(../fonts/Nautilus.otf) format('opentype'),
            url(../fonts/Nautilus-webfont.eot?#iefix) format("embedded-opentype");

}


/* Reset */

html, body, h1, h2, h3, h4, h5, h6, p, blockquote, ol, ul, li, figure, figcaption, form, fieldset, label, legend, dl, dt, dd, table, td, th, caption {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

html, body{
    height: 100%;
}


img {
    border:none;
}

ul, ol {
    list-style-type: none;
}

/* Sane defaults */

body {
    font-family: 'Aileron', sans-serif;
    color: #000000;
    background-color: #ffffff;
}

section, article, header, footer, nav, aside, main {
    display: block;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    color: #000000;
    font-family: 'Aileron_Ultra_Light', sans-serif;
}

h2 {
    font-size: 2em;
    margin-bottom: 0.25em;
}

h3 {
    font-size: 1.5em;
}

a:link, a:visited {
    color: #000000;
}

a:hover, a:focus {
    color: #000000;
}

img {
    border: medium none;
    color: transparent;
    font-size: 0;
}
/*------------------------------------------------------------------
Page Header
 -------------------------------------------------------------------*/

#pageheader{
    background-color: rgba(8, 143, 154, 0.5);
    width: 100%;
    position: fixed;
    overflow: auto;
    z-index:99;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -ms-transition:all 1s;
    -o-transition: all 1s;
}



/* Primary nav */


#primary {
    width:80%;
    margin: 0 auto;
}

#pageheader nav {
    padding: 0;

}

/* title */


#logowrapper{
    padding-left: 0.5em;
}

.logo_wrapper {
    margin: 0 auto;
    padding: 1em;
    max-width: 100%;
}

#title{
    float: left;
    max-width: 20%;
    overflow: hidden;
}

#navwrapper{
    margin: 0 auto;
}

img.left {
    margin: 0 auto;
    max-width: 250px;
    vertical-align: middle;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -ms-transition:all 1s;
    -o-transition: all 1s;
}

#topnavbar {
    margin: 0 auto;
    overflow: hidden;
    list-style: none outside none;
    float: right;
    display: block;

}

#pageheader nav li {
    float: left;
    display: inline;
}

#pageheader nav li:last-child {

}

#pageheader nav li a {
    font-size:1.23em;
    text-align:center;
    display:block;
    padding: 1.4em;
    text-decoration:none;
    color:#ffffff;
    border-right:1px solid #ccc;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -ms-transition:all 1s;
    -o-transition: all 1s;
}

#pageheader nav li:first-child {
    display: none
}


#pageheader nav li:nth-child(2){
    border-left: 1px solid #ccc;
}


#pageheader nav li a:focus, #pageheader nav li a:hover {
    color:#000000;
    background-color:#ffffff;
    -webkit-transition:background-color 200ms linear;
    -moz-transition:background-color 200ms linear;
    -o-transition:background-color 200ms linear;
    -ms-transition:background-color 200ms linear;
    transition:background-color 200ms linear;
}

#pageheader nav li.currentpage a {
    background-color:#000000;
    color:#fff;
}

/*Responsive menu using javascript*/

#rMenu{
    display: none;
}


#color_strip {
    background: #3dffd6 linear-gradient(to right, #CC7985 5%, #ffffff 55%);
    min-height: 5px;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -ms-transition:all 1s;
    -o-transition: all 1s;
}


/*------------------------------------------------------------------
content
-------------------------------------------------------------------*/

.textwrapper{
    height: auto;
    max-width: 100%;
    background-color: white;
}


.content {
    width: 80%;
    margin: 0 auto;
    padding-top: 2em;
    padding-bottom:2em;

}


/*------------------------------------------------------------------
Introduction
 -------------------------------------------------------------------*/
.height{
    min-height: 300px;
}


#intro {
    /*background-color: rgba(000, 000, 000, 0.5);*/
    /*min-height: 101%;*/
}

#intro h3{
    color:white;
}

.home{
    padding-top: 20%;
}

.home h1, h4, p{
    text-align: center;
    color: white;
}

.home h3{
    font-size: 2em;
    margin-bottom: 0.5em;
}

.home h4{
    margin: 0.5em 0;
    font-size: 3em;
}

.home h1{
    margin: 0.5em 0;
    font-size: 4em;
}

.home span{
    font-size: 0.75em;
}

.home a{
     background-color:rgba(8,143,154,0.5);
     border: 2px solid #fbfbfb;
     border-radius: 0;
     color: #fff;
     cursor: pointer;
     font-weight: 100;
     transition: all 0.2s ease-in-out 0s;
     width: 100%;
     text-decoration: none;
     font-size: 0.75em;
     float: right;
 }



.home a:hover{
    background-color:rgba(255,255,255,0.5);
    color: rgb(000, 000, 000);
    border: rgb(000, 000, 000) solid 3px;
}

#buttons{
    margin: 0 auto;
    width: 30%;
}

.button_container{
    width: 50%;
    margin: 0 auto;
    float: left;
}

.contact_button{
    width: 50%;
    margin: 0 auto;
}

img.logo_icon {
    margin: auto;
    padding-right: 1em;
}

/*------------------------------------------------------------------
main
 -------------------------------------------------------------------*/

#about{
    /*background-image: url();*/
    /*border-bottom: 1px soild #000000;*/
}

.pagebody {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    width: 80%;
    margin: 0 auto;
    /*min-height: 750px;*/
}

.description{
    margin: 0 auto;

}


.description  h1, h2, h3{
    text-align: center;
    font-family: Aileron_Ultra_Light, sans-serif;
}

.description h1, h2{
    color: #088F9A;
}

.description h1{
    font-size: 3em;
}

.description h2{
    font-size: 2em;
}

.description p{
    color: black;
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 1em;
}

.description span{
    font-family: Nautilus, serif;
}

#partnership {
    width: 65%;
    padding: 2em 0;
}

#partnership p{
    text-align: center;
    color: black;
    font-size: 1.5em;
}

.twocolumn{
    width: 100%;
}

.twenty-five{
    width: 25%;
    float: left;
}

.twenty-five h3{
    font-size: 2.5em;
}

.twenty-five p{
    font-size: 1.15em;
}

.appstorewrapper{

    padding-top: 7.5em;
    padding-bottom: 1.5em;
    width: 80%;
    margin: 0 auto;
}


.twenty{
    width: 20%;
    float: left;
}

.twenty h3{
    font-size: 1.75em;
}

.twenty p{
    font-size: 1.15em;
}

.thirty_three{
    width: 33.3%;
    float: left;
}

/* uncomment for columns to be same width as twenty-five*/

/*.thirty_three:first-child{*/
    /*margin-left: 12.5%;*/
/*}*/

/*.thirty_three:last-child{*/
    /*margin-right: 12.5%;*/
/*}*/

.twocolumn_info {
    background-color:rgba(8,143,154,0.5);
    border-radius: 1em;
    padding: 1em;
    max-width: 100%;
    margin: 0.5em;
}

.twocolumn_info a{
    text-decoration: none
}

.twocolumn_info h3{
    color: white;
    padding-bottom: 1em;
}

img.center {
     margin: 0 auto;
     max-width: 100%;
 }

img.popup {
    float: left;
    max-width: 50%;
    margin-right: 10em;
}

.hover_block {
    overflow: hidden;
    position: relative;
}


.hover_info {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.hover_info h3{
    background: none repeat scroll 0 0 rgb(000, 000, 000);
    color: #f5f5f5;
    font-size: 2.5em;
    font-weight: 100;
    left: -150%;
    position: absolute;
    top: 20%;
    transition: left 200ms linear 0s;
}

.hover_info p{
    background: none repeat scroll 0 0 rgb(97, 121, 128);
    color: #f5f5f5;
    font-size: 2em;
    font-weight: 100;
    left: -150%;
    margin: 10px 15px 10px 0;
    position: absolute;
    transition: left 200ms linear 0s;
}

.hover_info a {
    background: none repeat scroll 0 0 rgb(8, 146, 154);
    color: #f5f5f5;
    /*font-size: 25px;*/
    padding: 1em;
    text-decoration: none;
}

.hover_info p a {
    /*font-size: 20px;*/
}


.hover_info:hover h3 {
    left: 0;
    transition-delay: 250ms;
    -webkit-transition-delay: 250ms;
    -moz-transition-delay: 250ms
}

.hover_info:hover p {
    left: 0;
    opacity: 1;
    transition-delay: 600ms;
    -webkit-transition-delay: 600ms;
    -moz-transition-delay: 600ms
}


.hover_info:hover a {
    right: 0;
    transition: right 200ms linear 700ms, color, background 200ms linear;
    -webkit-transition: right 200ms linear 700ms, color, background 200ms linear;
    -moz-transition: right 200ms linear 700ms, color, background 200ms linear
}

.hover_info a:hover {
    background:#617980;
    color: #000000;
    text-decoration: none
}

.hover_info :hover h4 {
    left: 0;
    transition-delay: 250ms;
    -webkit-transition-delay: 250ms;
    -moz-transition-delay: 250ms
}

.block.trans_in{
    /*width: 125%;*/
    /*height: 165%;*/
    /*top: -32.5%;*/
    /*left: -12.5%;*/
    /*background: rgba(0, 0, 0, 0.8);*/
    /*position: absolute;*/
    /*transform: scale(0);*/
    /*-webkit-transform: scale(0);*/
    /*transition: all 250ms linear;*/
    /*-webkit-transition: all 250ms linear;*/
    width: 125%;
    height: 165%;
    right: -10%;
    /*left: -10%;*/
    top: 0%;
    /*top: -100%;*/
    /*border-radius: 50%;*/
    /*background: rgba(0, 0, 0, 0.5);*/
    background: url("../images/SABMiller_logo_240.png") no-repeat -400px 0;
    position: absolute;
    transform: scale(0);
    -webkit-transform: scale(0);
    transition: all 250ms linear;
    -webkit-transition: all 250ms linear;
}


.block:hover .trans_in{
    transform: scale(1);
    -webkit-transform: scale(1)
}


.cover{
    background-color: rgba(8, 143, 154, 0.5);
    padding: 0.7em 0;
}

.fifty{
    width: 50%;
    float: left;
}


.seventy-five{
    width: 75%;
    float: left;
    padding-bottom: 1.5em;
}


.work_info {
    background-color: #e4e4e4;
    background-color:rgba(8,143,154,0.1);
    border-radius: 1em;
    /*background-color: white;*/
    /*border: 1px solid black;*/
    padding: 1em;
    margin: 0 1em 0 auto;
    max-width: 100%;

}

.work_info img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}


#see_mozi{
    width: 65%;
    padding: 2em 0;
}


.about_text{
    padding-top: 350px;
}

.about_text h1{
    color: white;
    font-size: 4em;
    margin: auto;
    /*text-shadow: 5px 5px 10px #000000;*/
}

.about_text em{
    background-color: rgba(8,146,154,0.5);
    font-style: normal;
    padding: 0 0.25em;
}

.about_para{
    width: 80%;
}

/*------------------------------------------------------------------
button
 -------------------------------------------------------------------*/

.button h4{
    font-family: 'Aileron_Ultra_Light', sans-serif;
    margin: 0.5em 0;
    font-size: 2em;
}


.button span{
    /*background-color: rgb(000, 000, 000, 0,5) none repeat scroll 0 0;*/
    padding-right: 1em;
}

.button a{
    background-color:rgba(8,146,154,0.8);
    border: 2px solid #088F9A;;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-weight: 100;
    transition: all 0.2s ease-in-out 0s;
    width: 100%;
    text-decoration: none;
    font-size: 0.75em;
    padding: 0.25em 0.5em;
}

.button a:hover{
    background-color:rgba(8,143,154,0.5);
    color: rgb(255, 255, 255);
    border: 2px solid #088F9A;;
}

.home_button a{
    border: 2px solid #088F9A;;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-weight: 100;
    transition: all 0.2s ease-in-out 0s;
    width: 90%;
    text-decoration: none;
    font-size: 0.75em;
    margin: 0 0.5em;
    padding: 0.25em;
}

.home_button a:hover{
    background-color:rgba(8,143,154,0.2);
    color: rgb(255, 255, 255);
    border: 2px solid #088F9A;
}


.faq_scroll a{
    font-size: 20em;
    padding: 0;
    color: white;
    cursor: pointer;
    font-weight: 100;
    transition: all 0.2s ease-in-out 0s;
    width: 100%;
    text-decoration: none;
    top: -20%;
}

.faq_scroll a:hover{
    color:rgba(8,143,154,1);
}


/*------------------------------------------------------------------
parallax overlay text
 -------------------------------------------------------------------*/

/*homepage top aligned*/
.overlay_text h1{
    line-height: 75px;
    padding-left: 100px;
    color: white;
    font-size: 3em;
    text-shadow: 5px 5px 20px #000000;
    background-color: rgba(0, 0, 0, 0.3);
}

/*height for solutions page*/
#parallax_text{
    padding-top: 413px;
    text-align: center;
}

/*height for ourwork page*/
#hero_text{
    padding-top: 691px;
}

/*text format*/
.image_text h1{
    margin: auto;
    /*width: 50%;*/
    /*vertical-align:middle;*/
    color: white;
    font-size: 3em;
    text-shadow: 1px 1px 10px #515151;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 10px #515151;;
}

#parallax_text.image_text h1{
    font-size: 5em;
}

#hero_text.image_text h1{
    padding-left: 2em;
}



/*------------------------------------------------------------------
logos
 -------------------------------------------------------------------*/
img.logo {
    margin: 0 auto;
    max-width: 100%;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: gray;
    -webkit-filter: grayscale(100%);
}

img.logo:hover {
    filter: none;
    -webkit-filter: grayscale(0%);
}


/*------------------------------------------------------------------
form
 -------------------------------------------------------------------*/

.formwrapper{
    max-width:50%;
}

#contactwrapper {
    /*padding-top: 7em;*/
    width: 80%;
    margin: 0 auto;
    max-width: 600px;
}

.contactheader{
    height:45px;
    background-color:rgba(8,143,154,0.7);
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.contactheader h1{
    font-size: 2em;
    font-family:  'Aileron_Ultra_Light', sans-serif;
    padding: 0.25em;
    color: #ffffff;
}

.contactheader span{
    padding-right: 0;
}

.submitheader{
    background: url("../images/SABMiller_logo_240.png") no-repeat -400px 0;
}

.submitheader h1{
    font-size: 2em;
    font-family:  'Aileron_Ultra_Light', sans-serif;
    padding-bottom: 0.25em;
    margin-top: 200px;
}

.contacterror{
    font-size: 2em;
    font-family:  'Aileron_Ultra_Light', sans-serif;
    color: black;
}


textarea, input, select, option, button {
    font-family:  'Aileron_Ultra_Light', sans-serif;
    border: 3px solid rgba(0, 0, 0, 0);
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
    color: #000000;
    font-size: 18px;
    font-weight: 100;
    transition: all 0.3s ease-in-out 0s;
}

@-moz-document url-prefix() {
    select {
        padding:0;
    }
}

input :focus {
    border: 3px solid #000;
    box-shadow: none;
    color: #000000;
    outline: medium none;
    transition: all 0.3s ease-in-out 0s;
}

label {
    font-weight: bold;
    float: left;
    width: 100%;
}

label span{
    color: rgb(97, 121, 128);
}

form {
    border: none;
}

fieldset {
    padding: 1em;
    /*border-bottom-right-radius: 5px;*/
    /*border-bottom-left-radius: 5px;*/
    border-radius: 5px;
    /*border: 2px soild #000000 ;*/
    max-width: 100%;
    margin: 0 auto;
    /*background-color:rgba(8,143,154,0.3);*/
    background-color:rgba(255,255,255,1);

}

legend{
    padding-top: 2.5em;
}


.controlgroup {
    padding-bottom: 1em;
    clear: left;
    color: #000000;
}

.contact textarea, input[type=text], input[type=email] {

}

#msg{
    padding: 1em;
    font-size: 18px;
    min-height: 200px;
}

.form_inner{
    border: 1px solid #088F9A;
    border-radius: 4px;
}

.form_fifty{;
    float: left;
    width: 50%;
    /*font-size: 1.5em;*/
   padding-bottom: 1em;
}

.form_container{
    margin: 0 0.25em;
}


.contact textarea {
    height: 10em;
    /*border: 2px solid #088F9A;*/
}

.contact legend {
    font-size: 1.5em;
}

#details{
    border: #000000 solid 1px;
}

#send {
    border: #1b6d85 solid 1px;
    border-radius: 5px;
    cursor:pointer;
    background: rgb(255, 255, 255);
    color: #000000;
    font-size:24px; padding: 20px 0;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
    font-weight:100; width: 100%
}

#send:hover{
    background-color:rgba(8,143,154,0.7);
    color: rgb(255, 255, 255);
    border: rgb(255, 255, 255) solid 1px;
}

.close_button{
    clear: both;
    background-color:#fff;
    border: 0 none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: auto;
    font-family: aileron, Helvetica, Arial, sans-serif;
}


/*------------------------------------------------------------------
newsletter
 -------------------------------------------------------------------*/

#mc_embed_signup{
    /*background:#fff;*/
    /*clear:left;*/
    /*font-family: aileron, Helvetica, Arial, sans-serif;*/
    /*border-radius: 4px;*/

}

#mc_embed_signup .news_button {
    clear: both;
    background-color:rgba(8,143,154,0.7);
    border: 0 none;
    border-radius: 4px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: auto;
    font-family: aileron, Helvetica, Arial, sans-serif;

}
/*------------------------------------------------------------------
contact
 -------------------------------------------------------------------*/

#contact_details{
    /*display: inline-block;*/
}

#contact_details li{
    font-size: 1.5em;
    padding-bottom: 0.5em;
    margin-left: 10px;
}

img.icon{
    float: left;
    margin-right: 20px;
}

#contact_details a{
    text-decoration: none;
}


.address{
    font-size: 0.65em;
}


.address_line{
    margin-right: 20px;
    padding-bottom: 0;
}

#contact_detail li a {
    /*margin-right: 10px;*/
    text-decoration: none
}

.address{
    float: left;
}


.contact_fm{
    width: 80%;
    margin: 0 auto;
}

.contact_error p{
    text-align: center;
}

/*------------------------------------------------------------------
map - embedded to contact page
 -------------------------------------------------------------------*/

#map{
    height: 600px;
    width: 100%;
    background-color: #cccccc;
    margin: 0 auto;
}

/*------------------------------------------------------------------
background video
 -------------------------------------------------------------------*/

#moor{
    font-weight:100;
    color:#fff;
    padding-top:3rem;
    margin: 0 auto;
    /*background:rgba(255,255,255,0.8);*/
    font-size:1.2rem;
    height: 100%;
}

/*------------------------------------------------------------------
explore
 -------------------------------------------------------------------*/

#vidwrapper{
    /*background-color: rgba(000, 000, 000, 0.5);*/
    height: 100%;
    overflow: hidden;
}

.explore{
    margin:5rem auto;
    width: 80%;
}

.explore_box{

}

#featureswrapper{
    margin-right: 2em;
}

#featureswrapper h1{
    text-align: center;
    padding: 2em 0 1em 0;
    font-size: 2em;
    /*color:#088F9A;*/

}

#featuresswrapper p{
    font-size: 2em;
    color: black;
}

#featu--res{

}

#features > li{
    font-size: 1.5em;
    color: #088F9A;
    padding-bottom: 0.5em;
}

#features > li ul li{
    font-size: 0.5em;
    color: black;
}


/*------------------------------------------------------------------
solutions
 -------------------------------------------------------------------*/

.solutions_wrapper {
    padding-top: 1em;
}

.solutions_wrapper h3{
    /*font-size: 1em;*/
    /*margin-bottom: 1em;*/
    color: #088F9A;
    margin: 0 5em 1em 5em;

}

.solutions_wrapper p{
    color: black;
    font-size: 1.25em;
    margin: 0 5em 2.5em 5em;
    /*margin-bottom: 1em;*/
}

.solutions_wrapper .twenty-five p, .solutions_wrapper .thirty_three p{
    color: white;
}

.solutions_wrapper ul{
    padding-bottom: 1em;
}

.solutions_wrapper span{
    font-family: Nautilus, serif;
}

.solutions_wrapper li{
    /*padding-left: 2em;*/
    /*padding-bottom: 0.5em;*/
    padding: 0.25em 5em 1em 3em;
    font-size: 1em;
    background: url(../images/icons/play_smallest.png) no-repeat left top;
}

.solutions_wrapper ul span{
    padding-left: 60px;
    height: 100px;
    padding-bottom: 3.5em;
    /*background: url(../images/play_smallest.png) no-repeat left top;*/
    font-family: aileron, Helvetica, Arial, sans-serif;

}

/*------------------------------------------------------------------
Solutions animated
 -------------------------------------------------------------------*/
.edu_animated_top, .edu_animated_bottom{
    visibility: hidden;
}

/*------------------------------------------------------------------
Our Work
 -------------------------------------------------------------------*/

#case_studies{
    /*padding-top: 2.5em;*/
    margin-bottom: 1em;
}

.work_wrapper {
    padding-top: 1em;
}

.work_wrapper h1{
    font-size: 3em;
    margin-bottom: 0.5em;
    text-align: center;
}

.work_wrapper h3{
    font-size: 2em;
    margin-bottom: 1em;
    color: #088F9A;
}

.work_wrapper p{
    text-align: center;
    color: black;
    font-size: 1.5em;
    margin: 0 auto;
    padding-bottom: 1.5em;
    max-width: 65%;

}

/*------------------------------------------------------------------
faqs
 -------------------------------------------------------------------*/

.faqs{
    padding-top: 15%;

}

.faq_heading{
    padding-bottom: 0.5em;
    cursor: pointer;
}

/*------------------------------------------------------------------
contact page
 -------------------------------------------------------------------*/

.contactform{
    margin: 0 auto;
    padding-top: 5em;
    width: 80%;
}

.contactpage{
    margin: 0 auto;
}

.contactformwrapper{
    width: 50%;
    margin: 0 auto;
    padding-bottom: 2em;
}


/*------------------------------------------------------------------
popup
 -------------------------------------------------------------------*/

.popup h1{
    font-size: 1.5em;
    padding-bottom: 3em;
    text-align: left;

}

#sab_popup{
   background-color: rgba(255, 255, 255, 0.8);
}

#total_popup{
    background-color: rgba(255, 255, 255, 0.8);
}

.casestudy_popup{
    background-color: rgba(255, 255, 255, 0.8);
}

.popup_image_container{
    width: 100%;
    padding-right: 2em;
}

/*------------------------------------------------------------------
sixty_five
 -------------------------------------------------------------------*/

.sixty_five{
    width:65%;
    margin: 0 auto;
}

/*------------------------------------------------------------------
mozi_green
 -------------------------------------------------------------------*/

.mozi_green{
    background-color: rgba(8, 143, 154, 1);
}


/*------------------------------------------------------------------
Three Column
 -------------------------------------------------------------------*/

.three_column{
    width:30%;
    float: left;
    background-color: #ffffff;
    border-radius: 0.375em;
    box-shadow: 2.5px 2px 1px #D4AF37;
    padding: 1em;
    margin: 0.5em;
}

.three_column h3,p{
    float: none;
    margin-left: 0;
}
.three_column h3{
    margin-bottom: 0.5em;
    border-bottom: 1px solid #d4af37;
}

.three_column  a{
    text-decoration: none
}

/*------------------------------------------------------------------
back to top arrow
 -------------------------------------------------------------------*/

#back_to_top {
    background: url(../images/icons/arrow.png) no-repeat 0 0;
    opacity: 1;
    display: none;
    cursor: pointer;
    bottom: 20px;
    height: 50px;
    margin-right: 20px;
    position: fixed;
    right:0;
    width: 50px;
    z-index: 10
}


/*------------------------------------------------------------------
footer
 -------------------------------------------------------------------*/


/* Page footer */
#pagefooter {
    clear: both;
    background-color: #E6E6E6;
    /*border-top: 2px solid #B0B0B0;*/
    line-height: 1.5em;
    margin-top: 3px;
    padding: 1em 0 1em 0.25em;
    font-size: 1em;
    overflow: hidden;
}


#footerinner{
    width: 80%;
    margin: 0 auto;
}

#pagefooter h3{
    text-align: left;
    padding-bottom: 1em;
}

#pagefooter .twenty-five h3{
    font-size: 1.75em;
}

#pagefooter p {
    float: left;
    color: black;
    padding-top: 1.5em;
}

#pagefooter ul {
    /*float: right;*/
}

#pagefooter li {
    /*float: left;*/
    padding-right: 1em;
    margin-right: 1em;
    /*border-right: 1px solid #cad2db;*/
}


#pagefooter li:last-child {
    padding-right: 0;
    margin-right: 0;
    border: none;
}

#pagefooter a:link, #pagefooter a:visited {
    color:#000000;
    text-decoration: none;
}

.clear{
    clear: both;
}

.common_links{
    float: left;
    margin-bottom: 1em;
}

.common_links li{
    font-size: 1em;
}

#social{
    display: inline-block;
}


/*------------------------------------------------------------------
Responsive
-------------------------------------------------------------------*/
@media screen and (max-width: 1450px) {
    img.left{
        max-width: 200px;
    }

    #pageheader nav li a {
        padding: 1em;
    }
}


@media screen and (max-width: 1300px) {

    #primary {
        width: 90%;
    }

    #pagebody {
        width: 90%;
    }

    #title{
        padding-top: 0.5em;
    }

    .home h1, h4{
    font-size: 3em;
    }

    .home h4{
        font-size: 2.5em;
    }

    .home h3{
        font-size: 1.5em;
    }


    img.left{
        max-width: 150px;
    }

    #features > li{
        font-size: 1em;
    }

    .formwrapper{
        max-width:65%;
    }

    .twenty {
        width: 33.3%;
    }

    .twenty:nth-last-child(2){
        margin-left:15%;
    }

    .contact_fm{
        width: 100%
    }

   #contact_details{
        text-align: center;
    }

   .faq_scroll a{
       font-size: 5em;
   }

}


@media screen and (max-width: 1200px) {

    .form_container {
        margin: 0;
    }

    .image_text h1{
        font-size: 3em;
    }
}

@media screen and (max-width: 1100px) {

    #primary {
        width: 100%;
    }

    #pagebody {
        width: 100%;
    }

    /*.home h1, h4{*/
        /*font-size: 2em;*/
    /*}*/

    .thirty_three,.twenty-five, .twenty {
        width: 50%;
    }

    .thirty_three:nth-last-child(2),.twenty:nth-last-child(2){
        margin-left:0%;
    }

    .thirty_three:last-child,.twenty:last-child{
        width: 50%;
        margin: 0 25%;
    }


    #pageheader nav li a {
        padding: 0.5em;
    }

    img.left{
        max-width: 100px;
    }

    #title{
        padding-left: 1em;
    }

    .formwrapper {
        max-width:75%;
    }


    .seventy-five{
        width: 100%
    }

}

@media screen and (max-width: 1000px) {

    #pagebody {
        padding-top: 1em;
    }

    #navwrapper {
        width: 100%;
        overflow: hidden;
    }

    #pageheader {
        position: relative;
        background-color: rgba(8, 143, 154, 1);
    }

    #title {
        display: none;
    }

    #pageheader nav li.currentpage a {
        background-color: #000000;
        color: #ffffff;
    }

    #pageheader nav {
        float: none;
        clear: both;
    }

    #pageheader nav li {
        float: none;
        margin-right: 0;
        margin-bottom: 0.5em;
        border-top: none;
    }

    #pageheader nav ul {
        width: 100%;
        display: none;
    }

    /*#pageheader nav li:first-child {*/
        /*border-left: none;*/
    /*}*/

    #pageheader nav li:nth-child(2){
        border-left: none;
    }

    /*
    Make the nav bar item links display vertically
    */
    #pageheader nav li a {
        float: none;
        border-right:none;
        border-top: 1px solid #ccc;
        padding: 30px 0 30px 10px;
        font-size: 2em;
        text-align: left;
        overflow: hidden;
    }


    /* Show home tab in navbar */
    #pageheader nav li:first-child {
        display: inline;
    }


    .show-menu {
        display: block;
    }

    #rMenu {
        display: block;
        color: white;
        text-decoration: none;
        position: relative;
    }

    #rMenu:after {
        content: "mozi";
        float: left;
        font-size: 3em;
        text-shadow: 1px 1px 0 #999999;
        font-family: 'Nautilus', serif;
        padding: 15px;
        width: 100%;
        height: 65px;
        display: inline-block;
        background: url('../images/icons/nav-icon.png') no-repeat 95% 50%;
        overflow: hidden;

    }

    .form_fifty {;
        width: 100%;
    }

}


@media screen and (max-width: 920px) {
    #title{
        max-width: 20%;
    }
}


@media screen and (max-width: 860px) {

    #pageheader nav li a {
        padding: 0.25em;
    }

    #title{
        padding-left: 0.5em;
    }

    .fifty{
        width:100%;
        padding-bottom: 1.5em;
    }

    #pagefooter .twenty-five h3{
        padding-top: 0.5em;
    }
}

@media screen and (max-width: 750px) {

    img.left{
        max-width: 75px;
    }

}

@media screen and (max-width: 700px) {

    .home {
        /*margin-top: 5.5em;*/
    }

    #pagebody {
        width: 98%;
    }

    .twenty-five {
        width: 100%;
    }

    .twenty {
        width: 100%;
    }

    .twenty:last-child{
        width:100%;
        margin: 0 ;
    }


    .overlay_text h1{
        padding-left: 50px;
        font-size: 2em;;
    }

    .formwrapper {
        max-width:100%;
    }

    #footerinner {
        width: 98%;
    }

    #pagefooter li:first-child {
        border-left: 0;
    }

    #pagefooter li {
        border-right: 0;
    }
}

/*------------------------------------------------------------------
clearfix
 -------------------------------------------------------------------*/

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}

