﻿#dialog-frequentmaps-metadata {
    width: 70%;
    text-align: left;
    float: left;
}

#dialog-frequentmaps-updated {
    width: 25%;
    text-align: right;
    float: right;
}

/* targets the collapsible div (More logic) */
div.dialog-frequentmaps div.frequentmaps-container > div > div:nth-child(2) {
    border-bottom: 1px solid rgb(221, 221, 221);
    padding: 5px;
    vertical-align: middle;
}

div.dialog-frequentmaps span.glyphicon-download-alt {
    color: #1a6cff;
}

div.dialog-frequentmaps span.glyphicon-download-alt:hover{
    color:red;
}

/*div.frequentmaps-container > div:nth-child(even) {
    background-image: url('/communitymaps/images/gradient_cyan_200.png') !important;
    background-color: #FFFFFF !important;
}*/

div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child {
    border-bottom: 1px solid #ddd;
}

    div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child > div:first-child {
        width: 69%;
        text-align: left;
        padding-left: 20px;
    }

    div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child > div:nth-child(2),
    div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child > div:nth-child(3),
    div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child > div:last-child {
        width: 10%;
    }

div.dialog-frequentmaps div.frequentmaps-container > div > div > div {
    display: inline-block;
    color: black;
    text-align: center;
    vertical-align: middle;
    padding: 10px 5px;
}

/* targets first-child only to not affect more functionality's div */
div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child:hover {
    background-color: #CEECF5 !important;
}

/* top "X" close button */
div.dialog-frequentmaps button.close {
    font-size: 40px;
    color: white;
    line-height: .75;
    opacity: 1.0;
}

div.dialog-frequentmaps div.dialog-frequentmaps-collapsible {
    width: 100% !important;
}

    div.dialog-frequentmaps div.dialog-frequentmaps-collapsible > div {
        display: table-cell;
        font-style: italic;
    }

div.dialog-frequentmaps modal {
    box-shadow: 10px 10px 5px #888888;
}

div.dialog-frequentmaps .modal-dialog {
    top: 50px;
    width: auto;
    max-width: 550px;
    max-height: 400px;
    font-size: 14px;
    color: white;
}

div.dialog-frequentmaps .panel-heading:hover {
    cursor: pointer;
}

/* targets the fa icon */
div.dialog-frequentmaps .panel-title > a > span.fa {
    display: inline-block;
    width: 27px;
}

/* targets the glyphicon caret */
div.dialog-frequentmaps .panel-title > span {
    display: inline-block;
    vertical-align: middle;
    float: right;
}

/* content body of each panel */
div.dialog-frequentmaps .dialog-collapsible-body {
    color: black;
    margin: 10px 25px;
}

div.dialog-frequentmaps .panel-group {
    margin: 10px 20px;
}

div.dialog-frequentmaps .panel .panel-default {
    border-radius: 0px;
}

div.dialog-frequentmaps .modal-footer .btn {
    border-radius: 0px;
    width: 60px;
    height: 35px;
}

div.dialog-frequentmaps .table tr th,
div.dialog-frequentmaps .table tr td {
    color: black;
}

div.dialog-frequentmaps .table thead tr {
    height: 45px;
}

div.dialog-frequentmaps .table tr th,
div.dialog-frequentmaps .table tr td {
    text-align: center;
    vertical-align: middle;
}

/* cow blue */
div.dialog-frequentmaps > div > div > div.modal-header,
/*.dialog-frequentmaps .panel-heading,*/
div.dialog-frequentmaps .modal-footer .btn {
    /*color: white;
    background-color: #367cfe;
    background: -webkit-gradient(linear,left top,left bottom,from(#367cfe),to(#015dff));
    background: -webkit-linear-gradient(to top,#367cfe,#015dff);
    background: -moz-linear-gradient(to top,#367cfe,#015dff);
    background: -ms-linear-gradient(to top,#367cfe,#015dff);
    background: -o-linear-gradient(to top,#367cfe,#015dff);
    background: linear-gradient(to top,#367cfe,#015dff);*/
    color: white !important;
    background-color: #367cfe;
    background: -webkit-gradient(linear,left top,left bottom,from(#367cfe),to(#015dff));
    background: -webkit-linear-gradient(top,#367cfe,#015dff);
    background: -moz-linear-gradient(top,#367cfe,#015dff);
    background: -ms-linear-gradient(top,#367cfe,#015dff);
    background: -o-linear-gradient(top,#367cfe,#015dff);
    background: linear-gradient(top,#367cfe,#015dff);
}

    /* cow green */
    /*.dialog-frequentmaps .panel-heading:hover,*/
    div.dialog-frequentmaps .modal-footer .btn:hover {
        color: #1e1e1e;
        background-color: #bfe096;
        background: -webkit-gradient(linear,left top,left bottom,from(#bfe096),to(#9fd163));
        background: -webkit-linear-gradient(to top,#bfe096,#9fd163);
        background: -moz-linear-gradient(to top,#bfe096,#9fd163);
        background: -ms-linear-gradient(to top,#bfe096,#9fd163);
        background: -o-linear-gradient(to top,#bfe096,#9fd163);
        background: linear-gradient(to top,#bfe096,#9fd163);
    }

/* gradient linear blue */
div.dialog-frequentmaps .panel-heading {
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…IgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(left, rgba(1,93,255,1) 0%, rgba(2,175,255,0.5) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(1,93,255,1)), color-stop(100%,rgba(2,175,255,0.5)));
    background: -webkit-linear-gradient(left, rgba(1,93,255,1) 0%,rgba(2,175,255,0.5) 100%);
    background: -o-linear-gradient(left, rgba(1,93,255,1) 0%,rgba(2,175,255,0.5) 100%);
    background: -ms-linear-gradient(left, rgba(1,93,255,1) 0%,rgba(2,175,255,0.5) 100%);
    background: linear-gradient(to right, rgba(1,93,255,1) 0%,rgba(2,175,255,0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#015dff', endColorstr='#8002afff',GradientType=1 );
}

div.dialog-frequentmaps .well {
    margin-bottom: 0px;
    border-radius: 0px;
}

@media only screen and (max-width: 480px) {
    .dialog-frequentmaps h4.modal-title {
        font-size: 16px;
    }

    .dialog-frequentmaps .modal-dialog {
        font-size: 14px;
    }

    div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child > div:first-child {
        width: 57%;
    }

    div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child > div:nth-child(2) {
        width: 16%;
    }

    div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child > div:nth-child(3) {
        width: 13%;
    }

    div.dialog-frequentmaps div.frequentmaps-container > div > div:first-child > div:last-child {
        width: 13%;
    }
}
