/* - Post */

.ytm-gallery div, .ytm-gallery p, .ytm-gallery span, .ytm-gallery a {}
/*.ytm-gallery .post .entry-title {margin-bottom:10px;}*/
.ytm-gallery .post .entry-title h2 {display:inline;/*color:#5d5d5d;*/}
.ytm-gallery .post .description {font-size:14px;/*color:#6e6e6e;*/}

.ytm-gallery #disqus_thread {display:none;}
.ytm-gallery #adsense {margin:0 auto; padding:10px;width:728px;}
.ytm-gallery a.dsq-brlink {display:none;}

.ytm-gallery .ytm-comments-byline {position:relative;display:block;margin:10px 0;}
.ytm-gallery .ytm-comments-byline span {position:relative;display:inline;font-size:11px;height:14px;line-height:14px;font-weight:bold;padding-right:5px;z-index:10;background:#fff;color:#2b6dc0}
.ytm-gallery .ytm-comments-byline .ytm-line {position:absolute;top:3px;bottom:3px;left:0;right:0;z-index:1;background:#ebebeb;}


/* - Sidebar TOP video/photo gallery */

.ytm-sidebar {display:none;}
.ytm-sidebar .gall-button{margin-top:20px; overflow:hidden; color:#b1b1b1; font-size:18px; font-weight:bold; line-height:27px;}
.ytm-sidebar .gall-button .btn{float:left; margin-right:10px; width:94px; height:27px; background:#fff url(../images/on_off_switch_sprite.png) 0 0 no-repeat;}
.ytm-sidebar .gall-button .on{background-position:0 -27px;}
.ytm-sidebar .gall-button .off{background-position:0 0;}	
	
.ytm-sidebar .gall-tabs{position:relative; margin:10px 0 0; _margin-bottom:-1px; _zoom:1;}	
.ytm-sidebar .gall-tabs ul{ margin-bottom:-1px; overflow:hidden;}	
.ytm-sidebar .gall-tabs ul li{float:left; margin-right:3px;list-style:none;}
.ytm-sidebar .gall-tabs ul li a{float:left; padding-left:9px; font-size:11px;font-weight:bold;color:#fff; line-height:28px; background:#fff url(../images/sp-gallery-tabs.gif) 0 0 no-repeat;}
.ytm-sidebar .gall-tabs ul li a:hover{text-decoration:none;}
.ytm-sidebar .gall-tabs ul li a span{float:left; padding-right:9px; line-height:28px; background:#fff url(../images/sp-gallery-tabs.gif) 100% 0 no-repeat;}			
.ytm-sidebar .gall-tabs ul li.active a{color:#5d5d5d; background-position:0 -28px;}	
.ytm-sidebar .gall-tabs ul li.active a span{background-position:100% -28px;}				
				
.ytm-sidebar .gall-tab-body{padding-top:15px; margin-right:0; border-top:1px solid #c4c4c4;}
.ytm-sidebar .gall-tab-body .all{margin-top:15px;}
.ytm-sidebar .gall-tab-body .item{margin-bottom:15px; overflow:hidden; _zoom:1;}
.ytm-sidebar .gall-tab-body .pic{float:left; line-height:0;}
.ytm-sidebar .gall-tab-body .text{font-size:10px; color:#929292; line-height:140%;}	
.ytm-sidebar .gall-tab-body .text strong{display:block;}
.ytm-sidebar .gall-tab-body .text a{display:block; font-size:12px; color:#2168BF; font-weight:bold;}
.ytm-sidebar .gall-tab-body.videos .item .pic{padding:3px; width:96px; line-height:0; border:1px solid #e4e4e4;}		
.ytm-sidebar .gall-tab-body.videos .item .pic img{width:96px; height:60px;}
.ytm-sidebar .gall-tab-body.videos .text{margin-left:114px;}		
.ytm-sidebar .gall-tab-body.photos .item .pic{width:135px;}			
.ytm-sidebar .gall-tab-body.photos .item .pic img{width:135px; height:90px;}
.ytm-sidebar .gall-tab-body.photos .text{margin-left:145px;}				

.ytm-sidebar .ytm-line {background:#ebebeb;height:8px;margin-bottom:15px;}
.ytm-sidebar .ytm-button-link {font-size:12px;width:120px;}


/* - Gallery Box */

.ytm-gallery-box {width: 640px;margin:15px auto; margin-left:-10px;clear:right; border-top:5px #EDEDED solid; border-bottom:5px #EDEDED solid; background-color:#FFF; padding:45px;}
.ytm-gallery-box .main-pic{position:relative;width:auto !important;overflow:hidden;}
.ytm-gallery-box .main-pic.video{height:408px;}
.ytm-gallery-box .main-pic img {position:relative;z-index:1;float:none !important;min-width:220px !important;max-width:630px !important;width:auto !important;overflow:hidden;}
.ytm-gallery-box .ytm-img-layout {position:absolute;z-index:10;display:none;top:0;bottom:0;height:100%;left:50%;}
/* fix for IE */
/*.ytm-gallery-box .ytm-img-layout {background:url(../images/iefix.png) left top repeat;}*/

.ytm-gallery-box .ytm-img-layout div{width:150px;height:100%;cursor:pointer;}
.ytm-gallery-box .ytm-img-layout div.ytm-prev-arrow {float:left;}
.ytm-gallery-box .ytm-img-layout div.ytm-next-arrow {float:right;}
.ytm-gallery-box .ytm-img-layout:hover .ytm-prev-arrow {background:url(../images/gallery_overlay_arrows.png) left center no-repeat;}
.ytm-gallery-box .ytm-img-layout:hover .ytm-next-arrow {background:url(../images/gallery_overlay_arrows.png) right center no-repeat;}


.ytm-gallery-box .ytm-img-caption {display:none;margin:26px 14px;color:#6e6e6e;font-size:13px;}

.ytm-gallery-box p{font-size:14px; color:#6b6b6b;}	
.ytm-gallery-box .back-link{margin-bottom:10px;}
.ytm-gallery-box .back-link a{color:#0864D4;}
.ytm-gallery-box .title-box{color:#191919; font-size:24px; font-weight:normal;}
.ytm-gallery-box .title-box span{margin-left:10px; color:#9f9f9f; font-size:14px;}
.ytm-gallery-box .ytm-views-count{font-size:13px;color:#5a5a5a;}
.ytm-gallery-box .ytm-set-gallery-view {color:#5a5a5a;height:12px;line-height:12px;font-weight:bold;font-size:12px;}
.ytm-gallery-box .ytm-set-gallery-view:hover {text-decoration:none;}

.ytm-gallery-box .buttons{position:relative;margin-bottom:0;}
.ytm-gallery-box .buttons .ytm-actions {float:right;}
.ytm-gallery-box .buttons .ytm-pagination {display:block; float:right; margin:10px 7px 0 0;height:18px;line-height:18px;font-size:18px; color:#5a5a5a; font-size:12px;}
.ytm-gallery-box .buttons .ytm-pagination .ytm-pag-num {font-weight:bold;}
.ytm-gallery-box .buttons .ytm-photo-title {float:left;font-size:18px;font-weight:bold;line-height:26px;width:350px;overflow:hidden;color:#5a5a5a;}
.ytm-gallery-box .ytm_prev, .ytm-gallery-box .ytm_autoplay, .ytm-gallery-box .ytm_next {display:block; width:30px; height:30px; float:left; margin:3px;}

.ytm-gallery-box .ytm-enabled-prev {background:url(../images/gallery-buttons.png) 0 -68px no-repeat;}
.ytm-gallery-box .ytm-enabled-prev:hover {background-position: 0 -135px;}
.ytm-gallery-box .ytm-disabled-prev {cursor:default;background:url(../images/gallery-buttons.png) 0 -2px no-repeat;}


.ytm-gallery-box .ytm-autoplay-on {width:36px;height:36px;margin:0;background:url(../images/gallery-buttons.png) -92px -65px no-repeat;}
.ytm-gallery-box .ytm-autoplay-on:hover {background-position: -92px -132px;}
.ytm-gallery-box .ytm-autoplay-off {width:36px;height:36px;margin:0;background:url(../images/gallery-buttons.png) -46px -65px no-repeat;}
.ytm-gallery-box .ytm-autoplay-off:hover {background:url(../images/gallery-buttons.png) -46px -132px no-repeat;}

.ytm-gallery-box .ytm-enabled-next {background:url(../images/gallery-buttons.png) -142px -68px no-repeat;}
.ytm-gallery-box .ytm-enabled-next:hover {background-position: -142px -135px;}
.ytm-gallery-box .ytm-disabled-next {cursor:default;background:url(../images/gallery-buttons.png) -142px -2px no-repeat;}

.ytm-gallery-box .pad .objects{margin-top:10px;background-color:#f6f6f6;}
.ytm-gallery-box .objects{background-color:#fff;}		
.ytm-gallery-box .objects .buttons{overflow:hidden; background-color:#fff; padding:0 0 22px 0; _zoom:1;}
.ytm-gallery-box .objects .scroll-pad{background:#FBE4AD;padding:5px;}
.ytm-gallery-box .objects .buttons .scrollable{float:left;width:492px;height:82px;}
.ytm-gallery-box .objects .buttons .scrollable img {margin:0;padding:0;background:#FFF;border:none;cursor:pointer;float:left;height:72px;width:72px;}
.ytm-gallery-box .objects .buttons .scrollable div.item {padding:5px; float:left; display:table; height:72px; width:72px;}
.ytm-gallery-box .objects .buttons .scrollable div.item a{display:table-cell; vertical-align:middle;}
.ytm-gallery-box .objects .buttons .scrollable div.item a img{height:auto;}

.ytm-gallery-box .objects .buttons .scrollable .active {background-color:#FA9C40;border:none;position:relative;z-index:100; display:inline;}

.ytm-gallery-box .objects .buttons .browse{margin:27px 19px;width:31px; height:30px;}
.ytm-gallery-box .objects .buttons .prevPage{float:left; background:url(../images/gallery-buttons.png) 0 -68px no-repeat;}
.ytm-gallery-box .objects .buttons .prevPage:hover{background-position:0 -135px !important;}
.ytm-gallery-box .objects .buttons .prevPage.end{cursor:default !important; background-position:0 -2px !important;}
.ytm-gallery-box .objects .buttons .nextPage{float:right; background:url(../images/gallery-buttons.png) -142px -68px no-repeat;}
.ytm-gallery-box .objects .buttons .nextPage:hover{background-position:-142px -135px !important;}
.ytm-gallery-box .objects .buttons .nextPage.end{cursor:default !important; background-position:-142px -2px !important;}
.ytm-gallery-box .objects .scrolling{float:left;}
.ytm-gallery-box .objects .scrolling .item{margin-left:10px;}
.ytm-gallery-box .objects .scrolling .item img{width:61px; height:41px; border:1px solid #fff;}
.ytm-gallery-box .objects .scrolling .item.current img, .gallery-box .photos .objects .scrolling a:hover.item img{border:1px solid #0C99E6;}

.ytm-gallery-box .pad .post_footer{-moz-box-shadow:none; -webkit-box-shadow:none; margin:10px 0 15px; padding:10px 15px; font-size:14px; color:#191919; background-color:#e9e9e9; background-image:none;}		
.ytm-gallery-box .pad .post_footer a{color:#024FAB; font-weight:normal;}
.ytm-gallery-box .comment-box{position:relative; padding-top:5px; border-top:1px solid #ccc;}
.ytm-gallery-box .tools{position:absolute; margin-top:10px; top:0; right:0;}
.ytm-gallery-box .comment-box .title-box{color:#666;}	
.ytm-gallery-box .comment-box .note{margin:10px 0; font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#191919;}
.ytm-gallery-box .comment-box .socials{margin-bottom:10px;}
.ytm-gallery-box .comment-box .socials a{margin-right:5px;}
.ytm-gallery-box .comment-box .form{padding-top:10px; border-top:1px solid #b2b2b2;}
.ytm-gallery-box .comment-box .form .line{margin-bottom:5px; overflow:hidden; _zoom:1;}
.ytm-gallery-box .comment-box .form .textareas{padding:5px; width:632px; height:102px; color:#000; font-family:Arial, Helvetica, sans-serif; font-size:13px; border:none; overflow:auto; background:#fff url(../images/bg-textarea-comm.gif) 0 0 no-repeat;}		
.ytm-gallery-box .comment-box .form .inputs{padding-left:5px; width:313px; height:22px; font-family:Arial, Helvetica, sans-serif; color:#666; border:none; line-height:22px; background:#fff url(../images/bg-input-comm.gif) 0 0 no-repeat;}
.ytm-gallery-box .comment-box .form .check{padding-left:10px; width:308px; height:30px; line-height:30px; background:#fff url(../images/bg-checkbox-comm.gif) 0 0 no-repeat;}
.ytm-gallery-box .comment-box .form .check label{font-family:Arial, Helvetica, sans-serif; color:#000;}
.ytm-gallery-box .comment-box .form .check input{margin-right:5px;}
.ytm-gallery-box .comment-box .form .button{text-align:right;}	
.ytm-gallery-box .comment-box .form .button	input{width:102px; height:28px; border:none; cursor:pointer; _cursor:hand; background:#fff url(../images/btn-login-post.png) 0 0 no-repeat;}
.ytm-gallery-box .comment-box .form .validate{margin-top:20px; padding:5px 10px; background-color:#FDF1CE; border:1px solid #FBD25A; font-family:Arial, Helvetica, sans-serif; color:#1C64C4;}	

/* this makes it possible to add next button beside scrollable */
.ytm-gallery-box .scrollable {float:left;}
/* prev, next, prevPage and nextPage buttons */
.ytm-gallery-box a.browse {/*background:url(img/hori_large.png) no-repeat;*/display:block;width:32px;height:44px;float:left;margin:10px 10px;cursor:pointer;font-size:1px;}
/* right */
.ytm-gallery-box a.right { background-position: -32px 0; clear:right; margin-right: 0px;}
.ytm-gallery-box a.right:hover { background-position:-32px -44px; }
.ytm-gallery-box a.right:active { background-position:-32px -88px; } 

/* left */
.ytm-gallery-box a.left { margin-left: 0px; } 
.ytm-gallery-box a.left:hover  { background-position: 0 -44px; }
.ytm-gallery-box a.left:active { background-position: 0 -88px; }

/* up and down */
.ytm-gallery-box a.up, a.down {background:url(../img/scrollable/arrow/vert_large.png) no-repeat; float: none;	margin: 10px 50px;}

/* up */
.ytm-gallery-box a.up:hover { background-position:-30px 0; }
.ytm-gallery-box a.up:active { background-position:-60px 0; }

/* down */
.ytm-gallery-box a.down { background-position: 0 -30px; }
.ytm-gallery-box a.down:hover { background-position:-30px -30px; }
.ytm-gallery-box a.down:active { background-position:-60px -30px; } 

/* disabled navigational button */
.ytm-gallery-box a.disabled {	visibility:hidden !important;} 	


/* styling for the image wrapper  */ 
.image_wrap {
    /* dimensions */ 
    width:610px;
    margin: 0; 
    padding: 0; 
    /* centered */ 
    text-align:center; 
    /* some "skinning" */ 
    /*background-color:#efefef; 
    border:2px solid #fff; 
    outline:1px solid #ddd; 
    -moz-ouline-radius:4px; */
}

#image_wrap.photo {height: 275px;}
#image_wrap.video {height: 400px;}

#image_wrap img{float: left;}
#image_wrap embed{float: left;}
#image_wrap object{float: left;}

/* root element for the scrollable. when scrolling occurs this element stays still.*/
.scrollable {
	/* required settings */
	position:relative;
	overflow:hidden;
	width: 480px;
	height:82px;
	/* custom decorations */
	/*border:1px solid #ccc;*/
}

/* root element for scrollable items. Must be absolutely positioned	and it should have a extremely large width to accomodate scrollable items. it's enough that you set the width and height for the root element and not for this element.*/
.scrollable .items {
	/* this cannot be too large */
	width:20000em;
	position:absolute;
	clear:both;
}

/* single scrollable item */
.scrollable img {
	float:left;
	background-color:#fff;
	padding:1px;
	border:1px solid #ccc;
	cursor:pointer;
	width:61px;
	height:41px;
	/*-moz-border-radius:4px;
	-webkit-border-radius:4px;*/
}

/* active item */
.scrollable .active {border:2px solid #109ae2;z-index:9999;position:relative;}

/* - One Page */

.ytm-gallery-one-page {display:none;margin:15px 0;}
.ytm-gallery-one-page .ytm-set-gallery-view {height:12px;line-height:12px;font-weight:bold;font-size:12px;}
.ytm-gallery-one-page .ytm-set-gallery-view:hover {text-decoration:none;color:#2b6dc0;}
.ytm-gallery-one-page .buttons{margin-bottom:10px;}
.ytm-gallery-one-page .ytm-image-box {position:relative;background-color:#fff;min-height:100px; text-align:center;margin:10px 0 22px;}
.ytm-gallery-one-page .ytm-image-box .ytm-image-title {font-size:18px;font-weight:bold;text-align:left;line-height:24px;width:310px;overflow:hidden;color:#5a5a5a;margin:0 0 20px;}
.ytm-gallery-one-page .ytm-image-box img {max-width:630px !important; width:auto !important; overflow:hidden;}
.ytm-gallery-one-page .ytm-img-caption {margin:0 0 20px;color:#6e6e6e;text-align:left;}

/* - Facebook iFrame */

.ytm-like-facebook-iframe {float:left;width:320px;}


/* - Post Information (author, views) */

.ytm-post-info-wrapper {float:right;width:320px;margin-bottom:15px !important;background:#e9e9e9;}
.ytm-author-avatar {float:left;padding:5px;}
.ytm-author-avatar img {max-width:100px;max-height:60px;}
.ytm-post-info {float:right;padding: 15px 10px 5px 0;}
.ytm-post-info div {font-weight:regular;color:#a9a9a9;font-family:Arial;text-align:right;}
.ytm-post-info .ytm-post-views {margin:0 0 10px 0;font-size:30px;}
.ytm-post-info .ytm-post-views span {font-weight:bold;}
.ytm-post-info .ytm-post-data {font-size:11px;}


/* - Different */

.left{float:left;}
.right{float:right;}
.hidden{display:none;}	
.ytm-clear{clear:both;line-height:1px;height:1px;font-size:1px;overflow:hidden;margin-top:-1px;border:none;padding:0;margin:0;}

a.ytm-button-link {
display:block;
padding:5px;
text-align:center;
color:#777777;
font-weight:bold;
border:1px solid #d0d0d0;
background:#ebebeb;
-moz-border-radius:2px;
-webkit-border-top:2px;
}
a.ytm-button-link:hover {text-decoration:none;background:#e3e3e3;}