.page-node-type-events,
.page-node-type-discussions,
.quicktab-enabled {
  background-color: #f3f3f3;
}

.page-node-type-discussions .main-container,
.page-node-type-events .main-container,
.quicktab-enabled .main-container {
  padding: 0;
}

.page-node-type-discussions .group-signin,
.page-node-type-events .group-signin,
.quicktab-enabled .group-signin {
  display: none;
}

.page-node-type-discussions .custom-container,
.page-node-type-events .custom-container,
.quicktab-enabled .custom-container {
  display: flex;
  max-width: 1170px;
  padding: 140px 15px 80px;
  margin: 0 auto;
}

.page-node-type-discussions .region-content,
.page-node-type-events .region-content,
.quicktab-enabled .region-content {
  max-width: none;
  padding-top: 0;
  margin: 0;
}

.page-node-type-discussions .cop-header-title,
.page-node-type-events .cop-header-title,
.quicktab-enabled .page-header {
  padding-top: 0px;
  margin-bottom: 0;
  font-size: 32px;
  line-height: 38px;
}

.custom-container .col-sm-3 {
  padding: 0;
  width: 220px;
}

.custom-container .col-sm-6 {
  padding: 17px 25px 25px;
  background: #fff;
  margin: 0 25px;
  width: calc(100% - 490px);
}

.group-wrapper.container {
  width: 100%;
  padding: 0;
}

/* Sidebar Left */
.left-sidebar .block {
  padding: 14px 20px 0;
  background-color: #fff;
  margin-bottom: 25px;
}

.left-sidebar .block:last-child {
  margin-bottom: 0px;
}

.left-sidebar .cop-user-block {
  padding: 0;
  color: #000;
  font-size: 14px;
}

.user-info-wrap {
  text-align: center;
  padding: 0 0 17px;
}

.user-info-wrap > div {
  padding: 0 20px;
}

.user-info-wrap .user-img {
  background: #00417b;
  padding: 5px;
  text-align: center;
}

.user-img img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
}

.user-display-name {
  font-size: 18px;
  margin-top: 24px;
}

.user-organisation {
  margin-top: 3px;
}

.user-designation {
  margin-top: 10px;
}

.profile-logout {
  display: flex;
  justify-content: center;
  color: var(--red);
  font-size: 12px;
  margin-top: 50px;
}

.profile-logout a {
  color: var(--red);
}

/* communities */
.my-community-header {
  font-size: 18px;
  color: #00417b;
  text-align: center;
  margin-bottom: 18px;
}

.communities-wrapper {
  padding: 0 0 25px;
}

.communities-title a {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #4d4d4d;
  display: block;
  margin-top: 9px;
}

.communities-title a:hover {
  color: var(--red);
}

/* Sidebar right */
.region-sidebar-second {
  min-height: 0;
  padding: 0 20px;
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: #fff;
}

.region-sidebar-second .block {
  padding: 19px 0;
  border-top: 1px solid #cccccc;
}

.region-sidebar-second .block:first-child {
  border-top: 0px solid #cccccc;
}

.region-sidebar-second a {
  color: #00417b;
  font-size: 18px;
}

/* tabs */
.tabsbar ul.quicktabs-tabs {
  border-bottom: 0px solid #cccccc;
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin-top: 40px;
  margin-bottom: 0;
  padding: 0;
  padding-bottom: 20px;
  position: relative;
}

.tabsbar ul.quicktabs-tabs:before {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ccc;
}

ul.quicktabs-tabs li {
  display: block;
  background: none;
  list-style-type: none;
  padding: 0 15px;
  margin: 0;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid #cccccc;
}

.tabsbar ul.quicktabs-tabs li {
  margin-bottom: 0px;
}

.tabsbar .quicktabs-tabs > li > a {
  border: 0px solid transparent;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  display: block;
  padding: 0;
  color: #73b0e5;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  font-size: 18px;
  line-height: 1.3;
  padding: 0 0 3px;
  margin-bottom: -1px;
}

.tabsbar .quicktabs-tabs > li.home > a {
  font-size: 0;
  width: 24px;
  height: 29px;
  background: url(img/home.png) no-repeat center 3px transparent;
}

.tabsbar .quicktabs-tabs > li.home > a:hover,
.tabsbar .quicktabs-tabs > li.home.active > a:hover,
.tabsbar .quicktabs-tabs > li.home.active > a {
  background: url(img/home_active.png) no-repeat center 3px transparent;
}

.tabsbar .quicktabs-tabs > li > a:hover {
  color: #00417b;
}

.tabsbar .quicktabs-tabs > li.active > a,
.tabsbar .quicktabs-tabs > li.active > a:hover,
.tabsbar .quicktabs-tabs > li.active > a:focus {
  color: #00417b;
  background-color: transparent;
  border-color: #00417b;
  text-decoration: none;
  font-weight: 500;
}

.tabsbar .quicktabs-main {
  padding: 0;
  /* padding-top: 26px; */
}

.tabsbar.quicktabs-wrapper {
  padding-bottom: 0;
}

/* about */
.landing-page-image img {
  margin-bottom: 25px;
}

.view-cop-about-members .field--name-label {
  margin-bottom: 25px;
}

/* members */
.view-cop-members .view-content {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -35px;
}

.view-cop-members .views-row {
  width: calc(33.33% - 24px);
  border: 1px solid #ccc;
  margin: 0 0 35px;
  padding: 25px;
  display: flex;
  justify-content: center;
}

.view-cop-members .views-row:nth-child(3n + 2) {
  margin: 0 35px 35px;
}

.cop-name {
  max-width: 90px;
  text-align: center;
  font-size: 14px;
  color: #4d6996;
  margin-top: 10px;
  text-transform: uppercase;
}

.cop-name a {
  color: #4d6996;
  font-size: 14px;
}

.cop-name a:hover {
  color: var(--red);
}

.view-cop-members .cop-image img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

/* cop-title-tab */
.cop-title-tab a {
  font-size: 16px;
  color: #4d4d4d;
}

.cop-title-tab a:hover {
  color: var(--red);
}

.cop-comment-count {
  font-size: 14px;
  color: #00417b;
  padding-left: 26px;
  background: url(img/comment.png) no-repeat left center transparent;
  margin-top: 10px;
}

.view-cop-contents .views-row {
  padding: 25px 0;
  border-top: 1px solid #cccccc;
}

.view-cop-contents .views-row:first-child {
  padding: 0 0 25px 0;
  border-top: 0;
}

.view-cop-contents .views-row:last-child {
  padding-bottom: 0;
}

/* events */
.cop-date-wrapper {
  width: 100px;
  height: 75px;
  align-content: center;
  justify-content: center;
  background: #ddd;
  color: #00417b;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 5px 0;
}

.cop-day {
  width: 100%;
  font-size: 32px;
  text-align: center;
  line-height: 32px;
  font-weight: 500;
}

.cop-month-year {
  text-transform: uppercase;
}

.cop-title {
  width: calc(100% - 100px);
  padding-left: 25px;
  margin-top: -4px;
}

.cop-event-wrapper {
  display: flex;
  padding: 5px 0 0;
}

.cop-title a {
  font-size: 16px;
  color: #4d4d4d;
}

.cop-title a:hover {
  color: var(--red);
}

/* Resources */

.cop-resources .views-row {
  padding: 25px 0;
  border-top: 1px solid #cccccc;
}

.cop-resources .views-row:first-child {
  padding: 0 0 25px 0;
  border-top: 0;
}

.cop-resource-file-type {
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  margin: 0 0 16px;
  text-transform: uppercase;
}

.cop-resource-inner-wrapper {
  display: flex;
}

.cop-title-download-wrapper {
  width: calc(100% - 125px);
}

.cop-resource-image-publication {
  width: 100px;
  margin-right: 25px;
}

.cop-resource-image-doc,
.cop-resource-image-pdf,
.cop-resource-image-excel,
.cop-resource-image-txt {
  width: 100px;
  height: 75px;
  margin-right: 25px;
}

.cop-resource-image-doc {
  background: url(img/doc.png) no-repeat center center #dddddd;
}

.cop-resource-image-pdf {
  background: url(img/pdf.png) no-repeat center center #dddddd;
}

.cop-resource-image-excel {
  background: url(img/xcel.png) no-repeat center center #dddddd;
}

.cop-resource-image-txt {
  background: url(img/text.png) no-repeat center center #dddddd;
}

.cop-resource-title {
  margin-top: -4px;
}

.cop-resource-title,
.cop-resource-title a {
  font-size: 16px;
  color: #4d4d4d;
}

.cop-resource-download .file {
  display: block;
  margin: 18px 0 0;
  width: auto;
}

.cop-resource-download .file-size,
.cop-resource-download .file-icon {
  display: none;
}

.cop-resource-download .file-link {
  background: transparent;
  font-size: 0;
  border-bottom: 0;
  border-top: 0;
}

.cop-resource-download .file-link a {
  background: url(img/download.png) no-repeat 0 0 transparent;
  font-size: 0;
  width: 26px;
  height: 26px;
  border-bottom: 0;
  border-top: 0;
  display: block;
}

.cop-resource-download .file-link a:hover {
  background: url(img/download_hover.png) no-repeat 0 0 transparent;
}

/* tooltip */
.tooltip.bottom .tooltip-arrow {
  border-bottom-color: #14447a;
}

.tooltip-inner {
  background-color: #14447a;
}

/* event detail */
.cop-event-date-wrapper {
  display: flex;
  font-size: 16px;
  color: #a86b08;
  margin-bottom: 3px;
}

.cop-event-date-wrapper .cop-event-date,
.cop-event-location-wrapper > div:last-child {
  margin-left: 5px;
}

.cop-event-title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #4d4d4d;
  margin-bottom: 18px;
  margin-top: 8px;
}

.cop-event-date-title {
  font-weight: 500;
}

.cop-event-location-wrapper {
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  margin-bottom: 23px;
}

.cop-event-location-wrapper div:first-child {
  font-weight: 500;
}

.cop-event-image {
  margin-bottom: 25px;
}

.cop-event-body ul {
  padding-top: 5px;
  padding-bottom: 5px;
}

.cop-event-body {
  color: #666;
}

/* home tab */
.views-element-container > .view-group-landing-page > .view-content > .views-row {
  padding: 25px 0;
  border-top: 1px solid #cccccc;
}

.views-element-container > .view-group-landing-page > .view-content > .views-row:first-child {
  /* padding: 0 0 25px;
  border-top: 0px solid #cccccc; */
  padding: 30px 0 25px;
  border-top: 1px solid #cccccc;
  margin-top: 30px;
}

.views-element-container > .view-group-landing-page > .view-content > .views-row:last-child {
  padding-bottom: 30px;
  border-bottom: 1px solid #cccccc;
}

.view-group-landing-page .cop-resources .views-row {
  padding: 0;
  border-top: 0px solid #cccccc;
}

.view-group-landing-page .view-cop-members .views-row {
  padding: 25px;
  border: 1px solid #dddddd;
}

.members-header-txt,
.cop-content-type {
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  margin: 0 0 16px;
  width: 100%;
  text-transform: uppercase;
}

.view-group-landing-page .cop-event-wrapper {
  flex-wrap: wrap;
}

.view-cop-members.view-group-landing-page .view-header {
  padding: 25px 0 0;
  /* margin: 25px 0 0;
  border-top: 1px solid #ccc; */
}

/* discussions detail */
.ast-discussion-page.container {
  width: 100%;
  padding: 0;
}

/*upload */
.comment-form .field--name-field-upload-file label {
  display: none;
}

.comment-form .field--name-field-upload-file .help-block {
  display: none;
}

.comment-form .field--name-field-upload-file .form-control::-webkit-file-upload-button {
  visibility: hidden;
}

.comment-form .field--name-field-upload-file .file {
  margin-bottom: 20px;
}

.comment-form .field--name-field-upload-file .form-control {
  font-size: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
  appearance: none;
  border: none;
  width: 110px;
  outline: none;
}

.comment-form .field--name-field-upload-file .form-control:before {
  content: "UPLOAD";
  border: 1px solid var(--red);
  font-size: 12px;
  color: var(--red);
  border-radius: 30px;
  background: url(img/icon-upload.png) no-repeat center left 20px;
  padding: 3px 20px 3px 40px;
  position: relative;
  top: 8px;
}
.comment-form .field--name-field-upload-file .form-control:hover:before {
  background: url(img/icon-upload-hover.png) no-repeat center left 20px;
  color: #ffffff;
  background-color: var(--red);
}

.comment-form .button {
  border: 1px solid var(--red);
  font-size: 12px;
  color: var(--red);
  border-radius: 30px;
  background: transparent;
  text-transform: uppercase;
  padding: 3px 20px;
  line-height: 17px;
  margin: 0;
  outline: none !important;
}
.comment-form .button:hover,
.comment-form .button:focus,
.comment-form .button:active {
  color: #ffffff;
  background: var(--red);
  border: none !important;
}

.comment-form .button span {
  display: none;
}

.comment-form {
  position: relative;
}

.comment-form div[data-drupal-selector="edit-actions"] {
  position: absolute;
  right: 0;
  bottom: 5px;
}

/*hide tab*/
.role-authenticated.path-group:not(.toolbar-fixed) .visually-hidden + .tabs--primary {
  display: none;
}

.more-link.back-btn-style-2 a {
  border: none !important;
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
  padding: 2px 0 !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  position: relative;
}
.more-link.back-btn-style-2 a:hover::after,
.more-link.back-btn-style-2 a:focus:after,
.more-link.back-btn-style-2 a:active:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--red);
  width: 100%;
  height: 1px;
}

.more-link.back-btn-style-2 a:before {
  content: url(../../../images/blogs/back.png) !important;
}

/* .back-btn-style-2 a:before {
  content: url(img/back.png);
} */

.path-cop .right-sidebar .region-sidebar-second {
  padding: 0 20px;
  background-color: #fff;
}
.page-node-type-discussions .messages__wrapper .alert,
.page-node-type-events .messages__wrapper .alert,
.quicktab-enabled .messages__wrapper .alert {
  margin-top: unset !important;
  margin-bottom: 20px !important;
}
