body {
    font-family: 'Open Sans', sans-serif;
    height: 100%; width: 100%; margin: 0;
    background-color: #222;
    min-width: 340px;
    background-image: url("../assets/seamless_paper_texture.png");
}


#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

header {
    padding: 20px;
    background-color: #fff;
    color: #222;
    float:left;
    width: 96.7%;
}


h1 {
    font-size: 2.8em;
    line-height: 0.9em;
    margin: 0px 0 10px 0;
    text-transform: uppercase;
    color:#222;
    text-shadow:#666 1px 1px 0;
}

/*** "logo"  ****/
#color_strip {
    margin: -20px 15px 10px 0;
    float:left;
    width: 50px;
    height: 100px;
}

/*#color_strip span{
    display: block;
    width: 3.33%;
    margin: 0 2.5% 0 0;
    height: 100px;
    float:left;
}
*/

#color_strip span{
    display: block;
    /*width: 5.8824%;*/
    height: 5.7px;
    clear:left;
}

/*** navigation styles  ****/

nav {
    padding: 0;
    margin: 30px 0 10px 0;
}

nav h4 {
    margin: 3px 0px 0 0;
    font-weight: 200;
    line-height: 1.4em;
    font-size: 0.8em;
}

#select_container {
    float:left;
    margin: 0 20px 0 0;
}

select {
    width: 350px;
}

.btn_container {
    float:right;
    margin: 10px 0px 0 0;
}

.btn {
    border: 1px dotted #ddd;
    padding: 10px;
    width: 70px;
    float:left;
    font-size: 0.8em;
    margin: 0 10px 0 0;
}

.btn:hover {
    cursor: pointer;
    background-color: #ddd;
    transition: 0.75s;
}

.numberMatches {
    font-size: 1em;
    margin: 15px 0 0 0;
    float:left;
}

/*the actual number*/
.nMatch {
    padding: 5px;
    display: inline-block;
    color: #fff;
    background-color: #222; /*#FF4500;*/
}

/*clear the selection*/
.clear {
    width: 20px;
    margin: 20px 10px 0 15px;
    display: none;
    float:left;
}

.clear:hover {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.5s;
}

/*** priorities container  ****/
#goals_wrapper {
    margin: 0 0 20px 0;
}

/*** individual priority  ****/

.goal_block {
/*    max-width: 1180px;
    width: 100%;*/
    width: 96.7%;
    min-height: 20px;
/*    padding: 1% 0 1% 2%;
*/
    padding: 10px 20px 10px 20px;
    border-bottom: 1px dotted #999;
    background-color: #f3f3f3;
    color:#222;
    font-weight: 200;
    float:left;
    /*text-align: center;*/
}

.goal_block:hover {
    background-color: #eee;
    transition: 0.75s;
    cursor: pointer;
}

.goal_number {
    margin: 3px 0px 0 0;
    display: block;
    font-style: italic;
    font-size: 0.8em;
    color:#888;
    font-family: "Times New Roman", serif;
}

.goal_block h2 {
    font-size: 1.4em;
    line-height: 1.4em;
    color:#333;
    margin: 0 20px 0px 0;
    text-shadow:rgba(155,155,155,.1) -1px -1px 1px,rgba(0,0,0,.25) 1px 1px 1px;
}

/*** expand icon ****/

.expand {
    width: 40px;
    display: block;
    margin: 0px 0px 0 10px;
    float:right;
}

.expand img {
    width: 40px;
}

.expand img:hover {
    opacity: 0.5;
    transition: 0.75s;
    cursor: pointer;
}

.rotate {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
    transition: 0.5s;
}




/*** expanded goals ****/

.goal_description, .goal_targets{
    max-width: 600px; /*width of description and targets*/
    margin: 0 auto;
    display: none; /* hide them by default*/
}


.goal_description h5 {
    font-weight: 300;
    color: #666;
    font-size: 0.9em;
    margin: 20px 0 20px -95px;
}

.goal_targets h5 {
    font-weight: 300;
    color: #666;
    font-size: 0.9em;
    margin: 20px 0 20px -65px;
}


.goal_description p{
    font-family: 'Times New Roman', serif;
    color: #555;
    max-width: 660px;
    font-size: 1.2em;
    line-height: 1.6em;
    margin: -39px 0 0 0;
    text-shadow:rgba(255,255,255,.1) -1px -1px 1px,rgba(0,0,0,.15) 1px 1px 1px;

}

.goal_targets p {
    font-family: 'Times New Roman', serif;
    color: #555;
    max-width: 660px;
    font-size: 1.2em;
    line-height: 1.6em;
    margin: -39px 0 20px 0;
    text-shadow:rgba(255,255,255,.1) -1px -1px 1px,rgba(0,0,0,.15) 1px 1px 1px;

}

/*** end expanded goals ****/


/*** stats ****/


#stats_wrapper {
    max-width: 1160px;
    float: left;
    padding: 20px;
    margin: 40px 0 20px 0;
    opacity: 0.9;
    background-color: #f2f2f2;
    color: #222;
    border: 3px solid #111;
    width: 100%;
}

#stats_wrapper h2 {
    padding: 0 0 10px 0;
    font-size: 1.6em;
    text-transform: uppercase;
    color: #222;
    font-weight: 600;
    margin: 0 0 0px 0;
}


.total span {
    width: 150px;
    display: block;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    font-weight: 600px;
}

.words {
    width: 100%;
    margin: 0px 20px 0 0;
    float: left;
}

.words h3 {
    margin: 0 0 20px 0;
}

.thisWord {
    display: block;
    margin: 0px 5px 0 0;
}

.thisWord span {
    display: block;
    font-size: 0.7em;
    font-weight: 200;
    color: #DB2929;
    padding: 2px 0px 0 0;
    text-transform: uppercase;
}

.words div {
    margin: 0 0 2px 0; /*distane between bars*/
}

.thisCount {
    width: 10px;
    float:left;
    display: block;
    font-size: 0.7em;
    color: #777;
}

.thisBar {
    height: 15px;
    display: block;
    float: left;
    margin: 0 5px 0 6px;
    background-color: #FAFAFA;/*#292421*/
/*    border-bottom: 1px solid #D43D1A;
*/    box-shadow: 2px 1px 2px #888;
}

.thisBar:hover {
    opacity:0.2;
    transition: 0.25s;
}



/*** back to top ****/

footer {
    clear:left;
}
footer span {
    font-size: 0.7em;
    color: #999;
}

a:link {
    color: #222;
}

a:visited {
    color: #222;
}

    .top {
        display: inline-block;
        height: 40px;
        width: 40px;
        position: fixed;
        bottom: 0px;
        right: 10px;
        z-index: 10;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        text-indent: 100%;
        white-space: nowrap;
        background: rgba(132, 98, 86, 0.8) url(../assets/top.svg) no-repeat center 50%;
        visibility: hidden;
        opacity: 0;
        -webkit-transition: opacity .3s 0s, visibility 0s .3s;
        -moz-transition: opacity .3s 0s, visibility 0s .3s;
        transition: opacity .3s 0s, visibility 0s .3s;
    }

    .top.is-visible {
        visibility: visible;
        opacity: 1;
    }

    .top.fade-out {
        opacity: .5;
    }
/*** utility ****/

bold {
    font-weight: 600;
}

em {
    font-style: italic;
}

/*** overwrite chosen defaults****/
.chosen-container {
    font-size: 12pt;
    line-height: 1.8em;
    margin: 15px 0 0 0; /**push down from h4 text*/
}

.chosen-container ul.chosen-results li.highlighted {
  background-color: #555;
  background-image: none;
}

