/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

@import url('//fonts.googleapis.com/css?family=Poppins:100,200,300,300i,400,400i,500,600,700,700i,800,900|Raleway:100,200,300,300i,400,400i,500,600,700,700i,800,900');

@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

@font-face {
  font-family: "ElegantIcons";
  src: url("//3959349.fs1.hubspotusercontent-na1.net/hubfs/3959349/MPMaustepalvelu_February2019/Fonts/ElegantIcons.eot#iefix") format("embedded-opentype"), 
    url("//3959349.fs1.hubspotusercontent-na1.net/hubfs/3959349/MPMaustepalvelu_February2019/Fonts/ElegantIcons.woff") format("woff"), 
    url("//3959349.fs1.hubspotusercontent-na1.net/hubfs/3959349/MPMaustepalvelu_February2019/Fonts/ElegantIcons.ttf") format("truetype"), 
    url("//3959349.fs1.hubspotusercontent-na1.net/hubfs/3959349/MPMaustepalvelu_February2019/Fonts/ElegantIcons.svg#ElegantIcons") format("svg");
  font-style: normal;
  font-weight: normal;
}


/* Buttonit */

.btn {
  border-radius: 2px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #19161a !important;
}

/* Fontit */

a {
  font-weight: 600 !important;
}

p {
  color: #19161a !important;
  font-size: 14px !important;
  line-height: 26px !important;
  font-style: normal !important;
  font-weight: 300 !important;
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

#ch2-dialog-description .ch2-style-dark .ch2-dialog-content p {
  color: #ffffff !important;
}

h2 {
  font-weight: 700 !important;
  letter-spacing: -1.3px !important;
}

.section-intro__overline {
  font-weight: 600 !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,.4) !important;
  letter-spacing: 1px !important;
  color: #ffffff !important;
  font-size: 18px !important;
}

h1 {
  line-height: 58px !important;
  font-weight: 700 !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,.4) !important;
}

h1.h1 {
  margin-bottom: 10px !important;
}

h1.display {
  font-size: 76px !important;
  line-height: 82px !important;
  font-weight: 700 !important;
  letter-spacing: -1px !important;
  margin-bottom: 0px !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,.4) !important;
}

@media only screen and (max-width: 768px) {
h1.display {
  font-size: 46px !important;
  line-height: 50px !important;
}
  }

h1.blog-post__title {
  font-size: 42px !important;
  text-shadow: none !important;
}

h3 {
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  padding-top: 8px !important;
  margin-bottom: 15px !important;
}

h4 {
  font-weight: 400 !important;
}

h5 {
  font-weight: 700 !important;
}

body {
  color: #19161a !important;
  font-family: Poppins,sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: 1.56 !important;
  -moz-text-size-adjust: none !important;
  -webkit-text-size-adjust: none !important;
  text-rendering: optimizeLegibility !important;
  hyphens: none !important;
  overflow-wrap: normal !important;
}

strong {
  font-family: Poppins,sans-serif;
  font-style: normal;
  font-weight: 600 !important;
}

.section-intro__divider div {
  background: #f7a800;
  border-radius: 0;
  display: inline-block;
  height: 3px !important;
  max-width: 100%;
  vertical-align: top;
  width: 80px;
}

/* Header */

.header__info {
  font-size: 12px !important;
  color: #ffffff !important;
}

.nav__link, .nav__link:hover {
  text-transform: uppercase !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  letter-spacing: 0px !important;
}

li.nav__item {
  margin-inline-end: 20px !important;
}

li.nav__item:last-child {
  margin-inline-end: 0px !important;
}

.header__section--top {
  background: transparent !important;
}

.nav__list--flyout {
  border-radius: 0px!important;
}

.nav--dark .nav__list--flyout li a:hover {
  background-color: transparent !important;
  color: #f7a800 !important;
}

.nav__list.nav__list--level2.nav__list--flyout li.nav__item {
  margin-inline-end: 0px !important;
}

.nav__list--flyout {
  padding: 0px !important;
}

.mnav__section {
  border-bottom: 0px solid !important;
}

.mnav--dark .mnav__menu__link:hover {
  color: #f7a800 !important;
}

.mnav--dark .mnav__menu__link {
  font-size: 14px !important;
  font-weight: 500 !important;
}



/* Footer */

.footer__section--bottom {
  padding-top: 0;
  background-color: #fff !important;
}

.footer__legal {
  border-top: 0px solid !important;
  padding-top: 5px !important;
}

.footer__section.footer__section--bottom.section {
  padding-bottom: 10px !important;
  padding-top: 10px !important;
}

.footer-top {
  background-color: #2b2c2e;
  padding-top: 40px;
  padding-bottom: 40px;
}

@media only screen and (max-width: 768px) {
.footer-top.btn {
  text-align: center !important;
}
  }

.footer-top p {
  color: #ffffff !important;
  text-align: right !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}

@media only screen and (max-width: 768px) {
.footer-top p {
  color: #ffffff !important;
  text-align: center !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  padding-bottom: 10px !important;
  margin-top: 0px !important;
}
  }

.footer__section.footer__section--main.section {
  padding-bottom: 20px !important;
  padding-top: 50px !important;
}


/* Blogi */

.blog-post + .blog-post {
  margin-top: 20px !important;
}

.blog-post__contents.clear {
  margin-bottom: 40px !important;
}

.blog-post__btn {
  margin-top: 20px !important;
}

.txt--unstyle-links a:hover {
  color: #ec7404 !important;
  text-decoration: none !important;
}

.blog-pagination {
  margin-top: 40px !important;
}

.blog-card__info.small-text {
  display: none !important;
}

.hs_cos_wrapper.hs_cos_wrapper_widget.hs_cos_wrapper_type_rss_listing h3 {
  color: #ffffff !important;
  font-size: 1.22rem !important;
  font-style: normal !important;
  font-weight: 300 !important; 
  margin-bottom: 1.11rem !important;
}

.tabs__nav .tabs__btn {
  text-transform: none !important;
}

.blog-post__title a:hover {
  text-decoration: none !important;
}

.blog-post__tags {
  margin-top: 25px !important;
}

.blog-body.section {
  padding-top: 60px !important;
}

.blog-toolbar-1.section.bg-light {
  padding-bottom: 20px !important;
  padding-top: 20px !important;
}

.hs-rss-item {
margin-top: 0px !important;
margin-bottom: .56rem !important;
}

@media only screen and (max-width: 1000px) {
#hs_cos_wrapper_module_17054946759359 {
  text-align: center !important;
}
  }

@media only screen and (min-width: 101000px) {
.footer__section.footer__section--main.section div.col.s3 {
  width: 40% !important;
}
  }


/* Sekalaiset */

a.listing-filter__button.btn.btn--large.btn--pill.listing__filter.btn--fill.btn--light-darker {
  padding: 0.91rem 1.2rem !important;
  border-radius: 8px;
  font-size: 1rem;
}

form .hs-button {
  font-weight: 600 !important;
  background-color: #f7a800 !important;
  -webkit-border-radius: 2px !important;
  letter-spacing: 0px !important;
  text-transform: uppercase !important;
  color: #19161a !important;
  font-size: 13px !important;
  line-height: 49px !important;
}

.form--btn-small .hs-button {
  padding: 0.2rem 1rem !important;
  border-radius: 4px;
  font-size: .83rem;
}

.custom-title-with-top-image-wrap .custom-wrap:hover img {
  transform: none !important;
}

.tabs__btn.btn--medium {
  font-size: 14px !important;
  padding: 15px 15px 15px 15px !important;
}

.section-bg__overlay--dark {
  background: #000000 !important;
}

hr {
  margin-top: 34px !important;
}

.hr-yhteystiedot {
  border-top: 3px solid #f7a800 !important;
  width: 40px !important;
  margin: 20px 0 !important;
}



/* Tuotekehitysprosessi */

.rtext.rtext--box.rtext--box-border.txt--light {
  border: 5px #f7a800 solid !important;
}

.rtext--box {
  margin-bottom: 0px !important;
}

.rtext--box-accent{
  box-shadow: none !important;
}

.tuotekehitysprosessi-kuva {
  margin-bottom: -30px;
  z-index: 1;
  position: relative;
}

.span8.widget-span.widget-type-cell.cell_17066154138512-background-color.dnd-column.cell_17066154138512-vertical-alignment {
  margin-inline-start: 0px !important;
  padding-inline-start: 24px !important;
}

.span2.widget-span.widget-type-cell.cell_1706616046300-background-color.dnd-column.cell_1706616046300-vertical-alignment {
  margin-inline-start: 0px !important;
  padding-inline-start: 24px !important;
}


/* ======= Production Layout ======== */
.custom-production-row1 {
    padding: 50px 0 32px;
}
.custom-production-row1 h2 {
    position: relative;
    margin: 0;
    padding-bottom: 9px;
    margin-bottom: 30px;
}
.custom-production-row1 h2:after {
    width: 20px;
    background-color: #f7a800;
    height: 2px;
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
}
.custom-production-row1 h4 {
    padding-top: 10px;
    margin: 0;
}
.custom-title-with-top-image-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.custom-title-with-top-image-wrap .custom-title-with-top-image-item {
  width: 25%;
  text-align: center;
  padding: 0 15px 32px;
}
.custom-title-with-top-image-wrap .custom-wrap {
  background-color: #F7BE68;
  padding: 6px;
  display: inline-block;
  border-radius: 50%;
}
.custom-title-with-top-image-wrap .custom-wrap img {
  width: 100px;
  border-radius: 50%;
  -webkit-transition: -webkit-transform .3s cubic-bezier(.4,0,1,1);
  -moz-transition: -moz-transform .3s cubic-bezier(.4,0,1,1);
  -o-transition: -o-transform .3s cubic-bezier(.4,0,1,1);
  transition: transform .3s cubic-bezier(.4,0,1,1);
}
.custom-title-with-top-image-wrap .custom-content-wrap h3 {
  margin: 0;
  padding-top: 10px;
}
.custom-title-with-top-image-wrap .custom-content-wrap h3 a {
  color: #19161a;
}
.custom-title-with-top-image-wrap .custom-content-wrap h3 a:hover {
  color: #ec7404;
}
.custom-title-with-top-image-wrap .custom-wrap:hover img {
  -webkit-transform: scale(1.05) translateZ(0);
  -moz-transform: scale(1.05) translateZ(0);
  -o-transform: scale(1.05) translateZ(0);
  transform: scale(1.05) translateZ(0);
}
.custom-production-row2 {
  padding-bottom: 50px;
}
.custom-production-row3 {
  padding: 50px 0;
}
.custom-two-column-equal-content .custom-column-content h3 {
  margin: 0;
  padding-top: 10px;
}
.custom-two-column-equal-content .custom-column-content h2 {
  position: relative;
  padding-bottom: 9px;
  margin: 0 0 30px;
}
.custom-two-column-equal-content .custom-column-content h2:after {
  background-color: #f7a800;
  width: 20px;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
}
.custom-production-row3 .custom-two-column-equal-content .custom-column-content {
  padding-bottom:32px;
}

.custom-title-with-top-image-wrap .custom-wrap {
  background-color: #f7be68;
  border-radius: 50%;
  display: inline-block;
  padding: 6px;
}

.custom-title-with-top-image-wrap .custom-wrap img {
  border-radius: 50%;
}

.custom-title-with-top-image-item a {
  color: #000000 !important;
}

}
@media (max-width: 900px) and (min-width: 768px) {
  .custom-team-member-group .custom-team-member-details p {
    font-size: 12px;
  }
  .custom-title-with-left-image .custom-content-wrap h3 {
    font-size: 20px;
  }
  .custom-with-left-image-group .custom-content-wrap h3 {
    font-size: 16px;
  }
  .custom-title-with-top-image-wrap .custom-content-wrap h3 {
    font-size: 20px;
  }
}
@media (max-width: 1000px) and (min-width: 768px) {
  .custom-title-with-top-image-wrap .custom-content-wrap h3 {
    font-size: 20px;
  }
}

/* =============== Landscape tablet and smaller devices =============== */

@media (max-width: 767px) {
.custom-title-with-top-image-wrap {
    display: block;
    margin: 0;
  }
  .custom-title-with-top-image-wrap .custom-title-with-top-image-item {
    width: 100%;
    padding: 0 0px 32px;
  }
    }



/* Counter group */

.custom-counter-group .parallax_section_holder {
  background-attachment: fixed !important;
  background-color: transparent !important;
  background-position: center 0 !important;
  background-repeat: no-repeat !important;
  padding: 100px 0 66px !important;
}

.custom-counter-group .custom-counter-top-content img {
  margin: 0px !important;
  width: 78px !important;
}

.custom-counter-group .custom-counter-top-content h5 {
  margin: 0px !important;
  padding-top: 10px !important;
}

.custom-counter-group span.count {
  color: #000 !important;
  font-family: Poppins !important;
  font-size: 57px !important;
  font-weight: 700 !important;
}

.custom-counter-group .custom-counter-bottom-content {
  text-align: center !important;
}

.custom-counter-group .custom-counter-bottom-content {
  padding: 10px 40px !important;
  text-align: center !important;
}

.custom-counter-group span.count {
  color: #000 !important;
  font-family: Poppins !important;
  font-size: 57px !important;
  font-weight: 700 !important;
}

.custom-counter-group .custom-counter-bottom-content {
  text-align: center !important;
}

.custom-counter-group p.counter-head {
  color: #000 !important;
  font-family: Poppins !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 35px !important;
  margin: 0px !important;
  text-transform: none !important;
}

.custom-counter-group .custom-counter-item {
  text-align: center !important;
}

.custom-counter-group .custom-counter-item {
  padding: 0 15px;
  text-align: center;
  width: 25%;
  margin-bottom: 30px;
}

.custom-counter-group .parallax_section_holder {
  padding: 100px 0 66px;
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center 0;
  background-attachment: fixed;
}
.custom-counter-group .custom-counter-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 150px;
}
.custom-counter-group .custom-counter-item {
  width: 25%;
  padding: 0 15px;
  text-align: center;
}
.custom-counter-group .custom-counter-top-content img {
  width: 78px;
  margin: 0 0 21px;
}
.custom-counter-group .custom-counter-top-content {
  padding-bottom: 0px;
}
.custom-counter-group .custom-counter-top-content h5 {
  margin: 0 0 25px;
  padding-top: 10px;
}
.custom-counter-group .custom-counter-bottom-content {
  text-align: center;
  padding: 20px 40px;
}
.custom-counter-group span.count {
  font-weight: 700;
  font-size: 57px;
  font-family: 'Poppins';
  color: #000;
}
.custom-counter-group p.counter-head {
  line-height: 35px;
  margin: 23px 0 0 0;
  font-weight: 600;
  color: #000000;
  text-transform: none;
  letter-spacing: 0px;
  font-size: 20px;
  font-family: 'Poppins';
}
.two-column-right-layout .main-content-wrap h3 {
  padding-top: 10px;
  margin: 0;
}
.two-column-right-layout .custom-right-sidebar-wrap p i {
    color: #ec7404;
}

@media (max-width: 479px) {
.container-fluid .row-fluid .page-center {
    max-width: 100% !important;
  }
}

/* ==========================================================================
9. MEDIA QUERIES       Vanhalta saitilta!                       
========================================================================== */


@media (max-width: 1060px) {
  .custom-counter-group .parallax_section_holder {
    padding: 100px 0 31px;
  }
}
@media (max-width: 1000px) {
  .custom-counter-group .custom-counter-bottom-content {
    padding: 20px 20px;
  }

@media (max-width: 767px) {
  .custom-counter-group .custom-counter-wrap {
    margin: 0;
  }
  .custom-counter-group .custom-counter-item {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .custom-counter-group .parallax_section_holder {
    padding: 100px 0 100px;
  }


.tuotekehityslaatikko-valkoinen {
    border-top-width: 5px !important;
    border-right-width: 5px !important;
    border-bottom-width: 5px !important;
    border-left-width: 5px !important;
    padding-top: 45px !important;
    padding-right: 5px !important;
    padding-bottom: 30px !important;
    padding-left: 5px !important;
    border-left-color: #f7a800 !important;
    border-left-style: solid !important;
    border-right-color: #f7a800 !important;
    border-right-style: solid !important;
    border-top-color: #f7a800 !important;
    border-top-style: solid !important;
    border-bottom-color: #f7a800 !important;
    border-bottom-style: solid !important;
}

.tuotekehityslaatikko-musta {
    padding-top: 45px !important;
    padding-right: 15px !important;
    padding-bottom: 30px !important;
    padding-left: 15px !important;
    background-color: #19161a !important;
}

.tuotekehitys-kuva {
  border-radius: 50% !important;
  text-align: center;
  margin-bottom: -35px !important;
  z-index:100 !important;
  position: relative !important;
  transition: transform .3s;
}

.tuotekehitys-kuva:hover {
  transform: scale(1.05);
}

.tuotekehityslaatikko-oranssi {
    padding-top: 45px !important;
    padding-right: 10px !important;
    padding-bottom: 30px !important;
    padding-left: 10px !important;
    background-color: #f7a800 !important;
    z-index: -1 !important;
}

@media only screen and (max-width: 768px) {
  .mobiili-tuotekehitys-tausta {
    margin-left: 15px !important;
    margin-right: 15px !important;
  }
}

@media only screen and (max-width: 768px) {
  .mobiili-ylapadding {
    padding-top: 50px !important;
  }
}