/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
       url('fonts/roboto-v20-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/roboto-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'),
       url('fonts/roboto-v20-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/roboto-v20-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto';
    color: #E0E0Ff;
    background: #000010;
}
#content {
    height: 100%;

    -moz-box-sizing: border-box;
    box-sizing: border-box;
          /* Ensure that the height of the element includes the
         box border, not just the content */

    border: 0;
    border-top: 32px solid #E0E0FF;
    border-bottom: 32px solid #E0E0FF;
          /* Leave some space for the header and footer to
         overlay. */


    background: url(norio.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#header,
#footer {
    position: fixed;
    left: 0;
    height: 32px;
    background-color: #fff;
          /* Specify a background color so the content text doesn't
         bleed through the footer! */
    width: 100%;
    padding: 6px 20px 0 20px;
}
#header {
    top:0;
}
#footer {
    bottom: 0;
    height: 26px;
}


.invert {
    background: black;
    color: white;
}

#mright {
    display: inline;
    float: right;
    padding-right: 32px;
}


.dialog {
    z-index: 1000;
}

input, select {
    padding: 2px;
    margin: 2px 0px;
    background: #e0e0ff;
    border: 1px solid #55A;
}

/* automatic width depending on screen size: */
@media screen and (min-width: 1200px) {
input {
    width: 15vw;
}
}
@media screen and (max-width: 1200px) {
input {
    width: 300px;
}
}

div.error {
    display:none;
    background: #fcc;
    color: #f00;
    font-weight: bold;
    border: 1px solid #f00;
    border-radius: 4px;
    padding: 6px;
    margin: 4px 0px;
}
div.ok {
    display:none;
    background: #efe;
    color: #0a0;
    font-weight: bold;
    border: 1px solid #0a0;
    border-radius: 4px;
    padding: 6px;
    margin: 4px 0px;
}

div#shoot {
    cursor: pointer;
}
span.green {
    color: #090;
}
span.red {
    color: #C00;
}
div.thumbs {
    float: right;
}

div.ppo {
    width: 200px;
}

div.ui-dialog-titlebar button.ui-dialog-titlebar-close {
    top: 12px;
    width: 32px;
    height: 32px;
}
#signalbtn {
    display: block;
    float: right;
}
select {
    padding: 4px;
}
#wdiv {
        font-size: 1.1em;
}

.dpts {
    padding: 4px; border: 1px solid #fcc;
}

#derror {
    position: fixed;
    left: 50%; right: 50%;
    top: 14px;
    margin: 0 auto;
    width: 200px;
    z-index: 200;
}
#dok {
    position: fixed;
    left: 50%; right: 50%;
    top: 14px;
    margin: 0 auto;
    width: 200px;
    z-index: 200;
}

#ferror {
    position: fixed;
    left: 40%; right: 40%;
    bottom: 14px;
    margin: 0 auto;
    width: 400px;
    z-index: 200;
    font-weight: normal;
}
#fok {
    position: fixed;
    left: 40%; right: 40%;
    bottom: 14px;
    margin: 0 auto;
    width: 400px;
    z-index: 200;
    font-weight: normal;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.lbf {
    cursor: pointer; /* "hand" cursor */
}

.fup {
    padding: 6px 2px 0 2px;
}
.lbt {
    color: #0078A8; text-decoration: underline;
    cursor: pointer;
}
.phod img {
    max-width: 100px;
    max-height: 100px;
}

#photopopup {
    display:none;
    height: 100%;
    width: 100%;
    background: #fff;
    position:absolute;
    z-index:200;
    top:0;
}
#bigph {
    cursor: pointer;
    
}

/* BACKOFFICE styles */

#backoffice {
    padding: 10px;
}

table.tbl {
    border: 1px solid #999;
    border-collapse: collapse;
}
table.tbl td, table.tbl th {
    padding: 4px;
    border: 1px solid #999;    
}

button {
    padding: 6px;
    background-color: #ddd;
}


.mainmap {
    border: 0.2em solid #000010;
    z-index: 1000;
}

/* backoffice */

div#crop {
    width: 600px;
    height: 600px;
}

/* public page */

div#langsel {
    padding-top: 1em;
}

/* size responsive specific */


@media screen and (min-width: 1200px) {
div#slogan {
    padding-top: 1em;
    font-size: 1.5em;
    line-height: 1.3em;
}
    div.smi, div.smif {
        width: 19.5vw; /* scrollbars :( */
        height: 19.5vw;
        border: 0.2em solid #000010;
    }
}

@media screen and (max-width: 1200px) {
div#slogan {
    padding-top: 0.8em;
    font-size: 1.3em;
    line-height: 1.3em;
}
    div.smi, div.smif {
        width: 24.2vw;
        height: 24.2vw;
        border: 0.1em solid #000010;
    }
}

@media screen and (min-width: 1400px) {
    div#contributebig {
        display: block;
    }
    div#contributesmall {
        display: none;
    }
}
@media screen and (max-width: 1400px) {
    div#contributebig {
        display: none;
    }
    div#contributesmall {
        display: block;
        padding: 4vw;
        cursor: pointer;
    }
}

div.smi, div.smif {
    float: left;
}
div.smi {
    cursor: pointer;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
