html {
    font: 16px/1.5 "Trebuchet MS", "Geneva CE", lucida, sans-serif;
    height: 100%;
}

body {
    color: #333;
    height: 100%;
}

.navbar-top-links li a {
    color: #999;
}

h1 {
    font: 1.9em/1.5 sans-serif;
    margin: .5em 0 1.5em;
    color: #7A7772;
}

h2 {
    font-size: 120%;
    color: #3484D2;
}

#content {
    margin: 0 5px;
    border: 1px dotted gray;
}


#path {
    margin: 50px 0;
}

#module {
    background: #fee7bc;
    padding: 30px 10px;
    padding: 10px;
    font-weight: bold;
}

#presenter {
    background: #afcbe3;
    padding: 20px 10px 20px 0;
    padding: 10px 10px 10px 0;
}

#view {
    background: #c4e8c4;
    padding: 10px 10px 10px 0;
    font-weight: normal;
}

fieldset {
    margin: 1em;
    padding: 1em;
}

textarea.form-control {
    min-height: 150px;
}
/**Form**/

input#frm-loginControl-form-password {
    background-image: url(img/password.png);
    background-repeat: no-repeat;
    background-position: 13px;
    padding-left: 40px;
    transition: 200ms ease;
    border: 1px solid #a9a9a9;
}
input#frm-loginControl-form-password:focus {
    background-repeat: no-repeat;
    padding-left: 10px;
    background-position: -25px;
}
input#frm-loginControl-form-username {
    background-image: url(img/obalka.png);
    background-repeat: no-repeat;
    background-position: 10px;
    padding-left: 40px;
    transition: 200ms ease;
    border: 1px solid #a9a9a9;
}
input#frm-loginControl-form-username:focus {
    background-repeat: no-repeat;
    padding-left: 10px;
    background-position: -25px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    background-color: transparent!important;
    padding-left: 10px!important;
}
/**Form end**/


/** Navrbar **/

nav.navbar {
    padding: 20px 0;
    background: #fff;
    box-shadow: 0 0 15px -3px #333;
}
.sidebar{
    left: -200px;
    transition:200ms ease;
}
.sidebar.open{
    left: 0;
}
#page-wrapper{
    margin-left: 50px; 
    transition: 200ms ease;
}
.sidebar.open i{
    float: none;

}
.sidebar i{
    float: right;
    transition: 200ms ease;
    transition-delay:200ms;
}
#wrapper {
    background: #1c98e0;
}
#page-wrapper.open{
    margin-left: 250px;
}
.sidebar ul#side-menu  li a.active, .sidebar ul#side-menu  li a:hover {
    background: #146c9f;
    border-left: 3px solid #579f46;
    padding-left: 20px;
}
.sidebar ul#side-menu  li a:hover {
    padding-right: 12px;
}
.sidebar ul#side-menu  li a{
    color: #fff;
    border-left: 3px solid transparent;
    transition: 200ms ease;
    font-size: 18px;
}
.sidebar ul#side-menu  li{
    border-bottom: 0;
}
a.navbar-brand {
    background: url(img/logo.png) no-repeat center;
    width: 200px;
}
.opener {
    cursor: pointer;
    font-size: 30px;
    padding: 5px 5px 0 5px;
    margin-left: 20px;
}
ul#side-menu {
    position: fixed;
    width: 250px;
}
@media(max-width:768px){
    .opener{
        display: none;
    }
    .crm-loginpage h2{
        font-size: 30px;
    } 
    #page-wrapper, #page-wrapper.open{
        margin-left: 0;
    }
    .navbar-toggle {
        background: #21bede;
    }
    ul#side-menu {
        background: #1f79ad;
        position: relative;
        width: auto;
    }
    .navbar-toggle .icon-bar {
        background: #fff;
    }
    .logo-mobile-transform {
        width: 60px;
        overflow: hidden;
    }
    .navbar-header {
        width: 150px;
        float: left;
    }
}
.logo-mobile-transform {
    float: left;
}

@media (min-width: 768px){
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 250px;
        margin-top: 95px;
        background: transparent;
    }
}

/** Navbar end **/

/**Nastenka**/

.task-box {
    padding: 15px;    
    color: #fff;
    border-radius: 0;
    border: 2px solid transparent;
    margin-bottom: 30px;
}
.task-box .fa-lg {
    font-size: 70px;
    padding: 10px 0;
}
.task-box span.big-size-text{
    display: block;
    font-size: 30px;
}
.task-box span{
    text-align: right;
}

a.detail i {
    padding: 3px;
    margin-right: 15px;
    transition: 200ms ease;
}
a:hover.detail  {
    text-decoration: none;
}
a:hover.detail i {
    margin-right: 10px;   
}
a.detail {
    display: block;
    background: #fff;
    padding: 10px;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: -15px;
}.inner-part {
    padding: 10px 0 20px;
}

.daily-phone a {
    color: #1c98e0;
}
.daily-phone {
    background: #1c98e0;
    border-color: #1c98e0;
}
.daily-meeting a {
    color: #579f46;
}
.daily-meeting {
    background: #579f46;
    border-color: #579f46;
}
.daily-mail a {
    color: #8d469f;
}
.daily-mail {
    background: #8d469f;
    border-color: #8d469f;
}
.daily-task a {
    color: #eb5d25;
}
.daily-task {
    background: #eb5d25;
    border-color: #eb5d25;
}
/**Checkbox**/
.onoffswitch {
    position: relative; width: 70px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    margin: 0;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 26px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.onoffswitch-inner:before {
    content: "Ano";
    padding-left: 10px;
    background-color: #579f46; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "Ne";
    padding-right: 10px;
    background-color: #ff5454; color: #FFFFFF;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 25px; margin: 0px;
    background: #1c98e0;
    position: absolute; top: 0; bottom: 0;
    right: 43px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}
.checkbox-text{
    font-size: 18px;
    padding: 4px 10px 4px 0;
}
/**Checkbox end**/
/** Kontakt Box **/
.kontakty-box input {
    width: 100%;
    padding: 7px 10px;
}
.kontakty-box {
    background: #eee;
    padding: 0 25px 25px 25px;
    margin: 20px 0;
}
.header-kontakty-box {
    margin-left: -25px;
    margin-right: -25px;
    background: #1c98e0;
    color: #fff;
}
.header-kontakty-box h3{
    padding: 13px;
    margin: 0 0 15px 0;
    text-align: center;
}
label {
    display: inline-block;
    max-width: 100%;
    font-weight: 700;
    font-size: 18px;
    margin: 10px 0 0px;
    font-weight: 100;
}

/** Kontakt Box end **/

.input {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 1em;
    max-width: 350px;
    width: calc(100% - 2em);
    vertical-align: top;
}

.input__field {
    position: relative;
    display: block;
    float: right;
    padding: 0.8em;
    width: 60%;
    border: none;
    border-radius: 0;
    background: #f0f0f0;
    color: #aaa;
    font-weight: 400;
    -webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
    outline: none;
}

.input__label {
    display: inline-block;
    float: right;
    padding: 0 1em;
    width: 40%;
    color: #696969;
    font-weight: bold;
    font-size: 70.25%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input__label-content {
    position: relative;
    display: block;
    padding: 1.6em 0;
    width: 100%;
}

.graphic {
    position: absolute;
    top: 0;
    left: 0;
    fill: none;
}

.icon {
    color: #ddd;
    font-size: 150%;
}
.subbutt input[type="submit"] {
    font-size: 18px;
    margin: 0px auto;
    display: block;
    padding: 7px 15px;
    color: #fff;
    background: #1c98e0;
    border: 0;
    text-transform: capitalize;
}
div#page-wrapper {
    padding-bottom: 40px;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    border-radius: 0;
    color: #fff;
    margin-left: 0;
}
.nav-tabs>li>a {
    margin-right: 1px;
    line-height: 1.42857143;
    color: #fff;
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
}
.nav-tabs>li>a:hover {
}
.panel, .panel-heading{
    border-radius: 0;
}
.grido table, .grido .filter,.grido tfoot td{
    border-radius: 0!important;
}.grido tr.head th {
    border-radius: 0!important;
}.grido thead th, .grido tfoot td, .grido .filter.outer {
    background: #1c98e0;
    border-radius: 0;
    border-color: #0c81c5!important;
}.grido thead .filter th{
    background: #1c98e0;    
}
table th span, .grido tfoot td{
    color: #fff;
}
table th a,.grido tfoot td a{
    color: #e0e0e0;
}input[type="submit"] {
    border: 0;
    text-transform: uppercase;
}
.grido tfoot td .export a {
    color: #fff;
}

.panel-primary>.panel-heading {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}
.panel-primary>.panel-heading{
    color: #fff;
    background-color: #53a2dd;
    border-color: #53a2dd;
}
.panel-primary {   
    border-color: #53a2dd;
}
.panel-success{
    border-color: #579f46;    
}
.panel-success>.panel-heading {
    color: #ffffff;
    background-color: #579f46;
    border-color: #579f46;
}
.btn {
    margin: 10px 0;
    border-radius: 0;
}
.grido input.text, .grido select{
    color: #333;
    overflow: hidden;
}
.vypis .img-box {
    height: 250px;
    width: 100%;
    overflow: hidden;
}
.vypis .img-box .img-responsive{
    width: 100%;
    max-height: 300px;
}
.vypis {
    margin: 30px 0;
    position: relative;
}
.price {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 9px;
    background: #d05353;
    color: #fff;
    font-size: 18px;
}
.vypis .col-md-8{
    padding: 0 0 43px 0;
}
.vypis h3 {
    font-weight: 700;
}
.map-reality {
    border: 10px solid #1c98e0;
}
input#realitySearch-location {
    padding: 7px 15px; 
}
a.grid-action-detail:after {
    content: " \f06e";
    font: normal normal normal 14px/1 FontAwesome;
}a.grid-action-edit:after {
    content: " \f044 ";
    font: normal normal normal 14px/1 FontAwesome;
}
a.grid-action-detail,span.search, span.reset{
    background: rgba(87, 159, 70, 1);
}
a.grid-action-detail:hover,span.search:hover, span.reset:hover{
    background: rgb(62, 113, 50);
}
a.grid-action-edit {    
    background: #1c98e0;
}
a.grid-action-edit:hover {    
    background: #1d77ab;
}
td.actions a:hover {
    text-decoration: none;
}
td.actions a {
    transition: 300ms ease;
    font-size: 14px;
    padding: 10px;
    color: #fff;
}span.search:after {
    content: " \f002";
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    right: 12px;
    top: 11px;
}span.search input {
    padding: 8px 30px 8px 15px;
    position: relative;
    z-index: 10;
    background: transparent;
}span.search {
    display: inline-block;
    transition: 300ms ease;
    position: relative;
    margin: 0 30px;

}
span.reset:after {
    content: " \f021";
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    right: 12px;
    top: 11px;
}
span.reset input {
    padding: 8px 30px 8px 15px;
    position: relative;
    z-index: 10;
    background: transparent;
}span.reset {
    display: inline-block;
    transition: 300ms ease;
    position: relative;
    margin: 0 30px;

}

span.export a:after {
    content: " \f019 ";
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    right: 12px;
    top: 11px;
}
.grido th, .grido td {
    border: 1px solid #eee;
    border-width: 0 1px 1px 0;
}
.grido td.actions a {
    margin-right: 3px;
    display: inline-block;
}
span.export a:hover {
    text-decoration: none;
    background: #af3c3c;
}
span.export a {
    padding: 8px 30px 8px 15px;
    position: relative;
    z-index: 10;
    display: block;
    background: #c74747;
    transition: 300ms ease;
}span.export {
    display: inline-block;
    transition: 300ms ease;
    position: relative;
    margin: 0 30px;
    float: right;
}
td.actions {
    min-width: 200px;
}
@media(max-width:1230px){
    form{
        overflow-x: scroll;
    }
}
input[name="ek"] {
    font-size: 18px;
    background: #1c98e0;
    color: #fff;
    padding: 7px 15px;
    margin: 10px 0;
    transition: 200ms ease;
}
input[name="ek"]:hover {
    background: #146c9f;
}
#grid th {
    color: #fff;
}
/***
Ok button 
***/
.operations input.hide {
    display: block!important;
    width: 150px;
    height: 40px;
    float: left;
    background: #579f46;
}

.svatek-info {
    color: #333;
}
.bname:last-child {
    border: 0;
}
.bname {
    display: block;
    width: 100%;
    text-align: center;
    padding: 5px 15px;
    border-bottom: 1px solid #eee;
    color: #333;
    background: #fff;
    transition: 200ms ease;
}
.bname:hover {
    background: #eee;
    color: inherit;
}


.avatar {
    border-radius: 50%;
    overflow: hidden;
    background: #1c98e0;
    width: 61px;
    height: 61px;
    display: block;
    padding: 0!important;
    transition: 200ms ease;
    float: left;
    margin-top: -20px;
    margin-right: 30px;
    margin-bottom: -10px;
}
a:hover .avatar{
    padding: 2px!important;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: transparent;
    border-color: #337ab7;
}
.kontakty-box .table {
    margin: 0;
}
.color-type-1{
    color: #1c98e0;
}
.color-type-1-bcg{
    background: #1c98e0;
    background-color: #1c98e0!important;
}
.color-type-2{
    color: #579f46;
}
.color-type-2-bcg{
    background: #579f46;
    background-color: #579f46!important;
}
.color-type-3{
    color: #8d469f;
}
.color-type-3-bcg{
    background: #8d469f;
    background-color: #8d469f!important;
}
.color-type-4{
    color: #eb5d25;
}
.color-type-4-bcg{
    background: #eb5d25;
    background-color: #eb5d25!important;
}
label{
    margin: 10px 0 5px;
}