.wks-box .ui-resizable-handle
{
    width:      8px;
    height:     8px;
    border:     1px solid pink;
    background: #FFFFFF;
    z-index:    1000;
    position:   absolute;
    display:    none !important;
}

.template-active .wks-box .ui-resizable-handle
{
    display: block !important;
}

.wks-box .ui-resizable-handle:hover
{
    background: pink;
}

.wks-box .ui-resizable-ne
{
    top:    -4px;
    right:  -4px;
    cursor: nesw-resize !important;
}

.wks-box .ui-resizable-sw
{
    bottom: -4px;
    left:   -4px;
    cursor: nesw-resize !important;
}

.wks-box .ui-resizable-nw
{
    top:    -4px;
    left:   -4px;
    cursor: nwse-resize !important;
}

.wks-box .ui-resizable-se
{
    right:  -4px;
    bottom: -4px;
    cursor: nwse-resize !important;
}
.color-dropdown
{
    position: relative;
}

.dropdown-head
{
    height: 20px;
}

.dropdown-head-label
{
    display:        inline-block;
    padding-top:    4px;
    vertical-align: top;
}

.down-arrow
{
    display:        inline-block;
    font-size:      12px;
    line-height:    12px;
    padding:        4px 0 0 4px;
    vertical-align: top;
}

.down-arrow::after
{
    content: "▾";
}

.wks-dropdown-head
{
    cursor: pointer;
}

.wks-dropdown-body
{
    padding:       10px;
    width:         182px;
    background:    #FFFFFF;
    border:        1px solid #CCCCCC;
    border-radius: 3px;
    position:      absolute;
    left:          0;
    bottom:        36px;
    z-index:       100;
}

.wks-dropdown-body:after
{
    position:         absolute;
    left:             24px;
    bottom:           -16px;
    width:            16px;
    height:           16px;
    content:          '';
    background-image: url('../../img/editor/triangle-down.png');
}

.color-tool-specimen
{
    width:   20px;
    height:  20px;
    display: inline-block;
}

.color-tool-color-container
{
    display: inline-block;
    border:  1px solid transparent;
    height:  20px;
    width:   20px;
    padding: 1px;
}

.color-tool-color-container.color-tool-color-container-current,
.color-tool-color-container:hover
{
    border: 1px solid #000000;
}

.color-tool-color
{
    height: 16px;
    width:  16px;
}

.wks-dropdown-body input
{
    border: 1px solid #CCCCCC;
}

.manual-color-test
{
    display: inline-block;
    width:   20px;
    height:  20px;
    opacity: 0;
}
@import url('style.css');
@import url('bootstrap/bootstrap.css');
@import url('override.css');

/*html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: #F1F1F1;
    font-family: 'Arial';
    font-size: 11px;
    line-height: 14px;
}*/

html.print-style, html.print-style body
{
    background: #FFFFFF;
    height:     auto;
}

workspace
{
    box-sizing:         border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
}


@import url(jquery-ui.min.css);
@import url(color.css);
@import url(box.css);

@-moz-keyframes DocumentFadeIn
{
    0%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 1;
    }
}

@-webkit-keyframes DocumentFadeIn
{
    0%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 1;
    }
}

@keyframes DocumentFadeIn
{
    0%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 1;
    }
}

/* architecture */
workspace
{
    display: block;
    width:   100%;
    height:  100%;
}

wks-document
{
    display:        block;
    height:         calc(100% - 60px);
    padding-bottom: 60px;

}

.print-style wks-document
{
    padding-bottom: 0;
}

.print-style editor
{
    min-height:  0;
    display:     inline;
    font-family: "Open Sans", sans-serif;
}

.print-style .wks-page
{
    -moz-animation:    none;
    -webkit-animation: none;
    animation:         none;
}

.wks-page
{
    -moz-animation-name:               DocumentFadeIn;
    -moz-animation-iteration-count:    1;
    -moz-animation-timing-function:    cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-animation-duration:           0.5s;

    -webkit-animation-name:            DocumentFadeIn;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -webkit-animation-duration:        0.5s;

    animation-name:                    DocumentFadeIn;
    animation-iteration-count:         1;
    animation-timing-function:         cubic-bezier(0.645, 0.045, 0.355, 1.000);
    animation-duration:                0.5s;
}

editor
{
    background-color: #D7E1EA;
    min-height:       1130px;
    display:          block;
}

.editor-templates
{
    height:      220px;
    white-space: nowrap;
    overflow-x:  auto;
}

.editor-templates::-webkit-scrollbar
{
    display: none;
}

.editor-templates::-webkit-scrollbar-thumb
{
    background-color: rgba(255, 255, 255, 0.5);
}

.wks-document-container
{
    vertical-align: top;
    width:          100%;
    height:         100%;
    padding:        30px 15px;
    position:       relative;
}

.print-style .wks-document-container
{
    padding: 0;
}

.wks-page
{
    display:       block;
    width:         700px;
    height:        990px;
    background:    #FFFFFF;
    border:        1px solid #CCCCCC;
    border-radius: 3px;
    margin-bottom: 100px;
    position:      relative;
}

.print-style .wks-page
{
    border-radius: 0;
    border:        0;
    margin:        0;
}

.page-background-image
{
    position:        absolute;
    left:            0;
    top:             0;
    width:           100%;
    height:          100%;
    z-index:         0;
    background-size: 100% 100%;
}

.page-background-image img
{
    width:   100%;
    height:  100%;
    display: block;
}

.page-content
{
    position: absolute;
    left:     0;
    top:      0;
    width:    100%;
    height:   100%;
}

.wks-element
{
    position: relative;
}

wks-line,
wks-text-block,
wks-lines-page,
wks-document-widget
{
    display:  block;
    position: relative;
}

wks-footer
{
    display: block;
}

.read-only wks-line
{
    cursor: default;
}

/* tools */
.document-tools
{
    vertical-align: top;
    padding:        15px;
    height:         60px;
    width:          100%;
}

.print-style .document-tools
{
    display: none;
}

.document-button:first-child
{
    border-top-left-radius:    3px;
    border-bottom-left-radius: 3px;
    margin:                    0;
}

.document-button:last-child
{
    border-top-right-radius:    3px;
    border-bottom-right-radius: 3px;
    border:                     0;
}

.document-button
{
    display:          inline-block;
    color:            #FFFFFF;
    background-color: #1E95D3;
    padding:          8px 15px;
    margin:           0 0 0 -4px;
    vertical-align:   middle;
    font-size:        13px;
    line-height:      18px;
    cursor:           pointer;
    border-right:     1px solid #1E87BF;
}

.document-button.active,
.document-button:hover
{
    background-color: #1E87BF;
}

.toolbar-button
{
    display:        inline-block;
    position:       relative;
    color:          #333333;
    padding:        4px 10px;
    vertical-align: middle;
    margin-bottom:  4px;
    font-size:      13px;
    line-height:    18px;
    cursor:         pointer;
    border-style:   solid;
    border-width:   1px;
    border-color:   rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.page-toolset
{
    width:             32px;
    position:          absolute;
    left:              50%;
    margin-top:        7px;
    -webkit-transform: translateX(-50%);
    -moz-transform:    translateX(-50%);
    transform:         translateX(-50%);
}

.print-style .page-toolset
{
    display: none;
}

.document-discount
{
    width: 60px;
}

.template-settings
{
    margin-top: 10px;
}

/* buttons */
.wks-button.wks-button-on-black
{
    color:        #FFFFFF;
    border-color: #FFFFFF;
    line-height:  16px;
}

/* wks hover button */
.wks-hover-button
{
    position: relative;
    cursor:   pointer;
}

.page-toolset .wks-hover-button
{
    background: #FFFFFF;
}

/*.writeable .wks-hover-button.wks-hover-highlight:hover .table-body-cell*/
/*{*/
/*background: background: rgba(30, 150, 211, .2);*/
/*}*/

/*.writeable .wks-hover-button:hover .wks-dropdown*/
/*{*/
/*visibility:       visible;*/
/*transition:       visibility 0;*/
/*transition-delay: .3s;*/
/*}*/

.ui-sortable-helper .wks-hover-button:hover > .wks-dropdown
{
    visibility: hidden;
}

/* wks click button */
.wks-click-button
{
    position:           relative;
    cursor:             pointer;
    -webkit-transition: background .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), border .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition:    background .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), border .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition:         background .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), border .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    background:         transparent;
    border:             1px solid transparent;
    padding:            5px;
    margin:             -6px;
}

/*.wks-click-button:hover*/
/*{*/
/*border-color: rgba(30, 150, 211, .4);*/
/*background:   rgba(30, 150, 211, .4);*/
/*}*/

/* common wks-dropdown */
/*.wks-dropdown.dropdown-left*/
/*{*/
/*left: 0;*/
/*}*/

/*.wks-dropdown.dropdown-right*/
/*{*/
/*right: 0;*/
/*}*/

/*.wks-dropdown.dropdown-center-150*/
/*{*/
/*width: 150px;*/
/*left:  -59px;*/
/*}*/

/*.wks-dropdown.dropdown-left-minus-100*/
/*{*/
/*left: -100px;*/
/*}*/

/*.wks-dropdown.dropdown-top.dropdown-multiple-items*/
/*{*/
/*bottom:         0;*/
/*padding-bottom: 48px;*/
/*}*/

/*.wks-dropdown.dropdown-top.dropdown-single-item*/
/*{*/
/*top: -56px;*/
/*}*/

/*.wks-dropdown.dropdown-top:after*/
/*{*/
/*position: absolute;*/
/*bottom:   33px;*/
/*content:  '';*/
/*}*/

/*.wks-dropdown.dropdown-top.dropdown-single-item:after*/
/*{*/
/*bottom: 11px;*/
/*}*/

/*.wks-dropdown.dropdown-left-minus-100:after*/
/*{*/
/*left: 120px;*/
/*}*/

/*.wks-dropdown.dropdown-left:after*/
/*{*/
/*left: 24px;*/
/*}*/

/*.wks-dropdown.dropdown-center-150:after*/
/*{*/
/*left: 65px;*/
/*}*/

/*.wks-dropdown.dropdown-right:after*/
/*{*/
/*right: 24px;*/
/*}*/

/*.wks-dropdown.dropdown-bottom*/
/*{*/
/*top:        100%;*/
/*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.wks-dropdown.dropdown-bottom:after*/
/*{*/
/*position: absolute;*/
/*top:      -15px;*/
/*content:  '';*/
/*}*/

.dropdown-body
{
    background: #FFFFFF;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 #EEEEEE;
    border:     1px solid #CCCCCC;
}

.dropdown-body-subset
{
    padding:    10px 0;
    margin:     0;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 #EEEEEE;
}

.dropdown-body-subset.gray-background
{
    background-color: #EFF4F8;
    box-shadow:       none;
}

.dropdown-button
{
    width:              100%;
    margin:             0;
    padding:            10px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    box-shadow:         inset 0 -1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 #EEEEEE;
    font-size:          1em;
    font-weight:        300;
    line-height:        1.31em;
    cursor:             pointer;
    white-space:        nowrap;
    text-align:         left;
}

.dropdown-button:hover
{
    background: #DDDDDD;
}

.dropdown-button:hover
{
    background: #F8F8F8;
}

.dropdown-button:first-child
{
    border-top-left-radius:  3px;
    border-top-right-radius: 3px;
}

.dropdown-single-item .dropdown-button
{
    border-radius: 3px;
}

.dropdown-body
{
    background: transparent;
}

.dropdown-body
{
    border: none;
}

.dropdown-body .dropdown-body-subset.heading
{
    padding: 15px 25px;
}

.dropdown-body-subset h3,
.dropdown-body-subset h4
{
    font-weight: 400;
    font-size:   20px;
    margin:      0;
}

.dropdown-body-subset h4.sub-heading
{
    font-weight: 400;
    font-size:   12px;
    margin-top:  7px;
}

.dropdown-body-subset .chosen-container .chosen-single *,
.dropdown-body textarea,
.dropdown-body input
{
    color: #1E95D3;
}

.dropdown-body input::-webkit-input-placeholder
{
    color: rgba(30, 149, 211, 0.36);
}

.dropdown-body input:-moz-placeholder
{
    color:   rgba(30, 149, 211, 0.36);
    opacity: 1;
}

.dropdown-body input::-moz-placeholder
{
    color:   rgba(30, 149, 211, 0.36);
    opacity: 1;
}

.dropdown-body input:-ms-input-placeholder
{
    color: rgba(30, 149, 211, 0.36);
}

.dropdown-body-subset .chosen-container .chosen-single *
{
    border: none;
}

.dropdown-body .wks-widget-body-col-left
{
    font-weight: 600;
}

.dropdown-body .dropdown-body-subset > div:first-child
{
    border-top: 1px solid #EEEEEE;
}

.dropdown-body .dropdown-body-subset .dropdown-button
{
    padding:     4px 10px;
    font-size:   13px;
    font-weight: 400;
    line-height: 18px;
}

/*.dropdown-body .dropdown-body-subset.no-padding-top*/
/*{*/
/*padding-top: 0;*/
/*}*/

/*.dropdown-body .dropdown-body-subset.no-padding-bottom*/
/*{*/
/*padding-bottom: 0;*/
/*}*/

.no-border:first-child,
.no-border
{
    border: none !important;
}

.dropdown-body .chosen-container-single .chosen-search input[type="text"]
{
    width: 100%;
}

.dropdown-close-screen
{
    position: absolute;
    right:    15px;
    top:      10px;
    width:    auto;
    height:   auto;
    border:   none;
    padding:  0px;
}

.dropdown-body-subset .chosen-container,
.dropdown-body-subset select
{
    width:       198px;
    margin-left: 2px;
}

/* close screen */
.dropdown-close-screen .document-button
{
    background:  transparent;
    border:      none;
    color:       #555555;
    font-size:   22px;
    padding:     5px;
    line-height: 10px;
}

/* page index */
.page-index
{
    position:   absolute;
    left:       auto;
    bottom:     0;
    background: rgba(0, 0, 0, 0.7);
    padding:    15px;
    width:      100%;
    z-index:    2;
}

.print-style .page-index
{
    display: none;
}

.page-index ul
{
    margin:       0;
    padding:      0;
    display:      inline-block;
    margin-right: 10px;
}

.mini-page
{
    width:          49px;
    height:         70px;
    border:         1px solid #CCCCCC;
    background:     #FFFFFF;
    position:       relative;
    margin-right:   5px;
    cursor:         pointer;
    padding:        5px;
    font-size:      9px;
    display:        inline-block;
    vertical-align: top;
}

.mini-page.current
{
    border-color: #1E95D3;
}

.mini-page.current:after
{
    content:    "";
    width:      100%;
    height:     100%;
    position:   absolute;
    top:        0;
    left:       0;
    background: rgba(30, 150, 211, .2);
}

.page-index .sortable-placeholder
{
    width:          49px;
    height:         70px;
    margin:         0 5px 0 0;
    display:        inline-block;
    vertical-align: top;
    border:         1px dashed #FFFFFF;
}

/* widgets */
.wks-widget
{
}

.front-lines-header .wks-widget
{
    position:    absolute;
    white-space: nowrap;
}

.template-inactive .wks-widget.hidden-widget
{
    display: none;
}

.wks-widget.hidden-widget .wks-widget-body
{
    opacity: 0.2;
}

.wks-widget-body .highlight
{
    background: rgba(30, 150, 211, .2);
    border:     1px solid rgba(30, 150, 211, .4);
    padding:    5px;
}

.template-active .wks-widget.hidden-widget
{
    background: rgba(255, 192, 203, 0.2);
}

.template-background-image-widget
{
    position:   absolute;
    right:      10px;
    top:        10px;
    width:      30px;
    height:     30px;
    background: rgba(30, 150, 211, .2);
    display:    none;
    cursor:     pointer;
}

.template-active .template-background-image-widget
{
    display: block;
}

.wks-click-button,
.wks-widget-click
{
    cursor: pointer !important;
}

.wks-reference,
.wks-footer,
.wks-move
{
    background:         transparent;
    border:             1px solid transparent;
    -webkit-transition: background .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), border .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition:    background .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), border .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition:         background .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), border .3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    padding:            5px;
    margin:             -6px;
}

.template-active .wks-reference,
.template-active .wks-footer,
.template-active .wks-move
{
    background:   rgba(30, 150, 211, .2);
    border-color: rgba(30, 150, 211, .4);
    padding:      5px;
    margin:       -6px;
}

.template-active .wks-move
{
    cursor: move;
}

.template-active .wks-reference:hover,
.template-active .wks-footer:hover,
.template-active .wks-move:hover
{
    background: rgba(30, 150, 211, .4);
}

.wks-box .ui-resizable-handle
{
    border: 1px solid rgba(30, 150, 211, .4);
}

.template-active .front-lines-padding-bar
{
    border: 1px solid rgba(30, 150, 211, .4);
}

.template-active .front-lines-padding-bar:after
{
    background: rgba(30, 150, 211, .2);
    border:     1px solid rgba(30, 150, 211, .4);
}

.template-active .wks-widget-vertical:after
{
    background: rgba(30, 150, 211, .2);
    border:     1px solid rgba(30, 150, 211, .4);
}

.template-background-image-widget
{
    background:    rgba(30, 150, 211, .2);
    border:        1px solid rgba(30, 150, 211, .4);
    padding:       8px 7px 4px;
    border-radius: 20px;
    width:         auto;
    height:        auto;
}

.template-background-image-widget:hover
{
    background: rgba(30, 150, 211, .4);
}

.template-background-image-widget:after
{
    content:        "\e672";
    width:          9px;
    height:         9px;
    /* background: #cccccc; */
    /* position: absolute; */
    /* left: 21px; */
    /* top: 11px; */
    /* border-radius: 10px; */
    font-size:      17px;
    /* font-weight: 600; */
    /* text-align: center; */
    /* text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); */
    color:          rgba(30, 150, 211, 1);
    /* line-height: 13px; */
    /* margin: 13px 0 0 13px; */
    z-index:        1;
    pointer-events: none;
    /* border: 2px solid white; */
    font-family:    Linearicons;
}

/* widget content */
.wks-widget-logo
{
    min-height: 20px;
}

.wks-widget-my-address textarea,
wks-footer textarea
{
    padding:     6px;
    resize:      none;
    width:       250px;
    height:      120px;
    font-family: inherit;
    font-size:   inherit;
    line-height: inherit;
}

wks-search-and-add
{
    display: block;
    margin:  8px 0;
    width:   300px;
}

.search-widget-search
{
    margin-bottom: 4px;
}

.search-widget-body
{
    width:       100%;
    overflow:    auto;
    white-space: normal;
}

.search-widget-option
{
    background:     #AAAAAA;
    vertical-align: middle;
    color:          #FFFFFF;
    border-radius:  8px;
    padding:        8px 6px 4px;
    display:        inline-block;
    margin:         2px;
    font-size:      10px;
    line-height:    10px;
    cursor:         pointer;
}

.search-widget-option:hover
{
    background-color: #000000;
}

.wks-widget-body-left
{
    display:       inline-block;
    padding-right: 8px;
    width:         95px;
}

.wks-widget-body-right
{
    display:   inline-block;
    min-width: 100px;
}

wks-customer
{
    display: block;
    width:   400px;
}

wks-background
{
    width:   375px;
    display: block;
}

wks-line-widget
{
    width:   400px;
    display: block;
}

.subs-set-subheader
{
    min-height: 50px;
}

.sortable-elements
{
    min-height: 27px;
}

.wks-widget-body-col-left
{
    display:       inline-block;
    text-align:    right;
    padding-right: 6px;
    width:         120px;
    color:         #555555;
}

.wks-widget-body-col-right
{
    display:   inline-block;
    max-width: 205px;
}

.wks-widget-body-col-right .chosen-container,
.wks-widget-body-col-right input
{
    padding: 5px;
}

.wks-widget-body-col-right input.input-postal-code
{
    width:        60px;
    margin-right: 10px;
}

.wks-widget-body-col-right input.input-city
{
    width: 90px;
}

/* elements table */
.front-lines-content table
{
    border-collapse: collapse;
    border-spacing:  0;
}

.front-lines-content table tr
{
    border-bottom: 1px solid #999999;
}

.front-lines-content table .table-header
{
    font-weight:    700;
    padding:        8px 0;
    border-bottom:  1px solid #999999;
    vertical-align: top;
}

.front-lines-content table tr.lines-row-odd td
{
    background: rgba(0, 0, 0, 0.05);
}

.front-lines-content table thead tr td
{
    font-weight: 700;
}

.front-lines-content table tr td
{
    padding: 5px;
}

wks-text-block
{
    margin: 5px 0;
}

/* footer */
.footer-bold
{
    font-weight: 700;
}

.template-active wks-footer
{
    cursor: pointer;
}

.wks-footer-sticky
{
    position: absolute;
    top:      850px;
}

.footer-content
{
    padding-top: 10px;
    margin-top:  24px;
}

.footer-left
{
    vertical-align: top;
    width:          70%;
    display:        inline-block;
}

.footer-right
{
    vertical-align: top;
    display:        inline-block;
    text-align:     right;
    margin-left:    -4px;
    width:          30%;
}

.footer-description
{
    width:      65%;
    text-align: left;
    display:    inline-block;
}

.footer-amount
{
    width:       35%;
    margin-left: -4px;
    display:     inline-block;
    text-align:  right;
}

/* overflow */
.wks-overflow.wks-dropdown
{
    visibility: visible !important;
    opacity:    1 !important;
}

.wks-overflow .wks-widget-body-row
{
    padding: 10px 15px;
}

/* front lines */
.font-lines-header
{
    position: relative;
}

.wks-widget-logo
{
    border: 1px solid transparent;
}

.wks-widget-logo .wks-front-lines-logo
{
    width:   100%;
    height:  auto;
    display: block;
}

.front-lines-header
{
    position: relative;
}

.front-lines-header-bar
{
    height:   2px;
    position: absolute;
}

.front-lines-header-bar-label
{
    font-family: "Open Sans", ​ "lucida grande", ​ "Myriad Pro", ​Arial;
    position:    absolute;
    top:         -60px;
    left:        0;
    font-size:   24px;
    line-height: 36px;
    font-style:  italic;
    font-weight: 700;
}

.front-lines-header-bar-label .wks-reference
{
    font-size:   11px;
    line-height: 14px;
    font-style:  normal;
    font-weight: 400;
    white-space: nowrap;
}

.front-lines-header-bar-label .wks-reference .vat-shift
{
    font-weight: 700;
}

.template-active .wks-widget-vertical:after
{
    position:      absolute;
    left:          calc(50% - 20px);
    width:         40px;
    height:        40px;
    background:    rgba(30, 150, 211, .2);
    border-radius: 20px;
    top:           -20px;
    cursor:        row-resize;
    content:       '';
}

.front-lines-padding-bar
{
    width:      2px;
    height:     300px;
    background: rgba(30, 150, 211, .2);
    display:    none;
}

.template-active .front-lines-padding-bar
{
    display:  block;
    position: absolute !important;
}

.template-active .front-lines-padding-bar:after
{
    position:      absolute;
    top:           calc(50% - 20px);
    width:         40px;
    height:        40px;
    background:    rgba(30, 150, 211, .2);
    border-radius: 20px;
    left:          -20px;
    cursor:        ew-resize;
    content:       '';
}

.front-lines-content
{
    margin-top:     10px;
    padding-bottom: 30px;
    /* left and right via template */
    /*display:        flex;*/
    /*flex-direction: column;*/
}

[print] .front-lines-content,
[print] .front-lines-content > [ng-model="model.children"],
[print] .front-lines-content > [ng-model="model.children"] > *:last-child,
[print] .front-lines-content > [ng-model="model.children"] > *:last-child .wks-text-block,
[print] .front-lines-content [ng-model="model.children"] > *:last-child .wks-text-block .text-block-row
{
    display:  block;
    /*overflow: hidden;*/
}

/*.front-lines-content > [ng-model="model.children"]*/
/*{*/
/*display:        flex;*/
/*flex-direction: column;*/
/*}*/

/*.front-lines-content > [ng-model="model.children"] > *:last-child,*/
/*.front-lines-content > [ng-model="model.children"] > .overflowing:last-child .wks-text-block*/
/*{*/
/*display: flex;*/
/*}*/

/*.front-lines-content [ng-model="model.children"] > .overflowing:last-child .wks-text-block .text-block-row.overflowing*/
/*{*/
/*display:        flex;*/
/*flex-direction: column;*/
/*overflow:       hidden;*/
/*}*/

.page-lines-page .front-lines-content
{
    padding-top: 30px;
}

.front-lines-content ul
{
    margin:  0;
    padding: 0;
}

.front-lines-content ul li
{
    list-style: none;
}

/* sortable */
.ui-sortable-helper
{
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #FFFFFF;
    position:   absolute;
}

.ui-sortable-helper *
{
    opacity:    0;
    visibility: hidden;
}

.ui-sortable-helper:after
{
    content:  "";
    width:    100%;
    height:   100%;
    position: absolute;
    top:      0;
    left:     0;
}

.lines-row-odd.ui-sortable-helper
{
    background: #F1F1F1;
}

.sortable-placeholder
{
    background:         rgba(30, 150, 211, .2);
    border:             1px solid rgba(30, 150, 211, .4);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
}

/* datepicker */
.ui-datepicker
{
    z-index:    1000;
    width:      17em;
    width:      500px;
    padding:    .2em .2em 0;
    display:    none;
    position:   absolute;
    padding:    100px 20px;
    top:        100px;
    left:       50%;
    margin-top: -100px;
}

/* dropzone */
.dropzone.dz-drag-hover
{
    background: rgba(30, 150, 211, .2);
}

.dropzone .dz-image
{
    width:      100%;
    max-height: 100px;
    overflow:   hidden;
}

.dropzone .dz-image img
{
    width:         100%;
    height:        auto;
    display:       block;
    margin-bottom: 6px;
}

.dropzone .dz-success-mark,
.dropzone .dz-error-mark
{
    display: none;
}

html.print-style,
html.print-style body
{
    margin:  0;
    padding: 0;
}

.print-style .wks-document-container
{
    overflow: hidden;
}

.front-lines-header-bar-label .wks-reference span
{
    white-space: nowrap;
}

wks-document .text-block-row ul,
wks-document .text-block-row ol,
wks-document .test-div ul,
wks-document .test-div ol
{
    padding: 0 0 0 25px;
}

wks-document .text-block-row ul,
wks-document .test-div ul
{
    list-style-type: circle;
}

wks-document .text-block-row ul li,
wks-document .test-div ul li
{
    list-style: circle;
}

wks-document table tr td
{
    position: relative;
}

.page-background-image
{
    width:    100%;
    height:   100%;
    overflow: hidden;
}

.wks-button
{
    display:        inline-block;
    color:          #5BB75B;
    text-align:     center;
    padding-top:    8px;
    font-size:      26px;
    line-height:    21px;
    cursor:         pointer;
    border:         1px solid #5BB75B;
    width:          35px;
    height:         35px;
    border-radius:  35px;
    position:       relative;
    vertical-align: top;
}

editor
{
    font-size:   12px;
    line-height: 16px;
}

editor *
{
    box-sizing:         border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
}

.wks-widget .wks-dropdown
{
    min-width: 225px;
}

.wks-hover-button:hover .overflowing ~ .wks-dropdown,
.wks-hover-button:hover .overflowing > .wks-dropdown
{
    visibility: hidden;
    opacity:    0;
}

.wks-dropdown
{
    background:         #FFFFFF;
    margin-top:         3px;
    position:           absolute;
    top:                100%;
    left:               auto;
    border-radius:      3px;
    box-shadow:         0 5px 15px rgba(0, 0, 0, 0.1);
    color:              #555555;
    font-size:          13px;
    font-style:         normal;
    font-weight:        400;
    visibility:         hidden;
    overflow:           visible;
    opacity:            0;
    -webkit-transition: opacity .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), visibility 0s linear .3s;
    -moz-transition:    opacity .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), visibility 0s linear .3s;
    transition:         opacity .3s cubic-bezier(0.645, 0.045, 0.355, 1.000), visibility 0s linear .3s;
    z-index:            91;
    cursor:             default;
}

.wks-dropdown.wks-click-dropdown
{
    opacity:    1;
    visibility: visible;
}

.wks-dropdown.top
{
    -webkit-transform: translateX(-50%);
    -moz-transform:    translateX(-50%);
    transform:         translateX(-50%);
    box-shadow:        0 10px 15px rgba(0, 0, 0, 0.1);
    top:               auto;
    bottom:            100%;
    margin-top:        0;
    margin-bottom:     3px;
    padding-bottom:    0;
}

.wks-dropdown.left
{
    left:              100%;
    -webkit-transform: translateX(-100%);
    -moz-transform:    translateX(-100%);
    transform:         translateX(-100%);
}

.wks-dropdown.center
{
    left:              50%;
    -webkit-transform: translateX(-50%);
    -moz-transform:    translateX(-50%);
    transform:         translateX(-50%);
}

.wks-dropdown.right
{
    right:             100%;
    -webkit-transform: translateX(100%);
    -moz-transform:    translateX(100%);
    transform:         translateX(100%);
}

.wks-widget .wks-dropdown,
.wks-hover-button:hover .wks-dropdown
{
    opacity:            1;
    visibility:         visible;
    -webkit-transition: opacity .3s cubic-bezier(0.645, 0.045, 0.355, 1.000) 0.1s, visibility 0s linear .4s;
    -moz-transition:    opacity .3s cubic-bezier(0.645, 0.045, 0.355, 1.000) 0.1s, visibility 0s linear .4s;
    transition:         opacity .3s cubic-bezier(0.645, 0.045, 0.355, 1.000) 0.1s, visibility 0s linear .4s;
}

.wks-dropdown:after
{
    width:             0;
    height:            0;
    background:        transparent;
    content:           "";
    position:          absolute;
    bottom:            100%;
    -webkit-transform: translateX(-50%);
    -moz-transform:    translateX(-50%);
    transform:         translateX(-50%);
    left:              50%;
    right:             auto;
    top:               auto;
    margin:            0;
    border-style:      solid;
    border-width:      0 7px 10px;
    border-color:      transparent transparent #FFFFFF;
    z-index:           11;
}

.wks-dropdown.left:after
{
    left:              auto;
    right:             0;
    -webkit-transform: translateX(-50%);
    -moz-transform:    translateX(-50%);
    transform:         translateX(-50%);
}

.wks-dropdown.right:after
{
    right:             auto;
    left:              0;
    -webkit-transform: translateX(50%);
    -moz-transform:    translateX(50%);
    transform:         translateX(50%);
}

.wks-dropdown.center:after
{
    -webkit-transform: translateX(-50%);
    -moz-transform:    translateX(-50%);
    transform:         translateX(-50%);
    left:              50%;
}

.wks-dropdown.top:after
{

    border-width: 10px 7px 0;
    border-color: #FFFFFF transparent transparent;
    top:          100%;
    bottom:       auto;
    right:        auto;
    margin:       -1px 0 0;
}

.wks-dropdown textarea,
.wks-dropdown input
{
    border: 1px solid #DDDDDD;
}

.wks-dropdown textarea
{
    padding: 5px;
}

.wks-widget-body-col-right input
{
    width: 205px;
}

.wks-widget-body-col-right input.input-postal-code
{
    width: 60px;
}

.wks-widget-body-col-right input.input-city
{
    width: 135px;
}

wks-search-and-add
{
    width: auto;
}

.wks-widget-my-address textarea, wks-footer textarea
{
    width:  300px;
    height: 120px;
}

.wks-widget-body-row
{
    border-bottom: 1px solid #EEEEEE;
    padding:       5px 15px 5px 25px;
    margin:        0;
}

.wks-widget-body-row > div
{
    vertical-align: middle;
}

.wks-widget-body-col-left
{
    text-align: left;
    width:      150px;
}

.wks-widget-body-col-right
{
}

.wks-widget-body-col-right input
{
    border: 1px solid #EEEEEE;
}

.wks-widget-body-row subs-set-subheader
{
    min-height: 0;
}

.wks-document-container .wks-button
{
    line-height: 16px;
}

.layout-editor-holder .layout-picker
{
    background:         #393941;
    overflow:           hidden !important;
    height:             0;
    -webkit-transition: height 1s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear;
    -moz-transition:    height 1s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear;
    transition:         height 1s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear;
}

.layout-editor-holder.show .layout-picker
{
    height:             150px;
    overflow:           visible !important;
    -webkit-transition: height 1s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 1s;
    -moz-transition:    height 1s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 1s;
    transition:         height 1s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 1s;
}

.layout-editor-holder .layout-picker .template
{
    display:            inline-block;
    width:              90px;
    margin:             10px 0px 10px 10px;
    opacity:            .7;
    border:             2px solid white;
    border-radius:      3px;
    box-shadow:         0px 3px 10px black;
    height:             125px;
    -webkit-transition: opacity 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition:    opacity 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition:         opacity 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    cursor:             pointer;
    position:           relative;
}

.layout-editor-holder .layout-picker .template .button-menu
{
    margin-left: 0px !important;
}

.layout-editor-holder .layout-picker .template .button-menu-dropdown-holder
{
    width: 100px !important;
}

.layout-editor-holder .layout-picker .template .button-holder
{
    position:      absolute !important;
    display:       inline-block;
    position:      absolute;
    background:    gray;
    width:         20px;
    text-align:    center;
    height:        20px;
    border-radius: 30px;
    line-height:   22px;
    margin:        4px 0px 0px 65px;
    color:         white;
    opacity:       0;
    z-index:       100;
}

.layout-editor-holder .layout-picker .template:hover .button-holder
{
    opacity: 1;
}

.layout-editor-holder .layout-picker .template[data-special="template-add"]
{
    border: 2px solid rgba(255, 255, 255, .3);
}

.layout-editor-holder .layout-picker .template[data-special="template-add"]:hover
{
    opacity: 1;
    border:  2px solid #5BB75B !important;
}

.layout-editor-holder .layout-picker .template[selected],
.layout-editor-holder .layout-picker .template:hover
{
    opacity: 1;
    border:  2px solid #1E95D3;
}

.layout-editor-holder .layout-picker .template .template-thumbnail
{
    width:  90px;
    height: 125px;
}

.layout-editor-holder .layout-picker .template .template-title
{
    position:       absolute;
    width:          90px;
    white-space:    nowrap;
    text-overflow:  ellipsis;
    overflow:       hidden;
    background:     rgba(0, 0, 0, 0.7);
    color:          white;
    box-sizing:     border-box;
    padding:        3px 7px 3px 7px;
    font-size:      .8em;
    font-weight:    600;
    text-transform: uppercase;
    bottom:         0px;
}

.layout-editor-holder .layout-picker .template .template-standard
{
    position:       absolute;
    width:          90px;
    white-space:    nowrap;
    text-overflow:  ellipsis;
    overflow:       hidden;
    background:     rgba(0, 150, 0, 0.8);
    color:          white;
    box-sizing:     border-box;
    padding:        3px 7px 3px 7px;
    font-size:      .7em;
    font-weight:    600;
    text-transform: uppercase;
    bottom:         20px;
}

.layout-editor-holder .layout-picker .template[selected]:before
{
    content:            "";
    width:              0;
    height:             0;
    border-right:       5px solid transparent;
    border-bottom:      7px solid white;
    border-left:        5px solid transparent;
    position:           absolute;
    margin-left:        43px;
    opacity:            1;
    margin-top:         131px;
    z-index:            32;
    -webkit-transform:  translateX(-50%);
    -moz-transform:     translateX(-50%);
    transform:          translateX(-50%);
    -webkit-transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition:    opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition:         opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.layout-editor-holder .layout-picker .add-button
{
    display:       inline-block;
    width:         90px;
    margin:        10px 0px 10px 10px;
    opacity:       .7;
    border:        1px solid white;
    border-radius: 3px;
    box-shadow:    0px 3px 10px black;
    height:        125px;
}

.layout-editor-holder .layout-settings
{
    background:         #FFFFFF;
    height:             0px;
    overflow:           hidden;
    -webkit-transition: height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 1.2s;
    -moz-transition:    height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 1.2s;
    transition:         height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 1.2s;
}

.layout-editor-holder.show .layout-settings
{
    height:             40px;
    border-color:       rgba(204, 204, 204, 255);
    box-shadow:         0px 2px 10px rgba(0, 0, 0, 0.1);
    overflow:           visible;
    -webkit-transition: height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 0s;
    -moz-transition:    height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 0s;
    transition:         height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 0s;
}

.layout-editor-holder.show .layout-picker
{
    overflow:           visible;
    -webkit-transition: height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 0s;
    -moz-transition:    height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 0s;
    transition:         height 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), border-color 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000), overflow 0s linear 0s;
}

.layout-editor-holder .layout-settings .layout-setting
{
    height:       40px;
    min-width:    40px;
    border-right: 1px solid #DDDDDD;
    float:        left;
    cursor:       pointer;
}

.layout-editor-holder .layout-settings .layout-setting .setting-colorpicker
{
    margin-left: 10.5px;
    margin-top:  10.5px;
}

.layout-editor-holder .layout-settings .layout-setting:hover
{
    background: #1885B9;
}

wks-lines-set
{
    width: 100%;
}

[print] .wks-dropdown
{
    display: none;
}

.wks-footer-advertisement
{
    width:             100%;
    position:          absolute;
    padding:           30px;
    bottom:            0;
    left:              50%;
    text-align:        center;
    -webkit-transform: translateX(-50%);
    -moz-transform:    translateX(-50%);
    transform:         translateX(-50%);
    white-space:       nowrap;
}

.wks-footer-advertisement > .wks-footer-advertisement-text
{
    display: inline;
}

.wks-footer-advertisement-remove
{
    cursor:         pointer;
    border-radius:  50%;
    border:         1px solid #BD362F;
    display:        inline-block;
    width:          20px;
    height:         20px;
    line-height:    18px;
    text-align:     center;
    letter-spacing: -1px;
    color:          #BD362F;
}

[print] .wks-footer-advertisement-remove
{
    display: none;
}

.ui-slider
{
    position:   relative;
    text-align: left;
}

.ui-slider .ui-slider-handle
{
    position: absolute;
    z-index:  2;
    width:    1.2em;
    height:   1.2em;
    cursor:   default;
}

.ui-slider .ui-slider-range
{
    position:            absolute;
    z-index:             1;
    font-size:           .7em;
    display:             block;
    border:              0;
    background-position: 0 0;
}

.ui-slider-horizontal
{
    height: .8em;
}

.ui-slider-horizontal .ui-slider-handle
{
    top:         -.3em;
    margin-left: -.6em;
}

.ui-slider-horizontal .ui-slider-range
{
    top:    0;
    height: 100%;
}

.ui-slider-horizontal .ui-slider-range-min
{
    left: 0;
}

.ui-slider-horizontal .ui-slider-range-max
{
    right: 0;
}

.ui-timepicker-div .ui-widget-header
{
    margin-bottom: 8px;
}

.ui-timepicker-div dl
{
    text-align: left;
}

.ui-timepicker-div dl dt
{
    float:   left;
    clear:   left;
    padding: 0 0 0 5px;
}

.ui-timepicker-div dl dd
{
    margin: 0 10px 10px 40%;
}

.ui-timepicker-div td
{
    font-size: 90%;
}

.ui-tpicker-grid-label
{
    background: none;
    border:     none;
    margin:     0;
    padding:    0;
}

.ui-timepicker-div .ui_tpicker_unit_hide
{
    display: none;
}

.ui-slider-handle
{
    border:        1px solid #C4C4C4;
    background:    rgb(255, 255, 255); /* Old browsers */
    background:    -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 100%); /* FF3.6+ */
    background:    -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(242, 242, 242, 1))); /* Chrome,Safari4+ */
    background:    -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 100%); /* Chrome10+,Safari5.1+ */
    background:    -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 100%); /* Opera 11.10+ */
    background:    -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 100%); /* IE10+ */
    background:    linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(242, 242, 242, 1) 100%); /* W3C */
    filter:        progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2', GradientType=0); /* IE6-9 */
    border-radius: 3px;
    height:        20px;
}

.ui-slider-horizontal
{
    border: 1px solid #C4C4C4;
}