@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,600');
@import url('https://fonts.googleapis.com/css?family=Verdana:400,300');

/* Reset i podstawowe style */
body {
    background: none; 
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% 50%;
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Linki */
a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.mienie li {
    list-style: disc;
}

.leftpadding10px {
    padding-left: 10px;
}

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

a:hover {
    text-decoration: none;
}

/* Tekst i paragrapfy */
p {
    font-family: 'Verdana', sans-serif;
    font-size: 13px;
    line-height: 21px;
    color: #333333;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 300;
    line-height: 1.1;
    color: inherit;
}

h1 {
    margin-bottom: 40px;
}

/* Przyciski */
.btn-default {
    border-color: #cf102d;
    background-color: #cf102d;
    font-weight: 300;
    color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
    color: #fff;
    border-color: #ea321e;
    background-color: #ea321e;
}

.btn-primary {
    border-color: #cf102d;
    background-color: #cf102d;
    font-weight: 300;
    color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: #fff;
    border-color: #ea321e;
    background-color: #ea321e !important;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    border-color: #cf102d;
    background-color: #cf102d;
}

.btn-send {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

/* Kolory tła */
.blue {
    background: #28ABE3;
}

.green {
    background: #72bf48;
}

.red {
    background: #cf102d;
}

.light-red {
    background: #FB6648;
}

.light-orange {
    background: #FA6900;
}

.color {
    background: #0ECEAB;
}

/* Sekcje */
.section-title h3 {
    color: #666 !important;
    font-size: 28px;
    font-family: 'Verdana', sans-serif;
    text-transform: none;
}

.section-title p {
    padding-bottom: 20px;
    color: #999;
    font-size: 18px;
    font-weight: 300;
    font-family: 'Helvetica', sans-serif;
}

/* Logo */
.logo-section {
    padding-bottom: 0px;
}

.logo-section-top {
    border-bottom: 1px solid #cccccc;
}

.logo h1 {
    font-family: 'Lobster', cursive;
    color: #fff;
    font-size: 60px;
}

.logo span {
    color: #999;
}

.logo_ergo {
    display: block;
    vertical-align: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Modalne okna */
.modal-title {
    color: #cf102d;
    font-family: 'Verdana', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.modal-body {
    position: relative;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    color: #999999;
}

.modal-body p {
    font-size: 14px;
    color: #999999;
}

.modal-dialog.modal-lg {
    width: 900px;
    max-width: 90%;
}

/* Thumbnail */
.img-thumbnail {
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #f5f5f5;
    border: 1px solid #cf102d;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

/* Layout */
.overflow {
    overflow-y: scroll;
    max-height: 400px;
}

.toplinia {
    border-top: 1px solid #cccccc;
    padding-top: 80px;
}

.toplinia1 {
    border-bottom: 1px solid #cccccc;
    background-color: #fff;
    margin-bottom: 20px;
}

.float-left {
    float: left;
}

.panel-padding {
    margin-bottom: 20px;
}

/* Alerty */
.alert-success {
    color: #ffffff;
    background-color: #7f7f7f;
    border-color: #7f7f7f;
}

.alert-success hr {
    border-top-color: #7f7f7f;
}

.alert-success .alert-link {
    color: #2b542c;
}

/* Tabela */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    font-size: 10px;
}

/* Formularze */
label {
    color: #333;
    font-weight: normal;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    border-radius: 3px;
    border: 1px solid #ddd;
    -webkit-transition: border-color 0.3s;
    -o-transition: border-color 0.3s;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #cf102d;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 0 3px rgba(207,16,45,.1);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 0 3px rgba(207,16,45,.1);
}

/* Checkbox i radio */
.checkbox label,
.radio label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"],
.radio input[type="radio"],
.radio-inline input[type="radio"] {
    position: absolute;
    margin-left: -20px;
    margin-top: 4px \9;
}

/* Responsywność */
@media (max-width: 768px) {
    .toplinia {
        padding-top: 100px;
    }
    
    .col-md-6 {
        margin-bottom: 15px;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .modal-dialog.modal-lg {
        width: 95%;
        margin: 10px auto;
    }
    
    .overflow {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    p {
        font-size: 12px;
    }
    
    .section-title h3 {
        font-size: 20px;
    }
    
    .toplinia {
        padding-top: 120px;
    }
}