/* CSS Document */

#container {
border-top:0;
}

#content {
background-image: url('../images/bg.png');
background-repeat: no-repeat;
background-size: 100% auto;
background-position: top center;
}

.livetitle {
margin-top:50px;
font-size:50px;
font-family: Segoe UI;
}

.livesubtitle {
margin-top:50px;
font-size:30px;
font-family:Segoe UI;
}

.livedescription{
margin-top:50px;
font-size:20px;
width:400px;
color:#666666;
}

ul.livelist{
margin-top:20px;
margin-bottom:25px;
font-size:20px;
list-style-type: square;
color:#1F9C3E;
font-family:Segoe UI;
}

#sidebar {
padding:0px;
margin:0px;
}

.aside {
padding-top:15px;
}

.sticky {
  position: fixed;
  top: 0px;  /* если ноль заменить на число (и в скрипте тоже), то блок будет прилипать до того, как верхний край окна браузера дойдёт до верхнего края элемента. Может быть отрицательным числом. Применим, например, при фиксированном сверху меню */
  z-index: 101;
}

.alert {
padding:8px;
}


#mosaic {
width:100%;
text-align:justify;
margin-top:1em;
}

.mosaic_block {
display:inline-block;
text-align:center;
box-sizing: border-box; /*div will include padding and border*/
padding:0.65em; /*??? better set in pixels for all sizes*/
max-width:32.5%;
margin-bottom:1em;
vertical-align:top;
border:1px solid #e3e3e3;
overflow: hidden;
}

.mosaic_block_title {
color:#1F9C3E;
text-align:center;
font-family:Georgia, "Times New Roman", Times, serif;
font-size:1.35em;
font-weight:normal;
margin-bottom:0.5em;
margin-top:0.5em;
}

.mosaic_block_title a {
color:#1F9C3E;
text-decoration:underline;
}

.mosaic_block_title a:hover {
color:#4B8ABF;
}

.mosaic_block img {
max-width:100%;
min-height:84px;
background-color:#EEEEEE;
}

.mosaic_block_text {
font-size:1em;
text-align:left;
}

/*for empty blocks in mosaic with justify*/
/*should be under all mosaic styles*/
.empty {
width:32.5%;
height:0;
border:0;
margin:0;
padding:0;
}

.form {
background-color:#FDFDFD;
}

.footer_item {
margin-bottom:0;
}

/* Login Window */

.modal-backdrop {
position: fixed;
top: 0; left: 0;
width: 100vw; height: 100vh;
background: rgba(0, 0, 0, 0.5);
display: flex; justify-content: center; align-items: center;
z-index: 999;
}

.modal {
position: relative;
background: white;
padding: 30px;
border-radius: 10px;
width: 300px;
box-shadow: 0 5px 20px rgba(0,0,0,0.3);
text-align: center;
font-family: sans-serif;
}

.modal h2 {
margin-top: 0;
}

.modal input {
width: 100%;
margin: 10px 0;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
}

.modal button {
padding: 10px 20px;
background-color: #007bff;
border: none;
border-radius: 5px;
color: white;
font-weight: bold;
cursor: pointer;
}

.modal .error {
margin-top: 10px;
color: red;
display: none;
}

.modal .close-icon {
position: absolute;
top: 10px;
right: 15px;
font-size: 20px;
cursor: pointer;
color: #888;
}

.modal .close-icon:hover {
color: #000;
}
/*****************************************************************************/
/***********************************HD 1152***********************************/
/*****************************************************************************/

@media only screen and (max-width: 1023px) {

#content {
background-image: url('../images/bg-mobile.png');
border:1px solid #FFF;
}

.aside {
padding-top:15px;
}

.sticky {
  position:relative;
}

#mosaic {
text-align:center;
}

.mosaic_block {
width:100%;
max-width:322px;/*???*/
height:auto;
}

/*for empty blocks in mosaic with justify*/
/*should be under all mosaic styles*/
.empty {
height:0;
border:0;
margin:0;
padding:0;
}

}
