* {
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    height: auto;
}

.clear {
    clear: both;
    height: 0;
    width: 0;
}

@media (max-width: 992px) {
    .clear-sm {
       clear: both;
       height: 0;
       width: 0; 
    }
}

.p-r {
    position: relative;
    background: red;
}

.position-a {
    left: 0;
    position: absolute;
    top: 0;
}


.container-full {
    width: 100%;
}

.container {
    
}

.img-fullsize {
    width: 100%;
}



.menu-footer ul,
.menu-footer ul li {
    margin: 0;
    padding: 0;
}

.menu-footer ul li {
    list-style: none;
}

@media (max-width: 792px) {
    .menu-footer ul li {
        text-align: center;
    }
}

@media (min-width: 793px) {
    .menu-footer ul {

    }
    .menu-footer ul li {
        float: left;
    }
    .menu-footer ul li:last-child::after {
        clear: both;
    }
}

.menu-footer ul li a {
    display: block;
    padding: 4px 10px;
    margin-right: 1px;
}



/* State */

.is-hidden {
    display: none;
    visibility: hidden;
}

.is-visible {
    display: block;
    visibility: visible;
}



/* theme begin */

body {
    color: #3c3c3c;
}

a {
    color: #7b685a;
}

a:hover,
a:active,
a:focus {
    color: #37200f;
}

a:visited {
    color: #44383a;
}

::selection {
    color: #fff;
    background: #4b3c31;   
}

::-moz-selection {
    color: #fff;
    background: #4b3c31;   
}

h1 {
    color: #66574a;   
}
h2,
h3,
h4,
h5,
h6 {
    color: #333;
}


@media (max-width: 806px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 23px;
    }
}

@media (min-width: 810px) {
    #home h1 {
        margin-top: 40px;
    }
}

@media (min-width: 860px) {
    #home h1 {
        margin-top: 50px;
    }
}

@media (min-width: 901px) {
    #home h1 {
        margin-top: 60px;
    }
}

@media (min-width: 950px) {
    #home h1 {
        margin-top: 70px;
    }
}

.container {
    /*overflow: hidden;*/
}

#home2     .container,
#features  .container, 
#features2 .container,
#features3 .container,
#progress  .container,
#contacts  .container,
footer     .container {
    padding-top: 30px;
    padding-bottom: 50px;
}
#home2     h1,
#features  h1, 
#features2 h1,
#features3 h1,
#progress  h1,
#contacts  h1,
footer     h1 {
    margin-bottom: 26px;
}

#progress {
    margin: 26px 0;
}

.bg-n2 {
    background-color: #f8f8f8;
    background-color: #ede9e5;
    background-color: rgba(163, 143, 127, .2);
    
    
}

.overlay {

}

/* theme end */



/* form begin */

.form-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-left: 3px solid #3c763d;
    padding: 4px 10px;
}

.indent {
    display: inline;
    color: #bd1717;
    text-align: center;
}



.form-control:focus {
  border-color: #7b685a;
  border-color: #958171;
  outline: 0;
  -webkit-box-shadow: inset 0 0px 1px rgba(149, 129, 113, .75), 0 0 8px rgba(163, 143, 127, .6);
          box-shadow: inset 0 0px 1px rgba(149, 129, 113, .75), 0 0 8px rgba(163, 143, 127, .6);
}

.btn-primary {
  color: #fff;
  background-color: #66574a;
  border-color: #41352B;
}
.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #41352B;
  border-color: #301D0E;
}
.btn-primary:hover {
  color: #fff;
  background-color: #41352B;
  border-color: #301D0E;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #41352B;
  border-color: #301D0E;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #fff;
  background-color: #41352B;
  border-color: #301D0E;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
  background-color: #41352B;
  border-color: #301D0E;
}



.form-1 .btn,
.form-1 .form-control {
    border-radius: 2px;    
}



.form-2 .control-label {
    display: block;
    text-align: center;
}

.form-2 {
    background: #fff;
    display: block;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 40px 30px 40px;
}

@media (min-width: 600px) {
    .form-2 {
        margin-top: 40px;
        margin-bottom: 20px;
    }
}

.form-2 .btn,
.form-2 .form-control {
    border-radius: 0px;  
    margin: 0 0 10px 0; 
    height: 40px; 
}

.form-2 .btn {
    margin-top: 15px;
}

/* form end */



#home {
    
}

.phone-s {
    display: none;       
}
.phone-xs {
    font-size: 16px;
    text-align: center;
}


/* slider begin */

.fotorama {
    background-color: #7b685a;
}

.fotorama__arr--prev,
.fotorama__arr--next {
    display: none;
    visibility: hidden;
}

@media (min-width: 501px) {

    .position-r-sm {
        position: relative;
    }
    .position-a-sm{
        left: 0;
        position: absolute;
        top: 0;
    }
    
    .fotorama__wrap::after {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(75, 60, 49, .1) url(../images/overlay2.png);  
        content: "";
        top: 0;
        left: 0;
    }

    .fotorama__nav-wrap  {     
        bottom: 0;
        padding: 80px 0;
        position: absolute;
    }

    .fotorama__nav__shaft {

    }

    .fotorama__thumb {
        border: 1px solid #f1f1f1;
    }

    .fotorama__thumb:hover {
        border: 1px solid #555;
        box-shadow: 0 0 10px 1px #555;
    }

    .fotorama__thumb::after {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.5);
        content: "";
    }

    .fotorama__thumb:hover::after,
    .fotorama__active .fotorama__thumb::after {
        background: rgba(0,0,0,0);
    }
}

/* slider end */



#home .container-full {

}

.fotorama {
    
}





@media (min-width: 501px) {
    .phone-s,
    #home h1,
    #home h2,
    .phone-xs {
        color: #fff;
        text-shadow: 0px 3px 5px #4b3c31;          
    }
}
  
@media (min-width: 601px) {
    
    .phone-s {            
        text-align: right;   
        font-size: 18px;
        display: block;
        padding-top: 20px;
        width: 100%; 
    }

    .phone-xs {
        display: none;
    }
}

@media (min-width: 651px) {
    .container {
        width: 80%;
    }
}


#features .fa {
    width: 100%;
    color: #8d715c;    
    color: #37200f;
    color: #705A51;    
}

#home2 {
    background-color: #7b685a;
}

@media (max-width: 543px) {
   #home2 .container,
   #contacts .container {
        padding-top: 15px; 
        padding-bottom: 15px;   
    }
    #home2 h1 {
        font-size: 20px;
    } 
}

@media (max-width: 350px) {
    #home2 h1,
    #contacts h1 {
        font-size: 18px;
    }
}

#contacts {
    background: #4b3c31;    
}

#contacts h1 {
        font-size: 32px;
    }



footer {
    background: #352a23;
}

@media (min-width: 769px) {
    footer .menu-footer ul {
        width: 670px;
        margin: 0 auto;
    }
}


.menu-footer a,
.menu-footer a:visited {
    color: #C0AD9C;
}

.menu-footer a:hover,
.menu-footer a:active,
.menu-footer a:focus {
    color: #FFF9F3;
}

