/* Codebase Override ------------------------------------------------ */

/* Hide foundation elements for sites still using old admin css. */
.sc-msg .close {
    display: none;
}
.sc-msg {
    margin: 1.5em 0;
}
.sc-msg-success,
.sc-msg-notice,
.sc-msg-warning,
.sc-msg-error {
    font-size: 100%;
    padding: .3em .2em;
    margin: 0 0 .4em 0;
    border: 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    background-color: #F1F6F6;
}
td.sc-msg-error {
    /* Form label errors */
    border: 0;
    background-color: inherit;
}
.sc-msg-success {
    color: #298F5A;
}
.sc-msg-notice {
    color: #C17400;
}
.sc-msg-warning,
.sc-msg-error {
    color: #CE0019;
}

/* --- UTILITIES ---------------------------------------------------- */

.headerdate { font-weight: normal; }
.nowrap    { white-space: nowrap; }
.phead     { margin: .5em 0 0 0; padding:0; }
.sc-help {
    max-width: 48em;
    font-weight: normal;
    font-style: italic;
}

/* --- GLOBAL ------------------------------------------------------- */
body {
    background: #B0C8F7;
    margin: 0;
    padding: 0;
    font-family: helvetica,arial,sans-serif;
    color: #212BA5;
    font-size: 12px;
    text-align: center;
}

a:link,
a:visited   { color: #212BA5; text-decoration: underline;}
a:hover     { color: #101474; text-decoration: none;}
a:active    { color: #101474; text-decoration: none; }

a img,
img {
    border: none;
}

h1 {
    font-size: 250%;
    margin: 0 0 .1em 0;
    color:#212BA5;
}
h2 {
    font-size: 170%;
    margin: .5em 0 .5em 0;
	padding-top: 4px;
	padding-left: 4px;
	background: #111678 url(/i/features_bg.gif) repeat-x left top;
	color:#fff;
}
h3 {
    font-size: 150%;
    margin: .5em 0 .5em 0;
    color:#212BA5;
}
h4 {
    font-size: 70%;
    margin: .5em 0 .5em 0;
    color:#212BA5;
}
p {
    margin: 0 0 .5em 0;
    max-width: 48em;
    line-height: 130%;
}

form,
fieldset,
legend {
    margin: 0;
    border: 0;
    padding: 0;
}

ul {
    margin: 0 0 .5em 0;
    padding: 0 0 .5em 1.75em;
}
ul li {
    max-width: 48em;
    line-height: 130%;
}

table {
    border-size: 1px;
    border-collapse: collapse;
    border-spacing: 0;
}
th {
    padding: 2px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}
td {
    vertical-align: top;
}

form label {
    margin-top: 2em;
    max-width: 25em;
    font-weight: bold;
}

input.text,
textarea,
select {
    background-color: #DAE6ED;
    border: 1px solid #212ba5;
}

input.submit {
    color: #ffffff;
    font-weight: bold;
    background-color: #DD01D4;
    border: 1px solid #212ba5;
}

#content input.text,
#content textarea,
#content select {
    background-color: #fff;
}

.hotpink {
	color: #DD01D4;
	font-size: 120%;
	font-weight: bold;
}


/* --- LAYOUT ------------------------------------------------------- */

#container {
    text-align: center;
}
#container-inner {
    width: 940px;
    margin: 0 auto;
    text-align: left;
}

#header {
    background: #f1f6f6 url(/i/topnav_gradient.jpg) repeat-x;
    border-bottom: 5px solid #D10BDD;
}
#header-inner {
    height: 1%;
}

#page {
    background: #DAE6ED url('/i/page-bg.gif') repeat-y top right;
}
* html #page {
    background-image: url('/i/page-bg-ie6.gif');
    }
#page-inner {
    background: url(/i/sidebar_gradient.gif) repeat-x;
    height: 1%;
}

#content {
    float: left;
    width: 740px;
}
* html #content {
    width: 737px;
}
#content-inner {
    padding: 20px;
}

#sidebar {
    float: left;
    width: 200px;
}


/* --- HEADER ------------------------------------------------------- */

#header-inner {
    margin: 0;
    padding: 15px 0;
    font-weight: bold;
}

#logo {
    float: left;
    margin: 12px 45px;
}

#topmenu {
    float: left;
    margin-top: 28px;
}

#topmenu ul {
    list-style: none;
    width: 160px;
    float: left;
    padding: 0;
    margin: 0;
    background: url(/i/left_line.gif) repeat-y 0 0;
}

#topmenu li {
    margin: 0 0 0 20px;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 15px;
    text-transform: uppercase;
}


#header a:link,
#header a:visited   { color: #212BA5; text-decoration: none;}
#header a:hover     { color: #C701BB; text-decoration: none;}
#header a:active    { color: #C701BB; text-decoration: none; }

#topmenu ul li.membersonly a:link,
#topmenu ul li.membersonly a:visited,
#topmenu ul li.membersonly a:hover,
#topmenu ul li.membersonly a:active { color: #aaa; }


.membersonly a span {
    display: none;
    position: absolute;
    border: 1px solid #212BA5;
    padding: 3px;
    width: 10em;
    background: #DAE6ED;
    color: #212BA5;
    text-transform: none;
}
.membersonly a:hover span { display: block; }

/* .ToolTip {
    background-color:#FFFFDD;
    border-color:#CCCCCC rgb(51, 51, 51) rgb(51, 51, 51) rgb(204, 204, 204);
    border-style:solid;
    border-width:1px 2px 2px 1px;
    color:#000000;
    cursor:default;
    font-size:12px;
    padding:8px;
    position:absolute;
    text-align:left;
}
 */

/* --- CONTENT ------------------------------------------------------ */
#content-inner {
    background: #DAE6ED url(/i/content_top_gradient.jpg) repeat-x;
    height: 1%; /* HOLLY HACK for IE */
}

* html body#edition #content div,
* html body#edition #content form,
* html body#home #content div,
* html body#home #content form {
/*    position: relative;*/
}


/* --- SIDEBAR ------------------------------------------------ */

#sidebar {
    color: #fff;
}

#sidebar a:link,
#sidebar a:visited   { color: #fff; text-decoration: underline;}
#sidebar a:hover     { color: #C701BB; text-decoration: none;}
#sidebar a:active    { color: #C701BB; text-decoration: none; }

#sidebar .module {
    margin: 10px;
    padding: 0 0 10px 0;
    border-bottom: 1px dashed #ccc;
}

#sidebar .sc-form-row {
    margin-bottom: 3px;
}

#no-flash {
    color: #F74C83;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#sidebar h3 {
    margin-bottom: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

#sidebar .sc-small { width: 160px; }

.banner {
	margin-top: 10px;
}

.banner img {
	border: 0px;
}

#social-icons a:last-child {
    margin-left: 0px;
}
#social-icons a {
    margin-right: 5px;
}


/* --- FOOTER ------------------------------------------------------- */
#footer {
    clear: both;
    margin: 0;
    padding: 6px 0 40px;
    color: #212BA5;
	font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color:#B0C8F7;
    font-size: 80%;
    line-height: 170%;
    text-transform: uppercase;
}

#footer a:link,
#footer a:visited {
    color: #212BA5;
    border: none;
}
#footer a:active,
#footer a:hover
{
    color: #333333;
    border: none;
}

#footer-logo {
    padding: 0 6px 20px 0;
    float: left;
}


/* --- BREADCRUMBS ------------------------------------------------------ */

#breadcrumbs {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 90%;
    margin: 0 0 1em;
    padding: 0;
    color: #212BA5;
}
#breadcrumbs a:link,
#breadcrumbs a:visited   { color: #212BA5; text-decoration: none;}
#breadcrumbs a:hover     { color: #C701BB; text-decoration: none;}
#breadcrumbs a:active    { color: #C701BB; text-decoration: none; }

#breadcrumbs .delim {
    padding: 0;
    color: #212BA5;
    font-weight: bold;
}


/* --- ACCOUNT PAGE USER LIST --------------------------------------- */

#accountlist {
    margin: 10px 0;
}
#accountlist th
{
    padding: .9em 1.2em .4em 1em;
    background-color: #fff;
    border-bottom: 2px solid #212BA5;
}
#accountlist td {
    vertical-align: middle;
    padding: .2em 2em .2em 1em;
    border-bottom: 1px dotted #212BA5;
}
#accountlist tr:hover {
    background: #FAF8C7;
}
#accountlist a {
    border: none;
}

#featuredphotos {
    float: right;
    margin: 13px 0 10px 25px;
}

#featuredphotos {
    list-style-type: none;
}

#featuredphotos li {
    display: inline;
    line-height: 1.2;
}

.photo-link {
    display: block;
    border: 1px solid #fff;
}

.title, .location {
	background: none;
	padding-left: 5px;
	font-family: verdana;
	font-size: 90%;
}
.title {
	margin-top: 3px;
	margin-bottom: 2px;
}
.location {
	padding-bottom: 3px;
	border-bottom: 1px solid #212BA5;
}

/* Edition ---------------------------------------------------------------------------------- */

.edition-subtitle {
    clear: right;
}

/* --- HOME PHOTO BAR ----------------------------------------------- */

#photolinks {
    list-style-type: none;
    margin: 15px 0 0 0;
    padding: 0;

}
#photolinks li {
    display: inline;
}

#photolinks a:link, #photolinks a:visited {
    border: 0;
    background: none;
}
#photolinks a:link img, #photolinks a:visited img {
    border: 0;
    background: none;
}

#photolinks a:hover, #photolinks a:active {
    border: 0;
    background: none;
}
#photolinks a:hover img, #photolinks a:active img {
    border: 0;
    background: none;
}

.photo div a:link, .photo div a:visited {
    border: 0;
    background: none;
}
.photo div a:link img, .photo div a:visited img {
    border: 0;
    background: none;
}

.photo div a:hover, .photo div a:active {
    border: 0;
    background: none;
}
.photo div a:hover img, .photo div a:active img {
    border: 0;
    background: none;
}



/* --- GALLERY PHOTO BAR -------------------------------------------- */

#galleries-list td{
    border-bottom: 1px dashed #fff;
}

table.galleryphotobar {
    border: none;
    margin: 5px 0 15px 0;
    background: #DAE6ED;
    width: 100%;
}
table.galleryphotobar td.photodetail h2 {
    margin: 0px;
    padding: 5px 0 0;
}

table.galleryphotobar td.photodetail {
    vertical-align: top;
    padding: 2px 5px 0 17px;
}
table.galleryphotobar td.photo {
    vertical-align: top;
	padding-top: 10px;

}
table.galleryphotobar td.photo a, table.galleryphotobar td.photodetail a {
/*     border: none; */
}


/* --- FAQ PAGE ----------------------------------------------------- */

dl.faq {
    padding:0;
    margin:0;
}
.faq div.question dt {
    margin: 0;
    max-width: 48em;
    line-height: 130%;
}
.faq div.answer dt {
    font-weight: bold;
    margin: 0 0 0 0;
    max-width: 48em;
    line-height: 130%;
}
.faq div.answer dd {
    margin: 0 0 .5em 2em;
    max-width: 48em;
    line-height: 130%;
}


/* --- PHOTO DETAIL ------------------------------------------------- */

#photodetail {
    float: right;
    margin: 0px 0 5px 5px;
    border: 1px solid #212BA5;
    background: white;
    padding: 5px;
}
#photocaption {
    padding: 5px 0;
    font-size: 130%;
    font-weight: bold;
    border-bottom: 1px solid  #212BA5;
    border-top: 1px solid  #212BA5;
    margin-top: 15px;
}
#photocaptionempty {
    border-bottom: 1px solid  #212BA5;
    margin-top: 15px;
}
.photodetails {
    margin: 5px 0 10px;
    line-height: 1.3;
}

.photoclear {
    margin-top: 15px;
}

/* --- SLIDESHOW ---------------------------------------------------- */

body.slideshow {
    margin:0;
    padding:0;
    background-color: #B0C8F7;
}
#slideshow-top {
    background-color: #fff;
    padding: 5px;
    height: 30px;
    vertical-align: baseline;
}
#slideshow-top .commands {
    padding-top: 0;
}
#slideshow-logo {
    padding-right: 10px;
    float: left;
}
#content-slideshow {
    margin:0;
    padding:0;
}
#content-slideshow .commandtext {
}
#content-slideshow #slideshowdetail {
    margin: 5px 0 5px 5px;
    border: 1px solid #212BA5;
    background: white;
    padding: 5px;
}
.slideshow-photo {
    text-align: center;
    padding-top: 8px;
}
#slideshow-caption {
    font-size: 150%;
    color: #212BA5;
    text-align: center;
    padding-top: 15px;
}

.landscape-img {
    margin-top: 75px;
}

/* --- SEARCH FORM -------------------------------------------------- */

#metadata {
    color: #212BA5;
    width: 100%;
    margin-top: 5px;
}
#metadata td {
    vertical-align: top;
/*     width: 140px !important; */
/*    background-color: #f1f6f6;*/
}
#metadata .checkboxgroup {
    padding: 2px;
/*    width: 128px;*/
    overflow: hidden !important;
}
#metadata .checkboxgroup table {
    width: 124px;
}
#metadata .checkboxgroup strong {
    display: block;
    margin-bottom: 4px;
}
#metadata .checkboxgroup td {
    border-top: 1px solid #f1f6f6;
    vertical-align: top;
    line-height: 1.2;
}
#metadata .checkboxgroup td label {
    display: block;
    margin-top: 2px;
}
#metadata p {
    margin: 0;
    padding: 0;
}

.searchtable td {
    vertical-align: baseline;
}

#search-tabs {
    height: 25px;
    margin: 0;
    padding: 10px 0 0 10px;
    border-bottom: 2px solid #fff;
}
#search-tabs li {
    margin: 0;
    padding: 0;
    display: inline;
    list-style-type: none;
}
#search-tabs a
{
    float: left;
    font-size: 130%;
    font-weight: bold;
    padding: 5px 15px 5px 15px;
    margin-right: 8px;
    text-decoration: none;
    color: #666;
}
#search-tabs a:link.current, #search-tabs a:visited.current
{
    background: #fff;
}
#search-tabs a:hover
{
    background: #fff;
}
#content #search-form {
    background: #fff;
    padding: 10px;
}

#location-search-form {
    margin: 1em 1em 1em 1.5em;
}

#country-list ul {
    list-style-type: none;
    margin: 1em 1em 0 0;
    float: left;
}
#country-list li {
    max-width: 10em;
}

.transferIndicator {
    border: #212BA5 1px solid;
}


/* Default Content Lists ---------------------------------------------------------------  */

.images-list {
    list-style-type: none;
    padding-left: 0;
}

.images-list li {
    position: relative;
    float: left;
    margin: 1px 4px 1px 0;
}


/* --- For to make square the thumbs --------------------------------- */
.square {
    display: block;
    width: 95px;
    height: 95px;
    overflow: hidden;
    border: 1px solid #fff;
}

.image-pop {
    position: relative;
    display: block;
    top: -4px;
    left: -4px;
    z-index: 1;
    overflow: visible;
}

.image-pop img {
    border: 1px solid #999999 !important;
    padding: 3px;
    background-color: #fff;
}

.square-large {
    display: block;
	width: 300px;
	height: 390px;
    overflow: hidden;
    border: 1px solid #fff;
}
#thumbnails li,
#photolinks .photo {
    margin: 0 3px 3px 0;
    padding: 0;
}
#photolinks .photo {
    float: left;
}
#thumbnails img,
.photo img {
    border: 10px;
}

.photo {
    position: relative;
}


/* Show scrapbook-links only on image hover. */
#thumbnails li a.scrapbook-command,
.photo a.scrapbook-command {
    position: absolute;
    margin: -1.7em 0 0 .5em;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    display: none;
    z-index: 2;
}
#thumbnails li a.scrapbook-command {
        margin: 0;
        left: .5em;
        bottom: .5em;
}
#thumbnails li:hover a.scrapbook-command,
.photo:hover a.scrapbook-command {
    display: block;
    z-index: 2;
}



/* --- Command links ------------------------------------------------ */

.commands {
    list-style-type: none;
    margin: 15px 0 0;
    padding: 0;
}

.commands li {
    display: inline;
    border-left: 1px solid #999;
    padding-left: 0.8em;
    margin-left: 0.4em;
}

.commands li.first {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
}

.pagenumbers {
    float: right;
    margin: 5px 0;
    padding: 0;
}
#slideshow-top .pagenumbers {
    margin: 15px 0 0 0;
}
* html .pagenumbers {
    padding-top: 1em;
}

.pagenumbers * {
    position: relative;
    padding: 4px 4px 2px 4px;
    background-color: #fff;
    border: 1px solid #999;
}
.pagenumbers a {
    text-decoration: none;
}
.pagenumbers a:hover {
    background-color: #212BA5;
	color: #fff;
}

/* --- Gallery list (current edition and article search results) ---- */

#galleries-list {
    margin-bottom: 20px;
}

form#freesample { clear: both; }
.offscreeeeen {
    display: block;
    left: -9999999px;
    height: 0;
    width: 0;
    opacity: 0;
    position: absolute;
}

/* --- Gallery thumbnail page --------------------------------------- */

#gallery-full {
    width: 707px;
}
#gallery-left-half {
    width: 380px;
    float: left;
}

#gallery-left-half p:last-child {
    background: url(/i/trendease_logo_mini.gif) no-repeat right bottom;
}

#gallery-right-half {
    width: 303px;
    float: right;
}

/* --- Tour box ----------------------------------------------------- */

#tourbox {
    width: 700px;
    overflow: hidden;
}

#tourbox map {
	padding-bottom: 10px;
}

/* #home #content table { border: 1px solid #000;} */

/* Directory ---------------------------------------------------------------------------------- */

.column {
    float: left;
    width: 45%;
}

.dim {
    filter:alpha(opacity=25);
    -moz-opacity:.25;
    opacity:.25;
}

/* --- Join ----------------------------------------------------- */
.seal {
	float: right;
	margin-top: -55px;
}

.joinedit {
    float: right;;
    margin: 2px;
    font-size: 70%
}

.joinedit * {
    color: #fff !important;
}
