body {
  font-family: 'Open Sans', serif;
  padding-top: 54px;
  color: #868e96;
  background-color: #000;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Saira Extra Condensed', serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #343a40;
}

h1 {
  font-size: 6rem;
  line-height: 5.5rem;
}

h2 {
  font-size: 3.5rem;
}

.fa-stack-2x {
    color: silver;
}

.subheading {
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Saira Extra Condensed', serif;
  font-size: 1.35rem;
}

.list-social-icons a {
  color: #495057;
}

.list-social-icons a:hover {
  color: #BD5D38;
}

.list-social-icons a .fa-lg {
  font-size: 1.75rem;
}

.list-icons {
  font-size: 3rem;
}

.list-icons .list-inline-item i:hover {
  color: #BD5D38;
}

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  #sideNav {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
  }
  #sideNav .navbar-brand {
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }
  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    max-height: 10rem;
    /*border: 0.5rem solid rgba(255, 255, 255, 0.2);*/
  }
  #sideNav .navbar-collapse {
    display: flex;
    align-items: flex-start;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }
  #sideNav .navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }
  #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
  }
}

section.resume-section {
  border-bottom: 1px solid #dee2e6;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

section.resume-section .resume-item .resume-date {
  min-width: none;
}

@media (min-width: 768px) {
  section.resume-section {
    min-height: 100vh;
  }
  section.resume-section .resume-item .resume-date {
    min-width: 18rem;
  }
}

@media (min-width: 992px) {
  section.resume-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    background: rgba(95,144,222,0.97);
  }
  
  section.resume-section.skills-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    background: #000!important;
  }
}

.bg-primary {
  background-color: #000 !important;
}

/*.text-primary {
  background-color: #3864BD !important;
}
*/
a {
  color: #BD5D38;
}

a:hover, a:focus, a:active {
  color: #824027;
}

.fa.fa-thermometer-empty.fa-stack-2x.fa-inverse {
    color: red;
}

/***broken ice***/
.col-md-12.content {
    height: 500px;
    max-width: 1000px;
    margin: 0 auto;
}
 #wrap {
    position: absolute;
    top: 0; left: 48px;
right: 47px; bottom: 0;
    background-color: #333;
    overflow: hidden;
    background: url(/img/girl_robot_by_ekaterina_frolova-d5wonoi.jpg) 0 0 repeat;
    background: url(/img/icehorse.png) 0 0 no-repeat;
    /*background: url(/img/robot-princess-bg.jpg) 0 0 no-repeat;*/
    
    /*width: 864px;*/
    background-size: contain;
}

section.resume-section.section-awards {
    background: url(/img/horsehead.jpg) 0 0 no-repeat;
    background-position: center;
    background-size: cover;
}
/*#popup {
    position: absolute;
    width: 300px;
    height: auto;
    top: 50%; left: 50%;
    margin-left: -150px; margin-top: -100px; 

    -webkit-perspective: 800px;
    -webkit-perspective-origin: 50% 50px;
   perspective: 800px;
   perspective-origin: 50% 50px;    
}*/
#popup {
position: absolute;
width: 100%;
height: auto;
top: 50%;
left: 25%;
margin-left: -25%;
margin-top: -251px;
-webkit-perspective: 800px;
-webkit-perspective-origin: 50% 50px;
perspective: 800px;
perspective-origin: 50% 50px;
cursor:url(/img/hammer2.png), auto;

}

.piece {
    background: rgba(95,144,222,0.97);
    float: left;
}

#popup h1 {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 40px;
    top: 13%; margin-top: -20px;    
    font-family: 'Noto Sans', sans-serif;
    color: #ccc;
    font-size: 30px;
}

.reverse {
    position: absolute;
    top: -50px;
    left: 50%;
    margin-left: -30px;
    font-family: 'Noto Sans', sans-serif;
    color: #ccc;
    cursor: pointer;
}

/***stars bg***/
* {
    margin: 0;
    padding: 0;
}
header {
    background-color:rgba(33, 33, 33, 0.9);
    color:#ffffff;
    display:block;
    font: 14px/1.3 Arial,sans-serif;
    height:50px;
    position:relative;
    z-index:5;
}
h2{
    margin-top: 30px;
    text-align: center;
}
header h2{
    font-size: 22px;
    margin: 0 auto;
    padding: 10px 0;
    width: 80%;
    text-align: center;
}
header a, a:visited {
    text-decoration:none;
    color:#fcfcfc;
}

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}

.stars, .twinkling, .clouds {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars.starsexperience, .twinkling.twinklingexperience, .clouds.cloudsexperience {
  position:absolute;
  top:100%;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars.starseducation, .twinkling.twinklingeducation, .clouds.cloudseducation {
  position:absolute;
  top:200%;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars.starsskills, .twinkling.twinklingskills, .clouds.cloudsskills {
  position:absolute;
  top:300%;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars.stars-awards, .twinkling.twinkling-awards, .clouds.clouds-awards {
  position:absolute;
  top:500%;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}



.stars {
  background:#000 url(http://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
  z-index:0;
}

.twinkling{
  background:transparent url(http://www.script-tutorials.com/demos/360/images/twinkling.png) repeat top center;
  z-index:1;

  -moz-animation:move-twink-back 200s linear infinite;
  -ms-animation:move-twink-back 200s linear infinite;
  -o-animation:move-twink-back 200s linear infinite;
  -webkit-animation:move-twink-back 200s linear infinite;
  animation:move-twink-back 200s linear infinite;
}

.clouds{
    background:transparent url(http://www.script-tutorials.com/demos/360/images/clouds3.png) repeat top center;
    z-index:3;

  -moz-animation:move-clouds-back 200s linear infinite;
  -ms-animation:move-clouds-back 200s linear infinite;
  -o-animation:move-clouds-back 200s linear infinite;
  -webkit-animation:move-clouds-back 200s linear infinite;
  animation:move-clouds-back 200s linear infinite;
}

.mb-auto, .my-auto {
    z-index: 99;
}


.blink_me.btn-uranus-group {
    position: absolute;
    right: 100px;
    top: 50px;
}

.blink_me.btn-uranus-group.arrival {
    position: absolute;
    right: 100px;
    top: 308%;
}

.blink_me {
  animation: blinker 3s linear infinite;
}

@keyframes blinker {  
  50% { opacity: 0.5; }
}

.btn.btn-uranus {
  display:block;
  height: 200px;
  width: 200px;
  border-radius: 50%;
  border: 1px solid #007bff;
  background-color: #007bff;
}


/***3d earth***/
#earth {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 3em auto;
  background: url(/img/uranus-bg.jpg) 0 0 repeat;
  border-radius: 50%;
  background-size: 630px;
  animation: rotate 4s linear infinite;
  transition: transform 200ms linear;
  transform-style: preserve-3d;
  box-shadow: inset 20px 0 80px 6px rgba(0, 0, 0, 1);
  color: #000;
}

#earth:after {
  content: "";
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: -80px 15px 80px 10px rgba(0,0,0,.9) inset;
}

#earth:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.2;
  background: radial-gradient(circle at 100px 100px, #fff, #000);
}

@keyframes rotate {
  0% {background-position: 0 0;}
  100% {background-position: 630px 0;}
}


/***rocket animation***/


.container-rocket {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
}

div {
    overflow: hidden;
}

.planete {
display: block;
background: black;
border-radius: 50%;
height: 300px;
width: 300px;
margin: 0;
background: #FE715D;
margin-top: 200px;
}

.cratere {
border-radius: 50%;
background: #E46650;
}

.cratere:nth-child(1) {
width: 70px;
height: 70px;
margin-left: -20px;
margin-top: 100px;
-webkit-transform: skew(-5deg);
}
.cratere:nth-child(2) {
width: 70px;
height: 70px;
margin-left: 250px;
-webkit-transform: skew(-5deg);
margin-top: -100px;
}
.cratere:nth-child(3) {
width: 50px;
height: 50px;
margin-left: 100px;
margin-top: 50px;
-webkit-transform: skew(-5deg);
}
.cratere:nth-child(4) {
width: 25px;
height: 25px;
margin-left: 200px;
margin-top: -100px;
-webkit-transform: skew(-5deg);
}

.rocket {
  position: absolute;
  top: -180px;
  left: -150px;
  width: 600px;
  height: 600px;
  overflow: visible;
  animation: rotate 8s 4s ease-in, goLeft 2s 12s ease-out ;
  animation-fill-mode:forwards;
}

svg {
  animation: decollage 5s 2s ease, spin 2s 3s linear;
  animation-fill-mode:forwards;
  position: absolute;
  bottom: 350px;
  right: 260px; 
}
    
.lol {
    animation: fade2 2s ease-in,  dash .3s 2s  infinite;
    z-index: -1;
}

circle:not(.hublot):nth-child(1) {
  opacity: 0;
  animation: fade .3s ease-out infinite;
  animation-delay: .0s;
}

circle:not(.hublot):nth-child(2) {
  opacity: 0;
  animation: fade .3s ease-out infinite;
  animation-delay: .1s;
}

circle:not(.hublot):nth-child(3) {
  opacity: 0;
  animation: fade .3s ease-out infinite;
  animation-delay: .2s;
}

circle:not(.hublot):nth-child(4) {
  opacity: 0;
  animation: fade .3s ease-out infinite;
  animation-delay: .3s;
}

.codevember {
  position: absolute;
  height: 80px;
  width: 500px;
  top: -150px;
}

figure {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fbff9e;;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
}

.c figure {
  opacity: 0;
  animation: fade3 1s  13s linear;
  animation-fill-mode:forwards;
}

.c figure:nth-child(1) {
  left: 40px;
}
.c figure:nth-child(2) {
  left: 20px;
}
.c figure:nth-child(4) {
  top: 20px;
}
.c figure:nth-child(5) {
  top: 40px;
}
.c figure:nth-child(6) {
  top: 60px;
}
.c figure:nth-child(7) {
  top: 60px;
  left: 20px;
}
.c figure:nth-child(8) {
  top: 60px;
  left: 40px;
}

.o figure {
  opacity: 0;
  animation: fade3 1s  12.75s linear;
  animation-fill-mode:forwards;
}

.o figure:nth-child(1) {
  top: 0px;
  left: 110px;
}
.o figure:nth-child(2) {
  top: 0px;
  left: 90px;
}
.o figure:nth-child(3) {
  top: 0px;
  left: 70px;
}
.o figure:nth-child(4) {
  top: 20px;
  left: 70px;
}
.o figure:nth-child(5) {
  top: 40px;
  left: 70px;
}
.o figure:nth-child(6) {
  top: 60px;
  left: 70px;
}
.o figure:nth-child(7) {
  top: 60px;
  left: 90px;
}
.o figure:nth-child(8) {
  top: 60px;
  left: 110px;
}
.o figure:nth-child(9) {
  top: 40px;
  left: 110px;
}
.o figure:nth-child(10) {
  top: 20px;
  left: 110px;
}

.d figure {
  opacity: 0;
  animation: fade3 1s  12.5s linear;
  animation-fill-mode:forwards;
}

.d figure:nth-child(1) {
  display: none;
}
.d figure:nth-child(2) {
  top: 0px;
  left: 160px;
}
.d figure:nth-child(3) {
  top: 0px;
  left: 140px;
}
.d figure:nth-child(4) {
  top: 20px;
  left: 140px;
}
.d figure:nth-child(5) {
  top: 40px;
  left: 140px;
}
.d figure:nth-child(6) {
  top: 60px;
  left: 140px;
}
.d figure:nth-child(7) {
  top: 60px;
  left: 160px;
}
.d figure:nth-child(8) {
  display: none;
}
.d figure:nth-child(9) {
  top: 40px;
  left: 180px;
}
.d figure:nth-child(10) {
  top: 20px;
  left: 180px;
}

.e figure {
  opacity: 0;
  animation: fade3 1s  12.25s linear;
  animation-fill-mode:forwards;
}

.e figure:nth-child(1) {
  top: 0px;
  left: 250px;
}
.e figure:nth-child(2) {
  top: 0px;
  left: 230px;
}
.e figure:nth-child(3) {
  top: 0px;
  left: 210px;
}
.e figure:nth-child(4) {
  top: 20px;
  left: 210px;
}
.e figure:nth-child(5) {
  top: 40px;
  left: 210px;
}
.e figure:nth-child(6) {
  top: 60px;
  left: 210px;
}
.e figure:nth-child(7) {
  top: 60px;
  left: 230px;
}
.e figure:nth-child(8) {
  top: 30px;
  left: 230px;
}
.e figure:nth-child(9) {
  top: 60px;
  left: 250px;
}
.e figure:nth-child(10) {
  top: 30px;
  left: 250px;
}

.p figure {
  opacity: 0;
  animation: fade3 1s 12s linear;
  animation-fill-mode:forwards;
}

.p figure:nth-child(1) {
  top: 0px;
  left: 320px;
}
.p figure:nth-child(2) {
  top: 0px;
  left: 300px;
}
.p figure:nth-child(3) {
  top: 0px;
  left: 280px;
}
.p figure:nth-child(4) {
  top: 20px;
  left: 280px;
}
.p figure:nth-child(5) {
  top: 40px;
  left: 280px;
}
.p figure:nth-child(6) {
  top: 60px;
  left: 280px;
}
.p figure:nth-child(7) {
  top: 20px;
  left: 320px;
}
.p figure:nth-child(8) {
  top: 40px;
  left: 320px;
}
.p figure:nth-child(9) {
  top: 40px;
  left: 300px;
}
.p figure:nth-child(10) {
  top: 30px;
  left: 250px;
}

.e2 figure {
  opacity: 0;
  animation: fade3 1s  11.75s linear;
  animation-fill-mode:forwards;
}

.e2 figure:nth-child(1) {
  top: 0px;
  left: 390px;
}
.e2 figure:nth-child(2) {
  top: 0px;
  left: 370px;
}
.e2 figure:nth-child(3) {
  top: 0px;
  left: 350px;
}
.e2 figure:nth-child(4) {
  top: 20px;
  left: 350px;
}
.e2 figure:nth-child(5) {
  top: 40px;
  left: 350px;
}
.e2 figure:nth-child(6) {
  top: 60px;
  left: 350px;
}
.e2 figure:nth-child(7) {
  top: 60px;
  left: 370px;
}
.e2 figure:nth-child(8) {
  top: 30px;
  left: 390px;
}
.e2 figure:nth-child(9) {
  top: 60px;
  left: 390px;
}
.e2 figure:nth-child(10) {
  top: 30px;
  left: 370px;
}

.n figure {
  opacity: 0;
  animation: fade3 1s  11.5s linear;
  animation-fill-mode:forwards;
}

.n figure:nth-child(1) {
  top: 0px;
  left: 460px;
}
.n figure:nth-child(2) {
  top: 20px;
  left: 460px;
}
.n figure:nth-child(3) {
  top: 40px;
  left: 460px;
}
.n figure:nth-child(4) {
  top: 60px;
  left: 460px;
}
.n figure:nth-child(5) {
  top: 30px;
  left: 440px;
}
.n figure:nth-child(6) {
  top: 0px;
  left: 420px;
}
.n figure:nth-child(7) {
  top: 20px;
  left: 420px;
}
.n figure:nth-child(8) {
  top: 40px;
  left: 420px;
}
.n figure:nth-child(9) {
  top: 60px;
  left: 420px;
}

@keyframes dash {
  0% { -webkit-transform: skew(0deg)}
  25% { -webkit-transform: skew(2deg)}
  50% { -webkit-transform: skew(0deg)}
  75% { -webkit-transform: skew(-2deg)}
  100% { -webkit-transform: skew(0deg)}
}

@keyframes fade {
  from {
    opacity: 0;
    -webkit-transform: translateY(0);
  } to {
    opacity: 1;
    -webkit-transform: translateY(20px);
  }
}

@keyframes fade2 {
  from {
    opacity: 0;
    -webkit-transform: translateY(-20px);
  } to {
    opacity: 1;
    -webkit-transform: translateY(0px);
  }
}

@keyframes fade3 {
  from {
    opacity: 0;
  } to {
    opacity: 1;
  }
}

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

@keyframes decollage {
  from {
    bottom: 350px;
  } to {
    bottom: 450px;
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  } to {
    -webkit-transform: rotate(-90deg);
  }
}

@keyframes goLeft {
  from {
    -webkit-transform: translateX(0);
  } to {
    -webkit-transform: translateX(-300px);
  }
}

.circle-question {

    width: 150px;
    height: 150px;
    border-radius: 50%;
    font-size: 13px;
    color: #fff;
    line-height: 150px;
    text-align: center;
    background: #3198b5;
    float: left;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    background-color: #000;
}

/**horizontal colapse***/
.btn-group-info {
    margin-bottom:10px;
}

.question-title {

    float: left;
    line-height: 40px;
    margin-right: 20px;
    color:#007bff !important;
}

#demo, #quest01, #quest02, #quest03, #quest04, #quest05, #quest06, #quest07, #quest08 {
    -webkit-transition: width 1s ease;
    -moz-transition: width 1s ease;
    -o-transition: width 1s ease;
    transition: width 1s ease;
    
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    background: #000;
    vertical-align: middle;
    line-height: 40px;
    height: 40px;

    width: 0px;
}
#demo.in, #quest01.in, #quest02.in, #quest03.in, #quest04.in, #quest05.in, #quest06.in, #quest07.in, #quest08.in {
    width: 80%;
}

.fa.fa-question.fa-stack-1x.fa-inverse {
    cursor: pointer;
}

.fa.fa-question.fa-stack-1x.fa-inverse:hover {
    background-color: red;
}



/***thermometer popup***/
.cd-nugget-info {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 50px;
  line-height: 50px;
  bottom: 0;
  left: 0;
}
.cd-nugget-info a {
  position: relative;
  font-size: 14px;
  color: #5e6e8d;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
.no-touch .cd-nugget-info a:hover {
  opacity: .8;
}
.cd-nugget-info span {
  vertical-align: middle;
  display: inline-block;
}
.cd-nugget-info span svg {
  display: block;
}
.cd-nugget-info .cd-nugget-info-arrow {
  fill: #5e6e8d;
}

/* -------------------------------- 

Main components 

-------------------------------- */
header {
  height: 200px;
  line-height: 200px;
  text-align: center;
  background-color: #5e6e8d;
  color: #FFF;
}
header h1 {
  font-size: 20px;
  font-size: 1.25rem;
}

.cd-popup-trigger {
  /*display: block;
  width: 170px;
  height: 50px;
  line-height: 50px;*/
  margin: 3em auto;
  text-align: center;
  color: #FFF;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50em;
  /*background: #35a785;*/
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.07);
}
@media only screen and (min-width: 1170px) {
  .cd-popup-trigger {
    margin: 6em auto;
  }
}

/* -------------------------------- 

xpopup 

-------------------------------- */
.cd-popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(94, 110, 141, 0.9);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
}
.cd-popup.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 4em auto;
  background: #FFF0;
  border-radius: .25em .25em .4em .4em;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.cd-popup-container p {
  padding: 3em 1em;
}
.cd-popup-container .cd-buttons:after {
  content: "";
  display: table;
  clear: both;
}
.cd-popup-container .cd-buttons li {
  float: left;
  width: 50%;
  list-style: none;
}
.cd-popup-container .cd-buttons a {
  display: block;
  height: 60px;
  line-height: 60px;
  text-transform: uppercase;
  color: #FFF;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  transition: background-color 0.2s;
}
.cd-popup-container .cd-buttons li:first-child a {
  background: #fc7169;
  border-radius: 0 0 0 .25em;
}
.no-touch .cd-popup-container .cd-buttons li:first-child a:hover {
  background-color: #fc8982;
}
.cd-popup-container .cd-buttons li:last-child a {
  background: #b6bece;
  border-radius: 0 0 .25em 0;
}
.no-touch .cd-popup-container .cd-buttons li:last-child a:hover {
  background-color: #c5ccd8;
}
.cd-popup-container .cd-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
  content: '';
  position: absolute;
  top: 12px;
  width: 14px;
  height: 3px;
  background-color: #8f9cb5;
}
.cd-popup-container .cd-popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.cd-popup-container .cd-popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.is-visible .cd-popup-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 1170px) {
  .cd-popup-container {
    margin: 8em auto;
  }
}
