/*
Theme Name: Diana Holding Kft. térkép
Theme URI: https://dianaholding.hu
Description: A Diana Holding Kft. weboldalának alapértelmezett sablonja.
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

*{
margin: 0;
border: 0;
padding: 0;
flex-wrap: wrap;
text-decoration: none; 
}

*, *:after, *::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 400; color: #808080; line-height: 30px; overflow-x: hidden; }
body.rwd_menu__opened  { overflow: hidden; }

textarea, input, select, button { font-family: 'DM Sans', sans-serif; font-size: 17px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

hr { margin-bottom: 20px; border-top: 3px solid #ddd; }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1280px; margin-left: auto; margin-right: auto; position: relative; }
.inner_900 { max-width: 900px; }
.aligncenter { margin: 0 auto 20px auto; display: block; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.hide { display: none !important; }

/* Button */
.button { height: 50px; padding: 0 30px; font-size: 15px !important; font-weight: 700; text-decoration: none !important; text-align: center; color: white !important; line-height: 50px; background: #18a7ea; display: inline-block; position: relative; cursor: pointer; -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.button:hover { background: #0b5479; }

/* Animation */
.anim  { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }


/*
------------------------
	CATEGORY CHOOSER
------------------------
*/
#category_chooser { width: 100%; height: 100%; left: 0; top: 0; padding: 20px; background: #eaf0f2; border-bottom: 4px solid #18a7ea; display: flex; justify-content: center; align-items: center; position: fixed; z-index: 1001; }
#category_chooser img { width: 100%; max-width: 300px; height: auto; max-height: 80px; margin: auto; display: block; }
#category_chooser h3 { width: 100%; margin-top: 20px; font-size: 20px; font-weight: 700; color: #000; line-height: 100%; }
#category_chooser .logo { height: 80px; display: flex; justify-content: center; }
#category_chooser .category_chooser_wrap { width: 100%; max-width: 800px; height: 200px; text-align: center; display: flex; position: relative; }
#category_chooser .category_chooser_wrap:after { width: 1px; height: 100%; left: 50%; top: 0; background: rgba(0 0 0 / 20%); position: absolute; content: ''; }

#category_chooser .wrap_left { width: 50%; height: 100%; position: relative; }
#category_chooser .wrap_left a { width: 100%; height: 100%; display: flex; justify-content: center; align-content: center; }
#category_chooser .wrap_right { width: 50%; height: 100%; }
#category_chooser .wrap_right a { width: 100%; height: 100%; display: flex; justify-content: center; align-content: center; }


/*
-------------------
	HUNGARY MAP
-------------------
*/
#hungary { width: 100%; height: 100%; left: 0; top: 0; padding: 20px; background: #eaf0f2; border-bottom: 4px solid #18a7ea; display: flex; justify-content: center; align-items: center; position: fixed; z-index: 1000; }
#hungary .hungary_wrap { text-align: center; }
#hungary .hungary_wrap .logo { height: 60px; margin-bottom: 50px; padding-left: 90px; font-size: 24px; font-weight: 700; text-transform: uppercase; color: #000; line-height: 22px; letter-spacing: 5px; background: url(images/logo.svg) no-repeat left center; background-size: auto 100%; display: inline-flex; align-items: center; }
#hungary .hungary_wrap h3 { margin-bottom: 20px; font-size: 24px; font-weight: 700; color: #000; line-height: 100%; }
#hungary .hungary_wrap h3 small { font-size: 16px; font-weight: 400; color: #666; line-height: 120%; display: block; }
#hungary .hungary_wrap img { width: 100%; max-width: 960px; height: auto; display: block; }


/*
-------------
	GINOP
-------------
*/
.ginop { right: 0; bottom: 0; position: fixed; z-index: 10000; }
.ginop a { display: block; }
.ginop img { width: auto; height: 150px; display: block; }
.ginop .ginop_close { width: 30px; height: 30px; right: 20px; top: -10px; font-size: 14px; background: white; border: 1px solid var(--color-dark-blue); display: flex; align-items: center; justify-content: center; position: absolute; cursor: pointer; }
.ginop .ginop_close:hover { border-color: var(--color-dark); }


/*
-----------
	RWD
-----------
*/
@media only screen and (max-width: 768px) { 

	/* CATEGORY CHOOSER */
	#category_chooser .category_chooser_wrap { height: auto; }
	#category_chooser .category_chooser_wrap:after { width: 100%; height: 1px; left: 0; top: 50%; }

	#category_chooser .wrap_left { width: 100%; height: 200px; }
	#category_chooser .wrap_right { width: 100%; height: 200px; }
}

@media only screen and (max-width: 480px) { 

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_480 { display: block !important; }
}
