@charset "UTF-8";
/* Due to having padding included in the width of elements */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", monospace;
  background-color: #606060;
  color: beige;
}

a {
  color: #ffe6ff;
}

/* Links without underline and popping when hovering. The link itself or its container
must have "no_decor_links" class. */
.popping_link a *:hover {
  -webkit-transform: scale(1.03, 1.03);
  -ms-transform: scale(1.03, 1.03);
  transform: scale(1.03, 1.03);
}

/* Styling for nette flash messages */
div.flash-info {
  color: black;
  background: #FFF9D7;
  border: 1px solid #E2C822;
  padding: 1em;
  margin: 1em 0;
  text-align: center;
}

div.flash-error {
  color: white;
  background: red;
  border: 1px solid #E2C822;
  padding: 1em;
  margin: 1em 0;
  text-align: center;
}

/* For correcting fragment link jumps */
.anchor {
  padding-top: 2rem !important;
}

.no_margin {
  margin: 0;
}

.no_decor_links a {
  text-decoration: none;
  color: inherit;
}

.double_font {
  font-size: 2rem;
}

/* Better set titles by css than by a filter in nette due to &nbsp; for example... 
   If the |noescape filter is used, then using the |upper filter cancels the first
   one.
*/
.upper_title {
  text-transform: uppercase !important;
}

.padding_small {
  padding: 1em;
}

.padding_topbot_small {
  padding: 1em 0 1em 0;
}

.padding_leftright_small {
  padding: 0 1em 0 1em;
}

.center_text {
  text-align: center;
}

.flex_center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.left_text {
  text-align: left;
}

.wide_text {
  letter-spacing: 4px;
}

.flex_br {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  height: 0;
}

.container {
  position: relative;
}

.iframe_container_fc_akce {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  padding-top: 80vh;
  margin-left: auto;
  margin-right: auto;
}

/* Následující dvě položky jsou kvůli videu o stresu. Udělají mi responzivní
iframe o velikosti 16:9 */
.iframe_container_16_9 {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Backround not visible on the presentation page. This file does not load
on the presentation page. 
.headline, .headline_substitute, .headline_substitute_center {
    background: linear-gradient(to bottom, #00284d -1%, grey 100%);    
}

nav {
    background: linear-gradient(to bottom, #00284d 0%, #00284d 25%); 
}*/
main {
  min-height: 70vh;
}

#habits {
  padding-bottom: 2rem;
  background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/c_fit,w_1920/v1601239552/ZZ_web/20200927_175752_zptrj5.jpg");
  background-repeat: no-repeat;
  background-position: 30% 40%;
  background-size: cover;
  width: 100%;
  background-attachment: fixed;
}

#habits_overlay {
  padding: 5vw 2rem;
}

.section-container {
  padding-top: 5vw;
}

.flex_section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.grid_section {
  display: grid;
}

.grid_2_col {
  grid-template-columns: auto auto;
}

.grid_col_wrap {
  grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
}

.grid_row_gap_50 {
  grid-row-gap: 50px;
}

.portrait_photo_small {
  width: 250px;
  height: auto;
  -webkit-box-flex: 0 !important;
  -ms-flex-positive: 0 !important;
  flex-grow: 0 !important;
}

.portrait_photo_medium {
  width: 400px;
  height: auto;
  -webkit-box-flex: 0 !important;
  -ms-flex-positive: 0 !important;
  flex-grow: 0 !important;
}

.portrait_photo_big {
  width: 600px;
  height: auto;
  -webkit-box-flex: 0 !important;
  -ms-flex-positive: 0 !important;
  flex-grow: 0 !important;
}

.team_member_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.img_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

/* For old carousel
.img_carousel_container {
    height: 100%;
}

.img_carousel_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/
.img_container img {
  max-width: 100%;
}

section.sec_accordion {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  width: 90%;
  height: 8rem;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.accordion_butt {
  background-color: transparent;
  cursor: pointer;
  width: 100%;
  height: 8rem;
  text-align: left;
  border: none;
  outline: none;
  padding: 18px;
  color: beige;
  font-size: 2vmax;
}

.progress_bg {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 90%;
}

.pg_img_01 {
  background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/c_crop,h_320,w_1355,y_207/c_mfit,h_1275,w_1920/v1600668787/ZZ_web/kz23j2dr_ykfkqz_ark8fu.jpg");
}

.pg_img_02 {
  background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/c_fit,w_1920/c_crop,h_360,w_1920/v1597496882/ZZ_web/food_broccoli_mushroom_vhlywd_f6kkve.jpg");
}

.pg_img_03 {
  background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/c_fit,w_1920/c_crop,h_360,w_1920,y_823/v1593202314/ZZ_web/marcin-skalij-VrT9KGs6WCU-unsplash_nfddh6.jpg");
}

.pg_img_04 {
  background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/s--5evbRX1Z--/c_fit,w_1920/c_crop,h_360,w_1920,y_793/v1601981677/ZZ_web/adomas-aleno-500-Zdak5wI-unsplash_yh8qie.jpg");
}

.pg_img_05 {
  background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/s--R6eX8vQy--/c_fit,w_1920/c_crop,h_360,w_1920/v1601969069/ZZ_web/Forex_Money_for_Exchange_in_Currency_Bank_nc6b1v.jpg");
}

.progress_overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
/*.active, .accordion:hover {
    background-color: #ccc;
}*/
/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: #404040;
  display: none;
  overflow: hidden;
  width: 90%;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
}

main {
  /* align-content: space-between;*/
  margin-left: 130px;
  margin-right: 30px;
  margin-bottom: 2em;
}

section#event {
  background-color: lavender;
  color: #00284d;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.sec_left_align {
  margin-left: 130px;
  padding: 16px;
}

.sec_right {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.sec_left img {
  /* Je nutno nastavit všem itemům ve flexboxu nějakou šířku, pokud se mají nějak rozumně wrapovat...asi, protože dokud jsem to neudělal, nefungovalo to. */
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-item-align: start;
  align-self: flex-start;
}

.sec_right img {
  /* Je nutno nastavit všem itemům ve flexboxu nějakou šířku, pokud se mají nějak rozumně wrapovat...asi, protože dokud jsem to neudělal, nefungovalo to. */
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-item-align: start;
  align-self: flex-start;
}

.section-title-left {
  margin-right: auto;
  width: 100%;
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  /* Explanation in media 675px */
}

.section-title-right {
  display: block;
  margin-left: 50%;
  width: 100%;
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  /* Explanation in media 675px */
}

.section_item {
  padding: 1em;
}

/* Mainly for sections and image containers to spread at most to the half of
the page. */
.hor_half {
  max-width: 50%;
}

/* Kvůli zachování proporcí obrázků. Jinak, když jsou jako item ve flexu,
tak se rozprcnou po celé ploše prvku flexboxu. */
/*img-wrapper {
    width: 100%;    
}*/
.section-content {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

section img {
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  /* Always second */
}

/* For the finclub crossroad page */
.finclub_bkg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
}
.finclub_bkg h1, .finclub_bkg h2, .finclub_bkg h3, .finclub_bkg h4, .finclub_bkg h5, .finclub_bkg h6 {
  font-weight: normal;
}

.finclub_bkg > div {
  background: rgba(0, 0, 0, 0.5);
  padding: 1em;
}

.finclub_bkg a *:hover {
  -webkit-transform: scale(1.01, 1.01);
  -ms-transform: scale(1.01, 1.01);
  transform: scale(1.01, 1.01);
}

/* Carousel (display: flex, jelikož je součástí section)*/
.article-carousel {
  background-color: lightgray;
  color: #4c5151;
  padding: 1em;
  /* flex-wrap: wrap; */
}

.article-carousel li.is-active .splide__slide__container {
  border-style: solid;
  border-width: 3px;
  border-color: #66d9ff;
}

/* To place arrows in the middle of the images vertically instead of the root 
   element. Overrides values in splide.min.css. */
.splide__arrow {
  top: 35% !important;
  -webkit-transform: translate(0, -35%) !important;
  -ms-transform: translate(0, -35%) !important;
  transform: translate(0, -35%) !important;
}

/*
.carousel-item {
    background-color: grey;
    padding: 0.5rem;
    flex: 1;
    width: 0;
    display: flex;
    flex-direction: column;
}


.carousel-item a {
    color: beige;
    text-decoration: none;
    flex: 1 0 0;
}

.carousel-item a:hover {
    text-decoration: underline;
}

.carousel-item a .img, .carousel-item a .img:hover {
    text-decoration: none;
}

.carousel_title {
    height: 13%;
    overflow: hidden;
}*/
/* Footer */
footer {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
}

.footer-block {
  padding: 1em;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

footer a {
  color: beige;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.disclaimer {
  font-size: 0.75rem;
}

/* Modal window on events page */
/* Background of the modal window - whole page dimmed */
.modal {
  z-index: 3;
  display: none;
  padding-top: 100px;
  /* Udělat dynamicky v závislosti na navbaru? */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #00284d;
  background-color: rgba(0, 40, 77, 0.4);
}

/* Modal window itself */
.modal-content {
  margin: auto;
  background-color: #00284d;
  position: relative;
  outline: 0;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
}

.modal-content input[type=text], .modal-content input[type=email], .modal-content .btn {
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
  width: 100%;
  border: solid 1px beige;
  color: beige;
}

.modal-content input[type=text], .modal-content input[type=email] {
  background-color: #00284d;
}

.modal-content .btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #006AEB;
  border-radius: 5px;
}

.modal-content .btn:hover {
  background-color: #0074d9;
}

.closebtn {
  text-decoration: none;
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: inherit;
  cursor: pointer;
}

.animate-top {
  position: relative;
  -webkit-animation: animatetop 0.4s;
  animation: animatetop 0.4s;
}

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.card-8 {
  -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

/* Forms and stuff - sesitModule */
.pau_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.pau_form, .pau_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.pau_form {
  text-align: left;
}

.pau_list {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.pau_list_resume {
  font-weight: bold;
  text-align: left;
}

.flex_column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.pau_sesit_table th {
  padding: 0.5em;
  text-align: left;
}

.pau_sesit_table td {
  padding: 0.5em;
  text-align: center;
}

td .left_text {
  text-align: left;
}

.left_text_th th {
  text-align: left;
}

/* Display size show/hide - show less columns on smaller screens */
.disp_size_s_h {
  display: table-cell;
}

/* Simple spam security */
.email2 {
  display: none;
}

/* Settings for widths and heights of article edit form fields. */
[name*=secContent] {
  width: 70vw;
  height: 16vmax;
}

[name=title], [name=subtitle], [name*=secTitle], [name*=secSubTitle] {
  width: 50vw;
}

[name*=secImage], [name*=secImageAlt] {
  width: 70vw;
}

[name^=secImageThumb] {
  width: 200px;
  cursor: default;
}

.img_thumb_gallery {
  max-height: 200px;
  width: 200px;
}

.img_thumb_gallery img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media only screen and (max-width: 877px) {
  .section-title-right {
    margin-left: auto;
  }

  .accordion_butt {
    font-size: 3vmax;
  }
}
@media only screen and (max-width: 675px) {
  #habits {
    height: 72vh;
  }

  .article-carousel li.is-active .splide__slide__container {
    border: none;
  }

  /* (disabled when splide is used) .article-carousel {
  /* flex-wrap: wrap; */
  /*
  @include flex_column;
     }
     /* To display an article preview at maximum height 250px and make it a flex container
        for its contents */
  /*
     .carousel-item {
  display: flex;
  width: auto;
  flex-direction: row;
     }

     .carousel_title {
  max-width: 50%;
  padding: 0.5rem;
     }*/
  /* On small display show the footer as a column */
  footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  /* To make the thumbnail section of an article preview be only 50 % wide and
  leave enough space for text section. Don't know why it is not automatic, as
  it is flex... */
  .carousel-item a {
    width: 50%;
    -webkit-box-flex: unset;
    -ms-flex: unset;
    flex: unset;
  }

  .img_carousel_container {
    height: 100%;
  }

  .img_carousel_container img {
    width: 250px;
    height: 250px;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .accordion, .panel {
    width: 100%;
  }

  .accordion, .accordion_butt {
    height: 4rem;
  }

  .section-title-left {
    -webkit-box-ordinal-group: -1;
    -ms-flex-order: -2;
    order: -2;
    /* Always first just before the image which has -1 */
    padding-left: 1rem;
  }

  .section-title-right {
    -webkit-box-ordinal-group: -1;
    -ms-flex-order: -2;
    order: -2;
    /* Always first just before the image which has -1 */
    padding-left: 1rem;
  }

  section img {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    /* Always second */
    max-width: 100%;
  }

  .section_item {
    max-width: 100%;
  }

  .team_member_box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .grid_col_wrap {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }

  .team_member_box a {
    -ms-flex-item-align: center;
    align-self: center;
  }

  .portrait_photo_medium {
    width: 250px;
    height: auto;
    -webkit-box-flex: 0 !important;
    -ms-flex-positive: 0 !important;
    flex-grow: 0 !important;
  }

  .portrait_photo_big {
    width: 400px;
    height: auto;
    -webkit-box-flex: 0 !important;
    -ms-flex-positive: 0 !important;
    flex-grow: 0 !important;
  }

  section.sec_accordion {
    padding: 0 1em 0 1em;
  }

  .pg_img_01 {
    background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/c_fit,w_680/c_crop,h_120,w_680,y_110/v1600668787/ZZ_web/kz23j2dr_ykfkqz_ark8fu.jpg");
  }

  .pg_img_02 {
    background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/c_fit,w_680/c_crop,h_120,w_680/v1597496882/ZZ_web/food_broccoli_mushroom_vhlywd_f6kkve.jpg");
  }

  .pg_img_03 {
    background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/c_fit,w_680/c_crop,h_120,w_680,x_0,y_285/v1593202314/ZZ_web/marcin-skalij-VrT9KGs6WCU-unsplash_nfddh6.jpg");
  }

  .pg_img_04 {
    background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/s--B5Az7FRN--/c_fit,w_680/c_crop,h_120,w_680/v1601981677/ZZ_web/adomas-aleno-500-Zdak5wI-unsplash_yh8qie.jpg");
  }

  .pg_img_05 {
    background-image: url("https://res.cloudinary.com/dclsn3dop/image/upload/c_fit,w_680/c_crop,h_120,w_680/v1601969069/ZZ_web/Forex_Money_for_Exchange_in_Currency_Bank_nc6b1v.jpg");
  }

  /* Display size show/hide - show less columns in sesitModule on smaller screens */
  .disp_size_s_h {
    display: none;
  }

  .pau_sesit_table th {
    padding: 0.2em;
    text-align: left;
  }

  .pau_sesit_table td {
    padding: 0.2em;
    text-align: left;
  }
}
@media (hover: none) {
  .touch_links a {
    text-decoration: underline;
  }

  .isDisabled {
    color: currentColor;
    /*display: inline-block;  /* For IE11/ MS Edge bug */
    pointer-events: none;
  }
}
