/*
 *  Copyright (C) Poliba
 *  Author: Carlo Giansante
 */

body {
    font-family: 'Roboto', sans-serif;
    background: #fff;
    padding: 10px;
    border: 2px solid #008195 !important;
    border-radius: 16px;
}

.column-left {
    float: left;
    width: 50%;
}

.column-right {
    float: left;
    width: 50%;
    text-align: right;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.header {
    overflow: hidden;
    background-color: white;
    top: 0;
    width: 100%;
}

.logo-poliba {
    max-height: 120px;
    max-width: 244px;
    margin-top: 0;
    width: 100%;
    height: 100%;
}

.imgcloud {
    max-height: 180px;
    max-width: 240px;
    width: 100%;
    height: 100%;
}

.imgcloud:hover {
    opacity: 0.75;
}

.title {
    font-size: 18px;
    font-weight: bold;
}

.descr {
    font-size: 16px;
    text-align: justify;
}

.form-control {
    display: block;
    min-width: 400px;
    width: 100%;
    height: 24px;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 1.42857;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #008195;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

fieldset {
    border: 1px solid #008195 !important;
    border-radius: 16px;
}

.input_erc {
    display: block;
    min-width: 400px;
    /* width: 100%; */
    height: 24px;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 1.42857;
    background-color: #fff;
    background-image: none;
    border: 1px solid #008195;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6)
}

.form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #999;
}

.form-control::-webkit-input-placeholder {
    color: #999;
}

.form-control::-ms-expand {
    border: 0;
    background-color: transparent;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #eee;
    opacity: 1;
}

.form-control[disabled],
fieldset[disabled] .form-control {
    cursor: not-allowed;
}

.btn-search, .btn-search-erc {
    color: #fff;
    background-color: #008195;
    border-color: #008195;
    margin-left: 0;
}

.btn-purge, .btn-purge-erc {
    color: #fff;
    background-color: #008195;
    border-color: #008195;
    margin-left: 1px;
}

.btn-search:hover, .btn-search-erc:hover, .btn-purge:hover, .btn-purge-erc:hover {
    background-color: #0097a8;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.input-group-btn {
    display: table-cell;
    font-size: 0;
    white-space: nowrap;
    vertical-align: middle;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    border-radius: 0px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input-group-btn >.btn {
    position: relative;
}

.accordion {
    background-color: #eee;
    font-size: 16px;
    color: #444;
    cursor: pointer;
    padding: 6px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;

}

.active,
.accordion:hover,
.text-dep:hover {
    background-color: #008195;
    color: #fff;
    font-weight: bold;
}

.accordion:hover > .a-dep {
    color: #fff;
    font-weight: bold;
}

.accordion:after {
    content: "\e5cf";
    font-size: 24px;
    font-family: 'Material Icons';
    float: right;
    margin-left: 5px;
}

.active:after {
    font-family: 'Material Icons';
    content: "\e5ce";
    color: #fff;
}

.active > .text-dep {
    color: #fff;
}

.a-body:link, .a-body:hover, .a-body:visited {
    color: #008295;
    text-decoration:none;
}

.a-dep:link, 
.a-dep:visited {
    color: #008195;
}

.active > .a-dep {
    color: #fff;
}

.a-dep-res:link, .a-dep-res:visited, 
.a-bio-res:link, .a-bio-res:visited {
    color: #fff;
}

.a-sectors:link, .a-sectors:visited {
    color: #000;
}

.a-sectors:hover {
    text-decoration:underline;
    color:#008195;
}

.a-bio-res:hover {
    text-decoration:underline;
}

.panel {
    border: 1px solid #008195;
    background-color: white;
    display: none;
    overflow: hidden;
}

.subpanel {
    padding: 4px 20px;
}

.subsectors {
    font-weight: 400;
    line-height: 2;
}

.fa,.far,.fas {
    font-weight: 900;
    color: #008195;
    margin-left: 6px;
}

#btnSearch > .fa-search {
    color: white;
    margin-left: 0;
}

#btnSearchERC > .fa-search {
    color: white;
    margin-left: 0;
}

#btnPurge > .fa-trash {
    color: white;
    margin-left: 0;
}

#btnPurgeERC > .fa-trash {
    color: white;
    margin-left: 0;
}

input::-webkit-calendar-picker-indicator {
    display: none;/* remove default arrow */
  }

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 150px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.p-subsectors{
    font-weight: bold;
}

.icon-dep {
    font-family: 'Material Icons';
	vertical-align: middle;
    margin-left: 4px;
    font-size: 24px;
}

.a-dep, .a-dep-res, .a-sectors {
    text-decoration: none;
}

.a-bio-res {
    text-decoration: none;
    font-weight: bold;
}

.icon-dep:after {
    border: #fff 2px solid;
}

.column-results {
    float: left;
    width: 23.5%;
    padding: 4px 4px;
  }


.row-results {margin: 0 -5px;}

.row-results:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .column-results {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
}

.card-results {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 1px;
  text-align: center;
  background-color: #008195;
  color: #fff;
}

.p-results {
    margin: 8px;
}

.contacts {
    margin: 10px 10px 6px 10px;
    display: flex;
    align-items: center;
}

.shortBio {
    margin: 10px 10px 6px 10px;
    width: 96%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-align: justify;
    white-space: pre-line;
}

.keywords {
    margin: 10px 10px 6px 10px;
    width: 97%;
    font-style: italic;
}

.p-key {
    margin: 10px 10px 6px 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    font-style: italic;
}

#inputToggle {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    
  }

.lblToggle {
    display: inline-block;
    width: 96%;
    text-align: right;
	border-radius: 4px;
	padding: 0.2em 0.6em;
	color: #000;
	font-size: 1em;
    font-style: italic;
    margin-bottom: 10px;
    cursor: pointer;
}

.inputToggle:checked ~ p {
    -webkit-line-clamp: unset;
}

.inputToggle:checked ~ label, p:not(.truncated) ~ label {
    display: none;
}

hr {
	border: 0;
	border-top: 2px dotted #008195;
	margin: 15px 10px 0 10px;
}

#spotlight {
    background-color: #333;
    left: 0px;
}

.spl-header {
    transform: none;
}

.spl-fullscreen {
    display: none !important;
}