/* Community keyvisual */

.page-community .header,
.page-community1 .header {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
.page-community .header .container,
.page-community1 .header .container {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.page-community .header .container .row + .row,
.page-community1 .header .container .row + .row {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
.page-community .header .container .row + .row .col-sm-12 > h1,
.page-community1 .header .container .row + .row .col-sm-12 > h1 {
    display: block;
    margin: 0;
    font-weight: 300;
    text-align: center;
}
.page-community .header .container .row + .row .col-sm-12 > h2,
.page-community1 .header .container .row + .row .col-sm-12 > h2 {
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    margin-top: -10px;
    margin-bottom: -10px;
}


/* Community index */

.community_index {
    background: #fff;
    color: #72685c;
    padding: 30px 0;
}

.comm-disabled .thumb{
    opacity: 0.4;
    filter: alpha(opacity=40); /* msie */
}

@media (min-width: 768px) {
    .community_index {
        padding: 65px 0 30px;
    }    
}

.community_index h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.community_index .row--community-intro {
    margin-bottom: 30px;
}

.community_index .row--community-intro p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.community_index .row--communities {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .community_index .row--communities {
        margin-top: 60px;
    }
}

/* Community sub menu bar */

.sub-menu-bar--community {
    display: block;
}
.sub-menu-bar--community .sub-menu li.active a {
    background-color: #f5f3ef;
    color: #72685c;
}

.sub-menu-bar--community .sub-menu .sub-menu__item--logout div {
    text-align: left;
}
.sub-menu-bar--community .sub-menu .sub-menu__item--user {
    float: right;
}
.sub-menu-bar--community .sub-menu .sub-menu__item--logout span {
    color: #024873;
}

.sub-menu-bar--community .sub-menu > li > .dropdown > .dropdown-menu {
    width: 100%;
    border: 1px solid #d4d1ce;
    border-top: 0;
}
.sub-menu-bar--community .sub-menu > li > .dropdown > .dropdown-menu > li > a {
    text-align: center;
    padding: 8px 20px;
    border-bottom: 1px solid #d4d1ce;
}
.sub-menu-bar--community .sub-menu > li > .dropdown > .dropdown-menu > li:last-of-type > a {
    border-bottom: 0;
}

.sub-menu-bar--community .sub-menu > li > .dropdown > .dropdown-menu > li.active > a,
.sub-menu-bar--community .sub-menu > li > .dropdown > .dropdown-menu > li:focus > a,
.sub-menu-bar--community .sub-menu > li > .dropdown > .dropdown-menu > li:active > a,
.sub-menu-bar--community .sub-menu > li > .dropdown > .dropdown-menu > li > a:hover {
    background-color: #f5f3ef;
}

@media (max-width: 767px) {
    .sub-menu-bar--community .container,
    .sub-menu-bar--community .row {
        padding: 0;
        margin: 0;
    }
    .sub-menu-bar--community .sub-menu {
        padding: 0;
        max-height: inherit;
    }
    .sub-menu-bar--community .sub-menu > li {
        width: 100%;
        border: 0;
        border-bottom: 1px solid #8cb9d5;
    }
    .sub-menu-bar--community .sub-menu > li:last-of-type {
        border-bottom: 0;
    }
    .sub-menu-bar--community .sub-menu > li > a,
    .sub-menu-bar--community .sub-menu > li > .dropdown > a {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        font-size: 16px;
        line-height: 18px;
        padding: 14px 0;
        width: 100%;
        min-width: inherit;
        max-width: inherit;
        height: 46px;
    }
    .sub-menu-bar--community .sub-menu .sub-menu__item--community {
        margin-right: 0;
        width: 100%;
    }
    .sub-menu-bar--community .sub-menu .sub-menu__item--community .svg-icon {
        width: 2.4em;
    }
    .sub-menu-bar--community .sub-menu .sub-menu__item--community span {
        margin-right: 15px;
    }
}

@media (min-width: 768px) {
    .sub-menu-bar--community .sub-menu > li > a {
        max-width: inherit;
    }
    .sub-menu-bar--community .sub-menu > li > .dropdown > a {
        max-width: inherit;
        padding: 14px 20px;
    }
    .sub-menu-bar--community .sub-menu > li > .dropdown > .dropdown-menu > li > a {
        padding: 15px 20px;
    }
    .sub-menu-bar--community .sub-menu .sub-menu__item--community {
        border-left: 1px solid #8cb9d5;
        float: right;
        margin-right: 0;
    }
    .sub-menu-bar--community .sub-menu .sub-menu__item--community .svg-icon {
        width: 1.8em;
        height: 0;
    }
    .sub-menu-bar--community .sub-menu .sub-menu__item--community span {
        display: none;
        margin-right: 15px;
    }
    .sub-menu-bar--community .sub-menu .sub-menu__item--back-link {
        float: right;
    }
}
@media (min-width: 920px) {
    .sub-menu-bar--community .sub-menu .sub-menu__item--community span {
        display: inline;
    }
}

/* Community - Detail */

.community-tab__detail {
    background-color: #f5f3ef;
    color: #72685c;
    padding: 60px 0;
}

.community-tab__detail .text .entry {
    margin-bottom: 40px;
}

.community-tab__detail .messages div[class^="sub_comments-"] {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .community-tab__detail .messages div[class^="sub_comments-"] {
        margin-top: 30px;
    }
}
    
@media (max-width: 767px) {
    .community-tab__detail .messages {
        margin: 0 -20px;
    }
}

.community-tab__detail .h3-small {
    margin-top: 0;
    margin-bottom: 16px;
    text-transform: lowercase;
}
@media (min-width: 768px) {
    .community-tab__detail .h3-small {
        font-size: 28px;   
    }
}

.community-tab__detail .table-fileupload {
    margin-bottom: 0;
}

.community-tab__detail .fileupload .progress {
    height: inherit;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .community-tab__detail .container {
        position: relative;
    }
    .community-tab__detail .fileupload .col-fileupload {
        position: absolute;
        top: 0;
    }
}

.community-tab__detail .comments .well {
    position: relative;
    background-color: #fff;
    border: 1px solid #d4d1ce;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 15px;
    width: 100%;
}

@media (min-width: 480px) {
    .community-tab__detail .comments .well {
        padding: 40px 40px 30px;
    }
}

.community-tab__detail .comments .comment__details {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
@media (min-width: 480px) {
    .community-tab__detail .comments .comment__details {
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

.community-tab__detail .comments .comment__author {
    margin-bottom: 8px;
}
@media (min-width: 768px) {
    .community-tab__detail .comments .comment__author {
        margin-bottom: 14px;
    }
}

.comment__visual {
    min-width: 60px;
}
.comment__visual > a {
    display: inline-block;
    cursor: pointer;
}
.comment__visual .thumb {
    margin: 0 20px 20px 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f2efe9;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width: 479px) {
    .comment__visual .thumb {
        width: 40px;
        height: 40px;
        margin: 0 0 10px;
    }
}


.modal-user .modal-header {
    display: inline-block;
    width: 100%;
}

@media (min-width: 480px) {
    .modal-user .modal-user__visual {
        float: left;
    }
}

.modal-user .modal-user__title {
    font-family: 'Alegreya Sans SC', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #72685c;
    text-transform: uppercase;
    text-align: center;
}


.modal-user .modal-user__visual .thumb {
    width: 80px;
    height: 80px;
}

@media (min-width: 480px) {
    .modal-user .modal-user__title {
        font-size: 32px;
        line-height: 80px;
        text-align: left;
        margin: 0;
    }
    .modal-user .modal-user__visual {
        width: 100px;
    }
    .modal-content .comment__visual .thumb {
        margin: 0;
    }
}


.community-tab__detail .comments .comment__name > a, .community-tab__detail .comments .comment__name {
    font-family: 'Alegreya Sans SC', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #72685c;
    text-transform: uppercase;
    cursor: pointer;
}

.community-tab__detail .comments .comment__name {
    cursor: default;
}

.community-tab__detail .comments .comment__name > a:hover {
    color: #024873;
    text-decoration: none;
}
.community-tab__detail .comments .comment__date {
    font-family: 'Alegreya Sans SC', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #b9b4ae;
    text-transform: uppercase;
}
.community-tab__detail .comments .comment__text,
.community-tab__detail .comments .comment__image,
.community-tab__detail .comments .comment__video {
    line-height: 20px;
    margin-top: 8px;
    margin-bottom: 16px;
}
@media only screen and (min-width: 768px) {
    .community-tab__detail .comments .comment__text,
    .community-tab__detail .comments .comment__image,
    .community-tab__detail .comments .comment__video {
        line-height: 25px;
        margin-top: 0px;
        margin-bottom: 15px;
    }
    .community-tab__detail .comments .comment__text {
        margin-top: 5px;
        margin-bottom: 0;
    }
}

@media only screen and (min-width: 480px) {
    .community-tab__detail .comments .comment__image,
    .community-tab__detail .comments .comment__links {
        margin-left: 60px;
    }
}
    
.community-tab__detail .comments .comment__links--show-comments {
    display: block;
    color: #b8b3ad;
    font-size: 12px;
    text-transform: uppercase;
    margin-right: 28px;
    margin-bottom: 4px;
    cursor: pointer;
}
@media only screen and (min-width: 768px) {
    .community-tab__detail .comments .comment__links--show-comments {
        margin-bottom: 10px;
    }
}

.community-tab__detail .comments .comment__links--show-comments:hover {
    color: #024873;
}
.community-tab__detail .comments .comment__links--show-comments:hover .svg-icon svg {
    fill: #024873;
}
@media only screen and (min-width: 768px) {
    .community-tab__detail .comments .comment__links--show-comments {
        display: inline;
        margin-bottom: 0;
    }
}

.community-tab__detail .comments .comment__links--show-comments > .svg-icon {
    width: 26px;
    bottom: -0.6rem;
}

.community-tab__detail .comments .comment__links--direct-message {
    cursor: pointer;
}
.community-tab__detail .comments .comment__links--direct-message > a {
    color: #b8b3ad;
    font-size: 12px;
    text-transform: uppercase;
}
.community-tab__detail .comments .comment__links--direct-message:hover > a {
    color: #024873;
    text-decoration: none;
}
.community-tab__detail .comments .comment__links--direct-message:hover > .svg-icon svg {
    fill: #024873;
}
.community-tab__detail .comments .comment__links--direct-message > .svg-icon {
    width: 26px;
    bottom: -0.2rem;
}


.community-tab__detail .comments .comment__links--delete {
    position: absolute;
    top: 20px;
    right: 15px;
}
.community-tab__detail .comments .comment__links--delete > a {
    display: inline-block;
    cursor: pointer;
}
.community-tab__detail .comments .comment__links--delete > a > .svg-icon svg.icon-close {
    width: 12px;
    height: 12px;
}
.community-tab__detail .comments .comment__links--delete > a:hover > .svg-icon svg.icon-close {
    fill: #024873;
}

/* Reactions 1st level */
.community-tab__detail .comments .comment__reaction__author {
    margin-bottom: 8px;
}
@media only screen and (max-width: 767px) {
    .community-tab__detail .comments .comment__reaction__author {
        line-height: 20px;   
    }    
}

.community-tab__detail .comments .comment__reaction__name {
    font-family: 'Alegreya Sans SC', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #72685c;
    text-transform: lowercase;
}

.community-tab__detail .comments .comment__reaction__text {
    font-size: 14px;
}

.community-tab__detail .comments .comment__reaction__links {
    color: #b8b3ad;
    margin-bottom: 25px;
}

@media only screen and (max-width: 767px) {
    .community-tab__detail .comments .comment__reaction__separator {
        display: none;
    }
}

.community-tab__detail .comments .comment__reaction__links a {
    color: #b8b3ad;
    text-decoration: underline;
}
@media only screen and (max-width: 767px) {
    .community-tab__detail .comments .comment__reaction__links a {
        display: block;
        line-height: 20px;
    }
    .community-tab__detail .comments .comment__reaction__date {
        display: block;
        line-height: 20px;
    }
}

.community-tab__detail .comments .comment__reaction__links a:hover {
    color: #024873;
}

/* Reactions 2nd level */
.community-tab__detail .comments .nestlevel2,
.community-tab__detail .comments .nestlevel2 + #reactExpand {
    border-left: 2px solid #d4d1ce;
    padding-left: 10px;
}

/* Reactions 3rd level */
.community-tab__detail .comments .nestlevel3,
.community-tab__detail .comments .nestlevel3 + #reactExpand {
    border-left: 2px solid #d4d1ce;
    padding-left: 15px;
    margin-left: 10px;
}

/* Reactions 4th level */
.community-tab__detail .comments .nestlevel4,
.community-tab__detail .comments .nestlevel4 + #reactExpand {
    border-left: 2px solid #d4d1ce;
    padding-left: 15px;
    margin-left: 20px;
}

@media only screen and (min-width: 768px) {
    /* Reactions 2nd level */
    .community-tab__detail .comments .nestlevel2,
    .community-tab__detail .comments .nestlevel2 + #reactExpand {
        padding-left: 20px;
    }

    /* Reactions 3rd level */
    .community-tab__detail .comments .nestlevel3,
    .community-tab__detail .comments .nestlevel3 + #reactExpand {
        padding-left: 20px;
        margin-left: 30px;
    }

    /* Reactions 4th level */
    .community-tab__detail .comments .nestlevel4,
    .community-tab__detail .comments .nestlevel4 + #reactExpand {
        padding-left: 20px;
        margin-left: 60px;
    }
}

/* Form comments */

.community-tab__detail .form_comments {
    background-color: #fff;
    border: 1px solid #d4d1ce;
    padding: 20px;
    margin-top: 0;
    margin-bottom: 5px;
}

.community-tab__detail .form_comments .row .col-sm-6:first-of-type {
    padding-right: 0;
}

.community-tab__detail .form_comments h4 {
    font-size: 20px;
    text-transform: lowercase;
    margin-top: 0;
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .community-tab__detail .form_comments h4 {
        font-size: 28px;
        margin-bottom: 25px;
    }
}


.community-tab__detail .form_sub_comments .file-name {
    padding: 10px 0 0;
}

.community-tab__detail .form_comments textarea {
    background-color: #fff;
    border: 0;
    border-bottom: 1px solid #d4d1ce;
    width: 100%;
    height: 40px;
    padding: 6px 0;
    font-size: 16px;
    color: #72685c;
    outline: none;
    resize: none;
}
@media (min-width: 768px) {
    .community-tab__detail .form_comments textarea {
        font-size: 18px;
        height: 50px;
        padding: 10px 0;
    }
}

.community-tab__detail .form_comments textarea::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #ada9a1;
    font-style: italic;
}
.community-tab__detail .form_comments textarea:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #ada9a1;
    font-style: italic;
}
.community-tab__detail .form_comments textarea::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #ada9a1;
    font-style: italic;
}
.community-tab__detail .form_comments textarea:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #ada9a1;
    font-style: italic;
}

@media (min-width: 480px) {
    .community-tab__detail .form_comments {
        padding: 40px 40px 30px;
    }
}

.community-tab__detail .form_comments .form-groep__video-url,
.community-tab__detail .form_sub_comments .form-groep__video-url--sub {
    display: none;
}
.community-tab__detail .form_comments .form-groep__video-url--open,
.community-tab__detail .form_sub_comments .form-groep__video-url--sub--open {
    display: block;
}

.community-tab__detail .form_sub_comments .button {
    padding: 8px 12px;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .community-tab__detail .form_comments .button,
    .community-tab__detail .form_sub_comments .button {
        float: right;
        margin-top: 0;
    }
    .community-tab__detail .form_comments .button + .button,
    .community-tab__detail .form_sub_comments .button + .button {
        margin-right: 10px;
    }
}

/* Form sub comments */
.community-tab__detail .form_sub_comments {
    border: 0;
    padding: 0;
    margin: 20px 0;
}
.community-tab__detail .form_sub_comments .form-group {
    margin-bottom: 2px;
}
.community-tab__detail .form_sub_comments .form-group .controls {
    position: relative;
}
.community-tab__detail .form_sub_comments input {
    background-color: #f5f3ef;
    border: 1px solid #d4d1ce;
    width: 100%;
    height: 40px;
    padding: 6px 80px 6px 12px;
    font-size: 14px;
    color: #72685c;
    outline: none;
    resize: none;
}
@media (min-width: 768px) {
    .community-tab__detail .form_sub_comments {
        margin: 35px 0;
    }
    .community-tab__detail .form_sub_comments input {
        height: 50px;
        padding: 10px 90px 10px 15px;
    }
}

.community-tab__detail .form_sub_comments input::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #ada9a1;
    font-style: italic;
}
.community-tab__detail .form_sub_comments input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #ada9a1;
    font-style: italic;
}
.community-tab__detail .form_sub_comments input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #ada9a1;
    font-style: italic;
}
.community-tab__detail .form_sub_comments input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #ada9a1;
    font-style: italic;
}

@media (min-width: 992px) {
    .community-tab__detail .form_sub_comments input {
        font-size: 16px;
    }
}

.community-tab__detail .form_sub_comments .form-group .controls div {
    position: absolute;
    top: 4px;
    right: 8px;
}
@media (min-width: 768px) {
    .community-tab__detail .form_sub_comments .form-group .controls div {
        top: 8px;
    }
}

/* Gallery - File upload */

.community-tab__detail .community-gallery__title {
    margin-top: 0;
}

@media (min-width: 992px) {
    .community-tab__detail .community-gallery__title {
        font-size: 28px;
        margin-bottom: 0;
    }    
    .community-tab__detail .fileupload {
        width: 100%;
        text-align: right;
    }
}

@media (max-width: 599px) {
    .table-fileupload td {
        display: block;
        width: 100%;
    }
}

/* Direct Message */

.modal-directmessage .modal-body {
    padding: 0;
}

.modal-directmessage .modal-body .container {
    width: 100%;
}

.modal-directmessage .DirectMessage {
    margin: 0;
    padding: 40px 20px;
    -webkit-border-bottom-right-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}
.modal-directmessage .DirectMessage_Thanks { 
    display: none;
    margin: 0;
    padding: 40px 45px;
    -webkit-border-bottom-right-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

/* Edit profile form */

.form_edit-profile {
    background-color: #f2efe9;
    padding: 50px 0;
}

.community-notification {
    background-color: rgb(223, 240, 216);
    border: 1px solid rgb(212, 209, 206);
    border-radius: 4px;
    color: rgb(60, 118, 61);
    margin: 18px 0 20px 0;
    opacity: 1;
    padding: 15px;
}
