/*
Theme Name: Domarbloggen
Text Domain: domarbloggen
Version: 1.01
Author: Sogeti
Author URI: https://sogeti.se/
*/

/* GLOBAL CSS START */

body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 {
  color: #1c2066;
}
.box-shadow {
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05);
  transition-duration: 100ms;
}
.box-shadow:hover {
  transition-duration: 100ms;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.page-header {
  width: 100%;
}

.dropdown-menu a,
.dropdown-menu a:active,
.dropdown-menu a:hover {
  color: #000;
}

#menu-meny .dropdown-menu {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.header-intro {
  padding: 15px 0;
  background: #1c1f66;
  position: relative;
}
.header-intro-logo {
  display: flex;
  padding: 25px 0 10px 0;
  align-items: center;
  justify-content: center;
}
.header-intro-logo img {
  height: 60px;
  width: auto;
  float: right;
  z-index: 1;
}
.welcome {
  color: #fff;
  padding: 25px 0;
  font-size: 1.1rem;
  font-weight: 400;
  white-space: pre-line;
}
/*
.header-intro svg {
  height: 5rem;
  width: 100%;
  position: absolute;
  bottom: 0;
}
*/
/* GLOBAL CSS END */

/* MAIN CONTENT WRAPPER START */
#content {
  min-height: 100vh;
  margin-top: 20px;
}

/* MAIN CONTENT WRAPPER ENDING */

/* NAVIGATION START */
.dv_nav {
  background: #15174d;
  color: #fff;
}

.nav-link,
.nav-link:active,
.nav-link:hover {
  color: #fff;
}
.dv_brand,
.dv_brand:active,
.dv_brand:hover {
  color: #ffff;
}
.tag-cloud-link {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  border: 0;
  text-transform: lowercase;
}

.dropdown-tags {
  padding-top: 0px;
}

.dropdown-tags-topic {
  border-bottom: 1px solid rgb(214, 215, 217, 0.5);
  padding: 0.25rem 1.5rem;
}
.tag-cloud-link::first-letter {
  text-transform: uppercase;
}

.dv_brand {
  text-transform: uppercase;
}

.dropdown-toggle::after {
  content: none;
}

.dropdown .dropdown-menu {
  margin: 0px;
}
/* NAVIGATION ENDING */

/* MENU SEARCH BUTTON AND DROPDOWN START */

.search-dropdown {
  margin-left: 10px;
}

.search-dropdown.show .dropdown-menu {
  transition: all 10s;
  transform-origin: top;
}
.search-dropdown .dropdown-menu,
.responsive-search-dropdown .dropdown-menu {
  padding-left: 5px;
  width: 300px;
  left: -265px;
  top: 57px;
  z-index: 50;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.search-dropdown .dropdown-menu input[type="text"],
.responsive-search-dropdown .dropdown-menu input[type="text"],
.dropdown-mail .es_subscription_form input[type="email"] {
  border: none;
  border-right: 1px solid rgb(214, 215, 217, 0.5);
  flex: 1;
}
.search-dropdown .dropdown-menu input[type="submit"],
.responsive-search-dropdown .dropdown-menu input[type="submit"],
.dropdown-mail .es_subscription_form input[type="submit"] {
  border: none;
  background: none;
  text-transform: uppercase;
}

.search-dropdown .dropdown-menu input:focus,
.responsive-search-dropdown .dropdown-menu input:focus,
.dropdown-mail .es_subscription_form input:focus,
.navbar-toggler:focus {
  border-color: none;
  box-shadow: 0 none;
  outline: 0 none;
}
.search-dropdown .dropdown-menu .screen-reader-text,
.responsive-search-dropdown .dropdown-menu .screen-reader-text {
  display: none;
}
.search-dropdown .dropdown-menu .searchform > div,
.responsive-search-dropdown .dropdown-menu .searchform > div {
  display: flex;
}

.search-dropdown .nav-link {
  font-size: 1.05em;
}

.responsive-search-dropdown .nav-link {
  font-size: 1.5em;
}

/* MENU SEARCH BUTTON AND DROPDOWN ENDING */

/* ARTICLE PREVIEW CARD START */
.card {
  border-radius: 5px;
  padding: 0;
  margin: 15px 0;
}

.card a,
.card a:active,
.card a:hover {
  text-decoration: none;
  color: #000;
}

.card-author-wrapper {
  display: flex;
  justify-content: space-between;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  font-size: 0.8em;
}

.card-author a,
.card-author a:active,
.card-author a:hover {
  text-decoration: underline;
}

/* CARD IMAGE PLACE WRAPPER */
.card-img {
  height: 193px;
  position: relative;
}
/* CARD IMAGE */
.card img {
  width: 100%;
  height: 100%;
  align-self: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  object-fit: cover;
}

.card h2 {
  font-size: 24px;
  font-weight: 600;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
}

.related h2 {
  font-size: 1em;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	row-gap: 5px;
}

.card-tag span {
  background: #f1f1f1;
  color: #1c2066;
  padding: 3px 5px;
  border-radius: 5px;
  margin-right: 5px;
  font-size: 0.8em;
}

.card-tag,
.card-tag:active,
.card-tag:hover {
  color: #1c2066 !important;
}
.card-tag:hover {
  text-decoration: underline !important;
}

.article-card-tag span {
  background: #f1f1f1;
  color: #1c2066;
  padding: 3px 5px;
  border-radius: 5px;
  margin-right: 5px;
  font-size: 0.8em;
}
.article-title {
  color: #1c1f66;
}

.article-card-tag,
.article-card-tag:active,
.article-card-tag:hover {
  color: #1c2066;
}

.article-content {
  margin-top: 15px;
}

.article-content p,
.article-content h2,
.article-content h1,
.article-content h3,
.article-content ul,
.article-content ol {
  max-width: 600px;
}

.article-content pre {
	text-wrap: auto;
}

.social-share {
  display: flex;
  justify-content: flex-end;
}

.social-share .buttons {
}
/* CARD IMAGE TITLE AND EXCERPT WRAPPER */
.card-body {
  padding: 5px;
}
.card-body p {
  margin-bottom: 0px;
  margin-top: 10px;
  font-size: 1em;
}
.related .card-body p {
  font-size: 0.9em;
}
.card-body h2 {
  color: #15174d;
}
/* STANDARD ARTICLE HEIGHT */

#related h4 {
  margin-bottom: 15px;
}

.related .card-img {
  height: 120px;
}
/* ARTICLE PREVIEW CARD ENDING */

.article-img img {
  margin-top: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* ARTICLE AUTHOR START */

.article-author-top-wrapper {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  border-bottom: 1px solid rgb(214, 215, 217, 0.5);
  padding: 10px 0;
  margin-bottom: 10px;
}

.article-author-bottom-wrapper {
  border-top: 1px solid rgb(214, 215, 217, 0.5);
  border-bottom: 1px solid rgb(214, 215, 217, 0.5);
  padding: 20px 0;
  display: flex;
  align-items: center;
  margin: 20px 0;
}
.article-author-bottom-wrapper .author-avatar {
  border-radius: 50%;
  width: 100px;
  margin-right: 15px;
}
.article-author-bottom-wrapper .article-author-name-wrapper {
  flex-direction: column;
}
.article-author-bottom-wrapper .article-author-name {
}
.article-author-bottom-wrapper .article-author-location {
  font-size: 1rem;
}
.article-author-bottom-wrapper .article-date {
  font-size: 1rem;
  margin-top: 10px;
}
.fp-tag {
  background: #15174d;
  color: #fff;
  font-size: 0.7em;
  padding: 5px;
  width: 155px;
  right: 0;
  text-align: center;
  line-height: 1;
  transform: rotate(45deg);
  margin-top: 30px;
  margin-right: -34px;
  position: absolute;
}
.fp-tag:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 45px;
  top: -8px;
  right: 123px;
  background: rgba(255, 255, 255);
  transform-origin: 54% 0;
  transform: rotate(45deg);
  z-index: -1;
}
.fp-tag:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 26px;
  top: -4px;
  right: -26px;
  background: rgba(255, 255, 255);
  transform-origin: 54% 0;
  transform: rotate(45deg);
  z-index: -1;
}

.fp-post-tag span {
  background: #15174d;
  color: #fff;
}

/* ARTICLE AUTHOR END */

/* FOOTER START */

footer {
  background: #15174d;
  padding: 50px 0;
  color: #fff;
}

footer a,
footer a:active,
footer a:hover {
  color: #fff;
  text-decoration: none;
}

.site-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: top;
  height: 100%;
}

.site-info ul {
  list-style: none;
  padding-left: 0px;
}

.site-info ul li {
  padding: 0.3rem 0;
  font-size: 14px;
}

.site-info .footer-menu a,
.site-info .footer-menu a:active {
  text-decoration: none;
}
.site-info .footer-menu a:hover {
  text-decoration: underline;
  -webkit-text-decoration-color: rgba(255, 255, 255, 0.3);
  text-decoration-color: rgba(255, 255, 255, 0.3);
}
footer h2 {
  font-size: 15px;
  line-height: 2.6rem;
}

.footer-navigation-header {
  text-transform: uppercase;
  font-weight: 600;
}

.footer_logo {
  width: 20%;
}
.footer_logo img {
  max-width: 100%;
  height: auto;
}
.navbar {
  padding: 0rem 1rem;
}

.navbar-nav {
  font-size: 1.1rem;
  text-transform: uppercase;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: #15184d;
}

/* FOOTER END */

/* SEARCH FORM */

.content .searchform label {
  display: none;
}
.content .searchform {
}
.content .searchform input[type="submit"] {
  border: none;
}

/* SEARCH FORM ENDING */

/* RESPONSIVE CSS START */
.responsive-search-dropdown {
  display: none;
}

.responsive-menu-top {
  display: none;
}

@media only screen and (max-width: 600px) {
  footer {
    height: auto;
    padding-top: 15px;
  }
  .footer_logo {
    width: 100%;
  }
  .footer-navigation-social,
  .footer-navigation-contact,
  .footer-navigation-about {
    margin-top: 15px;
  }

  footer .menu-item a,
  footer .menu-item a:active,
  footer .menu-item a:hover {
    color: #fff;
    padding: 10px 0;
  }
  .navbar-collapse .menu-item a,
  .navbar-collapse .menu-item a:active,
  .navbar-collapse .menu-item a:hover {
    color: #000;
    padding: 10px 0;
  }

  .navbar-collapse .dropdown-menu {
    border: none;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background: none;
    color: #000;
  }
}

@media only screen and (max-width: 992px) {
  .responsive-menu-top {
    display: flex;
    height: 50px;
    justify-content: space-between;
    align-items: center;
    /*border-bottom: 1px solid rgb(214, 215, 217, 0.5);*/
  } /*
  .responsive-menu-label {
    color: #000;
    font-size: 1.5em;
    margin-left: 15px;
  }*/
  .close-responsive-menu {
    font-size: 1em;
    border: transparent;
    background: transparent;
  }
  #navbarNavDropdown {
    background: #fff;
    position: fixed;
    width: 75%;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    box-shadow: 10px 0px 30px rgba(0, 0, 0, 0.5);
  }
  #navbarNavDropdown .search-dropdown {
    display: none;
  }
  .responsive-search-dropdown {
    display: block;
    position: static;
  }
  .responsive-search-dropdown .dropdown-menu {
    position: absolute;
    width: 100vw;
    height: 60px;
    left: 0;
    right: 0;
    top: 49px;
    border-radius: 0px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
  .responsive-search-dropdown .dropdown-menu .searchform > div {
    height: 45px;
    align-content: center;
  }

  .menu-item {
    padding-left: 15px;
    font-size: 1rem;
  }
  footer .menu-item a,
  footer .menu-item a:active,
  footer .menu-item a:hover {
    color: #fff;
    padding: 10px 0;
  }
  .navbar-collapse .menu-item a,
  .navbar-collapse .menu-item a:active,
  .navbar-collapse .menu-item a:hover {
    color: #000;
    padding: 10px 0;
  }

  .navbar-collapse li {
    /*border-bottom:1px solid rgba(0,0,0,.125)*/
  }

  .navbar-collapse .dropdown-menu {
    border: none;
    padding-left: 15px;
    float: left;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background: none;
    color: #000;
  }
  .footer-navigation-social,
  .footer-navigation-contact,
  .footer-navigation-about {
    margin-top: 15px;
  }

  #navbarNavDropdown.collapsing {
    left: -75%;
    transition: height 0s ease;
  }

  #navbarNavDropdown.show {
    left: 0;
    transition: left 300ms ease-in-out;
  }

  .navbar-toggler.collapsed ~ #navbarNavDropdown {
    transition: left 300ms ease-in-out;
  }

  .logged-in.admin-bar #navbarNavDropdown {
    top: 45px;
  }

  .dropdown-tags-topic {
    padding: 0.25rem 0;
  }

  .dropdown-mail .es_subscription_form input[type="email"] {
    border-right: none;
    border-bottom: 1px solid rgb(214, 215, 217, 0.5);
  }
}
@media only screen and (min-width: 993px) {
  .nav-link {
    padding: 1rem 1rem;
  }
  .article-author-bottom-wrapper,
  .article-content .social-share {
    width: 888px;
  }
}

/* REPONSIVE CSS END */

.tag-cloud-link {
  float: left;
  width: 100%;
}

.wp-post-image {
  max-width: 100%;
  height: auto;
}

.dropdown-mail {
  left: -85px;
  padding: 15px;
  text-transform: initial;
}

.dropdown-mail .gdpr {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.emaillist span.es_subscription_message {
  text-transform: none;
}

.dropdown-mail.show .es_subscription_form.es_shortcode_form {
  display: flex;
  flex-wrap: nowrap;
}

.es-field-wrap,
.es-field-wrap label {
  margin-bottom: 0;
}

.pagination {
  margin-top: 25px;
  margin-bottom: 50px;
}
.pagination .page-link,
.pagination .page-link:active,
.pagination .page-link:hover {
  color: #000;
}
