.primaryContainer {
    height: auto;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    width: 100%;
    background-image:url("../img/bg.jpg");
    background-position: 0% 0%;
    background-repeat: repeat;
    background-attachment: scroll;
    -webkit-background-size: auto;
    background-size: auto;
}

#image {
    float: none;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-top: 0px;
    clear: none;
    color: rgb(0, 0, 0);
    margin-right: auto;
    display: block;
}

#box {
	float: left;
	height: auto;
	margin-left: 0%;
	margin-top: 0px;
	clear: none;
	width: 100%;
	display: block;
	overflow-y: visible;
	overflow-x: visible;
	min-height: 0px;
	background-image: url(../img/fejlec_bg.gif);
	background-position: 0% 0%;
	background-repeat: repeat-x;
	background-attachment: scroll;
	-webkit-background-size: auto;
	background-size: auto;
	-webkit-box-shadow: rgba(0, 0, 0, 0.498039) 0px 0px 30px 0px;
	box-shadow: rgba(0, 0, 0, 0.498039) 0px 0px 30px 0px;
}



#box1 {
    float: none;
    height: auto;
    margin-left: auto;
    margin-top: 230px;
    clear: none;
    width: auto;
    min-width: 0px;
    max-width: 940px;
    max-height: none;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
}
#box1 {
    text-align: center;
}
#box1 a {
    display: inline-block;
    margin: 0 5px;
}

#Button:hover, #Button1:hover, #Button2:hover, #Button3:hover, #Button4:hover, #Button5:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(197, 22, 29);
}

#Button, #Button1, #Button2, #Button3, #Button4, #Button5 {
    float: left;
    height: 100%;
    font-size: 1.1em;
    margin-left: 6px;
    margin-top: 10px;
    clear: none;
    width: auto;
    border-top-left-radius: 12px;
    border-top-width: 5px;
    border-right-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 5px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    text-align: center;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    display: block;
    margin-right: 6px;
    position: relative;
    top: 0px;
    left: 0px;
    overflow-y: visible;
    overflow-x: visible;
    max-height: none;
    min-width: 0px;
    color: rgb(255, 255, 255);
    border-top-color: rgba(157, 172, 169, 0);
    border-right-color: rgba(157, 172, 169, 0);
    border-bottom-color: rgba(157, 172, 169, 0);
    border-left-color: rgba(157, 172, 169, 0);
    background-color: rgb(0, 140, 69);
    font-style: normal;
    font-weight: 300;
    text-transform: uppercase;
    font-family: georgia;
    -webkit-box-shadow: rgba(0, 0, 0, 0.74902) 0px 2px 5px -1px;
    box-shadow: rgba(0, 0, 0, 0.74902) 0px 2px 5px -1px;
    padding-top: 4px;
    padding-right: 10px;
    padding-left: 10px;
    max-width: none;
    margin-bottom: 0px;
    padding-bottom: 2px;
}





body {
	background-image: url(../img/bg.jpg);
	background-position: 0% 0%;
	background-repeat: repeat;
	background-attachment: scroll;
}

#Box {
	float: none;
	height: auto;
	margin-left: auto;
	margin-top: 15px;
	clear: none;
	width: auto;
	margin-right: auto;
	max-width: 940px;
	min-width: 0px;
	position: static;
	top: 0px;
	left: 0px;
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom: 30px;
}

#Box1 {
    float: none;
    height: auto;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    width: 100%;
    margin-right: 0px;
    min-width: 0px;
    max-width: none;
    background-color: rgb(255, 255, 255);
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
}

#text {
    float: left;
    font-size: 1.5em;
    width: 100%;
    height: auto;
    text-align: left;
    font-weight: 600;
    line-height: 1em;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    min-height: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    font-family: 'trebuchet ms';
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 0px;
}

#Boxveres {
	float: right;
	height: 280px;
	margin-left: 10px;
	margin-top: 0px;
	clear: none;
	width: 50%;
	background-image: url(../img/vp_001.jpg);
	background-position: 50% 0%;
	background-repeat: no-repeat;
	background-attachment: scroll;
	-webkit-background-size: cover;
	background-size: cover;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-right: 0.00178776%;
}

#Boxkriza {
	float: right;
	height: 280px;
	margin-left: 10px;
	margin-top: 0px;
	clear: none;
	width: 50%;
	background-image: url(../img/kriza_akos_portre.jpg);
	background-position: 50% 0%;
	background-repeat: no-repeat;
	background-attachment: scroll;
	-webkit-background-size: cover;
	background-size: cover;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-right: 0.00178776%;
}





#image1 {
    float: left;
    width: 140px;
    max-width: 100%;
    height: auto;
    margin-left: 0px;
    margin-top: 0px;
    clear: none;
    color: rgb(0, 0, 0);
    margin-right: 0px;
    margin-bottom: 0px;
}

#text1, p {
	float: none;
	font-size: 1em;
	width: auto;
	height: auto;
	text-align: justify;
	font-weight: normal;
	line-height: 1.2em;
	margin-left: 10px;
	margin-top: 10px;
	clear: none;
	min-height: 0px;
	margin-right: 10px;
	margin-bottom: 10px;
	padding-right: 0px;
	padding-left: 0px;
	font-family: 'trebuchet ms';
}

#text2 {
    float: left;
    font-size: 1em;
    width: 100%;
    height: auto;
    text-align: left;
    font-weight: normal;
    line-height: 1.2em;
    margin-left: 0%;
    margin-top: 0px;
    clear: left;
    min-height: 0px;
    font-family: 'trebuchet ms';
    padding-left: 10px;
}

#image_esemeny{
    float: left;
    width: 48%;
    max-width: 100%;
    height: auto;
    margin-left: 1%;
    margin-top: 0px;
    clear: none;
    color: rgb(0, 0, 0);
    margin-right: 1%;
    margin-bottom: 10px;
}

#image_salka {
	float: right;
	width: 50%;
	max-width: none;
	height: auto;
	margin-left: 0px;
	margin-top: 0px;
	clear: none;
	color: rgb(0, 0, 0);
	margin-right: 0%;
	padding-left: 20px;
	padding-bottom: 10px;
}

#image_galeria {
    float: left;
width: 25%;
max-width: 25%;
height: 150px;
margin: 0px 0%;
clear: none;
color: #000;
overflow: hidden;
border-width: 2px;
border-style: solid;
border-color: rgba(255, 255, 255, 0);
object-fit: cover;
}
 

@media only screen and (max-width: 480px) {
    #Button3 {
        z-index: 3;
    }

    #Button2 {
       
        z-index: 4;
       
    }

	#Button1 {
        
        z-index: 5;
     
    }
	
	#Button {
        
        z-index: 6;
     
    }
	
    #box1 {
        clear: none;
        height: auto;
        margin-left: 20px;
        margin-right: 20px;
        position: static;
        margin-top: 0px;
        top: 0px;
        left: 0px;
        overflow-y: visible;
        overflow-x: visible;
        padding-left: 0px;
        padding-right: 0px;
    }

    #Button, #Button1, #Button2, #Button3, #Button4, #Button5{
        height: 40px;
        margin-top: -10px;
        margin-right: 0px;
        margin-left: 0%;
        width: 100%;
        margin-bottom: 0px;
        clear: none;
        position: relative;
        top: 0px;
        left: 0px;
        
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        padding-right: 6px;
        padding-top: 13px;
    }

    

    .primaryContainer {
        position: relative;
    }

    #box {
        position: relative;
        top: 0px;
        left: 0px;
        width: 100%;
        z-index: 999;
    }

    #Box1 {
        margin-top: 0px;
        margin-left: 0px;
        clear: none;
        height: auto;
        padding-top: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
    }

    
    #box1 a {
        margin: 10px 5px;
    }

    #Boxkriza {
        height: 200px;
        margin-top: 10px;
        margin-left: -100%;
        clear: both;
        width: 99.995844%;
    }

    #text {
        font-size: 1.3em;
        font-style: normal;
        font-weight: 600;
    }

    #Button4 {
        
        z-index: 2;
       
    }

    #Button5 {
    
        z-index: 1;
      
    }

    #text1 {
        clear: both;
    }
	
	 #image_esemeny {
        clear: none;
        width: 100%;
        margin-right: 0%;
        margin-left: 0%;
        margin-bottom: 10px;
    }
	
	 #image_galeria {
        width: 50%;
		max-width: 50%;
		height: 80px;
    }
	
}

@media (min-width: 768px) {
    img.front-img {
        width: 50%;
        float: right;
        margin: 0 0 20px 20px;
    }
}