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

body {
    height: 100%;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    position: relative;
    padding-bottom: 40px;
}

/* ::-webkit-scrollbar {
    width: 12px;
}
 
::-webkit-scrollbar-track {
    background: #eee;
    box-shadow: 0 0 5px #ddd inset;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #303030;
} */

h1, h2, h3, h4, h5 {
  font-family: 'Francois One', sans-serif;
  font-weight: 400;
}

a, a:visited {
    color: #cc6600;
    text-decoration: none;
    transition: all 0.5s;
}

a:hover {
  text-decoration: underline;
  color: #ff9900;
}

ul {
    list-style-type: square;
    padding-left: 1em !important;
    margin: 0px;
}

.row {
  margin-bottom: 30px;
}

[class*="col-"] {

}

.black {
  color: #000 !important;
}

.white {
	color: #fff !important;
}

.black:hover {
  color: #666 !important;
  background: transparent !important;
  text-decoration: underline !important;
}

header {
    background: #303030;
    padding: 20px 0 0 0;
    overflow: hidden;
    box-shadow: 0 0 10px #303030 ;
    text-align: center;
    transition: all 0.5s;
}

.logo {
    margin: 5px;
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
    max-height: 50px;
    transition: all 0.5s;
}

.navbar {
  float: right;
}

.desktop {
    padding: 5px 0 0 0;
    display: none;
}

.navbar a {
    /*padding: 10px 20px;
    background: #ff9900;
    color: #fff;
    border: 1px solid #ff9900;*/
    font-weight: 400;
    transition: all 0.5s;
    color: #ff9900;
}

.navbar a:hover {
	color: #cc6600;
}

.mobile {
    float: left;
    text-align: center;
    width: 100%;
    margin: 20px 0 0 0;
}

.menu, .menu:hover {
    width: 100%;
    padding: 15px;
    //background: #ff9900;
	background: linear-gradient(to bottom, #ff5500, #ff9900);
    color: #fff;
    font-weight: bold;
    border: hidden;
}

.language-option {
  display: inline-block;
  border: hidden !important;
  height: 40px;
  width: 40px;
  border-radius: 20px;
  box-shadow: 0 0 10px #333 inset !important;
  transition: all 0.5s;
}

.language-option:hover {
  box-shadow: 0 0 0 #333 inset !important;
}

/*.language-option span {
  opacity: 0;
  filter: alpha(opacity=0);
} */

.language-option.en {
  background: url('../res/language-english.png') no-repeat center center !important;
  background-size: cover !important;
}

.language-option.swe {
  background: url('../res/language-swedish.png') no-repeat center center !important;
  background-size: cover !important;
}

.home-link {
	display: inline-block;
	height: 30px;
	width: 30px;
	background: url(/media/layout/res/button-home.png) no-repeat center top;
	background-size: 80%;
	transition: all 0.5s;
}

.home-link:hover {
	background: url(/media/layout/res/button-home-hover.png) no-repeat center top;
	background-size: 80%;
}

.dropit {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dropit .dropit-trigger {
  position: relative;
}

.dropit .dropit-submenu {
  position: absolute;
  top: 100%;
  left: 0px; /* dropdown left or right */
  z-index: 1000;
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dropit .dropit-open .dropit-submenu {
  display: block;
}

.dropdown ul {
  display: none;
}

.dropdown ul.dropit-submenu {
  /* min-width: 650px;*/
  background-color: #303030;
  border: 1px solid #b2b2b2;
  padding: 10px 20px;
  margin: 3px 0 0 1px !important;
  text-align: left;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
  box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
  -webkit-animation: fade-in 0.5s;
  -webkit-animation-fill-mode: forwards;
  -moz-animation: fade-in 0.5s;
  -moz-animation-fill-mode: forwards;
  -o-animation: fade-in 0.5s;
  -o-animation-fill-mode: forwards;
  animation: fade-in 0.5s;
  animation-fill-mode: forwards;
}

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
    margin-top: 20px;
  }
  
  to {
    opacity: 1;
  }
}

@-moz-keyframes fade-in {
  from {
    opacity: 0;
    margin-top: 20px;
  }
  
  to {
    opacity: 1;
  }
}
@-o-keyframes fade-in {
  from {
    opacity: 0;
    margin-top: 20px;
  }
  
  to {
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    margin-top: 20px;
  }
  
  to {
    opacity: 1;
  }
}

.dropdown ul.dropit-submenu a {
  display: block;
  line-height: 20px;
  color: #cc6600;
  padding: 5px;
  color: #ff9900;
}

.dropdown ul.dropit-submenu a:hover {
  background: #ff9900;
  color: #fff;
  text-decoration: none;
}

#collapse {
    text-align: center;
}

.mobile ul {
    list-style-type: none;
    margin: 10px 0 0 0;
    padding-left: 0;
    padding-right: 20px;
    text-align: left;
}

.mobile li {
    width: 49%;
    float: left;
    font-size: 1em;
    /* border-bottom: 1px solid #ccc; */
}

.mobile li a {
  display: inline-block;
  padding: 20px 0;
  width: 100%;
  height: 100%;
}

.mobile li a.language-option {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  margin: 10px 0;
  display: inline-block;
}

.language-option span {
  opacity: 0;
}

.carousel a {
	color: inherit;
}

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

#carousel-top {
    transition: all 0.5s;
    box-shadow: 0 5px 10px #ccc !important;
}

.carousel-control {
    display: none !important;
}

.carousel>ol li {
    border-radius: 0.5em;
    background: rgba(255,255,255,0.8) !important;
    transition: all 0.5s;
}

.carousel>ol .active {
    background: #ff9900 !important;
    border-radius: 0.5em;
}

.carousel figcaption {
  /* background: linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.8)) !important; */
  background: #ff9900 !important;
  background: url(../res/orange-background.png);
  position: relative !important;
}

#carousel-top figcaption {
  min-height: 175px;
  font-size: 0.875em;
}

#carousel-2 figcaption {
  min-height: 320px;
  font-size: 0.875em;
}

#carousel-top figcaption .carousel-description p.first {
  display: block;
}

#carousel-top figcaption .carousel-description p {
  display: none;
}

.carousel .image {
  height: 180px !important;
  overflow: hidden;
  text-align: center;
}

.search {
    display: none;
}

.box-wrapper {
	width: 100%;
	background: linear-gradient(25deg, #e9e9e9 10%, #fff 50%);
	margin-top: -1em;
	padding: 20px 0;
}



.box-wrapper .row:last-child {
	margin-bottom: 0;
}

.box {
  padding: 10px;
  margin: 0 0 20px 0;
  box-shadow: 0 0 10px #ccc;
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=-135, Color='#cccccc')";
  border: 1px solid #ccc;
  transition: all 0.5s;
  background: #fff;
}

.box:hover {
	border: 1px solid #ff9900;
	box-shadow: 0 0 10px #cc6600;
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=-135, Color='#cc6600')";
}

.box hr {
	border: 0;
	height: 1px;
	background: #ccc;
     
}

.box:hover hr {
	border: 0;
	height: 1px;
	background: #ff9900;
}

.tiedote {
    padding: 10px;
    transition: all 0.5s;
}

.tiedote h4 {
    margin: 10px 0 0 0;
}

.tiedote p {
    margin: 5px 0 15px 0;
}

.read-more {
    padding: 5px 10px;
    color: #fff !important;
    background: #ff9900;
    border: 1px solid #ff9900;
    transition: all 0.5s;
    display: inline-block;
    min-width: 10px;
}

.read-more:hover {
  color: #cc6600 !important;
  background: #fff;
  border: 1px solid #cc6600;
  text-decoration: none;
}

.blogi:hover a {
	border: 1px solid #303030;
}
/*
.tiedote a:hover {
    text-decoration: underline;
}

.tiedote:hover {
    background: #ff9900;
    color: #fff;
}

.blogi:hover {
	background: #303030;
}

.tiedote:hover a {
    background: #fff;
    color: #cc6600 !important;
}
*/
.section-header {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat;
  height: 200px;
  box-shadow: 0 0 20px #333 inset;
  position: relative;
}

.section-header h1 {
  color: #fff;
  font-size: 3em;
  font-weight: 700;
  text-shadow: 2px 2px 10px #333;
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=6, Direction=135, Color='#cccccc')";
  margin-top: 160px;
}

.ratkaisut  {
  background: url(../images/ideas-esecom.jpg);
}

.palvelut {
  background: url(../images/arrow-esecom.jpg);
  background-position: 50% 38% !important;
}

.tuotteet {
  background: url(../images/network-esecom.jpg);
  background-position: 50% 12% !important;
}

.referenssit {
  background: url(../images/ideas-esecom.jpg);
}

.ota-yhteytta  {
  background: url(../images/contact.jpg);
  background-position: 50% 65% !important;
}

.blog {
  background: url(../images/tablet-esecom.jpg);
}

.search-page {
  background: url(../images/sunset.jpg);
}

.esecom {
	background: url(../images/network-esecom.jpg);
}

.reference {
  min-height: 360px !important;
  background: #ff9900;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.reference-image {
	background: #fff;
	text-align: center;
	height: 90px;
	padding: 10px;
}
.reference-image img {
	max-height: 70px;
}

.reference .read-more {
	display: inline-block;
	width: 94%;
	padding: 10px 0;
	background: #fff;
	color: #cc6600 !important;
	position: absolute;
	bottom: 10px;
	left: 3%;
	text-align: center;
}

.reference .read-more:hover {
	text-decoration: underline;
}

.reference a {
	color:#fff !important;
}

#carousel-2 {
  background: #fff;
}

#carousel-2 img {

  width: 200px !important;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 20px 40px 20px;
}

#carousel-2 figcaption a.read-more {
	background: #fff !important;
	color: #cc6600 !important;
	border: 1px solid #fff;
}

#carousel-2 figcaption a.read-more:hover {
	background: transparent !important;
	color: #fff !important;
}

#carousel-2 .carousel-description {
	padding-bottom: 10px;
}

.box {
  padding-bottom: 25px;
}

.box-wrap .box {
  width: 100%;
  float: left;
  margin-right: auto;
}

.box.last-in-row {
  margin-right: 0;
}

.box-title {
  color:#ffffff;
  text-shadow:0 1px 0 #81ac2e;
  background: rgb(160,223,65); /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iI2EwZGY0MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3NmFiMTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  rgba(160,223,65,1) 1%, rgba(118,171,21,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(160,223,65,1)), color-stop(100%,rgba(118,171,21,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(160,223,65,1) 1%,rgba(118,171,21,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(160,223,65,1) 1%,rgba(118,171,21,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(160,223,65,1) 1%,rgba(118,171,21,1) 100%); /* IE10+ */
  background: linear-gradient(top,  rgba(160,223,65,1) 1%,rgba(118,171,21,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0df41', endColorstr='#76ab15',GradientType=0 ); /* IE6-8 */
  border-color: #81ac2e;
  -moz-box-shadow:
    inset 0px 1px 0px #b4f406;
  -webkit-box-shadow:
    inset 0px 1px 0px #b4f406;
  box-shadow:
    inset 0px 1px 0px #b4f406;
}

.box img { 
  margin: 0; 
  line-height: 0; 
  /*max-height: 45%;*/
}

.box .content-wrap {
  border: solid 1px #cccccc;
  border-top-width: 0;
  background-color: #FFF;
  overflow: hidden;
}

.box .content {
  margin: 12px;
  font-size: 0.95em;
}

.footer {
    border-top: 4px solid #cc6600;
    padding: 10px;
    margin: 20px 0 0 0;
}

.hover-button {
  display: none;
}

#logout {
	background: #303030;
	position: fixed;
	bottom: 0;
	width: 100%;
	color: #fff;
}

#user_template {
	margin: 0.2em 0;
}

#user_template tr {
	display: inline-block;
}

.up {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background: #ff9900 url(../res/button-up.png) no-repeat 12% 25%;
  background-size: 40%;
  position: fixed;
  bottom: -50px;
  right: -50px;
  display: none;
  opacity: 0.7;
}

.lightbox-overlay {
  padding-top: 0 !important;
}

.lightbox-close {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  padding: 7px 0 0 0 !important;
  background: rgba(255,153,0,0.8);
  top: 5px !important;
  right: 5px !important;
  transition: all 0.5s !important;
}

.lightbox-close:hover {
  text-decoration: none !important;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 27px;
}

#contact-form-close {
	position: absolute;
	top: -25px;
	right: -10px;
	width: 50px;
  height: 50px;
  border-radius: 25px;
  padding: 0 !important;
  background: rgba(255,153,0,0.8);
  color: #fff;
  font-size: 1.5em;
}

.subnavigation a::after {
  content: ' > ';
}

.contact-form {
  min-width: 280px;
  max-width: 600px;
  text-align: center;
  position: relative;
}

.contact-form img {
	max-height: 50px;
}

.trail {
	margin: 0;
}

.breadcrumb {
	list-style: none;
	padding-left: 0 !important;
}

.breadcrumb li {
	display: inline-block;
}

.breadcrumb .divider {
	margin: 0 10px;
}

.searchbox {
	display:block !important;
}

.search_keywords {
	width: 200px;
	height: 30px;
	margin: 0;
	float: left;
	border-right: hidden;
	transition: all 0.5s;
}

.searchform {
	display: none;
}

.search_submit {
	background: #ff9900 url(../res/search.png) no-repeat center center !important;
	background-size: 70%;
	height: 30px;
	width: 30px;
	border: 1px solid #ff9900 !important;
	border-left: hidden !important;
	transition: all 0.5s;
}

.box:hover .search_keywords {
	border: 1px solid #cc6600 !important;
	border-right: hidden !important;
}

.box:hover .search_submit {
	background: #cc6600 url(../res/search.png) no-repeat center center !important;
	border: 1px solid #cc6600 !important;
	border-left: hidden !important;
}

.search-link {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background: #333 url(../res/search.png) no-repeat center center;
	transition: all 0.5s;
	float: right;
	box-shadow: 0 0 10px #000 inset;
}

.search-link:hover {
	background: #ff9900 url(../res/search.png) no-repeat center center;
	box-shadow: 0 0 0 #000 inset;
}

.questionnaire {
	border: 1px solid #cc6600;
	padding: 10px;
	margin: 0 0 20px 0;
	background: #ff9900;
	color: #fff;
	text-align: center;
	position: relative;
	transition: all 0.5s;
}

.dismiss {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ff9900;
	width: 30px;
	height: 30px;
	color: #fff;
	padding: 0;
	border: hidden;
	box-shadow: 0 0 5px #cc6600 inset;
	transition: all 0.5s;
	border-radius: 15px;
}

.dismiss:hover {
	box-shadow: 0 0 0 #cc6600 inset;
	background: #cc6600;
}

#questionnaire-form {
	text-align: center;
}

.row.product-box {
	margin-bottom: 10px !important;
}

.product-box {
	background: #eee;
	padding: 10px;
	margin-top: 10px;
}

.blank {
	visibility: hidden;
	display: inline-block;
	height: 1px;
     }
     
.accordion-head {
	transition: all 0.5s;
}
     
.accordion-head a {
	background: url(/media/layout/res/arrow-down.png) no-repeat right center;
	display: block;
}

.accordion-head a.active {
	background: url(/media/layout/res/arrow-up.png) no-repeat right center;
}

.activeHead {
	background: #eee;
}
     
.accordion-body {
	overflow: hidden;
	padding: 10px !important;
}

.accordion-body.collapse {
	padding: 0 !important;
}

.accordion-body {
	border-bottom: 1px solid silver !important;
}


.pagination span a {
	padding: 10px 15px;
	background: #f7f7f7;
	display: inline-block;
}

.curPage {
	background: #cc9900 !important;
	padding: 10px 15px;
	color: #fff;
}

@media (min-width: 768px) {
    
    #carousel-top figure {
        height: 490px !important;
    }
    
    #carousel-top figure > img {
        position:absolute;
        top:50%;
        min-height:100%;
        display:block;
        left:50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        min-width:100%;
    }

    #carousel-top figcaption {
        position: absolute !important;
        top: 25px !important;
        right: 35px !important;
        width: 500px !important;
        height: 200px !important;
        background: transparent /*rgba(255,255,255,0.8)*/ !important;
        color: #333 !important;
        transition: all 0.5s;
    }
    
    #carousel-top figcaption h2 {
        background: linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.7)) !important;
        background: -webkit-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.7)) !important;
        background: -moz-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.7)) !important;
        background: -o-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.7)) !important;
	background: url(../res/orange-background.png);
        color: #fff;
        padding: 10px;
        text-transform: uppercase;
    }
    
    #carousel-top figcaption .carousel-description {
        display: block;
        background: rgba(255,255,255,0.9);
	background: url(../res/white-background.png);
        padding: 10px;
        box-shadow: 0 0 10px #ccc;
    }
    
    #carousel-top figcaption .carousel-description p {
	display: block;
    }
    
    /* .carousel ol {
        top: 420px !important;
    } */
    
    .carousel-control {
        display: block !important;
        margin-top: 0 !important;
        width: 50px !important;
        height: 80px !important;
        padding: 0 !important;
        transition: all 0.5s;
    }
    
   /* .carousel .image {
      height: 120px !important;
      overflow: visible;
      text-align: center;
    }*/
    
    #carousel-2 figcaption {
      min-height: 100px;
    }
    
    #carousel-2 .carousel-control {
      display: none !important;
    }
    
    .carousel-control.left {
      background: url('../res/carousel-control-prev.png') no-repeat left center;
      background-size: contain;
    }
    
    .carousel-control.left:hover {
      margin-left: -5px !important; 
    }
    
    .carousel-control.right {
      background: url('../res/carousel-control-next.png') no-repeat right center;
      background-size: contain;
    }
    
    .carousel-control.right:hover {
      margin-right: -5px !important; 
    }
    
    .section-header {
      height: 250px;
    }
    
    .section-header h1 {
      font-size: 4em;
      margin-top: 190px;
    }
    
    .ajankohtaista {
      border-right: 1px solid #ccc;
    }
    
    .ajankohtaista:last-child {
      border: hidden;
    }
    
    .footer div {
        margin: 10px 0 10px 0;
        border-right: 1px solid #ccc;
    }
    
    .footer div:last-child {
        border-right: hidden;
    }
    
    .searchbox {
	display: block !important;
    }
    
    .box-wrapper .col-s-6.box {
	min-height: 480px;
	}
    
    /*.search_keywords {
	width: 80%;
    }*/
    
    .reference {
	margin-bottom: -5px;
    }
     
     .product-details {
	display: none;
     }
     
     .product-box:hover .product-details {
	display: block;
     }    
}

@media (min-width: 992px) {
    header {
	background: #fff;
        padding: 0;
        overflow: visible;
        width: 100% !important;
        position: fixed;
        top: 0;
        z-index: 9;
    }
    
    .logo {
        float: left;
        margin: 0;
    }
    
    .mobile {
        display: none;
    }
    
    .desktop {
        display: block;
    }
    
    .navbar {
	float: left;
	padding: 5px 0;
	transition: all 0.5s;
    }
    
    .navbar li {
	border-right: 1px solid #cc6600;
        margin: 10px 0 0 0 !important;
        padding: 0 10px;
    }
    
    .navbar li:first-child, .navbar li:first-child a {
      border: hidden;
      padding-left: 0;
    }
    
    .navbar li:last-of-type {
      border-right: hidden !important;
    }
    
    .navbar li a {
	font-weight: bold;
    }
    
    .dropdown.dropit {
	padding: 0 !important;
    }
    
    .dropit-submenu li {
	border: hidden;
    }
    
    .dropit-submenu li a {
	font-weight: normal;
    }
    
    .navbar .language-option {
      margin: 0 5px;
      float: right;
    }
    
    .logo-search {
	width: 100%;
	overflow: hidden;
	background: #303030;
	padding: 10px 0;
	border-bottom: 5px solid transparent;
	border-image: url(/media/layout/res/sunset-stripe.jpg) 0 1 10 stretch;
     }
    
    #carousel-top {
      margin-top: 124px;
    }
    
    /* .carousel figure {
        height: 700px !important;
    }

    .carousel figcaption {
        position: absolute !important;
        top: 100px !important;
        right: 50px !important;
        width: 500px !important;
        height: 200px !important;
        background: transparent !important;
        color: #333 !important;
        transition: all 0.5s;
    } */
    
   /* .search {
        display: block;
        height: 30px;
    }
    
    .search input[type="text"] {
        width: 80%;
        float: left;
        height: 30px;
    }
    
    .search input[type="submit"] {
        width: 16%;
        height: 30px;
        padding: 0 5px;
        margin: 0 0 0 5px;
        float: left;
    }
    
    .form-wrapper {
      width: 100%;
      border: hidden !important;
    }
    
    .bottom-search {
      width: 30%;
    }
    
    .bottom-search input[type="text"] {
      width: 80%;
    }
    
    .search input[type="submit"] {
        width: 15%;
    } */
    
    .section-header {
      /*background-attachment: fixed !important;*/
      margin-top: 120px;
    }
    
    .section-header-frontpage {
	margin-top: 0;
	background-attachment: fixed !important;
    }
    
    .blog {
	background-position: 50% 30% !important;
    }
    
    .esecom {
	background-position: 50% 12% !important;
    }
    
    .hover-button {
      display: inline-block;
      position: fixed;
      right: -50px;
      bottom: 10vh;
      -webkit-transform: rotate(-270deg);
      -ms-transform: rotate(-270deg);
      transform: rotate(-270deg);
      padding: 30px 20px 15px 20px;
      background: linear-gradient(#ff9900,#cc6600);
      color: #fff !important;
      border-radius: 10px;
      box-shadow: 0 0 10px #000;
      z-index: 9999;
      transition: right 0.5s !important;
    }
    
    .hover-button:hover {
      right: -45px;
      color: #fff;
      text-decoration: none;
    }
    
    .up {
      display: none !important;
    }
    
    .searchform {
	padding: 10px 0 0 0;
	display: block;
	transition: all 0.5s;
    }
    
    header .search_keywords {
	background: #303030;
	width: 100px;
	text-align: center;
	color: #fff;
    }
    
    header .search_keywords:focus, header .search_keywords:hover {
	width: 200px;
	text-align: left;
	border: 1px solid #ff9900;
    }
    
    /*.search_keywords {
	width: 87%;
    }
    
    .search-link {
	display: inline-block;
    }*/
}

@media (min-width: 1200px) {
    .navbar a {
        padding: 10px;
    }
    
    #carousel-top figcaption {
      right: 15% !important;
    }
    
    /*.search_keywords {
	width: 89%;
    }*/
}

:focus { outline: none; }

.formHolder td {
	padding: 5px 0;
}

.formHolder td:first-child {
	padding-right: 10px;
}

.formEmailinput, .formTextinput, .formTextarea, .formTelinput {
	padding: .4em;
	border: 1px solid #ccc;
}

.formEmailinput:focus, .formTextinput:focus, .formTextarea:focus, .formTelinput:focus { border-color: #000fff; }

.formTextarea {
	overflow: auto;
}


/*** NEW CAROUSEL ***/

.karuselli-main {
	position: relative;
	width: 100%;
	max-width: 1920px;
	background: linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,1)) !important;
	background: -webkit-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,1)) !important;
	background: -moz-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,1)) !important;
	background: -o-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,1)) !important;
	background: url(../res/orange-background.png);
}

.karuselli-main .item .kuva {
	height: 200px;
	overflow: hidden;
	
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-position: center center !important;
}

.karuselli-main .item .text-content {
	/* background: linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,1)) !important;
	background: -webkit-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,1)) !important;
	background: -moz-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,1)) !important;
	background: -o-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,1)) !important;
	background: url(../res/orange-background.png); */
	color: #fff;
	padding: 10px;
	overflow: hidden;
}

.karuselli-main .item .text-content h2 {
	color: #fff;
}

.karuselli .slick-dots {
	bottom: -30px;
	margin: 0;
}

.karuselli .slick-dots li button {
	width: 16px;
	height: 16px;
	border-radius: 8px;
	background: #fff;
	border: 2px solid #000;
}

.karuselli .slick-dots .slick-active button {
	background: #ff9900;
}

.karuselli .slick-dots li button:before {
	content: ' ';
}

.carousel-read-more {
	display: none;
}

.karuselli .slick-next {
	background: rgba(255,255,255,0.8) url('../res/carousel-control-next.png') no-repeat left center !important;
	background-size: contain !important;
	right: -50px;
}

.karuselli .slick-prev {
	background: rgba(255,255,255,0.8) url('../res/carousel-control-prev.png') no-repeat right center !important;
	background-size: contain !important;
	left: -50px;
}

.karuselli .slick-prev, .karuselli .slick-next {
	width: 100px;
	height: 100px;
	border-radius: 50px;
	/* background: rgba(255,255,255,0.8); */
	margin-top: -50px;
	box-shadow: 0 0 10px #ccc;
	transition: all 300ms ease;
}

.karuselli .slick-next:hover {
	right: -55px;
}

.karuselli .slick-prev:hover {
	left: -55px;
}

.karuselli .slick-prev:before, .karuselli .slick-next:before {
	content: ' ';
}

/*** INITIALIZE ***/

.karuselli .item {
	display: none !important;
}

.karuselli .item:first-child {
	display: block !important;
}


.karuselli.slick-initialized .item {
	display: block !important;
}

@media (min-width: 768px) {
	
	.karuselli {
		overflow: hidden;
	}
	
	.karuselli-main .item .kuva {
		height: 400px;
		overflow: hidden;
	}
	
	.karuselli-main .item .text-content {
		position: absolute;
		top: 15%;
		/*right: 10%;*/
		min-width: 300px;
		max-width: 500px;
		background: rgba(255,255,255,0.8) !important;
		color: #000;
		padding: 0;
		box-shadow: 0 0 10px #ccc;
	}
	
	.karuselli-main .item .text-content h2 {
		background: linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.7)) !important;
		background: -webkit-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.7)) !important;
		background: -moz-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.7)) !important;
		background: -o-linear-gradient(rgba(255,153,0,0.8),rgba(204,102,0,0.7)) !important;
		background: url(../res/orange-background.png);
		margin: 0;
		padding: 10px;
	}
	
	.karuselli-main .item .text-content p {
		padding: 0px 10px;
	}
	
	.carousel-read-more {
		display: inline-block;
		padding: 7px 14px;
		background: #ff9900;
		color: #fff;
		border: 1px solid #ff9900;
		transition: all 500ms ease;
	}
	
	.karuselli .item:hover .carousel-read-more {
		background: #fff;
		color: #cc6600;
		border: 1px solid #cc6600;
	}
	
	.karuselli .slick-dots {
		bottom: 20px;
		margin: 0;
	}
	
}

@media (min-width: 992px) {
	.karuselli-main {
		margin: 132px auto 0px auto;
	}
	
	.karuselli-main .item .kuva {
		height: 500px;
	}
	
	.karuselli-main .item .text-content {
		top: 15%;
		right: 15%;
	}
}

@media (max-width: 420px){
	.section-header h1 {
		font-size:2.0em;
	}
	
}


/*** ! ***/


























