*{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body, html{
    /*height: 100%;*/
}

body{
    font-size: 14px;
    line-height: 1.2em;
    background-image: url('images/bos_hex_bg.png');
}

h1, h2, h3, h4, h5, h6{
    font-weight: 700;
}

b, strong{
    font-weight: 700;
}

.float_right{
    float: right;
}

.float_left{
    float: left;
}

.clear{
    clear: both;
}

.thin{
    font-weight: 300;
}

.strike_through{
    text-decoration: line-through;
}

p,
ul,
ol,
blockquote,
dl{
    line-height: 1.2em;
    margin-bottom: 1em;
}

p:last-child,
ul:last-child,
ol:last-child,
blockquote:last-child,
dl:last-child{
    margin-bottom: 0;
}

ul,
ol{
    margin-left: 1em;
}

blockquote{
    text-indent: 1em;
    border-left: 2px solid #7899b0;
    background: #f0f0f0;
    padding: 0.5em;
}

dl dd{
    text-indent: 1em;
}

.inline_block{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
}

pre{
    padding: 0.5em;
    white-space: pre-wrap;
    overflow: auto;
    letter-spacing: 0.2em;
}

pre, pre *{
    font-family: monospace !important;
    line-height: 1.2em !important;
}

sup, sub{
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

.powered_by_gi{
    display: block;
    position: relative;
    margin: 0.5em auto;
    width: 152px;
    height: 42px;
    background: url('images/powered_by.png') no-repeat;
    background-size: 152px 42px;
}

body.fullscreen .powered_by_gi{
    display: none;
}

.left_align{
    text-align: left;
}

.center_align{
    text-align: center;
}

.right_align{
    text-align: right;
}

.circle{
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;

}

.status_box{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1em;
    padding: 0.3em 0.5em;
    cursor: default;
    background: #505050;
    margin-bottom: 0.2em;
}

.status_box:last-child{
    margin-bottom: 0;
}

.status_box.red{
    background: #d9392e;
}

.status_box.yellow{
    background: #d9962e;
}

.status_box.green{
    background: #409c40;
}

.status_box.blue{
    background: #40779c;
}

.sub_status{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    text-transform: uppercase;
    font-size: 0.8em;
    vertical-align: middle;
    line-height: 1em;
    margin-top: -0.4em;
    cursor: default;
}

.sub_status .icon_wrap,
.sub_status .status_label{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
}

.sub_status .icon_wrap:first-child{
    margin-right: 0.2em;
}

.sub_status .icon_wrap:last-child{
    margin-left: 0.2em;
}

.sub_status:before,
.sub_status:after{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    font-size: 1.2em;
    font-weight: 700;
}

.sub_status:before{
    content: '[';
    margin-right: 0.1em;
}

.sub_status:after{
    content: ']';
    margin-left: 0.1em;
}

.proxima,
.proxima *{
    font-family: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.highlighted{
    transition: background;
    -webkit-transition: background;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    background: #ff9 !important;
}
/***********/
#menu_btn{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 3000;
    display: none;
    z-index: 8000;
}

#menu_btn:before{
    z-index: -1;
    content: '';
    background: #000;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
    -moz-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
    box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;

}

#main_nav_wrap{
    margin: 20px auto;
}

#main_nav nav:after{
    clear: both;
    content: '';
    display: block;
}

#main_nav nav ul{
    float: right;
/*    margin-right: -1px;
    border-right: 1px solid #d5d5d5;*/
    border-left: 1px solid #fff;
    margin: 0;
}

#main_nav nav ul li{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    background: #f1f1f1; /*dfdad8*/
    border-left: 1px solid #d5d5d5;/*004066*/
    border-right: 1px solid #fff;/*38769c*/
    transition: background;
    -webkit-transition: background;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    position: relative;
}

#main_nav nav ul li:hover,
#main_nav nav ul li.open{
    background: #d5d5d5;
}

#main_nav nav ul li a,
#main_nav nav ul li .title{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    padding: 0.59em 1.18em;
    cursor: pointer;
}

#main_nav nav ul li.sub_menu > .title:after {
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: top;
    line-height: 1em;
    font-size: 1em;
    content: '';
    width: 0;
    height: 0;
    margin-left: 6px;
    margin-top: 6px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-right: 3px solid transparent;
    border-left: 3px solid #505050;
}

#main_nav nav ul li.sub_menu.open > .title:after {
    border-left: 3px solid transparent;
    border-top: 3px solid #505050;
    margin-top: 8px;
}

#main_nav nav ul li.sub_menu.open > ul li.sub_menu.open > .title:after {
    border-left: 3px solid transparent;
    border-top: 3px solid transparent;
    border-right: 3px solid #505050;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 6px;
}

#main_nav nav ul li ul {
    position: absolute;
    display: none;
    z-index: 1000;
}
#main_nav nav ul li ul li{
    display: block;
    width: 100%;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#main_nav nav ul li ul li a{
    display: block;
    font-size: 1em;
}

#main_nav nav ul li ul li ul{
    top: -1px;
    left: 100%;
    right: auto;
}

#main_nav nav ul li ul li ul li{
    text-align: left;
}

#main_nav nav ul li ul li ul.open_left{
    left: auto;
    right: 100%;
}

#main_nav nav ul li ul li ul.open_left li{
    text-align: right;
}
/***********/
#header_wrap, #footer_wrap, #content_wrap, #main_nav_wrap{
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#header, #footer, #content, #main_nav{
    margin: auto;
    position: relative;
}

#content_wrap{
    min-height: 100%;
    padding-bottom: 2.14em;
}
h1, h2{
    font-size: 1.36em;
    margin-bottom: 1em;
    line-height: 1em;
}

h1.no_marg,
h2.no_marg{
    margin-bottom: 0.2em;
}

h1{
    font-size: 1.7em;
}

h2.main_head{
    font-size: 1.7em;
    line-height: 1em;
}
.main_title.has_avatar .right_btns
,.main_head.has_avatar .right_btns{
    margin-top: 0.8em;
}
.sub_head{
    display: block;
    font-size: 0.8em;
    margin-top: 0.1em;
}

h1.give_me_space,
h2.give_me_space,
h3.give_me_space,
h4.give_me_space,
h5.give_me_space,
h6.give_me_space{
    margin-bottom: 2.5em;
}

h3{
    font-size: 1.29em;
    line-height: 1em;
    margin-bottom: 1em;
}

h3 .custom_btn{
    font-size: 0.8em;
    line-height: 1.2em;
}
.gi_modal h2{
    font-size: 1.2em;
    line-height: 1em;
}
.gi_modal h2.main_head{
    font-size: 1.3em;
    line-height: 1em;
}
.gi_modal h3{
    font-size: 1em;
    margin-bottom: 0.5em;
    line-height: 1.2em;
}

h4{
    font-size: 1em;
}

h5{
    font-size: 0.8em;
}

h6{
    font-size: 0.6em;
}

h4,
h5,
h6{
    line-height: 1em;
    margin-bottom: 1em;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child{
    margin-bottom: 0;
}

.section_title{
    text-align: center;
}

h2.section_title{
    font-size: 3em;
}

.advanced h2{
    transition: margin;
    -webkit-transition: margin;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}

.advanced:not(.open) h2{
    margin-bottom: 0;
}

.advanced{
    margin-bottom: 1em;
}

.advanced:last-child{
    margin-bottom: 0;
}

.advanced_title.advanced_btn{
    cursor: pointer;
}
.advanced_header{
    padding-top: 8px;
    padding-bottom: 8px;
}
    
.advanced_header .advanced_btn_wrap{
    float: right;
}
.advanced_title .svg_icon svg *{
    fill:#7899b0;
}
.advanced_content {
    padding: 1.5em 1em 1em 1em;
    border: 2px solid #e7e7e7;
}
.advanced .advanced_header + .advanced_content h2{
    font-size: 1.29em;
}
.advanced .advanced_header + .advanced_content h3{
    font-size: 1.1em;
}
.advanced_content > .right_btns{
    margin-bottom: 0.5em;
}
.advanced_content > .right_btns:after{
    display: table;
    content: "";
    clear: both;
}
/*************/
#content, #login_box{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: auto;
    background: #f1f1f1;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0px 0px 10px;
    -moz-box-shadow: rgba(0,0,0,0.5) 0px 0px 10px;
    box-shadow: rgba(0,0,0,0.5) 0px 0px 10px;

}
#content_wrap.login{
    padding: 20vh 0;
}
.content_padding{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 2.14em;
}
#login_box.content_padding{
    padding: 40px;
}
.content_padding:after{
    clear: both;
    content: '';
    display: block;
}
#content, #main_nav{    
    max-width: 1300px;
    margin: auto;
}
/***************/
#main_nav_wrap{
    background: #f1f1f1;
    margin: auto;
    max-width: 1300px;
    position: relative;
    z-index: 1000;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
    -moz-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
    box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;

}

#main_nav_wrap.login_size{
    max-width: 600px;
}
#main_nav{
    text-align: right;
}

hr{
    border: none;
    background: none;
    border-top: 1px solid #A0A0A0;
    border-bottom: 1px solid #fff;
    margin: 2em auto;
    clear: both;
}

hr.no_marg {
    margin-top:0em;
    margin-bottom:0em;
}

/************/
#header{
    height: 6em;
}
#logo{
    font-size: 2em;
    font-weight: 800;
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -0.5em;
    line-height: 1em;
}

#log_out{
    position: absolute;
    right: 2.14em;
    top: 0;
    padding: 0.59em 0;
    line-height: 1em;
}

#breadcrumbs,
.breadcrumbs{
    padding: 0 2.14em;
    position: relative;
    z-index: 100;
}
.breadcrumbs{
    background: #ccc;
    padding: 0.5em 2.14em;
}

#breadcrumbs ul,
.breadcrumbs ul{
    margin-left: 0;
    margin-bottom: 0;
}

#breadcrumbs li,
.breadcrumbs li{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    margin-right: 0.5em;
}

#breadcrumbs li:after,
.breadcrumbs li:after{
    content: '\00bb';
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    margin-left: 0.5em;
}

#breadcrumbs li a,
#breadcrumbs li .title,
.breadcrumbs li a,
.breadcrumbs li .title{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    padding: 0.59em 0;
    line-height: 1em;
}

#breadcrumbs li:last-child:after,
.breadcrumbs li:last-child:after{
    content: '';
}
/*************/
p{
    margin-bottom: 1em;
}
p:last-child{
    margin-bottom: 0;
}
/***************/
.file_thumb .corner:before{
    background: #f1f1f1;
}
/***************/
.gear_wrap{
    padding: 2.14em;
    text-align: center;
    color: #808080;
    font-size: 1.29em;
}
.gears{
    width: 140px;
    height: 140px;
    background: url('images/gears.gif') no-repeat;
    background-size: 140px 140px;
    background-position: center;
    margin: auto;
    margin-bottom: 10px;
}
/*******************/
#toggle_fullscreen{
    position: absolute;
    top: 0;
    width: 40px;
    border-left: 1px solid #d5d5d5;/*004066*/
    border-right: 1px solid #fff;/*38769c*/
    height: 100%;
    left: 0px;
    cursor: pointer;
}
#toggle_fullscreen:before, #toggle_fullscreen:after{
    height: 100%;
    position: absolute;
    width: 1px;
    content: '';
    display: block;
}
#toggle_fullscreen:before{    
    left: -2px;    
/*    background: #fff;*/
}
#toggle_fullscreen:after{    
    right: -2px;    
    background: #d5d5d5;    
}
#toggle_fullscreen .icon{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}
body.fullscreen{
    background: #f1f1f1;
}
body.fullscreen #content_wrap{
    padding: 0;    
}
body.fullscreen #content{
    max-width: none;
    min-height: 100vh;
    /*margin-bottom: -40px;*/
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
body.fullscreen #main_nav{
    max-width: none;
}
body.fullscreen #main_nav_wrap{
    max-width: none;
}
/*********************/
.hide_on_load{
    display: none;
}
/********************/
#page_loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff url('images/input_loader.gif') no-repeat center;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    z-index: 99999;
    display: none;
}
#login_box{
    width: 600px;
    margin: auto;
}
/**************/
.flex_table{
    margin-bottom: 1em;
    position: relative;
}

.flex_table:last-child{
    margin-bottom: 0;
}

.flex_row
,.flex_content{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex_row:before,
.flex_row:after,
.flex_content:before,
.flex_content:after{
    content: normal; /** To fix Safari bug with flex-wrap **/
}

.flex_row.reverse{
    flex-direction: row-reverse;
}

.flex_col{
    flex: 1;
    font-weight: 300;
    padding: 0.5em;
}

.flex_col.head,
.flex_table .flex_row.flex_head .flex_col,
.flex_table .flex_row.flex_foot .flex_col{
    color: #404040;
    font-weight: 700;
}

.flex_col.linked a:not(.inline_block){
    display: block;
    margin-bottom: 0.2em;
}

.flex_col.linked a:not(.inline_block):last-child{
    margin-bottom: 0;
}

.flex_col.xx_sml{
    flex: 0.05;
}

.flex_col.x_sml{
    flex: 0.1;
}

.flex_col.sml{
    flex: 0.2;
}

.flex_col.med{
    flex: 0.4;
}

.flex_col.size_2{
    flex: 2;
}

.flex_col.size_3{
    flex: 3;
}

.flex_col.size_4{
    flex: 4;
}

.flex_col.size_5{
    flex: 5;
}

.flex_row.vert_center .flex_col,
.flex_col.vert_center{
    align-self: center;
    -webkit-align-self: center; /* Safari 7.0+ */
}

.flex_row.vert_bottom .flex_col,
.flex_col.vert_bottom{
    align-self: baseline;
    -webkit-align-self: baseline; /* Safari 7.0+ */
}

.flex_row.no_pad > .flex_col,
.flex_col.no_pad{
    padding: 0;
}

.flex_row.form_element{
    margin-left: -0.5em;
    margin-right: -0.5em;
}

.flex_row.form_element > .flex_col{
    padding: 0 0.5em;
}

.flex_row,
.flex_col{
    transition: background;
    -webkit-transition: background;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}

.flex_col.single_char{
    font-size: 2.8em;
    font-weight: 700;
    text-transform: uppercase;
    color: #505050;
    pointer-events: none;
    cursor: default;
}
.flex_col.has_sub_row{
    padding: 0;
}
.flex_col.none_flex{
    flex: none;
}
.flex_col.none_flex.qb_product_codes{
    width: 150px;
}
.flex_col.none_flex.tax_codes{
    width: 145px;
}
/**************/
.ui_table{
    width: 100%;
    margin: auto;
    margin-bottom: 1em;
    table-layout: fixed;
    position: relative;
}

.ui_table_wrap, .index_wrap{
    margin-bottom: 1em;
}

.ui_table:last-child, .ui_table_wrap:last-child, .index_wrap:last-child{
    margin-bottom: 0;
}

.ui_table caption{
    padding-bottom: 0.93em;
}

.ui_table th,
.ui_table td{
    padding: 0.93em 0.64em;
    vertical-align: middle;
    font-size: 1em;
    overflow: hidden;
}

.ui_table th{
    text-align: left;
}

.ui_table th.center_align{
    text-align: center;
}

.ui_table th.right_align{
    text-align: right;
}

.ui_table td{
    transition: background;
    -webkit-transition: background;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    font-weight: 300;
    word-wrap: break-word;
}

.ui_table th.show_overflow, .ui_table td.show_overflow {
    overflow: visible;
}

.ui_table th.show_overflow, .ui_table td.show_overflow {
    overflow: visible;
}

.ui_table th.empty, .ui_table td.empty{
    background: none !important;
    border: none !important;
}
/*
.ui_table.loading:after{
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: '';
    background: url('images/gears.gif') no-repeat center #fff;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}
*/
.ui_table tr:nth-child(odd) td{
    background: #f0f0f0;
}
.ui_table tr:nth-child(even) td{
    background: #fff;
}
.ui_table tr:hover td{
    background: #e5eef3;
}

.ui_table tr.checked:nth-child(odd) td,
.ui_table tr.new:nth-child(odd) td{
    background: #ccdde7;
}

.ui_table tr.checked:nth-child(even) td,
.ui_table tr.new:nth-child(even) td{
    background: #d9e6ed;
}

.ui_table tr.warning td{
    border: 0px solid #d9392e;
    border-top-width: 2px;
    border-bottom-width: 2px;
}
.ui_table tr.warning td.select_row_column:first-child,
.ui_table tr.warning td.empty:first-child{
    border-right: 2px solid #d9392e !important;
}
.ui_table tr.warning td:first-child{
    border-left-width: 2px;
}
.ui_table tr.warning td:last-child{
    border-right-width: 2px;
}
.ui_table tr.warning:nth-child(odd) td{
    background: #e9d4d4;
}
.ui_table tr.warning:nth-child(even) td{
    background: #f0e2e2;
}

.ui_table td a{
    display: block;
    font-weight: 600;
}

.ui_table td a.inline_block_link{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    margin-right: 1em;
}

.ui_table td.right_align{
    text-align: right;
}

.ui_table td a.inline_link{
    display:inline;
}

.ui_table td.no_pad,
.ui_table td.linked{
    padding: 0;
}

.ui_table td.linked a{
    padding: 0.93em 0.64em;
}

.ui_table th.select_all_column,
.ui_table td.select_row_column,
.ui_table th.checkbox_column,
.ui_table td.checkbox_column,
.ui_table th.tax_column,
.ui_table td.tax_column{
    width: 30px;
    text-align: center;
}

.ui_table th.sml_col,
.ui_table td.sml_col{
    width: 3em;
}

.ui_table th.med_col,
.ui_table td.med_col{
    width: 6em;
}

.ui_table th.lrg_col,
.ui_table td.lrg_col{
    width: 20em;
}

.ui_table th.xlrg_col,
.ui_table td.xlrg_col{
    width: 30em;
}

.ui_table th.sort_column, .ui_table td.sort_column{
    width: 30px;
    text-align: center;
}

.sort_handle{
    cursor: move !important;
}

.ui_table th.item_full_desc, .ui_table td.item_full_desc{
    width: 25%;
}

.ui_table th.adjust, .ui_table td.adjust{
    width: 80px;
    text-align: center;
}
.ui_table td.adjust a{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    padding: 0.2em;
}
.ui_table td.adjust a.custom_btn .icon_wrap{
    background: #808080;
}
.ui_table ul{
    list-style: none;
    margin: 0;
}

.ui_table tr.deleted td,
.ui_table tr.inactive td{
    text-decoration: line-through;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}
.ui_table tr.viewed td{
/*    text-decoration: line-through;*/
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

.ui_table td.avatar_cell,
.ui_table th.avatar_cell{
    width: 50px;
}

.ui_table td.icon_cell,
.ui_table th.icon_cell{
    width: 30px;
    text-align: center;
}

.simple_table{
    font-size: 0.8em;
}

.simple_table th,
.simple_table td{
    text-align: left;
    padding: 0.2em;
}

.simple_table td img{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    max-width: 300px;
}

.full_width{
    width: 100%;
}

.simple_table .avatar_wrap.circle,
.avatar_wrap.sml_circle{
    width: 14px;
    height: 14px;
}
/**************/
.right_btns{
    float: right;
}

.right_btns .custom_btn{
    margin-left: 1.5em;
}
.right_btns .custom_btn:first-child{
    margin-left: 0;
}
.columns .content_block + .right_btns{
    position: absolute;
    right: 15px;
    top: 12px;
}
.right_btns.absolute{
    position: absolute;
    right: 2.14em;
    z-index: 100;
}
.custom_btn{
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.custom_btn .btn_text,
.custom_btn .icon_wrap,
.custom_btn .icon,
.advanced_btn .btn_text,
.advanced_btn .icon_wrap,
.advanced_btn .icon{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
}

.btn_text + .icon,
.btn_text + .icon_wrap{
    margin-left: 0.5em;
}

.icon_btn{
    position: relative;
}

.icon_btn .icon{
    position: absolute;
    left: 0.6em;
    top: 50%;
    margin-top: -6px;
}

.icon_btn .btn_text{
    margin-left: 17px;
    display: block;
}

.icon_btn.right_icon .icon{
    left: auto;
    right: 0.6em;
}

.icon_btn.right_icon .btn_text{
    margin-left: 0;
    margin-right: 17px;
}

.custom_btn .icon_wrap{
    padding: 4px;
    margin-right: 0.5em;
}
.custom_btn.right_icon .icon_wrap{
    margin-left: 0.5em;
    margin-right: 0;
}

.custom_btn.disabled{
    cursor: default;
}

.custom_btn.gray .icon_wrap, .custom_btn.disabled .icon_wrap, .custom_btn.disabled:hover .icon_wrap{
    background: #808080;
}

.custom_btn .icon_wrap:last-child{
    margin-right: 0;
}

.custom_btn .icon_wrap .icon{
    display: block;
}

.custom_btn:hover .icon_wrap{
    background: #3c6688;
}

.custom_btn.no_text .icon_wrap{
    margin-right: 0;
}

.custom_btn.no_bg .icon_wrap{
    background: none;
}

.custom_btn.disabled{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}
/*******************/
.ui_table th.inv_icon, .ui_table td.inv_icon, .ui_table th.remove_cell, .ui_table td.remove_cell{
    width: 40px;
    text-align: center;
}

.ui_table td .icon_wrap{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;    
}

.ui_table td.remove_cell .icon_wrap{
    padding: 4px;
    cursor: pointer;
}

.ui_table td .icon_wrap .icon{
    display: block;
}

.ui_table tbody tr:only-child td.remove_cell .icon_wrap{
    display: none;
}

.disclaimer{
    font-size: 0.7em;
}
/**PageBar**/
.pagination_bar{
    position: relative;
    min-height: 1em;
    margin-bottom: 2em;
}

.pagination_bar:last-child{
    margin-bottom: 0;
}

.pagination_bar .total_count,
.pagination_bar .right_side{
    position: absolute;
    top: 50%;
    margin-top: -0.5em;
    font-size: 0.9em;
    line-height: 1.2em;
}

.pagination_bar .total_count{
    left: 0;
}

.pagination_bar .right_side{
    right: 0;
}

.pagination_bar .right_side .custom_btn .icon_wrap{
    margin-bottom: -0.1em;
}

.pagination_bar .total_count .numeric_index{
    font-weight: 600;
}
.advanced_content .pagination_bar{
    display: none;
}
.advanced_content .pagination_bar.multi_pages{
    display: block;
}
.pagination,
.result_limit_bar ul{
    list-style: none;
    margin: auto;
    text-align: center;
}

.result_limit_bar ul{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
}

.pagination li,
.load_more_btn,
.result_limit_bar li{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: top;
    background: #7899b0;
    border-left: 1px solid #3c6688;
    border-bottom: 1px solid #3c6688;
    border-right: 1px solid #b4ccd8;
    border-top: 1px solid #b4ccd8;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
    -moz-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
    box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;

    transition: background;
    -webkit-transition: background;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}

.pagination li:first-child,
.result_limit_bar li:first-child{
    border-radius: 3px 0px 0px 3px;
    -moz-border-radius: 3px 0px 0px 3px;
    -webkit-border-radius: 3px 0px 0px 3px;

}

.pagination li:last-child,
.result_limit_bar li:last-child{
    border-right: none !important;
    border-radius: 0px 3px 3px 0px;
    -moz-border-radius: 0px 3px 3px 0px;
    -webkit-border-radius: 0px 3px 3px 0px;

}

.pagination li:hover,
.pagination li.current,
.load_more_btn:hover,
.result_limit_bar li:hover,
.result_limit_bar li.current{
    -webkit-box-shadow: inset rgba(0,0,0,0.5) 0px 1px 1px;
    -moz-box-shadow: inset rgba(0,0,0,0.5) 0px 1px 1px;
    box-shadow: inset rgba(0,0,0,0.5) 0px 1px 1px;
    border-right: 1px solid #3c6688;
    border-top: 1px solid #3c6688;
    background: #3c6688;
}

.load_more_btn_wrap{
    text-align: center;
}

.load_more_btn{
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;

    cursor: pointer;
    margin: auto;
    text-align: center;
}

.pagination li a,
.pagination li.more,
.load_more_btn .btn_text,
.result_limit_bar li .limit_btn{
    min-width: 1em;
    padding: 0.5em;
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    color: #f1f1f1;
    font-weight: 700;
}
.pagination li.more{
    background: none;
    color: #7899b0;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.result_limit_bar li .limit_btn{
    cursor: pointer;
    padding: 0.2em 0.5em;
    font-size: 0.8em;
}

.result_limit_bar{
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -1em;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    transition: opacity;
    -webkit-transition: opacity;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}

.result_limit_bar:hover{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}

.result_limit_bar .limit_label{
    color: #505050;
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    margin-right: 0.3em;
    font-size: 0.9em;
    cursor: default;
}
/******************/
.avatar_wrap{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    width: 50px;
    height: 50px;
    overflow: hidden;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;

    position: relative;
}

.avatar_wrap.has_img{
    background: none;
}

h1 .avatar_wrap,
h2 .avatar_wrap{
    vertical-align: middle;
    margin-right: 0.5em;
}

h2 .hover_icon_to_edit{
    margin-right: 0.5em;
}

.avatar_placeholder .icon.avatar{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -22px;
    margin-top: -21px;
}

.avatar_wrap .img_thumb{
    position: relative;
    z-index: 1;
    transition: opacity;
    -webkit-transition: opacity;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}

.avatar_wrap .img_thumb img{
    display: block;
}

.avatar_initials{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 24pt;
    line-height: 1em;
    margin-top: -0.5em;
    z-index: 0;
    pointer-events: none;
}

.icon_cell .avatar_wrap,
.avatar_wrap.icon_wrap{
    width: auto;
    height: auto;
}

.double_initials .avatar_initials{
    font-size: 14pt;
}

.avatar_wrap:hover .avatar_initials{
    /*z-index: 2;*/
}

.avatar_wrap.has_img .avatar_initials{
    display: none;
}

.avatar_wrap:hover .avatar_initials + .img_thumb{
/*    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=30);
    -moz-opacity: 0.3;
    -khtml-opacity: 0.3;
    opacity: 0.3;*/
}

#user_bar{
    text-align: right;
    position: absolute;
    top: 50%;
    height: 50px;
    margin-top: -25px;
    right: 2.14em;
    padding-right: 60px;
}
#user_bar .notify_count{
    position: absolute;
    top: -1em;
    right: -0.5em;
    padding: 0.3em 0.5em;
    line-height: 1em;
    font-size: 1em;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 600;
}
#user_bar .user_name{
    font-size: 1.29em;
    margin-bottom: 0.2em;
    margin-top: 0.3em;
    display: block;
    line-height: 1em;
}
#user_bar .user_email{
    font-size: 1em;
    display: block;
    line-height: 1em;
}
#user_bar .img_thumb, #user_bar .avatar_placeholder{
    position: absolute;
    width: 50px;
    height: 50px;
    overflow: hidden;
    right: 0;
    top: 50%;
    margin-top: -25px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;

}
#user_bar .img_thumb img{
    display: block;
}
#user_bar .img_thumb.missing, .avatar_wrap .img_thumb.missing{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px dashed #bd4b4b;
    background: url('images/missing_file.png') center;
    background-size: 36px 36px;
}
.avatar_wrap .img_thumb.missing{
    position: absolute;
    width: 100%;
    height: 100%;
}
#user_bar .avatar_placeholder{
    background: #7899b0;
}
#user_bar .avatar_placeholder:after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    -webkit-box-shadow: inset rgba(0,0,0,0.5) 0px 0px 10px;
    -moz-box-shadow: inset rgba(0,0,0,0.5) 0px 0px 10px;
    box-shadow: inset rgba(0,0,0,0.5) 0px 0px 10px;

    content: '';
    display: block;
}
/**Ajaxed Contents**/
.ajaxed_contents > .content_padding{
    padding: 0;
}
.ajaxed_contents{
    margin-bottom: 1em;
}
.ajaxed_contents:last-child{
    margin-bottom: 0;
}
/**GI Modal**/
#gi_modal_bg{
    background: #000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    display: none;
}
.gi_modal.page_nested_modal + #gi_modal_bg{
    display: none!important;
}
.gi_modal{
    position: absolute;
    top: 10%;
    width: 320px;
    left: 50%;
    margin-left: -160px;
    z-index: 8100;
    display: none;
    background: #f1f1f1;
    border: 2px solid #808080;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
    -moz-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
    box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;

    transition: width, margin;
    -webkit-transition: width, margin;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}
.gi_modal.medium_sized{
    width: 640px;
    margin-left: -320px;
}
.gi_modal.large_sized{
    width: 1300px;
    margin-left: -650px;
}
.gi_modal.full_sized{
    width: 80%;
    min-height: 80%;
    margin-left: -40%;
}
.gi_modal.page_nested_modal{
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
    width: 100%;
    z-index: 9;
}
.gi_modal .content_padding{
    padding: 15px;
}
/*.gi_modal_no_pad + .content_padding{
    padding-top: 0;
}*/
.gi_modal .content_padding.gi_modal_no_pad{
    padding: 0;
    position: relative;
}
.content_padding.gi_modal_no_pad h1,
.content_padding.gi_modal_no_pad h2{
    margin-bottom: 0;
}
.gi_modal .content_padding.gi_modal_no_pad h1,
.gi_modal .content_padding.gi_modal_no_pad h2{
    text-transform: none;
    font-size: 1em;    
    padding: 10px 15px;
}
.gi_modal .auto_title{
    min-height: 17px;
}
.gi_modal .content_padding.breadcrumbs{
    padding: 10px 15px;
}

.gi_modal.loading{
    position: absolute;
    min-height: 100px;
}
/*
.gi_modal.loading:after{
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    content: 'Refreshing...';
    color: #000;
    font-weight: 700;
    text-align: center;
    line-height: 100%;
    background: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    padding-top: 22%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*/
.gi_modal.shadow_box_modal + #gi_modal_bg{
    opacity: 0.8;
    z-index: 8200;
}
.gi_modal.shadow_box_modal{
    background: transparent;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
    z-index: 8300;
}
.gi_modal.shadow_box_modal .content_padding.gi_modal_no_pad h2{
    background-color: transparent;
}
.gi_modal.shadow_box_modal .content_padding.gi_modal_no_pad .close_gi_modal .icon.remove_sml{
    background-position: -208px -4px;
    width: 13px;
    height: 13px;
}
.gi_modal.shadow_box_modal  .form_element input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"])
,.gi_modal.shadow_box_modal .form_element textarea, .gi_modal.shadow_box_modal .form_element .selectric
,.gi_modal.shadow_box_modal .form_element ul.tagit, .gi_modal.shadow_box_modal  .form_element .jsignature_signarea{
    background-color: rgba(255,255,255,0.8);
    font-size: 15px;
    padding: 1em 1.5em;
    color:#333;
}

.gi_modal.shadow_box_modal .form_element label.main{
    color: #fff;
    font-size: 1.7em;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: none;
    line-height: 1em;
}
.gi_modal.shadow_box_modal .content_padding.gi_modal_no_pad{
    margin-top: 0;
} 
.gi_modal.shadow_box_modal .content_padding.gi_modal_no_pad h2.auto_title{
    display: none;
}
.gi_modal.shadow_box_modal .search_box{
    padding: 2em;
    margin-left: 0;
    margin-right: 0;
    border: 0;
}
.gi_modal.shadow_box_modal .search_box .close_search_box {
    display: none;
}
.gi_modal.shadow_box_modal form .columns .columns{
    margin-bottom: 0;
}
.gi_modal.shadow_box_modal.loading:after{
    background: url(images/gears.gif) no-repeat center;
    background-size: contain;
}
.gi_modal.page_nested_modal .auto_title{
    display: none!important;
}
.gi_modal.shadow_box_modal .field_description{
    color: #ccc;
}
/*************/
.show_content_in_modal{
    position: relative;
}

.show_content_in_modal .modal_content{
    display: none;
}

.show_content_in_modal .modal_preview{
    cursor: pointer;
    padding: 0.6em 0;
}

.show_content_in_modal.disabled{
    cursor: default;
}

.show_content_in_modal .modal_content.gi_modal{
    position: fixed;
}
/*************/
.content_padding.breadcrumbs span{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    margin-right: 0.2em;
}
.content_padding.breadcrumbs span:after{
    content: '>';
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    margin-left: 0.2em;
}
.content_padding.breadcrumbs span:last-child:after{
    content: '';
}
.content_padding.gi_modal_no_pad .close_gi_modal{
    display: none;
}
.gi_modal .content_padding.gi_modal_no_pad .close_gi_modal{
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -10px;
    display: block;
}
.gi_modal.shadow_box_modal .content_padding.gi_modal_no_pad .close_gi_modal{
    position: fixed;
    right: 20px;
    top: 30px;
}
.gi_modal.page_nested_modal .close_gi_modal{
    display: none!important;
}
.gi_modal .close_gi_modal .icon_wrap{
    margin-right: 0;
}

.gi_modal_read_more{
    cursor: pointer;
}

.gi_modal_read_more .read_more_content{
    display: none;
}

.gi_modal.read_more_modal .content_padding{
    line-height: 2em;
}

.gi_modal img{
    max-width: 100%;
}

.nested_form_wrap{
    position: relative;
}
.nested_form_wrap.loading{
    min-height: 100%;
}
.has_nested_form.loading{
    min-height: 0;
}
.nested_form_placeholder{
    -webkit-transition: all 0.2s; /* Safari */
    transition: all 0.2s;
}
.nested_form_wrap .flex_table{
    border: 0;
}
.nest_hidden_element{
    height: 0;
    visibility: hidden;
    padding: 0;
}
.nest_hidden_element *{
    height: 0;
    padding: 0;
}
.gi_modal .nested_form_fields .column{
    vertical-align: top;
}
/**Paragraphs**/
p.content_block,
a.content_block,
div.content_block{
    background: #fff;
    padding: 0.8em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    font-size: 1.14em;
    line-height: 1.2em;
}

div.content_block ul{
    list-style: none;
    margin-left: 0;
}

p.content_block .custom_btn,
.sml_text{
    font-size: 0.8em;
}

.med_text{
    font-size: 1.5em;
}

.lrg_text{
    position: relative;
    font-size: 3em;
}
.lrg_text.has_arrow:after{
    content: '\2192';
    display: block;
    position: absolute;
    font-size: 40px;
    color: #fff;
    left: -10px;
    top: 4px;
}
.lrg_text.has_arrow.left_arrow:after{
    content: '\2190';
}
.icon_size_text {
    font-size: 17px;
    font-weight: 700;
    line-height: 1em;
}
.content_block:after{
    display: block;
    content: '';
    clear: both;
}
.content_block_wrap{
    margin-bottom: 1em;
}

.content_block_subtitle{
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1em;
    line-height: 1.2em;
    color: #505050;
}

.list_block .content_block_wrap{
    margin: 0;
    padding: 0.5em;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.list_block .content_block_wrap:before,
.list_block .content_block_wrap:after{
    content: normal; /** To fix Safari bug with flex-wrap **/
}

.content_block_wrap:last-child{
    margin-bottom: 0;
}

.list_block .content_block_title,
.list_block .content_block{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: top;
    font-size: 1em;
    line-height: 1.2em;
    flex: 1;
}

.list_block .list_display_block{
    display: block;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.list_block .list_display_block .content_block_title,
.list_block .list_display_block .content_block{
    display: block;
}

.list_block .content_block_title{
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    margin-right: 0.2em;
}

.list_block .content_block{
    padding: 0;
    background: none;
    color: #000;
    font-weight: 300;
}

.list_block .addr_view{
    margin: 0;
}

.comma_delimtited .content_item{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
}
.comma_delimtited .content_item:after{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    content: ',';
    margin-right: 0.2em;
}
.comma_delimtited .content_item:last-child:after{
    content: '';
    margin-right: 0;
}

/*********/
div.give_me_space{
    margin-bottom: 3.5em;
}

div.give_me_space:last-child{
    margin-bottom: 0;
}
ul.inline_blocks{
    list-style: none;
    margin-bottom: -0.5em;
}
ul.inline_blocks li{
    list-style: none;
    padding: 0.8em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    line-height: 1.2em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}
ul.inline_blocks li.linked{
    padding: 0;
}
ul.inline_blocks li.linked a{
    display: block;
    padding: 0.8em;
}
/*************/
ul.simple_list{
    margin-bottom: 1em;
}

ul.simple_list li{
    margin-bottom: 0.5em;
    list-style: none;
    position: relative;
    padding-left: 0.75em;
}

ul.simple_list li:before{
    content: '\00b7';
    font-size: 1.5em;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 0;
}

ul.simple_list:last-child,
ul.simple_list li:last-child{
    margin-bottom: 0;
}

ul.simple_list li a{
    display: block;
}
/*************/
table.inner_table td{
    border-left: none;
    border-right: none;
    padding: 0.5em;
}
/***TAGS***/
p.tag_block{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    position: relative;
    margin-right: 0.5em;
}
p.tag_block:last-child{
    margin-right: 0;
}

p.tag_block .tri{
    width: 0;
    height: 0;
    border-top: 1em solid #efedec;
    border-left: 1em solid transparent;
    position: absolute;
    top: 0;
    right: 0;
}
/*************/
.contact_info{
    margin-bottom: 2em;
    position: relative;
}

.contact_info_fields{
    position: relative;
    padding-right: 19px;
}

.contact_info:last-child{
    margin-bottom: 0em;
}

.contact_info .remove_contact_info{
    position: absolute;
    z-index: 100;
    top: 0px;
    right: 0px;
}

.force_one_contact_info .contact_info:first-child .contact_info_fields,
.contact_info.force_keep .contact_info_fields{
    padding-right: 0;
}

.force_one_contact_info .contact_info:first-child .remove_contact_info{
    display: none;
}

.contact_infos_wrap.address .contact_info .remove_contact_info{
/*    right: 9px;*/
}

.gi_modal .contact_infos_wrap{
    margin-bottom: 1em;
}

/*************/
.search_box{
    margin-bottom: 2em;
    display: none;
    border-bottom: 1px solid #a0a0a0;
    padding-bottom: 2em;
}
.search_box.show_box{
    display: block;
}
.shadow_box_modal .search_box{
    background-color: transparent;
}
.search_box:last-child{
    margin-bottom: 0;
}
.basic_search_block{
    display: none;
}
.basic_search_block.open{
    display: block;
}
.gi_modal.shadow_box_modal .basic_search_block,
.gi_modal.shadow_box_modal .advanced_search_block.basic_width{
    max-width: 584px;
    margin: 0 auto;
}    
.advanced_search_block{
    display: none;
}
.advanced_search_block.open{
    display: block;
}
.advanced_search_block .column{
    vertical-align: top;
}
.advanced_search_block .column .ac_list{
    margin-left: 0;
}
.search_btns{
    margin-top: 1em;
    margin-bottom: 1em;
}
.search_btns .btn{
    margin-right: 1em;
}
.search_btns .btn:last-child{
    margin-right: 0;
}
.toggle_search_type_btn{
    background-color: #2CA01C;
    border-color: #2CA01C;
    color: #fff;
}
.toggle_search_type_btn:hover{
    background-color: #1c6612;
}
/*************/
.invoice_total, .table_total{
    font-size: 1.5em;
    text-transform: uppercase;
}

.invoice_total .value, .table_total .value{
    font-weight: 800;
}
.invoice_table.hide_tax_table .tax_column
,.invoice_table.hide_tax_table .invoice_tax_total{
    display:none;
}
/***PROGRESS BARS***/
.progress_bar_wrap{
    margin-bottom: 1em;
}

.progress_bar_wrap:last-child{
    margin-bottom: 0;
}

.progress_bar{
    position: relative;
    display: block;
    overflow: hidden;
}

.progress_bar .bar{
    white-space: nowrap;
    display: block;
    padding: 0.5em 1%;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.progress_bar .bar.back{
    position: absolute;
    z-index: 0;
    overflow: visible;
    left: 0;
    top: 0;
}

.progress_bar .bar.hide_bar{
    z-index: 0;
}

.progress_time_tracker{
    margin-bottom: 2em;
    font-size: 0.75em;
}

.progress_time_tracker:last-child{
    margin-bottom: 0;
}

.progress_time_tracker .content_block,
.progress_time_tracker .content_block_title{
    padding: 0;
}
/***SYNTAX HIGHLIGHTER***/
.syntaxhighlighter{
    padding: 0.5em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.syntaxhighlighter.wrap_lines .line{
    white-space: pre-wrap !important;
}

.html_and_code_block{
    margin-bottom: 4em;
}

.html_and_code_block:last-child{
    margin-bottom: 0;
}

.html_and_code_block .syntaxhighlighter{
    max-height: 50px;
}

.html_and_code_block:hover .syntaxhighlighter{
    /*max-height: none;*/
}

.html_and_code_block .syntaxhighlighter.expanded,
.html_and_code_block .syntaxhighlighter.source{
    max-height: none;
}
.top_selector{
    margin-bottom: 1em;
}

.top_selector a{
    margin-right:0.5em;
}

.top_selector a.current{
    background: #3c6688;
}
/***NEW CONTENT BLOCKS***/
/*
.content_block_title,
.content_block{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.content_block_title{
    width: 10%;
}

.content_block{
    width: 90%;
}
*/
/***********/
.loading{
    position: relative;
    min-height: 200px;
}
.loading_auto_min_height.loading{
    min-height: 0!important;
}
.loading:after{
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: '';
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    background: #fff;
}
body.loading:after{
    position: fixed;
    z-index: 9999;
}
.loader_gif{
    position: absolute;
    height: 20px;
    width: 100%;
    top: 50%;
    margin-top: -10px;
    text-align: center;
    z-index: 1000;
}

.loader_gif img{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    height: 100%;
}

.loader_gif.gears,
.loader_gif.circle{
    height: 140px;
    margin-top: -70px;
    background-image: none;
}

.loader_gif .loader_desc{
    display: block;
    font-size: 12px;
    color: #555;
    margin-top: -6px;
}
/*************/
.gray{
    color: #808080 !important;
}

.red{
    color: #d9392e !important;
}

.yellow{
    color: #d9962e !important;
}

.green{
    color: #409c40 !important;
}

.blue{
    color: #40779c !important;
}

.primary{
    color: #40779c !important;
}
/*************/
.alert_message{
    color: #fff !important;
    background: #808080;
    border: 2px solid #4a4a4a;
    text-shadow: 1px 1px 1px #4a4a4a;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 1em;
    font-size: 1.2em;
    font-style: italic;
    font-weight: 600;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;    

    margin-bottom: 1em;
}

.circle_status_cell{
    width: 5em;
    text-align: right;
    vertical-align: middle;
}

.status_circle{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    color: #fff !important;
    background: #808080;
    border: 2px solid #4a4a4a;
    text-shadow: 1px 1px 1px #4a4a4a;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;

    padding: 0.3em;
    margin-right: 0.3em;
    cursor: default;
}

.alert_message:last-child{
    margin-bottom: 0;
}

.alert_message *{
    color: #fff !important;
}

.alert_message.red,
.status_circle.red{
    background: #d9392e;
    border: 2px solid #b90d08;
    text-shadow: 1px 1px 1px #b90d08;
    color: #fff !important;
}

.alert_message.yellow,
.status_circle.yellow{
    background: #d9962e;
    border: 2px solid #94631b;
    text-shadow: 1px 1px 1px #94631b;
    color: #fff !important;
}

.alert_message.green,
.status_circle.green{
    background: #409c40;
    border: 2px solid #105f10;
    text-shadow: 1px 1px 1px #105f10;
    color: #fff !important;
}

.alert_message.blue,
.status_circle.blue{
    background: #40779c;
    border: 2px solid #25465c;
    text-shadow: 1px 1px 1px #25465c;
    color: #fff !important;
}

/** Notes */

.notes_thread {
    margin-bottom: 1em;
    margin-top: 1em;
}

.note_wrap {
    position: relative;
    background: #F5F5F5; 
    margin-bottom: 1em;
    border: 1px solid #A0A0A0;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #505050;
    cursor: pointer;
}
.notes_thread:last-child,
.note_wrap:last-child {
    margin-bottom: 0;
}

.note_wrap .note_btns {
    position: absolute;
    right: 0.5em;
    bottom: 0.5em;
}

.note_wrap .summary_view {

}

.note_wrap .full_view {
    display:none;
}
.note_wrap.open{
    cursor: default;
}
.note_wrap.open .full_view {
    display:block;
}

.note_wrap.open .summary_view {
    display:none;
}

.note_wrap .note_header {
    margin-bottom: 2em;
}

.note_wrap .avatar_wrap {
    width:30px;
    height:30px;
    -webkit-border-radius: 50% !important;
    -moz-border-radius: 50% !important;
    border-radius: 50% !important;

}

.note_wrap .user_info {
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    margin-left: 1em;
    vertical-align: middle;
}

.note_wrap .timestamp_wrap {
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    position:absolute;
    right: 1em;
    top: 1em;
}

.note_wrap .paperclip {
    margin-right:1.2em;
}

.note_wrap .note_uploader {
    margin-bottom:3em;
    margin-top:2em;
}
.note_wrap .note_uploader .wrap_btns{
    float: right;
}
.note_wrap .notified_users_wrap {
    margin-bottom: 1em;
}

.note_wrap .notified_user_wrap {
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    margin-right:1.5em;
    min-width: 20%;
}

.note_wrap .user_info .user_name {
    font-size: 1.07em;
    font-weight: 700;
}

.note_wrap .user_info .user_email {
    font-size: 0.93em;
}

.note_form_wrap {
    position: relative;
    background: #F5F5F5; 
    border: 1px solid #A0A0A0;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.note_form_wrap .note_text {
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    width: 95.5%;
    width: calc(100% - 50px);
    vertical-align: middle;
    margin-bottom: 0;
}

.note_form_wrap .button_wrap {
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    width: 33px;
    margin-left: 17px;
    vertical-align: middle;
    text-align: right;
}

.note_form_wrap .button_wrap .wrap_btns .browse_computer {
    margin-right:0;
    /* for temporary */
    display: none;
    /* for temporary - end */
}

.note_form_wrap .submit_btn {
    margin-top: 1em;
    padding: 9px;
    width: 34px;
    height: 34px;
}
.note_form_wrap .browse_computer{
    margin-top: 3px;
    padding: 9px;
    width: 34px;
    height: 34px;
}
.note_form_wrap .note_text .trumbowyg-box
,.note_form_wrap .note_text .trumbowyg-editor{
    min-height: 73px;
}
.note_form_wrap .note_uploader{
    margin-top: 1.2em;
}
#note_add_container{
    margin-bottom: 1em!important;
}
#aclist_users_to_notify .ac_list li{
    margin-bottom: 10px;
}

/****************/
.report_chunk{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    width: 100%;
}

.report_chunk h4{
    font-size: 1em;
    padding: 1em 0;
    margin-bottom: 0.5em;
}

.report_block_wrap{
    margin-top: 1em;
    position: relative;
}

.report_block_wrap:after{
    clear: both;
    content: '';
    display: block;
}

.report_block{
    display: block;
    font-size: 1.5em;
    text-transform: uppercase;
    padding: 0.6em;
    font-weight: 700;
    text-align: center;
    -webkit-box-shadow: #fff 0px 2px 0px;
    -moz-box-shadow: #fff 0px 2px 0px;
    box-shadow: #fff 0px 2px 0px;
    behavior: url('external/css/PIE-1.0.0/PIE.htc');
    color: #fff;
    background: #808080;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    margin-bottom: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background;
    -webkit-transition: background;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
}

a.report_block{
    color: #fff;
    background: #005588;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}

a.report_block:hover{
    background: #38769c;
}

.report_block_wrap.two_columns .report_block{
    width: 48%;
    float: left;
}

.report_block_wrap.two_columns .report_block:nth-child(2n){
    float: right;
}

.report_block.current{
    background: #808080;
    /*-webkit-box-shadow: inset rgba(0,0,0,1) 0px 0px 10px;
    -moz-box-shadow: inset rgba(0,0,0,1) 0px 0px 10px;
    box-shadow: inset rgba(0,0,0,1) 0px 0px 10px;
    behavior: url('external/css/PIE-1.0.0/PIE.htc');*/
}

/************/
.equation{
    
}

.equation.division{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
}

.equation.division .dividend,
.equation.division .divisor{
    display: block;
    text-align: center;
    white-space: nowrap;
}

.equation.division .divisor{
    margin-top: 0.2em;
    padding-top: 0.2em;
    border-top: 1px solid #000;
}

/****QB*****/
/*
.qb_connect_btn{
    background-repeat: no-repeat;
    background-image: url('images/qb/C2QB_white_btn_lg_default.png');
    background-size: 162px 28px;
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
    width: 162px;
    height: 28px;
}

.qb_connect_btn:hover{
    background-image: url('images/qb/C2QB_white_btn_lg_hover.png');
}
*/

.qb_connection_status,
.qb_export_date{
/*    background-repeat: no-repeat;
    background-image: url('images/qb/C2QB_green_btn_sm_default.png');
    background-size: 28px 28px;*/
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
    color: #000;
    font-size: 0.79em;
    line-height: 2.72em;
    font-weight: 600;
}

.qb_connection_status:before{
    content: 'Connected';
}

.qb_bar:not(.connected) .qb_connection_status:before{
    content: 'Disconnected';
}

.qb_bar_wrap{
    position: relative;
    z-index: 999;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.qb_bar{
    background: #2CA01C;
    position: relative;
    min-height: 2.14em;
    padding-left: 152px;
    cursor: default;
}

.qb_bar:after{
    content: '';
    display: block;
    clear: both;
}

.qb_bar.gray{
    background: #fff;
    background: -webkit-linear-gradient(bottom, #fff , #f2f2f2);
    background: -o-linear-gradient(bottom, #fff, #f2f2f2);
    background: -moz-linear-gradient(bottom, #fff, #f2f2f2);
    background: linear-gradient(to bottom, #fff , #f2f2f2);
    border-bottom: 1px solid #d1d2d3;
}

.qb_bar:before{
    content: '';
    display: block;
    position: absolute;
    height: 10px;
    width: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0);
    background: -webkit-linear-gradient(bottom, rgba(0,0,0,0.3) , rgba(0,0,0,0));
    background: -o-linear-gradient(bottom, rgba(0,0,0,0.3), rgba(0,0,0,0));
    background: -moz-linear-gradient(bottom, rgba(0,0,0,0.3), rgba(0,0,0,0));
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) , rgba(0,0,0,0));
    z-index: 100;
    pointer-events: none;
}

.qb_logo{
    background-repeat: no-repeat;
    background-image: url('images/qb/qb_logo.png');
    background-size: 152px 52px;
    width: 152px;
    height: 52px;
    display: block;
    position: absolute;
    left: 0;
    bottom: -20px;
}

.qb_logo.dark{
    background-image: url('images/qb/qb_logo_dark.png');
}

.qb_btn{
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-border-radius: 1em !important;
    -moz-border-radius: 1em !important;
    border-radius: 1em !important;

    font-size: 0.79em;
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
    padding: 0.4em 1.27em;
    line-height: 1em;
    cursor: pointer;
    transition: background,color,opacity;
    -webkit-transition: background,color,opacity;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    margin: 0.5em 0;
    margin-left: 1.27em;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    pointer-events: all;
}

.qb_bar:not(.connected) .qb_btn{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    pointer-events: none;
}

.qb_contact_option_header{
    color:#fff;
    margin-bottom:0.5em;
}

.connect_btns .qb_btn{
    margin-left: 0;
    margin-right: 1.27em;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
    filter: alpha(opacity=100) !important;
    -moz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.connect_btns .qb_btn:last-child{
    margin-right: 0;
}

.qb_btn:hover{
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
}
.qb_btn.required,
.qb_btn.disconnect{
    background: #d9392e;
}
.connect_btns{
    float: right;
    padding: 0 1em;
    background: #2CA01C;
    border-left: 1px solid #2CA01C;
    border-bottom: 1px solid #2CA01C;
    transition: background,color,border;
    -webkit-transition: background,color,border;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -webkit-border-radius: 1.5em 0px 0px 1.5em;
    -moz-border-radius: 1.5em 0px 0px 1.5em;
    border-radius: 1.5em 0px 0px 1.5em;
}

.qb_bar:not(.connected) .connect_btns{
    background: #fff;
    border-left: 1px solid #d1d2d3;
    border-bottom: 1px solid #d1d2d3;
}

.qb_bar:not(.connected) .connect_btns .qb_btn{
    color: #000;
    background: rgba(44, 160, 28, 0.25);
}

.qb_check{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-image: url('images/qb/qb_check.png');
    background-size: 39px 37px;
    width: 39px;
    height: 37px;
    margin: -5px 0.5em;
}

.qb_check.gray{
    background-image: url('images/qb/qb_check_gray.png');
}

.qb_check.red{
    background-image: url('images/qb/qb_check_red.png');
}

.qb_model_title{
    font-size: 0.93em;
    line-height: 2.31em;
    color: #fff;
    font-weight: 600;
    margin-left: 2em;
}

.qb_sml_logo{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-image: url('images/qb/qb_logo_sml.png');
    background-size: 33px 33px;
    width: 33px;
    height: 33px;
}

.qb_sml_logo.dark{
    background-image: url('images/qb/qb_logo_sml_dark.png');
}
.qb_exported_date{
    font-size: 0.93em;
}
.flex_col .qb_export_date,
td .qb_export_date{
    line-height: 1.2em;
}
.qb_logo_col{
    width: 10em;
}
#qb_info_section{
    position: relative;
    border-top: 1px solid #fff;
    z-index: 998;
}
#qb_info_section.collapsed{
    border-top: 0;
}
#qb_info_section #qb_info_content{
    display: none;
}
#qb_info_section.ajaxed_contents.loaded #qb_info_content{
    display: block;
}
#qb_info_section.ajaxed_contents{
    margin-bottom: 0;
}
#qb_info_content{
    padding: 2.14em;
    background: #2CA01C;
}
#content #qb_info_content h1
,#content #qb_info_content h2
,#content #qb_info_content h3{
    color: #fff;
    font-weight: 700;
    font-size: 1.36em;
    text-shadow: none;
    text-transform: uppercase;
}
#qb_info_content h3.content_block_title{
    color: #fff;
}
#qb_info_content .options_wrap label .radio_label, #qb_info_content .options_wrap label .checkbox_label{
    color: #000;
    padding: 10px 15px;
    width: calc(100% - 60px);
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    font-weight: 600;
}
#qb_info_content p.content_block, #qb_info_content a.content_block, #qb_info_content div.content_block{
    background: transparent;
    color: #000;
    font-weight: 600;
}
#qb_info_content .options_wrap label .radio_box, #qb_info_content .options_wrap label .checkbox_box{
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
#qb_info_content .options_wrap label input[type="radio"]:checked + .radio_box:before{
    background: #000;
}
#qb_info_content .options_wrap label input[type="radio"].with_right_arrow:checked + .radio_box:after{
    content: '\2192';
    display: block;
    position: absolute;
    font-size: 40px;
    color: #fff;
    left: -80px;
    top: -5px;
}
#qb_info_content .options_wrap label input[type="radio"].with_left_arrow:checked + .radio_box:after{
    content: '\2190';
    display: block;
    position: absolute;
    font-size: 40px;
    color: #fff;
    left: -80px;
    top: -5px;
}
#qb_info_content .submit_btn, #qb_info_content .other_btn, #qb_info_content input[type="button"]{
    background: rgba(255, 255, 255, 0.25);
}
#qb_info_content .bg_section_box{
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    padding: 1em;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
    height: 100%;
}
#qb_info_content .bg_section_box.right_box
,#qb_info_content .bg_section_box.left_box{
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
#qb_info_content .bg_section_box .h_content_wrap{
    padding: 0.5em;
}
#qb_info_content .bg_section_box .h_content_wrap h3{
    width: 30%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.5;
}
#qb_info_content .bg_section_box .h_content_wrap p.content_block{
    width: 70%;
    display: inline-block;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
#qb_info_section_expand{
    display: none;
}
#qb_info_section #qb_info_section_expand{
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -27px;
    margin-right: 0;
    background-color: rgba(255,255,255,0.25);
    padding: 0 20px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    cursor: pointer;
}
#qb_info_section.collapsed #qb_info_section_expand{
    background-color: #2CA01C;
    bottom:auto;
    top:0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.ajaxed_contents.loaded #qb_info_section_expand .icon.arrow_down{
    background-position: -752px -4px;
}
.ajaxed_contents.loaded.collapsed #qb_info_section_expand .icon.arrow_down{
    background-position: -769px -4px;
}
#qb_info_section_close{
    display: none;
}
#qb_info_section #qb_info_section_close{
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: rgba(255,255,255,0.25);
    height: 13px;
    padding: 7px;
    cursor: pointer;
    display: block;
}
#qb_info_section.collapsed #qb_info_section_close{
    display: none;
}
.contact_info_view.qb_linked .content_block{
    border: 1px solid #2CA01C;
    padding: 0.5em 0.8em;
}
#qb_info_content .required:after{
    color:#fff;
    text-shadow: none;
    position: absolute;
    right: 0;
}
#qb_related_content_wrap{
    position:relative;
}
@keyframes movingdown {
    0% { transform: translateY(0); }
   50% { transform: translateY(25px); }
  100% { transform: translateY(50x); }
}
#qb_related_content_wrap:before{
    content: "";
    position: absolute;
    right: 132px;
    width: 256px;
    height: 380px;
    display: block;
    background: url(images/qb/arrow_to_connect.png) top right no-repeat;
    background-size: 100%;
    transition: bottom;
    -webkit-transition: bottom;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    animation: movingdown 2.5s infinite;
    z-index: 100000;
}
#qb_related_content_wrap:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(255,255,255, 0.85) url(images/qb/qb_bg_to_connect.png) top center no-repeat;
    background-size: 100%;
    z-index: 99999;
}
#qb_related_content_wrap.connected:before
,#qb_related_content_wrap.connected:after{
    display: none;
    
}
/*************/
.footer_bars{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 7000;
}

.footer_bar{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.5em;
    padding-bottom: 0.7em;
    font-size: 1.2em;
    line-height: 1.2em;
    color: #000;
    background: #f0f0f0;
    -webkit-box-shadow: rgba(0,0,0,0.5) 0px -1px 1px;
    -moz-box-shadow: rgba(0,0,0,0.5) 0px -1px 1px;
    box-shadow: rgba(0,0,0,0.5) 0px -1px 1px;
}

.footer_bar span{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: middle;
}

.footer_bar.light_font{
    color: #fff;
}

.footer_bar:before{
    content: '';
    display: block;
    background: -webkit-linear-gradient(bottom, rgba(0,0,0,0) , rgba(0,0,0,0.2));
    background: -o-linear-gradient(bottom, rgba(0,0,0,0), rgba(0,0,0,0.2));
    background: -moz-linear-gradient(bottom, rgba(0,0,0,0), rgba(0,0,0,0.2));
    background: linear-gradient(to bottom, rgba(0,0,0,0) , rgba(0,0,0,0.2));
    border-bottom: 1px solid #d1d2d3;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
}

.footer_bar .label_wrap{
    position: relative;
    z-index: 100;
}
.footer_bar .label{
    margin-right: 1em;
    font-weight: 300;
}
.footer_bar .title{
    font-weight: 700;
    text-transform: uppercase;
}

.footer_bar + #content_wrap,
.footer_bars + #content_wrap{
    padding-bottom: 3.2em;
}

.manual_count_bar.footer_bar{
/*    background: none;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;*/
}
/** Overlay buttons **/
#main_content{
    position: relative;
}
#overlay_grids_wrap{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100%;
    width: 100%;
    padding: 3em 6em;
    z-index: 100;
    background-color: rgba(94,94,94, 0.8);
}
.overlay_title{
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 1.5em;
}
.overlay_title .avatar_wrap{
    margin-right: 0.5em;
    padding: 8px;
    vertical-align: middle;
}
.overlay_title .avatar_wrap .icon{
    display: block;
}
#overlay_grids{
    
}
#overlay_grids:after{
    display: table;
    content: "";
    clear: both;
}
.close_overlay{
    position: absolute;
    right: 6em;
    top: 3em;
}
.custom_btn.close_overlay .icon_wrap{
    background-color: #7899b0;
    padding: 8px;
}
.overlay_grid{
    display: table;
    float: left;
    width: 31%;
    margin-right: 3.5%;
    margin-bottom: 3.5%;
    height: 200px;
    background-color: #7899b0;
    border-radius: 1em;
    color: #fff;
    cursor: pointer;
    border-collapse: separate;/*fix ie bug on box shadow*/
    -webkit-box-shadow: 7px 7px 10px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    7px 7px 10px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         7px 7px 10px 0px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
    backface-visibility: hidden;/*fix ff bug on transition scale burry*/
    transform: scale(0);
}
.open .overlay_grid:hover{
    background-color: #fff;
    color: #7899b0;
    transform: scale(1.1);
}
.open .overlay_grid{
    transform: scale(1);
}
.overlay_grid:nth-child(3n+0){
    margin-right: 0;
}
.overlay_grid .svg_icon{
    display: block;
    margin: 0 auto 1em;
}
.overlay_grid_box{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 1.5em;
    line-height: 1;
}
.overlay_grid_box .icon_wrap{
    display: block;
}
.overlay_grid_box .btn_text{
    font-size: 2em;
}
.overlay_grid_box .icon_wrap .svg_icon{
    margin-bottom: 0.5em;
}
.overlay_grid_box .icon_wrap .svg_icon{
    display: inline-block;
    background-color: #fff;
    width: 50px;
    height: 50px;
}

/** SVG icons**/
.svg_icon{
    display: inline-block;
    width: 50px;
    height: 50px;
    vertical-align: middle;
}
.svg_icon.left_icon{
    margin-right: 10px;
}
.icon_btns .svg_icon.left_icon:last-child{
    margin-right: 0;
}
.svg_icon.right_icon{
    margin-left: 10px;
}
.icon_btns .svg_icon.right_icon:first-child{
    margin-left: 0;
}
.svg_icon svg{
    width: 100%;
    height: 100%;
}
.svg_icon svg *{
    fill:#fff;
    transition: fill 0.1s;
}
.svg_icon.stroke svg *{
    fill:none;
    stroke:#fff;
}
.svg_icon svg .inner_path{
    fill: #7899b0;
}
.overlay_grid:hover .svg_icon svg g *{
    fill:#7899b0;
}
.overlay_grid:hover .svg_icon svg .inner_path{
    fill:#7899b0!important;
}

/** Quick commands sidebar **/
/**Layout with sidebar **/
.main_column_left {
    width: calc(100% - 280px);
    float: left;
    position: relative;
    min-height: calc(100vh - 235px);
}
.no_sidebar .main_column_left {
    width: 100%;
}
.main_column_right {
    width: 280px;
    float: right;
    background-color: #7899b0;
    z-index: 100;
}
.sticky #sidebar_section{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
}
.sidebar_title{
    text-transform: uppercase;
    color:#3c6688;
    font-weight: 800;
    font-size:1.2em;
    padding: 1.5em 0.5em 1.5em 1.5em;
}
.sidebar_title .title{
    color:#fff;
    margin-bottom: 0.2em;
}
.sidebar_title .right_btns{
    margin-top: 10px;
}
.sidebar_title .right_btns .custom_btn .icon_wrap{
    background-color: #3c6688;
}
.sidebar_cagegory{
    margin-bottom: 1.5em;
}
.sidebar_cagegory.open{
    margin-bottom: 0;
}
.sidebar_cagegory.no_menu.open{
    margin-bottom: 1.5em;
}
.sidebar_cagegory .advanced_header{
    background-color: rgba(255,255,255, 0.2);
    cursor: pointer;
}
#content .sidebar_cagegory .advanced_header h2.advanced_title{
    color:#3c6688;
    padding: 0 1.5em;
    text-shadow: none;
    font-size: 1.1em;
}
.sidebar_cagegory.advanced{
    border-bottom:0;
    padding-bottom: 0;
}
.sidebar_cagegory .custom_btn .icon_wrap{
    margin-right: 0;
    background-color: transparent;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.sidebar_cagegory .custom_btn:hover .icon_wrap{
    background: transparent;
}
.sidebar_cagegory .advanced_header .left_icon svg *{
    fill:#3c6688;
}
#content .sidebar_cagegory .advanced_header .advanced_btn_wrap{
    float: right;
    margin-top: 2px;
    margin-right: 5px;
}
#content .sidebar_cagegory.no_menu .advanced_header .advanced_btn_wrap{
    display: none;
}

.sidebar_cagegory .advanced_content{
    border: 0;
    padding: 1em 0;
    display: none;
}
.sidebar_cagegory .advanced_content.empty{
    padding: 0;
}
.sidebar_cagegory .sidbar_btn{
    display: block;
    padding: 0.7em 2em;
    cursor: pointer;
}
.sidebar_cagegory a
,.sidebar_cagegory .sidbar_btn .btn_text{
    color: #fff;
    font-size: 1em;
    text-shadow: none;
    font-weight: 400;
}
.sidebar_cagegory a:hover{
    color: #3c6688;
}
#sidebar_body .scroll-wrapper{
    height: calc(100vh - 197px);
}

.sticky #sidebar_body .scroll-wrapper{
    height: calc(100vh - 66px);
}
.sidebar_cagegory a:hover .svg_icon svg *{
    fill:#3c6688;
}
/**Layout with sidebar:end **/
/** Dashboard grid **/
.grid_box{
    position: relative;
    border-radius: 10px;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.2);
    margin-bottom: 2em;
}
.grid_box .box_header{
    background-color: #7899b0;
    padding: 0.5em;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#content .grid_box .box_header h2.title{
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: none;
    font-size: 1.1em;
}
.grid_box .box_header .svg_icon svg *{
    fill: #3c6688;
}
.grid_box .box_header .right_btns .svg_icon svg *{
    fill: #fff;
}
.grid_box .box_content{
    min-height: 100px;
}
/** Step form view **/
#form_step_view_wrap *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#form_step_view_wrap .form_body_wrap{
        -moz-box-shadow: 0 0 5px 2px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 0 5px 2px rgba(0,0,0,.2);
    box-shadow: 0 0 5px 2px rgba(0,0,0,.2);
}
#form_step_view_wrap .gi_modal .content_padding.gi_modal_no_pad .close_gi_modal{
    margin-top: -12px;
}
.step_nav{
    background: #6ca7da;
    background: -webkit-linear-gradient(top, #7a7373 , #6ca7da);
    background: -o-linear-gradient(bottom, #7a7373, #6ca7da);
    background: -moz-linear-gradient(bottom, #7a7373, #6ca7da);
    background: linear-gradient(to bottom, #7a7373 , #6ca7da);
}
.side_step_form .form_body_wrap{
    display: flex;
}
.side_step_form .form_body_wrap:after{
    display: table;
    content: "";
    clear: both;
}
.side_step_form .step_nav{
    position: relative;
    float:left;
    width: 200px;
}    
#side_step_form_body{
    position: relative;
    float:right;
    width : calc(100% - 200px);
    padding-bottom: 70px;
    padding-left: 30px;
}
#side_step_form_body .step_form_footer{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}
.step_nav > ul{
    margin-left: 0;
}
.step_nav > ul > li{
}

.step_nav > ul > li.current{
    background-color: rgba(0,0,0, 0.2);
}
.step_nav > ul > li > a
,.step_nav > ul > li > .title{
    padding: 2.14em 25px;
    color: #f1f1f1;
    font-weight: 700;
    font-size: 1.2em;
    display: inline-block;
    width: 100%;
}
.step_nav > ul > li > .move_form_step  {
    cursor: pointer;
}
.step_nav ul li a .svg_icon
,.step_nav ul li .title .svg_icon{
    margin-right: 0.3em;
}
.step_nav ul  .two_line_title .svg_icon{
    float: left;
}

.step_nav > ul > li ul.children_step_list{
    background-color: rgba(0,0,0,0.5);
    margin-left: 0;
}
.step_nav > ul > li ul.children_step_list li {
    height: 44px;
}
.step_nav > ul > li ul.children_step_list li.has_submenu {
    height: auto;
}
.step_form_body{
    padding: 30px 30px 30px 0;
    min-height: calc(100vh - 505px);
    position: relative;
}
.step_title{
    padding: 30px 30px 20px 0;
    margin-bottom: 0;
    border-bottom: 2px solid #bfbdbd;
}
.step_title .svg_icon{
    margin-right: 0.3em;
}
.step_title .svg_icon svg *{
    fill:#7899b0;
}
.step_form_footer{
    padding: 0 30px 30px;
    text-align: center;
}
.step_form_footer:after{
    content:"";
    display: table;
    clear: both;
}
.step_text{
    color: #fff;
    display: block;
    font-size: 0.8em;
    margin-bottom: 0.5em;
}
.step_form_footer .btn{
    margin-right: 1em;
    background-color: #fff;
    color: #7899b0;
    border: 2px solid #7899b0;
    padding: 0.5em 1em;
    font-weight: 700;
    font-size: 1.14em;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-border-radius: 17px;
    -moz-border-radius: 17px;
    border-radius: 17px;
}
.step_form_footer .submit_btn{
    background: #7899b0;
    color: #fff;
}
.secondary_btn,
.step_form_footer .btn.secondary_btn{
    background: #fff;
    color: #7899b0;
    border: 2px solid #bfbdbd;
}
.secondary_btn:hover,
secondary_btn:focus,
.step_form_footer .btn.secondary_btn:hover,
.step_form_footer .btn.secondary_btn:focus{
    background: #fff;
    color: #7899b0;
    border: 2px solid #bfbdbd;
}
.secondary_btn .icon,
.step_form_footer .btn.secondary_btn .icon{
    background-position-y: -27px;
}
.step_form_footer .btn:last-child{
    margin-right: 0;
}
.step_form_footer .prev_btn,
.step_form_footer .prev_btn:hover,
.step_form_footer .prev_btn:focus
,.btn_style_labels .prev_btn,
.btn_style_labels .prev_btn:hover,
.btn_style_labels .prev_btn:focus{
    float: left;
    background: #fff;
    color: #7899b0;
    border: 2px solid #bfbdbd;
}
.step_form_footer .next_btn
,.step_form_footer .right_btn
,.btn_style_labels .next_btn
,.btn_style_labels .right_btn{
    float: right;
    margin-right: 0;
}
.step_form_footer .next_btn,
.step_form_footer .next_btn:hover,
.step_form_footer .next_btn:focus
,.btn_style_labels .next_btn,
.btn_style_labels .next_btn:hover,
.btn_style_labels .next_btn:focus{
    background: #fff;
    color: #7899b0;
    border: 2px solid #bfbdbd;
}
.step_form_footer .submit_btn:not(.next_btn) .icon
,.step_form_footer_labels_wrap .submit_btn .icon{
    background-position-y: -4px;
}

/** children steps **/
.step_form_body.has_children_steps{
    padding: 0 30px 30px 0;
}
.step_form_body.has_children_steps .tabs_wrap.side_labels{
    margin-left: -210px;
    background: transparent;
    border: 0;
    display: block;
    margin-top: 0;
}
.step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels{
    width: 180px;
    display: block;
    float: left;
    border-right:0;
}
.step_1 .step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels{
    margin-top: 20px;
}
.step_2 .step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels{
    margin-top: 118px;
}
.step_3 .step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels{
    margin-top: 216px;
}
.step_4 .step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels{
    margin-top: 314px;
}
.step_5 .step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels{
    margin-top: 412px;
}
.step_1 .step_form_body.has_children_steps.hidden_step_title .tabs_wrap.side_labels .tab_labels{
    margin-top: 100px;
}
.step_2 .step_form_body.has_children_steps.hidden_step_title .tabs_wrap.side_labels .tab_labels{
    margin-top: 198px;
}
.step_3  .step_form_body.has_children_steps.hidden_step_title .tabs_wrap.side_labels .tab_labels{
    margin-top: 296px;
}
.step_4  .step_form_body.has_children_steps.hidden_step_title .tabs_wrap.side_labels .tab_labels{
    margin-top: 394px;
}
.step_5  .step_form_body.has_children_steps.hidden_step_title .tabs_wrap.side_labels .tab_labels{
    margin-top: 492px;
}
.step_form_body.has_children_steps .tabs_wrap.side_labels .tab_contents{
    width: calc(100% - 182px);
    display: block;
    float: right;
    margin-top: 2px;
}
.step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels .tab_label{
    background: transparent;
    text-shadow: none;
    padding: 1em 1em 1em 0;
    text-align: left;
}
.step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels .tab_label .tab_label_text{
    padding: 0;
}
.step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels .tab_label.current{
    color: #fff;
}
.step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels .tab_label:last-child:before{
    border-bottom: 0;
}
.step_form_body.has_children_steps .tabs_wrap{
    padding-top: 0;
}
.step_form_body.has_children_steps .tabs_wrap .tab{ 
    border-top: 0;
}
.step_form_body.has_children_steps .tabs_wrap .tab_content{
    padding-right: 0;
    padding-top: 1em;
}
.step_nav > ul > li > .children_step_list{
    visibility: hidden;
    height: 0;
}
.step_nav > ul > li.current > .children_step_list{
    visibility: visible;
    height: auto;
}
.step_nav > ul > li.hidden_child_step_texts > .children_step_list li.child_step a
,.step_nav > ul > li.hidden_child_step_texts > .children_step_list li.child_step .title{
    visibility: hidden;
}
.step_form_body.has_children_steps .tabs_wrap.side_labels .tab_labels .tab_label.current:before{
    border-right: 0;
}
.children_step_list li.child_step a
,.children_step_list li.child_step .title{
    color: #808080;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    padding: 1em;
    line-height: 1em;
    text-align: center;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #808080;
    text-align: right;
}
.children_step_list a:hover{
    color: #fff;
}
.children_step_list li.child_step:not(.has_submenu):last-child > a
,.children_step_list li.child_step:not(.has_submenu):last-child > .title{
    border-bottom: 0;
}
.step_form_body.has_children_steps .tabs_wrap .tab_content .form_header_bar{
    padding-top: 0.5em;
    border-bottom: 0;
}
.children_step_list li.child_step_submenu > a
,.children_step_list li.child_step_submenu > .title{
    font-size: 0.95em;
    color: #fff;
    text-transform: none;
    line-height: 0.9em;
    border-bottom: 0;
}
.children_step_list li.child_step_submenu:last-child > a
,.children_step_list li.child_step_submenu:last-child > .title{

}
.child_step_submenus{
    margin-left: 0;
    visibility: hidden;
    height: 0;
    transition: height;
    -webkit-transition: height;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    background-color: rgba(255,255,255, 0.1);
}
.form_step.current .child_step.current .child_step_submenus{
    visibility: visible;
    height:auto;
}
/** Step form view:end **/
.btn_col {
    text-align: right;
}
.btn_col a
,.btn_col .custom_btn{
    margin-right: 0.5em;
}

.btn_col a:last-child
,.btn_col .custom_btn:last-child{
    margin-right: 0;
}
/** Widget **/
.widget_wrap .ui_table th, .widget_wrap .ui_table td{
    border: 0;
    background: transparent;
}
.widget_wrap .ui_table th, .widget_wrap .ui_table td
, .widget_wrap .ui_table th > a, .widget_wrap .ui_table td > a
, .widget_wrap .ui_table th > span, .widget_wrap .ui_table td > span{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.widget_wrap .ui_table th
,.widget_wrap .ui_table th > a
,.widget_wrap .ui_table th > span{
    color: #a0a0a0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
}
.widget_wrap .ui_table td
,.widget_wrap .ui_table td > a
,.widget_wrap .ui_table td > span{
    color: #5e5e5e;
    font-size: 0.95em;
}
.widget_wrap .ui_table td > a:hover
,.widget_wrap .ui_table td > a:focus
,.widget_wrap .ui_table td > a:active{
    color: #7899b0;
}
.widget_wrap .ui_table tr:nth-child(odd) td{
    background: #f0f0f0;
}

.widget_wrap .ui_table tr:nth-child(even) td{
    background: transparent;
}
.widget_wrap .ui_table tr:last-child td:first-child{
    border-bottom-left-radius: 10px;
}
.widget_wrap .ui_table tr:last-child td:last-child{
    border-bottom-right-radius: 10px;
}
.widget_wrap .grid_box .box_content{
    padding: 1em 0.5em;
    min-height: 0;
}
.widget_wrap .grid_box .box_content .ui_table_wrap{
    margin: -1em -0.5em;
}
.widget_wrap .grid_box .box_header h2.title{
    text-transform: none;
}
.widget_wrap .chart_title{
    color: #5e5e5e;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1em;
    padding: 0.7em 1em;
    margin-bottom: 0;
}
.widget_wrap .ui_table_wrap .no_model_message{
    padding: 0.7em 1em;
}
/** Widget : end **/
/**ADMIN ONLY**/
.admin_only{
    display: none;
    position: absolute;
    z-index: 9999;
}
.admin_only .label, 
.admin_only .value{
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    *display:inline;
    vertical-align: baseline;
    font-size: 0.8em;
    color: #fff;
    background: rgba(0,0,0,0.8);
    padding: 0.2em 0.4em;
    line-height: 1.2em;
}
.admin_only .label{
    margin-left: 0.2em;
}
.admin_only .value{
    font-weight: 700;
}

.admin_feature:before{
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 100;
    overflow: hidden;
    text-align: right;
    pointer-events: none;
    content: 'GI Feature';
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2em;
    display: block;
    background: #6ca7da;
    background: linear-gradient(#6ca7da 0%, #7a7373 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    font-size: 0.7em;
    padding: 0.2em 0.4em;
}
/**DEVMODE**/
#dev_mode{
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
    overflow: hidden;
    width: 75px; height: 75px;
    text-align: right;
    pointer-events: none;
}
#dev_mode:before {
    content: 'DEV MODE';
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#9BC90D 0%, #79A70A 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px; right: -21px;
}
@media only screen and (max-width : 1300px){
    #toggle_fullscreen{
        display: none;
    }
    .gi_modal.large_sized{
        width: 100%;
        left: 0;
        margin-left: 0;
    }
}
@media only screen and (max-device-width: 960px) {
    
}
@media only screen and (max-width : 1050px){
    #qb_related_content_wrap:before{
        width: 20%;
        height: 34%;
    }
}
@media only screen and (max-width : 960px){
    #content_wrap:before{
        display: block;
        content: '';
        width: 100%;
        height: 10px;
        background: #7899b0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9000;
        -webkit-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
        -moz-box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
        box-shadow: rgba(0,0,0,0.5) 0px 1px 1px;
        border-top: 1px solid #3c6688;
    }
    #menu_btn{
        display: block;
    }   
    #main_nav_wrap{
        width: 260px;
        z-index: 3000;
        position: fixed;
        top: 0;
        left: auto;
        right: -260px;
        height: 100%;
        overflow-y: auto;
        overflow: hidden;
    }
    #main_nav{
        width: 100%;
    }
    #main_nav nav ul{
        float: none;
        border: none;
    }
    #main_nav nav ul li{
        display: block;
        text-align: center;
        border: none;
        border-bottom: 1px solid #d5d5d5;
        border-top: 1px solid #fff;
    }
    
    #main_nav nav ul li ul{
        position: relative;
        border: none;
        border-top: 1px solid #d5d5d5;
        right: 0;
    }
    #main_nav nav ul li ul li{
        border: none;
    }
    #main_nav nav ul li ul li ul,
    #main_nav nav ul li ul li ul.open_left{
        top: auto;
        left: auto;
        right: auto;
    }

    #main_nav nav ul li ul li ul li,
    #main_nav nav ul li ul li ul.open_left li{
        text-align: center;
    }
    .flex_row.mobile_cols_to_rows{
        margin: auto;
        margin-bottom: 2em;
    }
    
    .flex_row.mobile_cols_to_rows .flex_col{
        flex: none;
        display: block;
        width: 100%;
        padding: 0;
        margin-bottom: 2em;
    }
    
    .flex_row.mobile_cols_to_rows .flex_col:last-child{
        margin-bottom: 0 !important;
    }
    
    .gi_modal .flex_row.mobile_cols_to_rows,
    .gi_modal .flex_row.mobile_cols_to_rows .flex_col{
        margin-bottom: 1em;
    }
}
@media only screen and (max-width : 640px){
    
    .limit_mobile .flex_col:not(.keep),
    .limit_mobile td:not(.keep),
    .limit_mobile th:not(.keep){
        display: none;
    }
    .qb_bar{
        padding: 0;
    }
    .qb_logo{
        position: relative;
        bottom: auto;
    }
    .qb_bar .connect_btns{
        position: absolute;
        top: 0;
        right: 0;
    }
    .gi_modal.shadow_box_modal{
        width: 90%;
        margin-left: -45%;
        margin-top: 30px!important;
        top: 0!important;
    }
    
    .gi_modal{
        width: 310px !important;;
        margin-left: -155px !important;;
    }
    
    /***RESPONSIVE TABLES***/
    .ui_table thead,
    .ui_table tr th,
    .flex_table .flex_head{
        display: none;
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .ui_table tr,
    .flex_table .flex_row{
        display: block;
        border: 1px solid rgba(0,0,0,0.2);
        border-bottom: 3px solid rgba(0,0,0,0.2) !important;
        margin-bottom: 1em;
        padding: 0.2em;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }
    .ui_table tr:last-child,
    .flex_table .flex_row:last-child{
        margin-bottom: 0;
    }
    .ui_table td,
    .ui_table td.col_xsmall,
    .flex_table .flex_col{
        display: block;
        text-align: right;
        width: 100% !important;
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    }
    .ui_table td:last-child,
    .flex_table .flex_col:last-child{
        border-bottom: none;
    }
    .ui_table td::before,
    .flex_table .flex_col::before {
        content: attr(data-label);
        float: left;
        color: #a0a0a0;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.9em;
        pointer-events: none;
    }
    .ui_table td.linked::before {
        margin-left: 0.64em;
        margin-top: 0.93em;
    }
    .result_limit_bar{
        display: none;
    }
}
