/* Pages */
.rswnews-grid-wrapper,
.rswnews-wrapper-view {
	position:relative;
	margin:0 auto;
	width:100%;
}

.rswnews-wrapper-view {
	width:100%;
}

.rswnews-wrapper-view .cover {
	width:100%;
	height:250px;
	display:block;
	background-color:#fff;
	background-size:cover !important;
	background-position:center center !important;
}

.rswnews-wrapper-view .content {
	width:100%;
	background:#fff;
	padding:40px 40px;
	color: #000
}

.rswnews-wrapper-view .content .info {
	position:relative;
	width:100%;
	margin-bottom:40px;
}

.rswnews-wrapper-view .content .info .author,
.rswnews-wrapper-view .content .info .date,
.rswnews-wrapper-view .content .info .view {
	float:left;
	margin:0 20px;
}

.rswnews-wrapper-view .content .info .facebook {
	float:right;
}

.rswnews-wrapper-view .content .info .author {
	margin-left:0;
}

.rswnews-wrapper-view .content .info .author,
.rswnews-wrapper-view .content .info .date {
	height:30px;
}

.rswnews-wrapper-view .content .info label {
	display:block;
	font-size:12px;
	font-family:'Univers';
	text-transform:uppercase;
	margin:0;
	font-weight:bold;
	letter-spacing:1px;
}

.rswnews-wrapper-view .content .info span {
	font-size:15px;
}

.rswnews-wrapper-view .content .info .view {
	line-height:30px;
}

.rswnews-wrapper-view .content .info .view .icon {
	float:left;
	margin-top:2px;
}

.rswnews-wrapper-view .content .info .view .count {
	float:right;
	margin-left:5px;
}

.rswnews-grid-wrapper .items {
	position:relative;
}

.rswnews-wrapper-view .content::after,
.rswnews-wrapper-view .content .info::after,
.rswnews-grid-wrapper .content::after,
.rswnews-grid-wrapper .items .item a::after,
.rswnews-grid-wrapper .items::after,
.rswnews-grid-wrapper .search::after {
	content:'';
	display:block;
	clear:both;
}

.rswnews-grid-wrapper .items .item {
	margin:20px 0;
	width:475px;
	display:block;
}

.rswnews-grid-wrapper .items .item:nth-child(odd) {
	float:left;
}

.rswnews-grid-wrapper .items .item:nth-child(even) {
	float:right;
}

.rswnews-grid-wrapper .items .item .box {
	display:block;
	border:1px solid #fff;
}

.rswnews-grid-wrapper .items .item .cover {
	margin:0;
	display:block;
	width:100%;
	height:197px;
	background-position:center center !important;
	background-size:cover !important;
}

.rswnews-grid-wrapper .items .item .content {
	margin:0;
	padding:10px 10px;
	height:180px;
	background:#faf7f7;
}

.rswnews-grid-wrapper .items .item .content .title {
	text-align:center;
}

.rswnews-grid-wrapper .items .item .content .title h2 {
	margin:0;
}

.rswnews-grid-wrapper .items .item .content .description {
	height:90px;
	color:#444444;
}

.rswnews-grid-wrapper .items .item .content .more {
	position:relative;
}

.rswnews-grid-wrapper .items .item .content .more::after {
	content:'';
	display:block;
	clear:both;
}

.rswnews-grid-wrapper .items .item .content .more .date {
	float:left;
	padding:5px;
	font-family:'Roboto';
	font-size:14px;
}

.rswnews-grid-wrapper .items .item .content .more .tag {
	right:0;
	position:absolute;
	padding:5px 10px;
	width:auto;
	color:#444444;
	font-size:12px;
	font-family:'Univers';
	text-transform:uppercase;
	font-weight:normal;
	border-radius:4px;
}

.rswnews-grid-wrapper .items .item .content .more .tag.news {
	color:#fff;
	background:#017BFF;
}

.rswnews-grid-wrapper .items .item .content .more .tag.events {
	color:#fff;
	background:#FFC106;
}

.rswnews-grid-wrapper .items .item .content .more .tag.updates {
	color:#fff;
	background:#28A745;
}

.rswnews-grid-wrapper .items .item .content .more .tag.maint {
	color:#fff;
	background:#ff0000;
}

.rswnews-grid-wrapper .items .item .moderator {
	margin-top:0px;
	text-align:right;
	display:block;
}

.rswnews-grid-wrapper .items .item .moderator a {
	display:inline-block;
	margin-left:10px;
}

.rswnews-grid-wrapper .search {
	margin-bottom:10px;
}

.rswnews-grid-wrapper .search .group {
	float:left;
	margin:0 5px;
}

.rswnews-grid-wrapper .search .group:first-child {
	margin-left:0;
}

.rswnews-grid-wrapper .search .group:last-child {
	margin-right:0;
}

.rswnews-grid-wrapper .search .group label {
	display:block;
	margin-bottom:5px;
	font-weight:bold;
}

.rswnews-grid-wrapper .search button[type='submit'] {
	margin-top:28px;
}

/* Input */
button.input-class::-moz-focus-inner,
input.input-class::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input.input-class {
  line-height: inherit;
}

.input-class {
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}

input.input-class {
	height:34px;
	padding: 6px 12px;
}

.input-class:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.input-class::-moz-placeholder {
  color: #999;
  opacity: 1;
}

.input-class:-ms-input-placeholder {
  color: #999;
}

.input-class::-webkit-input-placeholder {
  color: #999;
}

.button-class {
	margin-top:18px;
	padding:8px 10px;
	border:1px solid #000;
}

.button-class {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.button-class:focus,
.button-class:active:focus,
.button-class.active:focus,
.button-class.focus,
.button-class:active.focus,
.button-class.active.focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.button-class:hover,
.button-class:focus,
.button-class.focus {
  color: #333;
  text-decoration: none;
}
.button-class:active,
.button-class.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.button-class.disabled,
.button-class[disabled],
fieldset[disabled] .button-class {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  opacity: 0.65;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.button-class-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.button-class-default:focus,
.button-class-default.focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}
.button-class-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.button-class-default:active,
.button-class-default.active,
.open > .dropdown-toggle.button-class-default {
  color: #333;
  background-color: #e6e6e6;
  background-image: none;
  border-color: #adadad;
}
.button-class-default:active:hover,
.button-class-default.active:hover,
.open > .dropdown-toggle.button-class-default:hover,
.button-class-default:active:focus,
.button-class-default.active:focus,
.open > .dropdown-toggle.button-class-default:focus,
.button-class-default:active.focus,
.button-class-default.active.focus,
.open > .dropdown-toggle.button-class-default.focus {
  color: #333;
  background-color: #d4d4d4;
  border-color: #8c8c8c;
}
.button-class-default.disabled:hover,
.button-class-default[disabled]:hover,
fieldset[disabled] .button-class-default:hover,
.button-class-default.disabled:focus,
.button-class-default[disabled]:focus,
fieldset[disabled] .button-class-default:focus,
.button-class-default.disabled.focus,
.button-class-default[disabled].focus,
fieldset[disabled] .button-class-default.focus {
  background-color: #fff;
  border-color: #ccc;
}

.button-class-primary {
  color: #fff;
  background-color: #2c6ffe;
  border-color: #2c6ffe;
}
.button-class-primary:focus,
.button-class-primary.focus {
  color: #fff;
  background-color: #245fd8;
  border-color: #2158cb;
}
.button-class-primary:hover {
  color: #fff;
  background-color: #245fd8;
  border-color: #2158cb;
}
.button-class-primary:active,
.button-class-primary.active,
.open > .dropdown-toggle.button-class-primary {
  color: #fff;
  background-color: #245fd8;
  background-image: none;
  border-color: #2158cb;
}
.button-class-primary:active:hover,
.button-class-primary.active:hover,
.open > .dropdown-toggle.button-class-primary:hover,
.button-class-primary:active:focus,
.button-class-primary.active:focus,
.open > .dropdown-toggle.button-class-primary:focus,
.button-class-primary:active.focus,
.button-class-primary.active.focus,
.open > .dropdown-toggle.button-class-primary.focus {
  color: #fff;
  background-color: #2158cb;
  border-color: #2158cb;
}
.button-class-primary.disabled:hover,
.button-class-primary[disabled]:hover,
fieldset[disabled] .button-class-primary:hover,
.button-class-primary.disabled:focus,
.button-class-primary[disabled]:focus,
fieldset[disabled] .button-class-primary:focus,
.button-class-primary.disabled.focus,
.button-class-primary[disabled].focus,
fieldset[disabled] .button-class-primary.focus {
  background-color: #2c6ffe;
  border-color: #2c6ffe;
}
.button-class-primary .badge {
  color: #2c6ffe;
  background-color: #fff;
}

.button-class-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.button-class-danger:focus,
.button-class-danger.focus {
  color: #fff;
  background-color: #c9302c;
  border-color: #761c19;
}
.button-class-danger:hover {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}
.button-class-danger:active,
.button-class-danger.active,
.open > .dropdown-toggle.button-class-danger {
  color: #fff;
  background-color: #c9302c;
  background-image: none;
  border-color: #ac2925;
}
.button-class-danger:active:hover,
.button-class-danger.active:hover,
.open > .dropdown-toggle.button-class-danger:hover,
.button-class-danger:active:focus,
.button-class-danger.active:focus,
.open > .dropdown-toggle.button-class-danger:focus,
.button-class-danger:active.focus,
.button-class-danger.active.focus,
.open > .dropdown-toggle.button-class-danger.focus {
  color: #fff;
  background-color: #ac2925;
  border-color: #761c19;
}
.button-class-danger.disabled:hover,
.button-class-danger[disabled]:hover,
fieldset[disabled] .button-class-danger:hover,
.button-class-danger.disabled:focus,
.button-class-danger[disabled]:focus,
fieldset[disabled] .button-class-danger:focus,
.button-class-danger.disabled.focus,
.button-class-danger[disabled].focus,
fieldset[disabled] .button-class-danger.focus {
  background-color: #d9534f;
  border-color: #d43f3a;
}
.button-class-danger .badge {
  color: #d9534f;
  background-color: #fff;
}

/* Paginator */
.paginator {
	margin-top:20px;
	width:100%;
	text-align:center;
}

.paginator a,
.paginator span {
	display:inline-block;
	min-width:30px;
	line-height:30px;
	text-align:center;
	background:#fff;
	color:#017BFF;
	border:1px solid #dee2e6;
}

.paginator a:first-child,
.paginator span:first-child {
	border-left:1px solid #dee2e6;
	border-top-left-radius:4px;
	border-bottom-left-radius:4px;
}

.paginator a:last-child,
.paginator span:last-child {
	border-top-right-radius:4px;
	border-bottom-right-radius:4px;
}

.paginator a:hover,
.paginator span:hover {
	background:#e9ecef;
	color:#1c4eb3;
}

.paginator a.current-page {
	background:#017BFF;
	color:#fff;
	border:1px solid #2c6ffe;
}

/* Grid */
.grid-container {
	display: grid;
	grid-template-columns: auto auto auto auto;
	padding: 0;
}

.grid-item {
	position:relative;
	margin:10px 0;
}

/* Form */
.rsm-form {
	position:relative;
	width:100%;
	display:block;
}

.rsm-form .group {
	margin:10px 0 20px 0;
}

.rsm-form label {
	display:block;
}

.rsm-form .input-class {
	width:97.5%;
}

.rsm-form input.input-class {
	width:91.5%;
}

.rsm-form textarea.input-class {
	width:98%;
	height:100px;
}

.rsm-form span.text-danger {
	display:block;
	margin-top:5px;
}

/* Layout */
.w-100 {
	width:100%;
}

.h-400 {
	height:400px !important;
}

.mt-0 {
	margin-top:0 !important;
}

.mb-0 {
	margin-bottom:0 !important;
}

.text-center {
	text-align:center;
}

.text-danger {
	color:#ff0000 !important;
}

/* Responsive */
@media (max-width:1440px) {
	.rsm-form .input-class {
		width:95.5%;
	}

	.rsm-form input.input-class {
		width:87.5%;
	}
}

@media (max-width:1024px) {
	.grid-container {
		display: grid;
		grid-template-columns: auto auto;
		padding: 0;
	}

	.grid-item {
		position:relative;
		margin:10px 0;
	}
	
	.rswnews-grid-wrapper .items .item {
		margin:20px 0;
		width:100%;
		height:525px;
	}

	.rswnews-grid-wrapper .items .item:nth-child(odd) {
		float:initial;
	}

	.rswnews-grid-wrapper .items .item:nth-child(even) {
		float:initial;
	}
	
	.rswnews-grid-wrapper .items .item .cover {
		height:370px;
	}
	
	.rswnews-grid-wrapper .items .item .box {
		height:525px;
	}
}

@media (max-width:640px) {
	.grid-container {
		display: block;
		grid-template-columns: none;
		padding: 0;
	}
	
	.rsm-form .group {
		width:100%;
	}
	
	.rsm-form textarea.input-class {
		width:87.5%;
	}
	
	#content {
		position:relative;
	}
}