/************ Content area ***************/
#map-container {
    width: 975px;
    margin: 0 auto;
    position: relative;
}
    #embed-logo {
        position: absolute;
        top: 5px;
        left: 5px;
        z-index: 100;
    }
    #map-container #map-sidebar {
        width: 215px;
        height: auto;
        float: left;
        margin-top: 35px;
        z-index: 0;
        position: relative;
    }
        #map-container #map-sidebar .side-expandable{
            border-top: 1px solid #cccccc;
            border-bottom: 1px solid #cccccc;
            border-right: 1px solid #cccccc;
            -moz-border-radius: 0 10px 10px 0;
            -webkit-border-radius: 0 10px 10px 0;
            border-radius: 0 10px 10px 0;
            margin-bottom: 15px;
            width: 200px;
            padding: 10px 0;
            background-color: #fff;
            margin-left: -15px;
        }
        #map-container #map-sidebar .side-expandable.topics-expand{
            margin-bottom: 0px;
        }
            #map-container #map-sidebar .side-expandable .title{
                padding-left: 20px;
                padding-top: 5px;
                cursor: pointer;
                height: 20px;
            }
            #map-container #map-sidebar .side-expandable #states{
                background-image: url('/v1_themes/third_party/hrc_maps/img/state-icon.png');
                background-repeat: no-repeat;
                background-position: 155px;
            }
            #map-container #map-sidebar .side-expandable #topics{
                background-image: url('/v1_themes/third_party/hrc_maps/img/issue-icon.png');
                background-repeat: no-repeat;
                background-position: 155px;
            }
                #map-container #map-sidebar .side-expandable .content{
                    display: none;
                }
                #map-container #map-sidebar .side-expandable .content ul{
                    width: 200px;
                    height: 300px;
                }
                    #map-container #map-sidebar .side-expandable .content ul div.nano-content{
                        padding: 10px 10px 10px 0;
                    }
                    #map-container #map-sidebar .side-expandable .content ul .nano-pane{ background: #888; }
                    #map-container #map-sidebar .side-expandable .content ul .nano-slider { background: #111; }

                        #map-container #map-sidebar .side-expandable .content ul div li{
                            width: 175px;
                            word-wrap: normal;
                            padding-top: 10px;
                            padding-bottom: 10px;
                            padding-left: 20px;
                            cursor: pointer;
                        }
                        #map-container #map-sidebar .side-expandable .content ul div li:hover{
                            background-color: #FFDD1C;
                        }

        #map-container #map-sidebar .topic-data{
            padding-left: 10px;
            margin-top: 20px;
        }
        #map-container #map-sidebar .topic-data .compare .topic-compare{
            padding-bottom: 20px;
        }
        #map-container #map-sidebar .topic-data h3{
            color: #263570;
            font-size: 20px;
            word-wrap: normal;
            font-weight: bold;
            margin-bottom: 20px;
            line-height: 1.1em;
        }
        #map-container #map-sidebar .topic-data .compare .compare-bubble
        {
            margin-bottom: 20px;
        }
        #map-container #map-sidebar .topic-data .compare .compare-bubble
        {
            position: relative;
            width: 10px;
            height: 40px;
            padding: 0px;
            background: #FFFFFF;
            -webkit-border-radius: 0px;
            -moz-border-radius: 0px;
            border-radius: 0px;
            float: left;
            margin-right: 10px;
        }
        #map-container #map-sidebar .topic-data .compare a
        {
            color: #000000;
        }

        /*#map-container #map-sidebar .topic-data .compare .compare-bubble:after
        {
            content: ' ';
            position: absolute;
            border-style: solid;
            border: 6px solid transparent;
            border-left-color: #FFFFFF;
            width: 0;
            z-index: 1;
            bottom: -5px;
            left: 10px;
            top: 19px;
            height: 0;
        }*/

        #map-container #map-sidebar .topic-data ul{
            margin: 20px 0;
        }
        #map-container #map-sidebar .topic-data ul li{
            margin-bottom: 10px;
        }
        #map-container #map-sidebar .topic-data ul li .color-sample{
            width: 10px;
            height: 30px;
            float: left;
        }
        #map-container #map-sidebar .topic-data ul li .category-title{
            float: left;
            padding-left: 10px;
            font-weight: bold;
            word-wrap: normal;
            width: 170px;
        }
    #map-container #map-holder {
        width: 760px;
        height: 750px;
        float: left;
        background-color: #fff;
        padding-bottom: 30px;
        z-index: 1;
        position: relative;
    }
        #map-container #map-holder h1{
            font-size: 30px;
            line-height: 46px;
            text-transform: uppercase;
            font-weight: bold;
            letter-spacing: -1px;
            text-align: center;
            margin-top: 40px;
        }
        #map-container #map-holder #map{
            width: 600px;
            height: 402px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 30px;
        }
        #map-container #map-holder #legend{
            width: 600px;
            height: auto;
            margin-left: auto;
            margin-right: auto;
        }
            #map-container #map-holder #legend ul li{
                padding: 5px 0;
            }
                #map-container #map-holder #legend ul li img{
                    margin-right: 5px;
                    vertical-align: top;
                }
        #map-container #map-holder #slider{
            width: 600px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 30px;
        }
        #map-container #map-holder #links{
            padding: 0 80px;
        }
        #map-container #map-holder #links div{
            float: right;
            background-repeat: no-repeat;
            margin-right: 20px;
        }
        #map-container #map-holder #links span{
            font-size: 9px;
            font-style: italic;
        }
        #map-container #map-holder #links div.download{
            background-image: url('/v1_themes/third_party/hrc_maps/img/download-icon.png');
            padding-left: 20px;
        }
        #map-container #map-holder #links div.embed{
            background-image: url('/v1_themes/third_party/hrc_maps/img/embed-icon.png');
            padding-left: 20px;
        }
        #map-container #map-holder #links div.share{
            background-image: url('/v1_themes/third_party/hrc_maps/img/share-icon.png');
            margin-right: 0 !important;
            padding-left: 12px;
        }

        #map-container #map-holder #links div a{
            color: #263570;
        }
/************ Map tooltips ***************/
.bubble
{
    position: absolute;
    width: 190px;
    height: 200px;
    padding: 15px;
    background: #FFFFFF;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: #D8D8D8 solid 1px;
    z-index: 5000;
    opacity:0.9;
    filter:alpha(opacity=90);
    -moz-opacity:0.9;
}

.bubble:after
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 15px 15px 0;
    border-color: #FFFFFF transparent;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -15px;
    left: 95px;
}

.bubble:before
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 15px 15px 0;
    border-color: #D8D8D8 transparent;
    display: block;
    width: 0;
    z-index: 0;
    bottom: -16px;
    left: 95px;
}
    .bubble .dialog-close {
        background: url('/v1_themes/third_party/hrc_maps/img/dialog-close.png');
        width: 30px;
        height: 25px;
        position: absolute;
        top: 5px;
        left: 197px;
    }
    .bubble h2 {
        font-size: 1.2em;
        margin-right: auto;
        margin-left: auto;
        font-weight: bold;
        text-align: center;
        color: #263570;
    }
    .bubble .content {
        height: 80%;
        margin-top: 1em;
    }
        .bubble .content .content-section  {
            border-top: solid 1px #CCCCCC;
            padding: 1em 0;
        }
        .bubble .content .content-section.description  {
            text-align: center;
            font-size: 10px;
            line-height: 13px;
        }
            .bubble .content .content-section table {
                border-collapse: separate;
                border-spacing: 5px;
                font-weight: bold;
            }
                .bubble .content .content-section table tr td{
                    font-weight: bold;
                }
    .bubble .more-info {
        color: #263570;
        text-align: center;
        font-size: 0.9em;
        font-weight: bold;
    }

/************ Full screen overlay ***************/
.full-overlay {
    position:absolute;
    top: 0;
    left: 0;
    z-index:9999;
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, 0.5);
    padding: 0;
    margin: 0;
}
    .full-overlay #loading {
        width: 130px;
        height: 115px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 400px;
    }
    .full-overlay #intro {
        background-image: url('/v1_themes/third_party/hrc_maps/img/intro.png');
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: 50% 18%;
        position: absolute;
    }
        .full-overlay #intro #button{
            width: 130px;
            height: 15px;
            background-color: #FFDE1C;
            border-radius: 5px;
            color: #263570;
            padding: 10px;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
            margin-top: 655px;
            cursor: pointer;
        }

/************ Generic classes ***************/
.hide {
    display: none;
}
.clear {
    clear: both;
}
#tail {
    position: absolute;
    float: left;
}
.node_marriage.level_1 a{position: absolute;}

div.share-box {
    float: none;
    position: relative;
}
#map-social-share li.first{
    float: left;
    width: 90px;
}
#map-social-share li.last{
    float: right;
    width: 90px;
}

/*********** FB hack ******************/
#like .fb_iframe_widget span {
    height: 20px !important;
    vertical-align: bottom !important;
}
#like .fb_iframe_widget span iframe{
    height: 20px !important;
    visibility: visible !important;
}
