html {
    width: 100%;
}

body {
    width:100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    font-family: "Roboto_Regular", Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    line-height: 24.375px;
}

@media (min-width: 768px) {
    body > div {
        padding:0px 72px;
    }
}

h2 {

}

.control {
    width: 100%;
    text-align: center;
}

.control > span {
    cursor: pointer;
    display: inline-block;
}

.control > span.previous, .control > span.next {
    vertical-align:text-bottom;
    margin:0px 4px;
}

.control > span.dot {
    height: 12px;
    width: 12px;
    background-color: #FFF;
    border: 2px solid #777;
    border-radius: 8px;
    margin:0px 2px;
    transition: background-color 0.3s, height 0.3s, width 0.3s, border-radius 0.3s;
    
}

.control > span.dot.active {
    background-color: #777;
    border-color:#555;
}

.extra h2 {
    font-size: 20px;
    margin:10px 0px;
}

.extra p {
    font-size: 12px;
    margin:8px 0px;
    line-height: 20px;
}

@media (max-width: 500px) {
  .extra p, .control {
    font-size: 12px;
    line-height: 14px;
  }

  .extra h2 {
    font-size: 16px;
    }

    /*.control > span.dot {
        height: 22px;
        width: 22px;
        border-radius: 14px;
    }*/

    .control > span.previous, .control > span.next {
        display: none;
    }
}


.wrapper {
    position: relative;
    overflow: hidden;
}

.wrapper > .slide {
    position: absolute;
    transition: left 1s, height 1s;
    top:0px;
}

.wrapper > .slide > div {
    height: 100%;
}

.wrapper > .slide > .image {
    text-align: center;
}

/* http://stackoverflow.com/questions/1891857/how-do-you-stretch-an-image-to-fill-a-div-while-keeping-the-images-aspect-rat */

.wrapper > .slide > .image > div {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/*.wrapper > .slide > .image > img.wide {
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

.wrapper > .slide > .image > img.tall {
    max-height: 100%;
    max-width: 100%;
    width: auto;
}*/

/* Tweet design. By the NRCQ team */

.wrapper > .slide > .tweet > blockquote {
    padding: 0 48px 0 14px;
    left: 21px;
    position: relative;
    margin: 0px 0px 0px -14px;
    outline: 0;
    border: 0;
    vertical-align: baseline;
    font-size: 18px;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.4;
}
.wrapper > .slide > .tweet > blockquote:before {
    border-top: 48px solid #81daf8;
    border-left: 21px solid transparent;
    content: " ";
    position: absolute;
    top: 9px;
    left: 0;
    width: 0;
    height: 0;
    transform: rotate(0);
}

.wrapper > .slide > .tweet > blockquote > div {
    padding: 30px 18px 12px 86px;
    background: #81daf8;
    border-radius: 3px;
    background-clip: padding-box;
    height: 100%;
}

.wrapper > .slide > .tweet > blockquote a {
    border: none;
    text-decoration: none;
}

.wrapper > .slide > .tweet > blockquote > div > a {
    position: absolute;
    left:32px;
}

.wrapper > .slide > .tweet > blockquote > div > a > figure {
    margin: 0;
}

.wrapper > .slide > .tweet > blockquote > div > a > figure > img {
    top: 20px;
    left: 36px;
}

.wrapper > .slide > .tweet > blockquote > div > .name {
    font-family: "Roboto_Semibold", "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
    font-size: 0.9em;
    display: block;
    margin: 4px 0 2px;
    color: #4c4c4c;
}

.wrapper > .slide > .tweet > blockquote > div > .name > a > .username {
    padding: 0 .2em 0 0;
    font-family: "Roboto_Semibold";
}

.wrapper > .slide > .tweet > blockquote > div > .text {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.9em;
}

.wrapper > .slide > .tweet > blockquote > div > .status {
    display: block;
    margin: 3px 0 0;
    font-family: "Roboto_Semibold", "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
    font-size: 0.7em;
}

.wrapper > .slide > .tweet > blockquote > div > .status > a {
    color: #4c4c4c;
}

@media (max-width: 500px) { 
    .wrapper > .slide > .tweet > blockquote > div > .text, .wrapper > .slide > .tweet > blockquote > div > .name {
        font-size: 0.8em;
    }
}

@font-face {
  font-family: 'Roboto_Regular';
  font-style: normal;
  font-weight: normal;
  src: local(''),
       url('../fonts/roboto/roboto-v29-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto/roboto-v29-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-italic - latin */
@font-face {
  font-family: 'Roboto_Italic';
  font-style: normal;
  font-weight: normal;
  src: local(''),
       url('../fonts/roboto/roboto-v29-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto/roboto-v29-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto_Semibold';
  font-style: normal;
  font-weight: normal;
  src: local(''),
       url('../fonts/roboto/roboto-v29-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto/roboto-v29-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
