body {
    font-family: verdana,tahoma,sans-serif;
    font-size: 1em;
    font-family: titling-gothic-skyline,"Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: white;
    width: 100%;
}

.mathematicaHeader {
    background-color: #046B5C;
    color: white;
}

#page {
    max-width: 1000px;
    margin: auto;
    clear: both;
    float: none;
    display: block;
}

div.headerouter {
    width: 100%;
    background-color: #E4E4DB;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#header > a {
    vertical-align: sub;
}

#header {
    /*padding: 10px;
    padding-left: 100px;*/
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
    background-position: left 40%;
    /*background-image:url(../images/logo80lbueNewer.png);*/
    /*background-image: url(../images/EC_logo.jpg);*/
    max-width: 750px;
    width: 65%;
}

#open {
    width: 90%;
}


.title1 {
    font-size: 1.8em;
    color: #006475;
    display: inline-block;
    margin-left: 15px;
}

.title2 {
    font-size: 1.2em;
    color: #C05226;
    color: #000;
}

#subtitle {
    color: #4D0C2E;
    font-size: 1.2em;
    vertical-align: top;
}

div.indent {
    padding-left: 35px;
}

@media (max-width: 700px) {
    body {
        margin: 0;
    }

    #header {
        padding: 5px;
        padding-top: 15px;
        padding-left: 100px;
        background-position: 5px 40%;
        width: 70%;
        height: 65px;
    }

    .title1 {
        font-size: 1.1em;
        width: 95%;
    }

    .title2 {
        font-size: 1.2em;
        width: 95%;
    }

    #subtitle {
        color: #4D0C2E;
        font-size: .9em;
        vertical-align: top;
        width: 95%;
        font-size: 1.2em;
    }
}

input {
    /* margin-top:15px; */
}

.hide {
    display: none;
}

#main {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 85%;
    display: block
}

#error {
    margin-left: -20px;
    padding-left: 45px;
    color: #a02622;
}

#current {
    width: 65%;
    float: left;
    /* margin-top: 2%; */
    margin-right: 20px;
    padding: 0x;
    color: #000;
    background-color: #fff;
    display: inline-block;
    /* border:4px #0091B5 solid;*/
    display: inline-block;
    position: relative;
}

@media (max-width: 700px) {
    #current {
        width: 95%;
        float: none;
        margin: 0 auto;
    }
}

.stepText {
    font-size: 1.2em;
}

#curQuestion, #QOptions, .curquestion, .curdecision {
    font-size: 1.2em;
    padding: 20px;
    padding-top: 0px;
    margin-top: 20px;
    padding-left: 45px;
    background: #fff url('../images/question302.png') no-repeat;
    background-position: 1% top;
    position: relative;
}

    #curQuestion p {
        margin-bottom: 0px;
    }

#QOptions {
    font-size: 1.1em;
}

.curdecision {
    background: #fff url('../images/check30.png') no-repeat;
}

#QOptions {
    margin-top: 0px;
    background: none;
    padding-bottom: 10px;
}

    #QOptions input {
        margin-left: -20px;
        margin-top: 15px;
    }

    #QOptions label {
        margin-top: 15px;
    }

    #QOptions br, #finalPath br {
        line-height: 30px;
    }

#QButtons {
    margin-left: 45px;
    margin-bottom: 20px;
}

.answer, .note {
    font-style: italic;
}

.note {
    font-size: .8em;
}

p.resourcenote {
    font-size: .8em;
    padding-top: 1em;
    clear: both;
    margin-left: 10px;
}

div#curQuestion.invisible {
    visibility: hidden;
    line-height: 0px;
    height: 0px;
    margin: 0;
    padding: 0;
}

#curResults {
    font-size: 1.2em;
    padding: 15px;
    padding-top: 0px;
    margin-top: 20px;
    background: #fff;
    background-position: 1% top;
    position: relative;
}

    #curResults h3 {
        color: #A34620;
        color: #03505C;
        /*background-color:#E4E4DB;*/
        display-block;
        font-size: 1.3em;
        padding: 8px;
        text-align: center;
    }

    #curResults div.intro {
        font-size: 1em;
    }

ul.results, div.results {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    margin-bottom: 45px;
}

    ul.results li {
        background-image: url('../images/check30.png');
        background-repeat: no-repeat;
        background-position: left top;
        padding-left: 35px;
        font-size: .9em;
    }

        ul.results li ul.innerlist li {
            background-image: none;
        }



ul.resultsublist li {
    background-image: none;
    padding-left: 15px;
}

ul.results li h5 {
    font-size: 1em;
    border-bottom: 2px solid #398470;
    display: block;
    padding: 4px;
    margin-bottom: 10px;
}

h4.subtitle {
    margin-top: 35px;
}

div.indent {
    padding-left: 35px;
}

div.notes {
    clear: both;
    font-size: .8em;
}

#intro {
    max-width: 1000px;
    margin: 0 auto;
    width: 95%
}

    #intro p {
        width: 92%;
        font-size: .95em;
    }

    #intro div.notes p {
        width: 95%;
    }

@media (max-width: 700px) {
    #intro {
        max-width: 1000px;
        margin: 0 auto;
        width: 85%
    }

        #intro p {
            width: 82%;
            font-size: .9em;
        }

        #intro div.notes p {
            width: 85%;
        }
}

#intro p.introbox {
    font-size: 1.2em;
    background-color: #DCF0F2;
    padding: 25px;
    margin: 0 auto 25px auto;
    border-bottom: solid 1px #aaa;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

div.notes {
    clear: both;
    width: 90%;
    margin: 45px auto 0px auto;
}

#intro div.notes p {
    margin-left: 0px;
    font-size: 1em;
}

button#start2.start2 {
    width: 100px;
    margin-top: 10px;
    display: block;
    padding: 5px;
    width: 100px;
    margin: 10px auto;
    float: none;
    text-align: center;
    font-size: 1.2em;
    color: #4D0C2E;
    font-weight: bold;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

button#start2.resourceButton {
    width: 100px;
    margin-top: 10px;
    display: inline-block;
    padding: 5px;
    width: 100px;
    margin: 10px auto;
    float: none;
    text-align: center;
    font-size: 1.2em;
    color: #4D0C2E;
    font-weight: bold;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}


/* Color palette:
#4D0C2E - egg plant purple
#B2372C - red clay
#E7A822 - golden yellow
#006475 - favorite blue
#4CB095 - cyan
#452C17 - brown
#C05226 - dark orange
#BF8C53 - tan

#EF7900 - orange used in info button
#339999 - blue used in question button.
*/
ul#steps {
    list-style-type: none;
    margin: 0 0 0 3%;
    padding: 0;
    font-size: 1em;
    width: 100%;
}

li#step1, li#step2, li#step3 {
    background-repeat: no-repeat;
    background-position: 10px 20px;
    padding-left: 55px;
    list-style-type: none;
    margin-left: 0px;
}

li#step1, li#step2, li#step3 {
    color: #333;
    float: left;
    width: 25%;
    margin-right: 1%;
    display: block;
    font-size: 1.05em;
    padding-top: 20px;
    border-top: solid 5px #006475;
    /*border-bottom:solid 5px #006475;*/
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    min-width: 150px;
}

@media (max-width: 700px) {
    li#step1, li#step2, li#step3 {
        width: 75%;
        margin: 0 auto;
        display: block;
        font-size: 1.1em;
        padding: 2% 5% 2% 60px;
        border-top: solid 5px #006475;
        border-bottom-right-radius: 16px;
        border-bottom-left-radius: 16px;
        border-top-right-radius: 16px;
        border-top-left-radius: 16px;
    }
}

ul#steps strong, .introbox strong {
    font-size: 1.1em;
    color: #4D0C2E;
}

ul#steps li#step1 {
    background-image: url('../images/one30p.png');
}

    ul#steps li#step1 ul {
        margin: 10px 0 0 0;
        padding: 10px;
        list-style-type: disc;
        font-size: .9em;
    }

ul#steps li#step2 {
    background-image: url('../images/two30p.png');
}

ul#steps li#step3 {
    background-image: url('../images/three30p.png');
}

p.answer {
    font-style: italic;
}

ul.results .ques27tableNotes p {
    border: none;
    font-size: .8em;
}

ul.results .ques27tableNotes span.authdefItem {
    font-weight: bold;
}

div.ques27tableNotes {
    margin-top: 20px;
}

    div.ques27tableNotes p {
        margin-top: 0px;
    }

#infoTabs {
    border: none;
}

#extraInfo .ui-state-default, #extraInfo .ui-state-hover {
    background: none;
    background-color: #D9E2E2;
}

#extraInfo h3, #finalPathO h3 {
    font-size: .9em;
    font-weight: bold;
}

#extraInfo h3 {
    color: #4D0C2E;
}

#extraInfo .ui-accordion, #extraInfo .ui-accordion-content, #finalPathO .ui-accordion, #finalPathO .ui-accordion-content {
    padding: 1px !important;
}

#infoTabs ul li {
    color: #4D0C2E;
    font-size: .9em;
}

div#informationdiv {
    /*background-color:#feffe7;*/
    padding: 20px 20px;
    /*font-size:.95em;*/
    margin: 0 0 20px 0;
}

#information, div.information {
    clear: both;
    padding-top: 0px;
    margin-top: 20px;
    padding-left: 45px;
    background: url('../images/info304.png') no-repeat;
    background-position: 1% top;
    padding-bottom: 15px;
}

div.information {
    padding-top: 20px;
    background-position: 1% 20px;
}

#definitions {
    clear: both;
    padding: 20px;
    padding-top: 0px;
    margin-top: 20px;
    font-size: .85em;
}

#results {
    float: right;
    display: inline-block;
    width: 195px;
    margin: 65px 5px 0 2px;
    /*background-color:#eee;
	border-left:solid 2px #C05226;*/
    padding: 0px;
}

    #results ul {
        margin-left: 0px;
        /*	padding-left:20px; */
    }

    #results h3 {
        margin: 0px;
        text-align: center;
        padding: 10px 0px;
        display: block;
        background-color: #058DA4;
        width: 100%;
        color: #fff;
    }

    #results h4 {
        margin: 5px;
        padding: 0px 0px;
        display: block;
        width: 100%;
    }


#footer {
    clear: both;
    Margin-top: 40px;
    /*background-color:#E3EAEA;
   border-top:1px groove #cccccc;*/
    width: 100%;
}

    #footer .outer {
        width: 85%;
        clear: both;
        margin-left: auto;
        margin-right: auto;
        /*background-color:#E3EAEA;*/
        display: block;
        max-width: 850px;
    }

    #footer .disclaimer {
        float: left;
        width: 60%;
    }

        #footer .disclaimer h3 {
            color: #4D0C2E;
        }

    #footer .contact {
        margin-top: 20px;
        float: right;
        width: 30%;
        padding: 20px;
        border-left: 1px solid #4D0C2E;
    }

@media (max-width: 700px) {
    #footer .outer {
        width: 95%;
    }

    #footer .disclaimer {
        display: block;
        margin: 10px auto 0px auto;
        width: 95%;
    }

    #footer .contact {
        margin-top: 20px;
        margin: 20px auto 0px auto;
        display: block;
        width: 75%;
    }

    #results ul {
        margin: auto;
        width: auto;
    }
}

div.finisheddiv, #current {
}

#subtitle {
    /*	border: 4px solid #058DA4;
 	background-color:#058DA4;  */
    /*	border-bottom-right-radius: 6px;
  	border-bottom-left-radius: 6px;
  	border-top-right-radius: 6px;
  	border-top-left-radius: 6px;
  	padding:12px 0 12px 0;*/
    width: 85%;
    display: block;
    margin-bottom: 0px;
    clear: both;
    text-align: center;
    font-size: 1.4em;
}

/*#braidingDiagram {
   background-image: url(../images/BriadingDiagramSmall2.jpg);
  height:525px;
  background-repeat:no-repeat;
  margin-left:200px;
}*/

.ui-state-active {
    background: #0B0B76
}

#braidingDiagram img {
    margin-left: auto;
    margin-right: auto;
    display: block
}

.noQuestion {
    background: none !important;
}


#Buttons {
    margin-bottom: 5px;
    display: block;
    width: 100%;
    border-bottom: 2px solid #058DA4;
    height: 36px;
}

#btnBack, #start, #resourceContinue, #resourceBack, #start2, #resourceBackButton {
    padding: 2px;
    display: inline;
    float: right;
    margin: 5px 5px 0 5px;
    color: #4D0C2E;
}

#respYes, #respNo, #continue {
    padding: 5px;
    display: inline;
    clear: both;
    margin: 5px auto;
    color: #4D0C2E;
}

/* #respYes span.ui-button-text,  #respNo span.ui-button-text, #btnBack span.ui-button-text {
  	height:0px;
  	line-height: 0px;
  	padding:0px;
  }*/
/*#start, #resourceContinue, #resourceBack {
    padding: 3px;
    font-weight: bold;
    font-size: 1.1em;
    color: #046A7B;
    display: inline;
    /* color: #B2372C; 
}*/
#btnBack, #resourceBackButton {
    float: left;
    padding: 3px;
}

button:focus {
    box-shadow: 0 0 2px 2px #2491ff; /* keyboard-only focus styles */
    color: lime; /* keyboard-only focus styles */
}

a[target="_blank"]::after {
    content: url('../images/newWindow.png');
    margin: 0px 3px 0px 5px;
}

a[target="new"]::after {
    content: url('../images/newWindow.png');
    margin: 0px 3px 0px 5px;
}



/* Color palette:
#4D0C2E - egg plant purple
#B2372C - red clay
#E7A822 - golden yellow
#006475 - favorite blue
#4CB095 - cyan
#452C17 - brown
#C05226 - dark orange
#BF8C53 - tan

#EF7900 - orange used in info button
#339999 - blue used in question button.
*/

@media (max-width: 700px) {
    ul.results li table {
        margin-left: -55px;
        font-size: .6em;
    }
}


table {
    border: solid 1px;
    border-collapse: collapse;
    background-color: #ffffff;
}

#finalPath table {
    border: none;
    width: 98%;
}

#disclaimerf {
    font-size: .85em;
    color: #800000;
}

caption {
    font-weight: bold;
    text-align: left;
    font-variant: small-caps;
}

td {
    border: dashed 1px #ccc;
    padding: 5px;
    border-collapse: collapse;
    font-size: .85em;
}

th {
    font-size: .8em;
    padding: 4px;
}

ul.results div.ques27tableNotes table td {
    font-size: .85em;
}

input.text {
    width: 95%;
    padding: .4em;
    display: block;
}

fieldset {
    border: 0;
}

h1 {
    font-size: 1.2em;
    margin: .6em 0;
}

.ui-dialog .ui-state-error {
    padding: .3em;
}

.validateTips {
    border: 1px solid transparent;
    padding: 0.3em;
}

#messages {
    float: left;
    width: 56%;
    padding: 15px;
    padding-top: 0px;
    font-size: .9em;
}

    #messages p {
        margin-top: 0;
    }

form {
    font-size: .9em;
}

div#dialog-form-pre label, div#dialog-form-pre input, div#messages label, div#messages input, div#messages button {
    display: inline;
    margin-top: 15px;
}

ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-size: .9em;
    margin-top: 15px;
}

.ui-widget button {
    font-size: 1.2em;
    padding: 5px;
}

div.ui-dialog div.ui-dialog-titlebar button.ui-widget, div.ui-dialog div.ui-dialog-buttonset button.ui-widget {
    padding: 1px !important;
    float: right;
    margin: 4px;
    font-size: .9em;
    font-weight: bold;
}

div.ui-dialog button.ui-dialog-titlebar-close {
    display: none;
}

div.outerfooter {
    clear: both;
    height: 0px;
    margin: 0;
}

div#disclaimer {
    padding: 15px;
    font-size: .9em;
    margin: 15px;
}

div.ui-dialog {
    width: 70% !important;
    top: 30px !important;
    position: absolute;
}

div.ui-dialog-titlebar {
    text-align: center;
    vertical-align: middle;
    font-size: 1.2em;
    padding: 5px;
}


ol, ul {
    margin-top: 10px;
    margin-bottom: 10px;
}

li {
    margin-bottom: 15px;
}

ul.foaoptions {
    width: 180px;
    /*	float:left;
	display:inline-block; */
    padding: 0;
    margin: 0;
}

    ul.foaoptions li {
        display: block;
        padding: 6px;
        border: 1px solid #ccc;
        width: 100%;
        margin: 0;
    }

    ul.foaoptions li {
        color: #999;
        background-color: #ddd;
        padding-left: 20px;
        width: 167px;
    }

        ul.foaoptions li.possibleli {
            color: #222;
            background-color: #feffe7;
            padding-left: 20px;
            width: 167px;
        }

        ul.foaoptions li.selected {
            color: #000;
            font-weight: bold;
            background-color: #90BAAF;
            padding-left: 0px;
            width: 187px;
        }


@media (max-width: 700px) {

    #results {
        float: none;
        min-width: 258px;
        margin: 20px auto 20px auto;
        /*		border-left:solid 2px #C05226;
	padding:0px;
    display:block*/
        display: none;
        margin-top: 20px;
        width: 100%;
        background-color: #fff;
        clear: both;
    }

        #results h3 {
            margin: 0px;
            text-align: center;
            padding: 0px 0px;
            width: 100%;
            background-color: #fff;
            color: #058DA4;
        }

        #results ul li {
            float: left;
            display: inline;
            padding: 2px 2px;
            height: 1.2em;
            width: 22%;
            font-size: .7em;
            border: 0px;
            border: solid 1px #ccc;
            margin: auto;
            background-color: #fff;
        }

    ul.foaoptions {
        width: 100%;
        /*	float:left;
	display:inline-block; */
        padding: 0;
        margin: 0;
    }

        ul.foaoptions li.possibleli {
            /*	color:#222;
	background-color:#feffe7;*/
            width: auto;
        }

        ul.foaoptions li.selected {
            color: #000;
            background-color: #90BAAF;
            width: auto;
            padding: 0px;
        }

    input[type="checkbox"] {
        margin: 0;
        margin-left: -6px;
    }
}

input[type="checkbox"]:disabled, textarea:disabled {
    color: #006475;
    border: 1px solid #000;
}

div.info-note {
    display: block;
    padding: 20px;
    background-color: #eee;
}

    div.info-note p {
        margin: 0px;
        padding: 0px;
        margin-bottom: 15px;
    }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}




/* Color palette:
#4D0C2E - egg plant purple
#B2372C - red clay
#E7A822 - golden yellow
#006475 - favorite blue
#4CB095 - cyan
#452C17 - brown
#C05226 - dark orange
#BF8C53 - tan

#EF7900 - orange used in info button
#339999 - blue used in question button.
*/
