/* Base */
.page-content {
  font-size: 1em;
}

.page-content>h2:first-child,
.page-content>h3:first-child {
  margin-top: 0;
}


/* h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
} */

a.dropdown-item {
  border: transparent;
}

.article-details-published,
.homepage-issue-published,
.issue-summary-date,
.page-issue-date {
  display: none;
}

.article-summary-doi {
  display: none;
}

.article-summary-doi-mv {
  margin-top: 15px;
}

.article-summary {
  margin-bottom: 10px;
}

.article-summary-galleys {
  margin-top: 10px;
  margin-bottom: 20px;
}

.content p:last-child {
  box-sizing: border-box;
  color: rgba(0, 0, 0, 0.87);
  display: block;
  font-size: 14px;
  height: 0;
  line-height: 25px;
  margin-block-start: 14px;
  margin-bottom: 0;
  margin-inline-end: 0;
  margin-inline-start: 0;
  text-align: justify;
  text-size-adjust: 100%;
  width: 64px;
}



.col-md-3.col-lg-2 {
  margin: auto;
}


.row .year-in-archive {
  font-size: 22px;
}

.card {
  align-items: center;
}
.card-body {
  text-align: center;
}

.years-list-tab {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  font-size: 22px;
  cursor: pointer;
  padding-top: 30px;
}

.year-tab {
  padding: 2px 7px;
}

.page-header.page-archives-header {
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.year-tab.active {
  color: #408fd1;
  box-shadow: 0 -5px 0 -2px #408fd1;
}

.year-tab:hover {
  color: rgba(64, 143, 209, 0.5);
  box-shadow: 0 -5px 0 -2px rgba(64, 143, 209, 0.5);
}

.navbar-logo img {
  max-height: initial;
  max-width: 160px;
}

img {
  //will-change: transform;
  image-rendering: -webkit-optimize-contrast;
}

.navbar-logo {
  padding-bottom: 54px;
}

.page-header.page-archives-header {
  margin-top: 25px;
}

.article-details-how-to-cite .dropdown-toggle {
  white-space: normal;
}

.issue-toc-section + .issue-toc-section {
  border-top: 1px solid #ccc;
}

.container.page-archives {
  margin-top: 50px;
}

.icon_pdf_mv {
  width: 20px;
  margin-bottom: 0.25em;
  margin-right: 0.25em;
}

.homepage-issue-galleys a.btn {
  padding-left: 13px;
}

.row.justify-content-center.homepage-issue-header {
  margin-right: 0;
  padding-top: 1em;
}

.row.justify-content-center.homepage-issue-header .homepage-issue-cover {
  margin-top: -25px;
}

.col-lg-3 {
  padding-left: 10px;
}

.dropdown-toggle::after {
  border-top-color: #408fd1;
}

.badge-light {
  background-color: #f8f9fa;
}

#primaryNav .dropdown-menu.show,
.container.page-issue .page-issue-description-wrapper,
.dropdown-menu.show,
.homepage-issue-description-wrapper {
  border-radius: 10px;
}


button#languageToggleMenulanguageLargeNav,
button#languageToggleMenulanguageSmallNav {
  color: #333;
  border: none;
  background-color: transparent;
}

button#languageToggleMenulanguageLargeNav:hover,
button#languageToggleMenulanguageLargeNav:active,
button#languageToggleMenulanguageLargeNav:focus,
button#languageToggleMenulanguageSmallNav:hover,
button#languageToggleMenulanguageSmallNav:active,
button#languageToggleMenulanguageSmallNav:focus {
  border: none;
  background-color: transparent;
  color: #333;
  box-shadow: none;
}

#languageSmallNav .dropdown-item:hover,
#languageSmallNav .dropdown-item:focus {
  color: #333;
  background: initial;
}

#languageLargeNav .dropdown-item:focus,
#userNav .dropdown-item:focus {
  background: initial;
}


#primaryNav .dropdown-menu.show,
.dropdown-menu.show {
  background-color: rgb(64, 143, 209, 0.75);
}

#primaryNav .dropdown-item:hover,
#userNav .dropdown-item:hover,
.language-toggle .dropdown-item:hover,
a.dropdown-item:hover {
  color: #333;
  background-color: transparent;
  border: none;
}

#primaryNav .dropdown-item:focus {
  color: #408fd1;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  border: none;
}

#primaryNav .nav-link:focus {
  color: inherit;
  background: inherit;
}

#primaryNav .nav-link:hover,
a#homepageDescriptionLess,
a#homepageDescriptionMore {
  color: #408fd1;
  background-color: transparent;
}

#primaryNav .nav-link:active {
  color: rgba(64, 143, 209, 0.5);
}

#primaryNav .dropdown-item {
  color: #fff;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: #408fd1;
  background: inherit;
}

.article-summary-title a:hover {
  text-decoration: none;
  color: #408fd1;
}

.article-summary-title a:active {
  color: rgba(64, 143, 209, 0.5);
}

.homepage-image-behind-issue:after {
  content: none;
}

/*
.h1.homepage-issue-identifier,
h2.h5.homepage-issue-current {
  font-size: 1.5em;
}
*/

.mv-data-wrapper {
  background-color: rgba(254, 249, 239, 0.55);
  border-radius: 10px;
  text-align: center;
  justify-content: center;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.mv-data-wrapper .homepage-issue-current,
.mv-data-wrapper .homepage-issue-identifier,
.mv-data-wrapper .homepage-issue-published {
  padding: 0 5px;
  font-family: Fira Sans, sans-serif;
}

.homepage-image-behind-issue + .container-homepage-issue .homepage-issue-current,
.homepage-image-behind-issue + .container-homepage-issue .homepage-issue-identifier,
.homepage-image-behind-issue + .container-homepage-issue .homepage-issue-published {
  color: #333;
  text-shadow: none;
  margin-top: 1rem;
}

.homepage-issue-description-wrapper {
  background: #fef9ef;
}

.homepage-issue-description-wrapper,
.page-issue-description-wrapper {
  box-shadow: 4px 7px 13px 0 rgba(0, 0, 0, 0.3);
}

.homepage-issue-description-wrapper {
  padding: 35px 40px 30px 40px;
}

.homepage-issue-galleys {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #fef9ef;
  padding: 1rem;
}

.homepage-issue-galleys .h3,
.homepage-issue-galleys a.btn {
  margin-bottom: 0;
}

/* .homepage-issue-description:after {
  display: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0), @light-grey 20%);
} */

.icon-pdf {
  margin-right: 10px;
}

a {
  text-decoration: none;
}

.btn,
.btn-primary {
  color: #fef9ef;
  background-color: #408fd1;
  display: inline-block;
  border: 1px solid #408fd1;
  border-radius: 10px;
}

.btn:hover, .btn:active,
.btn-primary:hover, .btn-primary:active,
.btn:focus, .btn-primary:focus {
    color: #fef9ef;
    border-color: #10beca;
    text-decoration: none;
    background-color: #408fd1;
    box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.3);
}

/* 
.btn:focus,
.btn-primary:focus {
    box-shadow: none;
    color: #fef9ef;
    background-color: #408fd1;
    
} */

.btn-primary:not(:disabled):not(.disabled):active,
a.btn.btn-primary:active {
  background-color: #408fd1;
  color: #fef9ef;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
img.img-fluid.page-issue-cover {
  box-shadow: none;
}

/* Main */

#userNav li {
  padding: 0 0.5em;
}

#userNav .nav-item.nmi_type_user_register {
  display: none;
}

.homepage-issue-description,
.page-issue-description,
.article-details-abstract {
  text-align: justify;
}

.site-footer-sidebar {
  padding: 0;
  margin: 0;
  border: none;
}

.alert-info {
  background: #408fd1;
  color: #fff;
  border-color: #408fd1;
  border-radius: 10px;
}

.page-content p:first-child {
  margin-top: 0;
}


.homepage-additional-content .col-lg-9 {
  padding: 15px;
  flex: 0 0 100%;
  max-width: 100%;
}

.homepage-additional-content {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/*
.page-issue-description-wrapper .page-issue-galleys {
  display: flex;
  justify-content: space-between;
}
*/

.page-archives-header {
  margin-bottom: 2rem;
}

.page-issue-doi {
  display: none;
}

.homepage-journal-description.long-text,
.homepage-issue-description {
  max-height: none;
}

.homepage-issue-description-wrapper ul {
  margin-bottom: 2rem;
}

.homepage-issue-description-more {
  position: relative;
  bottom: 0;
}

.page-custom table.baltic {
  margin-top: -48px;
  border: 0;
  width: 100%;
}

.page-custom table.baltic tr {
  border-bottom: 1px solid #ccc;
}
.page-custom table.baltic td {
  padding-top: 48px;
  vertical-align: top;
}

.page-custom table.baltic td p:first-child{
  margin-top: 6px;
}

.page-custom table.mv-table {
  border: none; 
  margin-top: 24px;
  margin-bottom: 16px;
}
 
.page-custom table.mv-table td {
  padding-top: 5px;
  padding-bottom: 5px;
  vertical-align: top;
}

.page-custom table.mv-table td:first-child{
  padding-right: 20px;
}

.page-custom table.mv-table td:not(:first-child) {
  padding-left: 20px; 
}

.page-custom table.mv-table.tab-border td:first-child {
  border-right: 1px solid #ccc; 
}

.page-custom div.map iframe {
  border: 0;
  width: calc(100vw - 9px);
  height: 400px;
  margin: 0 calc(50% - 50vw);
  display: block;
}

.page-issue img.page-issue-cover,
.article-details-sidebar .article-details-cover {
  max-width: 250px;
  max-height: 350px;
}

.issue-summary .card-body {
  padding-top: 10px;
}

.issue-toc-section-title {
  font-size: 22px;
}

.page-site .site-about {
  text-align: justify;
}

.page-site .site-about p:first-child{
  text-align: center;
  font-weight: bold;
}

/* 
.page-site .site-about::first-line {
  text-align: center;
}
 */

.pdf-return-article .btn:hover {
  box-shadow: none;
}

#cslCitationFormatsButton:after {
  border-top-color: #fef9ef;
}

div.article-footer-hook {
  max-width: 75%;
  margin-right: auto;
}

.page_baltic nav.navbar {
  display: none;
}
/* 
div.map {
  display: none;
}
 */

h3.quote_header {
  padding-top: 3rem;
  border-top: 1px solid #ccc;
}

#carouselQuotes .carousel-item {
  min-height: 243px;
}

#carouselQuotes .carousel-item .rev {
  padding: 20px 100px;
  font-style: italic;
}

#carouselQuotes .carousel-item .rev .name{
  font-weight: bold;
  margin-bottom: 3px;
}

#carouselQuotes .carousel-item .rev blockquote{
  position: relative;
  padding-left: 50px;
}


#carouselQuotes .carousel-item .rev blockquote:before { 
  content: "\201C";
  font-weight: bold;
  font-size: 5rem;
  color: #ccc;
  position: absolute; 
  top: -1rem;
  left: 0; 
} 
/* 
#carouselQuotes .carousel-item .rev blockquote:after { 
  content: "\201D";
  font-weight: bold;
  font-size: 5rem;
  color: #ccc;
  position: absolute; 
  bottom: 0.1rem;
  right: 0; 
}
 */

#carouselQuotes .carousel-control-prev,
#carouselQuotes .carousel-control-next {
  filter: invert(100%);
  width: 7%;
}

#carouselCoop {
  max-width: 940px;
  margin: 0 auto;
}

#carouselCoop .carousel-inner > .carousel-item > img {
  width: auto;
  /* height: 360px; */
  margin: auto;
  max-width: 100%;
}

#carouselCoop > .carousel-control-prev,
#carouselCoop > .carousel-control-next {
  filter: invert(100%);
}

/* 
.page-site .page-content {
  border-bottom: none;
  padding-bottom: 0;
}
 */

.hometitle {
  margin-top: 0 !important;
  text-align: center;
  font-weight: bold;
}






/* Statistics */


.stattitle {
  text-align: center;
  font-weight: bold;
}

.statwrap {
  margin-top: 20px;
  /* margin-bottom: 50px; */
  padding: 20px 10px;
  border-radius: 20px;
  box-shadow: 4px 4px 9px 0 rgba(75, 74, 74, 0.3);
}

 .stat {
  display: flex;
  justify-content: space-between;
}

 .stat .statblock:not(:last-child) {
  border-right: 1px solid #999;
}

 .statblock {
  flex: 1;
  padding: 1rem;
  text-align: center;
}

 .statblock .number{
  font-size: 2rem;
  font-weight: bold;
  padding-bottom: 10px;
}

 .statblock .text{
  line-height: 1.2;
}









/* Homepage */


.homepage-image {
  overflow: hidden;
}


@media (min-width: 1200px) {
  .homepage-image img {
    width: auto;
    height: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .page_index footer {
    margin-top: 64px;
  }

  .homepage-issue-header {
    align-items: center;
  }

  .homepage-issue-header .col-lg-3:first-child {
    margin-top: 10px;
  }

  .homepage-issue-cover {
    margin-bottom: 0;
  }
}

@media (min-width: 2140px) {
  .homepage-image img {
    width: 100%;
    height: auto;
  }
}

/* Social */

.site-footer-main .soc-icons {
  display: flex;
  flex-direction: column;
  align-content: space-between;
  text-align: left;
}

#messengers {
  text-align: left;
  margin-bottom: auto;
}

#network {
  /* margin-bottom: auto; */
  margin-top: 24px;
}

#messengers .social-list {
  margin-left: -24px;
}

#network .social-list {
  margin-left: -24px;
}

.social p {
  margin-bottom: 0;
}

.site-footer-content {
  display: flex;
  flex-direction: column;
  align-content: space-between;
}

.site-footer-content p:not(:first-child) {
  margin-bottom: 0;
}

ul.social-list {
  background-color: #333;
  border-radius: 5px;
  display: inline-block;
  padding: 4px 10px;
  margin: 0;
  overflow: hidden;
}

ul.social-list li {
  display: inline-block;
}

ul.social-list li a i.fab {
  padding: 5px;
  display: inline-block;
  border: 1px solid transparent;
  color: #ccc;
  height: 30px;
  width: 30px;
  border-radius: 50px;
  margin: 5px;
  text-align: center;
  line-height: 30px;
  position: relative;
  z-index: 2;
}

ul.social-list li a i.fab {
  box-sizing: content-box;
  font-size: 1.5rem;
}

ul.social-list li a i.fab::after {
  content: "";
  height: 0%;
  width: 0%;
  position: absolute;
  top: -500%;
  bottom: -500%;
  left: -500%;
  right: -500%;
  margin: auto;
  border: 0px solid transparent;
  border-radius: 200px;
  opacity: 0;
  z-index: -1;
  transition: all ease 0.5s;
}

ul.social-list li a:hover i.fab::before {
  color: #fff;
}

ul.social-list li a:hover i.fa-facebook-f::after {
  height: 200%;
  width: 200%;
  background-color: #3b5998;
  border-radius: 0px;
  opacity: 1;
}

ul.social-list li a:hover i.fa-twitter::after {
  height: 200%;
  width: 200%;
  background-color: #1dcaff;
  border-radius: 0px;
  opacity: 1;
}

ul.social-list li a:hover i.fa-instagram::after {
  height: 200%;
  width: 200%;
  background-color: #8a3ab9;
  border-radius: 0px;
  opacity: 1;
}

ul.social-list li a:hover i.fa-viber::after {
  height: 200%;
  width: 200%;
  background-color: #665CAC;
  border-radius: 0px;
  opacity: 1;
}

ul.social-list li a:hover i.fa-skype::after {
  height: 200%;
  width: 200%;
  background-color: #00aff0;
  border-radius: 0px;
  opacity: 1;
}

ul.social-list li a:hover i.fa-facebook-messenger::after {
  height: 200%;
  width: 200%;
  background-color: #0078FF;
  border-radius: 0px;
  opacity: 1;
}

ul.social-list li a:hover i.fa-telegram::after {
  height: 200%;
  width: 200%;
  background-color: #0088cc;
  border-radius: 0px;
  opacity: 1;
}

ul.social-list li a:hover i.fa-whatsapp::after {
  height: 200%;
  width: 200%;
  background-color: #25D366;
  border-radius: 0px;
  opacity: 1;
}

.footer-brand {
  margin-top: auto;
}

.sp-form {
  color: inherit !important;
  font: inherit !important;
  padding-top: 0 !important;
}

.sp-form h3,
.sp-form .sp-field>.sp-control-label>span+strong {
  display: none;
}

.sp-form input,
.sp-form input::placeholder {
  color: #333 !important;
}

/* .sp-form input {
  background-color: #333 !important;
}

.sp-form input:focus {
  outline: none;
  border: none !important;
  box-shadow: 0 0 5pt 1pt #fff;
} */



.sp-button {
  font: inherit !important;
}

.sp-button:hover,
.sp-button:active,
.sp-button:focus {
  top: initial !important;
  opacity: initial !important;
  box-shadow: 4px 4px 9px 0 rgb(255 255 255 / 30%) !important;
}

.sp-message-error p > a {
  display: none;
}

.sp-message,
.sp-message div,
.sp-message p {
  
  background-color: #333 !important;
  color: #fff !important;
  border: none !important;
}

input:focus::placeholder {
  color: transparent !important;
}



/* Media */

@media (min-width: 2000px) {

  #homepageDescription {
    padding-top: 50px;
  }

}

@media (min-width: 1200px) {

  .homepage-issue-cover {
    max-width: 270px;
    max-height: 370px;
  }

}

@media (min-width: 992px){

  .site-footer {
      padding-top: 3rem;
      padding-bottom: 3rem;
  }

  .page-issue img.page-issue-cover,
  .article-details-sidebar .article-details-cover {
    margin-top: -23px;
  }

  /* Home button */
  #primaryNav  > li:nth-child(1) a {
    font-size:0;
  }

  #primaryNav  > li:nth-child(1) a:before  { 
      display: inline-block; 
      content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px'%0AviewBox='0 0 32 32'%3E%3Cpath d='M 16 2.59375 L 15.28125 3.28125 L 2.28125 16.28125 L 3.71875 17.71875 L 5 16.4375 L 5 28 L 14 28 L 14 18 L 18 18 L 18 28 L 27 28 L 27 16.4375 L 28.28125 17.71875 L 29.71875 16.28125 L 16.71875 3.28125 Z M 16 5.4375 L 25 14.4375 L 25 26 L 20 26 L 20 16 L 12 16 L 12 26 L 7 26 L 7 14.4375 Z'%3E%3C/path%3E%3C/svg%3E");
      width: 18px; 
      height: 18px;
      vertical-align: middle;
  }

}

@media (max-width: 991px) {

  .homepage-issue-description-wrapper {
    margin-bottom: 2em;
  }

  .page-issue-description-wrapper {
    padding: 20px;
    background-color: #fef9ef;
  }

  .statwrap {
    padding: 10px 20px;
  }

  .stat {
    flex-direction: column;
  }

  .stat .statblock:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #999;
  }

}
/* 
@media (min-width: 768px) and (max-width: 991px) {



} */



@media (max-width: 768px) {

  .site-footer-main {
    max-width: 100%;
    padding: 0 20px;
  }

  .sp-form {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  .sp-form-fields-wrapper {
    margin-left: 0 !important;
  }
  
  .sp-field {
    padding-left: 0 !important;
  }
}

@media (min-width: 768px) {
  .col-md-8 {
      -ms-flex: 0 0 85.089%;
      flex: 0 0 85.089%;
      max-width: 85.089%;
  }

  .site-footer-main .soc-icons {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: right;
  }

  #network .social-list {
    /* text-align: right; */
    margin-right: -24px;
  }

  .sp-form {
    margin-right: 0 !important;
    padding-right: 0 !important;
    border-right: 0 !important;
  }

  .sp-element-container {
    width: 255px !important;
    margin-left: auto;
  }

  .sp-form-fields-wrapper {
    margin-right: 0 !important;
  }

  .sp-field {
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }

  .sp-field .sp-control-label {
    text-align: right;
    margin-left: auto;
  }

  .sp-field input {
    text-align: right;
  }

  .sp-field.sp-button-container {
    margin-left: auto;
  }
  
  .sp-field.sp-button-container {
    padding-right: 0 !important;
  }

}

@media (min-width: 1100px) {
  .scrollup {
    width: 50px;
    height: 50px;
    opacity: 0.4;
    position: fixed;
    display:none;
    bottom: 100px;
    right: 30px;
    text-indent: -9999px;
    z-index: 999;
    background: url(/public/site/images/arrow-up.png) no-repeat;
  }
}



