/*********************** Global styles ************************/
body, a {
    font-family: "Open Sans", Arial, sans-serif;
    color: #577E27;
}
a {
    text-decoration: none;
}
a:hover {
    color: #577E27;
    text-decoration: none;
}
h2 {
    font-weight: bold;
}

footer a, .green-info a {
    color: white;
}
footer a:hover, .green-info a:hover {
    color: white;
    text-decoration: underline;
}

.green-bar {
    background-color: #6C9D31;
    color: white;
}
.green-bar h2 {
    margin: 10px 10px 10px 0;
}

#index, #about, #references, #contact, #services {
    padding-top: 101px;
}

/*********************** Global styles END ************************/




/*********************** Header ************************/
#header{
    border-bottom: 3px solid #577E27;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: all .3s;
    background-color: white;
    padding-top: 10px;
    z-index: 999;
}
.shrink-header {
    margin-top: -10px;
    margin-bottom: -5px;
    background-color: black;
}

#header-logo {
    float: left;
    margin: 10px 0 15px 30px;
}

.main-nav ul {
    list-style: none;
    float: right;
    margin-right: 20px;

}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 24px;
    margin-right: 35px;
    margin-bottom: 8px;
    background-color: #577E27;
    border: 1px solid transparent;
    border-radius: 4px;
}
.navbar-toggle .icon-bar {
    background-color: white;
}


.main-nav ul li {
    float: left;
    padding: 25px 10px 20px;
}
.main-nav ul li a {
    padding: 5px 10px;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
    color: #304615;
    transition: .3s ease;
    background-color: white;
}
/*********************** Header END ************************/
.inner-text {
    background: url("../img/backgound-inner.jpg") fixed;
    background-size: cover;
    text-align: center;
    padding: 20px 0 40px;
}
.inner-text h2 {
    margin: 0 0 20px;
    padding: 15px 30px 0;
    font-weight: bold;
}
.text-box {
    background-color: rgba(255,255,255, 0.6);
    border-radius: 10px;
    margin: 0 30px 50px;
    padding-bottom: 30px;
    border: 1px solid #91A066;
}
.text-box p {
    margin: 30px 0 20px;
    font-size: 22px;
    font-weight: 500;
}
#services-button {
    color: #B97E25;
    padding: 10px 25px;
    border: 2px solid #BA7E25;
    background-color: rgba(255,242,229, 0.7);
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
}
#services-button:hover {
    background-color: rgba(185,126,37, 0.7);
    color: white;
    transition: .5s ease;
}
.inner-text article {
    margin-bottom: 50px;
}

.green-info {
    background-color: #577E27;
    padding: 10px 0 0;
}
.green-info article {
    text-align: center;
}

.green-info p {
    color: white;
    font-size: 18px;
}
.green-info img {
    height: 45px;
}

.about {
    text-align: center;
    margin: 100px 0 130px;
}
.about h2 {
    margin-bottom: 40px;
}
.about p {
    font-size: 18px;
    margin-bottom: 20px;
}
.services {
    background: url("../img/panorama2.jpg") center bottom;
}
.services h2, .serv-image, .services h3 {
    text-align: center;
}
.services h2 {
    margin-bottom: 60px;
    margin-top: 80px;
}
.serv-image {
    margin-bottom: 15px;
}
.serv-image img {
    height: 80px;
}
.services h3 {
    margin-bottom: 35px;
}
.services article {
    padding: 25px 15px 5px 0;
}
#border {
    border-right: 1px solid #BCCBA9;
}
.services p {
    font-size: 16px;
    margin-bottom: 20px;
}
.services p a:hover {
    text-decoration: underline;
    color: #577E27;
}
.services p img {
    margin-right: 15px;
}
#call-to-action {
    margin: 50px 0 120px;
}
#call-to-action article {
    font-size: 18px;
    border: 2px solid #BFCEAD;
    background-color: rgba(255,255,255, 0.4);
    padding: 10px 8px 8px;
    text-align: center;
}
#call-to-action article a {
    background-color: white;
    color: #577E26;
    padding: 2px 7px 3px;
    border: 1px solid #577E26;
    border-radius: 5px;
}

#call-to-action article a:hover {
    background-color: #577E26;
    color: white;
    transition: .3s ease;
}



/*********************** Footer ************************/

footer  {
    background-color: #577E27;
    color: white;
    padding: 15px 0 20px;
}
footer p {
    margin-bottom: 15px;
    font-size: 16px;
}
#two {
    margin-top: 4px;
}
.arrow-up a {
    width: 45px;
    height: 45px;
    display: block;
    text-align: center;
    position: absolute;
    bottom: 73px;
    right: 12px;
    border: 2px solid #405A1E;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
}
.arrow-up a img {
    margin-top: 12px;
}

/*********************** Footer END ************************/


/* Media qwery  MOBILE */
@media all and (max-width: 767px) {
    .text-box {
        background-color: rgba(255,255,255, 0.6);
        border-radius: 10px;
        margin: 0 5px 25px;
        padding-bottom: 0;
        border: 1px solid #91A066;
    }
    .inner-text h2 {
        font-size: 22px;
    }
    .inner-text p {
        font-size: 18px;
    }
    .green-info {
        text-align: center;
    }
    .green-info article {
        padding: 10px 0;
    }
    #border {
        border-right: none;
    }
    .services h2 {
        margin-top: 40px;
    }
    .about {
        text-align: center;
        margin: 100px 0 40px;
    }
    footer {
        text-align: center;
    }
    .main-nav ul li {
        width: 100%;
    }
    .navbar-collapse {
        width:100%;
    }
    .serv-bar {
        display: none;
    }
    .serv-menu {
        margin-left: 0 !important;
    }
    .col-sm-8 {
        padding: 0;
    }
    .field {
        display: none;
    }
    .arrow-up a {
        bottom: 255px;
    }
}
/* Media qwery  MOBILE END */


/* Media qwery TABLET*/
@media (min-width: 768px) and (max-width: 1023px) {
    .field {
        display: none;
    }
    .arrow-up a {
        bottom: 94px;
    }
}

@media all and (min-width: 450px) {
    #call-to-action article {
    width: 420px;
    margin: auto;
    }
}
@media all and (min-width: 768px) {
    #footer-image {
        float: left;
        margin-right: 20px;
    }
    #one p {
        padding-top: 5px;
    }
    #three {
        text-align: right;
    }
    #three p {
        margin-bottom: 5px;
    }
    .col-4-green {
        width: 33.333%;
        padding: 0 15px;
        box-sizing: border-box;
        float: left;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .inner-text {
        padding: 80px 0 80px;
    }
}
@media all and (min-width: 1440px) {
    .inner-text {
        padding: 140px 0 140px;
    }
    .text-box {
        margin: 0 300px 50px;
    }
}

@media (min-width: 768px) and (max-width: 895px) {
    .main-nav ul li {
        float: left;
        padding: 30px 5px 20px;
    }
    .main-nav ul li a {
        font-size:18px;
    }
    .text-box h2 {
        font-size:25px;
    }
}
@media all and (min-width: 1024px) {
    #border {
        width: 104%;
    }
    .services article:nth-of-type(1) {
        padding: 25px 15px 5px 50px;
    }
}