/*
	Theme Name: ovidiuro
	Theme URI: http://ovidiuro.ro
	Description: Custom Template built for ovidiuro.
	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: #333; color: #fff; text-shadow: none; }
::selection { background: #333; color: #fff; text-shadow: none; }
/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
}

body {
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #626161;
    margin:0;
}

/* clear */

hr {border:none;border-bottom:1px solid #ccc;margin:40px 0;clear: both !important}

img {
    height:auto;
    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: 'Open Sans',Arial,Helvetica,sans-serif;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-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;
}
input[type="checkbox"], input[type="radio"] {display: inline;width: auto;height:auto;vertical-align: middle;margin-top: 0; margin-bottom: 0 !important;}

input[type="file"] {height: auto}

textarea {width: 100%;}
input[type="submit"]:hover, button:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #d1d1d1;
}
input[disabled] {
    background-color: #f1f1f1;
    color:#333;
}
label {padding-bottom: 5px;display: inline-block;font-weight: bold;font-size: 16px;}

form h3, form h4, form h5, h3.form-header {border-bottom: 3px solid #f1f1f1; padding: 10px 15px 10px 0;color: #beb8b8;}
form a {color:#0f61d6;text-decoration: underline}
.checkbox {display: flex;align-items: flex-start}
.checkbox input {margin-right:10px;margin-top:5px;}
.checkbox label {display: inline-block;flex-grow:1;padding-bottom: 0}

form .field, form .flex {margin-bottom:25px;}
form .col-2 {flex-basis:50%;}
form .col-3 {flex-basis:33.33%;}
form .col-4 {flex-basis:25%;}
form .field hr {margin:0;}
form p {margin-top:0;margin-bottom:15px}

form .form-error {border:1px solid #f00;background-color:rgba(255,0,0,0.07);}
form .form-error-text {color:#f00;font-weight:bold;}

form fieldset {border-radius: 4px;margin-right:0;margin-left:0;border:1px solid #ccc;}
form fieldset legend {font-weight:bold}
form fieldset label {font-weight: normal}

form .form-controls {margin-top:20px;}
form input[type="submit"].btn.form-submit {padding-left:40px;padding-right:40px;}

.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 {font-size:15px;display: block;border:1px solid #d1d1d1;text-align: center;font-weight: bold;padding:10px;cursor:pointer;text-transform: uppercase;margin-bottom: 0;border-radius: 15px;}
.radio-button-style:hover label {border-color:#ba3951;}
.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: #b4b1b0;color:#fff}
.radio-button-style input:checked + label {background-color:#0f61d6;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:36px;margin-top:0;margin-bottom: 10px;color:#0f61d6;text-transform: uppercase;font-weight: 700;text-align: center;}
h2 {font-size:28px;margin-top:0;margin-bottom: 10px;color:#4d4d4d;text-transform: uppercase;font-weight: 700;}
h3 {font-size: 25px;line-height:27px;color: #4d4d4d; text-transform: uppercase;font-weight: 700;margin-top: 20px;margin-bottom: 10px;}
h3 {font-size: 20px;line-height:27px;color: #4d4d4d; text-transform: uppercase;font-weight: 700;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;}

.tag { background-color: #f3f3f3; padding: 1px 10px;border-radius: 3px; }
.tag.error {background-color: #f00;color:#fff;}
.tag.blue {background-color: #0f61d6;color:#fff;}
.tag.grey {background-color:#dedede}
.tag.success {background-color: #0c9d37;color:#fff}

.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;}
.white-text .tag {background-color: #fff;color:#333;}
.white-text .tag.error {background-color: #f00;color:#fff;}

/* 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}

img.aligncenter {margin:0 auto;display: block;height: auto;}
img.alignnone {height: auto;}

article.page iframe {width: 100%;}

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

#content-wrapper {position: relative;min-height: 65vh;margin-bottom: 100px;}
#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: 0 0 45px 0;margin:0;}

/* HEADER --------------------------- */
#pre-header {font-size:14px;font-weight:700;color:#888;border-bottom: 1px solid #e7e7e7}
#pre-header a:not(.btn) {color:#888;}
#pre-header a.btn {font-size: 13px;padding:5px 15px;}
#pre-header .left > .widget {padding:22px 0;text-align: left;float:left;margin-right:20px;}
#pre-header .right > .widget {padding:15px 0;text-align: right;float:right;margin-left:20px;}

#pre-header ul {list-style: none;margin: 0;padding:0;}
#pre-header ul a {color:#fff;}


#header {margin-bottom: 0;}
#header p {margin:0;}

#header_menu {margin-top:15px;margin-bottom:15px;}
#header_menu .inner {position:relative}
#header_menu, #header_menu a {color:#4d4d4d}

#header_menu .logo {position:absolute;top:0;left:0;height: 100%;width: 90px;}
#header_menu .logo a {display: inline-block;height: 100%;}
#header_menu .logo img {width: 100%;height: 100%;object-fit: contain;object-position: center;}

#header_menu nav {margin-left:90px;margin-top:20px;margin-bottom:20px;font-weight: 700;text-align: right;}
#header_menu nav ul {padding: 0;margin: 0;list-style: none;}
#header_menu nav ul > li { display: inline-block;position: relative; }
#header_menu nav ul > li > a {padding:15px 6px;display: block;font-size: 15px;}
#header_menu .menu > ul > li:hover > a {color:#333}
#header_menu .menu > ul > li.current_page_item > a {color:#333}
#header_menu .menu > ul > li.current_page_item {color:#333}
#header_menu nav li.menu-item-has-children > a {padding-left: 23px}
#header_menu nav li.menu-item-has-children:before {  content: "+"; margin-right:10px; font-weight: 200;display: inline-block;font-size: 20px;line-height: 10px;position: absolute;top: 20px;left:10px;}
#header_menu nav ul.sub-menu li.menu-item-has-children:before {top:16px;left:5px;}
#header_menu nav li > ul.sub-menu {position: absolute;top:100%;left: 0;display: none;background-color: #f9f9f9;z-index: 100;font-size: 16px; font-weight: 400;text-align: left}
#header_menu nav li > ul.sub-menu li {display: block;text-align: left;transition: all 0.2s}
#header_menu nav li > ul.sub-menu li > a {display: block;color:#555}
#header_menu nav li > ul.sub-menu li:hover {background-color:#fff;}
#header_menu nav li > ul.sub-menu li > a {padding:10px 20px;}
#header_menu nav li > ul.sub-menu li a {display: block}
#header_menu nav li > ul.sub-menu > li > ul.sub-menu {left:100%;top:0;}
#header_menu nav li:hover > ul.sub-menu {display: block;width: 250px;}
#header_menu nav > ul > li:after {content:" ";position: absolute;bottom:0;left: 50%;height: 3px;width:0;background-color:#0f61d6;transition: all 0.1s linear}
#header_menu nav > ul > li:hover:after {width: 100%; left: 0;}
#header_menu nav .btn {background-color:#0f61d6;color:#fff;display: inline-block;padding:5px;text-transform: none;margin-left:10px;}
#header_menu nav .btn.large {width: auto;padding:0;}
#header_menu nav .btn.large a {padding:7px 15px;color:#fff}
#header_menu nav .btn.heart a:before, #mobile-menu .btn.heart a:before {
    color:#fff;
    content: "\ebae"; font-family: 'IconFont', sans-serif;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin-right:10px;
}
#header_menu nav .btn.heart:hover a:before {content:"\ebac"}
#header_menu nav .btn.heart:after {display: none}
#header_menu nav ul > li.current-menu-item > a{color:#444;}
#header_menu nav ul > li.current-menu-item:after {width: 100%; left: 0;height: 3px;}
#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;}

#header .left {float: left;width: 50%;}
#header .right {float: right;width: 50%;text-align: right;}
#header .right > * {display: inline-block;border-left: 1px solid #fff;}
#header .right > *:first-child {border-left: none}
#header .ns-social-widget {font-size: 16px;padding-top: 10px;}
#header .ns-social-widget > div a {width: 20px;height: 20px;}
#header .widget_icl_lang_sel_widget {text-align: right;padding-top: 3px !important;}
#header #lang_sel_list ul {border: none;padding: 0;}
#header #lang_sel_list li {display: inline-block;float: none}
#header #lang_sel_list a:hover {background-color: transparent !important;}
#header #lang_sel_list a {padding-right: 10px;padding-left: 10px;font-size: 13px;}
#header #lang_sel_list li:first-child {border-right: 1px solid #ccc;}

/* MOBILE MENU */

#mobile-menu {display: none;}
#mobile-menu ul li a {color:#888;display: block;border-bottom: 1px solid #e1e1e1}
#mobile-menu > ul {max-height: 0;transition: all 0.1s linear;overflow-y: auto;overflow-x:hidden;position: absolute;z-index: 100;width: 100%;top:50px;left: 0;}
#mobile-menu > ul.open {max-height: 100vh}
#mobile-menu .open-submenu {display: none;}

#mobile-menu ul {background-color: #f1f1f1;list-style: none;padding: 0;margin: 0;}
#mobile-menu li {position: relative;}

#mobile-menu > ul > li > a {padding: 15px;border-bottom: 1px solid #e1e1e1}
#mobile-menu > ul > li > ul a {text-transform: none;padding: 10px 10px;font-weight: 200;color:#555}

#mobile-menu ul.sub-menu {border-bottom: 1px solid #f1f1f1;display: none;border-left: 5px solid #0f61d6}

#mobile-menu li.active > a {color:#333;}

#mobile-menu .menu-item-has-children > .open-submenu {
    position: absolute;top:0;right: 0;font-size: 15px;text-align: center;padding: 15px 10px;
    width: 54px;display: block;

}
#mobile-menu > ul > li .menu-item-has-children .open-submenu { height: 33px; }
.hamburger-menu {
    width: 38px;
    height: 30px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
.hamburger-menu span {
    display: block;
    position: absolute;
    height: 4px;
    width: 80%;
    background: #333;
    border-radius: 0;
    opacity: 1;
    left: 10%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.hamburger-menu span:nth-child(1) { top: 3px; }
.hamburger-menu span:nth-child(2),.hamburger-menu span:nth-child(3) { top: 13px; }
.hamburger-menu span:nth-child(4) { top: 23px; }
.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 .right > .logo-mobile {display: none}

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


.newsbox.register {margin-bottom: 40px;min-height: 75vh;}
.newsbox.register .login form {margin-bottom: 10px;}
.newsbox.register .login p a {text-decoration: underline}
.newsbox.register p {margin-top: 0;margin-bottom: 15px;}
.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 .ns_accounts_profile .projects .project .contenthalf:first-child {padding-right: 10px;}
.ns_accounts_profile .flex .half:last-child {padding-left: 10px;}

.ns_accounts_profile .projects {display: flex;flex-wrap:wrap;margin:0 -10px 80px -10px;}
.ns_accounts_profile .projects a {text-decoration: underline}
.ns_accounts_profile .projects h3 {margin-top: 0;}
.ns_accounts_profile .projects .project {padding:0 10px;flex-basis:50%;flex-grow: 1;flex-shrink: 1;margin-bottom: 20px;}
.ns_accounts_profile .projects .project .inner {background-color:#f1f1f1;padding:15px;height: 100%;display: flex;flex-direction: column;}
.ns_accounts_profile .projects .project.active .inner {background-color:#0f61d6;padding:15px;height: 100%;border-radius: 20px;}
.ns_accounts_profile .projects .content > div {margin-bottom: 10px;}
.ns_accounts_profile .projects .stats > div {margin-bottom: 5px;}
.ns_accounts_profile .projects .project .content {flex-grow: 1;min-height: 180px;}
.ns_accounts_profile .projects .project .content .stats > div  {display: flex;}
.ns_accounts_profile .projects .project .content .stats > div i {display: block;width: 20px;padding-top: 3px;padding-right:20px}
.ns_accounts_profile .projects .actions .btn {display: block}

.ns_accounts_profile #user-info {text-align: center;color:#fff;background-color: #0f61d6;padding:20px;border-radius: 20px;}
.ns_accounts_profile #user-info h2 {color:#fff;}
.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;transition: all 0.2s}
.ns_accounts_register > .clearfix > .half > div {padding:20px 35px;}
.ns_accounts_register .dark {background-color: #0f61d6;color:#fff;}
.ns_accounts_register .gray {background-color: #f7f7f7;border:1px solid #ccc;}
.ns_accounts_register .dark a, .ns_accounts_register .dark h2 {color:#fff;}
.ns_accounts_register .half.login input.button {color:#0f61d6 !important;background-color: #fff;}
.ns_accounts_register p {margin:5px 0;}
.ns_accounts_register p.half {padding:0 5px;}
.ns_accounts_register .content {margin-bottom: 25px;}
.ns_accounts_register input[type="submit"].btn {width: 50%;}

#ns_gradi_profile {flex-basis:100%;flex-grow: 1;flex-shrink: 1;}
#ns_gradi_profile .ns-gradi-info {padding:20px;background-color:#f1f1f1;text-align: center;border-radius: 20px}
#ns_gradi_profile .stats {display: flex;margin:20px 0;}
#ns_gradi_profile .stats > * {flex-basis:0;flex-shrink: 0;flex-grow: 1;text-align: center}
#ns_gradi_profile .stat > span {display: block;font-weight: normal;text-transform: uppercase}
#ns_gradi_profile .stat > span:first-child {font-size:20px;font-weight: bold}
#ns_gradi_profile .contact {margin:20px 0}
#ns_gradi_profile .contact span {display: inline-block;padding:0 10px;}

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

.ns-account-md-recurring .inner {background-color:#ba3951;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:#333;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 > div {padding:10px;}
.ns-account-donations-list > div > div {display: inline-block;width:25%;height: 100%;vertical-align: middle }
.ns-account-donations-list > div:first-child {padding-bottom: 5px;font-weight: bold;}
.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: #ba3951;color:#fff;border-radius: 2px;}
.ns-account-donations-list .donation div.status-1 span {padding:5px 10px;background-color: #0f61d6;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 .donation div a {padding:5px 10px;background-color: #ba3951;color:#fff;border-radius: 2px;}
.ns-account-donations-list > div > div:nth-child(5) {text-align: right;}

.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 a {color:#fff;font-weight: bold;text-decoration: underline}
#pre-header .ns-accounts-status a.btn {color:#0f61d6;background-color: #fff;text-decoration: none}

.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;}

/* Donation form shortcode */
.donation-form {background-color: #fff;padding:30px;max-width: 400px;margin:0 auto;}
.donation-form input {margin-bottom: 20px;}
.donation-form input.btn.large {padding:20px;}

.donation-form .half {display:flex;align-items: center;margin-bottom: 20px;}
.donation-form .half > div {flex-basis:50%;flex-shrink: 1;flex-grow:1;}
.donation-form .half > div:first-child {margin-right:5px;}
.donation-form .half > div:last-child {margin-left:5px;}
.donation-form .half .btn {margin-bottom: 0;}

/* FOOTER --------------------------- */
#pre-footer {background-color:#f1f1f1;;font-size: 15px;overflow: hidden;padding:20px 0;border-bottom: 1px solid #686565;box-shadow: inset 5px 5px 5px rgba(0,0,0,0.1);}
#pre-footer .container {display:flex;align-items: center;}
#pre-footer .col-1 {flex-basis:33.3%;text-align: left}
#pre-footer .col-2 {flex-basis:33.3%;text-align: center;padding:0 20px;}
#pre-footer .col-3 {flex-basis:33.3%;text-align: right}
#pre-footer h1, #pre-footer h2, #pre-footer h3 {margin-top: 0;}

#footer { padding:15px 0;background-color: #282a2b;color:#8c8989 }
#footer p {margin:5px 0 0 0;font-size: 13px;}
#footer .ns-social-widget > div > div {background-color: transparent;color:#8c8989}
#footer .ns-social-widget > div > div a {color:#8c8989}
#footer h1,#footer h2, #footer h3 {color:#fff;}
#footer .container > div {width: 33.3%;}
#footer .container > div.wide {width: 100%;float: none !important;}
#footer .col-1 {float: left}
#footer .col-2 {float: left}
#footer .col-3 {float: right;text-align: right}

#footer ul {list-style: none;margin: 0;padding: 0;font-size: 13px;}
#footer ul li {}
#footer ul li a {color:#8c8989;font-size: 13px;}
#footer ul li.important a {color:#ccc;font-weight: bold;}
#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: #0f61d6;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: #0f61d6;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;}





/*
 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 #0f61d6;padding-left: 10px;transition: all 0.1s linear}
.widget_rss ul li:hover {border-left: 10px solid #0f61d6}
.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;
}

/* Recent posts vc */
.widget_recent_entries li {margin-bottom: 10px;}

/* Scroll Menu */
#scroll-menu {position: fixed;right: 0;top:40%;background: #fff;z-index: 2}
#scroll-menu .scroll-link {border-bottom: 1px solid rgba(128,128,128,0.3);padding:5px 15px;color:#fff;background: #0f61d6;cursor: pointer;text-transform: uppercase}
#scroll-menu .scroll-link:hover {background: #fff;color:#0f61d6}

/* 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;}

/* Toggle between */
.toggle-between > * {display: none}
.toggle-between > .active {display: block}

/* Generic Button */
.btn, a.btn, button.btn, button.button, input.button, input.btn, input[type="submit"].btn  {
    font-size: 16px;line-height: 24px;
    height: auto;width: auto;
    background-color: #0f61d6;
    color:#fff;
    padding: 10px 15px;
    display: inline-block;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.1s linear;
    text-decoration: none !important;border:3px solid #0f61d6;cursor: pointer;border-radius: 30px;
    margin-bottom:5px;
    box-shadow: none;
}
.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;}
.btn.small, a.btn.small, button.btn.small {padding:3px 15px;font-size: 15px;}
.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: #fff;
    color:#0f61d6
}
.btn.secondary {background-color: transparent;border:3px solid #0f61d6;color:#0f61d6}
.btn.secondary:hover {background-color: #0f61d6;color:#fff}

.btn.disabled, .btn.disabled:hover, input[type="submit"].btn.disabled {background-color: #ccc;border-color:#ccc;color:#f1f1f1;cursor: initial;pointer-events: none}

.btn.inline {display: inline-block;padding:4px 10px;}

.white-text .btn, .btn.white, .white-text input[type="submit"].btn, .white-text button.btn, .white-text input.btn, .white-text a.btn, .white-text p a.btn  {color:#0f61d6;background-color:#fff;border-color:#fff; }
.white-text .btn:hover, .white-text input[type="submit"].btn:hover, .white-text button.btn:hover, .white-text input.btn:hover  {background-color:#fff;color:#000}
.white-text p a {color:#fff}

.btn.white:hover {background-color:#0f61d6;color:#fff;}

.white-text .btn.secondary, .white-text a.btn.secondary{background-color: transparent;border:3px solid #fff;color:#fff;border-radius: 30px;}
.white-text .btn.secondary:hover, .white-text a.btn.secondary:hover {background-color: #fff;border:3px solid #fff;color:#0f61d6}

.white-text .btn.disabled, .white-text .btn.disabled:hover {background-color: #fff;color:#0f61d6;opacity:0.4}

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

/* 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: 30px;background-image: url(../images/arrows.png);top:-30px;text-indent: 1000px;overflow: hidden;background-color: #fff;}
.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;}
.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: #0f61d6}

.ns_slide {height: 100%;position: relative;display: block;}
a.ns_slide {text-decoration: none; !important;}
.ns_slide .title {display: block;font-size: 25px;font-weight: 700;text-align: left;}

.ns_slide img {width:70%;height:100%;float:left;object-fit: cover;object-position: center}
.ns_slide img:nth-child(2) {display: none;}
.ns_slide .ns_caption {display:block;width:30%;height:100%;background-color:#0f61d6;float:left;color:#fff;position: relative}
.ns_slide .ns_caption .inner {position: absolute;top:50%;transform:translate(0,-50%);left:0;width: 100%;padding:30px;}

/* NS Slider - Services Template */
.ns_slider.services .ns_slide {text-align: left;display: block;}
.ns_slider.services .ns_slide .title {text-align: left;margin-bottom: 10px;}
.ns_slider.services .ns_caption {text-align:left;width: 40%;position: absolute;top:50%;right: 15px;left:auto;transform:translate(0,-50%);padding-left: 20px;text-shadow: none;}
.ns_slider.services .image {width: 45%;position: relative;display: inline-block}
.ns_slider.services .image:after {content:" ";width: 20%;height: 100%;background-color:rgba(255,255,255,0.2);position: absolute;top:0;left: auto;right:0;
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 );
}
.ns_slider.services .title {font-size:40px;line-height: 40px;color:#7bc043; }
body .ns_slider.services .subtitle {font-size:30px; line-height: 30px;margin-bottom: 10px;margin-top:10px;color:#ba3c51;display: inline-block;width: 100%}
.ns_slider.services .excerpt {font-size: 20px; line-height: 20px; color:#333;margin-top: 10px;}
.ns_slider.services .odd .ns_caption {left:15px;right:auto;padding-left: 80px;width: 40%;}
.ns_slider.services .odd {text-align: right;}
.ns_slider.services .odd .image:after { left:0;right:auto;
    background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffffff', endColorstr='#00ffff',GradientType=1 );
}


/* 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;display:flex;flex-wrap: wrap;align-items: center;justify-content:center;margin-bottom:40px;}
.ns-sponsors .sponsor .inner {padding:40px;}
.ns-sponsors .sponsor img {height: 100%;width: 100%;object-fit: contain;object-position: center;}

/* Social Widget */
.ns-social-widget {text-align: center;font-size:25px;}
.ns-social-widget > div {color:#4e4d4d;display: inline-block;padding: 0 7px;}
.ns-social-widget > div > div {display: table;height: 20px;background-color: #fff;padding:4px;}
.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:#333;border:1px solid #d1d1d1;margin-bottom: 10px;border-left: 5px solid #0f61d6; }
.notification a {color:#000}
.notification a.btn {color:#fff}
.white-text .notification {border:none;color:#333}
.white-text .notification a {color:#000;text-decoration: underline}
.notification.error {border-left: 5px solid #f00;border-color:#f00;}
.notification.error.important {background-color: #f00;color:#fff;border-color:#f00;}
.notification.error.important a {color:#fff;text-decoration: underline}
.notification.success {border-left: 5px solid #ff0; }

/* Category view */
.category-view {margin-bottom: 60px;min-height: 500px;}
.category-view > .clearfix {display: flex;flex-wrap: wrap;}
.category-post {margin-bottom: 30px;width: 50%;padding:5px;display: flex;align-items: center}
.category-post h2 {font-size: 23px;line-height: 100%;color:#0f61d6;max-height:120px;}
.category-post h2 a {color:inherit}
.category-post .post-thumb {float: left;width: 250px;height:250px;flex-basis:250px;position: relative;margin-right: 20px;display: block;flex-shrink: 0;flex-grow: 0;}
.category-post .post-thumb img {width:100%;height:100%;object-fit: cover;object-position: center;}
.category-post .post-content {flex-shrink: 1;flex-grow: 1;}

.category-post .post-content p {margin-top: 10px;margin-bottom: 0;}
.category-post .date {font-weight: bold;color:#5e5f61;margin-bottom: 10px;}
.category-post .view-article {display: none}

.category-view.crm .category-post, .category-view.hospovesti .category-post { width: auto;float: none; margin-bottom: 60px; }
.category-view.crm .post-thumb, .category-view.hospovesti .post-thumb { width: 30%; }
.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 { width: 65%;float: right }
.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;margin-top: 80px;}
.pagination span, .pagination a {display: inline-block;min-width: 30px;margin:0 5px;padding:5px;text-align: center;}
.pagination span.current {background-color:#0f61d6;color:#fff;}
.pagination a:hover {background-color:#f3f3f3}

/* Single article view */
article p {margin-top:0;margin-bottom:10px;}
.single-article {margin-bottom: 60px;}
.single-article h1 {margin-top: 20px;margin-bottom: 20px;}
.single-article .post-content a {text-decoration: underline}

.single-article .post-thumb {display: block;margin-bottom: 30px;}
.single-article .post-thumb img {width: 100%;height: auto;max-height:600px;object-fit: cover;object-position: center }

blockquote {border-bottom:1px solid #333; border-top:1px solid #333;margin:20px 0;padding:20px 20px 20px 40px;overflow:hidden;position: relative;font-size: 15px;}
blockquote em {font-size:17px;padding-bottom: 10px;display: block}
blockquote br {height: 0px;display: block}
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 img.alignnone,article img.aligncenter, article img.alignleft, article img.alignright {margin-bottom:20px;}
article img.alignleft {float:left;margin-right:20px;}
/* NS Contracts */
#ns-calc {text-align: center}
#ns-calc h3 {margin:15px 0 10px 0;}
#ns-calc .number {font-weight: bold;}
#ns-calc .col-3 > div { float: left; width: 33.3%; }
#ns-calc .col-2 > div { float: left; width: 50%; }
#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:#0f61d6;border-radius: 5px;margin-top: 20px;cursor: pointer; }

#ns_contract {}
#ns_contract .form-element {margin-top: 0;margin-bottom: 10px;}
#ns_contract #company-cui select {float: left;margin-right: 10px;width: 20%;padding:0;}
#ns_contract #company-cui input {float: left;width: calc(80% - 10px);}


#ns_contract .col-2 {margin:0 -5px;}
#ns_contract .col-2 .form-element {float: left;width: 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: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#007ac143', endColorstr='#0f61d6',GradientType=0 );
}
#ns_contract.open:after {display: none;}
#ns_contract button {
    display: block;
}

div.label {font-weight: 700;}

/* NS POSTS - VC Shortcode */
.ns-posts-grid .inner {display: flex}
.ns-posts-grid .ns-post {margin-bottom: 20px;}
.ns-posts-grid .ns-post h3 {margin-top:10px;}
.ns-posts-grid .ns-post .inner .text {flex-grow:1;}
.ns-posts-grid .ns-post img {flex-basis: 40%;height:auto;margin-right: 30px;}
.ns-posts-grid .ns-post .btn {margin-top: 20px;}

/* 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 img {position: static;height: auto;}

/* NS TEAM */
.ns-team-member {text-align: center;}
.ns-team-member .image-container {max-width: 200px;margin:0 auto;}
.ns-team-member .image {width: 100%;padding-bottom: 100%;background-size:cover;background-position: center;background-repeat: no-repeat;border-radius: 50%;box-shadow: 2px 2px 5px rgba(0,0,0,0.3);border:4px solid #fff;}
.ns-team-member .name {
    font-size: 20px;
    font-weight: bold;
    line-height: 27px;
    color: #3a4d3a;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 10px;
}
.ns-team-member .job {}

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

/* NS_MOBILPAY_DONATIONS Plugin */
#ns-md-donations {border:1px solid #d1d1d1;background-color:#fff;height: 100%;}
#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 .mobilpay-submit {display: block;margin-top:15px;width:100%;}

#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-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;margin-top: -10px;}
#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;
    }
}

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

.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}
.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: top;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}

/* MISC */
.investors-table, .wp-table-reloaded {width: 100%}
.investors-table td {padding:10px;}
.investors-table td:first-child {width: 150px;text-align: left;}
.investors-table td img {float:none !important;margin:0}

.grid-table {width: 100%;margin-bottom: 30px;}
.grid-table tr {}
.grid-table td {padding:10px;text-align: center;vertical-align: middle;border:none !important;}
.grid-table a {display: inline-block;}
.grid-table img {float:none !important;margin:0 !important;}

.wpb_text_column iframe { width: 100%; }
article.page center iframe {width: 100%;height: 500px;}

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

.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: 10px !important;}

.flower-background {background-image: url(images/flower-bg.png); background-position: 110% 110% !important;background-repeat: no-repeat; background-attachment: scroll !important;}
.white-text.flower-background {background-image: url(images/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: #0f61d6;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: #0f61d6;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: #0f61d6;color:#fff;}
.vc_btn3.vc_btn3-color-green:hover, .vc_btn3.vc_btn3-color-green.vc_btn3-style-flat:hover {background-color: #0f61d6;color:#fff;}

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

body .vc_row {padding-top: 0;padding-bottom: 100px;background-size: cover !important;background-position: center !important;}
body .vc_row:last-child {padding-bottom: 0;}
.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;padding-right: 10px !important;}
.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: #ba3951}
.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: #0f61d6 }
.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: #0f61d6 !important;}
.wpb-js-composer .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel.vc_active .vc_tta-panel-title > a i:before  {border-color:#fff !important;}
body .vc_row[data-vc-full-width] {overflow:visible}

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

.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid > li {margin-bottom:20px;}

.desktop-only {}
.mobile-only {display: none}

.edit-post {}

/* 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: #0f61d6;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:#333 !important;padding:0 6px;border-radius:10px;font-size: 15px !important;cursor:pointer}
span.info:hover {background-color: #666;color:#fff;}

#butterfly {width:150px;height: 150px;position:fixed;top:170px;right:10px;z-index: 1;cursor: pointer;display: block;
    background-image:url(../images/butterfly.svg);background-size:100%;background-repeat: no-repeat;background-position: center;}
#butterfly span {font-size:13px;line-height:12px;padding:88px 0 0 34px;font-weight:bold;color:#fff;text-align: center;display: block;opacity:0.9;transition:all 0.2s;position:relative;z-index: 1}
#butterfly:hover span {opacity: 1}
#butterfly:after {content:" ";width:150px;height: 150px;position:absolute;top:0;right:0; animation: pulse 2s infinite;transition:all 0.2s;
    background-image:url(../images/butterfly.svg);background-size:100%;background-repeat: no-repeat;background-position: center;z-index:0}

#cloud {width:120px;height: 120px;position:fixed;top:45vh;right:20px;z-index: 1;cursor: pointer;display: block;
    background-image:url(../images/cloud.svg);background-size:100%;background-repeat: no-repeat;background-position: center;}
#cloud span {font-size:13px;line-height:14px;padding:65px 0 0 1px;font-weight:bold;color:#fff;text-align: center;display: block;opacity:0.9;transition:all 0.2s;position:relative;z-index: 1}
#cloud:hover span {opacity: 1}
#cloud:after {content:" ";width:120px;height: 120px;position:absolute;top:0;right:0; animation: pulse 2s infinite;transition:all 0.2s;
    background-image:url(../images/cloud.svg);background-size:100%;background-repeat: no-repeat;background-position: center;z-index:0}


@keyframes pulse {
    0%   { transform:scale(1);opacity:1 }
    50% { transform:scale(1.2);opacity:0 }
    100% { transform:scale(1.2);opacity:0 }
}

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

@media only screen and (max-width:1280px) {
    .container {max-width: 100%;width:100%;padding:0 30px;}
    #page_background_video iframe {width:300%;height:100%;top:0;left:-100%;}
    .category-post .post-thumb {width: 150px;height: 150px;flex-basis:150px;}
    #content-wrapper {padding:0 20px;}
    #header {padding:0 20px;}
    #footer {padding:20px;}
    #pre-footer {padding:30px;font-size: 15px;}
    #header_menu nav {margin-left:115px;}
    #header_menu nav {font-size: 14px;}
    #header_menu nav ul > li > a {padding: 15px 5px;}
    #header_menu nav li.menu-item-has-children > a {padding-left: 20px;}
    #header_menu nav .btn.large a {padding:9px 15px;font-size: 14px;}
    #header_menu nav li.menu-item-has-children::before {left:5px;}
    .donation-form {padding:20px;}
    .ns_accounts_profile .projects .project {flex-basis:50%;margin-bottom: 30px;}
}

@media only screen and (max-width:950px) {
    body {padding-top:60px;}
    .ns_slide {height: auto !important;;}
    .ns_slide img {height: 450px;width: 100%;object-fit:cover;float:none;object-position: center}
    .ns_slide .ns_caption {float:none;width: auto;position: static;height: auto;display: block}
    .ns_slide .ns_caption .inner {position: static;transform: translate(0,0);display: block;padding: 15px 20px;}
    .category-post {width: auto;float: none;height: auto}
    .category-post h2 {text-align: left}
    #pre-header {background-color:rgba(255,255,255,0.8);}
    #header .right > .logo-mobile {display: inline-block;}
    #pre-header .logo-mobile img {max-height: 30px;transform: scale(1.5);}
    #pre-header .widget {display: none}
    #pre-header .right > .widget_polylang {display: inline-block;padding:0}
    #pre-header ul {padding-left:0;}
    #pre-header {position: fixed;top:0;left: 0;width: 100%;z-index: 1000;padding:10px;}
    #pre-header .ns-social-widget {display: none}
    #pre-header .container {padding:0}
    #header_menu nav a {padding: 10px;}
    #header .logo {padding: 25px 0 25px 0;}
    #header .logo a {width: 90%;height: auto;}
    #header_menu nav {padding: 0;}
    #header_menu {display: none}
    #mobile-menu {display: block;}
    #mobile-menu .btn.large {padding:20px;}
    #mobile-menu .btn.large a {padding:0;border-bottom: none;color:#fff;display: inline-block;position: relative;top:3px;}
    #mobile-menu .btn.heart a:before {color:#fff}

    .admin-bar #pre-header {top:32px;}
    .ns-social-widget > div a {width: 50px;height: 50px;font-size: 25px;}
    .ns-social-widget > div {padding:0 7px;}
    #pre-footer {font-size: 15px;}
}

@media only screen and (max-width:640px) {
    #cloud {display:none}
    .admin-bar #pre-header {top:46px;}
    html {margin-top:50px;}
    .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}
    h1.page-title {font-size: 27px;line-height: 27px;padding: 15px 0 15px 0;}
    h2 {text-align: center;font-size: 24px;}
    .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 10px;}
    .donor-boxes .wpb_text_column, .donor-boxes .wpb_raw_code {padding:20px;}
    .ns_slide .title {font-size: 40px;line-height: 40px; margin-bottom: 20px;}
    .ns_slide .ns_caption {float:none;width: 100%;}
    .ns_slider {height: auto;}
    .ns_slider.services .ns_slide img {display: block;width: 100%;height: 250px;object-fit: cover;}
    .ns_slider.services .odd .ns_caption {padding-left: 10px;}
    .ns_slider.services .title {font-size: 17px;line-height: 100%;}
    .ns_slider.services h3 {font-size: 16px;line-height: 100%;text-align: left}
    .ns_slider.services .excerpt {font-size: 12px;line-height: 100%;}
    .ns_slider.services .ns_caption {top:10px;transform: none;}
    .category-post .post-thumb {width: 100%;height: 200px;margin-bottom: 10px}
    h1,h2,h3,h4 {text-align: center}
    .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;}
    .ns-social-widget {text-align: center}
    #footer p {text-align: center !important;}
    #header .ns-social-widget {font-size: 20px;}
    .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 {flex-basis:50% !important;}
    .ns-sponsors .sponsor img {width: 100%;height: auto;}
    #ns-calc .calc-inputs input, #ns-calc .calc-inputs select, #contract-sum {font-size: 14px;}
    #ns-calc .max-donation {font-size: 25px;}
    #ns-calc {margin-bottom: 20px;}
    #ns_contract { max-height: 200000px; }
    .calc-inputs label {min-height: 44px;display: block;}
    h1 {font-size:30px;}
    h2, .category-post h2 {font-size:22px;}
    h3 {font-size: 20px;}
    h3 {font-size: 17px;}
    #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-posts-grid .ns-post {float: none;position: relative;margin-bottom: 20px;}
    .ns-posts-grid .ns-post .inner .text {position: static;width:auto;transform:none;padding-left: 0;}
    .ns-posts-grid .ns-post img {float: none;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_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;}
    #header .left {width:20%;}
    #header .right {width: 80%}
    .category-view.crm .post-thumb, .category-view.hospovesti .post-thumb { width: auto;float: none }
    .category-post {display: block}
    .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;}
    #pre-footer .widget {margin-bottom:20px;margin-top:20px;}
    #footer ul li {text-align: center}
    #butterfly {bottom:30px;top:auto;width: 120px;height: 120px;}
    #butterfly:after {width:120px;height: 120px;}
    #butterfly span {font-size:13px;padding:70px 0 0 35px;}

    .ns-gradinite-progress .text {font-size: 14px;width:100%;text-align: center}

    .ns_accounts_profile .projects .project {flex-basis:100%;margin-bottom: 30px;}
}

/*------------------------------------*\
    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;
    }
}
