
            .centpiv{
-moz-transform-origin: -50% -50%;
-ms-transform-origin:  -50% -50%;
-o-transform-origin: -50% -50%;
-webkit-transform-origin:  -50% -50%;
transform-origin: -50% -50%;
    }
.lin_uname{
    width: 80px;
}
.lin_upass{
    width: 80px;
    position: relative;
    top: 6px;
    left: -30px;
    float: right;
}
.login_btn{
    float: right;
    width: 32px;
    height: auto;
    position: relative;
    left: 85px;
    top: 3px;
    cursor: pointer;
    opacity: 0.85;
}
.login_btn:hover{
    
    opacity: 1;
}

.mitem{
    position:absolute;
    width:100px;
    height:26px;
    min-width:100px;
    text-align:center;
    font-size:21;
    cursor:pointer;
}
.mitem:hover{
    background-color:#c72006;
}
.mitemin{
    text-align:center;
    font-size:21px;
    cursor:pointer;
}
.mitemin:hover{
    background-color:#c72006;
}
#mitems{
    background-color:#000;
    top:30px;
    height:0px;
    left:calc(100% - 610px);
    position:absolute;
    /*float:right;*/
}
#menu{
    width:100%;
    height:70px;
    background-color:#e15a28;
    font-family:"franklingothic-book";
    color:#fff;
    top: 0px;
}
    #thelogo2{
	position: absolute;
	left:150px;
	top:10px;
	visibility:hidden;
    }
  #thelogo3{
    position: absolute;
	visibility: visible;
	left:40px;
	width: 20%;
	height:50px;
	top:10px;
	background-image: url('imgs/logo3.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
    }
@media only screen and (max-width: 830px)  {
    
  #thelogo3{
    position: absolute;
	left:10px;
	top:-12px;
	width: 150px;
    }
}

@media only screen and (max-width: 1269px) and (min-width: 1001px)  {
    
.mitem{
/*    margin-left:auto; margin-right:0;*/
    position:absolute;
    width:100px;
    height:26px;
    min-width:100px;
    text-align:center;
    font-size:21;
    cursor:pointer;
}
.mitem:hover{
    background-color:#c72006;
}
#mitems{
    background-color:#000;
    top:30px;
    height:0px;
    left:calc(100% - 540px);
    position:absolute;
    top: 30px;
    /*float:right;*/
}
#menu{
    width:100%;
    height:70px;
    background-color:#e15a28;
    font-family:"franklingothic-book";
    color:#fff;
    
}

}




@media only screen and (max-width: 1000px) and (min-width: 828px)  {

    #thelogo{
	visibility: hidden;
    }
    #thelogo2{
	visibility: visible;
	left:50px;
	width: calc(100% - 610px);
	height:70px;
	top:0px;
	background-image: url('imgs/logo3.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
    }
.mitem{
/*    margin-left:auto; margin-right:0;*/
    position:absolute;
    width:100px;
    height:26px;
    min-width:100px;
    text-align:center;
    font-size:21;
    cursor:pointer;
}
.mitem:hover{
    background-color:#c72006;
}
#mitems{
    background-color:#000;
    top:30px;
    height:0px;
    left:calc(100% - 510px);
    position:absolute;
    top: 30px;
    /*float:right;*/
}
#menu{
    width:100%;
    height:70px;
    background-color:#e15a28;
    font-family:"franklingothic-book";
    color:#fff;
}

}




@media only screen and (max-width: 827px) and (min-width: 701px)  {
    
    #thelogo2{
	visibility: visible;
	left:calc(55px + 25%);
	width: calc(50% - 110px);
	height:70px;
	top:0px;
	background-image: url('imgs/logo3.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
    }
}
@media only screen and (max-width: 700px)  {
    
    #thelogo2{
	visibility: visible;
	left:calc(55px + 10%);
	width: calc(80% - 110px);
	height:70px;
	top:0px;
	background-image: url('imgs/logo3.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
    }
}

@media only screen and (max-width: 827px)  {
    
    #thelogo{
	visibility: hidden;
    }
.mitem{
    position:absolute;
    width:100px;
    height:26px;
    min-width:100px;
    text-align:center;
    font-size:21;
    cursor:pointer;
}
.mitem:hover{
    background-color:#c72006;
}
#mitems{
    background-color:#000;
    top:30px;
    height:0px;
    left:calc(50% - 205px);
    top: 30px;
    position:absolute;
    /*float:right;*/
}
#menu{
    width:100%;
    height:70px;
    background-color:#e15a28;
    font-family:"franklingothic-book";
    color:#fff;
}

}

