* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    width: 100%;
    position: relative;
}

body {
    background-color: #fff; /*333 = rgb 51,51,51*/
    color: #333; /*coral = rgb255,127,80*/
    /* Grid Style */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1em;
    line-height: 1.5;
    margin-left: 10; /*20210429 added */
    text-align: left; /*20210429 center;*/
}

.container{ /*my own*/
    width: 80%;
    border: 10px;
    margin: auto;
    overflow: hidden;
}

.clr { /*clear fix = clear any floating elements above */
    clear: both;
}

/* ibere Navigation */
nav {
    width: 100%;
    height: 70px; 
    display: block;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
    color: darkred;
}

nav a {
    display: block;
    text-decoration: none;
    padding: 20px 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 13pt;
    color: coral;  /*rgb(0, 0, 255); */
}

nav a:hover {
    background-color: #222;
    color: #ddd;
}

nav img {
    float: left;
    padding: 10px 0px 10px 20px;
}

nav p {
    float: left;
    padding: 0px 50px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #222;
    line-height: 20px; /*20210429 25px;*/
}

nav ul {
    /*float: left;*/
    list-style: none;
}

nav ul li {
    float: left;
    position: relative; /*allows navigation to ignore the dropdown until it is activated
    this allows the inclusion of positioon: absolute inside the subitems within the li*/
    width: 149px; 
    height: 45px;
    line-height: 10px;
}

nav ul li:hover ul { /*activate the ul dropdown, only when the li is highlighted*/
    display: block; 
    position: absolute; /*20190116*/
}

nav ul li:hover ul li{
    display: block;
    animation: navMenu 500ms forwards;
}

nav ul li ul {
    display: none; /*block = permanent display of the dropdown*/
    position: absolute;
    background-color: #fff;
    padding: 10px 3px;
    border-radius: 0px 4px;
}

nav ul li ul li {
    width: 160px; /*ensure menu items fit within the dropdown space*//*20210429 200px;*/
    height: 35px; /*20210429 45px;*/
    line-height: 10px;
    border-radius: 4px;
/*}

nav ul ul li {*/
    position: relative;
    display: none;
}

nav ul ul li:hover ul{
    display: block;
    position: absolute;
    width: 200px; 
    left: 200px;
    top: 0px;
}

nav ul ul ul {
    display: none;/*none 20190116*/
}
/*
.navMobile label a {
    display: block;
    text-decoration: none;
    padding: 10px 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 13pt;
    color: rgb(0, 0, 255);
}
*/
.menuIcon, .menucheck, .navMobile {
    display: none;
}
/* ìpari Navigation */

#showcase {
    /*background-image: url(../images/pv1.jpg);*/
    margin-bottom: 30px;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    min-height: 100px; /*20210429 300px;*/
    text-align: center;
}
/*ibere lati 2021_99_Sere\zzRU\RU*/
#showcase.active
{
  right: 100px;  /*20210429 300px;*/
}
#showcase video
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
#overlay
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #5a676d;
  mix-blend-mode: overlay;
}
#text
{
  position: relative;
  z-index: 10;
}

#text h2
{
  font-size: 5em;
  font-weight: 800;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
}
#text h3
{
  font-size: 4em;
  font-weight: 700;
  color: #fff;
  line-height: 1em;
  text-transform: uppercase;
}
#text p
{
  font-size: 1.1em;
  color: #fff;
  margin: 20px 0;
  font-weight: 400;
  max-width: 700px;
}
#text a
{
  display: inline-block;
  font-size: 1em;
  background: #fff;
  padding: 10px 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  color: #111;
  letter-spacing: 2px;
  transition: 0.2s;
}
#text a:hover
{
  letter-spacing: 6px;
}
/* pari lati 2021_99_Sere\zzRU\RU */
/* ibere gridStyle */
#gridShowcase {
    min-height: 300px;
    color: coral;
    text-align: center;
}

#gridShowcase .bg-image {
    position: absolute;    
    /*background-image: url(../images/pv1.jpg);*/
    background-position: center left;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 250px;
    margin-bottom: 10px;
    z-index: 1; /*bring to front, or puch to back*/
    opacity: 0.9;    
}

#showcase h1, #gridShowcase h1 {
    padding-top: 25px; /*20210429 50px;*/
    padding-bottom: 0;
}

#gridShowcase .content-wrap {
    padding: 0 1.5em;
}

img {
    display: block;
    /*width: 100%; */
    height: auto;
}


/*Section A */
#section-a {
    /*background: #eaeaea;
    color: #333;  */
    padding-bottom: 2em;
}

/* Section B */
#section-b {
    padding: 2em 1em 1em;
}

#section-b ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#section-b li {
    margin-bottom: 1em;
    background: #fff; 
    color: #333; /*#333*/
}

#section-b ul li ul {
    list-style: square;
    text-align: left;
}

.card-content {
    padding: 1.5em;
}

/*Section C */
#section-c {
    /* background: #eaeaea;
    color: #333; */
    padding: 2em;
}

/* Section D  Boxes*/

#section-d .box {
    padding: 2em;
    color: #fff; /*#fff*/
}

#section-d .box a {    
    text-decoration: none;
}

#section-d .box:first-child {
    background: #226699;
    text-align: left;
}

#section-d .box:last-child {
    background: #489922;
    text-align: left;
}

/*section ev1 and evcs1 are my own*/
#section-ev1, #section-ev1 .box {
    padding: 2em;
    color: #333; /*#fff*/
}

#section-ev1, #section-ev1 .box a {    
    text-decoration: none;
}

#section-evcs1, #section-evcs1 .box {
    padding: 2em;
    color: #333; /*#fff*/
}

#section-evcs1, #section-evcs1 .box a {    
    text-decoration: none;
}

#gridMain { /*my own*/
    /*background-image: url(../images/2.jpg);*/
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100px;
    padding: 10px 30px;
    box-sizing: border-box;
}

#gridFooter {
    padding: 2em;
    background: #000;
    color: #fff;
    text-align: center;
}

#gridFooter {
    color: #226699;
    text-decoration: none;
}
/* ipari gridStyle */

#main { /*my own*/
    /*background-image: url(../images/2.jpg);*/
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    /*background: #ddd; has priority over background-image*/

    float: left;
    width: 70%;
    min-height: 100px;
    padding: 10px 30px;
    box-sizing: border-box; /*border-box setting will include the padding*/
}

#sidebar {/*my own*/
    float: right;
    width: 30%;
    min-height: auto;  /*20210429 100px;*/
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-align: center; /*20210429 added */
    box-sizing: border-box;
}

.map-responsive{ /*20210501 added */
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.map-responsive iframe{ /*20210501 added */
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
 
h1, h3 {
    margin: 0;
    padding: 1em 0;
}

h2 {
    margin: 0;
    padding: 20px;
    /*background: #112233;*/
    color: #112233; /*#f0f1f5*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-size: 15px;
    letter-spacing: 15px;
}

p {
    margin: 0;
    padding: 1em 0;
}

.btn {
    display: inline-block;
    background: #333333; 
    color: #fff;
    text-decoration: none;
    padding: 1em 2em;
    border: 1px solid coral;/*20210429 #666;*/
    margin: .5em 0;
}

.btn:hover {
    background: coral;
    color: #333;
}


ul {
    list-style: none;
    padding: 0;
}

/**bere pewaStyle**/

#pewaContainer {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding: 1em;
}

.brand {
    text-align: center;
}

.brand span {
    color: coral; /*#fff*/
}

.pewaWrapper { /*20210507 #pewaWrapper*/
    box-shadow: 0 0 20px 0 rgba(240, 240, 240, 0.7);
    /**box-shadow: 0 0 20px 0 rgba(72, 96, 114, 0.7); **/
}

.pewaWrapper > * { /*20210507 #pewaWrapper*/
    padding: 1em;
} /**give padding of em to everything inside pewaWrapper**/

.company-info {
    background: coral; /**#fff, #c9e6ff**/
    padding: 1em;
}

.company-info h3, .company-info ul {
    text-align: center;
    margin: 0 0 1em 0;
}

.contact {
    background: #f9feff;
}

/* pewa FORM STYLES*/
.contact form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.contact form label {
    display: block;
}

.contact form p {
    margin: 0;
}

.contact form .full {
    grid-column: 1 / 3;
}

.contact form textarea, .contact form input, .contact form button {
    width: 100%;
    padding: 1em;
    border: 1px solid #333;
}

.contact form button {
    background: #333;
    color: coral;
    border: 0;
    text-transform: uppercase;
}

.contact form button:hover, .contact form button:focus {
    background: #f9feff;
    color: rgb(0, 0, 255);
    outline: 0;
    transition: background-color 2s ease-out;
}
/** pari pewaStyle **/

article {
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 40px;
    /* text-align: left; fisi 20190222*/
}

footer {
    border-top: 2px solid #fc575e;
    position: absolute;
    bottom: -200px;
    padding: 20px;
    width: 100%;
    text-align: center;
    background: #112233;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 200;
    font-size: 9pt;
    /*text-transform: uppercase; */
}

slider > * {
    position: absolute;
    /*top: 100px; /*boya*/
    display: block;
    align-content: center;
    width: 80%;
    height: 80%;
    background: #1f1f1f;
    animation: slide 12s infinite;
    overflow: hidden;
}

slide:nth-child(1) {
    left: 0%;
    width: 80%;
    animation-delay: -1s;
    background-image: url(../images/1a.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

slide:nth-child(2) {
    /*left: 0%;*/
    width: 80%;
    animation-delay: 2s;
    background-image: url(../images/2a.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

slide:nth-child(3) {
    /*left: 0%;*/
    width: 80%;
    animation-delay: 5s;
    background-image: url(../images/3a.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

slide:nth-child(4) {
    /*left: 0%;*/
    width: 80%;
    animation-delay: 8s;
    background-image: url(../images/4a.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

slide p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    text-align: center;
    display: inline-block;
    width: 100%;
    margin-top: 340px;
    color: #333;
}

@keyframes slide {
    0% { left: 100%; width: 100%;}
    5% { left: 0%;}
    25% {left: 0%;}
    30% {left: -100%; width: 100%;}
    30.0001% {left: -100%; width: 0%;}
    100% {left: 100%; width: 0%;}
}

@keyframes navMenu {
    0% {
        opacity: 0;
        top: 5px;
    }
    100% {
        opacity: 1;
        top: 0px
    }
}
/*LARGE SCREENS*/
@media (min-width:700px){
    header{
        display: none;
    }

    #wrapper img {
        width: 10%;
    }

    /* #card img {
        width: 50%;
    }   trying to reduce */

    footer {
        position: fixed;
        bottom: 0px;
    }

    /*ibere pewa */
    .pewaWrapper{ /*20210507 #pewaWrapper*/
        display: grid;
        grid-template-columns: 1fr 2fr;
    }    

    .pewaWrapper > *{ /*20210507 #pewaWrapper*/
        padding: 2em;
    }

    .company-info h3, .company-info ul, .brand {
        text-align: left;
    }
    /*ipari pewaStyle */
    /* ibere gridSTyle*/
    .grid {
        display: grid;        
        grid-template-columns: 1fr repeat(2, minmax(auto, 25em)) 1fr; 
        /* to make 4 columns, use 
            1fr 1fr 1fr 1fr;
            1fr repeat(2, 1fr) 1fr;
         or 20px 20px 20px 20px;
        grid-template-columns: 1fr repeat(2, minmax(auto 2em)), 1fr;*/
    }

    #section-a .content-text {
        columns: 2;
        column-gap: 2em;
    }

    #section-a .content-text p {
        padding-top: 0;
    }

    .content-wrap, #section-b ul, #section-b ul li ul{
        grid-column: 2 / 4;
    }

    #section-b ul li ul {
    /*display: flex;*/
    display: inline-block; 
    justify-content: space-around;
    }

    #section-b li {
    width: 100%;
    }

    .box, #gridFooter div {
    grid-column: span 2;
    }

    /* ipari gridStyle*/
}

@media screen and (max-width:700px){
    #main, #gridMain {
        width: 100%;
        float: none;
    }

    #main img {/*my own*/
        width: 100%;
    }

    #sidebar{
        width: 100%;
        float: none;
    }

    h2{
        padding: 10px 2px;
        text-align: center;
        font-size: 15pt;
        letter-spacing: 11px;
    }

    .navDrop, .navMobile {
        display: none;
    }

    .menucheck:checked ~ .navMobile{
        display: block;
    }

    .menuIcon {
        display: block;
        position: absolute;
        top: 5px;
        right: 10px;
        background-color: #f0f1f5;
        opacity: 0.9;
        color:  coral;/*#333*/
        font-size: 20pt;
        padding: 5px;
        cursor: pointer;
    }

    .item input {
        display: none;
    }

    .item label, .itemFirst, .itemLast {
        text-align: center;
        display: block;
        padding: 10px;
        background-color: coral; /*#f0f1f5*/
        font-size: 12pt;
        text-transform: uppercase;
        color: #f0f1f5;/*#112233*/
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        cursor: pointer;
        border-bottom: solid 1px #eee;
    }

    .itemFirst, .itemLast {
        text-decoration: none;
    }

    .item label:hover, .itemFirst:hover, .itemLast:hover {
        background: #223433;
        color: coral;/*#f0f1f5*/
    }

    .item ul {
    max-height: 0;
        overflow: hidden;
        transition: all .2s;
        text-align: center;
    }

    .item ul li a {
        background: #ddd;
        opacity: 0.8;
        color: #333;
        display: block;
        text-decoration: none;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 12pt;
        border-bottom: 2px solid #aaa;
        padding: 10px;
    }

    .item ul li a:hover {
        background: #eee;
    }

    .item input:checked ~ ul{
        max-height: 400px;
        transition: all .2s;
    }
    
    #grid img {
        width: 20%;
    }

    #gridShowcase, #section-pv1 img {/*my own*/
        width: 100%;
    }

    footer {
        position: fixed;
        bottom: 0px;
    }
} /**end of @media screen**/
