/*base*/

/* a link only focusable */
.a-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.a-only-focusable:focus{
    position: relative;
    width: auto;
    height: auto;
    padding: 1px;
    overflow: visible;
    border: 0;
    z-index: 99999;
}
/* Nagłówki na stronie głównej po prawej: "FORMULARZ ZGŁOSZENIOWY" */
.h4{
    font-size: 18px;
    margin: 10px 0;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

/* Style do obrazków w footerze */
.img-footer{
    height: 50px;
    width: auto;
}
/* Nagłówek na stronie głównej po prawej: "ZŁOŚ SWÓJ PROJEKT" */
.h1{
    font-weight: bold !important;
    font-size: 28px !important;
    margin: 20px 0 10px;
    font-family: inherit;
    line-height: 1.1;
    color: inherit;
}
@media (min-width: 992px){
    .clear-float:nth-child(3n+1) {
        clear: both;
    }   
}

@media (max-width: 991px){
    .clear-float:nth-child(2n+1) {
        clear: both;
    }
}

body {
    background-color: #fff;
	font-family: Segoe UI, Arial;
    color: #333;
}

.body{
	background-image: url('/img/bg2.jpg');
    background-position: center top;
	background-repeat: no-repeat;
	width: 100%;
}

body.fixedBg{
    background-image: url('/img/bg_repeater.jpg');
    background-position: center top;
    background-repeat: repeat-y;
}

h1 {
    font-weight: bold;
    font-size: 28px;
}

.underline-header:after{
    content: "";
    width: 50px;
    height: 3px;
    background-color: #49b6d5;
    display: block;
    position: relative;
    top: 5px
}

.bg-red, .bg-red-after:after, .bg-red-hover:hover  {
    background-color: #dd2c34 !important;
}
.bg-red.opacity{
    background-color: rgba(220,78,86,0.2) !important;
}

.bg-green, .bg-green-after:after, .bg-green-hover:hover {
    background-color: #93c844 !important;
}

.bg-green.opacity{
    background-color: rgba(147,200,68,0.2) !important;
}

.bg-blue, .bg-blue-after:after, .bg-blue-hover:hover  {
    background-color: #49b6d5 !important;
}

.bg-blue.opacity{
    background-color: rgba(73,182,213,0.2) !important;
}

.border-red {
    border-color: #dd2c34 !important;
}

.border-green {
    border-color: #93c844 !important;
}

.border-blue {
    border-color: #49b6d5 !important;
}

.font-red {
    color: #dd2c34 !important;
}

.font-green {
    color: #93c844 !important;
}

.font-blue {
    color: #49b6d5 !important;
}

.font-white-hover:hover {
    color: #fff !important;
}

.container-main {
    padding-top: 88px;
    padding-bottom: 100px;

}

.content-group{
    background-color: #fff;
    padding: 0;
    padding-bottom: 30px;
    padding-top: 30px;
    min-height: 700px;
}

.shadow-container {
    box-shadow: 0px 5px 9px 1px rgba(0, 0, 0, 0.31); 
}

.checkbox.checkbox-margin label{
    margin-top: 5px;
}

.icheckbox_minimal {
    background: rgba(255, 255, 255, 0.7) url(/img/checkbox_sprite.png) no-repeat;
    height: 40px;
    width: 45px;
}
.icheckbox_minimal.hover {
    background-position: 0 0;
}

.icheckbox_minimal.hover.checked {
    background-position: -55px 0;
}

.icheckbox_minimal.checked {
    background-position: -55px 0;
}

@media (max-width: 670px){
    .col-xxs-12 {
        width: 100%;
    }
    .col-xxs-6 {
        width: 50%;
    }
    .col-xxs-12.col-xxs-no-padding, .col-xxs-6.no-padding {
        padding: 0;
    }
}





/*cookiebar*/
#cookie-bar {
    background-color: #ffffff;
    border-top: 1px solid #000
}

#cookie-bar p {
    font-size: 12px;
    padding: 10px;
    line-height: 19px
}

#cookie-bar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%
}

#cookie-bar.fixed.bottom {
    bottom: 0;
    top: auto
}

#cookie-bar .btn-default {
    border-color: #dd2c34;
    border-bottom-color: #dd2c34;

}


/* navbar */

.navbar-brand,
.navbar-nav li a {
    height: 85px;
    line-height: 85px;
    padding-top: 0;
    font-size: 15px;
    color: #333 !important;
}

/*navbar breakpoint*/

@media (max-width: 992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

@media (max-width: 992px){
    .navbar-nav li a {
        line-height: 40px;
        height: 60px;
    }
    .navbar-fixed-top{
        position: initial;
        margin-bottom: -150px;
    }
}
.navbar-brand {
    padding-top: 10px;
}

.navbar-right-responsive{
    float: right;
}

@media (max-width: 992px){
    .navbar-right-responsive{
        float: none;
    }
    .navbar-right-responsive ul, .navbar-right-responsive li{
        width: 100%;
    }
    .navbar-right-responsive ul{
        margin: 0;
    }
    .navbar-right-responsive li:hover{
        background-color: #dd2c34;
    }
    .navbar-right-responsive li:hover span{
        color: #fff;
    }
}



#top-menu {
    background-color: #fff;
    padding-bottom: 5px;
}

#top-menu .active-link{
    border-top: 1px solid red;
    padding-top: 5px;
}

#top-menu .wcag-link {
    display: inline;
    color: #000;
    text-align: center;
    background: lightgray;
    border-radius: 5px;
    padding: 5px 6px;
    margin-left: 5px;
    margin-right: 5px;
}

#top-menu .social{
    float: right;
    margin: 0px;
    padding: 0px;

}

#top-menu .social li{
    float: left;
    display: inline-block;
    margin: 28px auto;
    padding: 0px; 
}


#top-menu .social li a{
    width: 25px;
    height: 25px;
    line-height: 25px;
    padding: 0px;
    display: inline-block;
    text-align: center;
    color: #333333;
    font-size: 14px;
    border-radius: 4px;
    background: #e6e6e6;
    margin-left: 5px;
}




/*main*/
#main .clock-header{
    font-size: 18px;
    margin: 5px auto;

}

#main .clock-container{
    padding: 0;
    height: 70px;
    margin-top: 30px;
    margin-bottom: 20px;
}

#main .flip-clock-wrapper{
    zoom: 0.69;
    -moz-transform: scale(0.74);
    margin: 0 auto;
    width: 460px;
}

@media (min-width: 1200px){
    #main .flip-clock-wrapper{
        transform-origin: left;
    }
}

@media (max-width: 500px) {
    #main .flip-clock-wrapper{
        zoom: 0.6;
        -moz-transform: scale(0.6);
        transform-origin: left;
    }
}

@media (max-width: 360px) {
    #main .flip-clock-wrapper{
        zoom: 0.5;
        -moz-transform: scale(0.5);
    }
}

#main .flip-clock-divider .flip-clock-label{
    font-size: 18px;
}

#main .vote-box{
    background-image: url('/img/button_bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 200px;
    padding: 15px;
    color: #fff;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

#main .vote-box-content{
    max-width: 285px;
    display: inline-block;
}


#main .vote-box p {
    font-size: 16px;
}

#main .vote-button {
    border: 1px solid;
    margin: 0 auto;
    width: 50%;
    line-height: 35px;
    margin-top: 30px;
}

#main .vote-button a {
    font-weight: bold;
    font-size: 18px;
    display: block;
    color: #fff;
    text-decoration: none;
}

#main .vote-button a:hover {
    color: #dd2c34;
    background-color: #fff;
}

/*projects*/
#projects .content-menu .form-group {
    margin-top: 15px;
}

#projects a:hover {
    text-decoration: none;
}

#projects h1 {
    margin-left: 30px;
}

#projects h2 {
    font-size: 15px;
    font-weight: bold;
    margin-top: 0;
    line-height: 1.2;
    max-height: 55px;
    overflow: hidden;
}

#projects .content-menu {
    background-color: white;
    margin-bottom: 30px;
    padding: 0;

}

#projects .content-menu .outer,
.vote-cart-button {
    width: 100%;
    height: 50px;
    position: relative;
    margin: 7px auto;
}

#projects .content-menu .outer:hover,
.vote-cart-button:hover {
    opacity: 0.8;
}

#projects .content-menu .inner,
.vote-cart-button .inner {
    position: absolute;
    width: calc(100% - 10px);
    height: 40px;
    left: 5px;
    top: 5px;
    border: 1px solid #fff;
}

#projects .content-menu .inner span,
.vote-cart-button .inner span {
    display: block;
}

#projects .content-menu .link-button,
.vote-cart-button .link-button {
    color: #fff;
    display: block;
    text-align: center;
    margin: 0 auto;
    line-height: 40px;
}

#projects .content-body .no-elements{
    color: #fff;
    text-align: center;
}

#projects .content-block {
    margin-bottom: 30px;
}

#projects .project-block {
    border-bottom: 1px solid;
    border-top: 2px solid;
}

#projects .project-content {
    padding: 10px;
    min-height: 120px;
    border-left: 1px solid;
    border-right: 1px solid;

}

#projects .project-content .title {
    min-height: 55px;
}

#projects .project-details {
    float: none;
}

#projects .project-details > a {
    margin: 0 auto;
    display: block;
    text-align: center;
}


@media (min-width: 671px) {
    #projects .project-details {
        float: left;
    }

    #projects .project-details > a:last-child {
        float: left;
    }

    #projects .project-details > a:first-child {
        float: right;
    }
}

@media (max-width: 991px) {
    #projects .project-details > a {
        float: none;
    }
}

#projects .project-content a{
    border: 1px solid;
    padding: 3px 25px;
    font-size: 14px;
}

#projects .project-img {
    position: relative;
    height: 250px;
}

#projects .project-img a{
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 670px){
    #projects .project-img {
        height: 300px;
    }
}

#projects .project-type {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #49b6d5;
    line-height: 35px;
    width: 78%;
    padding-right: 2%;
    color: #fff;
}

#projects .checkbox{
    display: inline-block;
    font-size: 18px
}

@media (min-width: 992px) and (max-width: 1200px){
    #projects .checkbox{
        font-size: 15px;
    }
    #projects .checkbox.checkbox-margin label {
        margin-top: 7px;
    }
}

#projects .project-checkbox{
    margin-left: 10px;
}

#projects #google-map {
    width: 100%;
    height: 300px;
    margin-top: 20px;
}

#projects .form-control{
    padding: 0px 12px;
}

/*footer*/
footer .content{
    background-color: #fff;
    padding: 0;
    font-size: 15px;
}

footer .footer-content{
    min-height: 85px;
}

footer .footer-content > div{
    line-height: 85px;
}

/* projects-from */
#projects-add label {
    margin-top: 20px;
}

#projects-add .inline-label {
    display: inline;
}

#projects-add .checkbox {
    display: inline-block;
}

#projects-add .checkbox label {
    margin-top: 0;
}

#projects-add .checkbox label input {
    margin-right: 3px;
}

#projects-add #google-map {
    width: 96%!important;
}

#projects-add .checkbox {
    padding-left: 0;
    margin-top: 5px;
}

#projects-add #firma_frontendbundle_project_attachments button {
    display: inline-block;
}

#projects-add #firma_frontendbundle_project_estimatedCosts > table {
    width: 100%;
}

#projects-add #firma_frontendbundle_project_estimatedCosts > table,
#projects-add #firma_frontendbundle_project_estimatedCosts td,
#projects-add #firma_frontendbundle_project_estimatedCosts th {
    border: 1px solid #cccccc;
    border-collapse: collapse;
    padding: 5px;
    text-align: center;
}

#projects-add #accept-image-wrapper,
#projects-add #accept-personal-data-wrapper,
#projects-add #accept-rules-wrapper {
    margin-top: 10px;
}

#projects-add #accept-personal-data-wrapper label{
    display: inline-block;
    padding-left: 20px;
    margin-top: 0px;
    font-weight: 400;
}


#projects-add #accept-personal-data-wrapper input{
    position: absolute;
    left: 15px;
    top: 0;
}

#projects-add .submit-project {
    background-color: #93c844;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 40px;
    width: 200px;
    margin-top: 14px;
    border-radius: 0;
    box-shadow: 0px 0px 0px 5px #93c844;
    border: 1px solid #ffffff;
}

#projects-add .submit-project:hover {
    opacity: 0.7;
}

#projects-add #accept-image-wrapper {    
    display: none;
}

#projects-add .error {
    color: #ff0000;
}

#projects-add .form-control{
    padding: 0px 12px;
}

.estimated-sum-wrapper {
    font-weight: 700;
    margin: 5px;
    float: right;
    margin-right: 15%;
}

.required:after{
    content:"*" !important;
    color: red !important;
}

.project-details-label {
    font-size: 24px;
    font-weight: 700;
}

.project-detail {    
    margin-bottom: 20px;
}

.project-details-value {
    font-size: 20px;    
}

#projects .title {
    margin-bottom: 10px;
}

#projects .title {
    /*word-break: break-all;*/
}

#projects .go-back {
    color: #dd2c34;
    display: block;
    padding: 20px 0;
}

#vote-form-wrapper {
    clear: both;
    margin-bottom: 20px;
}

#vote-form-wrapper button {
    float: right;
    margin: 5px;
}

#vote-form-wrapper .error {
    color: #ff0000;
}

#confirm-sms-wrapper .error {
    text-align: center;
    color: #ff0000;
}

#confirm-sms-wrapper .errors {
    padding-top: 10px;
}

#projects .success-message {
    text-align: center;
}

#vote-form-wrapper .control-label {
    text-align: left;
}

@media (max-width: 770px){
    #confirm-sms-wrapper {
        text-align: center;
    }

    #confirm-sms-wrapper button {
        margin-top: 15px;
    }
}

ul .error {
    list-style: none!important;
}

input[type=file] {
    padding: 0;
    box-sizing: initial;
    height: initial;
}

.required-mark {
    color: #ff0000;
    font-weight: 700;
}

.legend {
    margin-top: 10px;
}

#projects table, tr, td {
    border: 1px solid black;
    border-collapse: collapse;
}

#projects td {
    padding: 10px;
}

#projects #attachments {
    margin: 20px auto;
}

/* zoomed settings */

@media (min-width: 769px) and (max-width: 1200px){
    .nav > li > a {
        padding: 10px 8px;
    }
}

#projects-add .remove-button {
    float: right;
}

#projects-add .temp {
    clear: both;
    padding-bottom: 20px;
}

.cms table{
	width: 100%;
}

.cms table td{
	padding: 10px;
}

.progress-group .progress-text {
    font-weight: 600;
}

.progress-group .progress-number {
    float: right;
}

.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: red;
}

.has-error .help-block{
    color:red;
}

.accept-rules-checkbox {
    display: inline-block;
    width: 12px;
    height: 12px;
    position: absolute;
    left: 12px;
    margin-top: 12px!important;
    padding: 0!important;
}

.accept-rules-label {
    padding-left: 12px;
    text-indent: 20px;
    font-weight: normal;
}

@media (max-width: 769px) {
    .accept-rules-checkbox {
        margin-top: 4px!important;
    }
}

#vote-cart{
    background-color: #f56954;
    text-align: center;
}