@import url('https://fonts.googleapis.com/css?family=Roboto:100,400,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600');

html,body{
        height: 100%;
        font-family: 'Open Sans', sans-serif;
        font-size:16px;
        font-weight:400;
}


h1 {font-family: 'Roboto', sans-serif;font-weight: 400; font-size:25px; padding:0 0 15px 0;}
.headline { padding: 10px; margin: 1rem 0;}
h1.headline-sm { font-size:20px; }
h3.question { padding: 10px 40px 10px 40px;font-size: 22px;}
h5 { font-size: 16px; }

#orientation
{
    z-index: 9999;
    position: fixed;
    top: 0;
    bottom: 0;
    width:100vw;
    height:100vh;
    background-color: #0f0f1b;
}

header
{
padding:5px 0px;
border-bottom: 1px solid #ccc;
-webkit-box-shadow: inset 0px -17px 8px -8px rgba(0,0,0,0.1);
-moz-box-shadow: inset 0px -17px 8px -8px rgba(0,0,0,0.1);
box-shadow: inset 0px -17px 8px -8px rgba(0,0,0,0.1);
position:relative;
background: #FFF;

}
.agb {
    margin-bottom:50px;
}

.agb h2 {
    font-size:75%
}

.agb p, .agbol{
    font-size:75%;
}

.agbol p {
    font-size: 100%;
}
.falist
{
    list-style: none;
    padding: 0;
    margin-left: 10px;
}
.falist li {
    padding-left: 1.3em;
}
.falist li:before {
    content: "\f00c"; /* FontAwesome Unicode */
    font-family: FontAwesome;
    display: inline-block;
    margin-left: -1.3em; /* same as padding-left set on li */
    width: 1.3em; /* same as padding-left set on li */
    color: green;
}

.font-resizer {font-weight:700;font-family: "Roboto", sans-serif; font-size:16px;color:#000;margin:20px 0 0;  }
.font-resizer .a-normal {margin:0 20px; font-size: 16px;cursor:pointer}
.font-resizer .a-plus {font-size: 20px;cursor:pointer}
.font-resizer .a-minus {margin-right:20px; font-size: 12px;cursor:pointer}

.navbar-brand img { margin-bottom: 10px; }

.pagebg
{
        background: rgb(75,149,174);
        background: -moz-radial-gradient(center, ellipse cover,  rgba(75,149,174,1) 0%, rgba(74,151,169,1) 100%);
        background: -webkit-radial-gradient(center, ellipse cover,  rgba(75,149,174,1) 0%,rgba(74,151,169,1) 100%);
        background: radial-gradient(ellipse at center,  rgba(75,149,174,1) 0%,rgba(74,151,169,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b95ae', endColorstr='#4a97a9',GradientType=1 );
}

.nobg { background: #FFF !important; }
.npadlr { padding-left:0px; padding-right:0px; }
.matpbt {margin: 25px 0}
.macen { margin: 0px auto; }
.mabtn {padding:0px 46px }
.matop { margin-top: 20px; }
.mal { margin-left: 20px; }
.mar { margin-right: 20px; }
.ib { display: inline-block; }
.padtop { padding-top: 20px; }
.padbtn { padding-bottom: 20px; }

.pagination { margin:10px 0 0; list-style-type:none }

.pagination li {
font-family: "Open Sans", sans-serif;
font-weight:400;
font-size:14px;
padding:5px;
width: 100%;
text-align:center;
}

.pagination li.active {border-radius: 5px;}

.container-row {
        display:table;
        width: 100%;
        padding: 0 0;
        box-sizing: border-box;
        width: 100%;
        height: 89%
}
.content-row {
        height: 100%;
        display: table-row;
}

.arrow {
        left: 51%;
        margin: -2.5em 0 0 -2.9em;
        position: absolute;
        top: 30%;
        z-index:50;
}

.btn,.btn-lg,.btn-sm {
        text-transform: uppercase;
        font-size:16px;
        letter-spacing:0.1em;
        border-radius:0px;
        border-width:1px;
        padding:20px 30px;
        line-height:1;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
        -webkit-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.15);
        -moz-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.15);
        box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.15);
        cursor: pointer;
}

.btn-tut {padding: 10px 20px !important;}

.btn-lg { padding:20px 10px; font-size:16px;}
.btn-sm { padding:8px 23px; }


.help { padding: 5px 10px; background-color: #999;border: 1px solid #666;}
span.glyphicon-triangle-right {font-size: 5em;color: #FFF;}


#leftside .text-content { margin-top: 10%; color:#666666;}

#leftside .count_question {
        font-family: 'Roboto', sans-serif;
        font-weight: 100;
        font-size:25px;
        color: #4a97a9;
        padding: 0px 40px 10px 40px;
        border-bottom: 1px solid #4a97a9;
        }

#rightside #countdown {font-size:24px;}

#rightside .time { font-weight:100; font-size:20px;font-family: "Roboto",sans-serif;}
#rightside .timer {height:5px;}

#rightside .indicators { list-style-type: none;padding:0;}

#rightside .indicators li

{
    background-color: rgba(0, 0, 0, 0);
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    height: 15px;
    margin: 1px;
    text-indent: -999px;
    width: 15px;
}


#rightside, #leftside {
        -webkit-transition: width 0.5s ease, margin 0.5s ease;
        -moz-transition: width 0.5s ease, margin 0.5s ease;
        -o-transition: width 0.5s ease, margin 0.5s ease;
        transition: width 0.5s ease, margin 0.5s ease;

}

#rightside .answer
{
        padding: 20px 10px 20px 10px;
        font-family: "Open Sans", sans-serif;
        font-size:20px;
        font-weight:400;
        text-align: left;
        display:table;
        width:100%;
        border-bottom: 2px solid #5aa4bd;
}

#rightside .answer:hover
{
        cursor: pointer;
        color:#000;
}

#rightside .answer .answer_text {font-size: 15px;display:table-cell;width:100%;vertical-align:middle;padding-left: 10px;}
#rightside .answer p {font-size: 15px;display:table-cell;width:100%;vertical-align:middle;color:#666}

#rightside .answer_number {
        width:40px;
        height:40px;
        border-radius:100px;
        border: 2px solid #27aae0;
        background-color: #FFF;
        font-family: "Open Sans", sans-serif;
        font-weight: 600;
        color: #000;
        padding: 7px 14px;
        margin:0px 20px 0 0;
        font-size: 14px;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.25);
}

#rightside .answer_number.checked { background-color:#ff9900; color:#fff;}

.form-control.error { border: 1px solid red; }

.autonext { margin-top:15px; font-weight:400;}
.countdown { font-size: 25px; margin-bottom: 20px; }

/*Tutotials*/

.tutorial-text { font-size: 18px; }
.tut-result { font-size:22px; }
.tut-green { color:green; }
.tut-red { color:red; }
.helptext { background-color: rgba(74,151,169,1); color: white; padding:20px}

/*Reaktion & Hörtest*/

.hinweistext { margin:20% 0 0 0; padding: 0px 20px; font-size:25px;text-align:center; }

/*Landolt*/

.eyetest-imageholder{padding: 0px; margin: 0 -4px 0 4px;}
#left_plain { margin:32px auto; }
#right_plain { margin:32px auto; }

#down_left_plain, #down_plain, #down_right_plain { margin: 35px auto 0; }

.direction
{
        background-color: transparent;
        border-radius:10px;
        height: 80px;
        padding: 25px;
        width: 80px;
        margin: 0 auto 25px;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent; /* For some Androids */
}

.direction:active {cursor:pointer;}

/* Farbsehtest */

.colorTestBg {
        background: rgba(0, 0, 0, 0) url('/modules/sehtest/images/contrast_bg.gif') repeat scroll 0 0;
        height: 180px;
        width: 180px;
        left: 40px;
        top: 0;
        margin:0 auto;
        margin-bottom: 30px;
}

.colorTestBg #sizer
{
    position:relative;
    background-color: rgb(180 , 180, 180);
    height: 90px;
    width: 90px;
    top:45px;
    left:46px;
}


.number
{
        background-color: transparent;
        border-radius:5px;
        height: 50px;
        padding: 5px;
        width: 50px;
        margin: 10px auto;
}

.number:active, .enter:active {  cursor:pointer;}

.enter {
    background-color: transparent;
    border-radius:5px;
    height: 50px;
    padding: 5px;
    width: 173px;
    margin: 10px auto;
    width: 77%;
}

.number .txt, .enter .txt{
    margin:0;
    font-size:25px;
    font-family: "Roboto", sans-serif;
    line-height: 40px;
    font-weight:400;
}

.tel
{
    text-align:center;
    font-family: "Roboto", sans-serif !important;
    margin:0;
    padding:5px 10px;
    font-weight:400;
    font-size: 26px;
    height:50px;
    border-radius: 5px;
    width:96%;
}

.mytime { font-size: 20px;}

#searchclear {
        position: absolute;
        right: 50px;
        top: 15px;
        margin: auto;
        font-size: 23px;
        cursor: pointer;
        color: #999;
}

.clear-hearing { right: 25px !important; }

.fa-rotate-45 {-webkit-transform:rotate(45deg); -moz-transform:rotate(45deg); -ms-transform:rotate(45deg); -o-transform:rotate(45deg); transform:rotate(45deg);}
.fa-rotate-neg-45 {-webkit-transform:rotate(-45deg); -moz-transform:rotate(-45deg); -ms-transform:rotate(-45deg); -o-transform:rotate(45deg); transform:rotate(-45deg);}


#PForm {
        background-color:white;
        margin-top:30px;
        min-height: 60vh;
        height: 60vh;
        max-height: 60vh;
        width:100vw;
}

#PForm.active
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 1px 3px 10px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 1px 3px 10px 0px rgba(0,0,0,0.35);
    box-shadow: 1px 3px 10px 0px rgba(0,0,0,0.35);
}


 /*Testresults DetailsView*/
.detailsview { border: 1px solid #CCC;padding:10px; margin: 20px 0px 0px 0px;background-color: #FFFFFF;}
.detailsresulttable { font-size: 12px; }
.detailsresulttable th,.detailsresulttable td  { padding: .45rem; }
.detailsresulttable thead th { border-top: none !important;}
.detailsresulttable thead th:last-child {width: 12%;}
.detailsresulttable .answer { width: 60%; }
.detailsview .answer.green {background-color:#8ade79; color:black}
.detailsresulttable .red {color: red;}
.detailsresulttable .grey {color: #CCC;}

.fa.green {color:green;}
.fa.red {color: red;}
.fa.grey {color: #CCC;}

.detailsresulttable.sehtest tbody td { text-align: center; border: 1px solid #ccc !important;}
.detailsresulttable.sehtest .small { font-size:10px; border-bottom: 1px solid #ccc;}
.detailsresulttable.sehtest thead th { text-align: center; border-right: 1px solid #ccc !important; }
.detailsresulttable.sehtest thead th:last-child {border-right:none }

/*Auswertung*/

.topbar { padding:20px 0 20px 10px; border-bottom: 1px solid #CCC; }
.result-headline { font-size:22px; font-weight: 400;margin:0; padding: 0;}
.result-subheadline { font-size:20px; font-weight: 400;margin:0 0 10px 0px; padding: 0;color:#27aae0}
.person-info { margin:0; padding: 0; }
.lightgrey{ background-color: #F1F1F1; }

.testresults-overview { border: 1px solid #CCC; background-color: #FFFFFF;min-height:210px; padding:20px;}
.testresults-overview .title { font-size:16px; font-weight: 400;margin:0 0 20px 0; padding: 0;color: #4a97a9;font-family: "Roboto",sans-serif;}
.testresults-overview .testdetails:hover { cursor:pointer; }
.testresults-overview.erfolg { border: 1px solid green; }
.testresults-overview.err { border: 1px solid red; }


.progressbar-overview {
    background-color: #666;
    box-shadow: 0 0 12px #000 inset;
    color: #000;
    position: relative;
    margin-bottom: 10px;}

.progressbar-overview-border {

    border: 1px solid #666;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1; }

.progressbar-overview-content {
    color: #fff;
    font-family: "Open Sans",Arial,Helvetica,sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5em;
    min-height: 1.5em;
    padding: 7px 10px;
    position: relative;
    text-align: left;
    text-shadow: 0 0 1px transparent, 0 1px 2px rgba(0, 0, 0, 0.8);
    margin-left: 10px;}

.progressbar-progress{
     background-color: #01b2f1;
    bottom: 0;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;

}

.progressbar-progress[data-Level="high"] {

background: #007c08;
background: -moz-linear-gradient(left,  #007c08 0%, #008a00 30%, #44af44 100%);
background: -webkit-linear-gradient(left,  #007c08 0%,#008a00 30%,#44af44 100%);
background: linear-gradient(to right,  #007c08 0%,#008a00 30%,#44af44 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007c08', endColorstr='#44af44',GradientType=1 );
 }


.progressbar-progress[data-Level="medium"] {background: #ef8d31;
background: -moz-linear-gradient(left,  #ef8d31 0%, #f5ab66 53%, #fac695 100%);
background: -webkit-linear-gradient(left,  #ef8d31 0%,#f5ab66 53%,#fac695 100%);
background: linear-gradient(to right,  #ef8d31 0%,#f5ab66 53%,#fac695 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ef8d31', endColorstr='#fac695',GradientType=1 );

  }

.progressbar-progress[data-Level="low"] { background: #cf0404;
background: -moz-linear-gradient(left,  #cf0404 0%, #dd1616 100%);
background: -webkit-linear-gradient(left,  #cf0404 0%,#dd1616 100%);
background: linear-gradient(to right,  #cf0404 0%,#dd1616 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cf0404', endColorstr='#dd1616',GradientType=1 );
 }

.testparts-table {max-width: 100%;width: 100%; }
.testparts { font-size:14px;vertical-align: middle !important; padding: 0px 0px 8px 0!important; color: #4a97a9; font-weight:400; }

@media (min-width: 768px ) {
    .topbar
    {
    position: relative;
    }

    .bottom-align-text {
        position: absolute;
        bottom: 20px;
        right: 0;
    }

    .bottom-align-text-front {
        bottom: 20px;
        right: 0;
        top:20px;
    }
}

/*Auswertung*/

.testresults {
    background-color:white;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.13);
    -moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.13);
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.13);
    margin-bottom:30px;
}


.testresults .title {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 25px;
    padding: 0px 20px 10px 20px;
    margin: 15px 0 20px 0;
}

.testresults .subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 18px;
    padding: 0px 20px 10px 20px;
    margin: 15px 0 20px 0;
}

.testresults .details {margin-top: -5px; color: #004f9f;}
.testresults .details:hover {cursor: pointer; text-decoration: underline;}
.testresults .details i{font-size: 16px; padding: 5px 0 0 10px; margin-top:5px;}

.resulttable thead { font-weight: bold; font-size:12px}
.resulttable .vcenter {vertical-align: middle; padding-right: 10px;width: 20%;}
.resulttable .answer {font-size:13px;width: 65%;font-weight:400;}
.resulttable .k_answer {width: 15%; text-align: right;}
.resulttable .green {color: green;}
.resulttable .red {color:red;}

.resulttable.sehtest tbody td { text-align: center; border: 1px solid #ccc; }
.resulttable.sehtest tbody .small { font-size:12px; }
.resulttable.sehtest thead th { text-align: center; border-right: 1px solid #ccc; }
.resulttable.sehtest thead th:last-child {border-right:none }

.reaktion-result, .see-result { border-bottom: 1px solid #ccc; padding: 5px 0; color:#666; }
.reaktion-result-last, .see-result-last {padding: 5px 0; color: #666;}

.progress-test-result {
    font-weight: bold;
    color:black;
    margin: 0 auto;
    padding-top: 7px;
    position: absolute;
    width: 100%;}
.progress-test-result .white { color:white; }

.progress {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    height: 35px;
    background-color: transparent;
    box-shadow: none;
}
.progress-bar { font-size:12px; line-height:32px;padding:0 5px; }

.debugger {float:right; background-color: #EEE; border-left: 1px solid #999;width:25%;position:absolute; top:0; right:0; z-index:1000; height: 100%; overflow: scroll; padding:0 20px;}
.error-norm {color:red; }
.erfolg { color:green; }

/*Validation*/

label.error {color:red; padding: 3px 0px; font-size: 12px; font-weight: 100;margin-bottom: 0px;}


/*Handy Media Queries*/
@media only screen
    and (min-device-width: 320px)
    and (max-device-width: 480px){
h1 { font-size: 19px; }
h1.headline-sm { font-size:14px; margin: 0.5rem 0;}
h5.headline { font-size:16px;padding: 0 0 10px 0;}

h3.question {
    font-size: 16px;
    font-weight: 300;
    background-color: #4a97a9;
    }

#leftside .count_question { font-size:18px; }


#rightside .answer .answer_text { font-size:14px;}
#rightside .answer_number { padding: 7px 14px; line-height:22px;}
#rightside .answer_number.checked { padding: 11px 12px; line-height:1px; }

#left_plain { margin:17px auto; }
#right_plain { margin:17px auto; }

#PForm { margin-top:0px;}
#rightside .time,#Custu { font-size:14px; font-weight:400;}
.mytime { font-size:16px; font-weight: 400;}

.btn,.btn-lg,.btn-sm { font-size:12px; }

.reaktion-result, .see-result { border-bottom: 1px solid #ccc; padding: 5px 0; }
.reaktion-result-last, .see-result-last {padding: 5px 0; }
}

.helptext { padding: 20px; }
.tutorial-text { font-size:14px; font-weight: 600; margin-bottom: 0px;}

/* Landscape Ipad*/
@media only screen
        and (min-device-width: 768px)
        and (max-device-width: 1024px)
{

p { margin: 0 0 5px; }
h1 { margin-top:8px; }

#rightside .text-content, #contentside .text-content { margin-top: 3%; }
.pagination { margin: 15px 0 0; }

.num {height:90px; width:90px; padding:20px; }

h3.question
{
    padding: 20px 40px;
    font-weight: 300;
    background-color: #4a97a9;
}

#rightside .answer { padding:20px 10px 20px 10px; }

#rightside .answer_number { padding: 7px 14px; line-height:22px;}
#rightside .answer_number.checked { padding: 11px 12px; line-height:1px; }

}