.video-overlay {
    position: fixed;
    overflow: hidden;
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
}

.video-overlay.showoverlay {
    display: block !important;
}

.close-video {
    position: absolute;
    right: -25px;
    top: 25px;
    color: #fff;
    font-size: 18px;
    font-weight: 200;
    cursor: pointer;
}

.video-box {
    position: relative;
    min-height: 218px;
    background-size: 100% !important;
}

.video-box.option1 {
    max-height: 550px;
}

.video-box.option2 {
    max-height: 800px;
}


.video-box .overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1002;
    background: black;
    opacity: 0.5;
}



@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* Safari and Chrome, if Chrome rule needed */
    .someClass {
        color: #c00;
    }

    /* Safari 5+ ONLY */
    ::i-block-chrome, .video-box {
        height: 550px;
    }

}

/* iPhone 6 landscape */
@media only screen and (min-device-width: 375px)
and (max-device-width: 667px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2) {
    body.fullscreenvideo .video-outer-wrap {
        min-height: 650px !important;
        overflow: visible;
    }
}

/* iPhone 6 portrait */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 2) {
    body.fullscreenvideo .video-outer-wrap {
        min-height: 650px !important;
        overflow: visible;
    }
}

.video-box video {
    position: relative;
    min-width: 100%;
    min-height: 100%;
    width: 100% !important;
    height: auto !important;
    background-size: 100%;
    transition: 1s opacity;
    z-index: 999;
    display: block;
}

.video-outer-wrap {
    position: relative;
    overflow: hidden;
    background: transparent;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 99;
}

body.fullscreenvideo .video-outer-wrap {
    z-index: 1005;
}

.play-fv-btn-wrapper {
    position: absolute;
    width: 96%;
    text-align: center;
    z-index: 1005;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}




.play-fv-btn-wrapper h1 {
    color: #fff;
    font-size: 56px;
    font-weight: 900;
}
.play-fv-btn-wrapper .video-text {
    text-align: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    color: #fff;
    margin-bottom: 50px;
}
.play-fv-btn-wrapper .video-text p {
	font-size: 20px;
}
.play-fv-btn-wrapper .video-buttonb {

}

.play-fv-btn-wrapper .video-buttonb a {
    color: #fff;
	border-radius: 25px;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	border: 2px solid transparent;
	background: #ff7900;
	transition: all 0.8s ease 0s;
	width: auto !important;
    font-weight: 600;
    padding: 10px 30px;
    font-size: 20px;
        text-transform: uppercase;
}

.play-fv-btn-wrapper .video-buttonb a:hover {
    background: transparent;
    border: 2px solid #ff7900;
    color: #222;
    background: white;
}




.play-fv-btn-wrapper .video-buttonb .icon-chevron-right {
    display: none;
}
.play-fv-btn {
    cursor: pointer;
    border: 1px solid #fff;
    text-transform: uppercase;
    color: #fff;
    border-radius: 15px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    border: 2px solid #fff;
    background: #ff7900;
    transition: all 0.8s ease 0s;
    padding: 5px 15px;
}

.play-fv-btn .icon-chevron-right:before {
    vertical-align: text-bottom;
    font-weight: bold;
}

.play-fv-btn:hover,
.close-vbtn:hover {
    background: #808285;
}


#myVideo {
    background: #888;
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 99;
    width: 100% !important;
    height: auto !important;
}

.video-full-screen {
    display: none;
    position: relative;
}

.html5-video-player {
    z-index: 1;
}

.close-vbtn {
    position: fixed;
    z-index: 1060;
    height: 30px;
    width: 30px;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 28px;
    color: white;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    background: #ff7900;
    border: 2px solid white;
    transition: all 0.8s ease 0s;
}


.closebtn, .close-btn {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    border: 2px solid #fff;
    padding: 0;
    border-radius: 50px;
    height: 40px;
    width: 40px;
    line-height: 38px;
    cursor: pointer;
    z-index: 99999;
}

.ytp-cued-thumbnail-overlay-image {
    background-size: 100% !important;
}

.stopfade {
    opacity: .5;
}

@media (max-width: 1024px) { 
	.node-type-brand-campaign  #main-section  {
		padding: 0;
	}
	}


@media (min-width: 769px) { 

	.node-type-brand-campaign .customshare .sharethis-inline-share-buttons {
    max-width: 400px;
    }
	.node-type-brand-campaign #st-1 .st-btn {
    height: 64px;
    width: 64px;
	}
	
	.node-type-brand-campaign #st-1 .st-btn > img {
    height: 32px;
    width: 32px;
    top: 16px;
	}

	
	}

@media (max-width: 768px) {
	.brand-campaign-intro p {
    font-size: 17px;
	}
	
	.play-fv-btn-wrapper h1 {
    font-size: 40px;
    margin-top: 0;
	}
	.play-fv-btn-wrapper .video-text p,
	.play-fv-btn-wrapper .video-buttonb a {
	font-size: 18px;
	}
	.play-fv-btn-wrapper .video-text {
    margin-bottom: 30px;
	}
	.view-brand-campaign-current-topic-introduction .clear-talk-outer {
    padding: 40px 0 20px 0;
	}
	
	
}


@media (max-width: 600px) {
	.play-fv-btn-wrapper h1 {
    font-size: 28px;
	}
	.play-fv-btn-wrapper .video-text p,
	.play-fv-btn-wrapper .video-buttonb a {
	font-size: 16px;
	}
	.play-fv-btn-wrapper .video-text {
    margin-bottom: 20px;
	}
}

@media (max-width: 480px) {
	.play-fv-btn-wrapper .video-text {
	display: none;
	}
}



@media screen and (max-device-width: 800px) {


    /* html { background: url(https://thenewcode.com/assets/images/polina.jpg) #000 no-repeat center center fixed; }
     #bgvid { display: none; } */
}


/* NEW STYLES FOR MOBILE AND IPADS */

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .video-box video {
        display: none;
    }
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

/* iPhone 6 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

/* iPhone 6+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
    .video-box video {
        display: none;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    .video-box video {
        display: none;
    }
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
    .video-box video {
        display: none;
    }
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
    .video-box video {
        display: none;
    }
}

/* iPads (portrait and landscape) -----------  */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .video-box video {
        display: none;
    }

    body.fullscreenvideo .video-outer-wrap {
        min-height: 750px !important;
        overflow: visible;
    }

    .video-box {
        max-height: 650px;
        min-height: 280px;
    }
} 

/* iPads (landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .video-box video {
        display: none;
    }

    body.fullscreenvideo .video-outer-wrap {
        min-height: 750px !important;
        overflow: visible;
    }

    .video-box {
        max-height: 650px;
        min-height: 280px;
    }
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .video-box video {
        display: none;
    }

    body.fullscreenvideo .video-outer-wrap {
        min-height: 750px !important;
        overflow: visible;
    }

    .video-box {
        max-height: 650px;
        min-height: 280px;
    }
	
}

/**********
iPad 2
**********/
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: landscape) {
    .video-box video {
        display: none;
    }

    body.fullscreenvideo .video-outer-wrap {
        min-height: 750px !important;
        overflow: visible;
    }

    .video-box {
        max-height: 650px;
        min-height: 280px;
    }
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {
    .video-box video {
        display: none;
    }

    body.fullscreenvideo .video-outer-wrap {
        min-height: 750px !important;
        overflow: visible;
    }

    .video-box {
        max-height: 650px;
        min-height: 280px;
    }
}


/**********
iPad 3
**********/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    .video-box video {
        display: none;
    }

    body.fullscreenvideo .video-outer-wrap {
        min-height: 750px !important;
        overflow: visible;
    }

    .video-box {
        max-height: 650px;
        min-height: 280px;
    }
}


