#main.home-page .programs .box h3 {
    margin-bottom: .5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

body{
    font-family: 'Montserrat';
    font-weight:400;
}

#main.why .text .bg
{
  z-index: -1;
}

.bg
{
    z-index: -1;
}

a
{
    color:black;
text-decoration:none;
}

a:hover
{
    color:#96c11f;
    text-decoration:underline;
}

#main.home-page .services .box h3 {
    margin-bottom: .5rem;
    color: #96c11f;
    font-size: 1rem;
    font-weight: 700;
}

#main.houses .gallery h2
{
    padding-bottom:0px;
    margin-bottom: 0px;
}


#main.houses .gallery p
{
    padding-bottom:0px;
    margin-bottom: 0px;
}

#main .gallery .images .more {
   margin-top:-40px;
}


#novy_dum_section .programs {
    margin-top: 60px;
    padding-bottom: 60px;
    color: #ffffff;
}
#novy_dum_section .programs .wrapper {
    margin-bottom: 30px;
    padding: 60px 0 30px 0;
    background-color: #96c11f;
}
#novy_dum_section .programs h1 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
}
#novy_dum_section .programs .box {
    margin-bottom: 30px;
}
#novy_dum_section .programs .box .col-left {
    padding-right: 0;
}
#novy_dum_section .programs .box img {
    max-width: 100%;
}
#novy_dum_section .programs .box h2 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}
#novy_dum_section .programs .box p {
    margin-bottom: 0;
}


#main.contact .team {
    margin-bottom: -60px;
  /*  padding-top: 60px;*/
    text-align: center;
}
#main.contact .team .box {
    margin-bottom: 60px;
}
#main.contact .team img {
    margin-bottom: 1.5rem;
    max-width: 100%;
}
#main.contact .team h2 {
    margin-bottom: 0;
}
#main.contact .team .position {
    margin-bottom: 1rem;
    color: #96c11f;
}
#main.contact .team .title {
    color: #96c11f;
    font-weight: 700;
}
#main.contact .team a {
    color: #303030;
}

#main.contact .branches {
    padding: 0px 0 10px 0;
}

@media (min-width: 900px) {
    #novy_dum_section .images img {
        width: auto;
        max-width: 100%;
        margin-bottom: 30px;

        max-height: 85px;
    }
}

.form-control {
    background-color: white;
    border: 1px solid #cdcdcd;
    border-radius: 0;
}

.pad {
    padding-bottom: 13px;
}

.si-btn
{
    border:1px solid #96c11f;
    color:#96c11f !important;
    background-color: white;
}

.si-btn:hover
{
    border:1px solid #96c11f !important;
    color:white !important;
    background-color: #96c11f !important;
}

.si2-btn {
    display: inline-block;
    padding: 10px 10px;
    background-color: #ccc;
    border: 0;
    color: black !important;
    text-decoration: none !important;
}

.si2-btn
{
    border:1px solid #96c11f;
    color:black !important;
    background-color: white;
}

.si2-btn:hover
{
    border:1px solid #96c11f !important;
    color:black !important;
    background-color: #edfebf;
}


 .benefits {
    padding: 40px 0 30px 0;
}
 .benefits h1 {
    font-size: 1.8rem;
    text-align: center;
     margin-bottom: 30px;
     padding-top: 40px;
     font-weight: 600;
}
 .benefits h2 {
    margin-bottom: 30px;
    color: #303030;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}
 .benefits .box {
    margin-bottom: 30px;
}
.benefits .box .col-left {
    padding-right: 0;
}
.benefits .box img {
    max-width: 100%;
}
 .benefits .box h3 {
    color: #96c11f;
    font-size: 1rem;
    font-weight: 700;
}
 .benefits .box p {
    margin-bottom: 0;
}

.main0
{
    padding:20px 0px 0px 0px !important;
}

.main1
{
    padding:0px !important;
}

.image {
    position: relative;
    margin-bottom: 0px;
    padding-top: 180px;
    overflow: hidden;
}

.image a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: transparent !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    transition: all 1s ease;
}

.foto:hover > .image a {
    transform: scale(1.1, 1.1);
}

.hlista
{
    background-color: #ededed;
    padding:7px;
    color: #969696;
}

.hlista p
{
    padding: 0px;
    margin: 0px;
}

.hlista a
{
color:#97c11f;
}

#bottom .menu .link {
    color: #999999;
    font-weight: 500;
}

#bottom .menu .link:hover {
    color: #97c11f;

}

#bottom h3 {
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 900;
}

#bottom .text a {
    color: #999999;
}

#bottom .text a:hover {
    color: #97c11f;
}

#bottom .text {
    color: #999999;
}

.social .link2 {
    display: inline-block;
    /* width: 31px; */
    height: 31px;
    margin-right: 5px;
    background-color: #ccc;
    color: #fff !important;
    font-size: 1rem;
    line-height: 31px;
    text-align: center;
    padding-left:8px;
    padding-right:8px;
}

.social .link2:hover {
    background-color: #97c11f;
    text-decoration: none;
}


@media (max-width: 1199px) {

    #header .submenu .menu {
        display: block;
        margin-bottom: 0;
        padding-left: 0;
        flex-direction: row;
        list-style: none;
        justify-content: center;
    }

    #header .submenu .menu .item {
        padding: 0 15px;
        text-align: center;
    }

    .navbar-nav .nav-item
    {
        text-align: center;
    }

    .navbar-expand-xl
    {
        text-align:center;
        margin : 0 auto;
    }

    .nastred
    {
        display:block;
    }


}

@media (max-width:800px) {

    .navbar .dvojka {
        display: none;
    }

    .nomobile
    {
        display:none;
    }

    #main {
        padding: 0px 0;
    }
}

.navbar-toggler {
    width: 20px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
    margin-bottom:10px;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
    position: relative;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #97c11f;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}


/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
    position: absolute;
    top: 0px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    position: absolute;
    top: 10px;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    position: absolute;
    top: 20px;
    transform: rotate(0deg);
}

/* when navigation is clicked */

.navbar-toggler .top-bar {
    top: inherit;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    top: inherit;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    top: inherit;
    transform: rotate(-135deg);
}

/* Color of 3 lines */

.navbar-toggler.collapsed .toggler-icon {
    background-color:#97c11f ;
}


.popup_cont{
    position:fixed;
    left:0px;
    top:0px;
    width: 100%;
    height: 100%;
    z-index: 3000;
}

.popup_back{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.711);
    z-index: 2000;
    margin-top: -95px;
}

.popup_window{
    position: fixed;
    top:0%;
    left:0%;
    width: 420px;
    height: 550px;
    background-color: white;
    margin-left: 50%;
    margin-top: 50vh;
    transform: translate(-50%, -50%);
}

.popup_cross{
    position: relative;
    transform:translateX(-20px);
    margin-left: -2%;
    margin-top: 2%;
    margin-bottom: 2%;
    left: 100%;
    transition-duration: 0.3s;
}

.popup_cross:hover{
    cursor: pointer;
    color: #97c11f;
    transition-duration: 0.3s;
}

.popup_img{
    width: 94%;
    height: 270px;
    margin-left:3%;
    background-image: url('../images/4096.png');

    background-position: center center;
    background-size: cover;
}

.popup_title{

    font-size: 30px !important;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #97c11f;
    margin-left:3%;
}

.popup_text{
    margin-left:3%;
    line-height: 110%;
    width: 94%;
    font-size: 16px;
    text-align: justify;

}

.popup_text a{
    text-decoration: none;
    color:#97c11f;
    transition-duration: 0.3s;
}

.popup_text a:hover{
    color:#000000;
    transition-duration: 0.3s;
}


@media only screen and (max-width: 490px) {
    .popup_window{
        width: 90%;
    }

    .popup_title{
        font-size: 7vmin !important;
    }

    .popup_text{
        font-size: 3.8vmin;
    }
}

@media only screen and (max-height: 600px) {
    .popup_window{
        height: 90%;
    }

    .popup_title{
        font-size: 4vh !important;
    }

    .popup_text{
        font-size: 2.5vh;
    }
}

@media only screen and (min-width: 2000px) {
    .popup_window{
        width: 40vmin;
        height: 55vmin;
    }

    .popup_title{
        font-size: 4vh !important;
    }

    .popup_text{
        font-size: 2.5vh;
    }

    .popup_cross{
        transform:translateX(-3vmin);
        margin-left: -2%;
        margin-top: 2%;
        margin-bottom: 2%;
        left: 100%;
        font-size: 2vmin;
        transition-duration: 0.3s;
    }

    .popup_cross:hover{
        cursor: pointer;
        color: #fbb950;
        transition-duration: 0.3s;
    }

    .popup_img{
        width: 92%;
        height: 25vmin;
        margin-left:4%;
    }

    .popup_title{
        font-size: 2.9vmin !important;
        margin-top: 1vmin;
        margin-bottom: 1vmin;
        margin-left:4%;
    }

    .popup_text{
        margin-left:4%;
        width: 92%;
        font-size: 1.4vmin;
    }

    .popup_text a{
        text-decoration: none;
        color:#fbb950;
        transition-duration: 0.3s;
    }

    .popup_text a:hover{
        color:#000000;
        transition-duration: 0.3s;
    }
}