/*
	Theme Name: Hospice
	Theme URI: http://hospice.ro
	Description: Custom Template built for Hospice.
	Version: 1.0
	Author: Octavian Iosif (office@nonsintetic.com)
	Author URI: http://www.nonsintetic.ro/
	Tags: HTML5, CSS3

	License: All Rights Reserved
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::-moz-selection {
  background: #494e56;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #494e56;
  color: #fff;
  text-shadow: none;
}
/* html element 62.5% font-size for REM use */
html {
  font-size: 62.5%;
}

body {
  font-family: "Jost", sans-serif;
  font-size: 17px;
  line-height: 23px;
  font-weight: 400;
  color: #494e56;
  margin: 0;
}

/* clear */

img {
  max-width: 100%;
  vertical-align: bottom;
}

a {
  color: #444;
  text-decoration: none;
}

a:hover {
  color: #444;
}

a:focus {
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
  border: 1px solid #444;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}
input,
select {
  display: block;
  width: 100%;
  height: 34px;
}
input,
textarea,
select {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  padding: 12px;
  line-height: 1.2;
  color: #000;
  font-size: 16px;
  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 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
input[type="checkbox"],
input[type="radio"] {
  display: inline;
  width: auto;
  vertical-align: middle;
}
textarea {
  width: 100%;
}
input[type="submit"]:hover,
button:hover {
  color: #494e56;
  background-color: #e6e6e6;
  border-color: #adadad;
}
input[disabled] {
  background-color: #f1f1f1;
  color: #494e56;
}
label {
  padding-bottom: 5px;
  display: inline-block;
  font-weight: bold;
  font-size: 16px;
}
form .field,
form .flex .field {
  margin-bottom: 5px;
}

.form-inline {
  display: flex;
  align-items: center;
}
.form-inline input {
  flex-basis: auto;
  flex-shrink: 1;
  flex-grow: 1;
  margin-right: 10px;
  width: 50%;
}
.form-inline * {
  flex-basis: auto;
}

.radio-button-style label {
  display: block;
  border: 1px solid #d1d1d1;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-transform: uppercase;
  margin-bottom: 0;
}
.radio-button-style input {
  opacity: 0;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
  position: relative;
  top: -100px;
}
.radio-button-style input + label {
  background-color: #8dc63f;
  color: #fff;
  border-radius: 5px;
}
.radio-button-style input:checked + label {
  background-color: #9b1b1f;
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}
.radio-button-style input:checked + label:after {
  content: " ";
  background-color: #fff;
  width: 15px;
  height: 15px;
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translate(-50%, 0) rotate(45deg);
}

h1 {
  font-size: 40px;
  line-height: 1.3;
  margin: 0 0 40px 0;
  color: #282828;
  font-weight: 700;
  text-align: center;
}
h2 {
  font-size: 38px;
  line-height: 33px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #282828;
  font-weight: 600;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 22px;
  letter-spacing: -1px;
  line-height: 25px;
  color: #282828;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

table td {
  border-bottom: 1px solid #f1f1f1;
}
table tr:last-child td {
  border-bottom: none;
}

h1 a,
h2 a,
h3 a,
h4 a {
  color: inherit;
  text-decoration: none !important;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
  color: inherit;
  text-decoration: none !important;
}

.white-text,
.white-text a,
.white-text h1,
.white-text h2,
.white-text h3 {
  color: #fff;
}
.white-text blockquote {
  background-color: transparent;
  border-left: 5px solid #fff;
}

/* Flexbox */
.flex {
  display: flex;
}
.flex.center {
  align-items: center;
}
.flex .flex-grow {
  flex-grow: 1;
}
.flex .half {
  flex-basis: 50%;
}

/* LOADING animation */
.ns_loading {
  width: 100%;
  height: 100%;
  min-height: 90px;
  display: table;
  text-align: center;
  padding: 10px;
}
.ns_loading:after {
  content: " ";
  animation: infinite-spinning 2s infinite;
  display: table-cell;
  vertical-align: middle;
  width: 90px;
  height: 90px;
  background-image: url(../images/loader.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
@keyframes infinite-spinning {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.wpb_text_column a {
  text-decoration: underline;
}

/* Generic Button */
.btn,
a.btn,
button.btn,
button.button,
input.button,
input.btn,
input[type="submit"].btn {
  font-size: 16px;
  line-height: 1.1;
  height: auto;
  width: auto;
  background-color: #8dc63f;
  color: #fff;
  padding: 10px 15px;
  display: inline-block;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: all 0.1s linear;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid #8dc63f;
  margin-bottom: 5px;
}
.btn.large,
a.btn.large,
button.btn.large,
button.button.large,
input.button.large,
input.btn.large,
input[type="submit"].btn.large {
  width: 100%;
  display: block;
  padding-top: 20px;
  padding-bottom: 20px;
}

.btn:last-child,
a.btn:last-child,
button.btn:last-child,
button.button:last-child,
input.button:last-child,
input.btn:last-child,
input[type="submit"].btn:last-child {
  margin-bottom: 0;
}

.btn:hover,
a.btn:hover,
button.btn:hover,
input[type="submit"].btn:hover,
input.btn:hover {
  background-color: #8fc940;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.07);
}
.btn.secondary {
  background-color: #e6e7e8;
  border-color: #e6e7e8;
  color: #32373f;
}
.btn.secondary:hover {
  background-color: #9b9b9b;
}
.btn.inline {
  display: inline-block;
  padding: 4px 10px;
}

.btn.outline {
  background: transparent;
  box-shadow: none;
  border: 1px solid #777;
  color: #777;
}
.btn.outline:hover {
  border: 1px solid #8dc63f;
  color: #8dc63f;
  background: transparent;
}

.btn.red,
a.btn.red,
button.btn.red,
input.btn.red,
input[type="submit"].btn.red {
  background-color: #9b1b1f;
  border-color: #9b1b1f;
}
.btn.red:hover,
a.btn.red:hover,
button.btn.red:hover,
input.btn.red:hover,
input[type="submit"].btn.red:hover {
  background-color: #e82f38;
  border-color: #e82f38;
}

.btn.white,
a.btn.white,
button.btn.white,
input.btn.white,
input[type="submit"].btn.white {
  background-color: #fff;
  border-color: #8bc53e;
  color: #8bc53e;
}
.btn.white:hover,
a.btn.white:hover,
button.btn.white:hover,
input.btn.white:hover,
input[type="submit"].btn.white:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.white-text hr {
  border: 1px solid #fff;
}

.elevate-1 {
  background-color: #fff;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);
}
.elevate-2 {
  background-color: #fff;
  box-shadow: 0 8px 19px 0 rgba(0, 0, 0, 0.15);
}
.elevate-3 {
  background-color: #fff;
  box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.15);
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

#ajax-content {
  margin-top: 110px;
}
#content-wrapper {
  position: relative;
  min-height: 65vh;
}
#main-content {
  width: 100%;
}
#main-content.sidebar {
  padding-right: 330px;
}
#content-wrapper > #sidebar {
  position: absolute;
  width: 300px;
  top: 0;
  right: 0;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

h1.page-title {
  text-align: center;
  padding: 80px 0 45px 0;
  margin: 0;
}

/* HEADER --------------------------- */
#header {
  margin-bottom: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  box-shadow: 5px -5px 5px 10px rgba(0, 0, 0, 0.1);
}
.admin-bar #header {
  top: 32px;
}

#pre-header {
  display: flex;
  font-size: 16px;
  padding-bottom: 10px;
  color: #888;
  max-height: 40px;
  overflow: hidden;
  transition: all 0.2s;
}
.scrolled #pre-header {
  max-height: 0;
  padding-bottom: 0;
  opacity: 0;
}
#pre-header a {
  color: #888;
}
#pre-header a:hover {
  color: #8dc63f;
}
#pre-header > div {
  flex-basis: 50%;
  flex-grow: 1;
}
#pre-header > div > div {
  padding: 0 5px;
}
#pre-header .left {
  display: flex;
  align-items: center;
}
#pre-header .right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#pre-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#pre-header .ns-social-widget {
  display: flex;
  align-items: center;
  padding: 0;
}
#pre-header .ns-social-widget > div > div {
  background-color: transparent;
  color: #fff;
}
#pre-header .ns-social-widget > div a {
  width: 20px;
  height: 20px;
  color: #888;
}
#pre-header .ns-social-widget > div a:hover {
  color: #8dc63f;
}

#pre-header .widget_icl_lang_sel_widget {
  text-align: right;
  padding-top: 3px !important;
}
#pre-header #lang_sel_list ul {
  border: none;
  padding: 0;
}
#pre-header #lang_sel_list li {
  display: inline-block;
  float: none;
}
#pre-header #lang_sel_list a:hover {
  background-color: transparent !important;
}
#pre-header #lang_sel_list a {
  padding-right: 10px;
  padding-left: 10px;
  font-size: 13px;
}
#pre-header #lang_sel_list li:first-child {
  border-right: 1px solid #ccc;
}

#header_menu {
  background-color: #fff;
  color: #494e56;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
#header_menu .logo {
  flex-grow: 1;
}
#header_menu .logo img {
  height: 100px;
  width: auto;
  margin: 5px 0;
  transition: all 0.2s;
}
.scrolled #header_menu .logo img {
  height: 70px;
}
#header_menu .header_right {
  text-align: right;
}
#header_menu nav {
  font-size: 17px;
  font-weight: 500;
}
#header_menu nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#header_menu nav > ul > li > a {
  padding: 5px;
  color: #494e56;
  display: block;
}
#header_menu nav > ul > li > a:focus {
  background-color: #8dc63f;
  color: #fff;
}
#header_menu nav > ul > li > a:hover {
  background-color: #fff;
  color: #8dc63f;
}
#header_menu nav ul > li {
  display: inline-block;
  padding: 0;
  position: relative;
  margin: 0 5px;
}
#header_menu nav ul > li.red-background {
  border-radius: 5px;
  overflow: hidden;
}
#header_menu nav ul > li.red-background a {
  background-color: #9b1b1f;
  color: #fff;
  font-weight: bold;
  padding: 8px 15px;
}
#header_menu nav li > ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: #f1f1f1;
  z-index: 2;
  font-size: 16px;
}
#header_menu nav li > ul.sub-menu li {
  display: block;
  text-align: left;
  transition: all 0.2s;
  margin: 0;
}
#header_menu nav li > ul.sub-menu li:hover {
  background-color: #fff;
}
#header_menu nav li > ul.sub-menu li {
  padding: 7px 10px;
}
#header_menu nav li > ul.sub-menu li a {
  display: block;
  font-weight: 300;
}
#header_menu nav li > ul.sub-menu > li > ul.sub-menu {
  left: 100%;
  top: 0;
  background: #fff;
}
#header_menu nav li.left-submenu > ul.sub-menu > li > ul.sub-menu {
  left: -100%;
}
#header_menu nav li > ul.sub-menu > li.menu-item-has-children > a {
  position: relative;
}
#header_menu nav li > ul.sub-menu > li.menu-item-has-children > a:after {
  content: "\f054";
  font-family: "FontAwesome", sans-serif;
  font-size: 12px;
  display: inline-block;
  position: absolute;
  right: -2px;
  top: 1px;
}
#header_menu nav li > ul.sub-menu > li > ul.sub-menu > li:hover {
  background: #f1f1f1;
}
#header_menu nav li:hover > ul.sub-menu {
  display: block;
  width: 200px;
}
#header_menu nav > ul > li:after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 3px;
  width: 0;
  background-color: #8dc63f;
  transition: all 0.1s linear;
}
#header_menu nav > ul > li:hover:after {
  width: 100%;
  left: 0;
}

#year-icon {
  position: fixed;
  right: 10px;
  top: 80px;
  width: 100px;
  height: 100px;
  background-image: url(../img/25year-logo-small.png);
  background-size: cover;
  z-index: 10;
}
#year-icon a {
  display: block;
  width: 100%;
  height: 100%;
}

/* MOBILE MENU */
#mobile-menu {
  display: none;
}
#mobile-menu a {
  color: #fff;
  display: block;
  border-bottom: 1px solid #2d2d2d;
}
#mobile-menu > ul {
  max-height: 0;
  transition: all 0.1s linear;
  overflow-y: auto;
  position: absolute;
  z-index: 100;
  width: 100%;
  top: 50px;
  left: 0;
}
#mobile-menu > ul.open {
  max-height: 500px;
}
#mobile-menu ul {
  background-color: rgba(74, 79, 88, 0.96);
  list-style: none;
  padding: 0;
  margin: 0;
}
#mobile-menu li {
  position: relative;
}
#mobile-menu > ul > li > a {
  font-size: 18px;
  padding: 15px;
  text-transform: uppercase;
  border-bottom: 1px solid #595959;
}
#mobile-menu > ul > li > ul a {
  font-size: 16px;
  text-transform: none;
  padding: 6px 10px;
}
#mobile-menu ul.sub-menu {
  border-bottom: 1px solid #595959;
  display: none;
  border-left: 10px solid #7958a5;
}
#mobile-menu .open-submenu {
  display: none;
}
#mobile-menu li.active {
  background-color: #595959;
}
#mobile-menu .menu-item-has-children > .open-submenu {
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  display: block;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABlBMVEX///////9VfPVsAAAAAXRSTlMAQObYZgAAACFJREFUeAFjoB9gZERQUBYjjESIwPgIEQQfoQtVhIqOBAANdwAaVU/5kQAAAABJRU5ErkJggg==");
  background-repeat: no-repeat;
  background-position: 53%;
  border-left: 1px solid #595959;
}
#mobile-menu > ul > li .menu-item-has-children .open-submenu {
  height: 33px;
}
.hamburger-menu {
  width: 35px;
  height: 30px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
.hamburger-menu span {
  display: block;
  position: absolute;
  height: 6px;
  width: 100%;
  background: #fff;
  border-radius: 0;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}
.hamburger-menu span:nth-child(1) {
  top: 0;
}
.hamburger-menu span:nth-child(2),
.hamburger-menu span:nth-child(3) {
  top: 12px;
}
.hamburger-menu span:nth-child(4) {
  top: 24px;
}
.hamburger-menu.open span:nth-child(1) {
  top: 18px;
  width: 0;
  left: 50%;
}
.hamburger-menu.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.hamburger-menu.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.hamburger-menu.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

/*#header_menu nav ul > li.current-menu-item:after {width: 100%; left: 0;height: 6px;}*/
#page_background_video {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
#page_background_video iframe {
  width: 100%;
  height: 300%;
  border: none;
  position: absolute;
  top: -100%;
  left: 0;
  pointer-events: none;
}

/*------------------------------------*\
    NS-ACCOUNTS plugin
\*------------------------------------*/

.newsbox.register {
  margin-bottom: 40px;
}
.newsbox.register .login form {
  margin-bottom: 10px;
}
.newsbox.register .login p a {
  text-decoration: underline;
}
.newsbox.register p {
  margin-top: 5px;
  margin-bottom: 5px;
}
.newsbox.register small {
  color: red;
}

.ns_accounts_profile {
  margin-bottom: 30px;
}
.ns_accounts_profile .flex {
  display: flex;
  flex-wrap: wrap;
}
.ns_accounts_profile .flex > div {
  margin-top: 20px;
}
.ns_accounts_profile .flex .half {
  flex-basis: 50%;
}
.ns_accounts_profile .flex .half .inner {
  padding: 20px;
}
.ns_accounts_profile .flex .full {
  flex-basis: 100%;
}
.ns_accounts_profile .flex .half:first-child {
  padding-right: 10px;
}
.ns_accounts_profile .flex .half:last-child {
  padding-left: 10px;
}

.ns_accounts_profile #user-info {
  text-align: center;
  color: #fff;
  background-color: #8dc63f;
  padding: 20px;
}
.ns_accounts_profile #user-info h2,
.ns_accounts_profile #user-info a {
  color: #fff;
}
.ns_accounts_profile #user-info .btn {
  background-color: #fff;
  color: #8dc63f;
}
.ns_accounts_profile #user-info .user-fields {
  margin-bottom: 10px;
}
.ns_accounts_profile #user-info .user-fields span {
  font-weight: bold;
}
.ns_accounts_profile #user-info .user-fields div {
  margin-bottom: 5px;
}

.ns_accounts_register {
  margin: 0 -10px 30px -10px;
}
.ns_accounts_register .half {
  width: 50%;
  float: left;
  padding: 35px;
}
.ns_accounts_register .half.login {
  background-color: #8dc63f;
  color: #fff;
  border-radius: 5px;
}
.ns_accounts_register .half.login a,
.ns_accounts_register .half.login h2 {
  color: #fff;
}
.ns_accounts_register .half.login input.button {
  color: #8dc63f;
  background-color: #fff;
}
.ns_accounts_register .half.login input.button:hover {
  color: #494e56;
  background-color: #f1f1f1;
}
.ns_accounts_register .half.register {
  padding-top: 0;
}
.ns_accounts_register p {
  margin: 5px 0;
}
.ns_accounts_register p.half {
  padding: 0;
}
.ns_accounts_register p.half:nth-child(odd) {
  padding-right: 10px;
}
.ns_accounts_register .content {
  margin-bottom: 25px;
}
.ns_accounts_register input[type="submit"].btn {
  width: 50%;
}

.newsbox.register h1 {
  padding: 25px 0;
}

.ns-account-md-recurring .inner {
  background-color: #9b1b1f;
  color: #fff;
  padding: 20px;
  height: 100%;
  display: flex;
  align-items: center;
}
.ns-account-md-recurring input[type="number"] {
  display: inline;
  width: 100px;
  font-size: 21px;
  font-weight: bold;
}
.ns-account-md-recurring {
  margin-top: 20px;
}
.ns-account-md-recurring h2 {
  color: #fff;
  margin-top: 0;
}
.ns-account-md-recurring .status {
  margin-bottom: 10px;
}
.ns-account-md-recurring .donation-status {
  background-color: #fff;
  color: #494e56;
  padding: 2px 7px;
  font-weight: bold;
}
.ns-account-md-recurring .info {
  margin-bottom: 10px;
  font-size: 25px;
}
.ns-account-md-recurring .sum {
  line-height: 40px;
}
.ns-account-md-recurring .actions {
  margin-top: 20px;
}
.ns-account-md-recurring .center-middle {
}
.ns-account-md-recurring p a {
  color: #fff;
  text-decoration: underline;
}

.ns-account-md-cards {
  border: 1px solid #ccc;
}
.ns-account-md-cards .card {
  padding: 10px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: all 0.2s;
  margin-bottom: 10px;
}
.ns-account-md-cards .card.expired {
  opacity: 0.5;
}
.ns-account-md-cards .card:last-child {
  margin-bottom: 0;
}
.ns-account-md-cards .card input[type="radio"] {
  height: auto;
  margin-bottom: 3px;
}
.ns-account-md-cards .card .clearfix {
  margin-bottom: 5px;
}
.ns-account-md-cards .card:not(.expired):hover {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}
.ns-account-md-cards .icon {
  float: left;
}
.ns-account-md-cards .text {
  padding-left: 75px;
}
.ns-account-md-cards .number {
  font-size: 20px;
  font-weight: bold;
}
.ns-account-md-cards .date {
  font-size: 15px;
  color: #555;
}
.ns-account-md-cards .actions {
  margin-top: 10px;
}

.ns-account-donations {
  margin-top: 20px;
}
.ns-account-donations .notification {
  margin-bottom: 10px;
}

.ns-account-donations-list {
  border: 1px solid #ccc;
  padding: 15px;
  max-height: 425px;
  overflow-y: scroll;
}

.ns-account-donations-list .header {
  font-weight: bold;
  display: flex;
}
.ns-account-donations-list .header > div {
  flex-basis: 0;
  flex-grow: 1;
}
.ns-account-donations-list .transactions .donation {
  display: flex;
  padding: 10px 0;
  align-items: center;
}
.ns-account-donations-list .transactions .donation div {
  flex-basis: 0;
  flex-grow: 1;
}

.ns-account-donations-list .donation:hover {
  background-color: #f3f3f3;
}
.ns-account-donations-list .donation div.status-0 span,
.ns-account-donations-list .donation div.status-9 span {
  padding: 5px 10px;
  background-color: #9b1b1f;
  color: #fff;
  border-radius: 2px;
}
.ns-account-donations-list .donation div.status-1 span {
  padding: 5px 10px;
  background-color: #8dc63f;
  color: #fff;
  border-radius: 2px;
}

.ns-account-donations-list .donation div.status-5 span,
.ns-account-donations-list .donation div.status-6 span {
  padding: 5px 10px;
  background-color: #136f05;
  color: #fff;
  border-radius: 2px;
}

.ns-account-donations-list .donation div.status-2 span,
.ns-account-donations-list .donation div.status-3 span,
.ns-account-donations-list .donation div.status-4 span {
  padding: 5px 10px;
  background-color: #6e8f7a;
  color: #fff;
  border-radius: 2px;
}

.ns-account-donations-list .tag {
  padding: 5px 10px;
  background-color: #d1d1d1;
  color: #000;
  border-radius: 2px;
}
.ns-account-donations-list .tag.success {
  background-color: #8dc63f;
  color: #fff;
}
.ns-account-donations-list .tag.error {
  background-color: #9b1b1f;
  color: #fff;
}

.ns-account-donations-list .donation a {
  padding: 5px 10px;
  background-color: #9b1b1f;
  color: #fff;
  border-radius: 2px;
}

.ns-account-donation-cancel {
  border: 1px solid #ccc;
  padding: 10px;
}
.ns-account-donation-cancel .details span {
  font-weight: bold;
  padding-right: 10px;
}

#pre-header .ns-accounts-status {
  display: flex;
  align-items: center;
}
#pre-header .ns-accounts-status > * {
  margin-left: 10px;
}
#pre-header .ns-accounts-status a {
  font-weight: bold;
  text-decoration: underline;
}
#pre-header .ns-accounts-status a.btn {
  text-decoration: none;
  margin-bottom: 0;
  font-size: 14px;
}

.checkbox-group {
  display: block;
}
.checkbox-group .checkbox {
  display: block;
  position: relative;
  margin-bottom: 5px;
}
.checkbox-group .checkbox input {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
}
.checkbox-group .checkbox .label {
  display: block;
  padding-left: 25px;
  font-size: 14px;
}

.ns_accounts_edit .half {
  padding: 20px 0;
}
.ns_accounts_edit > div {
  margin-bottom: 20px;
}

.ns-accounts-export-html {
  border: 1px solid #ddd;
}
.ns-accounts-export-html > div {
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  padding: 3px;
}
.ns-accounts-export-html > div:nth-child(odd) {
  background-color: #fafafa;
}
.ns-accounts-export-html > div .title {
  width: 30%;
  float: left;
  font-weight: bold;
}
.ns-accounts-export-html > div .value {
  width: 70%;
  float: left;
}

/* FOOTER --------------------------- */
#pre-footer {
  background-color: #494e56;
  color: #e6e7e8;
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  padding: 20px 0;
  border-bottom: 1px solid #686565;
}
#pre-footer .container {
  display: flex;
  align-items: center;
}
#pre-footer .container > div {
  flex-grow: 1;
  flex-basis: 0;
}

#pre-footer .ns-social-widget {
  text-align: left;
}
#pre-footer .ns-social-widget > div > div {
  background-color: transparent;
  color: #8c8989;
  margin-right: 10px;
}
#pre-footer .ns-social-widget a {
  color: #e6e7e8;
  font-size: 25px;
}
#pre-footer .ns-social-widget a:hover {
  color: #fff;
}

#footer {
  padding: 15px 0;
  background-color: #494e56;
  color: #8c8989;
}
#footer p {
  margin: 5px 0 0 0;
  font-size: 13px;
}
#footer h1,
#footer h2,
#footer h3 {
  color: #fff;
}
#footer .container {
  display: flex;
  align-items: center;
}
#footer .container > div {
  flex-grow: 1;
}
#footer .container > div.wide {
  flex-basis: 100%;
}
#footer .col-3 {
  text-align: right;
}

#footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}
#footer ul li {
  display: inline-block;
  margin-left: 10px;
}
#footer ul li a {
  color: #8c8989;
  font-size: 14px;
}
#footer ul li a:hover {
  color: #fff;
}
#footer h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}

/* COOKIE WARNING ----------------------- */
#cookie-warning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5px;
  background-color: #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-size: 14px;
  z-index: 10;
  display: none;
}
#cookie-warning a,
#cookie-warning span {
  background-color: #8dc63f;
  color: #fff;
  border-radius: 3px;
  padding: 2px 7px;
  cursor: pointer;
}

/* EVENT PAGE --------------------------- */
.event-info {
  width: 100%;
  text-align: center;
  padding-top: 20px;
}
.event-info-caption {
  margin-top: -20px;
  margin-bottom: 20px;
}
.event-info-caption span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
.event-info-caption span:last-child {
  margin-right: 0;
}
.event-info-background img {
  width: 100%;
  max-height: 800px;
  object-fit: cover;
  object-position: center;
}
.event-signup {
  background-color: #8dc63f;
  padding: 6px 14px;
  border-radius: 7px;
  color: #fff;
}
.event-signup a {
  color: #fff;
}

/* EVENT LIST --------------------------- */
.single-event {
  width: 33.3%;
  float: left;
  padding: 10px;
  border: 1px solid #fff;
  transition: all 0.1s linear;
}
.single-event:hover {
  border: 1px solid #e1e1e1;
}
.single-event img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 5px;
}
.single-event h3 {
  font-size: 25px;
  line-height: 25px;
  height: 50px;
  overflow: hidden;
}
.single-event span {
  font-size: 16px;
}
.event-list {
  margin-bottom: 50px;
  min-height: 450px;
}

/* Steps */
.ns-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}
.ns-steps .step {
  flex-basis: 0;
  min-width: 150px;
}
.ns-steps .step .number-container {
  padding: 30px;
  position: relative;
}
.ns-steps .step .number-container:before {
  content: " ";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: -1;
  height: 1px;
  background: #333;
}
.ns-steps .step:nth-child(2) .number-container:before {
  width: 50%;
  left: 50%;
}
.ns-steps .step:last-child .number-container:before {
  width: 50%;
}

.ns-steps .step .number {
  padding-bottom: 100%;
  background: #8dc63f;
  border-radius: 50%;
  color: #fff;
  position: relative;
  z-index: 1;
}
.ns-steps .step.current .number {
  background: #9b1b1f;
}
.ns-steps .step .number .inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 30px;
}
.ns-steps .step .title {
  text-align: center;
  padding: 0 5px;
}
.ns-steps .step a {
  text-decoration: none;
}
.ns-steps .subtitle {
  text-align: center;
  flex-basis: 100%;
  flex-grow: 1;
  margin-top: 30px;
  color: #000;
}

/* AUCTION PAGE --------------------------- */
.ns-auction-container {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
  margin-left: -20px;
  margin-right: -20px;
}
.ns-auction-container > div {
  flex-basis: 50%;
  flex-shrink: 0;
  flex-grow: 0;
  transition: all 0.2s;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.4);
}
.ns-auction-container > div:hover {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
.ns-auction-container .content {
  height: 150px;
  overflow-y: auto;
}
.ns-auction-container .image {
  background-color: #ccc;
}
.ns-auction-container .image img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: center;
}
.ns-auction-container .auction-item {
  padding: 20px;
}
.ns-auction-container .price span {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 200;
  display: block;
}
.ns-auction-container .price .ns-auction-item-current {
  font-size: 23px;
  font-weight: bold;
}
.ns-auction-container .bottom-bar {
  display: flex;
  margin-top: 20px;
}
.ns-auction-container .bottom-bar .btn {
  flex-basis: 50%;
}
.ns-auction-container .bottom-bar .price {
  flex-basis: 50%;
  flex-shrink: 0;
  flex-grow: 1;
}

.auction-info {
  width: 100%;
  text-align: center;
  padding-top: 20px;
}
.auction-info-caption {
  margin-bottom: 20px;
}
.auction-info-caption span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
.auction-info-caption span:last-child {
  margin-right: 0;
}
.auction-info-background img {
  width: 100%;
  max-height: 800px;
  object-fit: cover;
  object-position: center;
}
.auction-signup {
  background-color: #8dc63f;
  padding: 6px 14px;
  border-radius: 7px;
  color: #fff;
}
.auction-signup a {
  color: #fff;
}

.ns-auction-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
  padding: 30px;
}
.ns-auction-modal a {
  text-decoration: underline;
}
.ns-auction-modal label {
  font-weight: normal;
}
.ns-auction-modal input[type="number"] {
  margin-bottom: 10px;
}
.ns-auction-modal h2 .fa {
  cursor: pointer;
  color: #494e56;
}
.ns-auction-modal h2 .fa:hover {
  cursor: pointer;
  color: #555;
}

.ns-auction-current-bid {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 10px;
}
.ns-auction-item-name {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 10px;
}
.ns-auction-bid-amount {
  font-size: 23px;
  padding: 5px 11px;
  height: auto;
}

.ns-auction-refresh {
  cursor: pointer;
  margin-bottom: 10px;
  user-select: none;
}

/* WIDGET RSS --------------------------- */
.widget_rss ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget_rss ul li {
  font-weight: bold;
  margin-bottom: 5px;
  border-left: 3px solid #8dc63f;
  padding-left: 10px;
  transition: all 0.1s linear;
}
.widget_rss ul li:hover {
  border-left: 10px solid #8dc63f;
}
.widget_rss ul li a {
  display: block;
}
h3.widget-title {
  font-size: 20px;
}
h3.widget-title img {
  vertical-align: unset;
  margin-right: 5px;
}

/* VC - Extra Row Styles */
.vc_row.invert,
.vc_row.invert a {
  color: #fff;
}

/* NS Tabs */
.ns-tabs {
}
.ns-tabs .ns-tab-links {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #e1e1e1;
}
.ns-tabs .ns-tab-links li {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  padding: 15px 25px;
  background-color: #e1e1e1;
  cursor: pointer;
  margin: 0;
}
.ns-tabs .ns-tab-links li.active,
.ns-tabs .ns-tab-links li:hover {
  background-color: #fff;
}
.ns-tabs .ns-tabs-content {
  position: relative;
  padding: 15px;
}
.ns-tabs .ns-tabs-content > div {
  display: none;
}
.ns-tabs .ns-tabs-content > div.active {
  display: block;
}

/* VC - NS Slider */
.ns_slider .owl-nav {
  width: 100%;
  height: 0;
  position: absolute;
  top: 50%;
}
.ns_slider .owl-nav div {
  position: absolute;
  height: 60px;
  width: 35px;
  background-image: url(../img/arrows-white.png);
  top: -30px;
  text-indent: 1000px;
  overflow: hidden;
  background-color: #9b1b1f;
  cursor: pointer;
}
.ns_slider .owl-nav div.disabled {
  display: none;
}

.ns_slider .owl-prev {
  left: 0;
}
.ns_slider .owl-prev:after {
  content: "\e824";
}
.ns_slider .owl-next {
  right: 0;
  background-position: -30px 0;
}
.ns_slider .owl-next:after {
  content: "\e825";
}
.ns_slider .owl-dots {
  text-align: center;
  height: 0;
  overflow: visible;
  position: relative;
  bottom: 20px;
}
.ns_slider .owl-dots .owl-dot {
  display: inline-block;
  overflow: hidden;
  text-indent: 100px;
  width: 10px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  margin: 5px;
  position: relative;
  top: -31px;
}
.ns_slider .owl-dots .owl-dot.active {
  background-color: #8dc63f;
}

.ns_slide {
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.ns_slide:first-child {
  position: static;
}
.owl-loaded .ns_slide {
  position: static;
}

.ns_slide img {
  width: 100%;
  height: auto;
}
.ns_slide img:nth-child(2) {
  display: none;
}
.ns_slide .title {
  display: block;
  font-size: 45px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.ns_slide .ns_caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 2;
  color: #fff;
  text-align: center;
  font-size: 18px;
  text-shadow: 1px 1px 5px #000;
}
.ns_slide .ns_caption.content {
  top: 10px;
}

.ns_slider.carousel .owl-item {
  padding: 10px;
}
.ns_slider.carousel .owl-item .inner {
  background: #fff;
  height: 100%;
}
.ns_slider.carousel .owl-item .caption {
  padding: 0 40px 20px 40px;
}
.ns_slider.carousel .owl-prev {
  left: -40px;
}
.ns_slider.carousel .owl-next {
  right: -40px;
}

/* NS Slider - Services Template */
.ns_slider.services .ns_slide {
  display: flex;
  align-items: center;
}

.ns_slider.services .ns_caption {
  flex-basis: 50%;
  text-shadow: none;
  transform: translate(0, 0);
  position: static;
  text-align: left;
  padding: 0 50px;
}
.ns_slider.services .image {
  flex-basis: 50%;
  position: relative;
}

.ns_slider.services .image:after {
  content: " ";
  display: block;
  position: absolute;
  width: 20%;
  height: 100%;
  top: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.ns_slider.services .odd .ns_caption {
  order: 1;
}
.ns_slider.services .odd .image {
  order: 2;
}
.ns_slider.services .odd {
  text-align: right;
}
.ns_slider.services .odd .image:after {
  left: 0;
  right: auto;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.ns_slider.services .title {
  font-size: 40px;
  line-height: 1.2;
  color: #7bc043;
  text-align: left;
  margin-bottom: 10px;
}
.ns_slider.services .excerpt {
  font-size: 20px;
  line-height: 20px;
  color: #494e56;
  margin-top: 10px;
}

/* VC - Image Button */
.ns-image-button {
  position: relative;
  background-size: cover;
  box-shadow: 3px 3px 5px #ccc;
  transition: all 0.1s linear;
}
.ns-image-button:hover {
  box-shadow: 5px 5px 5px #aaa;
  transform: translate(-3px, -3px);
}
.ns-image-button .inner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.ns-image-button .inner2 {
  height: 100%;
  display: table;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.2s linear;
}
.ns-image-button .inner2:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.ns-image-button .center {
  width: 100%;
  vertical-align: middle;
  text-align: center;
  display: table-cell;
}
.ns-image-button .title {
  font-size: 33px;
  color: #fff;
  font-weight: 700;
}
.ns-image-button .subtitle {
  color: #d1d1d1;
}

/* VS - Sponsors */
.ns-sponsors {
  margin: 0 -20px;
  text-align: center;
}
.ns-sponsors .sponsor {
  float: left;
}
.ns-sponsors .sponsor .inner {
  padding: 20px;
}
.ns-sponsors .sponsor img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Social Widget */
.ns-social-widget {
  text-align: center;
}
.ns-social-widget > div {
  color: #4e4d4d;
  display: inline-block;
  padding: 0 2px;
}
.ns-social-widget > div > div {
  display: table;
  height: 20px;
  background-color: #fff;
}
.ns-social-widget > div a {
  display: table-cell;
  height: 20px;
  width: 30px;
  text-align: center;
  vertical-align: middle;
}

/* VC Progress Bar */
.ns-progress {
  position: relative;
  height: 60px;
}
.ns-progress .bar-bg {
  position: relative;
  background-color: #d3d3d3;
  border-radius: 8px;
  overflow: hidden;
}
.ns-progress .bar {
  height: 40px;
  background-color: #f00;
}
.ns-progress .text {
  width: 100%;
  height: 20px;
}
.ns-progress .text .start {
  float: left;
  width: 50%;
}
.ns-progress .text .end {
  float: right;
  width: 50%;
  text-align: right;
}
.ns-progress .text .current {
  position: absolute;
  bottom: -5px;
  transform: translate(-50%, 0);
  font-weight: bold;
}

/* Notifications */
.notification {
  padding: 8px 15px;
  background-color: #fff;
  color: #494e56;
  border: 1px solid #d1d1d1;
  margin-bottom: 10px;
}
.notification a {
  color: #000;
}
.notification a.btn {
  color: #fff;
}
.white-text .notification {
  border: none;
  color: #494e56;
}
.white-text .notification a {
  color: #000;
  text-decoration: underline;
}
.notification.error {
  border-left: 5px solid #f00;
}
.notification.success {
  border-left: 5px solid #ff0;
}

/* Category view */
body.category {
  background: #f1f1f1;
}
.category-view {
  margin-bottom: 60px;
  min-height: 500px;
}
.category-view .articles {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.category-view .articles > * {
  flex-basis: 33.33%;
  flex-grow: 1;
  padding: 10px;
  margin-bottom: 20px;
}

.category-post .inner {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.category-post .title {
  margin-top: 20px;
}
.category-post .post-thumb {
  display: block;
}
.category-post .excerpt {
  flex-grow: 1;
  margin-bottom: 20px;
}
.category-post .date {
  color: #5e5f61;
  margin-top: 20px;
}
.category-post .view-article {
  display: none;
}
.category-post .readmore {
  color: #000;
}

.category-view.crm .category-post,
.category-view.hospovesti .category-post {
  flex-basis: 100%;
  margin-bottom: 30px;
}
.category-view.crm .category-post .inner,
.category-view.hospovesti .category-post .inner {
  display: flex;
  align-items: center;
  flex-direction: row;
}
.category-view.crm .post-thumb,
.category-view.hospovesti .post-thumb {
  flex-basis: 250px;
  flex-grow: 1;
  flex-shrink: 0;
}
.category-view.crm .category-post h2,
.category-view.hospovesti .category-post h2 {
  font-size: 28px;
}
.category-view.crm .post-content,
.category-view.hospovesti .post-content {
  flex-grow: 1;
  padding-left: 30px;
}
.category-view.crm .category-post .post-thumb {
  padding-bottom: 0;
}
.category-view.crm .category-post .post-thumb img {
  position: static;
}

/* Pagination */
.pagination {
  font-weight: bold;
  text-align: center;
}
.pagination span,
.pagination a {
  display: inline-block;
  min-width: 30px;
  margin: 0 5px;
  padding: 5px;
  text-align: center;
}
.pagination span.current {
  background-color: #8dc63f;
  color: #fff;
}
.pagination a:hover {
  background-color: #f3f3f3;
}

/* Single article view */
.single-article {
  margin-bottom: 60px;
}
.single-article h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.single-article .post-content a {
  text-decoration: underline;
}
blockquote {
  background-color: #f2f2f2;
  margin: 20px 0;
  padding: 20px 20px 20px 40px;
}
blockquote p {
  margin: 0;
  padding: 0;
}
.post-content img.alignleft {
  float: left;
  margin-right: 20px;
}
.post-content img.alignright {
  float: right;
  margin-left: 20px;
}
article.post a,
article.page a {
  text-decoration: underline;
}

/* NS Contracts */
#ns-calc {
  text-align: center;
}
#ns-calc h3 {
  margin: 15px 0 10px 0;
}
#ns-calc .number {
  font-weight: bold;
}

#ns-calc .calc-inputs > div {
  text-align: center;
  padding: 0 5px;
}
#ns-calc .calc-inputs input,
#ns-calc .calc-inputs select,
#contract-sum {
  font-size: 23px;
  line-height: 23px;
  height: 45px;
  box-shadow: none;
}
#ns-calc .max-donation {
  font-size: 30px;
  font-weight: bold;
  margin: 15px 0;
}
#ns-calc .calc-refresh {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff;
  color: #8dc63f;
  border-radius: 5px;
  margin-top: 20px;
  cursor: pointer;
}

#ns_contract {
}

#ns_contract .form-element {
  margin-top: 0;
  margin-bottom: 10px;
}
#ns_contract .form-element input,
#ns_contract .form-element select {
  border-radius: 0;
  box-shadow: none;
  border: none;
}
#ns_contract #company-cui select {
  margin-right: 10px;
  width: 80px;
  padding: 0;
}

#ns_contract #company-cui .btn {
  flex-grow: 0;
  margin-left: 2%;
  margin-top: 0;
  margin-bottom: 0;
  padding: 7px 10px;
  font-size: 17px;
  font-weight: normal;
  text-decoration: none;
  background-color: #fff;
  color: #8dc63f;
  border: none;
  display: flex;
  align-items: center;
  height: 36px;
}
#ns_contract #company-cui .btn i {
  margin-right: 5px;
}

#ns_contract .company-search-error {
  flex-basis: 100%;
}
#ns_contract #company-cui .btn:hover {
  background-color: #9b1b1f;
  color: #fff;
}
#ns_contract button:hover {
  background-color: #9b1b1f;
  color: #fff;
}

#ns_contract .col-2 {
  margin: 0 -5px;
  display: flex;
}
#ns_contract .col-2 .form-element {
  flex-basis: 50%;
  padding: 0 5px;
}
#ns_contract {
  max-height: 410px;
  overflow: hidden;
  transition: all 1s;
  position: relative;
}
#ns_contract.open {
  max-height: 200000px;
}
#ns_contract:after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  background: -moz-linear-gradient(
    top,
    rgba(122, 193, 67, 0) 0%,
    rgba(122, 193, 67, 1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(122, 193, 67, 0) 0%,
    rgba(122, 193, 67, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(122, 193, 67, 0) 0%,
    rgba(122, 193, 67, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007ac143', endColorstr='#8DC63F',GradientType=0 );
}
#ns_contract.open:after {
  display: none;
}

div.label {
  font-weight: 700;
}

/* Image forced aspect ratio */
.sixteen-nine {
  padding-bottom: 56.25%;
  position: relative;
}
.sixteen-nine img,
.sixteen-nine video,
.sixteen-nine audio {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}
.square {
  padding-bottom: 100%;
  position: relative;
}
.square img,
.square video,
.square audio {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

/* NS POSTS - VC Shortcode */
.ns-posts-grid {
  display: flex;
  flex-wrap: wrap;
}
.ns-posts-grid .ns-post {
  margin-bottom: 20px;
}
.ns-posts-grid.rows .ns-post .inner {
  display: flex;
  align-items: center;
}
.ns-posts-grid.rows .ns-post .inner .text {
  flex-basis: 60%;
  flex-grow: 1;
  padding-left: 20px;
}
.ns-posts-grid.rows .ns-post img {
  flex-basis: 40%;
  height: auto;
  margin-right: 10px;
}
.ns-posts-grid .ns-post .btn {
  margin-top: 20px;
}

.ns-posts-grid.carousel {
  display: block;
}
.ns-posts-grid.carousel .owl-stage {
  display: flex;
  align-items: stretch;
}
.ns-posts-grid.carousel .owl-stage-outer {
  overflow: hidden;
}
.ns-posts-grid.carousel .ns_slider .owl-prev {
  left: -35px;
}
.ns-posts-grid.carousel .ns_slider .owl-next {
  right: 0;
}
.ns-posts-grid.carousel .ns-post {
  padding: 0 15px;
  height: 100%;
}
.ns-posts-grid.carousel .ns-post .inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ns-posts-grid.carousel .ns-post .inner .text {
  flex-grow: 1;
}
.ns-posts-grid.carousel a {
  text-decoration: none;
}

/* VC TIMELINE */

/* NS IMAGE */
.ns-image > div {
  position: relative;
}
.ns-image span {
  display: block;
}
.ns-image .background {
}
.ns-image img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.ns-image .caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  background-color: rgba(122, 193, 67, 0.9);
  padding: 20px;
  color: #fff;
}
.ns-image .title {
  font-size: 41px;
  font-weight: 700;
  text-transform: uppercase;
}
.ns-image .subtitle {
}
.ns-image .mobile-only {
  height: auto !important;
}
.ns-image .mobile-only.ns_slide img img {
  position: static;
  height: auto;
}

/* NS TEAM */
.ns-team-member {
  text-align: center;
  padding: 20px;
}
.ns-team-member .inner {
  max-width: 300px;
  margin: 0 auto 20px auto;
  height: 100%;
  padding: 30px;
}
.ns-team-member .name {
  color: #000;
  font-weight: bold;
  font-size: 20px;
  margin: 10px 0;
}
.ns-team-member .content {
  text-align: left;
}

/* NS People */
.ns-people {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

/* Infographic Style */
.infographic {
  font-size: 23px;
}
.infographic .number {
  font-size: 50px;
}
.infographic .wpb_content_element {
  margin-bottom: 10px;
}
.infographic p {
  margin-top: 0;
}

/* NS PRODUCTS */
.ns-products {
  display: flex;
  flex-wrap: wrap;
}
.ns-products .product {
  flex-basis: 33.33%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.ns-products .product h3 {
  margin: 15px 0;
}
.ns-products .product .image {
  width: 100%;
  padding-bottom: 100%;
  position: relative;
}
.ns-products .product .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ns-products .product .product-details {
  flex-grow: 1;
}
.ns-products .product .price {
  margin-bottom: 15px;
  margin-top: 15px;
}
.ns-products .product .discount {
  position: absolute;
  top: 50%;
  right: 0;
  padding: 10px 20px;
  background: #9b1b1f;
  color: #fff;
  transform: translate(0, -50%);
}

.ns-products-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 500px;
  max-height: 100%;
  overflow-y: auto;
  background: #fff;
  padding: 20px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  z-index: 200000;
}
.ns-products-modal .close {
  background: #9b1b1f;
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 12px;
  cursor: pointer;
}
.ns-products-modal h2 {
  margin-top: 20px;
  text-align: center;
}
.ns-products-modal .product-details {
  display: flex;
  align-items: center;
}
.ns-products-modal .product-details .product-image {
  flex-basis: 100px;
  margin-right: 20px;
}
.ns-products-modal .product-details .product-name {
  flex-grow: 1;
}

/* NS_MOBILPAY_DONATIONS Plugin */
#ns-md-donations {
  background-color: #fff;
  height: 100%;
  border-radius: 5px;
}
#ns-md-donations .inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 20px;
}
#ns-md-donations .inner .wrap {
  flex-basis: 100%;
  min-height: 1px;
}

#ns-md-donations #ns-md-continue-info,
#ns-md-donations #ns-md-login {
  display: block;
}
#ns-md-donations .logged-in-account {
  margin-bottom: 20px;
}

#ns-md-donations .ns-md-back {
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
}

#ns-md-donations .half {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
#ns-md-donations .half > div {
  flex-basis: 50%;
  flex-shrink: 1;
  flex-grow: 1;
}
#ns-md-donations .half > div:first-child {
  margin-right: 5px;
}
#ns-md-donations .half > div:last-child {
  margin-left: 5px;
}
#ns-md-donations .half .btn {
  margin-bottom: 0;
}

#ns-md-donations .mobilpay-submit {
  display: block;
  margin-top: 15px;
  width: 100%;
}

#ns-md-donations .myhospice-title {
  font-size: 16px;
  margin-bottom: 10px;
}

#ns-md-donation-form .form-inline {
  margin-bottom: 10px;
}
#ns-md-donation-form .form-inline input {
  margin-bottom: 0;
}
#ns-md-donations input[name="donation-amount"] {
  font-size: 30px;
  height: auto;
  font-weight: bold;
}
#ns-md-donations .notification {
  font-size: 16px;
}

#ns-md-donation-form input,
#ns-md-donation-form select,
#ns-md-donation-form textarea {
  margin-bottom: 10px;
}
#ns-md-donation-form input[type="submit"] {
  margin-bottom: 0;
  display: block;
  width: 100%;
}
#ns-md-donation-form input.invalid {
  border-color: #f00;
}
#ns-md-donation-form p {
  margin: 0 0 10px 0;
}
#ns-md-donation-form label {
  font-size: 16px;
  margin-bottom: 4px;
  display: block;
}

#ns-md-continue {
  display: block;
  width: 100%;
  margin-top: 10px;
}
#ns-md-account {
  margin-top: 10px;
}
#ns-md-donation-form .myhospice-title {
  text-align: center;
}
#ns-md-account .btn {
  display: block;
  padding: 10px;
}
.ns-md-small {
  font-size: 15px;
  line-height: 16px;
  margin-top: 10px;
}

.donation-summary {
  font-size: 16px;
}
.donation-summary > div {
  margin-bottom: 10px;
}
.donation-summary .amount {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
}
#ns-md-donations .summary-row {
  font-size: 16px;
  background-color: #eee;
  padding: 4px 8px;
}
.donation-summary .question p {
  margin-bottom: 0px;
}

#ns-md-donation-form .error {
  border-color: #f00;
}
#ns-md-donation-form .not-match,
#ns-md-donation-form .security {
  color: #f00;
  font-size: 13px;
  line-height: 13px;
  display: block;
  margin-bottom: 5px;
}

#ns-md-donation-form .donation-terms > div {
  display: flex;
  margin-bottom: 10px;
}
#ns-md-donation-form .donation-terms > div > .checkbox {
  margin-right: 10px;
}
#ns-md-donation-form .donation-terms > div > .checkbox input {
  height: auto;
}
#ns-md-donation-form .donation-terms > div > .text {
  flex-shrink: 1;
  flex-grow: 1;
  font-size: 15px;
}

#ns-md-donation-form .question {
  font-size: 15px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}
#ns-md-donation-form .question p {
  margin-bottom: 0;
}
#ns-md-donation-form .question label {
  display: inline;
  font-weight: normal;
  font-size: 15px;
}

#ns-md-donation-form .donation-type-select {
  padding: 5px;
  margin: 0 -5px;
  transition: all 0.1s linear;
  overflow: hidden;
}
#ns-md-donation-form .donation-type-select label {
  margin-bottom: 0;
}
#ns-md-donation-form .donation-type-select.error {
  animation: flash-red;
  animation-duration: 1s;
}

@keyframes flash-red {
  from {
    background-color: #f00;
  }
  to {
    background-color: #fff;
  }
}

.ns-md-donation-amount {
  text-align: center;
  padding: 15px;
  cursor: pointer;
  transition: all 0.1s;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  height: 50%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 5px;
}
.ns-md-donation-amount .inner {
  flex-basis: 100%;
}
.ns-md-donation-amount.hidden {
  opacity: 0.2;
  pointer-events: none;
}
.ns-md-donation-amount:hover {
  background-color: rgba(122, 193, 67, 0.8);
  color: #fff;
}
.ns-md-donation-amount:hover h3 {
  color: #fff;
}
.ns-md-donation-amount .btn {
  display: block;
}
.ns-md-donation-amount h3 {
  font-size: 28px;
}
.ns-md-donation-amount .description p {
  margin-bottom: 0;
}

form .flex {
  display: flex;
  align-items: center;
  width: 100%;
}
form .flex > div {
  flex-basis: 0;
  flex-grow: 1;
  margin: 0 5px;
}
form .flex > div:first-child {
  margin-left: 0;
}
form .flex > div:last-child {
  margin-right: 0;
}
form .flex label {
  display: block;
}

/* Email download module */
.ns-email-download-popup {
  display: none;
  position: fixed;
  max-width: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 30px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}
.ns-email-download-popup h2 {
  margin-top: 0;
}
.ns-email-download-popup input {
  font-size: 17px;
}
.ns-email-download-popup .field,
.ns-email-download-popup .text {
  margin-bottom: 20px;
}
.ns-email-download-popup .checkbox {
  font-size: 15px;
  display: flex;
  align-items: center;
}
.ns-email-download-popup input[type="checkbox"] {
  flex-basis: 20px;
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 10px;
}
.ns-email-download-popup .checkbox span {
  flex-grow: 1;
}

.ns-email-download-popup .close {
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  background: #9b1b1f;
  z-index: 10;
  font-weight: bold;
  padding: 5px 11px;
  cursor: pointer;
}

.ns-email-download .link {
  cursor: pointer;
  text-decoration: underline;
}

/* Timeline Item */
.ns-timeline-item {
  display: flex;
  position: relative;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.ns-timeline-item > div {
  flex-basis: 50%;
  flex-grow: 1;
  flex-shrink: 0;
}
.ns-timeline-item .year {
  padding: 20px;
  padding-right: 50px;
  font-size: 40px;
  font-weight: bold;
  text-align: right;
}
.ns-timeline-item .text {
  padding: 20px;
  padding-left: 50px;
  background-color: #f3f3f3;
}
.ns-timeline-item .border {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 2px;
  background-color: #8dc63f;
  height: 100%;
  z-index: 1;
}
.ns-timeline-item .border.flower:before {
  content: " ";
  position: absolute;
  top: 50%;
  left: -39px;
  width: 80px;
  height: 80px;
  transform: translate(0, -50%);
  background-image: url(../img/hcs-timeline-limit.png);
  background-size: contain;
}

.ns-timeline-item:nth-child(odd) .year {
  order: 3;
  text-align: left;
  padding-right: 20px;
  padding-left: 50px;
}
.ns-timeline-item:nth-child(odd) .text {
  order: 1;
  text-align: right;
  padding-right: 50px;
  padding-left: 20px;
}

.ns-timeline-item .title {
  flex-basis: 100%;
  background-color: #fff;
  text-align: center;
  padding: 10px 0;
  margin: 20px 0 30px 0;
  z-index: 2;
}
.ns-timeline-item .image {
  margin: 15px 0;
  padding: 0 3px;
  max-width: 300px;
}
.ns-timeline-item .image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.ns-timeline-item:last-child .border:after {
  content: " ";
  position: absolute;
  bottom: -29px;
  left: -13px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background-color: #8dc63f;
}

/* Timeline List */
ul.timeline-list {
  padding-left: 20px;
  list-style: none;
  position: relative;
  max-height: 50vh;
  overflow-y: scroll;
  background: #fff;
  border: 1px solid #d1d1d1;
}

ul.timeline-list li {
  padding: 20px;
  position: relative;
  border-left: 1px solid #5079b2;
}
ul.timeline-list li:after {
  content: "";
  position: absolute;
  left: -5px;
  top: 45%;
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background-color: #5079b2;
}
ul.timeline-list .chip {
  margin-bottom: 5px;
  display: inline-block;
}

ul.timeline-list.right {
  text-align: right;
}
ul.timeline-list.right {
  padding-left: 0;
  padding-right: 20px;
  border-left: none;
}
ul.timeline-list.right li {
  border-left: none;
  border-right: 1px solid #5079b2;
}
ul.timeline-list.right li:after {
  left: auto;
  right: -5px;
}

/* MISC */
.wpb_single_image.ambassador img {
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

#hospice-25 {
  width: 120px;
  height: 120px;
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 100;
  padding: 3px;
  background: #fff;
}

.fix-background {
  background-attachment: fixed;
}

.nf-form-fields-required {
  display: none;
}
.nf-form-title {
  display: none;
}
.nf-field-container,
#ninja_forms_required_items {
  margin-bottom: 20px;
}

body .nf-field-description {
  order: 20;
  -ms-flex-order: 20;
  font-size: 80%;
  margin-top: 10px;
  opacity: 0.8;
}
body .nf-field-description p {
  margin-top: 0;
  margin-bottom: 2px;
}
body .nf-field-description u {
  margin: 2px 0;
}

.nf-field-element ul li label {
  font-weight: normal;
}
.nf-fu-progress {
  margin-bottom: 0;
}
.nf-form-content .nf-progress-container {
  border-radius: 5px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}
.nf-form-content .nf-progress-container .nf-progress {
  min-width: 10px;
  height: 25px;
  margin: 5px;
  border-radius: 4px;
}
.nf-form-content .nf-progress-container:after {
  content: "Progres";
  position: absolute;
  right: -100px;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.nf-form-content .nf-breadcrumbs li a {
  background: #f1f1f1;
  padding: 5px 10px;
  border-radius: 5px;
}
.nf-form-content .nf-breadcrumbs li.active a {
  background: #9b1b1f;
  color: #fff;
}

body .nf-error-msg {
  color: #fff;
  background-color: #f00;
  border-radius: 5px;
  padding: 12px 12px;
}
body .nf-after-field .nf-error-msg {
  color: #f00;
  background-color: transparent;
  border: 1px solid #f00;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 14px;
}
body .nf-after-field .nf-error-msg:before {
  content: "\f05a";
  font-family: "FontAwesome";
  font-size: 15px;
  display: inline-block;
  margin-right: 10px;
}
body .nf-input-limit {
  margin-top: 0;
}

button.btn.ninja-forms-field {
  background-color: #fafafa;
  color: #494e56;
  border: 1px solid #b1b1b1;
}

ul.nf-next-previous input {
  height: auto;
  background: #8bc53e;
  color: #fff;
  font-weight: bold;
  border-color: #8bc53e;
  cursor: pointer;
}
ul.nf-next-previous input.nf-previous {
  background: transparent;
  color: #8bc53e;
}
ul.nf-next-previous input:hover {
  background: #fff;
  color: #8bc53e;
}

.flower-background {
  background-image: url(../img/flower-bg.png);
  background-position: 110% 110% !important;
  background-repeat: no-repeat;
  background-attachment: scroll !important;
}
.white-text.flower-background {
  background-image: url(../img/flower-bg-neg.png);
}

.donor-boxes .wpb_text_column,
.donor-boxes .wpb_raw_code {
  background-color: #fff;
  padding: 25px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
  min-height: 130px;
  transition: all 0.1s linear;
}
.donor-boxes.hover .wpb_text_column:hover {
  background-color: #8dc63f;
  color: #fff;
  cursor: pointer;
}
.donor-boxes p:first-child {
  margin: 0;
}

.patrons-container .ns-image {
  border: 5px solid #fff;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.patrons-container .ns-image-wrap:after {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 40px;
  border-radius: 50%;
  content: " ";
  bottom: -5px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 60%
  );
}
.patrons-container .ns-image-wrap {
  position: relative;
  z-index: 1;
}

.main-image * {
  color: #fff;
}
.main-image .title {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
}
.main-image .subtitle {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
  font-size: 20px;
  margin: 0 auto;
  font-weight: 600;
}
.lang_sel_sel {
  font-weight: 600;
}

.vc_row > p {
  margin: 0;
  padding: 0;
}

.vc_btn3.vc_btn3-color-success,
.vc_btn3.vc_btn3-color-success.vc_btn3-style-flat {
  background-color: #8dc63f;
  color: #fff;
}
.vc_btn3.vc_btn3-color-success:hover,
.vc_btn3.vc_btn3-color-success.vc_btn3-style-flat:hover {
  background-color: #8cd545;
  color: #fff;
}
.vc_btn3.vc_btn3-color-green,
.vc_btn3.vc_btn3-color-green.vc_btn3-style-flat {
  background-color: #8dc63f;
  color: #fff;
}
.vc_btn3.vc_btn3-color-green:hover,
.vc_btn3.vc_btn3-color-green.vc_btn3-style-flat:hover {
  background-color: #8dc63f;
  color: #fff;
}

.wpb_content_element:last-child {
  margin-bottom: 0;
}

.vc_row {
  padding-top: 0;
  padding-bottom: 30px;
}
.vc_row .vc_row {
  padding-top: 20px;
  padding-bottom: 20px;
}
.vc_col-has-fill > .vc_column-inner,
.vc_row-has-fill
  + .vc_row-full-width
  + .vc_row
  > .vc_column_container
  > .vc_column-inner,
.vc_row-has-fill + .vc_row > .vc_column_container > .vc_column-inner,
.vc_row-has-fill
  + .vc_vc_row
  > .vc_row
  > .vc_vc_column
  > .vc_column_container
  > .vc_column-inner,
.vc_row-has-fill
  + .vc_vc_row_inner
  > .vc_row
  > .vc_vc_column_inner
  > .vc_column_container
  > .vc_column-inner,
.vc_row-has-fill > .vc_column_container > .vc_column-inner,
.vc_row-has-fill
  > .vc_row
  > .vc_vc_column
  > .vc_column_container
  > .vc_column-inner,
.vc_row-has-fill
  > .vc_vc_column_inner
  > .vc_column_container
  > .vc_column-inner {
  padding-top: 0;
}

body .list-radio-wrap .nf-field-element li {
  display: inline;
}
.nf-field-sub-settings {
  color: #818181;
  font-size: 16px;
  line-height: 17px;
}

.center-background {
  background-size: cover;
  background-position: center;
}

.vc_btn3.vc_btn3-color-danger,
.vc_btn3.vc_btn3-color-danger.vc_btn3-style-flat {
  color: #fff;
  background-color: #9b1b1f;
}
.vc_btn3.vc_btn3-color-danger,
.vc_btn3.vc_btn3-color-danger.vc_btn3-style-flat:hover {
  color: #fff;
  background-color: #cb3d56;
}
.vc_btn3.vc_btn3-color-success:hover,
.vc_btn3.vc_btn3-color-success.vc_btn3-style-flat {
  color: #fff;
  background-color: #8dc63f;
}
.vc_btn3.vc_btn3-color-success:hover,
.vc_btn3.vc_btn3-color-success.vc_btn3-style-flat:hover {
  color: #fff;
  background-color: #83d047;
}

.vc_tta-panel-body p {
  margin-top: 0;
}

.vc_images_carousel.vc_build
  .vc_carousel-slideline
  .vc_carousel-slideline-inner
  > .vc_item
  img {
  width: 100%;
  height: auto;
}

.wpb-js-composer
  .vc_tta-color-grey.vc_tta-style-classic
  .vc_tta-panel
  .vc_tta-panel-body {
  background-color: #fff !important;
}
.wpb-js-composer
  .vc_tta-color-grey.vc_tta-style-classic
  .vc_tta-panel.vc_active
  .vc_tta-panel-title
  > a,
.wpb-js-composer
  .vc_tta-color-grey.vc_tta-style-classic
  .vc_tta-panel
  .vc_tta-panel-title
  > a {
  color: #111 !important;
}
.wpb-js-composer
  .vc_tta-color-grey.vc_tta-style-classic
  .vc_tta-panel.vc_active
  .vc_tta-panel-heading,
.wpb-js-composer
  .vc_tta-color-grey.vc_tta-style-classic
  .vc_tta-panel.vc_active
  .vc_tta-panel-title
  > a {
  color: #fff !important;
  background-color: #8dc63f !important;
}

.vc_row.vc_row-flex > .vc_column_container > .vc_column-inner > .wpb_wrapper {
  height: 100%;
}

.desktop-only {
}
.mobile-only {
  display: none;
}
.owl-carousel .owl-stage::after {
  display: none;
}

/* External marker on external links */
#header_menu nav ul li.external > a:after,
.vc_btn3-container.external a:after,
.btn.external:after {
  content: "\f08e";
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  padding-left: 5px;
}

input.ninja-forms-field[type="button"] {
  background-color: #8dc63f;
  color: #fff;
  padding: 8px 20px;
  font-size: 20px;
  font-weight: 200;
  border: none;
}
.ns_payu_privacy,
.ns_accounts_form_info {
  font-size: 15px;
  margin-top: 10px;
}
.ns_payu_privacy ul {
  margin: 5px 0;
}
.ns_payu_privacy {
  margin-bottom: 10px;
}
.ns_payu_privacy a,
.ns_accounts_form_info a {
  text-decoration: underline;
}

.post-gallery .scroller-item img {
  width: 100%;
  object-fit: cover;
}

.tooltip_templates {
  display: none;
}

span.info {
  background-color: #eee;
  color: #494e56 !important;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 15px !important;
  cursor: pointer;
}
span.info:hover {
  background-color: #666;
  color: #fff;
}

/*------------------------------------*\
    Media Queries
\*------------------------------------*/

@media only screen and (max-width: 1280px) {
  .container {
    max-width: 100%;
    width: 100%;
  }
  #page_background_video iframe {
    width: 300%;
    height: 100%;
    top: 0;
    left: -100%;
  }
  .container {
    padding: 0 30px;
  }
  #header_menu nav > ul > li {
    padding: 0;
  }
  #header_menu nav {
    font-size: 16px;
  }
  #ns-md-donation-form {
    font-size: 15px;
  }
  #ns-md-donations input[name="donation-amount"] {
    font-size: 23px;
  }
  #ns-md-donation-form label {
    font-size: 15px;
  }
  .ns-steps .step {
    min-width: 100px;
  }
}

@media only screen and (max-width: 900px) {
  .container {
    padding: 0 30px;
  }
  .ns_slide img {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }
  .ns-products .product {
    flex-basis: 50%;
  }

  .ns-posts-grid .ns-post {
    margin-bottom: 20px;
    flex-basis: 100% !important;
  }
  .ns-posts-grid .ns-post .inner {
    display: block;
  }
  .ns-posts-grid .ns-post .inner .text {
    padding-left: 0;
  }
  .ns-posts-grid .ns-post img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .ns-posts-grid .ns-post .btn {
    margin-top: 20px;
  }
  .ns-posts-grid .ns-post h3.title {
    text-align: left;
    font-weight: bold;
  }

  .ns-steps .step .number-container {
    padding: 10px;
  }
  .ns-steps .step {
    min-width: 90px;
  }
}

@media only screen and (max-width: 640px) {
  #ajax-content {
    margin-top: 60px;
  }

  .flex {
    display: block;
  }
  .flex.flex-mobile {
    display: flex;
  }

  .ns-products .product {
    flex-basis: 100%;
  }
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none !important;
  }
  body {
    font-size: 17px;
  }
  .container {
    padding: 0 20px;
  }
  .wpb_button,
  .wpb_content_element,
  ul.wpb_thumbnails-fluid > li {
    margin-bottom: 10px !important;
  }

  #page_background_video iframe {
    display: none;
  }
  #header {
    transition: all 0.2s;
  }
  #header .logo {
    padding: 25px 0 25px 0;
  }
  #header .logo a {
    width: 90%;
    height: auto;
  }
  #header_menu {
    background: #8dc63f;
    padding: 15px;
  }
  #header_menu nav {
    padding: 0;
  }
  #header_menu nav a {
    padding: 10px;
  }
  #header .logo {
    display: none;
  }
  #header_menu .header_right {
    flex-basis: 100%;
  }
  #header .header_right nav {
    display: none;
  }
  #header .ns-social-widget {
    font-size: 20px;
  }
  #pre-header {
    padding-bottom: 0;
    color: #fff;
  }
  #pre-header a {
    color: #fff;
    text-align: left;
    border: none;
  }
  #pre-header .left {
    flex-basis: auto;
  }
  #pre-header .right {
    flex-grow: 1;
  }
  #pre-header .ns-social-widget {
    display: none;
  }
  #pre-header .container {
    padding: 0;
  }
  #pre-header a:hover {
    color: #fff;
  }
  .scrolled #pre-header {
    max-height: 100px;
    opacity: 1;
  }
  .admin-bar #header {
    top: 46px;
  }
  .scrolled.admin-bar #header {
    top: 0;
  }
  #mobile-menu {
    display: block;
  }

  h1.page-title {
    font-size: 35px;
    line-height: 37px;
    padding: 15px 0 15px 0;
  }
  h2,
  h3 {
    text-align: center;
    font-size: 30px;
  }
  .ns-image .title {
    font-size: 30px;
  }
  #footer .container {
    padding: 0;
  }
  #footer .container > div {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }
  .main-image .ns-image {
    padding-bottom: 100% !important;
  }
  .page-image .ns-image {
    padding-bottom: 50% !important;
  }
  .vc_column_container > .vc_column-inner {
    padding: 0 15px;
  }
  .donor-boxes .wpb_text_column,
  .donor-boxes .wpb_raw_code {
    padding: 20px;
  }

  .ns_slide .title {
    font-size: 40px;
  }
  .ns_slide .ns_caption {
    font-size: 16px;
    bottom: 20px;
    width: 65%;
  }
  .default .ns_slide img {
    width: 100%;
    height: auto;
    display: none;
  }
  .ns_slider {
    height: auto;
  }
  .default .ns_slide img:nth-child(2) {
    display: block;
  }

  .ns_slider.services .ns_slide .image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    position: static;
  }
  .ns_slider.services .ns_slide .image:after {
    display: none;
  }
  .ns_slider.services .ns_slide .image img {
    display: block;
  }
  .ns_slider.services .ns_slide .ns_caption {
    position: static;
    width: auto;
    height: auto;
    transform: translate(0, 0);
    padding: 40px;
  }
  .ns_slider.services .ns_slide .ns_caption .title {
    font-size: 25px;
    line-height: 1.2;
  }
  .ns_slider.services .ns_slide .ns_caption .excerpt {
    font-size: 16px;
    line-height: 1.2;
  }
  .ns_slider.carousel .owl-item {
    padding: 0 0 20px 0;
  }
  .ns_slider.carousel .owl-next,
  .ns-posts-grid .carousel .owl-next {
    right: -10px;
  }
  .ns_slider.carousel .owl-prev,
  .ns-posts-grid .carousel .owl-prev {
    left: -10px;
  }
  .ns_slider .owl-dots {
    margin-top: 30px;
  }

  .ns-timeline-item {
    margin-top: 25px;
  }
  .ns-timeline-item .year {
    flex-basis: 100%;
    text-align: right;
    padding-right: 0;
  }
  .ns-timeline-item .text {
    flex-basis: 100%;
    margin-left: 15px;
    padding-left: 30px;
    text-align: justify;
  }
  .ns-timeline-item:nth-child(2n + 1) .year {
    order: 1;
    text-align: right;
    padding-right: 0;
  }
  .ns-timeline-item:nth-child(2n + 1) .text {
    order: 2;
  }
  .ns-timeline-item .border {
    left: 20px;
  }
  .ns-timeline-item .title {
    text-align: left;
  }
  .ns-timeline-item .image {
    position: relative;
    z-index: 2;
    flex-basis: 50% !important;
  }

  .top-idei h2 {
    text-align: left;
  }
  .event-list {
    margin-top: 10px;
  }
  .single-event {
    width: auto;
    float: none;
    padding: 0;
    border: none;
    margin-bottom: 40px;
  }
  .single-event:hover {
    border: none;
  }
  .single-event .event-details {
    text-align: center;
  }
  .single-event h3 {
    height: auto;
  }
  .vc_general.vc_btn3 {
    margin-bottom: 10px;
  }
  #pre-footer .ns-social-widget {
    text-align: center;
  }
  #footer .container {
    display: block;
  }
  #footer p {
    text-align: center !important;
  }
  #pre-header ul {
    padding-left: 0;
  }
  .vc_column-inner {
    padding: 10px;
  }
  .vc_row {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .vc_row .vc_row {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .ns_slider .owl-nav div {
    top: -70px;
  }
  .ns_slider.services .owl-nav div {
    top: 5px;
  }
  .event-info-background img {
    height: 250px;
  }
  .hidden-mobile {
    display: none;
  }
  #ns_contract:after {
    display: none;
  }
  .ns-sponsors .sponsor {
    width: 50% !important;
  }
  .ns-sponsors .sponsor img {
    width: 100%;
    height: auto;
  }

  #ns-contract-steps .step {
    padding-left: 0;
    padding-right: 0;
  }

  #ns-contract-steps .choice .half {
    border: 1px solid #fff;
    margin-bottom: 20px;
  }

  #ns-calc .calc-inputs input,
  #ns-calc .calc-inputs select,
  #contract-sum {
    font-size: 14px;
  }
  #ns-calc .calc-inputs .half:first-child {
    margin-bottom: 20px;
  }

  #ns-calc .max-donation {
    font-size: 25px;
  }
  #ns-calc {
    margin-bottom: 20px;
  }
  #ns_contract {
    max-height: 200000px;
  }
  .calc-inputs label {
    min-height: 32px;
    display: block;
  }
  .category-view .articles > * {
    flex-basis: 100%;
  }
  .category-post {
    width: auto;
    float: none;
    height: auto;
  }
  .category-post h2 {
    text-align: left;
  }
  .category-post .post-thumb {
    width: 100%;
    height: 200px;
    margin-bottom: 10px;
  }
  #year-icon {
    display: none;
  }
  body #donation-amount-custom input {
    width: 60%;
    padding: 0;
  }
  body #donation-amount-custom select {
    width: 38%;
  }
  body #ns_payu_form {
    width: 95%;
    padding: 0 15px;
    font-size: 13px;
    max-height: 500px;
    overflow: auto;
  }
  body #ns_payu_form .header-icon {
    display: none;
  }
  .ns_accounts_register .half {
    width: auto;
    float: none;
  }
  .ns_accounts_register .half.register {
    padding: 0;
  }
  .ns_accounts_register p.half:nth-child(2n + 1) {
    padding-right: 0;
  }
  .ns-account-donations-list {
    padding: 0;
    font-size: 14px;
  }
  .category-view.crm .post-thumb,
  .category-view.hospovesti .post-thumb {
    width: auto;
    float: none;
  }
  .category-post .post-thumb img {
    position: static;
    height: auto;
    object-fit: cover;
  }
  .category-post .post-thumb {
    height: auto;
    padding-bottom: 0;
  }
  .category-view.crm .post-content,
  .category-view.hospovesti .post-content {
    width: auto;
    float: none;
  }
  .ns_slider .owl-dots .owl-dot {
    top: -6px;
  }
  #ns-md-donations {
    min-height: 0;
  }
  #ns-md-donation-form {
    font-size: 18px;
  }
  .ns-md-donation-amount {
    padding: 10px;
    height: auto;
    display: block;
  }
  .ns-md-donation-amount .inner {
    display: flex;
    align-items: center;
  }
  .ns-md-donation-amount .inner .text {
    flex-basis: 70%;
  }
  .ns-md-donation-amount .inner img {
    flex-basis: 30%;
  }
  .ns-md-donation-amount h3 {
    font-size: 19px;
    margin: 0;
  }
  .ns-md-donation-amount p {
    margin: 10px 0;
  }
  #ns-md-donation-form label {
    font-size: 17px;
    min-height: 56px;
    padding: 10px 15px;
  }
  form .half {
    display: block;
  }
  form .half > div {
    flex-basis: 100%;
  }
  form .flex {
    display: block;
  }
  form .flex > div {
    margin: 0;
  }
  #pre-footer .container {
    display: block;
  }
  #pre-footer .col-1,
  #pre-footer .col-2,
  #pre-footer .col-3 {
    text-align: center;
  }
  .ns-auction-container > div {
    flex-basis: 100%;
    flex-shrink: 1;
    flex-grow: 1;
  }
  .ns-auction-modal {
    width: 90%;
  }

  .ns-steps .step .number-container {
    padding: 10px;
  }
  .ns-steps .step {
    min-width: 75px;
  }

  .ns-team-member {
    flex-basis: 100% !important;
  }
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
