/* here you can put your own css to customize and override the theme */

/***
Rounded Portlets
***/
/*
.portlet {
    border-radius: 4px !important;
}

.portlet .portlet-title {
    border-radius: 4px 4px 0px 0px !important;
}

.portlet .portlet-body,
.portlet .portlet-body .form-actions {
    border-radius: 0px 0px 4px 4px !important;
}
*/

fieldset.external-events-border {
    border: 1px solid #DDDDDD !important;
    padding: 10px !important;
    margin: 0 0 10px 0 !important;
}

legend.external-events-border {
    display: inline-block;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.1em !important;
    text-align: left !important;
}

.external-event {
    display: block;
    text-align: left;
    margin-left: 0;
}

input[id^=btnAddRows_] {
    margin-top: 5px;
    padding: 5px 20px;
    margin-bottom: 20px;
}

div[id^=crmPainel][id$=_Content] {
    margin-bottom: 20px;
}

.logo img {
    max-width: 350px;
    max-height: 60px;
}

.logo-default {
    max-height: 38px;
}

.highlight {
    background-color: #FFFC0D!important;
}

.page-header.navbar.navbar-fixed-top {
    opacity: 0.9!important;
}

.page-subtitle {
    font-size: 16px;
    color: #666666;
    font-weight: bold;
}

.margin-default {
    margin-top: 20px;
}

.margin-top-default {
    margin-top: 20px;
}

.margin-right-default {
    margin-right: 20px;
}

.margin-bottom-default {
    margin-bottom: 20px;
}

.margin-left-default {
    margin-left: 20px;
}

/* XS - eXtra Small devices (max-width: 543px) */
/* SM - SMall devices       (min-width: 544px) and (max-width: 767px) */
/* MD - Medium Devices      (min-width: 768px) and (max-width: 991px) */
@media (max-width: 991px) {

    .page-title {
        font-size: var(18px) !important;
        font-weight: var(normal) !important;
    }

    /* .margin-mobile-default, */
    .margin-default .margin-xs-default, .margin-sm-default {
        margin-top: 10px !important;
    }

    .btn-float, .btn-xs-float, .btn-sm-float {
        border-radius: 50% !important;
        position: fixed;
        right: 30px;
        bottom: 30px;
        z-index: 9999;
        width: 50px;
        height: 50px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        opacity: 0.9;
        display: table !important;
    }

    .btn-float i, .btn-xs-float i, .btn-sm-float i {
        font-size: 21px !important;
        vertical-align: middle !important;
        display: table-cell !important;
    }

    .margin-top-default {
        margin-top: 10px;
    }

    .margin-right-default {
        margin-right: 10px;
    }

    .margin-bottom-default {
        margin-bottom: 10px;
    }

    .margin-left-default {
        margin-left: 10px;
    }
}

#tetrisError {
    color: white;
    background-color: red;
    z-index: 9999!important;
    top: 0;
    position: fixed;
    padding: 3px;
    font-size: 16px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    opacity: 0.8;
    cursor: pointer;
}

#btnBack {
    float: left;
}

.btn, a[onclick] {
    cursor: pointer!important;
}

.fa-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Small devices (landscape phones, 544px and up) */
@media (min-width: 544px) and (max-width: 767px) {
}

/* Medium devices (tablets, 768px and up)  */
@media (min-width: 768px) and (max-width: 991px) {
}

/* Large devices (desktops, 992px and up)  */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

.google-maps-marker-label {
    height: 20px;
    border: 1px solid #43698D;
    border-radius: 5px;
    background: #698AA9;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    font-size: 10px;
    color: #E4F0FB;
    padding-right: 5px;
    padding-left: 5px;
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

body {
    overflow-x: hidden !important;
}

.defaultRadius {
    border-radius: 4px;
}

.open > .dropdown-menu {
    margin-left: -110px;
}

/*
#btnAddRows_crmTeste, #btnAddRows_crmControleProspeccao {
    background-color: #428bca;
    color: #fff;
    border-radius: 4px;
    border-color: #357ebd;
    display: block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
}
*/

hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
    border-bottom: 0;
}

.mbsc-lv-cont {
    display: none !important;
}

.btn-pesq {
    margin-top: 25px;
}

.btn-new {
    margin-top: 25px;   
}

.fullscreen {
    position: absolute;
    /*left: 1000px;*/
    display: none;
    top: 0;
    width: 100%;
    margin: 0 !important;
    min-height: 1000px;
    /* Optional - just for DIV */
    border: solid 0px #FFFFFF;
    background-color: #FFFFFF;
    z-index: 10050;
}

.fullscreen-title {
    color: #FFFFFF;
    font-size: 18px;
    padding-top: 15px;
}

.fullscreen-title-back {
    color : #FFFFFF;
    font-size: 20px;
    padding-top: 10px;
}
.fullscreen-title-filter {
    color : #FFFFFF;
    font-size: 20px;
    padding-top: 15px;
}
.fullscreen input {
    width: 100%;
}

.fullscreen td {
    line-height: 2.3;
}

.fullscreen .list-group {
    margin-top: 150px !important;
}

input, textarea {
    border-radius: 4px !important;
}

#fullscren-actions { /* obsoleto */
    position: fixed;
    background-color: #fff;
    z-index: 9999;
    width: 100%;
    margin-left: 0px;
}

#fullscren-actions input { /* obsoleto */
    width: 100%;
}

#fullscreen-actions {
    position: fixed;
    background-color: #fff;
    z-index: 9999;
    width: 100%;
    margin-left: 0px;
}

#fullscreen-actions input {
    width: 100%;
}

@media (max-width: 768px) {
    #form_fichaContato {
        margin: 16px -30px -40px !important;
    }
}

@media(max-width:767px) {
    .larger-xs {
        font-size: 20px !important;  
    }
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

div.scroll {
    background-color: white;
    overflow: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

    div.scroll a, div.scroll a:visited, div.scroll a:active, div.scroll a:link {
        display: inline-block;
        color: white;
        text-align: center;
        padding: 14px;
        text-decoration: none;
        color: #428bca;
        border-bottom: 2px solid #fff;
    }

        div.scroll a:hover {
            border-bottom-color: #428bca;
        }

@media (max-width:767px) {
    #DetalheContaContent .tab-content {
        border: 0 !important;
        padding: 10px 00px;
    }
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

a.swipebox-rotate-right, a.swipebox-rotate-right:hover {
    color: white;
    font-size: 19px;
    right: 60px;
    top: 15px;
    font-weight: normal;
    position: absolute;
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
}

a.swipebox-rotate-left, a.swipebox-rotate-left:hover {
    color: white;
    font-size: 19px;
    right: 90px;
    top: 15px;
    font-weight: normal;
    position: absolute;
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

.webview {
    position: absolute;
    display: none;
    top: 0;
    width: 100%;
    margin: 0 !important;
    min-height: 1000px;
    border: solid 0px #FFFFFF;
    background-color: #FFFFFF;
    z-index: 10050;
}

.webview-title {
    color: #FFFFFF;
    font-size: 18px;
    padding-top: 15px;
}

.webview-title-back {
    color: #FFFFFF;
    font-size: 20px;
    padding-top: 10px;
}

.webview-title-filter {
    color: #FFFFFF;
    font-size: 20px;
    padding-top: 15px;
}

.webview td {
    line-height: 2.3;
}

.webview .list-group {
    margin-top: 150px !important;
}

#webview-actions {
    position: fixed;
    background-color: #fff;
    z-index: 9999;
    width: 100%;
    margin-left: 0px;
}

.webix_dtable .text-right .webix_cell { 
    text-align: right;
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

.dropdown-menu li a {
    line-height: 32px !important;
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

.hide {
    display: none !important;
}

.overlay {
    position: fixed; /* Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0; 
    left: 235px;
    background-color: rgba(0, 0, 0, .5); /* Black background with opacity */
    z-index: 999; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.spinner {
    position: fixed;
    z-index: 999;
    display: inline-block;
    width: 64px;
    height: 64px;
    overflow: show;
    margin: auto;
    left: 135px;
    top: 0;
    bottom: 0;
    right: 0;
}

.spinner:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: spinner 1.2s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

#mobileBottomBar {
    bottom: 0;
    position: fixed;
    background-color: whitesmoke;
    width: 100%;
    overflow: hidden;
    padding: 15px 15px;
    height: 80px;
    color: #2d5f8b;
    font-size: small;
    border-top: 1px solid #DDDDDD;
}

#mobileBottomBar .btnbottom {
    width: 20%;
    padding: 0px 10px;
}

#mobileBottomBar .btnbottom i {
    font-size: x-large;
}

#mobileBottomBar a {
    font-size: 11px;
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

/* 10/06/2021 - Ajuste para corrigir o Mapa de Cotação */
/*
.table {
    max-width: inherit;
}
*/

/* 04/08/2021 - Ajuste específico para corrigir apenas o mapa de cotação */
#scmMapaCotacao.table {
    max-width: inherit;
}

/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/

.modal-overflow .modal-body {
    overflow: visible !important;
}

.text-force-break-line {
    overflow-wrap: anywhere !important;
}

.border-right {
    border-right: 1px solid #666666;
}

.border-left {
    border-left: 1px solid #666666;
}

fieldset.fieldset-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

legend.fieldset-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    
    width: inherit; /* Or auto */
    padding: 0 10px; /* To give a bit of padding on the left and right */
    border-bottom: none;
}

