/**
 *
 */
html,
body {
    margin:0;
    padding:0;
    height:100%;
}
html{
    overflow-y:scroll;
}
.image-wrapper {
	background-image: url('data:image/gif;base64,R0lGODlhFAAQAMIAAOzq7PT29PTy9Pz+/Ozu7Pz6/P///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQICgAAACwAAAAAFAAQAAADVmi63P4wykaqMKGSMfQVGgAQnwgUg1kSJmmw7FCIbmWO65niBnjXLACHdrG1CL2RjpgM8gQmGdNIQ/qEO6BzlBQNAq0uICAIBAwF8+ZrPqfLk7h8LkkAACH5BAgKAAAALAAAAAAUABAAg7y6vOzq7PT29MzKzMTCxPTy9Pz+/Ly+vOzu7Pz6/NTW1P///wAAAAAAAAAAAAAAAARu8BCilr04LzJG1aB1dF+ocd4iIKxhsEixFPCYFkGeGHkg44gAqkLLGRK52IKVsxEDQVfyFxSSVL3ddFl1zqCB4xZovYG1UBkz4BX0pGlucPgNCnjJb/MqWN0NBX0CCwkCgXQmGl6JGQAHByWMFhEAIfkECAoAAAAsAAAAABQAEACEvLq83N7czM7M9PL0zMrM7Ors1NbU/Pr8xMLEvL685OLk1NLU9Pb07O7s3Nrc/P78////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABZGgEigF5CBIckBs6wqGEZgEkTxuDsHO7NSIla4lcCx8tdujwRxABswGzKCAGAQEBONR6DoHhUaheKQJlN2Gk9nlIbMHbvgrHhsW1avtIVdD2AULC1RmQQdpX2F2PTR7fWt1ZEhncYh/bFN5BAJacmFPXWNGb0oDDKcQBwymboVCQxAECwKkOLBPA6YmCQkAr0MhACH5BAgKAAAALAAAAAAUABAAhLy6vOTi5MzOzPTy9MzKzOzq7NTW1Pz6/MTCxLy+vOTm5NTS1PT29Ozu7Nza3Pz+/P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWWICSKTeAEz5EgiDGKSjxAjmEIx4EQhPNC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H8OY2AYBgc9liv1oqVdTZCKSk7iYNsAQ9aXDY7LyiLKXqenpmw1PCiub8yl5iQCFQKCAG8wKJTgcFOhuBgoMaEQA7');
    background-position: center center;
    background-repeat: no-repeat;
}
#wrapper {
    min-height:100%;
    position:relative;
}
#main {
    padding-bottom:236px;
}
#footer {
    width:100%;
    height:200px;
    position:absolute;
    bottom:0;
    left:0;
}


/**
 *
 */
.b-lazy {
   -webkit-transition: opacity 500ms ease-in-out;
      -moz-transition: opacity 500ms ease-in-out;
        -o-transition: opacity 500ms ease-in-out;
           transition: opacity 500ms ease-in-out;
   max-width: 100%;
   opacity: 0;
}
.b-lazy.b-loaded {
   opacity: 1;
}


/**
 *
 */
.navbar-default {
    background-color:#fff;
    border:0px;
}
.navbar-header {height: 120px; }
.navbar-top{border:0px; border-bottom:2px solid #4f4f4f; border-radius:0px; margin-bottom:0px;}
.navbar-brand {padding-bottom:4px;}
.navbar-inverse  .navbar-collapse {
   -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-top:0px;
}

ul{list-style:none; padding:0px;}
.modal-footer {margin-top:0px;}
.search-row li {display:inline;}
ul.list-group > li {display:inline-block;}

.header{border-bottom:5px solid #4F4F4F;}
.search-bar{padding:4px;}
.teaser h2 {border-bottom:1px solid #f4f4f4;padding-bottom:4px;}
.teaser img {padding-bottom: 4px;}
.account h3{margin:0px; padding:0px;}


/**
 * Photos
 */
a.vertical, a.landscape {
  width:80px;
  height:190px;
}
a.horizontal, a.portrait {
  width:260px;
  height:190px;
}
.caption {
  font-size:0.75em;
}


.search-row{
  background-color: #f4f4f4;
  padding: 5px 0px 5px 0px;
}
.selected-item {
  background-color:#FFFDDD;
}

div.img-placeholder{background-color:#f4f4f4; text-align:center;}
div.img-placeholder > p{vertical-align:middle;}

div.img-thumb-portrait{width:100%; height:100%; font-size:smaller;}
div.img-thumb-landscape{width:100%; height:100px;}
div.img-preview-landscape{width:100%; height:350px;}
div.img-preview-portrait{width:100%;height:350px;}


#thumbs {display:block}


/**
 * AMA thumbnails
 */
.ama-thumbnail img, .ama-preview img{
    border: 1px solid #000;
}
.ama-thumbnail{
    float:left;
    display:block;
    width:180px;
    padding:0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin:5px 10px 5px 0px;
}
.ama-thumbnail .image-wrapper {
    height:185px;
    line-height:185px;
    text-align:center;
}
.ama-thumbnail .caption{
    border-top:1px solid #ddd;
    padding:4px;
    height:60px;
}
.ama-thumbnail .caption p{
    margin:0px;
}

.ama-thumbnail .caption a{
    color: #6a6a6a;
}


/**
 *
 */
.ama-preview .image-wrapper{
    width:100%;
    text-align: center;
}


.search-row{
      font-size:smaller;
}
.search-toggle {
  margin-bottom:4px;
}
.search-toggle a{
  text-decoration:none;
}
.form-inline .form-prepend-select {
    margin-bottom:4px;
}
.form-prepend-select select {
    margin-right:-2px;
-webkit-border-radius: 4px;
-webkit-border-top-right-radius: 0px;
-webkit-border-bottom-right-radius: 0px;
-moz-border-radius: 4px;
-moz-border-radius-topright: 0px;
-moz-border-radius-bottomright: 0px;
border-radius: 4px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.form-prepend-select input {
    margin-left:-2px;
-webkit-border-radius: 0px;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-moz-border-radius: 0px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
border-radius: 0px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
border-left:0px;
}
.form-radios ul {
  list-style:none;
  padding:0px;

}
.delimited li::after{
    content: " | ";
    color: #999;
}
.delimited li.last::after{
    content: ""
}

.search-row label{
  font-weight:normal;
}
.form-advanced .form-models ul{margin-bottom:0px;}
.form-advanced .form-dates {
  margin-bottom:4px;
}
.datepicker {
    z-index:1051 !important;
}
#infscr-loading {
  display:block;
  text-align:center;
}
.search-row .model-type ul{
    list-style:none;
     padding:0px;
}

ul.search-toggle li.active{
  font-weight:bold;
}
.form-prepend-select input{min-width:260px;}
.form-radios ul > li {display:block;}

.row-main .col-left {background-color:#fff; border-top: #ddd 1px solid; border-right:1px solid #ddd;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
.col-right h2{font-size:12pt;}

ul.items > li {
    padding:4px;
    border-bottom:1px solid #f4f4f4;
}
ul.items > li.first {
    border-top:1px solid #f4f4f4;
}
      ul.sitelinks li{padding:0px;}
       ul.sitelinks li:after { content: "|"; padding: 0 .5em; color:#999; }
      ul.sitelinks li.last:after { content: ""; padding: 0 .5em;}
      #infscr-loading {
        clear:both;
        display:block;
        width:100%;
        margin-bottom:30px;
      margin-top:18px;
      }

      .mask p{padding:0px;}
      .mask h2{padding: 0px;}

      .home .col-md-4 {margin-top:10px;}
      .caption a:hover{text-decoration:none; color:#999;}
      .home .col-md-4 img {margin-left:auto; margin-right:auto;}

.photo-detail .header{
  margin-top: 15px;
}

div.centered {text-align:center;}
img.centered{margin-right:auto; margin-left:auto; }
p.centered{text-align:center;}

.alert {margin-top:10px; margin-bottom:10px;}
h1.underlined {border-bottom: 1px solid #e5e5e5; margin-bottom:15px; padding-bottom:5px;}

form label {font-weight:normal;}
.required:after { content:" *"; }

body.modal-open {
    overflow: visible;
}

/**
 * Collections - this will need media queries too
 */

.collection-teaser .outer-wrap {
   position:relative;
   width: 100%;
}
.collection-teaser img {
   opacity:0.5;
}
.collection-teaser .title-wrap {
    position: absolute;
    width: 100%;
    right: 0;
    top: 20px;
    color:#000;
    text-align:center;
}
.collection-teaser .title-wrap a{
   color: black;
}
.collection-teaser .title-wrap a:hover{
   text-decoration:none;
}

.collection-teaser .title {
    text-transform:uppercase;
    font-weight:bold;
    padding-left:4px;
    padding-right:4px;
}

.collection-teaser .leadin-wrap{
    position: absolute;
    width: 100%;
    right: 0;
    background: black;
    color:white;
    opacity:0.51;
 }
.collection-teaser .leadin-wrap a{
 color: white;
}


.collection-teaser .title {
    font-size:18pt;
}
.collection-teaser .leadin {
    font-size:12pt;
    line-height:12pt;
    margin:0px;
    padding-top:4px; padding-bottom:4px;
}
.collection-teaser {
    margin-bottom:12px;
}
.leadin-wrap {
    bottom:10px;
    padding:4px 16px 4px 16px;
}


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

    .collection-teaser .title-wrap {
        top:40px;
    }
    .collection-teaser .title {
        font-size:32pt;
    }
    .collection-teaser .leadin {
        font-size:18pt;
        padding-top:8px; padding-bottom:8px;
        line-height:18pt;

    }
    .collection-teaser {
        margin-bottom:12px;
    }
    .leadin-wrap {
        bottom:20px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    .collection-teaser .title {
        font-size:32pt;
    }
    .collection-teaser .leadin {
        font-size:14pt;
    }
    .collection-teaser {
        margin-bottom:12px;
    }
    .leadin-wrap {
        bottom:10px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .collection-teaser .title-wrap {
        top:20px;
    }
    .collection-teaser .title {
        font-size:26pt;
    }
    .collection-teaser .leadin {
        font-size:14pt;
    }
    .collection-teaser {
        margin-bottom:12px;
    }
    .leadin-wrap {
        bottom:10px;
    }
}


/* Ipad Landscape */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
    .ama-thumbnail {
        width:177px;
    }
}

/* Ipad Portrait */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
    .ama-thumbnail {
        width:170px;
    }
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait) {
    .ama-thumbnail {
        width:137px;
    }
}


.mt10 {margin-top:10px;}
.mt7 {margin-top:7px;}
.mb6{margin-bottom:6px;}
.mb2{margin-bottom:2px;}
.pb2{padding-bottom:2px;}
.pb6{padding-bottom:6px;}


p.photo-options a:after{
content: " | ";
}
p.photo-options a:last-child:after { content: " "; }
h1{font-size:24px; margin-top:10px;}

.archive-thumbs .caption, .lightbox-thumbs .caption{text-align:center;}
.meta {color:#777;}
.archive-date{font-size:14px; color:#6a6a6a;}
.archive-detail h1{margin-bottom:0px;}

#footer {
 background-color:#222;
 font-size: 12px;
 color: #e5e5e5;
}

#footer .inner-footer {
 background-color:#333;
 padding-top:22px;
 padding-bottom:60px;

}
#footer .inner-footer h5 {
 font-size: 15px;
 font-weight: bold;
 margin-bottom:0 0 0 4px;
}


#footer a {
 color:#e5e5e5;
 font-weight:bold;
}

#footer p.subtle a {
 color: #999;
}

p.subtle{
 color: #999;
}

ul.twocol {
 -moz-column-count: 2;
 -moz-column-gap: 2.5em;
 -webkit-column-count: 2;
 -webkit-column-gap: 2.5em;
 column-count: 2;
 column-gap: 2.5em;
}


.caps {
text-transform:uppercase;
}

#footer .sub-footer {
width:100%;
background-color:#222222;
border-top: 1px solid #000;
}

/* popups editing the photos */
.datetime-field label{
    display:block;
}

.datetime-field input{
    display:inline;
    width:30%;
}
