/* lg */ 
@media (min-width: 1200px) {
.subscription_table .event_mob {display:none;}
}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {
 	/* .navbar-right {margin-top:50px;} */
	.navbar-right li a {
		font-size: 12px;
		padding-right: 10px;
		padding: 10px;
	}
	.sub-cont {
		padding-top:100px;
	}
	.social-icons ul li {
		margin-bottom: 10px;
	}
	.price {
		font-size: 16px;
		height: 110px;
		line-height: 30px;
		width: 100%;
	}
	.price span {
		font-size: 40px;
		margin-top: 27px;
	}
	.btn-signup {
		padding: 10px 20px;
	}
	.joinsection_parent {
		position:relative;
	}
	.joinsection {
		/* position:absolute;
		top:-70px;
		left:-300px;
		list-style:none;
		padding-left:20px;
		color:#fff;
		font-size:4em;
		text-align:right; */
	}
	/* .joinsection_any {
		position:absolute;
		top:-55px;
		left:-200px;
		list-style:none;
		padding-left:20px;
		color:#fff;
		font-size:4em;
		text-align:right;
		padding-top:10px;
		height:60px;
	} */
	.joinsection a {
		float:left;
		margin-top:0px;
		font-size:11px !important;
	}
	.joinsection_any a {
		float:left;
	}
	.membership_btn {
		clear:both;
		width: 100%;
		margin-top:10px;
		margin-left:0px;
	}
	.membership_btn_cont {
		width:100%;
	}
	.ddsmenu {
		text-align:center;
	}	
	.ddfmenu1:hover .ddsmenu, .ddfmenu2:hover .ddsmenu, .ddfmenu3:hover .ddsmenu {
		text-align:center;
	}
	.ddfmenu1:hover .ddsmenu a, .ddfmenu2:hover .ddsmenu a, .ddfmenu3:hover .ddsmenu a {
		display:block;
		padding:15px 0 15px 0;
	}
	.ddfmenu1:hover .ddsmenu li, .ddfmenu2:hover .ddsmenu li, .ddfmenu3:hover .ddsmenu li {
		height:30px;
	}
	.board_top_mg {
		font-size:1.2em; border-top:2px #028fcc solid; margin-top:20px; padding-top:30px;
	}

}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {
 	.navbar-right {
		margin-top:20px;
	}
	.navbar-right li a {
		font-size: 12px;
		padding-right: 10px;
	}
	.sub-cont {
		padding-top:100px;
	}
	.social-icons ul li {
		margin-bottom: 10px;
	}
	.price {
		font-size: 16px;
		height: 110px;
		line-height: 30px;
		width: 100%;
	}
	.price span {
		font-size: 40px;
		margin-top: 27px;
	}
	.btn-signup {
		padding: 10px 20px;
	}
	.joinsection_parent {
		position:relative;
	}
	.joinsection {
		/* position:absolute;
		top:-60px;
		left:-300px;
		list-style:none;
		padding-left:20px;
		color:#fff;
		font-size:4em;
		text-align:right; */		
	}
	/* .joinsection_any {
		position:absolute;
		top:0;
		left:0;
		list-style:none;
		padding-left:20px;
		color:#fff;
		font-size:4em;
		text-align:right;
		height:60px;
	} */
	.joinsection a {
		float:left;
		/* margin-top:-8px; */
		font-size:11px !important;
	}
	.joinsection_any a {
		float:left;
	}
	.membership_btn {
		clear:both;
		width: 100%;
		margin-top:10px;
		margin-left:0px;
	}
	.membership_btn_cont {
		width:100%;
	}
	.ddsmenu {
		text-align:center;
	}	
	.ddfmenu1:hover .ddsmenu, .ddfmenu2:hover .ddsmenu, .ddfmenu3:hover .ddsmenu {
		text-align:center;
	}
	.ddfmenu1:hover .ddsmenu a, .ddfmenu2:hover .ddsmenu a, .ddfmenu3:hover .ddsmenu a {
		display:block;
		padding:15px 0 15px 0;
	}	
	.ddfmenu1:hover .ddsmenu li, .ddfmenu2:hover .ddsmenu li, .ddfmenu3:hover .ddsmenu li {
		height:30px;
	}
	.board_top_mg {
		font-size:1.2em; border-top:2px #028fcc solid; margin-top:30px; padding-top:30px;
	}
}

/* xs */
@media (max-width: 1200px) {
	body {
		font-size: 14px;
	}
	#home-slider .caption h1 {
		font-size: 40px;
	}
	#home-slider .caption {
		font-size: 15px;
		padding: 0 30px;
	}
	.left-control, .right-control {
		font-size: 20px;
		height: 30px;
		line-height: 25px;
		width: 30px;
	}
	#home-slider:hover .right-control {
		right: 15px;
	}
	#home-slider:hover .left-control {
		left: 15px;
	}
	.caption .btn-start {
		font-size: 12px;
		padding: 10px 30px;
	}
	.navbar-brand {
		padding:0;width:80%
	}
/* 	.navbar-toggle {
	  border:1px solid #fff;
	}
 */
	.navbar-toggle .icon-bar {
	  background-color: #fff;
	}
	.navbar-right {
		overflow:hidden;
		z-index:999;
	}
	.navbar-right li a {
		font-size: 15px;
		padding-bottom: 8px;
		padding-top: 10px;
	}
	.ddsmenu {
		/* text-align:left;		
		display:block;
		list-style:none;
		line-height:30px; */
		    text-align: left;
    display: block;
    list-style: none;
    padding-left: 40px;
    background-color: rgba(0,0,0,0);
    line-height: 30px;
	}
	.ddsmenu li a {font-size:14px;font-weight:300;}
	.ddfmenu1:hover .ddsmenu, .ddfmenu2:hover .ddsmenu, .ddfmenu3:hover .ddsmenu {
		text-align:left;
		display:block;
		list-style:none;
		padding-left:40px;
		background-color:rgba(0,0,0,0);
		line-height:30px;
	}
	.ddfmenu1:hover .ddsmenu a, .ddfmenu2:hover .ddsmenu a, .ddfmenu3:hover .ddsmenu a {
		display:block;
		padding:0 0 0 0;
	}	
	.ddfmenu1:hover .ddsmenu li, .ddfmenu2:hover .ddsmenu li, .ddfmenu3:hover .ddsmenu li {
		height:30px;
	}

	.ddfmenu1 {
		margin-bottom:30px;
	}
	.ddfmenu2 {
		margin-bottom:90px;
	}
	.ddfmenu3 {
		margin-bottom:30px;
	}

	.navbar-right li.active a {
		background-color: rgba(0,0,0,0);
		overflow:hidden;
	}
	.bbs-btn-cont {
		clear:both;
		float:left;
		margin:50px 20px;
		width:100%;
	}
	.bbs-btn-cont span {
		width:20%;
		margin:5px 5px;
	}
	.sub-gallery ul {
		/* float:left;
		list-style:none;
		padding:3px;
		margin:3px;
		text-align:center;
		width:48%; */
		width:calc(50% - 25px);
	}
	.sub-gallery ul:nth-child(2n+0) {margin-right:0;}
	.bbs-list td {
		text-align:center;
		/* border-bottom:1px #028fcc dotted; */
		padding:15px 0;
		width:16%;
		line-height:17px;
	}
	.bbs-list .bbs-tt {
		text-align:left;
		width:16%;
	}
	.bbs-write td {
		line-height:12px;
		/* border-bottom:1px #028fcc dotted; */
		padding:10px;
		width:20%;
	}
	
	.subscription_table td {line-height:normal;}
	.subscription_table .event_pc {display:none;}
	.subscription_table td {font-size:12px;}
	.subscription_table td:nth-child(1) {width:20%;}
	.subscription_table td:nth-child(2) {width:80%;}
	 
	.joinsection_any {
		display:block;
		margin-left:15px;
	}
	.joinsection_any li {
		float:left;
		/* margin-right:15px; */
		list-style:square;
	}
	.joinsection {
		display:block;
		margin-left:15px;
	}
	.joinsection li {
		float:left;
		/* margin-right:50px; */
		list-style:square;
	}
	.membership_btn {
		clear:both;
		width: 100%;
		margin-top:10px;
		margin-left:0px;
	}
	.membership_btn_cont {
		width:100%;
	}
	.board_top_mg {
		font-size:1.2em; border-top:2px #028fcc solid; margin-top:30px; padding-top:30px;
	}
}	


@media (max-width: 600px) {
	.sub-gallery ul {font-size:13px !important;margin-top:10px;}
	.sub-gallery ul li:nth-child(2) { display: block;white-space: nowrap;overflow: hidden;}
	.sub-gallery ul:nth-child(-n+2) {margin-top:0;}
	.sub-gallery ul:nth-child(3),.sub-gallery ul:nth-child(4) {margin-top:10px;}
}


	/*services*/
	section {
		padding: 140px 0;
	}
	.heading {
		font-size: 14px;
		padding-bottom:20px;
	}
	.heading h2 {
		font-size: 26px;
	}
	.service-info h3 {
		font-size: 20px;
	}
	.our-services .col-sm-4 {
		margin-bottom: 32px;
		padding-bottom: 20px;
	}
	.our-services .col-sm-4:nth-child(4), 
	.our-services .col-sm-4:nth-child(5), 
	.our-services .col-sm-4:nth-child(6) {
		padding-top: 0;
	}
	.service-icon {
		font-size: 30px;
		height: 65px;
		line-height: 62px;
		width: 65px;
	}
	.our-services .col-sm-4:hover .service-icon:before {
		height: 90px;
		width: 90px;
	}
	.about-info {
		text-align: center;
		margin-bottom: 50px;
	}
	.team-member {
		margin-bottom: 50px;
	}
	.team-members .col-sm-3, 
	.pricing-table .col-sm-3, 
	#portfolio .col-sm-3, 
	.blog-posts .col-sm-4  {
		width: 50%;
		float: left;
	}
	.social-icons ul li a {
		font-size: 14px;
		height: 30px;
		line-height: 30px;
		width: 30px;
	}	
	.count .col-xs-6 {
		margin-bottom: 35px;
	}
	#features {
		min-height: 330px;
	}
	#features i {
		font-size: 35px;
	}
	#features h3 {
		font-size: 25px;
	}
	.price span {
		font-size: 50px;
		margin-top: 25px;
	}
	.price {
		font-size: 18px;
		height: 110px;
		line-height: 35px;
		width: 130px;
	}
	.single-table ul {
		margin-top: 22px;
	}
	.single-table ul li {
		font-size: 14px;
		margin-top: 15px;
	}
	.btn-signup {
		font-size: 12px;
		margin-top: 25px;
		padding: 10px 35px;
	}
	.single-table{
		margin-bottom: 40px;
		padding: 20px;
	}
	#twitter {
		padding-bottom: 75px;
	}
	.twitter-left-control, 
	.twitter-right-control {
		top: inherit;
		bottom: 30px;
		height: 25px;
		width: 25px;
		line-height: 23px;
		font-size: 14px;
	}
	.twitter-left-control {
		left: 40%
	} 
	.twitter-right-control {
		right: 40%
	}
	#blog {
		overflow: hidden;
	}
	.entry-header h2 {
		line-height: 20px;
	}
	.blog-posts .col-sm-4 {
		margin-bottom: 35px;
	}
	.load-more {
		margin-top: 35px;
	}
	.btn-loadmore {
		font-size: 12px;
		padding: 15px 75px;
	}
	#contact-us .heading {
		padding-top: 35px;
	}
	.contact-info {
		padding-left: 0;
	}
	#footer .footer-bottom {
		text-align: center;
	}
	.footer-bottom p.pull-right {
		float: none !important;
	}
}

/* XS Portrait */
@media (max-width: 479px) {
  
	.team-members .col-sm-3, 
	.pricing-table .col-sm-3, 
	#portfolio .col-sm-3, 
	.blog-posts .col-sm-4 {
		width:100%;
		float: none;
	}

}

