/**
 * SVN FILE: $Id: zar-leaflet.css 346 2013-09-02 14:47:48Z jeroen $
 *
 * DESCRIPTION
 *
 * @copyright      (c) 2013 DPI Animation House (http://www.dpi.nl)
 * @author         pim
 * @since          2013-06-06
 * @package        App\webroot\css
 * @version        $LastChangedRevision: 346 $
 * @lastmodified   $LastChangedDate:: 2013-09-02 16:47#$
 * @modifiedby     $LastChangedBy: jeroen $
 *
 * @filesource
 */

/* =========================
    Layout
========================= */
.leaflet-top, .leaflet-bottom {
    z-index:50;
}

.leaflet-right { /* this is obviously not the optimal way to go about moving the controls in the .leaflet-right wrapper, but the documentation appears to be lacking on this point */
    left:19px;
    right:auto;
}

/* =========================
    Module: Leaflet tooltip
========================= */
.leaflet-popup {
}

.leaflet-popup-content-wrapper::after {
    content:" ";
    display:block;
    position:absolute;
    bottom:-59px;
    left:20px;
    z-index: -1;
    width:354px;
    height:109px;
    background:url('images/zar_tooltip-shadow.png') no-repeat;
}

.leaflet-popup-content-wrapper {
    position:relative;
    -webkit-border-radius:0;
    border-radius:0;
    width:310px;
}

.leaflet-popup-content {
    margin: 14px 20px 24px;
}

.leaflet-container a.leaflet-popup-close-button {
    border-radius:30px;
    background:#fff;
    top:-7px;
    right:-7px;
    height: 16px;
    padding: 4px 5px;
}
.leaflet-container a.leaflet-popup-close-button:hover {
}

.zar_leaflet-tooltip-cat-day-title {
    font-family: 'FrutigerLTW01-55Roman', sans-serif;
    font-weight: lighter;
    color: #490e12;
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
}

.zar_leaflet-tooltip-date {
    font-family: 'FrutigerLTW01-45Light', sans-serif;
    font-weight: lighter;
    color: #70c6e3;
    font-size: 14px;
    text-transform: uppercase;
    margin:0 0 0 4px;
}

.zar_leaflet-tooltip-title {
    font-family: 'Frutiger LT W01 65 Bold', sans-serif;
    text-transform: uppercase;
    color:#df5114;
    font-size:24px;
    line-height:24px;
    margin: 0;
    font-weight:normal;
}

.zar_leaflet-tooltip-travelpart-title {
    font-family: 'FrutigerLTW01-55Roman', sans-serif;
    text-transform: uppercase;
    color: #df5114;
    font-size: 14px;
    font-weight:lighter;
}

.zar_leaflet-tooltip-link {
    display: block;
    position: absolute;
    right: -29px;
    bottom: -12px;
    background: url('images/zar_leaflet-tooltip-link.png') no-repeat;
    color: #fff;
    padding: 3px 0 0 37px;
    font-size: 14px;
    font-family:'Frutiger LT W01 65 Bold', sans-serif;
    font-weight:normal;
    text-decoration: none;
    width: 130px;
    height: 21px;
    text-transform:uppercase;
}
a.zar_leaflet-tooltip-link {
    color: #fff;
}
.zar_leaflet-tooltip-link:hover {
    text-decoration:none;
}

.zar_leaflet-tooltip-link-label {
    padding: 5px 5px 6px 10px;
    background:#000;
    color:#fff;
}

.leaflet-popup {
    /*left: -83px !important;*/
}
.leaflet-popup-tip-container {
    height:50px;
    margin:0;
    left:63px;
}

.leaflet-popup-tip {
    background:transparent;
    position: absolute;
    bottom: 20px;
    width:  0;
    height:  0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    box-shadow:none;

    border-top: 35px solid #fff;

    padding:0;
    margin:0;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

/* =========================
    END: Leaftlet tooltip
========================= */

/* =========================
    Module: Leaflet controls
========================= */
.leaflet-control-layers,
.leaflet-control-zoom {
    position:relative;
    top:80px;
}
.leaflet-container .leaflet-control-zoom {
    margin-left: 19px;
}

.leaflet-bar {
    box-shadow:none !important;
}

.leaflet-bar-part {
    box-shadow: 0 0 4px #aaa;
    border-bottom:0;
    margin: 0 0 12px 0;
}

.leaflet-control-zoom {
    border-radius:0;
    border:0 !important;
}

.leaflet-control-zoom  > a {
    /*background:#fff;*/
    width:35px !important;
    height:35px !important;
    line-height:35px;
    font-size:25px;
    color:#df5114;
    border-radius:0 !important;
    background: url('../js/vendor/jquery-mega-image-viewer/css/images/zoom-icons.png') #fff;
    text-indent: -9000px;
}

.leaflet-control-zoom  > a.leaflet-control-zoom-in:hover {
    background-position: 0 -35px;
}

.leaflet-control-zoom  > a.leaflet-control-zoom-in.leaflet-control-zoom-disabled {
    background-position: 0 -70px;
}

.leaflet-control-zoom  > a.leaflet-control-zoom-out {
    background-position: -35px 0;
}

.leaflet-control-zoom  > a.leaflet-control-zoom-out:hover {
    background-position: -35px -35px;
}
.leaflet-control-zoom  > a.leaflet-control-zoom-out.leaflet-control-zoom-disabled {
    background-position: -35px -70px;
}

a.leaflet-control-zoom-disabled {
    color:#bbb;
    background-color:#fff !important; /* it appears the background opacity is dynamically updated through JavaScript */
}
a.leaflet-control-zoom-disabled:hover {color:#bbb}

.leaflet-control-layers {
    top:176px;
    border-radius:0;
    box-shadow:none !important;
    border:0 !important;
}

.leaflet-control-layers-toggle {
    width:35px !important;
    height:35px !important;
    background:url('images/leaflet-control-layers.jpg') no-repeat #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    border:0;
}

.leaflet-control-attribution {
    display:none;
}

/* =========================
    END: Leaflet controls
========================= */

/* =========================
    Module: Leaflet marker clusters
========================= */
.leaflet-div-icon {
    border:0;
    background:transparent;
}

.leaflet-cluster {
    width:25px;
    height:22px;
    color:#fff;
    font-family:'FrutigerLTW01-55Roman', sans-serif;
    font-size:10px;
    text-align:center;
    padding:5px 2px 0 0;
}

.leaflet-cluster.zee_future,
.leaflet-cluster.land_future {
    color:#490E12;
}

.leaflet-cluster.zee_future {background:url('images/zar_marker-zee-future-large.png') no-repeat;}
.leaflet-cluster.zee_publish {background:url('images/zar_marker-zee-publish-large.png') no-repeat;}
.leaflet-cluster.land_future {background:url('images/zar_marker-land-future-large.png') no-repeat;}
.leaflet-cluster.land_publish {background:url('images/zar_marker-land-publish-large.png') no-repeat;}
.leaflet-cluster.active {background:url('images/zar_marker-active-large.png') no-repeat;}

/* =========================
    Frontpage intro, delayed zoom in
========================= */
.intro .leaflet-zoom-anim .leaflet-zoom-animated {
    -webkit-transition: -webkit-transform 2s cubic-bezier(0.4, 0.1, 0.9, 1);
    -moz-transition: -moz-transform 2s cubic-bezier(0.4, 0.1, 0.9, 1);
    -o-transition: -o-transform 2s cubic-bezier(0.4, 0.1, 0.9, 1);
    transition: transform 2s cubic-bezier(0.4, 0.1, 0.9, 1);
}