﻿*{
    margin:0px;
    padding:0px;
    box-sizing:border-box;
}


input, select, textarea {
  outline: none;
  appearance: unset !important;

}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  appearance: none !important;
  margin: 0; 
}

input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: none !important;
 }

 input:-webkit-autofill {
  box-shadow: 0 0 0 30px white inset;
  }

h2 {
  line-height: 1.8;
  margin: 0;
  padding: 0;
  font-weight: bold;
  color: #222;
  font-family: 'Roboto Slab';
  font-size: 32px;
  text-shadow: 1px -1px 1px #000;
  margin-bottom: 30px;
  text-transform: uppercase; }

  body {
  background-color:#EFF4FF;
  font-size: 13px;
  line-height: 1.8;
  color: #fff;
  font-weight: 400;
  font-family: 'Roboto Slab';
  margin: 0px; }

.main {
  padding: 60px 0;
  position: relative;
   
}

.container {
  width: 586px;
  margin:auto;
  background: #fff;
  margin-left: 290px;
  border:1.2px solid #3a518d;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
  -ms-border-radius: 10px; 
   padding: 21px;
   box-shadow: 2px 3px 4px #000;

}

.reg-form {
  padding: 50px 60px 70px 60px; 

}

input, select {
  width: 100%;
  display: block;
  border: none;
  border-bottom: 2px solid #ebebeb;
  padding: 5px 0;
  color: #222;
  margin-bottom: 31px;
  font-family: 'Roboto Slab'; 
}
  input:focus, select:focus {
    color: #222;
    border-bottom: 2px solid #4966b1; 
  }

input[type=checkbox]:not(old) {
  width: 2em;
  margin: 0;
  padding: 0;
  font-size: 1em;
  display: none; }

input[type=checkbox]:not(old) + label {
  display: inline-block;
  margin-top: 7px;
  margin-bottom: 25px; }

input[type=checkbox]:not(old) + label > span {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 15px;
  margin-bottom: 3px;
  border: 1px solid #ebebeb;
  background: white;
  background-image: -moz-linear-gradient(white, white);
  background-image: -ms-linear-gradient(white, white);
  background-image: -o-linear-gradient(white, white);
  background-image: -webkit-linear-gradient(white, white);
  background-image: linear-gradient(white, white);
  vertical-align: bottom; }

input[type=checkbox]:not(old):checked + label > span {
  background-image: -moz-linear-gradient(white, white);
  background-image: -ms-linear-gradient(white, white);
  background-image: -o-linear-gradient(white, white);
  background-image: -webkit-linear-gradient(white, white);
  background-image: linear-gradient(white, white); }

input[type=checkbox]:not(old):checked + label > span:before {
  content: '\f26b';
  display: block;
  color: #222;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  font-family: 'Material-Design-Iconic-Font';
  font-weight: bold; }

  input::placeholder{
    font-size: 17px;
  }

.form-check {
  margin-bottom: 20px; }

.select-list 
{
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 55px; 
}

@media screen and (max-width: 1024px) {
  .container {
    margin: 0 auto; 

  } 

}
@media screen and (max-width: 768px) {
  .container {
    width: calc( 100% - 30px);
    max-width: 100%; 

  }
  h2{
      font-size:25px;
  }

}
@media screen and (max-width: 480px) {
  .reg-form {
    padding: 50px 30px 70px 30px; 
   } 
  h2{
      font-size:20px;
  }
}

.btn{
    
  padding: 10px 25px;
  border: none;
  outline: none;
  background-color: #3a518d;
  color: white;
  border-radius: 5px;
}

.btn:hover{
  background-color: white;
  color: #3a518d;
}

