@keyframes move{
  from{
    margin-left:-10px;
  }
  10%{
    margin-left: 20px;
  }
  to{
    margin-left: 50px;
  }
}
.nav nav-tabs{
  padding: 50px;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #ffffff;
    cursor: default;
    background-color: #039fd1;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}
.nav-tabs {
   border-bottom: none;
}
.form{
  font-family: 'Myriad Pro' ,sans-serif; 
  padding-top:70px ;
  background: #000000;
  display: inline-block;
  width:630px;
  height:410px;
  border: solid 25px #039fd1 ;
  border-radius: 5px;
  position: relative;
  margin-bottom: 50px;
}
.name{
  border-radius: 5px;
  color: white;
  padding: 23px 0 21px 23px;
  font-family: 'Myriad Pro' , sans-serif; 
  font-size: 15px;
  background: #322f2f;
  height: 60px;
  width: 480px;
  margin:0 56px 30px 43px;
  display: block;
}
.password{
  border-radius: 5px;
  padding: 23px 0 21px 23px;
  font-family: 'Myriad Pro' , sans-serif; 
  font-size: 15px;

  background: #322f2f;
  height: 60px;
  margin: 0 56px 20px 43px;
  width: 480px;
  display: block;
}
.forgot{
  margin-left: 66px;
  display: block;
  color: red;
}
.check{
  margin: 60px 300px 38px 67px;
  display: inline-block;
  animation-name: move;
  animation-duration: 1s;
}
.checkbox{
  display: inline-block;
}
label::hover{
  color: white;
  transition: 0.5s;

}
 .exit{ 
  padding: 8px 46px 12px 10px;
  font-size: 20px;
  font-weight: 500;
  color: white;
  background: #8d0a01;
  width: 90px;
  height: 40px;
  margin: 0 0 100px -111px;
  border: none;
  position: absolute;
  bottom: -87px;
  right: 20px;
  animation-iteration-count: infinite;
 }
 .exit:hover{
   background: #ac1a10;
   color: gray;
   transition: 0.2s;
   outline: none;
 }
img{
  width: 100%;
  height: 100%;  
  display: block;
}
/*Акордионы*/

.fon{  
  display: block;
  font-size: 20px;     
}
.panel-default>.panel-heading {
    text-decoration: none;
    outline: none;
    background-color: #0bbaf0;   
}
.panel-title {
  text-align: center;
    color: white; 
    margin-top: 0;
    margin-bottom: 0;
    font-size: 25px;   
  }
.panel-group .panel {
    margin-bottom: 10px;
    border-radius: 10px;
}
a:focus, a:hover {
    color: #23527c;
    text-decoration: none;
}

@media(max-width: 630px){
  .form{
  padding-top: 30px;
   width:100%;
   height: 100%;
   margin-bottom: 30px;
  }
  .form input{
    width: 100%;
    margin-left:0px;
    margin-right: 5px;
  }
  .forgot{
    margin-left:0px;
  }
  .check{
    margin: 20px 40px 20px -4px;
    animation: none;
    line-height: 15px;
  }
  .check input{
width: 15px;
display: inline-block;
  }
  label{
    font-size: 15px;
  }
  .exit{
    margin: 0px -10px 115px 10px;
  }
}

