/*
* #550022;
* #a70022;
* #d20022;
*
*
*
*   -webkit-transition: all 0.4s ease-in;
*    -moz-transition: all 0.4s ease-in;
*    -o-transition: all 0.4s ease-in;
*    transition: all 0.4s ease-in;
*
*
*
*
*
*/


@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,700|Source+Code+Pro:300,400,700&display=swap&subset=latin-ext&display=swap');

/* Sticky footer styles
-------------------------------------------------- */
html {
    min-height: 100%;
    position: relative;
}

body {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
}

:focus {outline:none;}
::-moz-focus-inner {border:0;}

a {
    color: #d20022;
    border-bottom: 1px dotted transparent;
}

a.fb-ic{
    border: none;
    color: white;
}

.font-small{
    font-size: 85%;
}
.font-large{
    font-size: 120%;
}
span.motto{
    font-size: 120%;
    font-style: italic;
    font-weight: 600;
}

footer a:hover {
    color: #d20022;
    text-decoration: none;
    border-bottom: 1px dotted #d20022;
}

#footer {
    bottom: 0;
    width: 100%;
}

body > .container {
    padding: 60px 15px 0;
}

.footer-block {
    margin: 20px 0;
}

#footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.footer-copyright {
    font-size: 9pt;
}


.iconfa::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fbigger{
    font-size: 120%;
}

#m2_logo{
    height: 55px;
}

#button_backToTop {
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    margin: 10px;
    position: fixed;
    bottom: 20px;
    right: 10px;
}

.grad {
    background: -webkit-linear-gradient(-85deg, #550022, #d20022);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grad2 {
    background: -webkit-linear-gradient(-85deg, #212121, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1.grad2 {
    font-size: 55px;
    font-weight: 800;
}

.h3, h3 {
    font-size: 1.45rem !important;
}

#button_backToTop:hover {
    cursor: pointer;

}

.grad_back {
    background-image: -webkit-linear-gradient(-220deg, #212121, #000000);
    background-image: -moz-linear-gradient(-220deg, #212121, #000000);
    background-image: -ms-linear-gradient(-220deg, #212121, #000000);
    background-image: -o-linear-gradient(-220deg, #212121, #000000);
    background-image: linear-gradient(-220deg, #212121, #000000);
    color: #FFF;
}

#navbar-custom::after {
    position: absolute;
    content: "";
    height: 500px;
    width: 650px;
    background-image: -webkit-linear-gradient(-220deg, #212121, #000000);
    background-image: -moz-linear-gradient(-220deg, #212121, #000000);
    background-image: -ms-linear-gradient(-220deg, #212121, #000000);
    background-image: -o-linear-gradient(-220deg, #212121, #000000);
    background-image: linear-gradient(-220deg, #212121, #000000);
    right: -40px;
    top: -100px;
    z-index: -1;
    border-radius: 50% 0 50% 50%;
    -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

#navbar-custom::before {
    position: absolute;
    content: "";
    background-color: #000;
    height: 500px; /*500*/
    width: 650px;
    right: -35px;
    top: -95px;
    z-index: -1;
    border-radius: 50% 0 50% 50%;
    -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

#navbar-custom.min-nav-background::after {
    height: 160px;
    width: 650px;
    right: -90px;
}

#navbar-custom.min-nav-background::before {
    height: 160px; /*500*/
    width: 650px;
    right: -85px;
}

#navbar-custom {
    height: 60px;
    line-height: 40px;
    margin: 0;
    padding: 0;
    background-color: rgba(256, 256, 256, 0.9) !important;
}

#navbar-custom .nav-item {
    height: 40px;
    border-radius: 10px;
    -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
    left: 0;
}

#navbar-custom .nav-item .nav-link {
    color: #a70022 !important;
    padding: 0px 12px;
    margin: 0 4px;
}

#navbar-custom .nav-item.active {
    background-color: #000 !important;
}

#navbar-custom .nav-item.active .nav-link {
    color: #FFF !important;
}

.buffer {
    margin: 150px 0;
}

.card {
    border: none;
    background: transparent;
}

.up-img-top {
    display: block;
    max-width: 270px;
    margin: 0 auto;
    margin-top: 70px;
    margin-bottom: 20px;
    -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}

.right-nav-back {
    position: fixed;
    z-index: 1999;
    top: 15px;
    right: 160px;
    text-align: center;
}
/*
.right-nav-back span a.appoint-button {
    color: white;
    font-size: 16pt;
    padding: 0px 15px;
    border: 2px solid #FFF;
    height: 50px;
    border-radius: 25px;
    text-decoration: none;
        -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}
*/
.card svg {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card svg.back-bg {
    margin-left: -10px !important;
    margin-top: 2px;
}

.card-top svg.back-bg {
    margin-left: -10px !important;
    margin-top: 0;
}

.card svg.defs {
    position: absolute;
    width: 0;
    height: 0;
}

#contactform input[type="text"],
#contactform input[type="submit"]{
    font-weight: 800;
    background-color: #fff;
    height: 40px;
    width: 100%;
    border-radius: 10px;
    border: 3px solid #000 !important;
    padding: 0 25px;
    color: #000;
}

#contactform input[type="submit"]{
    cursor: pointer;
    color: #FFFFFF;
    border: 3px solid #000 !important;
    background-color: #000000 !important;
}

#contactform input[type="submit"]:hover{
    background-color: white !important;
    color: black;
    border: 3px solid #000 !important;
    cursor: pointer;
}

#contactform textarea{
    font-weight: 800;
    background-color: #fff ;
    min-height: 200px;
    width: 100%;
    border-radius: 10px;
    border: 3px solid #000 !important;
    padding: 10px 25px;
    color: #000;
}

#contactform input.required,
#contactform textarea.required{
    border: 3px solid #c31818 !important;
}

#contactform input.succes,
#contactform textarea.succes{
    border: 3px solid green !important;
}

.succes{
        padding: 10px;
        border: 4px solid green;
        color: green;
        margin: 5px 0;
        border-radius: 10px;
}

.error{
    padding: 10px;
    border: 4px solid #d20022;;
    color: #d20022;
    margin: 5px 0;
    border-radius: 10px;
}

#mail-status{
margin: 2px 0 0 0;
}

.grecaptcha-badge{
    bottom: 110px !important;
}

.fa-backgroundimg{
    color: rgb(167, 0, 34);
    font-size: 160pt;
}

input::-webkit-input-placeholder {
  font-size: 10pt;
    color: #a70022;  !important;
}

input::-moz-placeholder {
  font-size: 10pt;
    color: #a70022;  !important;
}

input:-ms-input-placeholder {
  font-size: 10pt;
    color:  #a70022;  !important;
}

input::placeholder {
  font-size: 10pt;
    color:  #a70022;  !important;
}

::placeholder {
  font-size: 10pt;
  color:  #a70022;  !important;
    opacity: 1;
}

.owl-dots{
    text-align: center;
}

.owl-dots button{
    margin-right: 5px;
    border: 0;
    outline: none;
}

.owl-dots button span{
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #a70022;
}

.owl-dots button.active span{
    background-color: #000000;
}

div.tiles{
    background-color: black;
    color: white;
    cursor: pointer;
    border: 3px solid #000;
    border-radius: 10px;
    width: 180px;
    height: 80px;
    font-weight: 800;
}

div.tiles:hover{
    background-color: white;
    color: black;
}

.icon-menu{
    width: 100%;
}

.icon-menu ul{
    text-align: center;
    list-style: none;
    float: none;
}

.icon-menu ul li{
    display: inline-block;
    margin: 10px 5px;
    float: none;
    color: #a70022;
}

.m2logo {
    height: 25px;
}

.modal{
    padding: 0 !important;
    z-index: 2000;
}

.modal-dialog {
    position: relative;
    max-width: none;
    width: 100% !important;
    height: 100% !important;;
    margin: 0 !important;
}

.modal-header{
    border-radius: 0;
}

.modal-content {
    height: auto !important;;
    border-radius: 0;
}

.modal-footer{
    width: 100%;
    text-align: right;
}

.modal-footer button{
    background-color: black;
}
button.close{
    color: white;
    opacity: 1;
}

button.close:hover span{
    color: white;
}

.cms_text_add{
  clear: both;
}

.logo_projekty{
  width: 60%;
  display: block;
  margin: 20px auto;
}

#button_backHome{
    border-bottom: 1px dotted white;
    padding: 5px 0;
    color: #a70022;
}


#button_backHome:hover{
    border-bottom: 1px dotted #a70022;
    text-decoration: none;
}

#smallbackHome{
    border-bottom: 1px dotted white;
    padding: 5px 0;
    color: #a70022;
    font-size: 90%;
    text-align: right;
}

#smallbackHome:hover{
    border-bottom: 1px dotted #a70022;
    text-decoration: none;
}

.ico, .ico-text{
    line-height: 50px;
}
.ico{
    vertical-align: middle;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: black!important;
}

.custom-checkbox .custom-control-input:checked:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 0, 0, 0.25)
}
.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 0, 0, 0.25)
}
.custom-checkbox .custom-control-input:active ~ .custom-control-label::before {
    background-color: #d2d2d2;
}

.archive_pagination{
    color: #444;
    font-size: 90%;
    font-style: italic;
    text-align: right;
    padding: 20px 0;
}

.news-content hr {
  display: none;
}

@media (max-width: 1005px) {

    #button_backToTop {
        display: inline-block;
        width: 60px;
        text-align: center;
        border-radius: 4px;
        margin: 10px;
        position: fixed;
        bottom: 20px;
        left: 0px;
    }

    #navbar-custom::after {
        position: absolute;
        content: none;
    }

    #navbar-custom::before {
        position: absolute;
        content: none;
    }

    .right-nav-back{
        display: none;
    }

    h1.grad2{
        font-size: 40px;
    }
    h2{
        font-size: 24px;
    }

    .myCenterOver{
        text-align: center !important;
    }

    .icon-menu ul {
        padding: 0;
    }

    .navbar-toggler{
        border: 2px solid #000 !important;
        color: #000 !important;
        padding: 7px 15px;
        margin-left: 15px;
        outline: none;
    }

    #m2_navbar{
        background-color: rgba(255, 255, 255, 0.9);
        color: white;
        width: 100%;
        padding: 10px 10px 40px 10px;
        border-bottom-left-radius: 160px 30%;
        border-bottom-right-radius: 160px 30%;
        border-bottom: 5px solid black;
        text-align: center;
    }

    #m2_navbar ul{
        display: block;
        margin: 0 auto;
        width: 70%;
    }

    #m2_logo{
        height: 49px;
    }

    .grecaptcha-badge{
        bottom: 30px !important;
    }

    .archive_btn{
        margin-bottom: 30px;
    }

    .footer-copyright{
        font-size: 8pt;
    }
}
