/* EMBED FONT*/
@font-face{
    font-family: Inter;
    src: url('font/Inter/Inter-VariableFont_opsz,wght.ttf')  format('truetype');
}

a{
    color:#333;
}

body {
    background: #EEE;
    min-height: 100%;
    text-align: center;
}


.tt-dropdown-menu {
    background-color: white;
    border: 2px solid;
    border-radius: 5px;
    border-color: grey;
    padding: 2px 20px 2px 20px;
    color: #646363;
    max-height: 150px;
    overflow-y: auto;
}

.box_full .twitter-typeahead { width: 98%; }
.box_full .tt-hint { visibility:hidden; }

.big{
	font-size: 1.3em;
	font-weight: 700;
}

/* ========== ===== ========== */
/* ========== INPUT ========== */
/* ========== ===== ========== */

.input_code{
    width: 70%;
    height: 400px;
}


.input_text{
    font-family: Inter, sans-serif;
    border-top:0px;
    border-bottom: solid 1px #AAA;
    border-left: dashed 1px #AAA;
    border-right: dashed 1px #AAA;
    margin-top:5px;
    padding:1%;
    font-size:1.5em;
    width:98%;
}

.input_textarea, .input_code{
    font-family: Inter, sans-serif;
    border-top:0px;
    border-bottom: solid 1px #AAA;
    border-left: dashed 1px #AAA;
    border-right: dashed 1px #AAA;
    margin-top:5px;
    padding:1%;
    font-size:1em;
    width:98%;
    height: 100px;
    resize: vertical;
}

.input_code{
    height: 400px;
}

img{
    border: 0px;
}

/* ========== ================= ========== */
/* ========== RESPONSIVE DRAWER ========== */
/* ========== ================= ========== */

.drawer_single{
    width:100%;
    min-height: 550px;
    padding-top:15px;
    padding-bottom:15px;
    text-align: center;
}

.drawer_menu{
    float:left;
    width:25%;
    height:150%;
    box-shadow: -3px 0px 10px 1px rgba(0,0,0,0.5) inset;
    background:#EEE;
}

.drawer_menu a{
    text-decoration:none;
    color:#000;
}

.drawer_content{
    float:right;
    width:75%;
    background: #FFF;
}

.table{ display: table; }

.tr{ display: table-row; }
.treven { background: #E0E0E0; }

.tr:hover, .treven:hover { background: #D0D0D0; cursor: pointer;}

.th{ background: #722; color:white;}
.td, .th{ display: table-cell; padding:0.5% 1%; }

/* ========== ==== ========== */
/* ========== MENU ========== */
/* ========== ==== ========== */

.footer_bar {
    height: 102px;
    margin-top: -102px;
    position: relative;
    width: 100%;
 }

.bar{
    height:auto;
}

.bar .menu_bar, .footer_bar .menu_bar{
    display:table;
    background: #722;
    width: 100%;
    padding-left: 0px;
    margin: 0px;
}

.bar .menu_bar .menu, .footer_bar .menu_bar .menu{
    display:inline-block;
    text-decoration:none;
    padding: 15px;
    vertical-align:middle;
}


.bar .menu_bar .menu a{
    text-decoration:none;
    opacity:0.5;
    color: white;
}

.bar .menu_bar .active{
    text-decoration:none;
    list-style:none;
    border-bottom:solid 5px white;
}

.bar .menu_bar .active a{
    opacity: 1;
}

.bar .menu_bar .menu a:hover{
    opacity:0.8;
}

.drawer_menu .menu{
    padding:7%;
    border-bottom: solid 1px #DDD;
}

.drawer_menu .menu_head{
    padding:12px 10%;
    border-bottom: solid 1px #DDD;
    text-align:center;
    box-shadow: -3px 0px 10px 1px rgba(0,0,0,0.5) inset;
    background:#EEE;
}

.drawer_menu .menu_head div #logo{
    height:50px;
    margin-left:auto;
    margin-right:auto;    
}

@media (max-width: 800px){
    .drawer_menu .menu_head{
        height:50px;
        vertical-align:middle;
    }
    .drawer_menu .menu_head div #logo{
        height:50px;
    }
}

@media (min-width: 1020px){
    .drawer_menu{
        width:20%;
    }

    .drawer_content{
        width: 80%;
    }
}

.drawer_menu .menu:hover{
    border-bottom: solid 1px #DDD;
    background:#EEE;
}

.drawer_menu .menu_active{
    padding:7%;
    border-bottom: solid 1px #DDD;
    box-shadow: -3px 0px 10px 1px rgba(0,0,0,0.5) inset;
    background:#EEE;
}

/* ========== =========== ========== */
/* ========== BOX CONTENT ========== */
/* ========== =========== ========== */

.box, .box_full, .box_half, .box_third, .box_quarter, .box_buttons{
    float:left;
    padding:1%;
    margin:1%;
    background: #FFF;
}

.clear{
    clear:both;
}

.box_full{
    width:94%;
}

.box_half{
    width:44%;    
}

.box_third{
    width:27.33%;
}

.box_quarter{
    width:22%;        
}

.box_buttons{
    float:right;
}

#box_caption{
    float:left;
}

#box_caption_right{
    float:right;
}

.box_add{
    text-align:center;
    color:#333;
}

.list {
    text-align: left;
    padding: 2%;
}

.list .item{
    border-top: solid 1px #DDD;
}

.list .image img{
    width: 50%;
}

.list .pictures{
    word-wrap: break-word;
}

@media (min-width: 800px){
    .list{
        float: none;
        display: inline-block;
        vertical-align: top;
        width:44%;
        margin: 0.5%;
    }
}

.item .box_add{
    background:none;
    color:#333;
    margin: 0px;
    padding-top: 3%;
}

.box_add img{
    vertical-align:middle;
    opacity:0.5;
    height: 30px;
}

.box_add:hover{
    color:#000;
}
.box_add:hover img{
    opacity:1;
}


/* ========== =================== ========== */
/* ========== SPECIAL BOX CONTENT ========== */
/* ========== =================== ========== */

.box_login{
    max-width:320px;
    padding:20px;
    margin:auto;
}

.box_login .login_caption{
    font-size:1.2em;
    margin-top:20px;
}

.box_login .login_input{
    width:95%;
    height:25px;
    font-size:0.9em;
    padding:5px;
}

.box_login .login_submit{
    margin-top:20px;
    height:30px;
    width:100%;
    padding:0px;
}

.drawer_content .box_full{
    width:94%;
    padding:2%;
    border-bottom: solid 1px #DDD;
}

/* ========== ===== ========== */
/* ========== CARDS ========== */
/* ========== ===== ========== */
 
/* WEB PROFILE */
#card_webProfile{
    display:table;
}

#card_webProfile #box_logo{
    display:table-cell;
    width:20%;
    padding:5%;
    background-color:#EEE;
    vertical-align:middle;
}

#card_webProfile #box_logo img{
    width:100%;
}

#card_webProfile #box_info{
    display:table-cell;
    vertical-align:middle;
    width:60%;
    height:auto;
    padding:5%;
}

#card_webProfile #box_info #title{
    font-size:3em;
    font-weight:bold;
    vertical-align:middle;
}

#card_webProfile #box_info #description{
}

@media (max-width: 600px){
    #card_webProfile #box_info #title{
        font-size:1.5em;
    }
    
    #card_webProfile #box_info #description{
        display:none;
    }
    
}

/* USER PROFILE */

#card_userProfile{
    text-align: left;
}
#card_userProfile .item:hover{
    background: #FFF;
}

#card_userProfile .item .subtitle{
    padding-top: 5px;
}

@media (min-width: 600px){
    #card_userProfile .item,
    #card_userProfile_info .item{
        font-size: 1.3em;
    }
        
    #card_userProfile .item .subtitle,
    #card_userProfile_info .item .subtitle{
        padding-top: 10px;
    }

}

#card_userProfile{
    /*display:table;*/
}

#card_userProfile #box_photo{
    display:table-cell;
    width:20%;
    padding:5%;
    background-color:#EEE;
    vertical-align:middle;
}

#card_userProfile #box_photo img{
    width:100%;
}

#card_userProfile #box_info{
    display:table-cell;
    vertical-align:middle;
    width:60%;
    height:auto;
    padding:5%;
}

#card_userProfile #box_info #title{
    font-size:2.4em;
    vertical-align:middle;
}

#card_userProfile #box_info #description{
}

@media (max-width: 600px){
    #card_userProfile #box_info #title{
        font-size:1.2em;
    }
    
    #card_userProfile #box_info #description{
        display:none;
    }
}


/* ========== ===== ========== */
/* ========== UNITS ========== */
/* ========== ===== ========== */

.unit{
    float: left;
    width:19%;
    margin: 0.5%;
}

.unit .picture{
    border:solid 1px #777;
    padding:50%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}   

.unit .picture img{
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
}   

.unit .name{
    width:100%;
    text-align:center;
    color:#333;
}   

.profile_picture_medium{
    width:150px;
    height:150px;
    overflow:hidden;
}

.profile_picture_medium img{
    width:150px;
}

.profile_name_medium{
    width:150px;
    text-align:center;
    color:#333;
}

/* ========== ===== ========== */
/* ========== ITEMS ========== */
/* ========== ===== ========== */

.item .image,
.item .content{
 display: inline-block;
 vertical-align: top;
 color: #444;
}

.clickable:hover{
  background: #EEE;
}

.no_hover:hover{
  background: none;
}

.item .image{
 width: 26%;
}

#news_edit .image {
    max-width: 400px;
}

.item .content {
 padding-left: 2%;
 width: 70%;
}

.item .image img,
#news_admin .image img{
 width: 100%;
}

.item .title{
  font-size: 1.5em;
  color: #000;
}

.item .subtitle{
  font-size: 0.8em;
  color: #777;
}


/* ========== ======= ========== */
/* ========== MENUBAR ========== */
/* ========== ======= ========== */

#logo_container #logo{
    height:50px;
    margin-left:auto;
    margin-right:auto;    
    padding: 10px;
}

#logo_container{
    display:table;
    margin:auto;
}


#logo_container div{
    display:table-cell;
    vertical-align:middle;
}

@media (max-width: 800px){
    #logo_container{
        float: none;
        display:inline-block;        
    }
}


/* ========== ======= ========== */
/* ========== SETTING ========== */
/* ========== ======= ========== */

#setting_logo{
    padding:10px;
}

#newsflash_image{
    width:90%;
    margin:1%;
    border:solid 1px;
}

#newsflash_link{
    margin:1%;
}

#newsflash_upload{
    float: left;
    margin:1%;
    color: #777;

}

#newsflash_clear{
    float: right;
    margin:1%;
}

#newsflash_clear a{
    color: #777;
}



/* ======= RED DOT ======== */
.dashboard_menu_wrapper{
    display: table-cell;
    vertical-align: middle;
    padding: 5px;
}

.dashboard_menu{
    display: table-cell;
    vertical-align: middle;
    width: 120px;
    height: 100px;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #CCC;
    color:#777;
    text-align: center;
}

.dashboard_menu:hover{
    border-bottom-left-radius: 50px 30px;
    box-shadow: -5px 5px 15px 1px rgba(0,0,0,0.3);
}

.item table{
    width: 100%;
    margin: 5px 0px;
}

.item table tr th{
    background: #722;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    border: rgba(255,255,255,0.1) 1px solid;
}

.item table tr th, .item table tr td {
	word-wrap: break-word;
}

.item table{
    border-color: #FFF;
}


@media (min-width:800px){
    .item table tr td{
        padding:5px 10px;
    }
}

@media (max-width:800px){
    .item table tr td{
        font-size: 0.9em; padding: 2px;
    }
}

#finance_list #month_bar{
    text-align: center;
    font-size: 1.5em;
}

#finance_list #month_bar .box_third{
    vertical-align: middle;
}

#finance_list #month_bar.non_active{
    color:#AAA;
}

#finance_list #month_bar.non_active:hover{
    background: none;
}

#finance_list table a{

}

#finance_list table a:hover, #transaction_list table a:hover{
    background: #BBB;
}

#merchant_bar{
    margin-bottom: 0%;
}

#merchant_bar img#merchant_logo{
    height:70px; box-shadow:2px 2px 2px grey;
}

#merchant_bar #merchant_info{
    display:inline-block;vertical-align:top;padding:10px;
}

#merchant_bar #merchant_info #merchant_name{
    font-size: 2em;
}

@media (max-width: 800px){
    #merchant_bar img#merchant_logo{
        height:50px;
    }

    #merchant_bar #merchant_info{
        font-size: 0.8em;padding:5px;
    }

    #merchant_bar #finance_list #month_bar{
        text-align: center;
        font-size: 1.2em;
    }

}

.action_bar .box_add{
    width: 100px;
}

.action_bar .box_add.active{
    background: grey;
}

#box_caption{
    font-size: 1.5em;
    font-weight: 700;
}

.reports .item .name{
    display: inline-block;
    width: 125px;
    font-size: 1em;
    text-align: left;
}


/* ======== PRINT MEDIA ======== */


table {      page-break-inside:avoid }

@media print{
    body{
        -webkit-print-color-adjust: exact;

    }

    body, div, table{ float: none !important; }

    table tr td{ padding: 5px !important; font-size: 0.8em !important;}

    .bar, .footer_bar{
        background: none;
    }

    
    .box_add, .action_bar, #filter_bar, .bar .menu_bar{
        display: none;
    }

    .page_break{
        page-break-before: always;
    }

    #merchant_transaction img{
        page-break-before: always;
       page-break-inside:avoid ;
    }

}
/*

svg text{ display:none;}
svg g text{ display:block;}

*/

/* for datagrid paging, taken from TWB */
.pagination {
    border-radius: 4px;
    display: inline-block;
    margin: 20px 0;
    padding-left: 0;
}
.pagination > li {
    display: inline;
}
.pagination > li > a, .pagination > li > span {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #722;
    float: left;
    line-height: 1.42857;
    margin-left: -1px;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
}
.pagination > li:first-child > a, .pagination > li:first-child > span {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    margin-left: 0;
}
.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    background-color: #eee;
    border-color: #ddd;
    color: #722;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background-color: #722;
    border-color: #722;
    color: #fff;
    cursor: default;
    z-index: 2;
}
.pagination > .disabled > a, .pagination > .disabled > a:focus, .pagination > .disabled > a:hover, .pagination > .disabled > span, .pagination > .disabled > span:focus, .pagination > .disabled > span:hover {
    background-color: #fff;
    border-color: #ddd;
    color: #777;
    cursor: not-allowed;
}
.pagination-lg > li > a, .pagination-lg > li > span {
    font-size: 18px;
    padding: 10px 16px;
}
.pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}
.pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}
.pagination-sm > li > a, .pagination-sm > li > span {
    font-size: 12px;
    padding: 5px 10px;
}
.pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}
.pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}

table a:hover { cursor: pointer; }

/* TOOLTIP */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 240px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 110%;
    left: 50%;
    margin-left: -120px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* ERROR */
.alert {
    padding: 15px;
    background-color: #f44336; /* Red */
    color: white;
    margin-bottom: 15px;
    border-radius: 4px;
}
.alert.success {
    background-color: #4CAF50;
}
.alert.warning {
    background-color: #ff9800;
}
.alert.info {
    background-color: #2196F3;
}
.mh100{
    min-height:100vh;
}
.main{
    margin-bottom: 102px;
}