/* Responsive Gallery Page - Built by Klaye Morrison. Not to be used without permission. All scripts are copyright to their respective owners */


#upgrade { width:100%; height:50px; font:14px/50px arial; color:#333; text-align:center; background:#FFFBCC; display:none; display:block\0; }
#upgrade a { width:120px; height:30px; margin-left:5px; color:#FFF; font-size:12px; font-weight:bold; line-height:30px; text-transform:uppercase; display:inline-block; background:#E79E18; position:relative; border-radius:4px; }




/* Content */

#gallery {margin:0; padding:0; display:block; background-size:100% auto; }
#gallery .item { margin:1px; position:relative;border: none; }
#gallery .item img { width:100%; width:auto\0; height:auto; height:350px\0; margin:1px 0; color:#FFF; float:left; background: url(../uploads/images/loader.gif) no-repeat center;}
#gallery .item.portrait div { width:50%; float:left; }
#gallery .item.portrait a { display:block; }
#gallery .item.portrait div:first-child a { margin-right:1px; }
#gallery .item.portrait div:last-child a { margin-left:1px; }
#gallery:after { content:""; display:block; clear:both; }
.ui-tooltip { height:26px; padding:0 7px; font:12px/26px "ff-dax-web-pro",arial; color:#555; box-shadow:1px 1px 0 rgba(0,0,0,.2); background:#FFF; position:absolute; z-index:999999; border-radius:4px; }


#colorbox, #cboxOverlay, #cboxWrapper { position:absolute; top:0; left:0; z-index:999999; overflow:hidden; }
#cboxWrapper { max-width:none; }
#cboxOverlay { position:fixed; width:100%; height:100%; }
#cboxMiddleLeft, #cboxBottomLeft { clear:left; }
#cboxContent { position:relative; }
#cboxLoadedContent { overflow:auto; -webkit-overflow-scrolling: touch; }
#cboxTitle { margin:0; }
#cboxLoadingOverlay { position:absolute; top:0; left:0; width:100%; height:100%; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { cursor:pointer; }
.cboxPhoto { float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic; }
.cboxIframe { width:100%; height:100%; display:block; border:0; }
#colorbox, #cboxContent, #cboxLoadedContent { box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; }
#cboxOverlay { background:#000; }
#colorbox { outline:0; }
#cboxContent { margin-bottom:30px; background:#000; }
.cboxIframe { background:#fff; }
#cboxError { padding:50px; border:1px solid #ccc; }
#cboxLoadedContent { border:none; background:#000; }
#cboxTitle { position:absolute; bottom:-27px; left:0; font:400 16px/20px 'Lato',arial; color:#FFF; }
#cboxLoadingGraphic { display:none;background: url(../uploads/images/loader.gif) no-repeat; }
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose { border:0; padding:0; margin:0; overflow:visible; background:none; }
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active { outline:0; }
#cboxSlideshow { position:absolute; top:-20px; right:90px; color:#fff; }
#cboxPrevious, #cboxNext { width:40px; height:40px; margin-top:-20px; position:absolute; top:50%; text-indent:-99999px; }
#cboxPrevious { left:0; border-radius:0 4px 4px 0; background:rgba(0,0,0,0.2) url(../uploads/images/pd-pre.png) no-repeat top center; }
#cboxNext { right:0; border-radius:4px 0 0 4px; background:rgba(0,0,0,0.2) url(../uploads/images/pd-next.png) no-repeat top center; }
#cboxClose { position:absolute; top:0; right:0; display:block; background:rgba(0,0,0,0.2) url(../uploads/images/pd-close.png) no-repeat top center; border-radius:0 0 0 4px; width:40px; height:40px; text-indent:-9999px; }
#cboxPrevious:hover, #cboxNext:hover, #cboxClose:hover { background-color:#d9531e; }

.column { margin-bottom:1px; float:left; }
.items-5 { width:20%; }
.items-4 { width:25%; }
.items-3 { width:33.33%; }
.items-2 { width:50%; }
.items-1 { width:100%; }
#gallery[data-columns]::before { position:absolute; right:9999em; bottom:9999em; visibility:hidden; }
@media only screen and (min-width:1921px) { #gallery[data-columns]::before { content:'5 .column.items-5'; } .column:nth-child(5) .item { margin-right:0 !important; } }
@media only screen and (max-width:1920px) and (min-width:1400px) { #gallery[data-columns]::before { content:'4 .column.items-4'; } .column:nth-child(4) .item { margin-right:0 !important; } }
@media only screen and (max-width:1400px) and (min-width:600px) { #gallery[data-columns]::before { content:'3 .column.items-3'; } .column:nth-child(3) .item { margin-right:0 !important; } }
@media only screen and (max-width:600px) and (min-width:340px) { #gallery[data-columns]::before { content:'2 .column.items-2'; } .column:nth-child(2) .item { margin-right:0 !important; } }
@media only screen and (max-width:340px) { #gallery[data-columns]::before { content:'2 .column.items-2'; } .column .item { margin-right:0 !important; } }

/* Resize */

@media only screen and (min-width:1025px) {
a, #cboxClose, #cboxPrevious, #cboxNext, button { transition-duration:0.2s; -webkit-transition-duration:0.2s; transition-timing-function:ease; -webkit-transition-timing-function:ease; }
}
