/* ========= */
/* = RESET = */
/* ========= */

* { margin: 0; padding: 0; }
a img,img { border: none; }
h1,h2,h3 { margin-bottom: 0.5em; }
p { margin-bottom: 1em; }
.hide { display:none !important; }
a{outline:none;}
.clear {clear:both;}

/* ======== */
/* = GRID = */
/* ======== */

#holdall, .holdall { width: 960px; margin: 0 auto; overflow:hidden; }
* html #holdall, * html .holdall { width: 980px; }

.gridcount_1em { width:15px; }
.gridcount_2em { width:30px; }
.gridcount_3em { width:45px; }
.gridcount_1 { width:60px; }
.gridcount_2 { width:140px; }
.gridcount_3 { width:220px; }
.gridcount_4 { width:300px; }
.gridcount_5 { width:380px; }
.gridcount_6 { width:460px; }
.gridcount_7 { width:540px; }
.gridcount_8 { width:620px; }
.gridcount_9 { width:700px; }
.gridcount_10 { width:780px; }
.gridcount_11 { width:860px; }
.gridcount_12 { width:940px; }

.gridheight_1em { height:15px; }
.gridheight_2em { height:30px; }
.gridheight_3em { height:45px; }
.gridheight_1 { height:60px; }
.gridheight_2 { height:140px; }
.gridheight_3 { height:220px; }
.gridheight_4 { height:300px; }
.gridheight_5 { height:380px; }
.gridheight_6 { height:460px; }
.gridheight_7 { height:540px; }
.gridheight_8 { height:620px; }
.gridheight_9 { height:700px; }
.gridheight_10 { height:780px; }
.gridheight_11 { height:860px; }
.gridheight_12 { height:940px; }

.column { margin:0 10px;overflow:hidden;float:left; }
.row { display: none; overflow: auto; clear: both; } /* hide possible column layouts by default */
.row .row { margin: 0 -10px; } /* make rows inside of other rows wrap correctly */

/* ============== */
/* = THUMBNAILS = */
/* ============== */

.thumbnail { float: left; overflow: hidden; } /* crop thumbnails if necessary */
.thumbnail a { display: table-cell; vertical-align: middle; } /* vertically center thumbnails */


/* =============== */
/* = THUMB LIST  = */ 
/* =============== */

#ocl_subpage ul.thumb_list li { list-style: none outside; clear: both; overflow: auto; } /* clear the floating DIVs inside the LI */
#ocl_subpage ul.thumb_list .thumbnail, ul.thumb_list .meta { float: left; }
#ocl_subpage ul.thumb_list .thumbnail { margin-right: 20px; }
#ocl_subpage ul.thumb_list .thumbnail img{max-width:130px;max-height:130px;}
#ocl_subpage ul.thumb_list .title { display: block; }

#ocl_subpage ul.border { /*border-top: 1px solid #e2e2e2;*/ }
#ocl_subpage ul.border li { border-bottom: 1px solid #e2e2e2; }

#ocl_our_academies ul.thumb_list li { list-style: none outside; clear: both; overflow: auto; } /* clear the floating DIVs inside the LI */
#ocl_our_academies .gridcount_7 .page-description {min-height:380px;}
#ocl_our_academies ul.thumb_list .thumbnail, ul.thumb_list .meta { float: left; }
#ocl_our_academies ul.thumb_list .thumbnail { margin-right: 20px; }
#ocl_our_academies ul.thumb_list .title { display: block; }

#ocl_our_academies ul.border { border-top: 1px solid #e2e2e2;; }
#ocl_our_academies ul.border li { border-bottom: 1px solid #e2e2e2; }

#academy_home.hadley ul.thumb_list li { list-style: none outside; clear: both; overflow: auto; } /* clear the floating DIVs inside the LI */
#academy_home.hadley ul.thumb_list .thumbnail, ul.thumb_list .meta { float: left; }
#academy_home.hadley ul.thumb_list .thumbnail { margin-right: 20px; }
#academy_home.hadley ul.thumb_list .title { display: block; }

#academy_home.hadley ul.border { border-top: 1px solid #e2e2e2;; }
#academy_home.hadley ul.border li { border-bottom: 1px solid #e2e2e2;; }


/* ============== */
/* = LABEL LIST = */
/* ============== */

ul.label_list { border-top: 1px; margin-top: -1px; }
ul.label_list li { list-style: none outside; overflow: auto; border-bottom: 1px solid #e2e2e2;; }
ul.label_list li label, ul.label_list li span { float: left; }


/* grid */
#grid { display: none; position: fixed; top: 0; height: 100%; width: 960px; margin: 0 auto; background: url('/other_files/images/grid2.png') repeat-y; }
