﻿.bg-form-activity .btn-group > .btn {
  font-size: 1em;
}

.positivity .form-group {
    margin-bottom: 35px;
}

@media (min-width: 992px) {
    .positivity .btn-group {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-collapse: separate;
    }

    .positivity .btn-group > .btn {
        display: table-cell;
        float: none;
        width: 1%;
    }
}

.form-group.questionnaire-group {
    margin-bottom: 35px;
}
.form-group.questionnaire-group .btn-group {
    display: table;
}

/*Toolbar*/
@media (min-width: 767px) {
    .toolbar-container {
        position: relative;
    }
    .toolbar-container > .btn-toolbar > .btn-group-right {
        position: absolute;
        right: 0px;
    }
}
@media (max-width: 768px) {
    .toolbar-container > .btn-toolbar > .btn-group-right {
        margin-top: 10px;
    }
}

/* News feed */

.panel-feed {
    position: relative;
}

.panel-feed > h4 {
    font-size: .8em;
    font-weight: bold;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    background: #0e76bc;
    color: white;
    margin: 0;
    padding: 0 7px;
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 10;
}

/* Sessions Table */
table.sessions {
    border-spacing: 10px;
    border-collapse: separate;
    margin-left: -10px;
}
table.sessions > thead > tr > th {
    border: 0px;
    background-color: #0e76bc;
    color: white;
}
.table.sessions > tbody > tr > td {
    border: 2px solid #ddd;
    vertical-align: middle;
}
table.sessions > tbody > tr > td.session-no {
    border: 0px;
    background-color: #0e76bc;
    color: white;
}
table.sessions > tbody > tr > td.counter {
    border: 0px;
    background-color: #6792cc;
    color: white;
    font-weight: bold;
}
table.sessions > tbody > tr > td.status {
    color: white;
    border: 0px;
}
table.sessions td.status.red {
    background-color: red;
}
table.sessions td.status.amber {
    background-color: orange;
}
table.sessions td.status.green {
    background-color: green;
}

img.profile {
    background-color: #ddd;
    /*max-width: 300px;*/
}


/********************************************************/
/*                  ===   GOALS   ===                   */
/********************************************************/
/* goals: start */

.goal {
    border: solid 2px #ccc;
    margin-bottom: 20px;
    background-color: white;
}

.goal-body {
    padding: 10px;
}
.goal-body h3 {
    font-size: 17px;
}

.goal-key {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    border: solid 2px #ccc;
}
.goal-key > ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.goal-key > ul > li {
    margin: 10px 0px;
}
.goal-key > ul > li:first-child {
    margin-top: 0px;
}
.goal-key > ul > li:last-child {
    margin-bottom: 0px;
}
.goal-key > ul > li > img {
    max-height: 50px;
    margin-right: 5px;
}
.goal-key > ul > li > .confidence {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    width: 50px;
    text-align: center;
    color: #0e76bc;
    font-size: 26px;
    border: solid 2px #0e76bc;
    border-radius: 30px;
    background-color: white;
    margin-right: 5px;
}

.input-list-container.btn-group {
    display: block;
}

.input-list-container:before,
.input-list-container:after {
    display: table;
    content: " ";
}

.input-list-container:after {
    clear: both;
}

/* goals: end */
/********************************************************/


/********************************************************/
/*                ===   GRATITUDE   ===                 */
/********************************************************/
/* gratitude: start */

.gratitude {
    border: solid 2px #ccc;
    margin-bottom: 20px;
    background-color: white;
}

.gratitude-body {
    padding: 10px;
}
.gratitude-body h3 {
    font-size: 17px;
}

.gratitude-body .activity-content {
    margin-top: 0;
}

@media (min-width: 1200px) {
    .gratitude-body img {
        max-width: 50%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .gratitude-body img {
        max-width: 65%;
    }
}

/* gratitude: end */
/********************************************************/


/********************************************************/
/*                 ===   MY HOPES   ===                 */
/********************************************************/
/* hopes: start */

.hope {
    border: solid 2px #ccc;
    margin-bottom: 20px;
    background-color: white;
}

.hope-body {
    padding: 10px;
}
.hope-body h3 {
    font-size: 17px;
}

/* hopes: end */
/********************************************************/


/********************************************************/
/*                ===   WORDCLOUD   ===                 */
/********************************************************/
/* wordcloud: start */

.wordcloud {
    border: solid 2px #ccc;
    margin-bottom: 25px;
}

.wordcloud-body {
}
.wordcloud-body .img-thumbnail {
    border: 0px;
}

/* wordcloud: end */
/********************************************************/


/********************************************************/
/*              ===   FORUM THREADS   ===               */
/********************************************************/
/* hopes: start */

.forum-topic {
    border: solid 4px #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
}

.forum-topic-body {
    padding: 10px;
}
.forum-topic-body h3 {
    font-size: 17px;
}

.topic-thread {
    border: solid 2px #ccc;
    margin-bottom: 20px;
}

.topic-thread-body {
    padding: 10px;
}
.topic-thread-body h3 {
    font-size: 17px;
}

.topic-threads > .topic-thread {
    margin-top: 25px;
    margin-bottom: 25px;
}

/* hopes: end */
/********************************************************/


/********************************************************/
/*                 ===   MESSAGES   ===                 */
/********************************************************/
/* messages: start */

/*.msg {
    border: solid 1px #ccc;
    margin-bottom: 20px;
}*/

.msg-body {
    padding: 10px;
}
.msg-body h3 {
    margin-top: 0px;
}

/*.msg-replies .msg-reply:first-child {
    margin-top: 0;
    border-top: 0;
}*/

.msg-main {
    font-size: 1.1em;
}

.msg > .msg-reply + .msg-main {
    border-top: solid 3px #ccc;
}

.msg-reply {
    border-top: solid 1px #ccc;
    margin-top: 25px;
}

.msg > .msg-reply:first-child {
    border-top: 0;
    margin-top: 0;
}

.msg-reply > .description {
    padding: 10px;
}

.msg-reply-recipients > .pic > img {
    max-height: 60px;
    margin: 0px 5px 5px 0px;
}

.msg-reply-header {
    padding: 10px;
    display: table;
    width: 100%;
}
.msg-reply-header > .pic {
    max-height: 60px;
    display: table-cell;
    vertical-align: top;
    width: 80px;
}
.msg-reply-header > .pic > a > img {
    max-width: 70px;
}

.table td.col-pic,
.table th.col-pic {
    width: 70px !important;
} 
.table .pic > img {
    max-width: 70px;
    max-height: 70px;
}
/* messages: end */
/********************************************************/
/********************************************************/
/*               ===   ACTIVITIES   ===                 */
/********************************************************/
/* activities: start */

.panel-activity {
    border: solid 1px #ddd;
}

/* Headings */
.activity-header {
    border-bottom: solid 1px #ccc;
    padding: 10px;
    background: -webkit-linear-gradient(#ecfeff,#fff);
    /* For Opera 11.1 to 12.0 */
    background: -o-linear-gradient(#ecfeff,#fff);
    /* For Fx 3.6 to 15 */
    background: -moz-linear-gradient(#ecfeff,#fff);
    /* Standard syntax */
    background: linear-gradient(#ecfeff,#fff);
}

.activity-title > a > img {
    max-height: 80px;
    float: left;
    margin-right: 10px;
    padding: 0px;
}
.activity-title {
    display: table;
    height: 80px;
}
.activity-title > hgroup {
    display: table-cell;
    vertical-align: middle;
}
.activity-title > hgroup > h3 {
    font-size: 18px;
    margin: 0px;
}
.activity-title > hgroup > h4 {
    font-size: 15px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 0px;
}
.activity-title > hgroup > h3 > a {
    color: #0e76bc;
}

.activity-status {
    height: 80px;
    display: table;
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.activity-status > li {
    display: table-cell;
    vertical-align: middle;
}
.activity-status > li + li {
    padding-left: 10px;
}
.activity-status > li > img {
    max-height: 60px;
}
.activity-status > li > .confidence {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    width: 60px;
    text-align: center;
    color: #0e76bc;
    font-size: 30px;
    border: solid 2px #0e76bc;
    border-radius: 30px;
    background-color: white;
}

.goal .panel-actions {
    margin: 10px 0 0 -5px;
}

.activity-content {
    margin: 10px 0;
}

@media (min-width: 768px) {
    .activity-status {
        float: right;
    }
}

/* Actions - like, comments */

/*.activity-actions {
    background-color: #eee;
    padding: 10px;
    border-top: solid 1px #ddd;
}
.activity-actions > ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: table;
}
.activity-actions > ul > li {
    display: table-cell;
}
.activity-actions > ul > li + li {
    padding-left: 10px;
}*/

.comments > .comment + .comment {
    border-top: dotted 1px #ddd;
}

.comment {
    padding: 10px;
    display: table;
    width: 100%;
}
.comment > .pic {
    max-height: 50px;
    display: table-cell;
    vertical-align: top;
    width: 60px;
}
/*.comment > .pic > a > img {
    max-width: 70px;
}*/
.comment > .description {
    display: table-cell;
    vertical-align: top;
}
.comment > .description > p {
    margin-bottom: 5px;
}
.comment > .description > p > strong {
    color: #0e76bc;
    padding-right: 10px;
}
/*.comment > .description > p.actions {
    text-align: right;
    margin-bottom: 0px;
}*/

.facilitator > .pic > a > img,
.facilitator .pic > img,
.facilitator > a > img {
    border: solid 2px #5aac3e;
    background-color: #5aac3e;
    padding: 0;
}
.facilitator > .description > p > strong > a,
.facilitator hgroup > h3 > a {
    color: #5aac3e;
}
.facilitator > .description > p > strong:after,
.facilitator hgroup > h3 > a:after {
    content: " (Facilitator)";
    color: #5aac3e;
}

/* Add Comments */

.add-comment {
    padding: 10px;
    display: table;
    width: 100%;
    border-top: solid 1px #ddd;
}
.add-comment > .pic {
    display: table-cell;
    vertical-align: top;
    width: 60px;
}
/*.add-comment > .pic > img {
    max-width: 70px;
}*/
.add-comment > form {
    display: table-cell;
    vertical-align: top;
}
.add-comment > form textarea {
    height: 68px;
    width: 85%;
    float: left;
    margin-right: 10px;
}
.add-comment > form button {
    width: calc(15% - 10px);
}

@media (min-width: 768px) and (max-width: 991px) {
    .add-comment > form textarea {
        width: 80%;
    }
    .add-comment > form button {
        width: calc(20% - 10px);
    }
}

@media (max-width: 767px) {
    .add-comment > form textarea {
        width: 100%;
        float: none;
        margin-right: 0px;
        margin-bottom: 10px;
    }
    .add-comment > form button {
        width: 100%;
    }
}

/* activities: end */
/********************************************************/


/********************************************************/
/*              ===   LIKE BUTTON   ===                 */
/********************************************************/
/* like-button: start */

.activity-button {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    background: #0e76bc;
    padding-left: 15px;
    font-size: 16px;
    cursor: pointer;
}
.activity-button > a {
    color: white !important;
}
.activity-button > a:hover {
    color: white;
    text-decoration: none;
    opacity: .8;
}
.activity-button > .counter {
    display: inline-block;
    background-color: #6792cc;
    padding: 0px 10px;
    margin-left: 10px;
    font-weight: bold;
    font-size: 14px;
    vertical-align: top;
    color: white;
}
.activity-button > a > .toggle-comments {
    margin-right: 10px;
}

.activity-button > a.words {
    padding-right: 15px;
}
.panel-words {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
}

@media (max-width: 767px) {
    .activity-button {
        display: inline-block;
        height: 26px;
        line-height: 26px;
        background: #0e76bc;
        padding-left: 8px;
        font-size: 12px;
        cursor: pointer;
    }
    .activity-button > .counter {
        padding: 0px 6px;
        font-size: 14px;
    }
    .activity-button > a > .toggle-comments {
        margin-right: 5px;
    }

    .panel-words {
        display: none;
    }
}

/* like-button: end */
/********************************************************/

.letters {
}
.letters ul {
     padding: 0;
     margin: 0 -5px;
     list-style: none;
}
.letters ul li {
    display: inline-block;
    width: 20%;
    float: left;
}
.letters ul a {
    display: block;
    margin: 5px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #0e76bc;
    color: white;
    font-weight: bold;
    text-decoration: none;
}
.letters ul a:hover,
.letters ul li.active a {
    background-color: #5aac3e;
}

.user-summary > .item {
    display: table;
    height: 80px;
}
.user-summary + .user-summary {
    margin-top: 15px;
    border-top: dotted 3px #ddd;
    padding-top: 15px;
}
.user-summary > .item > hgroup {
    display: table-cell;
    vertical-align: middle;
}
.user-summary > .item > hgroup > h3 {
    font-size: 22px;
    margin: 0px;
}

.user-summary > .item > a > img {
    max-width: 100px;
    float: left;
    margin-right: 10px;
    padding: 0px;
}

/********************************************************/
/*               ===   STATS CARD   ===                 */
/********************************************************/
/* card: start */

.stats-card {
    background: #fff;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 25px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 25px -8px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 25px -8px rgba(0, 0, 0, 0.75);
    font-size: 110px;
    font-family: 'Quicksand', sans-serif;
    text-align: center;
    font-weight: 200;
    color: #5f5e5e;
    transition: all 0.2s;
    border: 0;
    display: block;
    margin-bottom: 35px;
    position: relative;
    width: 100%;
}

.stats-card > .icon {
    max-height: 110px;
}

.stats-card:hover {
    opacity: 0.8;
    -webkit-box-shadow: 0px 0px 25px -8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 25px -8px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 25px -8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.stats-card:active {
    opacity: 0.6;
}

.stats-card-label {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    line-height: 55px;
    border-top: 2px solid #eee;
    font-weight: 400;
}

.stats-card > .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 10px 14px;
    border-radius: 20px;
    color: #fff;
    background-color: #333;
    font-size: 12px;
    line-height: 1;
}

    .stats-card > .badge.success {
        background-color: #5cb85c;
    }
    .stats-card > .badge.danger {
        background-color: #d9534f;
        width: auto;
    }
    /* Colour set in content.css */
    .stats-card.bg-success .stats-card-label,
    .stats-card.bg-warning .stats-card-label,
    .stats-card.bg-danger .stats-card-label,
    .stats-card.bg-info .stats-card-label {
        border-top-color: transparent;
    }

.stats-card.bg-danger {
    background-color: #e0144e;
    color: white;
}

.stats-card.bg-warning {
    background-color: #f0ad4e;
    color: white;
}

.stats-card.bg-success {
    background-color: #5cb85c;
    color: white;
}

.stats-card.bg-info {
    background-color: #5bc0de;
    color: white;
}
.stats-card.bg-news {
    background: #6859ea;
    background: linear-gradient(135deg,#6859ea 0%,#e36b8f 60%);
}
@media (max-width: 767px) {
    .stats-card {
        font-size: 16vw;
        background: rgba(0, 0, 0, 0);
        /*-webkit-box-shadow: 0px 0px 40px -7px rgba(0, 0, 0, 0);
        -moz-box-shadow: 0px 0px 40px -7px rgba(0, 0, 0, 0);
        box-shadow: 0px 0px 40px -7px rgba(0, 0, 0, 0);*/
        height: 40vw;
        line-height: 40vw;
        vertical-align: top;
        position: relative;
    }

    .stats-card-label {
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: center;
        width: 100%;
    }
}

/* card: end */
/********************************************************/

/* Questionnaire */

.embed-q {
    width: 100%;
    min-height: 500px;
    border: 1px solid #ddd;
    margin-bottom: 35px;
}