#header
{
	overflow: hidden;
    position: sticky;
    z-index: 1;
    top: 0;
	display: none;
}

#sub-menu-ico 
{
	position:absolute;
	left:10px;
	cursor:pointer;
	z-index: 1;
}

#sub-menu-ico #opened, #sub-menu-ico.active #Closed 
{
	display:none;
}

#sub-menu-ico #Closed, #sub-menu-ico.active #opened 
{
	display:block;
}

#sub-menu-ico > img 
{
	width:inherit;
}

#big-menu > #languages-tool
{
	position:absolute;
	top: 25%;
    left: 15%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}

#small-menu #languages-tool
{
	width: 100%;
	border-bottom: solid;
    border-color: moccasin;
	border-width: 1px;
}

#small-menu #languages-tool > img
{
	margin-top:2px;
}
#languages-tool > img 
{
	margin-left: 5px;
	cursor: pointer;
}

.subitem, .subitem.btn-tool 
{
    padding-top: 2px;
    padding-bottom: 2px;
    border-bottom: solid;
    border-color: moccasin;
    border-width: 1px;
    cursor: pointer;
    width: 100%;
	height:auto;
	border-radius:0px;
	position:inherit;
	margin-top:0px;
}

.subitem img, .subitem.btn-tool img 
{
	width:25px;
}

#small-menu
{
	background-image:url("../img/header/bg.png");
	background-attachment: fixed;
	 background-position: center;
	 background-repeat: no-repeat;
	 background-size: cover;
	border-bottom-style: ridge;
	border-bottom-color: #6c3f14;
}

#small-menu > img {
    position: fixed;
}

#chose-resume .resum-icon img {
	width: 75px;
    margin: 5px;
    padding: 0px;
    margin-top: 35px;
}

#chose-resume {
	position: fixed;
    width: 200px;
    height: 150px;
    background: wheat;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    z-index: 1;
	border-style: ridge;
    border-color: #6c3f14;
	display: none;
}

#small-menu > #sub-menu 
{
	display:none;
	background-color: wheat;
}

#sub-menu button, 
#sub-menu a  {
	background: none;
	color: #3679f9;
}

.resum-media #resume-btn
{
	cursor: pointer;
}

#toolbar
{
	position: absolute;
    right: 50%;
    -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
            transform: translateX(50%);
}

#toolbar button
{
	display: inline-block;
	background : transparent;
	position: relative;;
	border: none;
	cursor: pointer;
	width: 12%;
}

#toolbar button > img
{
	width: 100%;
}

@media all and (min-width:1450px){
	#toolbar
	{
		top: 60%;
	}
}

@media all and (max-width:1450px) and (min-width:1280px) {
	#toolbar
	{
		top: 55%;
	}
}

@media all and (min-width:1000px)
{
	.resum-media a,
	.resum-media #resume-btn
	{
		margin-left: 20px;
	}
	
	.resum-icon img
	{
		width: 50px;
	}

	#chose-resume 
	{
		right: 12%;
		top: 17%;
	}
}

@media all and (max-width:1280px) {
	#toolbar
	{
		top: 52%;
	}
}

@media all and (min-width:790px)
{
	#languages-tool > img 
	{
		height: 30px;
	}
}

@media all and (max-width:1000px) and (min-width:700px)
{
	.resum-icon img
	{
		width: 35px;
	}

	#chose-resume 
	{
		right: 8%;
		top: 15%;
	}
}

.resum-icon{
	display: inline-block;
	width: auto;
}

.resum-media
{
	position:absolute;
	right: 12%;
    top: 28%;
}

@media all and (max-width:790px)
{
	#languages-tool > img 
	{
		height: 25px;
	}
}

@media all and (min-width:500px)
{
	#big-menu
	{
		display: block;
	}

	#header-bg {
		width: 90%;
		max-width: 1500px;
	}
	
	#small-menu
	{
		display:none;
	}
}

@media all and (min-width:350px) {
	#small-menu > img {
		width: 520px;
		top: -17px;
		left: -15px;
	}

	#trick-small-menu-img-size {
		height: 36px;
	}

	#sub-menu-ico 
	{
		top:7px;
		width:30px;
	}
}

@media (max-width: 700px) {
    .resum-icon img {
        width: 25px;
    }

	#chose-resume 
	{
		right: 2%;
		top: 13%;
	}
}

@media all and (max-width:500px)
{
	#big-menu
	{
		display: none;
	}
	
	#small-menu
	{
		display:block;
	}
}

@media all and (max-width:350px) {
	#small-menu > img {
		width: 420px;
		top: -14px;
		left: -20px;
	}

	#trick-small-menu-img-size {
		height: 25px;
	}

	#sub-menu-ico 
	{
		top:5px;
		width:24px;
	}
}