body {
    min-height: 100%;
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    padding-bottom: 0;
    margin-bottom: 8px;
}

.navbar-brand {
    color: #3a879c;
    font-size: 22px;
    position: relative;
    padding-bottom: 8px;
}


r-header .navbar-subbrand {
    font-size: 15pt;
    color: #5abac3;
    float: none;
}

/* The separator lines used between container sections
Kontuz: The 0px box-shadow gives you a 0.5px line which you can't get with a border */
hr.section-separator {
    min-width: 100%;
    margin-top: 15px !important;
    margin-bottom: 0.5px !important;
    box-shadow: 0px 0px 0px #7300e6;
    /*#979797;*/
}

/* style for active menu item on navbar */
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
    background-color: white;
    color: #126162;
    /*#974D56;*/
    padding: 15px 15px 3px 15px;
    box-shadow: 0px 2px 0px;
    -webkit-transition: 200ms ease;
    -moz-transition: 200ms ease;
    -o-transition: 200ms ease;
    transition: 200ms ease;
}

.face {
    padding: 1%;
    width: 100%;
    min-width: 50pt;
    max-width: 140pt;
}

#footer {
    padding-top: 40px;
}

.icon {
    width: 30px;
}

a {
    color: #4b8e9d;
    /*#9B9B9B;*/
    font-weight: bold;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #615ddb;
    text-decoration: none;
    font-weight: medium;
}

/* Profile photo */
.profile-photo {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* Section headings */
.row>h2 {
    font-size: large;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 12px;
}

/* Content sections - more breathing room */
.content-section {
    padding-top: 12px;
    padding-bottom: 4px;
}

.text {
    color: #7300e6;
    /*#9B9B9B;*/
    font-weight: "medium";
}

.paper-item {
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 1pt;
    /*     border: 2px solid white;*/
    border-bottom: 1px dashed #bbbbbb;

    /*	padding-top:15px;
	padding-bottom:5px;
	border-radius: 4pt;
	border: 1px solid white;*/
}

/* Alternate row coloring */
.row .paper-item:nth-of-type(odd) {
    /*    background-color:#e6e6ff;/*#e6ecff;/*rgba(194,132,114,0.05);8?*/
    background-color: white;
}

.row .paper-item:nth-of-type(even) {
    background-color: white;
}

.paper-title {
    font-family: 'AvenirNext-Italic', avenir, helvetica, arial, sans-serif;
}

/*.paper-type{
	/*font-family:'AvenirNext-Medium';*/
/*}

/* Egiteko: List heading eg: Control and Information Theory */
.row>h4 {
    /*color: #9B9B9B;*/
    margin-bottom: 20px;
    margin-top: 20px;
}

@media only screen and (max-device-width: 480px) {
    .row>h4 {
        margin-left: 5%;
    }
}

.image-fluid{
    /* margin-top: -1000px; */
    margin-bottom: 100px;
}

/* Egiteko: Section heading eg: Research, Teaching, Etc.; */
h3 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* J list definition */
ol.j-list {
list-style-type: none;
list-style: none;
padding-left: 0;
margin-left: 0;
}
ol.j-list li {
padding-left: 60px;
position: relative;
/*counter-increment: list-item -1;*/
}
ol.j-list li::before {
content: "J" counter(list-item) ".";
font-weight: bold;
position: absolute;
width: 45px;
text-align: right;
display: inline-block;
left: 0;
}


/* C list definition */
ol.c-list {
list-style-type: none;
list-style: none;
padding-left: 0;
margin-left: 0px;

}
ol.c-list li {
padding-left: 60px;
position: relative;
/*counter-increment: list-item -1;*/
}
ol.c-list li::before {
content: "C" counter(list-item) ".";
font-weight: bold;
position: absolute;
left: 0px;
width: 45px;
text-align: right;
display: inline-block;
}

/* B list definition */
ol.b-list {
list-style-type: none;
list-style: none;
padding-left: 0;
margin-left: 0px;

}
ol.b-list li {
padding-left: 60px;
position: relative;
/*counter-increment: list-item -1;*/
}
ol.b-list li::before {
content: "B" counter(list-item) ".";
font-weight: bold;
position: absolute;
left: 0px;
width: 45px;
text-align: right;
display: inline-block;
}


/* BC list definition */
ol.bc-list {
list-style-type: none;
list-style: none;
padding-left: 0;
margin-left: 0px;

}
ol.bc-list li {
padding-left: 60px;
position: relative;
/*counter-increment: list-item -1;*/
}
ol.bc-list li::before {
content: "BC" counter(list-item) ".";
font-weight: bold;
position: absolute;
left: 0px;
width: 45px;
text-align: right;
display: inline-block;
}




/* P list definition */
ol.p-list {
list-style-type: none;
list-style: none;
padding-left: 0;
margin-left: 0px;

}
ol.p-list li {
padding-left: 60px;
position: relative;
/*counter-increment: list-item -1;*/
}
ol.p-list li::before {
content: "P" counter(list-item) ".";
font-weight: bold;
position: absolute;
left: 0px;
width: 45px;
text-align: right;
display: inline-block;
}

/* PP list definition */
ol.pp-list {
list-style-type: none;
list-style: none;
padding-left: 0;
margin-left: 0px;

}
ol.pp-list li {
padding-left: 60px;
position: relative;
/*counter-increment: list-item -1;*/
}
ol.pp-list li::before {
content: "PP" counter(list-item) ".";
font-weight: bold;
position: absolute;
left: 0px;
width: 45px;
text-align: right;
display: inline-block;
}

/* Dark mode toggle */
#dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    margin-left: auto;
    line-height: 1;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    opacity: 0.5;
}
#dark-mode-toggle:hover {
    background-color: rgba(0, 0, 0, 0.08);
    opacity: 1;
}


/* Dark mode styles */
body.dark-mode {
    background-color: #1a1a2e;
    color: #d4d4d4;
}
body.dark-mode .navbar-brand {
    color: #6dd4e4;
}
body.dark-mode a {
    color: #6dd4e4;
}
body.dark-mode a:hover,
body.dark-mode a:focus {
    color: #a09cf0;
}
body.dark-mode .nav-link {
    color: #d4d4d4;
}
body.dark-mode .nav-link:hover {
    color: #6dd4e4;
}
body.dark-mode .profile-photo {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
body.dark-mode .paper-item {
    border-bottom-color: #444;
}
body.dark-mode .row .paper-item:nth-of-type(odd),
body.dark-mode .row .paper-item:nth-of-type(even) {
    background-color: #1a1a2e;
}
body.dark-mode .navbar-default .navbar-nav>.active>a,
body.dark-mode .navbar-default .navbar-nav>.active>a:focus,
body.dark-mode .navbar-default .navbar-nav>.active>a:hover {
    background-color: #1a1a2e;
}
body.dark-mode hr.section-separator {
    box-shadow: 0px 0px 0px #a09cf0;
}
body.dark-mode #dark-mode-toggle {
    color: #d4d4d4;
}
body.dark-mode #dark-mode-toggle:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

/* site design courtesy of Iñaki Esnaola, 2025 */
