body, html{
    padding: 0;
    margin: 0;
    background-color: #141414;
    font-family: 'Open Sans', sans-serif;
}

header{
    background-color: white;
    height: 6.5rem;
    position: relative;
}

header .forbesHeaderLogo{
    width: 7rem;
    margin-left: 10rem;
    margin-top: 3.25rem;
    transform: translateY(-50%);
    max-width: 30%;
}

.articles .mainArticle{
    min-height: 24rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.darkGrayOuter{
    background-color: #141414;
    height: 0;
    overflow: hidden;
}

.mainArticleBackground{
    background-image: radial-gradient(circle, #282728, #141414);
}

.articles{
    position: relative;
    background-color: #3c3c3c;
}

.headerInner{
    max-width: 1400px;
    margin: 0 auto;
}

.grayWrapper{
    background-color: #3c3c3c;
    width: 100%;
}

.articles .articleOuterWrapper:nth-child(even) .grayOuter .grayInner .article img{
    order: 2;
}

.grayInner{
    max-width: 1400px;
    margin: 0 auto;
}

.hiddenText .outlined{
    font-weight: bold;
    font-style: italic;
    margin: 2rem 0;
    font-size: 1.5rem;
}

.articles .coverPicture{
    position: absolute;
    width: 30rem;
    left: 15%;
    top: 2.5%;
}

.articles .mainArticle .articleText{
    width: 25%;
    color: white;
    position: absolute;
    right: 20%;
    top: 25%;
}

.articles .mainArticle .articleText .title{
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.articles .beginArticle .articleText .title{
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.articles .mainArticle .articleText .content, .articles .beginArticle .articleText .content{
    font-size: .8rem;
    font-weight: 300;
}

.articles .beginArticle .articleText{
    width: 40%;
    color: white;
    padding: 5rem 0;
    margin: 0 auto;
    text-align: center;
}

.hiddenText i{
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 2rem;
    text-shadow: 0px 0px 5px black;
    margin-top: 2rem;
    cursor: pointer;
    width: max-content;
}

.articles .grayOuter .grayInner .article{
    padding: 2rem 0;
    width: 70%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
}

.articleText .extraBtn{
    background-color: #00ffff;
    width: max-content;
    padding: .5rem 1rem;
    color: #114c97;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 1.5rem;
    cursor: pointer;
}

footer .inputText{
    width: 100%;
    text-align: center;
}

footer .inputText textarea{
    width: calc(100% - 1rem);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    color: #b1b1b1;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.4);
    margin: .5rem 0 1rem 0;
    padding: .5rem;
    resize: none;
}

.extraInner{
    background-color: #555555;
    padding: 2rem;
    border-radius: 5px;
    margin-top: 2rem;
    box-shadow: 0px 0px 10px black;
}

.articleText .extraBtn::after{
    content: "- Forpsi válaszol";
    font-weight: normal;
    margin-left: .5rem;
    cursor: pointer;
}

.extraInner .extraInnerTitle{
    color: #00ffff;
    margin-bottom: 1rem;
    font-weight: bold;
}

.extraInner .extraInnerTitle::after{
    content: "- Forpsi válaszol";
    font-weight: normal;
    margin-left: .5rem;
}

.articles .grayOuter .grayInner .article img{
    width: 30rem;
    display: inline-block;
    align-self: center;
}

.articles .grayOuter .grayInner .article .articleText{
    display: inline-block;
    width: 40%;
    vertical-align: top;
    color: white;
    margin: 1rem 2rem;
}

.articles .grayOuter .grayInner .article .articleText .title{
    font-size: 2rem;
    margin: 0 0 2rem 0;
}

.articles .grayOuter .grayInner .article .articleText .content{
    font-size: .9rem;
}

.articles .grayOuter .grayInner .article .articleText .btnHolder .moreBtn,
.articles .grayOuter .grayInner .article .articleText .moreBtn,
.footerWrapper .btnHolder .moreBtn,
.inputWrapper .regBtn{
    border: 1px solid white;
    border-radius: 5px;
    width: 6rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
    color: white;
    cursor: pointer;
    margin: 2rem 0 0 0;
}

#articleFour .articleText{
    padding: 4rem 0 0 0;
}

#articleFive .articleText{
    margin: 8rem 0 0 2rem;
}

#articleFive{
    padding: 0 0 4rem 0;
}

footer{
    min-height: 20rem;
    background-color: #252525;
}

footer .footerWrapper{
    width: 50%;
    margin: 0 auto;
    padding: 5rem 0;
    color: white;
    max-width: 1400px;
    position: relative;
}

.footerWrapper .btnHolder .moreBtn{
    margin: 0 auto 2rem auto;
}

.footerWrapper .footerTitle{
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.footerWrapper .hiddenText{
    overflow: hidden;
    transition: .3s all;
    margin-top: 1rem;
    width: 100%;
    font-size: 1.1rem;
    color: white;
    text-align: justify;
    margin: 0 auto;
    line-height: 1.8rem;
    padding: 0;
}

.footerHiddenItem{
    margin: 1rem 0 1rem 2rem;
}

footer a{
    color: inherit;
}

.footerHiddenItem::before{
    content: "- ";
}

.footerWrapper .footerSubOne{
    font-size: .95rem;
    text-align: center;
}

.footerWrapper .footerSubTwo{
    font-size: .9rem;
    text-align: center;
    font-weight: 300;
    margin: 1rem 0 1rem 0;
}

header .forpsiHeaderLogo{
    width: 14rem;
    max-width: 50%;
    vertical-align: top;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.footerWrapper .inputWrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;

}

.footerWrapper .inputWrapper .inputBox{
    width: calc(50% - 1rem);
}

.inputBox input{
    width: calc(100% - 1rem);
    padding: .5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    color: #b1b1b1;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.4);
    margin: .5rem 0 1rem 0;
}

.inputBox label{
    font-weight: 300;
    padding: 0 0 1rem 0;
}

/* Customize the label (the container) */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: .9rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 80%;
    margin: 1rem auto 0 auto;
  }
  
  /* Hide the browser's default checkbox */
  .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 5px;
    background-color: #eee;
  }
  
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .container input:checked ~ .checkmark {
    background-color: #eee;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container .checkmark:after {
    left: 6px;
    top: 2.5px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .inputWrapper .regBtn{
    border: 1px solid white;
    border-radius: 5px;
    padding: .75rem 3rem;
    text-align: center;
    color: white;
    cursor: pointer;
    margin: 2rem auto 0 auto;
    background: #252525;
    width: unset;
}

.floaty{
    background-color: #363636;
    position: absolute;
    top: 30%;
    right: 2%;
    z-index: 6000000;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.fixed{
    position: fixed;
    top: 5%;
}

.floaty a{
    text-decoration: none;
}

.floaty i{
    color: #1b1b1b;
    font-size: 1.5rem;
    display: block;
    margin: 1rem 0.75rem;
    cursor: pointer;
}

.floaty i:hover{
    color: #00ffff;
}

.articleAnchor{
    position: absolute;
    top: -2.5rem;
}

.tooltip{
    position: relative;
}

.tooltip .tooltipText{
    visibility: hidden;
    min-width: 8rem;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: .5rem;
    border-radius: 6px;
    top: -5px;
    right: 105%;
    position: absolute;
    z-index: 1;
}
.tooltip:hover .tooltipText {
    visibility: visible;
  }

.grayInner{
    overflow: hidden;
}

.hiddenText{
    overflow: hidden;
    transition: .3s all;
    margin-top: 1rem;
    width: 70%;
    font-size: 1.1rem;
    color: white;
    text-align: justify;
    margin: 0 auto;
    line-height: 1.8rem;
    padding: 0 2rem;
}

.lilpic{
    margin-top: 6rem;
}


@media(max-width: 1310px){
    .articles .grayOuter .grayInner .article{
        width: 80%;
    }

    .articles .grayOuter .grayInner .beginArticle .articleText{
        width: 60%;
    }
    .articles .mainArticle .coverPicture{
        left: 12.5%;
    }
}

@media(max-width: 1150px){
    .articles .grayOuter .grayInner .article{
        width: 90%;
    }
    .articles .mainArticle .coverPicture{
        width: 25rem;
        left: 15%;
        top: 17.5%;
    }
    .articles .mainArticle .articleText{
        top: 30%;
    }
    .articles .beginArticle .articleText{
        width: 60%;
    }
   
}

@media(max-width: 1050px){
    .articles .grayOuter .grayInner .article{
        width: 100%;
    }
    .articles .mainArticle .coverPicture{
        left: 10%;
    }
    .articles .mainArticle .articleText{
        width: 30%;
        right: 15%;
    }
    footer .footerWrapper{
        width: 70%;
    }
}

@media(max-width: 920px){
    .articles .grayOuter .grayInner .article{
        text-align: center;
    }
    .articles .articleOuterWrapper .grayOuter .grayInner .article img{
        width: 70%;
        margin: 0 auto;
    }
    .articles .articleOuterWrapper:nth-child(even) .grayOuter .grayInner .article img{
        order: unset;
    }
    .articles .grayOuter .grayInner .article .articleText{
        width: 70%;
        margin: 1rem auto;
    }
    .articles .grayOuter .grayInner .article .articleText .content{
        text-align: left;
    }
    .articles .grayOuter .grayInner .beginArticle .articleText{
        width: 70%;
    }
    .articles .mainArticle .articleText{
        right: 11%;
        width: 32%;
    }
    .articles .mainArticle .articleText .title{
        font-size: 2rem;
    }
    .articles .mainArticle .articleText .content{
        font-size: .7rem;
    }
    .articles .mainArticle .coverPicture{
        left: 5%;
    }
    #articleFour .articleText{
        margin: 0 auto;
        order: 2;
    }
    #articleFour img{
        margin: 0 auto;
    }
    #articleFive .articleText{
        margin: 0 auto;
    }
    header .forbesHeaderLogo{
        margin-left: 1rem;
    }
    .articles .grayOuter .grayInner .article .moreBtn{
        margin: 2rem auto 0 auto;
    }
    #articleFour{
        display: flex;
        flex-wrap: wrap;
    }
    .articles .beginArticle .articleText{
        width: 80%;
    }
}

@media(max-width: 750px){
    .articles .grayOuter .grayInner .article img{
        width: 90%;
    }
    .articles .grayOuter .grayInner .article .articleText{
        width: 90%;
    }
    .articles .grayOuter .grayInner .beginArticle .articleText{
        width: 90%;
        padding: 2.5rem 0;
    }
    .articles .articleOuterWrapper .hiddenText{
        width: calc(90% - 1rem);
        font-size: 1rem;
    }
    .articles .mainArticle .coverPicture{
        width: 10rem;
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
    }
    .articles .mainArticle .articleText{
        width: 90%;
        padding: 12.5rem 0 2rem 0;
        margin: 0 auto;
        position: unset;
    }
    .articles .mainArticle .articleText .title{
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .articles .articleText .title{
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    footer .footerWrapper{
        width: 90%;
    }
    .floaty{
        left: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: space-evenly;
            -ms-flex-pack: space-evenly;
                justify-content: space-evenly;
        width: 100%;
        border-radius: 0;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        position: static;
        margin: 0;
    }
    .floaty.fixed {
        position: fixed;
        top:0; 
        left:0;
        width: 100%; 
      }
}

@media(max-width: 550px){
    .footerWrapper .inputWrapper .inputBox {
        width: calc(100% - 1rem);
    }
    footer .inputText textarea{
        width: calc(100% - 2rem);
    }
    .footerWrapper .footerTitle{
        font-size: 2rem;
    }
    .container{
        font-size: .8rem;
    }
    .footerWrapper .inputWrapper .inputBox{
        margin: 0 auto;
    }
    .articleText .extraBtn::after {
        content: "Forpsi válaszol";
        display: block;
    }
    .articleText .extraBtn {
        width: calc(100% - 2rem);
    }
    .extraInner{
        padding: 1rem;
    }
    .articles .grayOuter .grayInner .article .articleText .btnHolder .moreBtn,
    .articles .grayOuter .grayInner .article .articleText .moreBtn{
        margin: 2rem auto 0 auto;
    }
    .articles .mainArticle .articleText .title{
        font-size: 2rem;
    }
    .articles .beginArticle .articleText .title{
        font-size: 1.25rem;
    }
    header .forpsiHeaderLogo{
        left: 75%;
    }
    .floaty{
        overflow: auto;
        white-space: nowrap;
        display: block;
    }
    .floaty .tooltip{
        width: 7rem;
        display: inline-block;
    }
    .tooltipText, .tooltip:hover .tooltipText{
        visibility: hidden;
    }
    .articles .articleOuterWrapper .hiddenText{
        padding: 0 .5rem;
    }
    .extraInner .extraInnerTitle::after {
        display: block;
        margin: 0;
    }
    .hiddenText i{
        display: none;
    }
    .articles .beginArticle .articleText{
        width: 90%;
    }
}

.formMessage{
    display: block;
    margin-top: 1rem;
    text-align: center;
    width: 100%;
}

.formMessage.success{
    color: rgb(14, 98, 39);
}

.formMessage.error{
    color: rgb(136, 28, 28);
}
.hidden{
    display: none !important;
}

textarea{
    font-family: "Open Sans";
}