:root {
    --absolute-width: 1372px;
}

* {
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
}

/* html, body {
    height: 100%;
} */

/* html {
    position: relative;
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
} */

/* body {
    overflow-x: hidden;
    margin: 0px;
    position: relative;
    min-height: 100%;
    height: auto;
} */

body {
    font-family: Verdana, Tahoma, Arial, Helvetica, Sans-Serif;
    background-image: url('../images/ru_hatter2.png');
    /* margin: 0;
    padding: 0; */
    /* height: 100%; */
    background-repeat: repeat;
    /* overflow-x: hidden; */
}

p {
	padding-top: 10px;
	margin: 0;
}

a {
    /* font-family: Verdana, Tahoma, Arial, Helvetica, Sans-Serif; */
    text-decoration: underline;
    color: #7C372D;
}

/* Adds special style to an unvisited link. */
a:link {
    /* font-family: Verdana, Tahoma, Arial, Helvetica, Sans-Serif; */
    text-decoration: none;
    color: #7C372D;
}

/* Adds special style to a visited link. */
a:visited {
    /* font-family: Verdana, Tahoma, Arial, Helvetica, Sans-Serif; */
    text-decoration: none;
    color: #7C372D;
}

/* :hover - adds special style to an element when you mouse over it. */
a:hover {
    /* font-family: Verdana, Tahoma, Arial, Helvetica, Sans-Serif; */
    text-decoration: none;
    color: #FF8400;
}

/* Resert some headings default style & links default style for links in headings*/
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
{
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}


/* Start Content headings Fonts & Colors  */
h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover
{
  /* font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif; */
  font-size: 22px;
  font-style: normal;
  font-weight: bold;
  text-align: center;
  color: #000;
}

h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover
{
  /* font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif; */
  font-size: 20px;
  font-style: normal;
  font-weight: bold;
  text-align: center;
  color: #000;
}

h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover
{
  /* font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif; */
  font-size: 18px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #586148;
}

h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover
{
  /* font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif; */
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  color: #381914;
}

h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover
{
  /* font-family: Verdana, Geneva, Arial, Helvetica, Sans-Serif; */
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  text-align: left;
  color: #381914;
}

.required {
    color: red;
}

.form-error {
    color: darkred;
    font-size: 14px;
}

.my-big {
    margin-top: 8rem!important;
    margin-bottom: 8rem!important;
}

.my-big-t {
    margin-top: 8rem!important;
}

.my-big-b {
    margin-bottom: 8rem!important;
}

.btn-primary {
    background-color: #2f65a5;
    padding: 5px 30px;
    border-radius: 45px;
}

.btn-secondary {
    padding: 5px 30px;
    border-radius: 45px;
}

#site-container {
    /* height: 100%; */
    position: relative; 
	/* overflow-x: hidden; */
    width: var(--absolute-width);
	margin: 0 auto;
}

.header-bg {
    margin: 0 auto;
    width: var(--absolute-width);
    height: 102px;
    background-image: url(../images/ru_fejlec.png);
    background-repeat: no-repeat;
}

.footer-bg {
    margin: 0 auto;
    width: var(--absolute-width);
    height: 80px;
    background-image: url(../images/ru_lablec.png);
    background-repeat: no-repeat;
}

#header {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);

    width: var(--absolute-width);
    z-index: 1; 
}

.navbar-wrapper {
    position: relative;
    margin: 0 auto;
    width: 70%;
    padding-left: 14%;
    padding-right: 0;
}

.navbar-wrapper .navbar {
    padding: 0.3rem;
}

.navbar-wrapper .navbar ul li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.navbar-wrapper .dropdown .dropdown-menu {
    top: 22px;
    background-color: #ffeddb;
    border-radius: 0 6px 6px 6px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    -o-border-radius: 0 6px 6px 6px;
    -ms-border-radius: 0 6px 6px 6px;
}

.navbar-wrapper .navbar {
    z-index: 4;
}

#rejtvenyekDropdown {
    left: 10px;
}

#erdekessegekDropdown {
    left: -80px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-item.dropdown {
    cursor: pointer;
}

.dropdown-divider {
    height: 0;
    margin: .5rem auto;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
    border-color: #7C372D;
    width: 80%;
}

.navbar-wrapper .navbar .nav-item .nav-link {
    color: white;
    padding: .5rem .9rem;
}

/* A navbar bal oldali dropdown-toggle (pl. netREJTVÉNYEK) Bootstrap-alapból
   kap egy ::after chevront. Eltüntetjük, hogy a sima nav-link (pl. a
   bejelentkezett user „ELÉRHETŐ KIADVÁNYOK" link-je) és a dropdown-toggle
   azonos vizuális formában jelenjen meg. */
.navbar-wrapper .navbar .nav-link.dropdown-toggle::after {
    display: none;
}

#user-link.nav-item .nav-link {
    color:#ffbb77;
    font-size: 12px;
}

.navbar-wrapper .navbar .nav-item:hover .nav-link, #user-link.nav-item:hover .nav-link {
    color:#ff8400;
}

.navbar-wrapper .dropdown-item:hover {
    color:#ff8400;
    text-decoration: none;
    background-color: #f8f8f8;
}

.navbar-dark .navbar-nav .nav-link.active {
    background-color: rgba(110, 150, 200, 0.4);
    border-radius: 15px;
}

#login-link {
    padding: 0.15rem 0.4rem 0.5rem;
}

#user-link .nav-link {
    padding: 0.4rem 0.2rem 0.6rem;
}

/* a fej-ikon a navbar-abselement-wrapper-en belül a help-img bal-széléhez
   tapasztva (right-rögzített), balra terjed a keresztnévvel.
   z-index magasabb a navbar (z-index:4) fölé, hogy a dropdown-menu kinyíljon. */
#user-icon-wrapper {
    position: absolute;
    top: 8px;
    right: 212px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 0;
}

/* a Bootstrap dropdown-toggle alapból egy ::after-caret-tel jön — eltüntetjük */
#user-icon-wrapper .dropdown-toggle::after {
    display: none;
}

.user-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.user-icon-link {
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.user-icon-link:hover {
    text-decoration: none;
}

#user-icon-wrapper .user-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

/* bejelentkezett: zöld kerek fej */
#user-icon-wrapper.dropdown .user-icon {
    color: #28a745;
}

/* anonim: szürke kerek fej, kattintásra a /belepes-re */
a#user-icon-wrapper {
    color: #888888;
}

a#user-icon-wrapper:hover {
    color: #5a5a5a;
}

/* offline: piros kerek fej — felülírja a fenti zöld/szürke szabályokat,
   függetlenül attól, hogy be van-e jelentkezve. A ping.js teszi rá az
   .is-offline classt a szerver-ping eredménye alapján. */
#user-icon-wrapper.is-offline,
#user-icon-wrapper.is-offline .user-icon {
    color: #dc3545;
}

/* a fej-ikon dropdown-menüje (Profil + Kilépés) ugyanaz a stílus, mint a
   navbar-os netREJTVÉNYEK dropdown-é (lásd `.navbar-wrapper .dropdown
   .dropdown-menu` szabály), és az item-ek font-size/weight-je is egyezik
   a navbar-on belüli linkek-kel (lásd `.navbar-wrapper .navbar ul li a`). */
#user-icon-wrapper .dropdown-menu {
    background-color: #ffeddb;
    border-radius: 0 6px 6px 6px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
}

#user-icon-wrapper .dropdown-item {
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: .55rem 1.5rem;
}

#user-icon-wrapper .dropdown-item:hover {
    color: #ff8400;
    text-decoration: none;
    background-color: #f8f8f8;
}

#user-icon-wrapper .dropdown-divider {
    border-top: 1px solid #e9ecef;
    border-color: #7C372D;
    width: 80%;
    margin: .5rem auto;
}

/* ============ only desktop view ============ */
@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu {
        display:block;
        opacity: 0;
        visibility: hidden;
        margin-top: 6px;
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition:    .3s;
        -o-transition:      .3s;
        -ms-transition:     .3s;
    }

    .navbar .nav-item:hover .nav-link {
        color: #fff;
    }

	.navbar .dropdown-menu.fade-down {
        top:80%;
        transform: rotateX(-75deg);
        -webkit-transform: rotateX(-75deg);
        -moz-transform:    rotateX(-75deg);
        -o-transform:      rotateX(-75deg);
        -ms-transform:     rotateX(-75deg);
        transform-origin: 0% 0%;
        -webkit-transform-origin: 0% 0%;
        -moz-transform-origin:    0% 0%;
        -o-transform-origin:      0% 0%;
        -ms-transform-origin:     0% 0%;
    }

	.navbar .dropdown-menu.fade-up {
        top:180%;
    }

	.navbar .nav-item:hover .dropdown-menu {
        transition: .3s;
        opacity:1;
        visibility:visible;
        transform: rotateX(0deg);
        -webkit-transform: rotateX(0deg);
        -moz-transform:    rotateX(0deg);
        -o-transform:      rotateX(0deg);
        -ms-transform:     rotateX(0deg);
    }
}		
/* ============ desktop view .end// ============ */

.navbar-abselement-wrapper {
    position: absolute;
    margin: 0 auto;
    width: var(--absolute-width);
    height: 100%;
    top: 0;
}

/* .belepes-link {
    position: absolute;
    right: 316px;
    top: 5px;
    font-size: 11px;
    font-weight: bold;
} */

.logo-link {
    position: absolute;
    top: 10px;
    left: 213px;
    height: 70px;
    width: 210px;
    z-index: 3;
}

.header-kml-wrapper {
    position: absolute;
    left: 95px;
    top: 8px;
    width: 80%;
    /* -webkit-transform: rotate(-20deg);
    -moz-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
    transform: rotate(-20deg); */
    z-index: 2;

}

.header-kml-wrapper .header-kml {
    position: absolute;
    /* left: -20px;
    bottom: -20px; */
    height: 80px;
    width: 80px;
}

#help-img {
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 184px;
    width: 24px;
    z-index: 3;
}

.banner {
    position: absolute;
    top: 40px;
    left: 460px;
    height: 70px;
    width: 479px;
    background-color:white;
    border-radius: 5px;
    box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 3px 3px 3px -1px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

#facebook {
    background-image: url('../images/ru_facebook.png');
    background-repeat: no-repeat;
    width:70px;
    height:178px;
    position: fixed;
    right: 0px;
    top: 63px;
    z-index:1;
    text-align:right;
    padding-top:18px;
}

.content-wrapper {
    width: var(--absolute-width);
    margin: 0 auto;
    /* min-height: 2000px; */
}

.content-wrapper>.row {
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
}

#content {
    position:relative;
    /* height: 100vh; */
    /* z-index:0; */
    background:#fffcd5;
    width: 885px;
    /* height: 100%; */
    /* border: solid 1px  #a0a0a0; */
    padding: 105px 4px 100px 4px;
    margin: 0 30px;
    /* margin: 0 auto; */
    /* font-family: Verdana; */
    box-shadow: 4px 4px 25px #a0a0a0;
    -moz-box-shadow: 4px 4px 25px #a0a0a0;
    -webkit-box-shadow: 4px 4px 25px #a0a0a0;
    /* For IE 8 */
    /* -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')"; */
    /* For IE 5.5 - 7 */
    /* filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000'); */
}

.feher_doboz {
    width: 790px;
    border:solid 3px #9ba8c8;
    border-radius: 15px;
    padding: 10px 15px 10px 15px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
}

#aszf {
    padding: 20px 50px 0;
}

#aszf>p {
    padding: 0 20px 20px 30px;
}

#aszf-checkbox,
#marketing-hozzajarulas-checkbox {
	padding-left: 30px;
	font-size: 0.9em;
}

#aszf-checkbox .custom-control-input,
#marketing-hozzajarulas-checkbox .custom-control-input {
    top: 5px;
    left: 7px;
}

#footer {
    position: absolute;
    bottom: 0px;
    right: 50%;
    transform: translateX(50%);
    -webkit-transform: translateX(50%);
    -moz-transform: translateX(50%);
    -o-transform: translateX(50%);
    -ms-transform: translateX(50%);
    width: var(--absolute-width);
    z-index: 1;
}

.footer-abselement-wrapper {
    position: absolute;
    margin: 0 auto;
    width: var(--absolute-width);
    height: 100%;
    bottom: 0;
}

.footer-link {
    position: absolute;
    right: 290px;
    top: 40px;
    font-size: 11px;
    font-weight: bold;
}

.footer-link a:link {
    text-decoration: none;
    color: white;
}

.footer-link a:visited {
    text-decoration: none;
    color: lightgray;
}

.footer-link a:hover {
    text-decoration: none;
    color: #ff8400;
}

.modal-backdrop.show {
    opacity: .75;
}

.modal-body {
	padding: 0 1rem 1rem 1rem;
}

p.tab-separator::after {
	content: "";
	line-height: 1em;
    width: 100%;
    height: 15px;
    margin-top: 15px;
    background-image: url(../images/tab.gif);
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    clear: both;
}

.error-content {
    width: 100%;
    padding: 10px 30px 0 30px;
    text-align: center;
}

.error-content h1 {
    color: red;
}

.error-content .warning-sign {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
}

/* a heti nyertes neve */
#nyertes_neve {
    text-transform: uppercase;
    font-size: 16px;
}

/* hirdetések */
#hirdetesBlokk1, #hirdetesBlokk2 {
	width: 180px;
	margin-top: 120px;
}
