﻿/*TerraMatrix Modal*/
.tmx-modal {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0);
    z-index: 9;
    opacity: 1;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.tmx-modal-header .tmx-icon {
    cursor: pointer;
}

.tmx-modal-header-img-wrapper {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    /* background-color: white; */
    border-radius: 50%;
    background-color: #323232;
    border: 2px solid #e1e3e4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmx-modal-parent {
    /*min-width: 300px;*/
    width: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    background: #e1e3e4;
    /*padding: 2px;*/
    border-radius: 5px;
    display: none;
    border: 1px solid #b5b5b5;
    opacity: 1;
}

.tmx-modal-header {
    border: 1px solid #aaaaaa;
    background: #323232;
    color: White;
    font-family: 'Montserrat', sans-serif;
    pointer-events: auto;
    display: flex;
    min-height: 55px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}

.tmx-modal-header-logo-at {
    position: absolute;
    margin-left: 30px;
    top: 0;
}

.tmx-modal-img-at {
    width: 50px;
    height: 50px;
}

.tmx-modal-header-message {
    border: 1px solid #aaaaaa;
    background: #323232;
    color: White;
    font-family: 'Montserrat', sans-serif;
    pointer-events: auto;
    display: flex;
    /* min-height: 55px; */
    min-width: 300px;
    padding: 5px;
    justify-content: space-between;
    align-items: center;
}

    .tmx-modal-header:hover, .tmx-modal-header-message:hover {
        cursor: move;
    }

.tmx-modal-header-mobile {
    /*width: auto;*/
    border: 1px solid #aaaaaa;
    background: #323232;
    color: White;
    font-family: 'Montserrat', sans-serif;
    /*min-height: 35px;
    max-height: 35px;*/
    pointer-events: auto;
    /*border-radius: 5px;*/
    /* display: flex; */
    min-height: 30px;
    display: none;
}

.tmx-modal-header-mobile-title {
    margin-left: auto;
    margin-right: 0;
}

.tmx-modal-header-left {
    width: 100%;
    display: inline-block;
    align-items: center;
    text-indent: 5px;
    margin-top: 5px;
}

.tmx-modal-header-right {
    width: 30%;
    display: flex;
    align-items: center;
}

    .tmx-modal-header-right a {
        top: 5px;
    }

.tmx-modal-header-left-mobile {
    width: 60px;
    display: flex;
    align-items: center;
    text-indent: 15px;
}

.tmx-modal-header-right-mobile {
    display: flex;
    width: 100%;
    align-items: center;
}

.tmx-modal-footer {
    width: auto;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    display: flex;
    pointer-events: auto;
}

.tmx-modal-content {
    height: 100%;
    pointer-events: auto;
    padding: 5px;
}

.tmx-modal-scrollbar {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

    .tmx-modal-scrollbar::-webkit-scrollbar {
        width: 0 !important;
    }

.tmx-modal-img-title {
    width: 65%;
    height: 65%;
}

.tmx-lbl-title {
    font-size: 11pt;
}

.tmx-modal-header > .tmx-lbl-title {
    margin-top: 15px;
    margin-left: 70px;
    margin-right: 70px;
    text-align: center;
}

img.agt-search-button {
    height: 25px !important;
    border: none;
}
/*TerraMatrix Modal*/

/*TerraMatrix Message*/
.tmx-modal-message-parent {
    min-width: 350px;
    max-width: 440px;
    position: fixed;
    top: 50%;
    left: 50%;
    background: #e1e3e4;
    padding: 2px;
    border-radius: 5px;
    display: none;
}

.tmx-modal-content-message {
    display: block;
    align-items: center;
    height: 100%;
    position: relative;
    margin: 0 auto;
    border-radius: 10px;
    background: #e1e3e4;
    pointer-events: auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 10px 0 10px;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

    .tmx-modal-content-message div:nth-child(1) {
        width: 20%;
    }

    .tmx-modal-content-message div:nth-child(2) {
        width: 80%;
    }

.tmx-img-content-message {
    width: 50px;
    height: 50px;
    margin: auto;
    display: block;
}

.tmx-modal-content-message > p {
    text-align: center;
    font-family: 'Montserrat', sans-serif !important;
}
/*TerraMatrix Message*/

/*Agt inputs*/
.agt-button {
    min-width: 130px;
    width: auto;
    height: 30px;
    background: #323232;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #323232;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 5px;
}

    .agt-button.disabled {
        background: #b5b5b5;
        border: 1px solid #b5b5b5;
        pointer-events: none;
        cursor: no-drop;
    }

.agt-search-button {
    background: #323232;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #323232;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}

.agt-button-center {
    width: 60% !important;
    display: inline-block !important;
    margin: 5px auto !important;
}

.agt-slc {
    padding-left: 10px;
    height: 28px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 13px !important;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    color: #838383;
}

.not-textarea {
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    color: #838383;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 13px;
    resize: none;
}

.agt-checkbox {
    width: 16px;
    height: 16px;
}

.agt-button-tabs {
    height: 25px;
    min-width: 80px;
    box-sizing: border-box;
    border-radius: 5px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    cursor: pointer;
}

    .agt-button-tabs.selected {
        background: #323232;
        color: white;
    }
/*Agt inputs*/

/*agt paginate*/
.divPaginate {
    min-height: 30px;
    width: 100%;
    background: whitesmoke;
    margin-top: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    border: solid 1px #aaa;
    overflow: auto;
}
/*agt paginate*/


/*TerraMatrix DataGrid*/
.smallerTable {
    height: 160px !important;
}

.wrapperTable {
    width: 100%;
    height: 290px;
    background: whitesmoke;
    margin-top: 15px;
    border: solid 1px #aaa;
    border-radius: 5px;
}

    .wrapperTable table {
        border-collapse: collapse;
        width: 100% !important;
        font-size: 13px !important;
        border-bottom: none;
    }

        .wrapperTable table th {
            height: 25px !important;
            padding: 0;
            text-align: center;
            font-weight: bold;
            border-radius: 5px;
            background-image: linear-gradient(to bottom, rgba(255,255,255,.1), rgba(255,255,255,.4), rgba(255,255,255,0), rgba(255,255,255,.4));
        }

        .wrapperTable table td {
            border-left: 1px solid rgba(206, 210, 214, 1);
        }

            .wrapperTable table td:first-child {
                border-left: none;
            }

    .wrapperTable tr {
        cursor: pointer;
    }

        .wrapperTable tr:nth-child(odd) {
            background-color: #eee !important;
        }

        .wrapperTable tr:nth-child(even) {
            background-color: #fff !important;
        }

    .wrapperTable table tbody tr td {
        height: 27px;
        text-align: center;
        padding: 0;
    }
/* fim tmx bottom nav */
.tmx-modal-mobile-close {
    display: none;
}

.paging-nav {
    text-align: right;
    padding-top: 2px;
}

    .paging-nav a {
        margin: auto 1px;
        text-decoration: none;
        padding: 1px 7px;
        background: #D4D4D4;
        color: white;
        border-radius: 3px;
    }

    .paging-nav .selected-page {
        background: #7b776f;
        font-weight: bold;
    }
/* Fim terraMatrix DataGrid*/

/*tmx tabs*/
.tmx-tabs-parent {
    margin: 5px 0;
}
/*tmx tabs*/

/* tmx bottom nav */
.navbar-fixed-bottom {
    display: none;
}
/* fim tmx bottom nav */

/*mobile portrait*/
@media only screen and (max-width: 767px) {
    .tmx-modal-accordion, #btn-modal-close, .tmx-modal-header-img-wrapper {
        display: none;
    }

    .tmx-modal-parent {
        width: 100%;
        position: fixed;
        height: 100%;
        background: #e1e3e4;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        max-width: initial !important;
        min-width: initial !important;
        border-radius: initial !important;
        padding: initial !important;
    }

    /* tmx bottom nav */
    .navbar-fixed-bottom {
        display: block;
    }
    /* fim tmx bottom nav */
    .tmx-modal-mobile-close {
        display: block;
    }

    .tmx-modal-header > .tmx-lbl-title {
        font-size: 20pt;
        margin: 0 0 0 auto;
    }

    .tmx-modal-img-title {
        width: 35px;
        height: 35px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

/*Popup de evidencias*/
.tmx-ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    min-width: 380px;
    max-width: 380px;
    transform: translate(-50%,-105%);
    min-height: 330px;
}

    .tmx-ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-top-color: white;
        border-width: 11px;
        left: 50%;
        margin-left: -10px;
    }

    .tmx-ol-popup.example {
        display: none;
    }

    .tmx-ol-popup table {
        border: solid 1px #aaa;
    }

    .tmx-ol-popup tr {
        width: 100%;
    }

        .tmx-ol-popup tr:nth-child(even) {
            background-color: #fff !important;
        }

        .tmx-ol-popup tr:nth-child(odd) {
            background-color: #eee !important;
        }

.tmx-popup-header {
    display: inline-block;
    width: 100%;
    margin-top: 6px;
    /*border-bottom: 1px solid black;*/
}

    .tmx-popup-header * {
        display: inline-block;
    }

.tmx-popup-header-tab-item {
    padding: 5px;
    cursor: pointer;
    background: #323232;
    border-radius: 5px;
    min-width: 70px;
    color: #fff;
    text-align: center;
}

    .tmx-popup-header-tab-item label {
        cursor: pointer;
    }

    .tmx-popup-header-tab-item.selected {
        background: #D3D3D3;
        color: #000
    }

    .tmx-popup-header-tab-item.last-item {
        border-right: none;
    }

.tmx-popup-close {
    background: #000;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    right: 3px;
    position: absolute;
    top: 3px;
    cursor: pointer;
}

    .tmx-popup-close a {
        color: #fff;
        width: 20px;
        text-decoration: none;
        font-size: 11pt;
    }

        .tmx-popup-close a:after {
            content: 'X';
        }

.tmx-popup-content {
    width: 361px;
    height: 150px;
    display: inline-block;
    margin-top: 15px;
}

    .tmx-popup-content * {
        display: inline-block;
    }

.tmx-popup-content-prev, .tmx-popup-content-next {
    width: 10%;
    height: 100%;
    vertical-align: top;
    margin-left: 5px;
}

    .tmx-popup-content-prev img, .tmx-popup-content-next img {
        width: 22px;
        height: 22px;
        margin-top: 100px;
        cursor: pointer;
    }



.tmx-popup-content-photos {
    width: 77%;
    text-align: center;
    margin-left: -5px;
}

.tmx-popup-content-photo {
    width: 100%;
    text-align: center;
    margin-left: -5px;
}

    .tmx-popup-content-photos img, .tmx-popup-content-photo img {
        /*width: 100%;*/
        height: 215px;
    }

    .tmx-popup-content-photos figcaption, .tmx-popup-content-photo figcaption {
        font-size: 8pt;
        font-style: italic;
    }

.tmx-popup-label-center {
    width: 100%;
    text-align: center;
}

/*Popup de evidencias*/

/*Div Wizard*/
.div-wizard {
    width: 100%;
    border: solid 1px #aaa;
    margin-top: 10px;
}

.wizard-btn-left {
    float: left;
    margin-left: 5px;
}

.wizard-btn-right {
    float: right;
    margin-right: 5px;
}
/*Div Wizard*/

.tmx-img-next-prev {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.img-search {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.img-new-agent {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#mappage-div-tooltip {
    background: gainsboro;
    width: 350px;
    position: absolute;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid black;
    padding: 15px;
    display: none;
    z-index: 99999999;
}

.global-pointer {
    cursor: pointer;
}

.display-none {
    display: none;
}

.display-block {
    display: block;
}
