/*

	Template Author : pixelhint.com
	Author Email    : contact@pixelhint.com
	Template Name   : Crafty


	*****************************************


	- Header
	- Billboard
	- Services/features
	- Testimonials
	- Info section
	- Take To Action section
    - footer
	- Responsive code

*/

/*  Fonts  */
/*@font-face {
    font-family: 'lato_regular';
    src: url('../fonts/lato-regular.eot');
    src: url('../fonts/lato-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/lato-regular.woff') format('woff'),
    url('../fonts/lato-regular.ttf') format('truetype'),
    url('../fonts/lato-regular.svg#LatoRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'lato_bold';
    src: url('../fonts/lato-bold.eot');
    src: url('../fonts/lato-bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/lato-bold.woff') format('woff'),
    url('../fonts/lato-bold.ttf') format('truetype'),
    url('../fonts/lato-bold.svg#LatoBold') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'avantgardelt-extralight';
    src: url('../fonts/avantgardelt-extralight.eot');
    src: url('../fonts/avantgardelt-extralight.eot?#iefix') format('embedded-opentype'),
    url('../fonts/avantgardelt-extralight.woff') format('woff'),
    url('../fonts/avantgardelt-extralight.ttf') format('truetype'),
    url('../fonts/avantgardelt-extralight.svg#avantgardelt-extralight') format('svg');
    font-weight: normal;
    font-style: normal;

}*/
* {
    margin: 0;
    padding: 0
}
body {
    margin: 0;
    background: #DDD6CC;
    font: 12px "宋体", "Arial Narrow", HELVETICA;
    color: #3F3E3C;
    line-height: 1.5;
}

/*  General CSS*/
.wrapper{
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    position: relative;
}

::selection {color:#ffffff;background:#353434;}
::-moz-selection {color:#ffffff;background:#353434;}

.feature a,
.cta a.cta_btn,
.testimonials #t_navigation a,
header ul.social li a,
header nav ul li a{
    transition:all .2s linear;
    -webkit-transition:all .2s linear;
    -moz-transition:all .2s linear;
    -o-transition:all .2s linear;
}

/*  header  */
header{
    height: 80px;
    background: #353434;
    /*固定导航栏*/
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .logo{
    float: left;
    margin-top: 20px;
    margin-left: 40px;
    margin-right: 40px;
}

header .menu_icon{
    background-size: 35px 35px;
    background: url('../img/menu_icon.png') no-repeat;
    float: right;
    margin-top: 20px;
    margin-right: 40px;
    display: none;
}

header nav{
    overflow: hidden;
    display: inline-block;
    margin: 0;
    padding: 25px 0;
    /*border-left: 1px #404040 solid;*/
    z-index: 9999;
}

header nav ul{
    list-style: none;
}

header nav ul li{
    float: left;
    padding: 0 20px;
    font-size: 16px;
    font-family: 'lato_regular', arial;
    letter-spacing: 1px;
}

header nav ul li:first-child{
    margin-left: 0;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
}

header nav ul li a:hover{
    color: #65bf95;
}

header nav ul li a.active{
    color: #65bf95;
}

header ul.social{
    float: right;
    list-style: none;
    margin-top: 23px;
}

header ul.social li{
    float: left;
    margin-left: 10px;
}

header ul.social li a{
    display: block;
    width: 35px;
    height: 35px;
    background: url('../img/sm.png') no-repeat;
}

header ul.social li a:hover{
    background: url('../img/sm_hover.png') no-repeat;
}

header ul.social li a{
    display: block;
    width: 35px;
    height: 35px;
}

header ul.social li a.fb{
    background-position: 0 0;
}

header ul.social li a.twitter{
    background-position: -36px 0;
}

header ul.social li a.gplus{
    background-position: -72px 0;
}

/* mainContent */
.mainContent {
    max-width: 1200px;
    background: #E8E5DD;
    margin: 100px auto 20px;
    overflow: hidden;
}

/*  Footer  */
footer{
    padding: 20px 0;
    height: 100%;
    border-top: 1px #dedede solid;
    background: #f7f7f7;
    text-align: center;
    /*position: fixed;*/
    /*bottom: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
}

footer .rights{
    color: #3b3b3b;
    font-family: "lato_regular", arial;
    font-size: 14px;
    margin-top: 30px;
    line-height: 25px;
}

footer .rights a{
    text-decoration: none;
    font-family: 'lato_bold', arial;
    font-weight: bold;
    color: #3b3b3b;
}

footer ul {
    list-style: none;
    display:flex;
    justify-content:center
}

footer ul li {
    float: left;
    padding: 0 5px;
}

a { color: #000000; text-decoration: none; transition: All 0.5s ease; -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; }
a:hover { color: #e5642b; }

@media (max-width:1200px){
    header nav ul li{
        padding: 0 20px;
        /*border-bottom: 1px #2c2c2c solid;*/
    }

    .mainContent {
        background: #E8E5DD;
        margin: 100px auto 20px;
        overflow: hidden;
        position: relative;
    }
}

@media (max-width:800px){
    header{
        left: 0;
        top: 0;
        width: 100%;
        height: 50px;
        background: #353434;
        /*固定导航栏*/
        position: fixed;
        z-index: 1000;
    }

    header .logo{
        float: none;
        width: 40px;
        background-size: contain;
        margin-top: 15px;
        margin-left: 10px;
    }

    header .menu_icon{
        width: 20px;
        height: 20px;
        background-size: contain;
        margin-top: 15px;
        margin-right: 10px;
        display: block;
    }

    ul.social{
        display: none;
    }

    header nav{
        background: #353434;
        margin: 10px 0 0 0;
        padding: 0;
        border-left: 0;
        border-top: 1px #2c2c2c solid;
        overflow: hidden;
        text-align: center;
        position: relative;
        z-index: 9999;
        display: none;
    }
    header nav{
        border-bottom-left-radius: 2px;
        -webkit-border-bottom-left-radius: 2px;
        /*-moz-border-bottom-left-radius: 2px;*/
        /*-o-border-bottom-left-radius: 2px;*/
        border-bottom-right-radius: 2px;
        -webkit-border-bottom-right-radius: 2px;
        /*-moz-border-bottom-right-radius: 2px;*/
        /*-o-border-bottom-right-radius: 2px;*/
    }
    header nav.show_menu{
        display: block;
    }
    header nav ul{
        /*ul默认有padding值*/
        padding: 0;
    }
    header nav ul li{
        margin: 0;
        padding: 0;
        width: 100%;
        /*border-bottom: 1px #2c2c2c solid;*/
    }
    header nav ul li:last-child{
        border-bottom: 0;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 20px 0;
    }
    header nav ul li a:active{
        display: block;
        width: 100%;
        padding: 20px 0;
        background: #2c2c2c;
    }

    .mainContent {
        width: 100%;
        margin: 60px auto 10px;
    }
}