
/*--@import url('https://fonts.googleapis.com/css?family=Muli:200,300,400');-*/

body {
  background: #ffffff;
  
font-family: 'Yanone Kaffeesatz', sans-serif;
  font-style: normal;
  font-weight: 300;
  overflow-x: hidden;
}

html, body {
  width: 100%;
  height: 100%;
}



/*---------------------------------------
  Typorgraphy              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-style: normal;
  font-weight: 200;
  letter-spacing: 0px;
}

h1 {
  color: #3d3d3f;
  font-size: 70px;
  line-height: normal;
}

h2 {
  color: #575757;
  font-size: 50px;
  line-height: 52px;
  margin-top: 0px;
}

h4 {
  color: #797979;
  font-size: 20px;
  font-weight: normal;
}

p {
    color: #878787;
    font-size: 22px;
    font-weight: 300;
    line-height: 28px;
    letter-spacing: 0.2px;
}

strong, span {
  color: #878787;
  font-weight: normal;
}



/*---------------------------------------
  Buttons               
-----------------------------------------*/

.section-btn {
  background: #76ac00;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.6px;
  padding: 14px 32px 18px 32px;
  margin-top: 32px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.section-btn:focus,
.section-btn:hover {
  background: #000000;
  color: #ffffff;
}



/*---------------------------------------
    General               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  color: #575757;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover, a:active, a:focus {
  color: #000000;
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.section-title {
  margin: 0;
  padding-bottom: 32px;
}

#about, #work,
#contact {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

#about img, #team img {
  border-radius: 5px;
}

#work, #form {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

#contact {
  text-align: center;
}


.bybooklink a{
	color:red;
	
	
}

/*---------------------------------------
  Pre loader section              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65px;
  height: 65px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #000000;
  border-top-color: #f9f9f9;
  animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {transform: rotate(360deg);}
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}



/*---------------------------------------
  Navigation section              
-----------------------------------------*/

.custom-navbar {
  border: none;
  margin-bottom: 0;
  background-color: #ffffff;
  padding-top: 22px;
}

.custom-navbar .navbar-brand {
  color: #444;
  font-weight: normal;
  font-size: 24px;
}

.custom-navbar .nav li a {
  font-size: 24px;
  font-weight: 300;
  color: #656565;
  letter-spacing: 1px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  padding: 0;
  margin: 15px;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  background-color: transparent;
  color: #454545;
}

.custom-navbar .navbar-nav li a:after {
  content: "";
  position: absolute;
  display: block;
  width: 0px;
  height: 2px;
  margin: auto;
  background: transparent;
  transition: width .3s ease, background-color .3s ease;
}

.custom-navbar .navbar-nav li a:hover:after,
.custom-navbar .nav li.active > a:after {
  background: #ea3d7a;
  color: #ffffff;
  width: 100%;
}

.custom-navbar .nav li.active > a {
  background-color: transparent;
  color: #ea3d7a;
}

.custom-navbar .navbar-toggle {
  border: none;
  padding-top: 12px;
}

.custom-navbar .navbar-toggle {
  background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
  background: #000000;
  border-color: transparent;
}

@media(min-width:768px) {
    .custom-navbar {
      border-bottom: 0;
      background: 0 0; 
    }
    .custom-navbar.top-nav-collapse {
      background: #ffffff;
      box-shadow:0 40px 100px rgba(0,0,0,.2);
      padding: 10px 0;
    }

}



/*---------------------------------------
  Home section              
-----------------------------------------*/

#home {
  display: -webkit-box;
  display: -webkit-flex;
   display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
   align-items: center;
  /*height:500px;    ---------------------------------------height: 100vh;----------------*/
  position: relative;


}

#home img {
  /*height: 250px;width: 250px;*/
 

}

#home h1 {
text-align:right;
  font-size: 40px;
  font-weight: 300;
}

#home h4 {
  color: #ffffff;
  font-size: 35px;
  font-weight: 300;
    /*--- background-color:#7bb60e; ----*/
  padding: 10px 5px 5px 10px; 
  margin-top:-10px;
   background-color:#82a64e; 
   
   width:440px;
}



#home h5 {
 
  font-size: 22px;
  font-weight: 300;

  
}

#home .cvetet {
	
	 margin-top:120px; margin-left:-300px; 
}
#home .zacvetet {
	
	  height:600px; 
}


/*---------------------------------------
  статьи и материалы              
-----------------------------------------*/

#materials .work-thumb {
  border-radius: 5px;
  margin-bottom: 15px;
  padding: 0;
  overflow: hidden;
  position: relative;
  top: 0;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

#materials .work-thumb:hover {
  background: #ffffff;
  box-shadow: 0px 16px 22px 0px rgba(90, 91, 95, 0.3);
  top: -5px;
}

#materials .work-thumb img {
  border-radius: 5px;
}






/*---------------------------------------
  About section              
-----------------------------------------*/

#about .section-title {
  padding-bottom: 16px;
}

/*-#about .col-md-4 a {
  width: 100px;
  height: 100px;
  display: inline-block;
  margin: 6px 6px 0px 0;
}-*/


#about .subscr {
  font-size: 20px;

  padding:10px;
  background-color:red;
  color:white;
 border-radius: 5px;
 
 font-size:22px;
  
}

#about .subscr:hover{
	padding:11px;
	box-shadow: 0px 16px 22px 0px rgba(90, 91, 95, 0.3);
}


#about .about-thumb {
  margin-top: 22px;
}

#about .about-thumb strong {
  font-weight: normal;
  display: block;
  padding-top: 4px;
}



/*---------------------------------------
  Skill section              
-----------------------------------------*/

#skill {
  border-top: 1px solid #f0f0f0;
  padding-top: 80px;
  padding-bottom: 60px;
}

.skill-thumb strong,
.skill-thumb span {
  color: #575757;
  font-size: 18px;
  padding-bottom: 8px;
  display: inline-block;
}

.skill-thumb .progress {
  background: #ffffff;
  border-radius: 5px;
  box-shadow: none;
  height: 4px;
}

.skill-thumb .progress-bar-primary {
  background: #3d3d3f;
}



/*---------------------------------------
  Work section              
-----------------------------------------*/

#work .work-thumb {
  border-radius: 5px;
  margin-bottom: 15px;
  padding: 0;
  overflow: hidden;
  position: relative;
  top: 0;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

#work .work-thumb:hover {
  background: #ffffff;
  box-shadow: 0px 16px 22px 0px rgba(90, 91, 95, 0.3);
  top: -5px;
}

#work .work-thumb img {
  border-radius: 5px;
}

#work h4 {

  font-size: 30px;
  font-weight: 300;


}



/*---------------------------------------
  Contact section              
-----------------------------------------*/

#contact .form-control {
  border-radius: 0px;
  border-color: #f0f0f0;
  box-shadow: none;
  font-size: 18px;
  margin-top: 12px;
  margin-bottom: 12px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

#contact .form-control:focus {
  border-bottom: 2px solid #999999;
}

#contact input {
  height: 55px;
  border: none;
  border-bottom: 1px solid #f0f0f0;
}

#contact button#submit {
  background: #000000;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 300;
  height: 55px;
  padding-bottom: 10px;
  margin-top: 24px;
}

#contact button#submit:hover {
  background: #d7b065;
  color: #ffffff;
}



/*---------------------------------------
  Social icon             
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  background: #292929;
  border-radius: 100%;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  vertical-align: middle;
  position: relative;
  margin: 20px 6px 10px 6px;
}

.social-icon li a:hover {
  background: #d7b065;
  transform: scale(1.1);
}




/*---------------------------------------
  Social icon    BIG         
-----------------------------------------*/

.social-icon-big {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon-big li {
  display: inline-block;
  list-style: none;
}

.social-icon-big li a {
  background: #588001;
  border-radius: 100%;
  color: #ffffff;
  cursor: pointer;
  font-size: 35px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  vertical-align: middle;
  position: relative;
  margin: 20px 6px 10px 6px;
}

.social-icon-big li a:hover {
  background: #d7b065;
  transform: scale(1.1);
}


/*---------------------------------------
  Mobile Responsive styles              
-----------------------------------------*/

@media (min-width: 768px) and (max-width: 1024px) {
  #home {
    height: 50vh;
  }
}

@media (min-width: 667px) and (max-width: 767px) {
  #home {
    height: 140vh;
  }
}

@media (min-width: 568px) and (max-width: 665px) {
  #home {
    height: 190vh;
  }
}

@media (max-width: 980px) {

 h1 {font-size: 35px;}

 #work .work-thumb {
  margin-top: 30px;
 }
 #home {
    height: 1000px;
  }
}


@media (max-width: 768px) {

  h1 {
    font-size: 35px;
    line-height: normal;
  }

  h2  {font-size: 35px;}

  .custom-navbar {
    background-color: #ffffff;
    box-shadow:0 40px 100px rgba(0,0,0,.2);
    padding-top: 0px;
    padding-bottom: 5px;
  }

  .custom-navbar .nav {
    padding-bottom: 10px;
  }

  .custom-navbar .nav li a {
    display: inline-block;
    margin-bottom: 5px;
  }

}


@media (max-width: 580px) {
  #home {
    height: 700px;
  }
  
  
  #home .cvetet {
	 margin-top:40px; margin-left:0px; 
}
  #home  .zacvetet {
	 margin-left:-10px; margin-top:-10px; width:380px; height:auto;
}

  
  #about .about-thumb {
    margin-top: 0px;
  }

  .about-thumb .social-icon {
    margin-bottom: 15px;
  }

}


@media (max-width: 357px) {

  h1 {
    font-size: 28px;
  }

  #about .col-md-4 a {
    width: 85px;
    height: 85px;
  }

}

.form { 
max-width: 500px;
    margin: auto;
    padding: 30px 50px 30px 30px;
    background: #fff;
    box-shadow: 0 0 10px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.form h1 {
	text-align: center;
    margin-bottom: 40px;
}

.form input, .form textarea {
border: 1px solid #ccc;
    padding: 2px 10px;
    width: 100%;
    border-radius: 5px;
    margin:5px 0px;
    max-width: 100%;
    min-width: 100%;
    display: block;
    font-size: 24px;
}
.form label { 
	font-size: 24px;
    line-height: 54px;
    padding-top: 2px;
	padding-left:20px;
}

.cmd {
	background: red;
    color: #fff;
    font-weight: bold;
    /* padding-top: 8px !important; */
    border: none !important;
    border-radius: 10px;
    padding: 10px 20px !important;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 17px;
    line-height: 23px;
}
.cmd:hover {
	color:#fff !important;
}

footer p{
	font-size:16px;
	color:#666;
}

@media (max-width: 465px) {
.form {
    max-width: 500px;
    margin: auto;
    padding: 10px 20px 10px 10px;
    background: #fff;
    box-shadow: 0 0 10px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}
}

.table {
	border-left:1px solid #ccc;
	border-top:1px solid #ccc;
}
.table td, .table th{
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	padding:5px;
}