/*
Theme Name: egyetemunk
*/

/* NULL */

HTML, BODY, DIV, SPAN, APPLET, OBJECT, IFRAME, H1, H2, H3, H4, H5, H6, P, BLOCKQUOTE, PRE, A, ABBR, ACRONYM, ADDRESS, BIG, CITE, CODE, DEL, DFN, EM, FONT, IMG, INS, KBD, Q, S, SAMP, SMALL, STRIKE, STRONG, TT, VAR, B, U, I, CENTER, DL, DT, DD, OL, UL, LI, FIELDSET, FORM, LABEL, LEGEND {margin: 0;padding: 0;border: 0;outline: 0;font-size: 100%;vertical-align: baseline;background: transparent;}
SUP, SUB {line-height: 1px;}
BODY {line-height: 1;}
UL {list-style: none;}
:focus {outline: 0;}
INS {text-decoration: none;}
DEL {text-decoration: line-through;}
input::-moz-focus-inner {border: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary, .block {display: block;}
audio, canvas, video {display: inline-block;}
audio:not([controls]) {display: none;height: 0;}

[hidden] {display: none;}
.none, .hidden, .on980, .on760, .on320, .only980, .only760 {display: none;}

.clear, .clr {clear: both;}
hr.clear, hr.clr {padding: 0;margin: 0;height: 1px;overflow: hidden;border: 0;}
.clearfix:before, .clearfix:after, .clf:before, .clf:after {content: " ";display: table;}
.clearfix:after, .clf:after {clear: both;}
.clearfix, .clf {*zoom: 1;}

.alignright, .right { float: right; }
.alignleft, .left { float: left; }
.center { text-align: center; }
.centered, .aligncenter {
	display: block;
	margin: 0 auto;
	}

img.alignright, img.right {
	margin: 0 0 7px 20px;
	display: inline;
	}
img.alignleft, img.left {
	margin: 0 20px 7px 0;
	display: inline;
	}
a img {
	border: none;
	}
img {
	max-width: 100%;
	}

.entry img {
	height: auto;
	}

/* END NULL */


/* BASE */

body {
	color: #010101;
	font-size: 16px;
	line-height: 22px;
	font-family: 'Tahoma', sans-serif;
	background: #133152;
	text-align: center;
	}

.wrap {
	max-width: 1300px;
	box-sizing: border-box;
	padding: 0 10px;
	margin: 0 auto;
	text-align: left;
	}

.center_bg{
	box-sizing: border-box;
	max-width: 1300px;
	margin: 0 auto;
	background: #05a779;
    box-shadow: 0 10px 20px rgb(0 0 0 / 20%);
	}

input, textarea {
	color: #1f1f1f;
	font-size: 16px;
	line-height: 20px;
	font-family: 'Arial', sans-serif;
	}

a {
	color: #fa4d00;
	text-decoration: none;
	transition: all 0.3s 0.02s ease;
	}

a:hover {
	color: #fa4d00;
	text-decoration: underline;
	}

p, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .title, .entry table, .entry form, .entry ul, .entry ol, .entry hr, blockquote {
	margin: 0 0 20px 0;
	}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .title {
	color: #000000;
	font-weight: 600;
	margin: 0 0 25px 0;
	}
h1, .h1, .title{
	font-size: 28px;
	line-height: 32px;
	}
h1.main_title{
	text-align: center;
	}
h2, .h2{
	font-size: 26px;
	line-height: 30px;
	}
h3, .h3{
	font-size: 24px;
	line-height: 28px;
	}
h4, .h4{
	font-size: 22px;
	line-height: 26px;
	}
h5, .h5{
	font-size: 20px;
	line-height: 24px;
	}
h6, .h6{
	font-size: 19px;
	line-height: 23px;
	}



.black{
	color: #000;
	}
.white{
	color: #fff;
	}
.grey{
	color: #808080;
	}
.green{
	color: #34c924;
	}
.red{
	color: #ff0000;
	}
.orange{
	color: #ffa500;
	}
.yellow{
	color: #ffff00;
	}
.blue{
	color: #0000ff;
	}
.purple{
	color: #8b00ff;
	}
.pink{
	color: #ffc0cb;
	}


.table, .entry table {
	border-spacing: 0;
	border-collapse: collapse;
	border-top: 1px solid #959596;
	border-left: 1px solid #959596;
	}

.table tr th, .entry table tr th{
	border-bottom: 1px solid #959596;
	border-right: 1px solid #959596;
	background: #f4f4f4;
	padding: 8px 10px;
	}

.table tr td, .entry table tr td{
	border-bottom: 1px solid #959596;
	border-right: 1px solid #959596;
	padding: 8px 10px;
	}

.entry table.nobord, .entry table.nobord tr th, .entry table.nobord tr td {
	border: 0;
	padding: 0;
	background: none;
	}

.entry ul, ul.list {
	padding: 0 0 0 20px;
	list-style: none;
	}

.entry ol, ol.list {
	padding: 0 0 0 25px;
	list-style: none;
	}

.entry ul ul, .entry ol ol, .entry ol ul, .entry ul ol, ul.list ul, ol.list ol, ol.list ul, ul.list ol {
	margin: 5px 0 0 0;
	}

.entry ol > li, ol.list > li {
	margin: 7px 0 7px 10px;
	list-style: decimal outside;
	}

.entry ul > li, ul.list > li {
	margin: 7px 0 7px 10px;
	list-style-type: disc;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}
acronym, abbr, span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
	cursor: help;
	}
acronym, abbr {
	border-bottom: 1px dashed #999;
	}
blockquote {
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}
blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.grid {
	clear: both;
	*zoom: 1;
	}
.grid:after {
	content: "";
	display: table;
	clear: both;
	}
[class*='col-'] {
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0 20px 0 0;
	}
.col-1-8 {
	width: 12.5%;
	}
.col-1-4 {
	width: 25%;
	}
.col-1-3 {
	width: 33.33%;
	}
.col-1-2 {
	width: 50%;
	}
.col-2-3 {
	width: 66.66%;
	}

/* END BASE */


/* FORM */

.form_line{
	padding: 0 0 15px 0;
	}

.lab{
	display: block;
	padding: 0 0 2px 0;
	}

.inp{
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	padding: 10px 20px;
	background: #fff;
	border: 1px solid #b2b2b2;
	border-radius: 3px;
	-webkit-appearance: none;
	color: #000;
	font-size: 15px;
	line-height: 18px;
	}

.ta{
	box-sizing: border-box;
	width: 100%;
	height: 100px;
	padding: 10px 20px;
	background: #fff;
	border: 1px solid #b2b2b2;
	border-radius: 3px;
	-webkit-appearance: none;
	color: #000;
	font-size: 15px;
	line-height: 18px;
	vertical-align: bottom;
	}

.form_sub {
	position: relative;
	}

.btn {
	display: inline-block;
	box-sizing: border-box;
	min-height: 40px;
	padding: 10px 20px;
	border: 1px solid #57b64d;
	background: #57b64d;
	border-radius: 5px;
	transition: all 0.3s 0.02s ease;
	-webkit-appearance: none;
	color: #fff;
	font-size: 16px;
	line-height: 18px;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	}

.btn:hover{
	border-color: #ca2a3c;
	background-color: #ca2a3c;
	color: #fff;
	text-decoration: none;
	}

.form_sub .ajax-loader {
	position: absolute;
	top: -5px;
	right: -5px;
	}

/* END FORM */



/* HEADER */

header {
	background: #c7ad00;
	position:relative;
	box-sizing:border-box;
	padding: 10px 0 0 0;
	box-shadow: 0 0 24px 0 rgb(0 0 0 / 25%);
	}

.logo{
	max-width: 280px;
	margin: 0 0 10px 0;
	text-align: center;
	}
.logo img{
	vertical-align: bottom;
	transition: all 0.3s 0.02s ease;
	}
.logo a:hover img{
	transform:scale(1.1)
	}
	
.nav_top{
	padding: 0 0 0 0;
	}
.nav_top > ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items:center;
	}
.nav_top > ul > li{
	display:block;
	position: relative;
	padding: 0 15px 0 0;
	}
.nav_top > ul > li > a{
	display:block;
	padding: 0 0 15px 0;
	color: #000;
	font-size: 15px;
	line-height: 20px;
	letter-spacing: 1px;
	text-decoration: none;
	font-weight: 500;
	position:relative;
	}
.nav_top > ul > li > a:before{
	content:"";
	display:block;
	position:absolute;
	z-index: 1;
	bottom:0;
	left:0;
	height: 2px;
	width: 0;
	background: #000;
	transition: all 0.3s 0.02s ease;
	}
.nav_top > ul > li:hover > a:before, .nav_top > ul > li.current-menu-item > a:before{
	width: 100%;
	}	


.nav_top > ul > li > ul{
	display: none;
	box-sizing: border-box;
	padding: 0 0;
	border-radius: 0 4px 4px 4px;
	position:absolute;
	z-index:77;
	top:100%;
	left:0;
	height: auto;
	width: 220px;
	background: #000;
	}
.nav_top > ul > li:hover > ul{
	display: block;
	}

.nav_top > ul > li > ul > li{
	display:block;
	position: relative;
	}
.nav_top > ul > li > ul > li > a{
	display: block;
	padding: 7px 10px;
	color: #fff;
	font-size: 15px;
	line-height: 20px;
	text-decoration: none;
	font-weight: 600;
	position:relative;
	border-bottom: 1px solid #000;
	}
.nav_top > ul > li > ul > li:first-child > a{
	border-radius: 0 4px 0 0;
	}
.nav_top > ul > li > ul > li:last-child > a{
	border-bottom: 0 solid #000;
	border-radius: 0 0 4px 4px;
	}
.nav_top > ul > li > ul > li > a:hover, .nav_top > ul > li > ul > li.current-menu-item > a{
	background: #fff;
	color: #fa4c00 ;
	}




.adapt_menu{
	position: relative;
	display: none;
	width: 32px;
	height: 17px;
	cursor: pointer;
	transition: all .3s ease-in-out;
	}
.adapt_menu span{
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 3px;
	background: #fff;
	border-radius: 3px;
	transition: all .2s ease-in-out;
	}
.adapt_menu span:nth-child(2){
	top: 7px;
	}
.adapt_menu span:nth-child(3){
	top: 14px;
	}
.adapt_menu.adapt_menu_active span{
	top: 7px;
	background: #ffffff;
	}
.adapt_menu.adapt_menu_active span:nth-child(1){
	transform: rotate(45deg);
	}
.adapt_menu.adapt_menu_active span:nth-child(2){
	opacity: 0;
	}
.adapt_menu.adapt_menu_active span:nth-child(3){
	transform: rotate(-45deg);
	}
	
.top_block{
	padding: 30px 0;
	}

.top_block_list{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	}

.top_button{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 0;
	}	
a.login{
	display:block;
	margin: 0 5px 10px 5px;
	padding: 0 20px;
	height: 42px;
	box-sizing:border-box;
	background: #fa4c00;
	text-align:center;
	letter-spacing: 1px; 
	line-height: 42px;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	font-size: 18px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
	}	
a.login.registration{
	background: #ffdd00;
	color: #000;
	}	
a.login:hover{
	color: #fff;
	box-shadow: rgba(0, 0, 0) 0 0px 0px 40px inset;
	}
	
	
	
/* END HEADER */


/* HOME */

#content{
	padding: 0 0 20px 0;
	}


.post{
	background: #fff;
	padding: 20px;
	margin: 0 0 20px 0;
	}
.widget{
	background: #fff;
	padding: 10px;
	margin: 0 0 20px 0;
	}
.widget_title, .widget_block h2{
	margin: 0 0 20px 0;
	padding: 10px;
	background: #fd0;
	font-weight: 500;
	font-size: 18px;
	color: #000;
	text-align: left;
	}
.widget_autor_top{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	font-weight: 600;
	font-size: 17px;
	margin: 0 0 10px 0;
	}
.widget_autor_img{
	margin: 0 10px 0 0;
	width: 100px;
	height: 100px;
	overflow: hidden;
	border-radius: 50%;
	flex: 0 0 100px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	}
.widget_autor_img img{
	min-height: 100px;
	vertical-align: bottom;
	}
.widget_autor_text{
	font-size: 14px;
	line-height: 18px;
	}



.faq_block{
	background: #fff;
	padding: 10px;
	margin: 0 0 20px 0;
	}
.faq_b{
	padding: 0 10px;
	background: #fbfbfb;
	border: 1px solid #fc6200;
	margin: 0 0 15px 0;
	transition: all 0.3s 0.02s ease;
	}
.faq_b.active, .faq_b:hover{
	background: #f5f5f5;
	}
.faq_b_title{
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
	position:relative;
	padding: 10px 30px 10px 0;
	}
.faq_b_title:before{
	content:"";
	display: block;
	position:absolute;
	z-index:1;
	top: 19px;
	right: 0;
	width: 13px;
	height: 2px;
	background: #c7c7c7;
	transition: all 0.3s 0.02s ease;    
	}
.faq_b_title:after{
	content:"";
	display: block;
	position:absolute;
	z-index:1;
	top: 19px;
	right: 0;
	width: 13px;
	height: 2px;
	background: #c7c7c7;
	transform:rotate(90deg);
	transition: all 0.3s 0.02s ease;    
	}
.faq_b_title.active:before{
	background: #ffc000;
	transform: rotate(60deg);
	width: 8px;
	top: 21px;
	right: 8px;
	}
.faq_b_title.active:after{
	background: #ffc000;
	transform: rotate(120deg);
	}
.faq_b_text{
	display: none;
	padding: 5px 0 10px 0;
	}


/* END HOME */


/* FOOTER */

footer {
	background: #ffdd00;
	position:relative;
	box-sizing:border-box;
	padding: 20px 0 20px 0;
	box-shadow: 0 0 24px 0 rgb(0 0 0 / 25%);
	}
.f_text{
	color: #000;
	font-size: 14px;
	line-height: 18px;
	text-align: center;
	}
.copu{
	margin: 0 0 20px 0;
	color: #000;
	font-size: 14px;
	line-height: 18px;
	font-weight: bold;
	text-align: center;
	}

/* END FOOTER */




/* COMMENTS */

.comments_list li {
	padding: 15px;
	margin: 0 0 15px 0;
	border: 1px solid #ddd;
	background: #f8f8f8;
	}

.comments_list li li {
	margin: 15px 0 0 0;
	}

.comments_list li.thread-even {
	background: #fff; 
	} 

.comments_list .even {
	background: #fff; 
	}

.comments_list .alt {
	background: #f8f8f8; 
	}

.comment_ava{
	float: left;
	padding: 0 10px 0 0;
	}

.comment_top{
	padding: 0 0 10px 0;
	}

.comment_a{
	font-weight: bold;
	}

.comment_d{
	font-style: italic;
	}

.comment_repl{
	text-align: right;
	}

#respond{
	}

.comments_list #respond{
	margin: 0 15px 15px 15px;
	}

#cancel-comment-reply-link{
	display: inline-block;
	margin: 0 0 15px 0;
	}

/* END COMMENTS */


/* WP OTHER */

.wp-caption {
	box-sizing: border-box;
	max-width: 100%;
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding: 4px;
	margin: 10px;
	border-radius: 3px;
	}

.wp-caption img {
	max-width: 100%;
	height: auto;
	padding: 0;
	border: 0 none;
	}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
	}

.wpcf7-not-valid { 
	border-color: #ad2929 !important;
	color: #ad2929; 
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; 
	}

/* END WP OTHER */
/* ===== MERGED ADAPTIVE (style768 + style320) ===== */
@media screen and (max-width: 1020px) {
header { padding: 10px 0 20px 0; }
.adapt_menu { display: block; }
.nav_top { display: none; padding: 10px 0 0 0; }
.nav_top.nav_open { display: block; }
.nav_top > ul { display: block; }
.nav_top > ul > li { display: block; position: relative; padding: 0; }
.nav_top > ul > li > a { display: block; padding: 7px 0; border-radius: 0; }
.nav_top > ul > li > a:before { border-radius: 0; }
.nav_top > ul > li > ul { display: block; box-sizing: border-box; padding: 0 0 0 20px; border-radius: 0; position: relative; z-index: 77; top: 0; left: 0; height: auto; width: auto; background: none; }
.nav_top > ul > li > ul > li > a { color: #000; border-bottom: 0; }
#content { display: block; padding: 0 0 20px 0; }
.top_block_list { justify-content: center; text-align: center; }
.logo { margin: 0 auto 10px auto; }
}
@media screen and (max-width: 767px) {
.post { padding: 10px; }
h1, .h1, .title { font-size: 23px; line-height: 27px; }
h2, .h2 { font-size: 21px; line-height: 25px; }
h3, .h3 { font-size: 19px; line-height: 23px; }
.widget_autor_img { width: 70px; height: 70px; flex: 0 0 70px; }
a.login { font-size: 15px; padding: 0 12px; }
}

/* ===== 2026 ADDITIONS ===== */
.logo img, .logo svg { max-width: 280px; width: 100%; height: auto; }
.post img { height: auto; border-radius: 4px; }
figure { margin: 0 0 20px 0; }
figcaption { font-size: 13px; color: #666; padding: 6px 2px 0; font-style: italic; }

.article-table-wrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; }
table.article-table { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; font-size: 0.95rem; }
table.article-table caption { caption-side: top; text-align: left; font-weight: 600; padding: 0 0 8px 0; color: #000; }
table.article-table th, table.article-table td { border: 1px solid #d7e2dc; padding: 0.65rem 0.85rem; vertical-align: top; text-align: left; }
table.article-table th { background: #04603f; color: #fff; font-weight: 600; }
table.article-table tr:nth-child(even) td { background: rgba(4,96,63,0.05); }

.rgblock { border: 2px solid #c7ad00; border-radius: 6px; background: #fffbe6; padding: 14px 16px; margin: 25px 0 0 0; }
.rgblock_t { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; margin: 0 0 8px 0; color: #000; }
.rg18 { display: inline-block; background: #d40000; color: #fff; font-weight: 800; border-radius: 4px; padding: 2px 8px; font-size: 15px; }
.rgblock_e { font-size: 14px; line-height: 19px; }

.post_lists { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 20px 0; }
.post_list { background: #fff; border: 1px solid #e2e2e2; border-radius: 6px; overflow: hidden; width: calc(33.333% - 12px); box-sizing: border-box; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.post_list_img img { width: 100%; height: 150px; object-fit: cover; display: block; }
.post_list_pad { padding: 12px 14px 14px; }
.post_list_t a { font-weight: 600; font-size: 15px; line-height: 20px; color: #000; }
.post_list_t a:hover { color: #fa4d00; }
.post_list_d { font-size: 12px; color: #888; padding: 6px 0 0 0; }
@media screen and (max-width: 1020px) { .post_list { width: calc(50% - 9px); } }
@media screen and (max-width: 767px) { .post_list { width: 100%; } }

.rel_links { margin: 20px 0 0 0; padding: 12px 14px; background: #f5f9f6; border-left: 4px solid #05a779; }
.rel_links .h3 { margin: 0 0 8px 0; font-size: 17px; }
.rel_links ul { padding: 0 0 0 20px; }
.rel_links li { list-style: disc; margin: 5px 0 5px 10px; }

.brandline { display: inline-block; font-weight: 800; padding: 2px 10px; border-radius: 4px; background: #027b5b; color: #ffdf1b; }
.contact_form { max-width: 640px; }

/* ===== STATIC BUILD OVERRIDES (no-JS) ===== */
p.main_title { text-align: center; font-size: 24px; line-height: 30px; font-weight: 600; color: #fff; margin: 6px 0 0 0; }
#nav_toggle { display: none; }
@media screen and (max-width: 1020px) {
  #nav_toggle:checked ~ .nav_top { display: block; }
}
summary.faq_b_title { list-style: none; display: block; }
summary.faq_b_title::-webkit-details-marker { display: none; }
details.faq_b[open] .faq_b_text { display: block; }
details.faq_b[open] .faq_b_title:before { background: #ffc000; transform: rotate(60deg); width: 8px; top: 21px; right: 8px; }
details.faq_b[open] .faq_b_title:after { background: #ffc000; transform: rotate(120deg); }
.entry figure img { max-width: 100%; height: auto; display: block; }
.widget_block h2 { margin: 0 0 20px 0; padding: 10px; background: #fd0; font-weight: 500; font-size: 18px; color: #000; text-align: left; }
@media screen and (max-width: 767px) {
  p.main_title { font-size: 19px; line-height: 24px; }
}
