body #cookieNotice {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  background: #054891;
  overflow: hidden;
  height: 0;
  max-height: 0;
  transition: max-height 300ms;
  z-index:9999;
}

body #cookieNotice .inside {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 20px 15px;
}

body #cookieNotice .inside p.cookietext {
  margin: 0 1% 0 0;
  width: 88%;
  display: inline-block;
  color: #FFF;
}
body #cookieNotice .inside p.cookietext a {
  color:#000F39;
  text-decoration:none;
}
body #cookieNotice .inside p.cookietext a:hover {
  color:#F18824;
  text-decoration:none;
}

body #cookieNotice .inside .confirm {
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
  font-size: 1.25rem;
  border: 1px solid #FFF;
  padding: 10px 0 8px;
  color: #FFF;
  background: transparent;
  transition: color 300ms, background 300ms;
  border-radius: 4px;
  width:10%;
}

body #cookieNotice .inside .confirm:hover {
  background:#FFF;
  color:#054891;
}

body.notAccepted #cookieNotice {
  height: auto;
  max-height: 200px;
  transition: max-height 1s ease;
}

body.accepted {
  margin: 0 !important;
  transition: margin 1s ease;
}

body.accepted #cookieNotice {
  height: 0;
  max-height: 0;
  padding: 0;
  transition: max-height 1s ease;
}

body.accepted #footer #back-to-top {
  margin: 0 !important;
  transition: margin 1s ease;
}

@media only screen and (max-width:767px) {
	body #cookieNotice {
		padding:0 10px;
		box-sizing: border-box;
	}
    body #cookieNotice .inside .confirm {
        display: block;
        width:100%;
    }
    body #cookieNotice .inside p.cookietext {
        display: block;
        width:100%;
        margin-bottom:2rem;
    }
}
