html {
    height:100%;
}
body {
    height:100%;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Ubuntu', Helvetica, Arial, sans-serif !important;
    color: #585858 !important;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 16px !important;
    }
}

@media screen and (min-width: 768px) {
    body {
        font-size: 18px !important;
        background-color: #e0e0e0 !important;
    }
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active{background-color:rgba(0,0,0,.4)}
::-webkit-scrollbar{
    height:15px;
    width:15px;
    background:#ffffff;
    }
::-webkit-scrollbar-button{height:0;width:0}
::-webkit-scrollbar-thumb{
    background-clip:padding-box;
    background-color:rgba(0,0,0,.3);
    border:5px solid transparent;
    -webkit-border-radius:10px;
    border-radius:10px;
    min-height:20px;
    min-width:20px;
    height:5px;
    width:5px
}

.ui-growl {
    z-index:2000 !important;
}
/* primefaces */
.ui-growl .ui-state-highlight,
.ui-password-panel.ui-state-highlight  {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    background-color: #0081c2;
    background-position: 0px;
    background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
    background-image: -o-linear-gradient(top, #0088cc, #0077b3);
    background-image: linear-gradient(to bottom, #0088cc, #0077b3);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}
.ui-password-panel.ui-state-highlight a { 
    color: #ffffff; 
}


.centerContainer * {
    transition:width 0.35s ease,height 0.35s linear,top 0.35s ease,left 0.35s ease; 
    -o-transition:width 0.35s ease,height 0.35s linear,top 0.35s ease,left 0.35s ease;
    -moz-transition:width 0.35s ease,height 0.35s linear,top 0.35s ease,left 0.35s ease;
    -webkit-transition:width 0.35s ease,height 0.35s linear,top 0.35s ease,left 0.35s ease;
}

.content {
    overflow:hidden;
    height:100%;
}

.content .ui-widget-content {
    background-color: #ffffff;
}

.nomenuPage .content .ui-widget-content {
    background-color: #f1f1f1;
}

.siteContainer{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.centerContainer {
    position: absolute;
    width: 100%;
    top: 100px;
    bottom: 0px;
    display: block;
}

.layoutCenter {
    padding-top: 3px !important;
    padding-bottom: 20px !important;
    background-color: #FFFFFF;
    position:relative;
    overflow:hidden;
}

@media screen and (min-width: 768px) {
    .layoutCenter {
        margin-bottom: 32px;
        min-height: 530px;
        box-shadow: 0 -1px 0 #e5e5e5,0 0 10px rgba(0,0,0,.12),0 2px 5px rgba(0,0,0,.24);
        border-radius: 4px;
    }
}
@media screen and (max-width: 767px) {
    .centerContainer {
        top:60px !important;
    }
}

.ui-lightbox-content,
.ui-lightbox {
    background-color: #ffffff !important;
}

#picmailPopup {
    width:85% !important;
    height:75% !important;
    margin: 0px;
    padding:0px;
    z-index:1300 !important;
    transition:none;
    -o-transition:none;
    -moz-transition:none;
    -webkit-transition:none;
}

#picmailPopup .ui-dialog-content {
    position: absolute !important;
    top: 54px !important;
    left:0px !important;
    right:0px !important;
    bottom: 10px !important;
    margin:0px !important;
    padding:0px !important;
    transition:none;
    -o-transition:none;
    -moz-transition:none;
    -webkit-transition:none;
}

#picmailPopup .ui-dialog-titlebar {
    padding:7px 15px !important;
    height:39px !important; /*   (9px*2)+39 = 57    */ 
}

.adminTabView {
    min-width:850px;
    height:100%;
}

.sidebar {
    position:fixed;
    left:0;
    top:100px;
    display:none;
    bottom:0;
    width:300px;
    padding-top:15px;
    padding-bottom:50px;
    background-color:#fff;
    background-color:rgba(255,255,255,0.92);
    box-shadow: 0 0 4px rgba(0,0,0,.14),2px 4px 8px rgba(0,0,0,.28);
    overflow-x:hidden;
    overflow-y:scroll;
    z-index:1020;
}
.sidebarTitle,
.sidebarOption {
    display:block;
    width:100%;
    height:50px;
    line-height:50px;
    vertical-align:middle;
    text-decoration:none !important;
    overflow: hidden;
}
.sidebarOption.optionActive {
    background-color: #eaeaea;
}


.sidebarOption:hover {
    background-color: #d2d2d2;
    background-color:rgba(210,210,210,.70);
    cursor:pointer;
}

.sidebarTitle {
    padding-left:30px;
    border-top:1px solid #e5e5e5;
    font-weight: bold;
    pointer-events: none;
    cursor: default;
}

.sidebarLinkTitle {
    padding-left:30px;
    font-weight: bold;
    text-decoration: underline;
}
.sidebarLink {
    color:#414040;
    padding-left:25px;
}
.sidebarIcon {
    padding-right:15px;
}

#sidebar::-webkit-scrollbar {
    background: transparent;
    width: 5px;
}

.circle {
    border-radius: 50%;
}
.white {
    color: white;
}
.bg-white {
    background-color:white;
    background-image:none;
}
.bg-transparent {
    background-color:transparent;
    background-image:none;
}

div.pageTitle {
    font-size:170%;
    padding-top:10px;
    padding-bottom:10px;
    margin-bottom:15px;
    padding-left:30px;
    padding-right:30px;
    margin-left:-15px;
    margin-right:-15px;
    border-bottom: 1px solid #ebebeb;
}
div .pageTitle .glyphicon {
    margin:10px;
    text-shadow: none;
}
@media screen and (max-width: 767px) {
    div .pageTitle .glyphicon {
        margin:7px;
        text-shadow: none;
    }
    div.pageTitle {
        font-size:115%;
        padding-top:5px;
        padding-bottom:5px;
    }
}
@media screen and (min-width: 768px) {
    div.pageTitle::after {
      color: rgb(242, 242, 242);
      content: "Portal do Cliente";
      font-weight: bold;
      font-size:130%;
      text-align:right;
      vertical-align:middle;
      line-height:2;
      float: right;
      font-style: italic;
    }
}

@media screen and (min-width: 992px) {
   div.pageTitle::after {
      color: rgb(242, 242, 242);
      content: "Portal do Cliente";
      font-weight: bold;
      font-size:110%;
      text-align:right;
      vertical-align:middle;
      line-height:2;
      float: right;
      font-style: italic;
    }
}
.navbar-collapse.in {
    overflow-y: visible;
}

div.pageContent {
    margin-left:5px;
    margin-bottom:5px;
    margin-right:5px;
    position:relative;
}

.vertical-center {
  height:100%;
  min-height: 100%;  /* Fallback for vh unit */
  min-height: 100vh; /* You might also want to use
                        'height' property instead.

                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.

                        In this case the parent of '.vertical-center'
                        is the <body> element */

  /* Make it a flex container */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  /* Align the bootstrap's container vertically */
    -webkit-box-align : center;
  -webkit-align-items : center;
       -moz-box-align : center;
       -ms-flex-align : center;
          align-items : center;

  /* In legacy web browsers such as Firefox 9
     we need to specify the width of the flex container */
  width: 100%;

  /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.
     Therefore, we should use the following declarations to get it centered again */
         -webkit-box-pack : center;
            -moz-box-pack : center;
  -webkit-justify-content : center;
          justify-content : center;
}

.global_ajaxStatus {
    position: fixed;
    display: block;
    margin: 0 auto;
    width: 48px;
    height: 48px;
    clear: none;
    background-color: transparent !important;
    left: 50%;
    top: 50%;
    margin-left: -24px;
    margin-top: -24px;
    
}

.global_ajaxStatus div img,
.global_ajaxStatus div {
    padding:0 !important;
    margin:0 !important;
}
.global_ajaxStatus div img {
  top: 0;
  position: absolute;
}

.blink {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 2s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.1; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.1; }
    100% { opacity: 1.0; }
}

@keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.1; }
    100% { opacity: 1.0; }
}

.enableUserSelect {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  -khtml-user-select: text;
  user-select: text;
}

@media screen and (max-width: 767px) {/*XS*/
    .tile {
        width: 100px;
        height: 132px;
        padding:0 !important;
    }
    .tile .tileIcon {
        margin:2px;
    }
    .tile .tileLabel {
      display:block;
    }
    
}
@media screen and (min-width: 768px) {/*SM*/
    .tile {
        width: 140px;
        height: 170px;
    }
    .tile .tileIcon {
        margin:22px;
        border: 1px solid #D8D8D8;
        background-color: #FBFBFB;
    }
    .tile .tileLabel {
      opacity:0.0;
    }
}
@media screen and (min-width: 992px) {/*MD*/
    .tile {
        width: 170px;
        height: 170px;
    }
    .tile .tileIcon {
        margin:37px;
    }
    .tile .tileLabel {
      opacity:0.0;
    }
}

.tileIconDisabled {
    -moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale") opacity(.4);
    -o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale") opacity(.4);
    -webkit-filter: grayscale(100%) opacity(.4);
    filter: gray  opacity(.4);
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale") opacity(.4);
    background-color: #ffffff !important;
}

.tileIcon:active {
    background-color:#ffffff;
    transition:all 0.3s linear; 
    -o-transition:all 0.3s linear;
    -moz-transition:all 0.3s linear;
    -webkit-transition:all 0.3s linear;
}

.tile{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  display:block;
}

a.tile {
    color:inherit !important;
}
a.tile:hover {
    text-decoration:none;
}

.tile .tileIcon {
  display:block;
  width: 96px;
  height: 96px;
  border-radius: 10%;
  background-repeat: no-repeat;
  background-position: center;
  display:block;
  padding:0 !important;
}

.tile .tileLabel {
  white-space: pre-wrap;
  word-wrap: normal;
  font-size:70%;
  height:32px;
  line-height:1;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  transition:all 0.6s ease; 
  -o-transition:all 0.6s ease;
  -moz-transition:all 0.6s ease;
  -webkit-transition:all 0.6s ease;
}

.tile:hover .tileIcon {
  background-color: #eaeaea;
}

.tile:hover .tileIcon.tileIconDisabled {
  background-color: #ffffff;
  cursor: not-allowed;
}

.tile:hover .tileLabel {
    opacity:1;
}
