﻿/* UoE branding CSS */

/*
    Main Grey: #2f2f2f
    Accent Green: #c7d312
    Accent Orange: #f69a05
*/

.help-block {
    font-size:14px;
    color:#888 !important;

}

.styled-select select {
    background: transparent;
    border: none;
    font-size: 14px;
    height: 29px;
    padding: 5px; /* If you add too much padding here, the options won't show in IE */
    width: 268px;
}

.pagination .current, .label, .label a {
    background: rgb(15,88,44);
    color: #fff !important;
}

.projectTemplateLabel{
    color:black;
    border-radius: 14px;
    padding: 6px 14px;
}

a:hover, a:active, a:focus{
    color:rgb(163,145,97);
}

strong {
    font-weight: 600;
}

.button,  .button:visited, .button:link{
    background:rgb(15,88,44);
    color:#fff;
}

.button:hover, .button:active, .button:focus{
    background:rgb(163,145,97);
    color:#fff;
}

.flat-button:hover, .flat-button:active, .flat-button:focus{
    color:rgb(163,145,97);
}


#ue-navigation{
    background:#fefefe;
}


#ue-navigation a{
    color:#000000;
}

#ue-navigation a:hover{
    background:#ededed;
}

#ue-navigation .menu>li>a{
    height:inherit;
    padding: 0.5rem 1rem;
}


.top-bar, .top-bar a, .top-bar ul, .title-bar{
    background:#2f2f2f;
    color:#fff;
}

.top-bar {
    margin-bottom: 15px;
}

.flush-with-top-bar {
    margin-top: -15px;
}


/* CSS Styles */

.muted{
    color:#888; font-size:14px;
}

.bottom-button, .flat-button{
    text-transform:none;
}

.text-danger, .validation-summary-errors{
    /*font-size:14px;*/ 
    color:red;
}

h3 .button, h3 .flat-button{
    margin:0px; margin-top:2px;
}


.body-content {
    margin-bottom:50px;
}

.card{
    margin-bottom:20px;
}

@media screen and (max-width: 40em) {
    .ify{
        padding:10px 10px;
    }
}

@media screen and (min-width: 40em) {
    .ify{
        padding:15px 20px;
    }
}



td .button{
    margin:0px;
}

td{
    padding:12px;
    font-size:16px;
}

dl dt{
    font-size:12px;
    color:rgba(0,0,0,0.7);
    margin-bottom:0px;
}

dl dd{
    font-size:16px;
    margin-bottom:20px;
}

.off-canvas{
    color:#eee; 
    min-height:100%;
    padding-top:10px;
    border-right:1px solid #ddd;
}

.off-canvas .menu li:hover{
    //background:#37474F;
}

.off-canvas-content{
    min-height:750px;
    background:#f2f2f2;
}


input[type="checkbox"] { 
    display:inline;
    margin: 10px 10px;
}

select{
    margin-bottom:0px;
    border:1px solid #e0e0e0;
}

.menu select{
    margin:0px 4px; 
}

.card .bottom-button{
    margin-left:0px;
}

/* Why do we have these padding rules? - Eliot 09/01/19 */

/*input, textarea{
    padding:0px 5px !important;
}*/

/*input[type="submit"], input[type="button"], .button
{
    padding:0.85em 1em 0.7em 1em !important;
}*/

label{
    color:rgba(0,0,0,0.65);
}

/*Cookie notice*/

.cookie-notice {
    text-align:center;
	margin-top:0;
    padding-top: 12px;
    background: #555;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

.cookie-notice .container {
	margin-top:0px;
    color: #FFF;   
}

.cookie-notice a {
    font-weight:bold;
    margin-left: 10px;
    color: #fff;
}

.cookie-notice a:hover {
    color: #fff;
}

.cookie-notice .btn {
    margin-left: 5px;
}

#cookie-notice-content {
    margin-bottom: 10px;
}

/*Admin dashboard*/

.dash-widget-label{
    font-size:17px;
    text-align:center;
    height:50px;
}

.dash-widget-number{
    min-height:60px;
    font-size:60px;
    text-align:center;
    margin-bottom:20px;
    margin-top:20px;
}

span.bg-circle {
  background: rgb(15,88,44);
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  color: #ffffff;
  display: inline-block;
  font-weight: bold;
  line-height: 1.8em;
  margin-right: 5px;
  text-align: center;
  width: 3em;   
}

/* Off-canvas tweaks */
.off-canvas-content
{
    box-shadow: none;
    background: none;
    transition:none;
}

.off-canvas{
    box-shadow: none;
}

@media screen and (max-width: 40em) {

    .s-open .off-canvas{
        left: 0;
        z-index: auto;
        position: fixed;
    }

    .s-open .off-canvas-content{
        transition:none;
        transform: translateX(250px);
    }
}

@media screen and (min-width: 40em) {
    .m-open .off-canvas{
        left: 0;
        z-index: auto;
        position: fixed;
    }

    .m-open .off-canvas-content{
        margin-left: 250px;
    }
}


/* Tabs for attachment posting styling */
.tabs, .tabs-title > a:focus, .tabs-title > a {
    background-color: #fff !important;
}

    .tabs .tabs-title.is-active a {
        box-shadow: 0 -3px 0 0 rgb(33,64,154) inset;
    }

    .tabs .tabs-title a {
        color: #555;
    }

.list-group {
    list-style: none;
    margin: 0;
    background: #ffffff;
}

.list-group li {
    padding: 10px 20px;
}

.list-group-item {
    clear: both;
}

.list-group-item--incomplete:first-child {
    border-top: 1px solid #e0e0e0;
}

.list-group li:not(:last-child) {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.list-group-item--funding {
    background: #fefabd;
    border-bottom-color: #e5db46;
}


.list-group-item--incomplete, .list-group-item--complete {
    border-bottom-color: #e0e0e0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.list-group-item--default {
    border-bottom-color: #e0e0e0;
}

.card-section p:last-child {
    margin-bottom: 0;
}

.progress--10px {
    height: 10px;
}

.margin-top--10 {
    margin-top: 10px;
}

.margin-bottom--20 {
    margin-bottom: 20px;
}

.margin-top--20 {
    margin-top: 20px;
}

.margin-bottom--default {
    margin-bottom: 1rem;
}

.color--green {
    color: #8bc574;
}

.font-size--h3 {
    font-size: 1.5rem
}

.font-size--default {
    font-size: 1rem;
}

.font-size--large {
    font-size: 1.2rem;
}

.display--inline-block {
    display: inline-block;
}

.newsfeed {
    font-size: 0.9rem;
}

.newsfeed .card {
    padding: 10px;
    margin-bottom: 10px;
}

.newsfeed .icon {
    font-size: 0.9rem;
    vertical-align: middle;
}

.newsfeed p:last-child {
    margin-bottom: 0;
}

.card--yellow {
    border: 1px solid #faed65;
    background: #fffde9;
}

.label--yellow {
    background: #faed65 !important;
    display: inline-block;
    padding: 0.33333rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    cursor: default;
    border-radius: 2px;
}

.label--green {
    background: #00FF00 !important;
    display: inline-block;
    padding: 0.33333rem 0.5rem;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
    cursor: default;
    border-radius: 2px;
}

.comment-thread {
    border-left-width: 3px;
    border-left-style: solid;
    padding-left: 1rem;
    margin-top: 1rem;
}

.comment-thread {
    border-left-color: #414952;
}

.comment-thread:nth-child(1) {
    border-left-color: #48515A;
}

.comment-thread:nth-child(2) {
    border-left-color: #5F6871;
}

.comment-thread-comment {
    margin-bottom: 2rem;
}

.float-right-desktop, .list-group-item-buttons {
    float: right;
}


.clearfix {
    clear: both;
}


@media screen and (max-width: 1023px) {
    .float-mobile dl {
        float: left;
    }

    .float-mobile dl:not(:last-child) {
        margin-right: 20px; 
    }

    .float-right-desktop {
        float: none;
    }

    .display-block-mobile, .list-group-item-buttons {
        display: block;
    }

    .list-group-item-buttons {
        margin-top: 10px;
        float: none;
    }
    .expanded-mobile {
        width: 100%;
    }
}

.definition-block dd {
    margin-bottom: 0;
}

.sub-link {
    display: block;
    border-bottom: 1px solid #d4d4d4;
    padding: 1rem 0;
    margin-top: 0;
}