.dogovor_img{
  width: 47%;
  height: 47%;
  margin: 1%;
  float: left;
  }
h1,h2 {
  margin: 35px 0;                                     
  }  
p {
  margin: 15px 0;
  }
  
/**
 *
 * 8.16 Quote form
 * ----------------------------------------------------------------------------- 
 *
 */

section.quote-forms {
    overflow: hidden;
    margin-bottom: 30 px; 
} 

section.quote-forms .center {
    position: relative;
}

section.quote-forms .quote-form-background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 60% 50%;
    -webkit-border-top-right-radius: 2px;
    -moz-border-top-right-radius: 2px;
    border-top-right-radius: 2px;
    -webkit-border-bottom-right-radius: 2px;
    -moz-border-bottom-right-radius: 2px;
    border-bottom-right-radius: 2px;
    position: relative;
    float: left;
}

section.quote-forms .background-icon {
    position: absolute;
    font-size: 300px;
    z-index: -1;
    opacity: 0.05;
    bottom: -100px;
    left: -50px;
}

section.quote-forms .quote-form-content {
    position: relative;
}

section.quote-forms .quote-form-content h2 {
    color: #2C3459;
    font-size: 32px;
    margin-bottom: 30px;
}

section.quote-forms .quote-form-content h2 span {
    color: #7DBA2F;
}

section.quote-forms .quote-form-content h4 {
    color: #2C3459;
    font-size: 16px;
    margin: 20px 0 10px 0;
}

section.quote-forms .quote-form-content h4 .slider-value {
    float: right;
    color: #7DBA2F;
}

section.quote-forms .quote-form-content .form {
    font-size: 0;
    position: relative;
}

section.quote-forms .quote-form-content .form input[type="text"] {
    margin-bottom: 10px;
    background: #fdfdfd;
}

section.quote-forms .quote-form-content .form select {
    margin-bottom: 10px;
    background: #fdfdfd;
}

section.quote-forms .quote-form-content .form input[type="text"].last,
section.quote-forms .quote-form-content .form select {
    margin-right: 0;
}

section.quote-forms .quote-form-content .form .slider {
    margin-bottom: 30px;
}

section.quote-forms .quote-form-content .form button {
    display: block;
    margin-top: 15px;
}

section.quote-forms .quote-form-thanks {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba( 253, 253, 253, 0.85 );
    top: 0;
    left: 0;
    font-size: 16px;
    color: #2C3459;
    font-weight: 300;
    display: none;
}

section.quote-forms .quote-form-thanks .quote-form-thanks-content {
    width: 300px;
    margin: 150px auto 0 auto;
    text-align: center;
    line-height: 1.6em;
}

section.quote-forms .quote-form-thanks .quote-form-thanks-content .quote-form-thanks-close {
    text-decoration: underline; 
    cursor: pointer;
}

section.quote-forms .quote-form-thanks .quote-form-thanks-content .quote-form-thanks-close:hover {
    text-decoration: none; 
}    

@media (min-width: 1350px) {

    section.quote-forms .center {
        padding: 75px 0;
        position: relative;
    }
    
    section.quote-forms .quote-form-content {
        margin: 0px auto 50px auto;
    }
    
    section.quote-forms .quote-form-content .form input[type="text"] {
        width: 199px;
    }
    
    section.quote-forms .quote-form-content .form .checkbox {
        width: 249px;
    }
    
    section.quote-forms .quote-form-content .form select {
        width: 251px;
    }
}         

@media (min-width: 950px) and (max-width: 1349px) {

    section.quote-forms .center {
        padding: 50px 0;
        position: relative;
    }
    
    section.quote-forms .quote-form-content {
        margin: 10px auto;
        padding: 25px 0;
    }
    
    section.quote-forms .quote-form-content .form input[type="text"] {
        width: 143px;   
    }
    
    section.quote-forms .quote-form-content .form .checkbox {
        width: 193px;
    }
    
    section.quote-forms .quote-form-content .form select {
        width: 195px;
    }
}

@media (min-width: 600px) and (max-width: 949px) {

    section.quote-forms .center {
        padding: 50px 0;
    }
    
    section.quote-forms .quote-form-content {
    }
    
    section.quote-forms .quote-form-content .form input[type="text"] {
        width: 213px;   
    }
    
    section.quote-forms .quote-form-content .form .checkbox {
        width: 263px;
    }
    
    section.quote-forms .quote-form-content .form select {
        width: 265px;
    }
}

@media (max-width: 599px) {

    section.quote-forms .center {
        padding: 30px 0;
    }
    
    section.quote-forms .quote-form-content {
    }
    
    section.quote-forms .quote-form-content h3 {
        margin-bottom: 30px;
    }
    
    section.quote-forms .form input {
        margin-bottom: 10px;
        width: -webkit-calc( 100% - 52px );
        width: -moz-calc( 100% - 52px );
        width: calc( 100% - 52px );
    }
    
    section.quote-forms .quote-form-content .form .checkbox {
        width: -webkit-calc( 100% - 2px );
        width: -moz-calc( 100% - 2px );
        width: calc( 100% - 2px );
    }
    
    section.quote-forms .form .custom-dropdown {
        width: 100%;
    }      
    
    section.quote-forms .form .custom-dropdown-select {
        width: 100%;
    }
}
