.contest-edit {

    padding: 15px 0;

    background: #fff;

    margin-top: 10px;

}

#project-description {

    padding: 20px 0;

}



.contest-edit h2 {

    color: #076d28;

}



.contest-beneficjent-tiles h2 {

    color: #076d28;

}



.contest-edit .box-entry {

    clear: both;

}

.contest-edit .box-entry .control-group {

    display: block;

    margin-top: 15px;

}



.contest-edit .box-entry .control-label {

    text-align: left;

    margin: 0;

    padding: 0px;

}

.contest-edit .box-entry .control-label label {

    font-weight: 500;

    display: block!Important;

}

.contest-edit .box-entry .controls input, .contest-edit .box-entry .controls select, .contest-edit .box-entry .controls textarea {

    border: 1px solid #28aad7;

    width: 100%;

    height: 36px;

    padding: 6px 12px;

    background-color: #fff;

    background-image: none;

    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);

    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;

}

.contest-edit .box-entry .controls textarea {
  height: 100px;
}

.contest-edit h3.lead {

    font-size: 24px;

    color: #005ca5;

    font-weight: 500;

}

.contest-edit .zgody .controls {

    float: left;

    width: 20px;

    margin-top: 7px;

}

.contest-edit .zgody .control-label {

    float: right;

    width: calc(100% - 30px);

}

.contest-edit .form-horizontal .control-label {

    text-align: left;

}

.one-tile .image .default-image {

    display: block;

    width: 100%;

}

.one-tile .image .default-image {

    width: 100%;

}

.one-tile .image .default-image img {

    display: block;

    text-align: center;

    margin: 0 auto;

    width: 100%;

    height: 240px;

    object-fit: cover;

}

.one-tile .first-view .title h3 {

    font-size: 1.2em;

}



.item_fields .dben {

    background: #f7f8f8;

    margin: 20px 0px;

    border-radius: 10px;

    font-size: 0.8em;

}

.item_fields .dben .nazwa_benef {

    font-size: 20px;

    color: #2f9c4d;

    font-weight: 500;

    margin: 15px 20px;

}

.item_fields .dben .dane_benef-b .entry {

    font-size: 18px;

    font-weight: 400;

    margin: 15px 20px;

}



.contest-edit .required .star {

    color: #005ca5;

}



.item_fields .description {

    margin: 20px 0;

}



#vote-button {

    padding: 10px 40px;

}

#vote-form .control-label label {

    font-weight: 500;

    display: block!Important;

    margin: 20px 0;

}

#vote-form .controls input {

    border: 1px solid #28aad7;

    width: 100%;

    height: 36px;

    padding: 6px 12px;

    background-color: #fff;

    background-image: none;

    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);

    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;

}

#vote-form .zgoda {
    display: block;
    margin: 20px 0;
}
#vote-form .zgoda .controls {
        float: left;
        width: 20px;
}

#vote-form .zgoda .controls input{
    height: 26px;
    padding: 0;
    margin: 0;
    box-shadow: none;
    width: auto;
}

#vote-form .zgoda .control-label {
    float: right;
    width: calc(100% - 30px);
    margin-top: 3px;
}

#vote-form button {

    margin: 20px 0;

}



.loader {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 50px;

    height: 50px;

    background: transparent;

    margin: 30px auto 0 auto;

    border: solid 8px #ea6601;

    border-top: solid 8px #009ad0;

    border-radius: 50%;

    opacity: 0;

}



.check {

    width: 100%;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    transform: translate3d(-4px, 50px, 0);

    opacity: 0;

}

.check span:nth-child(1) {

    display: block;

    width: 10px;

    height: 5px;

    background-color: #fff;

    transform: rotate(45deg);

}

.check span:nth-child(2) {

    display: block;

    width: 20px;

    height: 5px;

    background-color: #fff;

    transform: rotate(-45deg) translate3d(14px, -4px, 0);

    transform-origin: 100%;

}





.loader.active {

    animation: loading 2s infinite;

    animation-fill-mode: forwards;



}



.check.active {

    opacity: 1;

    transform: translate3d(-4px,4px,0);

    transition: all .5s cubic-bezier(.49, 1.74, .38, 1.74);

    transition-delay: .2s;

}



@keyframes loading {

    30% {

        opacity:1;

    }



    85% {

        opacity:1;

        transform: rotate(1080deg);

        border-color: #d02710;

    }

    100% {

        opacity:1;

        transform: rotate(1080deg);

        border-color: #2f9c4d;

    }

}



.buttonload {

    background-color: #4CAF50; /* Green background */

    border: none; /* Remove borders */

    color: white; /* White text */

    padding: 12px 24px; /* Some padding */

    font-size: 16px; /* Set a font-size */

}



.contest-edit .invalid {

    color: #9d261d;

    font-weight: bold;

}

.contest-edit label.required.invalid:after {

    content: "Uzupełnij pole";

    font-size: 11px;

    display: block;

    margin-top: 5px;

}



.contest-edit .form-check-input.invalid {



}



.contest-tiles {

    width: 100%;

    display: flex;

    flex-wrap: wrap;

}



.contest-tiles .one-tile {

    margin: 20px 0;

}



#terms_text {

    display: block;

    clear: both;

}



.customblocks .link-block {

    color: #000;

}



#videoContainer video {

    width: auto;

    height: 100%;

    display: block;

    margin: 0 auto;

}



@media(max-width: 767px){

    #videoContainer video {

        width: 100%;

        height: 100%;

        display: block;

        margin: 0 auto;

    }

}



figure#videoContainer[data-fullscreen=false] {

    height: 510px;

    background: #000;

    margin-bottom: 40px;

}





#videoContainer[data-fullscreen=true] .controls[data-state=visible] {

    top: -35px;

    background: #fff;

    width: 100%;

}



@media (max-width: 991px) {

    .slider {

        top: 0!important;

    }

}

.blog.news-blog .item:hover .first-view {
    display: block!important;
}

#project-button {
    position: relative;
    padding-right: 35px;
}
#project-button[aria-expanded=false]:before {
    content: "\f054";
    display: block;
    color: #ffffff;
    font-family: FontAwesome;
    font-size: 14px;
    position: absolute;
    right: 15px;
    bottom: 8px;
    z-index: 1;
    pointer-events: none;
    transform: rotate(
           0deg
    );

}
#project-button[aria-expanded=true]:before {
    content: "\f054";
    display: block;
    color: #ffffff;
    font-family: FontAwesome;
    font-size: 14px;
    position: absolute;
    right: 15px;
    bottom: 8px;
    z-index: 1;
    pointer-events: none;
    transform: rotate(
            270deg
    );
}

#vote-button {
    position: relative;
    padding-right: 45px;
}
#vote-button[aria-expanded=false]:before {
    content: "\f054";
    display: block;
    color: #ffffff;
    font-family: FontAwesome;
    font-size: 14px;
    position: absolute;
    right: 15px;
    bottom: 11px;
    z-index: 1;
    pointer-events: none;
    transform: rotate(
            0deg
    );

}
#vote-button[aria-expanded=true]:before {
    content: "\f054";
    display: block;
    color: #ffffff;
    font-family: FontAwesome;
    font-size: 14px;
    position: absolute;
    right: 15px;
    bottom: 11px;
    z-index: 1;
    pointer-events: none;
    transform: rotate(
            270deg
    );
}
#project-form select#jform_age {
   -o-appearance: none;
   -ms-appearance: none;
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
}
