/* master styles */
body, html {
    background-color: #173863;
    padding: 0;
    margin: 0;
    color: #FFF;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.outerwrapper {
    padding: 0px;
    margin: 0px;
}

/* header */
.header {
    width: 100%;
    border-bottom: 1px solid #6D97CF;
    background-image: linear-gradient(145deg,#0E73A2,#193057);
    position: fixed;
    top: 0px;
}

    .header .headercontent {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: baseline;
        padding: 8px 8px 0px 8px;
    }

        .header .headercontent h1,
        .header .headercontent h2 {
            margin: 0;
            padding: 0;
        }

        .header .headercontent .navwrapper {
            flex-grow: .2;
            margin: 0px;
        }

        .header .headercontent h1 {
            flex-grow: .15;
        }


        .header .headercontent h2 {
            flex-grow: .9;
            font-size: 18px;
            position: relative;
            top: -7px;
            padding-left: 70px;
            text-align: center;
        }

            .header .headercontent h2 span {
                color: #E31D1A;
                font-size: 20px;
                font-style: italic;
                padding: 0px 4px;
                text-decoration: underline;
            }

        .header .headercontent .navwrapper .nav {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }

            .header .headercontent .navwrapper .nav a.navlink {
                color: #FFF;
                font-size: 16px;
                transition: .5s;
                text-decoration: none;
                text-align: left;
            }

                .header .headercontent .navwrapper .nav a.navlink:hover {
                    color: #e31d1a;
                }

                .header .headercontent .navwrapper .nav a.navlink.biglink {
                    font-size: 24px;
                }

/* map application */
.mapapp {
    display: flex;
    margin-top: 71px;
    height: 85vh;
    overflow: hidden;
}

    .mapapp div.list {
        flex-grow: .10;
        background-color: #203855;
        flex-direction: column;
    }

    .mapapp .list .filter {
        background-color: #203855;
        display: flex;
        padding: 8px 8px 10px;
        justify-content: flex-start;
        border-right: 1px solid #6D97CF;
    }

        .mapapp .list .filter .label {
            font-size: 13px;
            font-weight: 500;
            color: #FFF;
            padding: 2px 8px 0px 0px;
            flex-grow: .05;
        }

        .mapapp .list .filter .textbox {
            background-color: #FFF;
            border: 1px solid #CCC;
            border-radius: 2px;
            height: 24px;
            flex-grow: .05;
            width: 40%;
        }

        .mapapp .list .filter .go {
            padding: 3px;
            font-size: 13px;
            flex-grow: .05;
            background-color: red;
            border-radius: 99px;
            text-align: center;
            line-height: 1.3;
            margin-left: 16px;
        }

    .mapapp .list .stores {
        display: flex;
        flex-direction: column;
        height: 81vh;
        overflow-y: scroll;
    }

        .mapapp .list .stores h3 {
            font-size: 14px;
            background-color: #135682;
            padding: 4px 2%;
        }

            .mapapp .list .stores h3:first-of-type {
                margin-top: 0px;
            }

        .mapapp .list .stores .store {
            color: #222;
            background-image: linear-gradient(#FFF,#CCC);
            border-radius: 3px;
            width: 93%;
            margin: 4px 2%;
            text-decoration: none;
            padding: 4px;
        }

            .mapapp .list .stores .store:hover {
                background-image: linear-gradient(#CCC,#FFF);
            }

            .mapapp .list .stores .store .tooltip {
                display: none;
                width: 550px;
                height: 200px;
                position: absolute;
                left: 18%;
                top: 560px;
                font-size: 0px;
                z-index: 99;
            }

                .mapapp .list .stores .store .tooltip .point {
                    border-color: transparent #18335b transparent transparent;
                    border-style: solid;
                    border-width: 10px 15px 10px 0px;
                    height: 0px;
                    width: 0px;
                    display: inline-block;
                    position: relative;
                    top: -117px;
                    opacity: .8;
                }

                .mapapp .list .stores .store .tooltip .box {
                    background-color: #18335b;
                    width: 495px;
                    height: 200px;
                    display: inline-block;
                    position: relative;
                    left: 0px;
                    border-radius: 3px;
                    opacity: .8;
                    top: -30px;
                }

                .mapapp .list .stores .store .tooltip .info {
                    position: relative;
                    top: 155px;
                    font-size: 12px;
                    color: #FFF;
                    left: 40px;
                    z-index: 99;
                    margin-top: -140px;
                    width: 500px;
                }

                    .mapapp .list .stores .store .tooltip .info .infowrapper {
                        display: inline-block;
                        width: 45%;
                        vertical-align: top;
                    }

                        .mapapp .list .stores .store .tooltip .info .infowrapper h4 {
                            font-size: 15px;
                            margin: 4px 0px 4px;
                        }

                    .mapapp .list .stores .store .tooltip .info a.link {
                        display: inline-block;
                        background-color: red;
                        padding: 4px 16px;
                        margin-right: 16px;
                        margin-top: 16px;
                        border-radius: 3px;
                        color: #FFF;
                        font-weight: bold;
                        text-decoration: none;
                        text-align: center;
                    }

                    .mapapp .list .stores .store .tooltip .info .beautyshot {
                        display: inline-block;
                        width: 45%;
                        vertical-align: top;
                    }

                        .mapapp .list .stores .store .tooltip .info .beautyshot img {
                            width: 100%;
                            border-radius: 2px;
                        }

            .mapapp .list .stores .store:hover .tooltip {
                display: block;
                transition: 0s;
            }

        .mapapp .list .stores a.sname {
            font-weight: 600;
            color: #092c74;
            text-decoration: none;
        }

            .mapapp .list .stores a.sname:hover {
                color: #00af40;
            }

        .mapapp .list .stores .store span.distance {
            font-size: 13px;
            font-style: italic;
            display: block;
        }

            .mapapp .list .stores .store span.distance span {
                color: #FD4F00;
                font-weight: 600;
            }

    .mapapp .map {
        flex-grow: .90;
    }

        .mapapp .map .makefilter {
            background-color: #203855;
            display: flex;
            justify-content: space-between;
        }

            .mapapp .map .makefilter a.make {
                flex-grow: .1;
                text-align: center;
                padding: 8px 8px 10px;
                transition: .5s;
            }

                .mapapp .map .makefilter a.make:hover {
                    background-color: #0F6F9E;
                }

    .mapapp .googleframe .transfer {
        position: fixed;
        top: 650px;
        font-size: 30px;
        padding: 8px 16px;
        background-color: #17385a99;
        z-index: 90;
        width: 76%;
        text-align: center;
        font-style: italic;
        border-radius: 3px;
        margin-left: 2%;
    }

/* Custom Content */
.customwrapper {
    margin: 80px 0px;
    padding: 40px 0px;
}

div.customwrapper.bgblue {
    background-color: #106794;
}

div.customwrapper.flat {
    height: 0px;
    margin: 0px;
    padding: 20px 0px 4px;
}

.customwrapper .customcontent {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 40px;
    width: 100%;
}

    .customwrapper .customcontent h3 {
        font-size: 36px;
        font-weight: 400;
        line-height: 1.2;
        margin: 0 0 16px;
        padding: 0;
        text-align: center;
    }

    .customwrapper .customcontent .lineshort {
        margin: 24px auto;
        max-width: 120px;
        background: #6d97cf;
        height: 1px;
    }

    .customwrapper .customcontent .items {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

        .customwrapper .customcontent .items .item {
            flex-grow: .3;
            text-align: center;
            max-width: 350px;
        }

    .customwrapper .customcontent .item h4 {
        font-size: 24px;
        font-weight: 200;
        line-height: 1.2;
        margin: 0;
        padding: 0;
    }

    .customwrapper .customcontent .item p {
        line-height: 1.2;
        font-size: 16px;
    }

.customwrapper div.customcontent.buttons {
    display: flex;
    justify-content: space-between;
}

.customwrapper .customcontent a.bigbutton {
    font-size: 24px;
    padding: 16px;
    background-color: #e31d1a;
    color: #FFF;
    text-decoration: none;
    flex-grow: .25;
    text-align: center;
    border-radius: 3px;
    transition: .5s;
}

    .customwrapper .customcontent a.bigbutton:hover {
        background-color: #001c3f;
    }

/* footer */
.footer {
    position: fixed;
    bottom: 0px;
    height: 40px;
    width: 100%;
    background-color: #e31d1a;
    z-index: 99;
}

    .footer .footerwrapper {
        width: 1170px;
        margin: auto;
        display: flex;
        justify-content: space-between;
        padding-top: 10px;
    }

        .footer .footerwrapper a {
            font-size: 13px;
            color: #FFF;
            text-decoration: none;
            transition: .7s;
        }

            .footer .footerwrapper a:hover {
                color: #e9e9e9;
                text-decoration: underline;
            }

        .footer .footerwrapper .footerlinx {
            display: flex;
            flex-grow: .1;
            justify-content: space-between;
        }

/* media queries */
@media (max-width: 1440px) {
    .header .headercontent h2 {
        flex-grow: .3;
        font-size: 14px;
        padding-left: 0;
        text-align: right;
        top: -5px;
    }

        .header .headercontent h2 span {
            font-size: 16px;
        }

    .header .headercontent {
        justify-content: space-between;
    }

        .header .headercontent h1 {
            flex-grow: .01;
        }

            .header .headercontent h1 img {
                width: 100%;
            }

        .header .headercontent .navwrapper {
            flex-grow: .4;
        }

            .header .headercontent .navwrapper .nav a.navlink {
                font-size: 14px;
            }

                .header .headercontent .navwrapper .nav a.navlink.biglink {
                    font-size: 18px;
                }
}
