/* 
 Theme Name:     prodect
 Author:         Prodect Oy
 Author URI:     https://prodect.fi
 Template:       Divi
 Version:        1.0 
*/

/*** CHROME IMG BLUR FIX ***/ img {image-rendering: -webkit-optimize-contrast !important;}



.et_pb_button::selection,
button::selection,
img::selection {
  background: rgba(0,0,0,0) !important; /* WebKit/Blink Browsers */
  color:#FFF;
}

.et_pb_button::-moz-selection,
button::-moz-selection,
img::-moz-selection {
	background: rgba(0,0,0,0) !important; /* Gecko Browsers */
	color:#FFF;
}

html { -webkit-tap-highlight-color: rgba(0,0,0,0); }

html,
body {
  font-family:'Epilogue',sans-serif;
  font-size:1vw;
}

body {
	line-height:1.6rem !important;
}

b,strong,
h1,h2,h3,h4,h5,h6 {
  font-weight:600;
}

#top-menu a {
  font-weight:400;
  padding-bottom:1.7rem !important;
  font-size:0.9rem !important;
}

#et-top-navigation {
  float:left;
  padding-left:12rem !important;
  width:100%;
  padding-top:1.9rem !important;
}

#top-menu li {
  padding-right:6rem;
  font-size:1rem;
}

#top-menu li.kirjaudu-link {
  position:absolute;
  right:0;
  top:1.2rem;
}

#top-menu li.kirjaudu-link a {
  background:#3366FF;
  line-height:1;
  padding:0.7rem 1.5rem 0.6rem 1.5rem !important;
  color:#FFF !important;
  border-radius:0.5rem;
  margin-top:0;
  background: linear-gradient(to right, #05092a 50%, #3366FF 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}

#top-menu li.kirjaudu-link a:hover {
  background-position: left bottom;
  color:#fff !important;
  border-radius:0 0.5rem 0 0.5rem !important;
}

.et-fixed-header #top-menu li.current-menu-ancestor > a.mPS2id-highlight, .et-fixed-header #top-menu li.current-menu-item > a.mPS2id-highlight, .et-fixed-header #top-menu li.current_page_item > a.mPS2id-highlight,
.et-fixed-header #top-menu a.mPS2id-highlight,
#top-menu li a.mPS2id-highlight {
  color:#3366FF !important;
  opacity:1 !important;
}

#top-menu a:hover {
  opacity:1 !important;
}

#main-header > .container {
  max-width:100%;
  width:77%;
}

#main-header {
  box-shadow:none;
}

footer {
  display:none;
}

.et_pb_row {
  padding:3rem 0 !important;
  width:77%;
  max-width:100%;
}

#mainhero .et_pb_module {
  margin-bottom:0;
}

#palvelu h2 {
  padding-bottom:1.5rem;
  padding-top:0rem;
  max-width:20rem;
}

#nain-prodect-toimii h2 {
  padding-bottom:1.5rem;
  padding-top:3rem;
  max-width:20rem;
}

#nain-prodect-toimii {
  padding:0 0;
}

#nain-prodect-toimii .et_pb_row {
  padding:4rem 0 !important;
}

#mainhero h1 {
  padding-bottom:1.5rem;
  padding-top:4rem;
  max-width:20rem;
}

#kenelle-prodect-sopii h2 {
  padding-bottom:1.5rem;
}

.et_pb_text_inner,
p {
  padding-bottom: 1.4rem;
  font-size:0.95rem;
}

#referensseja h2,
#hinnoittelumallit h2,
#nain-prodect-toimii h2,
#kenelle-prodect-sopii h2,
#mainhero h1,
#palvelu h2 {
  font-size:2.7rem;
}

#palvelu img {
  margin-top:-1rem;
}

#mainhero .et_pb_button_module_wrapper {
  display:inline-block;
  float:left;
}

#mainhero .tilaa-painike {
  background: linear-gradient(to right, #05092a  50%, #FF5B29 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  color:#FFF;
}

#mainhero .tutustu-painike {
  color:#05092A;
  background: linear-gradient(to right, #05092a  50%, #BBFAFF 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}

#mainhero .tutustu-painike:hover {
  background-position: left bottom;
  color:#05092a;
  border-radius:0 0.5rem 0 0.5rem !important;
}

#mainhero .tilaa-painike:hover {
  background-position: left bottom;
  color:#05092a;
  border-radius:0 0.5rem 0 0.5rem !important;
}

#mainhero .et_pb_button {
  width:11rem;
  text-align:center;
  margin:1.6rem 1rem 0 0;
}

#palvelu {
  padding:4rem 0;
  display:flex;
  justify-content:center;
}

#mainhero {
  padding:0 0 0 0;
  min-height:calc(100vh - 4.3rem);
  display:flex;
  justify-content:center;
}

#kenelle-prodect-sopii {
  padding: 4rem 0;
}

#kenelle-prodect-sopii .et_pb_module {
  margin-bottom:0;
}

#kenelle-prodect-sopii .et_pb_button {
  margin-top:1.6rem;
}

#kenelle-prodect-sopii .et_pb_button {
  background: linear-gradient(to right, #05092a  50%, #BBFAFF 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  color:#05092a;
}

#kenelle-prodect-sopii .et_pb_button:hover {
  background-position: left bottom;
  color:#05092a;
  border-radius:0 0.5rem 0 0.5rem !important;
}

#mainhero .mainhero-logo {
  width:27%;
  margin-top:2rem;
}

#mainhero .mainheader-text {
  max-width:25rem;
}

#mainhero:after {
  display:block;
  width:18.8rem;
  position:absolute;
  top: 2rem;
  bottom:2rem;
  right:2rem;
  background:url(img/asset_white.svg);
  background-size:contain;
  background-repeat:repeat;
  background-position: left top;
  content:'';
  background-size:30%;
}

.et_pb_button {
  line-height:1 !important;
  padding:0.7rem 1.5rem 0.6rem 1.5rem !important;
  border-radius:0.5rem;
  border:none;
  font-size:0.9rem;
  background: linear-gradient(to right, #05092a  50%, #3366FF 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}

.et_pb_button:hover {
  line-height:1 !important;
  padding:0.7rem 1.5rem 0.6rem 1.5rem !important;
  border-radius:0 0.5rem 0 0.5rem !important;
  border:none !important;
  color:#fff !important;
  background-position: left bottom;
}

#ota-yhteytta .et_pb_button {
  background: linear-gradient(to right, #FF5B29  50%, #3366FF 50%);
  background-size: 200% 100%;
  background-position: right bottom;
}

#ota-yhteytta .et_pb_button:hover {
  background-position: left bottom;
}

.et_pb_button:after {
  display:none;
}

#ota-yhteytta .hbspt-form .hs-button,
#top-menu a,a,.et_pb_button {
  -webkit-transition: all 250ms ease-in-out !important;
	-moz-transition: all 250ms ease-in-out !important;
	-o-transition: all 250ms ease-in-out !important;
	transition: all 250ms ease-in-out !important;
}

#kenelle-prodect-sopii > .et_pb_row > div:first-child a {
  color:#FFF;
  -webkit-transition: all 0ms ease-in-out !important;
	-moz-transition: all 0ms ease-in-out !important;
	-o-transition: all 0ms ease-in-out !important;
	transition: all 0ms ease-in-out !important;
}

#kenelle-prodect-sopii > .et_pb_row > div:first-child a:hover {
  font-weight:600;
}

.link1 {
  position:absolute;
  left:1rem;
  top:1rem;
}

.link1 a {
  font-size:1.45rem;
  display: table-cell;
  width: 16.8rem;
  height: 16.8rem;
  vertical-align: middle;
  line-height:1.2;
}

.link2 {
  position:absolute;
  left:17.9rem;
  top:1rem;
}

.link2 a {
  display: table-cell;
  width: 8.4rem;
  height: 8.4rem;
  vertical-align: middle;
  line-height:1.2;
}

.link3 {
  position:absolute;
  left:34.7rem;
  top:1rem;
}

.link3 a {
  display: table-cell;
  width: 8.4rem;
  height: 8.4rem;
  vertical-align: middle;
  line-height:1.2;
}

.link4 {
  position:absolute;
  left:1rem;
  top:17.9rem;
}

.link4 a {
  display: table-cell;
  width: 8.4rem;
  height: 8.4rem;
  vertical-align: middle;
  line-height:1.2;
}

.link5 {
  position:absolute;
  left:17.9rem;
  top:17.9rem;
}

.link5 a {
  display: table-cell;
  width: 8.4rem;
  height: 8.4rem;
  vertical-align: middle;
  line-height:1.2;
}

.link6 {
  position:absolute;
  left:34.7rem;
  top:17.9rem;
}

.link6 a {
  display: table-cell;
  width: 8.4rem;
  height: 8.4rem;
  vertical-align: middle;
  line-height:1.2;
}

.link7 {
  position:absolute;
  left:34.7rem;
  top:9.4rem;
}

.link7 a {
  display: table-cell;
  width: 8.4rem;
  height: 8.4rem;
  vertical-align: middle;
  line-height:1.2;
}

.popup {
  width:40rem;
  border-radius:0 2rem 0 2rem;
  padding:2.6rem 0 0 0 !important;
}

.popup h2 {
  font-size:1.6rem;
  padding-bottom:1rem;
}

.popup .et_pb_row {
  padding:3rem 4rem !important;
  width:100%;
  max-width:100%;
}

.popup ul {
  margin-top:3.5rem;
  list-style-type:none;
  line-height:1.6;
  padding-left:0;
}

.popup ul li a {
  color:#05092a;
  font-size:0.8rem;
  display:block;
  background:#BBFAFF;
  padding:0.5rem 1.2rem 0.4rem 1.2rem !important;
  border-radius:0.5rem;
}

.popup ul li a.mPS2id-highlight {
  background:#05092a;
  color:#FFF;
}

.popup ul li {
  padding-bottom:0.3rem;
  display:inline-block;
  margin:0 0.5rem 0.5rem 0;
}

.popup ul li a:before {
  display:none;
}

.popup li.active {
  font-weight:600;
}

#et-boc .area-outer-wrap .da-close {
  opacity: 1;
  border-radius: 0 2rem 0rem 1rem;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  font-size:2rem;
  color:#FFF !important;
}

#et-boc .area-outer-wrap .da-close:hover {
  color:#05092a !important;
}

#tuotteet img {
  width:84%;
}

#tuotteet {
  padding:2rem 0;
}

#tuotteet h3 {
  font-size: 1.9rem;
  padding-bottom: 1.5rem;
  padding-top: 2rem;
}

#tuotteet .et_pb_text_inner {
  max-width:21rem;
}

#tuotteet:after {
  display:block;
  width:18.8rem;
  position:absolute;
  top: 2rem;
  bottom:2rem;
  right:4.7rem;
  background:url(img/asset_blue.svg);
  background-size:contain;
  background-repeat:repeat;
  background-position: left top;
  content:'';
  background-size:30%;
}

#hinnoittelumallit .otsikkorow {
  padding-bottom:0 !important;
}

#hinnoittelumallit h2 {
  padding-bottom:0.5rem;
}

#hinnoittelumallit h4 {
  padding-bottom:0.7rem;
  font-size:1.3rem;
}

#hinnoittelumallit .et_pb_text_inner {
  max-width:23rem;
}

#hinnoittelumallit:after {
  display:block;
  position:absolute;
  top:0;
  right:0;
  background:url(img/prodect-hinnoittelumallit.jpg);
  width:32rem;
  height:30rem;
  background-size:contain;
  background-repeat:no-repeat;
  content:'';
}

#hinnoittelumallit {
  padding:3rem 0;
}

.et_pb_image_wrap {
  width:100% !important;
}

.et_pb_image_wrap img {
  width:100%;
}

/* REFEKARUSELLI */

#referensseja h2 {
  padding-bottom:1.5rem;
  padding-top:0rem;
}

#referensseja {
  padding:3rem 0 0 0 !important;
}

#refekaruselli .et_pb_slide_image {
  position:absolute;
  right:0;
  padding-left:2rem;
  margin-right:2rem;
}

#refekaruselli .et_pb_slide_image img {
  width:100%;
  border-radius:0 1rem 0 1rem;
}

#refekaruselli .et_pb_slide {
    padding: 0 0;
    border-radius:0 2rem 0 2rem;
}

#refekaruselli .et_pb_slide_description, #refekaruselli .et_pb_slider_fullwidth_off .et_pb_slide_description {
  padding: 0;
}

#refekaruselli .et-pb-controllers {
  position:relative;
  margin-top:1rem;
}

#refekaruselli .et-pb-controllers {
  bottom:0;
}

#refekaruselli .et-pb-controllers a {
  background:#aaa;
}

#refekaruselli .et-pb-slider-arrows {
  position: absolute;
  margin-top: 1.2rem;
  left:0;
  right:0;
}

#refekaruselli .et-pb-arrow-prev {
  left: auto !important;
  right:2rem !important;
  opacity:0.5;
  color: #05092a !important;
}

#refekaruselli .et-pb-arrow-next {
  right: 0 !important;
  opacity:0.5;
  color: #05092a !important;
}

#refekaruselli .et-pb-arrow-next:hover,
#refekaruselli .et-pb-arrow-prev:hover {
  opacity:1;
}

#refekaruselli .et-pb-controllers a {
  width: 1rem;
  height: 1rem;
  border-radius:0.3rem;
  margin-right:0.5rem;
}

#refekaruselli .et-pb-arrow-next, #refekaruselli .et-pb-arrow-prev {
  position: absolute;
  font-size: 2rem;
  margin-top: -0.85rem;
}

.et-pb-controllers .et-pb-active-control {
  background-color: #05092a;
}

#refekaruselli .et_pb_bg_layout_dark .et_pb_slide_description {
  text-shadow: none;
}

#refekaruselli h2 {
  font-size: 1.8rem;
  font-weight: 600;
  padding-bottom:1rem;
}

#refekaruselli .et_pb_slide_content p {
  font-size:0.85rem;
  line-height:1.5;
  padding-bottom:1.2rem;
}

#refekaruselli .et_pb_slide_content p:last-child {
  padding-bottom:0;
}

#refekaruselli .et_pb_slide_description {
  float:left;
  width: 50%;
  padding: 4rem 2rem;
  text-align:left;
}

/* OTA YHTEYTTÄ */

#ota-yhteytta {
  padding:0 0 0 0 !important;
}

#ota-yhteytta .et_pb_row > div:first-child {
  border-radius:0 4rem 0 0;
  min-height:100vh;
  padding-bottom:6rem !important;
}

#ota-yhteytta .et_pb_row {
  padding: 0 0 0 0 !important;
}

#ota-yhteytta h3 {
  padding-top:6rem;
  padding-bottom:1rem;
  font-size: 1.9rem;
}

#ota-yhteytta .yhteys a {
  color:#FFF;
}

#ota-yhteytta h4 {
  font-size:1.1rem;
  padding-bottom:0.5rem;
  padding-top:1rem;
}

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
  background-color: #fff;
  padding: 2px;
  color: #05092a;
  padding: 0.5rem;
  border-radius: 0.4rem;
  border: none;
  width:100% !important;
}

ul.hs-error-msgs {
  font-size:0.6rem;
  padding-bottom:0 !important;
}

.hbspt-form {
  margin-top: -1.5rem !important;
}

.hbspt-form label {
  font-size:0.7rem !important;
  padding-top:1rem !important;
  display:block !important;
}

.hbspt-form textarea {
  min-height:6rem !important;
}

.hbspt-form label.hs-error-msg {
  padding-top:0 !important;
}

#ota-yhteytta .hbspt-form .hs-button {
  line-height:1 !important;
  padding:0.7rem 1.5rem 0.6rem 1.5rem !important;
  border-radius:0.5rem;
  border:none;
  color:#FFF;
  font-size:0.9rem;
  background: linear-gradient(to right, #FF5B29  50%, #3366FF 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  margin-top:1rem;
}

#ota-yhteytta .hbspt-form .hs-button:hover {
  cursor:pointer;
  line-height:1 !important;
  padding:0.7rem 1.5rem 0.6rem 1.5rem !important;
  border-radius:0 0.5rem 0 0.5rem !important;
  border:none !important;
  color:#fff !important;
  background-position: left bottom;
}

#ota-yhteytta .hbspt-form fieldset {
  max-width:26rem !important;
}

#ota-yhteytta:after {
  display:block;
  width:11.8rem;
  position:absolute;
  top: 2rem;
  bottom:2rem;
  right:2rem;
  background:url(img/asset_white.svg);
  background-size:contain;
  background-repeat:repeat;
  background-position: left top;
  content:'';
  background-size:44%;
}

#footer {
  padding:0 0 0 0;
}

.mobiiliversio a {
  margin:0.5rem 0 0 0.5rem;
  display:inline-block;
}

.mobiiliversio img {
  width:auto;
  height:2.1rem;
}

.footermid {
  padding-left:6rem;
}

/* TIETOSUOJA */

#tietosuoja h1 {
  font-size:2rem;
  max-width:40rem;
  padding-bottom:1rem;
}

#tietosuoja h2 {
  font-size:1.6rem;
  max-width:40rem;
  padding-bottom:1rem;
  padding-top:2rem;
}

#tietosuoja h3 {
  color:#05092a;
  font-size:1.2rem;
  padding-bottom:1rem;
  padding-top:2rem;
}

#tietosuoja ul li {
  line-height:1.5;
  font-size:1rem;
  padding-bottom:0.5rem;
}

#tietosuoja ul {
  padding-top:0rem;
  padding-bottom:1rem;
  margin:0;
}

#tietosuoja td {
  font-size:0.9rem;
  line-height:1.5;
  vertical-align:top;
  padding:1rem;
  border:solid 0.05rem #ddd;
  background:#FFF;
  width:33.333%;
}

#tietosuoja table {
  margin:1rem 0;
}

#tietosuoja th {
  background:#FFF;
  color:#05092a;
  font-size:1.2rem;
  padding:1rem;
  width:33.333%;
  border:solid 0.05rem #ddd;
  text-align:center;
}

#tietosuoja {
  padding:0 0 0 0;
}

#tietosuoja a {
  text-decoration:underline;
}

#tietosuoja .et_pb_row {
  padding:6rem 0 !important;
}

.mobile_menu_bar::before {
  color:#05092a !important;
}

.hoverdiv {
  position: absolute;
  background: #3366FF;
  color: #fff;
  padding: 0;
  width: 16.85rem;
  z-index: 99999999999999999999999;
  left: 16.85rem;
  top: 0;
  position: absolute;
  height: 16.85rem;
  justify-content: center;
  opacity:0;
  display: table;
  -webkit-transition: all 250ms ease-in-out !important;
	-moz-transition: all 250ms ease-in-out !important;
	-o-transition: all 250ms ease-in-out !important;
	transition: all 250ms ease-in-out !important;
  pointer-events:none;
  border-radius:0 0 2.2rem 0;
}

.hoverdiv > div {
  display:table-cell;
  vertical-align:middle;
  text-align:left;
  padding:2rem;
  font-size: 0.8rem;
  line-height:1.6;
}

.link2 .hoverdiv {
  left:8.42rem;
  width:16.75rem;
}

.link3 .hoverdiv {
  top:8.42rem;
  width:16.75rem;
  left:-8.32rem;
}

.link4 .hoverdiv {
  width:16.85rem;
  left:8.42rem;
  top:-8.42rem;
  height:16.75rem;
}

.link5 .hoverdiv {
  width:16.75rem;
  left:8.42rem;
  top:-8.42rem;
  height:16.75rem;
}

.link6 .hoverdiv {
  width:16.75rem;
  left:-16.75rem;
  top:-8.42rem;
  height:16.75rem;
}

.link7 .hoverdiv {
  width:16.75rem;
  left:-16.75rem;
  height:16.75rem;
  top:0.05rem;
}

.link1:hover .hoverdiv,
.link2:hover .hoverdiv,
.link3:hover .hoverdiv,
.link4:hover .hoverdiv,
.link5:hover .hoverdiv,
.link6:hover .hoverdiv,
.link7:hover .hoverdiv {
  pointer-events:auto;
  opacity:100%;
}

/* MEDIA QUERIES */

@media screen and (min-width: 981px) {
	#page-container {padding-top:4.3rem !important;}
  #palvelu .et_pb_text_inner {width:85%;}
  #kenelle-prodect-sopii > .et_pb_row > div:last-child {
    padding-left:2rem;
    padding-top:1.2rem;
  }
  #ota-yhteytta:before {
    display: block;
    content: "";
    background: #05092A;
    position: Absolute;
    left: 0;
    right: auto;
    width: 30%;
    bottom: 0;
    top: 0;
  }
}

@media screen and (max-width: 980px) {
  #tietosuoja table {
    overflow-x: auto;
    display: block;
  }
  #tietosuoja h1 {
    font-size: 1.7rem;
    line-height:1.1;
  }
  #tietosuoja h2 {
    font-size: 1.4rem;
    line-height:1.1;
  }
  #mainhero {
    min-height:auto;
  }
  #mainhero .et_pb_button {
    margin: 1.2rem 1rem 0 0;
  }
  #nain-prodect-toimii .et_pb_row {
    padding: 4rem 0 0 0 !important;
  }
	html,
  body {
    font-size:16px;
  }
  #kenelle-prodect-sopii .et_pb_row > div:first-child,
  .mainhero-logo,
  #mainhero:after,
  #tuotteet:after,
  #hinnoittelu:after,
  #ota-yhteytta:after {
    display:none;
  }
  .popup {
    width:100%;
  }
  #ota-yhteytta .et_pb_row {
    width:100%;
    padding:0rem 0 !important;
  }
  #ota-yhteytta .et_pb_column {
    padding-left: 11.5%;
    padding-right: 11.5%;
  }
  .footermid {
    padding-left:0;
    margin-top:1rem !important;
  }
  .mobiiliversio {
    text-align:center !important;
    margin-top:1rem !important;
  }
  #ota-yhteytta .et_pb_row > div:first-child {
    padding-bottom:3rem !important;
  }
  #hinnoittelumallit::after {
    width:100%;
    height:20rem;
    background-position:top right;
  }
  #hinnoittelumallit {
    padding:20rem 0 1rem 0;
  }
  #palvelu .et_pb_row {
    padding-top:0 !important;
    padding-bottom:0rem !important;
  }
  #palvelu h2 {
    padding-top:1rem !important;
  }
  .popup .et_pb_row {
    padding: 2rem 2rem !important;
  }
  #refekaruselli .et_pb_slide_image {
    position:relative;
    right:auto;
    padding-left:0rem;
    margin-right:0rem;
    display:block !important;
    margin-top:1.5rem !important;
  }
  #refekaruselli .et_pb_slide_image img {
    width:50%;
    border-radius:0 1rem 0 1rem;
  }
  #refekaruselli .et_pb_slide_description {
    float:auto;
    width: 100%;
    padding: 1.5rem;
    text-align:left !important;
  }
  #refekaruselli {
    margin:1.5rem -5% 0 -5%;
  }
  #refekaruselli .et-pb-controllers {
    margin-bottom:1rem;
  }
  #mainhero .et_pb_row {
    padding: 3rem 0 5rem 0 !important;
  }
}

@media screen and (max-width: 470px) {
  #referensseja h2, #hinnoittelumallit h2, #nain-prodect-toimii h2, #kenelle-prodect-sopii h2, #mainhero h1, #palvelu h2, #tuotteet h3 {
    font-size: 2.3rem;
  }
}

@media screen and (max-width: 410px) {
  #referensseja h2, #hinnoittelumallit h2, #nain-prodect-toimii h2, #kenelle-prodect-sopii h2, #mainhero h1, #palvelu h2, #tuotteet h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 375px) {
  .popup ul li a {
    font-size:0.75rem;
  }
}

@media screen and (max-width: 350px) {
  #referensseja h2, #hinnoittelumallit h2, #nain-prodect-toimii h2, #kenelle-prodect-sopii h2, #mainhero h1, #palvelu h2, #tuotteet h3 {
    font-size: 1.9rem;
  }
  .popup ul li a {
    padding: 0.5rem 0.7rem 0.4rem 0.7rem !important;
  }
}

@media screen and (max-width: 330px) {
  #referensseja h2, #hinnoittelumallit h2, #nain-prodect-toimii h2, #kenelle-prodect-sopii h2, #mainhero h1, #palvelu h2, #tuotteet h3 {
    font-size: 1.7rem;
  }
  .popup ul li a {
    font-size: 0.7rem;
  }
}

@media screen 
  and (min-width: 768px) 
  and (max-width: 980px){
  #referensseja .et_pb_slide_image {
    top:0;
  }
}

/* COOKIE */

div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom {
  font-family: 'Epilogue',sans-serif !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  }
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom div#hs-eu-cookie-confirmation-inner {
      background: #fff;
      margin: 0 auto !important;
      max-width: 40% !important;
      padding: 1.5rem 0 !important;
  }
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom div#hs-eu-cookie-confirmation-inner a {
  color:#3366FF !important;
  }
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button {
  background: linear-gradient(to right, #05092a 50%, #3366FF 50%) !important;
      background-position-x: 0% !important;
      background-position-y: 0% !important;
      background-size: auto !important;
  background-size: 200% 100% !important;
  background-position: right bottom !important;
  border:none !important;
  border-radius:0.5rem !important;
  line-height:1 !important;
  padding: 0.7rem 1.5rem 0.6rem 1.5rem !important;
  margin: 0.1rem !important;
  color:#FFF !important;
    -webkit-transition: all 250ms ease-in-out !important;
    -moz-transition: all 250ms ease-in-out !important;
    -o-transition: all 250ms ease-in-out !important;
    transition: all 250ms ease-in-out !important;
  }
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom div#hs-eu-cookie-confirmation-inner a#hs-eu-confirmation-button:hover {
  background-position: left bottom !important;
  border-radius: 0 0.5rem 0 0.5rem !important;
  }
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button {
  padding: 0.7rem 1.5rem 0.6rem 1.5rem !important;
  margin: 0.1rem !important;
  color: #05092a !important;
  border:none !important;
    -webkit-transition: all 250ms ease-in-out !important;
    -moz-transition: all 250ms ease-in-out !important;
    -o-transition: all 250ms ease-in-out !important;
    transition: all 250ms ease-in-out !important;
  opacity:0.7 !important;
  }
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom div#hs-eu-cookie-confirmation-inner a#hs-eu-decline-button:hover {
  opacity:1 !important;
  }
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom div#hs-eu-cookie-confirmation-inner p {
      margin: 0 0 1rem !important;
  color: #05092a !important;
  }
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom {
  box-shadow: 0 1px 100vw #05092a !important;
  }
  
  @media screen and (max-width: 982px) {
  div#hs-eu-cookie-confirmation.hs-cookie-notification-position-bottom div#hs-eu-cookie-confirmation-inner {
      max-width: 80.5% !important;
  }
  }
