/*
Theme Name: Ikea Foundation
Theme URI: https://ikeafoundation.org
Author: Citomedia
Author URI: http://citomedia.no
Description: Ikea Foundation 2016 theme
Version: 1.0
Tags: Ikea, Ikea foundation
Text Domain: ikea
 */

img {
    max-width: 100%;
}

body {
    font-size: 16px;
    font-family: Verdana, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Verdana, Arial, sans-serif;
}

h1 {
    font-size: 32px;
    line-height: 38px;
    font-weight: normal;
}

h2 {
    font-size: 28px;
    line-height: 34px;
    font-weight: normal;
    margin-top: 15px;
}

h3 {
    font-size: 24px;
    line-height: 30px;
    font-weight: normal;
}

h4 {
    font-size: 20px;
    line-height: 26px;
    font-weight: normal;
}

h5 {
    font-size: 18px;
    line-height: 26px;
    font-weight: normal;
}

h6 {
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
    font-weight: normal;
}

h1 b,
h2 b,
h3 b,
h4 b,
h5 b,
h6 b {
    font-weight: normal;
}

a {
    color: #888989;
}

a:hover, a:focus {
    color: #000;
    text-decoration: none;
}

p {
    font-size: 16px;
    line-height: 24px;
}

.button {
    background: inherit;
    border: 1px solid #000;
    margin: 15px 0;
}

html li.active {
    color: #000;
}


/* home */

.home-grid-excerpt {
    text-align: left;
}

/* header */

.main-header {
    background:  #f3f3f3;
    padding-top: 40px;
}

.social-icons {
    margin: 0 0 0 -35px;
    position: relative;
}

.social-icons li {
    display: block;
    float: left;
    list-style: none;
    background: url('icons/social-icons.png') no-repeat;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    margin-top: -15px;
}

.social-icons li a {
    display: block;
    width: 28px;
    height: 28px;
}

.social-icons .facebook-ico {
    background-position: 0 -28px;
}

.social-icons .facebook-ico:hover {
    background-position: 0 0;
    cursor: pointer;
}

.social-icons .linkedin-ico {
    background-position: -31px -28px;
}

.social-icons .linkedin-ico:hover {
    background-position: -31px 0px;
    cursor: pointer;
}

.social-icons .youtube-ico {
    background-position: -62px -28px;
}

.social-icons .youtube-ico:hover {
    background-position: -62px 0px;
    cursor: pointer;
}

.search-ico {
    background: url('icons/search.png') no-repeat;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

.search-field-container {
    float: left;
    margin-left: 20px;
    margin-top: -18px;
    position: relative;
}

.logo {
    float: right;
    margin-top: -20px;
}

/* navbar */

#menu-main-menu li {
    display: inline-block;
    list-style: none;
    margin: 0 4px 0 0;
}

#menu-main-menu li.current-menu-item a {
    color: #000;
}

#menu-main-menu li.current-page-ancestor a {
    color: #000;
}

.navbar {
    text-align: center;
    background:  #f3f3f3;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.nav {
    font-size: 24px;
    display: inline-block;
}

.nav li {
    margin: 0 10px;
    color: #888989;
}

.moreinfo {
    color: #888989;
}

.latest-info {
    margin-bottom: 20px;
}

.home-grid {
    text-align: center;
    padding: 20px;
}

.home-grid.home-grid-0 {
    padding-top: 0;
}

.instore-campaigns {
    text-align: center;
    background:  #f3f3f3;
    margin-bottom: 20px;
}

.media-row {
    background:  #f3f3f3;
}

.paragraph-headline {
    font-weight: bold;
}

/* footer */

.footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 30px;
    background:  #f3f3f3;
}

.footer-menu li {
    display: inline-block;
    list-style: none;
    margin: 0 20px;
    text-transform: uppercase;
}

.footer-menu li a {
    color: #000;
    font-size: 14px;
}

.footer-menu {
    display: inline-block;
}

.menu-footer-menu-container {
    display: inline-block;
}

.rss-link {
    display: inline-block;
}

.rss-link a {
    color: #000;
    font-size: 14px;
    margin: 0 20px;
    text-transform: uppercase;
}


/* stories */

.stories-page {
    text-align: center;
}

.pagenav {
    display: inline-block;
    padding-left: 0;
}

.pagenav li {
    margin: 0 5px;
}

.pagenav-active {
    text-decoration: underline;
}

.stories-page .stories-grid:nth-child(even) {
    background: #f3f3f3;
}

.stories-grid {
    margin-bottom: 20px;
    padding-top: 20px;
}

/* campaigns */

.campaigns-page {
    text-align: center;
}

.campaigns-main {
    background: #f3f3f3;
    margin-bottom: 20px;
    padding-top: 20px;
}

.home-grid-campaigns {
    background: #f3f3f3;
    margin-bottom: 20px;
    padding: 25px;
}

/*  search */

ul.radio-buttons {
    display: inline-block;
    padding: 0;
}

.radio-label {
    margin-top: 12px;
}

ul.radio-buttons li {
    color: #333;
    display: block;
    position: relative;
    float: left;
    font-size: 14px;
}

ul.radio-buttons li input[type=radio]{
    position: absolute;
    visibility: hidden;
}

ul.radio-buttons li label {
    color: #333;
    display: block;
    font-size: 14px;
    position: relative;
    font-weight: 300;
    padding: 12px 5px 0px 45px;
    margin: 0 auto;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.1s linear;
}

ul.radio-buttons li:hover label{
    color: #333;
}

ul.radio-buttons li .check{
    display: block;
    position: absolute;
    border: 2px solid #333;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    top: 12px;
    left: 20px;
    z-index: 5;
    transition: border 0.1s linear;
    -webkit-transition: border 0.1s linear;
}

ul.radio-buttons li:hover .check {
    border: 5px solid #667;
}

ul.radio-buttons li .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 15px;
    width: 15px;
    top: 5px;
    left: 5px;
    margin: auto;
    transition: background 0.1s linear;
    -webkit-transition: background 0.1s linear;
}

input[type=radio]:checked ~ .check {
    border: 5px solid #667;
}

input[type=radio]:checked ~ .check::before{
    background: #667;
    top: -1px;
    left: -2px;
}

input[type=radio]:checked ~ label{
    color: #333;
}


.search-page {
    text-align: center;
}

.search-grid {
    margin-bottom: 20px;
    padding-top: 20px;
}

.search-page .search-grid:nth-child(even) {
    background: #f3f3f3;
}

.sort-results {
    display: inline-block;
    padding-left: 0;
}

.sort-results li {
    margin-left: 25px;
}

.search-headline {
    margin-top: 0;
}


/*  Single page */

.single-page {
    text-align: center;
}

.single-grid {
    margin-bottom: 0;
    padding-top: 15px;
}

.single-page h1 {
    font-size: 32px;
    line-height: 38px;
    text-transform: uppercase;
}

.single-page .home-date {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.single-page .main-content {
    padding: 10px 0 20px 0;
    text-align: left;
}

.single-page .main-content img {
    height: auto;
}

/* about */

.about-nav {
    display: inline-block;
    padding-left: 0;
}

.about-nav li {
    margin: 0 10px;
    color: #888989;
}
/*  press */

.press-archive-title {
    background: #f3f3f3;
    color: #000;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    line-height: 22px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    margin: 0 auto;
    padding: 6px 0px;
    position: relative;
    width: 300px;
}

.press-archive {
    background: #f3f3f3;
    color: #000;
    font-size: 14px;
    line-height: 20px;
    display: none;
    height: 212px;
    overflow: scroll;
    position: absolute;
    top: 32px;
    left: 0;
    z-index: 100;
    padding: 0 10px;
    width: 299px;
}

.press-archive-single {
    cursor: pointer;
    text-align: center;
    padding: 5px;
}

h1.archive-title {
    margin-top: 10px;
    text-transform: uppercase;
}

.category-press-releases .home-grid .grid-element:nth-child(3n+1) {
    clear: none;
}

.category-press-releases .grid-element h2 {
    overflow: hidden;
}

.category-press-releases .read-more-link {
    display: none;
}

.press-menu {
    clear: both;
    float: none;
}

.press-page {
    text-align: center;
}

.press-search {
    width: 350px;
    display: inline-block;
}

.archive-link {
    background: #f3f3f3;
    padding: 5px 0;
    border-radius: 3px;
    width: 300px;
    float: left;
}

.press-headline {
    font-weight: bold;
}

.press-grid {
    text-align: left;
    padding: 0 20px;
    margin-top: 25px;
}

.press-nav {
    display: inline-block;
    padding-left: 0;
    color: #888989;
}

.press-nav li {
    margin-right: 20px;
}

/*mobile menu*/

.mobile-menu-wrapper {
    transition: all 300ms ease-in-out;
    margin: 1em 0;
    padding: 0;
    float: left;
}

.background--blur {
    background: #fff;
}

.mobile-menu {
    font-size:2em;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.mobile-menu div {
    margin: 0.5em;
    border-bottom: 1px solid #fff;
    text-align: center;
}

.mobile-menu a {
    color: #aaa;
    text-decoration: none;
}

.mobile-menu a:hover {
    color: #333;
    text-decoration: none;
}

.mobile-menu div:last-child {
    border: 0;
}

.menu--off {
    left: -100%;
    width: 100%;
    display: none;
    background: #fff;
    margin-top: 1em;
    transition: all 300ms;
    z-index: 1;
}

.menu--on {
    display: block;
    height: 200%;
    left: 0;
    top: -30px;
    min-height: 600px;
    transition: all 300ms;
    z-index: 1;
    position: fixed;
}

.close-mobile-menu {
    background: url('icons/close.png') no-repeat;
    float: left;
    height: 49px;
    width: 52px;
}

.logo-mobile-menu {
    float: right;
    width: 201px;
    padding-top: 13px;
    padding-right: 1px;
}

.mobile-menu-elements {
    clear: both;
    padding-top: 20px;
    padding-bottom: 100px;
}

.material-design-hamburger button {
    display: block;
    border: none;
    background: none;
    outline: 0;
}

.material-design-hamburger__icon {
    padding: 2rem 1rem;
    cursor: pointer;
}

.material-design-hamburger__layer {
    display: block;
    width: 40px;
    height: 4px;
    background: #333;
    position: relative;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}

.material-design-hamburger__layer:before, .material-design-hamburger__layer:after {
    display: block;
    width: inherit;
    height: 4px;
    position: absolute;
    background: inherit;
    left: 0;
    content: '';
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
    margin-bottom: 1px;
}

.material-design-hamburger__layer:before {
    bottom: 200%;
    margin-top: 1px;
}

.material-design-hamburger__layer:after {
    top: 200%;
}

/*.material-design-hamburger__icon--to-arrow {*/
    /*animation-name: material-design-hamburger__icon--slide;*/
    /*animation-fill-mode: forwards;*/
/*}*/

/*.material-design-hamburger__icon--to-arrow:before {*/
    /*animation-name: material-design-hamburger__icon--slide-before;*/
    /*animation-fill-mode: forwards;*/
/*}*/

/*.material-design-hamburger__icon--to-arrow:after {*/
    /*animation-name: material-design-hamburger__icon--slide-after;*/
    /*animation-fill-mode: forwards;*/
/*}*/

/*.material-design-hamburger__icon--from-arrow {*/
    /*animation-name: material-design-hamburger__icon--slide-from;*/
/*}*/

/*.material-design-hamburger__icon--from-arrow:before {*/
    /*animation-name: material-design-hamburger__icon--slide-before-from;*/
/*}*/

/*.material-design-hamburger__icon--from-arrow:after {*/
    /*animation-name: material-design-hamburger__icon--slide-after-from;*/
/*}*/

/*@keyframes material-design-hamburger__icon--slide {*/
    /*0% {*/
    /*}*/
    /*100% {*/
        /*transform: rotate(180deg);*/
    /*}*/
/*}*/

/*@keyframes material-design-hamburger__icon--slide-before {*/
    /*0% {*/
    /*}*/
    /*100% {*/
        /*transform: rotate(45deg);*/
        /*margin: 3% 37%;*/
        /*width: 75%;*/
    /*}*/
/*}*/

/*@keyframes material-design-hamburger__icon--slide-after {*/
    /*0% {*/
    /*}*/
    /*100% {*/
        /*transform: rotate(-45deg);*/
        /*margin: 3% 37%;*/
        /*width: 75%;*/
    /*}*/
/*}*/

/*@keyframes material-design-hamburger__icon--slide-from {*/
    /*0% {*/
        /*transform: rotate(-180deg);*/
    /*}*/
    /*100% {*/
    /*}*/
/*}*/

/*@keyframes material-design-hamburger__icon--slide-before-from {*/
    /*0% {*/
        /*transform: rotate(45deg);*/
        /*margin: 3% 37%;*/
        /*width: 75%;*/
    /*}*/
    /*100% {*/
    /*}*/
/*}*/

/*@keyframes material-design-hamburger__icon--slide-after-from {*/
    /*0% {*/
        /*transform: rotate(-45deg);*/
        /*margin: 3% 37%;*/
        /*width: 75%;*/
    /*}*/
    /*100% {*/
    /*}*/
/*}*/

/**
 *
 * Home page styling details
 *
 */

.home-page-press-row {
    background: #f3f3f3;
}

.home-grid h3 {
    border: 1px solid #000;
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    margin: 15px 0 0 0;
    padding: 0px 15px;
    text-transform: uppercase;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.home-grid h3 a {
    color: #000;
}

.home-grid h3 a:hover {
    color: #888989;
}

.home-grid h2 {
    font-size: 32px;
    line-height: 38px;
    margin: 15px 0 5px 0;
}

.home-grid h2 a {
    color: #000;
}

.home-grid h2 a:hover {
    color: #888989;
    text-decoration: none;
}

.home-grid .small-stories h2 a {
    font-weight: bold;
}

.home-grid .home-date {
    font-size: 14px;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.home-grid .home-grid-excerpt {
    margin-bottom: 0;
    text-align: left;
}

.home-thumb {
    font-size: 14px;
    text-align: left;
}

.home-thumb a {
    font-size: 14px;
}

.home-thumb h2 {
    font-size: 16px;
    line-height: 22px;
    margin-top: 8px;
}

.home-page-row {
    margin-bottom: 35px;
}

.video-image-container {
    height: 212px;
    display: block;
    overflow: hidden;
}

.video-image-container img {
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

.home-grid-press {
    font-size: 16px;
    line-height: 22px;
    padding-top: 30px;
}

.video-press-title {
    height: 100px;
    overflow: hidden;
}

.home-grid.home-press-thumb {
    padding: 20px 0;
}

.home-grid.home-press-thumb-left {
    padding-left: 10px;
}

.home-grid.home-press-thumb-right {
    padding-right: 10px;
}


/**
 *
 * Category page styling
 *
 */

.home-grid-archive {
    padding-bottom: 0;
}

.category-page .single-grid:nth-child(odd),
.archive-page  .single-grid:nth-child(odd) {
    background: #f3f3f3;
}

.single-headline {
    font-size: 32px;
    line-height: 38px;
    margin: 0 0 10px 0;
}

.archive-header {
    margin: 0;
    padding: 10px 0;
    text-transform: uppercase;
}

.taxonomy-description {
    margin-bottom: 0;
    text-align: left;
}

.taxonomy-description p {
    margin: 0;
}

.list-element {
    clear: both;
    margin-bottom: 0;
    padding: 25px 10px;
}

.list-element:nth-child(odd) {
    background: #f3f3f3;
}

.list-element h2 a {
    color: #000;
}

.list-element h2 a:hover {
    color: #888989;
    text-decoration: none;
}

/**
 *
 * Facebook post styling
 *
 */

.rfbp-image {
    border: 0;
}

.recent-facebook-posts .rfbp-post {
    background: #f3f3f3;
    padding: 25px;
}

.recent-facebook-posts .rfbp-image-wrap {
    margin: 0;
    padding: 0;
    width: 38%;
}

.recent-facebook-posts .rfbp-image {
    max-width: 100% !important;
}

.recent-facebook-posts .rfbp-text {
    float: right;
    text-align: left;
    padding-left: 2%;
    width: 62%;
}

.recent-facebook-posts .rfbp-heading {
    display: none;
}

.recent-facebook-posts .rfbp-like-count {
    display: none;
}

.recent-facebook-posts .rfbp-comment-count {
    display: none;
}

.recent-facebook-posts .rfbp-post-link-wrap {
    display: none;
}

.recent-facebook-posts .rfbp-post-link-wrap .rfbp-timestamp {
    display: none;
}

.recent-facebook-posts .latest-article-title {
    padding-top: 20px;
}

.recent-facebook-posts .facebook-latest-text {
    margin-top: 30px;
    line-height: 26px;
}

.recent-facebook-posts h3 {
    margin-top: 0;
}

.recent-facebook-posts .latest-facebook-ico {
    width: 54px;
    height: 54px;
    background: url('icons/facebook.png') no-repeat;
    float: left;
    margin-right: 10px;
    margin-top: 20px;
}

.latest-facebook {
    margin-top: 8px;
    float: left;
}

.latest-facebook-paragraph {
    float: left;
}

.facebook-button {
    margin-bottom: 10px;
}

.facebook-date {
    position: relative;
}

.main-content div {
    max-width: 100%;
}

.wp-caption-text {
    color: #9f9f9e;
    font-size: 14px;
    line-height: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/**
 * Search field
 */
.sorting-elements {
    margin-top: -45px;
}

.search-field::-webkit-input-placeholder {
    color: #fff;
}

.search-field:-moz-placeholder { /* Firefox 18- */
    color: #fff;
}

.search-field::-moz-placeholder {  /* Firefox 19+ */
    color: #fff;
}

.search-field:-ms-input-placeholder {
    color: #fff;
}

.search-field {
    background: #c3c2c2;
    border: 0;
    color: #fff;
    float: left;
    font-size: 14px;
    font-weight: normal;
    padding: 5px 0px 5px 30px;
    outline: none;
    position: absolute;
    top: 2px;
    left: 1px;
    z-index: 0;
    height: 28px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    width: 0;
}

.search-submit {
    display: none;
}

h1.search-title {
    font-size: 32px;
    line-height: 38px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    h1.search-title {
        font-size: 24px;
        line-height: 30px;
    }
}

/**
 *
 * Press menu
 *
 */

.menu-top-menu-container {
    margin: 10px 0;
}

.nav>li>a {
    font-size: 32px;
}

.nav>li>a:hover, .nav>li>a:focus {
    background: transparent;
}

.nav-submenu {
    font-size: 14px;
    line-height: 20px;
}

.nav-submenu > li > a {
    font-size: 14px;
    line-height: 20px;
}

.nav-submenu > li > a {
    padding: 10px;
}

.nav-submenu li {
    float: left;
    margin: 0;
}

.nav-submenu li.current-menu-item a {
    color: #000;
    padding: 10px 5px;
}

.nav-submenu li.current-menu-item a:hover {
    color: #888989;
}

/**
 *
 * Grid articles
 *
 */

.grid-element h2 {
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
    text-align: left;
}

.grid-element .home-date {
    font-size: 14px;
    text-align: left;
    padding-left: 0;
}

.grid-element img {
    float: left;
}

.home-grid .grid-element:nth-child(3n+1) {
    clear: both;
}

/**
 *
 * Related documents
 *
 */

.related-documents {
    padding: 0;
}

.related-documents li {
    list-style: none;
}

.related-documents li .image-related-document a {
    background: #b0b0b0;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 30px;
    text-align: left;
}

.related-documents li a {
    background: transparent;
    color: #000;
    font-size: 15px;
    display: block;
    font-weight: bold;
    padding: 0 0 20px 0;
}

.related-documents li span a:hover {
    background: transparent;
    color: #888989;
    text-decoration: none;
}

.related-documents li:nth-child(3n+1) {
    clear: both;
}

.related-documents li span {
    color: #333;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    margin: 5px 0;
    display: block;
}

/**
 *
 * Vippy content embed
 *
 */

.vippy-content-embed {
    max-width: 100% !important;
}

video.vippy-video-object {
    max-width: 100% !important;
}

.vippy-content-embed .vippy-video {
    max-width: 100% !important;
}

.vippy-content-embed .vippy-video object {
    max-width: 100% !important;
}

.single-page .vippy-content-embed {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
}

/**
 *
 * Partners page
 *
 */

.partners-content {
    text-align: center;
}

.partners-content .partners-gallery {
    padding-top: 20px;
    text-align: center;
}

.partners-content .partners-gallery a {
    border: 2px solid #dcdcdc;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 13px;
    position: relative;
}

.partners-content .partners-gallery .hover-gallery {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.partners-content .partners-gallery .hover-gallery .hover-text {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.partners-content .partners-gallery img {

}

.partners-content .partners-gallery img:hover {
    -webkit-filter: initial;
    filter: initial;
}

/**
 *
 * Tags
 *
 */

.tagged-post {
    margin-top: 20px;
    text-align: left;
}

.tagged-post .single-tag {
    display: inline-block;
    margin-right: 5px;
}

/**
 *
 * Sharing icons
 *
 */

.ssba {
    clear: both;
    margin-top: 40px;
}

.ssba a {
    margin-top: 0px;
}

.ssba img {
    margin-top: 0px;
}

.about-us-page .ssba {
    display: none !important;
}

/**
 *
 * Co-workers
 *
 */

.co-workers-list {
    padding: 20px 0 0 0;
}

.co-workers-list li {
    list-style: none;
    padding: 20px;
}

.co-workers-list li hr {
    display: none;
}

.co-workers-list li .co-workers-read-more {
    color: #888989;
    cursor: pointer;
}

.co-workers-list li:nth-child(odd) {
    background: #f3f3f3;
}

.co-workers-list li img {
    float: left;
    margin: 0 20px 20px 0;
}

.co-workers-list li h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.co-workers-list .co-worker-text {
    float: left;
}

.co-worker-description {
    overflow: hidden;
}

/**
 *
 * General
 *
 */

.attachment-large-thumb {
    height: auto !important;
}

/**
 *
 * Category in the news template
 *
 */

.category-list-template .grid-element {
    margin-top: 30px;
    padding: 20px;
}

.category-list-template .grid-element:nth-child(odd) {
    background: #f3f3f3;
}

.category-list-image {
    float: left;
}

.category-list-text {
    overflow: hidden;
}

.category-list-text h2 {
    margin-top: 0;
}

.category-list-text .home-date {
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: none;
}

/**
 *
 * Full width template
 *
 */

.full-width-template .ssba div {
    text-align: center !important;
}

/**
 *
 * Pagination title
 *
 */

.pagination-title {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    margin: 5px;
    text-transform: uppercase;
}

.page-numbers {
    color: #000;
    padding-left: 5px;
}

.page-numbers.current {
    text-decoration: underline;
}

.page-numbers.dots {
    color: #888989;
}

/**
 *
 * Sharing hiding
 *
 */

.page-id-376 .main-content .ssba,
.page-id-378 .main-content .ssba,
.page-id-380 .main-content .ssba,
.page-id-31 .main-content .ssba,
.page-id-382 .main-content .ssba,
.page-id-34 .main-content .ssba,
.page-id-36 .main-content .ssba,
.page-id-36 .main-content .ssba,
.page-id-41 .main-content .ssba {
    display: none;
}

/**
 *
 * Gray container
 *
 */

.gray-container {
    background: #f3f3f3;
    clear: both;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 25px;
}

.gray-container ul {
    padding: 0 0 0 18px;
}

.funding-decisions strong,
.funding-decisions b {
    line-height: 28px;
    display: inline-block;
    font-weight: bold;
    margin-top: 15px;
}

/**
 *
 * Contact form
 *
 */

.contact-us-page-form p {
    margin-bottom: 20px;
}

.contact-us-page-form .wpcf7-form {
    margin-top: 20px;
}

.contact-us-page-form .wpcf7-form .text-field {
    padding: 5px 0;
}

.contact-us-page-form .wpcf7-form .text-field label {
    vertical-align: top;
    width: 33%;
}

.contact-us-page-form .wpcf7-form .text-field span {
    width: 67%;
}

.contact-us-page-form .wpcf7-form .text-field.cp-code label {
    width: 34%;
}

.contact-us-page-form .wpcf7-form .text-field.cp-code span {
    width: 66%;
}

.contact-us-page-form .wpcf7-form .text-field span input {
    background: #f3f3f3;
    border: 0;
    outline: 0;
    height: 28px;
}

.contact-us-page-form .wpcf7-form .text-field span textarea {
    background: #f3f3f3;
    border: 0;
    outline: 0;
    height: 90px;
}

.contact-us-page-form .wpcf7-form .text-field .wpcf7-captcha-captcha {
    margin-left: 34%;
}

.contact-us-page-form .wpcf7-form .text-field .wpcf7-submit {
    background: #000;
    border: 0;
    color: #fff;
    margin-left: 34%;
    outline: none;
    padding: 10px 35px;
}

.contact-us-page-form .wpcf7-select {
    background: #f3f3f3;
    height: 32px;
    border: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

@media (max-width: 767px) {
    .contact-us-page-form .wpcf7-form .text-field label {
        width: 100%;
    }

    .contact-us-page-form .wpcf7-form .text-field span {
        width: 100%;
    }

    .contact-us-page-form .wpcf7-form .text-field .wpcf7-captcha-captcha {
        margin-left: 0;
    }

    .contact-us-page-form .wpcf7-form .text-field .wpcf7-submit {
        margin-left: 0;
    }

    .contact-us-page-form .wpcf7-form .text-field span input, .contact-us-page-form .wpcf7-form .text-field span textarea {
        width: 100%;
    }

    ul.radio-buttons li label {
        padding: 12px 10px 0px 25px;
    }

    ul.radio-buttons li .check {
        left: 0;
    }
}

.page-id-380 .single-page .main-content img {
    width: 145px;
    height: auto;
}

h3.headline {
    border: 1px solid #000;
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    margin: 15px 0 0 0;
    padding: 0px 15px;
    text-transform: uppercase;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

h3.headline a {
    color: #000;
}

span.headline {
    color: #000;
    text-transform: uppercase;
}

span.headline a {
    color: #000;
}

span.headline a:hover {
    color: #000;
    text-decoration: none;
}

.category-list-excerpt {
    clear: both;
    display: block;
    margin-top: 2px;
}

.grey-background {
    background: #f3f3f3;
    padding: 20px 25px;
}

.grey-background strong {
    display: block;
    padding-bottom: 10px;
}

.white-background {
    padding: 20px 25px;
}

.white-background strong {
    clear: both;
    display: block;
    padding-bottom: 10px;
}
