/* --------------------------- */
/*  CSS: Henri Koivuneva       */
/*  henri.koivuneva@gmail.com  */
/* --------------------------- */

@charset "utf-8";

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v14-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Lato Regular'), local('Lato-Regular'),
       url('../fonts/lato-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v14-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

* {
    margin: 0;
    padding: 0;
}
/*#design{
      /*background-image:   url(https://source.unsplash.com/random);
}*/
.libreoffice-logo{
    width: 240px;
    float: left;
}

html {
     background:url("../img/libreoffice.jpg") no-repeat center center fixed;
        -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    height: 100%;
    background-color: #777;
     background-size: cover;
    background-blend-mode: multiply;
    font-family: "Lato", sans-serif;
}
/*body#document {
background-image: url(/media/img/documenation-bg.jpg );
    background-size: cover;
}
*/
header {
    position: relative;
    min-height: 30px;
    padding: 10px 100px;
  /*  background: rgba(0,0,0,0.05);*/
    color: #333;
    text-transform: uppercase;
    font-family: "Lato", sans-serif;
}

header svg.mozilla-logo {
    float: left;
    width: 115px;
    height: 30px;
}

header #lang-selection {
    background: center left transparent no-repeat;
    /*
     * Icon attribution
     * A’ Design Award & Competition, Onur Müştak Çobanlı and Farhat Datta
     * http://www.languageicon.org
     */
    background-image: url(" /media/img/language_icon.png");
    padding-left: 28px;
    padding-bottom: 2px;
    color: #fff;
}

header #lang {
    font-weight: 400;
    text-align: right;
}

#wrapper {
    font-weight: 300;
    text-shadow: 0 1px 0 #333;
    color: #ddd;
    margin-top:0px;
    text-align: center;
    padding-top: 60px;
}

@media screen and (max-width: 360px) {
    #wrapper {
        padding-top: 100px;
    }
}

select {
    background: #fff;
    border-color: #b2b2b2;
    border-style: solid;
    border-width: 1px;
}

.choices li {
    display: none;
}

.question {
    display: none;
}

.question {
    text-align: center;
    padding-top: 60px;
}

a {
    color: #F17100;
    /*text-shadow: 0 1px 0 rgba(255,255,255,0.9), 0px 1px 1px rgba(255,255,255,0.9);*/
}

.question {
    font-size: 22pt;
    padding: 0 10% 0 10%;
    font-weight: 400;
}

#responses {
    padding-top: 1em;
    font-size: 22pt;
    /*background-image: -moz-radial-gradient(center top , ellipse farthest-side, rgba(140, 140, 140, 0.5), rgba(140, 140, 140, 0) 95%), -moz-radial-gradient(center top , ellipse farthest-side, rgba(220, 220, 220, 0.5), rgba(220, 220, 220, 0)), -moz-radial-gradient(center top , ellipse farthest-side, rgba(220, 220, 220, 0.3), rgba(220, 220, 220, 0));
    background-image: -webkit-radial-gradient(center top , ellipse farthest-side, rgba(140, 140, 140, 0.5), rgba(140, 140, 140, 0) 95%), -webkit-radial-gradient(center top , ellipse farthest-side, rgba(220, 220, 220, 0.5), rgba(220, 220, 220, 0)), -webkit-radial-gradient(center top , ellipse farthest-side, rgba(220, 220, 220, 0.3), rgba(220, 220, 220, 0));
    background-image: -o-radial-gradient(center top , ellipse farthest-side, rgba(140, 140, 140, 0.5), rgba(140, 140, 140, 0) 95%), -o-radial-gradient(center top , ellipse farthest-side, rgba(220, 220, 220, 0.5), rgba(220, 220, 220, 0)), -o-radial-gradient(center top , ellipse farthest-side, rgba(220, 220, 220, 0.3), rgba(220, 220, 220, 0));
    background-image: radial-gradient(center top , ellipse farthest-side, rgba(140, 140, 140, 0.5), rgba(140, 140, 140, 0) 95%), radial-gradient(center top , ellipse farthest-side, rgba(220, 220, 220, 0.5), rgba(220, 220, 220, 0)), radial-gradient(center top , ellipse farthest-side, rgba(220, 220, 220, 0.3), rgba(220, 220, 220, 0));
  */  background-size: 100% 5px, 100% 100px, 100% 100%;
    background-repeat: no-repeat;
}

#responses div {
    margin-bottom: 0.5em;
    /**
     * display:none needed in case if js is disabled
     */
    display:none;
}

#responses div a:hover {
    cursor: pointer;
    box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset, 0px 3px 48px rgba(255,255,255,0.2) inset;
    transition: all .12s ease-in-out;
}

#responses div a:active {
    cursor: pointer;
    box-shadow: 0 3px rgba(0, 0, 0, 0.1) inset, 0 1px rgb(255, 255, 255, 0.1), 0px 3px 48px rgba(0,0,0,0.2) inset;
    transition: all .12s ease-in-out;
}

#responses div a {
    text-decoration: none;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,0.5);
    padding: 2px 10px 8px;
    border-radius: 6px;
    border: 0 none;
    transition: all .12s ease-in-out;
    display: inline-block;
    max-width: 90%;
}

#ok a {
    background-color: #18A303;
    background: -moz-linear-gradient(#18A303, #66AA1E) repeat scroll 0 0 #18A303;
    background: -webkit-linear-gradient(#18A303, #66AA1E) repeat scroll 0 0 #18A303;
    background: -o-linear-gradient(#18A303, #66AA1E) repeat scroll 0 0 #18A303;
    background: linear-gradient(#18A303, #66AA1E) repeat scroll 0 0 #18A303;
    box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset;
}

#next a {
    background-color: #4F99C3;
    background: -moz-linear-gradient(#4F99C3, #487DC3) repeat scroll 0 0 #4F99C3;
    background: -webkit-linear-gradient(#4F99C3, #487DC3) repeat scroll 0 0 #4F99C3;
    background: -o-linear-gradient(#4F99C3, #487DC3) repeat scroll 0 0 #4F99C3;
    background: linear-gradient(#4F99C3, #487DC3) repeat scroll 0 0 #4F99C3;
    box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset;
}

#back a {
    background-color: #F19932;
    background: -moz-linear-gradient(#F19932, #D37B14) repeat scroll 0 0 #F19932;
    background: -webkit-linear-gradient(#F19932, #D37B14) repeat scroll 0 0 #F19932;
    background: -o-linear-gradient(#F19932, #D37B14) repeat scroll 0 0 #F19932;
    background: linear-gradient(#F19932, #D37B14) repeat scroll 0 0 #F19932;
    box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset;
}

.choices li {
    font-size: 48pt;
    font-weight: 800;
}

.extra {
    color: #666;
    font-size: 20pt;
    font-weight: 600;
    padding-bottom: 1em;
}

#footer {
    bottom: 0;
    color: #ddd;
    padding-bottom: 1em;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    font-size: 14px;
}

#footer a {
    color: #fff;
}

.negative {
    display: none;
}

.visible {
    display: inline;
}
#lang{
    padding-top:27px;
}

@media screen and (max-width: 499px) {

    #responses{
        font-size: 20pt;
    }

    .choices li {
        font-size: 25pt;
    }
    .question{
        font-size:16px;
    }
        #footer{
        padding-bottom: 15px;
        bottom: inherit;
        padding-bottom: 0;
        padding-top:15px;
    }
}
@media screen and (max-height: 600px){
  #footer{
    bottom: auto;
  }
}
@media screen and (max-width: 767px){
    select {
        font-size:14px;
    }
    header #lang-selection{
        font-size:14px;
    }
    .libreoffice-logo{
        width: 140px;
    }
    header{
        padding: 10px 6px;
    }
    #lang{
        padding-top:0px;
    }
    #footer{
            left: 5%;
    transform: translate(-5%);

    }

}

/* RTL View */
html[dir="rtl"] * {
    font-family: "Lato", sans-serif;
}

html[dir="rtl"] #lang-selection {
    background: center right transparent no-repeat;
    padding-left: 0;
    padding-right: 28px;
}

html[dir="rtl"] #lang {
    text-align: left;
    margin-left: 10px;
    margin-right: unset;
}

html[dir="rtl"] header .mozilla-logo {
    float: right;
}

html[dir="rtl"] #lang {
    text-align: left;
}
