/*
Theme Name: Die Mould Equipment
Author: Tom Claasz
Description: Custom theme for Die Mould Equipment
*/
/*HTML5 Reset Start*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}
/*HTML5 Reset End*/

/*General Style*/
html,body{
    background-color: #FFF9F9;
    font-family: 'Open Sans', san-serif;
    font-size: 14px;
}

#wrapper{
    width: 960px;
    min-height: 400px;
    margin: 0 auto 50px auto;
    background-color: #FFF;
    box-shadow: 8px 2px 5px rgba(0,0,0,0.2) ,-8px -2px 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 8px 2px 5px rgba(0,0,0,0.2) ,-8px -2px 5px rgba(0,0,0,0.2);
    -mox-box-shadow: 8px 2px 5px rgba(0,0,0,0.2) ,-8px -2px 5px rgba(0,0,0,0.2);
    -o-box-shadow: 8px 2px 5px rgba(0,0,0,0.2) ,-8px -2px 5px rgba(0,0,0,0.2);
}

.Wrap{
    width: 960px;
    margin: 0 auto;
    position: relative;
}

h1{
    width: 100%;
    padding: 20px 0;
    text-align: center;
    font-size: 2.9em;
    background-color: #B80303;
    color: #FFF;
}

.mainContent{
    padding: 30px 50px
}

/*Cant find page or search result*/
.not-found{
    width: 860px;
    margin: 110px auto 0 auto;
    text-align: center;
    font-size: 1.5em;
}

/*ClearFix*/
.clearfix:before,
.clearfix:after{
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
}
.clearfix:after{clear: both;}
.clearfix {zoom:1;} /*IE < 8 */

/*Header Style*/
/*Social Header*/
#socialHeader{
    background-color: #B80303;
    min-width: 960px;
    height: 35px;
    padding: 10px 0;
}

#headerDistributorLogo{
    position: absolute;
    top: -8px;
}

#socialHeader form{
    float: right;
    position: relative;
    height: 30px;
    margin-right: 20px
}

#socialHeader form input[type="search"]{
    height: 35px;
    padding: 0;
    border:0;
    padding-left: 10px;
    width: 320px;
    font-size: 1em;
    border-radius: 0 7px 7px 0;
    -webkit-border-radius: 0 7px 7px 0;
    -moz-border-radius: 0 7px 7px 0;
    -o-border-radius: 0 7px 7px 0;
    outline: none;
}

#socialHeader form input[type="submit"]{
    background-image: url(images/magnifyingGlass.png);
    background-repeat: no-repeat;
    width: 45px;
    height: 35px;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0 3px 3px 0;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    -o-border-radius: 0 3px 3px 0;
}

#socialHeader ul{
    list-style: none;
}

#socialHeader ul li{
    float: right;
    padding: 0 5px;
}

#socialHeader ul li a{
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
}

#socialHeader ul li a:hover{
    opacity: 0.75;
}

/*Navigation Header*/
#mainNavigation{
    position: relative;
    background-color: #FFF;
    height: 100px;
    min-width: 960px;
    margin-bottom: 50px;
    box-shadow: 0px 7px 4px rgba(0,0,0,0.35);
    -webkit-box-shadow: 0px 7px 4px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 7px 4px rgba(0,0,0,0.35);
    -o-box-shadow: 0px 7px 4px rgba(0,0,0,0.35);
}

#mainNavigation img{
    padding: 10px 0;
    float: left;
}

#mainNavigation ul{
    position: relative;
    float: right;
}

#mainNavigation ul:after {
    content: "";
    clear: both;
    display: block;
}

#mainNavigation ul li{
    display: inline-table;
}

#mainNavigation ul li:hover > ul{
    display: block;
}

#mainNavigation ul li a{
    text-decoration: none;
    text-align: center;
    font-size: 2em;
    color: #000;
    padding: 36px 15px;
    display: inline-block;
    transition: background-color 0.2s ease-out;
}

#mainNavigation ul li:hover a{
    background-color: #B80303;
    color: #FFF;
}

#mainNavigation ul ul{
    display: none;
    position: absolute;
    top:100%;
    z-index: 100;
    box-shadow: 0 5px 4px rgba(0,0,0,0.50);
}

#mainNavigation ul ul li{
    float: none;
    position: relative;
    display: list-item;
}

#mainNavigation ul ul li a{
    background-color: #B80303;
    font-size: 1em;
    width: 225px;
    padding: 20px 10px;
    text-align: left;
    color: #FFF;
}

#mainNavigation ul ul li:nth-child(odd){
    border-bottom: solid 1px #FFF;
    border-top: solid 1px #FFF;
}

#mainNavigation ul ul li a:hover{
    background-color: #FC4141;
}

#mainNavigation ul ul ul{
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: -1px;
}

/*Footer*/
/*Top Footer*/
#topFooter{
    width:100%;
    min-width: 960px;
    height: 250px;
    background-color: #B80303;
    color: #FFF;
}

#topFooter section{
    float: left;
    padding: 20px 0 15px;
}

#topFooter h4{
    font-size: 1.7em;
    margin-bottom: 10px;
}

#topFooter .NoHeadingList li{
    margin-top: 5px;
    width: 50%;
}

#topFooter .NoHeadingList li:nth-child(odd){
    float: left;
}
#topFooter .NoHeadingList li:nth-child(even){
    float: right;
}

#topFooter section:nth-child(1){
    padding-left: 20px;
    width: 350px;
}

#topFooter section:nth-child(2){
    padding-left: 20px;
    width: 300px;
}

#topFooter section:nth-child(3){
    text-align: right;
    width: 250px;
}

#topFooter section:nth-child(3) > ul{
    border: none;
}

#topFooter ul{
    list-style: none;
    border-right: solid 1px #000;
}

#topFooter .HeadingList li:nth-child(even){
    margin: 0 0 5px;
}

#topFooter a{
    text-decoration: none;
    color: #FFF;
}

#topFooter a:hover{
    color: #3A0101;
}

#topFooter form{
    margin-top: 15px;
    position: relative;
    width: 270px;
}

#topFooter form input[type=email]{
    width: 190px;
    padding: 5px;
    margin-top: 5px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    -o-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
    border: none;
}

#topFooter form input[type=submit]{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 5px;
    cursor: pointer;
    border: none;
    background-color: #000;
    color: #FFF;
    width: 70px;
}

/*Bottom Footer*/
#bottomFooter{
    width: 100%;
    min-width: 960px;
    height: 50px;
    background-color: #3A0101;
    color: #FFF;
}

#bottomFooter ul{
    list-style: none;
    float: left;
    width: 400px
}

#bottomFooter ul li{
    display: inline-block;
    padding: 0 10px 0 5px;
    border-right: solid 1px #FFF;
}

#bottomFooter ul li:last-child{
    border: none;
}

#bottomFooter ul li a{
    text-decoration: none;
    color: #FFF;
    font-size: 0.8em;
}

#bottomFooter ul ul{
    display: none;
}

#bottomFooter img{
    float: left;
}

#bottomFooter span{
    float: right;
    font-size: 0.8em;
    text-align: right;
}

#bottomFooter ul, #bottomFooter span{
    padding-top: 19px;
}