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

@charset "utf-8";

@font-face {
    font-family: 'Inter';
    font-weight: normal;
    font-style: normal;
    src: url("/media/fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
    font-family: 'Inter';
    font-weight: bold;
    font-style: normal;
    src: url("/media/fonts/Inter-Bold.woff2") format("woff2");
}

@font-face {
    font-family: 'Inter';
    font-weight: normal;
    font-style: italic;
    src: url("/media/fonts/Inter-Italic.woff2") format("woff2");
}

@font-face {
    font-family: 'Inter';
    font-weight: bold;
    font-style: italic;
    src: url("/media/fonts/Inter-BoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: 'Inter Light';
    font-weight: normal;
    font-style: normal;
    src: url("/media/fonts/Inter-Light.woff2") format("woff2");
}

@font-face {
    font-family: 'Inter Light';
    font-weight: normal;
    font-style: italic;
    src: url("/media/fonts/Inter-LightItalic.woff2") format("woff2");
}

@font-face {
    font-family: 'Inter Light';
    font-weight: bold;
    font-style: normal;
    src: url("/media/fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
    font-family: 'Inter Light';
    font-weight: bold;
    font-style: italic;
    src: url("/media/fonts/Inter-Italic.woff2") format("woff2");
}

* {
    margin: 0;
    padding: 0;
}


html {
    background: url("/media/img/bg.png") repeat scroll 0 0 #eee;
    font-family: "Inter", sans-serif;
}

header {
    position: relative;
    min-height: 30px;
    padding: 10px 100px;
    background: rgba(0,0,0,0.05);
    color: #333;
    text-transform: uppercase;
    font-family: "Inter Light", 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;
}

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

#wrapper {
    font-weight: 300;
    text-shadow: 0 1px 0 #fff;
    color: #333;
    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: 20pt;
    padding: 0 10% 0 10%;
}

#responses {
    padding-top: 1em;
    font-size: 30pt;
    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: #84C83C;
    background: -moz-linear-gradient(#84C83C, #66AA1E) repeat scroll 0 0 #84C83C;
    background: -webkit-linear-gradient(#84C83C, #66AA1E) repeat scroll 0 0 #84C83C;
    background: -o-linear-gradient(#84C83C, #66AA1E) repeat scroll 0 0 #84C83C;
    background: linear-gradient(#84C83C, #66AA1E) repeat scroll 0 0 #84C83C;
    box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -4px rgba(0, 0, 0, 0.1) inset;
}

#next a {
    background-color: #669BE1;
    background: -moz-linear-gradient(#669BE1, #487DC3) repeat scroll 0 0 #669BE1;
    background: -webkit-linear-gradient(#669BE1, #487DC3) repeat scroll 0 0 #669BE1;
    background: -o-linear-gradient(#669BE1, #487DC3) repeat scroll 0 0 #669BE1;
    background: linear-gradient(#669BE1, #487DC3) repeat scroll 0 0 #669BE1;
    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: 60pt;
    font-weight: 800;
}

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

#footer {
    margin-top: 2em;
    color: #666;
}

#footer a {
    color: #555;
}

.negative {
    display: none;
}

.visible {
    display: inline;
}

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

    #responses{
        font-size: 22pt;
    }

    .choices li {
        font-size: 25pt;
    }
}

/* RTL View */
html[dir="rtl"] * {
    font-family: "Droid Arabic Naskh", "Inter", 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;
}
