body {
    font-family: 'Roboto', sans-serif;
}
.navbar-default {
    border: 0;
}
.navbar-default .container {
    position: relative;
}

#navbar {
    background: rgba(196,0,0,1);
    background: -moz-linear-gradient(top, rgba(196,0,0,1) 0%, rgba(251,159,147,1) 0%, rgba(249,165,154,1) 27%, rgba(252,252,252,1) 100%);
    background: -webkit-linear-gradient(top, rgba(196,0,0,1) 0%, rgba(251,159,147,1) 0%, rgba(249,165,154,1) 27%, rgba(252,252,252,1) 100%);
    background: -o-linear-gradient(top, rgba(196,0,0,1) 0%, rgba(251,159,147,1) 0%, rgba(249,165,154,1) 27%, rgba(252,252,252,1) 100%);
    background: -ms-linear-gradient(top, rgba(196,0,0,1) 0%, rgba(251,159,147,1) 0%, rgba(249,165,154,1) 27%, rgba(252,252,252,1) 100%);
    background: linear-gradient(to bottom, rgba(196,0,0,1) 0%, rgba(251,159,147,1) 0%, rgba(249,165,154,1) 27%, rgba(252,252,252,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c40000', endColorstr='#fcfcfc', GradientType=0 );
}

.navbar-default .navbar-brand {
    font-family: 'Libre Baskerville', serif;
    font-size: 60px;
    padding-bottom: 45px;
    color: #c40000;
    width: 70%;
    border-bottom: 5px solid #c40000;
    margin-top: -20px;
}
.navbar-default .navbar-brand:hover {
    color: #a80000;
}

.navbar-text {
    position: absolute;
    left: 350px;
    bottom: 41px;
    font-size: 22px;
    font-style: italic;
}
.container > .navbar-header{
    width: 100%;
    position: relative;
}
.block-language {
    background: transparent;
    position: absolute;
    top:20px;
    right: 0px;
}

a.language-link {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.block-language li {
    list-style: none;
    padding-left: 20px;
}
.block-language li.en::before {
  content: url(../img/en.png);
  float: left;
  margin-right: 5px;
}
.block-language li.hu:before {
    content: url(../img/hu.png);
    float: left;
    margin-right: 5px;
}
.block-language li.de:before {
    content: url(../img/de.png);
    float: left;
    margin-right: 5px;
}
.block-language li.ro:before {
    content: url(../img/ro.png);
    float: left;
    margin-right: 5px;
}


.navbar-default {
    background: #fff;
}
#navbar-collapse {
    position: absolute;
    top:80px;
    right: 120px;
}

.region-navigation {
    display: flex;
    align-items: center;
}

#edit-field-elfogad--wrapper legend{
    border: 0;
    width: 400px;
    float: left;
}
.fieldset-legend {
    float: left;
}
.form-item-field-elfogad-1  {
    display: none;
}


section.col-sm-12 {
    padding-right:0;
    padding-left:0;
}

#block-aboutgallery article h2,
.second_row article h2,
.fourth_row article h2 {
    display: none;
}
.field--name-field-picture img {
    padding: 5px;
    margin: 10px;
    box-shadow: 1px 2px 5px #333;
    background: #fff;
}
.second_row {
    background: #593A1B;
    color: #fff;
    padding: 30px;
}

.fourth_row {
    background: #c1ae8b;
    padding: 30px 0;
}
.fourth_row .button--primary {
    background-color: #897765;
    border: 0;
}
.fourth_row .button--primary:hover {
    background-color: #5f5146;
}

#block-bemutatkozasblock {
    background: rgba(255,255,255,0.8);
    font-size: 16px;
    padding: 20px;

}
#block-szaktanacsadasblock {
    float: left;
}

.footer {
    background: #222;
    margin-top:0;
    color: #fff;
}

footer a {
    color: #fefefe;
}
.menu--footer li {
    float: left;
}
#block-marex-footer ul > li > a {
    padding: 0 15px;
}
#block-marex-footer ul > li > a:hover {
    background: transparent;
    color: #bcbcbc;
}

@media screen and (min-width: 768px) {
    body {
        margin-top: 0px;
    }
}

/* navigation ---------------*/
#block-marex-main-menu {
    font-family: 'Oswald', sans-serif;
    float: right;
}
#block-marex-main-menu li  a {
    font-size: 16px;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #c40000;
    background-color: transparent;
}

/* parallax from  WDTutorials  --------------------------------------------- */

.main-container {
    padding: 0px;
}
.page-header {
    padding-bottom: 0px;
}

/* normal sections*/



/* parallax sections*/

   .parallax {
       text-align: center;
   /* so we can absolute position the background*/
       position: relative;
       overflow: hidden;
       height: 600px;
       width: 100%;
   }

.parallax__bg {
    position: absolute;
    width: 100%;
    height: 140%;
}

.parallax--parallax01 .parallax__bg {
    background-image: url('../img/bocik.jpg');
    background-size: cover;
    background-position: center;
}
.parallax--parallax02 .parallax__bg  {
    background-image: url('../img/parallax2_bgd.jpg');
    background-size: cover;
    background-position: center;
}

.parallax__content {
/* center content vertically */
position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #fff;
}
.parallax__content p {
    font-size: 30px;
    padding: 30px;
    background: rgba(0,0,0,0.5);
    display: block;
    width: 50%;
    margin: 0 auto;
}

.lang-ro  .parallax1,
.lang-ro .second_row{
    display: none;
}
/*----------*/

#block-easysocial {
    margin: 20px 0;
}

.views-field-field-image {
    max-width: 250px;
    float: left;
    margin-right: 15px;
}

.views-field-title a {
    color: #c40000;
    text-transform: uppercase;
    display: block;
}
.views-field-title a:hover {
    text-decoration: none;
}

.views-field-title h2 {
    margin-top: 0;
    border-bottom: 1px solid #9c9c9c;
    display: flex;
}
.view-news .views-row {
    clear: both;
    padding: 25px;
}

#block-consultancyservices .block-title {
    color: #e5ccaa;
}
#block-consultancybelow  {
    float: left;
    margin-top:-120px;
}
#block-consultancybelow .field--name-field-picture .field--item {
    float: left;
    width: 250px;
    margin: -150px 70px 0 20px;
}

#block-consultancygallery .field--item {
    margin: 35px 0;
}
.views-field-view-node {
    float: right;
    padding: 5px 10px;
    background: #c40000 ;
}

.views-field-view-node a {
    color: #fff4f4;
}





/*------ media queries  -----------*/
@media screen and (max-width:480px) {
    .navbar-text {
        left: 0;
        bottom: 0;
        font-size: 16px;
    }

    .navbar .logo img {
        width: 90px;
    }
    .navbar-default .navbar-brand {
        margin-top: 20px;
    }
    .block-language {
        top: 140px;
        left: 0;
        margin-right: -33px;
    }
    .block-language ul {
        padding-left: 0;
    }
    .block-language li {
        padding-left: 0;
        display: inline-block;
        padding-right: 10px;
    }
    .navbar-toggle {
        margin-right: -25px;
    }
    .field--name-field-picture {
        display: none;
    }
    .parallax__content p {
        width:75%;
        font-size: 20px;
    }
    #navbar-collapse {
        position: relative;
        top: 45px;
        left: auto;
        right: auto;
        border: none;
        background: #fff;
    }
    .block-language li.en::before {
        margin-right: 2px;
    }
    #edit-field-elfogad--wrapper > legend {
        width: auto;
        font-size: 13px;
    }
    .form-item-field-elfogad-0 {
        margin-top: 0;
    }
    .checkbox input[type="checkbox"] {
        margin-left: -15px;
    }
    #block-marex-main-menu {
        float: none;
    }
    .navbar-nav {
        text-align: center;
    }
    #block-views-block-news-block-1 .block-title {
        margin: 30px 20px 0;
    }
    .view-news .views-field {
        clear: both;
    }
    .view-news .views-field-field-image {
        max-width: 100%;
        float: none;
    }
    .view-news .views-row .views-field-title h2 {
        margin-top: 15px;
        font-family: 'Oswald', sans-serif;
        font-size: 26px;
        line-height: inherit;
    }


    h1.page-header {
        margin: 40px 10px 0;
    }
    article.article {
        padding: 20px;
    }
}
