﻿.leaflet-routeparams {
    height: 100%;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    margin-right: 0px;
    margin-top: 0px;
}

/*.leaflet-routeparams.left {
    left: -500px;
    transition: left 0.5s, width 0.5s;

    padding-right: 0;
}

.leaflet-routeparams.right {
    right: -500px;
    transition: right 0.5s, width 0.5s;

    padding-left: 0;
}

.leaflet-routeparams.left.visible {
    left: 0;
}

.leaflet-routeparams.right.visible {
    right: 0;
}

.leaflet-left {
    transition: left 0.5s;
}

.leaflet-right {
    transition: right 0.5s;
}*/

.leaflet-routeparams > .leaflet-control {
    height: 100%;
    width: 100%;

    overflow: auto;
    -webkit-overflow-scrolling: touch;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 8px 8px;
    margin-right: 0px;
    margin-top: 0px;

    font-size: 1.1em;

    background: white;
    box-shadow: 0 1px 7px rgba(0,0,0,0.65);
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.leaflet-touch .leaflet-routeparams > .leaflet-control {
    box-shadow: none;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
}

/*@media(max-width:767px){
    .leaflet-routeparams {
        width: 100%;
        padding: 0;
    }

    .leaflet-routeparams.left {
        left: -100%;
    }

    .leaflet-routeparams.right {
        right: -100%;
    }

    .leaflet-routeparams.left.visible {
        left: 0;
    }

    .leaflet-routeparams.right.visible {
        right: 0;
    }

    .leaflet-routeparams > .leaflet-control {
        box-shadow: none;
        -webkit-border-radius: 0;
        border-radius: 0;
    }

    .leaflet-routeparams.left.visible ~ .leaflet-left {
        left: 100%;
    }

    .leaflet-routeparams.right.visible ~ .leaflet-right {
        right: 100%;
    }

    .leaflet-touch .leaflet-routeparams > .leaflet-control {
        border: 0;
    }
}

@media(min-width:768px) and (max-width:991px){
    .leaflet-routeparams {
        width: 305px;
    }

    .leaflet-routeparams.left.visible ~ .leaflet-left {
        left: 305px;
    }

    .leaflet-routeparams.right.visible ~ .leaflet-right {
        right: 305px;
    }
}

@media(min-width:992px) and (max-width:1199px){
    .leaflet-routeparams {
        width: 390px;
    }

    .leaflet-routeparams.left.visible ~ .leaflet-left {
        left: 390px;
    }

    .leaflet-routeparams.right.visible ~ .leaflet-right {
        right: 390px;
    }
}

@media(min-width:1200px){
    .leaflet-routeparams {
        width: 350px;
    }

    .leaflet-routeparams.left.visible ~ .leaflet-left {
        left: 350px;
    }

    .leaflet-routeparams.right.visible ~ .leaflet-right {
        right: 350px;
    }
}

.leaflet-routeparams .close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 31px;
    height: 31px;

    color: #333;
    font-size: 25pt;
    line-height: 1em;
    text-align: center;
    background: white;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    cursor: pointer;

    z-index: 8;
}*/

/*.routing-parameters-button {
   border: 1px solid #0a3c59;
   background: #3e779d;
   background: -webkit-gradient(linear, left top, left bottom, from(#65a9d7), to(#3e779d));
   background: -webkit-linear-gradient(top, #65a9d7, #3e779d);
   background: -moz-linear-gradient(top, #65a9d7, #3e779d);
   background: -ms-linear-gradient(top, #65a9d7, #3e779d);
   background: -o-linear-gradient(top, #65a9d7, #3e779d);
   background-image: -ms-linear-gradient(top, #65a9d7 0%, #3e779d 100%);
   padding: 10.5px 21px;
   -webkit-border-radius: 6px;
   -moz-border-radius: 6px;
   border-radius: 6px;
   -webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   -moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   text-shadow: #7ea4bd 0 1px 0;
   color: #06426c;
   font-size: 14px;
   font-family: helvetica, serif;
   text-decoration: none;
   vertical-align: middle;
   }
.routing-parameters-button:hover {
   border: 1px solid #0a3c59;
   text-shadow: #1e4158 0 1px 0;
   background: #3e779d;
   background: -webkit-gradient(linear, left top, left bottom, from(#65a9d7), to(#3e779d));
   background: -webkit-linear-gradient(top, #65a9d7, #3e779d);
   background: -moz-linear-gradient(top, #65a9d7, #3e779d);
   background: -ms-linear-gradient(top, #65a9d7, #3e779d);
   background: -o-linear-gradient(top, #65a9d7, #3e779d);
   background-image: -ms-linear-gradient(top, #65a9d7 0%, #3e779d 100%);
   color: #fff;
   }
.routing-parameters-button:active {
   text-shadow: #1e4158 0 1px 0;
   border: 1px solid #0a3c59;
   background: #65a9d7;
   background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#3e779d));
   background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
   background: -moz-linear-gradient(top, #3e779d, #65a9d7);
   background: -ms-linear-gradient(top, #3e779d, #65a9d7);
   background: -o-linear-gradient(top, #3e779d, #65a9d7);
   background-image: -ms-linear-gradient(top, #3e779d 0%, #65a9d7 100%);
   color: #fff;
   }*/

/*.leaflet-control-button-chosen {
    background: #0000FF;
}*/
