
#cawi #questions{
    padding: 20px;
}

#cawi .question{
    behavior: url(js/PIE.htc);
    position: relative;
    z-index: 6;
    margin: 2px 2px 14px 2px;
    
    position: relative;
    
    -webkit-border-radius: 14px 14px 0 0;
    -moz-border-radius: 14px 14px 0 0;
    border-radius: 14px 14px 0 0;
}

#cawi .q_text{
    behavior: url(js/PIE.htc);
    position: relative;
    z-index: 2;
    padding: 6px 12px;
    background: #FFF0D0;
    font-size: 1.1em;
    margin: 0 0 8px 0;
    
    
background: #ffeeba; /* Old browsers */
background: -moz-linear-gradient(top,  #ffce7f 1%, #ffeeba 51%, #fff8d6 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffce7f), color-stop(51%,#ffeeba), color-stop(100%,#fff8d6)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #ffce7f 1%,#ffeeba 51%,#fff8d6 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #ffce7f 1%,#ffeeba 51%,#fff8d6 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #ffce7f 1%,#ffeeba 51%,#fff8d6 100%); /* IE10+ */
background: linear-gradient(top,  #ffce7f 1%,#ffeeba 51%,#fff8d6 100%); /* W3C */
-pie-background: linear-gradient(top,  #ffce7f 1%,#ffeeba 51%,#fff8d6 100%); /* W3C */
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffce7f', endColorstr='#fff8d6',GradientType=0 ); /* IE6-9 */


    border: 1px solid #FFFFFF;
    border-bottom: none;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.5);
    
    -webkit-border-radius: 14px 14px 0 0;
    -moz-border-radius: 14px 14px 0 0;
    border-radius: 14px 14px 0 0;
}

#cawi .q_error{
    color: #A00;
    background: #FDD;
}

#cawi .question.error{
    border: dotted 2px #C00;
    margin: 0px;
}
#cawi .question.shared.error{
    background: none;
}
#cawi .error{
    background: #FFF8F8;
}

#cawi #nav_bar{
    height: 80px;
}

#cawi #progress_bar{
    margin: 0 200px;
}

#cawi #next_button{
    display: none;
    width: 67px;
    height: 40px;
    background: url(img/right_arrow.png);
    float: right;
    margin-right: 100px;
}
#cawi #back_button{
    display: none;
    width: 67px;
    height: 40px;
    background: url(img/left_arrow.png);
    float: left;
    margin-left: 100px;
}

#cawi .q_answer{
    padding: 0 8px;
}

#cawi .q_answer td{
    padding: 1px;
}

#cawi .matrix_control{
    width: 100%;
    height: 100%;
    min-height: 25px;
}
#cawi .matrix_control .radio-img,
#cawi .matrix_control .check-img{
    float: none;
    margin: auto;
}

#cawi textarea {
    resize: none;
    overflow:auto;
}

#cawi .radio,
#cawi .checkbox{
    padding: 4px;
}

#cawi .radio.hover,
#cawi .checkbox.hover{
    /*behavior: url(js/PIE.htc);*/
    position: relative;
    z-index: 2;
    /*background-color: #FFF6D8;*/
    
background: -moz-radial-gradient(center, ellipse cover,  rgba(255,238,186,1) 0%, rgba(255,238,186,0) 70%, rgba(255,238,186,0) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,238,186,1)), color-stop(80%,rgba(255,238,186,0)), color-stop(100%,rgba(255,238,186,0))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,238,186,1) 0%,rgba(255,238,186,0) 80%,rgba(255,238,186,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-radial-gradient(center, ellipse cover,  rgba(255,238,186,1) 0%,rgba(255,238,186,0) 80%,rgba(255,238,186,0) 100%); /* Opera 12+ */
background: -ms-radial-gradient(center, ellipse cover,  rgba(255,238,186,1) 0%,rgba(255,238,186,0) 80%,rgba(255,238,186,0) 100%); /* IE10+ */
background: radial-gradient(center, ellipse cover,  rgba(255,238,186,1) 0%,rgba(255,238,186,0) 80%,rgba(255,238,186,0) 100%); /* W3C */
/*-pie-background: radial-gradient(center, ellipse cover,  rgba(255,238,186,1) 0%,rgba(255,238,186,0) 80%,rgba(255,238,186,0) 100%); /* W3C */
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffeeba', endColorstr='#00ffeeba',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */


}

#cawi select{
    margin: 4px;
}
#cawi option{
    padding: 0px 10px;
}

#cawi .slider.touched .ui-slider-handle{
    border-color: #0E0;
}

#cawi .m_text {
    text-align: left;
    padding: 4px;
}
#cawi .s_text,
#cawi .m_second_text,
#cawi .s_second_text{
    text-align: center;
    padding: 4px;
}

#cawi body.screen-400{
    font-size: medium;
}

#cawi .screen-400 #header{
    display: none;
}

#cawi .screen-400 #questions{
    padding: 10px;
}

#cawi .screen-400 .q_text{
    padding: 4px;
    background: #FFF0D0;
    font-size: 1em;
    margin: 0 0 4px 0;
}

#cawi .screen-400 #progress_bar{
    margin: 0 90px;
}

#cawi .screen-400 #next_button{
    margin-right: 10px;
}
#cawi .screen-400 #back_button{
    margin-left: 10px;
}

#cawi .screen-400 .answer_table{
    width: 100%;
}

#cawi .screen-400 select{
    width: 100%;
    padding: 2px 10px;
}

#cawi .screen-400 select option{
    padding: 8px 10px;
}

#cawi .screen-400 .radio,
#cawi .screen-400 .checkbox{
    display: block;
    border-top: solid 1px #DDD;
}

#cawi .screen-400 textarea {
    width: 100%;
    margin-bottom: 4px;
}

#cawi .screen-400 .q_answer .slave{
    margin-left: 30px;
}

#cawi .screen-400 .mod_section{
    margin-top: 8px;
}

/* matrix */
#cawi .screen-400 .m_text.master {
    border: 1px solid #DDD;
    background: #DDD;
    
    -webkit-border-radius: 14px 14px 0 0;
    -moz-border-radius: 14px 14px 0 0;
    border-radius: 14px 14px 0 0;
}

#cawi .screen-400 .m_second_text {
    border: 1px solid #DDD;
    background: #DDD;
    
    -webkit-border-radius: 0 0 14px 14px;
    -moz-border-radius: 0 0 14px 14px;
    border-radius: 0 0 14px 14px;
}

#cawi .screen-400 .matrix_control_400{
    border:  1px solid #DDD;
    border-top: none;
}

#cawi .screen-400 .slider_table{
    width: 100%;
}
#cawi .screen-400 .slider_table td{
    text-align: center;
}

#cawi .screen-400  .ui-slider-horizontal{
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

#cawi .screen-400  .ui-slider-horizontal .ui-slider-handle{
    height: 2em;
    width: 2em;
    top: -0.7em;
    margin-left: -1em;
}

#cawi .screen-400 .question[type="matrix"] .radio .radio-img { float: left; margin-right: 5px; }

.wait-msg{
    padding: 8px;
    background: url(img/spinnerSmall.gif) no-repeat 50% 2em;
    min-height: 4em;
    
}

.blockMsg{
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

#cawi .loading{
    display: block;
    background: url(img/loading.gif) no-repeat 50%;
    height: 300px;
}

#cawi .shelftest-container{
    position: fixed;
    z-index: 10;
    background: #000;
    top: 0;
    left: 0;
}
#cawi .shelftest-scrollarea{
    overflow: auto;
    width: 100%;
    height: 100%;
}
#cawi .shelftest{
    position: relative;
    width: 800px;
    z-index: 11;
    /*zoom: 0.5;
    -moz-transform: scale(0.5);*/
}
#cawi .shelftest-zoomarea{
    overflow: hidden;
}

#cawi .shelftest .shelf,
#cawi .shelftest .group,
#cawi .shelftest .item,
#cawi .shelftest .item-depth{
    position: absolute;
    z-index: 11;
}
#cawi .shelftest .item{
    cursor: pointer;
}

#cawi .shelftest .label{
    background-color: #FFA;
    width: 40px;
    height: 30px;
    margin: auto;
    padding: 2px;
    font-size: 9px;
}

#cawi .shelftest .group.checked .item {
    border: 3px solid #ff0;
    margin: -3px;
}

.shelf-overlay{
    top: 0;
    left: 0;
    background: #000;
    opacity:0.8;
    filter:alpha(opacity=80); /* For IE8 and earlier */
    z-index: 100;
}
.shelf-overlay-box{
    background: #FFF;
    position: absolute;
    top:0;
    z-index: 101;
}
.shelf-overlay-box .item-image{
    cursor: pointer;
}

#cawi .shelf-open{
    text-decoration: underline;
    cursor: pointer;
}

#cawi .shelf-close{
    position: absolute;
    z-index: 99;
    bottom: 0;
    right: 0;
    background: #FFF;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 20px;
}

#cawi .shelftest-bottombar{
    position: absolute;
    z-index: 98;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #FFF;
    border: inset 2px #444;
}

#cawi .shelftest-bottombar .shelf-msg{
    font-size: 18px;
    padding: 8px 24px;
}

#cawi .shelf-zoom{
    position: absolute;
    z-index: 98;
    top: 10px;
    left: 10px;
}
#cawi .shelf-zoomout{
    width: 48px;
    height: 48px;
    background: url(img/zoom_out.png) no-repeat;
    cursor: pointer;
}
#cawi .shelf-zoomin{
    width: 48px;
    height: 48px;
    background: url(img/zoom_in.png) no-repeat;
    cursor: pointer;
    margin-top: 10px;
}

.shelf-overlay-box .control-box{
    position: absolute;
    z-index: 102;
    top: 0;
    right: -54px;
}

.shelf-overlay-box .item-close{
    width: 48px;
    height: 48px;
    background: url(img/close.png) no-repeat;
    cursor: pointer;
}
.shelf-overlay-box .item-zoomout{
    width: 48px;
    height: 48px;
    background: url(img/zoom_out.png) no-repeat;
    cursor: pointer;
    margin-top: 10px;
}
.shelf-overlay-box .item-zoomin{
    width: 48px;
    height: 48px;
    background: url(img/zoom_in.png) no-repeat;
    cursor: pointer;
    margin-top: 10px;
}

.shelf-overlay-box .item-rotate{
    width: 48px;
    height: 48px;
    background: url(img/rotate.png) no-repeat;
    cursor: pointer;
    margin-top: 10px;
}

/* Tooltips */
#cawi .mod{
    position: relative;
}
#cawi .mod_error{
    position: absolute;
    font-size: .7em;
    background: #ff4000;
    color: #fff;
    border-radius: 0 .6em .6em .6em;
    white-space: nowrap;
    padding: .2em .4em;
    margin-top: -2px;
    z-index: 10;
    left: .6em;
}

#cawi .mod_error::after{
    content: "";
    position: absolute;
    top: -.6em;
    left: 0;
    border-width: 0 .6em .7em;
    border-style: solid;
    border-color: #ff4000 transparent;
    display: block;
    width: 0;
}

#cawi .mod.error textarea,
#cawi .mod.error input,
#cawi .mod.error select{
    border-color: #FF4000;
    border-style: solid;
}

#cawi .sh_error{
    position: relative;
    display: inline-block;
    font-size: .7em;
    background: #ff4000;
    color: #fff;
    border-radius: .6em .6em .6em 0;
    /*white-space: nowrap;*/
    padding: .2em .4em;
    margin-bottom: .5em;
}
#cawi .sh_error::after{
    content: "";
    position: absolute;
    bottom: -.65em;
    left: 0;
    border-width: .7em .6em 0;
    border-style: solid;
    border-color: #ff4000 transparent;
    display: block;
    width: 0;
}

#cawi div.sh-header{
    font-weight: bold;
    background: #eee;
    padding: .2em .6em;
}
