/* Advanced Modal */
.rsvp_modal .tab-content {
	max-height: 350px;
	overflow: auto;
}
.rsvp_modal .modal-header {
	background: #0d91d3;
	min-height: 50px;
	height: auto;
}
.rsvp_modal .modal-title {
	color: #ffffff;
	font-weight: 600;
	line-height: 1.1;
}
.rsvp_modal .nav-tabs {
	margin-bottom: 15px;
}
.rsvp_modal .nav-tabs>li>a {
	color: #555;
	margin-right: 0;
	border-radius: 0;
	text-transform: uppercase;
}
.rsvp_modal .nav-tabs>li.active>a,
.rsvp_modal .nav-tabs>li.active>a:focus,
.rsvp_modal .nav-tabs>li.active>a:hover {
	font-weight: bold;
	border: 0;
	border-bottom: 1px solid #0d91d3;
}
.rsvp_modal .invite-modal-user:not(:last-child) {
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}
.rsvp_modal .invite-modal-user .event-avatars-delete {
	position: relative;
	right: 10px;

}
@media (min-width: 992px) {
	.rsvp_modal .invite-modal-user .event-avatars-delete {
		visibility: hidden;
	}
	.rsvp_modal .invite-modal-user:hover .event-avatars-delete {
		visibility: visible;
	}
}

/* Threadprefix styling */
.threadprefix {
	line-height: 4px;
	vertical-align: middle;
	display: inline-block;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	background-repeat: repeat-x;
	background-position: 0 -1px;
	margin-bottom: 3px;
	color: white;
	font-size: 9px;
	font-weight: bold;
	font-family: "Titillium Web", Helvetica, Arial, sans-serif !important;
}

/* Drop shadow on Bits */
.award-sm.award-shadow:after {
  width: 21px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #d6d6d6;
  content: '';
  position: absolute;
  left: 2px;
  bottom: -2px;
}

/* Making the postbit edit/postdate/IP button grey */
.post_date a, .postbit-btn i.fa-map-marker, .postbit-info i.fa.fa-pencil {
    color: grey !important;
} 

/* Quote styling */
blockquote {
    background: #f5f5f5;
    border-left: 5px solid #ddd;
}

/* Temporary postbit controls adjustments; can be removed with edits to respond.css and wbo.theme.css */
.postbit-awards {
    margin-bottom:0px !important;
}
.classic .post_controls {
    position: relative !important;
    margin-top:-20px;
}
.quick_jump {
    background: none;
    padding-left: 0;
}

.password-group .input-group-addon {
    border: 1px solid #0d91d3;
    padding: 8px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.password-group .password-toggle {
    font-family: Titillium Web, Helvetica, Arial, sans-serif !important;
    color: #0d91d3;
    font-weight: 600;
    font-style: initial;
}
.password-group .icon-eye-open:before {
    content: "Show";
}
.password-group .icon-eye-close:before {
    content: "Hide";
}

.g-recaptcha div {
    margin: auto;
    margin-bottom: 25px;
}

/* Nav dropdown menu sizing */
.dropdown-menu>li>a {
    line-height:25px;
    font-size:15px;
}

/* Like count offset */
.like-badge {
    padding-left:2px;
    padding-right:3px;
    font-weight: 600;
}

/* Star like button colouring */
.text-gold, .text-gold:hover {
    color:#ffcc00;
    bottom:-2px;
}
.text-gold i {
     font-size:20px;
}

/* Avatar size */
.classic .avatar {
    max-width:125px!important;
    max-height:125px!important;
}

/* Multiquote glow when active */
.postbit_multiquote_on {
    color:#faa200!important;
}

/* Latest Posts links colour */
.lastpost-link a {
    color: black;
}

/* MyAlerts styles */
.nav a.userbar-icon {
    padding: 7px;
    font-size: 18px;
    background: transparent !important;
}
.alert--pm .notification-icon .fa-stack-2x {
  color: #66cc33;
}
.alert--tyl .notification-icon .fa-stack-2x {
  color: #ffcc00;
}
.alert--subscribed_thread .notification-icon .fa-stack-2x {
  color: #bb79c7;
}
.alert--dvz_mentions_post .notification-icon .fa-stack-2x {
  color: #79c5ff;
}
.alert--quoted .notification-icon .fa-stack-2x {
  color: #9e249b;
}

.nav .btn-md {
    padding: 4px 10px;
    margin: 0;
    top: 9px;
}

.btn-join, .nav .btn-join {
    background: #ff6666;
    color: #fff !important;
    border-color: #ff6666;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}
.btn-join:hover,
.nav .btn-join:hover {
    background-color: #ff8484 !important;
    border-color: #ff6666 !important;
    color: #fff;
}

.btn-warning.nohover:hover {
    background-color: #f0ad4e;
    border-color: #eea236;
    cursor: default;
}

.nav > li.alerts {
    position: relative;
}

.nav > li.alerts {
    z-index: 1;
}

.nav .userbar-icon .badge {
    position: absolute;
    top: 6px;
    left: 31px;
    margin: 0;
    padding: 1px 5px;
    background: #ff6666;
    border: 1px solid #fff;
}

.myalerts span .fa-square {
    color: #0d91d3 !important;
}
.myalerts span .fa-bolt {
    color: white !important;
}

.modal .list-group {
    max-height: 500px;
    overflow-y: scroll;
}

#myalerts_alerts_modal {
    padding-right:0 !important;
}

/* Passport purchase formatting */
#mysubscriptions h3 {
    margin:5px;
    font-weight:bold;
}
.award-md img {
    width:50px;
    z-index:1;
}
.mysubscriptions_row h4 {
    margin: 5px 0;
}
h3.price {
    margin: 10px 0;
    color: green;
}
.mysubscriptions_row button {
    margin-top: 8px;
}
.award-md.award-shadow:after {
  width: 42px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  background: #d6d6d6;
  content: '';
  position: absolute;
  left: 5px;
  bottom: -15px;
}
.preview-pm #posts .media-left {
  min-width: 150px;
}

/* hr margin fix on biography */
.bio-divider {
  margin:0;
}

/* Adjusted placement for "Edited by" */
.post_edit {
  margin-top: -10px;
}

/* Dropdown menu positioning */
.navbar-nav>li>.dropdown-menu {
  margin-top:-1px;
}

/* Dropdown menu styling for mobile */
@media (max-width: 767px) {
    .navbar-nav .open .dropdown-menu {
        padding: 5px 0;
        margin: -2px 0 0;
        font-size: 14px;
        text-align: left;
        background-color: #fff;
        border-radius: 4px;
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
        border: 1px solid #ccc;
        border: 1px solid rgba(0, 0, 0, .15);
    }
}

/* Necessary style adjustment to allow for collapsible forum rules */
.forum-rules .panel-body {
        padding:0;
}
.forum-rules-box {
        margin:15px;
}
.forum-rules span {
        cursor: pointer;
}
.forum-rules .collapsed {
        transform: rotate(90deg) !important;
        transition: 300ms linear all;
}
.forum-rules .pull-right {
        transform: rotate(0deg);
        transition: 300ms linear all;
}

/* Tournament page adjustments */
.tournament-summary i, .fa-o, .event-body .list-group-item .fa-map-marker, .event-body .list-group-item .fa-clock-o, .event-body .list-group-item .fa-bars {
        color:#faa200;
}
.tournament-match a { color: #333; }
.fa-bars.text-left { text-align: left !important; }

@media (min-width: 768px) {
        .modal-matches { width: 75% !important; }
}
@media (min-width: 992px) {
        #usercp_accordian { display: block!important;visibility:visible!important }
        .nav .btn-md { margin: 0 0 0 8px; }
    .nav > li.navbar-user--guest {
        float: right !important;
    }
}
@media (max-width: 1200px){
        .event-history .list-info { float: none; }
}

@media only screen and (max-width: 768px) {
    .event-sidebar .list-group-item {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
	/*#rsvp_list {
		text-align: center;
	}*/
	.event-bit img.avatar {
		width: 32px !important;
		height: 32px !important;
	}
}

/* Mobile navigation dropup icon colouring */
#mobile-nav .dropup i {
    color: #faa200;
}

@media (max-width: 767px) {
        #mobile-nav .dropup li a {
            color: #777;
        }
}

/* Postbit Fixes */
.col-md-2.media-left {
    padding-right: 15px;
}

/* Container adjustments */
.container {
    padding-right: 10px;
    padding-left: 10px;
}

nav .container {
    padding-right: 15px;
    padding-left: 15px;
}

/* hr colouring */
hr.mycode_hr {
border-top: 1px solid #0d91d3;
}

/* Bottom pagnation fix */
.showthread .panel-footer {
    overflow: unset;
}

/* Tournament first panel padding */
.event-title {
    padding-top:20px !important;
    padding-bottom:20px !important;
}

/* Quickreply textarea expand */
#quickreply textarea {
    resize:vertical !important;
}

/* Avatar in mobile postbit */
@media (max-width: 767px) {
    .postbit-info .avatar {
	    height: 25px !important;
	    width: 25px !important;
	    margin-right: 5px;
	    border-radius: 3px;
	    top: -1px;
    }

    .postbit-info span.visible-xs {
	    display:inline !important;
    }

    #nav-change-avatar .avatar {
        width: 75px !important;
        height: 75px !important;
    }
    #nav-change-avatar .fa-stack {
        top: -25px;
    }
}

/* Forumdisplay postcount made grey */
a.forumcount {
    color: #777777 !important;
}

/* Displaying deleted posts to moderator+ */
.post.unapproved_post.deleted_post {
    display: block !important;
}

/* Force green or red for win or loss */
.success {
    background-color: #5cb85c;
}
.danger {
    background-color: #d9534f;
}

/* Fixing size of the Lose box in tournament results */
.tournament-match .label-default {
    padding: .2em 0.9em .3em 0.8em;
}

/*Adjustments to display of event sidebar and contents*/
.event-sidebar h4 {
	margin-top: 5px;
}

.event-format .format-icon img {
    height: 88px;
    margin-right: 5px;
}

/*Need-to-know box on event page*/
.list-group-item.need-to-know {
	border-top: 1px solid #eee;
}

.need-to-know h3 {
color: #0d91d3;
font-weight: bold;
}

.need-to-know h4 {
margin-top: 30px;
	font-weight: bold;
}

/* Post anchor offset */
.post-anchor {
	margin-top:-53px;
}

/* Featured img fix */
.featured-img {
    display: block;
    margin: 0 auto;
}

/* Fix for white panel footer in wrong places */
.panel-footer.showthread {
    background-color: transparent !important;
}
.pollbox .panel-footer {
    padding: 0 0 30px;
    border-top: 0;
}

/* Italicisng mentions again. Meh */
.mycode_mention {
    font-style: italic;
}

.forum-rules .panel-heading {
    cursor:pointer;
}

/* Stylisation of social buttons on index */
.index-social img {
    width: 100%;
    border-radius: 10px;
}
.row.index-social {
    margin-bottom: 20px;
}

/* Force restricting signature heights to reduce moderation */
.post-signature {
    max-height: 188px;
    overflow: hidden;
}

/* Text alignment to the center */
.align-center {
    text-align:center;
}