/* Import global font family */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

/******************** CSS reset *******************/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
****************************************************/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    /* font: inherit; */
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

i {
    font-style: italic;
}

/*************** My main style ***************/
html {
    background-color: #f0f0f0;
}

/*************** start page ***************/
.start-pg-header-bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.logos{
    display: flex;
}

.start-pg-header-bar h1 {
    display: block;
    margin: auto;
    text-align: left;
    padding-right: 40px;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section {
    padding: 20px 0px;
    margin: auto;
    max-width: 950px;
}
.centered_section{
    text-align: center;
    padding: 60px;
}

.start-pg-container h2 {
    margin: auto;
    padding: 20px;
    text-align: center;
}

.uib-logo,
.NEWSREC-logo {
    width: 85px;
    float: right;
    margin: 40px;
    text-align: center;
}
.uib-logo{
    width: 70px;
    margin-right: 0;
}

.uib-logo img,
.NEWSREC-logo img {
    width: 100%;
    /* max-width: 150px; */
}

/* .NEWSREC-logo {
    float: right;
} */

.NEWSREC-logo img {
    background-color: black;
}

.project_title {
    margin-right: 20px;
}

.section_bg{
    background-color: #f0f0f0;
    padding: 15px 0;
}
.section_bg ul{
    list-style-type: disc;
    padding: 10px 20px;
}

/*************** Front page ***************/
header {
    padding: 30px 20px;
    position: fixed;
    transition: all .2s ease-in-out;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.logo {
    width: 90px;
    margin: auto;
    text-align: center;
    transition: all .2s ease-in-out;
    font-size: 0;
    padding: 0 10px;
}

header.shrink {
    background-color: rgba(255, 255, 255, .98);
    box-shadow: 0 5px 5px rgba(0, 0, 0, .05);
    padding: 10px 20px;
}

header.shrink .logo {
    width: 50px;
}

/* .left_content,
.right_content,
.center_content {
    
} */
.timer_container {
    padding-left: 4px;
    text-align: center;
}

.timer_container>span {
    font-size: 11px;
    color: #777;
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
}

.timer_container>strong {
    color: #333;
    font-size: 17px;
}

.front_page_body {
    margin: 0;
}

.main_wrapper {
    max-width: 850px;
    margin: auto;
    padding: 150px 20px 20px 20px;
}

.news_unit {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    position: relative;
}

.news_unit:hover {
    box-shadow: 0 5px 15px rgb(0 0 0 / 15%);
}

.news_unit>a {
    display: block;
    text-decoration: none;
    height: 100%;
    padding-bottom: 40px;
}

.img_container img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.title_container p {
    color: #444;
    font-size: 26px;
    font-weight: 900;
    line-height: 28px;
    padding: 20px 20px 23px 20px;
}

.news_unit>a:hover .title_container p {
    color: black;
    text-decoration: underline;
}

.grid_container .grid_item:nth-child(1) .title_container p {
    font-size: 36px;
    line-height: 39px;
}

.actions_container {
    position: absolute;
    z-index: 1;
    left: 10px;
    bottom: 10px;
    right: 10px;
}

.reading_time_div,
.addTo_readLater {
    padding: 5px 20px 3px 10px;
    display: inline-block;
    border-radius: 5px;
    cursor: pointer;
}

.reading_time_div>span {
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    fill: #555;
    margin-right: 3px;
}

.addTo_readLater>span {
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
    fill: #555;
    margin: 0 2px;
}

.reading_time_div>p,
.addTo_readLater>p {
    display: inline-block;
    font-size: 14px;
    color: #555;
}

.addTo_readLater:hover {
    background-color: rgba(0, 0, 0, 0.07);
}

/******************* Dropdown menu ********************/
.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    font-size: 14px;
    border: none;
    outline: none;
    color: #333;
    padding: 8px 10px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    border-radius: 5px;
    white-space: nowrap;
}

.dropdown .dropbtn i {
    width: 0;
    height: 0px;
    display: inline-block;
    border: solid transparent 5px;
    border-top-color: #333;
    vertical-align: middle;
    margin-left: 4px;
    margin-bottom: -5px;
}

.dropdown:hover .dropbtn {
    background-color: rgba(0, 0, 0, 0.07);
}

.dropdown:hover .dropbtn i {
    width: 0;
    height: 0px;
    display: inline-block;
    border: solid transparent 5px;
    border-bottom-color: #333;
    vertical-align: middle;
    margin-left: 4px;
    margin-top: -5px;
    margin-bottom: 3px;
}


.dropdown-content {
    width: 350px;
    overflow: auto;
    /* display: none; */
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 0;
    max-height: 500px;
    overflow: auto;
    border-radius: 5px;
    /* transition */
    top: 80%;
    opacity: 0;
    transition: all .25s ease-in-out;
    z-index: -1;
    visibility: hidden;
}

.dropdown-content a {
    float: none;
    color: #333;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 15px;
    line-height: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: #000;
}

.dropdown:hover .dropdown-content {
    /* transition */
    transition: all .25s ease-in-out;
    opacity: 1;
    top: 108%;
    z-index: 1;
    visibility: visible;
}

/*************** Add to readLater alert ***************/


/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 2;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 40px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 40%;
    font-size: 23px;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/******************* description_container ********************/
.description_container {
    /* position: -webkit-sticky; */
    /* Safari & IE */
    /* position: sticky; */
    position: fixed;
    z-index: 3;
    bottom: 20px;
    width: 50px;
    left: 20px;
}

.description_btn{
    border: none;
    border-radius: 50%;
    background: white;
    width: 45px;
    height: 45px;
    box-shadow: 0 5px 5px rgb(0 0 0 / 20%);
    line-height: 0px;
    opacity: .75;
}

.description_container img{
    width: 75%;
    border-radius: 100%;
}

.description_btn:hover{
    cursor: pointer;
    opacity: 1;
}

.tooltip-content {
    opacity: 0;
    position: absolute;
    bottom: 80%;
    left: 5%;
    right: 5%;
    background-color: #fff;
    padding: 0.5em;
    min-width: 10rem;
    /* height: 100px; */
    line-height: normal;
    padding: 13px;
    border-radius: 10px;
    box-shadow: 0 5px 5px rgb(0 0 0 / 10%);
    transition: all .25s ease-in-out;
    z-index: -1;
    visibility: hidden;
  }
.description_btn:hover .tooltip-content {
    opacity: 1;
    bottom: 108%;
    z-index: 1;
    visibility: visible;
  }

.tooltip-content p{
    line-height: 20px;
    /* font-size: 15px; */
}

.tooltip-content p strong{
    color: brown;
}

.inactiveLink {
    pointer-events: none;
    cursor: default;
 }
/******************* Personal info ********************/

#back2Top {
    width: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 999;
    position: fixed;
    cursor: pointer;
    -moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    /* position: fixed; */
    bottom: 10px;
    right: 0;
    /* background-image: linear-gradient(-225deg, #B7F8DB 0%, #a1d8e9 100%); */
    color: rgb(61, 57, 57);
    text-align: center;
    font-size: 30px;
    text-decoration: none;
    border-radius: 12px 12px 12px 12px;
}

#back2Top:hover {
    background-color: rgb(155, 155, 175);
    color: #000;
}

.personal_info_body {
    padding: 50px 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    min-height: 100vh;
}

.btn-lg {
    background: #fbfbfb;
    color: #333;
    padding: 0 25px !important;
    margin: auto;
    border: solid 2px #333;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    font-size: 18px;
    /* height: 50px; */
    line-height: 50px;
    display: inline-block;
}

.btn-lg:hover {
    background-image: none !important;
    background-color: #1f2021 !important;
    border-color: #1f2021;
    /* background-image: linear-gradient(-225deg, #c8e9da 0%, #bbd8e0 100%); */
    color: #fff;

}

#error {
    color: #e73b3b;
    font-size: 12px !important;
    text-align: left;
    display: flex;
    justify-content: left;
    align-items: left;
    padding: auto;

}

.personal_info_body .container {
    display: flex;
    flex-direction: column;
    justify-content: left;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px 0;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgb(0 0 0 / 10%);
    background-color: #fff;
    width: calc(100% - 40px);
}

.h4_header {
    font-size: 30px;
    font-weight: bold;
    line-height: 30px;
    margin: 30px;
}

.h4_subheader {
    font-size: 20px;
    line-height: 30px;
    margin: 10px 30px
}

.hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, #f0f0f0, #00b9ff, #59d941, #f0f0f0);
}

.flabel {
    display: flex;
    flex-direction: column;
    margin: 20px 40px;
    align-items: stretch;
    text-align: left;
}

.flabel p {
    font-size: 19px;
    padding: 15px 0;
    font-weight: bold;
    margin-top: 15px;
    line-height: 25px;
    /* text-align: left; */
}

.small_text {
    font-size: 14px;
    color: #888;
}

.button_container {
    text-align: center;
    padding-top: 20px;
}

select {
    border: solid 1px #ccc;
    padding: 5px;
    border-radius: 5px;
    height: 30px;
    width: 100%;
    max-width: 350px;
}

.copyright {
    padding: 20px;
    color: #999;
}

.textinput_mturk input{
    /* border: none; */
    border: solid 1px #ccc; 
    padding: 0px;
    border-radius: 5px;
    height: 30px;
    width: 100%;
    max-width: 350px;
}
.controlShow{
    display: none;
}

/******************* Article page *******************/

.article_page_img {
    width: 100%;
    /* float:left;  */
    /* margin: 2%; */
    text-align: center;
}

.article_page_img img {
    width: 100%;
    border-radius: 15px;
    /* max-width: 700px; */
}

.article_page_caption {
    padding: 15px 0 0;
    text-align: center;
    font-size: 17px;
    font-style: italic;
    color: #777;
}

.article_body_container {
    padding: 60px 40px 40px 40px;
    margin: auto;
    max-width: 850px;
}

.article_page_title {
    padding: 20px 0 0 0;
    font-size: 45px;
    line-height: 53px;
    font-weight: 900;
    /* max-width: 850px; */
}

.article_page_text {
    padding-top: 40px;
    font-size: 20px;
    line-height: 28px;
}

.article_page_secondary {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 30px 0;
    /* text-align: center; */
    font-size: 18px;
    color: #888;
}


.back_button {
    width: 25px;
}

.back_button img {
    cursor: pointer;
    width: 100%;
    /* max-width: 150px; */
}

/******************* Thanks *******************/
.thanks_h1 {
    font-size: 60px;
    font-weight: bolder;
    padding: 20px 0 40px 0;
}

.thanks_p {
    padding: 40px 20px 60px 20px;
    font-size: 30px;
    line-height: 1.5;
}

.thanks_img {
    width: 20%;
    margin: auto;
}

.thanks_img img {
    width: 100%;
    margin: auto;
    max-width: 150px;
}

.mturk_code{
    border: solid #aaa 2px;
    border-radius: 8px;
    width: 282px;
    margin: 40px 10px;
    font-size: 21px;
    padding-left: 15px;
    line-height: 50px;
}

.code_text p{
    font-size: 20px;
    line-height: 29px;
}

.form_txtarea{
    width: 100%;
    max-width: 600px;
    resize: vertical;
}

.col-sm-7 b{
    line-height: 32px;
    font-size: 20px;
}

/******************* The grid system *******************/

.grid_container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    grid-template-rows: auto;
    grid-template-areas:
        "one one one"
        "two three three"
        "four four five"
        "six seven eight"
    ;
}

.grid_container .grid_item:nth-child(1) {
    grid-area: one;
}

.grid_container .grid_item:nth-child(2) {
    grid-area: two;
}

.grid_container .grid_item:nth-child(3) {
    grid-area: three;
}

.grid_container .grid_item:nth-child(4) {
    grid-area: four;
}

.grid_container .grid_item:nth-child(5) {
    grid-area: five;
}

.grid_container .grid_item:nth-child(6) {
    grid-area: six;
}

.grid_container .grid_item:nth-child(7) {
    grid-area: seven;
}

.grid_container .grid_item:nth-child(8) {
    grid-area: eight;
}



/* Responsive media queries */

@media only screen and (max-width: 400px) {
    .grid_container {
        display: block;
    }
}