@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900');


body.loading .modal 
{
    display: block;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.55);
}

#modal-loading {
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-loading p {
    font-size: 20pt;
    color: #005f9c;
}

#modal-loading p i {
    margin-right: 10pt;
}

.detail-box-premium_option,
.detail-box-premium_option-header
{
    display: block;
    box-sizing: border-box;
    width: 100%;
}

.details-box-column
{
    display: table;
    position: relative;
    width: 100%;
    table-layout: fixed;
    margin: 0 0 5px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.detail-box-row-mid
{
    margin: 0 0 5px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.quote-view-turnovers
{
    text-align: right;
}


.detail-box-label.group-label
{
    display: none;
}

#policy-maximum_coverage_value_manual,
#policy-maximum_coverage_loss_event_value,
#policy-endorsement_increment
{
    width: 50%;
}


@media (min-width: 1041px)
{
   .details-box-inline-parent
   {
       border-bottom: 1px solid #f5f5f5;
   }
   .details-box-inline-parent:last-child
   {
       border-bottom: none;
   }

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

    /*.user-menu-container
    {
        float: right;
        display: inline-block;
        margin: 0px;
    }


    #menu-top_menu li:last-child
    {
        padding-right: 0px;
    }*/


    .quote-view-turnovers
    {
        text-align: right;
        padding-right: 40%;
    }

    #policy-maximum_coverage_value_manual,
    #policy-maximum_coverage_loss_event_value,
    #policy-endorsement_increment
    {
        width: 30%;
    }
}


@media (min-width: 240px) and (max-width: 1040px)
{
    /*.user-menu-container
    {
        margin: 0;
        display: block;
        margin-top: 20px;
        width: 100%;
    }*/

    .detail-box-records
    {
        display:block!important;
    }

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

     #right-column
     {
         display: none;
     }

     #content-table
     {
         width: 1007px;
     }

     .table-admin .last-column
     {
         padding: 8px!important;
     }

     #left-column
     {
         width: 200px!important;
     }

     td.td-policy-intermediary, td.td-intermediary, td.td-status
     {
         word-break: break-word!important;
     }

     .filters-row .btn
     {
             width: 47px!important;
     }

     .table-admin a.btn
     {
         padding: 3px!important;
     }

     th, td
     {
         padding: 8px 0 8px 10px!important;
     }

     .table-admin th a
     {
             padding: 0 0 0 5px;
     }

     .communication-add-contact
    {
        width: 60%;
    }
}

@media (min-width: 240px) and (max-width: 1440px)
{

    #right-column
     {
         display: none;
     }

    .box-commissioni .detail-box-records.col-empty
    {
        /*width: 270px!important;*/
    }
}

@media (min-width: 1041px)
{
    .detail-box-premium_option-header
    {
        display: none;
    }

    .detail-box-premium_option
    {
        width: 50%;
        float: left;
        padding: 0 20px 0 0;
    }

    .detail-box-label.md
    {
        display: table-cell;
    }


    .detail-box-premium_option:nth-child(odd)
    {
        padding: 0px;
    }

    .details-box-column
    {
        width: 50%;
        float: left;
        border-bottom-width: 0px;
    }
}

@media (min-width: 1600px)
{
    .detail-box-premium_option
    {
        width: 20%;
    }

    .detail-box-premium_option.wide
    {
        width: 70%;
    }

    .detail-box-premium_option h4
    {
        padding-bottom: 5px;
        border-bottom: 1px solid #d8d8d8;
        color: #fff;
    }

    .detail-box-premium_option.wide h4
    {
        color: #5d5d5d;
    }

    .md2
    {
        display: none;
    }

    .detail-box-premium_option-header
    {
        float: left;
        display: block;
        width: 20%;
    }

    .extensions-groups
    {
        display: block;
        width: 80%;
        float: left;
    }

    .detail-box-premium_option-header.wide
    {
        width: 30%;
    }

    .detail-box-premium_option,
    .detail-box-premium_option:nth-child(odd)
    {
        padding-right: 10px;
    }

    .detail-box-premium_option:nth-child(5)
    {
        padding-right: 0px;
    }

    .detail-box-label.md
    {
        /*visibility: hidden;*/
        display: none
    }

    .details-box-column
    {
        width: 33.33%;
    }

    .details-box-row.border-blue-row
    {
        border-bottom-color: #005f9c;
    }
}


.detail-box-premium_option-header.wide
{
    display: none;
}

.detail-box-premium_option.wide
{
    width: 100%;
    float: none;
}

.wide .detail-box-label.md {
    display: table-cell;
}

/*
.detail-box-premium_option h4
{
    padding-bottom: 5px;
    border-bottom: 1px solid #d8d8d8;
}
    */


@media (min-width: 1700px)
{
    .md2
    {
        display: inline;
    }
}





.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
----------------------------------*/
html, body
{
    width: 100%;
    min-height: 100%;
}

html
{
    display: flex;
}

body {
    color: #5d5d5d;
    font-family: Lato, sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    background: #3a3939;
    flex-grow: 1;
}


/* 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;
    color: #c3e7ff;
    font-weight: 300;
}

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


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

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

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

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

.disabled-element
{
        color: #999999;
}

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

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

a
{
    color: #4293c8;
    text-decoration: none;
}

a:hover
{
    color: #4293c8;
    text-decoration: underline;
}


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

#wrapper
{
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: flex-start; /* align items in Main Axis */
    align-items: stretch; /* align items in Cross Axis */
    align-content: stretch; /* Extra space in Cross Axis */
}

#content-table
{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex: 1;
    margin: 0px;
    border-bottom: 10px solid #3a3939;
}

#left-column
{
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    padding: 0;
    background: #222222;
    color: #fff;
    flex-grow: 0;
}

#content-column
{
    flex-grow: 1;
    background: #f5f5f5;
    padding: 0 25px 25px 25px;
    background: #f5f5f5;
}

#right-column
{
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    padding: 0;
    background: #005f9c;
    flex: 0;
    color: #fff;
    position: relative;
    /*display: table-cell;
    vertical-align: top;
    color: #fff;
    min-height: 700px;*/
}

#right-column-logo
{
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

#right-column-logo a
{
    display: inline-block;
}

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

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

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

#header
{
        margin: 0px;
        padding: 17px 40px;
        background: #fff;
}

#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 #d8d8d8;
    padding: 5px;
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
}

table input, table select, table textarea
{
    border: 1px solid #e7e7e7;
    background: #fff;
}

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;
}

.lb-disabled
{
    opacity: 0.75;
}


.veryshort-field
{
    width:10%;
}

.short-field
{
    width: 25%;
}

.medium-field
{
    width: 50%;
}

.long-field
{
    width: 75%;
}

.turnover-long-field
{
    width: 65%; 
}

.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: 1px;
    background: #0f669e;
    color: #fff;
    font-size: 15px;
    line-height: 15px;
    padding: 11px 16px 10px 16px;
    text-decoration: none;
    display: inline-block;
    width: auto;
    font-weight: normal;
    white-space: nowrap;
    border: none;
}

.fa-times,
.fa-remove
{
    color: #d54a4a;
}

.fa-check
{
    color: #71cb5c;
}

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

.btn:hover
{
    cursor: pointer;
    text-decoration: none;
}


.btn-icon:hover
{
    text-decoration: none;
}


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 8px 0;
}

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

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

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

.btn-alternate
{
    background-color: #65a7d2;
    color: #fff;
}

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

.btn-dark
{
    background-color: #222222;
    color: #fff;
}

.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;
}

.btn-dark:active, .btn-dark:hover
{
    background-color: #191919;
    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: 5px 10px;
    line-height: 16px;
}

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

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

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

.message-info
{
    background-color: #e7e7e7;
}

.message-alert a
{
    color: #222!important;
    text-decoration: underline!important;
}

.message p:last-child
{
    margin-bottom: 0px;
}

.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;
    font-size: 14px;
    padding: 8px 10px;
    text-align: left;
    vertical-align: middle;
}

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

tr
{
    border-bottom: 1px solid transparent;
    background: #fdfdfd;
}

form .pagination:nth-child(1)
{
    display: none;
}

.table-admin tr td:nth-child(1) a
{
    font-weight: 900;
    color: #005f9c;
}

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

.filters-row td
{
    background: #459bd4;
}

thead tr
{
    border: none;
}

th
{
    background-color: #53ace6;
    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-admin .status-box
{
    display: block;
    /*white-space: nowrap;*/
}

.status-box.quoted .fa-circle,
.status-box.draft .fa-circle
{
    color: #f8c64d;
}

.is_waiting_for_docs
{
    text-align: center;
    color: #53ace6;
}

.user-appointments-box .status-box.quoted, .user-appointments-box .status-box.quoted
{
    background: #f8c64d;
}

.user-quotes-td .status-box,
.detail-box-count
{
    width: 23px;
    height: 23px;
    display: inline-block;
    border-radius: 20px;
    text-align: center;
    color: #373737;
}

td.text-center
{
    text-align: center!important;
}

.text-center
{
    text-align: center!important;
}

.danger .detail-box-count
{
    background-color: rgba(222, 68, 58, 0.75);
    color: #fff;
}

.status-box.quoted .fa-circle,
.status-box.expired .fa-circle,
.status-box.to_be_paid .fa-circle,
.status-box.expired .fa-circle,
.status-box.sending .fa-circle,
.status-box.endorsement_quoted .fa-circle,
.status-box.pending .fa-circle
{
    color: #f8c64d;
}

.td-payment-status_icon .status-box.to_be_paid .fa-circle,
.td-payment-status_icon .status-box.blocked .fa-circle
{
    color: #5d5d5d;
}


.status-box.converted .fa-circle,
.status-box.paid .fa-circle,
.status-box.renewed .fa-circle,
.status-box.active .fa-circle,
.status-box.sent .fa-circle,
.status-box.open .fa-circle,
.status-box.reopen .fa-circle,
.status-box.confirmed .fa-circle
{
    color: #71cb5c;
}

.status-box.to_be_authorized .fa-circle,
.status-box.ended .fa-circle,
.status-box.canceled .fa-circle,
.status-box.lost .fa-circle,
.status-box.declined .fa-circle,
.status-box.not_followed .fa-circle,
.status-box.blocked .fa-circle,
.status-box.not_quotable .fa-circle,
.status-box.expired_2 .fa-circle,
.status-box.error .fa-circle,
.status-box.called_off .fa-circle,
.status-box.run_off .fa-circle,
.status-box.cancelled .fa-circle,
.status-box.endorsement_to_be_authorized .fa-circle,
.status-box.canceled .fa-circle,
.status-box.rejected .fa-circle
{
    color: #d54a4a;
}

.status-box.remitted .fa-circle,
.status-box.closed .fa-circle,
.status-box.remitted .fa-check-circle
{
    color: #53ace6;
}

.table-admin .status-box .fa-circle
{
    margin: 3px 0 0 0;
}

.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
{
    background: #fdfdfd;
}

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, .filters-row select {
    font-size: 12px;
    padding: 3px;
    height: 25px;
    border: none;
}

.filters-row .btn
{
    padding: 3px 6px;
    background: #2e83ba;
    height: auto;
    width: 52px;
}

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

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

.table-admin th a
{
    color: #fff;
    border-left: 1px solid #88c6ee;
    padding: 0 0 0 10px;
    line-height: 20px;
    display: block;
    position: relative;
}

.table-admin th .icon-sort
{
    position: absolute;
    right: 0px;
}

.table-admin th .fa-sort-up
{
    top: 7px;
}

.table-admin th .fa-sort-down
{
    top: 2px;
}


.table-admin th:nth-child(1) a
{
    border-left: none;
    padding: 0;
}

/* .table-admin th:nth-child(1)
{
    width: 50px;
    max-width: 50px;
} */


.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;
}

.user-identity-table
{
    display: table;
    table-layout: fixed;
    width: 210px;
    background: #4293c8;
    padding: 20px;
}


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

/* menu */

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

.menu li
{
        list-style-type: none;
        float: left;
        padding: 0px;
        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
{
    background-color: #ffffff;
    padding: 10px 15px;
}

.block-title, .block h2, #menu_column h2, .minititle
{
    color: #005f9c;
    text-transform: uppercase;
    border-bottom: 1px solid #00a4e4;
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    padding: 0 0 5px 0;
    background: #fff;
    margin-bottom: 10px;
}

.minititle
{
    color: #5d5d5d;
    border-bottom: none;
    margin-bottom: 0px;
    font-size: 16px;
}

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

.block-int
{

}

.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;
}

/* logo header */

.logo-header
{
    width: 202px;
    height: 53px;
    display: inline-block;
    background: url(../images/layout/logo-blue.png) no-repeat center center;
}

/* 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: #3a3939;
    width: 10px;
    padding: 15px 20px;
    margin: 0;
    color: #fff;
}

#footer a
{
    color: #fff;
    text-decoration: none;
}

#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;
}

.user-identity-avatar
{
    width: 50px;
    height: 50px;
    display: inline-block;
    border-radius: 40px;
    border: 2px solid #373737;
}

.user-identity-avatar.avatar-female
{
    width: 50px;
    height: 50px;
    display: inline-block;
    background: url(../images/layout/avatar-female.png) no-repeat center center;
}

.user-identity-avatar.avatar-male
{
    width: 50px;
    height: 50px;
    display: inline-block;
    background: url(../images/layout/avatar-male.png) no-repeat center center;
}

.user-identity-image-td
{
    display: table-cell;
    width: 52px;
}

.user-identity-name-td
{
    display: table-cell;
    padding: 0 0 0 10px;
    vertical-align: middle;
}

.user-identity-mansion-box
{
    text-transform: uppercase;
    font-weight: 700;
}

.user-last-access-box p
{
    margin: 0;
}

.user-last-access-box
{
    background: #2e83ba;
    padding: 20px;
}

.user-appointments-box
{
    background: #1771ab;
    padding: 20px;
}

.user-appointments-box ul
{
    margin: 0;
    padding: 0;
}

.user-appointments-box ul li
{
    list-style-type: none;
}

.user-appointments-box ul li a
{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 0px;
}

.user-appointments-box ul li a:hover
{
    text-decoration: none;
}

.user-appointments-box ul li .user-quotes-td
{
    width: 30px;
    max-width: 30px;
}

.user-appointments-box ul li .user-quotes-text-td
{
    color: #fff;
    text-align: left;
    padding: 0 0 0 10px;
    flex-grow: 1;
}

.user-quotes-num
{
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    padding-top: 4px;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    color: #373737;
    background-color: #f8c64d;
    font-size: 13px;
}


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

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

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



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

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

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

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

.form-fieldset legend
{
    color: #005f9c;
    text-transform: uppercase;
    border-bottom: 1px solid #00a4e4;
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    padding: 0 0 5px 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
    float: left;
}

.form-fieldset .form-fieldset-int
{
    padding: 20px 0 0 0;
    float: left;
    width: 100%;
}

.form-fieldset .form-fieldset-int.no-float
{
    float: none;
}


.form-fieldset-int label,
.label-product
{
    width: 170px;
    display: table-cell;
    vertical-align: top;
    color: #1771ab;
    font-weight: 700;
    float: left;
}

.label-product
{
    width: 370px;
}


.form-breadcrumb
{
    margin: 18px 0 18px 0;
    border-bottom: 1px solid #d3dce3;
}


.user-edit-box .form-fieldset-int input[type="text"],
.user-edit-box .form-fieldset-int select,
.user-edit-box .form-fieldset-int input[type="text"],
.user-edit-box .form-fieldset-int select
{
    width: 300px;
}

.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;
}

h3.subtitle
{
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
}

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

.form-field-help,
.form-field-info, #empty-legal-province_id, #empty-paper_id
{
    font-size: 0.9em;
    display: block;
    color: #2e83ba;
    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: #2e83ba;
    font-size: 13px;
    margin-right: 5px;
}

.user-edit-box .form-field-help
{
    margin: 5px 0 10px 170px;
}

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

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

#page-header h1 small
{
    margin-left: 10px;
    text-transform: none;
    font-weight: 500;
}

#page-header-actions .btn
{
    background-color: #53ace6;
    color: #fff;
    margin-left: 10px;
    margin-top: 5px;
}

#page-header-actions .btn-delete
{
    background-color: #CE453E;
}

.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: 3px 0 0 0;
    float: left;
}

#menu-admin_menu li a,
#menu-admin_config_menu li a
{
    font-size: 12px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    padding: 0 5px 0 57px;
    display: table-cell;
    width: 100%;
    height: 44px;
    vertical-align: middle;
}

.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: #4293c8;
}


#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;
}

#menu-admin_menu #menu-home-li a
{
    background: url(../images/layout/ico-dashboard.png) no-repeat 20px center;
}

#menu-admin_menu #menu-card-li a
{
    background: url(../images/layout/ico-scheda.png) no-repeat 20px center;
}

#menu-admin_menu #menu-quotes-li a
{
    background: url(../images/layout/ico-quotazioni.png) no-repeat 20px center;
}

#menu-admin_menu #menu-policies-li a,
#menu-admin_menu #menu-policies_service-li a
{
    background: url(../images/layout/ico-polizze.png) no-repeat 20px center;
}

#menu-admin_menu #menu-contractors-li a
{
    background: url(../images/layout/ico-contraenti.png) no-repeat 20px center;
}

#menu-admin_menu #menu-communications-li a
{
    background: url(../images/layout/ico-comunicazioni_2.png) no-repeat 20px center;
}

#menu-admin_menu #menu-users-li a
{
    background: url(../images/layout/ico-gestutenti.png) no-repeat 20px center;
}

#menu-admin_menu #menu-documents-li a
{
    background: url(../images/layout/ico-documenti.png) no-repeat 20px center;
}

#menu-admin_menu #menu-accounting-li a
{
    background: url(../images/layout/ico-contabilita.png) no-repeat 20px center;
}

#menu-admin_menu #menu-config-li a
{
    background: url(../images/layout/ico-configurazione.png) no-repeat 20px center;
}

#menu-admin_menu #menu-config_triggers-li a
{
    background: url(../images/layout/ico-templemail.png) no-repeat 20px center;
}

#menu-admin_menu #menu-loss_events-li a
{
    background: url(../images/layout/ico-sinistri.png) no-repeat 20px center;
}

.header-content-container
{
    background: #fff;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}


#portal_section-switch .btn
{
    margin: 0px;
}

.logo-header-container
{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: self-start;
}

.logo-link
{
    width: 202px;
}

.user-menu-container
{
    margin-top: 20px;
}


#menu-top_menu
{
    margin: 0;
    padding: 0;
    margin: 0px auto;
    display: flex;
}

#menu-top_menu li
{
    padding: 0px 4px;
    display: flex;
    height: 53px;
    width: 85px;
    align-content: center;
}

#menu-top_menu li a
{
    height: 53px;
    width: 85px;
    display: flex;
    width: 100%;
    text-align: center;
    color: #575757;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: normal;
    align-items: flex-end;
    justify-content: center;
}

#portal_section-switch 
{
    display: flex;
}


#portal_section-switch .switch
{
    box-sizing: border-box;
    background-color: #fff;
    display: block;
    border: 1px solid #cccccc;
    padding: 7px 10px;
    color: #575757;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
}

#portal_section-switch .switch:last-child
{
    border-left-width: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#portal_section-switch .switch:first-child
{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#portal_section-switch .switch:hover
{
    background-color: #f5f5f5;
}


#portal_section-switch .switch.selected
{
    background-color: #f8c64d;
    color: #373737;
}

@media (min-width: 1401px) and (max-width: 1600px)
{
    #menu-top_menu li
    {
        padding: 0px 8px;
    }
}

@media (min-width: 1600px)
{
    .header-content-container
    {
        flex-direction: row;
        align-items: flex-end;
    }

    .user-menu-container
    {
        margin-top: 0px;
    }

    #menu-top_menu li
    {
        padding: 0px 12px;
    }

    .logo-header-container
    {
        flex-direction: column;
    }

    #portal_section-switch
    {
        margin-top: 10px;
    }
}

@media (min-width: 1800px)
{
    .logo-header-container
    {
        flex-direction: row;
        align-items: center;
    }

    #portal_section-switch
    {
        margin-top: 0px;
        margin-left: 20px;
    }
}

#menu-top_menu li a:hover
{
    opacity: 0.5;
    color: #575757;
}

#menu-top_menu #menu-home-li
{
    background: url(../images/layout/ico-top-home.png) no-repeat top center;
}

#menu-top_menu #menu-quotes-li
{
    background: url(../images/layout/ico-top-quotazioni.png) no-repeat top center;
}

#menu-top_menu #menu-policies-li,
#menu-top_menu #menu-policies_service-li
{
    background: url(../images/layout/ico-top-polizze.png) no-repeat top center;
}

#menu-top_menu #menu-intermediaries-li
{
    background: url(../images/layout/ico-top-intermediari.png) no-repeat top center;
}

#menu-top_menu #menu-contractors-li
{
    background: url(../images/layout/ico-top-contraenti.png) no-repeat top center;
}

#menu-top_menu #menu-accounting-li
{
    background: url(../images/layout/ico-top-contabilita.png) no-repeat top center;
}

#menu-top_menu #menu-users-li
{
    background: url(../images/layout/ico-top-gestutenti.png) no-repeat top center;
}

#menu-top_menu #menu-loss_events-li
{
    background: url(../images/layout/ico-top-sinistri.png) no-repeat top center;
}


#menu-top_menu #menu-companies-li
{
    background: url(../images/layout/ico-top-compagnie.png) no-repeat top center;
}

#menu-top_menu #menu-configuration-li
{
    background: url(../images/layout/ico-top-configurazione.png) no-repeat top center;
}

#menu-top_menu #menu-webservices-li span.fa {
    font-size: 25pt;
    color: #2e83bb;
}

#menu-top_menu #menu-account-li a
{
    background: url(../images/layout/ico-top-profile.png) no-repeat top center;
}

#menu-top_menu #menu-logout-li a
{
    background: url(../images/layout/ico-top-exit.png) no-repeat top center;
}

#menu-top_menu #menu-products-li a
{
    background: url(../images/layout/ico-top-products.png) no-repeat top center;
}



/*
@media (min-width: 1024px) and (max-width: 1400px)
{
    .user-menu-container
    {
        margin: 0;
        display: block;
        margin-top: 20px;
        width: 100%;
    }
}


@media (min-width: 1210px) and (max-width: 1400px)
{
    #menu-top_menu li
    {
        padding: 0px 4px;
    }
}


@media (min-width: 1401px) and (max-width: 1440px)
{
    #menu-top_menu li
    {
        padding: 0px 8px;
    }
}*/



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

/*
#menu-top_menu
{
    margin: 0;
    padding: 0;
    display: table;
    margin: 0px auto;

}

#menu-top_menu li
{
    padding: 0 12px;
    display: table-cell;
    float: none;
    vertical-align: bottom;
    height: 53px;
    width: 85px;
}

#menu-top_menu li a
{
    height: 53px;
    width: 85px;
    display: table-cell;
    vertical-align: bottom;
}
#menu-top_menu li a:hover
{
    opacity: 0.5;
    color: #575757;
}
.user-menu-container a
{
    color: #575757;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: normal;
    text-align: center;
    display: block;
}

.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;
}

.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;
}

.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
{
    display: inline-block;
    margin-top: 15%;
    position: relative;
    background: #ffffff;
    color: #d2d2d2;
    padding: 0;
    width: 490px;
    text-align: left;
    border-top: 3px solid #222222;
}

.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: 95px;
    text-align: left;
    font-weight: normal;
    float: left;
    padding: 8px 0 0 0;
    color: #d2d2d2;
}

.wrapper-not-logged input
{
    width: 288px;
    border: none;
    padding: 9px;
    background: #fff;
    border-radius: 1px;
}

.login-box-logos-container
{
    background: #fff;
    padding: 20px 50px;
}

.wrapper-not-logged .login-form-container
{
    background: #222222;
    padding: 30px 50px;
}

.login-box-blue-logo
{
    width: 202px;
    height: 53px;
    display: block;
    margin: 0px auto;
    background: url(../images/layout/logo-blue.png) no-repeat center center;
}

.login-box-aig-logo
{
    width: 105px;
    height: 53px;
    display: inline-block;
    float: left;
    background: url(../images/layout/logo-aig.png) no-repeat center center;
}

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

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

.not-logged-bg
{
    background: #106398;
}

#login-submit, .wrapper-not-logged .btn, .wrapper-not-logged .btn:hover
{
    background: #0f669e;
    color: #fff;
    text-decoration: none;
    padding: 11px 16px 10px 16px;
}

#login-submit
{
    width: 184px;
}

.wrapper-not-logged .btn-alternate, .wrapper-not-logged .btn-alternate:hover
{
    background: #4386b1;
    color: #fff;
    text-decoration: none;
}

.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;
    background: transparent!important;
    color: #fff!important;
}

.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;
   margin: 0 0 10px 0;
}

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

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

#page-header
{
    color: #ffffff;
    margin: 0px;
    background: #2e83ba;
    padding: 10px;
    display: flex;
    min-height: 59px;
    box-sizing: border-box;
    margin-bottom: 20px;
    justify-content: space-between;
}

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

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

#page-header-title
{
    padding-top: 0px;
    align-items: center;
    display: flex;
}

#page-header h1
{
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    margin: 0px;
    align-items: center;
    display: flex;
}

/*
#page-header h1
{

}*/

.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;
}

.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;
}

.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: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
{
    font-size: 20px;
    color: #596e78;
    float: left;
    margin: 15px 10px;
    line-height: 17px;
}

#menu-admin_menu
{
    margin: 20px 0 0 0;
    display: inline-block;
    width: 100%;
     padding: 0 0 20px 0;
    border-bottom: 1px solid #2e2e2e;
}

#menu-admin_menu li
{
    padding: 0;
    margin: 0;
    float: none;
    display: table;
    width: 100%;
}

#menu-admin_menu li.separator
{
    height: 1px;
    background: #2e2e2e;
    margin: 20px 0!important;
    padding: 1px 0 0 0;
}

#menu-admin_menu li:hover,
#menu-admin_menu li.selected
{
        background: #191919;
}

#menu-admin_menu li:hover a
{
    color: #d8d8d8;
}

.user-menu-user-box
{
    padding-left: 22px;
    background: url(../images/layout/user-menu-user-icon.png) no-repeat left center;
}

.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: 48%;
    float: left;
}

.form-field-50:first-child
{
    margin-right: 4%;
}


#client-edit .form-field-mid 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
{
    margin-left: 160px;
}

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

#client-legal-zip_code
{
    width: 100px!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
{
    font-size: 12px;
    padding: 3px 6px 2px 6px;
    line-height: 14px;
    background-color: #25aae1;
    color: #fff;
    border: none;
}

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

.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
{
    margin: 0 0 0 5px;
}

.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: #222222!important;
color: #fff!important;
font-weight: 600!important;
border: none!important;
border-radius: 0!important;
font-family: Lato, 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: Lato, sans-serif!important;
    font-size: 13px;

}

.ui-widget input[type="text"], .ui-widget select
{
    font-family: Lato,sans-serif/*{ffDefault}*/;
    font-size: 14px;
    padding: 5px;
    width: 190px;
}

#quote-do_quote-dialog-form .form-field-help
{
    margin: 5px 0 15px 170px;
}

.ui-button-text
{
    border-radius: 0px!important;
    background: #0f669e!important;
    color: #fff!important;
    font-size: 15px!important;
    line-height: 15px!important;
    padding: 11px 16px 10px 16px!important;
    text-decoration: none!important;
    display: inline-block!important;
    width: auto!important;
    font-weight: normal!important;
    white-space: nowrap!important;
}

.ui-dialog-content label
{
    width: 170px;
    display: table-cell;
    vertical-align: top;
    color: #1771ab;
    font-weight: 700;
    float: left;
    margin: 5px 0 0 0;
}

.ui-dialog-content .text-info
{
    display: inline-block;
    margin: 5px 0 0 0;
}


.ui-dialog-content label.lb-inline
{
    display: inline;
    margin-right: 5px;
    float: none;
}

.ui-dialog-content label.lb-block
{
    display: block;
    float: none;
}

.ui-dialog-content label.lb-radio, .ui-dialog-content label.lb-checkbox
{
    font-weight: normal;
    color: #5d5d5d;
}

//.ui-dialog-content label.lb-radio, .ui-dialog-content label.lb-checkbox

.iu-dialog-content .form-field
{
    margin: 1px 0 0 0;
    border-bottom: 1px solid #f5f5f5;
    padding: 8px 5px;
}

.ui-dialog .ui-dialog-content
{
    /*padding: 18px 5%!important;*/
}

.ui-dialog-content .datepicker
{
        width: 100px!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;
}

.detail-box-records .form-field-error,
#content-column .detail-box-records .form-field-error,
#content-column .no-margin-err .form-field-error
{
    margin-left: 0px;
}

.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
{
    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
{
    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
{
    padding-top: 8px;
    padding-bottom: 8px;
}

#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: 10px 0 0 0;
}

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

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

#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-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
{
    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;
}

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



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

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

.client-communication-files-list.files
{
    margin: 5px 0 0 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: 35%;
}

.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;
}

.borderau-date label
{
    display: inline-block;
}

#export-borderau span.space-left .form-field-error {
    margin-left: 16% !important;
}

#export-borderau .space-right,
#export-borderau .space-left{
    width: 200pt;
    display: block;
    float: left;
}

.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;
}

.detail-table
{
    margin-top:20px;
}
.quote.detail-table
{
    /*display: table;
    table-layout: fixed;*/
    display: flex;
    flex-direction: row;
    width: 100%;
}

.detail-table.no-margin
{
    margin-top: 0px;
}


.quote .detail-column-left
{
    flex-grow: 1;
    flex-shrink: 1;
    max-width: 100%;
    min-width: 50%;
    padding: 0px 10px 0px 0px;
    box-sizing: border-box;
}

.quote .detail-column-right
{
    flex-grow: 1;
    flex-shrink: 1;
    max-width: 100%;
    min-width: 50%;
    padding: 0px 0px 0px 10px;
    box-sizing: border-box;
}

.quote .detail-column
{
    flex-grow: 1;
    flex-shrink: 1;
    max-width: 100%;
    min-width: 33.33%;
    padding: 0px 10px 0px 10px;
    box-sizing: border-box; 
}

.quote .detail-column:first-child
{
    padding: 0px 10px 0px 0px;
}

.quote .detail-column:last-child,
.detail-column.last
{
    padding: 0px 0px 0px 10px;
}

.quote .detail-column-left.c-40,
.quote .detail-column-right.c-40
{
    max-width: 100%;
    min-width: 37%;
}

.quote .detail-column-right.c-40
{
    padding: 0px 10px 0px 10px;
}


#detail-column-third
{
    width: 24%;
    min-width: 24%;
    max-width: 24%;
    padding: 0px 0px 0px 10px;
    box-sizing: border-box;
}

#detail-column-forth
{
    width: 19%;
    min-width: 19%;
    max-width: 19%;
    padding: 0px 0px 0px 10px;
    box-sizing: border-box;
}


#detail-column-two-third,
#detail-column-two-third-max,
#detail-column-three-forth,
#detail-column-three-forth-max
{
    flex-grow: 1;
    padding: 0px 10px 0px 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#detail-column-two-third-max
{
    max-width: 76%;
    margin: 0px auto;
}

#detail-column-three-forth-max
{
    max-width: 81%;
    margin: 0px auto;
}

.quote .detail-row
{
    display: flex;
    flex-direction: row;
    width: 100%;
}

/*
.quote .detail-column-left
{
    width: 50%;
    display: table-cell;
    padding: 0 20px 0 0;
}

.quote .detail-column-right,
.detail-column-third
{
    width: 50%;
    display: table-cell;
    vertical-align: top;
}

.quote .detail-column-left.c-40,
.quote .detail-column-right.c-40
{
    width: 37%;
    padding: 0 20px 0 0;
}

.detail-column-third
{
    width: 24%;
}

.quote .detail-column-left.quote,
.quote .detail-column-right.quote
{
    width: 50%;
}

.quote .detail-column-single
{
    width: 100%;
    vertical-align: top;
}*/

.detail-box
{
    background: #fff;
    margin: 15px 0;
    padding: 0px /* 10px*/;
}

.detail-box.full-padding
{
    padding: 0px;
}

.detail-box:nth-child(1)
{
    margin-top: 0;
}

.detail-box-count
{
    font-size: 14px;
    background-color: #f8c64d;
    line-height: 21px;
    width: auto;
    padding: 0px 5px;
    border-radius: 10px;
}

.detail-box-count.ofac
{
    display: inline-flex;
    align-items: center;
    padding: 5px 10px!important;
    line-height: 1.5em;
}


.detail-box-count.grey
{
    background-color: #F3F3F3;
    color: #5d5d5d;
}

.detail-box-count.danger
{
    background-color: rgba(222, 68, 58, 0.75);
    color: #fff!important;
}

.detail-box-count.success
{
    background-color: #71cb5c;  
    color: #fff!important;
}

.detail-box-count.success > .fa-check
{
    color: #fff!important;
}

.detail-box-count.ofac small
{
    font-size: 18px!important;
    margin-left: 10px;
    color: #fff!important;
}

.detail-box-count.grey small
{
    color: #5d5d5d!important;
}

.detail-box-count
{
    position: absolute;
    right: 0px;
}

.detail-icon.pdf
{
    color: #e61919!important;
}

.detail-box.no-bg
{
    background: transparent;
}

.detail-box.premio
{
    background: #505050;
    color: #fff;
    padding: 0;
}

.detail-box-award-table td, .detail-box-award-table th
{
    text-align: right;
}

.detail-box-award-table td:nth-child(1), .detail-box-award-table th:nth-child(1)
{
    text-align: left;
}

.detail-box-award-table td.l-align, .detail-box-award-table th.l-align
{
    text-align: left;
}


.detail-box-award-table td.c-align, .detail-box-award-table th.c-align,
.detail-box-extensions-table td.c-align, .detail-box-extensions-table th.c-align
{
    text-align: center;
}

.detail-box-award-table td.j-align, .detail-box-award-table th.j-align
{
    text-align: justify;
}


.detail-box-award-table tr,
.detail-box-award-table tr:nth-child(2n+2),
.detail-box-table tr,
.detail-box-table tr:nth-child(2n+2),
.detail-box-extensions-table tr,
.detail-box-extensions-table tr:nth-child(2n+2),
.detail-box-extensions-table tr,
.detail-box-extensions-table tr:nth-child(2n+2)
{
    background-color: #fff;
}

tr.tr-h
{
    background-color: #fff!important;
    border-top: 1px solid #00a4e4;
}

.quote-premio-box-table
{
    display: table;
    width: 100%;
    table-layout: fixed;
}

.detail-box.premio .column-left {
    display: table-cell;
    width: 20%;
    background: #1771ab;
    padding: 10px 10px 10px 20px;
    width: 146px;
}

.detail-box.premio .column-right
{
display: table-cell;
vertical-align: top;
}

.detail-box.premio .column-right .detail-box-label
{
    color: #ffffff;
    font-weight: normal;
    width: 199px;
}

.detail-box.premio .detail-box-records .detail-icon
{
    margin: 0 10px 0 0;
    font-size: 14px;
    color: #fff;
}

.detail-box-records .detail-link
{
    margin-left: 10px;
}

.premio-value-box
{
    padding: 5px 10px;
    background: #adadad;
}

.premio-value-box:nth-child(even)
{
     background: #929292;
}

.premio-value-box.premio-value-total
{
    background: #3f8dbf;
}

.detail-box.premio .detail-box-records
{
font-size: 18px;
font-weight: 300;
}

.detail-box.premio .column-left h2
{
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
}

.detail-box  .detail-box-title
{
    padding: 10px;
}

.detail-box  .detail-box-title h2,
.communication-add-contact_col h2,
.communication-add-row-subject h2
{
    color: #005f9c;
    text-transform: uppercase;
    border-bottom: 1px solid #00a4e4;
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    padding: 0 0 5px 0;
    position: relative;
}


.communication-add-contact-add
{
    color: #000;
    position: absolute;
    right: 0px;
    font-size: 14px;
}

/*
.communication-add-contact_col_row:last-child
{
    margin-top: 20px;
}

.communication-add-contact-add
{
    text-align: center;
    display: block;
}*/

.detail-box  .detail-box-text
{
    padding: 0 10px 10px 10px;
}

.detail-box  .detail-box-text.tp
{
    padding-top: 10px;
}

.details-box-row
{
    display: table;
    position:relative;
    width: 100%;
    table-layout: fixed;
    margin: 0 0 5px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.box-commissioni .detail-box-records.col-empty
{
    display: none;
}


.details-box-row:last-child
{
    padding: 0;
    margin: 0;
    border-bottom-width: 0px;
}

.details-box-row-mid .details-box-row:last-child
{
    margin: 0 0 5px 0;
    padding: 0 0 5px 0;
    border-bottom-width: 1px;
}

.details-box-row.last,
.details-box-row-mid .details-box-row.last:last-child
{
    padding: 0;
    margin: 0;
    border-bottom-width: 0px;
}


.detail-box-label
{
    width: 170px;
    display: table-cell;
    vertical-align: top;
    color: #1771ab;
    font-weight: 700;
}

.detail-box-label.gray
{
    color: #5d5d5d;
}

.detail-box-label.pl-10
{
    padding-left: 10px;
}


.detail-box-label.d-block
{
    display: block;
    width: 100%;
}   

.detail-box-label-line
{
    display: table-cell;
    vertical-align: top;
    color: #1771ab;
    font-weight: 700;
}
.detail-box-label.label-big
{
    text-transform: uppercase;
}


.detail-box-records {
    display: table-cell;
    vertical-align: top;
}

.details-box-alert-container 
{
    flex-grow: 1;
    margin-left: 20px;
}

.details-box-alert 
{
    width: auto;   
}

.details-box-warranty-alert
{
    width: auto;   
}


.details-box-warranty-alert
{
    display: block;
    margin-top: 5px;
    width: 100%;
}

.detail-box-flex-int
{
    flex-grow: 1; 
    max-width: 300px; 
    min-width: 300px;
}

.detail-box-flex-int .long-field
{
    width: 90%;
}


.details-box-alert .message
{
    margin-top: 0px!important;
    margin-bottom: 5px;
}

.details-box-alert:last-child .message
{
    margin-bottom: 0px!important;
}

.details-box-warranty-alert
{
    display: block;
    margin-top: 5px;
    width: 100%;
}

.detail-box-records.d-block
{
    display: block;
}

.detail-box-small-column
{
    float: left;
    margin: 0 40px 0 0;
}

.details-small-table .detail-box-label
{
    width: 110px;
}

.details-small-table
{
    float: right;
    width: 200px;
}

.detail-box-award-label-td
{
    color: #1771ab;
    font-weight: 700;
    background: #fff;
    padding: 5px 10px 5px 0px;
    width: 170px;
}

.detail-box-award-table td,
.detail-box-table td,
.detail-box-extensions-table td
{
    border-bottom: 1px solid #f5f5f5;
}

.detail-box-award-table th,
.detail-box-table th,
.detail-box-extensions-table th
{
    background-color: #e7e7e7;
    color: #5d5d5d;
}


.detail-box-award-table .detail-box-award-label-th,
.detail-box-extensions-table .detail-box-award-label-th
{
    background-color: #fff;
}


.detail-box-award-label-th
{
    width: 150px;
}

.tr-odd .detail-box-award-label-td
{
    background:#fff;
    color: #1771ab;
    font-weight: 700;
}

.detail-box-award-table,
.detail-box-extensions-table
{
     table-layout: fixed;
}

.quote.product-box
{
    padding: 0 0 15px 0;
    border-bottom: 1px dashed #4293c8;
    margin: 0 0 15px 0;
    background: #ffffff;
}

.details-box-row.separator
{
    border-bottom: 1px dashed #4293c8;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
}

.quote.product-box:last-child
{
    margin: 0;
}

.detail-box.left-column.full-padding .quote.product-box
{
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.quote .detail-icon
{
    margin: 0 5px 0 0;
    color: #cad4da;
    font-size: 12px;
}

#detail-box-retroactivity_date
{
    margin-left: 20px;
}

.detail-column-right .detail-box-label
{

}

.detail-box-records .status-box .fa
{
    margin: 0 0 0 10px;
}

.status-box.icon-before .fa
{
    margin: 0 10px 0 0;
}

/*
.quote .box-commissioni .detail-box-records
{
    text-align: right;
}*/

.detail-box-award-table th:last-child, .detail-box-award-table td:last-child
{
    padding: 5px 20px 5px 5px;
}

.detail-box-award-table.movements th:last-child, .detail-box-award-table.movements td:last-child
{
    padding-right: 5px;
}

.btn-box,
.btn-box-big
{
    text-align: center;
    margin: 10px 0 0 0;
}

.btn-box-big
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-box-big .btn
{
    margin-bottom: 10px;
    margin-right: 10px;
}

.btn-box-big .btn:last-child
{
    margin-right: 0px;
}


.btn-box-inline
{
    margin-top: 0px;
    margin-left: 10px;
    display: inline-block;
}

#quote-management-actions .btn-box .btn,
.btn-box .btn,
.btn-box-inline .btn
{
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 2px;
    margin: 0 5px;
    font-size: 13px;
    cursor: pointer;
}

.btn-small
{
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 2px;
    margin: 0 5px;
    font-size: 13px;
    cursor: pointer;
}

.btn-small:last-child
{
    margin-right: 0px;
}

.status-box.to_be_authorized,
.status-box.endorsement_to_be_authorized,
.status-box.endorsement_quoted
{
    white-space: nowrap;
}

.main-info-box-int .status-box.endorsement_to_be_authorized,
.main-info-box-int .status-box.endorsement_quoted
{
    white-space: normal;
}

.ui-dialog .ui-dialog-buttonpane
{
    margin-top: 0;
    padding: 0 15px 15px 15px!important;
}

.ui-dialog-buttonset .ui-button:nth-child(1)
{
    margin: 0px 0 0 0px!important;
}

#quote-not_quotable_reason,
#quote-lost_not_quotable_reason
{
    height: 120px;
    margin: 5px 0 0 0;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
{
    padding: 0;
}

.data-quote-box .detail-box-records
{
    /*text-align: right;*/
}

.detail-column-right-boxes-container
{
    padding: 10px;
    background: #fff;
}

#template-edit label
{
    color: #1771ab;
    font-weight: 700;
}

#template-edit .template-vars
{
    display: block;
    margin: 10px 0;
}

textarea#message_1_34_body_text
{
    width: 90%;
}

label[for="message[1][34][from_name]"], label[for="message[1][34][from_email]"], label[for="message[1][34][subject]"]
{
    float: left;
    width: 170px;
}

#message_1_34_from_name, #message_1_34_from_email
{
    width: 250px;
}

#message_1_34_subject
{
    width: 521px;
}

#template-edit .btn-alternate
{
    margin: 0 2px 5px 0;
}

/*
Form invio comunicazioni
*/

.communications-add-btns
{
    margin-top: 15px;
    padding-top: 0.5em;
}

.communications-note-head,
.communication-preview-head
{
    position:relative;
    color: #000;
    margin-bottom: 30px;
}
.communication-date
{
    position:absolute;
    top: 0px;
    right: 0px;
}

.communications-note-head .detail-box-label,
.communication-preview-head .detail-box-label
{
    display:inline-block;
}

.ui-widget-content a.btn, .ui-widget-content .btn
{
    color: #fff;
    font-size: 15px;
    font-family: Lato, sans-serif;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset
{
    float: none!important;
}

.communication-add-contact_type
{
    width: 60px!important;
}


.communication-add-contact_row
{
    width: 100%!important;
}

.communication-add-contact
{
    width: 60%!important;
    font-family: Lato, sans-serif!important;
}

.communication-add-row
{
    margin-bottom: 5px;
}

input.communication-add-contact
{
    padding: 6px 5px;
}

.communication-add-tos
{
    display: flex!important;
}

.communications-list table
{
    margin-bottom:16px;
}
.communication-add-row-subject label
{
    max-width: 170px;
    min-width: 170px;
}

.communication-add-row-subject .communication-field-subject
{
    flex-grow: 1!important;
}

.communication-add-contact_col
{
    flex-grow: 1!important;
    padding-right: 30px;
}

.communication-add-contact_col:last-child
{
    padding-right: 0px;
}

.communication-add-contact-remove
{
    margin-left: 10px!important;
    color: #4293c8!important;
}

.communication-add-contact_col h2,
.communication-add-row-subject h2
{
    text-decoration: none;
}

.communication-add-row-subject h2
{
    display: block;
}

.communication-add-row-subject
{
    margin-top: 20px;
}

.communication-add-row-ckeditor
{
    padding: 0px;
    margin-top: 20px;
    background-color: #f5f5f5;
}

.communication-add-row-ckeditor .cke
{
    margin: 0px auto;
}

.communication-add-attachments
{
    margin-top: 20px;
}

.communication-add-attachment
{
    background-color: #f5f5f5;
    padding: 5px 10px;
}

.ui-dialog .form-fieldset
{
    border: 0px;
    padding: 0px;
    margin-top: 0px;
}


.communication-field-subject
{
    width: 100%!important;
}

.communication-preview-text
{
    border-top: 1px solid #e8e8e8;
    margin-top: 10px;
    padding-top: 15px;
    overflow-y: auto;
    max-height: 450px;
}

.communication-eml
{
    text-align: right;
    margin-top: 0px;
}

.communication-preview-attachments
{
    margin-top: 30px;
}

.hidden
{
    display: none;
}

.hoverable
{
    cursor: pointer;
}

p.ptable
{
    color: #fff;
    border-left: 1px solid #88c6ee;
    padding: 0 0 0 10px;
    line-height: 20px;
    display: inline-block;
    margin-bottom: 0px;
}

p.ptable-min
{
    color: #fff;
    border-left: 1px solid #88c6ee;
    padding: 0 0 0 10px;
    line-height: 20px;
    display: inline-block;
    min-width:100px;
    margin-bottom: 0px;
}

.vertical-checkbox
{
	vertical-align: middle;
}

.errortable
{
	font-size: 12px;
	color: #CE453E;
	display: block;
}

.tr-fix
{
	min-height:44px;
	max-height: 44px;
	height: 44px;
}

.product-field
{
	width: 130px !important;
}

.product-field-short
{
	width: 70px !important;
}


.clean-list ul
{
	margin-bottom: 40px;
}

.relative-title
{
    position:relative;
    min-height: 30px;
}

.title-btn
{
    position:absolute;
    top:5px;
    right:5px;
}

.pointer
{
    color:#25aae1;
    cursor:pointer;
}

.pointer.fa-remove,
.pointer.fa-trash
{
    color: #d54a4a;
}

.pointer.fa-check
{
    color: #71cb5c;
}

.hidden:before{
    display:none;
}

.person-box-view
{
    position: relative;
}

.actions_box
{
    position:absolute;
    right: 10px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: center;
}

.actions_box .fa-remove
{
    margin-top: -2px;
}

.actions_box .fa
{
    margin-left: 5px!important;
}

.actions_box .fa.hidden
{
    display: none;
}

.errors_box .form_field_error,
#policies-import_message_box .form-field-error,
#loss_events-import_message_box .form-field-error
{
    margin:0;
}

.new-contact-box
{
    position:relative;
    margin-top:4px;
    border-top:1px solid #f5f5f5;
    padding-top:4px;
}

.intermediaries_view_menu
{

    margin-bottom:20px;
    margin-top:-20px;
    background: #cbd6da;
}
.intermediaries_view_menu a
{
    height:100%;
    padding:4px 8px;
    display:inline-block
}

.big-icon
{
    font-size:14px;
    vertical-align: middle;
}
.no-margin
{
    margin:0!important;
}

.person-add-box
{
    margin-top:15px;
}

.intermediaries-person-box
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.intermediaries-person-box .person-box
{
    width: 50%;
    flex-grow: 0;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0px;
}

.intermediaries-person-box .person-box:nth-child(odd)
{
    padding-right: 3px;
}

.intermediaries-person-box .person-box:nth-child(even)
{
    padding-left: 3px;
}

.person-box-view
{
    background: #f3f3f3;
    border: 1px solid #e8e8e8;
    margin-bottom: 6px;
    padding: 10px;
    box-sizing: border-box;
    background-color: #fff;
}

.person-edit-box
{
    margin-bottom: 10px;
}

.green-tick
{
    color: #26b106;
}

.red-tick
{
    color: #de0000;
}

.delete-person,
.delete-office,
.delete-contact
{
    font-size: 16px;
}

.inline-label
{
    display: inline-block;
}
#progress,.progress
{
    background:#cecece;
    border-radius: 3px;
    margin:4px 0;
    display: none;
}
.bar
{
    width:0%;
    line-height: 18px;
    background: #53ace6;
    text-align:center;
    padding:4px;
    color:white;
    box-sizing: border-box;
    border-radius:3px;
}
.intermediaries_progress
{
    background: #ddd;
}
.normal-upload-fa
{
    font-size:1.3rem!important;
    vertical-align:center;
    cursor:pointer;
}
.menu-selected{
    border-bottom:2px solid #2e83ba;
}
a.btn{
    vertical-align:middle;
}


#dashboard-content
{
    display: flex;
}

.dashboard-h-column
{
    width: 33%;
    flex-grow: 0;
    padding: 0px 20px 0px 0px;
    box-sizing: border-box;
}

.dashboard-h-column:last-child
{
    padding-right: 0px;
}


.communication-loader,
.ui-widget-content .communication-loader
{
    width: 150px;
    text-align: center;
    background-color: #fff;
    display: inline-block;
    padding: 7px 10px;
    margin-right: 20px;
    color: #40494d;
    visibility: hidden;
}

.communication-loader:hover
{
    background-color: transparent;
}

.communication-loader span
{
    position: relative;
    top: -4px;
    font-size: 14px;
}

.communication-spinner {
  width: 20px;
  height: 20px;
  position: relative;
  margin: 0px 10px;
  display: inline-block;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #2e83ba;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

#quote-do_convert .communication-loader
{
    margin: 0px auto;
}


#environment-badge
{
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: #f8c64d;
    color: #000;
    padding: 10px;
    z-index: 90;
}

#not_tacit_renewal-box
{
    text-align: center;
    margin-top: 30px;
}

#not_tacit_renewal-box .detail-box-text
{
    padding-top: 20px;
}

#not_tacit_renewal-box a.btn
{
    margin-top: 10px;
}

#policy-do_not_tacit_renewal-intermediary_id
{
    width: 400px;
}

.policy-warranty-item,
.policy-variation-item,
.quote-warranty-item,
.quote-issue-item
{
    padding: 10px 20px 10px 0px;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.quote-warranty-actions,
.policy-warranty-actions,
.policy-variation-remove
{
    position: absolute;
    right: 0px;
    top: 15px;
}

.quote-warranty-edit_text,
.policy-warranty-edit_text
{
    margin-right: 5px;
}

.quote-issue-item
{
    display: flex;
    align-items: center;
    padding-right: 0px;
}

.quote-issue-name
{
    flex-grow: 1;
}

.quote-issue-actions
{
    width: 45px;
    text-align: right;
}

.quote-issue-actions a {
    padding-left: 10px;
}



/*
.quote-issue-solve
{
    margin-right: 10px;
}*/

#policy-warranty-add-group, #quote-warranty-add-group
{
    width: 100%;
    clear: both;
    padding-left: 170px;
    box-sizing: border-box;
}

.detail-box-title .right-action
{
    position: absolute;
    right: 0px;
    top: 5px;
}

#additional_names-light_check .details-box-row .additional_names-col,
#additional_names-edp .details-box-row .additional_names-col,
#additional_names-tc-light_check .details-box-row .additional_names-col,
.coinsurance_values-col,
.associates-col,
.subsidiaries-col
{
    display: table-cell;
}

#additional_names-light_check .details-box-row .additional_names-col .long-field,
#additional_names-edp .details-box-row .additional_names-col .long-field,
#additional_names-tc-light_check .details-box-row .additional_names-col,
.coinsurance_values-col .long-field,
.associates-col .long-field,
.subsidiaries-col .long-field
{
    width: 90%;
}

#additional_names-light_check .details-box-row .additional_names-col:first-child,
#additional_names-tc-light_check .details-box-row .additional_names-col:first-child,
.coinsurance_values-col:first-child,
.associates-col:first-child,
.subsidiaries-col:first-child
{
    width: 250px;
}

#additional_names-edp .details-box-row .additional_names-col:first-child
{
    width: 450px;
}

#additional_names-edp .details-box-row .additional_names-col:last-child .long-field
{
    width: 100%;
}

#additional_names-light_check .details-box-row .additional_names-col:last-child,
#additional_names-tc-light_check .details-box-row .additional_names-col:last-child,
.coinsurance_values-col:last-child,
.associates-col:last-child,
.subsidiaries-col:last-child
{
    width: 20px;
    text-align: right;
}

#additional_names-light_check .details-box-row .additional_names-col.read-only:last-child,
.coinsurance_values-col.read-only:last-child,
.associates-col.read-only:last-child,
.subsidiaries-col.read-only:last-child
{
    width: auto;
    text-align: left;
}

#additional_names-light_check .details-box-row .additional_names-col .form-field-error,
#additional_names-edp .details-box-row .additional_names-col .form-field-error,
.coinsurance_values-col .form-field-error,
.associates-col .form-field-error,
.no-margin-err .form-field-error,
.associates-col .form-field-error,
.subsidiaries-col .form-field-error
{
    margin-left: 0px !important;
}



.policy-variation-item,
.quote-issue-item
{
    background-color: #fff;
}

#policy-variations .ui-sortable-handle .fa
{
    margin-right: 10px;
    font-size: 12px;
    position: relative;
    top: -1px;
}

#policy-variations .ui-sortable-handle span
{
    cursor: default;
}

#policy-variations .ui-sortable-handle a span
{
    cursor: pointer;
}

#content-column .policy-variation-item .form-field-error
{
    margin-left: 0px;
}

.open-communication,.get-attachment
{
    cursor:pointer;
}

#left-column h2
{
    font-size: 20px;
    text-align: center;
    background: #5d5d5d;
    margin-top: 20px;
}

.detail-box-records-flex
{
    display: flex;
}


@media (min-width: 1440px)
{
    .detail-box-text.flex, .detail-box-flex
    {
        display: flex;
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

    .detail-box-text.closed-text-box
    {
        display: none;
    }

    .detail-box-text.closed-text-box.rows
    {
        display: block;
        overflow: hidden;
        height: 58px;
    }

    .details-box-row-mid
    {
        flex-grow: 1;
    }

    .details-box-row-mid .details-box-row:last-child
    {
        margin: 0px;
        padding: 0px;
        border-bottom-width: 0px;
    }

    .details-box-row.half
    {
        padding-right: 50%;
    }

    .box-commissioni .detail-box-records.col-empty
    {
        width: 50%;
        display: table-cell;
    }

    .box-commissioni .detail-box-records
    {
        padding-right: 20px;
    }

    .box-commissioni .details-box-row-mid:last-child .detail-box-records
    {
        padding-right: 0px;
    }

    .detail-box-row-mid
    {
        margin: 0px;
        padding: 0px;
        border: none;
        flex-grow: 0;
        width: 50%;
        max-width: 50%;
    }

    .detail-box-row-mid-25
    {
        width: 25%;
        max-width: 25%;
    }

    .detail-box-row-mid-30
    {
        width: 30%;
        max-width: 30%;
    }

    .detail-box-row-mid-30 .detail-box-label,
    .detail-box-row-mid-60 .detail-box-label,
    .detail-box-row-mid-40 .detail-box-label
    {
        display: none;
    }

    .detail-box-row-mid-40 .detail-box-label.group-label
    {
        display: table-cell;
    }


    #quote-zip_code,
    #policy-zip_code
    {
        margin-left: 10px;
        width: 30%;
    }

    #quote-province_id,
    #policy-province_id
    {
        width: 100%;
    }

    #quote-city_id,
    #policy-city_id
    {
        margin-left: 10px;
    }

    .detail-box-row-mid-40
    {
        width: 40%;
        max-width: 40%;
    }

    .detail-box-row-mid-60
    {
        width: 60%;
        max-width: 60%;
    }

    .detail-box-row-mid-70
    {
        width: 70%;
        max-width: 70%;
    }

    .detail-box-row-mid-75
    {
        width: 75%;
        max-width: 75%;
    }
}

.dropzone
{
    border: 3px dashed #53ace6;
    margin-top:20px;
    margin-bottom:20px;
    padding:20px;
}

.remove-attachment
{
    color:#53ace6;
    cursor:pointer;
}

.attachment-name
{
    display: inline-block;
    width: 325px;
    word-break: break-all;
}
.inline
{
    display: inline-block;
}

.attachments-box-container
{
    vertical-align:top;
    margin-left:20px;
    width:360px;
    margin-top: 20px;
}

.attachments-box
{
    margin-top:20px;
}
.attachment-row
{
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 2px;
    margin-top: 4px;
    vertical-align: middle;
    /*border: 1px solid #cccccc;*/
}

.attachment-row span
{
    vertical-align: middle;
}

h2 .ag-right
{
    float:right;
}

.do-upload
{
    margin-top:20px;
}

.span-link,
.table-admin a.span-link
{
    color: #005f9c;
    font-weight: 900;
}

#fileName
{
    margin-top: 10px;
}

.space-right
{
    margin-right:30px;
}

.collapsed
{
    display: none!important;
}

.contractor-migration-message
{
    padding: 20px 0px;
    text-align: center;
}

.contractor-migration-message .alt
{
    font-size: 12px;
}

.single-contractor-box,
.multiple-contractor-box
{
    margin-top: 20px;
}

#revenue-history-toggle
{
    margin-left: 10px;
}

#curve_chart
{
    text-align: center;
}


.collapsed-text-box
{
    display: block;
}

.closed-text-box
{
    display: none;
}

.collapsing-trigger
{
    font-size: 12px;
}

.intermediaries-dropzone
{
    padding:6px;
    width: 200px;
    height:400px;
    margin:16px auto;
    border: 2px dashed #ddd;
    text-align:center;
}


.chart-gauge
{
    width: 400px;
    margin: 20px auto;
}


.chart-first
{
    fill: #f8c64d;
}
.chart-second
{
    fill: #2e83ba;
}

.needle, .needle-center
{
    fill: #000000;
}

text
{
    font-family: Lato, sans-serif;
    font-size: 14px;
    color: #5d5d5d;
    fill: #5d5d5d;
}

text#Value
{
    font-size: 18px;
    font-weight: bold;
}

svg
{
    font-family: Lato, sans-serif;
    font-size: 14px;
    color: #5d5d5d;
    fill: #5d5d5d;
}

.quotes-add-form
{
    position: relative;
}

.quotes-add-survey
{
    border-top: 1px solid #e7e7e7;
    margin-top: 20px;
    padding-top: 10px;
}

#policy-dialog_payment_delay,
#quotes-dialog_add
{
    padding-left: 15px!important;
    padding-right: 15px!important;
}

#quote-survey_signature_date
{
    width: 90px!important;
}

.quotes-add-survey-mid
{
    width: 50%;
    float: left;
}

.ui-dialog-content .quotes-add-survey-mid label
{
    width: 90px;
}


#quotes-dialog_add .form-field-error,
#quote-do_set_quoted-dialog-form .form-field-error,
#quote-do_referral .form-field-error,
#quote-action_referral-dialog-form .form-field-error,
#accounting-add_intermediary_payment_info .form-field-error,
#accounting-add_payment_info .form-field-error,
#policy-run_off-dialog-form .form-field-error
{
    margin-left: 170px;
    margin-top: 5px;
}

#form-do_referral .form-field-error
{
    margin-left: 0px;
    margin-top: 5px;
}

#form-do_referral .textarea .form-field-error,
#quote-do_referral .textarea .form-field-error
{
    margin-left: 0px;
}

#quotes-dialog_add  .quotes-add-survey-mid  .form-field-error
{
    margin-left: 90px;
}

h2 .page-header-actions
{
    text-align: right;
    display: inline-block;
}

.detail-box-premium_option .medium-field
{
    width: 35%;
}

#quote-start_date, #quote-deadline_date, #policy-start_date, #policy-deadline_date,
#policy-request_datetime, #policy-quoted_datetime, #policy-firm_order_datetime, #policy-policy_created_datetime
{
    width: 60%;
}

.dates-detail-box .detail-box-label {
    width: 140px;
}

.detail-box-premium_option h4,
.view-detail-box-premium_option h4,
.detail-box-premium_option-header h4
{
   margin-bottom: 10px;
   margin-top: 20px;
}

.detail-box-premium_option-header .subtitle
{
   margin-bottom: 10px;
   margin-top: 20px;
   padding-right: 10px;
}



.detail-box-premium_option-header h4
{
    padding-bottom: 5px;
    border-bottom: 1px solid #d8d8d8;
}


#quotes-add-survey-file,
#quotes-add-survey-progress,
#policies-manual_pdf-file,
#policies-manual_pdf-progress,
#policies-end-file,
#policies-end-progress,
#policies-called_off-progress,
#policies-called_off-file,
#product-survey_pdf-file,
#product-survey_pdf-file-progress,
#product-renewal_info_pdf-file,
#product-renewal_info_pdf-file-progress,
#product-tacit_renewal_info_pdf-file,
#product-tacit_renewal_info_pdf-file-progress
{
    width: 370px;
}

#quote-btn-top
{
    margin-bottom: 15px;
}

.quote-warranty-item-container,
.policy-warranty-item-container,
.quote-question-item-container,
.policy-question-item-container
{
    display: flex;
}

.quote-questions-replies-field,
.policy-questions-replies-field
{
    margin-left: auto;
    width: 100px;
    height: 30px;
    margin-left: 10px;
}

.question-increment
{
    width: 100px;
    height: 30px;
    font-weight: bold;
    text-align: right;
    margin-left: 10px;
    color: #5d5d5d;
}

.quote-warranty-increment,
.policy-warranty-increment
{
    font-weight: bold;
    text-align: right;
    margin-right: 20px;
    color: #5d5d5d;
    flex-grow: 1;
}

.quote-warranty-remove:hover,
.policy-warranty-remove:hover
{
    text-decoration: none;
}


#quote-coinsurance_values
{
    padding-top: 10px;
}

.details-box-row.noborder
{
    border-bottom: none;
}

#quote-issue-solve-mass
{
    margin-top: 10px;
}

#label-quote-do_not_change_status
{
    width: 100%;
    display: inline-block;
}

#quote-premium_option_ids,
.quote-extensions_option_ids
{
    display: table-cell;
}

#quote-do_not_change_status
{
    margin-left: 0px;
}

#quote-premium_option_ids .form-field-error,
.quote-extensions_option_ids  .form-field-error
{
    display: block;
    clear: both;
    margin-left: 0px;
}

#quote-do_referral
{
    position: relative;
}

.fixed-receiver-value
{
    font-weight: bold;
    margin-bottom: 20px;
}

.dashboard-h-column .detail-box
{
    padding: 20px 0px;
}

.dashboard-h-column .detail-box.horizontal,
.dashboard-box-header
{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.detail-box-vertical
{
    flex-direction: column;
    justify-content: center;
}

.justify-content-center
{
    justify-content: center!important;
}

.align-items-center
{
    align-items: center!important;
}

.justify-content-between
{
    justify-content: space-between!important;
}

.detail-box-vertical .dashboard-box-number
{
    text-align: center !important;
    padding: 0px !important;
}

.dashboard-h-column .detail-box a,
.dashboard-detail-box .detail-box a
{
    text-decoration: none;
    color: #5d5d5d;
}


.dashboard-h-column .dashboard-box-number,
.dashboard-detail-box .dashboard-box-number
{
    flex-grow: 1;
    text-align: right;
    font-size: 22px;
    padding-right: 20px;
    box-sizing: border-box;
}


.dashboard-detail-box .dashboard-box-number
{
    padding-right: 10px;
}


.dashboard-h-column .dashboard-box-number.inline,
.dashboard-detail-box .dashboard-box-number.inline
{
    padding-right: 0px;
}

.dashboard-h-column .dashboard-box-details,
.dashboard-detail-box .dashboard-box-details
{
    text-align: left;
    padding-left: 20px;
    padding-right: 15px;
    box-sizing: border-box;
}

.dashboard-detail-box .dashboard-box-details
{
    padding-left: 10px;
}

.dashboard-h-column .dashboard-box-details span,
.dashboard-detail-box .dashboard-box-details span
{
    display: block;
}

.dashboard-h-column .dashboard-box-details span.fa,
.dashboard-detail-box .dashboard-box-details span.fa
{
    font-size: 48px;
    opacity: 0.75;
    color: #2e83ba;
}

.dashboard-box-primary,
.dashboard-box-secondary
{
    text-align: left;
    font-size: 18px;
    text-transform: uppercase;
    display: block;
}

.dashboard-detail-box
{
    padding: 20px 10px;
}

.dashboard-box-secondary
{
    opacity: 0.5;
}


.dashboard-h-column .detail-box-count,
.dashboard-detail-box .detail-box-count
{
    position: relative;
    width: auto;
    height: auto;
    font-size: 32px;
    padding: 5px 10px;
    border-radius: 0px;
    line-height: 40px;
}

.dashboard-h-column .detail-box-count.small,
.dashboard-detail-box .detail-box-count.small
{
    font-size: 14px;
    line-height: 16px;
}

.flex
{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-grow: 1;
}

.detail-box-records .open-communication
{
    margin-left: 5px;
}

.communications-row
{
    background-color: #e7e7e7;
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
}

.communications-row:last-child
{
    margin-bottom: 0px;
}

.communication-row-icon
{
    padding-right: 10px;
    color: #4293c8;
}

.communication-row-subject
{
    flex-grow: 1;
}

.communication-row-date
{
    max-width: 120px;
    width: 120px;
    text-align: right;
    padding-left: 15px;
    flex-grow: 0;
}

.communication-row-delete
{
    max-width: 15px;
    width: 15px;
    text-align: right;
    padding-left: 5px;
    flex-grow: 0;
    display: inline-block;
}

#ajax_notes_box
{
    max-height: 500px;
    overflow-y: auto;
}

.communication-add-attachment a.fixed-link
{
    color: #4293c8;
}

.communication-add-attachment a.fixed-link .fa
{
    color: #CE453E;
    margin-right: 5px;
}

#quotes-upload_survey-form .quotes-add-survey
{
    border-top-width: 0px;
}

#toggle-communications-sort
{
    margin-left: 5px;
    color: #0f669e;
    font-size: 16px;
}

#quote-issues-custom_text, #quote-warranty-custom_text, #quote-warranty-custom_title
{
    margin-top: 5px;
}

#detail-box-records-followup,
#detail-box-records-survey_pdf,
.detail-box-records-delete_reminder,
.detail-box-records-done_reminder,
#detail-box-records-block_policy,
#detail-box-records-manual_pdf,
.products-documents-box
{
    width: 20px;
    padding-top: 5px;
    text-align: right;
}

#detail-box-records-survey_pdf
{
    width: 50px;
    padding-top: 0px;
}

#detail-box-records-block_policy,
#detail-box-records-manual_pdf,
.products-documents-box
{
    width: 80px;
    padding-top: 0px;
}

.dashboard-box-list
{
    padding: 20px 20px;
}

.dashboard-box-list-group
{
    margin-bottom: 15px;
}

.dashboard-box-list-group h2
{
    color: #005f9c;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 5px;
}

.dashboard-box-list-group h2.expired
{
    color: #e61919;
}

.dashboard-box-list-group ul
{
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}

.dashboard-box-list-li
{
    padding-bottom: 5px;
    padding-right: 10px;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.dashboard-box-list-li .fa-user
{
    color: #cad4da;
    margin-right: 5px;
}

.dashboard-h-column .detail-box .dashboard-box-list-group a
{
    color: #1771ab;
    font-weight: 700;
}

/*.dashboard-box-list-li
{
    padding-bottom: 5px;
    display: flex;
}




*/

.dashboard-h-column .detail-box .dashboard-box-list-group a.flex
{
    max-width: none;
}

.intermediary-kpi-container
{
    position: relative;
}

.intermediary-kpi-bar
{
    height: 10px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.intermediary-kpi-container.big .intermediary-kpi-bar
{
    height: 30px;
}

.intermediary-kpi-bar .container
{
    height: 100%;
    width: 80%;
    position: relative;
    background-color: #f3f3f3;
}

.intermediary-kpi-bar .bar
{
    height: 100%;
    background-color: #005f9c;
    border-radius: 0px;
    position: absolute;
}

.intermediary-kpi-value
{
    left: 0px;
    top: 5px;
    position: absolute;
    color: #fff;
    visibility: hidden;
    font-size: 18px;
    font-weight: 700;
}

.intermediary-kpi-bar .bar.medium
{
    background-color: #f8c64d;
}

.intermediary-kpi-bar .bar.low
{
    background-color: #d54a4a;
}

.intermediary-kpi-label-min,
.intermediary-kpi-label-max
{
    width: 10%;
    box-sizing: border-box;
    padding-left: 1%;
}

.intermediary-kpi-label-min
{
    text-align: right;
    padding-left: 0px;
    padding-right: 1%;
}


.intermediary-kpi-label-avg,
.intermediary-kpi-label-rmax
.intermediary-kpi-label
{
    position: absolute;
}

.intermediary-kpi-label-rmax,
.intermediary-kpi-label-avg
{
    bottom: 0px;
}

.intermediary-kpi-label-min
{
    bottom: 20px;
    left: 0px;
}

.intermediary-kpi-label-max
{
    bottom: 20px;
    right: 0px;
}

.intermediary-kpi-container.big .intermediary-kpi-bar
{
    position: absolute;
    left: 0px;
    top: 25px;
}

.intermediary-kpi-container.big
{
    height: 100px;
}

.intermediary-kpi-label-avg-line
{
    display: block;
    height: 60px;
    width: 1px;
    position: absolute;
    border-right: 2px solid #00a4e4;
    visibility: hidden;
    top: 10px;
}

.intermediary-kpi-label-avg
{
    visibility: hidden;
    bottom: 5px;
}


#quote-boxes-container
{
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    flex-basis: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
}

.quote-big-box
{
    background-color: transparent;
    padding-right: 10px;
    padding-left: 10px;
    box-sizing: border-box;
    flex: 1;
    max-width: 100%;
    min-width: 33%;   
}

.quote-big-box .quote-big-box-int
{
    padding: 15px;
    background: #fff;
    box-sizing: border-box;
    height: 100%;
}

.quote-big-box:first-child
{
    padding-left: 0px;
}

.quote-big-box:last-child
{
    padding-right: 0px;
}

/*
.quote-big-box
{
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
    flex: 1 1 100%;
    margin-right: 20px;
    max-width: 49%;
}

.quote-big-box:last-child
{
    margin-right: 0px;
}
*/

.quote-big-box h2
{
    text-align: left;
    font-size: 24px;
    text-transform: uppercase;
    display: block;
    margin: 0px 0px 20px 0px;
    font-weight: 500;
}


.quote-big-box .fa
{
    font-size: 24px;
    opacity: 0.75;
    color: #2e83ba;
    margin-right: 10px;
}

.quote-big-box .delete-reminder .fa
{
    font-size: 16px;
}

.quote-big-box p
{
    margin-bottom: 0px;
    font-size: 16px;
}

.quote-big-box p .btn-small
{
    margin-top: 10px;
}

.quote-big-box p .btn-small:first-child
{
    margin-left: 0px;
    /*margin-bottom: 0px;
    font-size: 16px;
    display: flex;
    flex-direction: row;*/
}

.quote-big-box.error .quote-big-box-int
{
    background-color: rgba(222, 68, 58, 0.75);
    color: #fff;
}

.quote-big-box.alert .quote-big-box-int
{
    background-color: #F2D268;
}

.quote-big-box.alert .fa
{
    color: #5d5d5d;
    opacity: 1;
}

.quote-big-box.error .fa
{
    color: #fff;
    opacity: 1;
}

.quote-big-box .date
{
    margin-right: 10px;
    color: #1771ab;
}

.quote-big-box.alert .date
{
    color: #191919;
}

.detail-box-label.detail-box-label-referral
{
    width: 120px;
}


.detail-box-records-referral_icon
{
   width: 30px;
   text-align: center;
}
.detail-box-records-referral_icon .fa
{
    margin-bottom: 0px;
    text-align: center;
    position: relative;
    top: 3px;
}

#btn-associate_email
{
    margin-left: 10px;
}

#email-associate_box .form-field-error
{
    margin-left: 170px;
}

.select-communication
{
    cursor: pointer;
}

.communications-row.selected
{
    background-color: #53ace6;
    color: #fff;
}

.communications-row.selected .communication-row-icon
{
    color: #fff;
}

#label-attach_communication_id
{
    width: 100%;
}


.table-admin th.th-global-selector
{
    text-align: center;
    width: 16px;
    max-width: 16px;
}

.contact_current_type .fa
{
    margin-left: 5px;
}

.list-filter-m
{
    width: 100%;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.list-filter-m:last-child
{
    margin-bottom: 0px;
}

.filters-row input.accounting-payment-datetime-filter
{
    width: 90%;
    max-width: 90px;
}

.accounting-evidence
{
    text-align: center;
}


td.accounting-evidence,
tr:nth-child(2n+2) td.accounting-evidence
{
    background: #d9d9d9;
}

.btn-edit_payment_info
{
    margin-left: 5px;
}

.config-group label
{
    width: 100%;
}

#quotes-add-survey-preview
{
    color: #4293c8;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    outline: none;
}

.premium_options-row
{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.premium_options-half
{
    width: 50%;
    flex-grow: 0;
}

.detail-box-premium_option .premium_options-half .medium-field
{
    width: 70%;
    margin-right: 3px;
}

.normal-upload-click
{
    margin-bottom: 20px;
}

.selector
{
    background-color: #e7e7e7;
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
}

.selector .fa
{
    margin-right: 10px;
    color: #4293c8;
}

.selector:hover
{
    cursor: pointer;
}

.selector.selected
{
    background-color: #0f669e;
    color: #fff;
}

.selector.selected .fa
{
    color: #fff;
}

.list-filter.datepicker
{
    width: 70%;
}

#details-box-header
{
    padding: 10px 10px 10px 0px;
    color: #5d5d5d;
}

#details-box-header h2
{
    text-transform: uppercase;
    border-bottom: 1px solid #5d5d5d;
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    padding: 0 0 5px 0;
    position: relative;
}

.detail-box-premium_option-header .details-box-row,
.detail-box-premium_option .details-box-row

{
    min-height: 30px;
}


.table-admin a.btn.btn-booking-instructions
{
    line-height: 15px;
    color: #fff;
    font-size: 15px;
    padding: 11px 16px 10px 16px;
}

#policy-other_policies
{
    max-height: 520px;
    overflow-y: auto;
}

.premium_options-preview.error
{
    color: #D01616;
}

.editable_text-container
{
    margin-top: 10px;
    display: block;
}

.editable_text-container > span
{
    margin-bottom: 10px;
    display: block;
}


div.error-field
{
    border-color: #D01616!important;
}


h4.mini-title
{
    margin-top: 20px;
    margin-bottom: 10px;
}


.import-original-value
{
    color: #5d5d5d!important;
}


#policy-main-info,
#premium-main-info,
#commissions-main-info,
#policy-status-main-info,
#loss_event-financial-info,
.loss_event-financial-info,
#loss_event-main-info,
#loss_event-num-info
{
    display: flex;
    margin-bottom: 15px;
    flex-direction: column;
}

#loss_event-num-info
{
    margin-bottom: 0px; 
}

.main-info-box
{
    box-sizing: border-box;
    margin-bottom: 20px;
    width: 100%;
    flex: 1;
    background-color: #fff;
    justify-content: space-between; 
    display: flex;
    align-items: center;
}

#premium-main-info,
#commissions-main-info,
#policy-status-main-info,
#loss_event-financial-info,
.loss_event-financial-info,
#loss_event-num-info
{
    justify-content: space-between
}

#premium-main-info
{
    margin-bottom: 20px;
}

@media (min-width: 800px)
{
    #policy-main-info,
    #premium-main-info,
    #commissions-main-info,
    #policy-status-main-info,
    #loss_event-financial-info,
    .loss_event-financial-info,
    #loss_event-main-info,
    #loss_event-num-info
    {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .main-info-box
    {
        width: 45%;
        min-width: 45%;
    }

    .main-info-box:nth-child(odd)
    {
        margin-right: 20px;
    }

    .main-info-box:last-child
    {
        margin-right: 0px;
    }

    #premium-main-info .main-info-box,
    #commissions-main-info .main-info-box,
    #policy-status-main-info .main-info-box,
    #loss_event-financial-info .main-info-box,
    .loss_event-financial-info .main-info-box,
    #loss_event-num-info .main-info-box
    {
        margin-right: 0px!important;
    }

    .main-info-box.max
    {
        width: 100%;
        min-width: 100%;
    }

    .main-info-box.half
    {
        width: 48%;
        min-width: 48%;
    }
}

@media (min-width: 1444px)
{
    .main-info-box
    {
        width: 20%;
        max-width: 20%;
        margin-bottom: 0px;
        min-width: auto;
        margin-right: 20px!important;
    }

    .main-info-box.big
    {
        width: 32%;
        max-width: 32%;
    }

    .main-info-box.medium
    {
        width: 13%;
        max-width: 13%;
    }

    .main-info-box.small
    {
        width: 8%;
        max-width: 8%;
    }

    .main-info-box.very-small
    {
        width: 5%;
        max-width: 5%;
    }

    .main-info-box:last-child
    {
        margin-right: 0px!important;
    }

    #premium-main-info  .main-info-box
    {
        width: 32%;
        min-width: 32%;
    }

    .loss_event-financial-info .main-info-box-int small
    {
        margin-left: 0px;
    }

    .loss_event-financial-info .main-info-box-int
    {
        padding: 20px 10px;
    }


    /*.loss_event-financial-info .main-info-box
    {
        width: 19%;
        min-width: 19%;
        max-width: 19%;
    }*/

    .loss_event-financial-info  .main-info-box
    {
        width: 24%;
        min-width: 24%;
        max-width: 24%;
    }

    /*.loss_event-financial-info .main-info-box.big
    {
        width: 21%;
        min-width: 21%;
        max-width: 21%;
    }

    .loss_event-financial-info .main-info-box.medium
    {
        width: 13%;
        max-width: 13%;
        min-width: 13%;
    }*/

    #commissions-main-info .main-info-box
    {
        width: 32%;
        min-width: 32%;
    }

    #policy-status-main-info .main-info-box
    {
        width: 36%;
        min-width: 36%;
    }

    #policy-status-main-info .main-info-box:last-child
    {
        width: 24%;
        min-width: 24%;
    }

    .main-info-box.max
    {
        width: 100%;
        min-width: 100%;
    }
}

.mt
{
    margin-top: 5px;
}

.pl
{
    padding-left: 20px;
}

.main-info-box-int
{
    padding: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

.main-info-box-int .status-box
{
    display: block;
    width: 100%;
    text-align: center;
}

.main-info-box-int .detail-icon,
.title-logo
{
    margin-right: 10px;
}

.main-info-box-int .detail-icon
{
    font-size: 24px;
}

.main-info-box
{
    background-color: #53ace6;
    color: #fff;
}

.main-info-box .detail-icon
{
    color: #fff;
}

.main-info-box.blue
{
    background-color: #2e83ba;
    color: #fff;
}

.main-info-box.blue a
{
    color: #fff!important;
}

.main-info-box.yellow
{
    background-color: #F2D268;
    color: #5d5d5d;
}

.main-info-box.yellow a
{
    color: #5d5d5d!important;
}


.main-info-box.gray
{
    background-color: #e7e7e7;
    color: #5d5d5d;
}

.main-info-box.gray a
{
    color: #5d5d5d!important;
}

.main-info-box.gray .detail-icon
{
    color: #5d5d5d;
}

.main-info-box small
{
    font-weight: normal;
    color: #fff;
    font-size: 14px;
    margin-left: 10px;
    flex-grow: 1;
    display: inline-flex;
    justify-content: flex-end;
}

.main-info-box .flex-end
{
    margin-left: 10px;
    flex-grow: 1;
    display: inline-flex;
    justify-content: flex-end;
}


.main-info-box.gray small,
.main-info-box.yellow small
{
    color: #5d5d5d;
}

.main-info-box.small .main-info-box-int,
.main-info-box.very-small .main-info-box-int
{
    justify-content: center;
}

.main-info-box small.ml-0
{
    margin-left: 0px!important;
}

#policy-status-main-info .mt,
#loss_event-num-info .mt
{
    font-size: 14px;
}

#policy-status-main-info .fa
{
    margin-right: 5px;
}


#premium-main-info .main-info-box-int,
#commissions-main-info .main-info-box-int,
#policy-status-main-info .main-info-box-int,
#policy-offline-main-info .main-info-box-int,
#loss_event-financial-info .main-info-box-int,
.loss_event-financial-info .main-info-box-int,
#loss_event-num-info .main-info-int
{
    flex-direction: column;
}

#commissions-main-info .main-info-box-int,
#policy-status-main-info .main-info-box-int,
#policy-offline-main-info .main-info-box-int,
#loss_event-num-info .main-info-box-int
{
    padding: 10px;
}

#premium-main-info .main-info-box-int small,
#commissions-main-info .main-info-box-int small,
#policy-status-main-info .main-info-box-int small,
#loss_event-num-info .main-info-box-int small
{
    margin-left: 0px;
}

.pl-0
{
    padding-left: 0px!important;
} 

.pl-5
{
    padding-left: 5px!important;
}

.pr-0
{
    padding-right: 0px!important;
}

.pr-5
{
    padding-right: 5px!important;
}

.pr-20
{
    padding-right: 20px!important;
}

.pr-40
{
    padding-right: 40px!important;
}

.px-5
{
    padding-right: 5px!important;
    padding-left: 5px!important;
}

.mb-20
{
    margin-bottom: 20px!important;
}

.mb-40
{
    margin-bottom: 40px!important;
}

small,
.text-small
{
    font-size: 90%!important;
}

.reminder-row
{
    display: block;
}

.intermediary-office-box
{   
    padding: 10px 10px 15px 10px!important;
}  

.intermediary-office-box-int
{
    background-color: #F3F3F3;
    padding: 10px;
}

.intermediary-office-box .title
{
    text-transform: uppercase;
    width: 100%;
    display: block;
}

.intermediary-office-address
{
    padding: 5px;
    margin-top: 10px;
    margin-left: 20px;
}

.indent
{
    margin-left: 20px;
    margin-top: 15px;
}

.indent .fa
{
    margin-right: 10px;
}

.indent .actions_box .fa
{
    margin-right: 0px!important;
    margin-left: 5px!important;
}

.undo-update-person
{
    margin-left: 20px;
}

.person-edit-box .detail-box-label
{
    width: 70px;
}

.person-add-box,
.person-edit-box
{
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
}
.person-add-box .subtitle,
.person-edit-box .subtitle
{
    margin-bottom: 10px;
}
.text-muted
{
    color: #999999!important;
}

.d-block
{   
    display: block!important;
}

.float-none
{   
    float: none!important;
}

.w-auto
{
    width: 100%!important;
}

#intermediary-type
{
    margin-top: -5px;
}

#intermediary-status 
{
    text-align: center;
    padding: 10px;
}

#intermediary-status .status-box .fa
{
    margin-right: 10px;
}

.intermediary-boxes
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.intermediary-boxes .column-box
{
    width: 50%;
    margin-top: 0px;
    flex-direction: column;
}

/*
.intermediary-boxes .detail-box
{
    width: 45%;
    margin-top: 0px;
}

.intermediary-boxes .dashboard-box-number
{
    flex-grow: 0;
    margin-left: 88px;
    margin-top: 10px;
}*/

.decrement
{
    color: #e61919!important;
}


.increment
{
    color: #71cb5c!important;
}

.ag-top
{
    vertical-align: top;
}

.ag-middle
{
    vertical-align: middle !important;
}

.checklist-button-group .btn
{
    border-radius: 0px;
    background-color: #e7e7e7;
    color: #5d5d5d;
    padding: 5px 10px;
    font-size: 13px;
    text-transform: uppercase;
}

.checklist-button .btn
{
    margin-left: 0px;
    text-transform: uppercase;
}

.checklist-button-group
{
    width: 90px;
    min-width: 90px;
}

.checklist-button-group .btn.alert.active
{
    background: #F2D268;
    color: #fff;
}

.checklist-button-group .btn.success.active
{
    background: #71cb5c;
}

.checklist-button-group .btn:disabled
{
    opacity: 1!important;
}

.checklist-button-group .btn:first-child
{
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    border-right: 1px solid #F5F5F5;
}

.checklist-button-group .btn:last-child
{
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}


.checklist-item
{
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.checklist-row
{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /*align-items: center;*/
}

.checklist-label
{
    padding-top: 3px;
}

.checklist-label
{
    font-weight: 600;
}

.checklist-done-text
{
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 2px;
    margin: 0 5px;
    font-size: 13px;
    background-color:#71cb5c;
    color: #fff;
    line-height: 15px;
}

.checklist-done-text .fa
{
    color: #fff!important;
    margin-right: 5px;
}


.checklist-done-text
{
    text-transform: uppercase;
}


.checklist-button
{
    width: 150px;
    min-width: 150px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
}

.checklist-text
{
    flex-grow: 1;
    flex-shrink: 1;
}

#compare-main-info .main-info-box
{
    width: 100%!important;
    max-width: 100%!important;
    margin-bottom: 15px;
}


.compare .long-field
{
    width: 50%;
}

.grey-box
{
    padding: 10px;
    background-color: #e7e7e7;
    margin-bottom: 10px;
}

#policy-offline-generated_number
{
    font-size: 28px;
    line-height: 32px;
}

.communication-selectable-attachements
{
    max-height: 100px;
    overflow-y: auto;
    display: block;
    margin-bottom: 20px;
}

.communication-selectable-attachements.intermediaries
{
    max-height: 200px;
}

.communication-selectable-attachment
{
    display: block;
    width: 100%;
}

.communication-selectable-attachment label
{
    display: flex!important;
    justify-content: flex-start!important;
    width: 100%!important;
    font-weight: normal;
    color: #4293c8;
}
.communication-selectable-attachment label a
{
    color: #4293c8;
}

.communication-selectable-attachment label.active
{
    font-weight: bold;
}

.communication-selectable-attachment label input
{
    margin-right: 7px;
}

/*
.communication-selectable-attachment label
{
    display: flex!important;
    justify-content: flex-start!important;
    width: auto!important;
    font-weight: normal;
    color: #4293c8;
}

.communication-selectable-attachment label a
{
    color: #4293c8;
}

.communication-selectable-attachment label.active
{
    font-weight: bold;
}

.communication-selectable-attachment label input
{
    margin-right: 7px;
}*/

/*
.communication-select-attachment
{
    background-color: #e7e7e7;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    margin-bottom: 5px;  
    cursor: pointer;
}

.communication-select-attachment.active
{
    background-color: #53ace6;
    color: #fff;
}*/



.loss-event .communication-row-subject
{
    word-break: break-word;
}

#loss_event-add_edit .detail-box-label
{
    width: 220px;
}

#loss_event-loss_event_date,
#loss_event-complaint_date,
#loss_event-loss_event_open_date
{
    width: 60%;
}

.loss_event-activity-row,
.loss_event-claim-row
{
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
}

.loss_event-activity-row:last-child,
.loss_event-claim-row:last-child
{
    margin-bottom: 25px;
}

.loss_event-activity_date,
.loss_event-claim_date
{
    min-width: 90px;
    max-width: 90px;
    font-weight: 700;
    color: #1771ab;
}

.loss_event-activity-activity_type
{
    color: #5d5d5d;
    background-color: #e7e7e7;
    padding: 5px 10px;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.loss_event-activity_actions
{
    min-width: 35px;
    max-width: 35px;
    display: flex;
    justify-content: space-between;

}

.loss_event-activity_description,
.loss_event-claim_description
{
    flex-grow: 1;
}

.grow
{
    flex-grow: 1;
}

.d-flex
{
    display: flex;
}

.btn-toggle-group .btn
{
    color: #5d5d5d!important;
    background-color: #e7e7e7;
    text-transform: uppercase;
    padding: 8px 10px;
    font-size: 13px!important;
}

.btn-toggle-group .btn.selected
{
    color: #fff!important;
    background-color: #186687;
}

.btn-toggle-group .btn:first-child
{
    margin-left: 0px;
}
/*.movement_value,*/light-separator
.payment_value
{
    width: 100px!important;
    margin-right: 8px;
}

.detail-box-award-table td.dark-separator 
{
    border-bottom-color: #d2d2d2;
}

.detail-box-award-table td.l-dark-separator,
.detail-box-award-table th.l-dark-separator 
{
    border-left: 1px solid #d2d2d2;
}

.detail-box-award-table td.r-dark-separator,
.detail-box-award-table th.r-dark-separator 
{
    border-right: 1px solid #d2d2d2;
}


.detail-box-award-table td.r-light-separator,
.detail-box-award-table th.r-light-separator 
{
    border-right: 1px solid #ededed;
}

.detail-box-award-table td.l-light-separator,
.detail-box-award-table th.l-light-separator 
{
    border-left: 1px solid #ededed;
}

td.light-gray,
th.light-gray
{
    background-color: #e7e7e7;
    color: #5d5d5d;
}


td.light-blue,
th.light-blue
{
    background-color: #53ace6;
    color: #fff;
}

td.blue,
th.blue
{
    background-color: #2e83ba;
    color: #fff;
}


.total
{
    background-color: #e7e7e7!important;
    color: #5d5d5d!important;
    font-weight: 700;
}

#btn-send-do_delete_movement
{
    background-color: #CE453E!important;
    color: #FFFFFF!important;
    margin-left: 20px!important;
}

#btn-send-do_delete_movement .ui-button-text
{
    background-color: #CE453E!important;
}

.movement-negative,
.movement-negative a
{
    color: #CE453E!important;
    font-weight: normal;
}

.movement-positive,
.movement-positive a
{
    color: #5d5d5d!important;
    font-weight: normal;
}

.movement-negative a:hover,
.movement-positive a:hover
{
    text-decoration: none;
}

.uppercase
{
    text-transform: uppercase!important;
}

.no-margin-top
{
    margin-top: 0px;
}

.no-margin-bottom
{
    margin-bottom: 0px;
}

.spacetop
{
    margin-top: 15px!important;
}

.flex-direction-row
{
    flex-direction: row !important;
}

.flex-direction-column
{
    flex-direction: column !important;
}

.flex-no-grow
{
    flex-grow: 0;
}

.flex-grow
{
    flex-grow: 1;
}

.loss-events-opened-num-box
{
    background-color: #d54a4a;
    color: #fff;
    padding: 5px 10px;
}

.negative-total
{
    background-color: rgba(213, 74, 74, 0.75)!important;
    color: #fff!important;
}

.equal-total
{
    background-color: rgba(113, 203, 92, 0.75)!important;
    /*color: #fff!important;*/
}

.mt-0
{
    margin-top: 0px!important;
}

.mt-15
{
    margin-top: 15px!important;
}

.mr-0
{
    margin-right: 0px!important;
}

.pr-0
{
    padding-right: 0px!important;
}

.h-auto
{
    height: auto!important;
}

.td-yellow
{
    background-color: #F2D268!important;
    color: #5d5d5d!important;
}

.wording-section,
.wording-article
{
    font-size: 18px;
    display: flex;
    align-items: center;
    background: #e7e7e7;
    padding: 7px 10px;
}

.wording-article
{
    font-size: 15px;
    margin-left: 30px;
    background-color: #ffffff;
}

.wording-article
{
    align-items: flex-start;
}

.article-number,
.section-number
{
    width: 30px;
    padding-right: 10px;
}

.article-number
{
    justify-content: flex-end;
    width: 40px;
    padding-right: 15px;
}

.section-name
{
    font-weight: bold;
}

.section-actions,
.article-actions
{
    display: flex;
    margin-left: 10px;
    flex-grow: 1;
    display: inline-flex;
    justify-content: flex-end;
    font-size: 14px;
}

.wording-section-container
{
    margin-bottom: 20px;
}

.wording-article-container
{
    margin-top: 20px;
}

.wording-article
{
    margin-bottom: 6px;
    font-size: 15px;
}

.wording-article.pagebreak p
{
    margin: 0px;
    text-align: center;
    flex-grow: 1;
    width: 90%;
    justify-items: center;
    align-items: center;
    color: #5d5d5d9e;
}

.wording-article.pagebreak.is_edit p
{
    margin-left: 0px;
}

.article-title
{
    width: 400px;
    flex-shrink: 0;
}

.article-text
{
    flex-grow: 1;
    padding-left: 15px;
}

.article-in_summary
{
    width: 300px;
    min-width: 300px;
    flex-shrink: 0;
}

.section-actions a,
.article-actions a
{
    margin-left: 10px;
}

.wording-article .form-field-error
{
    margin-left: 0px!important;
}

.article-is_summary_label,
.article-text-vars
{
    margin-top: 20px;
}

.article-is_title_not_requested_label,.article-text_str_label
{
    margin-top: 10px;
}

.article-number
{
    display: flex;
    flex-shrink: 0;
}

.article-text-var
{
    margin-right: 5px;
    background: #e7e7e7;
    padding: 5px 10px;
}

.toggle-article
{
    cursor: pointer;
}

.wording-article .form-field-error
{
    font-size: 14px!important;
}

.str_text_div, .tr_str_label{
    display: none;
}

.tr_str_enable .str_text_div, .tr_str_enable .tr_str_label{
    display: block;
}

.tr_str_label {
    font-weight: bold;
    padding: 10px 0;
}

.tr_str_label.str {
    border-top: 1px solid #dedede;
    padding-top: 10pt;
}

/*
.wording-article => 15px di size, 6px di margin-bottom
.wordin.-section, .wording-article => padding: 10px 5px 5px 12px*/


.no-close .ui-dialog-titlebar-close 
{
    display: none;
}

.wording-warranty-products
{
    background: #e7e7e7;
    padding: 7px 10px;
}

.wording-warranty-products p
{
    margin-bottom: 0px;
}

.checklist-wide
{
    width: 100%;
}

.checklist-wide .checklist-list
{
    display: flex;
    flex-wrap: wrap;
}

.checklist-wide .checklist-item
{
    width: 50%;
}

.balances-filter-column
{
    width: 200px;
}

#balances-years
{
    padding-top: 20px;
}

#balances-filter
{
    display: flex;
    flex-grow: 1;
    align-items: flex-end;
}

#table-balances
{
    margin-top: 0px;
    margin-bottom: 20px;
    table-layout: fixed;
    border-collapse: collapse;
    width: auto;
    max-width: 100%;
}

#table-balances small
{
    color: #5d5d5d;
    font-size: 12px;
}

.table-scroll
{
    overflow-x: auto;
    max-width: calc(100vw - 65px);
    margin-bottom: 20px;
}


#table-balances td,
#table-balances th
{
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    padding: 5px 8px;
}

#table-balances input[type="text"],#table-balances input[type="hidden"]
{
    width: 90px;
    text-align: right;
}

#table-balances th.br,
#table-balances td.br,
.detail-box-extensions-table th.br,
.detail-box-extensions-table td.br
{
    border-right: 1px solid #2E83BA;
}



.detail-box-award-table td.br 
{
    border-right: 1px solid #e7e7e7;
}


#table-balances .label-th
{
    width: 260px;
    min-width: 260px;
    max-width: 260px;
}

#table-balances .gray-th
{
    background-color: #e7e7e7;
    color: #5d5d5d;
}

.premium_options-minimum_premium_total
{
    font-weight: bold;
    background-color: #e7e7e7;
    padding-top: 7px;
    padding-left: 7px;
}

#table-balances .ghost-th
{
    background-color: #f5f5f5;
}

#table-balances .blue-td
{
    background-color: #2E83BA;
}

#table-balances .label-th.blue-td
{
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
}   

#table-balances th.contractor,
.blue-th,
.detail-box-extensions-table th.blue-th
{
    background-color: #2E83BA;
}

.blue-th,
.detail-box-extensions-table th.blue-th
{
    color: #fff;
}


#table-balances .gray-th.contractor
{
    background-color: #d3d1d1;
}

tr td.contractor 
{
    background: #e7e7e7;
}

tr:nth-child(2n+2) td.contractor 
{
    background: #d3d1d1;
}

#box-subsidiaries-associates
{
    display: flex;
}

#box-subsidiaries-associates > div
{
    min-width: calc(50% - 7.5px);
    margin-right: 7.5px;
    margin-left: 7.5px;
    flex-grow: 1;
}

#box-subsidiaries-associates > div:first-child
{
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

#box-subsidiaries-associates > div:last-child
{
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.box-turnover > .details-box-row-mid
{
    min-width: 50%;
}

.box-turnover-value
{
    flex-grow: 1;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
    flex-direction: column;
}

.box-turnover-value small
{
    font-weight: normal;
    font-size: 14px;
}

.extensions-group .detail-box-premium_option
{
    width: calc(50%);
    padding-right: 20px;
}

.extensions-group .detail-box-premium_option:last-child
{
    padding-right: 0px;
}

.extensions-groups
{
    display: flex;
    flex-direction: column;
}

.extensions-group
{
    max-width: 100%;
    min-width: 100%;
    flex-grow: 1;
    border: 1px solid #d8d8d8;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.extensions-group:last-child
{
    max-width: calc(50);
    min-width: calc(50%);
}

.extensions-group h2
{
    text-transform: uppercase;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    text-align: center;
}

@media (min-width: 1041px)
{
    .extensions-group:first-child
    {
        margin-left: 0px;
    }

    .extensions-group:last-child
    {
        margin-right: 0px;
    }
}


@media (min-width: 1600px)
{
    .extensions-group .detail-box-premium_option
    {
        padding-right: 10px;
    }
    

    .extensions-group
    {
        max-width: calc(50% - 10px);
        min-width: calc(50% - 10px);
        margin-right: 10px;
        margin-left: 0px;
        margin-bottom: 0;
    }

    .extensions-groups
    {
        flex-direction: row;
    }
}

.bigger
{
    font-size: 16px;
}

.policy-variation-item-warranties
{
    padding-top: 10px;
    padding-left: 25px;
}   

#policy-variation-item-warranties-container label
{
    font-weight: normal;
}

#policy-variation-item-warranties-container input
{
    margin-right: 10px;
}

#policy-endorsement_effect_date
{
    width: 67%;
}

#external_policies_certificates-add
{
    width: 80%;
    max-width: 1100px;
    margin: 50px auto;
}

#external_policies_certificates-add .row
{
    display: flex !important;
    padding-top: 20px !important;
    flex-grow: 1 !important;
    width: 100% !important;
}

#external_policies_certificates-add .row .form-field
{
    flex-grow: 1 !important;
    max-width: 50% !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    box-sizing: border-box !important;
}

#external_policies_certificates-add .row .form-field:first-child
{
    padding-left: 0px !important;
}

#external_policies_certificates-add .row .form-field:last-child
{
    padding-right: 0px !important;
}

#external-policy_number,
#external-start_date,
#external-deadline_date,
#external-work_amount,
#external-zip_code,
#external-province_id,
#external-city_id,
#external-underlying_policy_maximum_coverage,
#external-survey_signature_date
{
    width: 30%;
}

#external-return_email
{
    width: 40%;
}

#external_policies_certificates-add .row .form-field-error,
#external-additional_names .form-field-error
{
    margin-left: 0px;
}

.wrapper-external .header-content-container
{
    justify-content: center!important;
    flex-direction: row;
}

#external_policies_certificates-add label
{
    display: block !important;
    padding-bottom: 3px !important;
    font-weight: 600 !important;
    float: none !important;
    width: auto !important;
    margin-top: 0px !important;
}

.ui-dialog #external_policies_certificates-add
{
    width: 100%;
    max-width: auto;
    margin: 0px;
}

#external-additional_names .row
{
    display: flex;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 0px;
}

#external-additional_names .row .additional_names-col
{
    flex-grow: 1;
}



#rates-box table 
{
    border-bottom: 1px solid #5bd0d9;
    border-collapse: inherit;
    margin-bottom: 13px;
}

.ligth-check-alert{
    font-size: 13pt;
    color: #d4d400;
}

textarea#config-accounting_excel_odd_footer {
    height: 90px;
}

#product-default-values .form-field-error{
    margin-left: unset;
}


.quota-type-table label{
    display: inline;
    font-weight: normal;
}