/* 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%;
}

img {
    border:none;
}

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

/* Sane defaults */
body {
    /*font-family:  'Raleway', sans-serif;*/
    font-family: 'Shadows Into Light', cursive;
    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;
    /*color: #C41225;*/
    /*font-family:  'Raleway', sans-serif;*/
    font-family: 'Shadows Into Light', cursive;
}

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

h3 {
    font-size: 1.5em;
}

a:link, a:visited {
    color: #000000;
    /*color: #C41225;*/
}
a:hover, a:focus {
    color: #000000;
}

/*------------------------------------------------------------------
Page Header
 -------------------------------------------------------------------*/

#pageheader{
    background-color: #000000;
    border-bottom: 1px solid #000000;
    width: 100%;
    position: fixed;
    overflow: auto;
    z-index:99;
}

#pageheader h1 {
    color: #B21225;
    float: left;
    font-size: 2em;
    text-shadow: 0.5px 0.5px 0 #999999;
    font-family: 'Permanent Marker', cursive;
    padding: 3px;
}

#pageheader h1 a{
    text-decoration: none;
    color: #ffffff;
}

#pageheader span {
    font-size: 1em;
    color: #000000;
}



/* Primary nav */


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

#pageheader nav {
    padding: 0;

}

/* title */


#logowrapper{
    padding-left: 0.5em;
}

#title{
    float: left;
}

#navwrapper{
    margin: 0 auto;
}

#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:10px 10px;
    text-decoration:none;
    color:#ffffff;
    border-right:1px solid #ccc;
    background-color:none;
    -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:first-child {
    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;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
    text-decoration: none;
    color: #fff;
    background-color:#000000;
    text-align: center;
    padding: 10px 0;
    display: none;
    cursor: pointer;
}

/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
    display: block;
}


/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #topnavbar{
    display: block;

}

/*Responsive menu using javascript*/

#rMenu{
    display: none;
}



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

.textwrapper{
    /*background-size: cover;*/
    /*background-repeat: no-repeat;*/
    /*background-image: url(../images/wall.gif);*/
    /*background-position: 50% 50%;*/
    /*height: auto;*/
    /*max-width: 100%;*/
    /*overflow: hidden;*/
    /*position: relative;*/
}


.content {
    width: 80%;
    margin: 0 auto;
    /*margin-left: 10%;*/
    /*margin-right: 10%;*/
    padding-top: 5%;
    padding-bottom: 10%;

}

.content h1{
    font-tamily:  'Raleway', sans-serif;
}

.parallax-container{
    /*transform: rotate(2.1deg) scale(1.2);*/
}

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


#intro{
    /*background-size: cover;*/
    /*background-repeat: no-repeat;*/
    /*background-image: url(../images/wall.gif);*/
    /*background-position: 50% 50%;*/
    /*height: auto;*/
    /*max-width: 100%;*/
    /*overflow: hidden;*/
    /*position: relative;*/
    background-color: rgba(000, 000, 000, 0.5);
    height: 710px;
}

.home{
    /*animation: 0.75s ease-in 3s normal forwards 1 fadein;*/
    /*float: left;*/
    /*width: 100%;*/
    /*background-color: rgba(255, 255, 255, 0.7);*/
    /*margin: 0 25%;*/
    padding-top: 20%;
    /*min-height: 500px;*/
    /*background-color: rgba(000, 000, 000, 0.5);*/
}

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

/*.home h3{*/
    /*font-family: 'Shadows Into Light', cursive;*/
    /*font-size: 6em;*/
    /*margin-bottom: 0.5em;*/
/*}*/

.home h1, h4{
    margin: 0.5em 0;
    font-size: 2em;
}

.home span{
    background-color: rgb(000, 000, 000, 0,5) none repeat scroll 0 0;
}

.home a{
    background-color:rgba(000,000,000,0.5);
    border: 3px 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;
    padding: 0 0.5em;
}

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



/*------------------------------------------------------------------
portfolio
 -------------------------------------------------------------------*/

#portfolio{
    background-image: url(../images/wall_light.gif);
    border-bottom: 1px soild #000000;
}

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

#twocolumn{
    width: 100%;
    /*padding-top: 50px;*/
}

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


.twocolumn_info {
    background-color: #e4e4e4;
    /*background-color:rgba(0,0,0,0.3);*/
    /*background-color: white;*/
    /*border: 1px solid black;*/
    margin: 0 auto;
    padding: 1em;
    max-width: 100%;
    margin: 0.5em;
}

/*.hover_block :nth-child(1)  :nth-child(1) {background-color:#FF0000;}*/

.twocolumn_info a{
    text-decoration: none
}

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

}
img {
    border: medium none;
    color: transparent;
    font-size: 0;
}

.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(97, 121, 128);
    color: #f5f5f5;
    font-size: 2.5em;
    font-weight: 100;
    left: -150%;
    margin: 10px 15px 15px 0;
    position: absolute;
    top: 25px;
    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;
    top: 115px;
    transition: left 200ms linear 0s;
}

.hover_info a {
    background: none repeat scroll 0 0 rgb(97, 121, 128);
    bottom: 25px;
    color: #f5f5f5;
    font-size: 25px;
    padding: 18px 20px;
}

.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;
}


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


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

.button h4{
    font-family: 'Shadows Into Light', cursive;
    margin: 0.5em 0;
    font-size: 2em;
}


.button span{
    background-color: rgb(000, 000, 000, 0,5) none repeat scroll 0 0;
}

.button a{
    background-color:rgba(255,255,255,0.5);
    border: 3px solid #000000;
    border-radius: 0;
    color: #000000;
    cursor: pointer;
    font-weight: 100;
    transition: all 0.2s ease-in-out 0s;
    width: 100%;
    text-decoration: none;
    font-size: 0.75em;
    padding: 0 0.5em;
}

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

/*------------------------------------------------------------------
gallery
 -------------------------------------------------------------------*/

#gallery{
    background-image: url(../images/paint_lightest.gif);
    background-repeat: no-repeat;
    /*background-attachment: fixed;*/
    background-position: 50% 100%;
}

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

#contact{
    background-image: url(../images/dabs_lightest.gif);
}

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

.contactheader h1{
    font-size: 2em;
    font-family:  'Shadows Into Light', sans-serif;
    padding-bottom: 0.25em;
}


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


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

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: 2px soild black;
    max-width:600px;
    margin: 0 auto;
    background-color: #e4e4e4;
}

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

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

}

#msg{
    padding: 1em;
    font-size: 18px;
    border: 1px solid rgba(0, 0, 0, 1);
    min-height: 200px;
}

.contact textarea {
    height: 10em;
}

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

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

#send {
    border: #000000 solid 1px;
    border-radius: 0; 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(000,000,000,0.7);
    color: rgb(255, 255, 255);
    border: rgb(255, 255, 255) solid 1px;
}

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


/* Page footer */
#pagefooter {
    clear: both;
    background-color: #ffffff;
    border-top: 3px solid #000000;
    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 p {
    float: left;
    color: black;
}

#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;
}


/*------------------------------------------------------------------
Responsive
-------------------------------------------------------------------*/

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

    #primary {
        width: 90%;
    }

    #pagebody {
        width: 90%;
    }
}


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

    #primary {
        width: 100%;
    }

    #pagebody {
        width: 100%;
    }
}



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

    #pagebody {
        padding-top: 1em;
    }

    #navwrapper {
        width: 100%;
    }

    #pageheader {
        position: relative;
    }

    #logowrapper {
        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;
    }

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

    .show-menu {
        display: block;
    }

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

    #rMenu:after {
        content: "Ehshan Veerabangsa";
        float: left;
        font-size: 1.25em;
        text-shadow: 0.5px 0.5px 0 #999999;
        font-family: 'Permanent Marker', cursive;
        padding: 3px 0;
        background: url('../images/nav-icon.png');
        background-position: 98% 50%;
        width: 100%;
        height: 30px;
        display: inline-block;
        background-repeat: no-repeat;
        overflow: hidden;

    }

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

    #pagebody {
        width: 98%;
    }

    .fifty {
        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;
}
