/* =====================
   Tables
   ===================== */
table {
  float: none;
  empty-cells: show;
  border-collapse: collapse;
  border-spacing: 0;
  border: 0;
  position: relative;
}

table:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border: 1px solid currentColor;
  opacity: .2;
}

table th {
  font-weight: 700;
}

table td,
table th {
  position: relative;
  background-color: transparent;
  border-width: 0;
  font-size: inherit;
  margin: 0;
  overflow: visible;
  padding: .5em 1em;
}

table td:after,
table th:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: calc(100% - 1px);
  z-index: -1;
  border: 1px solid currentColor;
  border-right: 0;
  border-top: 0;
  opacity: .2;
}

table td:first-child:after,
table th:first-child:after {
  border-left: 0;
  width: calc(100% - 1px);
  left: 1px;
}

table tr:last-child > td:after {
  border-bottom: 0;
}

/* Fake table (display: table helpers) */
.fake-table { display: table; table-layout: fixed; width: 100%; }
.fake-table * { border-color: inherit; }
.fake-thead { display: table-header-group; }
.fake-tbody { display: table-row-group; }
.fake-tfoot { display: table-footer-group; }
.fake-th,
.fake-tr { display: table-row; }
.fake-td {
  display: table-cell;
  vertical-align: middle;
  border-left-width: 1px;
  border-left-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
}
.fake-tbody:first-child .fake-tr:first-child .fake-td,
.fake-tfoot:first-child .fake-tr:first-child .fake-td,
.fake-thead:first-child .fake-tr:first-child .fake-td { border-top: 0; }
.fake-td:first-of-type { border-left: none; }

/* =====================
   Keyframes
   ===================== */
@keyframes s_spin {
  0% { transform: rotate(0deg); }
  to { transform: rotate(1turn); }
}

@keyframes fade-in {
  0% { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-out {
  0% { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slide-down {
  0% { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 60% { transform: translate3d(-3px, 0, 0); }
  45% { transform: translate3d(3px, 0, 0); }
}

/* =====================
   Socials
   ===================== */
.component-socials { min-width: 32px; min-height: 32px; }

.component-socials .socials-wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.component-socials.right .socials-wrap {
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.component-socials.center .socials-wrap,
.component-socials a {
  -ms-flex-pack: center;
  justify-content: center;
}

.component-socials a {
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 13px;
  margin: .3em;
  width: 2.462em;
  height: 2.462em;
  color: inherit;
  text-decoration: none;
  text-align: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  transition: all .2s ease-out;
}

@media (max-width: 767px) {
  .component-socials a { font-size: 15px; }
}

.component-socials a:hover { color: inherit; }

.component-socials a:before {
  content: "";
  display: block;
  border-radius: 50%;
  opacity: 0;
  border: .063em solid currentColor;
  background: transparent;
  position: absolute;
  z-index: 0;
  top: -1px;
  left: -1px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: all .2s ease-out;
}

.component-socials a svg {
  position: relative;
  z-index: 1;
  width: 1.25em;
  height: 1em;
  display: block;
  fill: currentColor;
}

/* Styles: squared_color_fill */
.component-socials[data-style=squared_color_fill] a { width: 26px; height: 22px; padding: 0; }
.component-socials[data-style=squared_color_fill] a:before { border-radius: 3px; }

/* Styles: clean / clean_color */
.component-socials[data-style=clean] a,
.component-socials[data-style=clean_color] a { opacity: .5; }

.component-socials[data-style=clean] a:hover,
.component-socials[data-style=clean_color] a:hover { opacity: 1; }

.component-socials[data-style=clean] a:hover:before,
.component-socials[data-style=clean_color] a:hover:before { opacity: .15; }

/* Styles: rounded / rounded_color / squared / squared_color */
.component-socials[data-style=rounded] a:before,
.component-socials[data-style=rounded_color] a:before,
.component-socials[data-style=squared] a:before,
.component-socials[data-style=squared_color] a:before {
  opacity: .25;
  background: transparent;
}

.component-socials[data-style=rounded] a:hover,
.component-socials[data-style=rounded_color] a:hover,
.component-socials[data-style=squared] a:hover,
.component-socials[data-style=squared_color] a:hover { opacity: 1; }

.component-socials[data-style=rounded] a:hover:before,
.component-socials[data-style=rounded_color] a:hover:before,
.component-socials[data-style=squared] a:hover:before,
.component-socials[data-style=squared_color] a:hover:before { background: currentColor; }

.component-socials[data-style=squared] a:before,
.component-socials[data-style=squared_color] a:before { border-radius: 0; }

/* Clean_color brand colors */
.component-socials[data-style=clean_color] .social-vk { color: #4c6c91; }
.component-socials[data-style=clean_color] .social-fb { color: #3b5998; }
.component-socials[data-style=clean_color] .social-twitter { color: #55acee; }
.component-socials[data-style=clean_color] .social-ok { color: #f68634; }
.component-socials[data-style=clean_color] .social-gplus { color: #dc4e41; }
.component-socials[data-style=clean_color] .social-instagram { color: #bd2c98; }
.component-socials[data-style=clean_color] .social-yt { color: #ce1312; }
.component-socials[data-style=clean_color] .social-vimeo { color: #31afd8; }
.component-socials[data-style=clean_color] .social-snapchat { color: #ffe400; }
.component-socials[data-style=clean_color] .social-whatsapp { color: #00eb67; }
.component-socials[data-style=clean_color] .social-telegram { color: #37aee2; }
.component-socials[data-style=clean_color] .social-periscope { color: #1b3b6b; }
.component-socials[data-style=clean_color] .social-viber { color: #7f4da0; }
.component-socials[data-style=clean_color] .social-behance { color: #1769ff; }
.component-socials[data-style=clean_color] .social-dribble { color: #f26798; }
.component-socials[data-style=clean_color] .social-skype { color: #00aef3; }
.component-socials[data-style=clean_color] .social-p { color: #bd071c; }

/* Rounded/squared_color hover fills */
.component-socials[data-style=rounded_color] a:hover,
.component-socials[data-style=squared_color] a:hover { color: #fff; }

.component-socials[data-style=rounded_color] a:before,
.component-socials[data-style=squared_color] a:before { opacity: 1; }

/* Per-network colors (rounded_color & squared_color) */
.component-socials[data-style=rounded_color] .social-vk,
.component-socials[data-style=squared_color] .social-vk { color: #4c6c91; }
.component-socials[data-style=rounded_color] .social-vk:before,
.component-socials[data-style=squared_color] .social-vk:before { border-color: #4c6c91; }
.component-socials[data-style=rounded_color] .social-vk:hover:before,
.component-socials[data-style=squared_color] .social-vk:hover:before { background: #4c6c91; }

.component-socials[data-style=rounded_color] .social-fb,
.component-socials[data-style=squared_color] .social-fb { color: #3b5998; }
.component-socials[data-style=rounded_color] .social-fb:before,
.component-socials[data-style=squared_color] .social-fb:before { border-color: #3b5998; }
.component-socials[data-style=rounded_color] .social-fb:hover:before,
.component-socials[data-style=squared_color] .social-fb:hover:before { background: #3b5998; }

.component-socials[data-style=rounded_color] .social-twitter,
.component-socials[data-style=squared_color] .social-twitter { color: #55acee; }
.component-socials[data-style=rounded_color] .social-twitter:before,
.component-socials[data-style=squared_color] .social-twitter:before { border-color: #55acee; }
.component-socials[data-style=rounded_color] .social-twitter:hover:before,
.component-socials[data-style=squared_color] .social-twitter:hover:before { background: #55acee; }

.component-socials[data-style=rounded_color] .social-ok,
.component-socials[data-style=squared_color] .social-ok { color: #f68634; }
.component-socials[data-style=rounded_color] .social-ok:before,
.component-socials[data-style=squared_color] .social-ok:before { border-color: #f68634; }
.component-socials[data-style=rounded_color] .social-ok:hover:before,
.component-socials[data-style=squared_color] .social-ok:hover:before { background: #f68634; }

.component-socials[data-style=rounded_color] .social-gplus,
.component-socials[data-style=squared_color] .social-gplus { color: #dc4e41; }
.component-socials[data-style=rounded_color] .social-gplus:before,
.component-socials[data-style=squared_color] .social-gplus:before { border-color: #dc4e41; }
.component-socials[data-style=rounded_color] .social-gplus:hover:before,
.component-socials[data-style=squared_color] .social-gplus:hover:before { background: #dc4e41; }

.component-socials[data-style=rounded_color] .social-instagram,
.component-socials[data-style=squared_color] .social-instagram { color: #b900b4; }
.component-socials[data-style=rounded_color] .social-instagram:before,
.component-socials[data-style=squared_color] .social-instagram:before { border-color: #b900b4; }
.component-socials[data-style=rounded_color] .social-instagram:hover:before,
.component-socials[data-style=squared_color] .social-instagram:hover:before {
  background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
  border-color: transparent;
}

.component-socials[data-style=rounded_color] .social-yt,
.component-socials[data-style=squared_color] .social-yt { color: #ce1312; }
.component-socials[data-style=rounded_color] .social-yt:before,
.component-socials[data-style=squared_color] .social-yt:before { border-color: #ce1312; }
.component-socials[data-style=rounded_color] .social-yt:hover:before,
.component-socials[data-style=squared_color] .social-yt:hover:before { background: #ce1312; }

.component-socials[data-style=rounded_color] .social-vimeo,
.component-socials[data-style=squared_color] .social-vimeo { color: #31afd8; }
.component-socials[data-style=rounded_color] .social-vimeo:before,
.component-socials[data-style=squared_color] .social-vimeo:before { border-color: #31afd8; }
.component-socials[data-style=rounded_color] .social-vimeo:hover:before,
.component-socials[data-style=squared_color] .social-vimeo:hover:before { background: #31afd8; }

.component-socials[data-style=rounded_color] .social-snapchat,
.component-socials[data-style=squared_color] .social-snapchat { color: #ffe400; }
.component-socials[data-style=rounded_color] .social-snapchat:before,
.component-socials[data-style=squared_color] .social-snapchat:before { border-color: #ffe400; }
.component-socials[data-style=rounded_color] .social-snapchat:hover:before,
.component-socials[data-style=squared_color] .social-snapchat:hover:before { background: #ffe400; }

.component-socials[data-style=rounded_color] .social-whatsapp,
.component-socials[data-style=squared_color] .social-whatsapp { color: #00eb67; }
.component-socials[data-style=rounded_color] .social-whatsapp:before,
.component-socials[data-style=squared_color] .social-whatsapp:before { border-color: #00eb67; }
.component-socials[data-style=rounded_color] .social-whatsapp:hover:before,
.component-socials[data-style=squared_color] .social-whatsapp:hover:before { background: #00eb67; }

.component-socials[data-style=rounded_color] .social-telegram,
.component-socials[data-style=squared_color] .social-telegram { color: #37aee2; }
.component-socials[data-style=rounded_color] .social-telegram:before,
.component-socials[data-style=squared_color] .social-telegram:before { border-color: #37aee2; }
.component-socials[data-style=rounded_color] .social-telegram:hover:before,
.component-socials[data-style=squared_color] .social-telegram:hover:before { background: #37aee2; }

.component-socials[data-style=rounded_color] .social-periscope,
.component-socials[data-style=squared_color] .social-periscope { color: #1b3b6b; }
.component-socials[data-style=rounded_color] .social-periscope:before,
.component-socials[data-style=squared_color] .social-periscope:before { border-color: #1b3b6b; }
.component-socials[data-style=rounded_color] .social-periscope:hover:before,
.component-socials[data-style=squared_color] .social-periscope:hover:before { background: #1b3b6b; }

.component-socials[data-style=rounded_color] .social-viber,
.component-socials[data-style=squared_color] .social-viber { color: #7f4da0; }
.component-socials[data-style=rounded_color] .social-viber:before,
.component-socials[data-style=squared_color] .social-viber:before { border-color: #7f4da0; }
.component-socials[data-style=rounded_color] .social-viber:hover:before,
.component-socials[data-style=squared_color] .social-viber:hover:before { background: #7f4da0; }

.component-socials[data-style=rounded_color] .social-behance,
.component-socials[data-style=squared_color] .social-behance { color: #1769ff; }
.component-socials[data-style=rounded_color] .social-behance:before,
.component-socials[data-style=squared_color] .social-behance:before { border-color: #1769ff; }
.component-socials[data-style=rounded_color] .social-behance:hover:before,
.component-socials[data-style=squared_color] .social-behance:hover:before { background: #1769ff; }

.component-socials[data-style=rounded_color] .social-dribble,
.component-socials[data-style=squared_color] .social-dribble { color: #f26798; }
.component-socials[data-style=rounded_color] .social-dribble:before,
.component-socials[data-style=squared_color] .social-dribble:before { border-color: #f26798; }
.component-socials[data-style=rounded_color] .social-dribble:hover:before,
.component-socials[data-style=squared_color] .social-dribble:hover:before { background: #f26798; }

.component-socials[data-style=rounded_color] .social-skype,
.component-socials[data-style=squared_color] .social-skype { color: #00aef3; }
.component-socials[data-style=rounded_color] .social-skype:before,
.component-socials[data-style=squared_color] .social-skype:before { border-color: #00aef3; }
.component-socials[data-style=rounded_color] .social-skype:hover:before,
.component-socials[data-style=squared_color] .social-skype:hover:before { background: #00aef3; }

.component-socials[data-style=rounded_color] .social-p,
.component-socials[data-style=squared_color] .social-p { color: #bd071c; }
.component-socials[data-style=rounded_color] .social-p:before,
.component-socials[data-style=squared_color] .social-p:before { border-color: #bd071c; }
.component-socials[data-style=rounded_color] .social-p:hover:before,
.component-socials[data-style=squared_color] .social-p:hover:before { background: #bd071c; }

/* Filled variants */
.component-socials[data-style=rounded_color_fill] a,
.component-socials[data-style=squared_color_fill] a { color: #fff; }

.component-socials[data-style=rounded_color_fill] a:hover:before,
.component-socials[data-style=squared_color_fill] a:hover:before { opacity: .75; }

.component-socials[data-style=rounded_color_fill] a:before,
.component-socials[data-style=squared_color_fill] a:before { opacity: 1; }

.component-socials[data-style=rounded_color_fill] .social-vk:before,
.component-socials[data-style=squared_color_fill] .social-vk:before { border-color: #4c6c91; background: #4c6c91; }

.component-socials[data-style=rounded_color_fill] .social-fb:before,
.component-socials[data-style=squared_color_fill] .social-fb:before { border-color: #3b5998; background: #3b5998; }

.component-socials[data-style=rounded_color_fill] .social-twitter:before,
.component-socials[data-style=squared_color_fill] .social-twitter:before { border-color: #55acee; background: #55acee; }

.component-socials[data-style=rounded_color_fill] .social-ok:before,
.component-socials[data-style=squared_color_fill] .social-ok:before { border-color: #f68634; background: #f68634; }

.component-socials[data-style=rounded_color_fill] .social-gplus:before,
.component-socials[data-style=squared_color_fill] .social-gplus:before { border-color: #dc4e41; background: #dc4e41; }

.component-socials[data-style=rounded_color_fill] .social-instagram:before,
.component-socials[data-style=squared_color_fill] .social-instagram:before {
  background: radial-gradient(circle at 33% 100%, #fed373 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border: none;
}

.component-socials[data-style=rounded_color_fill] .social-yt:before,
.component-socials[data-style=squared_color_fill] .social-yt:before { border-color: #ce1312; background: #ce1312; }

.component-socials[data-style=rounded_color_fill] .social-vimeo:before,
.component-socials[data-style=squared_color_fill] .social-vimeo:before { border-color: #31afd8; background: #31afd8; }

.component-socials[data-style=rounded_color_fill] .social-snapchat:before,
.component-socials[data-style=squared_color_fill] .social-snapchat:before { border-color: #ffe400; background: #ffe400; }

.component-socials[data-style=rounded_color_fill] .social-whatsapp:before,
.component-socials[data-style=squared_color_fill] .social-whatsapp:before { border-color: #00eb67; background: #00eb67; }

.component-socials[data-style=rounded_color_fill] .social-telegram:before,
.component-socials[data-style=squared_color_fill] .social-telegram:before { border-color: #37aee2; background: #37aee2; }

.component-socials[data-style=rounded_color_fill] .social-periscope:before,
.component-socials[data-style=squared_color_fill] .social-periscope:before { border-color: #1b3b6b; background: #1b3b6b; }

.component-socials[data-style=rounded_color_fill] .social-viber:before,
.component-socials[data-style=squared_color_fill] .social-viber:before { border-color: #7f4da0; background: #7f4da0; }

.component-socials[data-style=rounded_color_fill] .social-behance:before,
.component-socials[data-style=squared_color_fill] .social-behance:before { border-color: #1769ff; background: #1769ff; }

.component-socials[data-style=rounded_color_fill] .social-dribble:before,
.component-socials[data-style=squared_color_fill] .social-dribble:before { border-color: #f26798; background: #f26798; }

.component-socials[data-style=rounded_color_fill] .social-skype:before,
.component-socials[data-style=squared_color_fill] .social-skype:before { border-color: #00aef3; background: #00aef3; }

.component-socials[data-style=rounded_color_fill] .social-p:before,
.component-socials[data-style=squared_color_fill] .social-p:before { border-color: #bd071c; background: #bd071c; }

/* =====================
   Map
   ===================== */
.component-map { width: 100%; }

.component-map[data-format=overlay] {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  padding-bottom: 0 !important;
}

.component-map[data-format=element] {
  position: relative;
  padding-bottom: 50%;
}

.component-map .map {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, .07);
}

.component-map .gm-style-cc { display: none; }

/* =====================
   Video
   ===================== */
.component-video { position: relative; padding-bottom: 56.5%; }

.component-video .video-wrapper {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  position: inherit;
  overflow: hidden;
  background-color: #000;
}

.component-video .video-preview {
  display: none;
  position: absolute;
  z-index: 1;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.component-video[data-state=play] .video-preview { pointer-events: none; }

.component-video embed,
.component-video iframe,
.component-video object { width: 100%; height: 100%; }

/* =====================
   Slider
   ===================== */
.swiper-container-autoheight .slide,
.swiper-container-autoheight .swiper-slide { height: auto; }

.swiper-container-autoheight .slider-wrapper,
.swiper-container-autoheight .swiper-wrapper {
  -ms-flex-align: start;
  align-items: flex-start;
  transition-property: transform, height;
}

.component-slider { position: relative; padding-bottom: 100%; color: #fff; }

.component-slider[data-img-type=image] { padding-bottom: 0; position: relative; }
.component-slider[data-img-type=image] .slider-wrapper { position: relative; }
.component-slider[data-img-type=image] .slider-wrapper .slider-item { height: auto; }
.component-slider[data-img-type=image] .component-image { padding-bottom: 0; }
.component-slider[data-img-type=image] .component-video { padding-bottom: 56%; }
.component-slider[data-img-type=image] .component-video .video-wrapper { position: absolute; }

.component-slider:not([data-img-type=image]) .component-image,
.component-slider:not([data-img-type=image]) .component-video {
  width: 100%;
  padding-bottom: 0 !important;
  height: 100%;
}

.component-slider .slider-wrapper {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
}

.component-slider .slider {
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -ms-flex-align: start;
  align-items: flex-start;
}

.component-slider .slider .slider-item {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.component-slider .slider-pagination {
  width: 100%;
  position: absolute;
  z-index: 2;
  bottom: 30px;
  opacity: 1;
  transition: opacity .2s ease-out, transform .35s ease-out;
}

@media (max-width: 767px) {
  .component-slider .slider-pagination { bottom: 15px; }
}

.component-slider .fraction-pagination {
  font-weight: 700;
  font-size: 13px;
  bottom: 10px;
}

.component-slider[data-current-content=video] .slider-pagination {
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px);
}

.component-slider[data-current-content=video] .slider-button { pointer-events: none; }
.component-slider[data-current-content=video] .slider-button span { pointer-events: all; }

/* Pagination bullets */
.slider-pagination {
  max-width: 100%;
  overflow: hidden;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 6px 0;
  margin: 16px 0 -3px;
}

.slider-pagination .swiper-pagination-bullet {
  pointer-events: all;
  width: 8px;
  min-width: 3px;
  opacity: .3;
  margin: 0 6px;
  cursor: pointer;
  transition: transform .35s ease-out, opacity .2s;
}

.slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  transform: scale(1.25);
  opacity: 1;
}

.slider-pagination .swiper-pagination-bullet:before {
  display: block;
  content: "";
  width: 100%;
  padding-bottom: 100%;
  background: currentColor;
  border-radius: 50%;
}

/* Slider buttons */
.slider-button {
  text-align: center;
  cursor: pointer;
  padding: 0 20px;
  position: absolute;
  z-index: 4;
  top: 0;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.slider-button.slider-prev { left: 0; }
.slider-button.slider-next { right: 0; }

.slider-button.swiper-button-disabled span {
  opacity: .07;
  cursor: default;
}

.slider-button span {
  display: inline-block;
  width: 40px;
  height: 40px;
  opacity: .3;
  will-change: opacity;
  transition: opacity .35s ease-out, visibility .35s ease-out;
}

.slider-button:not(.swiper-button-disabled):hover span { opacity: 1; }
.slider-button.round span { border-radius: 50%; border: 2px solid currentColor; }

@media (max-width: 767px) {
  .slider-button { top: 50px; height: calc(100% - 100px); }
  .slider-button.slider-prev { padding-left: 10px; }
  .slider-button.slider-next { padding-right: 10px; }
}

/* =====================
   Quiz
   ===================== */
.component-quiz { width: 100%; }

.component-quiz .quiz-steps {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: 0;
}

.component-quiz .steps-wrapper {
  position: relative;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.component-quiz .step,
.component-quiz .steps-wrapper {
  width: 100%;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.component-quiz .step {
  position: absolute;
  left: 0;
  -ms-flex-flow: column;
  flex-flow: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .35s ease;
}

.component-quiz .step.active {
  visibility: visible;
  position: relative;
  opacity: 1;
  pointer-events: all;
}

.component-quiz .step.prev { transform: translateY(-50px); }
.component-quiz .step.next { transform: translateY(50px); }

.component-quiz .step-fields { width: 100%; position: relative; z-index: 1; }

.component-quiz .step-title {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: .35px;
  margin-bottom: 50px;
  text-align: center;
}

.component-quiz .quiz-actions {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 50px;
  max-width: 100%;
}

.component-quiz .quiz-actions .component-button {
  font-size: 16px;
  font-weight: 400;
  margin-right: 10px;
  margin-left: 10px;
}

.component-quiz .quiz-actions .component-button:first-child { margin-left: 0; }
.component-quiz .quiz-actions .component-button:last-child { margin-right: 0; }

.component-quiz .quiz-actions .component-button .btn-content { padding: 19px 20px 17px; }

.component-quiz .policy-data-warning { text-align: center; margin-top: 20px; opacity: .5; }

.component-quiz .field { max-width: 750px; margin: 0 auto 30px; }
.component-quiz .field[data-type=image] { max-width: 100%; }
.component-quiz .field:last-child { margin-bottom: 0; }

.component-quiz .field .error {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 34px;
  background: #ffe1df;
  color: #ff6b61;
  font-size: 12px;
  line-height: 20px;
  padding: 6px 20px 8px;
  border-radius: 0 0 3px 3px;
  transition: all .35s ease;
  opacity: 0;
  transform: translateY(-10px);
  z-index: 0;
}

.component-quiz .field.is_error .form-field { animation: shake .5s ease 1 both .2s; }

.component-quiz .field.is_error .form-field-text-input {
  border: 1px solid #ffe1df;
  border-bottom: 0;
  position: relative;
  border-radius: 3px 3px 0 0;
  z-index: 1;
}

.component-quiz .field.is_error .error { pointer-events: all; opacity: 1; transform: translateZ(0); }

.component-quiz .field-title {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 30px;
}

.component-quiz [data-type=checkbox] .field-title,
.component-quiz [data-type=image] .field-title,
.component-quiz [data-type=radio] .field-title,
.component-quiz [data-type=select] .field-title { display: none; }

.component-quiz .form-field-text { position: relative; width: 100%; margin: 0 auto; }
.component-quiz .form-field-text .field-placeholder { text-align: left; }

.component-quiz .field-placeholder {
  position: absolute;
  top: 21px; bottom: 21px; left: 20px; right: 20px;
  z-index: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #7c7c7c;
  opacity: .85;
  font-size: 1.143rem;
  line-height: 1.375;
  pointer-events: none;
  transition: opacity .35s ease;
}

.component-quiz .field-placeholder i {
  font: inherit;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
}

.component-quiz .form-field-textarea { resize: none; }

.component-quiz .form-field-text-input {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  width: 100%;
  max-height: 7.8em;
  padding: 20px;
  border-radius: 3px;
  font-size: 1.143rem;
  line-height: 1.375;
  -webkit-appearance: none;
  transition: border .2s;
}

.component-quiz .form-field-text-input:valid ~ .field-placeholder { opacity: 0; }

/* Radio group */
.component-quiz .form-field-radio-group { margin: -10px 0; text-align: left; }

.component-quiz .form-field-radio-group .form-field-radio-item {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  line-height: 30px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.component-quiz .form-field-radio-group .form-field-radio-item:last-child { margin-bottom: 0; }
.component-quiz .form-field-radio-group .form-field-radio-item input[type=radio] { display: none; }

.component-quiz .form-field-radio-group .form-field-radio-item input[type=radio]:checked ~ .form-field-radio-content .form-field-radio-check { opacity: 1; }

.component-quiz .form-field-radio-group .form-field-radio-item input[type=radio]:checked ~ .form-field-radio-content .form-field-radio-check:after {
  opacity: 1;
  transform: translateZ(0);
}

.component-quiz .form-field-radio-group .form-field-radio-item input[type=radio]:checked ~ .form-field-radio-content .form-field-radio-text { opacity: 1; }

.component-quiz .form-field-radio-group .form-field-radio-item:hover .form-field-radio-check { opacity: .85; }
.component-quiz .form-field-radio-group .form-field-radio-item:hover .form-field-radio-text { opacity: 1; }

.component-quiz .form-field-radio-group .form-field-radio-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.component-quiz .form-field-radio-group .form-field-radio-check {
  display: block;
  width: 30px; min-width: 30px; height: 30px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  border: 2px solid currentColor;
  opacity: .3;
  transform: translateZ(0);
  transition: opacity .35s ease;
}

.component-quiz .form-field-radio-group .form-field-radio-check:after {
  content: "";
  display: block;
  position: absolute;
  top: 6px; left: 6px;
  border-radius: 50%;
  width: 14px; height: 14px;
  background: currentColor;
  transform: scale(1.9);
  opacity: 0;
  transition: all .15s ease-in;
}

.component-quiz .form-field-radio-group .form-field-radio-text { opacity: .85; }

/* Checkbox group */
.component-quiz .form-field-checkbox-group { margin: -10px 0; text-align: left; }

.component-quiz .form-field-checkbox-group .form-field-checkbox-item {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  line-height: 30px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.component-quiz .form-field-checkbox-group .form-field-checkbox-item input[type=checkbox] { display: none; }

.component-quiz .form-field-checkbox-group .form-field-checkbox-item input[type=checkbox]:checked ~ .form-field-checkbox-content .form-field-checkbox-check,
.component-quiz .form-field-checkbox-group .form-field-checkbox-item input[type=checkbox]:checked ~ .form-field-checkbox-content .form-field-checkbox-check svg { opacity: 1; }

.component-quiz .form-field-checkbox-group .form-field-checkbox-item input[type=checkbox]:checked ~ .form-field-checkbox-content .form-field-checkbox-check svg path {
  stroke-dashoffset: 0;
  transition: all .35s ease-out;
}

.component-quiz .form-field-checkbox-group .form-field-checkbox-item input[type=checkbox]:checked ~ .form-field-checkbox-content .form-field-checkbox-text { opacity: 1; }

.component-quiz .form-field-checkbox-group .form-field-checkbox-item:hover .form-field-checkbox-check { opacity: .85; }
.component-quiz .form-field-checkbox-group .form-field-checkbox-item:hover .form-field-checkbox-text { opacity: 1; }

.component-quiz .form-field-checkbox-group .form-field-checkbox-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.component-quiz .form-field-checkbox-group .form-field-checkbox-check {
  display: block;
  width: 30px; height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  text-align: center;
  border: 2px solid currentColor;
  opacity: .3;
  transform: translateZ(0);
  transition: opacity .35s ease;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.component-quiz .form-field-checkbox-group .form-field-checkbox-check svg {
  height: 100%;
  opacity: 0;
  transition: opacity .35s ease;
}

.component-quiz .form-field-checkbox-group .form-field-checkbox-check svg path {
  stroke: currentColor;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
}

.component-quiz .form-field-checkbox-group .form-field-checkbox-text { opacity: .85; }

/* Image group */
.component-quiz .form-field-image-group {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  margin: -17px -10px;
  padding: 7px 0;
}

.component-quiz .form-field-image-group[data-divisible="5"] .form-field-image-item { width: 20%; font-size: 13px; }
.component-quiz .form-field-image-group.center { -ms-flex-pack: center; justify-content: center; }

.component-quiz .form-field-image-group .form-field-image-item {
  display: block;
  width: 25%;
  padding: 10px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.625;
  letter-spacing: .3px;
}

.component-quiz .form-field-image-group .form-field-image-item input { display: none; }

.component-quiz .form-field-image-group .form-field-image-item input:checked ~ .form-field-image-content .form-field-image-check {
  opacity: 1;
  transform: translateZ(0);
}

.component-quiz .form-field-image-group .form-field-image-item:hover .form-field-image-content:before,
.component-quiz .form-field-image-group .form-field-image-item input:checked ~ .form-field-image-content:before { opacity: .3; }

.component-quiz .form-field-image-group .form-field-image-content {
  position: relative;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .1);
  border-radius: 5px;
  will-change: transform;
  overflow: hidden;
  cursor: pointer;
  transition: all .35s ease;
}

.component-quiz .form-field-image-group .form-field-image-content:before {
  display: block;
  content: "";
  position: absolute;
  top: 0; left: 0;
  z-index: 3;
  width: 100%; height: 80px;
  background: linear-gradient(180deg, #000, transparent);
  opacity: 0;
  transform: translateZ(0);
  transition: opacity .35s ease;
}

.component-quiz .form-field-image-group .form-field-image-check {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  z-index: 5;
  opacity: 0;
  transform: scale(.85);
  transition: all .35s ease;
}

.component-quiz .form-field-image-group .form-field-image-text {
  background: #fff;
  color: #000;
  width: 100%;
  padding: 20px;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}

.component-quiz .form-field-image-group .form-field-image-wrap { position: relative; width: 100%; }

.component-quiz .form-field-image-group .form-field-image-wrap.orient-horizontal .form-field-image-img { padding-bottom: 62%; }
.component-quiz .form-field-image-group .form-field-image-wrap.orient-vertical .form-field-image-img { padding-bottom: 133%; }

.component-quiz .form-field-image-group .form-field-image-img {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateZ(0);
}

/* Select (custom dropdown) */
.component-quiz .form-field-select { text-align: left; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
.component-quiz .form-field-select select { display: none; }

.component-quiz .form-field-select .dropdown-container { position: relative; }

.component-quiz .form-field-select .dropdown-container.active .dropdown-select i:before { transform: rotate(-41deg); }
.component-quiz .form-field-select .dropdown-container.active .dropdown-select i:after  { transform: rotate(41deg);  }

.component-quiz .form-field-select .dropdown-container.active .dropdown-select-ul {
  z-index: 1;
  transform: translateZ(0);
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.component-quiz .form-field-select .dropdown-select {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  color: #282828;
  width: 100%;
  height: 62px;
  padding: 20px;
  border: 0;
  border-radius: 3px;
  font-size: 1.143rem;
  line-height: 1.375;
}

.component-quiz .form-field-select .dropdown-select span { opacity: .65; transition: opacity .35s ease; }
.component-quiz .form-field-select .dropdown-select:hover span { opacity: 1; }

.component-quiz .form-field-select .dropdown-select i {
  color: #000;
  opacity: .3;
  display: block;
  position: absolute;
  top: 27px; right: 20px;
  width: 18px; height: 10px;
}

.component-quiz .form-field-select .dropdown-select i:after,
.component-quiz .form-field-select .dropdown-select i:before {
  content: "";
  display: block;
  width: 11px; height: 2px;
  background: currentColor;
  position: absolute;
  top: 50%;
  transition: transform .35s ease;
}

.component-quiz .form-field-select .dropdown-select i:before { transform: rotate(41deg); left: 1px; }
.component-quiz .form-field-select .dropdown-select i:after  { transform: rotate(-41deg); left: 9px; }

.component-quiz .form-field-select .dropdown-select-ul {
  list-style: none;
  background: #fff;
  box-shadow: 0 8px 10px rgba(0, 0, 0, .05);
  color: #282828;
  width: 100%;
  padding: 10px;
  border-radius: 3px;
  font-size: 1.143rem;
  line-height: 1.375;
  position: absolute;
  top: -42px; left: 0;
  z-index: -1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 50vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.98) translateY(20px);
  transition: all .35s;
}

.component-quiz .form-field-select .dropdown-select-ul li {
  padding: 10px;
  border-radius: 3px;
  transition: background .35s ease;
}

.component-quiz .form-field-select .dropdown-select-ul li.selected,
.component-quiz .form-field-select .dropdown-select-ul li:hover { background: #f4f4f4; }

/* File field */
.component-quiz .form-field-file { position: relative; font-size: 16px; line-height: 30px; height: 30px; }
.component-quiz .form-field-file .error { display: none; }

.component-quiz .form-field-file.active .form-field-file-files { opacity: 1; visibility: visible; }
.component-quiz .form-field-file.active .form-field-file-upload { opacity: 0; visibility: hidden; }

.component-quiz .form-field-file .form-field-file-files {
  position: absolute;
  z-index: 1;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: all .35s;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.component-quiz .form-field-file .form-field-file-files .icon {
  position: relative;
  top: -2px;
  width: 20px; height: 25px;
  margin-right: 13px;
  opacity: .3;
  transition: opacity .35s ease;
}

.component-quiz .form-field-file .form-field-file-files .text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  cursor: default;
  max-width: 400px;
  margin-right: 10px;
  opacity: .85;
}

.component-quiz .form-field-file .form-field-file-files .clear-files { line-height: 22px; position: relative; cursor: pointer; }
.component-quiz .form-field-file .form-field-file-files .clear-files:after {
  content: "";
  position: absolute;
  top: 100%; left: 0;
  width: 100%; height: 0;
  border-bottom: 1px dashed;
  opacity: .2;
  transition: opacity .35s ease;
}

.component-quiz .form-field-file .form-field-file-upload {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 0;
  transition: all .35s;
}

.component-quiz .form-field-file .form-field-file-upload .icon {
  position: relative;
  width: 25px; height: 20px;
  margin-right: 13px;
  opacity: .3;
  transition: opacity .35s ease;
}

.component-quiz .form-field-file .form-field-file-upload .text,
.component-quiz .form-field-file .form-field-file-upload:hover .icon { opacity: .85; }

.component-quiz .form-field-file .form-field-file-upload:hover .text { opacity: 1; }

.component-quiz .form-field-file input {
  outline: none;
  padding: 0;
  position: absolute;
  width: 100%; height: 100%;
  left: 0;
  opacity: 0;
  cursor: pointer;
  width: 1px;
  visibility: hidden;
}

/* Submitting status */
.component-quiz .submitting-status {
  display: none;
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  opacity: 0;
  margin: 0 auto;
  transition: opacity .3s;
  text-align: center;
  width: 100%; height: 22px;
}

.component-quiz .submitting-status i {
  display: inline-block;
  position: relative;
  width: 22px; height: 22px;
  transform: rotate(0deg);
  transform-origin: center;
}

.component-quiz .submitting-status i svg {
  width: 100%; height: 100%;
  opacity: 1; visibility: visible;
  position: absolute; left: 0; top: 0;
  animation: submitting_status_rotate .6s linear infinite;
}

.component-quiz .submitting-status i svg path { fill: currentColor; }
.component-quiz .submitting-status i svg .cls-1 { opacity: .2; }

@keyframes submitting_status_rotate {
  0% { transform: rotate(0deg); }
  to  { transform: rotate(1turn); }
}

.component-quiz form.submitting * { pointer-events: none !important; }
.component-quiz form.submitting .submitting-status { display: block; opacity: 1; }
.component-quiz form.submitting .submitting-status + span { opacity: 0; }

/* Progress */
[data-quiz-part=progress] {
  width: 100%;
  margin-bottom: 100px;
  text-align: center;
}

[data-quiz-part=progress][data-progress-style=circle] { position: relative; height: 60px; }

[data-quiz-part=progress][data-progress-style=circle] .progress-percent,
[data-quiz-part=progress][data-progress-style=circle] .progress-text {
  font-size: 12px;
  line-height: 20px;
  position: absolute;
  top: 50%; margin-top: -10px;
  left: 0; width: 100%;
}

[data-quiz-part=progress][data-progress-style=circle] .progress-percent { padding-left: 4px; }

[data-quiz-part=progress] .progress-percent,
[data-quiz-part=progress] .progress-text {
  text-align: center;
  font-size: 1.143rem;
  line-height: 1.375;
  text-transform: uppercase;
  font-weight: 700;
}

[data-quiz-part=progress] .progress-text .total { opacity: .4; }
[data-quiz-part=progress] .progress-text .current,
[data-quiz-part=progress] .progress-text .total { margin: 0 5px; }

[data-quiz-part=progress] .progress-loader-bar {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-width: 740px;
  height: 6px;
  margin: 0 auto;
}

[data-quiz-part=progress] .progress-loader-bar .progress-loader-bg {
  width: 100%; height: 100%;
  border-radius: 3px;
  background: currentColor;
  opacity: .4;
  overflow: hidden;
}

[data-quiz-part=progress] .progress-loader-bar .current {
  position: absolute; top: 0; left: 0;
  display: block;
  border-radius: 3px;
  background: currentColor;
  height: 100%; width: 0;
  transition: width .35s ease;
}

[data-quiz-part=progress] .progress-loader-circle { display: inline-block; stroke: currentColor; fill: none; }
[data-quiz-part=progress] .progress-loader-circle .progress-loader-bg { opacity: .3; }
[data-quiz-part=progress] .progress-loader-circle .current { transition: all .35s ease; }

[data-quiz-part=progress] .progress-percent ~ .progress-loader-bar,
[data-quiz-part=progress] .progress-text ~ .progress-loader-bar { margin-top: 20px; }

/* Quiz mobile tweaks */
@media (max-width: 767px) {
  body.adaptive .component-quiz .step-title { font-size: 16px; margin-bottom: 30px; }
  body.adaptive .component-quiz .quiz-actions { margin-top: 30px; width: 100%; }
  body.adaptive .component-quiz .quiz-actions .component-button { min-width: 120px; }
  body.adaptive .component-quiz .quiz-actions .component-button .btn-content { padding: 16px; }

  body.adaptive .component-quiz .form-field-image-group {
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100vw;
    margin: -14px 0;
    margin-left: -7vw;
    padding: 7px 0;
    -webkit-overflow-scrolling: touch;
  }

  body.adaptive .component-quiz .form-field-image-group .form-field-image-item { width: auto; padding: 7px 3vw; }
  body.adaptive .component-quiz .form-field-image-group .form-field-image-item:first-child { padding-left: 7vw; }
  body.adaptive .component-quiz .form-field-image-group .form-field-image-item:last-child { padding-right: 7vw; }
  body.adaptive .component-quiz .form-field-image-group .form-field-image-content { width: 75vw; max-width: 200px; }
}

/* =====================
   Forms (dropdown & file)
   ===================== */
.component-form .dropdown-select-ul {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  position: absolute;
  z-index: 1;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  padding: 3px 0 0;
  margin-top: -3px;
  transition: all .35s ease-out;
  border: 1px solid rgba(0, 0, 0, .2);
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.component-form .dropdown-select-ul li {
  padding: 8px 8px 8px 36px;
  display: block;
  position: relative;
  opacity: .5;
  cursor: pointer;
  transition: opacity .35s;
}

.component-form .dropdown-select-ul li:before {
  content: "";
  display: block;
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 13px; height: 10px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMyAxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMS4zOCA0Ljg0Mkw0Ljc3IDguMjMgMTIuMzMuNjY4IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iIzAwMCIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
  background-repeat: no-repeat;
  opacity: 0;
  transition: all .35s;
}

.component-form .dropdown-select-ul li:after {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: currentColor;
  opacity: 0;
  transition: all .35s;
}

.component-form .dropdown-select-ul li:hover { opacity: 1; }
.component-form .dropdown-select-ul li:hover:after { opacity: .03; }
.component-form .dropdown-select-ul li.selected,
.component-form .dropdown-select-ul li.selected:before { opacity: 1; }

.component-form .dropdown-select-ul::-webkit-scrollbar { width: 3px; height: 90%; }
.component-form .dropdown-select-ul::-webkit-scrollbar-track { background: 0; }
.component-form .dropdown-select-ul::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, .2); border-radius: 3px; }

.component-form .dropdown-container { position: relative; }

.component-form .dropdown-container.active .dropdown-select,
.component-form .dropdown-container.active .dropdown-select:before {
  border-radius: 3px 3px 0 0;
  border-bottom: 0;
}

.component-form .dropdown-container.active .dropdown-select:after {
  transform: translateY(-50%) rotate(0deg);
  border-bottom: 5px solid;
}

.component-form .dropdown-container.active .dropdown-select-ul { opacity: 1; visibility: visible; max-height: 360px; }

/* File input (component-form) */
.component-form .form_field_file { position: relative; }

.component-form .form_field_file .form_field_file_holder { position: relative; cursor: default; }
.component-form .form_field_file .form_field_file_holder.active .form_field_file_files { opacity: 1; visibility: visible; }
.component-form .form_field_file .form_field_file_holder.active .form_field_file_label { padding-top: 30px; }

.component-form .form_field_file input[type=file] {
  outline: none;
  padding: 0;
  position: absolute;
  width: 100%; height: 100%;
  left: 0;
  opacity: 0;
  cursor: pointer;
  width: 1px;
  visibility: hidden;
}

.component-form .form_field_file .form_field_file_label {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  cursor: default;
  position: relative;
  z-index: 0;
  transition: all .3s;
}

.component-form .form_field_file .form_field_file_label .icon { position: relative; width: 19px; height: 17px; margin-right: 8px; cursor: pointer; }
.component-form .form_field_file .form_field_file_label .form_field_file_label_text { cursor: pointer; opacity: .5; }

.component-form .form_field_file .form_field_file_files {
  width: 100%;
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.component-form .form_field_file .form_field_file_files .form_field_file_files_holder {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: justify;
  align-content: space-between;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-right: 20px;
  cursor: default;
}

.component-form .form_field_file .form_field_file_files .icon { position: relative; top: 0; width: 19px; height: 17px; margin-right: 8px; }
.component-form .form_field_file .form_field_file_files .icon svg { max-height: 100%; }

.component-form .form_field_file .form_field_file_files .files_name_holder_text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  cursor: default;
  max-width: 220px;
  margin-right: 8px;
}

.component-form .form_field_file .form_field_file_files .clear_files {
  margin-top: 2px;
  color: #6b8dbd;
  border-bottom: 1px dotted;
  cursor: pointer;
}
.component-form .form_field_file .form_field_file_files .clear_files:hover { border-bottom: 1px solid; }

.component-form .form_field_file .error { pointer-events: none; }
.component-form .error {
  position: absolute;
  z-index: 2;
  top: 50%; right: 16px;
  transform: translate3d(-50%, -50%, 0);
  background: #fc4d53;
  width: 6px; height: 6px;
  border-radius: 50%;
  opacity: 0;
  transition: all .1s;
}
.component-form .error svg { display: none; }

.component-form.submitting { pointer-events: none; }
.component-form.submitting .form_submit .btn-content .submitting_status { display: block; opacity: 1; }
.component-form.submitting .form_submit .btn-content .form_submit_text { opacity: 0; }

.component-form.style-1.inline .form_field_text:before { display: none; }

.component-form.style-2 .form_field_text_input { background: transparent; color: currentColor; }

.component-form.style-2 .form_field_select .dropdown-container { position: relative; }
.component-form.style-2 .form_field_select .dropdown-container:before {
  display: block;
  content: "";
  pointer-events: none;
  position: absolute;
  width: 100%; height: 100%;
  width: calc(100% - 2px); height: calc(100% - 2px);
  top: 0; left: 0; z-index: 0;
  border: 1px solid currentColor;
  border-radius: 4px;
  opacity: .2;
}

.component-form.style-2 .form_field_select .dropdown-select,
.component-form.style-2 .form_field_select .dropdown-select-ul { position: relative; background: transparent; border: none; }

.component-form.style-2 .form_field_select .dropdown-select:before { display: none; }

.component-form.style-3 .form_field_text { position: relative; }
.component-form.style-3 .form_field_text:before { background: currentColor; z-index: 0; }
.component-form.style-3 .form_field_text .form_field_text_input { background: transparent; }

.component-form.style-3 .form_field.is_error .form_field_text:before {
  border-color: #fc4d53;
  background-color: #fc4d53;
  opacity: .2;
}

.component-form.style-3 .form_field_select .dropdown-container {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: column;
  flex-flow: column;
}

.component-form.style-3 .form_field_select .dropdown-container:before {
  display: block;
  content: "";
  pointer-events: none;
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0; z-index: 0;
  background: currentColor;
  border-radius: 4px;
  opacity: .2;
}

.component-form.style-3 .form_field_select .dropdown-select,
.component-form.style-3 .form_field_select .dropdown-select-ul { position: relative; background: transparent; border: none; }

.component-form.style-3 .form_field_select .dropdown-select:before { display: none; }

/* Inline form layout */
.component-form.inline form {
  -ms-flex-align: end;
  align-items: flex-end;
  -ms-flex-pack: center;
  justify-content: center;
}

.component-form.inline .form_fields,
.component-form.inline form {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
}

.component-form.inline .form_fields {
  -ms-flex-pack: end;
  justify-content: flex-end;
  width: auto;
  margin: 0;
  max-width: 75%;
}

.component-form.inline .form_fields[data-count="3"] .form_field { max-width: 33.333%; }
.component-form.inline .form_fields[data-count="2"] .form_field { max-width: 50%; }

.component-form.inline .form_field {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  width: auto;
  min-width: 20%;
  width: 270px;
  max-width: 100%;
  margin: 0;
  padding: 0 10px;
  -ms-flex-negative: 1;
  flex-shrink: 1;
}

.component-form.inline .form_submit {
  -ms-flex-negative: 1;
  flex-shrink: 1;
  -ms-flex-positive: 0;
  flex-grow: 0;
  padding: 0 10px;
  margin: 0;
  max-width: 25%;
}

.component-form.inline .form_field_submit { margin-top: 0; }

@media (max-width: 767px) {
  .component-form.inline form {
    max-width: 480px;
    margin: 0 auto;
    -ms-flex-flow: column;
    flex-flow: column;
  }

  .component-form.inline .form_fields {
    width: 100%;
    max-width: none;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .component-form.inline .form_field {
    width: 100%;
    max-width: none !important;
    padding: 0;
    margin-bottom: 30px;
  }

  .component-form.inline .form_submit {
    padding: 0;
    width: 100%;
    max-width: none;
  }

  .component-form.inline .form_field_submit { max-width: none; width: 100%; }
}

/* =====================
   Menu
   ===================== */
.component-menu.dot li {
  position: relative;
  padding-left: 12px;
  padding-right: 12px;
}

.component-menu.dot li:after {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .2;
  position: absolute;
  right: 0; top: 50%;
  margin-top: -2px;
  margin-right: -2px;
}

.component-menu.dot li:last-child:after { display: none; }
.component-menu.vertical ul { -ms-flex-flow: column wrap; flex-flow: column wrap; }
