/*
Theme Name: HBMÉK
Theme URI: http://hbmek.hu/
Description: A Hajdú-Bihat megyei Építészeti Kamara weboldalának alapértelmezett sablonja
Author: HBMÉK
Author URI: http://hbmek.hu/
Version: 1.0
*/

*{
margin: 0;
padding: 0;
border: 0;
text-decoration: none; 
}

*, *:after, *::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body { font-family: 'Roboto', sans-serif; font-size: 17px; font-weight: 400; color: #555; }
body.rwd_menu__opened { overflow: hidden; }

textarea, input, select, button { font-family: 'Roboto', sans-serif; font-size: 16px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

hr { height: 30px; border-top: 4px double #f3ece4; }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1200px; margin-left: auto; margin-right: auto; position: relative; }
.alignleft { margin: 0 20px 5px 0; float: left; }
.alignright { margin: 0 0 5px 20px; float: right; }
.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; }
.tac { text-align: center; }
.tar { text-align: right; }
.hide { display: none !important; } 
.br3 { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.br5 { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
.br50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.red { color: #fe0000; }
.sec_font { font-family: 'Roboto Condensed', sans-serif; }

/* Cols */
.row { width: 100%; font-size: 0; display: block; }
.col { font-size: 17px; vertical-align: top; display: inline-block; position: relative; }
.col_100 { width: 100%; }
.col_66 { width: 66%; }
.col_60 { width: 60%; }
.col_50 { width: 50%; }
.col_40 { width: 40%; }
.col_33 { width: 33.3333333333%; }
.col_25 { width: 25%; }

.row_table { width: 100%; display: table; }
.row_table > .col { display: table-cell; }

/* Animation */
.anim, #header :after, #footer :after, .mfp-content :before, .grid .title:after { -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; }
.anim_cubic { -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -moz-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -o-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }

/* Button */
.button { height: 40px; padding: 0 20px; font-size: 15px !important; font-weight: 700; text-transform: uppercase; text-decoration: none !important; color: white !important; line-height: 40px; background-color: #fb6554; border-bottom: none !important; display: inline-block; position: relative; cursor: pointer; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.button:hover { background-color: #2a2a2a; }

.button_60 { height: 60px; padding: 0 30px; font-size: 17px !important; line-height: 60px; }

.button_dark { background-color: #2a2a2a; }
.button_dark:hover { background-color: #222; }

.button_white { color: #999 !important; background: none; }
.button_white:hover { color: #666 !important; background: none; }

/* ID */
#website { padding-top: 80px; }


/*
--------------
	NOTICE
--------------
*/
ul.notice { padding: 15px; font-size: 16px; font-weight: 700; color: #000; line-height: 20px; background: #eefaf1; border-left: 3px solid #34a853; }
ul.notice.error { background: #fff5f5; border-left-color: #fe0000; }
ul.notice.success {}
ul.notice li { list-style: none; }


/*
--------------
	MODAL
--------------
*/
/*
#modal { width: 100%; height: 100%; left: 0; top: 0; background: rgba(29,67,152,0.9); position: fixed; z-index: 1000; }
*/
.mfp-content { text-align: center !important; }
.mfp-content .modal_panel { background: white; display: inline-block; opacity: 0; -ms-transform: scale(0.7, 0.7); -webkit-transform: scale(0.7, 0.7); transform: scale(0.7, 0.7); }
.mfp-content .modal_panel .message p { margin-bottom: 20px; padding: 5px; font-size: 14px; font-weight: bold; color: #000; }
.mfp-content .modal_panel .message p.error { background: #fff5f5; border: 1px solid #fe0000; }
.mfp-content .modal_panel .preloader { width: 100%; height: 100%; left: 0; top: 0; background: #f5f5f5 url(images/preloader.gif) no-repeat center; position: absolute; z-index: 9; display: none; opacity: 0.9; }
.mfp-content .modal_panel .mfp-close { width: 50px; height: 50px; right: 30px; top: -25px; padding: 0; background: #fb6554 url(images/icon_close_white.svg) no-repeat center; background-size: 50%; position: absolute; opacity: 1; z-index: 10; cursor: pointer; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.mfp-content .modal_login { width: 460px; background: #f5f5f5; }
.mfp-content .modal_header { padding: 30px 20px; font-size: 30px; color: white; background: #2a2a2a; position: relative; }
.mfp-content .modal_content { padding: 50px 50px 40px; position: relative; }

.mfp-content .actions { width: 100%; height: 60px; border-top: 1px solid #ddd; }
.mfp-content .actions .col { line-height: 60px; }
.mfp-content .actions .col.first { border-right: 1px solid #ddd; }

.mfp-content a { font-weight: 700; text-decoration: underline; color: #2a2a2a; display: inline-block; } 
.mfp-content a:hover { color: #181818; } 


.mfp-ready .modal_login { opacity: 1; -ms-transform: scale(1, 1); -webkit-transform: scale(1, 1); transform: scale(1, 1); }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 80px; bottom: 0; padding: 30px; position: fixed; z-index: 11; visibility: hidden; opacity: 1; overflow: hidden; }

#rwd_menu .rwd_menu_overlay { width: 100%; height: 100%; left: 0; top: 0; background: rgba(0,0,0,0.9); position: absolute; }
#rwd_menu .rwd_menu_wrapper { max-height: 100%; background: #f5f5f5; overflow-y: auto; -webkit-overflow-scrolling: touch; -webkit-transform: translateY(-100%); -ms-transform: translateY(-100%); transform: translateY(-100%); -webkit-transition: opacity .3s,-webkit-transform .3s; transition: opacity .3s,-webkit-transform .3s; transition: transform .3s,opacity .3s; transition: transform .3s,opacity .3s,-webkit-transform .3s; }
#rwd_menu .rwd_menu_wrapper ul li { border-bottom: 1px solid #ddd; } 
#rwd_menu .rwd_menu_wrapper ul li:last-child { border-bottom: none; } 
#rwd_menu .rwd_menu_wrapper ul li a { padding-left: 25px; padding-top: 10px; padding-bottom: 10px; font-size: 23px; color: #444; display: block; position: relative; }
#rwd_menu .rwd_menu_wrapper ul li a.active { color: white; background: #2a2a2a; }
#rwd_menu .rwd_menu_wrapper ul li.menu-item-has-children a:after { width: 20px; height: 20px; margin: 0; right: 20px; top: 16px; background: url(images/icon_arrow_down.svg) no-repeat center; background-size: cover; position: absolute; content: ''; }
#rwd_menu .rwd_menu_wrapper ul li.menu-item-has-children a.active:after { background-image: url(images/icon_arrow_down_white.svg); }
#rwd_menu .rwd_menu_wrapper ul li ul { background: white; display: none; }
#rwd_menu .rwd_menu_wrapper ul li ul li { border-bottom-color: #f1f4f7; }
#rwd_menu .rwd_menu_wrapper ul li ul li:last-child { border-bottom: none; }
#rwd_menu .rwd_menu_wrapper ul li ul li a { padding-left: 20px; font-size: 20px; font-weight: normal; text-transform: none; color: #29221c; }
#rwd_menu .rwd_menu_wrapper ul li ul li a:after { display: none; }

/* If user logged in */
#rwd_menu .rwd_menu_wrapper .notloggedin a { width: 100%; height: 50px; font-size: 16px; text-align: center; color: white; line-height: 50px; background: #0052a4; display: block; }
#rwd_menu .rwd_menu_wrapper .loggedin { font-size: 0; }
#rwd_menu .rwd_menu_wrapper .loggedin a { width: 50%; height: 50px; font-size: 16px; text-align: center; color: white; line-height: 50px; background: #0052a4; display: inline-block; }
#rwd_menu .rwd_menu_wrapper .loggedin a.edit_profile { border-right: 1px solid rgba(255,255,255,0.2); }

body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 1; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrapper { -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }


/*
--------------
	HEADER
--------------
*/
#header { width: 100%; height: 80px; left: 0; top: 0; background: white; position: fixed; z-index: 99; -moz-box-shadow: 0 0 20px rgba(0,0,0,0.5); -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.5); box-shadow: 0 0 20px rgba(0,0,0,0.5); }
body.home #header { -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
body.home.fixed_header #header { -moz-box-shadow: 0 0 20px rgba(0,0,0,0.5); -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.5); box-shadow: 0 0 20px rgba(0,0,0,0.5); }
#header hgroup { height: 100%; max-height: 80px; padding: 0 50px; }
#header .inner { height: 100%; }

/* Has filter */
#header.has_filter { height: 125px; }
#header.has_filter hgroup { -moz-box-shadow: 0 0 20px rgba(0,0,0,0.5); -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.5); box-shadow: 0 0 20px rgba(0,0,0,0.5); }
#header.has_filter #filter { height: 40px; margin-top: 5px; background: white; }
#header.has_filter ul#destination { height: 40px; font-size: 0; }
#header.has_filter ul#destination li { height: 40px; margin-right: 15px; padding-right: 15px; font-size: 14px; font-weight: 700; vertical-align: top; color: #999; line-height: 43px; display: inline-block; position: relative; cursor: pointer; }
#header.has_filter ul#destination li:after { width: 1px; height: 20px; right: 0; top: 50%; margin-top: -10px; background: #ddd; position: absolute; content: ''; }
#header.has_filter ul#destination li:last-child:after { display: none; }
#header.has_filter ul#destination li.active { color: #2a2a2a; }

/* Logo */
#header .logo { width: 160px; height: 36px; display: block; float: left; position: relative; z-index: 2; }
#header .logo img { width: auto; height: 100%; display: block; }

/* Menu */
#header menu { width: 100%; left: 0; top: 0; background: rgba(42,42,42,0.9); position: absolute; z-index: 1; }
#header menu ul { height: 80px; padding-left: 260px; font-size: 0; background: white; position: relative; }
#header menu ul:before { width: 1px; height: 60px; left: 230px; top: 10px; background: #ddd; position: absolute; content: ''; }
#header menu ul li { height: 80px; margin-right: 40px; padding-top: 25px; vertical-align: top; display: inline-block; position: relative; list-style: none; }
#header menu ul li a { height: 30px; font-size: 17px; font-weight: 700; color: #2a2a2a; line-height: 30px; display: block; position: relative; }
#header menu ul li a:after { width: 0; height: 2px; left: 50%; bottom: 0; background: #fb6554; position: absolute; content: ''; }
#header menu ul li.current_page_item > a { color: #fb6554; }
#header menu ul li:hover > a:after, #header menu ul li.current_page_item > a:after { width: 100%; left: 0; }

#header menu ul li ul { width: max-content; height: auto; padding: 10px 0 !important; left: 0; top: 100%; background: none !important; position: absolute; visibility: hidden; opacity: 0; }
#header menu ul li ul:before { display: none; }
#header menu ul li ul li { height: auto; margin-right: 0; margin-bottom: 5px; padding-top: 0; display: block; }
#header menu ul li ul li a { height: auto; font-family: 'Roboto', sans-serif; font-size: 17px; font-weight: 400; text-transform: none; color: white; line-height: normal; display: block; }
#header menu ul li ul li a:hover { font-weight: 700; }
#header menu ul li ul li a:after { display: none; }
#header menu ul li ul li.current-menu-item a:after { width: 100%; left: 0; }

#header menu ul li.menu-item-has-children:hover ul { visibility: visible; opacity: 1; }

/* Login and profile */
#header .login_profile { height: 60px; margin-left: 35px; padding-left: 40px; padding-top: 10px; border-left: 1px solid #ddd; position: relative; z-index: 2; }

/* Open search bar */
#header .open_search { width: 30px; height: 30px; background: url(images/icon_search.svg) no-repeat center; background-size: 30px auto; cursor: pointer; z-index: 10; }
#header .open_search.active { background-image: url(images/icon_close.svg); }

/* RWD menu */
#header .rwd_button { width: 80px; height: 80px; right: 0; top: 0; font-size: 30px; background: #181818; position: absolute; cursor: pointer; }
#header .rwd_button .burg { width: 40px; height: 2px; left: 20px; background: white; display: block; position: relative; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 40px; height: 2px; background: white; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: -10px; left: 0; }
#header .rwd_button .burg:after { top: 10px; right: 0; }

body.rwd_menu__opened #header .rwd_button .burg { background: transparent; }
body.rwd_menu__opened #header .rwd_button .burg:before { top: 0; -webkit-transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 0; -webkit-transform: rotate(-45deg); }


/*
--------------
	SEARCH
--------------
*/
#search { height: 110px; padding: 20px 50px; background: #181818; display: none; }
#search input[type=text] { width: 100%; height: 70px; font-size: 25px; color: white; background: transparent; }
#search input[type=text]:-webkit-autofill { color: white; -webkit-box-shadow: 0 0 0px 1000px #2a2a2a inset; }


/*
--------------
	SLIDER
--------------
*/
#slider { height: calc(100vh - 80px); background: #2a2a2a; position: relative; overflow: hidden; }
#slider .video_background { width: auto; height: auto; min-width: 100%; min-height: 100%; right: 0; bottom: 0; position: absolute; z-index: 1; }
#slider .cover { width: 100%; height: 100%; left: 0; top: 0; background: rgba(0,0,0,0.2); position: absolute; z-index: 1; }
#slider .cover:after { width: 1px; height: 120px; left: 50%; bottom: 0; background: white; position: absolute; content: ''; }
#slider .cover .inner { max-width: 700px; margin: auto; font-size: 100px; font-weight: 700; color: white; line-height: 100%; }

#slider .scroll_btn { left: 50%; bottom: 140px; margin-left: -12px; text-align: center; display: block; position: absolute; }
#slider .scroll_btn .mouse { width: 24px; height: 40px; border: 2px solid white; border-radius: 12px; position: relative; display: block; }
#slider .scroll_btn .mouse > * { width: 4px; height: 8px; left: 50%; top: 29%; margin: -2px 0 0 -2px; background: white; display: block; position: absolute; -webkit-animation: ani-mouse 2.5s linear infinite; -moz-animation: ani-mouse 2.5s linear infinite; animation: ani-mouse 2.5s linear infinite; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }

@-webkit-keyframes ani-mouse {
	0% 		{ opacity: 1; top: 29%; }
	15% 	{ opacity: 1; top: 50%; }
	50% 	{ opacity: 0; top: 50%; }
	100%	{ opacity: 0; top: 29%; }
}
@-moz-keyframes ani-mouse {
	0% 		{ opacity: 1; top: 29%; }
	15% 	{ opacity: 1; top: 50%; }
	50% 	{ opacity: 0; top: 50%; }
	100% 	{ opacity: 0; top: 29%; }
}
@keyframes ani-mouse {
	0% 		{ opacity: 1; top: 29%; }
	15% 	{ opacity: 1; top: 50%; }
	50% 	{ opacity: 0; top: 50%; }
	100%	{ opacity: 0; top: 29%; }
}


/*
------------
	NEWS
------------
*/
#news { padding: 70px 0; position: relative; }
#news:before { width: 1px; height: 80px; left: 50%; top: 0; background: #fb6554; position: absolute; content: ''; }
#news .row_news_header { margin-bottom: 50px; }
#news .col_title { font-size: 30px; font-weight: 700; color: #2a2a2a; line-height: 95%; }


/*
------------
	GRID
------------
*/
.gutter-sizer { width: 30px; }
.grid-sizer { width: 380px; }
.grid_wrapper .grid { margin-left: -15px; margin-right: -15px; font-size: 0; }
.grid_wrapper .grid:after { content: ''; display: block; clear: both; }
.grid_wrapper .grid .grid-item { width: 33.3333333333%; height: 260px; margin-bottom: 30px; padding-left: 15px; padding-right: 15px; display: none; position: relative; }
/*.grid_wrapper .grid .grid-item:nth-child(-n+11) { display: inline-block !important; }*/

.grid_wrapper .grid .grid-item .grid_wrapper { height: 100%; background-color: #181818; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
.grid_wrapper .grid .grid-item .grid_wrapper .cover { width: 100%; height: 100%; left: 0; top: 0; background: rgba(42,42,42,0); position: absolute; overflow: hidden; }
.grid_wrapper .grid .grid-item .grid_wrapper:hover .cover { background: rgba(42,42,42,0.5); }
.grid_wrapper .grid .grid-item .grid_wrapper .title { left: 20px; right: 20px; bottom: 20px; font-size: 20px; font-weight: 700; color: white; line-height: 100%; position: absolute; }
.grid_wrapper .grid .grid-item .grid_wrapper:hover .title { bottom: 80px; }
.grid_wrapper .grid .grid-item .grid_wrapper .meta { left: 20px; right: 20px; bottom: -40px; font-size: 18px; color: white; line-height: 100%; position: absolute; }
.grid_wrapper .grid .grid-item .grid_wrapper:hover .meta { bottom: 20px; }

.grid_wrapper .button { margin-top: -50px; }
.grid_wrapper .button.disabled { display: none !important; }

/* Custom grid */
body.post-type-archive-tipp .grid_wrapper .grid .grid-item, 
body.post-type-archive-munka .grid_wrapper_work .grid .grid-item, 
body.post-type-archive-hatarozat .grid_wrapper .grid .grid-item { display: none; }

/* Grid 2 */
.grid_wrapper_work .grid { margin-left: -15px; margin-right: -15px; font-size: 0; }
.grid_wrapper_work .grid:after { content: ''; display: block; clear: both; }
.grid_wrapper_work .grid-item { width: 33.3333333333%; margin-bottom: 30px; padding-left: 15px; padding-right: 15px; vertical-align: top; display: inline-block; }
.grid_wrapper_work .grid-item .grid_wrapper { background-color: #2a2a2a; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
.grid_wrapper_work .grid-item .grid_wrapper .cover { width: 100%; height: 100%; left: 0; top: 0; background: rgba(42,42,42,0); position: absolute; overflow: hidden; }
.grid_wrapper_work .grid-item .grid_wrapper:hover .cover { background: rgba(42,42,42,0.5); }
.grid_wrapper_work .grid-item .grid_wrapper .title { left: 20px; right: 20px; bottom: 20px; font-size: 20px; font-weight: 700; color: white; line-height: 100%; position: absolute; }
.grid_wrapper_work .grid-item .grid_wrapper:hover .title { bottom: 80px; }
.grid_wrapper_work .grid-item .grid_wrapper .meta { left: 20px; right: 20px; bottom: -40px; font-size: 18px; color: white; line-height: 100%; position: absolute; }
.grid_wrapper_work .grid-item .grid_wrapper:hover .meta { bottom: 20px; }


/*
------------------
	BREADCRUMB
------------------
*/
#breadcrumb { height: 50px; padding: 0 470px 0 70px; font-size: 16px; font-weight: 700; color: #fb6554; background: #2a2a2a; position: relative; }
#breadcrumb a { font-weight: normal; text-decoration: underline; color: #999; display: inline-block; }
#breadcrumb a:hover { color: white; }
#breadcrumb .sep { width: 30px; height: 23px; vertical-align: middle; display: inline-block; position: relative; }
#breadcrumb .sep:after { width: 0; height: 0; left: 50%; top: 8px; margin-left: -2px; margin-top: -2px; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 4px solid #999; position: absolute; content: ''; }
#breadcrumb .fb_like_wrapper { width: 510px; height: 100%; right: 0; top: 0; padding-left: 50px; background: #fb6554; position: absolute; }


/*
---------------
	CONTENT
---------------
*/
#container { min-height: calc(100vh - 80px); position: relative; }

#content { width: 100%; padding: 70px 0 30px; font-size: 17px; line-height: 25px; }
body.single #content { text-align: justify; }
#content.nopadding { padding: 0; }

body.post-type-archive-tipp  #content, 
body.post-type-archive-munka  #content, 
body.post-type-archive-hatarozat  #content { padding-top: 70px; }

#content a { text-decoration: underline; color: #2a2a2a; }
#content a:hover { text-decoration: none; }
#content p { margin-bottom: 20px; }
#content strong { color: #2a2a2a; }

#content h1 { margin-bottom: 30px; font-size: 60px; color: #181818; line-height: 100%; position: relative; }
#content h1.main_title { padding-left: 35px; font-family: 'Roboto Condensed', sans-serif; font-size: 30px; text-transform: uppercase; }
#content h1.main_title:before { width: 22px; height: 22px; left: 0; top: 3px; background: #fb6554; position: absolute; content: ''; }
#content h3 { margin-bottom: 10px; font-size: 30px; font-weight: 700; color: #fb6554; }
#content h4 { margin-bottom: 5px; font-family: 'Roboto Condensed', sans-serif; font-size: 17px; font-weight: 700; text-transform: uppercase; color: #fb6554; }

/* List */
#content ul { margin-left: 20px; margin-bottom: 20px; }

#content ul.nomargin { margin-left: 0; }

/* Gallery */
#content ul.gallery { margin-left: -5px; margin-right: -5px; font-size: 0; }
#content ul.gallery li { width: 25%; margin-bottom: 10px; padding-left: 5px; padding-right: 5px; vertical-align: top; display: inline-block; list-style: none; }
#content ul.gallery li a { display: block; }
#content ul.gallery li img { width: 100%; height: auto; display: block; }

/* Table */
#content table.cookies { width: 100%; margin-bottom: 30px; text-align: left; border-collapse: 0; }
#content table.cookies thead th { padding: 5px 10px; font-size: 14px; text-transform: uppercase; color: white; line-height: 20px; background: #fb6554; }
#content table.cookies tbody td { padding: 5px 10px; font-size: 16px; line-height: 20px; border-bottom: 1px solid #ddd; }

/* Share */
#content .share { left: 100px; top: 70px; position: absolute; }
#content .share a { width: 70px; height: 70px; margin-bottom: 10px; text-decoration: none !important; color: #79b396; background-color: #fb6554; background-repeat: no-repeat; background-position: center; background-size: auto 30px; display: block; position: relative; z-index: 1; }
#content .share a.facebook { background-image: url(images/icon_facebook.svg); }
#content .share a:hover {  }
#content .share a:before { width: 0; height: 0; left: 50%; top: 50%; background: #000; position: absolute; content: ''; z-index: -1; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -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; }
#content .share a:hover:before { width: 100%; height: 100%; left: 0; top: 0; }
#content .share a span { display: none; }

/* Project slider */
#content .project_slider_wrapper { height: calc(100vh - 130px); overflow: hidden; }

#content .project_slider_wrapper .history_back { width: 80px; height: 80px; left: 0; top: 100px; background: rgba(42,42,42,0.8) url(images/icon_history_back_white.svg) no-repeat center; background-size: auto 30px; position: absolute; cursor: pointer; z-index: 10; }
#content .project_slider_wrapper .history_back:hover { background-color: rgba(42,42,42,1); }

#content .project_slider_wrapper .project_info { width: 100%; height: 50px; left: 0; bottom: 0; padding: 0 20px; font-size: 18px; color: black; line-height: 50px; background: rgba(255,255,255,0.8); position: absolute; z-index: 10; }
#content .project_slider_wrapper .project_info strong { font-weight: 700; }

#content .project_slider_wrapper .project_slider, 
#content .project_slider_wrapper .slick-list, 
#content .project_slider_wrapper .slick-track, 
#content .project_slider_wrapper .item, 
#content .project_slider_wrapper .slick-slide { height: 100%; }
#content .project_slider_wrapper .slick-slide div { height: 100%; }
#content .project_slider_wrapper .slick-slide img { width: auto; height: 100%; margin-right: 20px; display: block; }

#content .project_slider_wrapper .slick-arrow { width: 80px; height: 80px; right: 80px; top: 100px; text-indent: -9999px; background: rgba(42,42,42,0.8) url(images/icon_arrow_left_open_white.svg) no-repeat center; background-size: auto 30px; position: absolute; cursor: pointer; z-index: 10; }
#content .project_slider_wrapper .slick-arrow:hover { background-color: rgba(42,42,42,1); }
#content .project_slider_wrapper .slick-arrow.slick-next { right: 0; background-image: url(images/icon_arrow_right_open_white.svg); }

/* Project entry */
#content .project_entry { padding: 50px 0; }
#content .project_entry .datas { margin-bottom: 50px; font-size: 17px; color: #2a2a2a; }
#content .project_entry .datas .name { width: 200px; height: 60px; font-weight: 700; line-height: 60px; position: relative; }
#content .project_entry .datas .name:after { width: 180px; height: 1px; left: 0; bottom: 0; background: #2a2a2a; position: absolute; content: ''; }
#content .project_entry .datas .name.first:before { width: 180px; height: 1px; left: 0; top: 0; background: #2a2a2a; position: absolute; content: ''; }
#content .project_entry .datas .value { width: calc(100% - 200px); height: 60px; line-height: 60px; position: relative; }
#content .project_entry .datas .value:after { width: 100%; height: 1px; left: 0; bottom: 0; background: #ddd; position: absolute; content: ''; }
#content .project_entry .datas .value.first:before { width: 100%; height: 1px; left: 0; top: 0; background: #ddd; position: absolute; content: ''; }

/* Contact */
#content .row_contact .col_text { padding-right: 50px; }
#content .row_contact .col_map { position: relative; }
#content .row_contact .col_map .map { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }

/* Parters */
#content .partners { margin-left: -15px; margin-right: -15px; font-size: 0; }
#content .partners .partner { width: 33.3333333333%; margin-bottom: 30px; padding-left: 15px; padding-right: 15px; text-decoration: none; vertical-align: top; color: white; line-height: 22px; display: inline-block; }
#content .partners .partner:hover { text-decoration: underline; }
#content .partners .partner img { width: 100%; height: auto; display: block; }
#content .partners .partner .wrapper { height: 100px; padding: 0 20px; font-size: 16px; font-weight: 700; background: #2a2a2a; -moz-box-shadow: 0 10px 10px rgba(0,0,0,0.2); -webkit-box-shadow: 0 10px 10px rgba(0,0,0,0.2); box-shadow: 0 10px 10px rgba(0,0,0,0.2); }

/* Pagination */
#content .pagination { padding: 0 15px; }
#content .pagination .pages { font-size: 14px; text-transform: uppercase; float: right; }
#content .pagination a, 
#content .pagination .current { width: 40px; height: 40px; font-size: 15px; text-align: center; line-height: 40px; border: 1px solid white; display: inline-block; }
#content .pagination .current { color: white; background: #fb6554; }


/*
----------------
	CALENDAR
----------------
*/
/* Nav */
#content #events-full-calendar .fc-toolbar .fc-left button { -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; border-radius: 0 !important; }
#content #events-full-calendar .fc-toolbar .fc-right { display: none; }

/* Container */
#content #events-full-calendar .fc-view-container table thead.fc-head th, 
#content #events-full-calendar .fc-view-container table thead.fc-head td { border: none; }

#content #events-full-calendar .fc-view-container table tbody.fc-body td { border: none; }
#content #events-full-calendar .fc-view-container table tbody.fc-body td .fc-row { max-height: 120px !important; }
#content #events-full-calendar .fc-view-container table tbody.fc-body td.fc-day { background: #f5f5f5; border: 2px solid white; }
#content #events-full-calendar .fc-view-container table tbody.fc-body td.fc-day.fc-today { background: #c2c2c2; }
#content #events-full-calendar .fc-view-container table tbody.fc-body td.fc-day-number { font-size: 15px; }

#content #events-full-calendar .fc-view-container table tbody.fc-body td .fc-content-skeleton, 
#content #events-full-calendar .fc-view-container table tbody.fc-body td .fc-content-skeleton table, 
#content #events-full-calendar .fc-view-container table tbody.fc-body td .fc-content-skeleton table td { height: 100%; }

#content #events-full-calendar .fc-event { height: 100%; background-color: #fb6554; -moz-border-radius: 0; -webkit-border-radius: 0; -khtml-border-radius: 0; border-radius: 0; }


/*
-----------------
	SIDEBAR
-----------------
*/
#sidebar { width: 280px; padding: 30px; border-left: 1px solid #f3ece4; }
#sidebar .widget { margin-bottom: 50px; }
#sidebar .widget_title { margin-bottom: 20px; padding-bottom: 20px; font-size: 25px; font-weight: 700; color: #181818; position: relative; }
#sidebar .widget_title:after { width: 30px; height: 2px; left: 0; bottom: 0; background: #fb6554; position: absolute; content: ''; }

/* News */
#sidebar .widget_news ul li { min-height: 70px; margin-bottom: 20px; padding-bottom: 20px; padding-left: 70px; border-bottom: 1px solid #f3ece4; position: relative; list-style: none; }
#sidebar .widget_news ul li a { font-size: 16px; color: #2a2a2a; line-height: 100%; display: block; }
#sidebar .widget_news ul li a:hover { text-decoration: underline; }
#sidebar .widget_news ul li img { width: 50px; height: 50px; left: 0; top: 0; position: absolute; }
#sidebar .widget_news ul li .datetime { font-size: 15px; font-weight: 700; color: #fb6554; }


/*
---------------
	FOOTER
---------------
*/
#footer { line-height: 25px; background: #2a2a2a; position: relative; }

/* Footer top */
#footer .footer_top { padding-left: 50px; height: 130px; }
#footer .footer_top .row, 
#footer .footer_top .col { height: 100%; }
#footer .footer_top .col_logo img { width: auto; height: 36px; display: inline-block; }

#footer .footer_top .col_contact { padding-right: 30px; font-size: 16px; text-align: right; color: #999; line-height: 20px; vertical-align: middle; }
#footer .footer_top .col_contact p { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
#footer .footer_top .col_contact strong { color: white; }

#footer .footer_top a.go_events { width: 100%; height: 100%; padding: 0 170px 0 30px; font-size: 18px; font-weight: 700; color: white; background: #fb6554; display: block; position: relative; }
#footer .footer_top a.go_events .icon { width: 70px; height: 70px; right: 50px; background: white; position: absolute; }
#footer .footer_top a.go_events .icon:before { width: 0; height: 0; left: 50%; top: 50%; background: #000; position: absolute; content: ''; z-index: 1; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -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; }
#footer .footer_top a.go_events:hover .icon:before { width: 100%; height: 100%; left: 0; top: 0; }
#footer .footer_top a.go_events .icon svg { width: auto; height: 30px; display: inline-block; position: relative; z-index: 2; }
#footer .footer_top a.go_events:hover .icon svg path, 
#footer .footer_top a.go_events:hover .icon svg rect { fill: white; }


/*
--------------
	FORM
--------------
*/
.form-row { margin-bottom: 10px !important; }
.form-row.form-row-first { width: 48%; float: left; }
.form-row.form-row-last { width: 48%; float: right; }
.form-row.form-row-wide { width: 100%; float: none; clear: both; }

.form-row label { font-size: 17px; font-weight: 700; color: #181818; }

.form-row textarea,
.form-row input[type=tel],
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=password] { width: 100%; height: 50px; padding-left: 15px; background: #f9f9f9; border: 1px solid #ddd; border-bottom-width: 3px; }

.form-row textarea:focus,
.form-row input[type=tel]:focus,
.form-row input[type=text]:focus,
.form-row input[type=email]:focus,
.form-row input[type=password]:focus { border-color: #484848; }

.form-row textarea { height: 150px; padding: 15px; }

.form-row.white_input textarea,
.form-row.white_input input[type=tel],
.form-row.white_input input[type=text],
.form-row.white_input input[type=email],
.form-row.white_input input[type=password] { background: white; }


/*
------------------
	KEYFRAMES
------------------
*/
@-webkit-keyframes bounceRight {
	0%,20%,40% { -webkit-transform: translateX(0); transform: translateX(0); }
	10% { -webkit-transform: translateX(1.5625rem); transform: translateX(1.5625rem); }
	30% { -webkit-transform: translateX(1.25rem); transform: translateX(1.25rem);}
}
@keyframes bounceRight { 
	0%,20%,40% { -webkit-transform:translateX(0); transform: translateX(0); }
	10% { -webkit-transform: translateX(1.5625rem); transform: translateX(1.5625rem); }
	30% { -webkit-transform: translateX(1.25rem); transform: translateX(1.25rem); }
}


/*
-------------------
	RWD DESIGN
-------------------
*/
@media only screen and (max-width: 1440px) { 

	/* HEADER */
	#header hgroup { padding: 0 30px; }
	
	/* SLIDER */
	#slider .video_background { width: auto; height: 100%; min-width: inherit; min-height: inherit; }
	
	/* BREADCRUMB */
	#breadcrumb { height: 50px; padding: 0 470px 0 30px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding-left: 30px; }
}

@media only screen and (max-width: 1200px) { 

	/* DISPLAY: None */
	.hide_in_1200 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_1200 { display: block !important; }

	/* DEFAULT */
	.p_l_30 { padding-left: 30px; }
	.p_r_30 { padding-right: 30px; }
	
	/* HEADER */
	#header { padding-right: 0; }
	#header hgroup { padding-right: 0; }
	
	/* HEADER: Menu */
	#header menu ul li { margin-right: 30px; }
	
	/* HEADER: Login and profile */
	#header .login_profile { height: 100%; margin-left: 30px; padding-left: 0; padding-top: 0; border-left: none; }
	#header .login_profile a.profile { width: 80px; height: 80px; padding: 0; text-indent: -9999px; background-image: url(images/icon_user_white.svg); background-repeat: no-repeat; background-position: center; background-size: auto 30px; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
	
	/* SLIDER */
	#slider .cover .inner { font-size: 80px; }
	
	/* GRID */
	.gutter-sizer { width: 0; }
	.grid-sizer { width: 33.3333333333%; }

	.grid_wrapper .grid { margin-left: -15px; margin-right: -15px; }
	.grid_wrapper .grid .grid-item { width: 33.3333333333%; height: 260px; padding-left: 15px; padding-right: 15px; }
	.grid_wrapper .grid .grid-item-1 { width: 33.3333333333%; height: 260px; }
	.grid_wrapper .grid .grid-item .entry .title { font-size: 22px; }
	
	/* BREADCRUMB */
	#breadcrumb { height: auto; padding: 10px 30px; }
	#breadcrumb .sep { width: 20px; }
	#breadcrumb .vertical_middle { top: auto; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
	
	/* CONTENT */
	#container > .row_table { display: block; }
	#content { width: 100%; display: block; }
	
	/* CONTENT: Project */
	#content .project_header { height: 600px; }
	#content .project_header .inner .title_button { left: 30px; bottom: 90px; }
}

@media only screen and (max-width: 960px) { 

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* HEADER */
	#header { padding-right: 80px; }
	
	/* SLIDER */
	#slider .cover:after { height: 80px; }
	#slider .cover .inner { font-size: 70px; }
	
	#slider .scroll_btn { bottom: 100px; }
	
	/* NEWS */
	#news:before { height: 60px; }
	#news .row_news_header .col { width: 100%; display: block; }

	/* GRID */
	.gutter-sizer { width: 0; }
	.grid-sizer { width: 50%; }
	
	.grid_wrapper .grid .grid-item { width: 50%; }
	.grid_wrapper .grid .grid-item .entry { left: 0; }
	
	/* GRID: Grid 2 */
	.grid_wrapper_work .grid-item { width: 50%; }
	
	/* CONTENT: Project */
	#content .project_header { height: 500px; }
	#content .project_header .inner .title_button { bottom: 80px; }
	
	/* CONTENT: Parters */
	#content .partners .partner { width: 50%; }
	
	/* FOOTER */
	#footer .footer_top .col_logo { width: 100%; text-align: center; display: block; }
	#footer .footer_top .col_contact, 
	#footer .footer_top .col_event { width: 50%; }
	#footer .footer_top .col_contact strong { color: #2a2a2a; } 
}

@media only screen and (max-width: 768px) { 

	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_768 { display: block !important; }
	
	/* HEADER: Has filter */
	#header.has_filter { height: 80px; }
	#header.has_filter hgroup { -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
	
	/* SLIDER */
	#slider .cover:after { height: 60px; }
	#slider .cover .inner { font-size: 9vw; }
	
	#slider .scroll_btn { bottom: 80px; }
	
	/* NEWS */
	#news { padding: 50px 0; }
	#news:before { height: 40px; }
	#news .row_news_header { margin-bottom: 30px; }

	/* GRID */
	.grid_wrapper .grid .grid-item .entry .title { font-size: 20px; }
	
	/* CONTENT */
	body.post-type-archive-tipp  #content, 
	body.post-type-archive-munka  #content, 
	body.post-type-archive-hatarozat  #content { padding-top: 30px; }
	#content h1 { font-size: 8vw; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: 33.3333333333%; }
	
	/* CONTENT: Project */
	#content .project_header { height: 400px; }
	#content .project_header .inner .title_button { bottom: 70px; }

	/* FOOTER: Footer top */
	#footer .footer_top { padding-left: 0; }
	#footer .footer_top .col_contact { width: 100%; text-align: center; display: block; } 
	#footer .footer_top .col_event { width: 100%; display: block; } 
	#footer .footer_top a.go_events { padding: 0 130px 0 30px; }
	#footer .footer_top a.go_events .icon { right: 30px; }
}

@media only screen and (max-width: 640px) { 

	/* DEFAULT*/ 
	#website { padding-top: 80px; }
	
	/* MODAL */
	.mfp-content .modal_login { width: 440px; }
	.mfp-content .modal_header { padding: 20px; }
	.mfp-content .modal_content { padding: 40px 40px 30px; }
	
	/* SLIDER */
	#slider { height: calc(100vh - 140px); }
	#slider .cover:after { height: 40px; }
	#slider .cover .inner { font-size: 10vw; }
	
	#slider .scroll_btn { bottom: 60px; }
	
	/* GRID: Grid 2 */
	.grid_wrapper_work .grid { margin-left: 0; margin-right: 0; }
	.grid_wrapper_work .grid-item { width: 100%; padding-left: 0; padding-right: 0; display: block; }
	
	/* CONTENT */
	#content h1 { font-size: 9vw; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: 50%; }
	
	/* CONTENT: Project */
	#content .project_header { height: 300px; }
	#content .project_header .inner .title_button { bottom: 50px; }
	
	/* CONTENT: Parters */
	#content .partners { margin-left: 0; margin-right: 0; }
	#content .partners .partner { width: 100%; padding-left: 0; padding-right: 0; display: block; }
	
	/* FORM */
	.form-row.form-row-first, 
	.form-row.form-row-last { width: 100%; float: none; }
}

@media only screen and (max-width: 480px) { 

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }	
	
	/* DEFAULT */
	.button_full_width_in_480 { width: 100%; text-align: center; display: block; }
	
	/* MODAL */
	.mfp-content { padding-left: 20px; padding-right: 20px; }
	.mfp-content .modal_panel .mfp-close { right: 10px; }
	.mfp-content .modal_login { width: 100%; }
	.mfp-content .modal_content { padding: 30px 30px 20px; }
	.mfp-content .modal_content .button { width: 100%; padding: 0; }

	/* HEADER: Logo */
	#header .logo { width: 110px; height: 25px; }
	
	/* SLIDER */
	#slider { height: 70vh; }
	#slider .cover .inner { font-size: 11vw; }
	
	/* NEWS */
	#news .col_title { font-size: 10vw; }
	
	/* GRID */
	.gutter-sizer { width: 0; }
	.grid-sizer { width: 100%; }

	.grid_wrapper .grid { margin-left: 0; margin-right: 0; }
	.grid_wrapper .grid .grid-item { width: 100%; height: 250px; padding-left: 0; padding-right: 0; }
	.grid_wrapper .grid .grid-item-1 { width: 100%; height: 250px; }
	.grid_wrapper .grid .grid-item .entry .title { font-size: 22px; }
	
	/* CONTENT */
	#content h1 { font-size: 10vw; }
	
	/* CONTENT: Project */
	#content .project_header { height: 250px; }
	#content .project_header .inner .title_button { bottom: 20px; }
} 
