/* main elements */
body {
    /*background: #000000 url("../img/body_gray_bg.png") repeat scroll top left;*/
}
.wrapper {
    background-image: url("../img/body_bg2.png");
    background-repeat: repeat;
    background-attachment: scroll;
    /*overflow: visible;*/
}
.not-active {
    pointer-events: none;
    cursor: not-allowed;  
}
.input-disabled {
    border-color: transparent;
    background-color: transparent;
}
.cursor-text {
    cursor: text;
}
/* header */
.main-header {
    background-color: #fff;
}
#objLogo {
    height: 100px;
    width: auto;
    display: block;
    margin: 0 auto;
}
/*.langs-curr {
    position: absolute;
    right: 15px;
    top: 0;
}
.langs-curr .select2 {
    width: auto !important;
}
.langs-curr .select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    height: auto !important;
}
.select2-container .img-flag {
    width: 32px;
    height: 16px;
    display: block;
}*/
/* main menu */
/* removed, scrollbar shows in mobile menu */
/*#navbar {
    padding: 0;
}*/
#navbar > ul {
    margin-left: -15px;
}
#navbar ul li {
    min-width: 44px;
}
#navbar ul li.header {
    font-weight: 300;
    text-align: center;
    text-transform: lowercase;
    font-style: italic;
}
.navbar-fixed-top #navbar {
    padding: 0 15px;
}
#navbar > ul:first-child .fa, #navLogin .fa-sign-in, #navRegister .fa-user-plus {
    margin-right: 5px;
    width: 20px;
    text-align: center;
}
#navbar > ul:first-child span.glyphicon {
    font-size: 12px;
}
/*.navbar-collapse.in {
    overflow-y: visible;
}*/
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: transparent;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
#myCarousel.carousel {
    margin: -15px -15px 0 -15px;
}
#myCarousel.carousel img {
    width: 100%;
    object-fit: cover;
    height: 500px;
}
.carousel-caption {
    bottom: 60px;
}
/* login - register */
.navbar-collapse {
    max-height: none;
}
.user-header .fa {
    margin: 15px;
}
.user-menu > ul {
    min-width: 200px;
}
#login_button i, #register_button i {
    line-height: 20px;
}
#login_form .forgot_password_hint {
    display: none;
    line-height: 17px;
}
/*@media (min-width: 992px) {
    .user-menu a.dropdown-toggle {
        height: 50px;
    }
}*/

/* fa icons */
.fa-1 {
    font-size: 1em;
}
.fa-2 {
    font-size: 1.2em;
}
.fa-3 {
    font-size: 1.4em;
}
.fa-4 {
    font-size: 1.7em;
}
.fa-5 {
    font-size: 2em;
}
.fa-6 {
    font-size: 2.5em;
}
.fa-7 {
    font-size: 3em;
}
.fa-8 {
    font-size: 5em;
}
.fa-9 {
    font-size: 10em;
}
.fa-reputation-1 {
    color: #CD7F32;
}
.fa-reputation-2 {
    color: silver;
}
.fa-reputation-3 {
    color: gold;
}
.content {
    min-height: 500px;
}
.content .fa-magic {
    color: green;
}
.content .fa-lightbulb-o  {
    color: #0073b7;
}
.content .fa-heartbeat  {
    color: red;
}
.content .fa-bullhorn  {
    color: black;
}
.content .fa-user  {
    color: black;
}
/* form validation */
.error_class {
    border-color: red;
}
label.error_class {
    color: red;
}
.has-feedback .form-control {
    padding-right: 32px;
}

/* challenge */
.challenge > .box-header .box-title {
    margin-right: 90px;
}
.challenge .box-footer input[type=number], .charity .box-footer input[type=number] {
    max-width: 100px;
}
.challenge .box-header .box-tools > .btn-box-tool > i + .label {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 9px;
    padding: 2px 3px;
}
.challenge input.knob {
    font-size: 15px !important;
}
.challenge > .box, .charity > .box {
    margin-bottom: 50px;
}
.challenge .box .box {
    box-shadow: none;
}
.challenge .charity .logo {
    max-width: 100%;
/*    max-height: 60px;*/
}
.challenge .carousel-inner > .item > a > img, .carousel-inner > .item > img {
    margin: 0 auto;
    /*max-height: 300px;*/
}
.challenge .challenge-follower {
    display: inline-block; 
    font-size: 10px; 
    padding-right: 5px;
    margin-bottom: 5px;
}
.challenge .favorite-holder {
    position: absolute;
    right: 0;
    top: 0;
    border-top: 40px solid #d2d6de;
    border-left: 40px solid transparent;
}
.challenge .favorite-holder-on {
    border-top-color: #3c8dbc;
}
.challenge .btn-favorite {
    top: -12px;
    right: -12px;
    color: #fff;
}
.challenge #tab_waiting_evidence .evidence-files > div {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    margin-bottom: 10px;
}
.challenge #tab_waiting_evidence .evidence-files img, .challenge #tab_waiting_evidence .evidence-files video {
    max-height: 200px;
    width: auto;  
    border: 1px solid #f4f4f4;
    vertical-align: middle;
}
.challenge #tab_waiting_evidence .evidence-files a.delete-file {
    position: absolute;
    top: -10px;
    right: -10px;
    color: red;
}
.challenge .nav-tabs-custom #tab-select + .select2 {
    width: 180px !important;
    margin: 10px 10px 0px 10px;
}
/* charity */
.charity .box-header .logo {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    /*max-height: 60px;*/
}
.charity .box-header .title {
    text-align: center;
}
#new-charity_form .charity-img {
    max-height: 60px;
}
#new-charity_form .progress {
    display: none;
}
.charity-donor {
    display: inline-block; 
    font-size: 10px; 
    padding-right: 5px;
    margin-bottom: 5px;
}
/* company */
#new-company_form .adv-img {
    max-height: 60px;
}
#new-company_form .progress, #edit_ads_form .progress {
    display: none;
}
#edit_ads_form .adv-element {
    margin: 5px 15px 15px 15px;
    display: none;    
    border-bottom: 1px solid #d2d6de;
    /*transform: scale(0.8);*/
}
#edit_ads_form div.adv-element:last-of-type {
    border: none;
}
#edit_ads_form #add-new_adv {
    margin-left: 30px;
    /*transform: scale(0.8);*/
}
/*#edit_ads_form div.adv-element:first-of-type .ads_type-video {
    display: none;
}*/
#edit_ads_form .media-files > div {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    margin-bottom: 10px;
}
#edit_ads_form .media-files img {
    max-height: 100px;
    width: auto;    
    border: 1px solid #f4f4f4;
}
#edit_ads_form .media-files a.delete-file {
    position: absolute;
    top: -10px;
    right: -10px;
    color: red;
}
#edit_ads_form .media-file-path {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: rgba(255, 255, 255, 0.7);
    line-height: 15px;
    font-size: 13px;
    padding: 3px;
    width: 100%;
    word-wrap: break-word;
}
/* file uploader */
.file_uploader .progress {
    display: none;
}
.remove-crop {
    position:absolute; 
    right: -11px; 
    top: -14px; 
    z-index: 999; 
    color:#000; 
    font-size: 16px;
    cursor: pointer;
}
#crop_holder {
    width:400px; 
    height: 400px; 
    border:1px #52be71 solid;
    position: relative;
}
.best_img_size {
    margin-top: 10px;
    display: block;
}
/* admin */
.admin {
    position: relative;
}
.admin #table-charities .logo, .admin #table-company .logo {
    max-width: 100px;
    max-height: 60px;
}
.admin table.dataTable textarea {
    width: 100%;
    resize: vertical;
}
.admin table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child::before, .admin table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child::before {
    top: auto !important;
    line-height: 100%;
}
.admin table.dataTable > tbody > tr.child span.dtr-title {
    min-width: 100px !important;
}
.admin .stats-table {
    margin: 0 auto 30px auto;
    max-width: 200px;
}
.admin .stats-table th a {
    font-size: 24px;
}
.admin .stats-table td:nth-child(2) {
    text-align: right;
}
.admin .stats-table tfoot td {
    font-weight: bolder;
}
.admin #table-challanges .challenge-description {
    max-width: 250px;
    max-height: 50px;
    overflow: auto;
}
.admin #table-challanges .evidence-files img, .admin #table-challanges .evidence-files video, .admin #table-challanges .evidence-files iframe {
    max-height: 200px;
    vertical-align: middle;
}
.admin #new_charity, .admin #new_company {
    position: absolute;
    top: 20px;
    right: 10px;
}
.admin #table-charities .progress {
    display: none;
}
/* user statuses */
.user-status-0 {
    border: 3px solid red; /* inactive */
}
.user-status-1 {
    border: 3px solid green; /* active */
}
.user-status-2 {
    border: 3px solid blue;  /* pending */
}
.user-status-3 {
    border: 3px solid black;  /* deleted */
}
/* charity statuses */
.charity-status-0 {
    border: 3px solid red; /* inactive */
}
.charity-status-1 {
    border: 3px solid green; /* active */
}
.charity-status-2 {
    border: 3px solid blue;  /* pending */
}
.charity-status-3 {
    border: 3px solid black;  /* deleted */
}
/* filter select */
.filter-results {
    float: right;
    margin-top: -30px;
}
.filter-results .select2 {
    width: auto !important;
}
.filter-results .select2-selection {
    border: none;
}
/* forms */
.waiting_indicator {
    display: none;
}
#user-profile_form .progress {
    display: none;
}
#user-profile_form .box {
    box-shadow: none;
}

/* contact form */
#contact_form textarea#contact_message {
    height: 100px;
}

/* lockscreen */
.lockscreen {
    background: none;
    display: table;
    margin: 30px auto;
/*    position: relative;
    top: 50%;
    transform: translateY(-50%);*/
}
/* Back to top button */
#back-top {
    position: fixed;
    z-index: 1000;
    bottom: 40px;
    right: 50px;
    display: none;
}
#back-top a {
    width: 60px;
    height: 60px;
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    background: #A9A9B1;
    /* background color transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    background: #3c8dbc;
}
/* arrow icon (span tag) */
#back-top i {
    margin-top: 15px;
    font-size: 28px;
}

@media only screen
and (min-width : 320px)
and (max-width : 480px) {
    #back-top {
        position: fixed;
        bottom: 10px;
        right: 30px;
    }
    #back-top a {
        width: 40px;
        height: 40px;
    }
    #back-top i {
        margin-top: 7px;
        font-size: 20px;
    }
}

/* support messages */
.box .box-footer .support-group span.input-group-btn {
    width: auto;
}
.box .box-footer .support-group span.input-group-btn:first-of-type {
    padding-left: 10px;
}
.box .box-footer .support-group .support-message {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}
@media (min-width: 992px) {
    .content .row .charity .box .box-footer .support-group .support-message {
        display: table-caption;
    }
}
/* status-bar */
#status-bar {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    /*background-color: #3c8dbc;*/
    border-top: 1px solid #000;
    color: #fff;
    padding: 0 40px;
    z-index: 99;
}
#status-bar i.status-icon {
    margin: 10px;
}
#status-bar a.status-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    color: #fff;
}
#status-bar a:focus {
    outline: none;
}
/* user profile */
#user-profile_form .user-photo {
    max-width: 300px;
    max-height: 300px;
}
/* override default */
.mfp-zoom-out-cur {
    cursor: default;
}
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: pointer;
    width: auto;
}
.mfp-timer {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 44px;
    line-height: 44px;
    opacity: 0.65;
    color: #fff;
    font-size: 20px;
    text-align: right;
    
}
.mfp-iframe-holder .mfp-timer {
    top: -40px;
}
table.dataTable tbody tr.odd {
    background-color: #eaeaea;
}
.box-primary > .box-body p img, .box-success > .box-body p img {
    display: block;
    max-width: 100%;
    height: auto;
}
.box-primary > .box-body video, .box-success > .box-body video {
    display: block;
    max-width: 100%;
    height: auto;
}
.box-success .box-body .carousel .item {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.box-success .box-body .carousel .item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.box-primary > .box-body p iframe, .box-success .box-body iframe {
    display: block;
    max-width: 100%;
}
/* overlay */
.overlay,
.overlay-wrapper > .overlay,
.loading-img,
.overlay-wrapper > .loading-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.overlay,
.overlay-wrapper .overlay {
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}
.overlay > .fa,
.overlay-wrapper .overlay > .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}
.overlay.dark,
.overlay-wrapper .overlay.dark {
    background: rgba(0, 0, 0, 0.5);
}
.overlay-cover {
    background: rgba(255, 255, 255, 1);
}
.overlay-start {
    display: block;
}
/*.demo, .main-header {
    background: #fff url("../img/demo_bg3.png") repeat;
}*/

/* other */
.grecaptcha-badge {
    display: none;
}