.page-tool {
    margin: 0;
}

.tf-map-wrap {
    position: relative;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background-color: black;
}

/*
.tf-map-header-business {
    float: left;
    position: relative;
    padding: 0 10px;
}
*/

.tf-build-content {
    position: relative;
    overflow: hidden;
}

/*notify*/
.tf-map-notify-wrap {
    position: absolute;
    top: 40px;
    right: 0;
    width: 450px;
    padding: 0;
}

.tf-map-notify-wrap .panel-heading, .tf-map-notify-wrap .panel-footer {
    height: 30px;
    line-height: 30px !important;
}

/* =========== ========== ========== Filter =========== ========== ==========*/
/*filter - business type*/
.tf-map-business-type-filter {
    position: absolute;
    top: 42px;
    right: 0;
    min-width: 165px;
    background-color: white;
}

.tf-map-business-type-object {
    height: 24px;
    line-height: 24px;
    text-align: right;
    padding-right: 8px;
}

.tf-map-business-type-object:hover {
    cursor: pointer;
    background-color: #172d5a;
}

.tf-map-business-object-wrap {
    top: 0;
    left: -235px;
    width: 235px;
    overflow: auto;
    display: none;
    background-color: grey;
    border: 1px solid #D7D7D7;
}

.tf-map-business-object {
    height: 24px;
    line-height: 24px;
    padding-right: 17px;
}

/*=========== ========== ========== screen =========== ========== ========== */
/*
.tf-map-screen-wrap {
    position: absolute;
    height: 30px;
    width: 300px;
    left: 50%;
    bottom: 0;
    margin-left: -150px;
}

.tf-map-screen {
    position: absolute;
    z-index: 1;
    height: 250px;
    width: 400px;
    left: 50%;
    bottom: 0;
    margin-left: -200px;
}

@media only screen and (max-width: 500px) {
    .tf-map-screen-wrap {
        width: 60%;
        left: 20%;
        margin-left: 0;
    }

    .tf-map-screen {
        width: 100%;
        height: 180px;
        left: 0;
        margin-left: 0;

    }
}

.tf-map-screen-body {
    position: relative;
    background-color: black;
    height: 80%;
    width: 100%;
    border: 3px solid #606060;
}

.tf-map-screen-content {
    background-color: black;
    width: 100%;
    height: 100%;
}

.tf-map-screen-footer {
    position: relative;
    height: 20%;
    width: 100%;
}

@media only screen and (max-width: 500px) {
    .tf-map-screen-body {
        height: 70%;
    }

    .tf-map-screen-footer {
        height: 30%;

    }
}

.tf-map-screen-footer-col {
    position: absolute;
    top: -2px;
    height: calc(100% + 10px);
    width: 15px;
    background-color: #404040;
    border: 2px solid #606060;
}

.tf-map-screen-footer-col-left {
    left: 10%;
}

.tf-map-screen-footer-col-right {
    right: 10%;
}

.tf-map-screen-control-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 30px;
    width: 100%;
    background-color: black;
    border-radius: 15px;
    border: 1px solid #606060;
}

.tf-map-screen-control-content {
    height: 100%;
}

.tf-map-screen-control-icon-wrap {
    height: 100%;
}

.tf-map-screen-control-icon-wrap > .btn {
    height: 100%;
    background: none !important;
    border: none !important;
    color: white !important;
}

.tf-map-screen-control-icon-font {
    font-size: 12px !important;
}

.tf-map-screen-control-icon-font-play {
    font-size: 20px !important;
}
.tf-map-screen-content-object-menu{
    display: none;
}
.tf-map-screen-content-object:hover .tf-map-screen-content-object-menu {
    display: inline-block;
}
*/

/* =========== ========== ========== mini map content ========== ============ ========== */
.tf-map-mini {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999999999;
    background-color: grey;
}

.tf-map-mini-content {
    position: relative;    
    width: 402px;
    height: 402px;
    background-color: #172d5a;
}

.tf-map-mini-project {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: green;
}

.tf-map-mini-x {
    position: absolute;
    top: 25px;
    z-index: 100;
    width: 452px;
    height: 1px;
    background-color: red;
}

.tf-map-mini-y {
    position: absolute;
    top: 0;
    left: 25px;
    z-index: 100;
    Width: 1px;
    height: 452px;
    background-color: red;
}

.tf-map-mini-location {
    position: absolute;
    top: 0;
    right: 0;
    background-color: white;
}

.tf-map-mini-location select {
    border: none;
}

/*---------- move map ---------- */
.tf-map-move-trend {
    position: absolute;
    font-size: 25px;
    z-index: 999999999;
}

.tf-map-move-top {
    top: 0;
    left: 50%;
    margin-left: -10px;
}

.tf-map-move-right {
    top: 50%;
    right: 5px;
    margin-top: -10px;
}

.tf-map-move-bottom {
    bottom: 20px;
    left: 50%;
    margin-left: -10px;
}

.tf-map-move-left {
    top: 50%;
    left: 5px;
    margin-top: -10px;
}

/*---------- control map ----------- */
.tf-control-map {
    position: absolute;
    right: 10px;
    z-index: 999999;
    height: 30px;
    width: auto;
    background-color: white;
}

.tf-control-icon {
    width: 20px !important;
    height: 20px !important;
    margin: 5px;
    color: #172d5a;
}

.tf-control-icon:hover {
    cursor: pointer;
}

.tf-content-tool {
    position: absolute;
    top: 30px;
    right: 0;
    width: 140px;
    height: 550px;
    overflow: auto;
    z-index: 100000;
    text-align: center;
    border: 1px solid #A0A0A0;
    background-color: white;
}

/*---------- publish project ----------*/
.tf-control-wrap {
    position: absolute;
    top: 32px;
    right: 0;
    width: 350px;
    border: 1px solid #ECECEC;
    background-color: white;
}

.tf-control-wrap ul {
    width: 100%;
    color: white;
    background-color: #172d5a;
}

.tf-control-wrap ul li {
    color: white;
    display: inline-block;
    height: 24px;
    line-height: 24px;
    list-style: none;
    padding: 0 10px;

}

/* =========== ========== ========== play =========== ========== ==========*/
.tf-map-play-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    width: 620px;
    height: 100%;
    margin-left: -310px;
    /* display: none;*/
    /*border: 1px solid red;*/
}

.tf-map-play-background-close {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: black;
    opacity: 0.7;
}

.tf-map-play-content-view {
    height: calc(100% - 100px);
    width: calc(100% - 120px);
    position: absolute;
    top: 50px;
    left: 60px;
    z-index: 2;
    /*border: 1px solid yellow;*/
    /*overflow: hidden;*/
}

@media only screen and (max-width: 600px) {
    .tf-map-play-wrap {
        width: 100%; /*calc(100% - 120px);*/
        left: 0;
        margin-left: 0;
    }
}

/* =========== ========== ========== multimedia =========== ========== ==========*/
.tf-multimedia-menu {
    position: absolute;
    bottom: 0;
    left: 15px;
}

.tf-multimedia-menu li {
    background: none;
    border: none !important;
    padding: 3px 0 !important;
    text-align: center;
}

.tf-multimedia-menu li .tf-map-show-icon {
    font-size: 20px;
}

.tf-multimedia-wrap {
    background-color: #404040;
    position: relative;
}

.tf-multimedia-body {
    background-color: black;
    height: 90%;
}

.tf-multimedia-body-content {
    height: 100%;
    position: relative;
    text-align: center;
}

.tf-multimedia-images-wrap {
    position: relative;
    height: 100%;
}

.tf-multimedia-images-wrap .tf-pin-image-icon {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 100;
    width: 40px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #404040;
    display: none;
}

.tf-multimedia-images-detail {
    height: 80%;
}

.tf-multimedia-images-list {
    background-color: #404040;
    height: 20%;
    /*height: 100%;*/
    overflow-x: scroll;
    overflow-y: hidden;
    display: block;
    padding: 0;
}

.tf-multimedia-image-list-object {
    height: 120px;
    border: none;
    vertical-align: middle;
}

.tf-multimedia-body-play-detail-image-wrap {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/*multimedia videos*/
.tf-multimedia-videos-wrap {
    height: 100%;
}

.tf-multimedia-videos-wrap .tf-pin-image-icon {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 100;
    width: 40px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #404040;
    display: none;
}

.tf-multimedia-videos-detail {
    height: 80%;
}

.tf-multimedia-video-detail-object {
    height: 100%;
}

.tf-multimedia-video-detail-object table {
    height: 100%;
    margin: 0;
}

.tf-multimedia-video-detail-object table tr td {
    vertical-align: middle;
    padding: 0;
}

.tf-multimedia-videos-list {
    background-color: #404040;
    padding: 0;
    height: 20%;
    /*height: 100%;*/
    overflow-x: scroll;
    overflow-y: hidden;
    display: block;
}

.tf-multimedia-videos-list table {
    height: 100%;
}

.tf-multimedia-videos-list-object {
    height: 120px;
    border: none;
    vertical-align: middle;
    padding: 10px;
}

.tf-multimedia-videos-list-object .tf-link-embed-wrap {
    width: 150px;
    height: 100%;
    position: relative;
}

.tf-multimedia-videos-list-object .tf-link-embed-wrap .tf-video-play {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

.tf-multimedia-videos-list-object .tf-link-embed-wrap .tf-play-status {
    padding: 3px 5px;
    background-color: black;
    color: white;
    margin: 3px;
}

/*.tf-multimedia-body-list-container::-webkit-scrollbar {
    height: 6px;
    background-color: #F5F5F5;
}
.tf-multimedia-body-list-container::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #D62929;
}

.tf-multimedia-body-list-container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}*/
.tf-multimedia-body-menu {
    /*height: 50px;*/
    height: 10%;
    padding: 0;
}

.tf-multimedia-body-menu table {
    /*background-color: #202020;*/
    height: 100%;
    margin: 0;

}

.tf-multimedia-body-menu table tr td {
    color: #a0a0a0;
    text-align: center;
    vertical-align: middle;
}

.tf-multimedia-body-menu table tr .tf-active {
    background-color: whitesmoke;
    color: red !important;
}

.tf-multimedia-body-menu table tr .tf-active a {

    color: red !important;
    font-weight: bolder;
}

@media only screen and (max-width: 375px) {
    .tf-multimedia-images-detail, .tf-multimedia-videos-detail {
        height: 75% !important;
    }

    .tf-multimedia-images-list, .tf-multimedia-videos-list {
        height: 25% !important;
    }
}

/* =========== ========== ========== Pin =========== ========== ==========*/
.tf-map-pin-wrap {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 999999999;
    background-color: black;
    width: 400px;
    height: 400px;
    border: 1px solid black;
    margin: 0 auto;
    box-shadow: 0 9px 9px #000;
    -webkit-box-shadow: 0 9px 9px #000;
    -moz-box-shadow: 0 9px 9px #000;
}

@media only screen and (max-width: 450px) {
    .tf-map-pin-wrap {
        width: 80vw !important;
    }
}

/*image*/
.tf-map-pin-images-wrap {
    position: relative;
    padding: 0;
}

.tf-map-pin-images-wrap .tf-pin-menu-icon {
    position: absolute;
    top: 0;
    z-index: 100;
    width: 40px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #404040;
    display: none;
}

.tf-map-pin-images-wrap .tf-multimedia-to {
    left: 0;
}

.tf-map-pin-images-wrap .tf-pin-close {
    right: 0;
}

.tf-map-pin-images-wrap table {
    margin: 0;
}

.tf-map-pin-images-wrap table tr td {
    padding: 0;
    border: none;
}

.tf-map-pin-images-detail {
    height: 200px;
}

.tf-map-pin-images-list {
    background-color: #202020;
    height: 200px;
    padding: 0;
    overflow: auto;
}

.tf-map-pin-image-list-object {
    margin-top: 5px;
    color: #a0a0a0;
}

.tf-map-pin-images-wrap .tf-image-detail {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/*video*/
.tf-map-pin-videos-wrap {
    position: relative;
    padding: 0;
}

.tf-map-pin-videos-wrap .tf-pin-menu-icon {
    position: absolute;
    top: 0;
    z-index: 100;
    width: 40px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #404040;
    display: none;
}

.tf-map-pin-videos-wrap .tf-multimedia-to {
    left: 0;
}

.tf-map-pin-videos-wrap .tf-pin-close {
    right: 0;
}

.tf-map-pin-videos-wrap table {
    margin: 0;
}

.tf-map-pin-videos-wrap table tr td {
    padding: 0;
    border: none;
}

.tf-map-pin-videos-detail {
    height: 250px;
}

.tf-map-pin-videos-list {
    background-color: #202020;
    height: 150px;
    padding: 0;
    overflow: auto;
}

.tf-map-pin-videos-detail-object {
    height: 100%;
}

.tf-map-pin-videos-detail-object table {
    height: 100%;
    margin: 0;
}

.tf-map-pin-videos-detail-object table tr td {
    vertical-align: middle;
    padding: 0;
}

.tf-map-pin-videos-wrap .tf-image-detail {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tf-map-pin-videos-list-object {
    margin: 0 !important;
    color: #a0a0a0;
    height: 60px;
    background: none !important;
}

.tf-map-pin-videos-list-object tr td {
    padding: 10px 0 0 10px !important;
}

.tf-map-pin-videos-list-object .tf-link-embed-wrap {
    width: 100%;
    height: 60px;
    position: relative;
}

.tf-map-pin-videos-list-object .tf-link-embed-wrap .tf-video-play {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

.tf-map-pin-videos-list-object .tf-link-embed-wrap .tf-play-status {
    padding: 3px 5px;
    background-color: black;
    color: white;
    margin: 3px;
}