/*
 * Copyright (c) 2018 Eclipse Foundation, Inc.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 * 
 * Contributors:
 *   Christopher Guindon <chris.guindon@eclipse-foundation.org>
 *   Eric Poirier <eric.poirier@eclipse-foundation.org>
 * 
 * SPDX-License-Identifier: EPL-2.0
*/

// Ads styles

.ad-eclipsecon-schedule{
  a{
    font-weight:300;

  }
  > thead{
    > tr{
      > th{
        border-color:#CECECE;
      }
    }
  }
  > tbody{
    >tr{
      >th, >td{
        border:none;
      }
      &:nth-of-type(odd) {
        background-color:#E8E8E8;
      }
    }
  }
}

.ad-eclipsecon-schedule-title{
  position: relative;
  padding-left: 30px;
  display: block;
  font-size: 16px;
  font-weight:600;
  &:before{
    font-family: FontAwesome;
    content:"\f041";
    position:absolute;
    font-size:35px;
    color:#a59bd0;
    left:0;
    top:-2px;
  }
}

// Donate-banner
.donate-ad {
  background-color:#f6f6f6;
  position:relative;
  overflow:hidden;
  border-bottom:4px solid #bf4b97;
  h2 {
    margin-top:0;
  }
  
  .btn-square {
    background-color:#2e2458; // Purple
    color:#fff;
    margin-bottom:10px;
    width:57px;
  }
  .btn-square.active{
    background-color:#f7941d;// Orange
  }
  
  .underlined-link {
    font-weight:normal;
    text-decoration:underline;
    &:hover {
      text-decoration:none;
    }
  }
  
  .btn-donate-close {
    position:absolute;
    top:20px;
    right:20px;
    z-index:999;
    font-size:1.2em;
    cursor:pointer;
  }
  
  .list-amount{
    margin-bottom:0;
  }
  
  .donate-submit{
    margin-top:20px;
    .input-group-addon {
      font-size:0.8em;
    }
  }
  
  .form-inline .input-group>.form-control {
    padding-right:6px;
    text-align:right;
    @media (min-width : 768px) {
      width: 60px;
    }
  }
}

.donate-text, .donate-form {
  padding-top:20px;
}

.donate-text {
  @media (min-width: 992px) {
    &:after {
      content:"";
      position:absolute;
      top:0;
      right:-34px;
      width: 0;
      height: 0;
      border-top: 126px solid transparent;
      border-left: 34px solid #f6f6f6;
      border-bottom: 126px solid transparent;
      z-index:99;
    }
  }
}

.donate-form {
  form {
    position:relative;
    z-index:9;
  }
  &:after {
    content: "";
    position: absolute;
    width: 1000px;
    height: 300px;
    z-index: 1;
    left: 0;
    top:0;
    background-color: #fff;
  }
}

.recognition-fields {
  display:none;
}