/* Colorbox */
*:focus { outline: 0; }
#colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 9999; overflow: visible; }
#cboxOverlay { position: fixed; width: 100%; height: 100%; z-index: 99; }
#cboxMiddleLeft, #cboxBottomLeft { clear: left; }
#cboxContent { position: relative; }
#cboxLoadedContent { overflow: auto; display: flex; align-items: center; }
#cboxTitle { margin: 0; }
#cboxLoadingOverlay, #cboxLoadingGraphic { position: absolute; top: 0; left: 0; width: 100%; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { cursor: pointer; background-repeat: no-repeat; }
.cboxPhoto { float: left; margin: auto; border: 0; display: block; width: auto !important; height: auto !important; margin-top: auto !important; max-width: 100%; max-height: calc(100vh - 48px); height: 100vh; }
.cboxIframe { width: 100%; height: 100%; display: block; border: 0; }
#cboxOverlay { background: rgba(0,0,0,0.5); }
#colorbox, #cboxContent { padding: 0px; }
.cboxIframe { background: #FFF; }
#cboxError { padding: 50px; border: 1px solid #ccc; }
#cboxLoadedContent { background: #FFF; padding: 0px; }
#cboxLoadedContent iframe { display: block; }
#cboxTitle { color: #000; font-size: 18px; position: fixed; top: 0; left: 0; right: 0; text-align: center; }
#cboxCurrent { position: fixed; bottom: 0; right: 0; left: 0; color: #000; font-size: 18px; text-align: center; }
#cboxSlideshow { position: absolute; top: -20px; right: 90px; color: #fff; }
#cboxPrevious, #cboxNext { position: absolute; top: 50%;  margin-top: -63px; width: 46px; height: 92px; text-indent: -9999px; background-image: url('img/arrows-2x.png'); background-color: transparent;
                        border: 0; background-size: 146px 92px; }
#cboxPrevious { left: 5px; background-position: -12px 0; }
#cboxPrevious:hover { left: 0; }
#cboxNext { right: 5px; background-position: -88px 0; }
#cboxNext:hover { right: 0; }
#cboxLoadingOverlay { background: #FFF; }
#cboxClose { background: transparent; position: absolute; right: 0; top: 0; display: block; padding: 0; margin: 0;
                    width: 50px; height: 50px; overflow: hidden; font-family: Verdana; border: none; font-size: 48px;
                    color: #000; background: #FFF; line-height: 20px; text-transform: uppercase; }
#cboxClose:hover { background-position: -328px -104px; }
#colorbox .loading { padding: 3em; background: url(images/loading.gif) center no-repeat; }


.tm-gallery-page { width: 100%; }
.tm-gallery-item .image { width: 250px; height: 250px; display: flex; justify-content: center; align-items: center; background-color: rgba(47, 149, 109, 0.15); padding: 10px; }
.tm-gallery-item .image + .image { visibility: hidden; position: fixed; z-index: -1; display: inline; }
.tm-gallery-item .image img { max-width: 100%; max-height: 100%; margin-bottom: 0; }

.tm-gallery-title { margin: 5px 0; height: 60px; overflow: hidden; }
.tm-gallery-description { margin-bottom: 5px; }
.tm-gallery-price { font-weight: 700; margin-bottom: 30px; }

.tm-header { overflow: hidden; }
.tm-header .tm-header-inner { padding: 50px 50px 10px;
                            background: -moz-linear-gradient(top, rgba(125,185,232,0) 0%, rgba(0,0,0,1) 100%);
                            background: -webkit-linear-gradient(top, rgba(125,185,232,0) 0%,rgba(0,0,0,1) 100%);
                            background: linear-gradient(to bottom, rgba(125,185,232,0) 0%,rgba(0,0,0,1) 100%);
                            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007db9e8', endColorstr='#000000',GradientType=0 ); }
.placeholder { background-color: #CCC; }
.parallax-mirror:before { content: ''; width: 100%; height: 20%; position: absolute; top: 0; z-index: 1; background: -moz-linear-gradient(top,  rgba(0,0,0,1) 0%, rgba(125,185,232,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(125,185,232,0) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(125,185,232,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#007db9e8',GradientType=0 );
    }