﻿.jisc-map-overlay * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.jisc-map-overlay *:before,
.jisc-map-overlay *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.jisc-map-overlay input {
    line-height: normal;
    box-sizing: border-box !important
}

.jisc-map-overlay button,
.jisc-map-overlay input {
    margin: 0;
    font: inherit;
    color: inherit;
}

.jisc-map-overlay button {
    overflow: visible;
    text-transform: none;
}

#jiscMapSearchContainer {
    z-index: 99;
    top: 10px;
    padding: 5px 5px 5px 5px;
    color: #333;
    background-color: #fff;
    display: table;
    position: absolute; 
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    line-height: 1.42857143;
    left: 5px;
}

#jiscServiceLocationDetail .jisc-panel-content {
    margin-top: 19px;
}

.jisc-panel-header button {
    color: #E65E11;
    float: right !important;
}

.jisc-panel-header {
    background-color: #E65E11;
    padding: 2px 2px;
}

#jiscServiceLocationDetail {
    position: absolute;
    z-index: 1;
    background-color: #fff;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    line-height: 1.42857143;
    top: 70px;
    left: 5px;
}

.jisc-panel-header h2 {
    font-size: 125%;
    text-transform: uppercase;
    color: white;
    padding: 5px 5px;
    text-align: center;
    margin: 1px 1px 1px 1px;
    letter-spacing: 0.15em;
}

#jiscMapSearchTextBox {
    width: 100px;
}

#jiscServiceLocationDetail dl {
    padding-left: 10px;
}

#jiscServiceLocationDetail dl dd:before,
#jiscServiceLocationDetail dl dd:after {
    display: table;
    content: " ";
}

#jiscServiceLocationDetail dl dd:after {
    clear: both;
}

#jiscServiceLocationDetail dt {
    font-weight: bold;
}

@media (min-width: 320px) {

    #jiscServiceLocationDetail dt {
        float: left;
        width: 90px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-bottom: 5px;
    }

    #jiscServiceLocationDetail dd {
        margin-left: 110px;
        margin-bottom: 5px;
    }

    #jiscServiceLocationDetail dl {
        padding: 0 10px 0 0;
    }

    #jiscMapSearchTextBox {
        width: 180px;
    }
}

/* size for large input on mobile */

.jisc-input-group-sm > .jisc-form-control,
.jisc-input-group-sm > .jisc-input-group-addon,
.jisc-input-group-sm > .jisc-input-group-btn > .jisc-btn,
.jisc-panel-header > .jisc-btn {
    height: 40px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 1.25;
    border-radius: 4px;
}

/* size for small input on desktop */

@media (min-device-width:768px){

    #jiscMapSearchContainer {
        top: 20px;
        left: 20px;
    }

    #jiscMapSearchTextBox {
        width:215px;
    }

    .jisc-input-group-sm > .jisc-form-control,
    .jisc-input-group-sm > .jisc-input-group-addon,
    .jisc-input-group-sm > .jisc-input-group-btn > .jisc-btn,
    .jisc-panel-header > .jisc-btn {
        height: 30px;
        padding: 5px 10px;
        font-size: 12px;
        line-height: 1.5;
        border-radius: 3px;
    }

    .jisc-form-control {
        font-size: 14px;
    }

    #jiscServiceLocationDetail {
        width: 380px;
        left: 20px;
    }
}

.jisc-btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.jisc-btn:focus,
.jisc-btn:active:focus,
.jisc-btn.active:focus,
.jisc-btn.focus,
.jisc-btn:active.focus,
.jisc-btn.active.focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.jisc-btn:hover,
.jisc-btn:focus,
.jisc-btn.focus {
    color: #333;
    text-decoration: none;
}

.jisc-btn:active,
.jisc-btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.jisc-btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.jisc-btn-default:focus,
.jisc-btn-default.focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #8c8c8c;
}

.jisc-btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* glyphicons */
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('/Fonts/glyphicons-halflings-regular.eot'); /* IE9 Compat Modes */
    src: url('/Fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/Fonts/glyphicons-halflings-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('/Fonts/glyphicons-halflings-regular.woff') format('woff'), /* Pretty Modern Browsers */
         url('/Fonts/glyphicons-halflings-regular.ttf')  format('truetype'), /* Safari, Android, iOS */
         url('/Fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); /* Legacy iOS */
}

.jisc-glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.jisc-glyphicon-remove:before {
    content: "\E014";
}

.jisc-glyphicon-search:before {
    content: "\E003";
}

/* form control */
.jisc-form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.jisc-form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.jisc-form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.jisc-form-control:-ms-input-placeholder {
    color: #999;
}

.jisc-form-control::-webkit-input-placeholder {
    color: #999;
}

.jisc-form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.jisc-input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.jisc-input-group .jisc-form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

.jisc-input-group .jisc-form-control:focus {
    z-index: 3;
}

.jisc-input-group-addon,
.jisc-input-group-btn,
.jisc-input-group .jisc-form-control {
    display: table-cell;
}

.jisc-input-group-addon:not(:first-child):not(:last-child),
.jisc-input-group-btn:not(:first-child):not(:last-child),
.jisc-input-group .jisc-form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.jisc-input-group-addon,
.jisc-input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.jisc-input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.jisc-input-group .jisc-form-control:first-child,
.jisc-input-group-addon:first-child,
.jisc-input-group-btn:first-child > .jisc-btn:not(.jisc-control-collapsed),
.jisc-input-group-btn:first-child > .jisc-btn-group > .jisc-btn,
.jisc-input-group-btn:last-child > .jisc-btn:not(:last-child),
.jisc-input-group-btn:last-child > .jisc-btn-group:not(:last-child) > .jisc-btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.jisc-input-group-addon:first-child {
    border-right: 0;
}

.jisc-input-group .jisc-form-control:last-child,
.jisc-input-group-addon:last-child,
.jisc-input-group-btn:last-child > .jisc-btn,
.jisc-input-group-btn:last-child > .jisc-btn-group > .jisc-btn,
.jisc-input-group-btn:first-child > .jisc-btn:not(:first-child),
.jisc-input-group-btn:first-child > .jisc-btn-group:not(:first-child) > .jisc-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.jisc-input-group-addon:last-child {
    border-left: 0;
}

.jisc-input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
}

.jisc-input-group-btn > .jisc-btn {
    position: relative;
}

.jisc-input-group-btn > .jisc-btn + .jisc-btn {
    margin-left: -1px;
}

.jisc-input-group-btn > .jisc-btn:hover,
.jisc-input-group-btn > .jisc-btn:focus,
.jics-input-group-btn > .jisc-btn:active {
    z-index: 2;
}

.jisc-input-group-btn:first-child > .jisc-btn,
.jisc-input-group-btn:first-child > .jisc-btn-group {
    margin-right: -1px;
}

.jisc-input-group-btn:last-child > .jisc-btn,
.jisc-input-group-btn:last-child > .jisc-btn-group {
    z-index: 2;
    margin-left: -1px;
}

.jisc-cluster {
    color: rgba(248, 151, 12, 0.8);
}

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}