/*
Theme Name: Aggie Delta Gamma
Theme URI: http://www.wearealways.com
Description: This is a Wordpress theme with a fixed width, laid out in 2 columns with the menu on the left
Author: Travis Ward
Author URI: http://www.wearealways.com


/*-----------Block Level Elements--------------*/

* { margin: 0; padding: 0; }

html { min-height: 100%; margin: 0 0 1px; font-size: 100.01%; }
body { background: #e5e4d6; font-size: 62.5%; }

@media only screen and (max-device-width: 480px) { html { -webkit-text-size-adjust: none; } }

body, textarea, input, select, option, button { color: #525252; font-family: Verdana, Arial, "Helvetica Neue", Helvetica, sans-serif; line-height: 1.5; }
li, dt, dd, p, th, td, caption, pre { font-size: 1.2em; }
ul, ol, dl, p, table, pre, h1, h2, h3, h4, h5, h6 { margin-bottom: 15px; }

a { color: #e01974; text-decoration: underline; }
a:hover, a:focus, a:active { text-decoration: none; }

ul, ol, dd, blockquote { padding-left: 30px; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }
li *, li p, li li, dt *, dd *, p * { font-size: 1em; }

img { border: none; -ms-interpolation-mode: bicubic; }
pre { font-family: "Courier New",monospace; white-space: pre-wrap; }
table { border-collapse: collapse; border-spacing: 0; }
button { overflow: visible; padding: 0 10px; cursor: pointer; } button::-moz-focus-inner { padding: 0; border: none; }

hr { overflow: hidden; height: 1px; margin: 15px 0 !important; margin: -5px 0 8px; padding: 0; border: none; background-color: #ccc; color: #ccc; }
*:first-child+html hr { margin: -7px 0 8px !important; }

.offset { position: absolute !important; left: -10001px !important; overflow: hidden !important; }

/* LAYOUT
------------------------------------------- */
 
 #top { height: 187px; background: url(images/top-bg.png) repeat-x; }
  #logo { margin: 0 auto; width: 747px; height: 150px; }
   #logo a { display: block; width: 747px; height: 150px; text-indent: -999em; background: url(images/logo.png) no-repeat; overflow: hidden; }
  #top h2 { position: absolute; left: -999em; }
  #skip-links { position: absolute; top: 0; left: -10001px; list-style: none; margin: 0; padding: 0; }
   #skip-links li a:focus, #skip-links li a:active { display: block; position: absolute; left: 10001px; top: 0; z-index: 10001; width: 200px; margin: 15px 0 0 15px; padding: 2px 0; background: #333; color: #fff; text-align: center; text-decoration: none; }
 #content { background: #f2f1e6 url(images/content-bg-repeated.jpg) repeat-x; border-bottom: 1px solid #a7a69f; float: left; width: 100%; }
  #wrapper-a { background: url(images/content-bg.jpg) 50% 0 no-repeat; float: left; width: 100%; padding: 0 0 30px; }
   #wrapper-b { width: 920px; margin: 0 auto; }
   .slug-about #content #wrapper-a,
   .parent-pageid-2 #content #wrapper-a { background:url(images/about-bg.jpg) 50% 0 no-repeat;} 
   
    #primary { display: inline; float: right; width: 555px; margin: 0 0 0 0; padding: 30px 0 0; }
    body.home #primary,
	body.slug-ss-test #primary { margin: 0; width: 580px; padding: 0; }
    #aside { float: left; position: relative; top: -13px; width: 325px; padding: 0 0 33px; background: url(images/sidebar.png) 0 100% no-repeat; }
     #wrapper-c { position: relative; width: 259px; margin: -33px 0 0; padding: 33px 34px 0 32px; background: url(images/sidebar.png) no-repeat; }
 #footer { clear: both; width: 675px; padding: 35px 185px 35px 0; position: relative; margin: 0 auto; text-align: center; color: #5c5c5c; }
   
/* GENERAL
------------------------------------------- */

/* headers */

h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; }
h1 { color: #e32d80; font: normal 3.2em/1 Georgia, Tahoma, Verdana, Helvetica, Arial, sans-serif; }
h2 { color: #4d769c; margin: 0 0 20px; font: bold 1.6em/1 Georgia, Tahoma, Verdana, Helvetica, Arial, sans-serif; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.0em; }

/* tables */

table { }
 table th, table td { padding: 5px 10px; border: 1px solid #ccc; }

/* lists */

ul li { padding: 0 0 0 22px; background: url(images/ul-li.png) 0 50% no-repeat; list-style: none; line-height: 2.08; }

.bios { padding-left: 0; overflow: hidden; padding-bottom: 10px; }
 .bios li { margin: 0 0 20px; background: none; padding: 0 0 0 120px; position: relative; line-height: 1.5; min-height: 100px; height: 1%;}
  .bios li p { font-size: 1em; margin: 0; }
  .bios li p.portrait { position: absolute; left: 0; top: 0; }
   .bios li p.portrait img { border: 3px solid #4d769c; }

.positions { padding-left: 0; }
 .positions li { margin: 0; background: none; padding-left: 0; }
  .positions .position { display: inline-block; width: 250px; background: url(images/position-label-dots.png) 0 14px repeat-x; }
   .positions .position strong { background: url(images/position-label-bg.png) 0 14px repeat-x; display: inline-block; padding: 0 5px 0 0;}

.gallery { overflow: hidden; width: 580px; padding-left: 0; margin: 0 0 20px -5px; }
 .gallery li,
 .gallery-item { margin: 0 8px 8px 0; width: 175px; padding: 5px; list-style: none; float: left; background: url(images/gallery-overlay.png) no-repeat; }
  .gallery li img,
  .gallery-icon img { border: 6px solid #fff; display: block; }
  .gallery-caption {padding-left: 0;}
  h2.gallery-link a { color:#4D769C; font-size: 1.3em; font-weight: normal;}

/* other */

.hr { background: url(images/horizontal-separator.png) 0 100% repeat-x; padding-bottom: 25px; margin-bottom: 25px; }
a.button { width: 160px; height: 39px; display: block; overflow: hidden; background: #e32d81 url(images/button.png) no-repeat; text-align: center; font: bold 1.25em/42px Helvetica, Arial, sans-serif; color: #fff; text-decoration: none; }
 a.button:hover { background: #fff url(images/button.png) 0 -39px no-repeat; color: #e32d81; }
/* ELEMENTS
------------------------------------------- */
 #nav { position: relative; margin: 0; padding: 0; width: 259px; height: 460px; background: url(images/navigation.png) no-repeat; }
  #nav li { margin: 0; padding: 0; list-style: none; height: 43px; width: 259px; position: absolute; left: 0; background: none; }
   #nav li a { display: block; height: 43px; width: 100%; text-indent: -999em; overflow: hidden; }
   #nav li a.active,
   #nav li a:hover { background: url(images/navigation.png) no-repeat; }
   #nav li em { position: absolute; left: -999em; }

  #nav li.nav-about { top: 10px; }
   #nav li.nav-about a:hover,
   .slug-about #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-about a,
   .parent-pageid-2 #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-about a { background:url(images/navigation.png) -259px -10px;}
  #nav li.nav-philanthropy { top: 63px; }
   #nav li.nav-philanthropy a:hover,
   .slug-philanthropy #content #wrapper-a #wrapper-b #aside #wrapper-c #nav li.nav-philanthropy a { background:url(images/navigation.png) -259px -63px; }
  #nav li.nav-achievements { top: 116px; }
   #nav li.nav-achievements a:hover,
   .slug-achievements #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-achievements a { background:url(images/navigation.png) -259px -116px; }
  #nav li.nav-scrapbook { top: 169px; }
   #nav li.nav-scrapbook a:hover,
   .parent-pageid-32 #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-scrapbook a,
   .slug-our-scrapbook #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-scrapbook a { background:url(images/navigation.png) -259px -169px; }
  #nav li.nav-recruitment { top: 223px; }
   #nav li.nav-recruitment a:hover,
   .slug-recruitment #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-recruitment a  { background:url(images/navigation.png) -259px -223px; }
  #nav li.nav-officers { top: 276px; }
   #nav li.nav-officers a:hover,
   .slug-officers #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-officers a  { background:url(images/navigation.png) -259px -276px; }
  #nav li.nav-first-mates-crew { top: 329px; }
   #nav li.nav-first-mates-crew a:hover,
   .slug-first-mates-crew #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-first-mates-crew a  { background:url(images/navigation.png) -259px -329px; }
  #nav li.nav-get-in-touch { top: 382px ; }
   #nav li.nav-get-in-touch a:hover,
   .slug-get-in-touch #content #wrapper-a #wrapper-b #aside #wrapper-c #nav .nav-get-in-touch a  { background:url(images/navigation.png) -259px -382px; }

#aside h2.upcoming-events { height: 64px; width: 247px; margin: 0; background: url(images/upcoming-events-button.png) no-repeat; border: 6px solid #fff; text-indent: -999em; }
#aside .events { width: 247px; background: #e7e6dc; border: 6px solid #fff; border-top: none; padding: 0; margin: 0; }
 #aside .events li { margin: 0; padding: 0; list-style: none; padding: 20px; text-align: center; background: url(images/events-separator.png) 50% 0 no-repeat; }
  #aside .events li.first { background: none; }
  #aside .events li p { margin: 0; font-size: 1em; line-height: 1.4;}
   #aside .events li p a { font-weight: bold; color: #4d769c; text-decoration: none; }
    #aside .events li p a:hover { text-decoration: underline; }

#footer p { margin: 0; }
 #footer a { color: #5c5c5c; }

#designed-by { position: absolute; left: 675px; top: 35px; text-align: left; line-height: 2em; width: 200px; }
 #designed-by a { text-decoration: none; }
  #designed-by a img { display: block; }

/* Content
------------------------------------------- */
#intro { width: 555px; overflow: visible; margin: -17px 0 24px 20px; padding: 0 0 5px;  }
 #intro .slideshow { margin: 0 0 24px; padding: 19px; background: url(images/slideshow-bg.png); width: 535px; height: 319px; }
 #intro h1 { width: 494px; height: 98px; background: url(images/home-intro-title.png) no-repeat; text-indent: -999em; }
 #intro p.leadin { font: normal 1.8em/1.67 Georgia, Tahoma, Verdana, Arial, Helvetica, sans-serif; color: #525252; }
 
body.slug-about #primary,
body.parent-pageid-2 #primary { margin: 0; width: 580px; padding: 0; } 
#subnav { margin:0px 0 60px 0; overflow:visible; padding:11px 0 10px 0; width:580px; }
#subnav ul { float: left;}
li.page_item {float:left;  background: none; padding: 0 15px 0 0;}
#subnav a { color: #4d769c; padding: 0 0 0 15px; border-left: 1px solid #4d769c;}
#subnav a.first { border-left: none; padding: 0; }

#page-sections { background: url(images/sections.png) no-repeat; padding: 0 12px; overflow: hidden; }
 #page-sections .section { float: left; width: 180px; margin: 0 15px 0 0;  }
 #page-sections .section-c { margin: 0; width: 165px; }
  #page-sections h2 a { color: #4d769c; text-decoration: none;  display: block; padding: 155px 0 0; width: 100%; }


 
 
 /* CB - change proximity on achievements and recruitment pages */
 .entrytext ul li {  line-height: 18px; margin-top: 9px; } /* proximity */
 
 .slug-help embed { margin-bottom: 40px;}
 
 .members-only-nav { list-style-type: none; }
 .members-only-nav li { display: inline; float: left; background: none;}
 
 
#aside #wrapper-c ul.members-only { 
  position: relative;
  list-style-type: none; 
  margin: 0;
  padding: 8px;

} 
#aside #wrapper-c ul.members-only li { 
  padding: 0; 
  margin: 0;
  } 
 
#aside #wrapper-c ul.members-only li a {  
  font-size: 1.5em;
  text-align: center; 
  background: #4d769c;
  color: white;
  text-decoration: none;
  cursor: pointer;
  display: block;
  padding: 11px;
}

#wp-calendarLarge .dayHead {
  background: #4D769C;
}
