/* css-стили для новостной ленты с сайта Lenta.ru */

body {
    background: #2d2d2d;
	padding: 0px;
	margin: 0px;
}

.main_container {
    max-width: 60%;
    margin-left: 20%;
    margin-top: 100px;
}

/* Таблица (начало) */

.table_price {
    border-collapse: collapse;
    font-family: "Helvetica", sans-serif;
    line-height: 28px;
}

.table_price caption {
  background: #F79361; 
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px  4px 0 rgba(0,0,0,.3);
  color: white;
  font-family: "Roboto Slab",serif;
  font-style: normal;
  font-size: 26px;
  text-align: center;
  margin: 0;
}

.table_price td, .table_price th {
    padding: 10px;
}

.table_price td {
    padding: 10px;
    vertical-align: top;
}
.table_price td[data-bind="text: date"] {
    color: black;
    font-weight: 600;
    font-size: 12px;
	width: 150px;
}
.table_price td[data-bind="text: title"] {
    color: black;
    font-weight: 600;
    font-size: 14px;
}
.table_price th {
    text-align: left;
    font-size: 18px;
    background: #5a5a5a;
    color: white;
    font-family: Helvetica;
    font-size: 14px;
    font-weight: 100;
    text-align: center;
}
.table_price tr {
    background: white;
}
.table_price tr:hover {
    background: #cddde4 !important;
}
.table_price tr:nth-child(2n) {
    background: #efefef;
}
.table_price td:nth-child(4) {
    width: 450px;
    font-size: 14px;
}
.table_price td:last-of-type {
  text-align: center;
}
.table_price a:hover {
  box-shadow: none;
  top: 2px;
  left: 2px;
}
.table_price img {
    width: 150px;
}

/* Таблица (конец) */

/* Кнопка (начало) */

a.button {
    background: #6c866c;
    border-radius: 30px;
    padding: 6px 10px;
    display: block;
    font-size: 14px;
    font-family: Helvetica, sans-serif;
    color: #ffffff;
    text-decoration: none;
    /* border: 1px solid #ffffff; */
    width: 145px;
    margin: left;
    /* margin-top: 100px; */
    text-align: center;
    margin-bottom: 10px;
}
a.button:hover {
    background: #597959;
	cursor: pointer;
}
a.button:active {
    background: #4e7d4e;
}

/* Кнопка (конец) */

/* Кнопка "Обновить" (начало) */

a.update {
    background: #65b968;
    border-radius: 5px;
    padding: 10px 20px;
    display: block;
    font-family: Helvetica, sans-serif;
    color: #000000;
    text-decoration: none;
    /* border: 1px solid #ffffff; */
    width: 145px;
    margin: left;
    margin-top: 100px;
    text-align: center;
    margin-bottom: 10px;
}

a.update:hover {
	background: #438c46;
	cursor: pointer;
}

/* Кнопка "Обновить" (конец) */



/***************************/

/* МОДАЛЬНОЕ ОКНО (НАЧАЛО) */

/***************************/

/* Стили для неактивного модального окна */
.modal {
    background: #fff;
    left: 50%;
    margin: -250px 0 0 -40%;
    position: absolute;
    top: -50%;
    width: 80%;
    border-radius: 5px;
    box-shadow: 0 3px 7px rgba(0,0,0,.25);
    -moz-box-shadow: 0 3px 7px rgba(0,0,0,.25);
    -webkit-box-shadow: 0 3px 7px rgba(0,0,0,.25);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* Активация модального окна в состоянии :target */
.modal:target {
    top: 50%;
    transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

.modal h2 {
    margin: 0;
}
 
.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
/* активируем модальное окно */
 
.dm-overlay:target {
    display: block;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* блочная таблица */
 
.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}
 
.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
 
.dm-modal {
    display: inline-block;
    padding: 20px;
    max-width: 600px;
    background: #ffffff;
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    color: #cfd8dc;
    text-align: left;
}
 
.dm-modal img {
    width: 100%;
    height: auto;
}
 
.close {
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
    color: #cfd8dc;
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.close:after {
    display: block;
    border: 2px solid #cfd8dc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'X';
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: scale(0.85);
    -moz-transform: scale(0.85);
    -ms-transform: scale(0.85);
    transform: scale(0.85);
}
/* кнопка закрытия при наведении */
 
.close:hover:after {
    border-color: #65b968;
    color: #65b968;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

/* МОДАЛЬНОЕ ОКНО (КОНЕЦ) */


/***************************/

/* БЛОК ЗАГРУЗКИ (НАЧАЛО) */

/***************************/
 


h3[data-bind="text: title"] {
    font-family: Helvetica, sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #272727;
}

div[class="full_text"] {
    font-family: Helvetica, sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #272727;
}

.sort_image {
	width: 10px !important;
}

.main_container .button {
	display: block;
	margin: 0 auto;
	margin-top: 15px;
	margin-bottom: 50px;
}

#loading-block {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(49, 58, 46, 1);
}

.lenta_website {
	font-size: 20px;
	font-family: Helvetica;
}

.transition-loader-inner {
  transform: translateY(-50%);
  top: 50%;
  position: absolute;
  width: calc(100% - 200px);
  color: #FFF;
  padding: 0 100px;
  text-align: center;
}
.transition-loader-inner label {
  font-size: 1em;
  padding: 1%;
  opacity: 0;
  display: inline-block;
}
.transition-loader-inner label:after {
  font-family: FontAwesome;
  content: '\f111';
}

.transition-loader-inner label:nth-child(1) {
  -webkit-animation: loader 3s 600ms infinite ease-in-out;
  animation: loader 3s 600ms infinite ease-in-out;
}

.transition-loader-inner label:nth-child(2) {
  -webkit-animation: loader 3s 500ms infinite ease-in-out;
  animation: loader 3s 500ms infinite ease-in-out;
}

.transition-loader-inner label:nth-child(3) {
  -webkit-animation: loader 3s 400ms infinite ease-in-out;
  animation: loader 3s 400ms infinite ease-in-out;
}

.transition-loader-inner label:nth-child(4) {
  -webkit-animation: loader 3s 300ms infinite ease-in-out;
  animation: loader 3s 300ms infinite ease-in-out;
}

.transition-loader-inner label:nth-child(5) {
  -webkit-animation: loader 3s 200ms infinite ease-in-out;
  animation: loader 3s 200ms infinite ease-in-out;
}

.transition-loader-inner label:nth-child(6) {
  -webkit-animation: loader 3s 100ms infinite ease-in-out;
  animation: loader 3s 100ms infinite ease-in-out;
}

@keyframes loader {
  0% {
    opacity: 0;
    transform: translateX(-300px) scale(1);
  }
  33% {
    opacity: 1;
    transform: translateX(0px) scale(2);
  }
  66% {
    opacity: 1;
    transform: translateX(0px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(300px) scale(2);
  }
}
@-webkit-keyframes loader {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-300px);
  }
  33% {
    opacity: 1;
    -webkit-transform: translateX(0px);
  }
  66% {
    opacity: 1;
    -webkit-transform: translateX(0px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(300px);
  }
}

#loading-indicator {
	display: block;
	width: 100px;
	height: 100px;
	position: relative;
	top: 50%;
	margin: 0 auto;
	margin-top: -25px;
}

.modal_date, .new_date {
	font-size: 14px;
	font-family: Helvetica, sans-serif;
	color: black;
}

/* БЛОК ЗАГРУЗКИ (КОНЕЦ) */



/***************************/

/* МЕДИА-ЗАПРОСЫ - АДАПТИВНЫЙ ДИЗАЙН (НАЧАЛО) */

/***************************/

@media screen and (max-width: 1200px) {
	.main_container {
		max-width: 100%;
		margin-left: 0%;
		margin-top: 100px;
	}
}

@media screen and (max-width: 768px) {

	.main_container {
		max-width: 100%;
		margin-left: 0%;
		margin-top: 100px;
	}
	
	.table_price td {
		width: auto !important;
	}
	
	.table_price th {
		display: block;
	}
	
	.table_price th:nth-child(2), .table_price th:nth-child(4), .table_price th:nth-child(5) {
		display: none;
	}

    .table_price tr td, table_price th  {
	  display:block;
	}
}

/* МЕДИА-ЗАПРОСЫ - АДАПТИВНЫЙ ДИЗАЙН (КОНЕЦ) */