/* ****** Mixins */
/**
 * Convert font-size from px to rem with px fallback
 *
 * @param $size - the value in pixel you want to convert
 *
 * e.g. p {@include fontSize(12px);}
 *
 */
/* ****** Variables */
/* ****** Colors */
/* ****** Color Variables */
/* ****** Sizes */
/* ****** Fonts */
/* ****** Placeholders */
/* ****** Colors */
/* ****** Color Variables */
/* ****** Sizes */
/* ****** Fonts */
.Article-content {
  background: white;
  border-radius: 4px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 35px;
  position: relative;
  width: 960px;
  z-index: 2;
}

/* ****** Shared Partials */
/* ===[ MIXINS ]=== */
/* ===[ SHARED PARTIALS ]=== */
/* ===[ VARIABLES ]=== */
/* ****** Colors */
/* ****** Color Variables */
/* ****** Sizes */
/* ****** Fonts */
/* ===[ FUNCTIONS ]=== */
/*
https://css-tricks.com/snippets/sass/px-to-em-functions/
EXAMPLES:
h1 {
  font-size: em(32);
}

// is the same as:

h1 {
  font-size: em(32px);
}
*/
.Poll {
  min-width: 1200px;
  max-width: 1600px;
  position: relative;
  margin: 0 auto 35px;
  text-align: center;
  border-radius: 4px;
  font-size: 1rem;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}
.Poll::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 5;
}
.Poll-container {
  height: 100%;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  width: 100%;
  z-index: 10;
}
.Poll-heading {
  font-size: 3.75em;
  color: #FFF;
}
.Poll-optionListContainer {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.Poll-optionContainer {
  display: inline-block;
  position: relative;
  margin: 1em .5em;
  padding: 7.14286%;
  border-radius: 50%;
}
.Poll-percentage {
  position: absolute;
  bottom: -2em;
  left: 45%;
  color: #FFF;
  font-style: normal;
  font-weight: bold;
}
.Poll-postVoteMessage {
  background: #c8c8c8;
  height: 100%;
  left: 0;
  opacity: .8;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.Poll--voted .Poll-optionContainer::before,
.Poll--showResults .Poll-optionContainer::before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  background-color: transparent;
  z-index: 10;
}

.EnhancedVideo .Poll,
.Article .Poll {
  min-width: 850px;
  font-size: .8rem;
}

.EnhancedVideo .Poll {
  border-radius: 0;
  margin-bottom: 0;
}
.EnhancedVideo .Poll .Poll-badge {
  display: none;
}

/* ===[ COMPASS ]=== */
/* ===[ VARIABLES ]=== */
/* ****** Colors */
/* ****** Color Variables */
/* ****** Sizes */
/* ****** Fonts */
/* ===[ LOCAL VARIABLES ]=== */
.PollOption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: .8em;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1.125em;
  word-wrap: break-word;
  overflow: hidden;
}
.PollOption::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  background-color: whitesmoke;
  z-index: -1;
}
.PollOption:active {
  transform: scale(0.95);
}
.PollOption-sanityCheck {
  opacity: 1;
  position: absolute;
  margin-top: 200px;
}
@media all and (max-width: 1550px) {
  .PollOption {
    font-size: 1.125em;
  }
}
@media all and (max-width: 1200px) {
  .PollOption {
    font-size: 1em;
  }
}

.PollOption--voted .PollOption-word::before {
  content: '\2713';
  margin: 0 .25em 0 0;
}

.Poll--showResults.Poll--allowHover .Poll-container:hover .PollOption {
  opacity: 1;
  -moz-transition-duration: 0;
  -o-transition-duration: 0;
  -webkit-transition-duration: 0;
  transition-duration: 0;
}

.Poll--allowHover {
  /* Setting the hover effect on the whole container looks better than only on the options container IMO */
}
.Poll--allowHover .PollOption:hover::after {
  background-color: gainsboro;
}
.Poll--allowHover .Poll-container:hover .PollOption {
  opacity: .5;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  -webkit-transition-property: opacity;
  transition-property: opacity;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.Poll--allowHover .Poll-optionListContainer .PollOption:hover {
  opacity: 1;
}
.Poll--allowHover .Poll-optionListContainer .PollOption:hover .PollOption-word {
  display: none;
}
.Poll--allowHover .Poll-optionListContainer .PollOption:hover .PollOption-sanityCheck {
  position: static;
  opacity: 1;
  margin-top: 0;
}

.EnhancedVideo .PollOption,
.Article .PollOption {
  font-size: .9rem;
}

.Article {
  font-size: 1rem;
  display: block;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  margin-bottom: 35px;
  padding-top: 40px;
}
.Article-avatarImg, .Article-thumbnail, .Article-desc {
  vertical-align: middle;
}
.Article-desc {
  display: inline-block;
  width: 620px;
  padding: 0 18px;
}
.Article-title {
  margin-top: 0;
}
.Article-decoration {
  display: none;
}
.Article-content {
  box-sizing: border-box;
  max-width: 1600px;
  min-width: 960px;
}
.Article-videoContainer {
  position: relative;
}
.Article-videoContainer:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 56.25%;
}
.Article-videoContainer > iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.Article-iframe {
  border: none;
  width: 100%;
  height: 100%;
}
.Article-title {
  color: black;
}
.Article-body img {
  max-width: 100%;
}
