/* barvy 

#2494F2 - horní navigační pruh
#0465B5 - levé aktivní menu
#5CB85C - zelený pruh pro oslovení
#5BC0DE - modrý pruh pro scénáře
#F0AD4E - žlutý pruh pro plánované
#D9534F - červený pruh pro kontakty
#DFF0D8 - světle zelené pozadí - oddělení sekce, úspěšně oslovený uzel
#D9EDF7 - světle modré pozadí - hlavička tabulky
#F2DEDE - světle červené pozadí - neúspěšně oslovený uzel

*/

/* obecné */

body {
    padding-top: 50px;
    background: #f5f5f5;
}

#loader {
    background: url(../Images/loader.gif) no-repeat center center;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 10000;
}

@media (max-width: 1199px) {
    .main {
    padding-left: 1%;
    padding-right: 1%;
    }
}

@media (min-width: 1200px) {
    .main {
    padding-left: 8%;
    padding-right: 8%;
    }
}

#noticeUnderConstruction {
    margin-top: .5em;
}

h1 {
    margin-top: .7em;
    margin-bottom: .7em;
}

h2 {
    font-size: 1.6em;
}

h3, h4 {
    color: #2494F2;
}

.nav-tabs {
    font-size: 1.5em;
}

@media (max-width: 1199px) {
.nav-tabs {
    font-size: 1em;
    }
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.dashboard .table > tbody > tr > td {
    /*height: 50px;*/
    vertical-align: middle;
}

.table > thead > tr > th.dropdown, .table > thead > tr > th.dropup {
    border-bottom: 2px solid #ddd;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* konec obecných */

/* global add-ons */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* konec global add-ons */

/* CTI lišta */

.cti-panel {
    color: #fff;
    float: left;
    margin-top: 3px;
    margin-right: 20px;
}

.cti-panel a {
    color: #fff;
    text-decoration: underline;
}

.cti-panel input {
    width: 140px;
}

.cti-panel table tr td {
    padding-top: 4px;
    padding-right: 4px;
}

.cti-panel table tr td:first-child {
    padding-right: 20px;
}

.cti-panel span.glyphicon-earphone {
    -ms-transform: rotate(135deg); /* IE 9 */
    -webkit-transform: rotate(135deg); /* Safari 3-8 */
    transform: rotate(135deg);
    color: red;
}

/* konec CTI lišty */

/* horní menu */

.navbar .container-fluid {
    padding-left: 0;
}

.navbar-inverse .navbar-brand {
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 2px;
    padding-right: 0px
}

.navbar-header {
    width: 17%;
}

.navbar-header img {
    margin-left: 10px;
    margin-top: -5px;
}

.navbar-inverse .navbar-nav > li > a, .navbar-default .navbar-nav > li > a {
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-inverse, .navbar-default {
    background-color: #2494F2;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav li > a:hover {
    background-color: #36A3FF;
    color: white;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:focus, .navbar-inverse .navbar-nav>.open>a:hover {
    background-color: #0465B5;
}

ul.nav-tabs > li {
    margin-bottom: -2px;
}

.navbar-fixed-top {
    border: 0; /* hide default border to remove 1px line. */
}

@media (max-width: 767px) {
    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: #fff;
    }
    .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
    background-color: #0465B5;
    }
}

.navbar .glyphicon-wrench, .navbar .glyphicon-bell {
    font-size: 1.4em;
}

.navbar .glyphicon-wrench {
    color: white;
}

.navbar .glyphicon-bell {
    color: crimson;
}

.navbar .glyphicon-wrench {
    padding: 14px 0 5px 0;
}

.navbar-nav > li > .dropdown-menu.newEvents {
    margin-top: 50px;
}

.nav > li > a#openCloseEvents {
    display: inline-block;
}

ul.alarm-notice.dropdown-menu, .alarm-notice-mobile > .dropdown-menu {
    padding-bottom: 0;
}

ul.alarm-notice li, .alarm-notice-mobile ul li {
    border-bottom: 1px solid #ddd;
    color: #ddd;
}

ul.alarm-notice table, .alarm-notice-mobile table {
    width: 100%;
}

ul.alarm-notice table td, .alarm-notice-mobile table td {
    color: #333;
}

ul.alarm-notice table td:last-child, .alarm-notice-mobile table td:last-child {
    text-align: right;
    font-style: italic;
}

ul.alarm-notice table th, ul.alarm-notice table td, .alarm-notice-mobile table th, .alarm-notice-mobile table td {
    padding: 2px 10px 2px 0;
}

ul.alarm-notice table th:first-child, .alarm-notice-mobile table th:first-child {
    width: 2em;
}

ul.alarm-notice table th:last-child, .alarm-notice-mobile table th:last-child {
    font-style: italic;
    font-weight: normal;
    text-align: right;
    padding-left: 10px;
}

ul.alarm-notice .glyphicon-exclamation-sign, 
ul.alarm-notice .glyphicon-question-sign, 
ul.alarm-notice .glyphicon-info-sign,
.alarm-notice-mobile .glyphicon-exclamation-sign,
.alarm-notice-mobile .glyphicon-question-sign,
.alarm-notice-mobile .glyphicon-info-sign {
    font-size: 1.5em;
}

ul.alarm-notice .glyphicon-exclamation-sign, .alarm-notice-mobile .glyphicon-exclamation-sign {
    color: #d9534f;
}

ul.alarm-notice .glyphicon-question-sign, .alarm-notice-mobile .glyphicon-question-sign {
    color: #f0ad4e;
}

ul.alarm-notice .glyphicon-info-sign, .alarm-notice-mobile .glyphicon-info-sign {
    color: #0465B5;
}

ul.alarm-notice li.alarm-inactive a table th,
ul.alarm-notice li.alarm-inactive a table td,
ul.alarm-notice li.alarm-inactive .glyphicon-exclamation-sign,
ul.alarm-notice li.alarm-inactive .glyphicon-question-sign,
ul.alarm-notice li.alarm-inactive .glyphicon-info-sign,
.alarm-notice-mobile li.alarm-inactive a table th,
.alarm-notice-mobile li.alarm-inactive a table td,
.alarm-notice-mobile li.alarm-inactive .glyphicon-exclamation-sign,
.alarm-notice-mobile li.alarm-inactive .glyphicon-question-sign,
.alarm-notice-mobile li.alarm-inactive .glyphicon-info-sign {
    color: #bbb;
}

ul.alarm-notice li a p, .alarm-notice-mobile ul li a p {
    color: #999;
    text-align: center;
    margin-top: 10px;
}

ul.alarm-notice li a:hover p {
    color: #666;
}

.new-alarm-bullet {
    /*display: inline-block;*/
    display: none;
    min-width: 8px;
    min-height: 8px;
    border-radius: 8px;
    margin-right: -2px;
    background: #d9534f;
    vertical-align: top;
}

.alarm-notice-mobile .btn-primary {
    background: #2494F2;
    border: 2px solid white;
    margin: 8px;
}

.alarm-notice-mobile .btn-primary.active,
.alarm-notice-mobile .btn-primary.focus,
.alarm-notice-mobile .btn-primary:active,
.alarm-notice-mobile .btn-primary:focus,
.alarm-notice-mobile .btn-primary:hover,
.alarm-notice-mobile .open>.dropdown-toggle.btn-primary {
    background: #0465B5;
    border: 2px solid white;
}

.scrollable-menu {
    height: auto;
    max-height: 400px;
    overflow-x: hidden;
}

/* konec horního menu */

/* levé a horní menu pro mobily */
/* hide for mobile, show later */

.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    padding-top: 0px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #eee;
    background-image: url(../images/pozadi_menu.png);
    border-right: 1px solid #eee;
  }
    
    ul.nav.navbar-nav:first-of-type {
    display: none; /* skrytí hlavního horního menu pro počítače a tablety */
    }
    
}

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: #fff;
}

.navbar-inverse .navbar-toggle {
    border: 2px solid #fff;
}

.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
    background-color: #0465B5;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    background-color: #034E8C;
}

.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    max-height: 450px;
}

/* konec levého a horního menu pro mobily */

/* hamburger menu */

@media (max-width: 767px) {
    .navbar-collapse {
        background-color: #0465B5;
    }

    .navbar-collapse ul {
        margin-top: 0;
        margin-bottom: 0;
    }

    .navbar-collapse > ul > li {
        border-bottom: 1px solid #034E8C;
    }

    .navbar-collapse ul li a, .navbar-nav .open .dropdown-menu > li > a {
        line-height: 30px;
    }

    .navbar-collapse ul:last-of-type li {
        text-transform: uppercase;
        background-color: #034E8C;
    }
}

/* konec hamburger menu */

/* levé menu */

.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar > li > a {
    padding: 20px;
}

.nav-sidebar > .active > a, .nav-sidebar > .active > a:hover, .nav-sidebar > .active > a:focus
{
    color: #fff;
    background-color: #0465B5;
}

.nav-sidebar > li > a > .glyphicon {
    margin-right: 15px;
}

ul.nav-sidebar li a, ul.nav-sidebar li a:hover, ul.nav-sidebar li a:focus {
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    color: #666;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

ul.nav-sidebar li a:hover {
    color: black;
    background-color: #f5f5f5;
}

ul.nav-sidebar li a.convene, ul.nav-sidebar li a.convene:hover, ul.nav-sidebar li a.convene:focus {
    border-left: 5px solid #5cb85c;
}

ul.nav-sidebar li a.survey, ul.nav-sidebar li a.survey:hover, ul.nav-sidebar li a.survey:focus {
    border-left: 5px solid #5bc0de;
}

ul.nav-sidebar li a.sheduled, ul.nav-sidebar li a.sheduled:hover, ul.nav-sidebar li a.sheduled:focus {
    border-left: 5px solid #f0ad4e;
}

ul.nav-sidebar li a.contacts, ul.nav-sidebar li a.contacts:hover, ul.nav-sidebar li a.contacts:focus {
    border-left: 5px solid #d9534f;
}

ul.nav-sidebar li a.campaign, ul.nav-sidebar li a.campaign:hover, ul.nav-sidebar li a.campaign:focus {
    border-left: 5px solid #f0ad4e;
}

/* konec levého menu */

/* druhá úroveň levého menu */

.no-transition {
  -webkit-transition: height 0.01s;
  -moz-transition: height 0.01s;
  -ms-transition: height 0.01s;
  -o-transition: height 0.01s;
  transition: height 0.01s;
}

ul.nav-sidebar li .collapse.in {
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    color: #666;
    border-bottom: 1px solid #eee;
}

ul.nav-sidebar li div.collapse a, ul.nav-sidebar li div.collapsing a {
    background-color: #dcdcdc;
    display: block;
    padding: 20px;
    text-decoration: none;
}

ul.nav-sidebar li div.collapse a.active, ul.nav-sidebar li div.collapsing a.active {
    color: #fff;
    background-color: #0465B5;
}

ul.nav-sidebar li div.collapse a .glyphicon, ul.nav-sidebar li div.collapsing a .glyphicon {
    margin-right: 15px;
}

ul.nav-sidebar  li div.collapse.sub-menu a, ul.nav-sidebar  li div.collapsing.sub-menu a {
    padding-left: 30px;
}

/*
.collapsing {
    -webkit-transition: none;
    transition: none;
}
*/

/* konec druhé úrovně levého menu */

/* základ pro úvodní obrazovku, průvodce vytvořením, seznamy a detail */

.dashboard .row .col-xs-12.col-lg-6, .dashboard .row .col-xs-12.col-lg-12.news, .adhocmsg-body,.convene-body ,.survey-body ,.sheduled-body ,.contacts-body, .news-body, .campaign-body, .user-body, .other-body {
    background: #fff;
    border: 1px solid #ddd;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-bottom: 10px;
}

.dashboard h1, .dashboard h2, .dashboard h3 {
    font-weight: 200;
    letter-spacing: 2px;
}

.dashboard h1 {
    color: #0465B5;
    font-size: 3em;
    text-align: center;
}

.dashboard .row h2 {
    color: #000;
    font-size: 2em;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.dashboard .convene-body h2 span:first-child, .dashboard .survey-body h2 span:first-child, .dashboard .sheduled-body h2 span:first-child, .dashboard .contacts-body h2 span:first-child {
    color: #999;
    letter-spacing: 0px;
}

.dashboard .row h2 span.glyphicon {
    opacity: 0.3; 
    -webkit-filter:alpha (opacity=30); 
    filter:alpha (opacity=30);
}

@media (max-width: 767px) {
    .dashboard .row h2 span.glyphicon {
        display: none;
    } 
}
   
.dashboard h3 {
    font-size: 1.2em;
    color: #777;
    margin-bottom: 10px;
}

.dashboard h3.small {
    font-size: 0.9em;
}

.dashboard h3.panel-title {
    margin-bottom: 0px;
    font-weight: 500;
}

.dashboard .row p {
    color: #666;
}

td .glyphicon-envelope {
    color: #f0ad4e;
}

td .glyphicon-comment {
    color: #5bc0de;
}

td .glyphicon-phone {
    color: #3c763d;
}

tr.active-item td .glyphicon-envelope, tr.active-item td .glyphicon-comment, tr.active-item td .glyphicon-phone {
    color: #fff;
}

span.label + br + span {
    font-size: .75em;
}

.flag {
	width: 32px;
	height: 32px;
	background:url(../images/flags.png) no-repeat;
}

.flag.flag-cs {
    background-position: -32px 0;
}

.flag.flag-en {
    background-position: -64px -32px;
}

.flag.flag-de {
    background-position: -64px 0;
}

.flag.flag-es {
    background-position: 0 -32px;
}

.flag.flag-fr {
    background-position: -32px -32px;
}

.flag.flag-pl {
    background-position: -32px -64px;
}

.flag.flag-ru {
    background-position: -64px -64px;
}

.flag.flag-kr {
    background-position: 0 -64px;
}

.convene-body ul.nav.nav-tabs.first, .survey-body ul.nav.nav-tabs.first {
    margin-top: 0em;
}

.convene-body ul.nav.nav-tabs, .convene-body div.one-lang, .survey-body div.one-lang {
    margin-top: 2em;
}

@media (max-width: 767px) {
    .convene-body ul.nav.nav-tabs:first-of-type, .survey-body ul.nav.nav-tabs:first-of-type {
    clear: both;
    }
}

.dashboard .news-body {
    margin-bottom: 20px;
}

.dashboard .news-body font[size='1'], .third-row font[size='1'] {
    font-size: 1.1em;
}

.dashboard .news-body p {
    margin-top: 20px;
}

.dashboard .news-body table tbody tr td {
    vertical-align: top;
}

.dashboard .news-body table tbody tr:first-child td {
    border: none;
}

.dashboard .news-body table tbody tr td.first-col {
    width: 20%;
    font-weight: bold;
    color: #666;
}

.dashboard .news-body .news table td.second-col {
    padding-left: 20px;
}

.dashboard .news-body table.color-red {
    background-color: #f2dede;
    margin-bottom: 20px;
}

.dashboard .news-body table.color-red tr td.first-col, .dashboard .news-body table.color-red tr td.second-col {
    padding: 15px;
    border-top: 1px solid #ebccd1;
    border-bottom: 1px solid #ebccd1;
}

.dashboard .news-body table.color-red tr td.first-col {
    border-left: 1px solid #ebccd1;
    color: #a94442;
}

.dashboard .news-body table.color-red tr td.second-col {
    border-right: 1px solid #ebccd1;
}

.table-responsive {
    overflow: visible;
}

.table-responsive.news table tbody tr td li {
    list-style-type: circle;
}

.other-body.filter-tickets {
    padding-top: 1.5em;
}

/* konec základ pro úvodní obrazovku, průvodce vytvořením, seznamy a detail */

/* úvodní obrazovka */

/*
.dashboard .row h1 + p:first-of-type {
    color: #666;
    font-size: 1.5em;
    font-weight: 100;
    margin-bottom: 1.8em;
}
*/

.dashboard .row h1 + p img {
    float: right;
    height: 100px;
    width: 100px;
    border-radius: 50%;
	-webkit-shape-outside: circle();
	shape-outside: circle();
	-webkit-shape-margin: 15px;
	shape-margin: 15px;
    margin-left: 10px;
}

.point-convene, .point-survey, .point-sheduled, .point-contacts, .point-campaign {
    display: inline-block;
    min-width: 10px;
    min-height: 10px;
    border-radius: 10px;
    margin-right: 5px;
}

.point-convene {
    background: #5cb85c;
}

.point-survey {
    background: #5bc0de;
}

.point-sheduled {
    background: #f0ad4e;
}

.point-campaign {
    background: #f0ad4e;
}

.point-contacts {
    background: #d9534f;
}

.point-convene + strong, .point-survey + strong, .point-sheduled + strong, .point-contacts + strong, .point-campaign + strong {
    margin-right: 2em;
}

.dashboard .first-row, .dashboard .second-row, .dashboard .third-row {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 25px;
}

.dashboard .third-row table td {
    border-top: 0;
}

.dashboard .row.third-row .table-striped > tbody > tr:nth-child(odd) > td {
    background-color: whitesmoke;
}

.dashboard .row.third-row .table-striped > tbody > tr:nth-child(even) > td {
    background-color: white;
}

.forth-row {
    text-align: center;
}

.forth-row img {
    height: 50px;
}

.dashboard .row .forth-row + .col-xs-12.col-lg-12 p {
    padding: 20px 0px;
    text-align: center;
}

.dashboard #mainForm .table p {
    margin-top: 1em;
}

.dashboard .first-row div.col-xs-12.col-lg-6:first-of-type, .dashboard .adhocmsg-body {
    border-top: 5px solid #5cb85c;
}

.dashboard .first-row div.col-xs-12.col-lg-6:last-of-type, .dashboard .survey-body, .dashboard .convene-body {
    border-top: 5px solid #5bc0de;
}

.dashboard .second-row div.col-xs-12.col-lg-6:first-of-type, .dashboard .sheduled-body, .dashboard .campaign-body {
    border-top: 5px solid #f0ad4e;
}

.dashboard .second-row div.col-xs-12.col-lg-6:last-of-type, .dashboard .contacts-body {
    border-top: 5px solid #d9534f;
}

@media (min-width: 1200px) {
    .row .col-lg-6:first-of-type {
    width: 49%;
    margin-right: 1%;
  }
    .row .col-lg-6:last-of-type {
    width: 49%;
    margin-left: 1%;
  }
    
}

@media (max-width: 1199px) {
    .row .col-lg-6:first-of-type {
    margin-bottom: 25px;
  }
    h1 + p img {
    display: none;
    }
}

@media (max-width: 767px) {
    .third-row .table > tbody > tr > td {
        white-space: normal;
    }
}

/* konec úvodní obrazovky */

/* detail oslovení, vytvoření oslovení, ankety, plánovaného oslovení */

.dashboard .adhocmsg-body, .dashboard .convene-body, .dashboard .survey-body, .dashboard .sheduled-body, .dashboard .contacts-body, .campaign-body, .user-body, .other-body {
    padding: 0em 3em 1.5em 3em;
}

.row .survey-body h2 + p, .row .convene-body h2 + p, .row .sheduled-body h2 + p, .row .contacts-body h2 + p, .row .adhocmsg-body h2 + p, #ruleDetail .row h2 + p, #deviceDetail .row h2 + p {
    color: #0465B5;
    font-style: italic;
    font-size: 1.2em;
    padding-bottom: 1em;
}

.row .survey-body h2 + p .highlight, .row .convene-body h2 + p .highlight, .row .sheduled-body h2 + p .highlight, .row .contacts-body h2 + p .highlight {
    color: #000; 
}

.dashboard .icon-next-step p {
    text-align: center;
    margin: 1.2em;
}

table.table {
    margin-bottom: 0;
}

.table td strong {
    color: #222;
    font-weight: 700;
}

table.phrase > tbody > tr.control > td {
    padding-top: .5em;
    padding-bottom: .5em;
}

div.panel > div.panel-body > table tr td, div.panel > div.panel-body > table tr th {
    border: 1px solid #ddd;
    padding: 10px;
}

div.panel > div.panel-body > table tr th:last-of-type {
    width: 50%;
}

.panel-default > .panel-heading {
    background: #dff0d8;
    padding: 14px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-heading > h3.panel-title {
    color: #3c763d;
}

#detailTicket #actualStateId + script + .input-group .input-group-addon,
#detailTicket #actualStateId + script + .input-group .dropdown-toggle {
    border-color: #2e6da4;
}

#detailTicket #actualStateId + script + .input-group .input-group-addon {
    background-color: #337ab7;
    color: #fff;
}

#detailTicket .panel-body h2 {
    font-size: 1.2em;
    border-bottom: 0;
    padding-bottom: 1em;
}

#detailTicket .panel-body .formCheckBox .input-group .input-group-addon {
    width: 100%;
    text-align: left;
}

.dashboard .table-striped th, div.panel > div.panel-body > table tr th {
    background: #d9edf7;
    color: #31708f;
    padding: 14px 12px;
}

table.table-stats tr:first-child td:last-of-type {
    border-top: 0px;
    background-color: #fff;
}

.panel.panel-default.panel-top-margin {
    margin-top: 2em;
}

.row.tabs-margin {
    margin-top: 2em;
    margin-bottom: 2em;
}

@media (max-width: 1199px) {
    .dashboard .convene-body, .dashboard .survey-body, .dashboard .sheduled-body, .dashboard .contacts-body, .dashboard .adhocmsg-body, .dashboard .campaign-body, #showRules .row .other-body, #showDevices .row .other-body {
    padding: 0em 1em 1em 1em;
    }
    
}

@media (max-width: 767px) {
    .table-responsive .phrase {
        margin: 1em;
    }
    .table-responsive.phrase .dropdown-menu {
        position: relative !important;
    }
    .adhocmsg-body #push-type .table-responsive.phrase {
        display: none;
    }
    .adhocmsg-body .table-responsive.phrase {
        border: 0;
    }
    .adhocmsg-body .table-responsive.phrase table {
        width: 95%;
    }
    .survey-body .table-responsive.phrase .phrase {
        width:  initial;
    }
    .campaign-body .table-responsive > .table.sms-answers > tbody > tr > td  {
        white-space: normal;
    }
    #detailCampaign #answers .col-xs-12 {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px;
    }
    #detailCampaign #outcoming-expanded .table-responsive {
        border: 0;
    }
}

@media (max-width: 517px) {
    #detailPhoneBook button.btn-danger {
        margin-top: 10px;
    }
}

table.phrase {
    width: 100%;
}

table.phrase td {
    white-space: nowrap;
    font-weight: bold;
}

table.phrase td:last-child {
    padding-left: 8px;
    font-weight: normal;
    width: 100%;
}

.point-pass, .point-fail {
    display: inline-block;
    min-width: 12px;
    min-height: 12px;
    border-radius: 12px;
}

.point-pass {
    background: #5cb85c;
}

.point-fail {
    background: #d9534f;
}

tr.success > td {
    background-color: #dff0d8;
}

tr.fail > td {
    background-color: #f2dede;
}

#contacts table.table td > button.btn {
    float: right;
}

.choose-contacts #filters-expanded .row > h3 {
    color: #222;
    margin-top: 0px;
}

.choose-contacts #filters-expanded table tr td a button {
    float: right;
}

.choose-contacts #filters-expanded #contactFiltersForm {
    margin-top: 1em;
}

.choose-contacts .filtered-contacts {
    float: right;
    margin: 0em 0em 1em 0em;
}

/* konec detail oslovení, vytvoření oslovení, ankety, plánovaného oslovení */

/* rychlé spuštění scénáře */

#newQuickStart .other-body {
    padding: 0 1em 1em 1em;
    margin-top: 1em;
}

#newQuickStart .input-group {
    margin-top: 1em;
}

#newQuickStart .col-lg-4, #newQuickStart .col-lg-12 {
    padding-left: 5px;
    padding-right: 5px;
}

.dashboard #newQuickStart .row h2 {
    font-size: 1.5em;
}

#newQuickStart textarea {
    height: auto;
}

#newQuickStart textarea:disabled  {
    font-size: 1.3em;
    color: #d43f3a;
    border: 0;
}

#newQuickStart .btn-group.three-buttons .btn-block {
    width: 32%;
    margin-right: 2%;
    margin-bottom: 3px;
}

#newQuickStart .btn-group.three-buttons .btn-block:last-of-type {
    margin-right: 0;
}

#newQuickStart .btn-group.four-buttons .btn-block {
    width: 20%;
    margin-right: 2%;
    margin-bottom: 3px;
}

#newQuickStart .btn-group.four-buttons .btn-block:last-of-type {
    width: 34%;
    margin-right: 0;
}

#newQuickStart .btn-block+.btn-block {
    margin-top: 0;
}

#newQuickStart .row.test-convene {
    margin-bottom: 3px;
}

#newQuickStart .row.test-convene button {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

#newQuickStart .row.real-convene button {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

#newQuickStart button.selected-value,
#newQuickStart button.selected-value:hover, 
#newQuickStart .row.real-convene button.selected-value, 
#newQuickStart .row.real-convene button.selected-value:hover,
#newQuickStart .row.test-convene button.selected-value, 
#newQuickStart .row.test-convene button.selected-value:hover {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

#newQuickStart table#groups {
    width: 100%;
}

#newQuickStart table#groups tr:nth-child(odd) td {
    background-color: #eee;
}

#newQuickStart table#groups td {
    padding: 6px;
}

#newQuickStart table#groups td.first-col {
    width: 6%;
}

#newQuickStart table#groups td.second-col {
    width: 44%;
}

#newQuickStart table#groups td.second-col div:first-of-type {
    font-weight: bold;
    font-size: 1.1em;
}

#newQuickStart table#groups td.second-col div:last-of-type {
    color: #666;
}

#newQuickStart table#groups td.third-col {
    width: 50%;
}

#newQuickStart table#groups td:last-child div {
    display: inline-block;
    float: right;
    margin-left: 6px;
}

/* konec rychlého spuštění scénáře */

/* vytvoření kontaktu */

nav ul.pagination {
    /*margin: 20px 0 10px 0;*/
}

.first-level:not(.contact) > td {
    height: 50px;
    background: #ddd;
}

table tbody tr > td.sub-table {
    padding: 0;
}

table tbody tr > td.sub-table table {
    margin-bottom: 0;
}

.second-level:not(.contact) > td {
    background: #eee;
}

.second-level > td:first-child {
    height: 50px;
    padding-left: 2em;
    background-image: url(../images/pozadi_2_uroven.png);
    background-position: left top;
    background-size: 41px 50px;
    background-repeat: no-repeat;
}

nav.second-level {
    padding-left: 2em;
}

.third-level:not(.contact) > td {
    background: #f5f5f5;
}

.third-level > td:first-child {
    height: 50px;
    padding-left: 4em;
    background-image: url(../images/pozadi_3_uroven.png);
    background-position: left top;
    background-size: 67px 50px;
    background-repeat: no-repeat;
}

nav.third-level {
    padding-left: 4em;
}

.forth-level > td {
    background: #fff;
}

.forth-level > td:first-child {
    height: 50px;
    padding-left: 6em;
}

nav.forth-level {
    padding-left: 6em;
}

.no-items div {
    padding: 6px;
}

.table > tbody > tr.active-contact > td, .table > tbody > tr.active-contact > td > strong, .table > tbody > tr.active-item > td, .table > tbody > tr.active-item > td > strong {
    background-color: #337ab7;
    color: #fff;
}

.table > tbody > tr.active-contact.left-handle > td:first-of-type {
    /*background-image: url(../images/left_handle.png);*/
    height: 50px;
    background-repeat: no-repeat;
    background-position: left center;
}

.favorite-contact {
    color: #f0ad4e;
    cursor: pointer;
}

.not-favorite-contact {
    color: #ccc;
    cursor: pointer;
}

#phoneBooks table tbody tr.first-level td:first-child, #phoneBooks table tbody tr.second-level td:first-child, #phoneBooks table tbody tr.third-level td:first-child, #phoneBooks table tbody tr.forth-level td:first-child {
    text-transform: uppercase;
}

.ui-draggable {
    cursor: move;
}

/* konec vytvoření kontaktu */

/* height, width, float... */

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.filter-float > .navbar-form {
    margin: 0px;
}

.nowrap {
    white-space: nowrap;
}

.clear-both {
    clear: both;
}

.hide {
    display: none;
}

.color-red {
    color: #a94442;
}

.w100 {
    width: 100px;
}

.w100pct {
    width: 100%;
}

.w30pct {
    width: 30%;
}

.margin-top-2em {
    margin-top: 2em;
}

.margin-bottom-2em {
    margin-bottom: 2em;
}

.margin-left-5px {
    margin-left: 5px;
}

/* konec height, width, float... */

/* dropdowns, buttons, input, search, textarea */

.text-center > button, .text-center > a button {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

@media (max-width: 1199px) {
    .row.tabs-margin > div a button {
    margin-bottom: 1em;
    }
    
    .row.tabs-margin > div + ul.nav {
    clear: both;
    }

}

.dropdown > button {
    width: 100%;
    min-width: 142px;
}

.dropdown > button span.caret {
    margin: 7px 3px;
    position: absolute;
    right: 5px;
}

.dropdown > button span.title {
    float: left;
}

.dropdown > button.w100pct, .dropdown > button.w100pct + ul {
    width: 100%;
}

.dropdown.col-xs-12.col-md-4.col-lg-4,
.dropdown.col-xs-12.col-md-3.col-lg-3,
.control.input-group.searchField.col-xs-12.col-md-4.col-lg-4,
.control.input-group.searchField.col-xs-12.col-md-3.col-lg-3,
.create-new.col-xs-12.col-md-4.col-lg-4,
.create-new.col-xs-12.col-sm-12.col-md-3.col-lg3 {
    /* padding: 1.5em 0em 0em 0em; */
}

#showTickets .dropdown.ticket-state .dropdown-menu > li, 
#detailTicket .ticket-state .dropdown-menu > li {
    position: relative;
}

#showTickets .dropdown.ticket-state .dropdown-menu > li > .state-bullet, 
#detailTicket .ticket-state .dropdown-menu > li > .state-bullet {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    margin-top: -4px;
    right: -3px;
    z-index: 1;
    border-radius: 8px;
    right: auto;
    left: 7px;
}

#showTickets .dropdown.ticket-state .dropdown-menu > li a,
#detailTicket .ticket-state .dropdown-menu > li a {
    padding-top: 8px;
    padding-bottom: 8px;
}

.input-group.form-dropdown button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.campaign-filtering > div, .user-filtering > div {
    padding-top: 1.5em;
} 

@media (min-width: 768px) {
    .dropdown.col-xs-12.col-md-4.col-lg-4, .dropdown.col-xs-12.col-md-3.col-lg-3 {
        /* padding-right: 2em; */
    }
    #showTickets .dropdown.col-xs-12.col-md-3.col-lg-3:last-of-type {
        /* padding-right: 0; */
    }
}
    
ul.typeahead.dropdown-menu {
    width: 100%;
}

ul.typeahead.dropdown-menu li a::after {
    /*content: "vybrat";*/
    float: right;
    font-style: italic;
    padding-right: 8px;
    color: white;
}

button.float-right {
    float: right;
    margin: 0px 0px 0px 10px;
}

.campaign-body button.float-left {
    margin-right: 10px;
}

@media (max-width: 718px) {
.campaign-body button.float-left, .campaign-body button.float-right {
        margin-bottom: 10px;
    }
}

button.remove, button.btn-pager {
    float: right;
    margin: 1em 0;
}

.dashboard .btn {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* padding: 6px 22px 6px 14px; */
}

.btn.expandButton.more {
    background-image: url(../images/icon_show_more.png);
    background-position-x: 8px;
    background-position-y: center;
    background-repeat: no-repeat;
    padding-left: 30px;
}

.btn.expandButton.less {
    background-image: url(../images/icon_show_less.png);
    background-position-x: 8px;
    background-position-y: center;
    background-repeat: no-repeat;
    padding-left: 30px;
}

.dashboard #detailTicket .btn.dial {
    margin: 0 0 1em .25em;
}

td .in {
    background-image: url(../images/in.png);
    width: 16px;
    height: 16px;
}

td .out {
    background-image: url(../images/out.png);
    width: 16px;
    height: 16px;
}

.dashboard p > a.btn {
    margin-top: 20px;
}

.input-group[class*=col-] {
    float: left;
}

.contacts-body.input-margin-bottom .input-group {
    margin-bottom: 1em;
}

.contacts-body > div.row > button {
    margin-top: 1.5em;
}

.contacts-body table.contact-state td {
    padding-left: 10px;
}

p.type-select + div.toggle.btn.btn-primary, p.type-select + div.toggle.btn.btn-default.off,
div#allTexts div.toggle.btn.btn-primary, div#allTexts div.toggle.btn.btn-default.off {
    width: 260px;
    float: right;
    margin-bottom: 1em;
}

p.type-select + script + div.toggle.btn.btn-primary, p.type-select + script + div.toggle.btn.btn-default.off {
    width: 159px !important;
    float: right;
}

.adhocmsg-body.choose-contacts p + div.toggle, .states-and-or-maps div.toggle, .survey-body.choose-contacts p + div.toggle {
    width: 260px !important;
    float: right;
}

.states-and-or-maps div.toggle {
    margin-bottom: 1.5em;
}

.choose-contacts .badge {
    margin-left: .5em;
    vertical-align: top;
}

@media (max-width: 767px) {
    .adhocmsg-body.choose-contacts p + div.toggle, .survey-body.choose-contacts p + div.toggle, .survey-body p.type-select + script + div.toggle {
        margin-bottom: 2em;
    }
    .row.campaign-filtering .dropdown.col-xs-12, .row.campaign-filtering .create-new.col-xs-12.col-sm-12 {
        padding: 1.5em 0em 0em 0em;
    }
}

.control.input-group.searchField + .col-xs-12.col-sm-5.col-md-5.col-lg-5 > .toggle.btn.btn-primary, .control.input-group.searchField + .col-xs-12.col-sm-5.col-md-5.col-lg-5 > .toggle.btn.btn-default.off {
    width: 260px;
    float: right;
}

@media (max-width: 767px) {
    .control.input-group.searchField + .col-xs-12.col-sm-5.col-md-5.col-lg-5 > .toggle.btn.btn-primary, .control.input-group.searchField + .col-xs-12.col-sm-5.col-md-5.col-lg-5 > .toggle.btn.btn-default.off {
    margin-bottom: 1em;
    }
}

.contacts-body.input-margin-bottom .input-group, .row.input-margin-bottom .input-group, .row.input-margin-bottom a button, .campaign-body.input-margin-bottom .input-group, .user-body.input-margin-bottom .input-group, .other-body.input-margin-bottom .input-group {
    margin-bottom: 1em;
}

.row.input-margin-bottom .searchField + .col-xs-12.col-sm-5.col-md-5.col-lg-5 {
    padding-right: 0px;
}

div.input-append > a.btn.btn-primary {
    margin-top: 7px;
    float: left; 
    clear: both;
}

button.new-user {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.sheduled-body p + .control input.datepicker {
    width: 100%;
}

textarea {
    width: 100%;
    height: 150px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

input:disabled, textarea:disabled {
    background-color: #fff;
}

div.disabled {
    background-color: #eee;
}

div.bootstrap-filestyle {
    width: 100%;
}

table tr td.book-toggle > div {
    width: 70px !important;
}

table.action td {
    padding: 0 5px;
}

table.action td.address {
    /*width: 100px;
    max-width: 100px;*/
    overflow: hidden;
}

#detailAdHocMessage table.action, #detailInstance table.action {
    width: 100%;
}

table.action tr > td.time-of-action, table.action tr > td.state-of-action {
    text-align: right;
}

@media (min-width: 1700px) {
    table.action tr > td.time-of-action, table.action tr > td.state-of-action {
    width: 100px;
    }
}

tr.text-bold td {
    font-weight: bold;
}

textarea.bg-voice {
    background-image: url(../images/icon_voice.png);
}

textarea.bg-sms {
    background-image: url(../images/icon_sms.png);
}

textarea.bg-mail {
    background-image: url(../images/icon_mail.png);
}

textarea.bg-push {
    background-image: url(../images/icon_push.png);
}

textarea.bg-voice, textarea.bg-sms, textarea.bg-mail, textarea.bg-push, textarea.bg-all {
    background-repeat: no-repeat;
    background-position: center center;
    width: 94%;
    margin: 1.5em 3% 1.5em 3%;
}

.textareaContainer {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    margin-bottom: 1em;
}

.convene-body .textareaContainer.one-lang, .survey-body .textareaContainer.one-lang {
    border-top: 1px solid #ddd;
}

.convene-body .textareaContainer.one-lang, .panel-body ul.nav.nav-tabs {
    margin-top: 0em;
}

#all-type .textareaContainer.one-lang, #voice-type .textareaContainer.one-lang, #sms-type .textareaContainer.one-lang, #mail-type .textareaContainer.one-lang {
    margin-top: 4em;
}

@media (max-width: 768px) {
    #voice-type > div.table-responsive.phrase, #sms-type > div.table-responsive.phrase {
        display: none;
    } 
}

/*
textarea.multi-lang:not(.one-lang) {
    border-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
*/
/*
#showTickets .checkbox label .toggle {
    min-width: 90px !important;
}
*/

@media (max-width: 767px) {

    .filter-tickets .col-xs-12, .filter-users .col-xs-12 {
        padding-left: 0;
        padding-right: 0;
    }

    .filter-tickets > div:first-of-type .col-xs-12, .filter-users .col-xs-12 {
        padding-top: 1.5em;
    }
}

/* konec dropdowns, buttons, input, search, textarea */

/* dropdowns used for rules and devices */

.campaign-body.input-margin-bottom.rule-input #chooseDeviceIO .form-dropdown.input-group, .other-body.input-margin-bottom.rule-input #chooseDeviceIO .form-dropdown.input-group {
    display: inline-flex;
}

.campaign-body.input-margin-bottom.rule-input #chooseDeviceIO .form-dropdown.input-group .input-group-addon:first-child, .other-body.input-margin-bottom.rule-input #chooseDeviceIO .form-dropdown.input-group .input-group-addon:first-child {
    width: 80px;
    height: 34px;
    padding-top: 8px;
}

.campaign-body.input-margin-bottom.rule-input #chooseDeviceIO .form-dropdown.input-group .btn.dropdown-toggle, .other-body.input-margin-bottom.rule-input #chooseDeviceIO .form-dropdown.input-group .btn.dropdown-toggle {
    width: 200px;
}

.campaign-body.input-margin-bottom.rule-input #chooseDeviceIO .control, .other-body.input-margin-bottom.rule-input #chooseDeviceIO .control {
    display: inline-block;
    margin-bottom: 1em;
    vertical-align: top;
}

.campaign-body.input-margin-bottom.rule-input #chooseDeviceIO .btn, .other-body.input-margin-bottom.rule-input #chooseDeviceIO .btn {
    vertical-align: top;
}

#deviceDetail #deviceInputs .dropdown button {
    min-width: 80px;
    width: 80px;
}

/* konec dropdowns used for rules */

/* Funky Radio/Checkbox Buttons V2.0 by momodinium */

.funkyradio div {
  clear: both;
  overflow: hidden;
}

.funkyradio label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D1D3D4;
  font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
  display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
  position: relative;
  line-height: 2.5em;
  text-indent: 3.25em;
  margin-top: 1em;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #D1D3D4;
  border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
  color: #777;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #333;
  background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
  color: #333;
  background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5bc0de;
}

/*  konec Funky Radio/Checkbox Buttons V2.0 by momodinium  */

/* Funky Radio úpravy */

.filtering-contacts .funkyradio {
    clear: none;
    float: left;
    min-width: 200px;
    margin-right: 1em;
}


@media (max-width: 767px) {
    .filtering-contacts .funkyradio {
    margin-bottom: 1em;
    }
}

.filtering-contacts .funkyradio input[type="checkbox"]:empty ~ label {
    margin-top: 0px;
    margin-bottom: 0px;
}

.filtering-contacts .funkyradio label .contactStatus {
    float: right;
    margin-top: 12px;
}

/* Konec Funky Radio úprav */

/* validation */

div.row .controlError {
    margin-bottom: 0 !important;
}
div.row .controlError span {
    border-color: rgb(255, 96, 96);
    background-color: rgb(255, 140, 140);
}
div.row .controlError input, div.row .controlError textarea {
    border: 1px solid rgb(255, 96, 96);
}
div.validator {
    color: rgb(255, 96, 96);
    margin-bottom: 1em;
}
div.validator div {
    padding-top: 3px;
    padding-left: 3px;
}

.has-error, .is-error {
    background-color: #FFCCCC !important;
}

tr.node-error td {
    background-color: rgb(255, 150, 150) !important;
}

div.mail-container {
    font-size: 14px;
    color: #999;
    /* border-left: 1px solid #ddd;
    border-right: 1px solid #ddd; */
    float: left;
    width: 100%;
    padding: 1em 2.5% 0 2.5%;
}

.convene-body .textareaContainer.one-lang div.mail-container, .survey-body .textareaContainer.one-lang div.mail-container {
    padding-right: 3.5%;
}

div.one-lang div.mail-container {
    border: none;
}

div.mail-container table td {
    padding: 0 5px;
}

div.mail-container label {
    margin-bottom: 0;
}

div.mail-container table, div.mail-container table td:last-child, div.mail-container table input {
    width: 100%;
}

div.mail-container table input {
    color: #000;
}

div.one-lang div.mail-container table td:last-child div {
    margin-right: -10px;
}

tr.attachment a {
    vertical-align: middle;
}

tr.attachment a.remove {
    color: white;
    background-color: #d9534f;
    font-weight: bold;
    padding: 2px 8px;
    margin-left: 5px;
    border-radius: 4px;
}

tr.add-attachment td:last-child {
    padding-left: 0;
}

tr.add-attachment table, tr.add-attachment table td:first-child {
    width: 100%;
}

tr.add-attachment input {
    font-weight: normal;
}

div#checkedContacts {
    float: right;
    padding-top: 1em;
    text-transform: uppercase;
}

div#checkedContacts span {
    font-weight: bold;
}

#ruleDetail div#checkedContacts {
    float: inherit;
    padding-top: 0;
    padding-bottom: 1em;
}

.panel-body.filtering-map {
    padding: 0px;
}

/* dialogová okna */

.dialogUserData {
    margin: 1em 0em 2em 1em;
    width: 85%;
}

.dialogUserData td input {
    margin: .2em 0em .2em 1em;
}

@media (max-width: 767px) {
    .dialogUserData + button.btn, .dialogUserData + button.btn + button.btn {
        margin-right: 1em;
        margin-bottom: 1em;
    }
}

.mainDialog #execute .table-responsive .input-group {
    margin: 1em 0 1em 0 !important;
}

.mainDialog #execute .table-responsive .btn {
    margin-left: 5px;
}

table.table-message-detail tr td, table.table-call-detail tr td {
    vertical-align: middle;
}

table.table-message-detail tr td:first-child, table.table-call-detail tr td:first-child {
    font-weight: bold;
    border-left: 2px solid #ddd;
    padding-left: 16px;
}

table.table-message-detail tr td:last-child, table.table-call-detail tr td:last-child {
    border-right: 2px solid #ddd;
}

table.table-message-detail tr:last-child td {
    border-bottom: 2px solid #ddd;
    font-weight: normal;
}

 table.table-call-detail tr:last-child td {
     border-bottom: 2px solid #ddd;
 }

 table.table-call-detail tr td:last-child {
     font-size: .9em;
     color: #666;
 }

 table.table-call-detail tr td:last-child div {
     font-size: 1em;
     font-weight: bold;
 }

.panel-default.summary > .panel-heading {
     background: #eee;
     color: #000;
     padding: 10px 15px;
}

.panel-default.summary > .panel-heading table.summary-table {
    width: 100%;
}

.panel-default.summary > .panel-heading  td.summary-step {
    width: 55%;
}

.panel-default.summary > .panel-heading td.icon-container {
    width: 20%;
    min-width: 85px;
}

.panel-default.summary > .panel-heading .glyphicon {
    color: #ccc;
    float: right;
    margin-left: 5px;
}

.panel-default.summary > .panel-heading .active.glyphicon-phone {
    color: #3c763d;
}

.panel-default.summary > .panel-heading .active.glyphicon-envelope {
    color: #f0ad4e;
}

.panel-default.summary > .panel-heading .active.glyphicon-comment {
    color: #5bc0de;
}

.panel-default.summary > .panel-heading .active.glyphicon-earphone {
    color: black;
}

.panel-default.summary > .panel-heading td.number-of-users {
    width: 25%;
    min-width: 105px;
    padding-left: 1em;
}

.summary .panel-body .float-left:first-of-type {
     margin-right: 3em;
 }

.modal-body #settings h1 {
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: .5em;
    color: #428bca;
    text-align: center;
}

.modal-body #settings .input-group {
    margin-bottom: 1em;
}

.modal-body #settings .funkyradio label {
    margin-bottom: 0;
}

/* konec dialogových oken */

/* date time picker */

div.ui-datepicker {
    z-index: 1090 !important;
}

div.ui-datepicker a.ui-slider-handle {
    width: 1.2em;
}

/* konec date time picker */

/* kampaně */

#newCampaign .campaign-body #reported-container, #detailCampaign .info-bold #reported-container {
    margin-top: 1em;
}

.add-contact table td:first-child {
    width: 100%;
}

.add-contact table td:first-child div.input-group {
    margin-bottom: 0;
}

#detailCampaign .info-bold .input-group input {
    font-weight: bold;
}

#detailCampaign .info-bold .input-group .btn, #detailCampaign #incoming-expanded .dropdown .btn,#newCampaign .campaign-body .input-group .btn {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

#detailCampaign .panel-body h3.no-margin {
    margin-top: 0px;
}

#detailCampaign #incoming-expanded h3, #detailCampaign #outcoming-expanded h3, #detailCampaign #statistics-expanded h3, #detailCampaign #answers-expanded h3 {
    font-weight: bold;
    color: #337ab7;
}

#detailCampaign #incoming-expanded .possible-answers {
    margin-bottom: 2em;
}

#detailCampaign #statistics-expanded h3, #detailCampaign #answers-expanded h3 {
    margin-bottom: 1em;
}

#statistics-expanded .table-responsive.table-results {
    padding-left: 0px;
}

#detailCampaign #incoming-expanded div.input-group, #newCampaign .sms-answers div.input-group {
    width: 100%;
}

#detailCampaign #incoming-expanded table.sms-answers tr:nth-child(even) td, #newCampaign table.sms-answers tr:nth-child(even) td {
    border-top: 0px;
}

#detailCampaign #incoming-expanded table.sms-answers .toggle, #detailCampaign .info-bold .toggle, #detailCampaign #outcoming-expanded .toggle, #newCampaign .campaign-body .toggle {
    float: right;
}

#detailCampaign #outcoming-expanded .content {
    margin-top: 2em;
}

#detailCampaign #outcoming-expanded .content .btn-success {
    margin-left: .5em;
}

.contactStatus {
    display: inline-block;
    min-width: 10px;
    min-height: 10px;
    border-radius: 10px;
    margin-right: 5px;
}

.list-of-campaign-answers tbody tr td:first-child {
    width: 5px;
}

.list-of-campaign-answers tbody tr td.nowrap {
    width: 50px;
}

.list-of-campaign-answers tbody tr td.answer-text {
    width: 100%;
}

tr.on-projector td:first-child {
    background-color: #337ab7;
}

#detailProjection .campaign-body > .row {
    margin-top: 1.5em;
}

@media (max-width: 991px) {
    #detailProjection .campaign-body .row .action-button {
        padding-top: 1.5em;
    }
}

#detailProjection .campaign-body .row .action-button:last-of-type {
    text-align: center;
}

#detailProjection .campaign-body .row.projection-settings {
    margin-bottom: 1em;   
}

#detailProjection .campaign-body .row.projection-settings .col-xs-12.record.action-button, 
#detailProjection .campaign-body .row.projection-settings .col-sm-12.record.action-button,
#detailProjection .campaign-body .row.projection-settings .col-md-12.record.action-button {
    padding: 0;
    margin-bottom: 1em;
}

@media (max-width: 1199px) {
    #detailProjection .campaign-body .row.projection-settings .col-xs-12.col-sm-12.col-md-12.record.action-button {
        text-align: center;
    }
}

#detailProjection .campaign-body .row.projection-settings .col-lg-4.record.action-button {
    padding-left: 0;
    text-align: left;
}

@media (max-width: 991px) {
    #detailProjection .campaign-body .row.projection-settings > div {
        padding: 0;
    }
}

#detailProjection .campaign-body .row.projection-settings > div:last-of-type {
    padding-right: 0;
}

#detailProjection div.record { 
    vertical-align: bottom;
}
      
#detailProjection #table-body tr { 
    cursor: pointer;
}
        
#detailProjection #table-body tr.selected { 
    background-color: #d9edf7;
}

#detailProjection .table.list-of-campaign-answers > thead > tr > th {
    vertical-align: middle;
    padding: 14px 8px;
}

#detailProjection div.record button.btn { 
    height: 58px; 
    width: 58px; 
    min-width: 58px; 
    padding: 0; 
}

#detailProjection button.btn.btn-success { 
    border-radius: 58px; 
    width: 58px; 
    height: 58px; 
    padding: 0px;
}

@media screen and (max-width: 767px) {
    #detailProjection .table-responsive > .table>tbody > tr > td {
        white-space: normal;
    }
}

.campaign-projection table {
    font-size: 40px;
}

.campaign-projection .table > tbody > tr > td {
    padding: 1em;
    vertical-align: middle;
}

.campaign-projection .selected {
    font-weight: bold;
    color: #31708f;
}

.campaign-projection .selected {
    font-weight: bold;
    color: #31708f;
}

.campaign-projection table > thead > tr > th {
    font-size: 15px;
    background-color: #2494F2;
    border-bottom: 0;
    padding: 0 1em 0 1em;
    text-align: left;
}

.campaign-projection table > thead > tr > th img {
    margin-top: .75em;
    margin-bottom: .75em;
}

.campaign-projection table > thead > tr > th div.numbers {
    float: right;
    font-size: 20px;
    margin-top: 9px;
    color: #fff;
}

.campaign-projection .table-striped > tbody > tr:nth-child(even) > td {
   background-color: #ddd;
}

.campaign-projection .table > tbody > tr > td.ok {
    text-align: right;
}

.campaign-projection .table > tbody > tr > td.ok .glyphicon-ok {
    color: green;
    font-size: 1em;
    vertical-align: middle;
    margin-top: 0;
    margin-left: 0;
}

/* konec kampaní */

/* mapy */

.mapButtonContainer {
    float: right;
    top: -20px;
    right: 10px;
    position: relative;
    z-index: 1000;
}

.mapButtonContainer > button.mapButton {
    color: white;
    font-size: 12px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    height: 22px;
    width: 170px;
    line-height: 19px;
    background: #130085;
    background: rgba(0, 60, 136, 0.5);
    border: 0px;
    border-radius: 4px;
}

.mapButtonContainer > button.mapButton:hover {
    background: rgba(0, 60, 136, 0.7);
}

.mapSearch {
    width: 250px;
    position: relative;
    top: 15px;
    left: 70px;
    z-index: 1000;
}

@media (max-width: 999px) {
    .mapSearch {
    position: relative;
    top: 50px;
    }
}

#maps-expanded ul.typeahead.dropdown-menu {
    width: inherit;
}

.map {
    margin-top: -56px;
    float: left;
}

/* konec map */

/* login */

#login .row > input#captcha {
    width: 210px;
    display: initial;
    height: 35px;
}

#login img#captchaImg {
    height: 36px;
}

/* konec login */

/* ikona pro doručenou SMS */

.icon-stack {
    display: inline-block;
    position: relative;
    margin-right: .5em;
}

.icon-stack [class^="icon-"], .icon-stack [class*=" icon-"] {
    display: block;
    font-size: 1em;
    height: 100%;
    line-height: inherit;
    position: absolute;
    text-align: center;
    width: 100%;
}

.glyphicon-ok {
    color: #fff;
    font-size: .6em;
    vertical-align: top;
    margin-top: .55em;
    margin-left: .3em;
}

/* table second level*/

table.table-striped td.table-second-level div.table-responsive {
    padding-left: 10px;
    padding-right: 10px;
}

table.table-striped td.table-second-level table {
    border: 1px solid #ddd;
}

table.table-striped td.table-second-level table th {
    padding: 7px;
}

table.table-striped td.table-second-level table th:first-child {
    padding: 0;
}

table.table-striped td.table-second-level table td {
    width: 27%;
}

table.table-striped td.table-second-level table td:first-child {
    width: 0;
    padding: 0;
}

table.table-striped td.table-second-level table td:last-of-type {
    width: 19%;
    text-align: right;
}

table.table-striped td.table-second-level table td span:first-of-type {
    margin-right: 5px;
}

table.table-striped td.table-second-level table th {
    background: #ddd;
}

table.table-striped td.table-second-level div.itemListExpandable {
    margin-top: 10px;
}

.table td.shorten-text {
    max-width: 177px;
}

.table td.shorten-text div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.paddingLeft0 {
    padding-left: 0;
}

.paddingRight0 {
    padding-right: 0;
}

.paddingBottom20 {
    padding-bottom: 20px;
}

div.formCheckBox div.toggle {
    margin-left: -4px;
}

div.dropdown button.disabled {
    background-color: #eee;
}
