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

.smartbox-box {
  color: #111;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  padding: 1rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga" on;
}

.smartbox-btn {
  background-color: #232323;
  border: 1px solid #cccccc;
  color: white;
  padding: 1rem;
  text-transform: uppercase;
  font-weight: 700;
}

.smartbox-btn--block {
  display: block;
  width: 100%;
}

.smartbox-cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.smartbox-cards__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 1rem;
  width: 100%;
}

@media (min-width: 40rem) {
  .smartbox-cards__item {
    width: 50%;
  }
}

.smartbox-card {
  width: 100%;
  border: 1px solid #eee;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.19);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

.smartbox-card__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 1rem;
  background-color: #ffff;
}

.smartbox-card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;

  overflow: hidden;
  position: relative;

  transition: -webkit-filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
  transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
  transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91),
    -webkit-filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
}

.smartbox-card__image::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

@media (min-width: 40rem) {
  .smartbox-card__image::before {
    padding-top: 66.6%;
  }
}

.smartbox-card__title {
  color: #777;
  font-size: 18px;
  line-height: 20px;
  font-weight: 300;
}

.smartbox-card__text,
.smartbox-card__text p {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 16px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #1e1e1e;
}

.smartbox-card__smartbox-btn {
  font-size: 1rem;
  text-align: center;
  width: 10rem;
}

a.smartbox-card__smartbox-btn {
  text-decoration: none;
}

/*slider*/


.smartbox_slider_wrapper {
  width: 100%;
  height: 100%;
  maring: 0 auto;
  
  padding: 20px 40px 60px 40px;
  overflow: hidden;
}

.smartbox_slider {
  max-height: 90%;
  color: #232323;
  margin: 0 auto;
  padding: 0;

}

.smartbox_slide_item {
  text-align: center;
  margin: 0 auto;
  padding: 0;
  height:100%;
  max-height: 100%;
  display:flex;
  flex-direction: column;
   overflow-y: auto;
}

.smartbox_slide_img {
  max-width: 100%;
  margin: 10px auto;
  max-height: 90%;
  flex: 1 ;
}

.smartbox_slide_content {
  text-align: center;
  margin: 0 auto;
  padding: 10px;
  flex: 1 0 10%;
}

.slide_pic {
  max-width: 100%;
  margin: 10px auto;
}

.slide_text {
  align-self: flex-end;
  padding: 2px;
  width: 100%;
  text-align: center;
}

/*tiemout modal*/

.smartbox_wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  padding: 10px;
  max-width: 600px;
}

.smartbox_scroll {
  flex: 1 0 90%;
  /*  height: 90%;*/
  max-width: 100%;
  /*max-height: 600px;*/
  overflow-y: scroll;
  color: #232323;
  margin: 0 auto;
  padding: 0;
}

.smartbox__item {
  text-align: center;
  margin: 0 auto;
  padding: 0;
  max-width: 90%;
}

/*overlay modal*/

.overlay {
  top: 0;
  left: 0;
  z-index: 100;
 
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: all 0.5s cubic-bezier(0.59, -0.17, 0.3, 1.67);
  transition: all 0.5s cubic-bezier(0.59, -0.17, 0.3, 1.67);
 

 position : fixed;
  overflow-y: scroll
}

.overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.overlay.is-open .onboarding_modal {
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

.onboarding_modal {
  -webkit-transform: translate(0px, 250px);
  transform: translate(0px, 250px);
  -webkit-transition: all 0.7s cubic-bezier(0.59, -0.17, 0.3, 1.67);
  transition: all 0.7s cubic-bezier(0.59, -0.17, 0.3, 1.67);
  position: relative;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.4);
  width:800px;
  height: 90%;
  max-width: 90%;
  max-height: 90%;
  padding: 10px;
  
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}

.onboarding_modal .close {
  opacity: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  border-radius: 1em;
  font-size: 2em;
  background: #000;
  color: #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border: 2px solid #fff;
  z-index: 100;
  position: absolute;
  top: 0.25em;
  right: 0.25em;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.onboarding_modal .close:hover {
  opacity: 1;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.proceed {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0;

  bottom: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.smartbox_wrapper.proceed {
  flex: 1 0 10%;
}

.btn-done {

  position: absolute;
  bottom: 10px;

  left: 50%;
  transform: translate(-50%, 0);
}

.slick-prev:before,
.slick-next:before {
  color: #111 !important;
}

/*.slick-dots {
  top:-10px; 
  max-height:20px;
}
*/
@media only screen and (max-width: 40em) {
  .onboarding_modal {
   
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 10px;
  }
  .onboarding_modal .close {
    top: 1.25em;
    right: 1.25em;
  }
  .smartbox_item {
    padding: 10px;
    max-width: 100%;
  }
  .smartbox_slider_wrapper {
    padding: 0 30px;
  }

  .btn-done {
    bottom: 0;

  }
}



/*
.smartbox_slider_wrapper {
  background-color: red;
}

.smartbox_slider {
  background-color: blue;
}

.smartbox_slide_item {
  background: yellow;
}


.onboarding_modal {
 
  background: purple;
  }
*/

