/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
:root {
 --piros: #f03a47;
 --spiros: #a81a24;
 --kek: #276fbf;
 --vkek: #A0BDDE;
 --lilla: #2b193d;
 --vlilla: #beb9d4;
 --klilla: #3e2754;
 --szurke: #788081;
 --vszurke: #d1ced5;
 --lszurke: #e8f1f2;
 --zold: #2ca013;

}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: 'Barlow', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
   color: var(--vszurke);
   opacity: 1; /* Firefox */
 }

 :-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: var(--vszurke);
 }

 ::-ms-input-placeholder { /* Microsoft Edge */
   color: var(--vszurke);
 }

 ::selection {
   color: white;
   background: var(--piros);
 }

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

*, *:before, *:after {
  box-sizing: border-box;
}

.hideme { display: none !important; }

.fright { float: right; }
.frleft { float: left; }
.tcenter { text-align: center; }
.tright { text-align: right; }
.bw { background-color: #fff; } /* fehér */
.bd { background-color: var(--lilla); } /* sotetlila */
.br { background-color: var(--piros); } /* piros */
.bb { background-color: var(--kek); } /* kek */
.bl { background-color: var(--vkek); }  /* vkek */
.fr { color: var(--piros); }
.flg { color: var(--vszurke); }
.fg { color: var(--szurke); }
.fd { color: var(--lilla); }
.fz { color: var(--zold) !important }
.fk { color: var(--vkek) !important }
.fw { color: #fff; }
.plr0 { padding-left: 0 !important; padding-right: 0 !important; }

.hideondesktop { display: none; !important; }
.hideonmobile { display: inherit; !important; }

a { text-decoration: none; color: var(--lilla) }
.td { text-decoration: underline !important; }

h1, .h1 { font-size: 3rem; font-weight: 600; line-height: 90%; }
h2, .h2 { font-size: 2.4rem; font-weight: 600; line-height: 90%; }
h3, .h3 { font-size: 1.8rem; font-weight: 500; line-height: 90%; }
h4, .h4 { font-size: 1.8rem; font-weight: 400; line-height: 90%; }
h5, .h5 { font-size: 1.2rem; font-weight: 600}
h6, .h6 { font-size: 1rem; font-weight: 600}

body {
  /* background-color: #e8f1f2;
  background-image: url("../img/cityplan.svg");
  background-position: center top;
  background-size: cover;
  background-repeat: repeat-y; */
  min-height: 100vh;
  position: relative;
}

body {
  background-color: #f4f8f9;
  /*background: linear-gradient(-45deg, #e8f1f2, #e8f2e9, #f0e9f2, #eff2e9, #e8f1f2);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  FIX: https://medium.com/iporaitech/css-background-animation-avoiding-high-cpu-usage-58947ff50900
  */
}
/*
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}*/

.cityplan {
  background-image: url("../img/cityplan.svg");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
}

header {
  width: 100vw;
  background-color: #fff;
}

main {
  min-height: calc(100vh - 10em);
  position: relative;
  overflow: auto;
}

footer {
  position: absolute;
  background-color: #fff;
  width: 100%;
  width: 100vw;
  /* bottom: 0; */
}

.logospace {
  background-image: url("../img/teembus_logo.svg");
  background-size: auto;
  background-repeat: no-repeat;
  width: 110px;
  height: 30px;
  display: inline-block;
  margin: 1em 1.5em;
}

header .site-nav, footer .footer-nav-right {
      float: right;
      padding: 1em 1.5em 1em 0;
}

footer .footer-nav-left {
      padding: 1em 0 1em 1.5em;
      float: left;
      padding-left: 1.5em;
      border-bottom: 1px solid #d4e2f2;
      display: block;
      width: 100%;
}

footer .footer-nav-right {
      font-size: 0.8em;
}

header .site-nav {
  font-weight: 600;
  margin-top: .4em;
}

footer ul {
  padding: 1em 0;
}

.inline-block-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.inline-block-list li {
    display: inline-block;
    margin: 0 0 0 1.5em;
    padding: 0;
    vertical-align: top;
}

header .site-nav li {
  position: relative;
}
header .site-nav li:hover,
header .site-nav li:focus-within {
  cursor: pointer;
}

header ul.site-nav li ul {
  background: #fff;
  position: absolute;
  transition: all 0.5s ease;
  padding-inline-start: 0;
  z-index: 30;
  /* border-right: 1px solid #333; */
  right: -.6em;
  margin-top: .5em;
  border-top: 1px solid #eee;
  padding-bottom: 0.6em;
}

header ul.site-nav li ul li {
  padding: 0.6em 0.6em 0em 1.5em;
  margin: 0;
}

header ul.site-nav li ul li a {
  font-weight: 300;
}

header ul.site-nav li ul li a:hover {
  color: var(--piros);
}

footer .footer-nav-left li {
    margin: 0 1.5em 0 0;
}

.abutton {
  border-radius: 2px;
  display: inline-block;
  border: 1px solid transparent;
  height: 1.8em;
}

input::file-selector-button {
  border-radius: 2px;
  display: inline-block;
  border: 1px solid #bbb;
  height: 1.8em;
  padding: 0.2em 2em;
  font-size: 1.2rem;
  border-radius: 200px;
  background-color: #fff;
}

.abutton img {
  height: 80%;
}

.abutton.secondary {
  border: 1px solid var(--piros);
  color: var(--piros);
}

.abutton.close, .abutton.back {
  margin-right: .4em;
}

.abutton.secondary:hover {
  color: var(--kek);
  background-color: #fff;
  border: 1px solid var(--kek);
}


.abutton:hover {
  transition: 1s;
  cursor: pointer;
  background-color: var(--klilla);
}

.abutton.third:hover {
  transition: 0.2s;
  cursor: pointer;
  background-color: var(--klilla);
}

.abutton_bigger {
  padding: 0.2em 2em;
  font-size: 1.8rem;
  margin-bottom: .3em;
  border-radius: 200px;
}

.abutton_normal {
  padding: 0.2em 2em;
  font-size: 1.2rem;
  border-radius: 200px
}

.abutton.nohover:hover {
  background-color: inherit;
}

.abutton.disabled {
  background-color: var(--vszurke);
  color: #fff;
  cursor: not-allowed;
  text-decoration: none;
}

.normal_window {
  padding: 5px;
  background-color:#fff;
  border-radius: 6px;
  box-shadow: 0px 0px 20px 0px #eeeeee;
}

.normal_window.textpages {
  width: 70%;
  margin: 2em auto;
}

.normal_window.textpages a {
  color: var(--kek);
  text-decoration: underline;
}
.bordered_inner {
  border: 1px solid var(--vszurke);
  background-color:#fff;
  padding: 2em;
  border-radius: 3px;
}

.container {
  margin: 0 auto;
  min-height: 80%;
}

.outer {
  display: table;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.middle {
  display: table-cell;
  vertical-align: middle;
}

.grid {
  display: grid;
}

.padding { padding: 1.8rem }

.stager {
  font-size: 3em;
  margin-top: -1em;
  float: right;
}

/* === FROMS ========================================================= */

input, textarea {
  font-family:inherit;
  font-size: 1.6em;
  color: var(--kek);
  font-weight: 500;
}

input[type=text] {
  padding: 10px 0;
  margin:10px 0; // add top and bottom margin
  outline: 0;
  border-width: 0 0 2px;
  border-color: #bcb7c2;
  width: 100%
}

#location+i, #stopCity+i, #reminder_city+i {
  position: relative;
  display: none;
}

#location+i::after, #stopCity+i::after, #reminder_city+i::after {
  content: url("../img/loading.gif");
  zoom: 8%;
  position: absolute;
  right: 30px;
  bottom: 0;
}


input[type=text]:focus {
  outline: 0;
  border-color: var(--kek);
}

input[type=text]:read-only {
  color: var(--vszurke);
  border-color: var(--vszurke);
}

input[type=file] {
  display: inline-block;
  padding: 0 0 30px 0;
  margin: 0; // add top and bottom margin
  outline: 0;
  border-width: 0 0 2px;
  border-color: #bcb7c2;
  font-size: 1em;
}

select.missing, input[type=text].missing, textarea.missing, .support.step1 textarea.missing {
  border-color: var(--piros);
}

input[type=checkbox].missing {
  outline: 2px solid var(--piros);
}

label { display: none }

select {
  /* max-width: 30ch; */
  border: 0;
  border-bottom: 2px solid #bcb7c2;
  color: var(--kek);
  padding: 0.3em 0.5em;
  cursor: pointer;
  line-height: 1.1;
  background-color: #fff;
  font-weight: 500;
  border-radius: 0;
}

.feedback {
  position: absolute;
  right: 0;
  top: 0;
  color: var(--piros);
  display: none;
  text-align: right;
}

/* === EMAIL/PHONE HIDE ========================================================= */

.cryptmail:after {
  content: attr(data-name) "@" attr(data-dom) "." attr(data-tld);
}

.crypttel:after {
  content: attr(data-korzet) " / " attr(data-tel);
}

.cryptany:after {
  content: attr(data-pre) " " attr(data-post);
}

/* === INDEX ========================================================= */

.container.index {
  padding: 4em 0 5em;
}

.container.index h3 {
  margin-bottom: 2em;
  font-weight: 300;
}

.container.index p {
  margin: 2em 0;
}

.bottomline img {
  width: 100%;
  display: block;
}

.bottomline {
  border-bottom: 1px solid var(--piros);
  padding: 2em;
  display: inline-block;
  margin: auto;
  min-width: 25%;
}

.fulltext {
  margin-bottom: 2em;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.howto {
  background-color: #352f5b;
  padding: 1em 0 3em;
}

.howto h4 { color: white;}

.howto .grid {
  width: 90%;
  margin:auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 2rem;
  row-gap: 1em;
  grid-template-areas:
    "step_create step_invite step_add step_notify"
}

.index .grid {
  width: 80%;
  margin:auto;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  row-gap: 1em;
  grid-template-areas:
    "publicbox createbox"
}

.index .four {
  margin:auto;
  column-gap: 2rem;
  display: grid;
  grid-template-columns: auto auto auto auto;
  width: fit-content;
  margin-bottom: 2em;
  max-width: 80%;
}

.index .feature {
  margin-bottom: 3em;
}

.index .feature img {
  background-color: #fff;
  border-radius: 50%;
  height: 7em;
  width: 7em;
  padding: 1em;
  box-shadow: 0 0 50px #eee;
}

.index .feature div strong {
  color: var(--kek);
}

.index .feature div {
  display: inline-grid;
  text-align: center;
  font-size: 1.4em;
  margin-left: 1em;
}

.howto .head {
  background: rgb(45,79,164);
  background: linear-gradient(90deg, rgba(45,79,164,1) 0%, rgba(45,79,164,0) 100%);
  border-radius: 60px;
  font-size: 1.6em;
  line-height: 1em;
  color: white;
  padding: .5em;
  height: 2.8em;
}

.howto .head span {
  display: block
}

.howto .head i {
  display: inline-block;
  width: 6em;
  margin-top: -.1em;
}

.howto img.icon {
  height: 1.8em;
  float: left;
  margin-right: .5em;
}

.howto img.arrow {
  height: 1.4em;
  float: right;
  margin-top: .3em;
}

.howto .steps {
  color: white;
}

.howto .steps p, .howto .steps li {
  font-size: 1.1em;
}

.steps.creates  { grid-area: step_create; }
.steps.invite  { grid-area: step_invite; }
.steps.add  { grid-area: step_add; }
.steps.notify  { grid-area: step_notify; }

.index .grid h4 {
    width: 80%;
    margin: auto;
}
.index .publicbox { grid-area: publicbox; }
.index .createbox { grid-area: createbox; }
.index .publicbox, .index .createbox {
  background-color: white;
  border-radius: 2rem;
  padding: 2rem;
  position: relative;
  box-shadow: 0 0 50px #eee;
}

.big_icon {
  width: 9rem;
  background: white;
  border-radius: 2em;
  padding: 2em;
  position: absolute;
}

/* === FORMS-DONE ========================================================= */

.step1 .bordered_inner, .step2 .bordered_inner {
  border-color: #fff;
}

.done .bordered_inner {
  background-color: var(--zold);
}

.done {
  background-color: #fff
}

.done {
  color: #fff
}

/* === CREATE ========================================================= */

.create .bordered_inner, .join .bordered_inner {
  padding: 4em;
}

.support .bordered_inner {
    padding: 2em 4em;
}

.create.step1, .join.step1, .support.step1, .detcontainer, .publicevents {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: table;
}

.create.step2 {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}


.create.step1 .bordered_inner, .create.step1 #map_area {
  display: table-cell;
}

.create.step1 .view {
  width: 30%;
}


.create select {
  color: var(--kek);
  padding: 0.35em 0.5em;
  font-size: 1.6em;
  border-bottom: 2px solid #bcb7c2;
}

.create.step1 .grid {
  grid-gap: 2rem;
  row-gap: 1em;
  grid-template-areas:
    "title title title title"
    "location location date date"
    "note note type type"
    "buttons buttons buttons buttons";
}

.create.step1 select#EventType, .create.step1 select#EventSubType {
  width:100%;
  padding: 8px 0 9px 0;
  margin: 10px 0;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

.create.step1 select#EventSubType {
  display: none;
}

.width49 {
  width: 49% !important;
}

.create.step2 .grid {
  grid-template-columns: 100%;
  grid-gap: 2rem;
  grid-template-areas:
    "name"
    "email"
    "law"
    "buttons";
}

/* JOIN */
.join.step1 .grid {
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  grid-template-areas:
    "note note"
    "visited law"
    "visited buttons";
}

.abutton.joinins {
  padding: .2em 0 .2em 2em;
  font-size: 1.2em;
  margin: 0 .3em .3em 0;
}

.abutton.joinins img {
  height: 50%;
  margin-top: -.2em;
  margin: -.2em .5em 0 1em;
}

.pickupdetails {
  position: absolute;
  top: 3em;
  width: 50%;
  right: 0;
}

.pickupdetails span {
  color: #fff;
}

.dash_main.details .info_window .pickupdetails .info_wicon img {
  height: 1.5em;
}

.dash_main.details .normal_window .info_wicon img {
  height: 1em;
  margin-right: .5em;
}

.dash_main.details .info_window .pickupdetails .info_wicon {
  margin-bottom: .7em;
  color: #a0bdde;
}

.dash_main.details .info_window .bordered_inner {
    padding: 3em 4em 2.5em 4em;
}

.info_window.details {
  position: relative;
}

.grid>div { position: relative; }

.create .title { grid-area: title; }
.create .location { grid-area: location; }
.create .date { grid-area: date; }
.create .note, .join .note { grid-area: note }
.buttons { grid-area: buttons }
.name { grid-area: name; }
.email  { grid-area: email; }
.law { grid-area: law; }
.visited { grid-area: visited; font-size: .8em; }
.description { grid-area: description; }
.subject { grid-area: subject; }
.eventlink { grid-area: eventlink; }
.address { grid-area: address; }
.phone, .contact { grid-area: phone; }
.info { grid-area: info; font-size: .8em; }
.warning { grid-area: warning; }
.type { grid-area: type; grid-template-columns: fit-content(100px) auto; }

.create .time { display: none; padding-top: 0}

.create .law, .join .law {
  font-size: 0.8em;
  text-align: right;
  color: var(--szurke);
}

.create #EventLogoArea {
  display: inline-block;
  border-radius: 10px;
  border: 1px dashed #bbb;
  padding: 1em 4em;
  margin-bottom: 1em;
}

.create #EventLogoArea input {
  padding-bottom: 10px;
}

.create #EventLogoImage .ImgPlace {
  width: 312px;
  height: 150px;
  background-position: center;
  background-size: cover;
  display: inline-block;
  margin: 0 1em 0 0;
}

.create #EventLogoArea .feedback {
  position: relative;
  text-align: center;
  padding-bottom: .7em;
}

.create #EventLogoDesc {
  font-size: 0.8em;
  color: var(--szurke);
  text-align: center;
}

.create #EventEmailArea {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  display: none;
}

.create #progressBar {
  background-color: #FF0000;
  height: 4px;
  width: 0%;
}

/*.step1 h3, .step2 h3 {
  margin-top: -1em;
}*/

/* === CONTACT ========================================================= */

.support.step1 .grid {
  grid-template-columns: 100%;
  grid-gap: 2rem;
  grid-template-areas:
    "email"
    "subject"
    "description"
    "eventlink"
    "buttons";
}

.support.step1 textarea {
  width: 100%;
  height: 4em;
  border: 0;
  border-bottom: 2px solid #bcb7c2;
}

/* === PUBLIC ========================================================= */

.filterarea .bordered_inner {
  background-color: var(--piros);
  color: #fff;
  font-size: 1.3em;
  padding: 1em;
  text-align: center;
}

.filterarea select {
  max-width: 50ch;
  border: 0;
  border-bottom: 2px solid #fff;
  color: white;
  padding: 0.3em 0.5em;
  cursor: pointer;
  line-height: 1.1;
  background-color: transparent;
  font-weight: 500;
  border-radius: 0;
}

.eventsarea {
  margin-top: 1em;
}

.publicevents .columns {
  margin: auto;
  column-count: 3;
  column-gap: 1.4rem;
  font-size: 1.2rem;
}

.publicevents .columns:has(> :last-child:nth-child(2)) { /* 2 elements */
  height: 200px;
}

.publicevents .columns:has(> :last-child:nth-child(1)), .dash_cars .columns:has(> :last-child:nth-child(2)), .dash_cars .columns:has(> :last-child:nth-child(3)), .dash_cars .columns:has(> :last-child:nth-child(4)) { /* 2 elements */
  column-count: 2;
}
.publicevents h3.month_name {
  text-align: center;
    border-radius: 10px 10px 0 0;
    padding: 20px 0 40px 0;
    margin: 0 -20px;
    background-image: linear-gradient(180deg, white, transparent);
}

.footercontainer {
  background-color: #f6f6f6;
  width: 100%;
  padding: 2em 0;
}

.footercolumns {
  margin: auto;
  column-count: 6;
  column-gap: 1rem;
  font-size: .9em;
  width: 80vw;
  margin: auto;
  background-color: #f6f6f6;
  color: #666;
}

.footercolumns div {
  display: block;
  break-inside: avoid-column;
}

.footercolumns a, .footercolumns h6 {
    padding: 0;
    margin: 0;
    display: block;
}

.footercolumns a {
  margin-left: .3em;
}

.footercolumns h6>a {
  margin-left: 0;
}


.footercolumns h6 {
    padding: .5em 0 .2em;
    margin: 0;
}

.publicevents .columns .PubEventCont {
  border-radius: .5em;
  padding: 1em;
  background-color: white;
  margin: 0 0 1.4rem;
  display: inline-block;
  width: 100%;
  box-shadow: 0px 0px 20px 0px #eeeeee;
  transition: transform .2s;
}

.PubEventCont:hover {
  transform: scale(1.01); 
}

.PubEventCont img {
  height: 20px;
  width: 20px;
}

.PubEventCont .LogoPlace {
    height: 100px;
    background-size: cover;
    background-position: center;
    margin: -1em;
    margin-bottom: 1em;
    border-radius: 10px 10px 0 0;
}

.PubEventCont .smallicons {
    opacity: 0.2;
    text-align: right;
    margin: 0 -1em -1em -1em;
    padding: 0.5em;
    background: var(--vkek);
}

.publicevents .h2 {
  text-decoration: underline;
  color: var(--klilla)
}

.publicevents h3 {
  font-weight: 200;
  line-height: 120%;
}

.publicevents .h2:hover {
  text-decoration: none;
  color: var(--piros)
}


/* === DASHBOARD ========================================================= */

.notification_area {
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 500;
}

.notification {
  background-color: var(--piros);
  padding: 1em;
  color: #fff;
  text-align: center;
  -webkit-animation: cssAnimation 5s forwards;
  animation: cssAnimation 8s forwards;
}
@keyframes cssAnimation {
    0%   {opacity: 1;}
    90%  {opacity: 1; margin-top: 0}
    100% {opacity: 0; margin-top: -4em}
}
@-webkit-keyframes cssAnimation {
    0%   {opacity: 1;}
    90%  {opacity: 1; margin-top: 0}
    100% {opacity: 0; margin-top: -4em}
}

.notification img { height: 0.9em;  margin-top: 0.2em; float: right; cursor: pointer;}

.alert_area {
  z-index: 5000;
  position: absolute;
  left: 50%;
  top: 40vh;
  transform: translate(-50%,-50%);
}

.alert {
  border: 10px solid rgba(254,192,0, .5);
  background-color: #fec000;
  padding: 2em 3em;
  color: #333;
  text-align: center;
  position: relative;
  -webkit-animation: cssAnimation 30s forwards;
  animation: cssAnimation 30s forwards;
  background-clip: padding-box;
}

.alert img { color:#333; height: 0.9em;  margin-top: 0.2em; position: absolute; top:1em; right: 1em; cursor: pointer;}

.alert input[type=text]:read-only {
    border: none;
    font-size: 1.2em;
    background-color: inherit;
    margin: 0;
    color: #333;
    display: block;
}

.window_icon {
  height: 42px;
  margin-top: -1.5em;
  left: 3em;
  position: absolute;
  z-index: 10;
}

.dash_main .normal_window.nocar img, .dash_main .normal_window.noseat img {
  height: 2em;
  width: 2em;
}

.dash_main .normal_window img.small, .dash_main .normal_window img.small {
  height: 1.2em;
  width: 1.2em;
}

.dash_main .normal_window img.smaller, .dash_main .normal_window img.smaller {
  height: .8em;
  width: .8em;
}

.dash_main .normal_window.reminderset {
  color: var(--szurke);
  font-size: 1.2em;
}

.dash_main .normal_window.reminderset .bordered_inner {
  padding: 1em 2em;
}

.dash_main {
  position: relative;
  margin: 5% auto 0 auto;
  width: 80%;
  min-width: 800px;
  display: grid;
  grid-template-columns: 4fr 5fr;
  grid-gap: 1.5rem;
  grid-auto-rows: 1fr;
  grid-template-areas:
    "left_col right_col";
}

.dash_main.active {
  grid-template-columns: 1fr 1fr;
}

.left_col { grid-area: left_col }
.right_col { grid-area: right_col }
.dash_main.details .info_window { grid-area: detailstop }

.dash_main.details {
  grid-template-columns: 5fr 5fr;
  grid-row-gap: 0;
  grid-template-areas:
    "detailstop detailstop"
    "left_col right_col";
}

.dash_main .bordered_inner {
/*  height: 100%; */
}

.dash_main .stager {
  font-size: 2.5em;
  margin-top: -0.6em;
  float: right;
}

.dash_main h3, .dash_main h4, .dash_cars h3, .dash_cars h4 {
  display: inline-block;
}

.dash_main .main_map_area {
  height: 500px;  
}

.filter {
  cursor: pointer;
}

/* === DASHBOARD - INFO ========================================================= */

.dash_main .info_window {
  grid-area: info_window;
  padding: 5px;
  color: #fff;
  margin-bottom: 1em;
  background-color: #fff;
  border-radius: 6px;
  height: 100%;
}

.inviteLink { display: none; }

.dash_main .info_window input:read-only {
  border: none;
  font-size: 1.2em;
  background-color: inherit;
  margin: 0;
  color: var(--vszurke);
}

.dash_main .info_window .LogoPlace {
    width: 100%;
    height: 150px;
    margin-top: 2em;
    background-size: cover;
    background-position: center;
}

.info_window .bordered_inner {
  background-color: var(--lilla);
  padding: 3em 4em 0 4em;
  color: var(--lszurke);
  height: 100%;
  position: relative;
}

/*.dash_main .info_window div {
  background-color: inherit;
}*/

.dash_main .info_window .invite {
  border-top: 1px solid #4f346f;
  margin: 0 0 0 -4em;
  padding: 2em 4em 0 4em;
  overflow:auto;
  position: absolute;
  bottom: 0;
}

.closeInvite { height: 0.6em }

.invitetabs {
  margin: 1em -4em 0 -4em;
  background: linear-gradient(0, #1f102d, transparent);
  padding: 1em 0 0 4em;
  cursor: pointer;
}

.invitetabs a {
  color: var(--vlilla);
  display: inline-block;
  padding: .7em 1em .3em 1em;
  margin-right: .1em;
  border-radius: 5px 5px 0 0;
}

.invitetabs a.selected {
  background-color: var(--klilla);
}

.dash_main .info_window .invitetabpages {
  background-color: var(--klilla);
  margin: 0 -4em;
  padding: 2em 4em 5em 4em;
}

.dash_main .info_window .description {
  color: var(--szurke);
  display: block;
  padding-top: 5px;
}

.dash_main .info_window h1, .dash_main .info_window h2 {
  margin: 0;
  color: #fff;
}

.dash_main .info_window h2 {
  color: var(--piros);
}

.dash_main .info_wicon, .dash_cars .info_wicon {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

.dash_main .info_window .info_wicon {
  margin-top: .5em;
}

.dash_main .info_wicon.changed {
  animation: addpass 5s forwards;
} @keyframes addpass {
  0%   {color: var(--red);}
  100% {color: #333;}
}

.dash_cars .normal_window .info_wicon img, .dash_main .info_window .info_wicon img {
  height: 16px;
  margin-right: 15px;
}

.dash_main .info_window p a {
  color: var(--vlilla);
  font-size: 1.2rem;
  text-decoration: underline;
}

.dash_main .viaemail { display: none; position: relative;}
.dash_main .viaemail textarea { width: 100%; height: 3em; font-size: 1.2em}
.dash_main .viaemail ::placeholder { color: var(--vlilla); opacity: 1; }
.dash_main .viaemail :-ms-input-placeholder { color: var(--vlilla); }
.dash_main .viaemail ::-ms-input-placeholder { color: var(--vlilla); }
.dash_main .viaemail .feedback { left: 0; bottom: -1.5em; right: auto; top: auto;}

.dash_main .normal_window {
  margin-bottom: 1rem;
}

.dash_main .normal_window h4, .dash_cars .normal_window h4 {
  display: inline-block;
  margin-left: 0.5rem;
  margin-bottom: 0;
  margin-top: 0.2rem;
}

.dash_main .normal_window h5, .dash_cars .normal_window h5 {
  display: inline-block;
  margin-left: 0.5rem;
  margin-bottom: 0;
  margin-top: 0.2rem;
}

.dash_main .normal_window img, .dash_cars .normal_window img {
  margin-top: -0.2rem;
  height: 2em;
}

.dash_main .normal_window .bordered_inner {
  overflow: auto;
}

/* === DASHBOARD - ADD ========================================================= */

.dash_main .normal_window.add img {
  margin-top: -1rem;
}

.dash_main .normal_window.add img.locked {
  margin-top: 0;
  height: 1rem;
}

.dash_main .normal_window.add .grid {
  margin-top: 2em;
}

.dash_main .normal_window.add.step1 .grid {
  grid-template-columns: 1fr 2fr;
  grid-gap: 1rem;
  grid-template-areas:
    "name name"
    "email email"
    "phone phone"
    "info buttons";
}

.dash_main .normal_window.add.step2 .grid {
  display: block;
}
.dash_main .normal_window.add.step2 .buttons {
  margin-top: 2em;
}

.dash_main .normal_window.add.step2 p {
  font-size: 1.4em;
  color: var(--szurke);
  margin: 0 0 0.5em 0;
  position: relative;
}

.dash_main .normal_window.add.step2 .feedback {
 font-size: 0.6em;
 top: inherit;
 right: inherit;
 /*margin-top: -1em;*/
}


.dash_main .normal_window.add.step2 input {
  width: 50%;
  font-size: inherit;
  margin: 0;
  color: var(--kek);
}

.dash_main .normal_window.add.step2 input[name="date"] {
  width: 8rem;
}

.dash_main .normal_window.add.step2 #location {
  width: 70%;
}

.dash_main .normal_window.add.step2 select[name="time"] {
  padding: 0.4em 0.5em;
}

.dash_main .normal_window.add.step2 input.addcities {
  width: auto;
  padding: 0.4em 0.5em;
}

#pickupcities, #stopCity { width: 100% }

input.showplaceholder::placeholder { color: var(--vszurke); opacity: 1; }
/*.dash_main .normal_window.add.step2 input.public_date { margin-top: 15px; }*/

#stopCityList span {
    padding: 8px;
    display: inline-block;
    border: 1px solid var(--kek);
    margin: 10px 10px 0 0;
    font-size: 1em;
    color: var(--kek);
}

#stopCityList span::after {
  content: url("../img/cancel.svg");
  zoom: 2%;
  margin-left: 300px;
  vertical-align: middle;
  cursor: pointer;
}

/* === DASHBOARD - CAR ========================================================= */
.dash_cars {
  position: relative;
  margin: 1% auto 5% auto;
  width: 80%;
  min-width: 800px;
}

.dash_cars .columns {
  margin: auto;
  column-count: 3;
  column-gap: 2rem;
  font-size: 1rem;
}

.dash_cars .columns:has(> :last-child:nth-child(2)) { /* 2 elements */
  height: 200px;
}

.dash_cars .columns:has(> :last-child:nth-child(1)), .dash_cars .columns:has(> :last-child:nth-child(2)), .dash_cars .columns:has(> :last-child:nth-child(3)), .dash_cars .columns:has(> :last-child:nth-child(4)) { /* 2 elements */
  column-count: 2;
}

.dash_cars .columns .carbox {
  margin: 0 0 1rem;
  display: inline-block;
  width: 100%;
}

.dash_cars .normal_window.car {
  position: relative;
  margin-top: 2em;
  background-color: var(--vszurke);
}

.dash_cars .normal_window.car.last {
  animation: addeddcar 5s forwards;
} @keyframes addeddcar {
  0%   {opacity: 0; background-color: var(--zold);}
  50%  {opacity: 1; background-color: var(--zold);}
  100% {opacity: 1; background-color: #fff;}
}

.dash_cars .normal_window.car .bordered_inner {
  padding: 1em 2em;
}

.dash_cars .normal_window.car .window_icon {
  height: 27px;
  margin-top: -0.8em;
  left: 2em;
}

.dash_cars .normal_window.car .info_wicon {
  font-weight: 400;
}

.dash_cars .normal_window.car .icons {
  /* font-size: 1.2em; */
  color: #a0bdde;
  font-weight: 600;
  padding: 1em 0 1em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  grid-template-areas:
    "left right";

}

.dash_cars .normal_window select {
  font-size: 1.2em;
}

.dash_cars .normal_window.car .icons .left { grid-area: left }
.dash_cars .normal_window.car .icons .right { grid-area: right; text-align: right;}
.dash_cars .normal_window.car .icons img { margin-right: .5em; }
.dash_cars .normal_window.add .abutton, .dash_main .normal_window.add .abutton { margin-top: 1em; }

.dash_cars .normal_window.car .header {
    margin: -1em -2em 1em;
    background-color: #eee;
    padding: 0.5em 2em 0;
}

.dash_cars .normal_window.car .header .abutton {
    padding: 0.2em 0.6em 0.2em 1em;
    height: auto;
    margin-right: -2em;
    margin-top: 1em;
    border-radius: 200px 0 0 200px;
}

.dash_cars .normal_window img.getinimg {
  height: 2em;
  margin-top: -.2em;
  margin-right: .3em;
}

.dash_cars .carbox .grid {
  grid-template-columns: 100%;
  grid-gap: 1rem;
}

.dash_main #addreminder .normal_window.add.step1 .grid {
  grid-template-columns: 1fr;
  grid-template-areas:
    "reminder_email"
    "reminder_city"
    "buttons";
}

.dash_cars .normal_window.car.sitin.step1 .grid {
  margin: 2em 0 1em 0;
  grid-template-areas:
    "name"
    "email"
    "phone"
    "address"
    "buttons";
}

.dash_cars .normal_window.car.sitin.step1 .address {
    color: var(--szurke);
    margin: 0 0 0.5em 0;
    position: relative;
}

.dash_cars .normal_window.car.sitin.step1 .address label {
    display: inline-block;
}

.dash_cars .normal_window.car.sitin.step2 .grid, .dash_main .normal_window.add.step3 .grid {
  margin: 2em 0 1em 0;
  grid-template-areas:
    "warning"
    "buttons";
}

.dash_cars .normal_window.add.step3 .grid {
  margin-bottom: 0;
}

.dash_cars .normal_window.car.sitin.step2 .checkcont, .dash_main .normal_window.add.step3 .checkcont { padding-left: 3em; }
.dash_cars .normal_window.car.sitin.step2 input[type="checkbox"], .dash_main .normal_window.add.step3 input[type="checkbox"] { margin: .4em .4em 0 -1em; }
.sitin.step2 .feedback, .add.step3 .feedback { top: auto; bottom: -1.3em; }

.dash_cars .normal_window img.locked {
  height: 0.9rem !important;
  margin-top: -.3rem !important;
}

.dash_cars .normal_window .privacymessage {
  color: var(--szurke);
  font-size: .8em;
}

.dash_cars .normal_window.car .icons .privacymessage img {
    margin: 0 5px 0 0;
}

/***********************************************************************************************/
/***********************************************************************************************/
/***********************************************************************************************/


@media only screen and (min-height: 52em) {
   /* Style adjustments for viewports that meet the condition */

   ::placeholder {
     color: white;
     opacity: 1; 
   }

   :-ms-input-placeholder {
     color: white;
   }

   ::-ms-input-placeholder {
     color: white;
   }

  label { display: block }
  .support label {
    float: left;
    display: inline-block;
    padding-top: 1.5em;
  }

  .support span {
    overflow: hidden;
    display: block;
    padding: 0 0 0 10px;
  }

   .dash_main .viaemail ::placeholder { color: var(--vlilla); opacity: 1; }
   .dash_main .viaemail :-ms-input-placeholder { color: var(--vlilla); }
   .dash_main .viaemail ::-ms-input-placeholder { color: var(--vlilla); }

   .create .time { padding-top: 2.2em; }

   .stager {
     float: none;
   }

   .step1 h3, .step2 h3 {
     margin-top: inherit;
   }
}

/***********************************************************************************************/
/***********************************************************************************************/
/***********************************************************************************************/


@media only screen and (max-width: 52em) {

  main { position: relative; min-height: auto; }
  footer { position: inherit; overflow: auto; }
  .outer { display: block; position: inherit; }
  .middle { display: block; }
  .container.index { padding: 2em 0 3em; }
  .howto h4 { width: 80%; margin: 1em auto 2em; line-height: 1.4em}
  .howto h4 span { display: block; }
  .howto .head { font-size: 1.3em; height: 2.4em; }
  .howto .head i { width: auto; margin-top: -.3em; }
  .howto img.icon { height: 1.4em; }
  .howto img.arrow { margin-top: 0; }

  select { padding: 0.45em 0.5em; }

  label { display: none }
  input ::placeholder { color: white; opacity: 0; }
  input :-ms-input-placeholder { color: white; }
  input ::-ms-input-placeholder { color: white; }

  header .site-nav {
      float: none;
      padding: 1em 0 1em 0;
      text-align: right;
      margin: 0;
  }

  header .inline-block-list li {
      margin: 0 1em 0 0;
      display: block;
  }

  .dash_main .main_map_area {
    height: 300px;  
  }

  .dash_cars .normal_window.car .bordered_inner { padding: 1em; }
  .dash_cars .normal_window.car .header {
    margin: -1em -1em 1em;
    padding: 0.5em 1em 0;
  }

  .footercolumns {
    column-count: 2;
    column-gap: 1rem;
    font-size: 1rem;
  }

  .hideondesktop { display: inherit !important; }
  .hideonmobile { display: none !important; }

  h1, .h1 { font-size: 2em; font-weight: 600}
  h2, .h2 { font-size: 1.6em; font-weight: 600}
  h3, .h3 { font-size: 1.4em; font-weight: 400}
  h4, .h4 { font-size: 1.4em; font-weight: 400}
  h5, .h5 { font-size: 1.4em; font-weight: 400}
  h6, .h6 { font-size: 1em; font-weight: 600}
  input, textarea, .create select { font-size: 1.0em; }
  .feedback { font-size: 0.8em; margin-top: -.5em }
  .create select { margin-top: 0.65em; padding: 0.4em 0.5em 0.55em }
  .abutton_bigger { padding: 0.2em 1em; font-size: 1.4rem; }
  .abutton_normal { padding: 0.2em 1em; font-size: 1.2rem; }
  footer { bottom: auto; margin-top: 2rem;}
  footer.index { margin-top: 0 }
  .create .bordered_inner, .join .bordered_inner { padding: 1.5em }
  .break { display: block; }

  .normal_window { border-radius: 12px; }
  .bordered_inner { border-radius: 6px; }

  .stager {
    font-size: 2.5em;
    margin-top: -0.5em;
    float: right;
  }

  /* === INDEX === */

  .bottomline { width: 80% }
  .fulltext { margin-bottom: 2em; max-width: 80% }
  header .logospace { position: absolute; top: 10px; left: 1px }
  /*.home header .site-nav { padding: 1em 0; margin-top: 0 }*/
  .index .grid {
  width: 90%;
  grid-template-columns: 1fr;
  grid-gap: 0;
  row-gap: 1em;
  grid-template-areas:
    "publicbox"
    "createbox";
  }
  .index .grid img {
    width: 50%;
    background: white;
    border-radius: 2em;
    padding: 1em;
    position: relative;
  }

  .publicevents .columns {
      column-count: 1;
  }

  .index .grid h4 { font-size: 1.8em; }

  .index .four {
    margin:auto;
    column-gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
    width: fit-content;
    margin-bottom: 1em;
    max-width: 90%;
  }

  .index .feature img {
    height: 5em;
    width: 5em;
    padding: 1em;
    box-shadow: 0 0 50px var(--vszurke);
  }

  .index .feature  {
    margin-bottom: 1.5em;
  }
  .index .feature div {
    margin-left: 0;
    font-size: 1.2em;
  }

  .index .publicbox, .index .createbox {
    padding: 1.2rem 2rem;
  }
  .container.index h3 { margin-bottom: 2em }

  /* === CREATE === */

    .create.step1, .create.step2, .join.step1, .support.step1, .normal_window.textpages, .support { min-width: 90% }
    .dash_main .normal_window.nocar img, .dash_main .normal_window.noseat img {
      height: 1.5em;
      width: 1.5em;
      margin-top: -0.5em;
    }
    .create .time  { padding-top: 0.5em }
    .create.step1 h3, .create.step1 h3 { margin-top: 0; }
    .create.step1 .grid, .create.step2 .grid, .join.step1 .grid, .support.step1 .grid {
      grid-gap: 0.5rem;
      row-gap: 0.5em;
    }

    .support.step1 { margin-top: 2em }

    .join.step1 .grid {
      grid-template-columns: 1fr;
      grid-template-areas:
        "note"
        "law"
        "buttons"
        "visited";
    }

    .create, .join { margin-top: 2rem }

    .create #EventLogoArea {
      width: 100%;
      padding: 1em 1em;
    }

    .create #EventLogoImage .ImgPlace {
      width: 100%;
      display: block;
      margin: auto;
      margin-bottom: 1em;
    }

    .create #EventLogoImage {
      text-align: center;
    }

    .create #EventLogoImage #imagedel {
      float: none;
    }

  .create.step1 .bordered_inner, .create.step1 #map_area {
    display: block;
  }

  .create.step1 .view {
    height: 300px;
    width: 100%;
  }

  /* === DASH === */

  .dash_cars { width: 90%; min-width: auto }
  .dash_main .normal_window h5 { margin-bottom: .3em; }
  .dash_main { margin-top: 3em; }
  .dash_main .window_icon { left: 1em; }
  .dash_main .normal_window .bordered_inner, .dash_main .normal_window.car .bordered_inner, .dash_main .normal_window.reminderset .bordered_inner, .support .bordered_inner, .normal_window.textpages  .bordered_inner { padding: 1em; }
  .dash_main .info_window .bordered_inner { padding: 2.5em 1.5em 0 1.5em; }
  .dash_main.details .info_window .bordered_inner { padding: 2.5em 1.5em 1em 1.5em; }
  .dash_main .normal_window img, .dash_main .normal_window.add img { height: 2em; margin: 0 }
  .dash_main .normal_window.car .icons {
      font-size: 1em;
      padding: 1.5em 1em 0;
      margin: 0 -1em;
  }
  .dash_main .normal_window.car .icons img { display: block; margin: auto; }
  .dash_main .normal_window.car .icons span.left, .dash_main .normal_window.car .icons span.right   { text-align: center; }
  .dash_main .normal_window.car .abutton.grabaseat {
    position: absolute;
    top: -1.5em;
    right: 1.5em;
    display: block;
  }

  .dash_main .normal_window.car .header {
      margin: -1em -1em 1em;
      padding: 0.5em 1em 0;
  }

  .dash_main .info_window .invite {
      margin-right: 0;
  }

  .dash_main .normal_window.reminderset { font-size: 1em }

  .dash_main .normal_window.add.step1 .grid {
    grid-template-areas:
      "name name"
      "email email"
      "phone phone"
      "info info"
      "buttons buttons";
  }

  .dash_main .normal_window.car.sitin .grid {
    grid-template-areas:
      "name name"
      "email email"
      "phone phone"
      "address address"
      "buttons buttons";
  }

  .notification_area {
    position: fixed;
    top: 0;
  }

  .dash_main .info_window input:read-only { font-size: 0.8em; }

  .dash_main .info_window .inviteLink { margin: .5em 0; }
  .dash_main .info_window .inviteLink a { color: var(--piros); cursor: pointer; }
  .dash_main .info_window .invite { padding: 1em 1em 0 1em; margin: 1em -1.5em 0 -1.5em; }
  .invitetabs { margin: 1em -1em 0 -1em; padding: 1em 0 0 1.5em; }
  .dash_main .info_window .invitetabpages { padding: 1em 1.5em 4em 1.5em; margin: 0 -1em; }

  .dash_main .normal_window.add.step2 input { width: 40% }

  .dash_main .info_wicon img[src*="icon_car"] {
    display: none;
  }

  .dash_main .normal_window.add.step2 p { font-size: 1.2em; /* padding-bottom: 1em; */ }
  .dash_main.details .info_window .pickupdetails .info_wicon { font-size: 1em }

  .dash_main .normal_window .icons .privacymessage {
    color: var(--szurke);
    font-size: .8rem;
    line-height: 110%
  }

  .dash_main .normal_window .icons .privacymessage img.locked {
    height: 22px !important;
    margin: 0 auto 5px auto;
    padding-top: 8px;
  }

  .dash_main .normal_window.car.sitin.step2 .checkcont, .dash_main .normal_window.add.step3 .checkcont { padding-left: 1.8em; }
  .dash_main .normal_window.car.sitin.step2 input[type="checkbox"], .dash_main .normal_window.add.step3 input[type="checkbox"] { margin: .4em .4em 0 -1.4em; }

  ::placeholder {
    color: var(--vszurke);;
    opacity: 1;
  }

  :-ms-input-placeholder {
    color: var(--vszurke);;
  }

  ::-ms-input-placeholder {
    color: var(--vszurke);;
  }

  .create.step1 .grid {
    grid-template-columns: 4fr 3fr;
    grid-template-areas:
      "title title title"
      "location location location"
      "date date date"
      "note note note"
      "type type type"
      "buttons buttons buttons";
  }

  .dash_main {
    min-width: auto;
    width: 90%;
    grid-template-columns: 2fr 2fr;
    grid-gap: 1rem;
    grid-template-areas:
      "left_col left_col"
      "right_col right_col";
  }

  .dash_main.details {
    min-width: auto;
    width: 90%;
    grid-template-areas:
      "detailstop detailstop"
      "left_col left_col"
      "right_col right_col";
  }

  .dash_cars .normal_window.car .header .abutton {
    font-size: 1.2rem;
    margin-top: 0.8em;
    margin-right: -1em;
  }

  .dash_cars .normal_window.car .icons {
    font-size: 1rem;
    padding: 1em 0 0 0;
    grid-template-columns: 1fr 1fr;
  }

  .dash_main .info_window .LogoPlace {
      background-position: top;
      background-repeat: no-repeat;
      background-size: contain;
  }

  .pickupdetails {
    position: relative;
    border-top: 1px solid #a0bdde;
    padding-top: 1em;
    width: auto;
    top: auto;
  }

  .howto .grid {
    grid-template-areas:
      "step_create step_create step_create step_create"
      "step_invite step_invite step_invite step_invite"
      "step_add step_add step_add step_add"
      "step_notify step_notify step_notify step_notify";
    width: 85%
  }

  .howto img.arrow {
    transform: rotate(90deg);
  }

}

/***********************************************************************************************/
/***********************************************************************************************/
/***********************************************************************************************/


@media only screen and (max-width: 1250px) {

  header:not('index') .site-nav {
      float: right;
      padding: 1em 1em 1em 0;
      text-align: right;
  }

  .big_icon {
    width: 7rem;
  }

  .howto .grid {
    grid-template-areas:
      "step_create step_create step_add step_add"
      "step_invite step_invite step_notify step_notify"
  }

  .create.step1 .grid {
    grid-template-columns: 4fr 3fr;
    grid-template-areas:
      "title title title"
      "location location location"
      "date date date"
      "note note note"
      "type type type"
      "buttons buttons buttons";
  }

  .howto .creates img.arrow, .howto .add img.arrow {
    transform: rotate(90deg);
  }

  .howto .invite img.arrow {
    transform: rotate(-45deg);
  }

 /* === CREATE === */

    .create.step1, .create.step2, .join.step1 { width: 80%; }

  /* === DASH === */

    .dash_main {
      min-width: auto;
      width: 90%;
      grid-template-columns: 2fr 2fr;
      grid-gap: 1rem;
      grid-template-areas:
        "left_col left_col"
        "right_col right_col";
      grid-auto-rows: auto;
    }

    .publicevents {
        width: 90%;
    }

    .dash_main.details {
      min-width: auto;
      width: 90%;
      grid-template-areas:
        "detailstop detailstop"
        "left_col left_col"
        "right_col right_col";
    }

    .dash_main .info_window .invite {
      position: relative;
      bottom: auto;
      margin-right: -4em;
      margin-top: 2em;
    }

    .dash_main .normal_window img {
      height: 1em;
    }

    .info_window .bordered_inner {
      height: auto;
    }

    .dash_main .normal_window.add.step2 select[name="time"] {
      padding: 0.45em 0.5em;
    }

    .pickupdetails {
      position: relative;
      border-top: 1px solid #a0bdde;
      padding-top: 1em;
      width: auto;
      top: auto;
    }

    .footercolumns {
      column-count: 4;
      column-gap: 1rem;
      font-size: 1rem;
    }

    .publicevents .columns {
        column-count: 2;
    }    

}

/***********************************************************************************************/
/***********************************************************************************************/
/***********************************************************************************************/


@media only screen and (min-width: 52em) {

  /* === DASH === */

    .dash_main, .dash_cars {
      width: 90%;
    }

    .create.step1 .grid, .create.step2 .grid, .join.step1 .grid, .support.step1 .grid {
      grid-gap: 0.5rem;
      row-gap: 0.5em;
    }

    .dash_main .info_window .invite {
      margin-right: margin-right: -4em;;
    }    

}

/***********************************************************************************************/
/***********************************************************************************************/
/***********************************************************************************************/


@media only screen and (max-width: 52em) {

  /* === DASH === */

    .create.step1 .grid, .create.step2 .grid, .join.step1 .grid, .support.step1 .grid {
      grid-gap: 0.5rem;
      row-gap: 0.5em;
    }

    .dash_main {
      width: 90%;
    }

    .dash_main .info_window .invite {
      margin-right: -1.5em;;
    }

    .howto .grid {
      grid-template-areas:
        "step_create step_create step_create step_create"
        "step_invite step_invite step_invite step_invite"
        "step_add step_add step_add step_add"
        "step_notify step_notify step_notify step_notify";
      width: 90%
    }

    .howto .invite img.arrow {
      transform: rotate(90deg);
    }

    .footercolumns {
      column-count: 2;
      column-gap: 1rem;
      font-size: 1rem;
    }

  .publicevents .columns {
      column-count: 1;
  }

}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/https://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
