#survey {
font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* para tudo o que nao for apanhado pelo user-defined, atencao: o optionscol e' afectado */
line-height: 22px;
}

* div#survey .sheader h1 {
line-height: 30px;
}
* div#survey h2.spagetitle {
line-height: 30px;
}

html.rtl h1,
html.rtl h2,
html.rtl h3,
html.rtl p,
html.rtl ul,
html.rtl table,
html.rtl tr,
html.rtl th,
html.rtl td,
html.rtl .squestiontitle,
html.rtl .squestioninput {
direction: rtl;
}

/* page title */
#survey h2.spagetitle {
font-weight: bold;
}

/* question */
#survey div.squestiontitle h3 {
font-weight: normal;
display: inline;
border: none;
}
#survey div.squestiontitle p {
display: inline;
}


.embed.output #survey div.thankyou.squestion { margin: 15px 0 15px 0; }
.embed.output #survey div.thankyou.squestion { width: 100%; float: none; }

#survey div.thankyou div.squestiontitle p {
display: block;
margin-top: 5px;
margin-bottom: 20px;
}

.embed.output .thankyou-footer #sfooter {
margin: 0;
padding: 0 0 40px 0;
}


#survey div.squestiontitle div.imgdiv {
padding: 10px 0;
}
#survey div.squestiontitle div.imgdiv.fleft {
padding: 10px 15px 10px 0;
}
#survey div.squestiontitle div.imgdiv.fright {
padding: 10px 0 10px 15px;
}

#survey li label.choice {
padding: 3px 10px 3px 10px;
margin: -3px 0 -6px -10px;
width: 95%;
display: block;
border-radius: 3px;
cursor: pointer;
}
#survey li label.choice input {
cursor: pointer;
}
#survey li label.choice:hover {
/*background: rgba(0,0,0,0.05);*/
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#survey li input[name="otherOption"] {
display: block;
}

#survey .sqihorizontal label.choice {
margin-left: 0;
padding: 4px 4px 4px 4px;
display: inline;
width: auto;
}
#survey .sqihorizontal label.choice:hover {
background: none;
width: auto;
}

.output .squestioninput li {
margin: 0 !important;
}



#survey .input-matrix label {
padding: 4px 12px 6px 12px;
font-size: 14px;
margin: 0 auto;
display: inline-block;
border-radius: 3px;
cursor: pointer;
}
#survey .input-matrix label input {
cursor: pointer;
}
#survey .input-matrix label:hover {
}
#survey .input-matrix input {
padding: 0 !important;
margin: 0 !important;
}



/* overflow effect */
td.surveycol div.squestion {
}
div.squestioninput {
padding: 5px 0 !important;
}


#survey div.squestioninput ul { list-style: none; }
#survey div.squestioninput p { /*margin: 5px 0;*/ }

div.squestioninput table { border-collapse: collapse; }
div.squestioninput table tr.col th { text-align: center; border-top: none !important; }
div.squestioninput table tr.row th { text-align: left; }
.rtl div.squestioninput table tr.row th { text-align: right; }

.rtl .squestioninput .input-matrix table { float: right; }
.rtl .squestioninput .input-matrix table::after { content: ""; clear: both; display: table; }

.rtl #survey label.choice { padding-right: 0; }

div.squestioninput table th { font-weight: normal; }
div.squestioninput table td { font-weight: normal; text-align: center; }
div.squestioninput table th.empty { border: none; }

div.squestioninput table tr.col th { padding: 5px 15px 5px 15px; }
div.squestioninput table tr.row th { padding: 5px 15px 5px 0; }
div.squestioninput table td { /*padding: 5px 15px;*/ }

div.squestioninput table.prompt { border-collapse: collapse; width: 100%; }
div.squestioninput table.prompt th { text-align: left; width: 30%; }
div.squestioninput table.prompt th, div.squestioninput table.prompt td { padding: 0.25em 1em 0.25em 0; font-weight: normal; border: none; vertical-align: top; }
div.squestioninput table.prompt td { text-align: left; }

.output div.ltr span.sqihorizontal { margin-right: 15px; }
.output div.rtl span.sqihorizontal { margin: 0; }
div.editltr span.sqihorizontal { margin-right: 15px; }
div.editrtl span.sqihorizontal { margin: 0; }


/* elements */

.fleft { float: left; }
.fright { float: right; }
.aright { text-align: right; }
.aleft { text-align: left; }
.acenter { text-align: center; }

#survey div.selement img {
padding: 5px 0;
}
#survey div.selement span {
font-size: 11px;
}

#survey div.selement h3 {
font-weight: bold;
border: none;
}
div.spacer10 {
height: 10px;
}

/* password */
div.password {
text-align: center !important;
margin: 15px 0 0 0 !important;
}
div.password input {
font-weight: normal !important;
}
div.password div {
margin: 0 0 15px 0 !important;
}
div.password span.error {
color: #cf3617 !important;
margin: 0 5px;
background: none !important;
}



/* bottom navigation */
#survey p.snav {
text-align: center;
direction: ltr !important;
}
#survey p.snav a {
border: none;
text-decoration: underline;
}

/* -----------------------
--- Position & Margins --
------------------------ */

#survey {
margin: 15px 0;
}

#survey h1 {
text-shadow: none !important;
}

#survey div, #survey ul, #survey li, #survey p, #survey h1, #survey h2, #survey h3, #survey form { margin: 0; padding: 0; }

/* --- sheader: same in output and internal --- */

.sheader  { }
.sheader p#exit {
text-align: right;
}
.sheader p#exithidden {
font-size: 1px;
line-height: 1px;
height: 10px;
}
.sheader td.surveycol table, .output .sheader table {
width: 100%;
}
.sheader td.surveycol table td.col1, .output .sheader table td.col1 {
padding-top: 1em;
}
.sheader td.surveycol table td.col2, .output .sheader table td.col2 {
vertical-align: top;
text-align: right;
white-space: nowrap;
padding-bottom: 1em;
}
.sheader p#exit .ttip2 .ttipcontent, .output .sheader table td.col2 {
margin-top: 0.75em;
font-family: Verdana, Arial, Helvetica, sans-serif;
z-index: 0;
}
.sheader div.imgwrapper {
overflow: hidden;
/*margin: 0px 25px 0px 25px !important;*/
margin: 0px 35px 0px 35px !important;
/*margin: 0px 40px 0px 40px !important;*/
/*width: 650px;*/
}



.sheader img {
padding: 0px 0px 0px 0px;
margin: 0;
}
* div#survey .sheader h1 {
padding: 15px 0px 20px 0px;
margin: 0;
}

.e0i0t0 div.imgwrapper { display: none; }
.e0i0t0 img { }
.e0i0t0 h1 { }

.e0i0t1 img { }
.e0i0t1 h1 { padding: 30px 0px 30px 0px !important; }

.e0i1t0 { padding-bottom: 20px !important; }
.e0i1t0 div.imgwrapper { padding-top: 25px !important; }
.e0i1t0 img { }
.e0i1t0 h1 { }

.e0i1t1 div.imgwrapper { padding-top: 25px !important; }
.e0i1t1 img { margin: 0px 0px 0px 0px !important; }
.e0i1t1 h1 { }

.e1i0t0 div.imgwrapper { display: none; }
.e1i0t0 img { }
.e1i0t0 h1 { }

.e1i0t1 p#exit { padding: 0.5em 25px 0px 0; !important; }
.e1i0t1 img { }
.e1i0t1 h1 { padding: 0px 0px 25px 0px !important; }

.e1i1t0 { padding-bottom: 20px !important; }
.e1i1t0 img { }
.e1i1t0 h1 { }

.e1i1t1 img { }
.e1i1t1 h1 { padding: 15px 0px 20px 0px !important; }

/* fixes ie6 + ie7 unwanted space above the title when there is no image in the header */
.e0i0t0 div#surveyLogoPlaceholder,
.e0i0t1 div#surveyLogoPlaceholder,
.e1i0t0 div#surveyLogoPlaceholder,
.e1i0t1 div#surveyLogoPlaceholder { display: none !important; }


/* --- general layout margins, internal(first) and output(last) --- */
table.surveyedit tr.sheader td.surveycol { padding: 0; }
table.surveyedit tr.firstline td.surveycol { padding-top: 20px; }
table.surveyedit tr.firstline td.optionscol { padding-top: 25px; }
table.surveyedit tr.lastline td.surveycol { padding-bottom: 15px; }
table.surveyedit tr td.surveycol { margin: 0; padding: 0; }
/* table.surveyedit tr td.surveycol { margin: 0; padding: 0 1.5em; } */

.output #survey { margin: 0 0 0 0; }
.output div.ltr { text-align: left; }
.output div.rtl { text-align: right; }
.output .sbody { padding: 25px 35px 20px 35px !important; }
/*.output .sbody { padding: 25px 40px !important; }*/
/*.output .sbody { padding: 25px 45px !important; }*/

.output div.rtl .sheader p#exit  { text-align: left; padding-left: 25px; } 

/* --- internal & output --- */
#survey div.squestioninput p { /*padding: 5px 0;*/ }
#survey div.squestioninput table { margin: 0 0 10px 0 !important; }

/* --- internal --- */
#survey h2.spagetitle { padding: 0 35px; }
#survey div.squestion  { padding: 0 35px; }
#survey div.selement { padding: 0 35px; }
#survey p.snav { padding: 0 35px; }
  /* note: instead of adding horizontal margin to td.surveycol, margin was added individually to each element. this way div.editmode can be close to the td */

#survey h2.spagetitle { margin: 7px 0 10px 0; }
#survey div.squestion  { margin: 10px 0; }
#survey div.squestiontitle  { }
#survey div.squestiontitle h3 { }
#survey div.squestiontitle p { }
#survey div.squestioninput { margin: 10px 0 0em 0; }
#survey div.squestioninput ul { }
#survey div.squestioninput li { margin: 0 0 5px 0 !important; }
#survey div.selement { margin: 10px 0; }
#survey div.selement h3 { }
#survey p.snav { margin: 30px 0 20px 0; }

/* --- output --- */
.output #survey h2.spagetitle { padding: 0; }
.output #survey div.squestion  { padding: 0; }
.output #survey div.selement { padding: 0; }
.output #survey p.snav { padding: 0; }

.output #survey h2.spagetitle { margin-bottom: 10px; }
.output #survey div.squestion  { margin: 10px 0; }
.output #survey div.squestion  { width: 100%; float: left; }
.output #survey div.squestiontitle  { }
.output #survey div.squestiontitle h3 { }
.output #survey div.squestiontitle p { }
.output #survey div.squestioninput { margin: 10px 0 10px 0; }
.output #survey div.squestioninput ul { }
.output #survey div.squestioninput li { margin: 0 0 5px 0 !important; }
.output #survey div.selement { margin: 0 0 15px 0; width: 100%; float: left; }
.output #survey div.selement h3 { }
.output #survey p.snav { margin: 15px 0 0 0; }

.output #survey div.squestion div.acenter { text-align: center; }
.output #survey div.squestion div.aleft { text-align: left; }
.output #survey div.squestion div.aright { text-align: right; }
/* note: in the output vertical margins are twice as big (as value) but the same visually due to table effect in the edit survey page */


.output #sfooter {
margin: 25px 0 40px 0;
text-align: center;
opacity: 0.5;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
}

.output div#sfooter.sfblack, .output div#sfooter.sfblack a { color: #000; }
.output div#sfooter.sfwhite, .output div#sfooter.sfwhite a { color: #fff; }

/* -----------------------
------- Feedback --------
------------------------ */

.sbody div.error {
margin: 20px 0 15px 0 !important;
}
.sbody div.error span {
border-top: 1px solid #e97;
border-bottom: 1px solid #e97;
background: #cf3617;
color: #fff;
background: #cf3617;
padding: 5px 10px;
font-weight: bold;
}

.sbody div.squestiontitle span.error {
border-top: 1px solid #e97;
border-bottom: 1px solid #e97;
margin: 0 5px;
padding: 1px 5px;
color: #fff !important;
background: #cf3617;
font-weight: bold;
}




/* -----------------------
--- Table Edit Survey ---
------------------------ */


table.surveyedit {
padding: 0;
margin: 0;
width: 100%;
table-layout: fixed; /* overflow bug fix */
}

table.surveyedit tr td.optionscol {
width: 27px;
background: #eee;
vertical-align: top;
text-align: center;
padding: 6px 15px; /* para compensar padding do anchor */
}
table.surveyedit tr td.optionscol a {
background: #888;
color: #000;
padding: 4px 6px;
text-decoration: none;
margin-right: 4px;
}
table.surveyedit tr td.optionscol a:hover {
background: #555;
}


/* ---- Edit Mode ---- */

table.surveyedit tr td.surveycol div.editdiv {
font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
background: #ccc;
margin: 0;
padding: 6px 7px 6px 7px !important;
/*
border-top: 2px solid #fff;
border-bottom: 2px solid #fff;
border-radius: 4px;
*/
}
table.surveyedit tr.firstline td.surveycol div.editdiv {
margin-top: -20px !important; /* resets firsline top padding in edit mode */
}
table.surveyedit tr.lastline td.surveycol div.editdiv {
margin-bottom: -15px !important; /* resets lastline bottom padding in edit mode */
}

table.surveyedit tr td.surveycol div.editdiv table { }
table.surveyedit tr td.surveycol div.editdiv table th { font-weight: normal; text-align: right; }
div.editdiv table th, div.editdiv table td { padding: 5px; }
div.editdiv table tr.traction th, div.editdiv table tr.traction td { padding-top: 1em; }
table.surveyedit tr td.surveycol div.editdiv table p { padding: 0 0 10px 0 !important; }
table.surveyedit tr td.surveycol div.editdiv table p.last { padding: 0 0 0 0 !important; }

div.editdiv .smalltxt { color: #777; }

table.surveyedit tr td.surveycol div.editdiv table.editquestion td, table.surveyedit tr td.surveycol div.editdiv table.editquestion th {
border-bottom: 1px solid #ccc;
background: #ddd;
}
table.surveyedit tr td.surveycol div.editdiv table.editquestion th {
vertical-align: top;
white-space: nowrap;
padding: 10px 10px;
}
table.surveyedit tr td.surveycol div.editdiv table.editquestion td {
width: 100%;
padding: 10px 5px;
}
table.surveyedit tr td.surveycol div.editdiv table.editquestion td p {
margin: 0 !important;
}
table.surveyedit tr td.surveycol div.editdiv table.editquestion td p.removeimage {
margin: 0 0 5px 0!important;
}
table.surveyedit tr td.surveycol div.editdiv table.editquestion tr.traction td {
padding: 10px 5px;
}
table.surveyedit tr td.surveycol div.editdiv table.editquestion td p span {
padding-right: 5px;
}
table.editquestion input.inputtext {
margin: 0;
}




/* -----------------------
------ To Organize ------
------------------------ */

div.completion {
padding-top: 1em !important;
}

div.completionbar {
width: 200px;
background: #fff;
border: 1px solid #aaa;
height: 20px;
margin: 0 auto !important;
}
div.completionbar div {
background: #5d5;
border: 1px solid #fff;
height: 18px;
}

#survey .sbody div.example { margin: 0.5em 0 !important; padding: 0.5em !important; }
#survey .sbody div.example { background: url(../pics/sample.gif); border: 1px dotted #999; }
#survey .sbody div.example div.squestion div.squestiontitle { color: #000 !important; }
#survey .sbody div.example div.squestion div.squestiontitle h3 { color: #000 !important; }
#survey .sbody div.example div.squestion div.squestioninput { color: #000 !important; }
#survey .sbody div.example div.squestion, #survey .sbody div.example div.squestion h3 { font-size: 12px; }

#survey .sbody div.example table {
width: auto;
}
#survey .sbody div.example table th {
background: #fff;
border: 1px solid #888;
text-align: center;
padding: 0.25em 1.5em;
}
#survey .sbody div.example table td {
background: #fff;
border: 1px solid #888;
width: auto !important;
padding: 0.25em 1.5em;
}

#survey .sbody div.example table th.empty { border: none; background: none; }

#survey p.reset {
margin: 5px 0 0 0;
}



.input-single-small { width: 150px; }
.input-single-medium { width: 300px; }
.input-single-large { width: 450px; }
.input-single-full { width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.input-paragraph-small { width: 400px; height: 75px; }
.input-paragraph-medium { width: 450px; height: 100px; }
.input-paragraph-large { width: 500px; height: 150px; }
.input-paragraph-full { width: 100%; height: 100px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }


/* -----------------------
----- Import Header -----
------------------------ */

div#importheader {
background: #333;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 90%;
line-height: 1.6em;
padding-bottom: 4px;
}
div#importheader div.wrap {
position: relative;
}
div#importheader div.wrap {
margin: 0 auto;
width: 800px;
}

div#importheader div#logo {
height: 5.7em;
padding: 0px 20px 0px 20px;
background: url(../pics/survs19.gif) left center no-repeat;
margin-left: 20px;
position: relative;
}
div#importheader div#logo a {
display: block;
border: none !important;
position: absolute;
width: 140px;
height: 45px;
top: 10px;
left: -5px;
outline: none;
}



div#importheader #supportnav {
position: absolute;
right: 20px;
top: 0px;
padding: 22px 0px 6px 10px;
white-space: nowrap;
color: #91BC66;
/*background: #000;*/
}
div#importheader #supportnav a {
color: #91BC66;
border-bottom: 1px solid #5B8734;
text-decoration: none;
padding: 0;
}
div#importheader #supportnav a:hover {
color: #C7F491;
border-bottom: 1px solid #75A24C;
}
div#importheader #supportnav span {
color: #888;
border-bottom: 1px solid #555;
padding: 0;
}


/* -----------------------
---------- Misc ---------
------------------------ */

div.selement, div.squestion, div.spagetitlecol, div.sheader, div#sheadercol, div.sfootercol {
/*position: relative; /* no div#sheadercol e no div.sheader resolve posi��o do link Exit, no resto � desnecess�rio? */
}



div.squestiontitle * {
/*font-weight: bold !important;*/
}

div.cboth {
clear: both;
}


div.editrtl td.surveycol {
direction: rtl; 
}
div.editrtl #sheadercol span.ttipcontent {
text-align: left !important;
direction: ltr !important;
}
div.editrtl #sheadercol p#exit {
text-align: left !important;
padding: 0.5em 0 0 1em;
}
div.editrtl .sheader img { padding-right: 15px; }
div.editrtl div.editdiv {
text-align: left !important;
direction: ltr !important;
}



/* -----------------------
------ Output only ------
------------------------ */

.output {
background: #272727;
font-size: 78%;
}

#survey .sbody p.reset { font-size: 0.85em; }

.output {
padding: 0;
margin: 0;
}

.output div.sbody form {
display: inline;
}

.output .selement p {
/*margin: 0.5em 0 !important;*/
}


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

  .output #survey {
  /*width: 300px !important;*/
  }

}




/* -----------------------
-------- Preview --------
------------------------ */


div.spreview {
font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 13px;
text-align: center;
/* background: #333 url(../pics/preview_bg_11.gif) -10px -15px; */
background: #333;
color: #dc9;
border-bottom: 4px solid #555;
padding: 17px 0;
margin-bottom: 2px;
}

div.spreview p {
margin: 0 0;
}
div.spreview a {
color: #dc9;
}


/* Preview Warning */

.preview_white_content {
font-family: 'proxima-nova', 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 20px;
font-size: 13px;
text-align: left;
}

.preview_black_overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
opacity: .50;
z-index: 1001;
}
.preview_white_content {
display: none;
position: absolute;
margin-top: 0;
top: 25%;
left: 0;
width: 100%;
height: 10em;
z-index: 1002;
}
.preview_white_content div.inner {
width: 365px;
margin: 0 auto 0 auto;
padding: 0;
border: 8px solid #e4af5f;
border-radius: 3px;
background: #feeaab;
padding: 16px 16px 16px 16px;
}
.preview_white_content div.inner h1 {
font-weight: normal;
font-size: 24px;
}
.preview_white_content div.inner p {
color: #333;
margin: 10px 0 15px 0;
}

/* -----------------------
-------- Misc --------
------------------------ */

.colorinherit { color: inherit !important; }


/* -----------------------
--------- Misc ---------
------------------------ */

.output_feedback {
margin: 0;
text-align: center;
padding-top: 80px;
padding-bottom: 80px;
}

.output_feedback div#sfooter {
margin: 80px auto 0 auto;
padding: 10px 20px;
width: 400px;
text-align: center;
opacity: 0.75;
font-size: 13px;
}
.output_feedback div#sfooter a {
color: inherit;
}

.output_feedback div#sfooter p {
margin: 10px 0;
}

.output_feedback div#sfooter.sfblack { border-top: 1px solid rgba(0,0,0,0.125); }
.output_feedback div#sfooter.sfwhite { border-top: 1px solid rgba(255,255,255,0.125); }



/* -----------------------
---------- 2.0 ----------
------------------------ */

a.basic-link {
text-decoration: none;
}

div.squestioninput .inputtext {
line-height: normal !important;
background: #fff;
color: #333;
border: 1px solid #aaa;
padding: 7px;
vertical-align: middle;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
/*behavior: url(/_pie/PIE.htc);*/
}
div.squestioninput li .inputtext {
margin-top: 10px;
}

div.squestioninput textarea {
line-height: normal !important;
background: #fff;
color: #333;
border: 1px solid #aaa;
padding: 8px;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
/*behavior: url(/_pie/PIE.htc);*/
}

div.squestioninput select {
color: #333;
height: 26px;
line-height: 26px;
display: inline-block;
padding: 3px; 
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
border-radius: 3px;
vertical-align: middle;
border: 1px solid #aaa;
background: -moz-linear-gradient(#fafafa, #eeeeee);
background: linear-gradient(#fafafa, #eeeeee);
/*position: relative;*/
/*behavior: url(/_pie/PIE.htc);*/
}


.old-survey #survey #sfooter,
.old-survey #survey .snav *,
.old-survey #survey .completion {
font-size: 13px !important;
}


p.prompt {
margin-bottom: 10px !important;
}


input.outputbutton {
font-size: 13px;
line-height: normal !important;
vertical-align: top;
padding: 7px 14px 7px 14px;
border: 1px solid #a2a2a2;
color: #555;
cursor: pointer;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: #f0f0f0;
background: -webkit-linear-gradient(#fff, #e5e5e5);
background: -moz-linear-gradient(#fff, #e5e5e5);
background: -ms-linear-gradient(#fff, #e5e5e5);
background: -o-linear-gradient(#fff, #e5e5e5);
background: linear-gradient(#fff, #e5e5e5);
-pie-background: linear-gradient(#fff, #e5e5e5);
/*position: relative;*/
/*behavior: url(/_pie/PIE.htc);*/
}
input.outputbutton:hover {
background: #e5e5e5;
}
input.outputbutton:active {
/*
padding: 7px 14px 5px 14px;
*/
background: -webkit-linear-gradient(#e5e5e5, #fff);
background: -moz-linear-gradient(#e5e5e5, #fff);
background: -ms-linear-gradient(#e5e5e5, #fff);
background: -o-linear-gradient(#e5e5e5, #fff);
background: linear-gradient(#e5e5e5, #fff);
-pie-background: linear-gradient(#e5e5e5, #fff);
/*behavior: url(/_pie/PIE.htc);*/
}


input.outputbutton-disabled {
font-size: 13px;
line-height: normal !important;
vertical-align: top;
padding: 7px 14px 7px 14px;
border: 1px solid #ccc;
color: #999;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background: #f0f0f0;
background: -webkit-linear-gradient(#fff, #eee);
background: -moz-linear-gradient(#fff, #eee);
background: -ms-linear-gradient(#fff, #eee);
background: -o-linear-gradient(#fff, #eee);
background: linear-gradient(#fff, #eee);
-pie-background: linear-gradient(#fff, #eee);
/*position: relative;*/
/*behavior: url(/_pie/PIE.htc);*/
}



/* Survey in Edit Survey */ 

/*
#survey .sheader h1 { font-size: 24px; line-height: 36px; }
#survey .sbody h2.spagetitle { font-size: 18px; line-height: 28px; }
#survey .sbody div.selement h3 { font-size: 18px; line-height: 28px; }
#survey .sbody div.squestion, #survey .sbody div.squestion h3, #survey .sbody div.selement p, #survey .error, #survey #sfooter, #survey .snav *, #survey .completion, #survey .squestioninput .inputtext, #survey .squestioninput textarea, #survey select { font-size: 13px; line-height: 20px; }
*/


@media only screen and (min-width : 320px) and (max-width : 568px) {
  
  .output #survey {
  width: 100% !important;
  margin: 0 !important;
  }

  .output {
  margin: 0;
  padding: 0 !important;
  }

  #survey img { max-width: 100%; }

  .input-single-small { width: 100%; }
  .input-single-medium { width: 100%; }
  .input-single-large { width: 100%; }
  .input-paragraph-small { width: 100%; height: 75px; }
  .input-paragraph-medium { width: 100%; height: 100px; }
  .input-paragraph-large { width: 100%; height: 150px; }

  #survey .inputtext, div.squestioninput textarea {
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  }

  .sheader div.imgwrapper {
  margin: 0 8% 0 8% !important;
  }

  .e0i0t1 h1 { padding: 10% 0 10% 0 !important; }

  .output .sbody { padding: 5% 8% !important; }

  .output .sheader {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
  behavior: url(/_pie/PIE.htc);
  }
  .output .sbody {
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
  behavior: url(/_pie/PIE.htc);
  }

  .input-matrix {
    padding-bottom: 10px;
  }
  .input-matrix::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  }
  .input-matrix::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: rgba(0,0,0,0.5);
  -webkit-box-shadow: 0 0 1px rgba(255,255,255,0.5);
  }

  input.outputbutton:hover {
  background: #f0f0f0;
  background: -webkit-linear-gradient(#fff, #e5e5e5);
  background: -moz-linear-gradient(#fff, #e5e5e5);
  background: -ms-linear-gradient(#fff, #e5e5e5);
  background: -o-linear-gradient(#fff, #e5e5e5);
  background: linear-gradient(#fff, #e5e5e5);
  -pie-background: linear-gradient(#fff, #e5e5e5);
  }

}



@media only screen and (min-width : 568px)  and (max-width : 1024px) {

  input.outputbutton:hover {
  background: #f0f0f0;
  background: -webkit-linear-gradient(#fff, #e5e5e5);
  background: -moz-linear-gradient(#fff, #e5e5e5);
  background: -ms-linear-gradient(#fff, #e5e5e5);
  background: -o-linear-gradient(#fff, #e5e5e5);
  background: linear-gradient(#fff, #e5e5e5);
  -pie-background: linear-gradient(#fff, #e5e5e5);
  }

}


.spin-container {
position: absolute;
}
.uploading td {
border: none !important;
}

.filename {
font-style: italic;
padding-bottom: 5px !important;
}

/* -----------------------
----- Accessibility ------
------------------------ */


.hidden {
display: none;
}
fieldset {
border: 0;
padding: 0;
margin: 0;
min-width: 0;
}
legend {
display: none;
}


/*Embed - fixes the scroll appearing
and making a interrupted flicker on the height
of the page*/
.autoresized { overflow: hidden !important; }





td.surveycol {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}


td.surveycol .editdiv,
td.surveycol .selement,
td.surveycol h1,
td.surveycol label,
td.surveycol .squestiontitle h3,
td.surveycol .squestiontitle p,
td.surveycol form p *,
td.surveycol li *,
td.surveycol .squestioninput table {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}


/* rtl buttons, position switch */

.snav input {
margin: 0 2px;
}
.rtl .snav {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row-reverse;
}
.rtl .snav input {
margin: 0 3px !important;
}


