
/* Default styles: defines mobile styles, small screens */
@media only screen {
    html  {position: absolute; top:0; bottom:0; left:0; right: 0}
    body  { font-size: 0.8em; font-size: 1.0rem; }
    h1    { font-size: 1.4em; font-size: 1.8rem; }
    h2    { font-size: 1.2em; font-size: 1.6rem; }
    h3    { font-size: 1.0em; font-size: 1.4rem; }

    /* The minimum width for the content */
    div.center-content, div.reveal-modal-bg {
	      width: 360px;
	      margin: 0
    }

    /* User input forms */
    .form {
	      border: none;
	      background: #fff;
    }

}

/* Small screens ONLY: Max-width 640px, mobile-only styles, use when QAing mobile issues */
@media only screen and (max-width: 40em) {
    /* Remove the arrow on small screens from buttons */
    button.arrow-r:after { content: "" }
    .center-wrapper { padding: 0 }
    .reveal-modal { padding: 0 }
    .mobile { padding: 0 }
}

/* Medium screens: min-width 641px */
@media only screen and (min-width: 40.063em) {
    body { font-size: 1.0em; font-size: 1.0rem }
    h1   { font-size: 1.8em; font-size: 1.8rem }
    h2   { font-size: 1.6em; font-size: 1.6rem }
    h3   { font-size: 1.4em; font-size: 1.4rem }

    /* Larger screens with button arrow decoration */
    button.arrow-r:after { content: "\f061" }

    /* The normal width for the content */
    div.center-content, div.reveal-modal-bg {
	      width: 640px;
	      margin: 0 auto;
    }

    /* Add shadow border */
    .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);
    }

    .mobile { height: 85%; height: 85vh }
}

/* Medium screens ONLY: Min-width 641px and max-width 1024px, use when QAing tablet-only issues */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {

}

/* Large screens: min-width 1025px */
@media only screen and (min-width: 64.063em) {

}

/* .noJs normally hidden, but visible if the Modernizer no-js class is present. */
.noJs {display: none}
.no-js .noJs {display: block}
/* .yesJs normally visible, but hidden if the Modernizer no-js class is present. */
.no-js .yesJs {display: none}

/* Background */
.bg {
    /* background-image: url(/static/public/images/bg3.jpg); */
    background-image: url(/images/kartta-kirkkaampi.png);
    background-repeat: repeat;
    background-size: cover;
}

/* The InfraSmart logo bar (black) at the top of the page */
div.infraLogoBar
{
    width: 100%;
    height: 30px; /* Absolute height for the bar */
    background-color: #000000;
}

/* A box (div) for the logo to horizontally center in infraLogoBar */
div.infraLogoBoxH
{
    /* Full hight so the infraLogo itself can be vertically centered */
    min-height: 100%;
    width: 200px; /* Absolute width for the logo */

    /* Horizontally center */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* A box (div) for the logo to vertically center in infraLogoBar */
div.infraLogoBoxV
{
    height: 30px; /* Absolute height for the bar */
    width: 100%;

    /* Vertically center */
    display: table-cell;
    vertical-align: middle;

}


/* The InfraSmart logo (at the top of the page) */
img.infraLogo
{
    height: 25px; /* Absolute height for the logo */
    width: 200px; /* Absolute width for the logo */
}

/* The nosteco logo (at the bottom of the page) */
.nLogo
{
    height: 60px;
    background-image: url(/images/Nosteco_logo_www_300px_01.png);
    background-size: auto 60px;
    background-position: 0% 0%;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
}

/* Position everything on screen */
.center-wrapper {
    display: table;
    position: absolute;
    width: 100%;
}

/* Position to middle of screen */
.center-middle {
    display: table-cell;
    vertical-align: middle;
}

/* Contenr wrapper */
.center-content {
}

/* Any div that should vertically fill it's available space */
div.verticalSpace {
    width: 100%
}

/* A (transparent) top div that pushes the content down */
div.topSpacer {
    height: 4px
}

/* Div for page top command buttons */
div.topCommandBar {
    height: 30px
}

/* Styling the buttons in the topCommandBar */
button.commandBar {
    margin: 0px;
    background-color: #00BA65;
}

/* Foundation block-grid stylings (non-active items) */
div.blockGridBox {
    background-color: #ffffff;
    color: #000000;
    font-size:   1.0em; font-size:   1.2rem;
    height:      2.0em; height:      2.4rem;
    line-height: 2.0em; line-height: 2.4rem;
    border-radius: 3px
}

/* Foundation block-grid stylings (active items) */
div.blockGridBox.blockGridBoxActive {
    background-color: steelblue;
    color: #ffffff;
}

/* Styling the reCAPTCHA */
div.g-recaptcha {
    margin-bottom: 10px
}

/* Styling the Foundation reveal */
.reveal-modal-bg {
    top: 0;
    height: 100%;
    background-color: white;
    background-repeat: repeat;
    overflow: hidden;
}

.reveal-modal-content {
    background-color: white;
    height: 100%
}

/* HTML template pieces, will not normally be shown */
.template {
    display: none;
    background-color: white
}

/* Create empty space for input icons */
input.input-with-icon {
	  padding-left: 30px;
}

/* Icon style for inputs */
.input-icon {
	  -webkit-transition: 2s;
	  position: absolute;
	  top: 10px;
	  left: 25px;
	  color: #bdbdbd;
	  opacity: 0.7;
}

/* Green color for buttons */
button, .button {
	  background-color: #00BA65;
}

button:hover, .button:hover, button:focus, .button:focus {
	  background-color: #02A359;
}

button[disabled], .button[disabled] {
	  background-color: #7ABE9F;
}

button[disabled]:hover, .button[disabled]:hover {
	  background-color: #7ABE9F;
}

/* Button icon */
button.arrow-r:after {
	  position: absolute;
	  right: 5%;
	  font-family: FontAwesome;
   /* Content defined in the @media sections...
	 content: "\f061";
	 */
}

/* Color text to green */
.green {
	  color: #00BA65;
}

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

/* Applied to error element when there is no validation error, this will hide the error element */
.no-error {
	  display: none;
}

/* This will fix close button position if toastr is used with the foundation */
.toast-close-button {
	  margin: 0;
}

.info-icon:after {
	  content:"\f05a";
	  font-family: FontAwesome;
	  padding-left: 5px;
}

.hidden {
	  display: none;
}

.red {
	  background: red;
}

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

/* Configuring the fontawesome icons in input fields */
.input-icon {
        -webkit-transition: 2s;
        position: absolute;
        top: 32px;
        left: 25px;
        color: #bdbdbd;
        opacity: 0.7;
}

div.commandButton {
    width:auto;
    display:block;
    position:relative;
    font-size: 1.4em; font-size: 1.4rem;
    line-height: 1.4em; line-height: 1.4rem;
    text-align: right!important;
    padding-right: 16px;
}

div.commandButton .commandPopUp {
    position:absolute;
    top:1.5em; top:1.5rem;
    right: 0px;
    font-size: 0.8em; font-size: 0.8rem;
    width: 0px;
    width: 12em; width: 12rem;
    height: 1.4em; height: 1.4rem;
    line-height: 1.4em; line-height: 1.4rem;
    padding:0px;
    margin:0px;
    background-color:rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center!important;
    display:none;
}

div.commandButton:hover .commandPopUp{
    display:block;
}

/* Some space from preceding FontAwesome icon */
.padFromIcon {
    padding-left: 0.6em; padding-left: 0.6rem;
}

/* Space from left that is approx. one icon plus standard padding from the icon */
.padFromLeft {
    padding-left: 1.6em; padding-left: 1.6rem;
}
