/** CUSTOM FONTS */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,800');
@import url('https://fonts.googleapis.com/css?family=Maven+Pro');

body {
  padding-top: 4rem;

  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #515151;
  font-size: 11.5pt;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Maven Pro', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: #515151;
    margin-top: 0.5em;
}

a {
    color: #336791;
    font-weight: 600;
    text-decoration: none;
    -moz-transition: color .2s ease-in-out;
    -webkit-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

#footer {
  text-align: center;
  padding: 5em 0 2em 0;
  display: block;
}

div.contentwrap h2 {
  font-size: 2em;
  display: flex;
  flex-direction: row;
}

div.contentwrap h2:after {
    background-color: #e7eae8;
    content: '\a0';
    flex-grow: 1;
    height: 2px;
    position: relative;
    margin: .5em 0 .5em .75em;
}

h2 a, h3 a, h4 a {
    text-decoration: none;
    color: #515151;
}

span.nobr {
  white-space:nowrap;
}

small {
  font-size: 0.85em;
}

/* Navigation */
.navbar {
  box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}

.navbar img.logo {
    height: 2rem;
    margin-left: 0;
    margin-bottom: 0;
}

/* Left side navigtion */
#sidenav {
  padding: 1em;
}

#sidenav h2 {
  font-size: 2em;
  display: flex;
  flex-direction: row;
}

#sidenav h2:after {
    background-color: #e7eae8;
    content: '\a0';
    flex-grow: 1;
    height: 2px;
    position: relative;
    margin: .5em 0 .5em .75em;
}

/* Frontpage */
div#eventCarousel div.carousel-inner div.carousel-item img {
   border-radius: 15px;
}
div.eventCarouselCaption {
    top: 20px;
    color: red;
}
div.eventCarouselCaption div.info {
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    padding: 0.5rem;
}
div.eventCarouselBadge {
    background: rgba(0,0,255,0.4);
    display: block;
    right: 30%;
    left: 30%;
    padding: 2px 2px 2px 2px;
    border-radius: 5px;
}
div.eventCarouselRegBadge {
    bottom: 7rem;
}
div.eventCarouselCfpBadge {
    bottom: 5rem;
}
div.eventCarouselCfsBadge {
    bottom: 3rem;
}

.eventCarouselBadge a  {
    text-decoration: none;
    color: white;
}

/* Elections */
div.electionResultRow {
    padding: 2px 2px 2px 2px 2px;
}
div.electionHeaderRow {
    font-weight: bold;
    padding: 2px 2px 2px 2px 2px;
}
div.electionResultCol1 {
    display: inline-block;
    width: 150px;
}
div.electionResultCol2 {
    display: inline-block;
    width: 50px;
    text-align: right;
}
div.electionResultCol3 {
    display: inline-block;
    width: 320px;
    padding: 2px;
}
div.electionResultCol3 div.electionResultBar {
    display: inline-block;
    background-color: #0091c1;
}
div.electionResultCol4 {
    display: inline-block;
    width: 50px;
}
div.electionResultCol3Hdr {
    display: inline-block;
    width: 320px;
}
div.electionSeparator {
    display: inline-block;
    background-color: red;
    height: 2px;
    width: 590px;
}
tr.electionError {
    background-color: #ffb6b6;
}


/* News content (since we allow markdown) */
div.newscontent h1,
div.newscontent h2,
div.newscontent h3,
div.newscontent h4,
div.newscontent h5,
div.newscontent h6
{
  font-size: small;
}

/* Event listings */
dl.eventlist {
   padding-left: 1em;
}
dl.eventlist dd {
   padding-left: 1em;
   margin-bottom: 1em;
}


/* Basic forms */
form.pgeuform fieldset {
    border: 1px solid #ddd;
    border-radius:4px;
    padding-left: 1rem;
    padding-right: 1rem;
}
form.pgeuform fieldset legend {
    width: auto;
    padding-left: 0.2rem;
    padding-right: 1rem;
}

/*
 * Sponsor benefits list
 */
div.sponsorbenefitlist details {
    border: 1px solid darkgray;
    margin-bottom: 0.7rem;
}

div.sponsorbenefitlist details summary {
    display: list-item; /* Sometimes set by bootstrap, but we override to always have it */
    cursor: pointer;
    background-color: lightgray;
    padding: 0.5rem;
}

div.sponsorbenefitlist details div.sponsorbenefitdescription {
    padding: 0.5rem;
    padding-bottom: 0px;
}

/*
 * Sponsor benefit details
 */
div.sponsor-imagepreview span {
    display: inline-block;
    width: 200px;
}

div.sponsor-imagepreview img {
    border: 1px solid black;
    padding: 10px;
    margin: 5px;
}


/*
 * Sponsor signup
 */
form.sponsorsignup tr.error {
   background-color: #ffb6b6;
}

div#invoiceaddresspreview {
   border: 1px solid black;
   border-radius: 5px;
   padding: 3px;
   margin-bottom: 2em;
}
dl.sponsorcontractchoices dd {
    max-width: 800px;
}
dl.sponsorcontractchoices dd,
dl.sponsorcontractchoices dt {
    margin-left: 2rem;
}
dl.sponsorcontractchoices dt input {
    margin-left: -2rem;
    width: 1rem;
}
dl.sponsorcontractchoices dt span {
    margin-left: 1rem;
}

/*
 * Sponsor dashboard
 */
div.sponsorclaimhtml {
    border: 1px solid black;
    padding: 0.2rem;
    margin-bottom: 0.4rem;
}
