html { 
    height: 100%; 
}

#main-content {
    height: 100%;
}

body {
    -webkit-overflow-scrolling: touch;
}

/* FONT ICONS 
--------------------------------------------------------------- */

@font-face {
    font-family: 'panel';
    src:url('../fonts/panel.eot?dkaj52');
    src:url('../fonts/panel.eot?#iefixdkaj52') format('embedded-opentype'),
        url('../fonts/panel.woff?dkaj52') format('woff'),
        url('../fonts/panel.ttf?dkaj52') format('truetype'),
        url('../fonts/panel.svg?dkaj52#panel') format('svg');
    font-weight: normal;
    font-style: normal;
}

.font-icon {
    font-family: 'panel';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-icon.icon-panel { 
    font-size: 100px;
    color: #579bb7; 
}

.icon-cart:before { content: "\e602"; }
.icon-coin:before { content: "\e604"; }
.icon-address-book:before { content: "\e605"; }
.icon-calendar:before { content: "\e606"; }
.icon-bubbles:before { content: "\e607"; }
.icon-users:before { content: "\e608"; }
.icon-key:before { content: "\e601"; }
.icon-mail:before { content: "\e600"; }


/* TELA DE LOGIN 
--------------------------------------------------------------- */

.form-signin {
  	max-width: 330px;
  	padding: 15px;
  	margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
 	margin-bottom: 10px;
}

.form-signin .checkbox {
  	font-weight: normal;
}

.form-signin .form-control {
  	position: relative;
  	font-size: 16px;
  	height: auto;
  	padding: 10px;
  	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
  	z-index: 2;
}

.form-signin input[type="text"] {
  	margin-bottom: -1px;
  	border-bottom-left-radius: 0;
  	border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.login-box img {
    margin: 10px auto 0 auto;
    display: block;
}

/* LAYOUT PADRAO DO APP 
------------------------------------------------------------- */

#user-label {
	display: block;
	font-size: 10px;
	line-height: 1;
}

#user-account a {
	padding-top: 10px;
	padding-bottom: 10px;
    max-width: 213px;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#main-content {
	margin-top: 60px;
	padding: 5px 15px 0 15px;
}

.center-form {
	max-width: 600px;
	margin: 0 auto 10px auto;
    overflow: hidden;
}

.form-error { border: thin solid #DD0000 !important; }
.error-message { color: #DD0000; }

.modal-delete {
    border: thin solid #ddd;
    background-color: #FFF;
    border-radius: 5px;
    overflow: auto;
    margin: 20px auto;
    display: block;
    padding: 10px;
    width: 400px;
}

/* 
CUSTOM DROPDOWN
------------------------------------------------------------ */

.div-clients-list {
    position: absolute;
    top: 33px;
    padding: 5px;
    overflow-y: scroll;
    z-index: 1000;
    max-height: 300px;
    border: thin solid rgba(0, 0, 0, 0.15);
    background-color: #FFF;
    display: none;
}

.custom-dropdown {
    min-width: 300px;
    z-index: 1000;
    padding: 5px;
    top: 32px;
    font-size: 12px;
}

.custom-dropdown.hide { display: none; }

.custom-dropdown li { 
    font-size: 12px;
    padding-left: 5px;
    border-left: 5px solid transparent;
    padding-top: 1px;
    border-bottom: thin dashed #ddd;
    padding-bottom: 4px;
    margin-bottom: 5px;
    list-style: none;
}

.custom-dropdown li .name { 
    color: #666 !important; 
    font-weight: bold;
}

.custom-dropdown li .fone { display: block; }

.custom-dropdown li:hover {
    background-color: #dfdfdf;
    cursor: pointer;
    border-left-color: #428bca;
}

.target-contributors { margin-top: 10px; }

/*
ACTIVITIES PAGE
----------------------------------------------------------- */

.days-list #date {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.active #date { color: #FFF; }

.days-list #date:focus { outline: none; }

.contributor-activities .activities {
    overflow-x: hidden;
    overflow-y: auto;
    flex-grow: 1;
    height: 100%;
}

.contributor-activities .activities .line {
    border: thin dashed #999;
    position: absolute;
    height: 100%;
    z-index: -1;
    width: 1px;
    left: 50%;
}

.contributor-activities .activities form {
    flex-grow: 0;
}

.contributor-activities .activities textarea { resize: none; }

.contributor-activities .activities .levels {
    padding: 10px 0 0 5px;
    float: left;
}

.contributor-activities .levels span { cursor: pointer; }

.contributor-activities .activities #add { margin-top: 8px; }

.contributor-activities .activities .old-activities {
    width: 100%;
    flex-grow: 1;
    position: relative;
    text-align: center;
}

/** --------------------- */

.contributor-activities .activities .activity-left,
.contributor-activities .activities .activity-right {
    overflow: auto;
    padding: 10px 0;
    position: relative;
}

.contributor-activities .old-activities .date {
    text-align: center;
    border-radius: 5px;
    margin: 30px auto;
    background: #428bca;
    color: #FFF;
    font-size: 13px;
    display: block;
    padding: 10px;
    z-index: 1000;
    width: 265px;
}

.contributor-activities .old-activities .box {
    border-radius: 5px;
    background-color: #00AA66;
    padding: 5px;
    width: 45%;
    font-size: 13px;
    position: relative;
    color: #FFF;
    margin: 0 10px;
    text-align: left;
    word-wrap: break-word;
}

.contributor-activities .old-activities .box-good { background-color: #5cb85c; }
.contributor-activities .box-good .arrow { 
    border-left-color: #5cb85c !important; 
    border-right-color: #5cb85c !important; 
}

.contributor-activities .old-activities .box-bad { background-color: #d9534f; }
.contributor-activities .box-bad .arrow { 
    border-left-color: #d9534f !important; 
    border-right-color: #d9534f !important; 
}

.contributor-activities .activity-left .box { float: left; }

.contributor-activities .activity-left .remove {
    cursor: pointer;
    float: left;
    background-color: #DD0000;
}

.contributor-activities .activity-right .remove {
    cursor: pointer;
    float: right;
    background-color: #DD0000;
}

.contributor-activities .activity-right .box { float: right; }

.contributor-activities .activity-left .arrow {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #00AA66;
    position: absolute;
    margin-top: -10px;
    right: -9px;
    height: 0;
    width: 0;
    top: 50%;
}

.contributor-activities .activity-right .arrow {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #00AA66;
    position: absolute;
    margin-top: -10px;
    left: -10px;
    height: 0;
    width: 0;
    top: 50%;
}

.contributor-activities .old-activities .time {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    background-color: #DDD;
    line-height: 50px;
    color: #333;
    left: 50%;
    top: 50%;
    margin: -25px;
    z-index: 1000;
}

/* PAINEL PRINCIPAL 
--------------------------------------------------- */

.panel-content {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: box;
 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-box-align: center;
    box-align: center;

    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    -ms-box-orient: horizontal;
    box-orient: horizontal;

    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-box-pack: center;
    box-pack: center;
    
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.panel-table {
    text-align: center;
}

.panel-table li {
    display: inline-block;
    padding: 10px;
    margin: 10px;
    -webkit-transition: -webkit-transform 0.2s;
    -moz-transition: -moz-transform 0.2s;
    -ms-transition: -ms-transform 0.2s;
    transition: transform 0.2s;
}

.panel-table li.normal:hover {
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
}

.panel-table a:hover {
    text-decoration: none;
}

.panel-table li p {
    text-align: center;
    color: #333;
    margin-top: 20px;
}

.pane-table li i {
    padding: 10px;
}

/* Dashboard de gerentes
--------------------------------------------------- */

.dashboard img {
    margin: 5px 10px 5px 2px;
}

.dashboard h1 {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #428bca;
}

.dashboard .info-box {
    border: thin solid #ddd;
    background-color: #FFF;
    padding: 5px 10px;
    border-radius: 5px;
    display: -webkit-box;
    margin-bottom: 10px;
}

.dashboard .info-box > div {
    width: 100%;
}

.dashboard .info-box img {
    float: left;
}

.dashboard .info-box p {
    white-space: nowrap;
    -webkit-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.bootstrap-timepicker-widget input { border-radius: 0 !important; }

.icon-chevron-down {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -moz-osx-font-smoothing: grayscale;
}

.icon-chevron-down:before { content: "\e114"; }

.icon-chevron-up {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -moz-osx-font-smoothing: grayscale;
}

.icon-chevron-up:before { content: "\e113"; }

#show-contributor {
    display: none;
    cursor: pointer;
}

.days-of-week {
    margin-left: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.days-of-week .weekend {
    color: #DD0000;
}

.days-of-week .day {
    border: thin solid #ccc;
    display: inline-block;
    border-radius: 4px;
    text-align: center;
    height: 30px;
    width: 30px;
    line-height: 30px;
    cursor: pointer;
}

.days-of-week .day.active,
.days-of-week .day.required,
.days-of-week .day:hover {
    background: #428BCA;
    border-color: #428BCA;
    color: #FFF;
}

.days-of-week .day.required {
    opacity: .8;
}

.form-control[readonly] { background-color: #FFF !important; }

nav .badge { background-color: #dd0000; }

nav .closed-info {
    -webkit-animation: flash-in-out .4s infinite alternate linear;
    -moz-animation: flash-in-out .4s infinite alternate linear;
    -o-animation: flash-in-out .4s infinite alternate linear;
    animation: flash-in-out .4s infinite alternate linear;
}

nav a:hover .closed-info {
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
    animation: none;
}

@-webkit-keyframes flash-in-out {
    from { opacity: 1; }
    to { opacity: .6; }    
}

@-moz-keyframes flash-in-out {
    from { opacity: 1; }
    to { opacity: .6; }
}

@-ms-keyframes flash-in-out {
    from { opacity: 1; }
    to { opacity: .6; }
}

@-o-keyframes flash-in-out {
    from { opacity: 1; }
    to { opacity: .6; }
}

@keyframes flash-in-out {
    from { opacity: 1; }
    to { opacity: .6; }
}

#contributor-photo {
    /*background: #FFF url(../img/photo.png) center center no-repeat;*/
}

.image.img-thumbnail {
    /*background: #FFF url(../img/camera.png) center center no-repeat;*/
    margin: 0 auto;
    display: block;
}

svg {
    margin: 0 auto;
    display: block;
}

.transactions-info {
    display: none;
}

.delayed {
    background-color: #ffd5d8;
}

.waiting {
    opacity: 0.7;
}

/* ESTILOS PARA TELA DE COMPRA DE CRÉDITO SMS
------------------------------------------------------------------------------ */

.packages {
    margin: 0;
    padding: 0;
}

.packages li {
    list-style: none;
    border: thin solid #DDD;
    width: 220px;
    float: left;
    margin: 3px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    box-shadow: 4px 4px 6px #EEE;
}

.packages .quantity {
    font-weight: bold;
    text-align: center;
    font-size: 60px;
    width: 150px;
    height: 150px;
    color: #FFF;
    background-color: #ffe413;
    margin: 0 auto;
    display: block;
    border-radius: 75px;
    line-height: 150px;
    position: relative;
    vertical-align: middle;
    margin-bottom: 12px;
    border: thin solid #fdd268;
}

.packages .quantity .title {
    color: #333;
    font-size: 20px;
    position: absolute;
    top: 30px;
    left: 0;
    width: 150px;
    line-height: 1;
}

.packages .quantity .type {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    display: block;
    line-height: 1;
}

.packages .price,
.packages .expire,
.packages a {
    text-align: center;
    display: block;
}

.packages a {
    margin-top: 10px;
}