h1 {
	font-size: 28px;
	padding: 40px;
	font-family: 'Roboto', sans-serif
}

h2 {
	font-size: 24px;
	font-weight: 200;
	padding: 20px;
	font-family: 'Roboto', sans-serif
}

span {
	font-family: 'Roboto', sans-serif
}

p {
	font-family: 'Roboto', sans-serif;
	text-align: justify;
}

ul {
	margin: 0;
	list-style: none;
	padding: 0;
}

li {
	margin: 0;
	text-align: center;
	padding: 0 0 10px 0;
	font-family: 'Roboto', sans-serif
}

a {
	font-family: 'Roboto', sans-serif;
}

a:hover {
	cursor: pointer;
}

i {
	margin: 10px;
}

h2 {
	padding: 0;
	font-size: 20px;
}

textarea {
	width: 100%;
}

.flex_row {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.break {
	width: 100%;
	height: 50px;
}

.new {
	width: 21%;
	margin: 0 2%;
	height: calc(185px + .5rem + 3.6em);
	border-radius: 4px 4px 0 0;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.new img {
	object-fit: cover;
	width: 100%;
	height: 150px;
	border-radius: 4px 4px 0 0;
}

.new .text {
	background-color: white;
	color: black;
	padding: 5px 10px;
	border-radius: 0 0 4px 4px;
	position: relative;
}

/* styles for '...' */ 
.new .text p {
  /* hide text if it more than N lines  */
  overflow: hidden;
  /* for set '...' in absolute position */
  position: relative; 
  /* use this value to count block height */
  line-height: 1.2em;
  /* max-height = line-height (1.2) * lines max number (3) */
  max-height: 3.6em !important; 
  /* fix problem when last visible word doesn't adjoin right side  */
  text-align: justify;  
  /* place for '...' */
  margin-right: -1em;
  margin-bottom: 0;
  padding-right: 1em;
}

/* create the ... */
.new .text p:before {
  /* points in the end */
  content: '...';
  /* absolute position */
  position: absolute;
  background-color: white;
  /* set position to right bottom corner of block */
  right: 1em;
  bottom: 0;
}
/* hide ... if we have text, which is less than or equal to max lines */
.new .text p:after {
  /* points in the end */
  content: '';
  /* absolute position */
  position: absolute;
  /* set position to right bottom corner of text */
  right: 1em;
  /* set width and height */
  width: 1em;
  height: 1em;
  margin-top: 0.2em;
  /* bg color = bg color under block */
  background: white;
}


.item h2 {
	font-size: 20px;
	color: white;
	padding: 0;
}

.item a {
	font-size: 16px:
	font-weight: 300;
	color: #a2a2a2;
}

.item a:hover {
	color: #cacaca;
	cursor: pointer;
	text-decoration: none;
}

.gray_background {
	background-color: #4f4f4f;
	height: auto;
	padding: 20px;
}

.light_gray_background {
	background-color: #fafafa;
	padding: 10px;
}

.contact-contacts {
	margin: 0 10%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-around;
	height: 100%;
}

.consult {
	height: 100%;
}

.consult h2 {
	padding: 22px 0;
	font-size: 22px;
	color: white;
}

.new_tab img {
	margin-top: 130px;
	width: 100%;
	height: 500px;
	object-fit: cover;
}

.new_tab h1 {
	text-align: left;
	margin: 0;
	padding: 15px 0;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.login {
	display: flex; 
	height: 100vh;
	justify-content: center;
	align-items: center;
}

.login .content {
	width: 25%;
}

.administrator {
	display: none;
}

.modal {
	z-index: 99999999;
}

.modal-backdrop
{
    opacity:0.5 !important;
}

.modal-body {
	overflow: auto;
	height: 600px;
}

.tox.tox-tinymce {
	width: 100%;
	height: 300px;
}

.tox.tox-silver-sink.tox-tinymce-aux {
	display: none !important;
}

.tox-statusbar__text-container {
	display: none !important;
}

.tox-menubar {
	display: none !important;
}

.tox-toolbar {
	display: none !important;
}

.tox-statusbar {
	display: none !important;
}

label {
	width: 100%;
}

.hide {
	width: 0px;
	height: 0px;
	padding: 0px;
	margin: 0px;
	border: none;
}

img#placeholder {
	width: 50%;
}

img#placeholder:hover {
	cursor: pointer;
}