﻿/*
Theme Name: Schilling & Partner
Version: 1.0
Author: Chris Thomann - IT Economy GmbH
Author URI: http://www.iteconomy.ch
*/


/* reset */
body,div,dl,dt,dd,ul,ol,li,pre,form,fieldset,input,button,textarea,blockquote,th,td {
    margin:0;
    padding:0;
    font-family:'univers', Arial, Helvetica, sans-serif;
}

fieldset,img {
    border:0;
}

html {
    height:100%;
    margin-bottom:0px;
}

body {
    position:relative;
}

:focus {
    outline:none;
}

/* fonts */
@font-face {
    font-family: 'univers_bold';
    src: url('/template/fonts/UniversLTStd-Bold.woff2') format('woff2'),
        url('/template/fonts/UniversLTStd-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'univers';
    src: url('/template/fonts/UniversLTStd.woff2') format('woff2'),
        url('/template/fonts/UniversLTStd.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* links */
a {
    color:#F7A600;
    text-decoration:none;
}

a:hover {
    text-decoration:underline;
}

/* header elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'univers_bold';
    line-height:100%;
    margin:0;
}

h1 {
    font-size: 24px;
    color:#000;	
    /*text-transform:uppercase;*/
}

h2 {
    font-size:27px;
    /*text-transform:uppercase;*/
}

h3 {
    font-size:20px;
    /*text-transform:uppercase;*/
}

h4 {
    font-size:13px;
}

h5 {
    font-size:10px;
    /*text-transform:uppercase;*/
}

h6 {
    font-size:125%;
}

/* page setup */
body {
    background:#fff;
    font-size:16px;
	line-height:160%;
}

/* wrapper setup */
div.outerwpr {
    /*background:#ebebeb url(/template/images/outerwpr_bg.png) 50% 0 repeat-x;*/
	background-color:#eee;
}

div.rapidxwpr {
    margin:auto;
    width:998px;
}

/* header */
div#header {
    height:262px;
    background:#FFF url(/template/images/header_bg.jpg) 0 0 no-repeat;
	box-shadow: 0px 0px 10px #00000029;
}

/* logo */
div.logo {
    width:193px;
    overflow:hidden;
    height:47px;
    padding:200px 0 0 20px;
	float:left;
}

/* main body setup */
div#middle {
    width:auto;
    clear:both;
    background:#FFF;
    padding:32px 20px 60px 20px;
	box-shadow: inset 0 6px 4px -4px #00000029;
	
}

/* right column */
div#right {
    width:268px;
    float:right;
}

/* content column */
div#main {
    width:auto;
    margin:0 279px 0 0;
    padding:0 33px 0 0;
    border-right:#d1d1d1 1px solid;
}


/* clearing & floating */
.clearingfix:after {
    content:".";
    display:block;
    line-height:0;
    clear:both;
    visibility:hidden;
}

.clearingfix {
    display:block;
}

.floatbox {
    overflow:hidden;
}

/* topmenu */
div#topmenu {
	float:right;

}

div#topmenu ul {
    list-style:none;
    float:left;
	padding: 186px 0 0 20px;
}

div#topmenu ul li {
    float:left;
    display:block;
    font-size:18px;
	font-family: 'univers';
    /*text-transform:uppercase;*/
    padding:28px 20px 0 20px;
	height:48px;
}

div#topmenu ul li.menu-item-first {
    background:none;
    border:0;
}

div#topmenu ul li a {
    color:#000;
}

div#topmenu ul li a:hover, div#topmenu ul li.current-menu-item a, div#topmenu ul li.current-menu-ancestor a, div#topmenu ul li.current_page_parent a, div#topmenu ul li.sfHover a {
    color:#1f1f1f;
    text-decoration:none;
}

div#topmenu ul li ul, div#topmenu ul li.sfHover ul {
    border-right:#adaaaa 1px solid;
    border-bottom:#adaaaa 1px solid;
    float:none;
    background:#dbdbdb;
    display:none;
}

div#topmenu ul li ul li, div#topmenu ul li.sfHover ul li {
    float:none;
    font-size:18px;
    text-transform:none;
    background:none;
    padding:0;
    letter-spacing:normal;
    color:#1f1f1f;
    border-top:#FFF 1px solid;
}

div#topmenu ul li ul li:first-child, div#topmenu ul li.sfHover ul:first-child {
    border:0;
}

div#topmenu ul li ul li a, div#topmenu ul li.sfHover ul li a {
    display:block;
    color:#1f1f1f;
    padding:5px 12px;
}

div#topmenu ul li ul li a:hover, div#topmenu ul li.sfHover ul li a:hover {
    color:#818080;
}

/* sidebox */
div.sidebox {
    padding:0 0 18px 0;
}

div.sidebox h3 {
    margin:0 0 5px 0;
}

div.sidebox a {
    color:#010101;
}

div.sidebox ul {
    margin:0;
    list-style:none;
}

div.sidebox ul li {
    background:url(/template/images/arrow.png) 0 6px no-repeat;
    padding:0 0 0 11px;
}

/* post */
div.post {
    overflow:hidden;
    border-top:#d1d1d1 1px solid;
    padding:15px 0 11px 0;
    height:100%;
}

div.post:first-child {
    border:0;
    padding-top:0;
}

div.post div.post_header h2 {
    margin:0 0 9px 0;
}

div.post div.post_header h2 a {
    color:#F7A600;
}

div.post div.post_header span.post_cats {
    display:block;
    font-size:20px;
    color:#929191;
    padding:2px 0 5px 0;
    text-transform:uppercase;
}

div.post div.post_header span.post_cats a {
    color:#929191;
}

div.post div.post_header div.post_meta {
    color:#474747;
    font-size:24px;
}

div.post div.post_header div.post_meta a {
    color:#474747;
}

div.post div.post_img {
    float:left;
    width:146px;
    margin:15px 0 0 0;
}

div.post div.post_img img {
    float:left;
    border:#b9b9b9 1px solid;
}

div.post div.post_entry {
    float:right;
    width:448px;
}

div.post div.post_entry.full {
    float:none;
    width:auto;
}

div.page {
    overflow:hidden;
    border-top:#d1d1d1 1px solid;
    padding:15px 0 11px 0;
    height:100%;
}

body.page div.page {
    border-top:0;
    padding-top:0;
}

/* post comments */
div.post_comments {
    overflow:hidden;
}

div.post_comments div.post_comments_header {
    overflow:hidden;
    border-bottom:#d1d1d1 1px solid;
    height:36px;
    margin:0 0 30px 0;
}

div.post_comments div.post_comments_header h3.comments_title {
    background:#474747 url(/template/images/comments_btn_bg.png) 0 0 repeat-x;
    float:right;
    text-transform:uppercase;
    color:#FFF;
    font-size:14px;
    padding:12px 15px;
}

div.post_comments h3 {
    color:#929191;
}

div.post_comments h3#comments-title {
    color:#929191;
}


div.post_content ul {
    margin:0;
    list-style:none;
}

div.post_content ul li {
    background:url(/template/images/arrow.png) 0 6px no-repeat;
    padding:0 0 0 11px;
}

/* comments */
ol.commentlist {
    list-style:none;
}

ol.commentlist li {
    list-style:none;
    margin:0;
    padding:0;
}

ol.commentlist li.comment {
    list-style:none;
    overflow:hidden;
    border-bottom:#d1d1d1 1px solid;
    margin:0 0 22px 0;
    position:relative;
}

ol.commentlist li.comment div.comment-meta {
    color:#a1a0a0;
    font-weight:bold;
    padding:12px 0 7px 0;
}

ol.commentlist li.comment div.comment-meta a {
    color:#F7A600;
}

ol.commentlist li.comment div.comment-meta cite.fn {
    font-style:normal;
    font-weight:bold;
}

ol.commentlist li.comment div.comment-body-wpr {
    overflow:hidden;
    padding:3px 0 0 0;
}

ol.commentlist li.comment div.comment-author img {
    float:left;
}

ol.commentlist li.comment div.comment-body {
    float:right;
    width:538px;
}

ol.commentlist li.comment div.comment-body p {
    margin-top:0;
}

ol.commentlist li.comment div.reply {
    overflow:hidden;
    height:100%;
    clear:both;
}

ol.commentlist li.comment div.reply a {
    background:#474747 url(/template/images/comments_btn_bg.png) 0 0 repeat-x;
    float:right;
    text-transform:uppercase;
    color:#FFF;
    font-size:12px;
    padding:12px 15px;
    text-decoration:none;
    line-height:100%;
}

ol.commentlist li.comment ul.children {
    margin:0;
}

/* comments form */
div.comments_form {
    overflow:hidden;
    padding:13px 0 15px 0;
}

div.comments_form h3 {
    color:#929191;
    margin:0;
    overflow:hidden;
}

div.comments_form ul {
    margin:0;
    list-style:none;
    overflow:hidden;
}

div.comments_form ul li {
    list-style:none;
    float:left;
    padding:14px 0 0 0;
    overflow:hidden;
    width:291px;
}

div.comments_form ul li input.input_item {
    background:url(/template/images/input_bg.png) 0 0 repeat-x;
    width:271px;
    padding:12px 10px 11px 10px;
    text-transform:none;
    font-size:10px;
    color:#919191;
    border:0;
}

div.comments_form ul li input.submit {
    font-size:12px;
    color:#FFF;
    border:0;
    background:#F7A600;
    width:125px;
    height:36px;
    cursor:pointer;
    text-transform:none;
    padding:0 0 2px 0;
    margin:0;
    display:block;
    float:right;
}

div.comments_form ul li.right {
    float:right;
}

div.comments_form ul li textarea {
    background:#242424 url(/template/images/textarea_bg.png) 0 0 repeat-x;
    height:114px;
    width:592px;
    padding:12px 10px 11px 10px;
    font-size:10px;
    color:#919191;
    border:0;
    display:block;
}

div.comments_form ul li.full {
    float:none;
    width:100%;
}

div.comments_form ul li.submit {
    float:none;
    padding:0;
    margin:0;
    width:100%;
}

div.comments_form #cancel-comment-reply-link {
    background:url(/template/images/cancel.png) 0 -1px no-repeat;
    padding:0 0 2px 20px;
    font-size:12px;
    font-weight:normal;
    margin:0 0 0 25px;
    color:#C00;
    text-transform:none;
}

/* navigation */
div.navigation {
    background:url(/template/images/navigation_bg.png) 50% 0 no-repeat;
    height:50px;
    padding:1px 37px 0 37px;
}

div.navigation span.prev {
    float:left;
}

div.navigation span.prev a {
    float:left;
    margin:0 1px 0 0;
    width:36px;
    height:36px;
    background:url(/template/images/icons.png) 0 0 no-repeat;
    text-indent:-9999px;
}

div.navigation span.prev a:hover {
    background:url(/template/images/icons.png) 0 -40px no-repeat;
    text-decoration:none;
}

div.navigation span.next {
    float:left;
}

div.navigation span.next a {
    float:left;
    margin:0 1px 0 0;
    width:36px;
    height:36px;
    background:url(/template/images/icons.png) -40px 0 no-repeat;
    text-indent:-9999px;
}

div.navigation span.next a:hover {
    background:url(/template/images/icons.png) -40px -40px no-repeat;
    text-decoration:none;
}

div.navigation a.print {
    float:right;
    width:36px;
    height:36px;
    margin:0 1px 0 0;
    background:url(/template/images/icons.png) -80px 0 no-repeat;
    text-indent:-9999px;
}

div.navigation a.print:hover {
    background:url(/template/images/icons.png) -80px -40px no-repeat;
    text-decoration:none;
}

div.navigation a.gotop {
    float:right;
    width:36px;
    height:36px;
    margin:0 1px 0 0;
    background:url(/template/images/icons.png) -120px 0 no-repeat;
    text-indent:-9999px;
}

div.navigation a.gotop:hover {
    background:url(/template/images/icons.png) -120px -40px no-repeat;
    text-decoration:none;
}

div.nav-previous {
    float:left;
}

div.nav-next {
    float:right;
}


/* footer */
div.footer_padding {
	padding-left:20px;
}
div.footer_top {
    width:auto;
    clear:both;
	border-top:1px solid #D4D4D4;
	padding-top:15px;
	line-height:200%;
	padding-bottom:20px;
}
div.footer_top a { 
	color:#000;
}

div.footer_middle {
	clear:both;
	border-top:1px solid #D4D4D4;
	background: #F4F4F4;
	height: 35px;
	padding-top:15px;
}
div.footer_middle a { 
	color:#000;
}
div.footer_bottom {
	clear:both;
	border-top:1px solid #D4D4D4;
	background: #F4F4F4;
	height: 75px;
	padding-top:15px;
}

div.footer_links span.footer_copyright {
    float:left;
    width:241px;
}

div.footer_links ul {
    margin:0;
    list-style:none;
    float:left;
}

div.footer_links ul li {
    float:left;
    background:url(/template/images/footer_menu_sep.png) 0 3px no-repeat;
    padding:0 7px 0 9px;
}

div.footer_links ul li a {
    color:#8a8a8a;
}


/* Forms */
#main input[type=text],
#main input[type=password],
#main textarea {
	background: #fafafa;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	border: 1px solid #ddd;
	color: #888;
}
#main input[type=text]:focus,
#main textarea:focus {
	color: #373737;
}
#main textarea {
	padding-left: 3px;
	width: 98%;
}
#main input[type=text], #main input[type=password] {
	padding: 3px;
}
#main input#s {
	background: url(/template/images/search.png) no-repeat 5px 6px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 14px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}
#main input#searchsubmit {
	display: none;
}

#main input[type=submit] {
    font-size:12px;
    color:#FFF;
    border:0;
    background:#F7A600;
    width:125px;
    height:36px;
    cursor:pointer;
    text-transform:none;
    padding:0 0 2px 0;
    margin:0;
    display:block;
    float:right;
}


img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}



#main #job_comment_internal,#main #job_comment_internal_admin  {
    height: 150px;
    width: 95%;
    padding: 5px;
    transition: all 0.4s ease; /* anstelle von nur height */
}

#main #job_comment_internal.expanded {
    height: 700px;
}

/* Drag & Drop Zone Styles */
.drag-drop-zone {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 166, 0, 0.9);
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.drag-drop-zone.active {
    display: flex !important;
}

.drag-drop-zone .drop-text {
    border: 3px dashed white;
    padding: 50px;
    border-radius: 10px;
    max-width: 500px;
}

/* Upload Overlay Styles */
.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.upload-modal {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.upload-modal h2 {
    margin-bottom: 20px;
    color: #F7A600;
    font-size: 20px;
}

.file-upload-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f9f9f9;
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.file-name {
    font-weight: bold;
    color: #333;
    flex: 1;
}

.file-size {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #F7A600, #F5A52C);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.upload-status {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.upload-options {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.upload-options h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.upload-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-primary {
    background: #F7A600;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.btn-primary:hover {
    background: #e6950a;
}

.btn-secondary {
    background: #ccc;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #bbb;
}

/* Spacing between upload action buttons */
.upload-buttons .btn-secondary {
    margin-right: 12px;
}

.upload-success {
    color: #28a745;
    font-weight: bold;
}

.upload-error {
    color: #dc3545;
    font-weight: bold;
}



/* Upload Button States */
.btn-primary:disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.btn-primary:disabled:hover {
    background: #ccc !important;
}

/* Sticky Job Title Header */
.job-title-sticky {
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    padding: 10px 10px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.job-title-sticky h1 {
    margin: 0;
    padding: 0;
}

/* Job Detail Drag & Drop Upload Styles */
.file-upload-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 10px 2px 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.file-name {
    font-weight: bold;
    flex: 1;
    font-size: 14px;
}

.file-size {
    color: #666;
    font-size: 11px;
}

.file-description {
    margin-bottom: 5px;
}

.file-description label {
    display: block;
    font-weight: bold;
    margin-bottom: 3px;
    font-size: 12px;
}

.upload-status {
    font-size: 12px;
    margin-bottom: 4px;
    min-height: 16px;
}

.progress-container {
    position: relative;
    margin-bottom: 0;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: #007cba;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.upload-success {
    color: #28a745;
    font-weight: bold;
}

.upload-error {
    color: #dc3545;
    font-weight: bold;
}

.drag-drop-zone {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 140, 0, 0.1);
    border: 3px dashed #ff8c00;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    pointer-events: none;
}

.drag-drop-zone.active {
    display: flex;
}

.drop-text {
    text-align: center;
    font-size: 24px;
    color: #ff8c00;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid #ff8c00;
}

.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.upload-modal {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
}

.upload-modal h2 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.upload-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.upload-options h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.checkbox-group {
    margin-bottom: 8px;
}

.checkbox-group label {
    font-size: 13px;
}

.upload-buttons {
    margin-top: 15px;
    text-align: center;
}

.btn-primary {
    background-color: #ff8c00;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #e67300;
}

.btn-primary:active {
    background-color: #cc5500;
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Textarea expanded state */
#job_comment_internal.expanded {
    min-height: 200px;
}


