/* 

1.Font_connection
2.Specification
3.Hero_section
	- Header
	- Section_one
	- Section_two
4.Footer
5.Pass-recovery
6.Registration

 */

/* 1.Font_connection */

@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,700&subset=cyrillic');

/* font-family: 'Roboto Slab', sans-serif; */

/* 2.Specification */

body {
	font-family: 'Roboto Slab', sans-serif;
	padding: 0;
    margin: 0;
    margin: 0 auto;
	font-size: 14px;
	font-weight: 400;
    color: #000;
    position: relative;
    width: 100%;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

header, footer{
  flex:0 0 auto;
  background-color: green;
  color:#fff;
}

.section_two {
  flex:1 1 auto;
}

div, p, img, span, input, form, button, h1, h2, h3, h4, h5 , h6, a, ul, li {
	box-sizing: border-box;
	margin: 0;
   	padding: 0;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

input, input:hover, input:active, input:focus,
button, button:hover, button:active, button:focus, 
select, select:hover, select:active, select:focus {
    outline: none !important;
}

/* Header */

header {
	background: rgba(91,186,69, 0.9);
}

.top_logo {
	margin: 8px 0 8px 0;	
}

.top_link_scroll {
	display: block;
	margin: 0 auto;
}

/* Section_one */  

.section_one {
	background: #F1F0F0;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  margin: 0 auto;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: rgba(33,37,41, 0.7);
  transition: 0.3s ease;
  
}

#mainNav .navbar-toggler:hover {
  text-decoration: none;
  color: #fff;
  background-color: #52BA3A;
  transition: 0.4s ease;
  
}

.fd {
	margin-top: 12px;
}


#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 90%;
  font-weight: 600;
  padding: 0.75em 0;
  letter-spacing: 1.2px;
  color: #2C2C2C;
  text-align: center;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #52BA3A;
  -webkit-transition: 0.3s ease;
   -moz-transition:  0.3s ease;
   transition:  0.3s ease;
}

@media (min-width: 992px) {
  #mainNav {
   
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
   
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }
}

/* Section_two */


.section_two {
	background-image: -webkit-linear-gradient(#fff, #eee);
	background-image: -o-linear-gradient( #fff, #eee);
	background-image: linear-gradient( #E7E7E7, #D3D3D3);
	padding: 82px 0;
}

.section_two_reg {
	padding: 10px 0;
}

.reg_wrapper{
	background: #FCFCFC;
	padding: 20px;
	
}



.logo {
	margin-bottom: 20px;
}

.form_wrapper {
	width: 350px;
	max-width: 100%;
	display: inline-block;
   	text-align: center; 
   	vertical-align: middle;
}

.form {
	padding: 15px;
	color: #444;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form_caption {
	font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.form_caption__text {
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.2px;
}

hr {
    box-sizing: content-box;
    height: 0;
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #ddd;
}

input[type="text"]::-moz-placeholder {color: #999999;}
input[type="text"]::-webkit-input-placeholder { color: #999999; }
input[type="text"]:-ms-input-placeholder { color: #999999; }
input[type="text"]::-ms-input-placeholder { color: #999999; }
input[type="text"]::placeholder { color: #999999; } 

input[type="password"]::-moz-placeholder {color: #999999;}
input[type="password"]::-webkit-input-placeholder { color: #999999; }
input[type="password"]:-ms-input-placeholder { color: #999999; }
input[type="password"]::-ms-input-placeholder { color: #999999; }
input[type="password"]::placeholder { color: #999999; } 

.form_style {
	width: 100%;
	height: 40px;
    padding: 8px 6px;
    font-size: 16px;
    text-align: center;
    max-width: 100%;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.2s linear;
    transition-property: border, background, color, box-shadow, padding;
    border-radius: 4px;
}


.form_pass {
	margin-top: 15px;
}

.bonus_box_item {
	height: 40px;
    padding: 8px 6px;
    font-size: 16px;
    text-align: center;
    max-width: 100%;
   	border: 1px solid #ddd;
   	background-color: #fafafa;
   	transition: all 0.2s linear;
    transition-property: border, background, color, box-shadow, padding;
    border-radius: 4px;
}

.button_wrapper {
	margin-bottom: 20px;
}

.button_inter {
	display: inline-block;
	width: 50%;
	padding: 0 12px;
	margin: 0;
	cursor: pointer;
	color: #fff;

	line-height: 28px;
    min-height: 30px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.2px;

	background-color: #8CBA82;
	background-image: -webkit-linear-gradient(#8CBA82, #51BA3A);
	background-image: -o-linear-gradient(#8CBA82, #51BA3A);
	background-image: linear-gradient(#8CBA82, #51BA3A);
	background-origin: border-box;

	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
    border-color: rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(0, 0, 0, 0.4);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);

    -webkit-appearance: none;
    
    overflow: visible;
    font: inherit;
   	text-transform: none;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
}

.button_inter:hover {
	background: #51BA3A;
}

.button_inter i {
	margin-right: 5px;
}

.forgot_link {
	color: #57BA41;
}

.forgot_link:hover {
	text-decoration: none;
	color: #3A852A;
}

/* 4. Footer */

footer {
	background: #535853;
	padding: 20px 0 40px 0;
}

.rights {
	display: block;
	margin-top: 10px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
}

.down_info li {
	margin-top: 20px;
}

.down_info li a {
	text-decoration: none;
	color: #fff;
	font-size: 13px;
}

.down_info li a:hover {
	text-decoration: none;
	color: #52BA3A;
	transition: 0.3s ease;
}

.phone-num {
	display: block;
	margin-bottom: 12px;	
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-align: center;
}

.phone-num:hover {
	color: #52BA3A;
	transition: 0.3s ease;
	text-decoration: none;
}

.social__item a {
	display: block;
	width: 35px;
	height: 35px;
	padding: 5px 0;
	font-size: 16px;
	color: #fff;
	text-align: center;
}

.social__item_fb {
	border-radius: 50px;
	background: #3B5998 url('../img/fb.png') no-repeat center center;
}

.social__item_fb:hover {
	transition: 0.3s ease;
	background: #0091FF url('../img/fb.png') no-repeat center center;
}

.social__item_tw {
	margin: 0px 7px;
	border-radius: 50px;
	background: #55ACEE url('../img/social (1).png') no-repeat center center;
}

.social__item_tw:hover {
	transition: 0.3s ease;
	background: #02589A url('../img/tw.png') no-repeat center center;
}

.social__item_y {
	border-radius: 50px;
	background: #DD4B39 url('../img/g.png') no-repeat center center;
}

.social__item_y:hover {
	transition: 0.3s ease;	
	background: #D82B14 url('../img/g.png') no-repeat center center;
}

/* 5. Pass-recovery */ 

h2 {
	text-align: center;
	font-size: 30px;
	margin-bottom: 20px;
}

.ds {
	border: 1px solid red;
}

.js-form {
	margin-bottom: 40px;
}

.form-control {
		margin: 5px auto;
		margin-bottom: 10px;
}

.btn-primary {
	display: block;
	color: #fff;
	background: #52BA3A;
	border: 1px solid rgba(83,88,82, 0.3);
	background-image: -webkit-linear-gradient(#77BA68, #51BA3A);
	background-image: -o-linear-gradient(#77BA68, #51BA3A);
	background-image: linear-gradient(#77BA68, #51BA3A);
}

.btn-primary:hover {
	background: #449A30;
	color: #fff;
	border: 1px solid rgba(83,88,82, 0.3);
}

.js-form input[type="text"]::-moz-placeholder {color: #999999; text-align: center;}
.js-form input[type="text"]::-webkit-input-placeholder { color: #999999; text-align: center;}
.js-form input[type="text"]:-ms-input-placeholder { color: #999999; text-align: center;}
.js-form input[type="text"]::-ms-input-placeholder { color: #999999; text-align: center;}
.js-form input[type="text"]::placeholder { color: #999999; text-align: center; } 

.rule_form {
	text-align: center;
}

/* 6. Registration */

.btn_style {
	/* display: block; */
	padding: 2px;
	color: #fff;
	background: #52BA3A;
	border: 1px solid rgba(83,88,82, 0.3);
	background-image: -webkit-linear-gradient(#77BA68, #51BA3A);
	background-image: -o-linear-gradient(#77BA68, #51BA3A);
	background-image: linear-gradient(#77BA68, #51BA3A);
}

.btn_style:hover {
	background: #449A30;
	color: #fff;
	border: 1px solid rgba(83,88,82, 0.3);
	text-decoration: none;
}

.short_reg {
	display: block;
	padding: 8px;
	color: #fff;
	background: #52BA3A;
	border: 1px solid rgba(83,88,82, 0.3);
	background-image: -webkit-linear-gradient(#77BA68, #51BA3A);
	background-image: -o-linear-gradient(#77BA68, #51BA3A);
	background-image: linear-gradient(#77BA68, #51BA3A);
}

.short_reg:hover {
	background: #449A30;
	color: #fff;
	border: 1px solid rgba(83,88,82, 0.3);
	text-decoration: none;
}

.spacing {
	margin: 10px 0;
}

.rule_reg_item p:last-child  {
	font-weight: 900;
}

h3 {
	font-size: 20px;
	text-align: center;
	margin: 10px 0;
}

.name_reg input[type="text"]::-moz-placeholder {color: #999999; text-align: center;}
.name_reg input[type="text"]::-webkit-input-placeholder { color: #999999; text-align: center;}
.name_reg input[type="text"]:-ms-input-placeholder { color: #999999; text-align: center;}
.name_reg input[type="text"]::-ms-input-placeholder { color: #999999; text-align: center;}
.name_reg input[type="text"]::placeholder { color: #999999; text-align: center; } 

.reg_wrapper input, .reg_wrapper select {
	padding: 5px;
}

.reg_wrapper select {
	width: 28%;
}

.btn_num_sponsor {
	color: #fff;
	background: #52BA3A;
	border: 1px solid rgba(83,88,82, 0.3);
	background-image: -webkit-linear-gradient(#77BA68, #51BA3A);
	background-image: -o-linear-gradient(#77BA68, #51BA3A);
	background-image: linear-gradient(#77BA68, #51BA3A);
}

.btn_num_sponsor:hover {
	background: #449A30;
	color: #fff;
	border: 1px solid rgba(83,88,82, 0.3);
	text-decoration: none;
}

.reg_text p {
	display: block;
	text-align: center;
	padding: 8px 8px 0 0 ;
}

.marg_input {
	margin: 0 5px;
}

.par_sex {
	width: 50%;
}

.passport_choice p {
	padding-left: 10px;
	padding-bottom: 10px;
}

.seria {
	margin-bottom: 5px;
}

.adress_input_tel {
		margin: 0 5px;
	}

.gf {
	text-align: center;
}

.duty {
	margin-top: 20px;
	text-align: center;
}

.duty p {
	font-style: italic;
}

.ethic {
	font-size: 15px;
	height: 400px;
	margin-top: 30px;
	padding: 20px;
	background: #fff;
	text-align: center;
	border:  1px solid rgba(83,88,82, 0.8);
	box-shadow: 2px 4px 5px rgba(83,88,82, 0.7);
	overflow-y: scroll;
}

h4 {
	margin: 10px 0;
}

.ethic ul li{
	text-align: left;
	padding-bottom: 5px;
}

.ethic span {
	font-weight: 900;
	text-decoration: underline;
}

.list_ruls {
	list-style: none;
}

.link_regist {
	margin-top: 10px;
}

.link_regist input{
	margin-right: 10px;
}

.check_mail {
	font-size: 18px;
	text-align: center;
}








