@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

.mobile
{
    display: none;
}

/* RESET 
---------------------------------- */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline; }

ins {
    background-color: #ffff99;
    color: black;
    text-decoration: none; }

mark {
    background-color: #ffff99;
    color: black;
    font-style: italic;
    font-weight: bold; }

del {
    text-decoration: line-through; }

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help; }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0; }

input, select {
    vertical-align: middle;
}

/* COLORI
---------------------------------- */

/*
- Grigio scuro #333333 (testo)
- Grigio chiaro #DDDDDD
- Verde acido #B9C01D
- Azzurro #2394C4 (link)
- Azzurro scuro #186687 (link)
*/


/* BASE
----------------------------------*/
body {
    color: #263238;
    font-family: Open Sans, sans-serif;
    font-size: 13px;
    line-height: 1.5em;

}


/* TIPOGRAFIA
---------------------------------- */

h1, h2, h3, h4, h5, h6
{
    margin: 0px;
    line-height: 1.5em; 
}

h1 
{
    font-size: 30px;
}

h2 
{
    font-size: 24px;
}

h3 
{
    font-size: 18px;
}

h4 
{
    font-size: 15px;
}

h5, h6 
{
    font-size: 13px;
}

h6 
{
    color: #676767;
    text-transform: uppercase;
}

p 
{
    margin: 0 0 9px;
    line-height: 1.5em;    
}

small 
{
    color: #999999;
    font-size: 12px;
}

blockquote
{
    border-left: 5px solid #DDDDDD;
    margin: 0 0 18px;
    padding: 0 0 0 15px;
}

.blockquote-right
{
    border-left: 0 none;
    border-right: 5px solid #EEEEEE;
    float: right;
    padding-left: 0;
    padding-right: 15px;
}

ul, ol {
    margin: 0px 0px 10px 30px;
    padding: 0;
}

ul.unstyled, ol.unstyled {
    list-style: none outside none;
    margin-left: 0px;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    font-weight: normal;
    font-size: 14px;
}

h1 small
{
    font-size: 18px;
}

p.lead
{
    font-size: 20px;
    font-weight: 200;
    line-height: 27px;
    margin-bottom: 18px;
}


.ag-left
{
    text-align: left;
}

.ag-right
{
    text-align: right;
}

.ag-center
{
    text-align: center;
}

.indented-element, .sortable-contents .indented-element
{
    padding-left: 25px;
}

.disabled-element
{
    color: #999999;
}

.li-active
{
    font-weight: bold;
}

/* LINKS 
---------------------------------- */

a
{
    color: #2394C4;
}

a:hover
{
    color: #186687;
    text-decoration: none;
}


/* STRUTTURA
---------------------------------- */

#content-table
{
    margin: 0px auto;
    display: table;
    position: relative;
}

#left-column
{
    width: 20%;
    min-width: 20%;
    max-width: 20%;
    padding: 20px 17px;
    background: #e4ebee;
    display: table-cell;
    vertical-align: top;
}

#content-column
{
    width: 40%;
    min-width: 40%;
    max-width: 40%;
    padding: 25px;
    background: #fff;
    display: table-cell;
    vertical-align: top;
    border-bottom: 1px solid #ebeef0;
    border-left: 1px solid #ebeef0;
}


#right-column 
{
    width: 40%;
    min-width: 40%;
    max-width: 40%;
    padding: 25px;
    background: #e4ebee;
    display: table-cell;
    vertical-align: top;
    background: #e4ebee;
}

.dashboard-column
{
    width: 40%;
    min-width: 40%;
    max-width: 40%;
    padding: 20px 17px;
    background: #fff;
    display: table-cell;   
}

.dashboard-column-2
{
    width: 20%;
    min-width: 20%;
    max-width: 20%;
    padding: 25px;
    background: #e4ebee;
    display: table-cell;
    vertical-align: top;
}

.dashboard-column-2:last-child
{
    width: 18%;
    min-width: 18%;
    max-width: 18%;
    padding: 25px 25px 25px 0;
}

#sidebar
{
    width: 250px;
    float: right;
}

#header
{
    margin: 0px;
}

#image-header
{
    width: 100%;
    height: auto;
}

#breadcrumb
{
    margin-bottom: 20px;
    text-align: left;
}

.clearfix
{
    clear: both;
}

.closed-element
{
    display: none;
}

.collapsing-trigger, .collapsing-trigger-loader
{
    background-color: transparent;
    background-repeat: no-repeat;
    background-position:  0px 50%;
    padding-left: 20px;
}

.closed-trigger
{
    background-image: url(../images/icons/chevron-down.png);
}

.open-trigger
{
    background-image: url(../images/icons/chevron-right.png);
}

#buttons_top, #language-switcher, #image-header
{
    margin-bottom: 20px;
}

#language-switcher
{
    text-align: right;
    width: auto;
    display: inline-block;
    margin: 0px;
    position: absolute;
    right: 260px;
    top: -98px;
}

#language-switcher a
{
    margin-left: 10px;
}

.loading-indication
{
    background: url(../images/icons/ajax-loader.gif) no-repeat top center;
}

#backend-goto
{
    position: absolute;
    top: 0px;
    right: 100px;
    background-color: #E5E5E5;
    padding: 10px 20px;
    z-index: 9999;
}

/* FORM
---------------------------------- */

form
{

}


input, select, textarea, button
{
    font-family: Open Sans, sans-serif; 
    color: #40494d;
}

input, select, textarea
{
    border: 1px solid #d7dfe3;
    padding: 5px;
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
}

option
{
    padding: 0px 5px;
}

input:focus, textarea:focus, select:focus
{

}

select, .input-file
{
    line-height: 13px;
}

.input-file
{
    box-shadow: none;
    width: auto;
}

input[type=radio], input[type=checkbox]
{
    vertical-align: top;
    width: auto;
}

label
{
    display: block;
    padding-bottom: 3px;
    font-weight: 600;
}

.lb-inline
{
    display: inline;
    margin-right: 5px;
}

.lb-checkbox, .lb-radio
{
    font-weight: normal;
}

.veryshort-field
{
    width: 18%;
}

.short-field
{
    width: 25%;
}

.medium-field
{
    width: 50%;
}

.long-field
{
    width: 75%;
}

.verylong-field
{
    width: 93%;
}

.inline-field
{
    margin-right: 5px;
}

.form-field-help
{
    font-size: 0.9em;
    display: block;
    color: #636262;
}

.btn, .table-admin a.btn
{
    border-radius: 2px;
    background: #25aae1;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    padding: 7px 8px 6px 8px;
    text-decoration: none;
    display: inline-block;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn .fa
{
    font-size: 18px;
    float: left;
    margin: 0 7px 0 0;
}

p.row-actions a.btn
{
    margin-right: 5px;
}

.btn-big
{
    font-size: 15px;
    padding: 8px;
}

.btn-small
{
    font-size: 0.9em;
}

.form-field 
{
    margin: 0 0 5px 0!important;
}

.form-submit
{
    padding-top: 15px;
}

.mid-field label
{
    width: 40%;
    float: left;
    margin-right: 3.5%;
}

.mid-field input
{
    width: 55%;
    float: left;
}

.btn-alternate
{
    background-color: #6ca1b8;
    color: #f8fbfc;
}

.btn-secondary
{
    background-color: #6ca1b8;
    color: #f8fbfc;
}

.client-box-ul-container .btn-secondary
{
    margin: 10px 0 0 0;
    padding: 4px 6px;
    line-height: 14px;
}

.btn-delete
{
    background-color: #CE453E;
    color: #FFFFFF;	
}

.btn:active, .btn:hover, .table-admin a.btn:hover
{
    background-color: #186687;
    color: #fff;
}

.btn:disabled, .btn-disabled, .btn-disabled:hover
{
    background-color: #2394C4;
    opacity: 0.5;
    cursor: default;
}

.btn-alternate:active, .btn-alternate:hover
{
    background-color: #6ca1b8;
    color: #f8fbfc;
}

.btn-secondary:active, .btn-secondary:hover
{
    background-color: #6ca1b8;
    color: #f8fbfc;
}

.btn-delete:active, .btn-delete:hover
{
    background-color: #913530;
    color: #fff;
}

input.error-field, select.error-field, textarea.error-field
{
    border-color: #D01616;
}

.field-privacybox
{
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    height: 200px;
    margin: 20px 0;
    overflow-y: scroll;
    padding: 20px;
} 

.field-captcha-image
{
    margin-bottom: 10px;
    display: inline-block;
}

/* MESSAGGI
---------------------------------- */
.message 
{
    margin: 10px auto 30px;
    padding: 10px;
}

.message-error 
{
    background-color: #CE453E;
    color: #FFFFFF;
}

.message-ok 
{
    background-color: #A9D673;
}

.message-alert
{
    background-color: #F2D268;
}

.form-field-error
{
    color: #CE453E;
    display: block;
}

/* TABELLE
---------------------------------- */

.dataTable .fa-warning,
.dataTable .fa-euro
{
    color: #FF9800;
}

.dataTable .fa-lock
{
    color: #25aae1;
}

.td-icon 
{
    padding: 8pt 0 8pt 8pt;
}

table
{
    background-color: transparent;
    border-spacing: 0;
    max-width: 100%;
    font-size: 1em;
    width: 100%;
}

th, td
{
    border-top: none;
    line-height: 13px;
    font-size: 12px;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

td a
{
    font-weight: 600;
    text-decoration: none;
}

tr
{
    border-left: 1px solid #d7dfe3;
    border-right: 1px solid #d7dfe3;
    border-bottom: 1px solid #d7dfe3;
    background: #fff;
}

tr:nth-child(2n+2)
{
    background: #e5f1f6;
}

thead tr
{
    border: 1px solid #6ca1b8;
}

th
{
    background-color: #6ca1b8;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

th .btn
{
    font-weight: normal;
}

thead th {
    vertical-align: middle;
}

.table
{
    margin: 20px 0px;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled
{
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 20px;
}

table.dataTable thead .sorting 
{
    background-image: url("../images/icons/sort_both.png");
}
table.dataTable thead .sorting_asc 
{
    background-image: url("../images/icons/sort_asc_disabled.png");
}

table.dataTable thead .sorting_desc 
{
    background-image: url("../images/icons/sort_desc_disabled.png");
}

table.dataTable thead .sorting_asc_disabled 
{
    background-image: url("../images/icons/sort_asc_disabled.png");
}

table.dataTable thead .sorting_desc_disabled 
{
    background-image: url("../images/icons/sort_desc_disabled.png");
}

.table-bordered-outside
{
    border: 1px solid #ddd;
}

.table-bordered
{
    border-bottom: 1px solid #ddd;
}

.table-bordered th, .table-bordered td
{
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.tr-odd
{

}

td.td-action, td.td-identifier
{
    width: 22px;
    text-align: center;
    vertical-align: middle;
}

.table-admin .filters-last-column
{
    width: 1%;
    min-width: 1%;
    max-width: 1%;
    text-align: center;
}

.filters-row input
{
    font-size: 12px;
    padding: 3px; 
}

.filters-row .btn
{
    padding: 3px 6px;
}

.table-admin a.btn
{
    font-size: 12px;
    padding: 3px 6px;
    line-height: 14px;
    background-color: #186687;
    color: #fff;
    border: none;
}

.table-admin a.btn-lite
{
    color: #25aae1;
    background: #fff;
    padding: 2px 4px;
    border: 1px solid #25aae1;
    line-height: 14px;
    white-space: nowrap;
    cursor: pointer;
}

td .fa-edit
{
    color: #25aae1;
}

.table-admin th a
{
    color: #fff;
}


.table-hover tr:hover, .table-admin tr:hover
{

}

.table-admin a
{
    color: #333333;
    text-decoration: none;
}

.table-vertical th
{
    background-color: #e7e7e7;
    text-align: right;
    vertical-align: middle;
    width: 170px;
}

th .icon-sort
{
    margin-right: 5px;
}

/* COMPONENTI
---------------------------------- */

/* menu */

.menu 
{
    margin: 0px;
    padding: 0px 20px;
}

.menu li
{
    list-style-type: none;
    float: left;
    padding: 0px 10px;
    margin: 0px;
}

#menu_primary_container
{
    background-color: #e5e5e5;
}

#menu_primary
{
    margin: 0 0 20px 0;
}

#menu_primary a, #menu_primary .menu-item-active span
{	
    display: inline-block;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 15px 8px;
    padding: 10px;
}

#menu_primary a
{
    color: #333333;
}

#menu_primary a:hover, #menu_primary .menu-item-active span
{

    color: #b9c01d;
}

#menu_column
{
    padding: 0px;
}

/* blocchi generici */

.block, #menu_column .menu-item
{
    margin-bottom: 20px;
    background-color: #E5E5E5;
}

.block-title, .block h2, #menu_column h2
{
    background-color: #B9C01D;
    padding: 10px 15px;
    font-size: 16px;
    margin-bottom: 5px;
    position: relative;
}

.block-title a, .block h2 a, #menu_column h2
{
    color: #333333;
    text-decoration: none;
}

.block-int
{
    padding: 10px 15px;
}

.block-simple
{
    background: none;
}

.block-scroll
{
    height: 150px;
    overflow: auto;
}

.categories-menu, .categories-menu ul
{
    list-style-type: none;
}

.categories-menu
{
    margin: 0px;
}

.categories-menu ul
{
    margin-bottom: 0px;
}

.categories-menu a, .categories-menu .li-active
{
    padding: 3px 7px;
    display: inline-block;
}

.categories-menu li
{
    background-color: #DDDDDD;
}

/* contenuti */

.content-info
{
    color: #636262;	
    margin-bottom: 30px;
}

.content-social-share 
{
    margin: 20px 0px;
    padding: 0px;
}

.content-social-share  li
{
    list-style-type: none;
    display: inline-block;
}

.content-file, .content-gmap, .content-video, .content-photo, .content-form
{
    margin-top: 20px;
}

.content-gallery-title
{
    padding: 20px 0 10px 0;
    font-weight: bold;
    font-size: 22px;
}

.content-photo-image
{
    width: 100%;
}

.content-gallery figcaption,.content-photo figcaption
{
    display:none;
}

.content-file
{
    background-color: #E5E5E5;
    padding: 10px;
    margin: 20px 0;
}

.content-list
{
    margin: 20px 0px;
}

.content-list li
{
    list-style-type: none;
    margin: 0px 0px 10px 0px;
}

.node-gmap
{
    width: 100%;
    height: 400px;
}

.box-960
{
    width: 90%;
    margin: auto;
    position: relative;
}

/* logo header */

.logo-header
{
    width: 243px;
    height: 46px;
    background: transparent url(../images/layout/logo-header.png) no-repeat left top;
    display: inline-block;
    float: left;
    margin: 10px 0px;
}

/* Header search box */

.header-search-box
{
    display: inline-block;
    width: 215px;
    float: right;
    margin: 20px 0;
    background: transparent url(../images/layout/bg-cerca-header.png) no-repeat left top;
}

.header-search-box form
{
    padding: 0px;
    margin: 0px;
}

.header-search-box #content-search-key
{
    border: none;
    box-shadow: none;
    padding: 5px;
    margin: 0px;
    background: transparent;
    width: 175px;
    float: left;
}

.btn-header-search
{
    width: 27px;
    height: 27px;
    cursor: pointer;
    box-shadow: none;
    float: right;
    background: transparent;
}

/* social */

.social
{
    margin: 20px 0 10px 0;
    padding: 0px;
    list-style-type: none;
    display: inline-block;
}

.social li
{
    display: inline-block;
}

/* Newsletter */

#box-newsletter
{
    display: block;
    padding: 10px;
    background: #f0f0f0;
}

.newsletter-title
{
    font-size: 14px;
    color: #3a3a3a;
    font-weight: bold;
    display: block;
    padding: 0 0 10px 0;
}

.newsletter-description
{
    font-size: 12px;
    line-height: 14px;
    padding: 0 0 10px 0;
    display: block;
}

.newsletter-field
{
    width: 67%;
}

#box-newsletter form
{
    padding: 0px;
    margin: 0px;
}

/* Footer */

#footer
{
    background-color: #ffffff;
    padding: 10px 0;
    border-top: 1px solid #e4ebee;
    margin-top: 20px;
}

#footer-left
{
    float: left;
    width: 50%;	
}

#footer-right
{
    float: right;
    width: 50%;
    text-align: right;
}

.footer-credentials
{
    background: #595959;
    color: #ffffff;
    font-size: 12px;
    padding: 5px 0;
}

.footer-credentials p
{
    margin: 0px;
}

.logo-footer
{
    width: 184px;
    height: 37px;
    background: url(../images/layout/logo.png) no-repeat center center;
    background-size: contain;
}

.footer-adress-box
{
    font-size: 12px;
    margin: 15px 0 0 0;
}

.footer-left
{
    float: left;
}

.footer-right
{
    float: right;
}

/* Menu footer */

#footer #menu_primary
{
    margin: 0px;
    padding: 0px;
    width: auto;
    display: inline-block;
}

#footer #menu_primary_container .box-960
{
    width: auto;

}

#footer #menu_primary_container
{
    width: 700px;
    background: transparent;
    text-align: right;
}

#footer #menu_primary li
{
    padding: 0 5px;
    font-size: 12px;
}

#footer #menu_primary a, #menu_primary .menu-item-active span
{
    padding: 5px;
}

/* paginazione */

.pagination
{
    text-align: center;
    margin-top: 10px;
}

.pagination ul
{
    margin: 0px;
}

.pagination li
{
    display: inline-block;
    list-style-type: none;
    padding-right: 5px;
}

.pagination a
{
    padding: 4px 8px;
    text-decoration: none;
    border: 1px solid #ddd;
}

li.pagination-active
{
    padding: 4px 10px; 
    font-weight: bold;   
}

.pagination-pager
{
    width: 20%;
    text-align: right;
    float: right;
}

.pagination-links
{
    width: 80%;
    text-align: center;
    float: left;
}

/* help */

.ui-tooltip 
{
    padding: 10px;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 1em;
    color: #333333;
    background: #F2D268;
    border: 1px solid #EAC556;	
    border-radius: 0px;
}

body .ui-tooltip {
    border-width: 1px;
}

.spacer
{
    text-align: center;
    border-top: 1px solid #b2b4b3;
}

.spacer-text
{
    display: inline-block;
    position: relative;
    top: -15px;
    padding: 5px 10px;
    background-color: #fff;
    font-size: 11px;
}

/* commenti */

#content_comments_list
{
    margin-top: 40px;
}

.content-img-list
{
    float: left;
    width: 321px;
    border: 1px solid #d0d0d0;
    padding: 1px;
    background-color: #ffffff;
    margin: 0 20px 20px 0;
}

.content-img-list:nth-child(2n+2)
{
    margin: 0 0 20px 0;
}    

.filenode-thumb
{
    display: table-cell;
}

.filenode-title
{
    display: table-cell;
    padding: 0 0 0 10px;
    vertical-align: middle;
}   

.content-gallery-images
{
    float: left;
    margin: 0 7px 7px 0;
}

.content-gallery-images img
{
    width: 85px;
    height: 85px;
    border: 1px solid #d0d0d0;
    padding: 1px;
    background-color: #ffffff;
}    

figure:nth-child(7n+7) a
{
    margin: 0 0 7px 0;
}


.l-align
{
    text-align: left;
}

.c-align
{
    text-align: center;
}

.r-align
{
    text-align: right;
}

.i
{
    font-style: italic;
}



#managament-edit-link
{
    text-align: right;
    margin: 10px 0px;
}

.form-fieldset
{
    background-color: #f7fbfc;
    border: 1px solid #f2f3f5;
    padding: 10px 0 10px 0;
    margin-bottom: 8px;
}

.form-fieldset.hidden
{
    display: none;
}

.form-fieldset:last-child
{
    margin-bottom: 0px;
}

.form-fieldset legend
{
    display: block;
    width: 100%;
    padding: 0px 10px 8px 10px;
    box-sizing: border-box;
    border-bottom: 3px solid #d7dfe2;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0px;
    float: left;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 14px;
}

.form-fieldset h2, .client-documents-box h3, #client-edit-addresses-legal h2
{
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #658491;
    text-decoration: underline;
}

#client-edit-addresses-legal
{
    margin: 20px 0 0 0;
}

.form-fieldset .form-fieldset-int
{
    padding: 0px 10px;
}

.form-field-help,
.form-field-info, #empty-legal-province_id, #empty-paper_id
{
    font-size: 0.9em;
    display: block;
    color: #7c8f9d;
    font-style: italic;
    font-weight: 500;
    font-size: 12px;
    line-height: 13px;
    margin: 3px 0 0 0;
}

#client-paper-payments_quotas-table tr:first-child
{
    border-top: 1px solid #d7dfe3;
}

#client-paper-payments_quotas-table
{
    margin: 0 0 10px 0;
}


.form-field-help .fa,
.form-field-info .fa
{
    color: #7c8f9d;
    font-size: 13px;
    margin-right: 5px;
}


.user-edit-permission-group
{
    margin-bottom: 20px;
}

.secondary-title
{
    display: block;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid #d3dce3;
    margin-bottom: 10px;
}


.clean-list
{
    list-style-type: none;
}

.clean-list li
{
    margin-bottom: 10px;
}

.clean-list li.with-checkbox .form-field-help,
.clean-list li.with-checkbox .form-field-info
{
    margin-left: 25px;
}

.form-field.hidden
{
    display: none;
}


.vmiddle, td.vmiddle, th.vmiddle
{
    vertical-align: middle;
}

#menu-admin_config_menu
{
    display: inline-block;
    margin: 0px;
    float: left;
    padding: 0px;
}

#menu-admin_menu li a,
#menu-admin_config_menu li a
{
    font-size: 15px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    color: #78909c;
}

#menu-admin_menu li a .menu-counter
{
    background-color: #25aae1;
    color: #fff;
    border-radius: 2px;
    padding: 1px 5px;
    display: inline-block;
    margin-left: 5px;
}


#menu-admin_menu li.selected a
{
    background-color: #e4ebee;
    padding: 3px 8px;
    border-radius: 2px;
    border: 1px solid #ebeef0;
}


.user-menu-global-box 
{
    float: right;
    margin: 3px 0 0 0;
}

#menu-admin_config_menu .menu-sub li a
{
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

#menu-admin_menu li a:hover,
#menu-admin_config_menu li a:hover
{
    color: #25aae1;
}

#menu-admin_config_menu .menu-sub 
{
    position: absolute;
    background-color: #fff;
    margin: 0px;
    padding: 10px;
    min-width: 150px;
    z-index: 200;
    border: 1px solid #25aae1;
}




.header-content-container
{
    border-left: 1px solid #e9edef;
    border-right: 1px solid #e9edef;
    border-bottom: 1px solid #e9edef;
}

.admin-menu-container
{
    float: left;
}

/*
.admin-menu-config-container
{
    float: left;
    width: 15%;    
}*/

.user-menu-container
{
    float: right;
    color: #8298a3;
    font-size: 13px;
    line-height: 13px;
    margin: 15px 10px;
}

.user-menu-container a
{
    color: #8298a3;
    text-decoration: none;
}

.user-menu-container a:hover
{
    color: #25aae1;
}

.paper-step.disabled .paper-step-int
{
    display: none;
}

.paper-step.disabled h2
{
    opacity: 0.2;
}

#ajax-loader-inline
{
    margin-left: 5px;
    font-size: 16px;
    color: #2394C4;
}

label.disabled, .btn.disabled, .disabled
{
    opacity: 0.3;
}

input:disabled
{
    opacity: 0.7;
}

.btn.disabled
{
    cursor: default;
}

.disabled .disabled
{
    opacity: 1;
}

.client-file-item
{
    display: block;
    margin-bottom: 5px;
}

.fileinput-button
{
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
}

.fileinput-button input
{
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;    
}

#cookie-bar 
{
    background: #538aa0!important;
    color: #ffffff!important;
    height: auto!important;
}

#cookie-bar .cb-enable, #cookie-bar .cb-policy, #cookie-bar .cb-enable:hover, #cookie-bar .cb-policy:hover
{
    background: #343c40!important;
}

.wrapper-not-logged
{
    text-align: center;
}

#dialog-box-container 
{
    width: auto;
    display: inline-block;
    margin-top: 10%;
    position: relative;
    background: #538aa0;
    color: #fff;
    padding: 25px;
    width: 365px;
    border-radius: 3px;
    text-align: left;
}

.wrapper-not-logged #page-header h1
{
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

.wrapper-not-logged label
{
    display: inline-block;
    width: 160px;
    text-align: left;
    font-weight: 600;
}

.wrapper-not-logged input
{
    width: 200px;
    border: none;
    padding: 5px;
}

.wrapper-not-logged #page-header 
{
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #a2c6d5;
}

.not-logged-container 
{
    position: fixed;
    width: 100%;
    height: 100%;
}

.wrapper-not-logged form
{
    display: inline-block;
    padding: 0;
}

.not-logged-bg
{
    background: #f0f9ff; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #9bc4d4 0%, #effbff 47%, #5d97af 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #9bc4d4 0%,#effbff 47%,#5d97af 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #9bc4d4 0%,#effbff 47%,#5d97af 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9bc4d4', endColorstr='#5d97af',GradientType=1 );
}

#login-submit, .wrapper-not-logged .btn-alternate, .wrapper-not-logged .btn-alternate:hover, .wrapper-not-logged .btn, .wrapper-not-logged .btn:hover
{
    background: #f4f4f4;
    border-radius: 3px;
    padding: 7px 21px;
    font-weight: 600;
    color: #294e5c;
    width: auto;
    line-height: 13px;
    float: right;
    margin: 0 0 0 10px;
}

.not-logged-logo-container 
{
    position: absolute;
    top: -72px;
    left: 0px;
    width: 420px;
    height: 58px;
    background: url(../images/layout/logo.png) no-repeat center center;
    background-size: contain;
}

.wrapper-not-logged .message 
{
    margin: 0 0 20px 0;
    text-align: left;
    padding: 0;
}

.wrapper-not-logged .message-error
{
    padding: 10px;
}

.wrapper-not-logged label[for="email"]
{
    width: auto;
    margin: 0 10px 0 0;
}

#user-recovery-password-submit 
{
    float: right;
}

.wrapper-not-logged .form-field-error 
{
    color: #ffcbc8;
    display: block;
    text-align: right;
    padding: 2px 0 0 27px;
}

.wrapper-not-logged .form-field
{
    text-align: right;
}

.left-column-element-box
{
    margin: 10px 0 0 0;
}

.left-column-element-footer
{
    border-top: 1px solid #d7dfe3;
    margin-top: 30px;
    padding-top: 10px;
}

#dashboard-calendar,
#dashboard-posts,
#dashboard-activities
{
    margin-top: 30px;
}

#posts-list,
#activities-list
{
    margin-top: 10px;
}

#page-header h1,
#dashboard-calendar h2,
#dashboard-posts h2,
#dashboard-activities h2,
#client-papers-print-title
{
    color: #25aae1;
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
    margin: 0 0 20px 0;
}

#client-papers-print-title
{
    margin-top: 30px;
}

.page-header-table
{
    display: table;
    width: 100%;
}

.page-header-title-box
{
    display: table-cell;
    vertical-align: top;
    text-align: left;
    width: 85%;
}

.page-header-button-box
{
    display: table-cell;
    vertical-align: top;
    padding: 0 0 0 10px;
    text-align: right;
    width: 15%;
}

.client-documents-box h2
{
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.client-documents-box 
{
    border: 1px solid #f1f4f5;
    background: #f8fbfc;
    margin: 0 0 8px 0;
    border-radius: 3px;
}

.client-documents-box p, .client-box-ul-container p
{
    margin: 0;
}

#menu-admin_config_menu .menu-sub li
{
    display: block;
    float: none;
    padding: 0 0 8px 0;
    margin: 0 0 8px 0;
    border-bottom: 1px solid #ebeef0;
}

#menu-admin_config_menu .menu-sub li:last-child
{
    margin: 0;
    padding: 0;
    border-bottom: none;
}

.client-documents-box-title-table
{
    display: table;
    width: 100%;
    border-bottom: 2px solid #d7dfe3;
}

.client-documents-box-title 
{
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    padding: 10px 5px 8px 10px;
}

.client-documents-box-btn
{
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    position: relative;
    padding: 0 8px 0 0;
}

.btn-lite
{
    color: #25aae1;
    background: #fff;
    padding: 2px 4px;
    border: 1px solid #25aae1;
    line-height: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.btn-lite:hover
{

    color: #ffffff;
    border: 1px solid #186687;
}

.btn-lite .fa
{
    font-size: 14px;
    margin: 0 5px 0 0;
}

.client-box-ul-container 
{
    padding: 10px;
}

.client-box-ul 
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.client-box-ul li
{
    padding: 6px 0;
    margin: 0;
    border-bottom: 1px solid #d2dce1;
    display: table;
    width: 100%;
    line-height: 14px;
}

.client-box-ul li:first-child
{
    padding-top: 0px;
}

.li-label
{
    color: #8ca0aa;
    width: 160px;
    display: inline-block;
    display: table-cell;
}

#client-paper-view .li-label
{
    width: 180px;
}

.li-semibold
{
    font-weight: 600;
    display: table-cell;
}

.doc-link-ul li
{
    background: url(../images/layout/doc-li-icon.png) no-repeat left center;
    padding-left: 15px;
    display: block;
    width: auto;
}

.doc-link-ul.no-bg  li
{
    background: none;
    padding-left: 0px;
}

.doc-link-ul li a
{
    text-decoration: none;
    color: #263238;
    font-weight: 600;
}

.doc-link-ul li a .no-bold
{
    font-weight: 400;
}

.doc-link-ul li a:hover
{
    color: #25aae1;
}

.search-client-left-column
{
    padding-left: 34px;
    background: #fff url(../images/layout/left-col-search-box-bg.png) no-repeat 10px center;
}

.admin-menu-container .fa-dashboard
{
    display: none;
}

#menu-admin_menu 
{
    margin: 15px 0 0 0;
    display: inline-block;
    padding: 0;
}

#menu-admin_menu li
{
    padding: 0 19px 0 0;
    background: url(../images/layout/main-menu-divider-bg.png) no-repeat right center;
    margin: 0 13px 0 0;
}

#menu-admin_menu #menu-home-li:before
{
    content: "\f0e4";
    color: #596e78;
    float: left;
    margin: -2px 10px 0 10px;
    line-height: 17px;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 20px;	
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;	
}

#menu-admin_menu li:last-child
{
    margin: 0;
    padding: 0;
    background: transparent;
}

.user-menu-user-box
{
    padding: 0px;
}

.layout-2-columns #content-column
{
    width: 80%;
    min-width: 80%;
    max-width: 80%;
    border-right: 1px solid #ebeef0;
}

.layout-wide #content-column
{
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border-right: none;
    padding: 0px;
    display: table-row;
}


.col-2
{
    width: 49%;
}

.col-1
{
    width: 100%;
}

.clients-add.col-1
{
    margin: 20px 0 0 0;
}

.clients-add.left
{
    margin: 0 2% 0 0;
}

.clients-add.right
{
    margin: 0;
}

.left
{
    float: left;
}

.right
{
    float: right;
}

.form-field-mid input, .form-field-mid select, #client-edit-addresses-legal select
{
    width: 50%;
}

.form-field-mid input.short-field
{
    width: 25%;
}


.form-field-50
{
    width: 49%;
    float: left;
    margin: 0!important;
}

.form-field-50:first-child
{
    margin-right: 2%!important;
}

#client-box 
{
    margin: 10px 0 0 0;
    color: #298ab3;
}

#form-field_paper-new-client
{
    margin-top: 5px!important;
    text-align: right;
}

#new-client-box 
{
    margin: 10px 0 0 0;
}

#new-client-box .form-field-error,
#post-add-dialog-form .form-field-error,
#activity-add-dialog-form .form-field-error
{
    margin: 0 0 10px 165px!important;
}

#post-add-dialog-form .form-field-textarea .form-field-error,
#activity-add-dialog-form .form-field-textarea .form-field-error
{
    margin-left: 0px!important;
}

#client-edit .form-field-mid label, .form-box-container label
{
    float: left;
    width: 160px;
    margin-top: 5px;
    color: #8ca0aa;
    font-weight: normal;
}

#client-user-login-info label
{
    float: left;
    width: 150px;
    color: #8ca0aa;
    font-weight: normal;
}

.form-field-mid .form-field-help, .form-field-mid .form-field-info,
.form-field-w-help .form-field-help, .form-field-w-info .form-field-info, #doc-add-edit .form-field-help 
{
    margin-left: 160px;
}

#client-edit .form-field
{
    display: inline-block;
    width: 100%;
}

#client-legal-zip_code
{
    width: 100px!important;
}

#client-discount_perc
{
    width: 70px!important;
}


#table-contacts, #table-bank_accounts
{
    margin: 0 0 10px 0;
}

.new-row
{
    background: #e4ebee;
}

.contacts-row .fa-question-circle
{
    color: #7c8f9d;
}



.th.headerSortUp 
{ 
    background-image: url(../images/icons/small_asc.gif); 
} 

.client-documents-box strong
{
    color: #658491;
}

#table-client-papers td .btn
{
    color: #25aae1;
    background: #fff;
    padding: 2px 4px;
    border: 1px solid #25aae1;
    line-height: 14px;
    white-space: nowrap;
}

#table-client-papers td .btn:hover
{
    background-color: #186687;
}

.clients-papers-edit_client
{
    margin-left: 5px;
}

.clients-papers-filters,
.clients-docs-filters
{
    margin: 0 0 10px 0;
}

#clients-papers-filters-form,
#clients-docs-filters-form
{
    margin: 10px 0 0 0;
}

.papers-download-pdf-button-box
{
    min-width: 160px;
}

.btn-paper-change-element,
#btn-paper-change-is_doc_completed
{
    margin: 0 0 0 5px;
    white-space: initial;
}

.btn-paper-add-invoice, .btn-paper-add-invoice:hover, .btn-paper-download-invoice, .btn-paper-download-invoice:hover,
.btn-paper-view-invoice, .btn-paper-view-invoice:hover
{
    padding: 2px;
    background-color: transparent;
    color: #25aae1;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.btn-paper-add-invoice .fa
{
    margin: 0;
}

.ui-widget-overlay
{
    background: #000000!important;
    background-image: none!important;
    opacity: .6!important;
    filter: Alpha(Opacity=60)!important;
}

.ui-widget-header
{
    background: #6ca1b8!important;
    color: #fff!important;
    font-size: 13px!important;
    font-weight: 600!important;
    border: none!important;
    border-radius: 0!important;
    font-family: Open sans, sans-serif!important;
}

.ui-draggable .ui-dialog-titlebar .ui-button
{
    border: none!important;
    background: #ffffff!important;
}

.ui-dialog .ui-dialog-title
{
    font-size: 14px;
    text-transform: uppercase;
}

.ui-dialog .ui-dialog-content
{
    font-family: Open sans, sans-serif!important;
    font-size: 13px;
}

.ui-button-text
{
    border-radius: 2px!important;
    background: #25aae1!important;
    color: #fff!important;
    font-size: 14px!important;
    line-height: 20px!important;
    text-transform: uppercase!important;
    padding: 7px 12px 6px 12px!important;
    text-decoration: none!important;
    display: inline-block!important;
    width: auto!important;
    font-weight: 600!important;
    white-space: nowrap!important;
    font-family: Open sans, sans-serif!important;
}

.ui-button-icon-only .ui-button-text
{
    background: transparent!important;
    padding: 3px!important;
}

.ui-button
{
    border: 0!important;
}

.paper-add-date-box
{
    min-width: 160px;    
}

#content-column .message
{
    margin: 10px auto;
}

.btn-paper-download-invoice, .btn-paper-download-invoice:hover, .btn-paper-view-invoice, .btn-paper-view-invoice:hover
{
    white-space: initial;
    text-transform: initial;
    position: relative;
    padding: 0 0 0 15px;
}

.btn-paper-download-invoice .fa,
.btn-paper-view-invoice .fa
{
    position: absolute;
    left: 1px;
}


.btn-paper-view-invoice, .btn-paper-view-invoice:hover
{
    padding-left: 0px;
    margin-right: 10px;
    display: inline-block;
}


.btn-paper-change-save, .btn-paper-change-undo
{
    position: relative;
    top: 4px;
}

.btn-paper-change-undo, .btn-paper-change-save
{
    color: #25aae1;
    background: #fff;
    padding: 4px 6px;
    border: 1px solid #25aae1;
    white-space: nowrap;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    line-height: 14px;   
    display: inline-block;
}

.btn-paper-change-undo:hover
{
    background-color: #186687;
    color: #fff;
}

.btn-paper-change-undo .fa, .btn-paper-change-save .fa
{
    font-size: 14px;
    margin: 0 5px 0 0;
}

.paper-add-date-box label[for="paper-add-date-box"]
{
    font-weight: 500;
    color: #7c8fa3;
    padding: 0;
    font-size: 13px;
    line-height: 15px;
}

.paper-add-date-box span
{
    font-weight: 600;
}

.paper-step-int p:last-child
{
    margin: 0;
}

.paper-step label
{
    color: #8ca0aa;
    width: 160px;
    display: inline-block;
    font-weight: normal;
}

.paper-step label.lb-autow
{
    width: auto;    
}

#new-client-box #form-field-has_company_name label.lb-checkbox
{
    width: 306px;
}

#new-client-box #form-field-has_company_name label.lb-checkbox:last-child
{
    margin-left: 163px;
}

#new-client-box label.lb-checkbox input
{
    width: auto;
    margin: 3px 3px 0px 0px;
}

#new-client-box .form-fieldset-int
{
    border: 1px solid #25aae1;
    padding: 10px;
}

#new-client-box input
{
    width: 50%;
}

.paper-step h3
{
    margin: 20px 0 10px 0;
}

.client-file-delete
{
    margin: 0 0 0 5px;
}

.client-file-item
{
    background: #e4ebee;
    padding: 5px;
}

input[type="radio"]
{
    width: auto;
}

td input[type="checkbox"]
{
    padding: 0;
    margin: 0 3px 0 0;
}

#content-column .form-field-error
{
    margin: 0 0 0 165px;
    font-size: 12px;
}

.invoice-paid, .invoice-paid strong
{
    color: #186687;
}

.invoice-to_paid, .invoice-to_paid strong
{
    color: #CE453E;
}

.invoice-to_refund, .invoice-to_refund strong
{
    color: #FF9800;
}

#clients-invoices-filters-form select,
#clients-search
{
    margin: 0 0 10px 0;
}

#payment-payment_date
{
    width: 160px;
    margin: 0 5px 0 0;
}

.ui-datepicker th
{
    padding: 7px 5px!important;
    background: #4d788a!important;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
{
    background: #c9edfb!important;
    color: #335461!important;
    background-image: none!important;
    border: none!important;
    padding: 4px;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight
{
    border: 1px solid #25aae1!important;
    color: #25aae1!important;
    background: #fff!important;
    background-image: none!important;
}

.ui-datepicker tr
{
    border: none;
    background: transparent;
}

#payment-add-dialog-form label, #payment-edit-dialog-form label,
#invoice-complete-dialog-form label
{
    display: inline-block;
    width: 150px;
    margin: 0 5px 0 0;
}

table#invoice-payments-table 
{
    margin: 0 0 10px 0;
}

#invoice-complete-dialog-form label
{
    vertical-align: top;
}

#payment-add-dialog-form .field-payments, #payment-edit-dialog-form .field-payments
{
    width: 100px;
}

#invoice-complete-dialog-form input[type=text],
#invoice-complete-dialog-form textarea
{
    width: 300px;
}

#invoice-complete-dialog-form .form-field-help
{
    margin-left: 155px;
}

#payment-add-dialog-form .select-payments_type, #payment_edit-payment_date,
#invoice-complete-dialog-form select,
#payment-edit-dialog-form .select-payments_type
{
    width: 160px;
    margin: 0 5px 0 0;
}

#invoice-complete-dialog-form select
{
    width: 300px;
}

#payment-add-dialog-form form, #payment-edit-dialog-form form, #invoice-complete-dialog-form form
{
    margin: 0;
    padding: 0;
}

.ui-dialog .ui-dialog-buttonpane
{
    margin: 0;
    padding: 0;
    border: none;
}

.ui-dialog .ui-dialog-buttonpane button
{
    background: transparent!important;
    margin: 0 0 0 5px!important;
}

#content-column #paper-add-pr .form-field-error, #content-column #paper-add-cl .form-field-error,
#calendar-set_calendar .form-field-error
{
    margin: 0;
}

#client-edit .form-field.hidden
{
    display: none;
}

#clients-search-result
{
    margin-top: 20px;
    display: none;
}

#clients-search-result h2
{
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    border-bottom: 2px solid #d7dfe3;
    padding: 15px 0px 10px 0px;
}

#clients-search-result-ul a
{
    text-decoration: none;
    color: #263238;
}

#clients-search-result-ul a:hover
{
    color: #2394C4;
}

#btn-paper-new-charge,
#btn-paper-new-model
{
    margin-top: 9px;
}

.paper-charges-field .delete-charge,
.paper-models-field .delete-model
{
    margin-left: 15px;
}

.charge-edit-form-submit .form-field-info
{
    margin-bottom: 9px;
}

#paper_id-search,
#client_id-search
{
    padding-top: 8px;
    padding-bottom: 8px;
    height: 32px;
    margin: 0 0 0 5px;
}


.form-field-50 #paper_id-search,
#client_id-search
{
    margin-left: 0px;
}

#model-files-list p
{
    margin-bottom: 9px;
}

#paper-models p
{
    display: block;
    border-bottom: 1px solid #d2dce1;
    padding: 6px 0px;
}

#paper-models a
{
    text-decoration: none;
    color: #263238;
    font-weight: 600; 
}

#paper-models a:hover
{
    color: #2394C4;
}


#paper-models a .fa
{
    margin-right: 5px;
}


#edit-delete-actions
{
    margin-bottom: 15px;
}

.client-communication
{
    border-bottom: 1px solid #dce2e5;
    background: #fff;
    padding: 10px;
    border: 1px solid #ced9de;
    border-radius: 3px;
    margin: 6px 0;
}

.client-communication:last-child
{
    margin: 0;
}

.yes-no, .paper-paid
{
    font-weight: bold;
}

.yes-no.yes, .paper-paid.paid
{
    color: #186687;
}

.yes-no.no, .paper-paid.not-paid
{
    color: #CE453E;
}

.paper-paid.partially-paid
{
    color: #FF9800;
}

.paper-paid .fa
{
    margin-left: 5px;
}

.paper-paid.zero
{
    color: transparent;
}

#comunications-list-container,
#logs-list-container
{
    margin: 20px 0 0 0;
}

.box-title
{
    font-size: 18px;
    border-bottom: 1px solid #abbbc3;
    margin: 0 0 15px 0;
    font-weight: 600;
    line-height: 18px;
    padding: 0 0 6px 0;
}

.column-boxes-separator 
{
    width: 100%;
    padding: 0 25px;
    height: 2px;
    background: #fff;
    position: relative;
    left: -25px;
    margin: 0 0 15px 0;
}

#client-communications-list-int
{
    margin: 0 0 15px 0;
}

#client-communication-box
{
    background: #f8fbfc;
    padding: 10px;
    border: 1px solid #ced9de;
    border-radius: 3px;
    margin: 15px 0 0 0;
}

#client-communication-sender_id,
.client-communication-sender_id,
#client-communication-client_id
{
    width: 200px;
    margin: 0 0 10px 0;
}

.comunications-btn-box
{
    margin: 15px 0 0 0;
}

#client-communication-add-reset
{
    float: right;
    color: #fff;
}

#client-communication-add-submit
{
    float: right;
    margin: 0 5px 0 0;
    color: #fff;
}

#client-communication-add-box form
{
    padding: 0;
}

.client-communication.client-communication-user 
{
    text-align: right;
}

.client-communication.client-communication-client 
{
    text-align: left;
}

.client-communication.client-communication-user  .client-communication-edit-form,
.client-communication.client-communication-user  .editable
{
    text-align: left;   
}

.client-communication-sender_email
{
    margin-bottom: 0px;
}

.client-communication-subject
{
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    margin-top: 20px;
}

.client-comunication-time
{
    font-size: 16px;
    font-weight: 600;
    margin: 0 20px 0 0;
    font-style: italic;
    color: #25aae1;
}

.client-comunication-name
{
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    color: #25aae1;
}

.client-comunication-thumb
{
    width: 48px;
    height: 52px;
    border-radius: 3px;
    display: inline-block;
    border: 1px solid #e9eaea;
}

.client-comunication-message
{
    display: table;
    width: 100%;
}

.client-comunication-management-actions
{
    margin-top: 20px;
    text-align: right;
}

.client-thumb-box
{
    display: table-cell;
    vertical-align:top;
    width: 52px;
    padding: 0 10px 0 0;
}

.user.client-thumb-box
{
    padding: 0 0 0 10px;
}

.client-text-box
{
    display: table-cell;
    vertical-align:top;
    width: 100%;
    padding: 0;    
}

.client-communication.client-communication-client .client-comunication-thumb,
.post-single .client-comunication-thumb
{
    background: url(../images/layout/ico-client.png) no-repeat center center;
}

.client-communication.client-communication-client .user.client-thumb-box
{
    display: none;
}

.client-communication.client-communication-user .client.client-thumb-box
{
    display: none;
}

.client-communication.client-communication-user .client-comunication-thumb
{
    background: url(../images/layout/ico-user.png) no-repeat center center;
}

#client-communications-list .client-file-item
{
    background: transparent;
}

#client-communications-list .fileinput-button
{
    width: 50px;
    padding: 7px 0;
    text-align: center;
}

#client-communications-list .btn .fa
{
    float: none;
    margin: 0;
}


.client-communication.client-communication-user .fileinput-button
{
    float: right;
    margin-left: 10px;
}

.client-communication.client-communication-user .client-communication-files-list files
{
    float: right;
}

.client-communication.client-communication-client .fileinput-button,
.client-communication.client-communication-user .editable .fileinput-button
{
    float: left;
    margin-right: 10px;
    margin-left: 0px;
}

.client-communication.client-communication-client .client-communication-files-list files,
.client-communication.client-communication-user .editable .client-communication-files-list files
{
    float: left;
}

.client-communication-email .client-communication-files-list
{
    margin-top: 20px;
    margin-left: 62px;
}

.btn-new.btn-new-communication
{
    margin: 0 10px 10px 0;
}



#client-communications-list .client-file-item
{
    display: inline-block;
    padding:0;
}

.client-file-item a
{
    text-decoration: none;
}

.client-communication-files-list.files p,
#post-file-list p
{
    border: 1px solid #e4ebee;
    padding: 5px 10px;
    margin: 10px 0 15px 0;
}

#client-communications-list .client-communication.client-communication-client .client-file-item
{
    margin-right: 10px;
}

#client-communications-list .client-communication.client-communication-user .client-file-item
{
    margin-left: 10px;
}

.client-communication-edit-btns
{
    margin-top: 10px;
    text-align: right;
    display: none;
}

#client-communications-list .client-communication-edit-btns .fa
{
    font-size: 18px;
    float: left;
    margin: 0 7px 0 0;    
}

.client-contacts-container 
{
    border-bottom: 1px solid #dce2e5;
    background: #fff;
    padding: 0;
    border: 1px solid #ced9de;
    border-radius: 3px;
    margin: 15px 0 0 0;
}

.client-contacts-box-title
{
    text-align: left;
    padding: 10px 5px 8px 10px;
    border-bottom: 2px solid #d7dfe3;
}

.client-contacts-box-title h2
{
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.client-contacts-box-body-container 
{
    padding: 10px;
}

.client-contacts-box-body-container h3
{
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    color: #658491;
    text-decoration: underline;
}

.client-contatcs-company-contacts-box, .client-contatcs-other-contacts-box
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.client-contatcs-company-contacts-box .li-label, .client-contatcs-other-contacts-box .li-label
{
    color: initial;
    font-weight: 600;
}

.client-contatcs-company-contacts-box li, .client-contatcs-other-contacts-box li
{
    padding: 6px 0;
    margin: 0;
    border-bottom: 1px solid #d2dce1;
    display: table;
    width: 100%;
    line-height: 14px;
}

.right-float
{
    float: right;
}

.left-float
{
    float: left;
}

.text-right-align
{
    text-align: right;
}

.text-left-align
{
    text-align: left;
}

.client-contatcs-company-contacts-box
{
    margin: 0 0 20px 0;
}

.contact-icon 
{
    border-radius: 30px;
    padding: 3px;
    border: 1px solid #d2dce1;
    width: 13px;
    height: 13px;
    text-align: center;
    margin: 0 0 0 10px;
}

.contact-title
{
    line-height: 20px;
    font-style: italic;
}

.contact-icon .fa
{
    color: #8a959b;
}

.ui-datepicker-trigger
{
    background: transparent;
    border-width: 0px;
    outline: none;
}

.table-client-logs tr
{
    border-left-width: 0px;
}

.table-client-logs td p:last-child
{
    margin-bottom: 0px;
}

.client-log
{
    margin-bottom: 25px;    
}

.client-log-detail
{
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.table-client-logs thead tr
{
    border-top: 0px;
}

.table-client-logs th.td-transparent
{
    background-color: #fff; 
}


#right-column .table-client-logs th.td-transparent
{
    background-color: #e4ebee;
}

input.clients-docs-filters.datepicker
{
    width: 75px;
}

.calendar-a
{
    margin: 0 0 0 10px;
}

#clients-docs-filters-form
{
    font-size: 12px;
    font-weight: bold;
}

#clients-docs-filters-form .ui-datepicker-trigger
{
    padding-right: 0;
    position: relative;
    top: -2px;
}

#clients-docs-filters-form .calendar-pretext
{
    position: relative;
    top: -2px;
}

.ui-datepicker-calendar .ui-state-active
{
    background-color: #6ca1b8!important;
    color: #fff!important;
}

#stats-avg
{
    background-color: #f8fbfc;
    padding: 10px;
    text-align: center;
}

#stats-avg-big-number
{
    font-size: 32px;
    font-weight: 600;
    margin: 10px 0px;
}

#stats-avg-interval-unit
{
    font-size: 16px;
    margin: 10px 0px;    
}

.chart-legend
{
    margin-bottom: 20px; 
    text-align: center;
}

.chart-legend li
{
    list-style-type: none;
}

.chart-legend li span
{
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 5px;
}

#stats-info
{
    padding: 10px;
}

#dashboard-bonus-value
{
    text-align: center;
    font-size: 24px;
}

.ui-widget #client-communication-add-dialog-form 
{
    text-align: center;
}

.ui-widget #client-communication-add-dialog-form .btn-new.btn-new-communication
{
    color: #fff;
    border: none;
}

.ui-widget #client-communication-add-dialog-form .btn-new.btn-new-communication[data-type="user"]
{
    margin: 0;
}

.ui-widget #client-communication-add-dialog-form #client-communication-box
{
    text-align: left;
}

.ui-widget #client-doc-add-dialog-form, .ui-widget #client-email-add-dialog-form,
.ui-widget #post-add-dialog-form,
.ui-widget #activity-add-dialog-form
{
    background: #f8fbfc;
    padding: 10px;
    border: 1px solid #ced9de;
    border-radius: 3px;
    margin: 15px;
}

.ui-widget #client-doc-add-dialog-form label,
.ui-widget #post-add-dialog-form label,
.ui-widget #activity-add-dialog-form label
{
    color: #8ca0aa;
    width: 160px;
    display: inline-block;
}

.ui-widget #client-doc-add-dialog-form input, .ui-widget #client-doc-add-dialog-form select, .ui-widget #client-email-add-dialog-form select, .ui-widget #client-email-add-dialog-form input[type="text"],
.ui-widget #post-add-dialog-form select,
.ui-widget #activity-add-dialog-form select
{
    width: 200px;
}

.ui-widget #post-add-dialog-form input,
.ui-widget #activity-add-dialog-form input
{
    width: 374px;
}

.ui-widget #client-email-add-dialog-form select, .ui-widget #client-email-add-dialog-form input[type="text"]
{
    margin: 0 0 5px 0;
}

.form-box-container
{
    background-color: #f7fbfc;
    border: 1px solid #f2f3f5;
    padding: 10px;
}

#doc-add-edit .form-field-help,
#post-add .form-field-help
{
    margin: 5px 0 0 160px!important;
}

#doc-add-edit
{
    padding: 0;
}

#doc-add-edit .form-submit
{
    margin: 0;
}

.clients-add.col-2.left .form-box-container
{
    display: none;
}

.ui-widget-content .btn
{
    color: #fff!important;
    width: auto!important;
}

.ui-widget-content #client-email-add-submit
{
    float: right;
}

.ui-widget-content #client-email-add-reset
{
    float: left;
}

.ui-widget-content #client-email-recipient-box
{
    display: inline-block;
    width: 100%;
}

.ui-widget-content #client-email-sender_id-box
{
    float: right;
}

.ui-widget-content #client-email-add-reset
{
    float: left;
}

.ui-widget-content .client-communication-communication-box
{
    margin: 10px 0 0 0;
}

.ui-dialog .ui-dialog-content
{
    padding: 15px!important;
}

.dashboard-column .client-documents-box
{
    margin: 10px 0;
}

.dashboard-column .btn-new
{
    margin-bottom: 5px;
}

.dashboard-column
{
    border-left: 1px solid #ebeef0;
    border-bottom: 1px solid #ebeef0;
}

#comunications-list-container .client-communication.client-communication-email
{
    padding-top: 20px;
    background: #fff url(../images/layout/email-bg.png) repeat-x -11px 1px;
}

#table-client-docs
{
    table-layout: fixed;
}

#table-client-docs th:nth-child(6), #table-client-docs td:nth-child(6)
{
    width: 14%;
}

#table-client-docs th:nth-child(1), #table-client-docs td:nth-child(1)
{
    width: 20%;
    word-wrap: break-word;
}

#table-client-docs th:nth-child(2), #table-client-docs td:nth-child(2)
{
    width: 14%;
}

#table-client-docs th:nth-child(3), #table-client-docs td:nth-child(3)
{
    width: 14%;
}

#table-client-docs th:nth-child(4), #table-client-docs td:nth-child(4)
{
    width: 14%;
}

#table-client-docs th:nth-child(5), #table-client-docs td:nth-child(5)
{
    width: 53px;
}

#table-client-docs th:nth-child(7), #table-client-docs td:nth-child(7)
{
    width:100px;
}

#table-client-docs th:nth-child(8), #table-client-docs td:nth-child(8)
{
    width: 85px;
    text-align: right;
}

#table-client-docs th:nth-child(9), #table-client-docs td:nth-child(9)
{
    width: 42px;
    text-align: right;
}
#table-contacts .form-field-error, #table-bank_accounts .form-field-error
{
    margin: 5px 0 0 0!important;
}

#table-client-invoices, #table-client-invoices
{
    table-layout: fixed;
}

#left-column .box-title
{
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #556f7b;
}

.stats-left-column-ul
{
    margin: 0 0 20px 0;
    padding: 0;
    list-style-type: none;
}

.stats-left-column-ul li
{
    padding: 0 0 8px 0;
    margin: 0 0 8px 0;
    border-bottom: 1px solid #ced9de;
}

.stats-left-column-ul li a
{
    color: #276179;
    text-decoration: none;
    padding: 0 0 0 15px;
    background: url(../images/layout/doc-li-icon.png) no-repeat left center;
    display: inline-block;
    width: 93%;
    line-height: 14px;
}

#stats-info .fa-question-circle
{
    float: left;
    margin: 10px;
}

#stats-filters-form select
{
    width: 40%;
    margin: 0 2% 0 0;
    float: left;
}

#stats-filters-form select:last-child
{
    margin: 0;
}

#stats-filters-form input[type="text"]
{
    width: 100px;
}

.stats-search-container
{
    padding: 10px;
    background: #f5f9fb;
    border-radius: 2px;
    margin: 0 0 20px 0;
}

.stats-search-right-column {
    margin: 15px 0 0 0;
    text-align: right;
}

.stats-search-calendar-div
{
    display: inline-block;
    width: 100%;
    margin: 10px 0 0 0;
}

.stats-a-span
{
    margin: 0 0 0 10px;
}

#client-paper-suspension-reason textarea
{
    margin-top: 5px;
}

#client-paper-status-suspension_reason
{
    display: block;
    font-weight: normal;
}

#client-paper-status-suspension_reason span
{
    display: inline-block;
    margin-top: 10px;
    margin-right: 5px;
    font-weight: 600;
}

#client-paper-is_free-cont label
{
    color: #263238;
}

#client-paper-is_free_reason-cont
{
    margin-bottom: 10px!important;
}

#client-paper-is_free_reason-cont .form-field-error
{
    margin-left: 0px;
}


#dialog-pdf-loader
{
    text-align: center;
    background-color: #e4ebee;
    padding: 5px;
    margin-top: 20px;
    display: none;
}

#dialog-pdf-loader .fa
{
    color: #25aae1;
    margin-right: 5px;
}

#client-paper-discount_perc, #client-paper-discount_value
{
    width: 50px;
}


#datepicker-client-update_invoices-date_from,
#datepicker-bonus-update_bonuses-date_from
{
    width: 100px;
}

#btn-bonus-pay
{
    margin: 00px 5px 8px 10px;
}

/* Emails */
.client-box-ul li.email-attachment, #email-view-datetime,
#email-view-body
{
    border-bottom: none;
}


#email-view-datetime
{
    text-align: right;
    color: #8ca0aa;
    margin-bottom: 10px;
}

#email-view-body
{
    padding: 20px 0px;
}

#email-view-in_blacklist
{
    margin-left: 10px;
}

#email-attachments
{
    padding: 0px;
    margin: 0px;
}

#table-client-invoices-calendar
{
    margin-bottom: 30px;
}

#table-client-invoices-calendar th
{
    text-align: center;
    background-color: #fff;
    color: #000;
    border: 1px solid #d7dfe3;
}

#table-client-invoices-calendar td
{
    text-align: right;
    width: 8.33%;
    background-color: #fff;
    vertical-align: top;
    border: 1px solid #d7dfe3;
}

#table-client-invoices-calendar p
{
    margin-bottom: 0px;
}

#table-client-invoices-calendar p.client-invoices-calendar-num
{
    text-align: center;
    color: #8ca0aa;
    margin-bottom: 10px;
}

.client-invoices-calendar-total
{
    font-size: 14px;
    color: #186687;
    font-weight: bold;
}

#table-client-invoices-calendar .client-invoices-calendar-selected
{
    background-color: #e5f1f6;
    border-bottom-color: #25aae1;
    border-bottom-width: 2px;
}

#client-invoices-calendar-navigator 
{
    position: relative;
}

#client-invoices-calendar-navigator a
{
    text-decoration: none;
    margin-right: 10px;
}

#client-invoices-calendar-navigator strong
{
    margin-right: 10px;
}

#client-invoices-calendar-total
{
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 0px;
}

#client-invoices-calendar-total
{
    color: #263238;
}


.calendar-event
{
    display: block;
    margin-bottom: 5px;
    padding: 7px;
    background-color: #e5f1f6;
}

.calendar-day-num
{
    margin-bottom: 15px;
    display: block;
}

#dashboard-calendar .calendar-day-num
{
    margin-bottom: 0px;
}

.calendar-event-time
{
    color: #658491;
    display: block;
}

#calendar-table
{
    border-bottom: 1px solid #d7dfe3;
    margin-top: 10px;
}

#calendar-table tr:nth-child(2n+2)
{
    background-color: #ffffff;
}

#calendar-table td
{
    vertical-align: top;
    width: 14.28%;
    padding: 8px 0px;
}

#calendar-table td.day-header
{
    padding-left: 8px;
    padding-right: 8px;    
}


#calendar-table tr
{
    border-bottom-width: 0px;
}

#calendar-table tr.calendar-week
{
    border-top: 1px solid #d7dfe3; 
}

#calendar-table tr.calendar-empty-row td
{
    height: 20px;
}

#calendar-table tr.calendar-row td
{
    min-height: 20px;
}

#dashboard-calendar #calendar-table tr.calendar-empty-row td
{
    height: 20px;
}


.calendar-event-actions
{
    display: block;
    text-align: right;
}

.calendar-event a
{
    cursor: pointer;
}

.calendar-event a.calendar-event-view,
.calendar-event a.calendar-activity-view
{
    font-weight: normal;
    display: block;
}

.calendar-event-actions a.calendar-event-view
{
    display: inline;
}

.calendar-day.disabled
{
    opacity: 1;
}

.calendar-day.disabled.day-header
{
    opacity: 0.3;
}

.invisible
{
    opacity: 0;
}

.calendar-tooltip
{
    display: none;
}


.qtip
{
    font-family: Open Sans, sans-serif;
    font-size: 12px!important;
    line-height: 1.5em;
}

.qtip-content
{
    padding: 10px!important;
}

.qtip-default
{
    border-width: 1px;
    border-style: solid;
    border-color: #d7dfe3!important;
    background-color: #ffffff!important;
    color: #263238!important;
}

.calendar-event-actions a
{
    margin-left: 10px;
}

.calendar-tooltip-title
{
    font-size: 13px!important;
    margin-bottom: 5px;
    font-weight: 600;
}

.calendar-tooltip-dates
{
    color: #8ca0aa!important;
}

.ui-front
{
    z-index: 18000!important;
}

input.calendar-event_dates
{
    width: 90px;    
}

input.calendar-event_times
{
    width: 55px;
}

.calendar-event_times-cont
{
    margin-left: 10px;
    color: #8ca0aa;
}

#page-header.page-header-calendar
{
    display: flex;
}

#page-header-title, #page-header-actions
{
    flex-grow: 1;
}

#page-header-actions 
{
    text-align: right;
}

#page-header.page-header-calendar h1,
#page-header.page-header-calendar h2
{
    display: inline-block;
    margin-bottom: 0px;
    position: relative;
    top: 3px;
    margin-right: 10px;
}

.calendar-event-edit,
.calendar-event-delete
{
    cursor: pointer;
}

#dashboard-calendar .btn,
#dashboard-posts .btn,
#dashboard-activities .btn
{
    background: #6ca1b8;
}

#dashboard-calendar #page-header-title h2,
#dashboard-posts #page-header-title h2,
#dashboard-activities #page-header-title h2
{
    color: #6ca1b8;
}

.post-single-header
{
    display: flex;
    align-items: center;
}

.post-single-header .client-thumb-box
{
    width: 40px;   
    flex-grow: 0;
}


.post-single-names
{
    flex-grow: 1;
}

.post-single-date,
.post-comment-date,
/*.activity-single-date,*/
.activity-single-deadline,
.activity-note-date
{
    color: #8ca0aa;
}



.post-single .client-comunication-thumb
{
    width: 36px;
    height: 40px;
}


.post-single,
.activity-single
{
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f4f5;
}

.post-single-subject
{
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    padding-right: 20px;
    color: #25aae1;
}

.post-single-user,
.post-comment-user,
.activity-note-user
{
    color: #263238;
    font-weight: 600;
}

.post-single-category
{
    flex-grow: 1;  
    text-align: right;    
    color: #263238;
    font-weight: 600;
}

.post-single-content
{
    margin-top: 10px;
}

.post-single-subject,
.post-single-content,
.post-single-files
{
    padding-left: 50px;
}

.post-single-comments
{
    padding-top: 20px;
    padding-left: 70px;
}

.post-single-files,
.activity-note-files
{
    margin-top: 10px;
    margin-bottom: 20px;
}

.post-single-files p,
.activity-note-files p
{
    margin-bottom: 5px;
}

#posts-list-int,
#activities-list-int
{
    height: 300px;
    overflow: auto;
    overflow-y: scroll;
    padding-right: 20px;
}

.post-comment-single,
.activity-note-single
{
    border-bottom: 1px solid #f1f4f5;
    padding: 10px 0px;
}

.post-comment-single p,
.activity-note-single p
{
    margin-bottom: 0px;
}

.post-comment-content,
.activity-note-content
{
    margin-top: 5px;
}

.post-single-comments-submit
{
    margin-top: 5px;
    text-align: right;
}

#content-column  .post-single-comments-add .form-field-error
{
    margin-left: 0px;
}

.post-comment-single
{
    position: relative;
}

.btn-post-delete_comment
{
    position: absolute;
    top: 10px;
    right: 0px;
}

.btn-post-delete_post
{
    margin-left: 10px;
}

.progress 
{
    height: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    background-color: transparent;
    margin-top: 10px;
    display: none;
}

.progress-bar 
{
    width: 0;
    height: 100%;
    background-color: #25aae1;
}

#post-progress
{
    margin-left: 163px;
}

.print
{
    display: none;
}

.activity-view,
.activity-view:hover,
.activity-view:visited
{
    color: #263238;
    text-decoration: none;
}

.activity-single-buttons
{
    display: flex;
    justify-content: space-between;
}

.activity-single-buttons .btn
{
    margin-bottom: 0px;
}

.activity-single-content
{
    margin-top: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.activity-single-status-tag
{
    border-radius: 2px;
    padding: 1px 5px;
    display: inline-block;
    margin-left: 5px;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
}

.activity-single-content.opened,
.activity-single-status-tag.opened
{
    background-color: rgb(206, 69, 62);
    color: #fff;
}

.activity-single-content.suspended,
.activity-single-status-tag.suspended
{
    background-color: #e4ebee;
}

.activity-single-content.closed,
.activity-single-status-tag.closed
{
    background-color: rgb(169, 214, 115);

}

.activity-single-header
{
    display: flex;
}

.activity-single-info,
.activity-single-priority
{
    flex-grow: 1;
}

.activity-single-priority
{
    vertical-align: baseline;
    color: #6ca1b8;
    font-size: 16px;
    text-align: right;
}


.activity-single-priority .fa
{
    margin-left: 3px;
}

.activity-single:first-child
{
    margin-top: 10px;
}

.form-field-flex
{
    display: flex;
}

.form-field-flex div
{
    flex-grow: 1;
}


.form-field-flex div:last-child
{
    text-align: right;
}

.ui-widget #activity-add-dialog-form input.datepicker
{
    width: 100px;
}

#activity-add-dialog-form  .form-field
{
    clear: both;
    float: none
}

.ui-widget #activity-add-dialog-form label.lb-inline
{
    display: inline;
    width: auto;
}

.ui-widget #activity-add-dialog-form input#activity-add_to_calendar
{
    width: auto;
    margin-left: 10px;
    position: relative;
    top: 5px;
}

.activity-single-deadline .fa
{
    margin-right: 5px;
}

.activity-single-deadline .date,
.activity-single-user
{
    color: #263238;
    font-weight: 700;
}

.activity-view
{
    outline: none;
}

.activity-single-notes
{
    margin-top: 30px;
}

.activity-single-notes h2
{
    font-size: 14px;
    line-height: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 2px solid #d7dfe3;
}

.activity-note-user
{
    text-align: right;
}

.activity-note-files
{
    margin-bottom: 10px;
}    

.ui-widget-content .activity-note-files a
{
    color: #2394C4;   
    outline: none;
}

.ui-widget-content .activity-note-files a:hover 
{
    color: #186687;
    text-decoration: none;
}

.activity-single-notes-int
{
    max-height: 200px;
    overflow-y: auto;
    padding: 5px 5px 5px 0px;
}

.activity-single-notes-int.no-scroll
{
    overflow: none;
    max-height: none;
}

.activity-single
{
    border-bottom-width: 0px;
}

.activity-note-single:first-child
{
    padding-top: 5px;
}

.activity-view
{
    display: block;
    padding: 10px;
    margin-bottom: 10px;
}

.activity-view.opened
{
    background-color: rgba(206, 69, 62, 0.3);
}

.activity-view.closed
{
    background-color: rgba(169, 214, 115, 0.5);
}

#client_papers_num
{
    font-size: 18px;
    color: #999999;
}

.row
{
    display:flex;
    box-sizing:border-box;
}

.col_2
{
    width:50%;
}