 html, body {
  width: auto !important;
  overflow-x: hidden !important;
}
body {
  background-color: #ffffff;
  font-family: 'Trebuchet MS';
  color: #464749;
  font-size: 16px;
}
a {
  color: #00579c !important;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #007ee6 !important;
  transition: 0.3s;
}
h1 {
  font-size: 44px;
  font-weight: bold;
  letter-spacing: 2px;
}
h2 {
  font-size: 34px;
  color: #00579c;
  letter-spacing: 0.05em;
}
h3 {
  font-size: 26px;
}
p {
  line-height: 1.5em;
}
hr {
  background-color: #00579c;
  height: 1px;
}
label, input[type=text], textarea {
  display: block;
}
input[type=text], textarea {
  margin-bottom: 2em;
  padding: 0.3em;
}
input[type=text] {
  width: 350px;
}
textarea {
  width: 450px;
  resize: none;
}
label {
  font-size: 18px;
}



/****** Navbar ******/
.navbar {
  background-color: #fff;
  position: fixed;
  padding: 1rem;
  box-shadow: #acacac 0px 0px 10px;
  opacity: 0.95;
}
.navbar-container {
  flex-wrap: nowrap;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}
.navbar-nav {
  margin-right: 2rem;
}
.navbar-brand {
  margin-left: 2rem;
}
#europractice-logo {
  width: 175px;
}

.nav-item {
  padding-left: 0.75em;
  padding-right: 0.75em;
  padding-top: 0.75em;
  padding-bottom: 0.75em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  letter-spacing: 0.03em;
  text-align: center;
}
.nav-item:after {
  background: none repeat scroll 0 0 transparent;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  background: #00579c;
  content: "";
  display: block;
  height: 0.1em;
  bottom: 0;
  width: 0;
  left: 50%;
  position: relative;
}
.nav-item:hover:after {
  width: 100%;
  left: 0;
}
.nav-link:hover {
  color: #00579c !important;;
}
.current-page a {
  color: #464749 !important;
}
.current-page:after {
  width: 100%;
  left: 0;
  background: #464749;
}



/****** Footer ******/
#footer {
  padding-top: 3rem;
  padding-bottom: 1rem;
  background: linear-gradient(0deg, rgba(0, 87, 156, 0.25253851540616246) 0%, rgba(255, 255, 255, 1) 100%);
}
#eu-row {
  margin-left: 1em;
  margin-right: 4em;
  padding: 0.5em;
}
.eu-img {
  width: 225px;
}
.footer-text, .footer-text--header {
  padding-left: 0.5em;
  padding-right: 0.5em;
}
.footer-text {
  font-size: 12px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}
.footer-text--header {
  font-weight: bold;
}
.partner-img {
  width: 125px;
  margin: 2em;
  margin-top: 0;
}
#cmp {
  width: 75px;
}



/****** Lower Header *****/
#header {
  position: relative;
  margin-top: 112px;
  overflow: hidden;
  height: 350px;
  margin-bottom: 7rem;
}
#header-img {
  position: relative;
  width: 108%;
  height: 108%;
  margin: -20px -20px -20px -20px;
  object-position: center;
  object-fit: cover;
  animation: blur 1s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}
#header-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
}
#header-overlay h3 {
  margin-bottom: 0;
}
.header-text {
  color: #fff;
}
.header-text__lower {
  margin-top: 0.5em;
}



/****** General ******/
/** alignment **/
.centre {
  text-align: center;
}
.justify {
  text-align: justify;
}
.right {
  text-align: right;
}
.left {
  text-align: left;
}



/** Spacing **/
.mb-l {
  margin-bottom: 5rem;
}
.mb-xl {
  margin-bottom: 6rem;
}
.mb-xxl {
  margin-bottom: 7rem;
}



/** Buttons **/
.button {
  font-weight: bold;
  border-radius: 5px;
  border-style: solid;
  padding: 0.3em;
  padding-left: 0.75em;
  padding-right: 0.75em;
  transition: 0.3s;
  background-color: #464749;
  border-color: #464749;
  color: #fff !important;
}
.button:hover {
  background-color: #00579c;
  border-color: #00579c;
  color: #fff !important;
}
.button--big {
  font-weight: bold;
  border-radius: 5px;
  border-style: solid;
  padding: 0.2em;
  padding-left: 1em;
  padding-right: 1em;
  transition: 0.3s;
  color: #fff !important;
  font-size: 22px;
}
.submit {
  background-color: #00579c;
  border-color: #00579c;
  color: #fff;
}
.submit:hover {
  background-color: #fff;
  color: #00579c !important;
}
.reset:hover {
  background-color: #fff;
  color: #464749;
}



/** Modifiers **/
.hidden {
  display: none;
}



/** Divs **/
.img-col, .info-col {
  height: 500px;
}
.info-col {
  background-color: #f2f2f3;
  padding: 2em;
  display: flex;
}
.info-col__header {
  margin-bottom: 1em;
}
.info-col__text {
  align-self: center;
}
.info-col__button {
  display: inline-block;
}
.img-col {
  padding: 0;
}
.img-col img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/******* Resizing *******/
/** big **/
@media (max-width: 1500px) {
  .navbar-brand, .navbar-nav {
    margin: 0;
  }
  #europractice-logo {
    width: 150px;
  }
  .nav-item {
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin: 0;
  }
  #header {
    margin-top: 102px;
  }
}

/** navbar resize **/
@media (max-width: 1200px) {
  /** Navbar **/
  .navbar {
    opacity: 1;
  }
  .navbar-container {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .navbar-nav {
    margin-top: 1em;
  }
  .nav-item {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    width: 0 auto;
    text-align: left;
  }

  /* Remove Underline */
  .nav-item:after {
    display: none;
  }
  .current-page:after {
    display: none;
  }
  /* Edit for background hover */
  .nav-item {
    transition: 0.3s;
  }
  .nav-item:hover {
    background-color: #00579c;
  }
  .nav-item:hover .nav-link {
    color: #fff !important;
  }
  .current-page {
    background-color: #464749;
  }
  .current-page:hover {
    background-color: #464749;
  }
  .current-page .nav-link {
    color: #fff !important;
  }


  /** Footer **/
  .footer-text {
    width: 100%;
  }
}


/****** Resizing ******/
@media (max-width: 992px){
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 22px;
  }
  hr {
    margin-top: 0;
  }

  /** Footer **/
  #eu-row {
    margin-right: 0em;
  }
  .partner-img {
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
  }

  /** Lower Header **/
  #header {
    height: 300px;
  }

  /** General **/
  .info-col {
    padding: 1em;
  }

}


/** Small Resizing **/
@media (max-width: 768px){
  .img-col {
    display: none;
  }
  .info-col {
    height: auto;
  }
  .dont-hide {
    display: inherit;
    height: 300px;
  }
}


/****** Phone Resizing ******/
@media (max-width: 576px) {
  h1 {
    font-size: 26px !important;
  }
  h3 {
    font-size: 20px !important;
  }
  #europractice-logo {
    width: 125px;
  }

  #header {
    margin-top: 75px;
    height: 300px;
    margin-bottom: 5rem;
  }
  #header-img {
    width: 110%;
    height: 110%;
  }

  .justify {
    text-align: left;
  }
  .info-col__button {
    text-align: center;
  }

  .mb-l {
    margin-bottom: 2rem;
  }

  .mb-xl {
    margin-bottom: 3rem;
  }

  .mb-xxl {
    margin-bottom: 5rem;
  }
}



/****** Animations ******/
@keyframes blur {
  0% {
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -ms-filter: blur(0px);
  }

  100% {
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
  }
}