/**
 * Place your custom styles here.
 */
.region-top-fw {
	margin-bottom: 25px;
}
.region-top-fw img {
	width: 100%;
}

a.row {
	display: block !important;
}

.commentcount {
	font-size: large;
	float: right;
	position: relative;
	left: -25px;
	top: -45px;
}

.commentcount.hascomments:hover {
	color: gray;
}

.commentcount .fa {
	font-size: xx-large;
}

h2 .fa {
    float: left;
    padding-left: 10px;
}

h2 .fa:hover {
    color: #d3d3d3;
}

.section.category {
	display: block;
	width: 100%;
}

.border-bottom {
	border-bottom: 8px solid #70AF9E; /* for now (TODO!) */
}

li.search-result {
	list-style: none;
}

li.detailed-media-box {
	list-style: none;
}

ul.search-results {
	padding-left: 0;
}

.field-tags {
	font-style: italic;
	display: inline;
}

/* Give main article image some margin bottom */
article img:first-of-type {
    margin-bottom: 24px;
}

/* Increase type size for lead paragraph */
.node-type-article .field-type-text-with-summary p:first-of-type {
    font-size: 1.5em;
    line-height: 1.3em;
}

/* Make links in article content CW brand colour */
.field-type-text-with-summary a {
    color: #70AF9E;
}

.field-type-text-with-summary a:hover {
    text-decoration: underline;
}

#user-login-form a {
    text-decoration: underline;
    color: #70AF9E;
}

/* Give sidebar articles some margin bottom when stacked vertically */
.picturebox-col > a {
    display: block;
    margin-bottom: 48px;
}

/* different styling for popup search form */
#mini-search-form {
    margin-left: 9px;
    border-radius: 0 !important;
    background: #333;
    border: none;
    color: #fff;
    padding: 0 5px;
    height: 25px;
    line-height: 25px;
    font-size: 12px;
}

/* toggle category carets */
.toggle-category {
    position: absolute;
    top: 10px;
    left: 5px;
}

/* prev/next links */
.flippy {
    padding-left: 0;
    font-size: 18px;
}

/* flippy clearfix */
.flippy:after {
  content: "";
  display: table;
  clear: both;
}

.flippy .prev {
    float: left;
}

.flippy .next {
    float: right;
}

/* Restrict video player width */
iframe {
    max-width: 100%;
}

.tags a,
.field-type-taxonomy-term-reference a {
    color: #808080 !important;
}

.tags a:hover,
.source a:hover,
.field-type-taxonomy-term-reference a:hover,
a.twitter:hover {
    text-decoration: underline;
}

.field-type-taxonomy-term-reference .field-item {
    display: inline;
    line-height: 1.5em;
    margin-right: 10px;
}

.comment {
    margin-left: 96px;
    font-size: 14px !important;
}

.detailed-media-box .dateline {
    color: gray;
    margin-top: 2.5px;
}

.large-media-box__body h3 {
    text-transform: uppercase;
    color: gray;
}

.links a, .main nav ul {
    text-transform: uppercase;
}


nav.main .links {
    margin: 0;
    padding-left: 0;
}

nav.main li {
    position: relative;
    display: block;
    float: left;
}

nav.main li a {
    transition: background-color 0.5s ease;
    background: #E6E6E6; 
}

nav .links a {
    padding:0 13px;
    display: block;
    line-height: 25px;
    height: 25px;
    font-weight: bold;
    color: #4D4D4D;
}

#navbar a:hover {
    background: #ccc;
}

@media (min-width: 992px) {
    .right {
        float: right !important;
        margin-right: -15px;
    }
}

nav ul {
    list-style: none;
}

header {
    margin-bottom: 25px;
}

#tiny-search-widget{
    padding-top: 0;
}
#navbar {
    padding: 0;
}

.bg-grey-light {
    background: #E6E6E6 !important;
}

.bg-brand {
    background: #70AF9E !important;
}

.colophon {
    font-size: smaller;
    font-style: italic;
    margin-left: 15px
}

button, a.button {
    background: gray none repeat scroll 0% 0%;
    border: 0px none;
    padding: 7.5px;
    text-transform: uppercase;
    color: white;
    width: 220px;
    margin-top: 10px;
    font-size: smaller;
}

footer button {
    background: #70AF9E;
}

footer a {
    text-decoration: none !important;
    font-weight: bold;
}

footer .share-buttons a {
    transition: background-color 0.5s ease;
}

footer .share-buttons a:hover {
    background: #70AF9E;
}

footer a:hover {
    text-decoration: underline !important;
}

input[type="text"],
input[type="password"]
{
    border: 1px solid gray;
    padding: 5px 7.5px;
    width: 220px;
    border-radius: 0;
}


.commonNewsletterSubscribe input {
    width: 220px;
    font-size: smaller;
    border: 1px #ccc solid;
    height: 38px;
    padding-left: 10px;
    color: #666 !important;
    max-width: 100%;
}

.commonNewsletterSubscribe button {
    max-width: 100%;
}


footer .commonNewsletterSubscribe input {
    border: 0;
}

.commonNewsletterSubscribe .grey {
    color: #666;
}

footer .commonNewsletterSubscribe .grey {
    color: #eee;
}


.brand, .comment .links a {
    color: #70AF9E;
}

.picture-box .category {
    width: 100%;
}

a.flag, li.comment-add a  {
    color: #70AF9E;
}

#comments h2 {
    font-size: 1.25em;   
}
#comments {
    margin-left: 45px;
}
.inset {
    margin-top: 30px;
}

.wysiwyg-toggle-wrapper a {
    text-transform: uppercase;
    background-color: #70AF9E !important;
    margin-left: 45px;
    padding: 15px;
    font-color: white;
}

body {
    font-family: arial;
}

@media (max-width: 992px) {
    #reveal-search {
        display: none;
    }
    
    header .container {
        padding: 0;
    }
    
    .hide-mobile {
        display: none;
    }
}

.category-teaser .media-box {
    min-height: 290px;

}

.ui-accordion-header-icon {
    color: #D7D751;
    float:left;
}

#liked-article-toggle a, .brand-text {
    color: #D7D751;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-tabs-nav {
    border: none !important;
    background: none !important;
}
.donation-item {
    font-size: 1em;
}
.donation-item.selected {
    font-size: 1.5em;
}
.donation-item .button {
    display: inline-block;
}
.donation-item span {
    position: relative;
    top: -12.5px;
    padding: 0px 7.5px;
}

.block {
    display: block;
}

.category-teaser .media-box {
    min-height: 290px;
    display: block;
}

.form-type-password {
    widows: 220px;
}

.navbar-brand {
    height: 25px !important;
    padding-top: 0 !important;
    line-height: 25px !important;
}

.page-header {
    margin-top: 0;
}

button.close {
    width: auto;
}


/* MOBILE FIXES */
@media (max-width: 992px) {
    header .row {
        margin-left: 0;
    }
    
    header.pt {
        padding-top: 0 !important;
    }
    
    header nav.mt {
        margin-top: 0 !important;
    }
    
    body {
        border-top: 0 !important;
    }
    
    nav .links a {
        padding:0 13px;
        line-height: 45px;
        height: 45px;
    }
    
    .bg-brand.home {
        display: none;
    }
}

/* DONATE PAGE */
#donate-quote {
    max-width: 100%;
}
/* make h1 same size as other headings */
#donate-page h1 {
    font-size: 1.5em;
}

/* tidy up register paypal donate */
#paypal_instructions iframe {
    border: 0;
}

#gocardless_instructions select {
    border: 1px solid gray;
    padding: 5px 7.5px;    
}

    .arrow {
        width: 0;
        height: 0;
        margin: 0 auto;
    }
    .arrow.up {
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 15px solid #70AF9E;
    }
    .img-tooltip-container {
        display: inline-block;
    }
    .donation.icons {
        text-align: center;
        display: block;
        width: 100%;
    }
    .border-brand {
        border: 5px solid #70AF9E;
    }
    .hidden {
        display: none;
    }

.donation.icons div {
    position: relative;
}

#donate-illustration {
    position: absolute;
    left: -235px;
    top: -40px;
}

/* DROPDOWN USER MENU */
#user-menu {
    position: absolute;
    z-index: 9999;
    right: 0;
    top: 25px;
    width: 290px;
    padding: 10px 0;
    background: #70AF9E;
}

#user-menu li {
    float: none;
    display: block;
}

#user-menu a {
    background: #70AF9E;
    color: #fff;
}

#user-menu a:hover {
    background: #60A693;
    color: #fff;
}

#user-menu .fa {
    width: 20px;
    text-align: center;
}
