﻿/**
* #.# Facilities/Locations
*
* @summary: This file contains the css for the 'Facilities/Locations' page
*
* @resources:
*    ~ResourcePackages\TenetHealth\GridSystem\Templates\banner.html
*
* @media-queries: Yes
*
*/


.facilities-module
{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0 auto;
    width: 100%;
}

.facilities-address-search-wrapper
{
    display: flex;
    width: 100%;
    flex-flow: row wrap;
}

.search-box-wrapper, .radius-dropdown-wrapper
{
    position: relative;
    margin-right: 25px;
}

.search-box-wrapper label, .radius-dropdown-wrapper label
{
    display: block;
}

.search-box-wrapper
{
    max-width: 300px;
    flex-grow: 1;
}

.search-box-wrapper input
{
    display: block;
    width: 100%;
}

.search-box-wrapper .box-group
{
    max-width: 300px;
    position: relative;
    display: block;
}

.search-box-wrapper input, .radius-dropdown-wrapper select
{
    padding: 8px;
    border-left: 3px solid #003f59;
    line-height: 1em;
    display: block;
}

.search-box-wrapper .performSearch
{
    position: absolute;
    bottom: 10px;
    right: 10px;
    top: auto;
    background-color: #fff;
}

.facility-search-button
{
    margin: 15px 0 0;
    width: 500px;
}

.facility-search-button .performSearch
{
    display: block;
    text-align: center;
    color: #fff;
    background-color: #547105;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px;
}

.performSearch:hover
{
    cursor: pointer;
}

.facilities-map-wrapper
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-flex: 58 1 58%;
    -webkit-flex: 58 1 58%;
    flex: 58 1 58%;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    display: block;
    transition: all 400ms;
    max-width: 60%;
    margin: 15px 0;
}

.facilities-map-wrapper.fullScreen
{
    flex: 1 0 100%;
    flex-direction: row;
    max-height: 500px;
    transition: all 400ms;
    max-width: 100%;
}

.facilities-type-list-wrapper
{
    flex: 1 100 100%;
    margin: 15px 0;
}

.facilities-list-wrapper
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-flex: 38 1 38%;
    -webkit-flex: 38 1 38%;
    flex: 38 1 38%;
    max-height: 550px;
    max-width: 38%;
    overflow: hidden;
    opacity: 1;
    transition: all 1000ms;
    margin: 15px 0;
}

.facilities-list-wrapper.fullScreen
{
    width: 0;
    opacity: 0;
    transition: all 1000ms;
}

.facility
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    margin-bottom: 19px;
    overflow: hidden;
    position: relative;
    transition: .5s;
    width: 100%;
}

.facility .facility-icon
{
    -ms-flex-line-pack: stretch;
    -webkit-align-content: flex-start;
    align-content: stretch;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    flex: 1 1 20%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 20%;
    position: relative;
    width: 20%;
    -ms-flex-pack: center;
}

.facilities-list
{
    border: none !important;
    max-height: 550px;
    overflow-y: auto;
}

.facility .facility-icon img
{
    height: 56px;
    width: 56px;
}

.facility .facility-text
{
    color: #4d4f51;
    display: block;
    flex: 3 1 75%;
    font-size: 1em;
    line-height: 1.5;
    max-width: 75%;
    padding-left: 19px;
    width: 75%;
}

.facility .facility-text:hover, .facility.activePin .facility-text
{
    border-left: 5px solid #f68d2d;
    padding-left: 14px;
}

.facility .facility-text b
{
    color: #003f59;
    font-size: 1em;
}

.facility .facility-text a:not([href^=tel])
{
    color: #003f59;
    text-decoration: underline;
}

.facility .facility-text a[href^=tel]
{
    color: #003f59;
    text-decoration: underline;
}

.facility .facility-text a:hover, .facility .facility-text a:active
{
    text-decoration: underline;
}

.facilities-module ::-webkit-scrollbar
{
    width: 12px;
}

.facilities-module ::-webkit-scrollbar-track
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.facilities-module ::-webkit-scrollbar-thumb
{
    background-color: #779A0A;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.google-map-with-pins
{
    height: 550px;
    width: 100%;
}

.pinContent
{
    display: block;
    overflow: auto;
    position: relative;
    width: 280px;
}

.pinImage
{
    display: inline-block;
    float: left;
    padding-top: 20px;
}

.pinImage img
{
    height: 56px;
    width: auto;
}

.pinInfo
{
    display: inline-block;
    float: right;
    line-height: 1.5;
    margin-left: 20px;
}

.facilities-type-list
{
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    justify-content: flex-start;
    flex-flow: column;
}

.facilities-type-list li
{
    margin: 10px 15px 10px 0;
    cursor: pointer;
}

.facilities-type-list label
{
    margin: 0;
    padding: 0;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}

.facilities-type-input[type=checkbox]
{
    width: 28px;
    height: 25px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    border: 1px solid #b9bbbd;
    border-radius: 0;
    -webkit-appearance: none;
    display: inline-block;
    cursor: pointer;
}

.facilities-type-input:focus
{
    border-color: #226092;
}

.facilities-type-input:checked
{
    background-image: url(../images/check.png);
}

.facilities-type-title
{
    font-weight:700;
}

.facilities-type-label
{
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    cursor: pointer;
}
.ltIE10 .facilities-module
{
    overflow: visible !important;
}

.ltIE10 .facilities-module, .ltIE10 .facilities-type-list, .ltIE10 .facilities-address-search-wrapper, .ltIE10 .facilities-address-search-wrapper, .ltIE10 .facility
{
    display: block;
    overflow: auto;
}

.ltIE10 .facilities-type-list > li, .ltIE10 .facilities-address-search-wrapper > div, .ltIE10 .facilities-address-search-wrapper > div, .ltIE10 .facilities-module > div, .ltIE10 .facility > div
{
    float: left;
}

.ltIE10 .facilities-map-wrapper
{
    width: 100%;
}

.ltIE10 .facility .facility-icon
{
    text-align: center;
}
@media only screen and (min-width: 768px )
{
    .facilities-type-list
    {
        flex-flow: row wrap;
    }
}

@media only screen and (min-width: 992px)
{
    .facility-search-button
    {
        margin-top: 25px;
    }
}

/*==========  Non-Mobile First Method  ==========*/

@media only screen and (max-width : 1200px)
{
}

@media only screen and (max-width : 992px)
{
}

@media only screen and (max-width : 768px)
{
    .facilities-type-list
    {
        flex-direction: column;
    }

    .facilities-map-wrapper
    {
        flex: 1 0 100%;
        max-height: 500px;
        max-width: 100%;
        width: 100%;
    }

    .facilities-type-list li
    {
        display: block;
    }

    .google-map-with-pins
    {
        max-height: 500px;
        width: 100%;
    }

    .facilities-list-wrapper
    {
        flex: 1 0 100%;
        margin-top: 25px;
        max-width: 100%;
        width: 100%;
    }

    .search-box-wrapper, .radius-dropdown-wrapper
    {
        max-width: 300px;
    }
}

@media only screen and (max-width : 480px)
{
}

@media only screen and (max-width : 320px)
{
}
