article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary { display: block; }
html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
small { font-size: 80%; }
sub,sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
figure { margin: 0; }
button,input,select,textarea { font-family: inherit; font-size: 100%; margin: 0; }
button,input { line-height: normal; }
button,select { text-transform: none; }
button,input[type="button"],input[type="reset"],input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
button[disabled], input[disabled] { cursor: default; }
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner,input::-moz-focus-inner { border: 0; padding: 0; }

body { margin: 0; padding: 0; font-size: 12px; font-family: Arial, Helvetica, sans-serif }
p { margin: 0 0 20px 0; }
img { border: none; height: auto; }
table { border-collapse: collapse; border: none; height: auto; border-spacing: 0; }
td { padding: 2px; vertical-align: top }
a, input, textarea, select, button { outline: none; }
textarea{ overflow: auto; vertical-align: top; }

#wrapper { background: #ffffff; }

.container { margin: 0 auto; position: relative }
.cleaner, .clear { clear: both; }
.hidden, .hide, .onlyPrint { display: none; }

.bttn { display: inline-block; width: auto; height: auto; margin: 30px 0; padding: 15px 50px; font-size: 16px; color: #ffffff; font-weight: bold; text-decoration: none; cursor: hand; cursor: pointer; font-family: 'Open Sans', sans-serif; background: #6d7783; border: none; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; transition: background .3s; -webkit-transition: background .3s; }
.bttn:hover { background: #59616b; }

/* Vkládání obrázků - CKEDITOR */

.CKEDITOR_float_left { float: left }
.CKEDITOR_float_right { float: right }


/* News + References */

.img, .detail_img { float: left; display: block; margin: 5px 20px 10px 0 }
.img img { display: block; }
.inlineInsertElement_wrapper .img { position: relative; z-index: 100; }


/* Gallery */

.gal_item { float: left; margin: 0 10px 10px 0; overflow: hidden; }
.gal_item .gal_item_link { display: block; }
.gal_item .gal_img { display: block; height: auto; /*max-width: 100%;*/ margin: 0 auto }
.gal_item .gal_item_label { margin: 5px 0; text-align: center; text-decoration: none; overflow: hidden;  }
#x_gallList.ui-sortable .itemItemBar {cursor:move;}
#x_gallList.ui-sortable-disabled .itemItemBar {cursor: pointer;}

.itemItemBar_wrapper .gal_item_link { background: rgba(250,250,250,0.8); }

.galItemAdd, .gal_item {
    border: 8px solid transparent;
}

li.ui-sortable-helper div.gal_item {
    opacity: 0.7;
}

.ui-sortable-placeholder.gal_item {
    border: none;
    margin: 0;
}

.itemMultiSelector {
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    cursor: pointer;
    z-index: 9;
    line-height: 29px;
    padding-left: 10px;
    font-weight: bold;
}

.gal_item.selected {
    border-color: #aed7f8;
}

.gal_item.selected .itemMultiSelector {
    /*background: green;*/
    color: #fff;
}

.gal_item.unselected .itemMultiSelector {
    /*background: #fff;*/
    color: #000;
}

.ui-sortable-helper {
    list-style: none;
}

.gal_item.hidden {
    display: none;
}

.gal_item.selected .itemMultiSelector .shape,
.gal_item.selected:hover .itemMultiSelector .shape {
    background-position: -52px center;
}

.gal_item:hover .itemMultiSelector .shape {
    background-position: -26px center;
}


.itemMultiSelector .shape {
    position: absolute;
    height: 26px;
    width: 26px;
    padding: 0px;
    left: 10px;
    top: 10px;
    background: transparent url(../../images/IA/multiselect.png) no-repeat 0px center;
}

.gal_item .HE_F2_show.itemItemBar {
    display: none;
}

.gal_item:hover .HE_F2_show.itemItemBar {
    display: block;
}

/* FIREFOX & IE fix */
#ajax_loginForm.coreForm {
    position: absolute;
}



/* Paging - stránkování */

.paginate { text-align:center; padding:10px; line-height:30px; }
.paginate .paginate_item { background:#eee; border:1px solid #ccc; padding:5px 7px; }
.paginate span.paginate_item { color:#888; }
.paginate a.paginate_item { color:#000; text-decoration:none; }
.paginate a.paginate_item:hover { background:#ddd; }
.paginate .separator { display:none; }


/* Table - tabulka stylu phonebook */

.advTable { border-collapse:collapse; width:100%; margin:5px 0; }
.advTable th { border:1px solid #ccc; padding:3px 10px; background:url('/_templates/default/images/advTable_th.gif') center repeat-x #eee; }
.advTable th a { color:#000; }
.advTable th.bigTH { padding:7px 10px; text-align:left; font-size:15px; }
.advTable th.subTH { padding:3px 10px; text-align:left; font-size:12px; font-weight:bold; }
.advTable th .order_ASC { width:10px; height:6px; background:url('/_templates/default/images/advTable_order_ASC.gif') center no-repeat; margin-left:5px; }
.advTable th .order_DESC { width:10px; height:6px; background:url('/_templates/default/images/advTable_order_DESC.gif') center no-repeat; margin-left:5px; }
.advTable td { border:1px solid #ccc; padding:5px 10px; }
.advTable tr.light { background:#fff; }
.advTable tr.dark { background:#ebebeb; }
.advTable tr.light:hover { background:#d4d4d4; }
.advTable tr.dark:hover { background:#d4d4d4; }
.advTable tr.light td.ordered { background:#e4e4e4; }
.advTable tr.dark td.ordered { background:#d4d4d4; }


/* Debug - public */

.coreMessage { margin: 10px 0; text-align: left; }
.coreMessage .header, .coreMessage .footer { display: none; }
.coreMessage .body .header, .coreMessage .body .footer { display: block; }
.coreMessage .body { padding: 5px; color: #000000; background: #be1504; }


/* ----------------------------------------------
    Notifikace
---------------------------------------------- */

.notification { padding: 25px 70px 25px 30px; position: relative; margin: 10px 0; background: #d4dee7; color: #30353a; font-size: 14px; line-height: 130%; font-family: 'Open Sans', Arial, sans-serif; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
.notification a { font-weight: normal; color: #30353a; }
.notification.error { background: #ffada4; color: #874a46; }
.notification.error a { color: #874a46; }
.notification.warning { background: #ffd8af; color: #d0661c; }
.notification.warning a { color: #d0661c; }
.notification.success { background: #aed28b; color: #5d704a; }
.notification.success a { color: #5d704a; }
.notification-close { display: block; width: 16px; height: 18px; line-height: 1; position: absolute; top: 50%; right: 30px; margin: -9px 0 0 0; font-size: 18px; text-decoration: none; text-align: center; opacity: 0.5; cursor: hand; cursor: pointer; }

.notifications-box { position: relative; font-family: 'Open Sans', Arial, sans-serif; }
.notifications-box .notification-box-label { padding: 25px 50px 25px 0; color: #a3acb6; font-size: 14px; font-weight: 600; text-align: right; position: relative; }
.notifications-box .notification-box-label .number { display: block; width: 20px; height: 20px; text-align: center; position: absolute; top: 50%; right: 0; margin: -15px 0 0 0; background: #d4dee7; color: #616c77; font-size: 16px; line-height: 21px; font-weight: 600; border-radius: 100px; border-radius: 100px; border-radius: 100px; }
.notifications-box .notification-box-label .number.active { background: #e0062a; color: #ffffff; }
.notifications-box .notification-box-label .number.active:after { display: block; content: ""; position: absolute; left: 50%; bottom: -3px; margin: 0 0 0 -5px; width: 0; height: 0; border-style: solid; border-width: 4px 5px 0 5px; border-color: #e0062a transparent transparent transparent; }
.notifications-box .notification-box { width: 100%; padding: 5px 20px; position: absolute; font-size: 14px; line-height: 130%; color: #616c77; border: 1px solid #c9c9c9; box-shadow: 0 0 3px 1px #ededed; -webkit-box-shadow: 0 0 3px 1px #ededed; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
.notifications-box .notification-box a { font-weight: normal; text-decoration: none; color: #616c77; }
.notifications-box .notification-box .notification-box-item { display: block; padding: 13px 20px; position: relative; border-bottom: 1px solid #eaeaea; }
.notifications-box .notification-box .notification-box-item .notification-close { right: 0; }
.notifications-box .notification-box .notification-box-item:before { display: block; content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin: -3px 0 0 0; border-radius: 100px; border-radius: 100px; border-radius: 100px; }
.notifications-box .notification-box .notification-box-item.error:before { background: #ffada4; }
.notifications-box .notification-box .notification-box-item.warning:before { background: #ffd8af; }
.notifications-box .notification-box .notification-box-item.success:before { background: #aed28b; }
.notifications-box .notification-box .notification-box-item.last { border-bottom: none; }


/* ----------------------------------------------
    UI Dialog
---------------------------------------------- */

.ui-dialog { padding: 0; border: none; border: 1px solid #c9c9c9; box-shadow: 0 0 3px 0 rgba(201,201,201,0.5); -webkit-box-shadow: 0 0 3px 0 rgba(201,201,201,0.5); border-radius: 3px; border-radius: 3px; border-radius: 3px; z-index:9999;}
.ui-dialog .ui-dialog-title { margin: 0; font-size: 22px; line-height: 130%; color: #31363b; font-weight: 600; font-family: 'Open Sans', Arial, sans-serif; }
.ui-dialog .ui-dialog-titlebar { padding: 20px 30px; background: #d4dee7; border: none; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
.ui-dialog .ui-dialog-titlebar-close { width: 20px; height: 20px; top: 50%; right: 30px; background: none; border: none; padding: 0; margin: -10px 0 0 0; text-indent: 0; font-size: 24px; color: #6d7783; }
.ui-dialog .ui-dialog-titlebar-close .ui-icon { display: block; width: 100%; height: 100%; position: absolute; left: 0; top: -2px; background: none; border: none; padding: 0; margin: 0; text-indent: 0; font: normal normal normal 20px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.ui-dialog .ui-button-icon-only .ui-button-text, .ui-dialog .ui-button-icons-only .ui-button-text { display: none; }
.ui-dialog .ui-dialog-titlebar-close .ui-icon:before { content: "\f00d"; }
.ui-dialog .ui-dialog-content { padding: 20px; font-size: 16px; color: #34383e; font-weight: normal; font-family: 'Open Sans', Arial, sans-serif; }


/* ----------------------------------------------
    UI Tabs
---------------------------------------------- */

.ui-tabs,
.ui-tabs .ui-tabs-nav,
.ui-tabs .ui-tabs-panel { padding: 0; margin: 0; border: none; background: none; }
.ui-tabs .ui-tabs-nav li { margin-right: 1px; font-size: 16px; font-weight: 600; color: #43464a; background: #c3ccd4; border: none; border-radis: 3px 3px 0 0; -webkit-border-radis: 3px 3px 0 0; -moz-border-radis: 3px 3px 0 0; font-family: 'Open Sans', Arial, sans-serif; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs .ui-tabs-nav .ui-tabs-anchor { padding: 12px 20px; color: #43464a; }
.ui-tabs .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; margin-bottom: 0; color: #ffffff; background: #6d7783; }
.ui-tabs .ui-tabs-nav li.ui-tabs-active a { color: #ffffff; }
.ui-tabs .ui-tabs-panel { padding: 20px 0; }


/* ----------------------------------------------
    UI Slider
---------------------------------------------- */

.ui-slider { margin: 0; padding: 0; height: 14px; border: none; background: #d4dee7; border-radius: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; }
.ui-slider .ui-slider-range { background: none; }
.ui-slider .ui-slider-handle { width: 24px; height: 24px; top: 50%; margin-top: -12px; cursor: hand; cursor: pointer; border: none; background: #6d7783; border-radius: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; }
.ui-slider .ui-slider-handle:after { display: block; content: ""; width: 10px; height: 10px; position: absolute; top: 50%; left: 50%; margin: -5px 0 0 -5px; background: #ffffff; border-radius: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; }


/* ----------------------------------------------
    UI Progressbar
---------------------------------------------- */

.ui-progressbar { margin: 0; padding: 0; height: 14px; border: none; background: #d4dee7; border-radius: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; }
.ui-progressbar .ui-progressbar-value { margin: 0; padding: 0; border: none; background: #6d7783; border-radius: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; }


/* ----------------------------------------------
    UI Datepicker
---------------------------------------------- */

.ui-datepicker { width: 400px; margin: 0; padding: 0; border: 1px solid #d4dee7; background: #ffffff; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
.ui-datepicker .ui-datepicker-header { padding: 15px 0; background: #d4dee7; border: none; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
.ui-datepicker .ui-datepicker-header .ui-datepicker-title { font-size: 24px; line-height: 130%; color: #565e67; font-weight: 600; font-family: 'Open Sans', Arial, sans-serif; }
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next { width: 0; height: 0; top: 50%; margin-top: -8px; background: none; border-style: solid; cursor: hand; cursor: pointer; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev { left: 15px; border-width: 8px 10px 8px 0; border-color: transparent #6d7783 transparent transparent; }
.ui-datepicker .ui-datepicker-header .ui-datepicker-next { right: 15px; border-width: 8px 0 8px 10px; border-color: transparent transparent transparent #6d7783; }
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon { display: none; }
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-header .ui-datepicker-next-hover { background: none; }