@charset "UTF-8";

/***************/
/* base styles */
/***************/

* {
  box-sizing: border-box;
}

body {
  background-color: #fff;
  color: black;
  font-family: Avenir, sans-serif;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: black;
  font-weight: normal;
}

h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

h2 {
  font-size: 26px;
  line-height: 1.25;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 18px;
}

a {
  color: #3bf;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: underline;
}

input,
textarea {
  color: #000;
  font-size: 14px;
}

input {
  font-weight: 300;
  max-width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border 0.12s ease-in-out;
}

input:focus {
  border: 1px solid #33bbff;
}

textarea {
  border: 1px solid #ddd;
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px;
}

textarea:focus {
  border: 1px solid #33bbff;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-divider {
  border-top: 1px solid #ddd;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.error-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1140px) {
  .error-page {
    padding: 0;
    width: 90%;
  }
}

.m-c {
  margin: 0 0 0 0;
}

.m-t-80 {
  margin-top: 80px;
}

.m-b-20 {
  margin-bottom: 20px;
}

.m-b-50 {
  margin-bottom: 50px;
}

.m-b-60 {
  margin-bottom: 60px;
}

.p-t-30 {
  padding-top: 30px;
}

.p-t-40 {
  padding-top: 40px;
}

.p-b-30 {
  padding-bottom: 30px;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

@media (min-width: 768px) {
  .hidden-sm {
    display: none;
  }
}

@media (max-width: 768px) {
  .hidden-xs {
    display: none;
  }
}

.bg-white {
  background-color: white;
}

.bg-grey {
  background-color: #edf0f2;
}

/***************/
/* form styles */
/***************/

.form {
  max-width: 650px;
}

.form-field ~ .form-field {
  margin-top: 25px;
}

.form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-field input {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}

.form-field input:focus {
  border: 1px solid #33bbff;
}

.form-field input[type="text"] {
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-field input[type="text"]:focus {
  border: 1px solid #33bbff;
}

.form-field textarea {
  vertical-align: middle;
}

.form-field.required > label::after {
  content: "*";
  color: #f00;
  margin-left: 2px;
}

.form-field p {
  color: #333;
  font-size: 12px;
  margin: 5px 0;
}

.form footer {
  margin-top: 40px;
  padding-top: 30px;
}

.form footer a {
  color: #333;
  cursor: pointer;
  margin-right: 15px;
}

.form .suggestion-list {
  font-size: 13px;
  margin-top: 30px;
}

.form .suggestion-list label {
  border-bottom: 1px solid #ddd;
  display: block;
  padding-bottom: 5px;
}

.form .suggestion-list li {
  padding: 10px 0;
}

.form .suggestion-list li a:visited {
  color: #3bf;
}

/********************/
/* mailchimp styles */
/********************/

#mce-EMAIL {
  height: 36px;
  font-size: 16px;
  border-radius: 6px;
  padding: 6px 12px;
  margin-right: 10px;
  border: 1px solid black;
}

#mc-embedded-subscribe {
  background-color: #33bbff;
  color: white;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 16px;
  border-radius: 6px;
  min-width: auto;
  line-height: 22px;
  border: 1px solid #33bbff;
}

#mce-error-response,
#mce-success-response {
  font-size: 14px;
  font-weight: normal;
  color: #5c6066;
}

@media (max-width: 768px) {
  #mce-error-response,
  #mce-success-response {
    padding-left: 15px;
    padding-right: 15px;
  }

  #mce-EMAIL {
    width: 100%;
    margin-bottom: 10px;
  }

  #mce-error-response,
  #mce-success-response {
    margin-top: 20px;
  }
}

/******************/
/* article styles */
/******************/

.article {
  /*
  * The article grid is defined this way to optimize readability:
  * Sidebar | Content | Free space
  * 15%     | 58%     | 17%
  */
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .article {
    flex: 1 0 58%;
    max-width: 70%;
    min-width: 640px;
    padding-right: 30px;
  }
}

#article-container {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

@media (min-width: 1024px) {
  #article-container {
    flex-direction: row;
    padding-top: 40px;
  }
}

.article-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .article-header {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .article-title {
    flex-basis: 100%;
    /* Take entire row */
  }
}

.article-title {
  font-size: 36px;
  line-height: 1.25;
  color: #000000;
  margin-bottom: 0;
}

.article-title .icon-lock::before {
  content: "\1F512";
  font-size: 20px;
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.article [role="button"] {
  flex-shrink: 0;
  /*Avoid collapsing elements in Safari (https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored)*/
  width: 100%;
}

@media (min-width: 768px) {
  .article [role="button"] {
    width: auto;
  }
}

.article-info {
  max-width: 100%;
}

.article-body {
  color: #5c6066;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 16px 0;
}

.article-body img {
  height: auto;
  max-width: 100%;
}

.article-body ul,
.article-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 10px 0 20px 20px;
}

.article-body ul > ul,
.article-body ol > ol,
.article-body ol > ul,
.article-body ul > ol,
.article-body li > ul,
.article-body li > ol {
  margin-bottom: 1em;
}

.article-body ul {
  list-style-type: disc;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body a:visited {
  color: #08c;
}

.article-body > p:last-child {
  margin-bottom: 0;
}

.article-content {
  line-height: 1.6;
  word-wrap: break-word;
}

.article-attachments {
  display: none;
}

.article-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}

@media (min-width: 1024px) {
  .article-sidebar {
    border: 0;
    flex: 0 0 25%;
    height: auto;
  }
}

.article-votes {
  padding: 30px 0;
  text-align: center;
  color: black;
}

.article-vote {
  background: transparent;
  border: 1px solid #33bbff;
  color: #33bbff;
  margin: 10px 5px;
  min-width: 90px;
  width: auto;
}

.article-vote::before {
  font-size: 8px;
  margin-right: 10px;
}

.article-vote::after {
  content: attr(title);
  /* Yes/No label*/
}

.article-vote:focus,
.article-vote:active {
  background-color: transparent;
  color: #33bbff;
}

.article-vote:hover {
  background-color: #33bbff;
}

.article-vote:hover::before,
.article-vote:hover::after {
  color: #fff;
}

.article-vote-up::before {
  content: "\2713";
}

.article-vote-down::before {
  content: "\2715";
}

.article-more-questions {
  margin: 20px 0 40px;
  text-align: center;
}

.article-return-to-top {
  border-top: 1px solid #ddd;
}

@media (min-width: 1024px) {
  .article-return-to-top {
    display: none;
  }
}

.article-return-to-top a {
  color: #000;
  display: block;
  padding: 20px 0;
}

.article-return-to-top a:hover,
.article-return-to-top a:focus {
  text-decoration: none;
}

.article-return-to-top .icon-arrow-up::before {
  font-size: 16px;
  margin-left: 5px;
}

.sidenav-title {
  font-size: 20px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.4;
  letter-spacing: -0.1px;
  color: #000000;
  position: relative;
}

.sidenav-item {
  font-size: 14px;
  line-height: 1.67;
  color: #000000;
  display: block;
  background: url("/assets/help-black.svg") no-repeat 0 0;
  padding: 2px 0 10px 32px;
}

.sidenav-item.current-article,
.sidenav-item:hover {
  color: #3bf;
  text-decoration: none;
}

/*****************/
/* header styles */
/*****************/

#header {
  background-color: #262626;
}

.header {
  min-height: 51px;
  background-color: #262626;
}

@media (min-width: 768px) {
  .header {
    height: 51px;
    max-width: 750px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .header {
    max-width: 940px;
  }
}

@media (min-width: 1200px) {
  .header {
    max-width: 1140px;
  }
}

.main-nav {
  font-size: 15px;
  line-height: normal;
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: none;
  display: flex;
  justify-content: space-between;
}

.main-nav .active > a {
  color: #3bf;
}

.main-nav a:hover {
  color: #3bf;
  text-decoration: none;
}

.main-nav a {
  padding: 0 5px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .main-nav a {
    padding: 13px 17px;
  }
}

#hamburger {
  display: none;
}

.header .logo {
  text-align: center;
  float: right;
  padding: 12px 14px 12px 0;
}

@media (min-width: 768px) {
  .header .logo {
    text-align: left;
  }
}

.header .logo img {
  max-height: 37px;
  vertical-align: middle;
}

/* social-bar and logo must be equal to center main-nav */
@media (min-width: 768px) {
  .header .social-bar,
  .header .logo {
    width: 120px;
  }

  .header .logo img {
    max-height: 37px;
    vertical-align: middle;
  }
}

@media (min-width: 992px) {
  .header .social-bar,
  .header .logo {
    width: 160px;
  }
}

.social-bar {
  margin: 15px auto;
  padding: 0;
  list-style: none;
  list-style-image: none;
  display: flex;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .social-bar {
    margin: 0;
  }
}

.social-bar li a {
  display: flex;
}

@media (max-width: 768px) {
  .main-nav a {
    display: block;
    margin: 15px;
    padding: 10px 0 10px 0;
  }

  #hamburger {
    display: inline-block;
    line-height: 0;
    cursor: pointer;
    padding: 12px 10px;
  }

  .main-nav,
  header .social-bar {
    display: none;
    justify-content: space-between;
    margin: auto;
  }

  header .social-bar {
    padding: 15px 0;
    width: 160px;
  }
}

/*****************/
/* footer styles */
/*****************/

.footer {
  background-color: black;
  padding-top: 80px;
}

.footer .social-bar {
  margin: 20px auto;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 5%;
  /*display: flex;
  justify-content: space-between;*/
}

.footer-inner p {
  color: #999999;
  font-size: 12px;
}

.footer-inner p a {
  color: #999999;
  text-decoration: underline;
}

.footer-menu {
  max-width: 1140px;
  margin: 110px auto 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  font-weight: 100;
  font-size: 16px;
  line-height: 32px;
}

.footer-menu a {
  display: block;
  color: #999999;
}

@media (min-width: 768px) {
  .footer__half {
    width: 50%;
    float: left;
  }
}

.footer-nl h1 {
  color: #5c6066;
  font-size: 21pt;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 30px;
}

.footer-nl p {
  font-size: 14px;
  font-weight: normal;
  color: #5c6066;
  width: 50%;
  margin: 0 auto;
}

@media (max-width: 991px) and (min-width: 768px) {
  .footer-nl p {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .footer-nl h1 {
    text-align: center;
  }

  .footer-nl p {
    width: 100%;
    margin-top: 20px;
  }

  .footer__half,
  .footer-nl p {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer-menu {
    display: block;
  }
}

.footer .social-bar {
  padding: 0;
  width: 130px;
}

.footer .copyright {
  padding-bottom: 11px;
}

/***************/
/* home styles */
/***************/

.home-header h1 {
  margin: 0;
  line-height: 1em;
}

.home-header h3 {
  margin: 0;
  padding-top: 8px;
  font-size: 32px;
  color: #5c6066;
}

.home-header {
  padding: 20px 0;
}

.home-header img {
  max-width: 100%;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .home-header {
    padding: 50px 0;
  }

  .home-header img {
    display: block;
    max-width: 720px;
    margin: 0 auto 50px auto;
  }
}

/****************/
/* other styles */
/****************/

/***** Sub-header *****/
#subheader {
  background-color: #edf0f2;
  padding: 30px 0;
}

/***** Breadcrumbs *****/
.breadcrumbs {
  margin: 0 0 15px 0;
  padding: 0;
}

@media (min-width: 768px) {
  .breadcrumbs {
    margin: 0;
  }
}

.breadcrumbs li {
  color: #3bf;
  display: inline;
  font-size: 14px;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs li + li::before {
  content: ">";
  color: black;
  margin: 0 4px;
}

/***** Search field *****/
.search {
  position: relative;
}

.search input[type="search"] {
  border: 1px solid #ddd;
  border-radius: 30px;
  box-sizing: border-box;
  color: #999;
  height: 40px;
  padding-left: 40px;
  padding-right: 20px;
  -webkit-appearance: none;
  width: 100%;
}

.search input[type="search"]:focus {
  border: 1px solid #33bbff;
  color: #555;
}

.search::before {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  color: #ddd;
  content: "\1F50D";
  font-size: 18px;
  position: absolute;
  left: 15px;
}

.page-header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .page-header {
    align-items: baseline;
    flex-direction: row;
    margin: 0;
  }
}

.page-header h1 {
  flex-grow: 1;
}

.page-header-description {
  color: #5c6066;
  margin: 0 0 20px 0;
  word-break: break-word;
}

@media (min-width: 1024px) {
  .page-header-description {
    flex-basis: 100%;
  }
}

.page-header .icon-lock::before {
  content: "\1F512";
  font-size: 20px;
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.sub-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .sub-nav {
    align-items: baseline;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .sub-nav input[type="search"] {
    min-width: 300px;
  }
}

.sub-nav input[type="search"]::after {
  font-size: 15px;
}

/***** Homepage *****/
.section {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section {
    margin-bottom: 60px;
  }
}

.section h2 {
  margin-bottom: 10px;
  text-align: center;
}

/***** Community section in homepage *****/
.community {
  text-align: center;
}

.community {
  padding: 30px 0;
}

.section-list {
  margin-bottom: 20px;
}

.section-list-item {
  background: url("/assets/section-black.svg") no-repeat 0 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
  padding: 15px 0 0 32px;
}

.article-list-item {
  background: url("/assets/help-black.svg") no-repeat 0 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
  padding: 15px 0 0 32px;
}

.section-list-item a,
.article-list-item a {
  color: #000;
}

.icon-star::before {
  color: #33bbff;
  font-size: 18px;
}

/***** Section pages *****/
.section-container {
  padding-top: 20px;
  padding-bottom: 70px;
}

@media (min-width: 1024px) {
  .section-container {
    padding-top: 40px;
  }
}

/***** Attachments *****/
/* Styles attachments inside posts, articles and comments */
.attachments .attachment-item {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.attachments .attachment-item:last-child {
  margin-bottom: 0;
}

.attachments .attachment-item::before {
  color: #000;
  content: "\1F4CE";
  font-size: 15px;
  left: 0;
  position: absolute;
  top: 5px;
}

.upload-dropzone span {
  color: #333;
}

/***** Vote *****/
/* Used in article comments, post comments and post */
.vote {
  display: inline-block;
  text-align: center;
  width: 35px;
}

.vote a {
  outline: none;
}

.vote a:active,
.vote a:hover,
.vote a:focus {
  text-decoration: none;
}

/***** Post *****/
/*
* The post grid is defined this way:
* Content | Sidebar
* 70%     | 30%
*/
.post {
  flex: 1;
  margin-bottom: 10px;
}

@media (min-width: 1024px) {
  .post {
    flex: 1 0 70%;
    max-width: 70%;
  }
}

/* Navigation element that collapses on mobile */

/* Sidebar navigation that collapses on mobile */
.collapsible-sidebar {
  flex: 1;
  max-height: 45px;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

@media (min-width: 1024px) {
  .collapsible-sidebar {
    max-height: none;
    padding: 0;
  }
}

.collapsible-sidebar-title {
  margin-top: 0;
}

.collapsible-sidebar-title::after {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  content: "\25BE";
  position: absolute;
  right: 10px;
}

@media (min-width: 1024px) {
  .collapsible-sidebar-title::after {
    display: none;
  }
}

/***** Request *****/

.request-form textarea {
  min-height: 300px;
}

/***** Pagination *****/
.pagination {
  margin: 20px 0;
  text-align: center;
}

.pagination * {
  display: inline-block;
}

.pagination li {
  border-radius: 50%;
  height: 40px;
  float: left;
  margin-left: 5px;
  width: 40px;
}

@media (min-width: 768px) {
  .pagination li {
    height: 30px;
    width: 30px;
  }
}

.pagination li:hover:not(.pagination-current) {
  background-color: #f3f3f3;
}

.pagination li:hover:not(.pagination-current) span,
.pagination li:hover:not(.pagination-current) a {
  color: #000;
  text-decoration: none;
}

.pagination a,
.pagination span {
  font-size: 15px;
  color: #333;
  padding: 10px 12px;
}

@media (min-width: 768px) {
  .pagination a,
  .pagination span {
    font-size: 13px;
    padding: 5px 12px;
  }
}

/***** Metadata *****/
.meta-group {
  display: block;
}

.meta-group * {
  display: inline;
}

.meta-data {
  color: black;
  font-size: 13px;
  font-weight: 300;
}

.meta-data:not(:last-child)::after {
  content: "\00B7";
  margin: 0 5px;
}

/***** Icons *****/
[class^="icon-"]::before,
[class*=" icon-"]::before,
.search::before,
.article-vote::before,
.attachments .attachment-item::before,
.collapsible-sidebar-title::after,
.search-result-votes::before {
  font-family: "copenhagen-icons";
  font-style: normal;
  font-weight: normal;
  speak: none;
  line-height: 1em;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
}

.icon-lock::before {
  content: "\1F512";
}

.icon-star::before {
  content: "\2605";
}

.icon-arrow-up::before {
  content: "\2B06";
}

/* User Profiles */

/***** Search results *****/
.search-results {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .search-results {
    flex-direction: row;
  }
}

.search-results-column {
  /*flex: 1;*/
  color: #5c6066;
}

/*
@media (min-width: 1024px) {
  .search-results-column {
    flex: 0 0 45%;
  }
}

*/

.search-results-list {
  margin-bottom: 25px;
}

.search-results-list > li {
  background: url("/assets/help-black.svg") no-repeat 0 14px;
  padding: 12px 0 20px 32px;
}

/*
.search-results-list > li:first-child {
  border-top: 1px solid #ddd;
}

*/

.search-result-link {
  font-size: 18px;
}

.search-result-description {
  color: #5c6066;
  margin-top: 15px;
}

.search-result-votes {
  color: #333;
  display: inline-block;
  font-size: 13px;
  font-weight: 300;
  padding: 4px 5px;
  position: relative;
}

.search-result-votes::before {
  color: #33bbff;
}

.search-result-votes::before {
  content: "\1F44D";
}

.search-result .meta-group {
  align-items: center;
}

.search-result-breadcrumbs {
  margin: 0;
}

/*
.search-result-breadcrumbs li:last-child::after {
  content: "·";
  display: inline-block;
  margin: 0 5px;
}

*/

.search-wrap {
  max-width: 610px;
  margin: 0 auto;
  padding: 40px 10px;
}

.blocks-item-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.1px;
  color: #000000;
  margin-bottom: 0;
}

.blocks-item-title img {
  float: left;
  margin-right: 10px;
}

.blocks-item-title img.pro {
  margin-right: 4px;
}

.article-list-item a {
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}

.see-all-articles {
  margin: 24px 0 0;
}

.home-articles {
  margin: 0 auto;
  padding: 30px 15px 0 15px;
  display: grid;
  max-width: 1000px;
}

.home-articles__section {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .home-articles {
    padding: 50px 15px 0 15px;
    grid-template-columns: 1fr auto;
  }

  .home-articles__section {
    margin-bottom: 50px;
  }
}

.home-more-questions {
  padding-bottom: 50px;
}

@media (max-width: 768px) {
  .home-more-questions {
    padding-bottom: 30px;
  }

  .xs-nav {
    width: 100%;
    margin-bottom: 60px;
  }
}
/* fix for multiselect menu  request form https://help.algoriddim.com/hc/en-us/requests/new */
.hc-multiselect-menu li label input[type=checkbox] {
  width: auto;
}
