
#thanks {
  font-size: 32px;
  text-align:center;
  padding-top:80px;
  
}

#devochka{
  max-height:400px;
  margin:0 auto;
  display:block;
}

#label {
  text-align:center;
  color:black;
  font-size:1.5em;
  margin-top:10px;
}
#slider-sizes {
    margin-top:0px;
}

#slider{
    float:right;
    width:75%;
    margin:10px auto 0 auto;
}
#sizes {
    float:left;
    width:15%;
    margin-left:5px;
    text-align:center;
    font-size:20px;
}

#btn-next {
    float:right;
    background-color:#1abc9c;
    width:30%;
    height:40px;
    font-size: 20px;
    color:white;
    display:block;
    margin-top: 0px;
    border:none;
}

#btn-back {
    float:left;
    background-color:#1abc9c;
    width:30%;
    height:40px;
    font-size: 20px;
    color:white;
    display:block;
    border:none;
    margin-top: 0px;
}

#btn-home {
    text-align:center;
    background-color:#1abc9c;
    width:50%;
    height:40px;
    font-size: 20px;
    color:white;
    display:block;
    border:none;
    margin:80px auto;
}

#pagination {
    float:left;
    width:50px;
    margin:-10px 8% 5px 13%;
    border:2px solid black;
    font-size: 18px;
    text-align:center;

    height:50px;
    border-radius:70px;
    padding-top:10px;
}

.ui-slider {
  background: #777777;
  border-radius: 32px;
  height: 12px;
  -webkit-box-shadow: none;
  box-shadow: none;
  margin-bottom: 20px;
  position: relative;
  cursor: pointer;
}
.ui-slider-handle {
  background-color: #16a085;
  border-radius: 50%;
  cursor: pointer;
  height: 18px;
  position: absolute;
  width: 18px;
  z-index: 2;
  -webkit-transition: background 0.25s;
  transition: background 0.25s;
}
.ui-slider-handle:hover,
.ui-slider-handle:focus {
  background-color: #48c9b0;
  outline: none;
}
.ui-slider-handle:active {
  background-color: #16a085;
}
.ui-slider-range {
  background-color: #1abc9c;
  display: block;
  height: 100%;
  position: absolute;
  z-index: 1;
}
.ui-slider-segment {
  background-color: #d9dbdd;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}
.ui-slider-value {
  float: right;
  font-size: 13px;
  margin-top: 12px;
}
.ui-slider-value.first {
  clear: left;
  float: left;
}
.ui-slider-horizontal .ui-slider-handle {
  margin-left: -9px;
  top: -3px;
}
.ui-slider-horizontal .ui-slider-handle[style*="100"] {
  margin-left: -15px;
}
.ui-slider-horizontal .ui-slider-range {
  border-radius: 30px 0 0 30px;
}
.ui-slider-horizontal .ui-slider-segment {
  float: left;
  margin: 3px -6px 0 0;
}

#page-2 {
    width:40%;
    border:2px solid black;
    margin-top:30px;
    border-radius:10px;
    padding:10px 10px 0 10px;
    margin-bottom:20px;
    background-color: white;
    color:black;
}

#page-1, #page-3 {
    color:white;
    width:40%;
    
}

.ss-form {
      border: 2px solid white;
      width:90%;
      margin:20px auto;
      border-radius:10px;
      background-color:#333;
}

input {
  height:30px;
  width:90%;
  display:block;
  margin: 2px auto 30px auto;
  width:60%;
}

p {
    margin:15px auto 0 auto;
    text-align:center;
}

#btn-start{
    background-color:#1abc9c;
    width:35%;
    height:40px;
    font-size: 20px;
    color:white;
    display:block;
    margin: 15px auto;
    border:none;
}

label {
  display:block;
  font-size:24px;
  padding-left:4%;
  width:30%;
  float:left;
}

    .fieldset {
        margin-top:30px;
    }


/* ********************************
M E D I A   Q U E R Y 
********************************** */

@media (max-width: 1200px) {
    #page-1,#page-2,page-3 {
        width: 50%;
    }

    label {
        width:30%;
        float:left;
    }
    input {
        width:60%;
        height:30px;
        margin-bottom:30px;
    }

    .fieldset {
    margin-top:30px;
    }
    #label {
      font-size:1.3em;
    }
}

@media (max-width: 960px) {

    #page-1,#page-2,#page-3 {
        width: 60%;
    }

    label {
        width:30%;
        float:left;
    }
    input {
        width:60%;
        margin-bottom:30px;
    }

    #thanks {
      font-size:30px;
    }

}

@media (max-width: 770px) {
    #mobile-contacts {
        display:none;
    }

    #page-1,#page-2, #page-3 {
        width:60%;
    }

    label {
        width:100%;
    }

    input {
        width:90%;
        margin: 2px auto 10px auto;
    }

    .fieldset {
        width:90%;
        margin:0 auto;
    }
    #thanks {
      font-size:28px;
    }
    #btn-home {
      width:60%;
    }
}

@media (max-width: 600px) {
    #page-1,#page-2,#page-3 {
       width:80%; 
    }

    label {
        width:100%;
    }

    input {
        width:90%;
        margin: 2px auto 10px auto;
    }
    .fieldset {
        width:90%;
        margin:0 auto;
    }

    #thanks {
      font-size:24px;
    }
    
}

@media (max-width: 480px) {
     #label {
      font-size:1.2em;
    }

    #devochka {
      max-height:300px;
    }

    #page-1,#page-2,#page-3 {
    width:90%;
    }
  
    #sizes{
      width:20%;
      font-size:16px;
    }

    #slider{
      width:70%;

    }

    .fieldset {
        width:90%;
        margin:0 auto;
    }
    
    input {
        width:90%;
        margin: 2px auto 10px auto;

    }
    label {
        width:100%;
    }

    p {
        margin:25px;
        font-size: 14px;
    }
    #btn-home {
       width:60%;
       font-size:16px;
    }
}