body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #4a4a4a;
    background-color: #ffffff;
}

html, body {
    height: 100%;
    min-width: 320px;
}

.navbar-container {
    width: 100%;
    background: #f4f4f4;
    padding-left: 45px;
    padding-right: 45px;
}

#nav-area {
    position: relative;
    background-image: url(../images/index-bg.jpg);
/*    height: 500px;*/
    background-attachment: fixed;
    background-position: 0px 0px;
    background-repeat: no-repeat;
/*    background-size: auto;*/
    background-size: 100%;
}

#main {
    min-height: 100%;
    padding-bottom: 60px;
}

#index-bg {
    width: 100%;
    z-index: 1;
/*    position: fixed;*/
    visibility: hidden;
}

cnav {
    display: block;
    margin-bottom: 15px;
}

#nav-wrapper {
    z-index: 2;
    position: absolute;
    width: 100%;
/*
    background-color: #fff;
    opacity: 0.5;
*/
    background: rgba(255, 255, 255, 0.5);
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    padding: 20px;
}

#nav-wrapper img {
    margin-bottom: 15px;
}

#index-navbar-lg a {
    font-weight: bold;
    font-size: 17px;
    padding: 0px 15px;
    color: #5d5d5d;
}

#index-navbar-lg a:hover,
#index-navbar-lg a:active {
    text-decoration: none;
    color: #2ec5a3;
}

#index-navbar-lg a:not(:last-child) {
    border-right: 2px solid #fff;
}

.navbar-brand {
    padding: 0px;
}

.navbar-brand>img {
    margin-top: -10px;
    height: 130%;
    padding: 0px;
    width: auto;
    border: 0.5px solid #eaeaea;
}

nav {
    top: 10px;
    min-height: 60px;
}

.navbar-default,
.navbar-collapse {
    background-color: inherit;
    border: 0px;
}

.modal-title {
    text-align: center
}

#index-navbar {
    background-color: #fafafa;
    width: 100%;
    display: none;
}

a {
    color: #4a4a4a;
}

.navbar-element {
    font-size: 17px;
    font-weight: bold;
    color: black;
}

.active {
    color: #2ec5a3 !important;
}

.navbar-element:hover a {
    color: #2ec5a3 !important;
}

.navbar-element:active a {
    color: #2ec5a3 !important;
}

#short-desc {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 17px;
    text-align: center;
    border-top: 2px solid #777;
    border-bottom: 2px solid #777;
    padding: 10px 0;
}

.icons, .texts, .row, #input-group-textarea, .field-pic {
    width: 100%;
}

#content {
    width: 90%;
    margin: 0 auto;
}

.row {
    margin: 0 auto;
}

#content .full-container {
    background-color: #f4f4f4;
    padding: 30px;
}

.full-container .small-summary:nth-child(-n+2) {
    margin-bottom: 30px;
}

.small-summary {
    text-align: center;
    padding: 0 5px;
}

.small-summary img {
    width: 70%;
}

.small-summary img:hover,
.small-summary img:active {
    opacity: 0.8;
    cursor: pointer;
}

.small-summary h3 {
    font-size: 20px;
}

.small-summary div {
    font-size: 17px;
}

#index-contact-wrapper {
    margin: 30px 0px;
    position: relative;
}

#ask-form-info {
    position: absolute;
    top: 50%;
    height: 83px;
    margin-top: -33.5px;
    display: block;
}

#ask-form-info img {
    width: 30px;
}

.ask-form-info-name,
.ask-for-offer {
    font-size: 20px;
}

#ask-form-info span {
    font-size: 18px;
}

/* Footer at the bottom of the page. */

.footer {
    position: absolute;
    height: 60px;
    display: table;
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #9b9b9b;
    background-color: #fafafa;
    margin-top: -60px;
}

.footer-info {
    display: table-cell;
    vertical-align: middle;
}

/* About page style. */

#about-container {
    margin-top: 50px;
    font-size: 17px;
}

.full-container {
/*    margin-top: 50px;*/
}

.full-container h3 {
    margin-left: 0;
}

.full-container h4 {
    margin: 0px 0px 10px 0px;
    font-size: 18px;
    color: #50e3c2;
}

.full-container h4:nth-child(3) {
    margin-top: 30px;
}

.full-container .half {
    display: inline-block;
    width: 45%;
    vertical-align: middle;
}

.full-container .half:nth-child(2) {
    padding: 0px 25px 0px 0px;
    text-align: left;
}

.full-container .half:last-child {
    text-align: center;
    border-top: 2px solid #2ec5a3;
    border-bottom: 2px solid #2ec5a3;
    color: #2ec5a3;
    margin: 0px 30px;
    padding: 10px 0;
}

#about-container .full-container:last-child {
    margin-bottom: 50px;
}

#darker-bg {
    background-color: #f4f4f4;
    padding: 50px;
    margin: 50px 0px 50px 0px;
}

/* Services page style. */

.field {
    margin-bottom: 10px;
    padding: 10px 1px;
    width: 80%;
    margin: 0 auto;
}

.field:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

/*
.lt-blue { color: #00baba; }
.blue { color: #0076ff; }
*/

#torustik div,
#pump div,
#küttesüsteem div,
#kanalisatsioon div {
    display: inline-block;
    vertical-align: middle;
}

.service-img-wrapper {
/*    margin-left: 100px;*/
    width: 33%;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.service-img-wrapper img {
    width: 50%;
}

.service-text-wrapper {
    width: 50%;
    padding: 10px 0;
}

#kanalisatsioon {
    margin-bottom: 0;
}

h3 {
    margin-left: 50px;
    font-weight: bold;
}

.services-text-left {
    margin-left: 50px;
    margin-top: 15px;
    font-size: 17px;
}

.service-text-wrapper h3 {
    margin-top: 0px;
    font-size: 20px;
}

/*
.services-header-right {
    direction: rtl;
    margin-right: 70px;
}

.services-text-right {
    direction: rtl;
    margin-right: 50px;
    font-size: 20px;
}
*/

/* Contact page style. */

#contact-container {
    width: 90%;
    margin: 50px auto;
}

#contact-info-desc {
    padding-right: 30px;
}

#contact-info-wrapper {
    border-top: 1px solid #2ec5a3;
    border-bottom: 1px solid #2ec5a3;
    padding: 10px 0px;
    margin-bottom: 20px;
}

#contact-info-wrapper div:not(:last-child) {
    margin-bottom: 10px;
}

.contact-info-bold {
    font-weight: bold;
}

.contact-info-bold span {
    font-weight: normal;
}

#contact-logo1 {
    display: block;
    margin-top: 40px;
}

#contact-logo2 {
    display: none;
}

#ask-offer-form {
    padding: 20px;
    background-color: #fafafa;
}

.contact-glyphicon {
    color: #50e3c2;
    margin-right: 10px;
}

#glyphicon-phone {
    border: 1px solid #50e3c2;
    border-radius: 50%;
    padding: 2px 3px 2px 2px;
    text-align: center;
    font-size: 9px;
}

.ask-offer-addon,
.ask-offer-input {
    background-color: transparent;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
    transition: none;
    -webkit-transition: none;
    border-bottom: 2px solid #777 !important;
    border-radius: 0px;
}

.ask-for-offer {
    font-weight: bold;
}

#msg-addon {
    border: 0;
    border-bottom: 0 !important;
}

.form-control:focus {
  border-color: transparent;
  box-shadow: none;
  outline: 0 none;
}

.input-group {
    margin-bottom: 20px;
}

.input-group-addon {
    padding: 4px 0px;
    font-size: 17px;
}

#ask-form form {
    margin-top: 10px;
}

.form-control {
    font-size: 17px;
}

#msg-input {
    padding-top: 5px;
}

#msg-addon {
    position: absolute;
    top: 4px;
}

#msg-input {
    padding-left: 62px;
}

#send-button {
    background-color: #50e3c2;
    color: #4a4a4a;
    border: 0;
    font-size: 17px;
}

#send-button:hover,
#send-button:active {
    color: #fff;
}

#contact-desc {
    padding-left: 0;
    margin-top: 20px;
    color: #2ec5a3;
    font-size: 17px;
}

#contact-form h4:first-child {
    margin: 0;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    display: none;
}

.contact-info-bold {
    font-size: 17px;
}

@media (max-width:1200px) {

    #offer-btn, #offer-btn2, #offer-btn3 {
        font-size: 175%;
        margin-top: -4.5em
    }

    
    #offer-btn2 {
        margin-left: 18%;
    }
    
    #offer-btn3 {
        margin-left: 20%;
    }

    #short-desc {
        margin-top: 50px;
    }

    /* Contact form and info at the bottom of the page. */

    .ask-form-info-phone-logo, .ask-form-info-mail-logo {
        margin-top: 0px;
        width: 10%;
    }
    
    .ask-form-info-name,
    .ask-for-offer {
        font-size: 19px;
    }

    #ask-form-info span {
        font-size: 17px;
    }

    .input-group-addon {
        font-size: 17px;
    }
    
     #send-button {
        font-size: 17px;
    }

    /* About page style. */

    .field-text {
        font-size: 20px;
    }

    /* Services page style. */

    .services-text-left {
        margin-left: 40px;
        font-size: 18px;
    }

    .services-text-right {
        margin-right: 40px;
        font-size: 18px;
    }
    
    .services-header-right {
        margin-right: 60px;
    }

    /* Contact page style. */

    h4 {
        font-size: 27px;
    }

    .contact-info {
        margin-left: 60px;
        font-size: 18px;
    }

    .contact-info-text {
        font-size: 22px;
    }
}

@media (max-width:1100px) {
    
    #offer-btn, #offer-btn2, #offer-btn3 {
        font-size: 130%;
        margin-top: -5.5em;
    }
    
    #offer-btn2 {
        margin-left: 130%;
    }
    
    #offer-btn3 {
        margin-left: 30%;
    }

    #short-desc {
        font-size: 17px;
    }

    .icon {
        width: 23%;
    }

    /* Contact form and info at the bottom of the page. */

    .ask-form-info-phone-logo, .ask-form-info-mail-logo {
        margin-top: 0px;
        width: 10%;
    }

    .ask-form-info-name,
    .ask-for-offer {
        font-size: 18px;
    }

    #ask-form-info span {
        font-size: 16px;
    }

    #ask-form-info {
        
    }

    .input-group-addon {
        font-size: 17px;
    }

    #send-button {
        font-size: 17px;
    }

    /* About page style. */

    .field-text {
        font-size: 20px;
    }

    /* Services page style. */

    .services-text-left {
        margin-left: 35px;
        font-size: 17px;
    }

    .services-text-right {
        margin-right: 35px;
        font-size: 17px;
    }
    
    .services-header-right {
        margin-right: 50px;
    }

    /* Contact page style. */

    .contact-info {
        margin-left: 40px;
        font-size: 16px;
    }

    .contact-info-text {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    
    #contact-logo1 {
        display: none;
    }
    
    #contact-logo2 {
        display: block;
        margin-top: 10px;
        float: right;
    }
    
    #contact-form h4:first-child {
        display: block;
    }
    
    #contact-container {
        margin-top: 20px;
    }
    
    #contact-form,
    #contact-container div:first-child {
        background-color: transparent;
        padding: 0;
    }
    
    #contact-form {
        margin-top: 20px;
    }
    
    .full-container .half {
        display: block;
        width: 100%;
    }
    
    .full-container .half:last-child {
        margin: 0;
        width: 90%;
        margin: 20px auto;
    }
    
    .full-container .half:nth-child(2) {
        padding: 0;
    }
    
    .full-container {
        margin-top: 20px;
    }
    
    .container .full-container:last-child {
        margin-bottom: 20px;
    }
    
    #darker-bg {
        padding: 20px;
    }
    
    #about-container {
        width: 95%;
    }
    
}

@media (max-width:961px) {
    
    .service-img-wrapper {
        margin-left: 70px;
        width: 30%;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .service-img-wrapper img {
        width: 70%;
    }
    
    .service-text-wrapper {
        width: 50%;
    }
    
    #offer-btn, #offer-btn2, #offer-btn3 {
        margin-top: -6.5em;
        font-size: 100%;
    }
    
    #short-desc {
        font-size: 17px;
    }
    
    .form-control {
        font-size: 13px;
    }
    
    #send-button {
        font-size: 17px;
    }
    
    /* About page style. */

    .field-text {
        font-size: 18px;
    }
    
    /* Services page style. */

    .services-text-left {
        margin-left: 25px;
        font-size: 16px;
    }

    .services-text-right {
        margin-right: 25px;
        font-size: 16px;
    }

    /* Contact page style. */

    .contact-info {
        margin-left: 40px;
        font-size: 16px;
    }

    .contact-info-text {
        font-size: 20px;
    }
}

@media (max-width:825px) {
    
    /* Contact form and info at the bottom of the page. */

    .ask-form-info-phone-logo, .ask-form-info-mail-logo {
        margin-top: 0px;
        width: 10%;
    }

    .ask-form-info-name,
    .ask-for-offer {
        font-size: 17px;
    }

    #ask-form-info span {
        font-size: 15px;
    }

/*
    #ask-form-info {
        margin-top: 80px;
    }
*/

    .input-group-addon {
        font-size: 17px;
    }

    #send-button {
        font-size: 17px;
    }
    
}

@media (max-width:767px) {
    
    #index-navbar {
        display: block;
    }
    
    .navbar-container,
    #index-navbar {
        background-color: #4a4a4a;
        width: 100%;
    }
    
    #index-navbar nav div .collapse, 
    #index-navbar nav div .collapsing {
        position: absolute;
        right: 20px;
        margin-top: 10px;
        background: #fff;
        opacity: 0.9;
        color: #000;
    }
    
    .navbar-default .navbar-nav>li>a {
        color: #eae8e8;
        font-weight: bold;
    }
    
    #iNavbar .navbar-nav>li>a {
        color: #777;
        font-weight: bold;
    }
    
    #nav-area {
        background: none;
    }
    
    #index-bg {
        visibility: visible;
    }
    
    #nav-wrapper {
        display: none;
    }
    
    .navbar-nav {
        float: right;
        text-align: right;
    }
    
    .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        background-color: transparent;
    }
    
    .navbar-toggle {
        border: 0;
    }
    
/*
    .navbar-element a {
        color: #fff !important;
    }
*/
    
    .navbar-toggle .icon-bar {
        background-color: #fff !important;
        height: 3px;
    }
    
    .navbar-toggle {
        margin-right: 0;
    }
    
    .small-summary:not(:last-child) {
        margin-bottom: 20px
    }

    .small-summary img {
        width: 200px;
    }

    .small-summary h3 {
        font-size: 20px;
    }
    
    #ask-form-info {
        display: none;
    }
    
    
    /* SERVICES PAGE */
    
    .service-img-wrapper {
        width: 100%;
        margin-left: 0px;
    }
    
    .service-img-wrapper img {
        width: 25%;
    }
    
    .service-text-wrapper {
        width: 100%;
    }
    
    .service-img-wrapper img {
        width: 146px;
    }
    
    .services-text-left {
        margin-left: 0;
    }
    
    .service-text-wrapper h3 {
        margin: 0;
        text-align: center;
    }
    
    .field {
        width: 90%;
    }
    
}