/*

Theme Name: Connect UEF

Theme URI: connect.uef.fi

Description: WordPress theme for Connect UEF

Author: atFlow oy

Author URI: https://atflow.fi/

Version: 1.0

License: All rights reserved

*/

/****************************
THIS SITE IS BUILD MOBILE FIRST.
ALL STYLES ABOVE 320px GO INSIDE
RESPONSIVE.CSS
****************************/

/****************************
TABLE OF CONTENTS
*****************************

#Defaults
#Buttons and links
	#Buttons
	#Links
  #Breadcrumb
#Components
  #WYSIWYG
#Header
	#Sub-header
	#Sub-header-image
	#Header search
	#Dropdown menu
	#Header links desktop
  #Header links mobile
#Frontpage
#Profile list / Research group list
#Single profile / Single Research group
#Content page
#Search page
#Edit profile / Edit research group
#Profile / Research group management
#Contact form 7
#Components
  #Accordions

*****************************
TABLE OF CONTENTS END
****************************/

@font-face {
  font-family: LinoletterItalic;
  src: url("../fonts/LinoLetterStd-Italic.eot");
  src: url("../fonts/LinoLetterStd-Italic.woff2") format("woff2"),
    url("../fonts/LinoLetterStd-Italic.eot?#iefix") format("embedded-opentype"),
    url("../fonts/LinoLetterStd-Italic.woff") format("woff"),
    url("../fonts/LinoLetterStd-Italic.svg#LinoLetterStd-Italic") format("svg"),
    url("../fonts/LinoLetterStd-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: MyriadProRegular;
  src: url("../fonts/MyriadPro-Regular.eot");
  src: url("../fonts/MyriadPro-Regular.woff2") format("woff2"),
    url("../fonts/MyriadPro-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/MyriadPro-Regular.woff") format("woff"),
    url("../fonts/MyriadPro-Regular.svg#MyriadPro-Regular") format("svg"),
    url("../fonts/MyriadPro-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: MyriadProBoldCond;
  src: url("../fonts/MyriadPro-BoldCond.eot");
  src: url("../fonts/MyriadPro-BoldCond.woff2") format("woff2"),
    url("../fonts/MyriadPro-BoldCond.eot?#iefix") format("embedded-opentype"),
    url("../fonts/MyriadPro-BoldCond.woff") format("woff"),
    url("../fonts/MyriadPro-BoldCond.svg#MyriadPro-BoldCond") format("svg"),
    url("../fonts/MyriadPro-BoldCond.ttf") format("truetype");
  font-weight: 400;
}

/****************************
* Defaults
****************************/

body {
  background: #f2f2f2;
  font-family: "MyriadProRegular", sans-serif;
  font-size: 17px;
  word-wrap: break-word;
  color: #232425 !important;
}

h1,
h2,
h3,
h4 {
  font-family: "MyriadProBoldCond", sans-serif;
  text-transform: uppercase;
  word-wrap: break-word;
  margin-bottom: 1rem;
}

h1 {
  font-size: 45px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 19px;
  font-family: "MyriadProRegular", sans-serif;
}

input[type="text"]:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="search"]:focus,
button:focus,
input[type="checkbox"]:focus,
textarea:focus {
  outline: none;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5) !important;
}

.content-page-main-text h2 {
  font-size: 30px;
}

.content-page-main-text h3 {
  font-size: 22px;
}

.content-page-main-text h4 {
  font-size: 19px;
}

.site-subtitle {
  color: #00798f;
  text-transform: uppercase;
  margin-top: 0;
  word-break: break-word;
}

.site-smalltitle {
  margin-top: 10px;
  margin-bottom: 30px;
}

p {
  font-family: "MyriadProRegular", sans-serif;
  font-size: 17px;
  word-wrap: break-word;
  overflow: hidden;
  margin-bottom: 1rem;
}

#content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.site-element-preloader {
  background: url("../images/spinner.gif");
  width: 100%;
  height: 400px;
  background-size: 200px;
  background-position: center;
  margin: 0 auto;
  position: relative;
  background-repeat: no-repeat;
}

.site-element-preloader h2 {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}

.hidden-item {
  display: none !important;
}

.hide-in-mobile {
  display: none;
}

.hide-in-desktop {
  display: block;
}

.last-page-section {
  padding-bottom: 120px !important;
}

.primary-color {
  color: #00798f;
}

.strong {
  font-weight: bold;
}

iframe {
  border: none;
}

.flex-row {
  height: 230px;
}

.nomargin {
  margin: 0;
}

.nocol {
  padding: 0;
  background-size: cover !important;
  background-position: center center !important;
}

/****************************
* Buttons and links
****************************/

/* Buttons */

.site-button {
  width: 100%;
  display: inline-block;
  text-align: center;
  border: none;
  border-radius: 0;
  padding: 20px 40px;
  font-family: "LinoletterItalic", serif;
  font-style: italic;
  font-size: 17px;
  margin-top: 15px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.site-button-primary-color {
  background: #00798f;
  color: white;
}

.site-button-secondary-color {
  background: #323232;
  color: white;
}

.site-button-primary-color:hover,
.site-button-primary-color:focus,
.site-button-primary-color:active {
  background: #323232;
  color: white;
  text-decoration: none;
  outline: none;
}

.site-button-secondary-color:hover,
.site-button-secondary-color:focus,
.site-button-secondary-color:active {
  background: white;
  color: #323232;
  text-decoration: none;
  outline: none;
}

.btn.focus,
.btn:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* Links */

a,
a:hover,
a:focus,
a:active {
  color: #00798f;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/* Breadcrumb */

.page-breadcrump {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
  background: white;
}

.breadcrumb {
  padding: 15px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7em;
  list-style: none;
  margin-left: -15px;
  margin-right: -15px;
  min-height: 50px;
  background-color: #fff;
  box-shadow: none;
  border-radius: 0;
}

.breadcrumb-item.active a {
  color: #888;
}

.breadcrumb-item a {
  color: #333;
}

.breadcrumb-item a:hover {
  color: #00798f;
}

.breadcrumb-list-ol {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  -webkit-padding-start: 0 !important;
}

/*Forms*/

.form-control {
  border: none;
  border-radius: 0;
  font-family: "MyriadProRegular", sans-serif;
}

/****************************
* Components
****************************/

.section {
  margin-bottom: 30px;
}

.section__wysiwyg h2 {
  font-size: 26px;
  text-transform: none;
}

.section__wysiwyg h3 {
  font-size: 22px;
  text-transform: none;
}

.section__wysiwyg h4 {
  font-size: 20px;
  text-transform: none;
}

/****************************
* Header
****************************/

.site-header {
  background: #323232;
  padding: 10px 0;
}

.header-logo-text {
  color: white;
  font-family: "LinoletterItalic", serif;
  font-style: italic;
  font-size: 14px;
  margin-bottom: 0;
}

.navbar-brand img {
  max-height: 40px;
}

.menu-item {
  font-size: 17px;
}

.navbar-toggler .fa {
  color: #ffffff;
  font-size: 26px;
}

.navbar-toggler:before {
  content: "\f0c9";
  font-family: FontAwesome;
  color: #fff;
  font-size: 26px;
  position: absolute;
  right: 0px;
  top: 0;
}

.navbar-brand {
  padding-top: 0;
  margin-top: 4px;
  margin-left: 10px;
  margin-right: 45px;
}

.navbar-light .navbar-toggler {
  border-color: transparent;
  margin-top: 8px;
  outline: none;
  margin-right: -15px;
  padding: 0;
}

#masthead .navbar-nav > li > a {
  color: white;
  padding: 8px 0 12px 15px;
}

#masthead .navbar-nav > li > a:hover {
  color: #00798f;
  background: #323232;
}

#masthead .navbar-nav > li > a:after {
  right: 10px;
  position: relative;
  content: "»";
  color: rgb(0, 144, 169);
  padding-left: 15px;
  top: -0.5px;
}

/**
	* Sub-header
	*/

/*Language menu*/

.lang-menu,
.lang-menu a {
  color: white;
}

.lang-menu a:hover {
  color: #00798f;
}

.lang-menu:before {
  color: #fff;
  content: "\f0ac";
  padding-right: 10px;
  font-family: FontAwesome;
}

.lang-menu-icon {
  margin-right: 10px;
}

.lang-menu-divider {
  padding: 0 5px;
}

.lang-menu-divider:before {
  content: "/";
}

.lang-menu-mobile {
  display: block;
  margin-right: 30px;
  margin-top: 10px;
  margin-left: 0;
}

/*Header management*/

.header-management {
  display: table;
  margin-right: 30px;
  margin-top: 15px;
  color: white;
}

.header-management a {
  display: table-cell;
  color: white;
}

.header-management a:hover {
  color: #00798f;
}

.header-management a:focus {
  color: #00798f;
}

.header-management-icon {
  margin-right: 10px;
}

.header-management-icon:before {
  color: #fff;
  content: "\f013";
  padding-right: 10px;
  font-family: FontAwesome;
}

/*Login*/

.header-login {
  display: block;
  margin-right: 15px;
  color: white;
}

.header-login-icon {
  margin-right: 10px;
}

.header-login-mobile {
  float: left;
  margin-right: 30px;
  margin-top: 15px;
  margin-left: 0;
}

.header-login-button {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: "MyriadProRegular", sans-serif;
  padding: 0;
}

.header-accessibility-button {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: "MyriadProRegular", sans-serif;
  padding: 0;
  margin-right: 30px;
}

.accessibility-link-mobile {
  margin-top: 15px;
}

.header-accessibility-button:before {
  color: #fff;
  content: "\f059";
  padding-right: 10px;
  font-family: FontAwesome;
}

.header-accessibility-button:hover,
.header-accessibility-button:active {
  outline: none;
}

.header-accessibility-button:focus {
  color: #00798f;
}

.header-login-button:hover,
.header-login-button:active {
  outline: none;
}

.header-login-button:focus {
  color: #00798f;
}

.header-login-button:before {
  color: #fff;
  content: "\f023";
  padding-right: 10px;
  font-family: FontAwesome;
}

.header-logout-button-text:hover {
  color: #00798f;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/*Login modal*/

.login-modal-header {
  background: #323232;
  color: white;
  border-bottom: none;
}

.login-modal-title {
  line-height: 1em;
  margin-top: 5px;
}

.login-modal-close {
  color: white;
  opacity: 1;
  font-size: 2rem;
  text-shadow: none;
}

.login-modal-close:hover {
  color: #00798f;
  outline: none;
}

.login-modal-body {
  background: #00798f;
  color: white;
}

.login-modal-input {
  height: 50px;
  color: #323232;
  font-family: "MyriadProRegular", sans-serif;
}

.login-button-submit {
  background: #323232;
  color: white;
}

.login-button-submit:hover,
.login-button-submit:focus,
.login-button-submit:active {
  background: black;
  outline: none;
}

/**
	* Header search
	*/

.header-search {
  background: #00798f;
  padding: 22px 15px;
  height: 100px;
  border-top: 1px solid #414141;
}

.header-search-input,
.header-search-input:focus,
.header-search-button,
.header-search-button:focus,
.header-search-catlist-button,
.header-search-catlist-button:focus {
  height: 55px;
  border: none;
  outline: none;
  font-size: 17px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.header-search-button {
  background: #323232;
  color: white;
  z-index: 4 !important;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.header-search-button:hover {
  background: black;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.header-search-button:focus {
  background: #005463 !important;
}

.header-search-img {
  float: right;
  margin-right: 5px;
  margin-top: 2px;
  height: 25px;
}

.header-search-button .fa,
.header-search-catlist-button .fa {
  float: right;
  font-size: 20px;
}

.header-search-button:before {
  content: "\f002";
  color: #fff;
  font-family: "FontAwesome";
  font-size: 20px;
}

.search-query {
  height: 55px;
}

/*Predictive search*/

.main-search-results,
.fp-main-search-results {
  position: absolute;
  display: none;
  top: 77px;
  left: 15px;
  right: 0;
  bottom: auto;
  max-width: 93%;
  background: #fff;
  padding: 15px;
  z-index: 99;
  list-style-type: none;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.main-search-results {
  padding-left: 15px !important;
}

.fp-main-search-results {
  max-width: 89%;
  padding-left: 15px !important;
}

.main-search-result-list-item:last-child,
.fp-main-search-result-list-item:last-child {
  border-bottom: none;
}

.main-search-result-item-image,
.main-search-result-list-item-image,
.fp-main-search-result-item-image,
.fp-main-search-result-list-item-image {
  max-width: 10% !important;
}

.general-list-item.main-search-result-list-item-show-all,
.general-list-item.fp-main-search-result-list-item-show-all {
  width: 100%;
  display: block;
  border-bottom: none;
}

.fp-main-search-result-item-name,
.fp-main-search-result-item-title,
.fp-main-search-result-list-item-name,
.fp-main-search-result-list-item-title,
.fp-main-search-result-list-item-show-all {
  text-shadow: none;
}

.fp-main-search-result-item,
.fp-main-search-result-list-item {
  width: 100% !important;
}

.fp-main-search-result-list-item-show-all {
  text-align: left;
}

/* Header links desktop */

.header-search-desktop {
  margin: 0 auto;
}

.header-search-desktop form {
  width: 100%;
  display: inline-flex;
  position: relative;
}

.navbar-sub-link {
  background: #323232;
  border-bottom: 1px solid #414141;
  padding: 10px 0;
  min-height: 40px;
}

.navbar-sub-link-row {
  position: absolute;
  right: 15px;
  margin-top: -2px;
}

.navbar-sub-link-item {
  margin-left: 30px;
}

.navbar-sub-link-item a {
  color: #888;
  font-size: 14px;
}

.navbar-sub-link-item a:hover,
.navbar-sub-link-item a:focus {
  color: #00798f;
}

.navbar-sub-link-item a:before {
  left: 15px;
  display: block;
  content: "/»";
  font-size: 14px;
  line-height: 1.8em;
  color: #00798f;
  float: left;
  margin-right: 10px;
}

/**
	 * Search clear icons: Main, Frontpage and people
	 */

.clear-input-icon-fp-search {
  color: #000;
  position: absolute;
  z-index: 999;
  right: 80px;
  top: 18px;
  display: none !important;
}

.clear-input-icon-main-search {
  color: #000;
  position: absolute;
  z-index: 999;
  right: 80px;
  top: 18px;
  display: none !important;
}

.clear-input-icon-fp-search:hover {
  cursor: pointer;
}

.clear-input-icon-main-search:hover {
  cursor: pointer;
}

/* Header links mobile */

.navbar-sub-link-mobile {
  background: #323232;
  border-bottom: 1px solid #414141;
  min-height: 55px;
  overflow: hidden;
  padding: 15px 0;
}

.navbar-sub-link-mobile-wrapper {
  margin-left: -15px;
  margin-right: -15px;
}

/****************************
* Footer
****************************/

#colophon {
  background: #323232 none repeat scroll 0 0 !important;
}

.footer-logo {
  height: 100px;
}

/****************************
* General list style
****************************/

.general-list {
  list-style-type: none;
  margin-bottom: 30px;
  padding-left: 0;
}

.general-list-item {
  display: block;
  clear: both;
  overflow: hidden;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}

.general-list-item-link {
  overflow: hidden;
  display: block;
}

.general-list-item-img {
  max-width: 20%;
  float: left;
  margin-right: 15px;
  max-height: 70px;
}

.general-list-item-icon {
  max-width: 20%;
  float: left;
  margin-right: 15px;
  font-size: 50px !important;
  color: #00798f;
  width: 70px;
}

.general-list-item-info {
  float: left;
  width: 74%;
  text-align: left;
}

.general-list-item-title {
  display: block;
  color: #323232;
  font-weight: bold;
  font-size: 19px;
  cursor: default;
}

.general-list-item-title:after {
  content: "\f101";
  font-family: "FontAwesome";
  font-weight: normal;
  color: #00798f;
  padding-left: 4px;
  font-size: 14px;
}

.general-list-item-title.has-no-link-icon:after {
  content: "" !important;
}

a .general-list-item-title {
  cursor: pointer;
}

.general-list-item-title .fa {
  color: #00798f;
  padding-left: 4px;
  font-size: 14px;
}

.general-list-item-desc {
  display: block;
  color: #323232;
}

.general-list-item-long-desc {
  color: #323232;
}

/*Sinle person*/

.single-profile-publ-list-item {
  width: 100%;
}

/****************************
* General keyword style
****************************/

.keywords {
}

.key-word {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #00798f;
  color: #00798f;
  margin: 0 10px 15px 0;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.key-word:hover,
.key-word:focus,
.key-word:active {
  background: #00798f;
  color: white;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.load-more-keywords {
  text-align: right;
}

.load-more-keywords-btn {
  margin-bottom: 30px;
}

/****************************
* Frontpage
****************************/

.frontpage {
  position: relative;
  width: 100%;
}

/**
	* Main hero
	*/

.main-hero,
.main-hero-mobile {
  position: relative;
  height: 65vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-align: center;
  min-height: 500px;
  z-index: 9;
}

.main-hero {
  display: none;
}

.main-hero-content-container {
  color: white;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  text-shadow: 0 0 9px rgba(29, 29, 27, 0.6);
}

.main-hero-content-title {
  text-transform: uppercase;
}

.main-hero-content-desc {
  font-family: "LinoletterItalic", serif;
  font-style: italic;
  font-size: 1.2em;
  margin-bottom: 2.5em;
}

.main-hero-content-desc span {
  line-height: 28px;
  display: inline-block;
}

/**
	* Contact form / Callto action highlight
	*/

.fp-hl-title-wrapper,
.fp-hl-desc {
  display: block;
  width: 100%;
}

.fp-call-to-action {
  text-align: left;
  padding: 50px 0;
  background: #00798f;
}

.fp-call-to-action .fp-hl-title,
.fp-hl-desc {
  color: #ffffff;
}

.fp-call-to-action-button {
  margin: 0 auto;
  float: right;
}

.fp-call-to-action .fp-hl-title {
  margin-top: 15px;
  margin-bottom: 30px;
}

/**
	* Frontpage keywords
	*/

.fp-keywords {
}

.more-keywords {
}

.more-keywords-info {
  float: right;
}

.more-keywords .more-button {
  background: #fff;
  height: 50px;
  width: 50px;
  color: #00798f;
  text-align: center;
  line-height: 0;
  font-size: 35px;
  padding: 22px 0;
  margin-right: 15px;
  border: 1px solid #dcdcdc;
}

.more-keywords .more-button.collapsed {
  background: white;
}

.more-keywords .more-button:before {
  content: "-";
  text-align: center;
}

.more-keywords .more-button.collapsed:before {
  content: "+";
}

/**
	* Profile and research group highlights
	*/

.fp-hl {
  padding: 60px 15px;
}

.fp-hl-title {
  color: #00798f;
}

.profile-carousel,
.rgroup-carousel {
}

.profile-carousel-item,
.rgroup-carousel-item {
  text-align: center;
  background: white;
}

.profile-carousel-image,
.rgroup-carousel-image {
}

.profile-carousel-info,
.rgroup-carousel-info {
  padding: 30px;
  position: relative;
  min-height: 206px;
}

.profile-carousel-title,
.rgroup-carousel-title {
  text-transform: none;
}

.profile-carousel-title {
  margin-bottom: 5px;
}

.rgroup-carousel-title {
  min-height: 84px;
}

.profile-carousel-desc,
.rgroup-carousel-desc {
  margin-bottom: 0;
}

.profile-carousel-button,
.rgroup-carousel-button {
  background: #00798f;
  color: white;
  padding: 10px 20px;
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  width: 70% !important;
  margin-left: auto;
  margin-right: auto;
}

.profile-carousel.owl-theme .owl-dots .owl-dot.active span,
.profile-carousel.owl-theme .owl-dots .owl-dot:hover span,
.rgroup-carousel.owl-theme .owl-dots .owl-dot.active span,
.rgroup-carousel.owl-theme .owl-dots .owl-dot:hover span {
  background: #00798f;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.profile-carousel.owl-theme .owl-dots .owl-dot span,
.rgroup-carousel.owl-theme .owl-dots .owl-dot span {
  background: #323232;
}

.profile-carousel.owl-theme .owl-nav.disabled + .owl-dots,
.rgroup-carousel.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 20px;
}

/**
* Number highlights
*/

.fp-numbers-hl {
  position: relative;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  text-align: center;
  padding: 120px 0 90px 0;
  overflow: hidden;
  margin: 60px 0;
}

.fp-numbers {
  background: transparent;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 9px rgba(29, 29, 27, 0.6);
}

.fp-numbers-number {
  display: block;
  color: #00798f;
  font-size: 54px;
  font-family: "MyriadProBoldCond", sans-serif;
  line-height: 50px;
}

.fp-numbers-info {
  color: white;
  font-family: "LinoletterItalic", serif;
  font-style: italic;
  font-size: 1.1em;
}

/**
	* About highlight
	*/

.about-hl-title {
  color: #00798f;
}

.about-hl-desc {
  margin-bottom: 15px;
  overflow: hidden;
}

.about-hl-button {
}

.about-hl-image {
  margin-bottom: 30px;
}

/****************************
* Profile list / Research group list
****************************/

.profile-list {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/*Filter form*/

.profile-list-search {
  margin-bottom: 30px;
}

button.btn.profile-list-search-button:before {
  content: "\f002";
  font-family: FontAwesome;
}

.profile-list-search fieldset {
  border: none;
  padding: 0;
}

.profile-list-search-input {
  height: 50px;
}

.profile-list-search-button {
  border-radius: 0;
  background: white;
  color: #323232;
}

.profile-list-clear-button {
  border-radius: 0;
  background: white;
  color: #323232;
  display: none;
}

/*Letter list*/

.profile-list-letter-list {
  list-style-type: none;
  padding-left: 0;
}

.profile-list-letter-list-desktop {
  display: none;
}

.profile-list-letter-list-tablet,
.more-letters-tablet {
  display: none;
}

.profile-list-letter-list-mobile {
  margin-bottom: 0;
}

.profile-list-letter-list-item {
  display: inline-block;
}

.profile-list-letter-list-item-button {
  background: transparent;
  border: none;
  padding: 9px 16px;
  margin: 0 10px 20px 0;
  border-radius: 0;
  font-weight: bold;
  color: #323232;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.profile-list-letter-list-item-button:hover,
.profile-list-letter-list-item-button:focus,
.profile-list-letter-list-item-button:active {
  color: #00798f;
  outline: none;
}

.profile-list-letter-list-item-button.active {
  border: 1px solid #00798f;
}

.more-letters {
  overflow: hidden;
  margin-bottom: 50px;
}

.more-letters-info {
  float: right;
}

.more-letters .more-button {
  background: #fff;
  height: 50px;
  width: 50px;
  color: #00798f;
  text-align: center;
  line-height: 0;
  font-size: 35px;
  padding: 22px 0;
  margin-right: 15px;
  border: 1px solid #dcdcdc;
}

.more-letters .more-button.collapsed {
  background: white;
}

.more-letters .more-button:before {
  content: "-";
  text-align: center;
}

.more-letters .more-button.collapsed:before {
  content: "+";
}

/*Profile list keywords*/

.profile-list-load-more-keywords {
}

/*Prolile list search results*/

.profile-list-results {
  margin-bottom: 30px;
}

.profile-list-carousel .owl-dots {
  display: none;
}

.profile-list-results-text-found-profiles {
  display: none;
}

.profile-list-results-number,
.profile-list-results-number-all {
  color: #00798f;
}

.number-all-active-num-trigger {
  cursor: pointer;
}

.profile-list-results-number-search-enabled {
  color: #000;
  cursor: auto;
}

.profile-list-search-results-chosen-letter {
  margin-bottom: 37px;
  font-family: "MyriadProBoldCond", sans-serif;
  font-size: 54px;
  border-bottom: 7px solid #00798f;
  display: inline-block;
  line-height: 1em;
}

.person-profile-image-holder {
  position: relative;
}

.profile-not-active-overlay {
  background: rgb(255, 255, 255);
  opacity: 0.85;
  position: absolute;
  width: 83px;
  height: 70px;
}

.profile-not-active-item span {
  color: #6e6e6e !important;
}

.profile-not-active-item img {
  opacity: 0.45;
}

.profile-not-active-item i {
  color: #b9b9b9 !important;
}

.profile-not-active-item i {
  color: #b9b9b9 !important;
}

.profile-not-active-item .profile-carousel-button {
  background: #909090 !important;
}

/*.profile-list-search-results-list {
		list-style-type: none;
		margin-bottom: 30px;
	}

	.profile-list-search-results-list-item {
		display: block;
		clear: both;
		overflow: hidden;
		padding: 15px 0;
		border-bottom: 1px solid #ccc;
	}

	.profile-list-item-image {
		width: 20%;
		float: left;
		margin-right: 15px;
	}

	.profile-list-item-info {
		float: left;
	}

	.profile-list-item-name,
	.profile-list-item-title{
		display: block;
		color: #323232;
	}

	.profile-list-item-name {
		font-weight: bold;
		font-size: 19px;
	}

		.profile-list-item-name .fa {
			color: #00798F;
			padding-left: 4px;
			font-size: 14px;
		}

	.profile-list-item-link {
		overflow: hidden;
		display: block;
		}*/

.hide-search-list {
  display: none !important;
}

/* Tags */
.tag-hidden {
  display: none;
}

/*Pagination*/

.pagination-list {
  display: inline-block;
}

.pagination-list-item {
  padding: 9px 16px;
  margin: 0 10px 20px 0;
  display: inline-block;
}

.pagination-list-item.active {
  border: 1px solid #00798f;
}

.pagination-list-item a {
  color: #323232;
}

.pagination-list-item a:hover,
.pagination-list-item a:focus,
.pagination-list-item a:active {
  color: #00798f;
}

.prev-arrow {
  padding-right: 5px;
}

.next-arrow {
  padding-left: 5px;
}

/****************************
* Single profile / Single Research group
****************************/

.single-profile {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.single-profile-name {
  color: #00798f;
}

.single-profile-title {
  font-weight: bold;
  font-size: 19px;
  margin-bottom: 0;
}

.single-profile-status {
  font-weight: normal;
  font-size: 19px;
  margin-bottom: 15px;
}

.single-profile-title-desc {
  margin-bottom: 15px;
}

.single-profile .profile-carousel {
  margin-bottom: 30px;
}

.single-profile-h3 {
  font-size: 19px;
  font-weight: bold;
  font-family: "MyriadProRegular", sans-serif;
  text-transform: none;
}

.single-profile blockquote {
  border-left: 7px solid #00798f;
  padding: 25px;
  font-family: "MyriadProBoldCond", sans-serif;
  margin-bottom: 1.5em;
}

.single-profile-long-desc-button {
  margin-bottom: 40px;
}

.single-profile-video-row {
  margin-bottom: 30px;
}

.single-profile-time {
  margin-bottom: 30px;
}

.single-profile-contact-list-item-name-link,
.single-profile-external-list-item-name-link {
  color: #323232;
}

span.general-list-item-title.profile-list-item-name:after {
  content: "\f101";
  font-family: FontAwesome;
  font-size: 14px;
  margin-left: 5px;
  font-weight: normal;
}

.single-profile-fact-row {
  margin-bottom: 30px;
}

.single-profile-embed-code {
  background: white;
  padding: 15px;
  margin-bottom: 15px;
}

.single-profile-notification {
  background: #fff;
  border: 1px solid #d8d8d8;
  padding: 20px;
}

.copy-widget-embed-code {
  margin-bottom: 30px;
}

.rgroup-img-holder {
  position: relative;
  margin-bottom: 30px;
  display: block;
}

.rgroup-image-wrapper {
  display: inline-block;
  width: auto;
}

.rgroup-img-desc {
  transform: translateY(-100%);
  background: #323232;
  padding: 15px;
  color: white;
}

.rgroup-img-desc p {
  margin-bottom: 0;
  font-size: 15px;
  word-wrap: break-word;
}

.some-icon {
  float: left;
  padding-right: 15px;
}

.some-icon-png {
  width: 70px;
  height: 70px;
}

/****************************
* Content page
****************************/

.content-page {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.content-page-main-hero {
  position: relative;
  height: 50vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-align: center;
  min-height: 350px;
  overflow: hidden;
}

.content-page-title {
  color: #00798f;
}

.content-page-content h1,
.content-page-content h2,
.content-page-content h3,
.content-page-content h4,
.content-page-content h5,
.content-page-content h6 {
  margin-top: 30px;
}

/****************************
* 404 / Error page
****************************/

.errorpage {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 60vh;
}

.errorpage .page-title {
  color: #00798f;
}

.errorpage .page-content {
  margin-top: 0;
}

/****************************
* Search page
****************************/

.searchpage {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 60vh;
}

.searchpage .page-title {
  color: #00798f;
}

.searchpage .page-content .search-form {
  display: none;
}

.searchpage .nav-previous a,
.searchpage .nav-next a {
  color: #323232;
}

.searchpage .nav-previous a:before,
.searchpage .nav-next a:after {
  color: #00798f;
}

.searchpage .nav-previous a:before {
  content: "«";
  padding-right: 5px;
}

.searchpage .nav-next a:after {
  content: "»";
  padding-left: 5px;
}

.searchpage article {
  margin-bottom: 30px;
  border-bottom: 1px solid #cccccc;
  padding: 15px 0;
}

.searchpage article:last-child {
  border-bottom: none;
}

.searchpage .comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
  text-align: left;
}

.searchpage .comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

/****************************
* Edit profile / Edit research group
****************************/

.edit-profile,
.edit-rgroup {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.edit-profile-title,
.edit-rgroup-title {
  color: #00798f;
}

.edit-profile .control-label,
.edit-rgroup .control-label {
  font-weight: bold;
}

.edit-profile fieldset,
.edit-rgroup fieldset {
  border: none;
  padding: 0;
}

.edit-profile input,
.edit-profile select,
.edit-rgroup input:not(.edit-profile-checkbox),
.edit-rgroup select {
  height: 55px !important;
}

.edit-profile input::-webkit-input-placeholder,
.edit-profile select::-webkit-input-placeholder,
.edit-profile textarea::-webkit-input-placeholder,
.edit-rgroup input::-webkit-input-placeholder,
.edit-rgroup select::-webkit-input-placeholder,
.edit-rgroup textarea::-webkit-input-placeholder {
  color: #b5b5b5;
}

.edit-profile input:-moz-placeholder,
.edit-profile select:-moz-placeholder,
.edit-profile textarea:-moz-placeholder,
.edit-rgroup input:-moz-placeholder,
.edit-rgroup select:-moz-placeholder,
.edit-rgroup textarea:-moz-placeholder {
  /* Firefox 18- */
  color: #b5b5b5;
}

.edit-profile input::-moz-placeholder,
.edit-profile select::-moz-placeholder,
.edit-profile textarea::-moz-placeholder,
.edit-rgroup input::-moz-placeholder,
.edit-rgroup select::-moz-placeholder,
.edit-rgroup textarea::-moz-placeholder {
  /* Firefox 19+ */
  color: #b5b5b5;
}

.edit-profile input:-ms-input-placeholder,
.edit-profile select:-ms-input-placeholder,
.edit-profile textarea:-ms-input-placeholder,
.edit-rgroup input:-ms-input-placeholder,
.edit-rgroup select:-ms-input-placeholder,
.edit-rgroup textarea:-ms-input-placeholder {
  color: #b5b5b5;
}

.multiple-select {
  height: auto !important;
}

.multiple-search input {
  height: auto !important;
}

.add-row-button,
.add-new-image,
.remove-row-image,
.remove-row-blog,
.delete-row,
.upload-file-btn,
.remove-row-file {
  padding: 10px 20px;
  margin-bottom: 30px;
}

.site-button-primary-color.upload-file-btn {
  height: 45px !important;
}

.delete-row {
  color: #fff;
  background-color: #d9534f;
}

.delete-row:hover,
.delete-row:focus,
.delete-row:active {
  background-color: #c9302c;
}

.profile-image-upload-btn {
  background: #00798f;
  border-radius: 0;
  padding: 10px 20px;
  margin-bottom: 30px;
  font-family: "LinoletterItalic", serif;
  font-style: italic;
  border: none;
}

.profile-image-upload-btn:hover,
.profile-image-upload-btn:focus,
.profile-image-upload-btn:active {
  background: #323232;
  color: white;
  text-decoration: none;
  outline: none;
}

.site-button.btn-danger {
  background: #d4403a !important;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e0e0e0;
}

.edit-profile .help-block,
.edit-rgroup .help-block {
  color: #464a4c;
  font-size: 14px;
}

.edit-profile input.edit-profile-checkbox {
  height: auto !important;
}

.form-control,
.form-control:focus,
input[type="text"],
input[type="search"],
input[type="radio"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="week"],
input[type="password"],
input[type="checkbox"],
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
select,
textarea,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="radio"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus,
input[type="password"]:focus,
input[type="checkbox"]:focus,
input[type="color"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.hide-element li::marker {
  content: none;
}

/* Stylings for link editing */

.old-some-links-container {
  background-color: #e0e0e0;
  padding: 10px;
}

.link-container {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
  justify-content: space-between;
}

.link-row--flex {
  flex-grow: 1;
  width: 100%;
}

.link-item--align-center {
  align-self: center;
}

.button-responsive {
  width: 100%;
}

/****************************
* Profile / Research group management
****************************/

.edit-link-frontend-form,
.view-profile-link {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
}

.edit-link-frontend-form:hover,
.edit-link-frontend-form:active {
  color: #fff;
}

.edit-link-frontend-form:focus {
  color: #000;
  background: #fff;
}

.view-profile-link:hover,
.view-profile-link:active {
  color: #fff;
}

.view-profile-link:focus {
  color: #000;
  background: #fff;
}

.edit-link-frontend-form:before {
  font-family: "FontAwesome";
  content: "\f044";
  margin-right: 10px;
}

.view-profile-link:before {
  font-family: "FontAwesome";
  content: "\f002";
  margin-right: 10px;
}

.profile-management {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 60vh;
}

.profile-management-title {
  color: #00798f;
  margin-bottom: 30px;
}

.profile-management-edit-profile-button {
  margin-bottom: 40px;
}

.profile-management .instructions {
  margin: 15px 0 60px 0;
}

.profile-management .instructions a {
  color: #222222;
}

.profile-management .instructions a i {
  color: #00798f;
}

/****************************
* Contact form 7
****************************/

.wpcf7-form {
}

.wpcf7-form label {
  width: 100%;
}

.wpcf7 fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.wpcf7 fieldset legend {
  font-size: initial;
  line-height: initial;
}

.wpcf7-checkbox {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  border: none;
  box-shadow: none;
}

.wpcf7-form input[type="checkbox"] {
  border: none;
  box-shadow: none;
  height: auto;
}

.wpcf7-list-item {
  display: block;
  width: 100%;
  margin: 0 !important;
}

.wpcf7-form-control-wrap input {
  height: 55px;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #fff;
  color: #323232;
  outline: 0;
  -webkit-transition: 50ms border-color ease-in-out;
  transition: 50ms border-color ease-in-out;
}

.wpcf7-form-control-wrap input::-webkit-input-placeholder {
  color: #b5b5b5;
}

.wpcf7-form-control-wrap input:-moz-placeholder {
  /* Firefox 18- */
  color: #b5b5b5;
}

.wpcf7-form-control-wrap input::-moz-placeholder {
  /* Firefox 19+ */
  color: #b5b5b5;
}

.wpcf7-form-control-wrap input:-ms-input-placeholder {
  color: #b5b5b5;
}

.wpcf7-submit {
  width: 100%;
  display: inline-block;
  text-align: center;
  border: none;
  border-radius: 0;
  padding: 20px 40px;
  font-family: "LinoletterItalic", serif;
  font-style: italic;
  font-size: 17px;
  margin-top: 15px;
  background: #00798f;
  color: white;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.wpcf7-submit:hover,
.wpcf7-submit:focus,
.wpcf7-submit:active {
  background: #323232;
  color: white;
  text-decoration: none;
  outline: none;
}

/****************************
* Accordions
****************************/

.accordion {
  margin-bottom: 4px;
}

.accordion__header {
  border: 1px solid #999999;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 4px;
}

.accordion__header.active {
  border-bottom: 1px solid #999999;
}

.accordion__header:hover .accordion__title {
  color: #007E94;
}

.accordion__title {
  border-right: 1px solid #999999;
  display: inline-block;
  font-size: 19px;
  margin-bottom: 0;
  padding: 1.2em 75px 0.9em 1.4rem;
  width: 100%;
}

.accordion__toggle {
  align-items: center;
  color: #007E94;
  display: inline-flex;
  font-size: 2rem;
  justify-content: center;
  width: 70px;
}

.accordion__toggle:hover,
.accordion__toggle:focus,
.accordion__header.active .accordion__toggle {
  background: #dcdcdc;
}

.accordion__content {
  border: 1px solid #999999;
  font-size: 17px;
  padding: 30px 1.4rem;
}

.accordion__content a:hover {
  text-decoration: underline;
}

.page-builder-item {
  margin-bottom: 4rem;
}


/* Page Builder */

.rgroup-img-holder.page-builder-item{
  margin-bottom: 0;
}

/* Enabling 16:9 apsect ratio with responsive video */
.page-builder-item .accordion__content .video-container {
    width: 70%;
}

.page-builder-item .accordion__content .video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

.page-builder-item .accordion__content .video-wrapper iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Front-end editor */

.page-builder .element {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.custom-remove-btn {
  margin-left: 2rem;
}

.page-builder .acf-actions {
  text-align: left;
}

.page-builder .acf-fields.-left >.acf-field:before {
  content: none;
}

.acf-field.page-builder-content-section select {
  border: 1px solid #ccd0d4;
}

.acf-field.page-builder-text-title input,
.acf-field.page-builder-image-caption input,
.acf-field.page-builder-accordion-title input {
  border: 1px solid #ccd0d4;
}

.acf-fields > .acf-field.acf-field-wysiwyg {
  border-top: none;
}

.page-builder-instruction-link {
  display: block;
}

/* Hide meta-info fields from media library pop-up when acf-image field (with custom alt-text and caption fields) is in use. */
.acf-media-modal .media-sidebar .setting,
.acf-media-modal .media-sidebar .description,
.acf-media-modal .media-sidebar .compat-item,
.acf-media-modal .attachment-details .setting {
  display: none !important;
}
