/*
 Theme Name:   Ultimatube Child
 Theme URI:    http://example.com/ultimatube-child
 Description:  CAMCAM child theme for Ulimatube
 Author:       Your Name
 Author URI:   http://example.com
 Template:     ultimatube
 Version:      1.0.0
*/

@import url("../ultimatube/style.css");

/********** Warning text on video player *************/
.hip-warning {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px 5px 0px 0px;
    padding: 5px;
    margin-bottom: 0px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}

/* when vip_video = 'on' */
.hip-warning.vip-video {
    background-color: #831e1e;
    color: white;
    border: none;
}

.hip-warning.vip-video a {
    color: yellow;
}

/********** VIP Label *************/
/* VIP label on thumbnail */
span.vip-video {
    position: absolute;
    top: 3px;
    left: 3px;
}

.vip-video img {
    height: auto !important;
    width: 29px !important;
    display: block !important;
}

/********** Menu li padding *************/
#site-navigation > ul > li > a {
	display: block;
	padding: 0 1em !important; 
	line-height: 45px;
	height: 45px;
	color: #fff;
	outline: 0;
	font-size: 16px;
}

/********** Top-Menu margin bottom (for 2 lines) *************/
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
	.header {
		position: relative;
	}

	#menu-toggle,
	.header-search-mobile {
		display: none;
	}

	.header-search input {
		width: 80%;
		height: 45px;
		float: left;
		-webkit-border-radius: 30px;
		-webkit-border-top-right-radius: 0;
		-webkit-border-bottom-right-radius: 0;
		-moz-border-radius: 30px;
		-moz-border-radius-topright: 0;
		-moz-border-radius-bottomright: 0;
		border-radius: 30px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

	.header-search input#searchsubmit {
		width: 60px;
		font-size: 22px;
		height: 45px;
		line-height: 45px;
		padding: 0;
		border: none;
		color: #fff;
		-webkit-border-top-left-radius: 0;
		-webkit-border-bottom-left-radius: 0;
		-moz-border-radius-topleft: 0;
		-moz-border-radius-bottomleft: 0;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		-webkit-border-top-right-radius: 30px;
		-webkit-border-bottom-right-radius: 30px;
		-moz-border-radius-topright: 30px;
		-moz-border-radius-bottomright: 30px;
		border-top-right-radius: 30px;
		border-bottom-right-radius: 30px;
	}

	#site-navigation {
		right: 0!important;
		top: 0;
		margin-bottom: 0px;
		/* margin-bottom: 40px; */
	}

	#site-navigation .hip {
		position: absolute;
		top: -63px;
		right: 40px;
	}

	#site-navigation .hip ul {
		display: none;
		position: absolute;
		background-color: #fff;
		min-width: 160px;
		box-shadow: 0 10px 30px 0 rgba(0,0,0,.15);
		padding: 10px 0;
		z-index: 99999;
		list-style: none;
		margin: 0;
		top: 100%;
		right: 0;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
	}

	#site-navigation .hip ul li {
		padding: 0 15px;
		overflow: hidden;
	}

	#site-navigation .hip ul a {
		font-size: 14px;
		padding: 0;
		margin: 15px 0;
		display: block;
		width: 100%;
		height: auto;
		line-height: 0;
	}

	.happy-header-mobile {
		display: none;
	}

	#site-navigation .hip:hover ul {
		opacity: 1;
	}

	.site-branding {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -moz-flex;
		display: -webkit-flex;
		display: flex;
		/* justify-content: space-between; */
		align-items: center;
		min-height: 80px;
		padding: 0 30px;
	}

	.site-branding .logo {
		margin-right: 30px;
	}

	.header-search {
		width: 40%;
		position: absolute;
		top: 17px!important;
		left: 50%;
		transform: translateX(-50%);
		display: block!important;
	}

	.col-1,
	.col-2 {
		float: left;
		width: 48%;
	}

	.col-1,
	.blog-article .col-1 {
		margin-right: 2%;
	}

	.blog-article .col-1,
	.blog-article .col-2 {
		float: left;
	}

	.blog-article .col-1 {
		width: 20%;
	}

	.blog-article .col-2 {
		width: 76%;
	}

	.col-3 {
		width: 31.3%;
		float: left;
		margin-right: 3%;
	}

	.col-3:nth-child(3n) {
		margin-right: 0;
	}

	.thumb-block {
		width: 25%;
		padding: 5px;
		margin-bottom: 1%;
	}

	.video-list-content.with-happy .thumb-block:nth-child(3),
	.video-list-content.with-happy .thumb-block:nth-child(5),
	.video-widget-container.with-happy .thumb-block:nth-child(3),
	.video-widget-container.with-happy .thumb-block:nth-child(5){
		display: block;
		clear: both;
	}

	.video-archive-ad {
		position: absolute;
		top: 4px;
		right: 0;
		width: 49%;
		display: flex;
		justify-content: center;
		align-items: center;
		background: #f5f5f5;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}

	.video-player-area.with-sidebar-ads {
		float: left;
		width: 73%;
		margin-right: 1%;
	}

	#video-rate {
		width: 75%;
	}

	.post-like {
		justify-content: inherit;
	}

	.sidebar-ads {
		float: right;
		overflow: hidden;
		width: 24%;
	}

	.tags-letter-block .tag-items {
		margin: 0 0 0 105px;
		-webkit-column-count: 4;
		-moz-column-count: 4;
		column-count: 4;
		-moz-column-gap: 10px;
		-webkit-column-gap: 10px;
		column-gap: 10px;
	}

	.footer-widget-zone .four-columns-footer .thumb-block {
		width: 50%;
	}

	.footer-widget-zone .two-columns-footer .thumb-block {
		width: 25%;
	}

	.footer-widget-zone .three-columns-footer .thumb-block {
		width: 33.33%;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.header {
		position: relative;
	}

	#menu-toggle,
	.header-search-mobile {
		display: none;
	}

	#site-navigation {
		right: 0!important;
		top: 0;
		margin-bottom: 0px;
		/* margin-bottom: 40px; */
	}

	#site-navigation .hip {
		position: absolute;
		top: -63px;
		right: 40px;
	}

	#site-navigation .hip ul {
		display: none;
		position: absolute;
		background-color: #fff;
		min-width: 170px;
		box-shadow: 0 10px 30px 0 rgba(0,0,0,.15);
		padding: 10px 0;
		z-index: 99999;
		list-style: none;
		margin: 0;
		top: 100%;
		right: 0;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
	}

	#site-navigation .hip ul li {
		padding: 0 15px;
		overflow: hidden;
	}

	#site-navigation .hip ul a {
		font-size: 14px;
		padding: 0;
		margin: 15px 0;
		display: block;
		width: 100%;
		height: auto;
    	line-height: 0;
	}

	.happy-header-mobile {
		display: none;
	}

	#site-navigation .hip:hover ul {
		display: block;
	}

	.site-branding {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -moz-flex;
		display: -webkit-flex;
		display: flex;
		/* justify-content: space-between; */
		align-items: center;
		min-height: 80px;
		padding: 0 30px;
	}

	.site-branding .logo {
		margin-right: 30px;
	}

	.header-search {
		width: 40%;
		position: absolute;
		top: 17px!important;
		left: 50%;
		transform: translateX(-50%);
		display: block!important;
	}

	.header-search input {
		width: 80%;
		height: 45px;
		float: left;
		-webkit-border-radius: 30px;
		-webkit-border-top-right-radius: 0;
		-webkit-border-bottom-right-radius: 0;
		-moz-border-radius: 30px;
		-moz-border-radius-topright: 0;
		-moz-border-radius-bottomright: 0;
		border-radius: 30px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

	.header-search input#searchsubmit {
		width: 60px;
		font-size: 22px;
		height: 45px;
		line-height: 45px;
		padding: 0;
		border: none;
		color: #fff;
		-webkit-border-top-left-radius: 0;
		-webkit-border-bottom-left-radius: 0;
		-moz-border-radius-topleft: 0;
		-moz-border-radius-bottomleft: 0;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
		-webkit-border-top-right-radius: 30px;
		-webkit-border-bottom-right-radius: 30px;
		-moz-border-radius-topright: 30px;
		-moz-border-radius-bottomright: 30px;
		border-top-right-radius: 30px;
		border-bottom-right-radius: 30px;
	}

	.col-1,
	.col-2 {
		float: left;
		width: 48%;
	}

	.col-1,
	.blog-article .col-1 {
		margin-right: 2%;
	}

	.blog-article .col-1,
	.blog-article .col-2 {
		float: left;
	}

	.blog-article .col-1 {
		width: 20%;
	}

	.blog-article .col-2 {
		width: 76%;
	}

	.col-3 {
		width: 31.3%;
		float: left;
		margin-right: 3%;
	}

	.col-3:nth-child(3n) {
		margin-right: 0;
	}

	.thumb-block {
		width: 20%;
		padding: 5px;
		margin-bottom: 1%;
	}

	.video-archive-ad {
		position: absolute;
		top: 4px;
		right: 0;
		width: 38%;
		display: flex;
		justify-content: center;
		align-items: center;
		background: #f5f5f5;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}

	.video-list-content.with-happy .thumb-block:nth-child(4),
	.video-list-content.with-happy .thumb-block:nth-child(7),
	.video-widget-container.with-happy .thumb-block:nth-child(4),
	.video-widget-container.with-happy .thumb-block:nth-child(7) {
		display: block;
		clear: both;
	}

	.video-player-area.with-sidebar-ads {
		float: left;
		width: 73%;
		margin-right: 1%;
	}

	.sidebar-ads {
		float: right;
		overflow: hidden;
		width: 24%;
	}

	.footer-widget-zone .four-columns-footer .thumb-block {
		width: 50%;
	}

	.footer-widget-zone .two-columns-footer .thumb-block {
		width: 25%;
	}

	.footer-widget-zone .three-columns-footer .thumb-block {
		width: 33.33%;
	}
}
/********** End of Top-Menu margin bottom (for 2 lines) *************/

/* hip info */
.hip-info {
    background: #f0f9ff;
    border-left: 4px solid #0073aa;
    padding: 12px 15px;
    margin: 15px 0;
}