/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */



html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Mel Karch custom styles
   ========================================================================== */
   


 
body { background:#f5f5f5; display:block; margin:0 auto; width:1260px; }

.container { margin:0 auto; width:1230px; }
.clear { clear:both; }
.col { float:left; margin:0 15px; }
/*.col_1_3 { width:390px!important; }*/
/*.col_1_3:nth-child(3n+1) {
	margin-left:0;
}
.col_1_3:nth-child(3n+3) {
	margin-right:0;
}*/
.col_2_3 { width:808px; }
.col_1_5 { width:190px; }
.col_1_5+.col_1_5_large { margin-left:72px; }
.col_1_5_large { width:240px; }

.hidden { display:none; }

.first { margin-left:0; }
.last { margin-right:0; }


h1 { font-family: "Didot W01 Roman", Times, serif; font-size:32px; letter-spacing:-1px; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
h1 span { font-family: "Didot W01 Italic", Times, serif; }
p { color:#000000; font-family: "Didot W01 Italic", Times, serif; font-size:13px; f-webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
/*a { font-family: "EngraversGothic", Helvetica, Arial, sans-serif; }*/
a {
	-webkit-transition: color .4s; /* For Safari 3.1 to 6.0 */
	transition: color .4s;
}
a:hover { color:#666666; }
a[href^=tel] { font-family: "Didot W01 Roman", Times, serif; font-size:14px; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
aside a { color:#000000; text-decoration:none; }
img { max-width: 100%; }
article > header > aside,
	figcaption,
	aside a { font-family:"EngraversGothicBTW01-Re", Helvetica, Arial, sans-serif; font-size: 11px; font-weight:normal; letter-spacing: 1px; margin:15px 0; text-transform: uppercase; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; } 
figure > a { display:block; }
figure > a > img { display:block; margin:0 auto; }
figcaption { margin-bottom:0; margin-top:12px; text-align:center; }

.item header > aside { margin:5px 0 12px 0; }

#main_container { margin-top:105px; position:relative; width:1260px; }
article:not(.photo_set):last-child { margin-bottom:35px; }

.cliche { float:none!important; margin-top:0px!important; }
.cliche .item { float:none!important; }
.cliche > img {
		-webkit-transition: opacity .4s; /* For Safari 3.1 to 6.0 */
		transition: opacity .4s;
}
.cliche:hover >img { opacity:.6; }
/*.isotope_container .item { margin-bottom:36px; }*/

#loader { position:absolute; left:50%; margin:-12px 0 0 -12px; top:50%; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
body > header { background:#f5f5f5; border-bottom:thin solid #000000; height:90px; margin:0 15px; position:fixed; top:0; width:1230px; z-index:100; }
body > header > aside { position:absolute; right:0; top:34px; }
#logo { display:block; float:left; height:28px; margin-right:220px; margin-top:24px; width:200px; font-family: "Didot W01 Roman", Times, serif; text-decoration:none; color:black; font-size:30px;}

nav { float:left; list-style-type: none; margin-top:37px; width:550px; }
nav a { color:#000000; font-family:"EngraversGothicBTW01-Re", Helvetica, Arial, sans-serif; font-size:12px; letter-spacing:2px; text-decoration:none; text-transform:uppercase; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
nav a:hover,
	nav a.current { text-decoration:underline; }
nav li { float:left; margin-right:19px; }

#switch_to_list,
	#switch_to_grid { display:block; float:right; height:21px; width:21px; }
#switch_to_list.inactive,
	#switch_to_grid.inactive { opacity:.3; }
#switch_to_list { background:url(../img/ui/icon_display_list_active_3.png) no-repeat; margin-right:15px; }
#switch_to_grid { background:url(../img/ui/icon_display_grid_active.png) no-repeat; }

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.item { margin:15px; width:390px; }
#infscr-loading { background:white; border-radius:6px; bottom:100px; display: block; font-family: "Didot W01 Roman", Times, serif; font-size:28px; margin-left:445px; padding:6px 0; position:fixed; text-align:center; width:370px; }

/* --------------------------------------------------------------------------
   Category page
   -------------------------------------------------------------------------- */
article header p:first-child { margin-top:15px; }
.cliche img { display:block; margin:0 auto; }
.photo_set_title,
	.photo_set_title a { color:#000000; font-family: "Didot W01 Roman", Times, serif !important; font-weight: normal; line-height: 35px; margin-bottom: 0; margin-top: 15px; text-decoration:none; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
.photo_set_title a:hover { color:#666666; }
.story_thumbnail { max-height:252px; width:auto; }
.isotope_container.covers .item { margin-bottom:0; width:390px!important; }
.isotope_container.covers .fancybox .item { margin:36px 0 0 0!important; }
.isotope_container.covers .item h1 { margin-top:0; }
.isotope_container.covers { padding-bottom:16px; }
.covers .item{ height: 279px; }
/*.covers a.item{ height: auto; }*/
.covers a.item img { max-height:100%; height:auto; margin: 0 auto!important; width:auto }

/* --------------------------------------------------------------------------
   One photo-set page
   -------------------------------------------------------------------------- */
article.photo_set header { margin-top:0; position:fixed; }
article.photo_set.covers header { display:none; }
article.photo_set figure { margin-left:437px; margin-top:15px; }
article.photo_set img { margin-bottom:36px; max-height:545px; }
article.photo_set:not(.covers) + aside { margin-left:15px; margin-top:-52px; position:absolute; }
article.photo_set.covers + aside { margin-bottom:15px; margin-left:15px; }
.cliche .fancybox.item img { margin:0; background:none; border:none; padding:0!important; }
.fancybox-last { right:-70px; }
.fancybox-last span { right:0; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
body#about #main_container { margin-top:125px; width:1230px; }
body#about h2 { font-family:"EngraversGothicBTW01-Re", Helvetica, Arial, sans-serif; font-size:12px; font-weight:normal; letter-spacing:2px; margin-top:0; text-transform:uppercase; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
body#about article:first-child { margin-bottom:35px; width: 100%; }
body#about p { font-family: "Didot W01 Roman", Times, serif; font-size:14px; font-style:normal; line-height:19px; margin-bottom:34px; margin-top:14px; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
body#about article a { color:#000000; text-decoration:none; }
body#about article a:hover { color:#666666; }
body#about article > a { display:block; font-family:"EngraversGothicBTW01-Re", Helvetica, Arial, sans-serif; font-size:12px; font-weight:normal; letter-spacing:2px; margin-bottom:30px; text-transform:uppercase; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
#form_newsletter { margin-bottom: 30px; margin-top: -20px; }
#form_newsletter input { font-family:Arial, sans-serif; font-size:12px; font-weight:normal; margin-bottom:43px; }
#form_newsletter input[type="email"] { background: #000000; border: none; color: #FFFFFF; padding: 2px 10px; width: 125px;
}
#form_newsletter input[type="submit"] { background: none; border: none; }

#inscriptionMsg,
	#inscriptionMsgError { display: block; font-family: "Didot W01 Roman"; font-size: 13px; margin-bottom: 30px; margin-top: -20px;}
#inscriptionMsg { color:forestgreen; }
#inscriptionMsgError { color:tomato; }

body#about #artlist_logo { margin-top:-15px; margin-bottom:60px; }

a.fancybox { float:left; width:100%; }


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}
@media only screen and (max-width: 1300px){
	body > header { position:absolute; }
	article.photo_set header { position:absolute; }
}

/*
@media only screen and (max-width: 1260px) {
	body > header > aside { right:30px; }
}

@media only screen and (max-width: 869px) {
	nav { margin-top: 6px; }
}
*/
@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}