body {
    font-family: "Raleway", sans-serif;
    font-size: 16px;
}

a:link,
a:visited {
    color: #E63C15 !important;
}

a:hover {
    color: #E63C15 !important;
    text-decoration: underline;
}

.primary-color {
    background-color: #E63C15 !important;
}

.nav-item {
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.dropdown-item {
    font-size: .9rem;
    font-weight: 600;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #f0f9fa;
}

a.nav-link {
    color: white !important;
}

.mainContent {
    margin-top: 20px !important;
    background-color: #f0f9fa;
    width: 100%;
    margin: 0;
}

.container {
    width: 100%;
}

.container-fluid {
    overflow-x: hidden;
}

.masthead a {
    background: white url(/img/masthead-mobile.png) no-repeat center top;
    width: 100%;
    height: 8em;
    display: block;
    background-size: contain
}

.leftColumn {
    width: 100%;
}

.rightColumn {
    width: 100%;
}

.form-group {
    margin-bottom: 0;
}

.card {
    background: transparent;
}

.topArticles--container {
    width: 100vw;
    margin: auto;
    margin-bottom: 3rem;
    display: inline-flex;
    flex-wrap: wrap;
}

.topArticle {
    width: 93vw;
    margin: auto;
    width: 100%;
}

.topArticle--image {
    width: 93vw;
    height: 200px;
}

.topArticle--small {
    width: 100%;
}

.topArticle--image--small {
    width: 43vw;
    height: 160px;
}

.midArticle--container {
    display: inline-flex;
    flex-wrap: wrap;
    display:flex; /*ie11*/
}

.midArticle--image {
    /* width: 43vw; */
    height: 160px;
    /* width: 100%; ??? */
}

.midArticle--image--2 {
    height: 20vh;
}

.midArticle--2 p {
    font-size: 0.8rem;
}

.midArticle--sub {
    flex-direction: row;
}

.midArticle--sub--container {
    display: inline-flex;
    flex-wrap: wrap;
}

/*
FIXME: ez a clear nem tudom mi itt alatta vszinu gyomlalhato :D
*/

.midArticle--sub---container {
    clear: both;
}

.categoryContainer {
    padding-top: .4rem;
    margin-top: .4rem;
    border-top: 1px solid #dee2e6;
}

.categoryContainer--2:last-of-type {
    padding-bottom: 1rem;
}

.categoryHeader {
    font-family: 'IBM Plex Serif', sans-serif;
    font-size: 1rem;
}

.midArticle--2 {
    /* display: inline-flex; */
    display: block;
}

.midArticle--2 h1 {
    font-family: "Raleway", sans-serif;
    color: #E63C15;
    font-size: 1rem;
    margin-left: .4rem;
}

.midArticle--2--noimage a:link,
.midArticle--2--noimage a:visited {
    color: #E63C15;
}

.midArticle--2--noimage .square {
    background-image: url(/img/square.png);
    background-repeat: no-repeat;
    padding-left: 20px;
    line-height: .9rem;
    display: block;
    margin-top: 1.4rem;
    font-size: 1rem;
}

.topArticle a:link,
.topArticle a:visited,
.topArticle--small a:link,
.topArticle--small a:visited,
.midArticle a:link,
.midArticle a:hover {
    color: white !important;
}

.topArticle a:hover {
    text-decoration: underline;
    color: black;
}

.topArticle h1 {
    padding: .25em .5em;
    width: 93vw;
    font-size: 1.2rem;
    margin: auto;
    font-weight: 700;
    position: absolute;
    font-family: 'Raleway', sans-serif;
    left: 0.9rem;
    bottom: 0;
    height: auto;
    position: absolute;
    /* filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorStr=#00000000, endColorStr=#DD000000); */
    background-color: transparent;
    /* background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); */

    background: -moz-linear-gradient(top, rgba(0,0,0,0) 1%, rgba(0,0,0,1) 59%, rgba(0,0,0,1) 61%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 1%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 61%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 1%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 61%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */

}

.topArticle--small h2 {
    float: none;
    width: 43vw;
    position: absolute;
    left: .9rem;
    right: 0;
    margin: 0;
    height: auto;
    padding: 15% 0.75rem 0.35rem 0.375rem;
    /* filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorStr=#00000000, endColorStr=#DD000000); */
    background-color: transparent;
    /* background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); */
    bottom: 0;
    font-size: .8rem;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 1%, rgba(0,0,0,1) 59%, rgba(0,0,0,1) 61%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 1%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 61%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 1%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 61%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}

.midArticle h1 {
    display: inline-block;
    padding: .25em .5em;
    font-size: 1.2rem;
    font-weight: 500;
    /* font-family: 'Gentium Basic', sans-serif; */
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    background-color: #E63C15;
    width: 315px;
}

.midArticle--sub h3 {
    font-size: 1rem;
}

.midArticle--sub h3 a:link,
.midArticle--sub h3 a:visited {
    color: #E63C15;
}

.media {
    flex-direction: column;
    -ms-flex-direction: column;
}

.category--page .img-articlelist,
.search--page .img-articlelist {

    /* max-width: 130px;
    max-height: 130px; */
    width: auto;
    height: auto;
    float: left;
    width: 30vw;
    margin-right: 1em;
    overflow: hidden;
}

.pagination {
    flex-wrap: wrap;
}

.category--page .middleArticle h2,
.search--page .middleArticle h2 {
    font-size: 1.2rem;
}

.category--page .middleArticle p,
.search--page .middleArticle p {
        font-size: .9rem;
}

.category--page .middleArticle .publication_date,
.search--page .middleArticle .publication_date {
    display: none;
}
.middleArticle {
    padding-top: 1em;
    border-bottom: 1px solid grey;
}
.btn-primary {
    color: #fff !important;
    background-color: #E63C15 !important;
    border-color: #E63C15 !important;
    width: 31vw;
}
.btn-primary:hover {
    color: #fff !important;
    background-color: black !important;
    border-color: black !important;
}

/* .btn-search,
.btn-subscribe {
    font-size: 0.9rem;
} */

.form-control {
    width: 61vw;
    font-size: 0.9rem;
}

.ad {
    display: flex;
    justify-content: center;
}

.sidebarHeadline {
    color: #E63C15;
    font-family: 'IBM Plex Serif', sans-serif;
    font-size: 1.3rem;
}

.sidebarHeadline span {
    color: #95989A;
}

.issue--page .breadcrumb {
    padding-left: 0;
    border-bottom: 1px solid #f0f9fa;
}
.breadcrumb {
    background-color: transparent;
    border-radius: 0;
    font-size: .9rem;
    /* padding: 0; */
}

.article--page .breadcrumb {
    margin-bottom: 0;
    padding-bottom: 0;
}

.article--page .article_author, .article--page .publication_date {
    font-size: .7rem;
    display: inline-block;
  }

.archivebrowser--page .categoryHeader {
    display: none;
}

.article--page .article h1.headline {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'IBM Plex Serif', sans-serif;
    border-bottom: 1px solid #dee2e6;
  }

  .archivebrowser--page .categorylist--container {
      display: flex;
      flex-wrap: wrap;
  }
  .blog-post {
      background-color: cornsilk;
  }
  .blog-post .author-image {
    border-radius: 50%;
    width: 32px;
    height: 32px;
  }

  .blog-post .article_author {
      font-size: .9rem;
      line-height: .9rem;

  }

  .blog-post .publication_date {
      display: inline-block;
      font-size: .9rem;
  }
  .blog-post  h1.headline {
      border: none !important;
  }

  .blog-post .byline-container {
      padding: .6rem 0;
      margin-bottom: .4rem;
      border-bottom: 1px solid #dee2e6;
  }

  #social_bookmark_title {
    display: none;
}

   .ad img {
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
   }

 .article img {
    max-width: 100%;
    height: auto;
}

  .mostread-nav-tabs a.nav-link {
        color: #E63C15 !important;
    }

  .mostread-nav-tabs .tabActive a.nav-link {
    background-color: white !important;
  }

  .footer {
    font-size: .7rem;
}


@media (min-width: 320px) and (max-width: 528px){
    .form-control {
    width: 56vw;
    font-size: 0.8rem;
    }
}



@media (min-width: 768px) {
    .container-fluid,
    .mainContent {
        width: 100% !important;
        min-width: 748px !important;
    }

    .navbar-nav li:nth-of-type(7) .dropdown-menu,
    .navbar-nav li:nth-of-type(8) .dropdown-menu,
    .navbar-nav li:nth-of-type(9) .dropdown-menu,
    .navbar-nav li:nth-of-type(10) .dropdown-menu {
        left: unset;
        right: 0;
    }

    .masthead a {
        background-image: url('/images/masthead3b.png');
    }

    .nav-item {
        font-size: 0.71rem;
    }
    .drn-events-list {
        display: inline-flex;
    }
    .drn-events-list h5 {
        font-size: .8rem;
        font-weight: bold;
    }
    .topArticle--image {
        width: 96vw;
        height: 40vh;
    }
    .topArticle--image--small {
        width: 46vw;
        height: 286px;
    }
    .topArticle--small h2 {
        font-size: 1.4rem;
        width: 46vw;
    }
    .topArticle h1 {
        width: 96vw;
        font-size: 2rem;
    }
    .midArticle--image {
        width: 21vw;
        height: 16vh;
    }
    .midArticle--sub h3 {
        font-size: 1rem;
    }

    .midArticle--2 {
        font-size: 0.8rem;
    }

    .midArticle--2 .midArticle--image {
/*        width: auto;
*/
    }

    .midArticle--image--2{
        width: 46vw;
        height: 23vh;
    }
    .category--page .img-articlelist,
    .search--page .img-articlelist {

        max-width: 200px;
        max-height: 200px;
        width: auto;
        height: auto;
        float: left;
        width: 150px;
        margin-right: 1em;
        margin-bottom: 1em;
    }

    .headlineWrapper h2 {
        font-size: 1.6rem;
    }
    .publication_date {
        display: inline-block;
    }
    .media {
        flex-direction: row;
    }
    .categoryContainer {
        float: left;
    }
    .categoryContainer .media-body {
        flex: auto;
    }
    .footer {
        font-size: .8rem;
    }
    .even-img {
        min-width: 120px;
    }
    .magazinecovers--container {
        display: flex;
    }
    .magazinecovers--container div {
        flex-wrap: wrap;
    }
    .article--page .article h1.headline {
        font-size: 1.7rem;
        font-weight: 700;
        font-family: 'IBM Plex Serif', sans-serif;
        border-bottom: 1px solid #dee2e6;
      }

      .article--page .article .top {
          padding: 0;
      }

      .article--page .article .first {
        float: right;
        padding: 12px 0 12px 20px;
      }


      .article--page .category--page .leftColumn {
       padding: 1rem;
      }


      .article--page .img-articlelist {
        max-width: 200px;
        max-height: 200px;
        width: auto;
        height: auto;
        float: left;
        width: 150px;
        margin-right: 1em;
      }

      .article--page .category--page h2.headline {
        font-size: 1.5rem;
        line-height: 1;
        font-family: "Raleway";
        font-weight: 500;
      }

      .article--page .middleArticle, .category--page .middleArticle, .search--page .midArticle {
        padding-top: 1em;
        border-bottom: 1px solid grey;
      }


}

@media (min-width: 992px) {
    .container-fluid {
        max-width: 1000px;
        width: 100%;
    }
    .container-fluid,
    .mainContent {
        width: 100% !important;
        min-width: 1000px !important;
    }
    /* .mainContent {
            margin-left: 15px;
            margin-right: 15px;
          } */
    .navbar {
        width: 100% !important;
        min-width: 1000px !important;
        /* 1000px volt */
    }
    .nav-item {
        font-size: 1rem;
    }
    .leftColumn {
        width: 670px;
    }
    .rightColumn {
        width: 330px;
    }
    .topArticles--container {
        display: block !important;
        margin-bottom: 3rem;
    }
    .topArticle {
        width: 437px;
    }
    .topArticle--image {
        width: 437px !important;
        height: 295px !important;
    }
    .topArticle,
    .topArticle--small {
        float: left;
    }
    .topArticle--small {
        width: 204px;
    }
    .topArticle--image--small {
        width: 204px !important;
        height: 135px !important;
    }
    .topArticle h1 {
        padding: .25em .5em;
        width: 100% !important;
        font-size: 1.7rem;
        font-weight: 700;
        /* font-family: 'Gentium Basic', sans-serif; */
        position: absolute;
        left: .9rem;
        right: 0;
        margin: 0;
        height: auto;
        position: absolute;
        /* filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorStr=#00000000, endColorStr=#DD000000);
        background-color: transparent;
        background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); */
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 1%, rgba(0,0,0,1) 59%, rgba(0,0,0,1) 61%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0) 1%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 61%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 1%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 61%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
        bottom: 0;
    }
    .topArticle--small h2 {
        float: none;
        width: 100% !important;
        position: absolute;
        left: .9rem;
        right: 0;
        margin: 0;
        height: auto;
        padding: 15% 0.75rem 0.35rem 0.375rem;
        /* filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorStr=#00000000, endColorStr=#DD000000);
        background-color: transparent;
        background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); */
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 1%, rgba(0,0,0,1) 59%, rgba(0,0,0,1) 61%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0) 1%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 61%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 1%,rgba(0,0,0,1) 59%,rgba(0,0,0,1) 61%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
        bottom: 0;
        font-size: .8rem;
    }
    .midArticle h1 {
        display: inline-block;
        padding: .25em .5em;
        font-size: 1.2rem;
        font-weight: 500;
        /* font-family: 'Gentium Basic', sans-serif; */
        position: absolute;
        bottom: 0;
        margin-bottom: 0;
        background-color: #E63C15;
        width: 315px;
    }
    .midArticle--sub h3 {
        font-family: "Raleway";
        font-size: .8rem;
    }
    .midArticle--sub h3 a:link,
    .midArticle--sub h3 a:visited {
        color: #E63C15;
    }
    .midArticle--image {
        width: 315px;
        height: 170px;
    }
    .midArticle--sub---container {
        clear: both;
    }

    .midArticle--2 {
        display: block;
    }
    .midArticle--2--noimage {
        padding-left: 20px;
    }
    .midArticle,
    .categoryContainer {
        margin-top: 1rem;
        float: left;
    }
    .midArticle--sub {
        float: left;
    }

    .categoryContainer {
        border-top: 0;
    }
    .categoryContainer--2 {
        float: left;
    }
    .midArticle--2 h1 {
        /* font-family: "Gentium Basic", sans-serif; */
        color: #E63C15;
        font-size: 1.2rem;
    }
    .midArticle--sub .midArticle--image {
        width: 148px;
        height: 110px;
    }
    .midArticle--image--2 {
        /* height: 13vh; */
    }
    .cont4x4 {
        float: left;
    }
    .cont4x4 h1 {
        font-size: .9rem;
        font-family: "Raleway", sans-serif;
    }
    .cont4x4 .midArticleLead {
        display: none;
    }
    .categoryList {
        width: 315px;
        float: left;
        margin-top: 30px;
    }
    /* .categoryList img {
        width: 150px;
    } */
    .categoryHeader {
        border-bottom: 1px solid #95989A;
        /* font-size: 1.1rem; */
    }

    .breadcrumb {
        font-family: 'IBM Plex Serif', sans-serif;
        font-size: 1rem;
        border-bottom: 1px solid #95989A;
    }
    .categoryList a:link h5,
    .categoryList  a:visited h5 {
        /* font-family: "Gentium Basic", sans-serif; */
        color: #E63C15;
        font-size: 1.1rem;
        padding-top: 0.3rem;
    }

    .midArticle--2 p {
        font-size: 0.7rem;
    }

    .categoryList h5 {
        line-height: 1rem;
    }
    .categoryList .media {
        margin-bottom: 20px;
        /* height: 155px;
        overflow: hidden; */
        flex-direction: column;
    }
    .categoryList .media-body {
        color: #8A8A8A;
        font-size: 0.8rem;
    }
    .moreLink {
        border-top: 1px solid #95989A;
        text-align: right;
    }
    .moreLink a:link,
    .moreLink a:visited {
        font-size: .8rem;
        color: #E63C15;
    }
    .sideBar .btn-primary {
        width: 100px !important;
    }
    .sideSearch {
        margin-top: .5rem;
    }
    .sideNewsletter,
    .ad,
    .sideMostread,
    .sideMagazineCovers,
    .sideJobs {
        margin-top: 1.2rem;
    }
    .sideBar input,
    .sideBar button {
        font-size: 0.8rem !important;
    }
    .sideSearch input,
    .sideSearch button,
    .sideNewsletter input,
    .sideNewsletter button {
        border-radius: 0;
    }
    .sideSearch .form-group,
    .sideNewsletter .form-group {
        width: 200px;
    }
    .sideSearch #search-input,
    .sideNewsletter #newsletter-input {
        width: 100%;
    }
    .sideMagazineCovers .col-6 {
        float: left !important;
    }
    .sideMagazineCovers a:link,
    .sideMagazineCovers p,
    .jobopportunity-ad,
    .drinks-industry-recruitment p {
        font-size: .8rem;
    }
    .coverImage {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0 auto 10px auto;
    }
    .sideMostread ol {
        padding-left: 1.5rem;
        font-size: 0.8rem;
    }
    .mostread-nav-tabs a:link,
    .mostread-nav-tabs a:visited {
        color: #E63C15 !important;
        font-size: .7rem !important;
    }

    .sideMostread ol li a:link {
        font-size: 0.7rem;
        font-weight: bold;
        padding-left: .5rem;
    }
    .sideJobs p.media-heading {
        font-size: 0.8rem;
        margin-left: 1rem;
    }
    .drn-events-list h5 {
        font-size: 1rem;
    }
    /* .event-img {
        width: 130px;
        height: auto;
    } */
    .upcomingEventsList {
        padding-left: 10px;
    }
    .upcomingEventsList span {
        display: block;
        font-size: .8rem;
        line-height: .8rem;
    }
    .upcomingEventsList ul {
        list-style: none outside none;
    }
    .upcomingEventsList li {
        padding: 0px 5px 0 30px;
        background: url(img/calendar-3x.png) no-repeat scroll transparent;
        line-height: 20px;
        margin-bottom: 20px;
        list-style-type: none;
    }
    .upcomingEventsList a:link {
        font-size: .9rem;
        line-height: .9rem;
    }
    .upcomingClickHereLinks {
        text-align: center;
        font-size: .7rem;
        border-top: 1px solid lightgray;
        padding: .2rem;
    }
    .footer {
        text-align: center;
        margin-top: 20px;
        font-size: 0.9rem;
    }
    .issue--page .leftColumn,
    .search--page .leftColumn,
    .category--page .leftColumn {
        padding: 1rem;
    }
    .category--page .img-articlelist,
    .search--page .img-articlelist {
        max-width: 200px;
        max-height: 200px;
        width: auto;
        height: auto;
        float: left;
        width: 150px;
        margin-right: 1em;
    }
    .issue--page h2.headline,
    .search--page h2.headline,
    .category--page h2.headline {
        font-size: 1.5rem;
        line-height: 1;
        font-family: "Raleway";
        font-weight: 500;
    }
    .middleArticle {
        padding-top: 1em;
        border-bottom: 1px solid grey;
    }
    /* .article--page .article h1.headline {
        font-size: 1.7rem;
        font-weight: 700;
        font-family: 'IBM Plex Serif', sans-serif;
        border-bottom: 1px solid #dee2e6;
      }

      .article--page .article .photo {
        float: right;
        padding: 12px 0 12px 20px;
      }

      .article--page .article_author, .publication_date {
        font-size: .7rem;
        display: inline-block;
      }

      .article--page .category--page .leftColumn {
       padding: 1rem;
      }


      .article--page .img-articlelist {
        max-width: 200px;
        max-height: 200px;
        width: auto;
        height: auto;
        float: left;
        width: 150px;
        margin-right: 1em;
      }

      .article--page .category--page h2.headline {
        font-size: 1.5rem;
        line-height: 1;
        font-family: "Raleway";
        font-weight: 500;
      }

      .article--page .middleArticle {
        padding-top: 1em;
        border-bottom: 1px solid grey;
      } */

      .first img {
        width: 638px !important;
    }

      .drn-events-list {
          display: block;
      }


}
@media (max-width: 375.5px) {

 }

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/* IE10+ CSS styles go here */
    .midArticle--sub--container {
        display: block;
    } 
}
