@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500,600,700&subset=latin,cyrillic);
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,500,600,700&subset=latin,cyrillic);
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,300,500,600,700&subset=latin,cyrillic);

html {

}
* {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Roboto Condensed', sans-serif;
}
.main-header .logo {
    font-family: 'Roboto Slab', sans-serif;
}

.form-group-item input,
.form-group-item select {
  display: block !important;
  width: 100% !important;
  min-height: 28px !important;
}

* {
    border-radius: 0 !important;
}


.tile-link>div {
    padding: 10px;
}

.tile-link>div:hover {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
}

html,
body {
    height: 100%;
/*    background-color: #F0EAEA;*/
    color: #333;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.tiles-row {
    margin-top: 40px;
}
/* ========================= main menu =========================== */
.navbar-nav > li > a {
    color: #fff;
}
.navbar-nav > li > a:hover {
    background-color: inherit;
    color: #ccc;
}
.navbar-nav > li.active > a {
    border-bottom: 2px solid #a12323;
}
.navbar-nav > li.active > a:hover {
    color: #fff;
}
.navbar-default {
    background-color: inherit;
    border: none;
}
.navbar-default .navbar-nav > .active > a {
    background-color: inherit;
    color: #fff;
}
/* ========================= main page =========================== */
.logo-img {
    height: 40px;
    width: 252px;
}
.main-content {
    margin-top: 40px;
}
.tile {
    color: #353535;
    padding: 10px;
    font-size: 14px;
    height: 45px;
    text-align: center;
    padding-left: -10px;



}


.my-w {
    width: 100%;
    padding-left: 15%;
    padding-right: 15%;
}

.my-w-xs {
    width: 50px;
    height: 50px;
    text-align: center;
}

.tile-link, .tile-link:hover, .tile-link:focus {
    color: #fff;
    text-decoration: none;
}
.tile-link-container {
    width: 100%;
    height: 100%;
}
.tile:hover {
    color: #f25a27;

}

tr[data-rowid] {
    border-top: 2px #000 solid;
}
/* ========================= login page =========================== */
.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card-panel {
    padding: 20px;
    margin: .5rem 0 1rem;
}

.card, .card-panel {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
}

.card, .card-panel {
    background-color: #fff;
}

.card, .card-panel, .hoverable:hover {
    transition: box-shadow .25s;
    transition-property: box-shadow;
    transition-duration: 0.25s;
    transition-timing-function: initial;
    transition-delay: initial;
}

.card, .card-panel {
    border-radius: 2px;
}

.hoverable:hover {
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
}

/*.btn-primary {*/
    /*color: #fff;*/
    /*background-color: #f25a27;*/
    /*border-color: #f25a27;*/
/*}*/

/*.btn-primary:hover {*/
    /*background-color: #F46C3E;*/
    /*border-color: #F46C3E;*/
/*}*/

/*.btn-default {*/
    /*color: #fff;*/
    /*background-color: #353535;*/
    /*border-color: #353535;*/
/*}*/

/*.btn-default:hover {*/
    /*color: #fff;*/
    /*background-color: #1F1F1F;*/
    /*border-color: #1F1F1F;*/
/*}*/

.material-shadow {
    box-shadow: rgba(0, 0, 0, 0.156863) 0px 2px 5px 0px, rgba(0, 0, 0, 0.117647) 0px 2px 10px 0px;
}

body {
    padding-top: 20px;
}

.footer {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

/* Main marketing message and sign up button */
.jumbotron {
    text-align: center;
    background-color: transparent;
}
.jumbotron .btn {
    padding: 14px 24px;
    font-size: 21px;
}

/* Customize the nav-justified links to be fill the entire space of the .navbar */

.nav-justified {
    /*background-color: #eee;*/
    border: 1px solid #ccc;
    /*border-radius: 5px;*/
}
.nav-justified > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
    /*font-weight: bold;*/
    color: #777;
    text-align: center;
    /*background-color: #e5e5e5; !* Old browsers *!*/
    /*background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));*/
    /*background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);*/
    /*background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);*/
    /*background-image:         linear-gradient(to bottom, #f5f5f5 0%,#e5e5e5 100%);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); !* IE6-9 *!*/
    /*background-repeat: repeat-x; !* Repeat the gradient *!*/
    border-bottom: 1px solid #d5d5d5;
}
.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
    background-color: #ddd;
    /*background-image: none;*/
    /*-webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15);*/
    /*box-shadow: inset 0 3px 7px rgba(0,0,0,.15);*/
}
.nav-justified > li:first-child > a {
    border-radius: 5px 5px 0 0;
}
.nav-justified > li:last-child > a {
    border-bottom: 0;
    border-radius: 0 0 5px 5px;
}

@media (min-width: 768px) {
    .nav-justified {
        max-height: 52px;
    }
    .nav-justified > li > a {
        /*border-right: 1px solid #d5d5d5;*/
        /*border-left: 1px solid #fff;*/
    }
    .nav-justified > li:first-child > a {
        border-left: 0;
        border-radius: 5px 0 0 5px;
    }
    .nav-justified > li:last-child > a {
        border-right: 0;
        border-radius: 0 5px 5px 0;
    }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .masthead,
    .marketing,
    .footer {
        padding-right: 0;
        padding-left: 0;
    }
}

.top-buffer { margin-top:20px; }

.mar-btm {
    margin-bottom: 15px;
}
.media-block .media-body {
    display: block;
    overflow: hidden;
    width: auto;
}
.pad-hor {
    padding-left: 15px;
    padding-right: 15px;
}
.speech {
    position: relative;
    background: #b7dcfe;
    color: #317787;
    display: inline-block;
    border-radius: 0;
    padding: 12px 20px;
}
.speech:before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 7px solid #b7dcfe;
    margin: 15px 0 0 -6px;
}
.speech-right>.speech:before {
    left: auto;
    right: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid #ffdc91;
    border-right: 0;
    margin: 15px -6px 0 0;
}
.speech .media-heading {
    font-size: 1.2em;
    color: #317787;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: 300;
}
.speech-time {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: .8em;
    font-weight: 300;
}
.media-block .media-right {
    float: right;
}
.speech-right {
    text-align: right;
}
.pad-hor {
    padding-left: 15px;
    padding-right: 15px;
}
.speech-right>.speech {
    background: #ffda87;
    color: #a07617;
    text-align: right;
}
.speech-right>.speech .media-heading {
    color: #a07617;
}

.timeline {
    list-style: none;
    padding: 0 0 20px;
    position: relative;
}
/*.timeline:before {*/
    /*top: 0;*/
    /*bottom: 0;*/
    /*position: absolute;*/
    /*content: " ";*/
    /*width: 3px;*/
    /*background-color: #eeeeee;*/
    /*!*left: 50%;*!*/
    /*margin-left: -1.5px;*/
/*}*/
.timeline > li {
    margin-bottom: 20px;
    position: relative;
}
.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}
.timeline > li:after {
    clear: both;
}
.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}
.timeline > li:after {
    clear: both;
}
.timeline > li > .timeline-panel {
    width: 100%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}
.timeline > li.timeline-inverted + li:not(.timeline-inverted),
.timeline > li:not(.timeline-inverted) + li.timeline-inverted {
    margin-top: -60px;
}

.timeline > li:not(.timeline-inverted) {
    padding-right:90px;
}

.timeline > li.timeline-inverted {
    padding-left:90px;
}
.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}
.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}
.timeline > li > .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 16%;
    margin-left: -25px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}
.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}
.timeline-badge.primary {
    background-color: #2e6da4 !important;
}
.timeline-badge.success {
    background-color: #3f903f !important;
}
.timeline-badge.warning {
    background-color: #f0ad4e !important;
}
.timeline-badge.danger {
    background-color: #d9534f !important;
}
.timeline-badge.info {
    background-color: #5bc0de !important;
}
.timeline-title {
    margin-top: 0;
    color: inherit;
}
.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}
.timeline-body > p + p {
    margin-top: 5px;
}

.chat-box {
    max-height: 590px;
    overflow-y: scroll;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    padding: 10px 0;
}

.btn-primary, .btn-primary:focus, .btn-hover-primary:hover, .btn-hover-primary:active, .btn-hover-primary.active, .btn.btn-active-primary:active, .btn.btn-active-primary.active, .dropdown.open>.btn.btn-active-primary, .btn-group.open .dropdown-toggle.btn.btn-active-primary {
    background-color: #579ddb;
    border-color: #5fa2dd;
    color: #fff !important;
}

.form-control {
    /*font-size: 11px;*/
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #e9e9e9;
    transition-duration: .5s;
}

.btn {
    cursor: pointer;
    /* background-color: transparent; */
    color: inherit;
    padding: 6px 12px;
    border-radius: 0;
    border: 1px solid 0;
    /*font-size: 11px;*/
    line-height: 1.42857;
    vertical-align: middle;
    -webkit-transition: all .25s;
    transition: all .25s;
}

.panel-heading p {
    margin: 5px 0;
}