/******** Social Icons ********/
@font-face {
    font-family: 'social';
    src:  url('../fonts/social/social.eot?68drbx');
    src:  url('../fonts/social/social.eot?68drbx#iefix') format('embedded-opentype'),
    url('../fonts/social/social.ttf?68drbx') format('truetype'),
    url('../fonts/social/social.woff?68drbx') format('woff'),
    url('../fonts/social/social.svg?68drbx#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'social' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-facebook:before {
    content: "\ea90";
}

.icon-twitter:before {
    content: "\ea96";
}

.icon-youtube:before {
    content: "\ea9d";
}

.icon-linkedin:before {
    content: "\eaca";
}

/******** Styles ********/
body {
    min-width: 800px;
    font-family: "Open Sans";
}

.jumbotron {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: transparent;
}

.jumbotron .container .row > div,
.r-preview .container .row > div{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.r-preview .container .row > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#r-search-wrapper {
    height: auto;
    margin: auto;
    padding-top: 12vh;
    padding-bottom: 0;
}

.r-search-wrapper .input-group {
    border-radius: 0;
    width: 800px;
    height: 8vh;
    box-shadow: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.r-search-wrapper .input-group input {
    border-radius: 0;
    height: 100%;
    width: 95%;
    box-shadow: none;
    font-size: 2rem;
    border: 1px solid #999;
    font-family: 'Open Sans', sans-serif;
    padding: 0.3em 0.8em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.r-search-wrapper .input-group .input-group-btn {
    height: 100%;
    width: 5%;
    vertical-align: initial;
    margin: 0;
    min-width: 55px;
}

.r-search-wrapper .input-group .input-group-btn button {
    border-radius: 0;
    height: 100%;
    width: 100%;
    font-weight: normal;
    border-color: #27ae60;
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    background-color: #27ae60;
    color: #fff;
}

.r-suggestions-wrapper {
    margin-top: 10px;
}

.r-suggestions-wrapper > div {
    width: 800px;
}

.r-suggestions-wrapper a {
    margin: 5px;
    cursor: pointer;
}

.r-preview-wrapper {
    height: 450px;
    width: 800px;
    position: relative;
}

.r-share-button-wrapper {
    position: absolute;
    top: 0;
    right: -90px;
}

.r-action-button-wrapper {
    width: 85%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-top: 1em;
}

.r-shuffle-theme {
    padding: 0;
    border: none;
    border-radius: 0;
    width: 5vw;
    height: 5vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.r-shuffle-theme i {
    font-size: 3rem;
}

.r-shuffle-theme span {
    font-size: 0.8em;
}

.r-action-button-wrapper .r-shuffle-theme {
    margin-right: 1em;
}

.r-share-button-wrapper .r-shuffle-theme,
.r-action-button-wrapper .r-shuffle-theme {
    width: 156px;
    height: 3vw;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-bottom: 1em;
    padding: 0 0.75em;
}

.r-action-button-wrapper .r-shuffle-theme {
    width: auto;
}

.r-share-button-wrapper .r-shuffle-theme i,
.r-action-button-wrapper .r-shuffle-theme i {
    font-size: 20px;
    margin-right: 10px;
}

.r-share-button-wrapper .r-shuffle-theme span {
    font-size: 12px;
}

.r-action-button-wrapper .r-shuffle-theme span {
    font-size: 1.7rem;
}

#previewIframe {
    border: none;
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.r-preview {
    height: auto;
    margin: 20px;
    margin-top: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.r-preview .container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#r-import-loader {
    width: 480px;
    height: 270px;
    display: none;
    align-self: center;
    justify-self: center;
}

.r-producthunt-preview-loader {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #E5EFF1;
    display: none;
}

.r-producthunt-preview-loader.active {
    display: block;
}

.r-producthunt-preview-loader img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.r-contact-us {
    width: 100%;
    height: 25vh;
    padding: 3rem 0;
    margin-top: 4rem;
}

.r-contact-us .container,
.r-contact-us .container .row {
    width: 100%;
    height: 100%;
    margin: 0;
}

.r-contact-us .container .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

footer {
    width: 100%;
}

/* Loading Animations */
.spinner {
    margin: 100px auto;
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #333;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/******** Modals ********/
/* Add Scenes Modal */
.r-add-scenes,
.r-get-video {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.r-add-scenes.fade.in,
.r-get-video.fade.in{
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.r-add-scenes .modal-dialog {
    height: 65%;
}

.r-add-scenes .modal-content,
.r-get-video .modal-content{
    border-radius: 0;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.r-add-scenes .modal-content .modal-header {
    width: 100%;
    height: 20%;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.r-add-scenes .modal-content .modal-body {
    width: 100%;
    height: 80%;
}

.r-add-scenes .modal-content .modal-body form {
    text-align: center;
}

.r-add-scenes .modal-content .modal-body h4 {
    text-align: left;
}

.r-add-scenes .modal-content .modal-body input {
    border-radius: 0;
    box-shadow: none;
}

.r-add-scenes .modal-content .modal-body button {
    border-radius: 0;
    width: 15%;
}

@media screen and (max-width: 768px) {
    body {
        overflow: hidden;
    }
}