@import url("./font-awesome/css/font-awesome.css?v=2");

/* Global */
.cleaner {
	clear: both;
	height: 0;
	line-height: 0px;
	font-size: 0px;
	margin: 0;
	padding: 0;
}

pre {
	font-size: 1.0em;
}



*,*:before,*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

h1, h2, h3 {
    font-weight: normal;
}

/* END - Global */

/* Layout */

	#layout {
		width: 100%;
		margin: 0px;
		padding: 0px;
	}
	
	#header {
		/*height: 110px;*/
		/*line-height: 90px;*/
		/*background: silver;*/		
        /*border-bottom: 1px solid #e6e6e6;*/
        padding: 10px 10px 10px 5px;    
        float: right;    
	    text-align: right; 
	}
	
	#header.nomenu {
		 float: none;  
		 text-align: left;   
	}
    
    #sidebar {
        background: white;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
        padding: 0 0 0 20px;
    }
	
	#header #lang_form {
		height: auto;
		/*background: silver;*/
		display: inline-block;
	}
	
	#header.nomenu #lang_form{
		float:right;
		text-align:right;
	}
	
	#header #login_as {
		margin-top: 2px;
		clear:right;
	}
	
	.langs__item {
		opacity: .5;
	}
	
	.langs__item.is-active {
		opacity: 1;
	}

	.langs__item {
		display: inline-block;
		width: 30px;
		height: 30px;
		background-position: bottom left;
		background-repeat: no-repeat;
		text-indent: -9999px;
	}

	.langs__item.is-active {
		background-position: top left;
	}	

	.langs__item:first-child {
		background-image: url('../images/ico-lang-cz.png');
	}	

	.langs__item:last-child {
		background-image: url('../images/ico-lang-en.png');
	}
	
        
         #footer {
            text-align: right;
            padding: 0 20px 5px 0;            
        }
	
	#header #header_subject{
	 	margin: 0px 8px 0 0;
	 	font-size: 17px;
	 	position: relative;
	 	top: -4px;
	}
	
	#header.nomenu #header_subject{
		top: 0px;
	}
	
	#header #header_subject a {
        color: #999999;
        text-transform: uppercase; 
        display: inline-block;       
	}
	
	#header h1 {
        margin: 0;
        padding: 0;
        font-size: 1.3em;
	}

	#content {
	    /*background: silver;*/
	}
	
	#content #obsah {
	    margin: 10px 20px 20px 20px;
        background: #FFF;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        padding: 15px;
	}
	
	#content #pageHeader {
        margin: 10px 20px 0px 20px;
	}
	
	#content #pageH1 {
        color: #5e5e5e;        
        font-weight: normal;
        margin: 0px;
        display: inline;
	}
	

/* END - Layout */

/* sidebar */


/* END - sidebar */

/* loginForm */

/* login box */
.c-login, .c-password {
	background: #fff;
}

.login-for-admin {
	background: #e5f5fc url('../images/bg-slider.png') top right repeat-y;
	position: relative;
	padding: 60px 0;
}

.login-box {
	background: #fff;
	border: #dddddd solid 1px;
	border-radius: 5px;
	padding: 30px;
}

.login-box h1 {
	font-weight: 300;
	font-size: 2.500rem;
	color: #2d2d2d;
	margin: 0 0 30px 0;
}

.login-box .btn,
.login-box a {
	display: block;
	width: 100%;
}

.login-box .btn {
	padding: 10px 30px;
}

.login-box a {
	color: #656565;
	text-decoration: underline;
	margin: 0 0 10px 0;
}

.login-box a:hover {
	text-decoration: none;
}

.login-box label {
    color: #273756;
    font-weight: 500;
}

.login-box .col-sm-2 {
	-webkit-box-flex:0;
	-ms-flex:0 0 41.66667%;
	flex:0 0 41.66667%;
	max-width:41.66667%
}

.login-box .col-sm-10 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 58.33333%;
	flex: 0 0 58.33333%;
	max-width: 58.33333%;
}

.login-box .row {
	margin-left: 0;
	margin-right: 0;
}

.login-box .form-control {
    color: #656565;
    background-color: #f7f7f7;
    background-image: none;
    border: 1px solid #ddd;
}

.login-for-admin .form-vertical .form-group {
	width: 100%;
	max-width: 100% !important;
}

.login-for-admin .login-box .btn {
	width: auto;
}

/*
	#loginForm {
		width: 600px;
		margin: 2em auto 2em auto;
		border: 1px solid #d4dce0;
		padding: 0 1em 0 1em;
		background: #d4dce0 no-repeat right bottom;
	}
	
	#loginForm h2 {
	    font-weight: normal;
	    color: #336699;
	    margin: 1em 0 1em 0;
	}
	
	#loginForm #leftColum, #loginForm #rightColum {
	    width: 280px;
	}
	
	#loginForm #leftColum label, #loginForm #rightColum label {
        font-weight: bold;
    }
	
	#loginForm #leftColum {
        float: left;
    }
	
	#loginForm #rightColum {
	    float: right;
	}
	
	#loginForm #formButton {
	    clear: both;
	    text-align: right;
	    padding: 0.5em 1em 0 0;
	    margin: 0 0 2em 0;
	}
	*/

/* END - loginForm */

/* message */

    #message {
        margin: 1em 0 1em 0;
        padding: 1em;
        background: red;
        color: #fff;
        text-align: center;
    }

/* END - message */

/* formulare */
    
    fieldset {
        border: 0;
        margin: 0;
        padding: 0;
    }
    
    form {
        margin: 0;
        padding: 0;
    }
    
    fieldset form {
    	clear: both;
    }
    
    legend {
        font-size: 1.3em;
        margin: 0 !important;
        padding: 0 0 0.25em 0 !important;
        color: #0078EF;
    }
    
    legend span {
    	font-size: 0.7em;
    }
    
    dl {
        /*border-bottom: 1px solid #BFFFDC;*/
        margin: 0 0 1em 0;
        padding: 0;
    }

	dt {
		clear: left;
		width: 15em;
		float: left;
		text-align: right;
	}
        	
	dd {
		margin: 0 0 5px 16em;
		width: 70%;        
	}
    
    dt, dd {
        line-height: 25px;
    }
    
    label {
        padding: 0 5px 0 0;
        white-space: nowrap;
    }
    
	
	dd img.ui-datepicker-trigger {
		vertical-align: -0.25em;
		margin-left: 0.25em;
		cursor: pointer;
	}
        
    dd p.description {
        display: inline;
        margin: 0;
        padding: 0; 
    }

    dd div#swfupload-control {
        padding-top: 5px;
    }
    
    p.hint {
	    color: #808080;
	    font-size: 95%;
	    padding: 0 0 0em 0em;
	    margin: 0.25em 0 0 0em;
	    font-style: italic;
	}
	
	.ajaxbox {
		border: 3px solid #BFFFDC;
		padding: 0.5em;
		margin-top: 0.25em;
		overflow: hidden;
	}
	
	input.big {
		font-size: 1.2em;
	}

/* END - formulare */

/* tbl_list */
    .tbl_list th a img {
    	padding-right: 5px;
    }

    .tbl_list td a.ovalbuttonn {
    	padding: 3px 12px;
    }
                    
    .tbl_list tr.sums {
    	background: #FCFF9E;
    }
    	
    .tbl_list tr.hand {
    	cursor: pointer;
    }

    .td_stav {
        width: 40px;
        text-align: center;
    }
    
    .td_pozice {
        width: 55px;
        text-align: center;
    }
    
    .td_edit, .td_smaz, .td_helpdeskposts {
        text-align: center;
    }
    
    .td_edit.nowrap{
    	white-space: nowrap;
    	text-align:left;
    }

	.td_edit.nowrap .ovalbutton{
		float:none;
		display:inline-block;
	}

    .tbl_list.order {
        width: 50%;
    }
    .tbl_list.order tr td:first-child {
        width: 25%;
    }

/* END - tbl_list */

/* right_float */

	#right_float {
		float: right;
		width: 340px;
		margin-left: 0.75em;
	}

/* END */

/* pagination */
.f-left {float:left}
.f-right {float:right}
    
 .paging {clear:both;}
 .paging .f-left, .paging .f-right {margin: 10px 0;}
 .paging .f-right a {padding: 3px 8px; text-decoration:none; color: #007aff; border:1px solid #ccc; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
 .paging .f-right a.active {font-weight: bold; background: #007aff; color: white}
 .clear{clear: both}

/* END - pagination */

/* diskuze */

.diskuze_item, .diskuze_item_respond {
	margin-bottom: 1em;
}

.diskuze_item .neaktivni, .diskuze_item_respond .neaktivni {
	color: silver;
}

.diskuze_item .nahlasit, .diskuze_item_respond .nahlasit {
	margin: 0.5em !important;
	padding: 0.75em;
	background: #fff;
	border: 3px solid #DCDBFF;	
}

.diskuze_item {
	background: #DFEEFF;
}

.diskuze_item .diskuze_item_servis {
	background: #9EC9FE;
}

.diskuze_item .diskuze_item_obsah, .diskuze_item_respond .diskuze_item_obsah {
	padding: 0.5em;
}

.diskuze_item .diskuze_item_obsah h5, .diskuze_item_respond .diskuze_item_obsah h5 {
	margin: 0;
	padding: 0;
	font-size: 1em;
}

.diskuze_item .diskuze_item_obsah p, .diskuze_item_respond .diskuze_item_obsah p {
	margin: 0;
	padding: 0;
}

.diskuze_item .diskuze_item_servis, .diskuze_item_respond .diskuze_item_servis {
	text-align: right;
	padding: 0 0.5em 0 0;
	font-size: 0.9em;
	line-height: 2.75em;
}

.diskuze_item_respond {
	border-left: 3px solid #9EC9FE;
}

.diskuze_item_respond .diskuze_item_servis {
	background: #DFEEFF;
}

/* END - diskuze */

/* info_box */

.info_box {
	background: #F5FAFE;
	border: 3px solid #DFEEFF;
	/*color: #003366;*/
	padding: 0.5em;
	margin: 0.5em 0 0.5em 0;
}

/* END - info_box */

/* zpravy po zpracovani skriptu */
	
	.message-good, .message-bad, .message-info  {
	    padding: 10px 10px 10px 40px;
	    margin: 10px;
	    background-position: 7px 7px;
	    background-repeat: no-repeat;
	    clear: both;
	}
	
	.message-good {
	    border: 1px solid #cae49c;
	    color: #516f1b;
	    background-color: #f3ffd0;
	    background-image: url(/images/icons/accept.png)
	}
	
	.message-good a {
	    color: #516f1b;
	}
	
	.message-bad {
	    border: 1px solid #ffdede;
	    color: #ce0000;
	    background-color: #fff1f1;
	    background-image:  url(/images/icons/exclamation.png);
	}
	
	.message-bad a {
	    color: #ce0000;
	}
	
	.message-info {
	    border: 1px solid #ededb3;
	    background-color: #ffffcc;
	    background-image:  url(/images/icons/information.png);
	}
	
/* END */

/* ZALOZKY */
	/*
	ul.zalozky {
		margin: 0;
		padding: 0 0 0 0.5em;
		height: 1%; 
		margin-bottom: -4px;
		overflow: visible;
		float: left;
		width: 100%;
	}
	
	ul.zalozky li {
		position: relative; 
		float: left;
		background-color: #E5ECFD;
		border: 1px solid #9EC9FE;
		padding: 4px 15px;
		margin: 0 5px -1px 0;
		list-style: none;
		display: block;
	}
	
	html>body ul.zalozky {
		height: auto;
		margin-bottom: 0;
	}
	
	*+html>body ul.zalozky {
		margin-bottom: -8px;
	}
	
	ul.zalozky + * {
		clear: both;
	}
	
	html>body ul.zalozky li {
		position: static;
	}
	
	ul.zalozky li:hover {
		background-color: white;
	}
	
	ul.zalozky li.selected {
		background-color: #F5FAFE;
		border-bottom-color: #F5FAFE;
		font-weight: bold;
	}
	*/
	
	ul.zalozky {
	  list-style: none;
	  margin: 0 0 0 0;
	  padding: 0;
	  border-bottom: 1px solid #9EC9FE;
	  height: 1%; /* IE workaround */
	  overflow: visible; /* IE workaround */
	  
	}

	ul.zalozky:after {
	  content: ".";
	  display: block;
	  height: 0;
	  clear: both;
	  visibility: hidden;
	}
	
	ul.zalozky li {
	  position: relative; /* IE6 only */
	  float: left;
	  background-color: #E5ECFD;
	  border: 1px solid #9EC9FE;
	  padding: 5px 15px;
	  margin: 0 5px -1px 0;
	  list-style: none;
	  display: block;
	}
	
	html>body ul.zalozky li {
	  position: static;
	}
	
	ul.zalozky li:hover {
	  background-color: white;
	}
	
	ul.zalozky li.selected {
	  background-color: white;
	  border-bottom-color: white;
	  font-weight: bold;
	}
	
	ul.zalozky li a.preskrtle {
		text-decoration: line-through;
	}
	
	ul.zalozky li a.edit {
		color: red;
	}
	
	div.zalozky_div {
		border-left: 1px solid #9EC9FE;
		border-right: 1px solid #9EC9FE;
		border-bottom: 1px solid #9EC9FE;
		padding: 0.5em;
		background: white;
	}

/* END */

.button {
	border: 1px solid #81A3F1;
	background: #DFE8FC;
	padding: 2px;
}

/* paticka */

    #paticka {
	    border-top: 1px solid #9EC9FE;
	    margin-top: 1em;
	    padding: 0.5em;
	    clear: both;
    }

/* END - paticka */

/* a */

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

/* END - a */

.cleditorMain {
    float: none !important;
}

ul.errors li, p.error, div.error {color: red; font-weight: bold}
p.error,div.msg.error{background: #FFC0C0;border: solid red 1px;padding: 10px;margin: 10px 20px;}
div.msg.info{background: #D6FFD0; border: #5ecf4d solid 1px; padding: 10px; margin: 10px 0 20px 0;}


#wait { display: none; margin: 0 auto; position:fixed; border: left:0; top:0; width:100%; height:100%; padding-top: 10px; background-image:url("transparentbg.png"); text-align: center } 
#dialog-elm {display: none}

.info {color: green; margin: 10px; font-weight: bold}

p.price {text-align: right; margin: 5px 0; font-size: 16px;}
p.price.total {text-align: right; margin: 5px 0; font-size: 18px;}
p.price span {display: inline-block; width: 300px;}
p.buttons a {text-decoration: none;}

a.title {
    text-decoration: none;
    color: #007aff;
}

.hidden {display: none;}


table.form td {
    border-bottom: 1px solid #BFFFDC;
    padding: 5px 0;
    vertical-align: top;
}

table.multicheckbox td:first-child {
    padding-right: 10px;
}

table.multicheckbox td {
    padding: 0;
    vertical-align: top;
}

.ticket, .helpdeskpost .description {max-width: 1000px}

table.helpdesks tr.unsolved .state, .helpdeskposts div.unsolved .header, .ticket.unsolved  .header {color: #ff1919;}
table.helpdesks tr.solving .state, .helpdeskposts div.solving  .header, .ticket.solving  .header  {color: #ffc119}
table.helpdesks tr.waitingForResponse .state, .helpdeskposts div.waitingForResponse  .header, .ticket.waitingForResponse  .header    {color: #0066ff}
table.helpdesks tr.resolved .state, .helpdeskposts div.resolved  .header, .ticket.resolved  .header  {color: #0fab3f}
table.helpdesks tr.postponed .state, .helpdeskposts div.postponed  .header, .ticket.postponed  .header  {color: #996600}
table.helpdesks tr.completed .state, .helpdeskposts div.completed  .header, .ticket.completed  .header  {color: #666666}
table.helpdesks tr.acceptedAuthority .state, .helpdeskposts div.acceptedAuthority  .header, .ticket.acceptedAuthority  .header  {color: #993333}

table.helpdesks tr.internal .name, table.helpdesks tr.internal .id {font-style:italic}

.helpdeskposts div.helpdeskpost {padding: 10px; margin-bottom: 10px; 
     border:1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.helpdeskposts div.helpdeskpost.internal{color:#ACACAC !important;font-style:italic;}
.helpdeskposts div.helpdeskpost.role-10 {background-color: #dddddd;}


.helpdeskposts div.helpdeskpost .header {font-weight:bold;}
.helpdeskposts div.helpdeskpost .description {padding-left: 20px;padding-top: 5px;}
.helpdeskposts div.helpdeskpost .documents, .helpdeskposts div.helpdeskpost .sent {padding-left: 30px;}

#swfupload-control p{ margin:10px 5px; font-size:0.9em; }
#log{ margin:0; padding:0; width:500px;}
#log li{ list-style-position:inside; margin:2px; border:1px solid #ccc; padding:10px; font-size:12px;
	font-family:Arial, Helvetica, sans-serif; color:#333; background:#fff; position:relative;}
#log li .progressbar{ border:1px solid #333; height:5px; background:#fff; }
#log li .progress{ background:#999; width:0%; height:5px; }
#log li p{ margin:0; line-height:18px; }
#log li.success{ border:1px solid #339933; background:#ccf9b9; }
#log li span.cancel{ position:absolute; top:5px; right:5px; width:20px; height:20px;
	background:url('/design/btn-delete.gif') no-repeat; cursor:pointer; }
    
select {
    padding: 5px 12px;
}

textarea {
    height: auto;
}

input.submit, input.input-submit {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap; 
    background: #007aff;
    border: #007aff solid 1px;
    text-decoration: none;  
    -webkit-transition: all 0.15s;
    -moz-transition: all 0.15s;
    transition: all 0.15s; 
    color: #FFF;      
}

input.submit:hover, input.input-submit:hover {
    background: transparent;
    border-color: #007aff;
    color: #007aff;
}

.box .ovalbutton {
    float: right;
}

.box-02 .col-1-3 {
    float: left;
    /*width: 33%;*/
    padding: 0 10px 0 0;
    position: relative;
    line-height: 34px;
}

.box-02 .col-1-3 > * {
    vertical-align: middle;
}

.box-02 .col-1-3 img {
    /*display: block;
    position: absolute;
    right: 25px;
    top: 25px;*/
    position: relative;    
    top: 5px;
}

.box-02 .row {
    margin: 0 0 5px 0;
}

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

.priority-critical, .priority-high {
    display: inline-block;
    width: 16px;
    height: 16px;    
    margin: 0 5px 0 0;
}

.priority-critical {
    background: url('ico-alert-red.png') no-repeat;
}

.priority-high {
    background: url('ico-alert-orange.png') no-repeat;        
}

.readen-icon, .notReaden-icon {
	font-size: 20px !important;
}

.notReaden-icon {
	color: #ED6469;
}

.readen-icon{
	color: #CCCCCC;
}

.row .filterEnd {
}

.filetype-icon {
	margin-right: 4px;
}

a.document_content_show{
	font-size: 80%;
}

img.document_image, pre.document_content{
	display:block;
	max-width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: inherit;
}

#pageHeader .box {
	display: inline;
	margin-left: 15px;
	position: relative;
	top:-5px;
}

#pageHeader .box .ovalbutton {
	padding: 5px 12px;
	float: none;
}

table.suspicious-emails tr.unreaden {
	font-weight: bold;
}

table.suspicious-emails tr.connected {
	background-color: #FCFF9E;
}

div.suspicious-emails-menu.unreaden {
	font-weight: bold;
}

#suspicious-emails-error {
	font-weight: bold;
	color: red;
	cursor: help;
}

input.helpdeskIdSuggest.filled {
	color: darkgreen;
	border-color: darkgreen;
}

div.ui-tooltip {
	max-width: 800px;
}

.ui-widget-content {
	background: #eeeeee;
}

.ui-widget-header {
	border-color: transparent;
	background: transparent;
	font-weight: normal;
}

.ui-widget-header .ui-button {
	border-color: white;
	background: white;
}

@media (min-width: 992px) { 
	.form-vertical .form-group {
		max-width: 50%;
	}
}

.radio-inline {
	padding-top: calc(.375rem + 1px);
	padding-bottom: calc(.375rem + 1px);
}

.radio-inline .radio,
.radio-inline .checkbox {
	display: inline-block;
	margin-right: 15px;
}

.radio-inline .radio label, 
.radio-inline .checkbox label {
	margin-bottom: 0;
}

.form-group {
    margin-bottom: 0.5rem !important;
}

form > .col-12.px-0 {
    max-width: 940px;
}
