﻿.container-box {
    padding: 9px 15px;
    margin-bottom: 14px;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
}

.container-box-header {
    background-color: #e6f3df;
    margin-top: -9px;
    margin-bottom: 10px;
}

.container-box-title {
    padding: 10px 0;
    font-size: 20px;
    /*font-weight: 700;*/
}

.checkbox-group {
    padding-bottom: 15px;
}

    .checkbox-group .checkbox {
        margin-top: 2px;
        margin-bottom: 2px;
    }

#facilityResultsContainer {
    padding-top: 0;
    padding-bottom: 0;
}

    #facilityResultsContainer .row {
        padding: 15px 0;
    }

.facility-title, .facility-status, .facility-status-comments, .facility-description {
    margin-bottom: 10px;
}    

.facility-detail .row {
    padding-bottom: 5px;
    padding-top: 5px;
    margin-right: 0;
    border-top: 1px solid #eee;
}

    .facility-detail .row.noBorder {
        border-top: none;
        padding-top: 0;
    }

    .facility-detail .row:first-child {
        border-top: none;
    }

    .facility-detail .row.altRow {
        background: #f5f5f5;
        margin-top: 20px;
    }

#facilityResultsContainer .result-header {
    background-color: #e6f3df;
    padding: 10px 0;
    font-size: 22px;
}

#facilityResultsContainer .result-body .row:nth-child(even) {
    background-color: #F5F5F5;
}

#facilityResultsContainer .result-body .row .row:nth-child(even) {
    background-color: transparent;
}

.pagination {
    margin: 0;
}

.map-canvas {
    width: 100%;
    height: 600px;
}

div#map-canvas-facilities img, div#map-canvas-facility img{
    max-width:none;

}

#google-map-trigger {
    cursor: pointer;
    background: #e6f3df url(../images/icon_plus.png) 99% center no-repeat;
}

    #google-map-trigger.open {
        background-image: url(../images/icon_minus.png);
    }

.search-trigger {
    cursor: pointer;
}

.glyphicon-addon {
    top: 0;
}

button.btn-default,
a.btn-default {
    color: #333 !important;
	background-color: #FFF;
}

.btn-default:hover,
.btn-default:focus {
	background-color: #e0e0e0 !important;
}

.pagination-container a {
    color: #333;
    text-decoration: none;
}

.pagination-container {
    font-size: 13px;
}

.pagination-input,
.pagination-page {
    margin-right: 5px;
    width: 50px !important;
    text-align: center;
}

.pagination-pageof {
    margin-right: 10px;
}

h1 {
    margin: 0 0 15px 0;
}

.facilityOpen {
    color: #379c26;
}

.facilityClosed {
    color: #c50808;
}

    .facilityOpen img,
    .facilityClosed img {
        padding: 0 5px 0 0;
    }

.btnViewMap {
    background-image: url(/en/Modules/Facilities/images/icon_map.png);
    background-position: 5px 5px;
    background-repeat: no-repeat;
    padding-left: 25px;
}

.btn-default.btnViewMap:hover,
.btn-default.btnViewMap:focus {
    background-position: 5px 5px;
	background-color: #e0e0e0;
}

#btnAdvancedSearch .badge {
    margin-right: 4px;
}

#btnAdvancedSearchMobile .badge {
    margin-right: 4px;
}

#facilityResultsContainer .pull-right {
    text-align: right;
    padding-right: 15px;
}

#facilityResultsContainer .row .row {
    padding: 0;
}

.multipleMark {
    width: 250px;
}

.checkbox label.typelabel {
    padding-left: 0px;
}

#facilityTypesContainer, #facilityTypesContainerMobile {
    border: none;
}

div.ButtonAdvanceSearch {
    margin-bottom: 4px;
}

#categoryGroupContainer, #categoryGroupContainerMobile {
    display: none;
    border: none;
}

div.input-group {
    margin-right: 2px;
    margin-top: 2px;
}


a.descriptionUrlLink {
    white-space: nowrap;
}

a.phoneUrlLink {
    font-weight: normal;
}

/*a.facilityFax {
    color:black;
    font-weight:normal;
    text-decoration:none;
    cursor:default;
}*/


.paragraphSameLocation {
    color: black;
    font-weight: bold;
}

#btnFacilitySearch, #btnFacilityClear, #btnFacilitySearchMobile #btnFacilityClearMobile {
    width: 68px;
}

legend.legendType {
    display: none;
}

.glyphicon-search  {
	display: table-cell;
}
#txtFacilityKeywords::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #666;
}
#txtFacilityKeywords:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #666;
   opacity:  1;
}
#txtFacilityKeywords::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #666;
   opacity:  1;
}
#txtFacilityKeywords:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #666;
}

/* Tablet ----------- */

@media only screen and (min-width : 992px) {
    .mobile-display {
        display: none;
    }

    #txtFacilityKeywords {
        width: 149px;
        height: 30px;
        padding: 3px 7px;
        -webkit-appearance: none;
        border: solid 1px #ccc;
		top: 1px;
    }

    .input-group-addon {
        font-size: 16px;
    }
}

@media only screen and (max-width : 991px) {
    .facility-detail .row {
        margin-right: -15px;
        border-top: none;
    }

    .col-md-7.col-md-offset-3 {
        width: 70%;
    }

    .col-md-4.categoryGroup {
        border-bottom: 1px solid #eee;
    }

    .desktop-display {
        display: none;
    }
    .facility-detail .col-md-3 {
        margin-top: 10px;
    }        
}


/* Smartphones ----------- */
@media only screen and (max-width: 767px) {

    .desktop-display {
        display: none;
    }

    .col-md-4.categoryGroup {
        border-bottom: 1px solid #eee;
    }

    .facility-detail .row {
        padding-bottom: 0px;
        padding-top: 0px;
    }

    #facilityResultsContainer .pull-right {
        text-align: left;
        padding-right: 0;
        width: 100%;
        margin-top: 10px;
    }    
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .desktop-display {
        display: none;
    }

    .map-canvas {
        width: 100%;
        height: 350px;
    }

    .col-md-4.categoryGroup {
        border-bottom: 1px solid #eee;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .desktop-display {
        visibility: visible;
        display: block;
    }

    .mobile-display {
        display: none;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .facility-detail .row {
        padding-bottom: 0px;
        padding-top: 0px;
    }
     .desktop-display {
        display: none;
    }

    .mobile-display {
        visibility:visible;
        display: block;
    }
}

div.map-canvas img{ max-width: none; }

legend.legendType {
   display: none !important;
}