:root {
    --nmi-link: rgb(235, 0, 69);
    --nmi-font-color: rgb(61, 61, 61);
    --nmi-primary: rgb(0, 94, 94);
    --nmi-secondary: rgb(67, 161, 138);
    --nmi-primary-darker: rgb(0, 73, 73);
    --nmi-body-bg-color: rgb(240, 242, 245);
    --nmi-primary-border: rgb(57, 126, 126);
    --nmi-primary-shadow: rgba(0, 94, 94, .25);
}

body {
    background-color: var(--nmi-body-bg-color);
    font-family: 'Open Sans', sans-serif;
    color: var(--nmi-font-color);
    overflow-x: hidden;
}

::-moz-selection {
    background: var(--nmi-secondary);
    color: #fff;
}

::selection {
    background: var(--nmi-secondary);
    color: #fff;
}

/* BOOTSTRAP EGYEDI SZÃNEK, JAVÃTÃSOK */ 

.btn-green {
    color: #fff;
    background-color: var(--nmi-primary);
    border-color: var(--nmi-primary);
}

.btn-green:hover,
.btn-green:active,
.btn-green:focus,
.btn-green.active {
    color: #fff;
    background-color: var(--nmi-primary-darker);
    border-color: var(--nmi-primary-darker);
}

.btn-green:focus {
    box-shadow: 0 0 0 .25rem var(--nmi-primary-shadow);
}

.btn-lightgreen {
    color: #fff;
    background-color: var(--nmi-secondary);
    border-color: var(--nmi-secondary);
}

.btn-lightgreen:hover,
.btn-lightgreen:active,
.btn-lightgreen:focus,
.btn-lightgreen.active {
    color: #fff;
    background-color: var(--nmi-primary-darker);
    border-color: var(--nmi-primary-darker);
}

.btn-big {
    padding: 20px 60px !important;
}

.btn-lightgreen:focus {
    box-shadow: 0 0 0 .25rem var(--nmi-primary-shadow);
}

.nav-link:focus,
.nav-link:hover,
.nav-link.active {
    color: var(--nmi-primary-darker);
    background-color: var(--nmi-primary-darker);
}

.subnav .nav-link {
    color: var(--nmi-primary-darker);
}

.subnav .nav-link:focus,
.subnav .nav-link:hover {
    color: var(--nmi-secondary);
    background-color: transparent;
}

a {
    color: var(--nmi-primary);
}

a:hover {
    color: var(--nmi-primary-darker);
}

.form-control:focus {
    border-color: var(--nmi-primary-border);
    box-shadow: 0 0 0 .25rem var(--nmi-primary-shadow);
}

/* USER CANVAS */

.offcanvas-start {
    top: 0;
    left: 0;
    width: 300px;
    border-right: 1px solid rgba(0,0,0,.2);
    transform: translateX(-100%);
    z-index: 2000;
}

.hazatero-toogle-usercanvas {
    position: fixed;
    top: 10px;
    left: 0;
    background-color: rgb(255, 255, 255);
    z-index: 1500;
    padding: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.07);
    border: 1px solid rgb(225, 225, 225);
    color: var(--nmi-primary);
}

.hazatero-toogle-usercanvas svg {
    height: 32px;
    width: 32px;
}

.profile-canvas {
    box-shadow: -10px 0px 30px 10px rgba(0, 0, 0, 0.19);
}

.profile-canvas .offcanvas-body {
    padding-left: 0;
    padding-right: 0;
}

.profile-canvas .avatar {
    margin-left: auto;
    margin-right: auto;
    width: 100px;
}

.profile-canvas .avatar img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 3px solid var(--nmi-primary);
}

.profile-canvas .profil-name {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 24px;
}

.profile-canvas .points {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(240, 240, 240);
}

.profile-canvas .points span {
    display: block;
    font-weight: 300;
}

.profile-canvas .profile-menu ul li {
    padding-left: 30px;
    transition: all .75s;
}

.profile-canvas .profile-menu ul li:hover {
    background-color: rgb(245, 245, 245);
}

.profile-canvas .profile-menu ul li.divider:hover {
    background-color: transparent;
}

.profile-canvas .profile-menu ul li:hover a {
    color: var(--nmi-link);
}

.profile-canvas .profile-menu a {
    color: #555;
}

.profile-canvas .profile-menu a:hover {
    background-color: transparent;
}

.profile-canvas .profile-menu svg {
    height: 20px;
    width: 20px;
}


/* NAVBAR */

.header-bar {
    height: 100px;
    z-index: 1060;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 3px 10px 10px rgba(0, 0, 0, 0.025);
    border-bottom: 1px solid rgb(232, 232, 232);

}

.header-logo {
    height: 100px;
    width: 300px;
}

.header-nav {
    height: 100px;
    width: calc(100% - 300px);
    position: relative;
}

.navbar-hazatero {
    background-color: var(--nmi-secondary);
    padding: 0;
}

.navbar-hazatero .nav-link {
    color: #fff;
    padding: 15px !important;
}

/*
.navbar-hazatero.navbar-light .navbar-nav .nav-link.active,
.navbar-hazatero.navbar-light .navbar-nav .nav-link:hover {
    color: var(--nmi-primary);
    position: relative;
}

.navbar-hazatero.navbar-light .navbar-nav .nav-link.active:after,
.navbar-hazatero.navbar-light .navbar-nav .nav-link:hover:after {
    content: '';
    background-color: var(--nmi-primary);
    height: 3px;
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
}*/

.navbar-hazatero .nav-link {
    font-weight: 500;
}

.nav-profile img {
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

.nav-profile::after {
    display: none;
}



/* menu*/

#menuToggle
{
  display: block;
  position: relative;
  top: 38px;
  left: 50px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: var(--nmi-secondary);
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: var(--nmi-secondary);
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: var(--nmi-primary);
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: #ededed;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 5px 0;
  font-size: 18px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}


/* OLDAL TARTALOM */

.main-title {
    color: var(--nmi-primary);
    font-size: 28px;
    margin: 15px 0 30px 0;
    text-align: center;
}

.textbar {
    background-color: #fff;
    margin-top: 55px;
}

.cfoot {
    background-color: whitesmoke;
    margin-top: -20px;
    position: relative;
}

h2 {
    font-size: 42px;
    text-transform: uppercase;
    font-weight: 300;
}

.szakkorborder {
    margin-right:10em;
    border-right: 1px solid var(--nmi-primary-border);
}

.card {
    box-shadow: 0px 19px 27px -20px rgba(0, 0, 0, 0.16);
    border-color: rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card .rectangle {
    aspect-ratio: 3/2;
    overflow: hidden;
}

.card .square {
    aspect-ratio: 1;
    overflow: hidden;
}

.card .widescreen {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-header {
    background: rgb(251, 251, 251);
    border-bottom: 1px solid rgb(242, 242, 242);
}

.post-avatar {
    display: inline-block;
    width: 30px;
    position: relative;
}

.post-avatar img {
    width: 30px;
    border-radius: 50%;
    position: absolute;
    bottom: 50%;
}

.post .poster {
    display: inline-block;
    font-weight: 500;
}

.post .card-img-top {
    border-radius: 0;
}

.post .post-time {
    display: block;
    font-size: 12px;
    font-weight: 400;
}

.post .post-dropdown-menu svg {
    margin-right: 5px;
}

.card-img-180 {
    max-height: 180px;
}

.w-180px {
    min-width: 180px;
    max-width: 180px;
}

.feeds h1 {
    font-size: 24px;
    color: rgb(75, 75, 75);
}

.szakkor {
    background:linear-gradient( rgba(0, 0, 0, 0.5), rgba(2, 2, 2, 0.5) ), url('../images/szakkorbackground.jpg');
    background-size: cover;
    color: #e2ded9;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    margin-top: 30px;
}

.shopitemsection {
    background:rgba(24, 40, 37, 0.8) !important;
}

.shopitemsection p {
    font-size: 18px;
}

.shopitemsection p.itemprices {
    font-size: 19px;
}

/*.videotext {
    font-size: xx-large;
    color:var(--nmi-primary-border);
    font-weight: bold;
}*/

.moviesection {
    background:linear-gradient( rgba(61, 59, 59, 0.6), rgba(61, 59, 59, 0.6) ), url('../images/karolyikastely.jpg');
    background-size: cover;
    color:#fff;
    padding-bottom:8em;
}

.movietext {
    padding-bottom: 6em;
    font-size: xx-large;
    padding-right:8em;
    padding-left:8em;
}

.moviesign {
  padding-top:13em;
  
}
.videos {
    background-color: #eae7e7;
}
.rowclass {
    margin-left: 5rem !important;
    margin-right: 5rem !important;
}
.videoimges {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
}
.videotar {
    background-color: var(--nmi-primary-border);
}
.contbtn {
    padding: 8em !important;
    padding-bottom: 9.5em !important;
}
.webshop {
    background:linear-gradient( rgba(0, 0, 0, 0.5), rgba(2, 2, 2, 0.5) ), url('../../webshop/images/szakkorbackground.jpg');
    background-size: cover;
    color: #fff;
}
.introbuttons:hover {
    background-color: var(--nmi-primary-border)!important;
}
.shopbutton {
    margin-bottom: 15em;
}
.itemprices,
p.itemprices {
    color:var(--nmi-primary-border);
    font-weight: bolder;
    font-size: large;
}
.shoptext {
    margin-left:13em;
    margin-right:13em;
}
.videotext {

    color:var(--nmi-primary-border);

}
.moviesection {
    background:linear-gradient( rgba(61, 59, 59, 0.6), rgba(61, 59, 59, 0.6) ), url('../images/karolyikastely.jpg');
    background-size: cover;
    color:#fff;
   
}
.movietext {
    padding-bottom: 6em;
    font-size: xx-large;
    padding-right:8em;
    padding-left:8em;
}

.moviesign {
  padding-top:13em;
  
}
.videos {
    background-color: #eae7e7;
}
.rowclass {
    margin-left: 5rem !important;
    margin-right: 5rem !important;
}
.videoimges {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
}
.videotar {
    background-color: var(--nmi-primary-border);
}
.contbtn {
    padding: 8em !important;
    padding-bottom: 9.5em !important;
}
.moviecards {
    background-color: whitesmoke;
}
.tothevideos {
    background-color: var(--nmi-primary-border);
    color:#fff;
    margin: 12px 0;
    text-transform: uppercase;
}
.tothevideos a {
    font-size: 1.4em;
    font-weight: 300;
}
.col-container {
    display: table;
    width: 100%;
}
  
.col {
    display: table-cell;
}

.moviecardtext {
    color: var(--nmi-primary-border);
    font-size: 1.2em;
    font-family: 'Roboto Slab', serif;
    margin-top: 10px;
    text-align: center;
}

.jogyakorlaton-bg {
    background: linear-gradient( rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25) ), url("../../jogyakorlaton/images/hero-background.png");
    background-size:cover;
}

.gasztrojarat-bg {
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("../../gasztrojarat/images/home-food.jpg");
    background-size:cover;
}

/* OLDAL TARTALOM */


/* KEZDŐLAP */

#home-slider .carousel-item img {
    height: 600px;
    object-fit: cover;
}

#home-slider::after {
    content: '';
    height: 600px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

#home-slider .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

#home-slider .carousel-caption h5 {
    font-family: 'Roboto Slab', serif;
    font-size: 44px;
    font-weight: 300;
}

#home-slider .carousel-caption p {
    font-family: 'Roboto Slab', serif;
    font-size: 20px;
    font-weight: 500;
    margin: 20px 0;
    color: rgb(210, 210, 210);
}

.home-site-section .site-logo {
    height: 300;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.home-site-section video {
    padding-right: 20px;
}

.home-site-section .site-title {
    padding-left: 30px;
}

.home-site-section .site-title p {
    line-height: 28px;
    padding: 20px 20px 0 0;
    width: 90%;
}

.home-site-section .card {
    transition: transform .2s;
}

.home-site-section .card:hover {
    transform: scale(1.05);
}

.home-site-section .card-body .card-title {
   font-size: 16px;
}

.home-site-section .card-body .card-text {
   font-size: 14px;
   font-weight: 400;
   line-height: 24px;
}

@media only screen and (max-width: 1200px) {
    .navbar-hazatero .nav-link {
        padding: 15px 8px !important;
    }

    .card-img-180 {
        max-height: 100%;
        width: 100%;
    }    
}

@media only screen and (max-width: 995px) {
    .header-logo {
        margin-top: -20px;
        margin-left: 60px;
    }

    .movietext {
        padding-bottom: 6em;
        font-size: x-large;
        padding-right:0em;
        padding-left:0em;
    }
    .home-site-section video {
        padding: 10px 20px 30px 20px;
    }
    .moviecardtext {
        font-size: small!important;
    }
    .tothevideos {
        font-size: small!important;
       
    }
    .szakkorborder {
        margin-right:0em !important;
        width:100% !important;
        border-right: 0px solid var(--nmi-primary-border);
    }
    .gasztrojarat-logo {
        padding-top:2em !important;
        padding-left:0 !important;
    }
    .kincseimtexts {
        padding-left:0 !important;
    }
}
/*FOOTER*/
@media only screen and (max-width: 570px) {
    .header-logo {
        margin-left: 100px;
    }
    .footermenu2 {
        padding-top:0 !important;
        
    }
    .footermenu {
        padding-bottom:0 !important;
    }
    footer li:nth-last-child(1) {
        border-bottom: 1px solid rgba(85, 85, 85, 1) !important;
    }

    .tothevideos {
        font-size: medium!important;
        min-height:200px;
        display:flex;
        align-items: center;
    }
    
    .szakkortext {
        padding:0 !important;
        font-size: small;
        line-height: 1.5em !important; 
    }

    .szakkorcol>p {
        padding: 0,!important;
        font-size: medium !important;
        line-height: 1.5em !important; 
    }
    .aszakkrbg>p {
        padding: 0,!important;
        font-size: medium !important;
    }

    .kincseimbg >p {
        padding: 0,!important;
        font-size: medium !important;
    }
    .kincseimtexts {
        padding:0 !important;
        font-size: medium;
        line-height: 1.5em !important;  
    }
}
    
.footermenu2 {
    padding-top:2.4rem;
}
footer {
    font-weight: 300 !important;
    background-color: rgba(51, 51, 51, 1);
    color: rgba(136, 136, 136, 1);
    padding: 40px 0px 40px 0px;
}

footer .title {
    text-transform: uppercase;
    margin: 0px 0px 15px 0px;
}

footer ul {
    list-style-type: none;
    text-decoration: none !important;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 30px 0px;
}

footer li {
    width: 300px;
    max-width: 100%;
    padding: 8px 12px 8px 12px;
    border-bottom: 1px solid rgba(85, 85, 85, 1);
}

footer li:nth-last-child(1) {
    border-bottom: 0px solid rgba(85, 85, 85, 1);
}

footer li a,
footer .bottom a,
footer .contact a {
    font-weight: 400;
    color: rgba(0, 116, 115, 1) !important;
    text-decoration: none !important;
    transition: 0.3s;
}

footer li a:hover,
footer .bottom a:hover,
footer .contact a:hover {
    color: rgba(170, 170, 170, 1) !important;
}

footer img {
    max-width: 300px;
}

footer .bottom {
    margin: 20px 0px 10px 0px;
    text-align: center;
}
