/*
* ==========================================================================================
* Main CSS file 
* 
* @author       Honza Michalička <honza.michalicka@designeo.cz>
* @copyright    2013 Designeo Creative s.r.o.
* ==========================================================================================
*/


/* ==========================================================================
   Repairs Twitter Bootstrap bug (not included in current stable package)
   ========================================================================== */
.row-fluid ul.thumbnails li.span12 + li { margin-left : 0px; }
.row-fluid ul.thumbnails li.span6:nth-child(2n + 3) { margin-left : 0px; }
.row-fluid ul.thumbnails li.span4:nth-child(3n + 4) { margin-left : 0px; }
.row-fluid ul.thumbnails li.span3:nth-child(4n + 5) { margin-left : 0px; }
.row-fluid ul.thumbnails li.span2:nth-child(6n + 7) { margin-left : 0px; }
.row-fluid ul.thumbnails li.span1:nth-child(12n + 13) { margin-left : 0px; }




/* ==========================================================================
   Bootstrap modifications

   to this section add only modification to standard bootstrap classes
   custom classes put to separate section below
   ========================================================================== */

/* Main font */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,800italic,400,700,800&subset=latin-ext);

body {
    padding-top: 60px;
    padding-bottom: 40px;
    font-family: "Open Sans", "Helvetica Neue", sans-serif !important;
    font-size: 13px;
    /*background-color: #ECF0F1;*/
}

/* CKEDITOR body ???*/
body.cke_editable, body.cke_editable_themed, body.cke_contents_ltr, body.cke_show_borders {
    padding: 0px;
    margin: 0px;
}
.cke.cke_chrome {
    border: 2px solid #dce4ec;
    box-shadow: none;
    -webkit-box-shadow: none;
    --moz-box-shadow: none;
    border-radius: 6px;
    background: none;
}
.cke .cke_top {
    background: #dce4ec;
    box-shadow: none;
    -webkit-box-shadow: none;
    --moz-box-shadow: none;
    border: none;   
}
.cke .cke_contents {
    border-radius: 6px;    
}
.cke .cke_toolgroup {
    border: 1px solid #dce4ec;
    background: #dce4ec;
    box-shadow: none;
    -webkit-box-shadow: none;
    --moz-box-shadow: none;
}
.cke a.cke_button_off:hover, 
.cke a.cke_button_off:focus, 
.cke a.cke_button_off:active, 
.cke a.cke_button_disabled:hover, 
.cke a.cke_button_disabled:focus, 
.cke a.cke_button_disabled:active,
.cke a.cke_button_on:hover, 
.cke a.cke_button_on:focus, 
.cke a.cke_button_on:active,
.cke .cke_button_on {
    box-shadow: none;
    -webkit-box-shadow: none;
    --moz-box-shadow: none; 
    background: #c0cbd4; 
}




h1 {
    font-size: 28px;
    font-weight: normal;
}
a {
    text-decoration: none;
}
.label, .badge {
    text-shadow: none;
}

/* Forms
--------------------------------------------------------------------------- */

input {
    width: 350px;
}
input[type="date"] {
    width: auto;
}
textarea {
    width: 500px;
}
.required label {
    font-weight: bold;
}
.form-horizontal input + .help-block, .form-horizontal select + .help-block, .form-horizontal textarea + .help-block {
    margin: 0;
    font-size: 12px;
    color: #aaa;
}
.btn-insert {
    margin-top: 15px;
    margin-left: 10px;
    float: right;
}

.input-append .add-on, .input-prepend .add-on {
    height: auto;
    padding: 12px 10px 12px;
    background-color: #dce4ec;
    border: none;
    border-radius: 0 6px 6px 0;
    position: relative;
    left: -4px;
}

/* Tables 
--------------------------------------------------------------------------- */

table.table-striped th, table.table-striped td {
    border-top: 2px solid white;
}
.table-striped tbody > tr:nth-child(even) > td, .table-striped tbody > tr:nth-child(even) > th {
    background-color: #f6f6f6;
}
.table-hover tbody tr:hover > td, .table-hover tbody tr:hover > th {
  background-color: #ECF0F1;
}


/* Navbar 
--------------------------------------------------------------------------- */
.navbar-inverse .navbar-inner {
    background: #18222b;
    background: #1f2b38;
}
.dropdown-menu {
  border: none !important;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
  background-color: transparent;
}
.navbar {
    font-size: 14px !important;
}
.navbar .nav > li > ul {
    padding-top: 0;
}
.navbar .nav ul {
    left: 0px;
    border-radius: 0;
}
.dropdown-submenu > a:after,
.navbar .nav > li > .dropdown-menu:before,
.navbar .nav > li > .dropdown-menu:after {
    display: none;
}
.navbar .nav ul li:first-child {
    border-radius: 0;
}
.navbar .nav ul li {
    background-color: #0a0e12;
}
.dropdown-menu > li > a:hover, 
.dropdown-menu > li > a:focus, 
.dropdown-submenu:hover > a, 
.dropdown-submenu:focus > a {
    background-color: #1abc9c;
    background-image: none;
}
.navbar .brand {
    font-size: 16px;
    font-weight: normal;
}
.navbar .nav li a {
    font-weight: normal;
    text-shadow: none;   
}



.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}
.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}
.dropdown-menu {
    border-radius: 0 !important;
    border: none;
    background-color: #0a0e12;
}
.navbar .nav li a:hover,
.dropdown:hover,
.dropdown-menu:hover {
    color: #ffffff;
    background-color: #0a0e12;
}
.navbar .nav li .dropdown-menu li a:hover {
    background-color: #1abc9c;
}

/* Nav tabs
--------------------------------------------------------------------------- */
.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.nav-pills > .active > a:focus {
  background-color: #16A085;
}


/* Misc
--------------------------------------------------------------------------- */

/* Bootstrap - lightbox */
.lightbox-title{
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.5);
}

.pagination {
    margin: 0;
}
.pagination ul > li.next > a, .pagination ul > li.next > span,
.pagination ul > li.previous > a, .pagination ul > li.previous > span, .pagination ul > li.next > a, .pagination ul > li.next > span {
    margin: 0;
}


.modal-header {
    padding: 9px 15px;
    border-bottom: 0;
}


.label, .badge {
    font-weight: normal;
}

/* ==========================================================================
   Custom styles

   to this section add custom classes 
   ========================================================================== */

/* Forms
--------------------------------------------------------------------------- */
form .d-form {
    background-color: #ECF0F1;
    border-radius: 8px;
    padding: 25px;
    margin: 10px 0;
}
.btn-insert {
    background-color: #16A085;
}
.btn-insert:hover {
    background-color: #1ABC9C;
}

input.datetimepicker {
    width: 180px;
}

input[type="text"].title-input {
    font-size: 28px;
    font-weight: bold;
    padding: 12px 0 13px 10px;
}
input[type="text"].span8,
textarea.span8 {
    width: 806px;
}
label, input, button, select, textarea {
    font-size: 13px;
}
.btn {
    font-size: 14px;
}
.btn-large {
    font-size: 18px;
}

.advanced-toggle {
    display: block;
    margin: 20px 0;
}

/* Bootstrap select */
.bootstrap-select .btn:focus {
    outline: none !important;    
}
.bootstrap-select .btn.dropdown-toggle {
    background-color: #34495E;
    box-shadow: none;
    padding: 8px 12px;
    border-radius: 5px;
}
.bootstrap-select.open .btn.dropdown-toggle {
    background-color: #16A085;
}
.bootstrap-select .caret {
    border-top: 6px solid white;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}
.bootstrap-select.btn-group .dropdown-menu {
    background: white;
    border-radius: 5px;
    border: 2px solid #dce4ec !important;
}
.bootstrap-select.btn-group .dropdown-menu > li  {
    padding: 3px;
}
.bootstrap-select.btn-group .dropdown-menu > li > a {
    border-radius: 3px;
    padding: 4px 20px;
}


/* Bootstrap datetimepicker */
.bootstrap-datetimepicker-widget.dropdown-menu {
    
}
.bootstrap-datetimepicker-widget.dropdown-menu ul {
   background-color: white;
   position: relative !important;
   left: -200px;
}

/* Grid filters */
table tr.filters input{
    width: auto;
    font-size: 13px;
    padding: 3px 0 3px 4px;
    border: 0px solid #dce4ec;
    margin-bottom: 0px;
    background-color: white;
}
table tr.filters select{
    width: auto;
    font-size: 10px;
    padding: 3px 0 3px 4px;
    border: 0px solid #dce4ec;
    margin-bottom: 0px;
}
table tr.filters input[type=submit]{
    width: 40px;
    border: 0px solid #dce4ec;
    background-color: #16A085;
    padding: 3px 3px 3px 3px;
}
table tr.filters input[type=submit]:hover{
    background-color: #1ABC9C;
}

/* Custom select */
table tr.filters .bootstrap-select.btn-group {
    margin: 0;
}
table tr.filters .bootstrap-select .btn.dropdown-toggle {
    padding: 4px 10px;
}
table tr.filters .bootstrap-select .btn {
    max-width: 120px;
} 

table tr.filters .btn-group > .btn, 
table tr.filters .btn-group > .dropdown-menu, 
table tr.filters .btn-group > .popover {
font-size: 13px;
}
table tr.filters .bootstrap-select {
width: auto;
}




/* Tables 
--------------------------------------------------------------------------- */

/* Tables - header */
table tr.header th {
    background-color: #2C3E50;
    color: silver;
    height: 30px;
    line-height: 30px;
    font-weight: normal;
}
table tr.header th a {
    color: white;
    display: block;
}
table tr.header th.orderable:hover {
    background-color: #34495E;
}
table tr.filters td {
    background-color: #ECF0F1;
    height: 30px;
    line-height: 25px;
    padding: 8px;
}
table td.actions a {
    margin: 0 3px;
    font-size: 120%;
}



/* Login Page 
--------------------------------------------------------------------------- */
.login-form input[type=text],
.login-form input[type=password] {
    width: 320px;
}
.login-screen {
    padding: 0; /* Flat UI Fix */
}
.dwf-login-box {
    width: 380px;
    height: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left:-190px;
}
.login-form {

}
.dwf-login-icon {

}
/* Dashboard
--------------------------------------------------------------------------- */
.app {
    display: block;
    padding: 20px 30px;
    margin: 20px 0;
    background-color: #16A085;
    border-radius: 4px;
    color: white;
    font-size: 18px;
    text-align: center;
}
.app:hover {
    background-color: #1ABC9C;
    color: white;
}
.app-disabled {
    background-color: #95A5A6;
}
.app-disabled:hover {
    background-color: #95A5A6;
}

.support {
    display: block;
    padding: 15px 30px;
    margin: 20px 0;
    background-color: #BDC3C7;
    border-radius: 4px;
    color: white;
    font-size: 18px;
    text-align: center;
}
.support:hover {
    background-color: #95A5A6;
    color: white;
}
.support span {
    position: relative;
    top: -5px;
    left: 5px;
}


#autosaved {
    font-weight: normal;
    margin: 3px 10px;    
}







/* ==========================================================================
   Nette Defaults
   ========================================================================== */

/* Nette Ajax */

#ajax-loading-box {
    display: none;
    z-index: 10000;
    position: fixed;
    top: 50%;
    left: 50%;
}

#ajax-loading {
    position: relative;
    left: -35px;
    top: -35px;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
    height: 70px;
    width: 70px;
    border-radius: 18px;
    background-color: #34495e;
    /* background-image: url('/theme/admin/images/ajax-loading-bg-2.png'); */
}

#ajax-loading i {
    position: relative;
    margin-top: 8px;
    font-size: 40px;
    color: #FFFFFF;
    /* color: #1abc9c; */
}


#ajax-spinner {
    background-image: url('/theme/shared/images/spinner.gif');
    font-size: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    cursor: pointer;
    overflow: hidden;
    z-index: 123456;
    display: none;
}
/*
#ajax-spinner {
    margin: 15px 0 0 15px;
    padding: 13px;
    background: white url('/theme/shared/images/spinner.gif') no-repeat 50% 50%;
    font-size: 0;
    z-index: 123456;
    display: block;
    width: 70px;
    height: 20px;
    color: white;
    font-weight: bold;
    border: 1px solid silver;
    margin: 2px;
    padding: 15px 20px 20px 40px;
    position: fixed;
    top: 30%;
    left: 40%;
    opacity: 0.8;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
*/


a[href^="error:"] {
    background: red;
    color: white;
}

#js-warning {
    background: red;
    color: white;
    font-weight: bold;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 9999999;
    padding: 20px;
}




/* ==========================================================================
   Media - Images
   ========================================================================== */


.media-popup-container {
    display: none;
    width: 820px;
    margin-left: -410px;
}


/* Menu */
ul.menu-list {
    margin: 0;
}
ul.menu-list ul {
    margin-left: 30px;
}
.menu-list li.menu-item > a > i{
    font-weight: normal;
    font-size: 18px;
    line-height: 16px;
}
.menu-list li.menu-item > i.icon-list{
    font-size: 15px;
    padding-right: 3px;
}
.menu-list li.menu-item {
    list-style: none;
    padding: 10px;
    border-top: 1px solid #ddd;
}
.menu-list li.menu-item span.icons {
    float:right;
}
.menu-list li.menu-item strong{
    font-size:14px;
}
.menu-list li.menu-item small{
    color: #ccc;
    padding-left: 5px;
    font-size:12px;
}
.menu-list li.menu-item:hover {
    background: #eee;
}
.btn-menu-insert {
    float: none;
    margin-top: 0px;
    margin-left: 0px;    
    margin-bottom: 10px;
}
.menu-list li.menu-item .icon-eye-close {
    color: orange;
}



/* Specific */
.current-set > span{
    font-weight: bold;
}

.media-set-folders{
    margin-left: 0px !important;
}

.media-set-folders li{
    padding: 0px;
    border-bottom: 0px;
    list-style-type: none;
}

.expanded>ul, .expanded>li{
   display: block;
}

.collapsed>ul, li .collapsed>li{
   display: none;
}

.media-set-folders ul{
    margin-left: 15px;
}

.media-set-folder-icon{
    opacity: 0.5;
    color: #999;
}

.media-set-folder-icon:hover{
    text-decoration: none;
    color: #999;
    opacity: 0.8;
}

.media-set-folders .set-actions{
    float: right;
    display: none;
    text-align: right;
}

.media-set-folders .expanded>span:hover>.set-actions{
    display: block;
}

.media-set-folders-row{
    display: block;
    padding: 5px 0px;
    border-bottom: 1px solid #eee;
}






.thumbnails .media-thumb img {
    max-height: 160px;
    max-width: 160px;
}

.thumbnails .media-thumb {
    text-align: center;
    padding: 10px;
    margin-left: 20px;
    margin-right: -10px;
    border: 1px solid #fff;
    height: 180px;
    width: 180px;
}

.thumbnails .media-thumb:hover{
    border: 1px solid #eee;
}

.thumbnails .media-thumb .thumb-actions{
    visibility: hidden;
    text-align: center;
    padding-top: 5px;
}

.thumbnails .media-thumb:hover .thumb-actions{
    visibility: visible;
}

.thumbnails .picked {
    border-color: silver;
}




.images-container .images .thumbnail {
    position: relative;
}

.images-container .images  .thumbnail .panel {
    position: absolute;
    top: 0.25em;
    width: 92.5%;
    margin: 0;
    padding: 0.1em 0.25em 0.1em 0.1em;
    background: transparent;
}

.images-container .images  .thumbnail:hover .panel {
    background: rgba(34, 34, 34, 0.7);
}

.images-container .images  .thumbnail .panel li {
    display: none;
}

.images-container .images  .thumbnail:hover .panel li,
.images-container .images  .thumbnail .panel li.permanent {
    display: inline-block;
}

.images-container .images  .thumbnail .panel li.permanent {
    padding: 0.1em 0.25em 0.05em 0.1em;
    margin: -1px 0 0 -1px;
    background: rgba(34, 34, 34, 0.7);
}

.images-container .images  .thumbnail:hover .panel li.permanent {
    padding: 0;
    margin: 0;
    background: transparent;
}

.images-container .images  .thumbnail .panel a {
    color: white;
}

.images-container .images  .thumbnail .panel a:hover {
    text-decoration: none;
}


.images-container .images  .thumbnail .panel li a.photo-remove-button:hover {
    color: red;
}

.images-container .images  .thumbnail .panel li.permanent a,
.images-container .images  .thumbnail .panel li a.photo-make-main-button:hover {
    color: yellow;
}


.tab-survey {
    overflow: visible !important;
}

.controls > .radio:first-child, .controls > .checkbox:first-child {
    padding-top: 0px;
}

.bootstrap-datetimepicker-widget{
    background: transparent !important;
}
.datepicker-days th{
    color: #34495e !important;
}
.datepicker-days td{
    color: #34495e !important;    
}
.datepicker-days td.old, .datepicker-days td.new {
    color: #999 !important;
}
.bootstrap-datetimepicker-widget td.active.active{
    color: #fff !important;
}