﻿body{
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background: url(../img/bg02.jpg);
    background-attachment: fixed;
    background-position: center;
}
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
header2{
    /* position: absolute; */
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 20px;
    background: #285ff8;
    width: 100%;
    box-sizing: border-box;
}

header2 .logo{
    1position: relative;
    color: #fff;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    1top: -0px;
    float: left;
    font-weight: bold;
}

header2 span{
	position:absolute;
    color: #fff;
    padding-top:0px;
}


header2 .img-logo{
    position: relative;
    top: 3px;
    width: 52px;
    padding-right: 8px;
    height: auto;
}

header2 nav{
    float: right;
}

header2 nav ul{
    margin: 0;
    padding: 0;
    display: flex;
}

header2 nav ul li{
    list-style: none;
    background: rgba(105, 105, 241, 0.9);
}

header2 nav ul li a{
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    color: #fff;
    text-decoration: none;
    display: block;
}

header2 nav ul li a:hover,
header2 nav ul li a.active{
    color: #fff;
    background: #2196f3;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

header{
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 20px;
    background: #262626;
    width: 100%;
    box-sizing: border-box;
}

header .logo{
    position: relative;
    color: #fff;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    top: -0px;
    float: left;
    font-weight: bold;
}

header span{
    color: #b50d10;
}

header .img-logo{
    position: relative;
    top: 7px;
    width: 32px;
    padding-right: 8px;
    height: auto;
}

header nav{
    float: right;
}

header nav ul{
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li{
    list-style: none;
    background: rgba(90, 90, 213, 0.4);
}

header nav ul li a{
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    color: #fff;
    text-decoration: none;
    display: block;
}

header nav ul li a:hover,
header nav ul li a.active{
    color: #fff;
    background: #2196f3;
}

.menu-toggle{
    position: relative;
    color: #fff;
    float: right;
    line-height: 30px;
    font-size: 24px;
    top: 10px;
    cursor: pointer;
    display: none;
}

@media (max-width: 691px){

    header2{
        padding: 0 10px;
    }
    .menu-toggle{
        display: block;
    }
    header2 nav{
        1display: none;
        position: absolute;
        width: 100%;
        height: calc(100vh - 50px);
        1background: #333;
        top: 50px;
        left: -100%;
        transition: 0.5s;
    }
    header2 nav.active{
        left: 0;
    }    
    header2 nav ul{
        display: block;
        text-align: center;
    }
    header2 nav ul li a{
        border-bottom: 1px solid rgba(0, 0, 0, 0.2)
    }

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
    header{
        padding: 0 10px;
    }
    .menu-toggle{
        display: block;
    }
    header nav{
        1display: none;
        position: absolute;
        width: 100%;
        height: calc(100vh - 50px);
        1background: #333;
        top: 50px;
        left: -100%;
        transition: 0.5s;
    }
    header nav.active{
        left: 0;
    }    
    header nav ul{
        display: block;
        text-align: center;
    }
    header nav ul li a{
        border-bottom: 1px solid rgba(0, 0, 0, 0.2)
    }
}