:root {
  --color-primary: #4eb7e6;
}


body {
   font-family: sans-serif;
    padding: 1px 20px 20px 20px;
    margin: auto;
    color: #485D61;
    height: 100%;
    min-height: 100%;
    background-repeat: repeat;
    background-attachment: fixed;
   /* background-image: url(../image/Bottom_texture.jpg); */
    background-position: top left;
    min-width: 1200px;
    max-width: 1280px;
}

#install {
   display: none;
}
.hidden-menu-ticker {
    display: none;
}

#page {
 width: 100%; 
 min-width: 850px;
 padding: 20px;
}
#header {
    left: 0;
    top: 0;
    width: 100%;
    min-width: 850px;
    height: 105px;
    float: left;
    background-image: url(../image/header.png);
    background-repeat: no-repeat;
    border-radius: 10px;
    margin: auto;
}
#left {
    float: left;
    width: 16%;
    min-height: 640px;
    margin: 4px;
    min-width: 180px;
}
#right {
    float: right;
    width: 18%;
    /* min-height: 640px; */
    margin: 4px;
    min-width: 180px;
    padding: 12px 0px 0px 0px;
}
#right h3 {
    font: bold 14px Arial,Helvetica,sans-serif;
    height: 14px;
    text-align: left;
    padding: 10px 10px 10px 10px;
    color: #FFF;
    background: var(--color-primary) none repeat scroll 0% 0%;
    border-radius: 10px;
}
#right a:link {
    color: #f0eff1;
    text-decoration: none;
}
#content {
    float: left;
    /*padding: 10px 0px 0px 5px;*/
    padding: 20px;
    width: 60%;
    margin: auto;
    min-height: 810;
}

.logo {
    position: absolute;
    top: 10%;
    left: 14%;
    font-weight: 900;
    font-size: 250%;
    color: #c4cfef;
}
.borgalav{
    border: var(--color-primary) ridge medium;
    /*max-width: 56%;*/
    /* border-radius: 20px; */
    margin: auto;
    border-left-style: none;
    border-right-style: none;
    border-bottom-style: double;
    border-top-style: none;
}
.borgalav11{
    border-color: #fff;
    border-style: solid;
    border-width: 1px;
    min-height: 665px;
}
.movie {
    width: 100%;
    margin: 0 auto;  
    display: block;
    max-width: 500px;
    min-width: 304;
}
.pod-menu {
    font: bold 14px Arial,Helvetica,sans-serif;
    height: 14px;
    text-align: left;
    padding: 10px 10px 10px 10px;
    color: #fff;
    background: #2f1af5  none repeat scroll 0% 0%;
    border-radius: 10px;
}
.pod-pod-menu {
    font: bold 12px Arial,Helvetica,sans-serif;
    text-align: left;
    padding: 10px 10px 10px 10px;
    background: #d2b8b3 none repeat scroll 0% 0%;
    border-radius: 10px;
}
.btn-menu {
    color: #fff;
    padding: 2%;
    position: fixed;
    top: 2%;
    left: 2%;
    cursor: pointer;
    transition: left .23s;
    z-index: 3;
    width: 5%;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
 
.btn-menu span {
    display: block;
    height: 5px;
    background-color: #c4cfef;
    margin: 5px 0 0;
    transition: all .1s linear .23s;
    position: relative;
}
 
.btn-menu span.first {
    margin-top: 0;
}
.hidden-menu {
    display: block;
    position: fixed;
    list-style: none;
    padding: 50px 10px 10px;
    margin: 0;  
    box-sizing: border-box;
    /*width: 200px;*/
    background-color: #fdf7f7;
    height: 100%;
    top: 0;
    left: -220px;
    transition: left .2s;
    z-index: 2;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
 
.hidden-menu li {
    padding:10px 0;
}
 
.hidden-menu li a {
    font-size: 16px;
    font-weight: 700;
    color: blue;
    padding:6px 0px;
}
.hidden-menu-ticker:checked ~ .btn-menu {
    left: 160px;
}
.hidden-menu-ticker:checked ~ .hidden-menu {
    left: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu span.first {
    -webkit-transform: rotate(45deg);
    top: 10px;
}
.hidden-menu-ticker:checked ~ .btn-menu span.second {
    opacity: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu span.third {
    -webkit-transform: rotate(-45deg);
    top: -10px;
}
#content h3 {
  /*color: blue;*/
    font: bold 14px Arial,Helvetica,sans-serif;
    height: 14px;
    text-align: left;
    padding: 10px 10px 10px 10px;
    color: #FFF;
    background: var(--color-primary) none repeat scroll 0% 0%;
    border-radius: 10px;
}
#content ol {
padding: 10px 0px 10px 36px;
font-size: 14px;
}
#content ul {
padding: 0px 20px 5px 10px;
}
#content li {
font-size: 14px;
}
#content table {
border-collapse: collapse;
border: 2px solid #53A6D4;
font:14px/1.5 Arial, Helvetica, sans-serif;
margin: 0 auto;
}
#content table th {
padding: 0 3px;
border: 2px solid #53A6D4;
}
#content table td {
padding: 0 3px;
border: 2px solid #53A6D4;
}
#content table.brd th {
border: 1px solid #000;
}
#content table.brd td {
border: 1px solid #000;
} 
#content  a:link { 
   color: #2F1A00;
   text-decoration: none;
}
#log_form {
margin: 0 auto; 
width:250px;
}
.button-style {
  display: inline-block;
  padding: 4px 5px;
  background: #f2f2f2;
  border: 1px solid #000; /* В ожидании набирающего популярность темного режима, рамка черного цвета */
  color: #333;
  text-decoration: none;
  text-align: center;
  border-radius: 5px;
}

.button-style:hover, .button-style:focus {
  background: #e2e2f2; /* Эффект при наведении — дополнительное оформление */
}
#footer {
    height: 60px;
    background: var(--color-primary) none repeat scroll 0% 0%;
    text-align: center;
    color: #FCFCFC;
    font-size: 16px;
    border-radius: 10px;
    max-width: 1000px;
    margin: auto;
}
.moduletable {
font: 12px/1.5 Arial,Helvetica,sans-serif;
color: rgb(255, 226, 11);
text-align: left;
/*padding: 65px 0px 14px;*/
/* background-color: #FCFFCC; */
    list-style:none;
}

.moduletable h2{
    font: bold 14px Arial,Helvetica,sans-serif;
    height: 14px;
    text-align: left;
    padding: 10px 10px 10px 10px;
    color: #FFF;
    background: var(--color-primary) none repeat scroll 0% 0%;
    border-radius: 10px;
}
.moduletable h3{
font: bold 12px Arial,Helvetica,sans-serif;
text-align: left;
padding: 10px 10px 10px 10px;
color: #FFF;
background: var(--color-primary) none repeat scroll 0% 0%;
border-radius: 10px;
}


.moduletable h4{
font: bold 14px Arial, Helvetica, sans-serif;
text-transform: uppercase;
text-align:left;
padding:5px 0px 5px 5px;
color: #1B73C8;}


.moduletable p {padding:5px;}

.moduletable img {margin:2px;}

.moduletable ul li{
padding: 0 0 0 6px;
list-style:none;}

.moduletable  a:visited{ 
    color: #f0eff1;
    text-decoration: none;
}

.moduletable  a:link { 
    color: #f0eff1;
    text-decoration: none;
}
 
.forma {
padding: 10px 20px 20px 20px;
}

#log_form {
   /*position: absolute;*/
  /* border: 2px solid var(--color-primary);*/
   /*border-radius: 8px;*/
  /* background: var(--color-primary);*/
   width: 185px;
   float: right;
 }
#log_form_aft {
   /*position: absolute;*/
   border: 2px solid var(--color-primary);
   border-radius: 8px;
   background: var(--color-primary);
   width: 185px;
   float: right;
 }

  #log_form  a {
    float: right; 
 }
 
 #h {
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0px 2px 0 rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    text-align: center;
    color: #e3d3d3;
    margin: 10px 0 30px 0;
    letter-spacing: 4px;
    font: 18px Verdana,Helvetica;
 }

 #h:after, h:before {
    position: absolute;
    background-color: #2E59D7;
    content: "";
    height: 2px;
    left: 8px;
    top: 35px;
    width: 170px;   
}

#my_field {
    border: 0;
    float: right;
}

#username {
  border: 2px solid #2E59D7;
  border-radius: 4px;
  padding: 4px 0px 4px 10px;
  margin: 0 0 6px 0;
  background: #ECFFD3 url(images//login.png) no-repeat;
  color: #5F5F5F;
  box-shadow: 
    inset 0 2px 0 rgba(0,0,0,.2), 
    0 0 4px rgba(0,0,0,0.1);
}

#username:focus { 
  outline: none;
  box-shadow: 
    inset 0 2px 0 rgba(0,0,0,.2), 
    0 0 4px rgba(0,0,0,0.1),
    0 0 6px 3px #FDFFB7;
}

#password {
  border: 2px solid #2E59D7;
  border-radius: 4px;
  padding: 4px 0px 4px 10px;
  margin: 0 0 6px 0;
  background: #ECFFD3 url(images//pass.png) no-repeat;
  color: #5F5F5F;
  box-shadow: 
    inset 0 2px 0 rgba(0,0,0,.2), 
    0 0 4px rgba(0,0,0,0.1);
}

#password:focus { 
  outline: none;
  box-shadow: 
    inset 0 2px 0 rgba(0,0,0,.2), 
    0 0 4px rgba(0,0,0,0.1),
    0 0 6px 3px #FDFFB7;
}

#email {
   border: 2px solid #2E59D7;
  border-radius: 4px;
  padding: 4px 0px 4px 10px;
  margin: 0 0 6px 0;
  background: #ECFFD3 url(images//pass.png) no-repeat;
  color: #5F5F5F;
  box-shadow: 
    inset 0 2px 0 rgba(0,0,0,.2), 
    0 0 4px rgba(0,0,0,0.1); 
}
#email:focus { 
  outline: none;
  box-shadow: 
    inset 0 2px 0 rgba(0,0,0,.2), 
    0 0 4px rgba(0,0,0,0.1),
    0 0 6px 3px #FDFFB7;
}
#but_log {
  display: inline-block;
  margin: 0 0 0;
    padding: 5px 14px;
  background: #79b0e6;
  border: 0px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease-out;
  box-shadow:
    inset 0px 2px 2px rgba(255,255,255,0.6),
    2px 2px 2px rgba(0,0,0,0.1),
    0 0 4px 1px rgba(0,0,0,0.2);

}

#but_log:hover  { 
 background: #C7FE0A; 
 color: #40BCFE;
 box-shadow:
    inset 0px 2px 2px rgba(255,255,255,0.6),
    0 2px 2px rgba(0,0,0,0.1),
    0 0 4px 1px rgba(0,255,255,0.3);
}

#but_log:active {
 position: relative;
 top: 1px;
}
#zagal:hover  { 
 background: #C7FE0A; 
 color: #40BCFE;
 box-shadow:
    inset 0px 2px 2px rgba(255,255,255,0.6),
    0 2px 2px rgba(0,0,0,0.1),
    0 0 4px 1px rgba(0,255,255,0.3);
    
}
#zaga2:hover  { 
 background: #FE000A; 
 color: #BC00FE;
 box-shadow:
    inset 0px 2px 2px rgba(255,255,255,0.6),
    0 2px 2px rgba(0,0,0,0.1),
    0 0 4px 1px rgba(0,255,255,0.3);
    
}
    
/* Стили для кнопки чата */
        .chat-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background-color: var(--color-primary);
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 60px;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            z-index: 1000;
        }
        
        /* Стили для окна чата */
        .chat-popup {
            display: none;
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 350px;
            height: 450px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            z-index: 1000;
            flex-direction: column;

        }
        
        .chat-header {
            background-color: var(--color-primary);
            color: white;
            padding: 15px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .chat-close {
            cursor: pointer;
            font-size: 20px;
        }
        
        .chat-body {
            flex: 1;
            padding: 10px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        
        .message {
            margin: 5px 0;
            padding: 8px 12px;
            border-radius: 18px;
            max-width: 80%;
            word-wrap: break-word;
        }
        
        .incoming {
            align-self: flex-start;
            background-color: #f1f1f1;
        }
        
        .outgoing {
            align-self: flex-end;
            background-color: var(--color-primary);
            color: white;
        }
        
        .chat-footer {
            padding: 10px;
            border-top: 1px solid #eee;
            display: flex;
        }
        
        .chat-input {
            flex: 1;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 20px;
            outline: none;
        }
        
        .chat-send {
            margin-left: 10px;
            padding: 10px 15px;
            background-color: var(--color-primary);
            color: white;
            border: none;
            border-radius: 20px;
            cursor: pointer;
        }
        
        .typing-indicator {
            font-style: italic;
            color: #999;
            padding: 5px 15px;
            display: none;
        }
 
.triangle-left {
      width: 0;
      height: 0;
      border-top: 70px solid transparent;
      border-bottom: 70px solid transparent;
      border-right: 100px solid #6E18C0;
  }
 
.triangle-right {
      width: 0;
      height: 0;
      border-top: 70px solid transparent;
      border-bottom: 70px solid transparent;
      border-left: 100px solid #6E18C0;
  }  
