@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,700');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
	background-color: #efefef;
}

body{
	font:14px/1.5 Arial, Helvetica, sans-serif;
	margin:0;
}


header{
    box-sizing: border-box;
	text-align: center;
    width: 100%;
    padding: 25px 40px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #666;
    border-color: #e5e5e5;
    position: fixed;
    z-index: 99999;
}


header .logo{
    float: left;
    height: 35px;
    max-height: 35px;

}

.form-search{
    width: 100%;
}
.header-menu {
    list-style: none;
    background-color: #FFF;
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 0;
    margin-bottom: 0px;
    border-bottom: 1px solid #666;
    border-color: #e5e5e5;
    width: 100%;
    position: fixed;
    top: 95px;
    z-index: 99999;
}
.header-menu li:first-child{
        margin-left: 200px;
}

.header-menu a{
    text-decoration: none;
    color: #000;
    text-align: left;
    padding: 20px 16px;
    border-radius: 2px;
    opacity: 0.8;
    font-size: 16px;
    display: inline-block;
    margin: 0px;
    line-height: 1;
    outline: none;
    transition: 0.2s ease;
    border-bottom: 2px solid #FFF;
}

.header-menu li a.active{
    /*background-color: #F5F5F5;*/
    color: #3899E2;
    font-weight: bold;
    border-bottom: 2px solid #3899E2;
    pointer-events: none;
}

.header-menu li a:hover {
    opacity: 1;
    /*background-color: #F5F5F5;*/
    border-bottom: 2px solid #BCB8C2;
}


.header-menu li{
    display: inline-block;
}


@media (max-width: 1000px) {


    header h1{
        float: none;
    }

    header a{
        margin-top: 25px;
        float: none;
    }

}

.main-content{
    margin-bottom: 0px;
    padding: 30px;
    background: white;
    height: 100%;
}

.gray{
    background: #efefef;
}
.white{
    background: white;
}
/* -- Demo ads -- */

@media (max-width: 1200px) {
	#bsaHolder{ display:none;}
}

/* -- Link to Tutorialzine -- */

.tz-link{
	text-decoration: none;
	color: #fff !important;
	font: bold 36px Arial,Helvetica,sans-serif !important;
}

.tz-link span{
	color: #da431c;
}

.res{
    font-size: 16px;
    margin: 0 200px;
    background: #FFF;
}

.res .rc{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 0;
    margin-bottom: 23px;
    line-height: 1.2;
    text-align: left;
    width: 600px;
}

.res .rc a{
    color: #1a0dab;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;  
    font-size: 18px;
    cursor: pointer;  
}

.res .rc a:visited{
    color: #609;
}

.res .rc cite{
    color: #006621;
    font-style: normal;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;    
}

.res .rc span{
    line-height: 1.4;
    word-wrap: break-word;
    color: #545454;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;    
}



footer{
    list-style: none;
    padding: 0px;
    padding-left: 180px;
    padding-right: 180px;
    background-color: #FFF;
    border-top: 1px solid #666;
    border-color: #e5e5e5;
}
footer a{
    text-decoration: none;
    height: 28px;
    cursor: pointer;
    padding: 3px;
    font-size: 15px;
    border: 1px solid #1155cc;
    border-radius: 5px;
    line-height: 2em;
    font-weight: normal;
    color: #1155cc;
    margin: 5px;

    display: inline-table;
}

footer a:hover{
    text-decoration: underline;
}
@media (max-width: 700px) {

    header{
        padding : 0px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .res{
        margin: 0px;
        margin-top: 90px!important;
    }
    header .logo{
        margin-top: 0px;
        display: none;
    }
    .form-search button{
        display: none;
    }
    .form-search input {
        width: 100%!important;
    }

    .form-search i {
        position: absolute!important;
        left: 10px!important;
        top: 15px!important;
        font-size: 16px;
        color: #80A3BD;
    }

    .header-menu li:first-child{
        margin-left: 0px;
    }
    .header-menu{
        top: 55px;
    }
    footer{
        list-style: none;
        padding: 0px;
        background-color: #FFF;
        border-top: 1px solid #666;
        border-color: #e5e5e5;
    }

}
