
/*...Common style...*/

.myg_clearfix:before,
.myg_clearfix:after{
  display: table;
  content: " ";
  height:1px;
  margin-top:-1px;
}
.myg_clearfix:after{
  clear: both;
}
img{
	max-width:100%;
	height:auto;
}
.myg_gallery img,
.bxslider img{
	cursor:pointer;
}
.myg_gallery{
	text-align:center;
}
.myg_gallery .myg_image, .myg_half {
	display:inline-block;
	vertical-align:top;
}
.myg_gallery .myg_image img, .myg_image_wrap {
	vertical-align:top;
	display:block;
}
.mygalleryLoading{
	min-height:32px;
	text-align:center;
}

.myg_spinnerx16{
	background-image:url(../images/loaderx16.gif);
	background-repeat:no-repeat;
	background-position: center center;
	display:inline-block;
	width:16px;
	height:16px;
}
.myg_bgspin{
	background-image:url(../images/loaderx16.gif);
	background-repeat:no-repeat;
	background-position: center center;
}
.myg_text_left{
	text-align:left;
}
.myg_text_right{
	text-align:right;
}
.myg_text_left{
	text-align:center;
}
.myg_show{
	display:block;
}
.myg_hide{
	display:none;
}
.myg_bdr{
	border:1px solid #eaeaea;
}

.myg_arrow, 
.myg_social_wrap{
	position:relative;
	background:#ffffff;
}
.myg_arrow:after, 
.myg_arrow:before,
.myg_social_wrap:after,
.myg_social_wrap:before {
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.myg_arrow_bottom:after, .myg_arrow_top:after{border-width: 20px; margin-left: -20px;} 
.myg_arrow_bottom:before, .myg_arrow_top:before{border-width: 21px; margin-left: -21px;}
.myg_arrow_right:after, .myg_arrow_left:after{border-width: 20px; margin-top: -20px;} 
.myg_arrow_right:before, .myg_arrow_left:before{border-width: 21px; margin-top: -21px;}
.myg_social_wrap:after{border-width: 10px; margin-left: -10px;} 
.myg_social_wrap:before{border-width: 11px; margin-left: -11px;}

.myg_arrow_bottom:after, .myg_arrow_bottom:before {
	top: 100%;
	left: 50%;
}
.myg_arrow_top:after, .myg_arrow_top:before {
	bottom: 100%;
	left: 50%;
}
.myg_arrow_left:after, .myg_arrow_left:before {
	right: 100%;
	top: 50%;
}
.myg_arrow_right:after, .myg_arrow_right:before {
	left: 100%;
	top: 50%;
}
.myg_social_wrap:after,
.myg_social_wrap:before{
	top: 100%;
	left: 10px;
}
.myg_arrow_bottom:after, .myg_social_wrap:after{border-color: rgba(255, 255, 255, 0);border-top-color: #ffffff;}
.myg_arrow_bottom:before, .myg_social_wrap:before {border-color: rgba(218, 222, 225, 0);border-top-color: #eaeaea;}	
.myg_arrow_top:after{border-color: rgba(255, 255, 255, 0);border-bottom-color: #ffffff;}
.myg_arrow_top:before{border-color: rgba(218, 222, 225, 0);border-bottom-color: #eaeaea;}
.myg_arrow_left:after{border-color: rgba(255, 255, 255, 0);border-right-color: #ffffff;}
.myg_arrow_left:before{border-color: rgba(218, 222, 225, 0);border-right-color: #eaeaea;}
.myg_arrow_right:after{border-color: rgba(255, 255, 255, 0);border-left-color: #ffffff;}
.myg_arrow_right:before{border-color: rgba(218, 222, 225, 0);border-left-color: #eaeaea;}

.myg_album_container{
	font-size: 12px;
	line-height:16px;
	font-family: helvetica, arial, sans-serif;
}

/* grid layout  */
.mygallery-two, .myg_half{
	width:50%;
}
.mygallery-three{
	width:33.333333%;
}
.mygallery-four{
	width:25%;
}

.mygallery-five{
	width:20%;
}
.mygallery-six{
	width:16.66666666%;
}

/*...Infinite Gallery Style...*/
.myg_infinite_gallery{
	margin-bottom:30px;
	margin-top:30px;
	text-align:center;
}
.myg_infinite_image{
	display:inline-block;
	vertical-align:top;
}
.myg_infinite_image h4, 
.myg_gallery h4,
.myg_gallery h4{
	margin:7px 5px 5px 5px;
	color: #404040;
    font-size: 16px;
	font-family: helvetica, arial, sans-serif;
}
.myg_infinite_image p,
.myg_gallery p{
	margin:0px 5px 5px 5px;
	color: #404040;
    font-size: 14px;
	font-family: helvetica, arial, sans-serif;
}
.myg_right_content{
	clear:both;
}
.myg_right_content > img{
	float:left;
	margin-left:-100%;
	margin-top: -1px;
    margin-bottom: -2px;
}
.myg_right_content{
	margin-left:50%;
	border:1px solid #eaeaea;

}
.myg_right_content h4{
	display:inline-block;
	padding:10px 10px 0px 10px;
	margin:0px;
}
.myg_right_content p{
	padding: 0px 10px;
	margin:5px 0px;
}
.myg_right_content .myg_social{
	border-top: 1px solid #eaeaea;
	padding:5px 10px 0px 10px;
}

/*...MyGallery Icon...*/

.myg_social{
	color:#b4bab9;
	font-size:11px;
	font-family: helvetica, arial, sans-serif;
	padding: 5px;
}
.myg_modal_social{
	padding:8px 16px;
	border-top: 1px solid #eaeaea;
}
.myg_social_left{
	width:20%;
	float:left;
	position:relative;
}
.myg_social_right{
	width:80%;
	float:left;
}
.myg_social_left{
	text-align:left;
}

.myg_social span.myg_view,
.myg_social span.myg_like,
.myg_social span.myg_viewed,
.myg_social span.myg_liked,
.myg_social span.myg_comment{
	margin-left:10px;
}
.myg_social_right{
	text-align:right;
}
.myg_social span.myg_share,
.myg_social span.myg_view,
.myg_social span.myg_like,
.myg_social span.myg_viewed,
.myg_social span.myg_liked,
.myg_social span.myg_comment{
	display:inline-block;
	height:16px;
	width:16px;
}
.myg_social span.myg_share,
.myg_social span.myg_view,
.myg_social span.myg_like,
.myg_social span.myg_comment{
	cursor:pointer;
}
.myg_social span.myg_share{
	background:url(../images/share.png) no-repeat center center;
}
.myg_social span.myg_comment{
	background:url(../images/comments.png) no-repeat center center;
}
.myg_social span.myg_share:hover{
	background:url(../images/share_black.png) no-repeat center center;
}
.myg_social span.myg_comment:hover{
	background:url(../images/comments_black.png) no-repeat center center;
}
.myg_social span.myg_view{
	background:url(../images/view.png) no-repeat center center;
}
.myg_social span.myg_like{
	background:url(../images/like.png) no-repeat center center;
}
.myg_social span.myg_viewed, .myg_social span.myg_view:hover{
	background:url(../images/viewed.png) no-repeat center center;
}
.myg_social span.myg_liked, .myg_social span.myg_like:hover{
	background:url(../images/liked.png) no-repeat center center;
}

/*...MyGallery Modal...*/

#myg_modal_wrap{
	position:fixed;
	top:0;
	left:0;
	background-color:rgba(0,0,0,.8);
	z-index:999999;
	font-size:12px;
	line-height:16px;
	font-family: helvetica, arial, sans-serif;
}
#myg_album_modal_wrap{
	position:fixed;
	top:0;
	left:0;
	background-color:#ffffff;
	z-index:9999;
	overflow:hidden;
	-webkit-overflow-scrolling: touch;
}
#myg_album_modal_image{
	position: absolute;
    top: 40px;
    bottom: 0;
    left: 0;
    right: -15px; /* Decrease this value for cross-browser compatibility */
    overflow-y: auto;
	overflow-x: hidden;
}
#myg_album_modal_image img{
	cursor:pointer;
}

#myg_modal_image_inner{
	background-color:#ffffff;
	height:88%;
	width:94%;
	margin:3%;
}
#myg_album_modal_image_inner{
	padding-top:40px;
	height:100%;
	width:100%;
}
#myg_modal_close, #myg_album_modal_close{
	display:inline-block;
	width:24px;
	height:24px;
	position:absolute;
	right:5px;
	top:5px;
	cursor:pointer;
}
#myg_modal_close{
	background:url(../images/close.png) no-repeat center center;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity:.5;
}
#myg_album_modal_close{
	background:url(../images/close_black.png) no-repeat center center;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	opacity:.7;
}

#myg_modal_close:hover, #myg_album_modal_close:hover{
	/* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  /* IE 5-7 */
  filter: alpha(opacity=0);
  /* Netscape */
  -moz-opacity: 1;
  /* Safari 1.x */
  -khtml-opacity: 1;
	opacity:1;
}

#myg_modal_image_wrap{
	width:75%;
	float:left;
	height:100%;
	position:relative;
	margin-top: -1px;
}
#myg_modal_content_wrap{
	width:25%;
	float:right;
	height:100%;
	position:relative;
	overflow:auto;
	vertical-align:bottom;
}

ul#myg_modal_image{
	margin:0px;
	padding:0;
	list-style:none;
	overflow:hidden;
	height:100%;
	text-align:center;
	position:relative;
	background:rgba(0,0,0,0.7)
}
ul#myg_modal_image li{
	display: block;
}
ul#myg_modal_image li.myg_show{
	display:block;
}
ul#myg_modal_image li.myg_hide{
	display:none;
}
ul#myg_modal_image li img{
	margin:0 auto;
}

div#myg_image_loading{
	background: rgba(0,0,0,.4) url(../images/loading.gif) no-repeat center center;
	width:100%;
	height:100%;
	position:absolute;
	left:0;
	top:0;
	z-index:100;
}

#myg_image_left, #myg_image_right{
	position:absolute;
	top:0;
	width:50px;
	height:100%;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  /* IE 5-7 */
  filter: alpha(opacity=0);
  /* Netscape */
  -moz-opacity: 0;
  /* Safari 1.x */
  -khtml-opacity: 0;
	opacity:0;
	z-index:50%;
	cursor:pointer;
}
#myg_image_left{
	left:0;
	background: url(../images/left.png) no-repeat center center;
}
#myg_image_right{
	right:0;
	background: url(../images/right.png) no-repeat center center;
}
ul#myg_modal_image li img:hover #myg_image_left,
ul#myg_modal_image li img:hover #myg_image_right{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  /* IE 5-7 */
  filter: alpha(opacity=50);
  /* Netscape */
  -moz-opacity: 0.5;
  /* Safari 1.x */
  -khtml-opacity: 0.5;
	opacity: 0.5;
}
#myg_image_left:hover, 
#myg_image_right:hover{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  /* IE 5-7 */
  filter: alpha(opacity=100);
  /* Netscape */
  -moz-opacity: 1;
  /* Safari 1.x */
  -khtml-opacity: 1;
	opacity:1;
}
h4.myg_modal_title{
	margin:0;
	padding:16px;
	font-size:18px;
}
.myg_modal_desc{
	padding:16px 16px 32px 16px;
}
.myg_modal_comments_wrap{
	background-color:#eaeaea;
	padding:8px 16px;
}
.myg_comment_row{
	padding-bottom:8px;
}
.myg_comment_avatar{
	width:32px;
	height:32px;
	float:left;
}
.myg_comment_text{
	margin-left:40px;
}
.myg_comment_time{
	font-size:11px;
	color:#999999;
}

.myg_modal_form input[type="text"]{
	width:100%;
	background-color:#ffffff;
	padding:8px 3px 5px 3px; 
	border: 1px solid #CCC;
	border-radius:0px;
	font-size:12px;
}

.myg_social_tab{
	display:none;
	width:120px;
	height:80px;
	position:absolute;
	background:#ffffff;
	border:1px solid #eaeaea;
}
.myg_social_wrap{
	padding:5px;
}
.myg_social_tab a{
	text-decoration:none;
	width:32px;
	height:32px;
	display:inline-block;
}
.myg_social_tab a:hover{
	text-decoration:none;
	background-color:#eaeaea;
}
#myg_no_more{
	position:absolute;
	top:50%;
	left:50%;
	padding:6px 12px;
	background-color:rgba(0,0,0,.5);
	color:#ffffff;
}
/*...Content hover Gallery Style...*/
.myg_hover_content{
	overflow:hidden;
}
.myg_hover_content,
.myg_hover_content img{
	display: block;
	position: relative;
}
.myg_hover_content article{
	position: absolute;
	background:rgba(0,0,0,.5) url(../images/search.png) no-repeat center center;
	width: 100%;
	height: 100%;
	cursor:pointer;
}
.myg_hover_content article h4, 
.myg_hover_content article p{
	color:#ffffff;
	text-align:center;
}
.myg_hover_content article h4{
	margin-top:10px;
	font-size:15px;
}
.myg_hover_content article p{
	font-size:12px;
}
.myg-animate{
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
/* Initial state classes: */
.myg-slideFromTop {
	left: 0px;
	top: -100%;
}
.myg-slideFromBottom {
	left: 0px;
	top: 100%;
}
.myg-slideFromLeft {
	top: 0px; 
	left: -100%;
}
.myg-slideFromRight {
	top: 0px;
	left: 100%;
}
/* Final state classes: */
.myg-slideTop {
	top: 0px;
}
.myg-slideLeft {
	left: 0px;
}

.myg_hover_content .myg_social,
.bxslider .myg_social {
	position:absolute;
	width:100%;
	height:24px;
	bottom:0;
	left:0;
	padding: 0 10px;
	display:none;
}
/*...MyGallery Album...*/
.myg_album_container{
	text-align:center;
	overflow: hidden;
}
.myg_album_image_wrap{
	display:inline-block;
	padding:25px;
}
.myg_album_image {
    width: 166px;
	height:166px;
	display:inline-block;
	position:relative;
}

.myg_album_image img {
    border: none;
    text-decoration: none;
    position: absolute;
    width: 158px;
    height: 158px;
}

.myg_album_image img {
    position: absolute;
    border: 4px solid #FFF;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 999;
    -moz-transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.myg_album_image .myg_album_photo1 {
    top: 8px;
    left: 8px;
}
.myg_album_image .myg_album_photo2 {
    top: 6px;
    left: 4px;
}
.myg_album_image .myg_album_photo3 {
    top: 4px;
    left: 0px;
}

.myg_album_image .myg_rotate1 {
    -webkit-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    transform: rotate(15deg);
}
.myg_album_image .myg_rotate2 {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
}
.myg_album_image .myg_rotate3 {
    -webkit-transform: rotate(-15deg);
    -moz-transform: rotate(-15deg);
    transform: rotate(-15deg);
    cursor: pointer;
}

.myg_album_image .myg_album_single:hover {
    -moz-transform: scale(1.1) rotate(0deg);
    -webkit-transform: scale(1.1) rotate(0deg);
    -o-transform: scale(1.1) rotate(0deg);
    -ms-transform: scale(1.1) rotate(0deg);
    transform: scale(1.1) rotate(0deg);
}

.myg_album_image_count{
	text-align:center;
}

/*...MyGallery Album Timeline...*/
.myg_album_timeline_container{
	position:relative;
}
.myg_album_timeline_bar{
	width:1px;
	height:100%;
	background-color:#eaeaea;
	position:absolute;
	top:0;
	left:50%;
	bottom:0;
}
.myg_album_timeline_row{
	margin-top:15px;
	margin-bottom:15px;
}
.myg_album_timeline_left,
.myg_album_timeline_right{
	width:40%
}
.myg_album_timeline_left{
	margin-right:50%;
	margin-left:10%;
}
.myg_album_timeline_right{
	margin-right:10%;
	margin-left:50%;
}
.myg_album_tm_image_wrap{
	padding: 10px;
    border: 1px solid #eaeaea;
    border-radius: 7px;
}
.myg_album_tm_image_wrap img{
	cursor:pointer;
}
img.myg_album_tm_photo1,
img.myg_album_tm_photo2, 
img.myg_album_tm_photo3{
	float:left;
}
img.myg_album_tm_photo2, 
img.myg_album_tm_photo3{
	max-width:50%;
	height:auto;
	margin-top: -20%;
}
.myg_album_tm_image_count{
	width: 100px;
    height: 50px;
    position: absolute;
    right: 10px;
    bottom: 11px;
	text-align:center;
	background-color: rgba(0,0,0,.5);
    color: #ffffff;
    padding: 17px 0;
}
.myg_album_tm_wrap{
	position:relative;
	font-family: helvetica, arial, sans-serif;
}
.myg_album_time_wrap{
	height: 80px;
    width: 80px;
	border-radius:50%;
	border: 1px solid #eaeaea;
	background-color:#ffffff;
	position:absolute;
	top:50%;
	margin-top: -40px;
}
.myg_album_time_year{
	background-color:#ffffff;
	border:1px solid #eaeaea;
	padding:5px 10px;
	margin-top:-55px;
	text-align: center;
	font-size: 18px;
}
.myg_album_time_date{
	text-align:center;
	padding:5px;
	font-size:12px;
	margin-top: 35px;
    font-size: 12px;
}
.myg_tl_m{
	padding-bottom:5px;
	border-bottom:1px solid #eaeaea;
	font-size: 14px;
}
.myg_tl_d{
	padding-top:5px;
	font-size: 12px;
}
/*...MyGallery Pagination...*/
.mygallery-pagination {
  display: block;
  width: 100%;
  text-align:center;
  padding:30px 15px;

} 
.mygallery-pagination a, .mygallery-pagination > span{
	line-height:16px;
	font-family: helvetica, arial, sans-serif;	
	display:inline-block;
	padding: .6em 1em .4em;
	margin-right: 6px;
	font-size: 12px;
	font-size: 0.75rem;
	font-weight: bold;
}
.mygallery-pagination a {
	text-decoration: none;
  	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.mygallery-pagination a:hover {
 	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
  	color: #555;
}
 
.mygallery-pagination > span.myg-active {
  border:1px solid #c0c0c0;
  color: #444;
}

/*...MyGallery Slider...*/
/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	background: #fff;
	
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -30px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: #fff url(../images/spinner_16.gif) center center no-repeat;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 20px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(../images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(../images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(../images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(../images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .85em;
	padding: 10px;
}


.myg-bxslider-carousel ul.bxslider,
.myg-bxslider-full ul.bxslider,
.myg-bxslider-thumbnav ul.bxslider,
.myg-bxslider-infinite-wrap ul.bxslider{
  margin: 0;
  padding: 0;
  border: 0px;
  overflow: hidden;
}
.myg-bxslider-full .bxslider > li,
.myg-bxslider-thumbnav .bxslider > li{
  background-position: center;
  height:550px;
  width: 100%;
  -webkit-backface-visibility: hidden;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bx-wrapper ul.bxslider > li{
	margin:0;
	padding:0;
}

.myg-bxslider-full {
  height: 100%;
}

.myg-bxslider-thumbnav .myg-thumb-pager{
	margin:0;
	padding:0;
	list-style:none;
	text-align:center;
	float:none;
	overflow:hidden;
}
.myg-bxslider-thumbnav .myg-thumb-pager a{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}
.myg-bxslider-thumbnav .myg-thumb-pager a.active, 
.myg-bxslider-thumbnav .myg-thumb-pager a:hover{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}
.myg-bxslider-thumbnav .myg-thumb-pager li,
.myg-bxslider-thumbnav .myg-thumb-pager img{
	display:inline-block;
	width:80px;
	height:80px;
}


@media (min-width: 768px) and (max-width: 991px) {
	.mygallery-masonry-one, .mygallery-two{
		width:50%;
	}
	.mygallery-four{
		width:33.33333%;
	}
	
	.mygallery-five, .mygallery-masonry-two{
		width:25%;
	}
	.mygallery-six{
		width:20%;
	}
	#myg_modal_image_wrap{
		width:70%;
	}
	#myg_modal_content_wrap{
		width:30%;
	}
	.myg_album_timeline_left,
	.myg_album_timeline_right{
		width:45%;
	}
	.myg_album_timeline_left{
		margin-right:50%;
		margin-left:5%;
	}
	.myg_album_timeline_right{
		margin-right:5%;
		margin-left:50%;
	}
}

@media (max-width: 767px) {
	  
	.mygallery-four, .mygallery-three, .mygallery-two{
		width:100%;
	}

	.mygallery-five, .mygallery-six{
		width:50%;
	}
	#myg_modal_image_wrap{
		height:auto;
	}
	#myg_modal_content_wrap{
		height:50%;
		width:100%;
	}
	#myg_modal_image_wrap, #myg_modal_content_wrap{
		width:100%;
		display:block;
		float:none;
	}
	##myg_modal_image_inner{
		overflow:auto;
	}
	.myg_album_timeline_bar{
		display:none;
	}
	.myg_album_timeline_left,
	.myg_album_timeline_right{
		width:90%;
		margin-right:5%;
		margin-left:5%;
	}
	.myg_album_timeline_left .myg_album_tm_wrap{
		margin-right:80px!important;
	}
	.myg_album_timeline_right .myg_album_tm_wrap{
		margin-left:80px!important;
	}
	.myg_modal_desc{
		padding-top:0;
	}
	h4.myg_modal_title{
		padding-top:5px;
		padding-bottom:10px;
	}
	#myg_image_left, #myg_image_right{
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	 	filter: alpha(opacity=60);
	  -moz-opacity:0.60;
	  -khtml-opacity:0.60;
		opacity:0.60;
	}

}

/* ----------- 
General Phone
iPhone 4 and 4S, 
iPhone 5 and 5S,
iPhone 6,
iPhone 6+ 
Galaxy s5, HTC
----------- */

/* Portrait */
@media 
	only screen 
	and (min-device-width : 320px) 
	and (max-device-width : 480px)
	and (orientation: portrait),
	only screen 
	and (min-device-width: 320px) 
	and (max-device-width: 480px)
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: portrait),
	only screen 
	and (min-device-width: 320px) 
	and (max-device-width: 568px)
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: portrait),
	only screen 
	and (min-device-width: 375px) 
	and (max-device-width: 667px) 
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: portrait),
	only screen 
	and (min-device-width: 414px) 
	and (max-device-width: 736px) 
	and (-webkit-min-device-pixel-ratio: 3)
	and (orientation: portrait),
	screen 
	and (device-width: 360px) 
	and (device-height: 640px) 
	and (-webkit-device-pixel-ratio: 3) 
	and (orientation: portrait),
	screen 
	and (device-width: 320px) 
	and (device-height: 640px) 
	and (-webkit-device-pixel-ratio: 3) 
	and (orientation: portrait),
	screen 
	and (device-width: 320px) 
	and (device-height: 640px) 
	and (-webkit-device-pixel-ratio: 3) 
	and (orientation: portrait) {
	  
	.mygallery-four, .mygallery-three, .mygallery-two{
		width:100%;
	}

	.mygallery-five, .mygallery-six{
		width:50%;
	}
	#myg_modal_image_wrap{
		height:auto;
	}
	#myg_modal_content_wrap{
		height:50%;
		width:100%;
	}
	#myg_modal_image_wrap, #myg_modal_content_wrap{
		width:100%;
		display:block;
		float:none;
	}
	##myg_modal_image_inner{
		overflow:auto;
	}
	.myg_album_timeline_bar{
		display:none;
	}
	.myg_album_timeline_left,
	.myg_album_timeline_right{
		width:90%;
		margin-right:5%;
		margin-left:5%;
	}
	.myg_album_timeline_left .myg_album_tm_wrap{
		margin-right:80px!important;
	}
	.myg_album_timeline_right .myg_album_tm_wrap{
		margin-left:80px!important;
	}
	.myg_modal_desc{
		padding-top:0;
	}
	h4.myg_modal_title{
		padding-top:5px;
		padding-bottom:10px;
	}
	#myg_image_left, #myg_image_right{
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	 	filter: alpha(opacity=60);
	  -moz-opacity:0.60;
	  -khtml-opacity:0.60;
		opacity:0.60;
	}
}

/* Landscape */
@media 
	only screen 
	and (min-device-width : 320px) 
	and (max-device-width : 480px)
	and (orientation: landscape),
	only screen 
	and (min-device-width: 320px) 
	and (max-device-width: 480px)
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: landscape),
	only screen 
	and (min-device-width: 320px) 
	and (max-device-width: 568px)
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: landscape),
	only screen 
	and (min-device-width: 375px) 
	and (max-device-width: 667px) 
	and (-webkit-min-device-pixel-ratio: 2)
	and (orientation: landscape),
	only screen 
	and (min-device-width: 414px) 
	and (max-device-width: 736px) 
	and (-webkit-min-device-pixel-ratio: 3)
	and (orientation: landscape),
	screen 
	and (device-width: 360px) 
	and (device-height: 640px) 
	and (-webkit-device-pixel-ratio: 3) 
	and (orientation: landscape),
	screen 
	and (device-width: 320px) 
	and (device-height: 640px) 
	and (-webkit-device-pixel-ratio: 3) 
	and (orientation: landscape),
	screen 
	and (device-width: 320px) 
	and (device-height: 640px) 
	and (-webkit-device-pixel-ratio: 2) 
	and (orientation: landscape) {
	.mygallery-two{
		width:100%;
	}
	.mygallery-four, .mygallery-three{
		width:50%;
	}
	
	.mygallery-five, .mygallery-six{
		width:33.33%;
	}
	#myg_modal_image_wrap{
		height:auto;
	}
	#myg_modal_content_wrap{
		height:50%;
		width:100%;
	}
	#myg_modal_image_wrap, #myg_modal_content_wrap{
		width:100%;
		display:block;
		float:none;
	}
	.myg_album_timeline_left,
	.myg_album_timeline_right{
		width:45%;
	}
	.myg_album_timeline_left{
		margin-right:50%;
		margin-left:5%;
	}
	.myg_album_timeline_right{
		margin-right:5%;
		margin-left:50%;
	}
	.myg_modal_desc{
		padding-top:0;
	}
	h4.myg_modal_title{
		padding-top:5px;
		padding-bottom:10px;
	}
	#myg_image_left, #myg_image_right{
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	 	filter: alpha(opacity=60);
	  -moz-opacity:0.60;
	  -khtml-opacity:0.60;
		opacity:0.60;
	}
}
