/* Author: Zombori Dániel */
/* ------------------------------------------------------------------------- */
/* ---------------------------- Equal row height --------------------------- */
.equal-height-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
.equal-height-col {
    display: flex;
    flex-direction: column;
}



/* ------------------------------------------------------------------------- */
/* --------------------------- Bootstrap general --------------------------- */
.row{
    margin: 0;
}



/* ------------------------------------------------------------------------- */
/* --------------------------------- Flags --------------------------------- */
.flag-icon {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    width: 1.33333333em;
    line-height: 1em;
}
.flag-icon:before {
    content: "\00a0";
}
.flag-icon-hu{background-image: url("../img/hu.svg");}
.flag-icon-en{background-image: url("../img/gb.svg");}
.lang-selector{
    margin: 15px 5px;
    height: 20px;
}
.lang-selector-group{
    margin-left: 10px;
}



/* ------------------------------------------------------------------------- */
/* --------------------------------- Navbar -------------------------------- */
.navbar {
    margin-bottom: 0;
    border-radius: 0;
    color: white;
    background-color: #3c3c3c;
    padding: 0;
    font-size: 1.2em;
    border: 0;
}
.navbar-brand {
    float: left;
    padding: 15px 15px;
    color: white;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
    color: #FFF;
    background-color: #3c3c3c;
}
.ver-divider{
    margin: 5px 0;
    height: 40px;
    width: .1px;
    background-color: #9d9d9d;
}
@media (max-width: 767px) {
    .navbar-collapse .nav > .ver-divider {
        display: none;
    }
}


/* ------------------------------------------------------------------------- */
/* ----------------------------- Tables general ---------------------------- */
.btn-dark {
    color: #fff;
    background-color: #3c3c3c;
    border-color: #3c3c3c;
}
.btn-dark:hover, .btn-dark:focus {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
}
table .btn-dark{
    margin: 2px;
}
.dtr-title{
    float: left;
}



/* ------------------------------------------------------------------------- */
/* ------------------------------- Home page ------------------------------- */
.img-center{
    margin: 3% auto;
}
.about {
    margin: 0 0 15px;
}
.about p{
    margin: 15px 3% 5px;
    text-align: justify;
}
.contact-tile{
    padding: 0;
    margin: 2px 0;
}
.contact-tile p{
    margin: 0 10px 10px;
}
.contact-tile>div {
    margin: 0 2px;
    padding: 10px 2px;
    color: white;
    background-color: #3c3c3c;
    height: 100%;
}
.contact-tile h1, .contact-tile h3{
    margin: 15px 0 10px 0;
}
.self-img{
    display: block;
    margin: 15px 0;
}



/* ------------------------------------------------------------------------- */
/* ----------------------------- Teaching page ----------------------------- */
#teaching-table th{
    text-align: center;
}



/* ------------------------------------------------------------------------- */
/* --------------------------- Publicatioins page -------------------------- */
#publications-table .highlight{
    background-color: #addaff;
}
#publications-table th{
    text-align: center;
}
#publications-table .authors{
    min-width: 120px;
}
#publications-table .title{
    min-width: 180px;
}



/* ------------------------------------------------------------------------- */
/* --------------------------------- Footer -------------------------------- */
html, body {
    height: 100%;
    margin: 0;
}
body {
    min-height: -webkit-calc(100% - 100px);     /* Chrome */
    min-height: -moz-calc(100% - 100px);     /* Firefox */
    min-height: calc(100% - 100px);     /* native */
}
#contents {
    padding: 10px;
    min-height: -webkit-calc(100% - 100px);     /* Chrome */
    min-height: -moz-calc(100% - 100px);     /* Firefox */
    min-height: calc(100% - 100px);     /* native */
}
footer .row {
    padding: 13px;
    position: relative;
    clear:both;
}
