/* 
    Created on : 16.10.2019, 20:00:13 @iChum
    Author     : Alekhnovich Oleg (o.alekhnovich@gmail.com)
*/

html, body {
    background-image: url('../images/bg.jpg')!important;
    background-repeat: repeat!important;
}
h1 {
    font-size: 1.9rem;
}
h2 {
    font-size: 1.5rem;
}
a {
    color: #005484;
}
.bg-dark {
    background-color: #005484!important;
}
.bg-secondary {
    background-color: #333!important;
}
.theme-blue {
    color: #005484!important;
}
.bg-blue {
    background-color: #005484;
    color: #fff;
}
.theme-green {
    color: #008080!important;
}
.bg-green {
    background-color: #008080;
    color: #fff;
}
.bg-img-1 {
    background-image: url('../images/bg.png')!important;
}
.bg-img-2 {
    background-image: url('../images/bg.jpg')!important;
}
.bg-img-3 {
    background-image: url('../images/bg-2.jpg')!important;
}
.rounded-xl {
    border-radius: .7rem !important;
}
.lh-sm {
    line-height: 1.3 !important;
}
.lh-lg {
    line-height: 1.7 !important;
}

/* NAVBAR */
.navbar {
    padding: .2rem .7rem;
}
.navbar-chat {
    color: #fff;
}
.navbar-chat:hover {
    color: #dee2e6;
}
.dropdown-menu {
    background-image: url('../images/bg.png')!important;
    border: 1px solid #005484!important;
}
.dropdown-item-add {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.dropdown-item {
    border: 1px solid #fff!important;
}
.dropdown-item:hover {
    background-color: #008080;
    color: #fff;
}
.dropdown-item.active, .dropdown-item:active {
    background-color:#008080;
    color: #fff;
}
.nav-tabs .nav-link:hover {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #fff;
    background-color: #005484;
    border-color: #dee2e6 #dee2e6 #005484;
}
.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #008080;
    border-color: #dee2e6 #dee2e6 #008080;
}
.nav-tabs {
    border-bottom: 1px solid #008080;
}

/* JUMBOTRON */
.jumbotron {
    color: #fff;
    padding-top: 5rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* LOGIN FORMS */
.login {
    color: #fff;
}
.login a {
    color: #fff;
}
.modal-header {
    background-color: #005484!important;
    color: #fff;
}
.form-login {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}
.form-login .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-login .form-control:focus {
  z-index: 2;
}
.form-login input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-login input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
#form_login .form-group {
    margin-bottom: 0;
}

/* MARKETING CONTENT */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}

/* MAIN CONTENT */
.note-video-clip {
    width: 100% !important;
    height: 260px !important;
}
@media (min-width: 390px) {
    .note-video-clip {
        width: 100% !important;
        height: 320px !important;
    }
}
@media (min-width: 576px) {
    .note-video-clip {
        width: 400px !important;
        height: 230px !important;
    }
}
@media (min-width: 768px) {
    .note-video-clip {
        width: 640px !important;
        height: 360px !important;
    }
}
@media (min-width: 1200px) {
    .note-video-clip {
        width: 640px !important;
        height: 360px !important;
    }
}
.close {
  font-size: 2rem;
  font-weight: normal;
  line-height: 0.6;
  color: #fff;
  text-shadow: none;
}
.badge {
    font-size: 80%;
}
.emoji-box {
    max-height: 300px;
    max-width: 450px;
}
.breadcrumb {
    font-size: .8rem;
}
.record-title {
    font-size: 1rem;
}
.btn-info {
  color: #fff;
  background-color: #008080;
  border-color: #008080;
}
.btn-outline-info {
  color: #008080;
  border-color: #008080;
}
.btn-outline-info:hover {
  color: #fff;
  background-color: #008080;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    --moz-appearance: textfield;
}

/* CHAT BLOCK */
#chat-msg {
    font-size: .95rem;
}
#inlineFormInputGroup {
    overflow-y: auto;
    resize: none;
    line-height: 1.5em;
    max-height: calc(1.5em * 3 + 1rem);
}
.chat-link a {
    color: peachpuff!important;
}
.chatroom-link a {
    color: #0077cc!important;
}
.chat-input-textarea {
    font-size: .9rem;
}
.text-block-blue::after {
    content: ''; 
    position: absolute; /* Абсолютное позиционирование */
    left: 20px; bottom: -10px; /* Положение треугольника */
    border: 5px solid transparent;
    border-left: 5px solid #005484;
    border-top: 5px solid #005484;
}
.text-block-green::after {
    content: ''; 
    position: absolute; /* Абсолютное позиционирование */
    right: 20px; bottom: -10px; /* Положение треугольника */
    border: 5px solid transparent;
    border-right: 5px solid #008080;
    border-top: 5px solid #008080;
}
.blink {
  -webkit-animation: blink 2s linear infinite;
  animation: blink 2s linear infinite;
}
@-webkit-keyframes blink {
  from { opacity: 1; /* Непрозрачный текст */ }
    to { opacity: 0; /* Прозрачный текст */ }
}
@keyframes blink {
  from { opacity: 1; /* Непрозрачный текст */ }
    to { opacity: 0; /* Прозрачный текст */ }
}
.chat-room-text {
    font-size: .9rem;
}

/* BUTTONS */
.btn-primary {
    background-color: #005484;
    border: 1px solid #005484;
}
.btn-primary:hover {
    background-color: #008080;
    border: 1px solid #008080;
}
.btn-primary:focus {
    background-color: #008080!important;
    border-color: #008080!important;
}
.input-group-text {
    color: #fff;
    background-color: #005484;
    border: 1px solid #005484;
}
.btn.btn-link {
    color: #1a1560;
}
.btn.btn-link:hover {
    color: #fff;
}

/* ICONS SVG */
.bi-chat-fill {
    height: 1.8rem;
    width: 1.8rem;
}
.bi-person-fill {
    height: 1.5rem;
    width: 1.5rem;
    margin-bottom: 3px;
}

/* CSS3 EFFECTS */
.fade-rec {
    -webkit-transition: all 0.3s ease;;
  -moz-transition: all 0.3s ease;;
  -o-transition: all 0.3s ease;;
  transition: all 0.3s ease;
  opacity: 1;
}
.fade-rec:hover {
    -webkit-transition: all 0.3s ease;;
  -moz-transition: all 0.3s ease;;
  -o-transition: all 0.3s ease;;
  transition: all 0.3s ease;
  opacity: 0.5;
}
.grow {
      -webkit-transition: all 0.3s ease;;
  -moz-transition: all 0.3s ease;;
  -o-transition: all 0.3s ease;;
  transition: all 0.3s ease;
}
.grow:hover {
    -webkit-transition: all 0.3s ease;;
  -moz-transition: all 0.3s ease;;
  -o-transition: all 0.3s ease;;
  transition: all 0.3s ease;
    --webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}
.hover {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.hover:hover {
    opacity: .5;
}

/* MEDIA */
@media (min-width: 576px) {
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 1.9rem;
    }
}
@media (min-width: 768px) {
    #chat-msg {
        font-size: 1rem;
    }
    .chat-room-text {
        font-size: 1rem;
    }
    .chat-input-textarea {
        font-size: 1rem;
    }
}
