/*
Theme Name: DDMoRe
Theme URI: https://wordpress.org/themes/ddmore/
Author: Martine Mulder @ Studio VIXX
Author URI: http://www.studiovixx.nl/
Description: A custom theme from Studio VIXX made exclusively for you.
Version: 1.0
Tags: responsive-layout, custom, studiovixx, design, business, modern, ddmore, layered, one-page
Text Domain: ddmore
*/

/* CSS Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-spacing: 0;
}

button, a {
    cursor: pointer;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #00cc66!important;
    font-family: 'proxima_novabold';
    font-size: 1.2em;
}

strong {
    font-family: 'proxima_novabold';
}

b {
    font-family: 'proxima_novabold';
}

blockquote p {
    width: 60%;
    margin: 30px 0 30px 5%;
}

button, input, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select {
    cursor: pointer;
    background: white;
}

button, input[type="submit"] {
    cursor: pointer;
}

input[type="checkbox"]{
    appearance: checkbox!important;
    -webkit-appearance: checkbox!important;
    -moz-appearance: checkbox!important;
    cursor: pointer!important;
}

input[type="radio"]{
    appearance: radio!important;
    -webkit-appearance: radio!important;
    -moz-appearance: radio!important;
    cursor: pointer!important;
}

textarea {
    resize: none;
}

/* End reset */

/* Fonts */

@font-face {
    font-family: 'montserrat-light';
    src: url('fonts/montserrat/montserrat-light-webfont.otf') format('otf'),
    url('fonts/montserrat/montserrat-light-webfont.woff') format('woff'),
    url('fonts/montserrat/montserrat-light-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'montserrat-regular';
    src: url('fonts/montserrat/montserrat-regular-webfont.otf') format('otf'),
    url('fonts/montserrat/montserrat-regular-webfont.ttf') format('ttf'),
    url('fonts/montserrat/montserrat-regular-webfont.woff') format('woff'),
    url('fonts/montserrat/montserrat-regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'montserrat-semibold';
    src: url('fonts/montserrat/montserrat-semibold-webfont.otf') format('otf'),
    url('fonts/montserrat/montserrat-semibold-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'proxima_novabold';
    src: url('fonts/proxima_nova/proxima_nova_bold-webfont.woff2') format('woff2'),
    url('fonts/proxima_nova/proxima_nova_bold-webfont.woff') format('woff'),
    url('fonts/proxima_nova/proxima_nova_bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* End fonts */

body, html {
    height: 100%;
    position: relative;
}

html {
    margin-top: 0!important;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button, input {
    border: none;
    outline: none;
}

input:focus {
    outline: none;
}

body, button, input, select, textarea {
    font-family: 'Open Sans', sans-serif;
    color: #858585;
}

body {
    font-size: 15px;
    line-height: 24px;
    min-height: 100vh;
    height: auto;
    color: #999999;
    padding-top: 80px;
}

p {
    margin-bottom: 20px;
}

.small-margin {
    margin-bottom: 10px;
}

form p {
    margin-bottom: 0;
}

/* Buttons */

html.non-touch .button:hover {
    opacity: 0.75;
}

html.non-touch .link:hover, html.non-touch #sign-up-zzp-block input[type="submit"]:hover {
    opacity: 0.75;
}

.text-link {
    text-decoration: underline;
}

html.non-touch .text-link:hover {
    text-decoration: underline;
}

/* Links */

html.non-touch .page .content-column a:hover {
    opacity: 0.75;
}

a.read-more {
    font-weight: 700;
    margin-left: 5px;
}

html.non-touch a.read-more:hover {
    color: #00cc66;
}

.green {
    color: #00cc66;
}

/* Input */

input[type="checkbox"]:hover {
    cursor: pointer;
}

/* Titles */

h1, h2, h3, h4, h6, .post-date {
    font-family: 'proxima_novabold';
}

h1 {
    font-size: 3em;
    line-height: 1em;
    margin-bottom: 30px;
    font-weight: 400;
    color: #006633;
    width: 100%;
}

h1.entry-title {
    margin-bottom: 40px;
}

h1.entry-title, .title-link {
    width: 100%;
}

.title-link {
    display: block;
}

a h1, h1 a {
    font-size: 2.6em;
    color: #006633!important;
}

h1 a {
    font-size: 1.2em;
}

h2 a {
    color: #999999!important;
    font-size: 1em;
}

h2 {
    font-size: 1.6em;
    line-height: 1.3em;
    margin-bottom: 20px;
}

h3, .reg_groups_title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1.4em;
    margin-bottom: 15px;
}

h4 {
    color: #414141;
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.reg_groups_title, .register-section h2 {
    color: #006633!important;
    font-family: 'proxima_novabold';
    font-size: 1.6em;
    margin-top: 20px;
}

h6 {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.8em;
    color: #bcbbbb;
}

.post-date, .comment-meta a:first-of-type {
    letter-spacing: 2px;
    font-size: 0.8em;
    color: #bcbbbb!important;
    text-transform: uppercase;
    display: block;
    width: 100%;
}

/* Table */

table {

}

td, th {
    padding: 10px!important;
    border: 1px solid #e8e6e6;
    border-width: 1px 1px 0 0;
}

td:first-child, th:first-child {
    border-width: 1px 1px 0 1px;
}

/* Carousel */

.carousel {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: #f8f8f8;
}

.carousel ul {
    width: 200%;
    padding: 0;
    margin: 0;
    height: 100%;
}

.carousel ul li.first {
    margin-left: -50%;
}

.carousel ul li:first-of-type {
    margin-left: -50%;
}

.carousel ul li {
    width: 50%;
    text-align: center;
    height: 100%;
    list-style: none;
    float: left;
    background-color: #f8f8f8;
}

.carousel .slide-nav {
    color: lightgrey;
    background: white;
    border-radius: 100%;
    height: 30px;
    width: 30px;
    position: absolute;
    top: 48%;
    top: -webkit-calc(50% - 10px);
    top: calc(50% - 15px);
    font-size: 1.2em;
    line-height: 30px;
    text-align: center;
}

.carousel #previous-slide {
    left: 20px;
    padding: 1px 2px 0 0;
}

.carousel #next-slide {
    right: 20px;
    padding: 1px 0 0 2px;
}

.carousel .slide-nav i {
    width: 100%;
    line-height: 30px;
}

/* Content general */

.page-wrap {
    padding: 80px 0;
    min-height: 100vh;
    border-top: 15px solid #f5f5f5;
}

.home-page .page-wrap {
    padding-top: 0;
    border: none;
}

.content {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    position: relative;
    padding: 0 20px;
}

.page-id-49 .content h1 {
    width: 100%;
}

/* Flexbox */

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-align-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-justify-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* Img */

img {
    max-width: 100%;
    height: auto;
}

.content-column img {
    padding: 0 15px;
}

img.alignright {
    float: right;
}

img.alignleft {
    float: left;
}

img.aligncenter {
    margin: 0 auto;
    display: block;
}

/* Columns */

.full-width {
    width: 100%;
}

.column-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
    align-content: center;
}

.column-half {
    width: 50%;
    background-repeat: no-repeat!important;
    background-position: center bottom!important;
    background-size: cover!important;
}

.column-half.text-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
    align-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.column-half.image-column {
    background-color: lightgrey!important;
}

.column-half img {
    width: 100%;
    height: auto;
}

.column-half:first-of-type {
    padding-right: 20px;
}

.column-half:last-of-type {
    padding-left: 20px;
}

.content-column {
    padding-left: 15px;
    padding-right: 15px;
}

/* Header */

header {
    background: white;
    height: 80px;
    width: 100%;
    z-index: 2;
    position: fixed;
    top: 0;
    -webkit-box-shadow: 0 0 7px -1px rgba(0,0,0,0.1);
    box-shadow: 0 0 7px -1px rgba(0,0,0,0.1);
}

header .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

header.small-header {
    background: rgba(255,255,255,1);
    height: 60px;
    padding: 0;
    -webkit-box-shadow: 0 0 7px -1px rgba(0,0,0,0.1);
    box-shadow: 0 0 7px -1px rgba(0,0,0,0.1);
}

header.small-header #logo {
    padding: 6px;
    margin: 0;
}

header li a {
    font-size: 1.2em;
    color: grey!important;
    font-family: 'Open Sans', sans-serif;
}

#header-image {
    background-color: lightgrey!important;
    background-size: cover!important;
    height: 200px;
    width: 100%;
}

/* Logo */

#logo {
    width: 140px;
    float: left;
    margin-right: 20px;
}

#logo img {
    height: 100%;
}

/* Menu */

.menu-main-menu-container {
    width: 100%;
}

#menu-wrap {
    height: 100%;
}

.menu-main-menu-container, #menu-main-menu {
    height: 100%;
}

#menu-wrap #menu-main-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 40px;
}

#menu-wrap li {
    display: inline-block;
    font-size: 0.9em;
    height: 80px;
    line-height: 80px;
}

#menu-wrap li a {
    color: #5a5754;
    padding: 0 5px;
}

html.non-touch #menu-wrap li a:hover, #menu-wrap li.current-menu-item a {
    opacity: 0.5;
}

/* Sub menu */

.sub-menu {
    background: #353535;
    position: absolute;
    z-index: 99;
    top: 100%;
    display: none;
}

.sub-menu li {
    display: block!important;
    margin: 5px 0 0 0!important;
    height: auto!important;
    line-height: 2.2em!important;
}

.sub-menu li:last-of-type {
    padding: 0 0 10px 0!important;
}

.sub-menu li a {
    border: none!important;
    color: white!important;
    padding: 0 8px!important;
}

html.non-touch .sub-menu li a:hover, .sub-menu .current-menu-item a, #menu-wrap .current-menu-item a i {
    color: #00cc66!important;
    opacity: 1!important;
}

/* User menu */

#user-menu li {
    padding: 0 10px;
    position: relative;
}

#user-menu .sub-menu {
    right: -20px;
}

/* Home */

.home-section {
    padding: 60px 0;
}

/* Home - Top section */

#top-section {
    background-size: 60%!important;
    position: relative;
    padding-bottom: 400px;
}

#top-section .content {
    padding-top: 80px;
    padding-right: 340px;
}

#home-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 360px;
    background: #0b5a45;
    float: left;
}

#home-sidebar .widget:first-of-type a {
    position: absolute;
    height: 60px;
    top: -60px;
    left: 0;
    background: #00cc66;
    line-height: 60px;
    font-size: 1.3em;
    color: white!important;
    padding: 0 30px;
}

#home-sidebar .widget:first-of-type p {
    margin: 0;
}

html.non-touch #home-sidebar .widget:first-of-type a:hover {
    opacity: 0.75;
}

#home-sidebar .widget {
    padding: 20px 0;
}

#home-sidebar .widget {
    border-bottom: 1px solid rgba(2,43,41,0.15);
}

#home-sidebar .widget:first-of-type, #home-sidebar .widget:last-of-type {
    padding: 0;
    border: none;
}

/* Home sidebar - share us */

#home-sidebar i.fa-facebook-square {
    margin-right: 5px;
}

/* Home sidebar - follow us */

#home-sidebar .textwidget {
    position: relative;
    padding-left: 55px;
}

#home-sidebar .widget:nth-child(3) p {
    margin: 0;
}

#home-sidebar .widget:nth-child(3) h2 {
    color: white;
    margin-bottom: 0;
    width: 100%;
}

#home-sidebar .widget:nth-child(3) .wp-caption {
    padding-bottom: 20px;
    border-bottom: 2px solid #00cc66;
    position: absolute;
    width: 100px;
    left: -50px;
    margin-right: 20px;
    top: -20px;
}

#home-sidebar .widget:nth-child(3) img {
    border-radius: 100%;
    height: 70px;
    width: 70px;
    left: -35px;
    top: -23px;
}

#home-sidebar .widget:nth-child(3) img, #home-sidebar .widget:nth-child(3) .border {
    position: absolute;
}

#home-sidebar .widget:nth-child(3) .border {
    width: 80px;
    bottom: -59px;
    left: -40px;
}

#home-sidebar .widgettitle, #home-sidebar .wp-caption-text {
    display: none;
}

/* Home sidebar - Twitter feed */

#ctf {
    padding: 0 20px;
}

.ctf-tweets {
    padding-left: 30px;
}

#ctf .ctf-header {
    padding: 5px!important;
}

#ctf-more, .ctf-credit-link, #ctf .ctf-header {
    display: none!important;
}

#ctf .ctf-header-name {
    color: white;
}

.ctf-tweet-text {
    color: rgba(255,255,255,0.5);
}

#ctf p.ctf-tweet-text, #ctf p.ctf-media-link {
    font-size: 0.9em;
}

#ctf .ctf-item {
    padding-right: 0;
}

/* Home - Join section */

#join-section {
    background: rgba(2,43,41,0.975);
    position: absolute;
    width: 600px;
    right: 3vw;
    top: auto;
    /*bottom: -120px;*/
    z-index: 1;
}

#join-section p {
    margin-bottom: 0;
}

#join-section div {
    padding: 30px 40px;
}

/* Home - Join section - New project */

#join-section div:last-of-type {
    position: relative;
}

#join-section div:last-of-type .background, #join-section div:last-of-type .background-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background: rgba(255,255,255,0.5);
    background-size: cover!important;
    z-index: -1;
    -webkit-filter: brightness(0.75);
    filter: brightness(0.75);
}

#join-section div:last-of-type .background-overlay {
    background: #0d4335;
    background: #005740;
    opacity: 0.65;
}

#join-section div:last-of-type a {
    color: white!important;
}

#join-section h1 {
    color: white;
}

#join-section a {
    text-decoration: underline;
}

#join-section p:last-of-type {
    margin-bottom: 0;
}

#join-section ul {
    padding-left: 20px;
}

#join-section ul li {
    list-style-type: disc;
}

/* Home - Community section */

#community-section {
    background: #f5f5f5;
    min-height: 600px;
    padding: 85px 0 40px 0;
}

/* Home - Blog section */

#blog-section {
    padding: 40px 0;
}

#blog-section h1, #blog-section .title-link {
    width: 100%;
}

#blog-section .recent-posts {
    width: 98%;
    width: -webkit-calc(100% - 300px);
    width: calc(100% - 300px);
    float: left;
}

/* Blog */

article {
    padding: 30px;
    background: #f8f8f8;
    margin-bottom: 30px;
}

#blog-sidebar {
    width: 300px;
    padding-left: 40px;
    float: left;
}

#blog-sidebar h3 {
    color: #32994a;
}

#blog-sidebar li::before {
    content: '> ';
}

#blog-sidebar li {
    padding: 10px 0;
    border-bottom: 1px dashed #d1d1d1;
}

#blog-sidebar a {
    color: #999999!important;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
}

.pagination .screen-reader-text {
    display: none;
}

.post-title {
    margin-bottom: 0;
}

.category-link::after {
    content: ', ';
}

.category-link:last-of-type::after {
    content: '';
}

.post-avatar {
    width: 50px;
    height: 50px;
    background-size: cover!important;
    margin-right: 20px;
    border-radius: 100%;
    float: left;
}

#blog-sidebar .screen-reader-text {
    display: none;
}

#blog-sidebar input[type="text"] {
    padding: 8px;
}

#blog-sidebar input[type="submit"] {
    margin: -35px 0 30px 0!important;
    width: 40px!important;
    padding: 0!important;
    background: url('/wp-content/images/search.png') no-repeat center center!important;
    float: right;
    background-size: 50%!important;
    position: relative;
    opacity: 0.5;
    height: 35px!important;
}

#searchform {
    margin-bottom: 30px;
}

/* Single */

#single-page .post-header p {
    margin-bottom: 0;
}

#single-page .post-header {
    margin-top: 40px;
    border-top: 2px solid #00cc66;
    width: auto;
    padding-top: 20px;
    display: inline-block;
}

#single-page .screen-reader-text {
    display: none;
}

/* Comments */

#comments {
    margin-top: 80px;
}

#respond {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #f5f5f5;
}

.comment-author {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.comment-meta {
    margin-bottom: 15px;
}

.comment-meta a {
    float: left;
}

.comment-meta a:first-of-type {
    pointer-events: none;
    width: auto;
    margin-right: 20px;
}

.comments-title {
    margin-bottom: 30px;
}

.comment-list li {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f5f5;
}

.comment-list li:last-of-type {
    border-bottom: none;
}

textarea#comment {
    padding: 8px;
}

.fn {
    margin-right: 8px;
}

.comment-author img {
    border-radius: 100%;
    height: 50px;
    width: 50px;
    margin-right: 20px;
}

#cancel-comment-reply-link {
    float: right;
    background: #00cc66;
    color: white!important;
    font-size: 0.8em;
    padding: 8px;
}

html.non-touch #cancel-comment-reply-link:hover {
    opacity: 0.75;
}

/* Home - Standards */

#standards-section .content-column img, .page-id-382 .content-column img {
    border: 10px solid #eeeeee;
    margin-top: 30px;
}

#standards-section .content-column p, .page-id-382 .content-column p {
    margin-bottom: 0;
}

#standards-section .text-content {
    display: flex;
    display: -webkit-flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* Home - Board */

.border {
    width: 75%;
    height: 2px;
    background: #00cc66;
    margin-bottom: 20px;
}

.page-id-49 .content-column, .page-id-288 .content-column, .member-column {
    margin-top: 30px;
}

.page-id-49 .content-column strong, #board-section .content-column strong,
.page-id-288 .content-column strong, .bp_name, strong {
    font-size: 1.2em;
    color: #32994a;
    font-family: 'proxima_novabold';
    margin-bottom: 0;
}

.page-id-49 .content-column img, #board-section .content-column img,
.page-id-288 .content-column img, #custom-group-header .content-column img,
.member-column img {
    width: 100%!important;
    height: auto;
    padding: 0!important;
    margin-bottom: 10px;
}

#board-section .content-column, .page-id-49 .page-wrap .content-column {
    margin-top: 30px;
}

/* Home - Partners */

#partners-section .content img, .page-id-359 .page-wrap .content img {
    /*height: -webkit-fit-content!important;*/
    /*height: -moz-fit-content!important;*/
    height: fit-content!important;
}

#partners-section h2 {
    display: none;
}

/* Forms */

input[type="submit"], button[type="submit"], #mc4wp-form-1 input[type="submit"] {
    background: #00cc66!important;
    color: white!important;
    font-family: 'proxima_novabold';
    border: none!important;
    padding: 10px 80px!important;
    font-size: 1.3em!important;
    margin: 0 auto!important;
    display: block!important;
    height: auto!important;
    margin-top: 20px!important;
}

input[type="text"], input[type="email"], input[type="password"], textarea {
    background: #f8f8f8!important;
    border: none!important;
    width: 100%!important;
}

html.non-touch input[type="submit"]:hover, html.non-touch button[type="submit"]:hover {
    opacity: 0.75;
}

/* Wp forms */

div.wpforms-container-full .wpforms-form .wpforms-required-label {
    color: grey!important;
}

div.wpforms-container-full .wpforms-form input.wpforms-field-medium, div.wpforms-container-full .wpforms-form select.wpforms-field-medium, div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
    max-width: 100%!important;
}

/* Buddypress */

#buddypress .standard-form #basic-details-section input[type="password"], #buddypress .standard-form #blog-details-section input#signup_blog_url {
    width: 100%!important;
}

/* Register form */

#signup_form p {
    margin-bottom: 30px;
}

/* Profile */

#buddypress #header-cover-image {
    background: #e8e7e7!important;
}

.my-profile a {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
}

#subnav {
    margin-bottom: 60px!important;
}

#buddypress p.warning, body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning, body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,
#buddypress div#message p, #sitewide-notice p {
    border: none!important;
    background: #eee!important;
}

#whats-new-avatar img {
    height: 50px;
    width: 50px;
}

/* Grayscale avatar */

.item-avatar img, #buddypress #item-header-cover-image #item-header-avatar img.avatar, .page-id-49 .content-column img,
#board-section .content-column img, .page-id-288 .content-column img, #whats-new-avatar img,
#custom-group-header .content-column img, .member-column img, .activity-avatar img, #item-header-avatar img {
    -webkit-filter: grayscale(1) brightness(1.1);
    filter: grayscale(1) brightness(1.1);
}

#search-groups-form, #search-members-form {
    display: none;
}

#members-order-select label, #groups-order-select label {
    margin-right: 10px;
}

#members-order-by, #groups-order-by {
    padding: 6px;
}

/* Group page */

#custom-group-header {
    margin-bottom: 40px;
}

.group-home h1 {
    margin-bottom: 20px;
}

.group-button a {
    background: #00cc66!important;
    color: white!important;
    border: none!important;
    display: block;
    float: right;
    padding: 10px!important;
    width: auto;
    font-size: 1.3em!important;
}

.group-button.full-width a {
    float: none;
    display: inline-block;
    margin-bottom: 30px;
}

html.non-touch .group-button a:hover {
    opacity: 0.75;
}

#members {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.bp_email {
    word-break: break-all;
}

/* Projects */

#projects-page .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.project {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 20px;
}

.project-image {
    height: 200px;
    margin-bottom: 10px;
    background-size: cover!important;
    display: block;
    max-height: 205px;
}

.project-title {
    font-size: 1em;
}

html.non-touch .project a:hover {
    opacity: 0.75;
}

/* Contact */

.wpforms-confirmation-container-full {
    border: none!important;
}

/* Contact - Newsletter */

#mc4wp-form-1 p:nth-of-type(1), #mc4wp-form-1 p:nth-of-type(2) {
    width: 48%!important;
    float: left;
}

#mc4wp-form-1 p:nth-of-type(1), #mc4wp-form-1 p:nth-of-type(2) {
    margin-bottom: 20px;
}

#mc4wp-form-1 p:nth-of-type(1) {
    margin-right: 4%;
}

#mc4wp-form-1 label {
    font-size: 16px;
    font-weight: 700;
}

#mc4wp-form-1 input {
    padding: 6px 10px;
    font-size: 16px;
    height: 38px;
}

#mc4wp-form-1 input[type="submit"]  {
    margin-top: 40px!important;
}

/* Footer */

footer {
    height: auto;
    background: #032b2a;
    padding: 60px 30px;
    color: #6f938e!important;
}

footer h3 {
    color: white;
}

footer #social-menu a {
    color: #f9f8f6!important;
}

footer .content, #copyright, #copyright ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
}

footer #social-menu ul {
    text-align: right;
}

footer #social-menu li {
    font-size: 1.1em;
    margin-right: 10px;
    height: 50px;
    width: 50px;
    display: inline-block;
}

footer #social-menu li a {
    background: #065e41;
    border-radius: 100%;
    height: 100%;
    width: 100%;
    text-align: center;
}

#copyright {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    width: 100%;
    text-transform: uppercase;
    font-size: 0.9em;
}

#copyright ul {
    -ms-flex-pack: justify;
    justify-content: space-around;
}

#copyright li ul {
    width: 100%;
    text-align: center;
}

#copyright li {
    display: inline;
    margin: 0 10px;
}

#copyright a {
    color: rgba(255,255,255,0.75);
    color: #00cc66!important;
}

footer #social-menu a {
    background: transparent;
    font-weight: 400;
    padding: 0;
}

footer .content {
    height: auto;
}

footer .content {
    border-bottom: 2px solid #436560;
    padding-bottom: 60px;
}

footer .content:last-of-type {
    border-bottom: none;
    padding-top: 40px;
    padding-bottom: 0;
}

footer .content:nth-child(2) {
    padding-top: 60px;
}

/* Newsletter */

#mc_embed_signup h3 {
    color: white;
    margin-top: 0;
}

#mc_embed_signup form {
    padding: 0!important;
}

#mc_embed_signup input, #mc_embed_signup .button {
    border-radius: 0!important;
    text-align: center;
}

#mc_embed_signup input {
    width: 70%!important;
    float: left;
    height: 43px!important;
    font-size: 1em!important;
    margin-bottom: 10px;
}

#mc_embed_signup input[type="submit"] {
    background: #065e41!important;
    width: 30%!important;
    text-transform: uppercase!important;
    padding: 0 5px!important;
    float: left;
    margin: 0!important;
    margin-bottom: 10px!important;
    height: 43px!important;
    font-size: 14px!important;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
    display: none!important;
}

#mc_embed_signup #mce-success-response, #mc_embed_signup div.response {
    color: grey!important;
    padding: 0!important;
    margin: 0!important;
    margin-bottom: 20px!important;
}

#mc_embed_signup label, #mc_embed_signup p:first-of-type, #mc_embed_signup p:nth-of-type(2) {
    display: none;
}

#back-to-top {
    background: transparent;
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 32px;
    border-radius: 100%;
    border: 1.5px solid #00cc66;
    color: #00cc66;
    font-size: 1em;
    display: none;
    z-index: 10;
}

html.non-touch #back-to-top:hover {
    border-color: #30ab68;
    color: #30ab68;
}

/* Transition */

.project-image {
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

header#main, #logo, #menu-wrap, #newsletter-form-wrap, #home-sidebar {
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

/* Clearfix */

.sub-menu:after, .content:after, body:after, #item-header-avatar:after, #item-header-avatar a:after, #custom-group-header:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

/* Hidden or visible */

.mobile-hidden {
    display: block;
}

.hidden, #wpadminbar, .desktop-hidden {
    display: none;
}

/* Media queries */

@media screen and (max-width: 1140px) {

    #top-section .content {
        padding-right: 360px;
    }

    #home-sidebar {
        width: 300px;
    }

    #join-section {
        width: 500px;
    }

}

@media screen and (max-width: 960px) {

    #menu-wrap #menu-main-menu {
        padding-left: 10px;
    }

    /* Home page re order */

    #home-sidebar {
        width: 260px;
    }

    #join-section {
        position: relative;
        width: 90%;
        margin-left: 5%;
        bottom: auto;
        right: auto;
        left: auto;
        margin-top: 20px;
        margin-bottom: -60px;
    }

    #top-section {
        height: auto;
        padding-bottom: 0;
        background: none!important;
    }

    #community-section {
        padding: 120px 20px 40px 20px!important;
    }

    #top-section .content {
        padding-left: 30px;
    }

}

@media screen and (max-width: 800px) {

    #newsletter-form-wrap {
        padding: 0;
    }

}

@media screen and (max-width: 768px) {

    body {
        padding-top: 60px;
    }

    header {
        height: 60px;
    }

    /* Titles */

    h1 {
        font-size: 2.8em;
    }

    /* Logo */

    #logo {
        width: 100px;
        margin-left: 10px;
    }

    /* Mobile */

    #mobile-social-wrap {
        position: absolute;
        top: 20px;
        width: 50%;
    }

    #mobile-social-wrap #social-wrap {
        width: 100%;
    }

    .desktop-hidden {
        display: block;
    }

    .mobile-hidden {
        display: none;
    }

    #mobile-menu-close {
        z-index: 11;
    }

    .mobile-menu-button {
        position: fixed;
        background: white;
        color: #0b5a45;
        top: 10px;
        width: 40px;
        height: 40px;
        right: 20px;
        font-size: 1.4em;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    html.non-touch .mobile-menu-button:hover {
        color: rgba(2,43,41,0.975);
    }

    #mobile-menu-open {
        z-index: 12;
    }

    /* Mobile menu */

    .menu-main-menu-container {
        height: 100vh!important;
        overflow-y: scroll;
    }

    #mobile-menu-wrap .content {
        float: none;
    }

    #mobile-menu-wrap {
        z-index: 10;
        position: fixed;
        top: 0;
        right: 0;
        height: auto;
        line-height: normal;
        background-color: transparent;
        border: 0;
        width: 0;
        overflow-x: hidden;
        text-transform: uppercase;
    }

    #mobile-menu-wrap .menu-primary-container {
        width: 100%;
        margin: 0;
        padding-bottom: 20px;
    }

    #mobile-menu-wrap .content, #mobile-menu-wrap .menu-primary-menu-container ul {
        padding: 0;
        margin: 0;
        width: 100%;
        background-color: rgba(255,255,255,0.95);
    }

    #mobile-menu-wrap li a, #mobile-menu-wrap .sub-menu li {
        margin: 0!important;
    }

    #mobile-menu-wrap li a, #mobile-menu-wrap .sub-menu li a {
        width: 100%;
        display: block;
        line-height: 40px!important;
        border-top: 1px solid #0b5a45;
    }

    #mobile-menu-wrap .sub-menu li a {
        font-size: 0.9em;
    }

    #mobile-menu-wrap li a, .sub-menu li a {
        width: 100%;
        display: block;
        text-align: center;
        font-size: 1.05em;
        text-decoration: none;
    }

    html.non-touch #mobile-menu-wrap li a:hover {
        opacity: 0.5;
    }

    .sub-menu {
        display: block!important;
        position: relative;
        background: transparent;
        top: auto;
        z-index: 0;
    }

    .sub-menu li a {
        color: grey!important;
    }

    /* User menu */

    #user-menu {
        height: 60px;
        line-height: 60px;
    }

    #user-menu .sub-menu a {
        padding: 0!important;
    }

    #user-menu li:first-of-type a {
        padding: 0 5px!important;
    }

    #user-menu li {
        margin: 0;
        padding: 0;
    }

    #user-menu .sub-menu, #user-menu .sub-menu li {
        display: inline-block!important;
    }

    html.non-touch #user-menu a:hover {
        opacity: 0.75!important;
    }

    /* Home */

    #top-section .content {
        padding-right: 270px;
    }

    #home-sidebar {
        width: 200px;
    }

    #home-sidebar .textwidget {
        font-size: 0.9em;
        line-height: 0.9em;
    }

    #home-sidebar .widget:first-of-type a {
        font-size: 1.4em;
    }

    #home-sidebar .widget:nth-child(3) img {
        width: 70px;
        height: 70px;
        left: -35px;
    }

    #home-sidebar .widget:nth-child(3) .wp-caption {
        left: -35px;
    }

    #home-sidebar .widget:nth-child(3) .textwidget {
        padding-left: 60px;
    }

    #home-sidebar .widget:first-of-type a {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    /* Twitter feed */

    .ctf-tweets {
        padding-left: 0;
    }

    #home-sidebar .border {
        display: none;
    }

    /* Recent posts */

    #blog-section .recent-posts, #blog-sidebar {
        width: 100%;
    }

    #blog-sidebar {
        padding: 20px;
    }

    /* Projects */

    .project {
        width: 33%;
    }

    .project-image {
        max-height: 205px;
    }

    /* Footer */

    footer #mc_embed_signup input {
        margin-bottom: 0;
    }

    footer #mc_embed_signup input[type="submit"], footer #mc_embed_signup input {
        width: 100%!important;
    }

}

@media screen and (max-width: 600px) {

    /* Titles */

    h1 {
        font-size: 2.6em;
    }

    a h1, h1 a {
        font-size: 2.2em;
    }

    h1 a {
        font-size: 1.2em!important;
    }

    /* Columns */

    .clear_column {
        display: none!important;
    }

    .content_column, .full_width, .one_half, .one_third, .two_third,
    .one_fourth, .three_fourth, .one_fifth, .two_fifth, .three_fifth,
    .four_fifth, .one_sixth, .five_sixth {
        margin-bottom: 0!important;
    }

    .two_fourth {
        width: 100%;
    }

    .one_third {
        width: 50%!important;
        clear: none!important;
    }

    /* Home */

    .home-section {
        padding: 40px 0;
    }

    #top-section .content {
        padding: 100px 20px 20px 20px;
    }

    #home-sidebar {
        width: 100%;
        height: 60px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    #home-sidebar .widget:nth-child(2) .textwidget p {
        margin-bottom: 0;
    }

    #home-sidebar .widget:nth-child(3) img {
        position: relative;
        height: 40px;
        width: 40px;
        left: 0;
        display: none;
    }

    #home-sidebar .widget:nth-child(3) p, #home-sidebar .widget:nth-child(3) h2 {
        float: left;
    }

    #home-sidebar .widget:nth-child(3) .border {
        display: none;
    }

    #home-sidebar .widget:nth-child(3) .textwidget {
        padding-left: 0;
    }

    #home-sidebar .widget:nth-child(2) {
        padding: 0;
    }

    #home-sidebar .widget:nth-child(3) {
        margin: 0;
    }

    #home-sidebar #custom-twitter-feeds-widget-2 {
        display: none;
    }

    #home-sidebar-content {
        width: 100%;
    }

    #home-sidebar .widget {
        border: none;
        float: left;
        width: 50%;
        padding: 20px!important;
    }

    #home-sidebar .widget:first-of-type {
        float: none;
        width: 100%;
        padding: 0!important;
    }

    #home-sidebar .widget:nth-of-type(2) {
        text-align: right;
    }

    #join-section {
        width: 100%;
        margin: 0;
    }

    #community-section {
        padding: 40px 20px 40px 20px;
    }

    #home-sidebar .textwidget {
        padding-left: 0;
    }

    /* Contact */

    .wpforms-one-half {
        width: 100%!important;
        margin-left: 0!important;
    }

    /* Contact - Newsletter */

    #mc4wp-form-1 p:nth-of-type(1), #mc4wp-form-1 p:nth-of-type(2) {
        width: 100%!important;
    }

    /* Footer */

    footer .content {
        padding: 0;
    }

    footer #social-menu {
        margin: 30px 0;
    }

    footer #social-menu ul {
        width: 100%;
        text-align: center;
    }

    #newsletter-form-wrap {
        margin: 10px 0;
    }

    /* Register */

    .register-section, #registration-groups-section, #buddypress .standard-form #basic-details-section,
    #buddypress .standard-form #blog-details-section, #buddypress .standard-form #profile-details-section {
        width: 100%!important;
    }

    .submit {
        width: 100%;
    }

    #buddypress .comment-reply-link, #buddypress .generic-button a, #buddypress .standard-form button,
    #buddypress a.button, #buddypress input[type=button], #buddypress input[type=reset],
    #buddypress input[type=submit], #buddypress ul.button-nav li a, a.bp-title-button, input[type=submit] {
        width: 100%!important;
        padding: 10px 0!important;
    }

}

@media screen and (max-width: 580px) {

    /* Projects */

    .project {
        width: 50%;
    }

    .project-image {
        max-height: 230px;
    }

}

@media all and (max-width: 480px) {

    h2 a {
    }

    h2 {
        font-size: 1.4em;
        line-height: 1.2em;
    }

    #standards-section .one_third {
        width: 100%!important;
        text-align: center;
    }

}

/* Home - Partners */

#partners-section .content p, .page-id-359 .page-wrap .content p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media all and (min-width: 400px) {

    /* Home - Board */

    #board-section .text-content, .page-id-49 .page-wrap .text-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

}

@media all and (max-width: 400px) {

    .one_third {
        width: 90%!important;
        margin-left: 5%!important;
    }

    /* Projects */

    .project {
        width: 100%;
    }

    .project-image {
        max-height: 160px!important;
    }

}