/*======================================
Theme Name: Embedded System
Theme URI: https://es.fbk.eu/
Description: A theme for the Embedded System unit at FBK
Version: 1.0
Author: Alessio Palmero Aprosio, Pietro Braghieri
Author URI: https://es.fbk.eu/
Template: Extra
======================================*/

/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

.et-extra-icon-googleplus.et-extra-icon-background-hover:hover {
    background: #24292e !important;
}

.et-extra-icon-googleplus:before {
    content: "\e60d";
}

.see-all hr {
    clear: both;
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
}

.see-all .read-more-button {
    float: right;
}

h6.upcoming {
    float: right;
    background-color: darkred;
    padding: 3px 10px;
    margin: 0;
    color: white;
}

.see-all {
    text-align: right;
}

.archive h1 {
    margin-bottom: 20px;
    margin-top: 20px;
}

.archive h1:first-child {
    margin-top: 0;
}

.small-list .header {
    width: 150px !important;
    flex: 0 0 150px;
}

.small-list .post-content {
    width: auto !important;
}

@media all and (max-width: 980px) {
    .home-section {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .home-column-2 {
        order: 1;
    }

    .home-column-1 {
        order: 2;
    }
}

.home-photo {
    background-color: #0c80b0;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.1);
    padding: 12px 0 !important;
}

.home-text {
    opacity: 0.9;
    margin: 10px;
}

.home-text p {
    color: white;
    padding-bottom: 15px !important;
    margin: 0 !important;
    font-size: 1.2em;
}

.home-text p a {
    color: white !important;
    font-weight: bold;
}

.home-text h3 {
    color: white;
    padding-top: 20px;
    text-transform: none;
    font-size: 1.2em;
}

.home-text h6 a {
    text-transform: none;
    font-style: inherit;
}

.home-photo .et_pb_column .et_pb_module {
    padding: 12px !important;
}

.et_extra_layout.et_pb_gutters3 .et_pb_extra_column_main .home-photo {
    margin: 0 12px 24px 0 !important;
}

.et_extra_other_module:last-child,
.et_pb_extra_module:last-child {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
}

.et_extra_other_module .posts-list article .no-featured-image h3,
.et_pb_extra_module .posts-list article .no-featured-image h3,
.et_pb_extra_module .no-featured-image .post-meta,
.et_extra_other_module .no-featured-image .post-meta {
    padding-left: 0 !important;
}

.et_extra_other_module .posts-list article .post-content h3 a,
.et_pb_extra_module .posts-list article .post-content h3 a {
    font-weight: 600;
}

.et_pb_widget .widget_list .title {
    /*color: rgba(0, 0, 0, 1);*/
}

/* INTERNSHIP BOX */

.internship-title {
    padding: 20px 0 0 0;
}

.internship-row {
    padding: 10px 0 20px 0;
}

.internship-row:last-child {
    padding-bottom: 50px;
}

.internship-box {
    padding: 10px;
    text-align: center;
}

.internship-box h3 {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 500;
    text-transform: none;
    font-size: 18px;
    color: #486066 !important;
}

.internship-box ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.1em;
}

.internship-box ul li {
    padding: 0 10px;
    margin: 0;
    font-size: .9em;
    padding-top: 20px;
}

.internship-box ul li strong {
    font-size: 1.2em;
}

/* AUTHOR PAGE */

.block-additional-info-text, .block-additional-info {
    padding: 0 !important;
    margin: 0 !important;
}

@media (min-width: 981px) {
    ul.additional-info {
        float: left;
        width: 48%;
        margin: 0 2% 0 0 !important;
        padding: 0 !important;
        list-style: none;
    }
}

.user-header {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

ul.additional-info {
    margin: 0 2% 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

ul.additional-info li {
    margin: 0;
    padding: 10px 10px 10px 40px;
    border-bottom: 1px dotted lightgrey;
    background-position: center left;
    background-repeat: no-repeat;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info-email {
    background-image: url('images/icon_mail.png');
}

.user-info-phone {
    background-image: url('images/icon_tel.png');
}

.user-info-website {
    background-image: url('images/icon_url.png');
}

.user-info-google_scholar_link {
    background-image: url('images/icon_google.png');
}

.user-info-dblp {
    background-image: url('images/dblp.png');
}

.user-info-semantic_scholar {
    background-image: url('images/semantic-scholar.png');
}

.user-info-skype {
    background-image: url('images/icon_skype.png');
}

.user-info-linkedin {
    background-image: url('images/icon_linkedin.png');
}

.user-info-facebook {
    background-image: url('images/icon_facebook.png');
}

.user-info-twitter {
    background-image: url('images/icon_twitter.png');
}

.user-info-youtube {
    background-image: url('images/icon-youtube30.png');
}

.user-info-curriculum_vitae {
    background-image: url('images/icon_CV_black.png');
}

.user-info-instagram {
    background-image: url('images/instagram-logo.png');
}

.author-page h1 {
    font-weight: 600;
}

.author-page article {
    padding-top: 4%;
}

.author-section {
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #0c80b0;
}

.author-section .title-right {
    font-weight: bold;
    text-transform: uppercase;
}

.author-section:first-child {
    margin: 0 0 20px 0;
    padding: 0 0 40px 0;
    border-top: 0;
}

.author-title {
    background-color: #0c80b0;
    padding: 10px 20px;
    color: white;
}

.author-page p:first-child {
    margin-top: 0;
}

.author-page .block-publications {
    margin-top: 0;
    list-style-position: inside;
    margin-left: 0;
}

/* WIDGETS */

.et_extra_other_module .posts-list article .post-content,
.et_pb_extra_module .posts-list article .post-content {
    padding-top: 0;
}

.et_extra_other_module .posts-list article .post-content h3,
.et_pb_extra_module .posts-list article .post-content h3 {
    /*line-height: 1em;*/
    padding-left: 60px;
    margin-top: -3px;
    text-transform: normal;
}

.et_extra_other_module .posts-list article .post-content h3 a,
.et_pb_extra_module .posts-list article .post-content h3 a {
    text-transform: none;
}

.et_pb_widget .widget_list .title {
    padding-top: 0;
    margin-top: -3px;
}

.et_pb_widget .widget_list a {
    /*line-height: 1em;*/
}

/* PUBLICATIONS */

.block-publications li div, ol.publications li div {
    display: inline;
}

div.publications {
    padding-bottom: 10px;
}

div.publications form {
    margin: 0 0 24px 2em;
}

div.publications select {
    color: #92c251;
    font-weight: bold;
    display: block;
}

div.publications option {
    color: #027AC6;
    font-weight: normal;
    padding-right: 10px;
}

div.publications #page_browser .item-list .pager .pager-current,
div.publications .selected,
div.publications option[selected="selected"] {
    color: #92c251;
    font-weight: bold;
}

div.publications input[type="text"] {
    margin-left: 3px;
    color: #92c251;
    font-weight: bold;
}

div.publications input[type="button"] {}

div.publications label {
    display: block;
    float: left;
    clear: left;
    font-weight: bold;
    margin-right: 8px;
}

div.publications label[for="units_list"],
div.publications label[for="authors_list"] {
    width: 86px;
}

div.publications #page_browser {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

div.publications #page_browser .item-list .pager {
    text-align: left;
}

div.publications #page_browser .item-list .pager li a {
    color: #027AC6;
}

div.publications .message {
    padding: 20px 0 20px 0;
    font-style: italic;
    color: #808080;
}

div.publications li:hover .highlight {
    background-color: #94e82e;
}

ol.publications {
    margin-left: 16px;
}

ol.publications li {
    padding-bottom: 16px;
}

.block-publications a {
    display: inline !important;
}

div.publications li span.active,
div.publications li a.active {
    color: #027AC6 !important;
    font-weight: bold;
}

.block-publications li div,
ol.publications li div {
    display: inline;
}

ol.publications .titolo,
.block-publications .titolo {
    font-style: italic;
}

/* GENERAL */

/*
.et_pb_extra_column_sidebar {
    display: none !important;
}

.et_pb_extra_column_main {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
*/

.et_extra_other_module .main-post article .header img,
.et_pb_extra_module .main-post article .header img {
    height: 149px;
    object-fit: cover;
}

@media only screen and (min-width: 480px) {
    #et-info .et-top-search .et-search-field:focus {
        width: 240px;
    }
}

.fbkhomeicon {
    background-image: url('https://dhsite.fbk.eu/wp-content/uploads/2020/09/white-fbk-logo.png');
    background-repeat: no-repeat;
    background-position: 10px;
    background-size: auto 25px;
    padding-left: 65px;
}

.fully_special > .et_pb_row{
    width: 90% !important;
    max-width: 90% !important;
}

.fully_special .et_pb_widget_area_left {
    padding-right: 0 !important;
    border-right: 0 !important;
}

.fully_special .et_pb_widget {
    margin: 0 0 24px !important;
}

.et_pb_text ol, .et_pb_text ul {
    padding: 0;
    margin: 1.5em 0 0 2em;
}

.et_pb_text p {
    margin: 1.5em 0 0 0;
    padding: 0;
}

.link_list {
    padding: 1em;
    margin-top: 1em;
    background-color: #e2e2e2;
    position: relative;
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
}

.link_list p {
    padding: 0;
}

.post-header {
    padding: 40px 60px 0 60px;
}

.link_list li:before {
  content: "\f35d";
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em; /* same as padding-left set on li */
  width: 1.3em; /* same as padding-left set on li */
}

.link_list ul {
    list-style: none;
    margin-top: 1em;
}

.link_list li {
    padding-left: 1em;
}

.post-subheader {
    padding: 20px 40px 0 40px;
    font-size: 1.2em;
    text-align: center;
}

code, tt {
    padding: .2em .4em;
    margin: 0;
    background-color: var(--color-markdown-code-bg);
    border-radius: 6px;
    font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
}

.code_sections h4 {
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

div.text_label {
    padding-top: 10px;
    text-align: left;
    font-weight: bold;
}

span.text_value {
    text-align: left;
    font-weight: normal;
}

div.general_info {
    padding-left: 50px;
    padding-top: 10px;
    text-align: left;
}

div.partners {
    padding-left: 50px;
    padding-top: 30px;
    text-align: left;
}

div.contacts {
    padding-left: 50px;
    padding-top: 30px;
    text-align: left;
}

div.programme {
    padding-left: 50px;
    padding-top: 30px;
    text-align: left;
}

div.website {
    padding-left: 50px;
    padding-top: 30px;
    text-align: left;
}

div.deadline {
    padding-left: 50px;
    padding-top: 30px;
    text-align: left;
    font-weight: bold;
}

.info-website {
}

.info-website::before {
    content: "";
    display: flex;
    background-image: url('images/icon_url.png');
    /*width: 32px;
    height: 32px;*/
    float: left; 
    height: auto; 
    width: auto; 
    max-width: 16px; 
    max-height: 16px;
}
