/*
 * jQuery FlexSlider v2.6.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */
/* ====================================================================================================================
 * FONT-FACE

/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/

.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  display: block;
  
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  /*background: #ffffff;*/
  border: 0px solid #ffffff;
  position: relative;
  zoom: 1;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
  
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 0;
}
.flex-direction-nav {
  *height: 0;
  display: block;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -15px 0 0;
  position: absolute;
  top: 50%;
  z-index: 2;
  overflow: hidden;
  opacity: 1;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  /*text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;*/
}
.flex-direction-nav a:before {

}
.flex-direction-nav a.flex-next:before {

}
.flex-direction-nav .flex-prev {
  left: -40px;
  background:url("arrows3.png") no-repeat;width:20px;height:30px;background-position: 0 0;
}
.flex-direction-nav .flex-next {
  right: -40px;
  background:url("arrows3.png") no-repeat;width:20px;height:30px;background-position: -20px 0;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  /*opacity: 0.7;
  left: -100px;*/
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
 opacity: 0.5;
}
.flexslider:hover .flex-direction-nav .flex-next {
  /*opacity: 0.7;
  right: -100px;*/
   opacity: 0.5 !important;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0.5;
  /*filter: alpha(opacity=0);*/
  cursor: default;
 /*z-index: -1;*/
}

.flex-direction-nav .flex-next.flex-disabled:hover{
	
	 opacity: 0.5 !important;
}
/*.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(arrows.png) no-repeat; position: absolute; top: 50%; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: -85px -23px; right: -50px; }
.flex-direction-nav .flex-prev {left:0px;background-position: -3px -17px;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}*/
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}
.flexslider .slides > li{position: Relative;}
.flexslider .slides > li:first-child {display: block;} 
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
/*@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: -18px;
  }
  .flexslider:hover .flex-direction-nav .flex-prev {
	//left: -18px;
  }

    
  .flex-direction-nav .flex-prev{ 
	width: 40px;
    height: 40px;
    background-position: 4px 4px;
    background-size: cover;
	}
	
	.flex-direction-nav .flex-next{ 
	width: 30px ;
    height: 40px;
    background-position: -31px -1px;
    background-size: cover;}
}*/
.mgm { position: relative; padding-top: 10px; }
.mgm .border { margin-right: 1%; padding-bottom: 30px; border: 5px solid #087bbd; border-radius: 10px; -webkit-box-shadow: 4px 4px 0px 0px rgba(60, 161, 219, 1); -moz-box-shadow: 4px 4px 0px 0px rgba(60, 161, 219, 1); box-shadow: 4px 4px 0px 0px rgba(60, 161, 219, 1); }
.mgm .tab-head { position: relative; }
.mgm .tab-head img { position: relative; display: block; width: 100%; max-width: 290px; z-index: 2;}
.mgm .tab-head:after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background-color: #45a19c; }
.mgm .tab-body { padding: 30px 60px; }
.mgm p { font-size: 18px; text-align: center; }
.mgm p .highlight { font-size: 20px; }
.mgm p.date { color: #b00931; font-size: 16px; }

.mgmslider { max-width: 730px; position: relative; margin: 0 auto 40px; }
.mgmslider .mobile_skin { width: 100%; position: absolute; top: 0; left: 0; z-index: 8; }
.mgmslider .slider { width: 250px; margin-left: 50px; float: left; }
.mgmslider .mobile_skin img { width: 100%; display: block; }
.mgmslider .slides img{ width: 250px; display: block; }
.img-caption { margin: 0 0 0 0; width: 45%; float: right; }
.img-caption ul { width: 100%; display: block; }
.img-caption ul li div { margin: 8% 0; font-size: 16px; line-height: 25px; position: relative; margin-left: 1px; color: #666666; }


@media screen and (max-width: 767px) {
    .mgm p { font-size: 16px; }
    .mgm p .highlight { font-size: 18px; }
    .mgm .border { padding-bottom: 15px;}
    .mgm .tab-body { padding: 15px; }
    .mgm .tab-head { overflow: hidden; }
    .mgm .tab-head img { margin-left: -15px; width: 80%; }
    .mgmslider { width: auto; margin-bottom: 25px; }
    .mgmslider .slider { margin: 0 auto; float: none; }
    .mgmslider .slider .phone-txt { display: block; }
    .img-caption {width: 80%; margin: 60px auto; }
    .img-caption li { display: none; }
    .img-caption li.select-cap { display: block; }
    .img-caption ul li div { margin: 0; }
    .flex-direction-nav .flex-prev { left: -30px!important; }
    .flex-direction-nav .flex-next { right: -30px!important; }
}