body.path-frontpage div#sidebar-first {
  display: none;
}

body.path-frontpage main#content {
  margin-left: 0%;
  width: 100%;
}

/* Overwrite font */
.field--type-entity-reference {
  font-family: Georgia, "Times New Roman", Times, serif !important;
}

/***** Content overrides *****/
/** all nodes **/
div.node__content div.field{
  margin-bottom: 1.2em;
}
div.field.field--name-field-files {
  margin-bottom: 0 !important;
}
div.field--name-field-videos div.field__item {
  padding-left: 20px;
  background: url(/core/themes/bartik/images/classy/icons/video-x-generic.png) no-repeat;
}

/** Research nodes **/
/* Overwrite font size at research page */
div.view-researches h2.node__title {
  font-size: 2rem;
}
article.node--type-researches.node--sticky {
  background: none;
  border: none;
}

/*==== Content overrides ====*/

/***** Footer overrides *****/
/* Overwrite footer text color */
.site-footer .content, .site-footer h2, .site-footer .content a {
  color: rgba(255, 255, 255, 1) !important;
}

/* Overwrite theme footer layout */
@media all and (min-width: 851px) {
  .site-footer__top.clearfix {
    display: flex;
    justify-content: space-evenly;
  }
}

/* Overwrite footer font size */
.site-footer .content {
  font-size: 1em;
}

/* Overwrite footer block border */
.site-footer .block {
  border: none !important;
}

/* Overwrite footer logo animation */
#block-aartik-logo img {
  opacity: 0.65;
  transition: 0.1s ease;
}

.field__label {
  font-size: 1.071em !important;
  font-weight: bold !important;
}

#block-aartik-logo img:hover {
  transform: scale(1.005);
  opacity: 1;
}

@media all and (min-width: 851px) {
  div.region.region-primary-menu {
    display: flex;
    justify-content: space-between;
  }

  .site-footer__top .region {
    width: 24% !important;
  }

  .region.region-footer-second {
    width: 49% !important;
  }
}

@media all and (max-width: 850px) {
  .search-form .form-search {
    width: calc(100% - 5px * 2 - 34px);
    margin: 0 5px;
  }

  .site-footer__top .region {
    position: relative;
    float: left;
    width: 100%;
  }
}
/*#### Footer overrides ####*/

/***** Header overrides *****/
/* Search overrides */
form#search-block-form {
  display: grid;
  grid-template-columns: 1fr auto;
}

@media all and (max-width: 850px) {
  .search-form .form-search {
    width: calc(100% - 1em);
    margin: 0 5px;
  }

  .region-primary-menu .menu-item {
    margin: 0 0.1rem;
  }
}

input#edit-submit {
  margin-top: 9px;
}


/* Overwrite Left Menu */
@media all and (min-width: 961px) {
  nav#block-aartik-main-menu > div.content {
    padding-top: 21px;
  }
}

@media all and (min-width: 901px) and (max-width: 960px) {
  nav#block-aartik-main-menu > div.content {
    padding-top: 26px;
  }
}

@media all and (max-width: 850px) {
  ul.clearfix.menu {
    display: flex
  }
}
/*#### Header overrides ####*/
