@import url(//fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700);

/* Base */

body {
    background: #000;
}

#body-wrapper {
    color: #fff;
    font: 0 sans-serif;
    min-width:750px;
}

#form-body {
    min-width: 0;
    background-color: #333;
}

img {
    font-size: 12px;
}

a {
    color: #fff;
    text-decoration: none;
}

strong {
    font-weight: inherit;
}

/* Header */

#template-header {
    background: #515151 url(../images/headerbg.jpg);
    border-bottom: 1px solid #515151;
    color: #fff;
    display: inline-block;
    margin-bottom: 10px;
    padding: 20px 0;
    width: 100%;
}

#logo-ctn {
    float: left;
    margin-left: 45px;
}

#logo {
    display: inline-block;
    float: left;
    width: 258px;
    height: 66px;
}

.tagline {
    display: inline-block;
    font: bold 30px/33px 'Open Sans Condensed', sans-serif;
    margin-left: 40px;
    text-align: left;
    text-transform: uppercase;
    padding-left: 10px;
    position: relative;
    vertical-align: top;
    width: 265px;
}

.tagline:after {
    content: '';
    border-left: 1px solid #6b99dd;
    height: 56px;
    position: absolute;
    left: -1px;
    top: 6px;
}

.tagline:before {
    content: '';
    display: block;
    border-style: solid;
    border-width: 5px 5px 5px 0;
    border-color: transparent #6b99dd transparent transparent;
    margin-top: -5px;
    width: 0;
    height: 0;
    position: absolute;
    left: -6px;
    top: 50%;
}

.right {
    float: right;
    font-weight: bold;
    line-height: 15px;
    margin-right: 35px;
    text-align: right;
}

#login {
    font: 700 14px/18px 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
}

#login:hover {
    color: #6b99dd;
}

.btn {
    color: #fff;
    display: block;
    font: bold 27px/49px 'Open Sans Condensed', sans-serif;
    padding: 0 12px;
    height: 49px;
    text-transform: uppercase;
    text-shadow: 1px -1px rgba(0,0,0,.4);
    border-radius: 4px;
    box-shadow: inset 0 0 4px 2px #84da3e;
    background: #8edd6b;
    background: -moz-linear-gradient(top,  #8edd6b 0%, #339b41 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8edd6b), color-stop(100%,#339b41));
    background: -webkit-linear-gradient(top,  #8edd6b 0%,#339b41 100%);
    background: -o-linear-gradient(top,  #8edd6b 0%,#339b41 100%);
    background: -ms-linear-gradient(top,  #8edd6b 0%,#339b41 100%);
    background: linear-gradient(to bottom,  #8edd6b 0%,#339b41 100%);
}

.btn:hover {
    background: #78cd53;
    background: -moz-linear-gradient(top,  #78cd53 0%, #288f36 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#78cd53), color-stop(100%,#288f36));
    background: -webkit-linear-gradient(top,  #78cd53 0%,#288f36 100%);
    background: -o-linear-gradient(top,  #78cd53 0%,#288f36 100%);
    background: -ms-linear-gradient(top,  #78cd53 0%,#288f36 100%);
    background: linear-gradient(to bottom,  #78cd53 0%,#288f36 100%);
}

/* Share */

.share-ctn {
    display: inline-block;
    text-align: center;
    position: fixed;
    left: -129px;
    top: 25%;
    width: 150px;
    background-color: #111;
    border-radius: 0 20px 20px 0;
    padding: 10px;
    z-index: 100;
    -webkit-transition: left .5s ease-in .3s;
    -moz-transition: left .5s ease-in .3s;
    -o-transition: left .5s ease-in .3s;
    transition: left .5s ease-in .3s;
}

.share-ctn:hover,
.share-ctn.hover {
    left: -10px;
    -webkit-transition: left .5s ease-out;
    -moz-transition: left .5s ease-out;
    -o-transition: left .5s ease-out;
    transition: left .5s ease-out;
}

.share {
    background: 125px center no-repeat;
    position: relative;
    display: block;
    width: 140px;
    text-align: left;
    border-radius: 0 200px 200px 0;
    padding: 5px;
    height: 20px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .35), inset 0 1px 0 0 rgba(255, 255, 255, .2);
}


.share:before {
    content: '';
    width: 23px;
    height: 22px;
    line-height: 0;
    background: url(../images/social-icon.png) right no-repeat;
    display: block;
    position: absolute;
    right: 5px;
}

#twitter:before {
    background-position: 0 0;
}

#tumblr:before {
    background-position: -60px 0;
}

#gplus:before {
    background-position: -121px 0;
}

#tumblr {
    background-color: #3d5c9b;
}

#twitter {
    background-color: #00b1f1;
}

#gplus {
    background-color: #515356;
}

.share + .share {
    margin-top: 10px;
}

.share-ctn:hover,
.share-ctn.hover {
    left: -10px;
}

/* Thumbs */

.thumb-ctn {
    width: 350px;
    margin: 0 5px 15px;
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.thumb-ctn .meta {
    width: 100%;
    height: 43px;
    font-size: 14px;
    line-height: 17px;
    color: #6b99dd;
    text-align: left;
}

.thumb-ctn .meta span {
    margin-left: 10px;
}

.thumb-ctn.small .meta {
    width: 100%;
    height: 28px;
    font-size: 11px;
    line-height: 28px;
}

.thumb-ctn .meta .value {
    color: #fff;
}

.thumb-ctn .video-title {
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
}

.thumb-ctn h2 {
    line-height: 22px;
    width: 95%;
    display: inline-block;
    overflow: hidden;
    margin-left: 10px;
}

/* Play */

.play-btn {
    box-shadow: inset 0 0 4px 2px #6b99dd;
    background: #6b99dd;
    background: -moz-linear-gradient(top,  #6b99dd 0%, #325d9a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6b99dd), color-stop(100%,#325d9a));
    background: -webkit-linear-gradient(top,  #6b99dd 0%,#325d9a 100%);
    background: -o-linear-gradient(top,  #6b99dd 0%,#325d9a 100%);
    background: -ms-linear-gradient(top,  #6b99dd 0%,#325d9a 100%);
    background: linear-gradient(to bottom,  #6b99dd 0%,#325d9a 100%);
}

.play-btn:hover {
    background: #5888cf;
    background: -moz-linear-gradient(top,  #5888cf 0%, #26518d 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5888cf), color-stop(100%,#26518d));
    background: -webkit-linear-gradient(top,  #5888cf 0%,#26518d 100%);
    background: -o-linear-gradient(top,  #5888cf 0%,#26518d 100%);
    background: -ms-linear-gradient(top,  #5888cf 0%,#26518d 100%);
    background: linear-gradient(to bottom,  #5888cf 0%,#26518d 100%);
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -60px 0 0 -40px;
    text-align: left;
    cursor: pointer;
    -webkit-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
}

.play-btn.hide {
    opacity: 0;
}

.play-btn img {
    margin: 17px 0 0 23px;
}

.thumb-ctn .play-btn {
    opacity: 0;
}

.thumb-ctn:hover .play-btn {
    opacity: 1;
}

/* Player */

#player {
    width: 59%;
    max-width: 1120px;
    margin: 8px 5px 0 9px;
    display: inline-block;
    vertical-align: top;
    position: relative;
}

#player .thumb-img-ctn {
    padding-bottom: 56.25%;
    position: relative;
}

#player .video-img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 1200px;
    width: 100%;
}

#player-controls {
    line-height: 0;
    text-align: center;
    position: absolute;
    bottom: 2px;
    left: 5px;
    right: 5px;
}

#player-controls .ctrl-ctn {
    width: 100%;
    display: inline-block;
    background: #000;
}

#player-controls #ctrl-right-ctn {
    float: right;
    margin: 0 2px;
    text-align: left;
    padding: 8px 9px;
}

#player-controls .play-ctrl {
    width: 11px;
    height: 11px;
    margin: 8px 9px 7px 10px;
    float: left;
    background: url(../images/playerctrl_sheet.png) no-repeat;
    vertical-align: top;
    cursor: pointer;
    -webkit-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
}

#player-controls .play-ctrl:hover,
#player-controls .play-options:hover {
    opacity: .7;
    -webkit-transition: opacity .2s ease-in;
    transition: opacity .2s ease-in;
}

#player-controls #right-ctrl {
    position: absolute;
    right: 5px;
    top: 8px;
}

#player-controls #progress-bar {
    position: absolute;
    left: 27px;
    right: 82px;
    top: 8px;
    height: 7px;
    border: 1px solid #5a5f60;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}

#loadbar {
    width: 1px;
    max-width: 100%;
    height: 7px;
    background-color: #6b99dd;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: width .2s ease-in;
    transition: width .2s ease-in;
}

#player-controls .play-options {
    height: 10px;
    width: 10px;
    margin-right: 10px;
    background: url(../images/playerctrl_sheet.png) no-repeat;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}

#player-controls #sound {
    background-position: -20px 0;
}

#player-controls #settings {
    background-position: -42px 0;
}

#player-controls #full {
    background-position: -62px 0;
}

#player .meta {
    padding: 10px;
    text-align: left;
}

#player .meta span {
    display: inline-block;
}

#player .video-title {
    width: 49%;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 10px;
}

#player .meta .meta-right {
    width: 49%;
    display: inline-block;
    text-align: right;
}

#player .info {
    color: #6b99dd;
    font-size: 14px;
    margin: 10px 0 10px 15px;
}

#player .info span {
    color: #fff;
}

#player .download-ctn {
    margin-top: 11px;
    font-size: 0;
}

#player .download-ctn .info {
    line-height: 19px;
    margin: 0 14px 0 0;
}

#player .download-ctn a.info {
    margin-right: 20px;
}

#player .format {
    background: url(../images/media_sheet.png);
    height: 16px;
    vertical-align: top;
}

#player .video-opt {
    font-size: 16px;
    font-weight: bold;
}

#player .mpg {
    width: 43px;
    margin-top: 2px;
}

#player .mp4-desktop {
    background-position: 0 -19px;
    width: 47px;
    height: 17px;
}

#player .mp4-mobile {
    background-position: 0 -39px;
    width: 25px;
    margin-top: 1px;
}

/* Share video */

#share-video {
    display: none;
    width: 100%;
    background-color: #404040;
    color: #6b99dd;
    margin-top: 15px;
    padding: 10px 0;
    position: relative;
    text-align: left;
    border-radius: 12px;
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
}

#share-video p {
    margin: 0 10px;
}

#share-video textarea {
    resize: none;
    color: #000;
    background-color: #fff;
    padding: 0 5px;
    margin: 5px 0 0 10px;
    font-weight: normal;
    width: 95%
}

/* Right content */

#right-ctn {
    width: 39%;
    min-width: 425px;
    min-height: 505px;
    margin-top: 8px;
    display: inline-block;
    position: relative;
    font-size: 0;
}

#right-ctn .thumb-ctn {
    width: 45%;
    max-width: 350px;
    max-height: 293px;
}

#right-ctn .small .thumb {
    width: 100%;
    height: 100%;
}

.section-title {
    width: 700px;
    height: 57px;
    margin: 37px auto 29px;
    background: #000;
    font-size: 19px;
    line-height: 57px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

#right-ctn .section-title,
#bottom-ctn .section-title {
    font: bold 21px/28px 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    position: relative;
    display: block;
    margin-top: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #6b99dd;
    width: 310px;
    height: auto;
}

#right-ctn .section-title:before,
#bottom-ctn .section-title:before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    margin-left: -7px;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 7px 0 7px;
    border-color: #6b99dd transparent transparent transparent;
}

#bottom-ctn .section-title {
    margin-top: 35px;
}

#right-form-ctn {
    position: absolute;
    top: 0;
    width: 100%;
    height: 530px;
    overflow: hidden;
    display: none;
}

#right-form {
    width: 100%;
    height: 100%;
}

#right-ctn .form-ctn{
    padding: 0;
}

/* Bottom content */

#bottom-ctn,
#bottom-ctn #bottom-thumb-ctn {
    width: 100%;
}

/* Overlay */

#overlay {
    font-size: 0;
    padding: 8px 60px 0;
    background-color: #000;
    width: 545px;
    height: 305px;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -170px 0 0 -312px;
    display: none;
}

#overlay-inside {
    width: 90%;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 5%;
}

#verification {
    font-size: 26px;
    line-height: 35px;
    font-weight: 700;
    width: 49%;
    float: left;
}

#verification strong {
    color: #6b99dd;
    font-size: 30px;
    line-height: 28px;
    display: block;
}

#verification strong:before,
#verification strong:after {
    content: '';
    width: 26px;
    height: 26px;
    display: inline-block;
    background: url(../images/exclamation_point.png) no-repeat;
    margin: 0 6px;
}

#register {
    width: 148px;
    height: 154px;
    padding: 9px 0 0;
    font-size: 15px;
    line-height: 18px;
    text-align: left;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    float: right;
}

#register span {
    margin-top: 9px;
    font-size: 13px;
    line-height: 22px;
    color: #ffe400;
    display: block;
}

#preview {
    float: right;
    width: 221px;
}

#point {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

#point img {
    width: 100%;
}

/* Loading */

#player .load-circle {
    display: none;
    width: 48px;
    height: 49px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -48px 0 0 -24px;
}

#player .load-circle.show {
    opacity: 1;
    -webkit-transition: opacity .25s linear;
    transition: opacity .25s linear;
}

#player .load-circle span {
    display: block;
    background: url(../images/loading.png) no-repeat;
    position: absolute;
    -webkit-transition: opacity .25s linear;
    transition: opacity .25s linear;
}

#player .load-circle .load1 {
    width: 15px;
    height: 12px;
    top: 0;
    left: 24px;
}

#player .load-circle .load2 {
    width: 11px;
    height: 15px;
    top: 9px;
    left: 36px;
    background-position: -19px 0;
}

#player .load-circle .load3 {
    width: 11px;
    height: 15px;
    top: 26px;
    left: 36px;
    background-position: -33px 0;
}

#player .load-circle .load4 {
    width: 15px;
    height: 12px;
    top: 38px;
    left: 24px;
    background-position: -47px 0;
}

#player .load-circle .load5 {
    width: 15px;
    height: 12px;
    top: 38px;
    left: 7px;
    background-position: -66px 0;
}

#player .load-circle .load6 {
    width: 11px;
    height: 15px;
    top: 26px;
    left: 0;
    background-position: -85px 0;
}

#player .load-circle .load7 {
    width: 11px;
    height: 15px;
    top: 9px;
    left: 0;
    background-position: -99px 0;
}

#player .load-circle .load8 {
    width: 15px;
    height: 12px;
    top: 0;
    left: 7px;
    background-position: -113px 0;
}

/* Footer */

#template-footer > p {
    font-size: 12px;
    line-height: 15px;
    width: 720px;
    margin: 10px auto;
    text-align: justify;
}

#template-footer {
    padding-bottom: 10px;
}

#template-footer .footer-copyright .copyright-imgs img:first-child {
    margin: 0 5px 0 0;
}

#template-footer .footer-copyright .copyright-imgs {
    width: auto;
}

#template-footer .footer-copyright img {
    width: 47px;
}

#template-footer .footer-copyright a,
#template-footer .footer-copyright p {
    font-size: 9px;
    line-height: 12px;
}

/* Form */

.form-ctn {
    background: #333;
    padding: 20px 0;
}

.form-ctn > img {
    display: block;
    margin: 0 auto;
}

.form-ctn #popup-form,
.form-ctn #right-form {
    width: 500px;
    height: 510px;
}

/* Media queries */

@media all and (max-width: 1370px) {
    #player {
        width: 53%;
    }

    #right-ctn {
        width: 42%;
    }

    #verification {
        font-size: 23px;
        line-height: 29px;
    }

    #preview {
        width: 160px;
    }

    #player .meta .video-title, #player .meta .meta-right {
        width: 100%;
        text-align: center;
    }

    #share-video {
        display: block;
        margin-top: 0;
    }

    #overlay {
        width: 500px;
        height: 225px;
        margin: -116px 0 0 -270px;
        padding: 8px 20px 0;
    }
}

@media all and (min-width: 981px) and (max-width: 1160px) {
    #player {
        width: 51%;
        padding: 0 5px;
    }

    #right-ctn {
        width: 45%;
        padding: 0 5px;
    }

    #right-ctn iframe {
        padding: 0 5px 0 0;
    }

    #share-video {
        display: block;
    }

    #overlay {
        width: 375px;
        height: 169px;
        margin: -88px 0 0 -207px;
        padding: 8px 20px 0;
    }

    #verification strong:before,
    #verification strong:after {
        margin: -5px 6px;
    }

    #overlay #preview {
        width: 37%;
    }

    #overlay #verification {
        font-size: 14px;
        line-height: 22px;
        margin-top: 15px;
    }

    #verification strong {
        font-size: 18px;
    }

    #overlay #point img {
        margin-top: 10px;
    }
}

@media all and (max-width: 980px) {
    #logo-ctn {
        margin-left: 25px;
    }

    .tagline {
        font-size: 27px;
    }

    .right {
        margin-right: 15px;
    }

    #player, #right-ctn {
        width: 95%;
    }

    #right-ctn {
        margin-top: 20px;
    }

    #right-form {
        width: 98%;
        background-color: #333;
        padding: 0;
    }

    #share-video {
        display: none;
    }

    #verification {
        font-size: 21px;
    }

    #point {
        background: url(../images/arrow_down.png) repeat-x;
        width: 415px;
        height: 46px;
        display: inline-block;
        margin-top: 12px;
        position: relative;
    }

    #point img {
        display: none
    }
}

@media all and (max-width: 950px) {
    #logo-ctn {
        display: block;
        float: none;
        margin: 0 auto;
        text-align: center;
        max-width: 600px;
    }

    .right {
        float: none;
        margin: 20px auto 0;
        text-align: center;
    }

    .right a {
        display: inline-block;
    }

    #login {
        display: inline-block;
        float: none;
        position: absolute;
        top: 5px;
        right: 5px;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    body {
        width: auto;
        min-width: 800px;
    }

    #logo {
        margin-left: 10px;
    }

    #tagline {
        margin-left: 15px;
        font-size: 15px;
    }

    #popup-form-ctn #popup-form {
        height: 550px;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    #logo {
        margin-left: 10px;
    }

    #tagline {
        font-size: 12px;
        margin-left: 11px;
    }

    .btn {
        font-size: 20px;
    }

    #point {
        background: url(../images/arrow_down.png) repeat-x;
        width: 415px;
        height: 46px;
        display: inline-block;
        margin-top: 12px;
    }

    #point img {
        display: none
    }

    #player .meta {
        display: none;
    }

    #popup-form-ctn #popup-form {
        height: 550px;
    }
}