
/* Various helper classes */

.n-hidden {
  display: none /*!important*/;
}

.n-full-width {
  width: 100%;
}

.n-full-height {
  height: 100%;
}

.n-full {
  width: 100%;
  height: 100%;
}

.n-full-a {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.n-full-r {
  position: relative;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.n-cover {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.n-cover-viewport {
  position: fixed;
  left: 0px; right: 0px; top: 0px; bottom: 0px;
  margin: 0; padding: 0;
}

.n-relative {
  position: relative;
}

.n-no-overflow {
  overflow: hidden;
}

.n-auto-overflow {
  overflow: auto;
}

.n-no-margin {
  margin: 0;
}

.n-inline-block {
  display: inline-block;
}


.no-js div.n-only-if-no-js {
  display: block;
}

.js div.n-only-if-no-js {
  display: none;
}

.no-js div.n-only-if-have-js {
  display: none;
}

.js div.n-only-if-have-js {
  display: block;
}


.n-no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.n-can-select {
  -webkit-touch-callout: all;
  -webkit-user-select: all;
  -khtml-user-select: all;
  -moz-user-select: all;
  -ms-user-select: all;
  user-select: all;
}

.n-can-select-text {
  -webkit-touch-callout: text;
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.n-nowrap {
  white-space: nowrap;
}


.green {
	color: #00BA65;
}

/* Hover color for green links */
.green.link:hover {
	color: #02A359;
}

.red {
	background: red;
}

.red:hover, .red:focus, .red[disabled], .red[disabled]:hover, red[disabled]:focus {
	background: rgb(173, 0, 0);
}


ul.n-data-list {
  list-style-type: none;
  list-style-position: outside;
  display: table;
}

ul.n-data-list li:nth-child(odd) {
  background-color: #555;
  display: table-row;
}

ul.n-data-list li:nth-child(even) {
  display: table-row;
}


/* Vertically centering block */
.n-centering-container {
  text-align: center;
  white-space: nowrap;
  font-size: 0px;
}
.n-centering-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.n-centered {
  text-align: initial;
  display: inline-block !important;
  vertical-align: middle;
  font-size: initial;
  white-space: normal;
}

.n-h-centered {
  display: inline-block;
  margin: 0 auto !important;
}


/* Hide the Javascript support nagger if JS is detected to be available by Modernizr.
   See: assets/pages/common/nojs.jade .
 */
.js #nojs {
  display: none;
}


/* View manager */

.n_view_root {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  overflow: auto !important;
  margin: 0px;
  padding: 0px;
  border: 0px;
}



/* Foundation modifications */

button.button {
  background-color: #336600;
  border-radius: 5px;
}

button.button:hover {
  background-color: #669900;
}

.reveal-overlay {
  overflow-y: hidden;
}


.n-top-bar {
  position: relative;
  height: 2.813rem;    /* equiv 45px, to ensure top bar reacts to font size changes. */

  /* Remove the 8px padding (from foundation title bar), it's added back in left and right components. */
  padding: 0px !important;

  background-color: #333;
}

/* Ensure that left and right top bar content will go over logo if necessary */
.n-top-bar .title-bar-left, .n-top-bar .title-bar-right {
  z-index: 2;
  margin: 0;
}

.n-user-menu-toggle-btn {
  /*border-left: 1px solid #262626;*/
  padding-left: 5px;
  margin-left: 5px;
  margin-right: 10px;
}

.n-user-menu-toggle-btn i.fa {
  font-size: 2.063rem;      /* equiv 33px */
  margin-top: 0.375rem;     /* equiv 6px */
  margin-bottom: 0.375rem;  /* equiv 6px */
}


.n-side-menu-title {
  position: absolute;
  top: 0px;
  height: 32px;  /* or: 2rem ? */
  left: 0px;
}

.n-side-menu-content-viewport {
  position: absolute;
  top: 32px;    /* or: 2rem ? */
  bottom: 0px;
  left: 0px;
  right: 0px;
  /*padding-right: 10px;*/  /* for scrollbar if using slim scroll */
  overflow: auto;
}

.n-side-menu-content {
}
.n-side-menu-content li {
  list-style-type: none;
  list-style: none;
}

.n-side-menu-icon {
  /* color: #dddddd; */
  color: #95B38C;
  font-size: 1rem;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/*.n-left-menu ul li label {*/
.n-side-menu-label {
  display: block;
  width: 100%;
  background-color: #444;
  border-top: 1px solid #222;
  border-bottom: 1px solid #5e5e5e;
  color: #999;
  font-size: 0.75rem;
  font-weight: bold;
  margin: 0;
  padding: 0.3rem 0.9375rem;
  text-transform: uppercase;
}


.n-side-menu-item {
  display: block;
  width: 100%;
  border-bottom: 1px solid #262626;
  color: #bbb;
  font-size: 1.0rem;
  text-align: left;
  margin: 0;
  padding: 0.66667rem;
  line-height: inherit;
  cursor: pointer;

  transition: background-color 300ms ease;
}

.n-side-menu-item:hover {
  background-color: #222;
}

.n-side-menu-item.selected {
  background-color: #5d6100;
}

.n-side-menu-item.selected:hover {
  background-color: #7f8400;
}




.n-bg-color-dark {
  background-color: #333 !important;
}
.n-bg-color-dark2 {
  background-color: #444 !important;
}
.n-bg-color-nostecogreen {
    background-color: #84C225;
}

.n-color-light {
  color: #c2c2c2 !important;
}
.n-color-dark {
  color: #333 !important;
}
.n-color-dark2 {
  color: #444 !important;
}
.n-color-nostecogreen {
    background-color: #84C225;
}


#main {
  background-color: #444;
}


.n-top-bar {
}


#no_js_alert {
  padding: 0.5rem;
  box-sizing: border-box;
}
#no_js_alert > div {
  background-color: beige;
  border: 1px solid red;
  border-radius: 5px;
  padding: 0.2rem 0.3rem 0.2rem 0.3rem;
  font-size: 20pt;
  /*color: #ff9900;*/
  color: #333;
}
#no_js_alert i.fa {
  margin-left: 0.3em;
  margin-right: 1em;
  color: red;
}


#off_canvas_user_menu {
  /* Ensure the menu is visible. */
  /*height: 100%;*/
  top: 0px;
  bottom: 0px;
}


/* Hide link focus on user menu items */
/* NOTE: This is bad for usability... */
.n-side-menu-content > li > a:focus {
  outline: none;
  outline: 0;
}

div.title-bar-left > img {
  margin: 11px;
  padding: 0px;
}

.n-main-container {
  position: absolute;
  top: 2.813rem;    /* equiv 45px, to ensure top bar reacts to font size changes. */
  right: 0px;
  bottom: 0px;
  left: 0px;

  overflow: auto;

  border-top: 1px solid #222;
}

.n-main-content-area {
}


#front_page_content {
  background-image: url(/images/kartta-kirkkaampi.png);
  background-repeat: repeat;
  background-size: cover;
}


#front_page_promote_section {
  height: auto;
  padding: 4rem;
}

#front_page_action_banner_section {
  height: auto;
  padding: 1rem 4rem 1rem 4rem;

  background-color: rgba(35, 35, 35, 0.6);
}

.actionBannerButton {
  background-color: #00BA65;
  font-size: 1.2em; font-size: 1.2rem;

  border-radius: 5px;

  /* button shadow */
  -webkit-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
  box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
  box-shadow: 2px 2px 15px #fff;
}
.actionBannerButton:hover, .actionBannerButton:focus {
  background-color: #02A359;
}
.actionBannerButton[disabled] {
  background-color: #7ABE9F;
}
.actionBannerButton[disabled]:hover {
  background-color: #7ABE9F;
}

#regBtn {
  min-width: 200px;
  margin-right: 1rem;
  margin-top: 1rem;
}
#orderBtn {
  min-width: 200px;
  margin-left: 1rem;
  margin-top: 1rem;
}
#loginBtn {
  margin: 0;
  padding: 0 16px 0 0; padding: 0 1rem 0 0;
  min-width: 340px;

  /* background-image: url(/static/public/images/InfraSmart-logo-200px.png); */
  background-image: url(/images/infrasmart_200px_trdarkbg.png);
  background-size: auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-color: #333;

  font-size:   1.6em; font-size:   1.6rem;
  height:      40px;  height:      3.125rem;
  line-height: 40px;  line-height: 3.125rem;

  border-style: solid;
  border-width: 0;
  border-radius: 3px;
  box-shadow: 2px 2px 15px #84C225;
  box-shadow: 2px 2px 15px #fff;

  /* Position icon on the right side of logo */
  text-align: right;
}
#loginBtn > p {
  margin: 0;
  font-size:   1.6em; font-size:   1.6rem;
  height:      40px;  height:      2.5rem;
  line-height: 40px;  line-height: 2.5rem;
  color: #fff;
}
#loginBtn:hover, #loginBtn:focus {
  background-color: #444;
}

#logoBtn {
  display: inline-block;

  margin: 0;
  padding: 0 16px 0 0; padding: 0 1rem 0 0;
  min-width: 340px;

  background-image: url(/images/infrasmartlogoad_300px_blackbutton.png);
  background-size: auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-color: #333;

  font-size:   1.6em; font-size:   1.6rem;
  height:      40px;  height:      3.125rem;
  line-height: 40px;  line-height: 3.125rem;

  border-style: solid;
  border-width: 0;
  border-radius: 3px;
}
#logoBtn:hover, #logoBtn:focus {
  background-color: #444;
}


#front_page_contact_info_section {
  height: auto;
  padding: 4rem;
}

#front_page_contact_info_logo {
  height: 60px;
  vertical-align: top;
  margin-right: 2rem;
}

#front_page_client_info_section {
  height: auto;
  padding: 4rem;

  background-color: rgba(176, 196, 222, 0.3);
}

#front_page_provider_info_section {
  height: auto;
  padding: 4rem;

  background-color: rgba(70, 130, 180, 0.3);
}

#front_page_logo_section {
  height: auto;
  padding: 4rem;

  background-color: rgba(238, 238, 238, 0.7);
}

#slick_container {
  text-align: center;
}
#slick_content {
  width: auto;
  max-width: 600px;
  position: relative;

  margin: 0 auto !important;  /* Center the slick carousel horizontally on the page */
}


/* Center slick slide content vertically.
   Note: slick slide heights need to be set explicitly for this to work.
   See: front.js */
.slick-track {
}
.slick-slide {
  text-align: center;
  white-space: nowrap;
  font-size: 0px;
}
.slick-slide::before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.slick-slide > * {
  vertical-align: middle;
  display: inline-block !important;
  font-size: initial;
}

/* Center slick slide content horizontally. */
.slick-slide > * {
  margin: 0 auto !important;
}


@media only screen and (max-width: 640px) {
}

@media only screen and (min-width: 641px) and (max-width: 1024px) {
}

@media only screen and (min-width: 1025px) {
}
