/**
 * @version     4.0.0
 * @package     com_secretary ( sufw-version )
 * @author       Mario Gerhold
 * @copyright    Copyright (C) 2020 Mario Gerhold
 *
 *
 * Based on com_secretary version 3.2.0 from Fjodor Schaefer
 * Copyright (C) 2015-2017 Fjodor Schaefer. Published under the MIT License in 2017
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 * 
 */
 
*{box-sizing: border-box;}

/********* overall classes **********************************************************************/

body {padding:0;}
body a{color:#08c;cursor:pointer;}
.fullwidth,#adminForm{width:100%;display:block; }
.fullwidth::before,.fullwidth::after { content: "";display: table;line-height: 0;}
.fullwidth::after {clear: both;}

.margin-top{margin-top:20px}
.margin-bottom{margin-bottom:40px;}
.margin-right{margin-right:20px;}
/*.secretary-topbar-right ul li,.nav-headline-text,ul.secretary-nav > li.headline,ul.secretary-nav li a span.nav-item-text{font-family:Verdana, Geneva, sans-serif;}*/

.secretary-responsive{ overflow-y: hidden;width: 100%;min-height: 0.01%;overflow-x: auto;}
.secretary-main-container ul { list-style-position: outside; }

/********* Layout *******************************************************************************/

body .secretary-container{font-size:14px;}
.secretary-container::after { clear: both; content: ""; display: table; line-height: 0;}
.secretary-sidebar-container{position:relative;float:left;width:15%;margin-bottom:1px;padding-bottom:30px;}
.secretary-sidebar-container + .secretary-container{margin-left:15%;background:#fff;}
.secretary-main-container,.secretary-topbar-container{float:left;width:100%;display:table}
.secretary-main-container .secretary-main-area{width:100%;background-color:#fff;padding:20px;position:relative;z-index:16}
.secretary-footer{width:100%;display:block;padding:20px 0 50px;border-top:1px solid #ccc;float:left;}
.secretary-main-area.secretary-document{padding:0 !important;}
.secretary-main-area.secretary-assignment{padding:0 !important;}
.secretary-main-area-blank{background:none !important;border-color:#dedede !important;}

select#jform_subject_predefined { width: 90%; }

.secretary-main-container-left{width:80%;float:left;border-right:1px solid #c6ccce;margin-left:1px;}
.secretary-main-container-right{padding:9px 0 9px 12px;overflow:hidden;width:20%;float:right;margin-left:-1px;border-left:1px solid #c6ccce;}
body.admin .secretary-main-container-right{padding:9px 12px 18px;}
body.admin .secretary-main-container .secretary-main-area{border-top: 1px solid #c6ccce; border-top:none;padding:20px;}

/********* Topbar *******************************************************************************/

.secretary-topbar-container{min-height:40px;border-bottom-width:1px;border-bottom-style:solid;position:relative;z-index:11}
.secretary-topbar-container .secretary-toggle-sidebar{float:left;display:none;height:30px;margin:10px 0 10px 4px;}
.secretary-toggle-sidebar .icon-bar{background-color: #f5f5f5;border-radius: 1px;box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);display: block;height: 2px; width: 18px;margin-top:3px;}

.secretary-topbar-business{float:left;}
.secretary-topbar-business .topbar-title{font-size:16px;padding-left:15px;line-height:40px;}
.secretary-topbar-business .topbar-logo{text-align:center;padding:0 8px;}
.secretary-topbar-business .topbar-logo img{max-height:60px;}
.secretary-topbar-brand {min-width:15%; padding:15px;}
.secretary-topbar-brand img {width:100%;}
.secretary-topbar-brand-title {z-index:9;position:relative;line-height:40px;padding-left:16px;text-transform:uppercase;font-family:Verdana,Geneva,sans-serif;font-size:16px;letter-spacing:3px;font-weight:600;}
.secretary-topbar-right{float:right;}
.secretary-topbar-right ul,.secretary-footer ul{list-style:none}
.secretary-topbar-right ul li,.secretary-footer ul li{display:inline-block;padding:0 10px;margin:10px 0;height:20px;line-height:20px;border-right:1px solid #ddd;font-size:12px;}
.secretary-topbar-right ul li:last-child,.secretary-footer ul li:last-child{border-right:none;}
.secretary-topbar-right ul li a,.secretary-footer ul li a{color:#666;}
.secretary-topbar-right ul li.secretary-template-color{padding:3px;background-color:#ccc;}
.secretary-template-green{height:16px;width:16px;background-color:#390;display:block;}
.navbar-messages-count{margin-left:4px;padding:4px 7px;}

/********* Toolbar *******************************************************************************/

.secretary-toolbar{margin-bottom:15px;}
.secretary-toolbar .btn{float:left;border-color:#ccc;margin:0 7px 7px 0;padding:6px 12px;color:#555;vertical-align:top;min-height:32px;font-size:13px;}
.secretary-toolbar .btn-saveentry{background-color:#D5E6D3;border-color:#9EC896;color:#50755D;}
.secretary-toolbar .btn-saveentry:hover{background-color:#9EC896;color: #fff;text-shadow:none;}
.secretary-toolbar button span.fa {margin-right: 4px;}

.secretary-container .btn-newentry {background-color: #DCE8F2;border-color: #BCCCDB;color: #4C83B3;}
.secretary-container .btn-newentry:hover{background-color:#7EB3E0;color: #fff;text-shadow:none;}

.secretary-toolbar .btn-category {border-right:1px solid #ddd;float:left;margin-right:10px;padding-right:5px;}
.toolbar-view-setup {padding:0 0 0 15px;}
.toolbar-view-text{float:left;display:block;margin-right:14px;font-size:13px;padding:6px 0;}

/********* Left Sidebar Menu *******************************************************************************/

ul.accordion{display:none;}
ul.accordion.out{display:block;}
div.sidebar-nav{border-right: 1px solid #ddd;padding-bottom: 20px; margin-right: -1px;margin-top:-10px}
ul.secretary-nav .accordion{margin:0;}
ul.secretary-nav, ul.secretary-nav > li{margin:0;list-style:none;padding:0}
div.sidebar-nav ul.secretary-nav ul{margin:0 0 0 18px;padding:0}
div.sidebar-nav ul.secretary-nav ul.nav-acc-categories{margin-left:-12px !important;}
div.sidebar-nav ul.secretary-nav ul.nav-acc-categories li{list-style:none;}
div.sidebar-nav ul.secretary-nav ul.accordion.out li:last-child{margin-bottom:10px;}

div.sidebar-nav ul.secretary-nav ul li{list-style:square;}
ul.secretary-nav > li{display:block;padding-left:15px;position:relative;}
ul.secretary-nav > li li{padding:0 12px 0 9px;}
ul.secretary-nav li a{cursor:pointer;font-size:13px;display:inline-block;padding:6px 0;width:100%;}
ul.secretary-nav li a:hover{text-decoration:none;}
ul.secretary-nav li a:hover .nav-item-text{text-decoration:underline;}
ul.secretary-nav li li a{border:none;}
ul.secretary-nav li:first-child > a {border-top:none;}
ul.secretary-nav li:last-child > a{border-bottom:none;} 
ul.secretary-nav > li.active > a,ul.secretary-nav ul > li.active > a{font-weight:bold;}
ul.secretary-nav li.active ul a {background:none;}
ul.secretary-nav li a.nolink {color:#aaa;}
ul.secretary-nav li a span{text-align:left;display:inline-block;vertical-align:middle;}
ul.secretary-nav li a span.fa{width:12%;}
ul.secretary-nav li a span.nav-item-text{width:84%;font-size:14px}
ul.secretary-nav li a sup {margin-left:5px;}

.nav-headline-text {display:inline-block;margin:12px 0 0;}
ul.secretary-nav > li.headline{display:block;margin:20px 0 8px;}
.nav-headline-text,ul.secretary-nav > li.headline{font-weight:bold;text-transform:uppercase;font-size:12px;padding-bottom:8px;}
ul.secretary-nav li.nav-headline {border-top: 1px solid #dedede;margin-top: 10px;}
ul.secretary-nav li.nav-headline > a{padding:10px 0 10px}
ul.secretary-nav li.nav-headline + li{margin-top:0 !important;}

ul.secretary-nav li .fa.pull-right{cursor:pointer;width:20%;height:31px;line-height:31px;display:inline-block;position:absolute;right:0;margin:0;text-align:center;}
.hidden-sidebar{width:60px;float:left;}
ul.secretary-nav li.accordion-headline .fa.pull-right{margin-top:5px}

#sidebar-angle {border-right:1px solid #eaeaea;line-height:100%;display:block;padding:0 8px;float:left;height:40px;line-height:40px;}
.hide-sidebar{cursor:w-resize;}
.show-sidebar{cursor:e-resize;}
ul.secretary-nav > li > a > .hide-sidebar-text,ul.secretary-nav > li > span > a > .hide-sidebar-text,.hidden-sidebar .accordion .fa.pull-right{display:none;}
.hidden-sidebar div.sidebar-nav ul.secretary-nav li{position:relative;list-style:none;}
.hidden-sidebar ul.secretary-nav li ul.accordion{background-color:#f9f9f9;position:absolute;left:-999px;top:0;width:200px;margin:0;}
.hidden-sidebar ul.secretary-nav li:hover ul.accordion{z-index:9999;display:block;left:40px;display:block !important;}

.secretary-sidebar-container.hidden-sidebar {width:50px;}
.secretary-sidebar-container.hidden-sidebar + .secretary-container  {margin-left:50px;position:relative;}
div.secretary-desc{font-size:13px;color:#888;}

/********************************/
/************ Sections **********/
/********************************/

ul.categories-tabs{list-style:none;margin:0;padding:0}
ul.categories-tabs li{display:inline-block;margin-right:6px}
ul.categories-tabs li a{display:block;padding:8px 12px;border:1px solid #fff;}
ul.categories-tabs li.active a{border:1px solid #ddd;}

/******* Accounting **********************************************************************************/

#secretary-document-accounting { }
#secretary-document-accounting h3{margin:12px 0 30px;}
#secretary-document-accounting .secretary-document-accounts-soll,#secretary-document-accounting .secretary-document-accounts-haben {padding:15px 25px;}
.secretary-document-accounts-haben { border-left: 1px solid #ddd;}
h3 .secretary-acc-sum{border-bottom:2px dotted #999;padding:0 5px 4px 4px;}
.secretary-acc-row{width:100%;margin-bottom:8px;}
.secretary-acc-row > div{float:left;}
.secretary-acc-row-1{width:10%;}
.secretary-acc-row-2{width:60%;}
.secretary-acc-row-3{width:30%;}
.secretary-acc-row input[type="text"]{width:100%;box-shadow:none;border-radius:0}
.secretary-acc-row-3 span {float:right;border:1px solid #dedede;border-left:none;background-color: #f8f8f8;display: block; float:right; height: 34px;line-height: 34px; padding: 0 10px;vertical-align: top;}
.secretary-acc-row-3 input{text-align:right;float:right;max-width:100px;}
.secretary-acc-add{ }
.secretary-acc-checkbox{margin-top:30px;line-height:34px;}

.accountings-record{}
.accountings-record > div,.accountings-record-item{float:left;}
.accountings-record ul{list-style:none;margin:0;}
.accountings-record-soll{width:45%}
.accountings-record-haben{width:45%}
.accountings-record-an{width:10%;text-align:center;}
.accountings-record-item{width:100%;margin-bottom:4px}
span.secretary-acc-sum,span.secretary-acc-sum-sub{float:right;border-bottom:2px dotted #999;padding:0 3px 0;}
.secretary-accounts-thead{width:50%;background-color:#fafafa;padding:8px 12px;}
.secretary-accounts-thead > div{padding:0 10px 0 0;}
.secretary-accounts-thead > div,.secretary-accounts-table-account > div,.secretary-accounts-table-account-parent > div{float:left;}
.secretary-accounts-table-account-parent{border-bottom:1px solid #ddd;padding:5px 0 5px 10px;margin-bottom:10px;font-size:90%;color:#777;}
.secretary-accounts-table-account-check{width:10%;}
.input-clean > input{height:auto!important;min-height:auto!important;}
.secretary-accounts-table-account-title{width:40%;}
.secretary-accounts-table-account-amount{text-align:right;}
.secretary-accounts-table-account-amount,.secretary-accounts-table-account-parent-title{width:50%;}
.secretary-accounts-table-account-soll{width:50%;float:left;text-align:right;}
.secretary-accounts-table-account-haben{width:50%;float:right;text-align:right;}

.secretary-accounts-table-footer{padding:20px 0 0 0;}

td.vbottom{vertical-align:bottom !important;}
						
/******** Business ***********************************************************************************/

#businesses {}
.business {margin-bottom:20px;border:1px solid #ddd;background-color:#F7F7F7;border-radius:4px;padding:24px 40px;background-image: -webkit-gradient(linear,	left top,left bottom,color-stop(0, #FFFFFF),	color-stop(1, #F7F7F7));background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #F7F7F7 100%);background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #F7F7F7 100%);background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #F7F7F7 100%);background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #F7F7F7 100%);background-image: linear-gradient(to bottom, #FFFFFF 0%, #F7F7F7 100%);}
.business-default{float: left; font-size: 22px;line-height: 150%; margin-right: 20px;vertical-align: middle;}
.business-logo{margin-right:20px;float:right;max-width:80px;}
.business-title{font-size:25px;line-height:150%;}
.business-checkbox{float:right;}
.business-text{float:left;}
.business-slogan{}
.businesses-start{text-align:center;padding:6% 0;margin:0 auto;background-color:#fff}
.businesses-start h2,.businesses-start .btn{text-align:center;}
.secretary-start-logo{margin-top:5%;}
.btn-isdefault{color:#999;border:1px solid #ddd;background-color:#fff;border-radius:4px;padding:7px 10px;font-size:16px;}
.btn-isdefault-active{color:#FC3}
.secretary-install-or{margin:30px 0;}
.secretary-install-desc{margin:10px 0 0 0;color:#888;}

/********* Dashboard ***********************************************************************************/

.dashboard a.icon{border: 1px solid #eee; border-radius: 4px;box-shadow: 0 -1px 3px #eee inset;display: block;margin-bottom:12px;padding:20px 10px 20px 20px;color:#666;font-weight:normal;font-size:19px}
.dashboard a.icon span.fa{margin-right:6px;}
.dashboard-icons{padding-top:15px;}
.dashboard h1 { font-size: 30px; font-weight: normal; line-height:100%; margin: 20px 0 0;padding:0;}
.dashboard h1 + h3 { font-size:15px; font-weight: normal; line-height:100%;}
.dashboard h3 a span { font-size: 28px !important;padding-right: 10px; vertical-align: middle;}
.dashlist a {text-align:center;padding:5px 8px;color:#369;}

.text-right {text-align:right!important;}
.span3.filter-date {width:180px;} 
.filter-date input {width:100px !important;} 

.filter-date {width: 100%;}
.filter-date > label { display: block; float: left; height: 30px; line-height: 34px; padding: 0 10px 0 0;width:50px;}
.filter-date .input-append{float:left;display:block}

/******** Dashboard : Activities **************************************************************************/

.secretary-activities{padding:20px 20px;}
.secretary-activities h2{font-weight:normal;padding:0 0 0 10px;}

ul.secretary-list-group,ul.secretary-features-list{list-style:none;padding:0;margin:0;}
ul.secretary-list-group li{border-top:1px solid #fff;border-bottom:1px solid #ddd;padding:5px 8px;}
ul.secretary-list-group li:first-child{border-top:none;}
ul.secretary-list-group li:last-child{border-bottom:none;}
ul.secretary-list-group li .badge{float:right;}
.secretary-features-list li{padding:10px 20px;margin-top:10px;font-size:16px;border-radius:4px;border:2px solid;max-width:300px;}
.secretary-features-list li.yes{border-color:#A3D4A3;color:#459245;}
.secretary-features-list li.no{border-color:#EFA191;color:#E34B4B;}
.btn-install-features{margin-left:14px;}

.secretary-other-talks{list-style:none;padding:0;margin:0;}
.secretary-other-talks-item{background-color:#FCFCFC;border:1px solid #DADADA;margin-bottom:5px;border-radius:3px;}
.list-talks-mid{padding:5px 8px 9px;}
.list-talks-date{font-size:12px;border-bottom:1px solid #ddd;padding:4px 0;text-align:center;}
.list-talks-icon{float:right;width:24px;font-size:15px;text-align:right;color:#999;}
.list-talks-from{}
.list-talks-title{}

div.secretary-list-group{}
div.secretary-list-group div{padding:4px 0;}
div.secretary-list-group div span{float:right;}


/********* Document/Assignment Form ******************************************************************************/

.secretary-document{}
.secretary-assignment{}
.secretary-assignment h1 { margin-top: 0px; }
.secretary-document-padding{padding:20px 20px 0;}
.secretary-document-main{padding:0 20px 20px 20px;}
.secretary-main-area .nav-tabs{margin:0 0 20px;padding:0;}
.table-edit-items {}
.table-edit-items textarea, .table-edit-items .control-group{margin:0;width:98%;}
.print-preview-toolbar img {margin-right:7px;vertical-align:sub;}
#document-preview {font-size:12px !important;}
#document-preview .preview-image img {width:100%;max-width:250px;}
#document-preview-footer {font-size:85%;}
#document-preview-footer > div {padding-bottom:1em;}
.secretary-document .col-lg-9{background-color:#FFF;border-right:1px solid #c6ccce;padding:0;}
.secretary-control-group-name #display_contact_name{height:34px;line-height:100%}
.secretary-control-group-name .clean-contact{display:inline-block;float:right;border:1px solid #ccc;padding:6px 9px;color:red;cursor:pointer;}

.nav.nav-tabs img{max-height:20px;}
.secretary-document-pdf-print{color:#fff;}
.secretary-document .tab-pane#home{background-color:#f7f7f7}
.secretary-document-main h4{margin:0 0 16px;font-size:14px;}
.secretary-documents-table-items,.secretary-documents-contact,.secretary-documents-datetitle,.document-summary,.secretary-documents-fields,.secretary-documents-times
{margin-bottom:20px;padding:6px 10px;}
.secretary-documents-table-items{}
.secretary-documents-table-times{}
.secretary-documents-contact{width:50%}
.secretary-assignments-contact{width:45%}
.secretary-documents-contact table{max-width:500px}
.secretary-documents-datetitle{max-width:40%;}
.secretary-documents-fields{width:45%;}
#jform_subject_gender {width:70px;padding:0 4px;}

.document-edit {margin:-18px 0 30px 0; padding: 20px;}
.document-edit .form-horizontal .control-label{width:60px;float:none;}

/*+ Table-Items*/
.table-items-list{margin-bottom:12px;}
.table-items-list > div {padding:10px;margin:0;}
.table-items-list > div:hover {background-color:#eee;}
.table.table-intro,.table.table-intro td{border:0;}
.table.table-intro{border-bottom:1px solid #000;}
.table-item-th{border-bottom: 1px solid #ccc; font-size: 13px; margin:0 0 15px;padding: 10px 10px 5px;color:#666;}
.table-items th{background-color:rgb(230,230,230);}
.table-items td,.table.table-items th{font-weight:normal;border:1px solid #eee;}
.table-items > div { float: left;font-size:12px;}
.table-item{width:100%;}
.table-item > div{float:left;}
.table-item .control-group,.table-item .input-append{margin:0;}

/** Nestable */
.dd {position: relative;}
.dd-list { display: block; position: relative; margin: 0; padding: 0; list-style: none; }
.dd-item,.dd-placeholder { display: block; position: relative; margin:0 0 10px 0; padding: 0;}

.dd-handle {width:5%;display: block;height:34px;line-height:34px;text-align:center;color: #333; text-decoration: none; font-weight: bold;cursor:pointer;}
.dd-handle:hover { color: #2ea8e5; background: #fff; }

.dd-placeholder { margin: 5px 0; padding: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }

.dd-dragel { position: absolute; pointer-events: none; z-index: 9999;background-color:#fff;box-shadow:0 2px 3px #ddd;padding:6px;}
.dd-dragel > .dd-item .dd-handle { margin-top: 0; }
.dd-dragel .dd-handle { -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1); box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);}

/** Columns */
.secretary-container .table-item input{border-radius:0;}

.table-item-col-0{width:5%;}
.table-item-col-1{width:15%;}
.table-item-col-1 input,.table-item-col-1 select {width:48% !important;}
.table-item-col-1 .input-append input { width: 48%; }
.table-item-quantity{text-align:right;}

.secretary-container .table-item .table-item-title {border: 0 none !important; margin: 0;width:90%;float:left;height:32px;min-height:32px;}
.table-item-head .open-desc{width:10%;float:right;text-align:center;color:#aaa;height:32px;line-height:32px;cursor:pointer;}

.table-item-col-3{width:12%;}
.secretary-container .table-item .table-item-col-3 input {width:92% !important;margin:0 4%;text-align:center;}
.table-item-col-4{width:6%;}
.table-item-col-5{width:13%;}
.table-item .table-item-col-5 input{width:96% !important;margin:0 0 0 5px;text-align:center;}
.table-item-col-6{width:5%;text-align:right;}
.taxSelection .table-item-col-3,.taxSelection .table-item-col-5{width:9% !important;}
.table-item-col-7{width:95%;text-align:left;}
.table-item-col-7 fieldset { line-height: normal !important; }
.table-item-col-7 fieldset legend { float:left; width: auto; margin-right: 10px; font-size: 13px; margin-bottom: 0px; line-height: normal; font-weight: bold; }
.table-item-col-7 fieldset input { display: inline-block; min-height: initial !important; vertical-align: top !important; margin-top: 2px !important; margin-right: 10px !important; }
.table-item-col-7 fieldset label { display: inline-block; margin-right: 10px !important; cursor: default !important; }

.table-item-col-8{width:25%;text-align:left;padding-left: 1%;}
.table-item-col-8 fieldset { line-height: normal !important; }
.table-item-col-8 fieldset legend { width: auto; margin-right: 10px; font-size: 13px; margin-bottom: 0px; line-height: normal; font-weight: bold; }
.table-item-col-8 fieldset input { display: inline-block; min-height: initial !important; vertical-align: top !important; margin-top: 2px !important; margin-right: 10px !important; }
.table-item-col-8 fieldset label { display: inline-block; margin-right: 10px !important; cursor: default !important; }

/* Nr and Title */
.table-item-col-pno{width:0%; display:none;}
.table-item-col-2{width:50%;}
.pnoSelection .table-item-col-pno{width:10%; display:block;margin-right:1%;}
.pnoSelection .table-item-col-2{width:39%;}
.table-item-col-pno input{width:100%;}
.table-item-col-2 .table-item-head,.table-item-col-2 > textarea{width:100%;}
.secretary-main-area .table-item-col-2 > textarea{margin-top:-9px;border-top:1px solid #ddd;}
.table-items-list .btn.table-item-remove { border-color: #ddd; border-radius: 0; color: #666; cursor: pointer;}

/** Document : Bottom */
.secretary-main-area .table-item-taxrate{display:inline-block;max-width:28px;padding:0;margin:0 0 0 10px;text-align:center;}
.secretary-main-area .table-item-taxrate-perc{display:inline-block;width:16px;vertical-align:middle;height:34px;line-height:34px;}
.secretary-documents-table-bottom{padding:0 10px;}
#jform_text { min-height: 100px; width: 100%;}
#jform_texttour { min-height: 100px; width: 100%;}
.document-additional{padding:18px;margin-bottom:20px; border:1px solid #eee;border-radius: 4px;}
.document-summary .input-small{text-align:right;}

#document-form #jform_tax { }
.document-summary{padding:18px;margin-bottom:20px;}
.document-taxtype{width:80px;float:left;}
.document-taxrate {min-height:34px}
.document-taxrate > span {}
.document-endsumme-hr{border:1px solid #999;}
.document-endsumme {}
.secretary-document-total,.secretary-document-total input{font-size:19px!important;}
.secretary-document-total .secretary-input-group{float:right;}

.secretary-main-area .document-summary .select-arrow{border-color:#ddd;background-color:#fdfdfd;width:90px;height:26px;line-height:20px;}
.secretary-main-area .document-summary .select-arrow select{height:20px;width:110px;}

.secretary-input-group{}
.secretary-main-area .secretary-input-group-left input{float:left;width:100%;border-radius:4px 0 0 4px;margin-right:-1px;}
.secretary-main-area .document-summary .secretary-input-group-left input{max-width:100px}
.secretary-input-group-left{float:left;}
.secretary-input-group-right{float:left;line-height:30px;height:34px;margin-left:-1px;padding:0 12px;border-radius:0 4px 4px 0;}
.secretary-main-area .secretary-input-group-left input,.secretary-input-group-right{border:1px solid #ddd;}
.tax-proz,.tax-val{min-height:30px;line-height:30px;display:block}
.tax-proz{float:left;margin-right:40px;}
.tax-val{float:right;padding:0 5px;}
.secretary-document-bottom .secretary-input-group-left input{max-width:100px;}
#openRabattDialog{color:#555;}
.btn-blank-text { line-height: 28px; min-height: 34px; text-align: center;}
.label-blank-text label{ line-height:30px;min-height:34px;text-align:center;margin:0;}

.secretary-document-bottom{}
.secretary-document-bottom > div{padding:20px;}
.secretary-document-bottom h4{color:#888;margin:0 0 10px;font-size:13px}
.secretary-document-zahlung{border-top:1px solid #fff;}
.secretary-document-template{border-bottom:1px solid #ddd;}
.secretary-document-upload{overflow:hidden;border-top:1px solid #fff;border-bottom:1px solid #ddd;}
.secretary-document-upload .secretary-document-file-delete{margin:10px 0 0 0;}
.secretary-document-upload .secretary-document-file-delete input{margin: 0;min-height:20px;}
.secretary-document-status{overflow:hidden;border-top:1px solid #fff;border-bottom:1px solid #ddd;}
.secretary-main-area .document-clean-input input{text-align:right;width:100% !important;}
.secretary-main-area .document-clean-input div,.secretary-main-area .document-clean-input input{border:none !important;}

/* Hide Elements by category */

div.secretary-assignment.verkauf div#products div.table-items-list div#status-spende {display: none;}

div.secretary-assignment.spende div#products div.table-item-th div.table-item-col-3 {display: none;}
div.secretary-assignment.spende div#products div.table-item-th div.table-item-col-4 {display: none !important;}
div.secretary-assignment.spende div#products div.table-item-th div.table-item-col-5 {display: none;}
div.secretary-assignment.spende div#products div.table-items-list div.table-item-col-3 {display: none;}
div.secretary-assignment.spende div#products div.table-items-list div.table-item-col-4 {display: none !important;}
div.secretary-assignment.spende div#products div.table-items-list div.table-item-col-5 {display: none;}
div.secretary-assignment.spende div#products div.table-items-list div#status-auftrag {display: none;}
div.secretary-assignment.spende div#products div.table-items-list div.table-item-col-5 {display: none;}
div.secretary-assignment.spende div#products span#item-toggle-tax {display: none;}
div.secretary-assignment.spende div#products div.document-summary {display: none;}
div.secretary-assignment.spende div#products div#currency-change {display: none;}
div.secretary-assignment.spende div#products a#openRabattDialog {display: none;}

button#set_visit { height: auto; width: 100%; padding: 10px; }

#email{}
#ajaxNumberResult{position:relative;}
#ajaxNumberResult .tiny-text{display: block; font-size: 12px; line-height: 14px; padding: 0 0 5px;}
.number-in-use{position:absolute;}
.no-is-free{color:#693;}
.no-is-used{color:#900;}
#currency-change{margin-right:10px;}
.btn.btn-white { background: #fff none repeat scroll 0 0; border: 1px solid #ccc; border-radius: 0; box-shadow: none; line-height: 24px; min-height: 34px;}
.add-subject-as-contact {border: 1px solid #ddd; border-radius: 5px; cursor: pointer; display: inline-block; font-size: 13px; margin-left: 5px; padding: 4px 8px; }

/* Weitere Kontaktinformationen */

.billing_subject_fields_replacement .secretary-control-group { margin-bottom: 0px; }
.delivery_subject_fields_replacement .secretary-control-group { margin-bottom: 0px; }

/********* Document Wiederkehrend *********************************************************************/

.repetition-container{ /*max-width:600px;*/ display:none;}
.repetition-container.out{display:block;margin-top:20px;}
.repetition-container > div { /*float:left;width:auto;*/ }
.repetition-container td{vertical-align:baseline;}
.secretary-main-area .repetition-container input,.secretary-main-area .repetition-container select { height:30px !important;min-height:30px;vertical-align:baseline;width:auto;max-width:80px;}
.repetition-container-hint{margin:0 0 10px 0;font-size:13px;color:#888;}

/********* Documents ***********************************************************************************/

table#documentsList th {border-bottom:1px solid #999;}
.documents-title{margin:0;height:34px;line-height:34px;font-weight:normal;}
.documents-title,.documents-title span{font-size:25px;}
.documents-title button.btn-default{margin:0 10px;}
.documents-title span{padding:0 10px;}
.documents-title span.fa{padding:0;font-size:13px;}
.documents-title-second{border-left:1px solid #dedede;}
.documents-title-second > *{font-size:16px;}
.documents-sidebar-title{line-height:22px;color:#555;font-family: Verdana;font-size: 11px;text-transform:uppercase;font-weight: normal; letter-spacing:1.2px; margin: 0;padding: 0 0 15px;}
h3.title{font-weight:normal;font-size:18px;margin:0 0 20px}
.secretary-container .btn.headline-sidebar-button{margin-left:5px;text-transform:uppercase;padding:3px 7px;font-size:10px;min-height:24px;height:24px;text-transform:uppercase;}
.documents-list-header{padding:0 0 0 14px;}
.products-list-summary,.table-left-border{border-left:1px solid #ddd;}
.table-right-border{border-right:1px solid #ddd;}
.error-nr{border-bottom:3px dotted red;}
.error-documents-list{display:none;}
.documents-list-total {position:relative;min-width:100px;}
.documents-list-total > div {position:absolute;height:3px;display:block;background-color:#ddd;bottom:1px;right:8px;z-index:7;}
.documents-list-total .total-amount {position:relative;z-index:9;}
.secretary-main-area-right-hr{border-color: #ccc; border-width: 1px 0 0; margin:15px -20px;} 
.secretary-container .secretary-main-container-right .select-arrow,.secretary-container .secretary-main-container-right .select-arrow select{height:26px;min-height:26px;width:100%;margin-bottom:10px;}
.secretary-container .secretary-main-container-right .select-arrow select{width:100%;font-size:13px;}

/********* Documents : Sidebar ***********************************************************************************/

.documents-sidebar-stats h4{font-size: 16px;font-weight: normal; margin: 10px 0 0;text-align: right;}
.documents-sidebar-stats .sidebar-split{height:2px;background-color:#ddd;border-bottom:1px solid #f1f1f1;margin:10px 0;}
.documents-sidebar-stats-status{line-height:140%;}
.documents-sidebar-repetitions{font-size:13px;color:#888}

/******** Markets  ********************************************************************************/

.markets-columns-toolbar{} 
.chk_items_container{border: 1px solid #eee; margin: 0 0 16px; padding: 5px 10px; width: 100%;}
.chk_item{display:inline-block;padding:0 8px 4px 0;}
.chk_item > label{display:inline-block;margin:0}
.secretary-container .chk_item input[type="checkbox"]{min-height:10px;margin-right:6px;opacity: 1;position: relative;}
.markets-buttons-toolbar{}
.search-market-quantity{width:60px;text-align:center;}

table tr.market-item{cursor:pointer;}
.market-search-item .ui-menuitem-subvalue{display:block;font-size:12px;color:#666;} 
.market-price{font-size:125%;}
.market-item div{min-width:82px}
.market-item .positiv{color:green}
.market-item .negativ{color:red}
.market-item-name{font-size:16px;}
.market-item-subname{font-size:13px;color:#999;}
.market-item-watchlist{font-size: 11px;border: 1px solid #ddd;display: inline-block;padding: 3px 5px;border-radius: 3px;margin-top: 4px;}
table th.market-latest-price,table td.market-latest-price{background-color:#eefafe;text-align:center;border-left:1px solid #aaa;border-right:1px solid #aaa;}
table th.market-latest-price{border-top:2px solid #aaa !important;}
.market-item-totalvalue{font-weight:bold}
.market-list-total{margin-bottom:10px}

/********* Messages ***********************************************************************************/

ul.messages-details-list{list-style:none;padding:0;margin:0;}
ul.messages-details-list li{border-right:1px solid #ccc;float:left;padding:3px 8px;}
ul.messages-details-list li:last-child{border-right:none;}

#secretary-message-area{padding:20px;z-index:100;}
.secretary-messages-talk{background-color:#fafafa;border:1px solid #ddd;border-top:none;}
.message-talk .secretary-toolbar{padding-bottom:40px;}
.message-talk .table thead th{vertical-align:top;}
.message-talk-item {min-width:60%;max-width:90%;position:relative;background-color:#fff;border-radius:3px;box-shadow:0 1px 6px #ddd;padding:22px 24px;border:1px solid #dedede;float:left;}
.message-talk-item.mine {background-color:#FFFFFA;float:right}
.message-talk-item a {color:#333;}
.message-talk-item-top{border-bottom:1px solid #ddd;padding-bottom:5px;margin-bottom:14px;}
.message-talk-item-bottom{color:#999;font-size:12px;padding-top:14px;}
.message-talk-item-title{display:block;font-weight:600;}

.message-talk-item-form{max-width:602px;margin:0 auto;}
.secretary-container .message-talk-item-form textarea{border:1px solid #ccc;margin-bottom:20px;height:200px}
.message-talk-item-form-bottom .btn-newentry{background-color: #3D99DD; color: #fff;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);}
.message-talk-item-email{display:block;position:absolute;top:-25px;right:10px;background-color:#F5F3E7;border:1px solid #E1E1E1;border-bottom:0 none;border-radius:4px;padding:3px 8px;font-size:13px;}
.message-talk-item-attachment{display:block;margin-top:10px;background-color:#F5F3E7;border:1px solid #E1E1E1;border-radius:4px;padding:3px 8px;font-size:13px;}

.message-head-contact{ } 
.message-head-contact-sep{width:40px;text-align:center;margin-top:30px;}
.message-head-contact-col-1{ }
.message-head-contact-col-2{ }
.message-head-contact-col-2 > div{float:left;}
.message-head-contact-col{background-color:#f9f9f9;padding:8px 12px;border:1px solid #ddd;margin-bottom:12px}
.message-head-contact .select-arrow-white{display:inline-block;}
.message-head-contact .btn {line-height: 32px; min-height: 34px; padding: 0 10px;}
.secretary-chat-messages{height:400px;overflow-y:scroll;padding:10px;margin-bottom:30px;border:1px solid #ddd;}

.secretary-container .message-toolbar{ position:absolute;top:10px;right:0;} 
.secretary-container .message-state.select-arrow,.message-delete{color:#999;border:1px solid #eee;cursor:pointer;border-radius:3px;float:right;margin-right:10px;} 
.message-delete{padding:5px 10px;width:34px} 
.secretary-container .message-state.select-arrow{width:100px;padding:0px;height:30px;min-height:30px;}
.secretary-container .message-state.select-arrow select{font-size:12px;width:120px;height:26px;min-height:26px;}

input.ng-invalid.ng-touched {border-color: #FA787E;}
input.ng-valid.ng-touched {border-color: #78FA89;}

/********* Locations ***********************************************************************************/

/********* Products ***********************************************************************************/

.secretary-products-stockwatch {}
.products-needed { background-color:#ffd9d9; padding: 6px 10px;}
.products-toomuch { background-color:#fff2d9; padding: 6px 10px;}

.secretary-product .col-lg-3 {background-color:#f7f7f7; border-left: 1px solid #c6ccce;}
.secretary-product .col-lg-9 { background-color: #FFF; padding: 0; }
.secretary-product-main { padding: 0 20px 20px 20px; }
.secretary-product-bottom { padding: 0 0px 30px 0px; }
.secretary-product-bottom > div { padding: 0 20px 0px 20px; }

/******** Reports ********************************************************************************/

/* Charts Toolbar */
.charts-toolbar {margin:0 0 14px;padding:0 0 10px 0;}
.charts-toolbar #filter-bar label{float:left;height:30px;line-height: 30px;margin: 0 10px;}
.charts-toolbar input { float: left;max-width: 100px;}
.charts-toolbar .input-append,.message-head-contact .input-append,.charts-toolbar .charts-date-filter .input-prepend{margin:0;}
.charts-toolbar .btn-date-filter{margin-left:15px !important;}

.btn-toolbar-charts{margin-bottom:16px;}
.btn-toolbar-charts .item-stats{display:inline-block;margin-right:10px;}
.btn-toolbar-charts .subitem{float:left;position: relative;padding:6px 10px;border:1px solid #ddd;}
.btn-toolbar-charts .subitem .controls{font-size:16px;}
.btn-toolbar-charts .item-stats > .subitem:last-child { }
.btn-toolbar-charts .item-stats > .subitem + .subitem { margin-left: -1px; }
div.secretary-main-container.reports div.js-calendar { min-width: 230px!important; }

/******** Reports : Charts **********/

.secretary-charts-legend{margin:14px 0;text-align:left;}
.secretary-charts-legend ul{text-align:left;max-height:100px;overflow-y:auto;}
.secretary-charts-legend li{display:inline-block;margin:0 15px 6px 0;list-style:none;height:24px;line-height:24px;}
.secretary-charts-legend li > *{display:inline-block;}
.secretary-charts-legend li .legend-colorbox{height:10px;width:10px;border:1px solid #fff;} 
.secretary-charts-legend li .legend-text{color:#555;float:right;margin-left:6px;font-size:13px;}
.secretary-charts-legend li .legend-perc{font-size:11px;color:#fff;padding:0 4px;}

.secretary-charts-legend .legend-income.status-paid{background-color:#5B874E;}
.secretary-charts-legend .legend-costs.status-paid{background-color:#D70206;}
.secretary-charts-legend .legend-income.status-paidso{background-color:#91B684;}
.secretary-charts-legend .legend-costs.status-paidso{background-color:#FF6C00;}
.secretary-charts-legend .legend-income.status-unpaid{background-color:#A3B39A;}
.secretary-charts-legend .legend-costs.status-unpaid{background-color:#F05B4F;}
.secretary-charts-legend .status-canceled{background-color:#666}

.secretary-charts{margin:20px 0 20px;float:left;display:block;position:relative}
.secretary-charts svg{overflow:visible;shape-rendering:inherit;pointer-events:all}
.secretary-charts .line,.secretary-charts .line.line-0{color:#69C;stroke:#69C;}
.secretary-charts .line.line-1{color:#5685B4;stroke:#5685B4;}
.secretary-charts .text{fill:#666;}
.secretary-charts .dashedline{stroke:#bbb;stroke-dasharray:2,2;}
.secretary-charts .point{stroke-width:10px;stroke-linecap:round;stroke:#69C}
.axisZero{stroke:#999;stroke-width:1px;}

path.secretary-piechart-section {fill:#2E70B3;background-color:#2E70B3;stroke:#fff;}
.secretary-piechart-section.section-0{fill:#2E70B3;background-color:#2E70B3;}
.secretary-piechart-section.section-1{fill:#4284C6;background-color:#4284C6;}
.secretary-piechart-section.section-2{fill:#5C9EE0;background-color:#5C9EE0;}
.secretary-piechart-section.section-3{fill:#7DB0E3;background-color:#7DB0E3;}
.secretary-piechart-section.section-4{fill:#9DC3E9;background-color:#9DC3E9;}
.secretary-piechart-section.section-5{fill:#86ADD4;background-color:#86ADD4;}
.secretary-piechart-section.section-6{fill:#6493C3;background-color:#6493C3;}
.secretary-piechart-section.section-7{fill:#5180AD;background-color:#5180AD;}
.secretary-charts text.secretary-rect-text{fill:#fff;}

/* done */
.income.status-paid{color:#5B874E;stroke:#5B874E}
.costs.status-paid{color:#D70206;stroke:#D70206;}

/* pending */
.income.status-paidso{color:#6BAB54;stroke:#6BAB54}
.costs.status-paidso{color:#FF6C00;stroke:#FF6C00;}

/* open */
.income.status-unpaid{color:#90B77A;stroke:#90B77A;}
.costs.status-unpaid{color:#F05B4F;stroke:#F05B4F}

/* open */
.income.status-canceled{color:#666;stroke:#666;}
.costs.status-canceled{color:#666;stroke:#666}


.secretary-main-area .ct-chart.contacts-growth .ct-series .ct-point,.secretary-main-area .ct-chart.contacts-growth .ct-series .ct-line{stroke:#508FC5;}
.secretary-main-area .ct-chart.contacts-growth .ct-series .ct-area{fill:#3886C8;}

.bar-charts.contacts{}
.bar-charts rect{fill:#4682B4;}
.bar-charts rect:hover{fill:#2C6B9F;transition:ease-in 0.2s;cursor:pointer;}
.bar-text.bar-text{font-size:11px;}
.raster .line {stroke: #aaa; stroke-dasharray: 2px; stroke-width: 1px;}

.dashboard .btn-info {margin: 0 10px;}
.btn-group.stats .difference{}
.btn-group.stats label{margin:0}
.btn-group.stats .controls{padding:2px 0 7px 0;font-size:17px;}
.total-head{border:1px solid #ddd;background-image: linear-gradient(to bottom, #fff, #e6e6e6);}
.table,.table-charts{overflow-x:scroll!important;}
.table-charts{margin-bottom:20px;}
.table-charts select{width:80px!important;}
.secretary-main-area .table-charts td{text-align:center;}
.secretary-main-area .table-charts .table tbody td{vertical-align:bottom;padding:0 5px;}
.secretary-main-area .table-charts .table tfoot td{padding:10px 5px;}

div.rotate {display:inline-block;min-width:20px;width:20px;margin-right:5px;-moz-transform:rotate(30deg);-webkit-transform:rotate(30deg);-o-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg);min-height:60px;}

#chart-contacts {width:100%;padding:20px;}
.chart-contact-bars{position:relative;}
#chart-contacts .backlines{z-index:9;background-color:#eee;width:100%;position:relative;}
#chart-contacts .chart-contact-bar{float:left;width:30px;}
#chart-contacts .chart-contact-bar-growth{z-index:99;position:absolute;bottom:0;background:#693;width:25px;}
.chartist-copy{margin:10px 0 20px;font-size:12px;color:#999;text-align:right;padding-right:25px;}

.secretary-charts-tooltip { z-index:9999; position: absolute; float: left; min-width: 30px; max-width: 300px;
 padding: 5px 18px 6px; border-radius: 2px; background: rgba(255,255,255,.97); color: #444; font-size: 19px;
 text-shadow: 0 1px 0 #fff; text-align: center; line-height: 1.3; box-shadow: 0 0 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.5); pointer-events: none;
}
.secretary-charts-tooltip:after { position: absolute; left: 50%;bottom: -6px; content: ""; height: 0;margin: 0 0 0 -6px; border-right: 5px solid; }
.secretary-charts-tooltip-subtext{white-space:nowrap;font-size:13px;}
.donut{fill:#ffffff;}
.secretary-charts-horzline{position:absolute;z-index:999;width:100%;height:2px;background-color:#999;}

/******** Templates  ********************************************************************************/

.template-not-assigned span{float:left;font-size:13px;margin-right:10px;height:20px;}
.no-business-template{background-color:#F9E6E6;}
.msg.no-business-template{width:20px;}

#secretary-canvas{width:100%;height:100%;min-height:400px;background-color:#fff;position:relative;z-index:50;resize:both;overflow:auto;}
.secretary-canvas-shadow{box-shadow:0 1px 10px #ccc;}
.secretary-canvas-box{overflow:visible;}
.box-toolbar{margin:5px 0 0 2%;width:96%;opacity:0;min-width:220px;}
.secretary-canvas-box:hover .box-toolbar{opacity:1;}
.box-toolbar-group{clear:both;display:inline-block;margin-right:6px;}
.box-toolbar-group > div{margin-left:-1px;border-radius:4px;border:1px solid #ddd;padding:0 10px;height:24px;line-height:24px;float:left;background-color:#f7f7f7}
.box-toolbar-group > div:first-child {border-radius:4px 0 0 4px;margin-left: 0;}
.box-toolbar-group > div:last-child {border-radius:0 4px 4px 0;}
.box-toolbar-group > div.box-label{cursor:not-allowed;font-size:11px;}
.box-toolbar-group > div.box-label + div{background:#fff;}
.box-toolbar-group > div.box-delete{cursor:default;}
.secretary-canvas-box .box-mover{cursor:default;z-index:99;}
#secretary-canvas .secretary-canvas-box .box-text{min-height:20px;resize: both;overflow:hidden;background-color:rgba(250, 250, 250, 0.5);border: 3px dotted #eee;}
.secretary-drag-field{cursor:move;z-index:98;}
#secretary-canvas-input{width:100%;min-height:700px;}

#secretary-template-designer-options{}
.secretary-template-format{margin-bottom:14px}
#secretary-template-designer-options > .btn-group > div{padding:4px 7px}
.secretary-designer-fields-desc{margin:10px -6px 20px -10px;padding:6px 8px;color:#666;border-radius:5px;font-size:13px;border:1px solid #ddd;background-color:#f8f8f8;}
.secretary-designer-hr{display:block;width:100%;margin:16px 0;height:2px;border-bottom:1px solid #fff;background-color:#ddd;}
.secretary-container .secretary-designer-css textarea{min-height:100px;background-color:#fcfcfc;border: 1px solid #ddd;}

/******** Times  ********************************************************************************/

.secretary-times{}
.times-list-projects,.times-list-events,.times-list-locations{border-top:2px solid #ccc;padding:20px 0;}
.times-week{}
.times-week span{margin:0 10px;}
.times-filter{border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:10px;margin:15px 0;background-color:#f9f9f9;}
.times-filter .btn-group .btn{padding:6px 12px;}
.times-list .center.hidden-phone span.lbl,.times-list .sortable-handler {margin-top:5px;}
.times-list-category{font-size:12px;padding-top:5px;}
.times-list-category span{font-weight:bold;padding-right:5px;}
.times-list-attendees{font-size:12px;padding-top:5px;}
.times-list-attendees span{font-weight:bold;padding-right:5px;}
.times-list-location{font-size:12px;padding-top:5px;}
.times-list-location span{font-weight:bold;padding-right:5px;}
.times-list-progress{height:32px;width:50px;font-size:12px;background-color:#FFFCF4;border:1px solid #EFE7B3;padding:5px 6px;border-radius:4px;color:#847820;position:relative;}
.times-list-progress span.text{z-index:5;position: absolute;right:5px;}
.times-list-progress span.charger{z-index:1;position: absolute;left: 0;background-color: #F8EDC8;display: block;height: 100%;top: 0;border-radius: 3px 0 0 3px;opacity: 0.5;}
.project-task-title { height: 32px;line-height: 32px;}
.time-list-action{vertical-align:baseline;}
.time-list-action .btn{border:1px solid #ddd;box-shadow:none;}
.time-btn-group-white{margin-left:-5px;}
.time-btn-group-white > div{float:left;padding:5px;box-shadow:none;}
.time-btn-group-white-sep{}
.times-list-attendees { line-height: initial;}

.secretary-event-subscription-container{border:1px solid #E4E4E4;padding:10px 15px;background-color:#FBFCF3;border-radius:6px;}
.secretary-event-subscription-container h3{margin-top:0;padding-top:0;}
.secretary-event-subscription-container form{margin:0;padding:0;}

/******** Times : Project ********************************************************************************/

.secretary-row-down{margin-top:6px;}
.project-task-items{margin:10px 0 16px;}
.project-task-item{border-top:1px solid #ddd;padding:8px 0;}
.project-task-items .project-task-item-progress{float:left;margin-right:16px;border:1px solid #e0e0e0;background-color:#fbfbfb;padding:4px 12px;min-height:24px;line-height:18px;}

/******** Times : Calendar ********************************************************************************/
table.calendar { background: none repeat scroll 0 0 #fff;  border-collapse: collapse;   margin: 0 auto 30px;width: 100%;}
table.calendar tr td.calendar-day-head{background-color:#f8f8f8}
table.calendar tr td {background: none repeat scroll 0 0 #fff;border: 1px solid #f4f4f4;text-align: center;vertical-align: middle;}
table.calendar tr td a, table.calendar tr td span {display: block;height: 40px;line-height: 40px;padding: 2px;text-align: center;vertical-align: middle;width: 100%;}
table.calendar tr td.calendarNavMonthPrev {background: none repeat scroll 0 0 #f3f3f3;text-align: left;}
table.calendar tr td.calendarNavMonthPrev a {font-size: 20px;text-decoration: none;}
table.calendar tr td.calendarNavMonthPrev a:hover {font-size: 20px;text-decoration: none;}
table.calendar tr td.calendarCurrentMonth {background: none repeat scroll 0 0 #f3f3f3;}
table.calendar tr td.calendarNavMonthNext {background: none repeat scroll 0 0 #f3f3f3;text-align: right;}
table.calendar tr td.calendarNavMonthNext a {font-size: 20px;text-decoration: none;}
table.calendar tr td.calendarNavMonthNext a:hover {font-size: 20px;text-decoration: none;}
table.calendar tr td.calendarDayName {background: none repeat scroll 0 0 #e9e9e9;font-size: 85%;width: 14.2%;}
table.calendar tr td.calendarDateEmpty {background: none repeat scroll 0 0 #fbfbfb;}
table.calendar tr td.calendarDate {}table.calendar tr td.calendarDateLinked {padding: 0;}
table.calendar tr td.calendarDateLinked a {background: none repeat scroll 0 0 #eee;display: block;padding: 2px;text-decoration: none;}
table.calendar tr td.calendarDateLinked a:hover {background: none repeat scroll 0 0 #135cae;color: #fff;display: block;padding: 2px;text-decoration: none;}
table.calendar tr td.calendarToday {background: none repeat scroll 0 0 #135cae;color: #fff;}
table.calendar tr td.calendarTodayLinked {background: none repeat scroll 0 0 #135cae;color: #fff;padding: 0;}
table.calendar tr td.calendarTodayLinked a {color: #fff;display: block;padding: 2px;text-decoration: none;}
table.calendar tr td.calendarTodayLinked a:hover {background: none repeat scroll 0 0 #bfd9ff;display: block;padding: 2px;text-decoration: none;}
.calendar-link {padding: 0 5px;}
.calendar-head {background: none repeat scroll 0 0 #eeeeee;margin: 0 0 20px;padding: 13px 8px;text-align: center;}
.calendar-list-monthname {}
.calendar-list-monthname {border-bottom: 1px solid #dddddd;box-shadow: 0 2px 4px #ffffff;color: #444444;font-size: 120%;margin-top: 20px;padding: 10px 15px;text-shadow: 2px 2px #ffffff;}
.calendar-headline {text-align: center;}
.calendar-list {}.calendar-list h2 {padding: 0 10px 20px;}
.calendar-list ul, .calendar-list li {list-style: none outside none;margin: 0;padding: 0;}
.calendar-list li {padding: 8px 0;}
.calendar-list-avatar, .calendar-list-name, .calendar-list-description, .calendar-list-year {display: inline-block;}
.calendar-list-avatar {width: 10%;}
.calendar-list-name {width: 40%;}
.calendar-list-description {width: 35%;}
.calendar-list-year {text-align: center;width: 8%;}

.week-view{margin-bottom:0px;border-left: 1px solid #ddd;border-bottom: 1px solid #ddd;border-top: 1px solid #ddd;border-right: 1px solid #ddd;}
.week-view-row{border-bottom: none;border-right: 1px solid #ddd;}
.week-list{width:100px;}
.week,.week-start{/*float:left;min-height:200px;*/ }
.week{width:12.5%;margin-left:-1px;border-left: 1px solid #ddd;border-right: 1px solid #ddd;}
.week .project-task-title { line-height: normal; }
.week-view .week:last-child {border-bottom: none;border-right: none;}
.week-view-row .week:last-child {border-bottom: none;border-right: none;}
.week-start{width:12.5%;}
.week-start .category-title { font-weight: bold; }
.week-head{padding:10px 15px;height:100px;border-bottom:0px solid #ddd;}
.week-row{padding:10px 10px;min-height:60px;border-bottom:0px solid #ddd;}
.week-row .btn {padding:4px 5px;}
.secretary-assignment .week-row .btn {padding:0px 5px;}
.secretary-assignment .secretary-status-button { cursor: default; }
.week-data{position:relative;}
.week-time{position:absolute;background-color:#eee;border:1px solid #ddd;padding:5px 6px;margin:0 3%;}
.week-time-title,.week-time-title:hover{background-color:#000;opacity:0.6;color:#fff;font-size:12px;display:block;padding:4px;}
table.week-view tbody tr td { vertical-align: top; }

.time-calender {position:relative;}
.secretary-times .table th.time-calender-th {padding:0;}
.secretary-times .table th.time-calender-th > div {height:30px;} 
.secretary-times .table td.time-calender-td{min-width:250px;padding:10px 0;vertical-align:middle;}
.secretary-times .table td.time-calender-td{border:0 none;}
.time-calender-container{position:relative;height:20px;}
.time-calender-td .time-calender-container{overflow:hidden;}
.time-calender-container .le {position:absolute;border-left:1px dotted #ddd;top:0px;display:block;width:2px;}
.time-calender-container .le.le-today{border-color:#000;}
.time-calender-container .le.le-day{border-color:#999;}
.time-calender-td .start-position{position:absolute;background-color:#ddd;height:20px;min-width:10px;display:block;border-radius:3px;}
.le-date-of-view{ background-color: #eee;font-size: 12px; font-weight: 300; margin-left:6px; margin-top: 0; padding: 3px 5px; position: absolute; top: 0;}
.le > span{font-size: 12px; font-weight: 300;padding: 3px 5px; position: absolute; top: 0;color:#999;}

#list-intervall {padding:5px 0 12px 0}
#list-intervall > div{float:left;}
#list-intervall input{width:50px;}
#list-intervall select{width:85px;}
#list-intervall input, #list-intervall button, #list-intervall select{min-height:30px;margin:0;margin:0;box-shadow:none;text-align:center;height:30px;line-height:100%;}
#list-intervall button{margin-left:10px;}
.list-intervall-1 {padding-right:5px}
.list-intervall-2 {}
.list-intervall-3 {padding-left:5px}

.secretary-time-title{font-size:18px;padding:5px 0;}
.secretary-time-title-add{}
.projectTimer-container{}
.projectTimer-container .btn{border-color:#E0E0E0;background-color:#FBFBFB;box-shadow:none;}
.projectTimer-container .projectTimer{padding:0;}
.projectTimer-container .projectTimer a{color:#000;padding:4px 12px;display:block;}
.projectTimer-container .project-task-title{vertical-align:middle;}

.secretary-budget{padding-top:20px;}
 
.secretary-sort .fa{display:block;cursor:pointer;color:#aaa;}
.secretary-row-inner.thead {padding: 10px 0;}
.secretary-row-inner > div {float:left;}
.secretary-row-inner > div.checkbox {padding:0;text-align:center;min-width:30px;}
.secretary-row-inner > div.checkbox input {margin:0 !important;}
.secretary-row-inner > div.order {width:2%;}
.secretary-row-inner > div.progress-td {width:1%;}
.secretary-row-inner > div.title {width:35%;min-width:200px}
.secretary-row-inner > div.time-list-action {width:8%;padding-right:1%;min-width:100px}
.secretary-row-inner > div.time-calender-th,.secretary-row-inner > div.time-calender-td {width:50%;float:right;}

.secretary-row-inner > div.times-list-tasks_slider {padding-left: 4%;width:46%;min-width:200px}
.secretary-row-inner > div.embedded-task {width: 8%;padding-left: 1%;padding-right:0;min-width: 100px;float:right;}
.secretary-row-inner > div.embedded-title {}

/******** Times : Week, Drag & Drop **************************************************************/
div.dragitem.times_assignment_item.ui-draggable { cursor: grab; }
div.dragitem.times_assignment_item.ui-draggable.ui-draggable-dragging { cursor: grabbing; border: 1px solid #ddd; z-index: 30000; background: #eee; }

/********* Contact *******************************************************************************/
.secretary-report-contactform{border-top:1px solid #ddd;margin-top:20px;padding-top:20px;}
.secretary-report-contactform .control-group > input{height:32px;}
.secretary-report-contactform .control-group > textarea{width:80%;}


/*********************************/
/************ Standards **********/
/*********************************/

.col-md-1,.col-xs-1,.col-lg-1 {width:8.3%;}
.col-md-2,.col-xs-2,.col-lg-2 {width:16%;}
.col-md-3,.col-xs-3,.col-lg-3 {width:25%;}
.col-md-4,.col-xs-4,.col-lg-4 {width:33%;}
.col-md-5,.col-xs-5,.col-lg-5 {width:42%;}
.col-md-6,.col-xs-6,.col-lg-6 {width:50%;}
.col-md-8,.col-xs-8,.col-lg-8 {width:66%;}
.col-md-9,.col-xs-9,.col-lg-9 {width:75%;}
.col-md-10,.col-xs-10,.col-lg-10 {width:83%;}
.col-md-12,.col-xs-12,.col-lg-12 {width:100%;}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9,.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 { float: left;}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 { min-height: 1px; padding-left: 15px; padding-right: 15px; position: relative;}
.secretary-container .row { margin-left: -15px;}
.row-multi{padding:0 0 0 10px;}
.row-multi > *{padding-left:5px;padding-right:5px}

/********* Group Controls *******************************************************************************/
.secretary-control-group{margin-bottom:7px;}
.secretary-control-group textarea,.secretary-control-group input{width:100%;}
.secretary-control-group-gender{float:left;width:20%;}
.secretary-control-group-kdnr{float:right;width:80%;}
.secretary-control-group-name{}
.secretary-control-group-left,.secretary-control-group-right{width:48%;}
.secretary-control-group-left{float:left;}
.secretary-control-group-right{float:right;}

.secretary-control-group-btn{width:30%;}
.secretary-control-group-btn #add_document{margin:0;float:right;border-radius:0 3px 3px 0;padding:6px 12px 7px}
.secretary-control-group-list{width:70%;}
.secretary-control-group-list > div{border-radius:3px 0 0 3px;width:100px;}
.secretary-control-group-list > select{width:100%;}

.secretary-input-prepend input,.secretary-input-prepend select,.secretary-input-prepend input[type]{float:left;border-radius:0 3px 3px 0}
.input-border-radius-left{border-radius:0 3px 3px 0 !important;margin-left:-1px !important}

.secretary-input-prepend{display:table;border-collapse:separate;position:relative;width:100%;}
.secretary-add-on{margin-right:-1px;font-size:12px;text-align:center;display:table-cell;vertical-align: middle;white-space: nowrap;line-height:1;border-right:none;min-width:20%;border:1px solid #dedede;background-color:#f9f9f9;padding:0 7px;}
.predefined-contact .secretary-add-on { white-space: normal; }
.secretary-input-prepend input{display:table-cell;}

.secretary-control-group .secretary-input-prepend {margin-bottom:10px;}
 
.entry-default .controls {min-height:34px;background-color: #f8f8f8;border: 1px solid #eee; display: block; padding: 6px 8px;}
.secretary-document .entry-default .controls {min-height:34px;background-color: #ffffff;border: 1px solid #eee; display: block; padding: 6px 8px;}

.secretary-title{margin:0;font-size:25px;font-weight:normal;}
.secretary-title span{float:left;vertical-align:middle;line-height:34px;}
.secretary-title span .fa{margin:0 10px;}
.secretary-title-second{border-left:1px solid #ddd;margin-left:14px;padding-left:14px;font-size:18px;}
.secretary-title span + .btn-saveentry{margin:0 7px 0 20px}

.btn-group.secretary-group-radio label,.btn-group.secretary-group-radio-multi label{text-shadow:none;text-align:center !important;margin-left:-1px !important}
.btn-group.secretary-group-radio label,.btn-group.secretary-group-radio-multi label{background-color:#e9e9e9;border-color:#cecece;color:#aaa;box-shadow:0 1px 2px #ddd inset;} 
.btn-group.secretary-group-radio .active,.btn-group.secretary-group-radio-multi .active{background-color:#f0f0f0;border-color:#bbb;color:#444;box-shadow:0 1px 2px #fff inset;} 

/********* Table ***********************************************************************************/

.secretary-table{width:100%;}
.secretary-table-head{}
.secretary-table-body{}
.secretary-table-row{margin-bottom:30px;} 
.secretary-td{}
.secretary-table-pagination{}
.secretary-table-pagination > *{margin:0 !important}
.secretary-table-pagination .limit{font-size:13px;}
.secretary-table-row input[type="checkbox"] {margin:0;min-height:auto;} 

.secretary-main-area .table th,.secretary-main-area .table td { vertical-align:top;}
.table#documentsList td {vertical-align:middle;}
.table th input, .table td input,form button{margin:0;}
table td.right, table th.right {text-align:right;} 
table.noborder td, table.noborder th,.noborder td {border:none !important;} 
.table input[type="checkbox"],.table input[type="radio"] , input.checkbox{height: 18px;opacity: 0; position: absolute; width: 18px; z-index: 12;}
.table input[type="checkbox"] + .lbl:before, .table input[type="radio"] + .lbl:before, input.checkbox  + .lbl:before { background-color: #fff; border: 1px solid #ccc; border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); color: #32a3ce; content: " "; display: inline-block; font-family: fontAwesome; font-size: 11px; font-weight: normal; height: 18px; line-height: 18px; margin-right: 1px; min-width: 18px; text-align: center; vertical-align: middle;}
.table input[type="checkbox"] + .lbl, .table input[type="radio"] + .lbl, input.checkbox:checked + .lbl {display: inline-block; font-weight: normal; line-height: 20px; margin: 0; min-height: 18px; min-width: 18px; position: relative;z-index: 11;}
.table input[type="checkbox"]:checked + .lbl:before, .table input[type="radio"]:checked + .lbl:before, input.checkbox:checked + .lbl:before { background-color: #f5f8fc; border-color: #adb8c0; content: "\2713";display: inline-block;font-size:17px;}
.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th { transition: all 0.2s ease-in 0s; }
#secretary-language-table th{text-align:left;padding:0;padding:5px;border-bottom:1px solid #ccc;background-color:#f9f9f9;font-weight:normal;}
#secretary-language-table td{padding:0;vertical-align:top;padding:5px;border-bottom:1px solid #ccc;}
#secretary-language-table td span.key{display:block;margin-bottom:6px;font-size:10px;color:#aaa}

/********* Features *******************************************************************************/

.multiple-input-selection{margin:0;list-style:none; background-color:#fff; border: 1px solid #ddd; border-radius: 3px; color: #888; max-width: 100%; padding: 0 6px 4px 0;}
.multiple-input-selection > div{ margin:5px 0 0 5px; }
.multiple-input-selection .added-post-left{float:left;width:90%;}
.multiple-input-selection div.added-post-title{margin:0 0 8px}
.multiple-input-selection div.added-post textarea{ border-color: #eee;height:26px;}
.multiple-input-selection div.added-post,.added-artist,.input-blocked{font-family:Arial, Helvetica, sans-serif;background-color:#fcfcfc; border: 1px solid #ddd; border-radius: 3px; padding: 5px 8px;min-height:34px}
.search-features{min-width:120px;}
.removeInput {cursor:pointer;float:right;text-shadow:0 0 1px #777; background-color: #ddd; border: 1px solid #ccc; border-radius: 90%; color: #fff; display: inline-block; font-size: 11px; font-weight: bold; height: 15px; line-height: 11px; margin:3px 0 0 10px; text-align: center; vertical-align: middle; width: 15px; }
.removeInput:hover { background-color: red; }

.search-features-newsletter .added-post-left textarea{display:none;}
.search-features-newsletter .multiple-input-selection{border:none;}
.search-features-newsletter .multiple-input-selection div.added-post{background-color:#f9f9f9;}
.search-features-newsletter .multiple-input-selection div.added-post-title{margin:0;}

/****** Data Fields *******************************************************************************/

.field-items {}
.field-item {float:left;width:100%;margin-bottom:10px;border-bottom:1px solid #eee;padding-bottom:10px;}
.field-item > div {float:left;}
.field-item-title .field-alias{display:none;}
.field-item-title,.field-item-values{margin-right:15px;}
.field-item-title span{min-width:100px;display:inline-block;}
.field-item-values > *{min-height:34px;min-width:220px;}
.field-add-container{margin-top:20px}
.field-add-container #getfields{}
.field-add-container div,.field-add-container #field-add{float:left;}
.field-add-container #field-add{background-color:#dce8f2;box-shadow:none;border-radius:0 3px 3px 0;height:32px;min-height:32px;line-height:32px;padding:0 8px;display:block;color: #4c83b3;border:1px solid #bcccdb;cursor:pointer;text-transform:uppercase;font-size:11px;letter-spacing:1px;text-shadow:1px 1px 3px #fff;margin-left:-1px;font-weight:500}
.secretary-container textarea.secretary-fields-textarea{height:70px;}


/********* Status ***********************************************************************************/
.secretary-status-times { display: inline-block;min-width: 20px;vertical-align: middle;line-height: normal; }
.secretary-status-times .secretary-status-button span.secretary-state.publish { width: 100px; color: green; }
.secretary-status-times .secretary-status-button span.secretary-state.unpublish { width: 70px; color: darkred; }
.secretary-status-times .secretary-status-button > .secretary-status-button span.secretary-state.publish { color: white; background: green; }
.secretary-status-times .secretary-status-button > .secretary-status-button span.secretary-state.unpublish { color: white;background: red; }
.secretary-status-button{cursor:pointer;}
.secretary-state{}
.secretary-state,a.secretary-state:link{color:#84B973;}
span.secretary-state.publish{color:#84B973;}
span.secretary-state.unpublish{color:red;}
.secretary-state span{font-size:11px;}
.secretary-state-title{display:none;}
.secretary-state-icon {display:inline-block;font-size:17px !important;}
.secretary-status-tooltip-preview{border-radius:4px;font-size:12px;background-color:#444;color:#fff;padding:6px 9px;display:inline-block;}
.secretary-status-tooltip-preview-triagle{position:relative;display:inline-block;top:3px;width: 0;height: 0;border-top: 7px solid transparent;border-right:7px solid #444;border-bottom:7px solid transparent;}

.status-documents .secretary-state-title,.status-accountings .secretary-state-title {display:inline-block;}
.status-documents .secretary-state-icon,.status-accountings .secretary-state-icon {display:none;}

/* Alternative Darstellung für States */
/*.secretary-state-title{display:inline-block;}
.secretary-state-icon {display:none;}*/
.secretary-status-times .secretary-status-button span.secretary-state.publish { width: auto; color: green; }
.secretary-status-times .secretary-status-button > .secretary-status-button span.secretary-state.unpublish { width: auto; color: red; }
.secretary-status-times .secretary-status-button > .secretary-status-button span.secretary-state.publish { color: green; background: none; padding: 0px; }
.secretary-status-times .secretary-status-button > .secretary-status-button span.secretary-state.unpublish { color: red; background: none; padding: 0px; }

.secretary-status-button{cursor:pointer;}
.status-documents .secretary-state-title,.status-accountings .secretary-state-title {display:none;}
.status-documents .secretary-state-icon,.status-accountings .secretary-state-icon {display:inline-block;}

.secretary-state.pending .secretary-state-title,.secretary-state.canceled-pending .secretary-state-title {display:none;}
.secretary-state.pending .secretary-state-icon,.secretary-state.canceled-pending .secretary-state-icon {display:inline-block;}

.status-documents,.status-accountings {display:inline-block;width:68px;padding:5px 0;border:1px solid #eee;background:#fff;border-radius:2px;box-shadow:0 0 2px #fff inset;font-size:11px;text-transform:uppercase;text-align:center;}
.status-documents.paid,.status-accountings.done {background-color: rgba(245, 255, 237, 1);color: rgba(129, 161, 133, 1) !important;border-color: rgba(193, 221, 196, 1);}
.status-documents.unpaid,.status-accountings.locked {background-color: rgba(255, 214, 214, 1);border-color: #F2A8A8;color: rgba(255, 78, 78, 1) !important;}
.status-documents.canceled,.status-accountings.canceled {background-color:#eee;color:#999 !important;border-color:#bbb;width:78px;padding:2px 4px;}
.status-documents.paidso,.secretary-state.pending {background-color:#FFF1CA;color:#FFA043 !important;border-color:#FFC95B;width:68px;padding:2px 4px;}
.secretary-state.canceled-pending {background-color:#727272;color:#fff !important;border-color:#000;width:68px;padding:2px 4px;}
.status-documents:hover{text-decoration:none;color:#000;}
.status-documents.printpdf {color: #999;display: inline-block;text-align: center;margin-right:10px;}
.printpdf > img {min-width: 15px;}

.brutto-paid {color:rgba(67, 150, 77, 1);}
.brutto-unpaid {color: rgba(255, 78, 78, 1);}
.brutto-canceled {color:#999;}
.brutto-paidso {color:rgba(255, 143, 33, 1);}

.secretary-access-warning{background-color:#FFC;border:1px solid #F0D595;color:#806262;padding:10px 15px;}

/********* Tutorials ****************************************************************************/

.secretary-tutorial{}
.secretary-tutorial-img{max-height:100px;float:right;}
.secretary-tutorial ul{margin:0 0 16px 10px;}
.secretary-tutorial li.free{text-decoration:line-through;color:#999}
.secretary-tutorial .highlight-word{ font-style:italic;color:#000;}
.secretary-tutorial h4{line-height:20px;}


/********* Zahltag ******************************************************************************/

.secretary-main-area .table .documents-list-deadline{padding:6px 0;vertical-align:middle;}
.secretary-main-area.deadline-module{background-color:#FFF5F5;border-bottom:1px solid #eac5c5;z-index:17;padding:10px !important;}
.secretary-main-area.deadline-module h3{font-weight:normal;padding:0 10px;}
.secretary-deadline-status {display: inline-block;border: 1px solid #A5D2A5;padding: 5px 9px;border-radius: 2px;box-shadow: 0px 0px 2px #D3F5D1 inset;background-color:#D3EDCB;color:#638F69;}
.secretary-deadline-td{border-left:1px solid #D2D2D2;}


/********* Modal ********************************************************************************/

/*
div.secretary-modal {left: 0; top: 0; outline: medium none; position: absolute; width: 100%; height:100%; z-index: 1050; display:table; }
div.secretary-modal-inner{display:table-cell;margin:0;padding:0;vertical-align:middle;}
div.secretary-modal-content{background-color: #fff;border-radius: 5px;box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);margin:0 auto;max-width:602px;text-align:left;}
div.secretary-modal-content .modal-body{padding:15px 20px;}
*/
div.modal-backdrop.fade.in{opacity:0.6 !important;}
.modal.hide.fade.in{display:block!important;}

.secretary-modal { padding-bottom: 5%; height: initial !important; height: inherit !important; }
.secretary-modal {background-color:rgba(0,0,0,0.7);min-height:100%; left:0; top:0;padding-top:5%; position: absolute; width: 100%; z-index: 99999;}
.secretary-modal-inner{background-color: #fff;max-width:80%;margin:0 auto;min-height: 200px;}
.secretary-modal-top,.secretary-modal-content,.secretary-modal-bottom{padding:16px 20px;}
.secretary-modal-top{border-bottom:1px solid #ccc;}
.secretary-modal-bottom{background-color:#eee;}
.secretary-modal-top .modal-close{ background:transparent none repeat scroll 0 0;border: 0 none;cursor:pointer;color:#000;float: right;font-size: 20px;font-weight: bold;line-height: 18px;opacity: 0.2;text-shadow: 0 1px 0 #ffffff;}

.input-append input{display:inline-block;max-width:70%;}
.input-append .btn{min-height:34px;line-height:32px;padding:0 10px;}
.changelog{}
.changelog ul{margin:0 0 30px 20px;}
.changelog h4{background-color: #eee;border-bottom: 2px solid #ddd; font-size: 14px; line-height: 16px; padding: 6px 9px;}

/************ Search *********************************************************************************/

.secretary-search input{border-radius:4px 0 0 4px;margin:0 -1px 0 0 !important;float:left;width:206px;}
.secretary-search .btn{padding:7px 14px;}


/*********************************/
/************ Overrides **********/
/*********************************/

/************ Admin Template *********************************************************************/

body #sbox-window { padding: 0px; }
body #sbox-window body,body.component{background-color:#fff !important;}
/* body #sbox-content{overflow:hidden!important;} */
body .navbar{min-height:20px;}
body > .container-fluid{padding:0;}
body ul {margin:0 0 0 10px;}
.inputbox::-moz-placeholder, .form-control::-moz-placeholder {color: #bbb;opacity: 1;}
.subhead-collapse.collapse,.btn-subhead,.header,#toolbar-box{display:none!important;}
body #system-message-container{padding:0;margin:0}
body #system-message-container > div{}
#system-message-container > div {margin:0!important;}
body div.m,body #element-box{background: none !important; border: none !important;padding:0!important;}
a.success,a.info{color:#fff;}

body form {margin:0;}
body form input[type="file"] {height: auto;line-height: auto;border:none;box-shadow:none;padding:0;}
form fieldset{border:none;padding:0;margin:0;}
form #filter-bar{height:auto;}
body form label{float:none;text-align:left!important;display: block;margin-bottom: 5px; font-size: 13px;font-weight: normal;line-height: 18px;}
body .secretary-document form#document-form #products label{float:none;text-align:left!important;display: block;margin-bottom: 5px; font-size: 13px;font-weight: bold;line-height: 18px;}
#jform_year{width:60px;margin:0;}
#jform_created {width:78%;}

.secretary-main-area .nav-tabs > li > a{line-height:23px;}
.secretary-main-area .nav-tabs > li > a.btn-danger:hover,.secretary-main-area .nav-tabs > li > a.btn-danger:focus{background-color: #F00;}
.nowrap {white-space: nowrap;}

/************ Autocomplete ************************************************************************/

li.ui-menu-item{border-bottom:1px solid #ccc;}
.ui-menuitem-value{font-size:15px;}
li.ui-menu-item:last-child{border-bottom:0 none;}
.ui-menuitem-value{font-size:95%;}
.ui-menuitem-sub{font-size:85%;display:block;min-height:18px;}
.secretary-container form .ui-autocomplete-loading{background-image:url("../images/loading.gif");background-repeat:no-repeat;background-position:right;}
.loading-gif{background-image:url(../images/loading.gif);background-repeat:no-repeat;background-position:center;}

/************ Tooltip ************************************************************************/

.secretary-tooltip {position: relative;display: inline-block;}
h4.secretary-tooltip {border-bottom: 1px dotted black;}
.secretary-tooltip .tooltip-toggle {visibility: hidden;min-width: 220px;text-align: center;position: absolute;z-index: 9999;padding:10px;margin-left:10px;}

h4.secretary-tooltip .tooltip-toggle {box-shadow:0px 1px 3px #333;background:white;}

div.field-item-title.secretary-tooltip .tooltip-toggle {background-color:#000;border-radius:6px;color:#fff;left:0;top:40px}
div.field-item-title.secretary-tooltip .tooltip-toggle::after{content:" ";position:absolute;bottom:100%;left:50%;margin-left: -5px;border-width:5px;border-style:solid;border-color: transparent transparent black transparent;}

div.billing_subject_fields_replacement .secretary-tooltip .tooltip-toggle {background-color:#000;border-radius:6px;color:#fff;left:0;top:40px}
div.billing_subject_fields_replacement .secretary-tooltip .tooltip-toggle::after{content:" ";position:absolute;bottom:100%;left:50%;margin-left: -5px;border-width:5px;border-style:solid;border-color: transparent transparent black transparent;}

div.delivery_subject_fields_replacement .secretary-tooltip .tooltip-toggle {background-color:#000;border-radius:6px;color:#fff;left:0;top:40px}
div.delivery_subject_fields_replacement .secretary-tooltip .tooltip-toggle::after{content:" ";position:absolute;bottom:100%;left:50%;margin-left: -5px;border-width:5px;border-style:solid;border-color: transparent transparent black transparent;}

.secretary-tooltip .tooltip-toggle { opacity: 0;transition: opacity 0.5s; }
.secretary-tooltip:hover .tooltip-toggle { opacity: 1;visibility: visible; }
div.field-item-title.secretary-tooltip:hover .tooltip-toggle {opacity:0.8;}


/********* Buttons **********************************************************************************/
.btn-toolbar{margin:9px 0;}
.btn-select-contacts{color:#bbb;}
.secretary-container .btn{background-image:none;}
.secretary-container .btn.active{background-color: #e4e4e4;box-shadow: 0 1px 3px #fff inset;}
.secretary-container .btn-group > .btn {float:left;margin:0;}
.secretary-container button.hidden-toolbar-btn {display:none;}
form input.btn-no-bg{background:none;border:none;box-shadow:none;}
.secretary-main-area .btn-upload{ background-color: #8DC0DD; border-color: #7DA5CE;}
.secretary-main-area .btn-upload:hover{ background-color:#69C; border-color: #7DA5CE;}
.btn.btn-pdf { color: #ad1212;font-size: 15px; font-weight: bold;}
.btn.btn-pdf > img { margin-right: 6px; }

/************ Inputs ********************************************************************************/
.input-append, .input-prepend { display: inline-block; font-size: 0; margin-bottom: 9px; vertical-align: middle; white-space: nowrap;}
.secretary-container .control-group {margin-bottom: 18px;padding:0}
.secretary-container button[type],.secretary-container input[type],.secretary-container textarea,.secretary-container select{margin:0;box-shadow:none;min-height:34px;vertical-align:middle;}
.secretary-main-container .secretary-main-area .col-md-3 input[type="file"] { width: 100%; }
.secretary-container button[type],.secretary-container input[type="text"],.secretary-container input[type="number"],.secretary-container select{height:34px;border: 1px solid #ccc;padding-top:6px;padding-bottom:6px;}
.secretary-container select{max-width:100%;}
.secretary-container button[type]{padding: 0 10px;}
.input-append .modal.btn,.modal.show{position:relative;display:inline-block;}
.document-label { text-decoration: underline; font-size: 12px;}
.document-data { font-size: 12px;}
.control-label input{width:auto;}
.control-label label a{margin-left:8px;}
input:focus,textarea:focus{box-shadow:0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 2px rgba(82, 168, 236, 0.6) !important;}

.secretary-container textarea{height:50px;max-width: 100%;}
.secretary-container textarea{height:auto;}
.secretary-modal .secretary-container textarea {height:auto;}
.secretary-container input,form input[type],.table-item-head,.secretary-main-area fieldset textarea,.secretary-main-area fieldset #item-add {margin:0;border-radius:1px;box-shadow:0 1px 1px #fff inset;border:1px solid #ccc;font-size:15px;min-width:1px;}
.secretary-main-area fieldset #item-add {font-size:13px;}
fieldset.adminform textarea {max-width:100%;}
#business-form #jform_address {width: 100%;min-height: 100px;}
.secretary-contacts-modal #filter_search {min-height:30px;}
.secretary-contacts-modal{background-color:#fff;}
.input-range-save-message{font-size:12px;display:block;padding:8px 0 0;color:#41A546;}
.secretary-container .btn.btn-email-disable{font-weight:normal;text-shadow:none;background-color:#ddd;color:#999;border-color:#bbb}
.secretary-container  input.input-date {font-size: 13px; padding: 0 5px; width: 86px;text-align:center}

/************ Selects *********************************************************************************/

.select-arrow-toolbar{float:left;margin-right:10px;}
.select-arrow-toolbar-next{float:left;margin-right:10px;line-height:28px;color:#666;}
.secretary-container .select-arrow select{border-radius:0;margin:0;font-size:14px;width:160px;padding:0 4px;box-shadow:none;vertical-align:top !important;min-height:32px;height:32px;max-width: none;}
.secretary-container .select-small select {width:90px;}
.secretary-container .select-large select {width:100%;min-width: 160px;}
/*
.secretary-container .select-arrow {min-height:32px; border: 1px solid #ccc; border-radius: 1px;overflow: hidden; width: 140px;background: #fff url("../images/select-arrow-grey.png") right center no-repeat; }
.secretary-container .select-arrow select{margin:0;background: none repeat scroll 0 0 transparent;border: medium none;font-size:14px;width:160px;padding:0 4px;box-shadow:none;vertical-align:top !important;min-height:32px;height:32px;max-width: none;}
.secretary-container .select-arrow select option {padding:7px;}
.secretary-container .select-arrow-small,.secretary-container .select-arrow-small select{font-size:12px;min-height:26px;height:26px;}
.secretary-container .select-small {width:70px;}
.secretary-container .select-small select {width:90px;}
.secretary-container .select-md {width:110px;}
.secretary-container .select-md select {width:130px;}
.secretary-container .select-large {width:100%;}
.secretary-container .select-large select {width:110%;min-width: 160px;}
.secretary-container .select-arrow-white{background-color:#fff;}
*/
.secretary-main-area .table {margin:0;}
.secretary-main-area .table .table-list-pagination td{padding:12px 8px 0 8px;}
.table-list-pagination {border-top:2px solid #ddd;} 
.table-list-pagination .pagination-filter-text { color: #aaa; float: left; height: 30px; line-height: 30px; margin: 0 0 0 30px; }
.table-list-pagination select{max-width:165px;border-color:#ddd;float: right;margin-left:10px;}
.secretary-accounts-table-footer select{border-color:#ddd;float: right;margin-left:10px;}

.select-arrow-control > span.select-label {background-color:#fafafa; border:1px solid #dedede;border-right:none;border-radius: 3px 0 0 3px;display: block;float: left;padding:0 10px;font-size:13px;color:#666;cursor:pointer;line-height:32px;height:32px;}
.select-arrow-control > span.select-label#add_document {background-color:#9FBDDB;color:#fff;border:1px solid #81A9B9;border-right:none;padding:0 12px;text-transform:uppercase;font-weight:bold;}
.select-arrow-control > div{float:left;border-radius:0 3px 3px 0;}


/****************************/
/******** Mobile ************/
/****************************/

@media (max-width: 1508px)
{	
	.secretary-document .col-lg-9{border:none;}
	.secretary-document-bottom{border-top:1px solid #c6ccce;}
	.secretary-document-bottom > div{float:left;width:33.3%;border:none;}
	body .col-lg-1,body .col-lg-10,body .col-lg-11,body .col-lg-12,body .col-lg-2,body .col-lg-3,body .col-lg-4,body .col-lg-5,body .col-lg-6,body .col-lg-7,body .col-lg-8,body .col-lg-9 {float:none;width:100% !important;padding:0;}
}

@media (max-width: 991px)
{ 
	.secretary-container {padding:0 0 20px;overflow:hidden;width:100%;margin-left:0 !important;} 
	
	.secretary-main-area {padding:20px 10px;}
	.secretary-main-container > div.col-md-10,.secretary-main-container > div.col-md-2 {width:100%;float:none;}
	.secretary-sidebar-container,#sidebar-angle.hide-sidebar{display:none;}
	
	.secretary-sidebar-container + .secretary-main-container,
	.secretary-container .secretary-sidebar-container.hidden-sidebar + .secretary-main-container{margin:0;position:relative;}
	
	/******** Toggle Sidebar ************/
	.secretary-topbar-container .secretary-toggle-sidebar{display:block;}
	.secretary-sidebar-container {left:0;position:absolute;top:auto;width:70%;display:none;}
	.secretary-container.active {left:70% !important;position:relative}
	ul.secretary-nav li a span.fa{width:20px;margin-right:10px}
	
	/* document */
	.secretary-documents-datetitle input{max-width: 100px;}
	
	.secretary-document-bottom { padding: 20px; }
}
@media (max-width:991px)
{
	body.admin.com_secretary > div{margin:0 0px }
	.secretary-container .row,.secretary-main-container-right{margin:0}
	.secretary-main-container-right{padding:20px 15px 0 15px}
	.secretary-main-container-left,.secretary-main-container-right{width:100%;float:left;} 
	
	.secretary-document-bottom > div,.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {float:none;width:100%;padding:0;}
	.table-item-taxrate-perc{display:none;}
	.secretary-documents-datetitle input {max-width: 100%;}
	.nav.nav-tabs img{display:none;}
}
@media (max-width:768px)
{
	body.admin.com_secretary > div{margin:0 -20px }
	.secretary-container .row,.secretary-main-container-right{margin:0}
	.secretary-main-container-right{padding:20px 15px 0 15px}
	.secretary-main-container-left,.secretary-main-container-right{width:100%;float:left;} 
	
	.secretary-document-bottom > div,.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {float:none;width:100%;padding:0;}
	.table-item-taxrate-perc{display:none;}
	.secretary-documents-datetitle input {max-width: 100%;}
	.nav.nav-tabs img{display:none;}
}
@media (max-width:640px) {
	.secretary-container .secretary-sidebar-container.hidden-sidebar + .secretary-main-container{left:0;}
	.secretary-status-tooltip-preview-triagle{display:none}
}
@media (max-width:600px) {
	.secretary-documents-contact,.secretary-documents-datetitle{width:100%;max-width:100%;}
	.secretary-documents-fields{width:100%;}
}

@media print {
	.secretary-sidebar-container { display: none; }
	.secretary-container { margin-left: 0%; }
	#mapview { page-break-before:always; page-break-after:always; }
	#map { page-break-before:always; page-break-after:always; }
}