*
THEME NAME: SYIBASE
THEME URI: http://seeyourimpact.org
DESCRIPTION: Base skin for SYI-home and SYI-charity
VERSION: 1.0
AUTHOR: Steve Eisner
AUTHOR URI: http://seeyourimpact.org
*/

@media only screen and (max-device-width: 480px) { 
    html {
        -webkit-text-size-adjust: none; 
    }
}

/* COMMON STYLES */
a {
  color: inherit;
  text-decoration: none;
}
a:hover, a:active {
  text-decoration: underline;
}
a img, .button img {
  vertical-align: middle;
  margin-right: 5px;
}
a.divspan span { display: block; }
a.link { text-decoration: underline; cursor: pointer; }
u.link { cursor: pointer; } 

.topmost { position: relative; z-index: 1000; }
.cleared { clear: both; }
.if-ie6, .is-old { display: none; }
.hidden { display: none; }
.invisible { visibility: hidden; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.centered { text-align: center; }
.floatl { float: left; }
.floatr { float: right; }
.skip-it { font-size: 0.8em; color: #888; }
.caps { text-transform: uppercase; }
.color-lr { background-color: #231f14; }
.normal { font-weight: normal; }
.with-sidebar { 
  background: #C7E1EA url(images/page-back.png) repeat-y 100% 0;
}
.with-sidebar .content {
  margin-top: -5px;
  width: 710px;
}
.sidebar-gap {
  height: 10px;
  background: #92D4EC;
}

.if-collapsed { display: none; }
.collapser .if-collapsed { display: block; }
.collapser span.if-collapsed { display: inline; }
.collapser .if-expanded { display: none; }
.expanded .if-expanded { display: block; }
.expanded span.if-expanded { display: inline; }
.expanded .if-collapsed { display: none; }

.editable {
  position: relative;
  clear: both;
  top: -15px;
  float: right;
  font-size: 10px;
  text-decoration: none;
  padding: 1px 2px;
  background: #bbb;
  color: black !important;
  margin-bottom: -15px;
}

.box, .box-model, .box-model * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.red { color: #A00; }

.w50 { width: 50px; }
.w100 { width: 100px; }
.w120 { width: 120px; }
.w150 { width: 150px; }
.w200 { width: 200px; }
.w250 { width: 250px; }
.w300 { width: 300px; }

/* this creates very tall pseudo element inside any element that is an active link target */
:target::before {
  content:"";
  position:absolute;
  top:0; left:0; width:1px;
  height:2000px;
}
/* ensures that pseudo element is positioned relatively to the target, not the body */
:target {position:relative;}

.single-post .color-s2 {
  background: #C7E1EA;
}

.bigger { font-size: 120%; }
.sep { margin: 0 8px; }

html { background: #261F17; }
body {
  position: relative;
  /* overflow-x: hidden; /*no horiz scrollbars*/

  background: #261F17;

/* we'll be back!
  background: #141009;
  background: -webkit-gradient(linear, left top, left bottom, from(#141009), to(#261F17));
  background: -moz-linear-gradient(top, #141009, #261F17);
*/

/*
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#141009', endColorstr='#261F17');
*/
}
.page-center {
  width: 990px;
  margin: 0 auto;
}
#outer {
  background: white;
  width: 990px;
  margin: 0 auto;
}

header {
  width: 985px;
  position: relative;
}
header.header-default {
  padding-bottom: 50px;
  margin-bottom: -50px;
}
.login-bar {
  background: #22404A url(/V2.0023/wp-content/images/syiheader.png) 0 0;
  position: relative;
  padding: 6px;
  font-size: 14px;
  text-align: right;
  color: #bbb;
  font-size: 15px; 
  padding: 7px 10px 5px 10px;
  height: 20px;
}
.login-bar a { text-decoration: underline; color: #bbb; }
#header .tab-bar { 
  background: #92D4EC url(/V2.0023/wp-content/images/syiheader.png) 0 -32px;
  height: 76px; 
  position: relative;
}
#header .floatr { position: absolute; width: 665px; right: 0; }
header .menu-tab {
  float: left;
  display: block;
  overflow: hidden;
  position: relative;
}
header .menu-tab span {
  position: absolute;
  top: -100px;
  left: -1000px;
}
header .menu-tab {
  width: 120px;
  height: 76px;
  background-image: url(/V2.0023/wp-content/images/syiheader.png);
  background-position: -750px -32px;
}
#logo {
  width: 350px;
  height: 76px;
  background: transparent;
}
#header #about-link { background-position: -325px -32px; }
#header #stories-link { background-position: -445px -32px; }
#header #about-link:hover { background-position: -325px -110px; }
#header #stories-link:hover { background-position: -445px -110px; }
header .give-tab {
  float: right;
  display: block;
  overflow: hidden;
  position: relative;
  width: 140px;
  padding-top: 18px;
  padding-left: 20px;
  height: 40px;
}
header .fr-search {
  padding-right: 35px;
  padding-top: 24px;
  display: block;
  float: right;
  font-size: 20px;
}
header .span3 {
  width: 300px;
}
.select2-no-results {
  font-size: 13px;
  background: white;
  color: #444;
}
.select2-no-results a {
  text-decoration: underline;
}

    .select2-hdr {
      margin: -6px -10px 6px;
      background: #eee;
      padding: 3px;
      font-size: 12px;
      color: black;
    }
    .select2-results {
      max-height: 350px;

    }
    .select2-results li {
      line-height: 130%;
      padding: 3px;
    }
    .select2-results .select2-highlighted {
      background: #def;
    }

    .org-image {
      width: 50px;
      height: 50px;
      float: left;
    }
    .org-info {
      margin-left: 60px;
      font-size: 11px;
      color: #666;
    }
    .org-name {
      color: @linkColor;
      font-size: 14px;
      font-weight: bold;
      margin-right: 10px;
    }


header .cart-link {
  margin-left: 10px;
  /*position: relative;*/
  padding-left: 24px;
  text-decoration: none;
  background: url(images/cart.gif) no-repeat 2px 2px;
}
header .cart-full .cart-link { color: white; }
header .cart-link b {
  text-decoration: underline;
}
header .cart-link .cac {
  position: absolute;
  top: 6px;
  right: 80px;
}

header .branded-tab-bar {
  text-decoration: none;
}

header.header-signin .login-bar,
header.header-default .login-bar {
  background: #D3EDF8;
  height: 30px;
  color: #2B4E64;
}
header.header-signin .login-bar a,
header.header-default .login-bar a {
  color: #2B4E64;
}
header.header-signin a.logo,
header.header-default a.logo {
  position: absolute;
  left: 10px;
  top: 3px;
}



.page-cart .gift-browser { margin: -10px 0 0 -55px; }
.page-cart .promo-widget li { display: block; margin-bottom: 15px; }
.page-cart .promo-widget h3,
.page-cart .promo-widget b { color: #444; }
.page-cart .promo-widget a { text-decoration: underline; }

.page-cart .cart-added /*.checkout*/ {
  display: none !important;
}
.page-cart .cart-added .continue {
  display: block;
  padding: 10px;
}
header .cart-link .cart-added {
  position: absolute;
  width: 145px;
  height: 50px;
  left: -88px; /* -25 */
  margin-top: 31px;
  background: #FDF4D6;
  color: #2B4E64;
  font-size: 11pt;
  padding: 10px;
  text-align: left;
  z-index: 100;
  white-space:nowrap;

  border: 1px solid #315663;
  border-radius: .5em;
  -webkit-border-radius: .5em;
  -moz-border-radius: .5em;

  box-shadow: 0 0 8px black;
  -moz-box-shadow: 0 0 8px black;
  -webkit-box-shadow: 0 0 8px black;

  text-align: center;
}
#checkout {
  padding: 30px; 
  border: 5px solid white; 
  background: #F4F5E7;
  width: 600px;
}
#checkout .actions {
  margin-top: 20px; text-align: center;
}
#checkout .remove-checkbox { visibility: hidden; }
.add-more-gifts {
  margin-top: 6px;
}
header .cart-link .up-arrow {
  position: absolute;
  top: -22px;
  right: 75px;

  width: 0px;
  height: 0px;
  border-color: transparent transparent #FDF4D6 transparent;
  border-style: solid; 
  border-width: 12px;
}
header .cart-link .up-arrow2 {
  top: -24px;
  border-color: transparent transparent #333 transparent;
  border-width: 12px;
}









 
#container {
}
.tool-page {
  padding: 20px;
}

.sidebar {
  width: 279px;
  position: relative;
}
.sidebar p, .sidebar .banner {
  line-height: 1.2em;
}
.sidebar interior a{
color: #1B445C;
}

.sidebar-panel h2 {
  padding: 10px 8px;
  font-size: 15pt;
}
.sidebar-panel h3 {
  padding: 10px;
  font-size: 16pt;
}
.sidebar-panel .sidebar-title {
  color: #1B445C;
  font-size: 25px;
  font-weight: bold;
  background: #FDEFB6;
  padding: 10px;
}
.sidebar-panel .banner {
  position: relative;
  top: -30px;
  left: -103px;
  width: 315px;
  margin: 10px 0 -30px 0;
  padding: 42px 5px 50px 93px;
  background: transparent url('images/banner.png') no-repeat top left;
  height: 20px;
}

.sidebar-panel .home-banner {
  background: transparent url('images/home_banner.png') no-repeat top left;
}

.sidebar-panel .current_page_item {
  font-weight: bold;
}


.sidebar-shadow {
  position: absolute;
  bottom: -31px;
  height: 23px;
  left: -21px;
  width: 323px;
  background: transparent url(images/box_shadow.png) no-repeat bottom right;
}
.sidebar1 {
  width: 290px;
  z-index: 10;
  position: relative;
  left: -15px;
  border: 8px solid #5FA7C0;
}
.sidebar2 {
  background: #5FA7C0;
  border: 1px dashed #B9D8E3;
}
.sidebar3 {
  background: -webkit-gradient(linear, left top, left bottom, from(#5FA7c0), to(#477E92));
  background: -moz-linear-gradient(top, #5FA7c0, #477E92);
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#5FA7c0', endColorstr='#477E92');
}
.sidebar-panel {
  min-height: 150px;
  padding: 18px 3px 3px 3px;
  color: white;
}
.sidebar-panel a, footer a { color: white; }
.sidebar-panel p, .sidebar-panel li {
  margin: 0 0 20px 0;
  padding: 0 20px;
  color: white;
  font-size: 16px;
  line-height: 22px;
  color: white;
}
.sidebar-panel li {
  padding-left: 45px;
  background: url(images/arrow_white.png) no-repeat 10px 5px;
  font-size: 20px;
}
.charity-panel li {
  padding-left: 30px;
  background: url(images/arrow2.png) no-repeat 4px 6px;
  font-size: 16px;
}

.panel {
  position: absolute;
  display: none;
}
.current-panel {
  position: relative;
  display: block;
}

.sidebar .social {
  padding: 10px;
  margin-top: 20px;
}
.social { overflow: hidden; }

.crumbs {
  font-size: 11pt;
  padding: 10px 10px 10px 30px;
  color: #5EA6Bf;
  background: white;
  position: relative;
  overflow: hidden;
}
.crumbs .home {
  padding-left: 20px;
  background: url(images/home.gif) no-repeat 0 0;
}

.crumbs a {
  color: #1B445C;
}
.crumbs .current {
  color: #222;
}

.crumbs .tabs {
  position: absolute;
  right: 30px;
  bottom: 0;
  overflow: hidden;
  padding-left: 10px;
}
.crumbs .tab {
  display: block;
  float: left;

  position: relative;
  bottom: -6px;
  padding: 5px 8px;
  margin-right: 4px;
  line-height: 1em;

  font-size: 13px;
  background: white;
  color: #468;
  border: 1px solid #ABC;
  border-bottom: 1px solid #8AC;
}
.crumbs .tab-current {
  bottom: -3px;
  border: 1px solid #8AC;
  font-size: 19px;
  background: white;
  font-weight: bold;
  box-shadow: 0 0 6px #888;
  -moz-box-shadow: 0 0 6px #888;
  z-index: 2;
}
.crumbs .preview {
  background: white;
  color: #A00;
  padding: 5px 10px;
  position: relative;
  top: -5px;
  margin-left: 10px;
  zoom: .8;
  font-weight: bold;
  text-decoration: none !important;
}

.with-sidebar .content, #bottom-panels {
  float: right;
  position: relative;
}


footer {
  font-size: 12px;
  padding: 20px 10px;
  color: white;
}
footer ul {
  clear:both;
}
footer .page_item {
  display: block;
  float: left;
  padding: 0 5px 0 0;
}





/* POPUPS */
/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.zoom-effect .dialog {
  opacity: 0;

  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;



  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}

/* animate in */
.zoom-effect.mfp-ready .dialog {
  opacity: 1;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

/* animate out */
.zoom-effect.mfp-removing .dialog {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);

  opacity: 0;
}


/* Dark overlay, start state */
.zoom-effect.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
/* animate in */
.zoom-effect.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.zoom-effect.mfp-removing.mfp-bg {
  opacity: 0;
}






/* POPUPS */
/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.zoom-effect .dialog {
  opacity: 0;

  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;



  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}

/* animate in */
.zoom-effect.mfp-ready .dialog {
  opacity: 1;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

/* animate out */
.zoom-effect.mfp-removing .dialog {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);

  opacity: 0;
}


/* Dark overlay, start state */
.zoom-effect.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
/* animate in */
.zoom-effect.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.zoom-effect.mfp-removing.mfp-bg {
  opacity: 0;
}


.lightbox .mfp-container {
  height: 95%; /* bug-fix to prevent vertical scrollbar -- TODO fix better! */
}
.lightbox .dialog {
  position: relative;
  background: #FFF;
  width: auto;
  margin: 20px auto;
}
.lightbox .content {
  max-width: 700px;
}
.lightbox #invite-page {
  padding: 2em;
}
