@media (max-width: 1200px) {
	
	.navbar-default .navbar-toggle, .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
		background: #fff;
		padding: 8px 5px 6px 5px;
	}
	
	.navbar-default .navbar-toggle i {
		color: #bbb;
		font-size: 2em;
	}

	.quote-buttons span {
		margin: 0 2px;
	}

	.flickr-widget ul li {
		margin-left: 0px;
		margin-right: 7px;
	}

	.subscribe-widget form input[type="text"] {
		margin-bottom: 10px;
	}

	.history-content p {
		max-height: 36px;
		line-height: 20px;
		overflow: hidden;
	}
	
	.projects-carousel {
		width: 950px!important;
	}
}

@media (max-width: 991px) {
	
	.boxed-page, .boxed-page header {
		width: 100%;
	}
	
	.classic-testimonials {
		margin-bottom: 25px!important;
	}
	
	.tp-caption a.btn-system {
		font-size: 11px;
		padding: 4px 8px;
	}
	
	.contact-details {
		display: block!important;
	}
	
	.navbar-brand {
		padding: 3px 15px;
	}
	
	.navbar-default .navbar-nav {
		margin: 0 !important;
		top: 0;
	}

	ul.contact-details {
		float: none !important;
		text-align: center !important;
	}

	ul.contact-details li {
		float: none !important;
		display: inline-block;
	}

	.quote-buttons {
		text-align: center;
	}
	.search-side {
    position: relative;
    float: left;
    top: 10px;
    left: 5px;
    padding-bottom: 10px;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
/* .seachbox-mobile {
	float: right;
    background: transparent;
    padding: 5px 10px 5px 0px;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    margin-left: 10px;
    margin-top: 8px;
}
.seachbox-mobile .searchbar i {
	 color: #ec4649;
    font-size: 25px;
}

#search {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-transition: all 0.5s ease-in-out;
       -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
	       -o-transition: all 0.5s ease-in-out;
            transition: all 0.5s ease-in-out;
    -webkit-transform: translate(0px, -100%) scale(0, 0);
	     -moz-transform: translate(0px, -100%) scale(0, 0);
	      -ms-transform: translate(0px, -100%) scale(0, 0);
         -o-transform: translate(0px, -100%) scale(0, 0);
	          transform: translate(0px, -100%) scale(0, 0);    
    opacity: 0;
    display: none;
}

#search.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
       -moz-transform: translate(0px, 0px) scale(1, 1);
    	  -ms-transform: translate(0px, 0px) scale(1, 1);
	       -o-transform: translate(0px, 0px) scale(1, 1);
	           transform: translate(0px, 0px) scale(1, 1); 
    opacity: 1;
    z-index: 106;
    display: block;
}

#search input[type="search"] {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -51px;
    width: 80%;
    margin-left: 10%;
    color: #fff;
  	background: transparent;
  	border-top: 1px solid rgba(255, 255, 255, .8);
  	border-bottom: 2px solid rgba(255, 255, 255, .5);
  	border-left: 0px solid transparent;
  	border-right: 0px solid transparent;
    font-size: 16px;
  	font-family: Roboto;
    font-weight: 400;
    text-align: center;
    outline: none;
  	padding: 10px;
}
  
#search .close {
    position: fixed;
    top: 15px;
    right: 15px;
	  opacity: 1;
	  font-size: 27px;
  	color: #fff;
}

#search .close:hover{
  color: #FC2121;
  cursor: pointer;
} */


.seachbox-mobile {
	float: right;
    background: transparent;
    padding: 5px 10px 5px 0px;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    margin-left: 10px;
    margin-top: 8px;
}
.seachbox-mobile .searchbar i {
	 color: #ec4649;
    font-size: 25px;
}

/* .openBtn {
  background: #f1f1f1;
  border: none;
  padding: 10px 15px;
  font-size: 20px;
  cursor: pointer;
}

.openBtn:hover {
  background: #bbb;
} */

.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  /* background-color: rgb(0,0,0); */
  background-color: rgba(255,255,255, 1);
}

.overlay-content {
  position: relative;
  top: 10%;
  width: 80%;
  text-align: center;
  margin-top: 30px;
  margin: auto;
}

.overlay .closebtn {
  position: absolute;
      top: 20px;
    right: 10px;
    font-size: 40px;
    cursor: pointer;
    color: #000;
}
.overlay i {
	color:#fff !important;
}
.overlay .popular-search h6 {
	margin:10px 0px;
	line-height:33px;
	 border-bottom:1px solid #ccc; 
}
.overlay .popular-search p {
	/* margin:10px 0px; */
	border-bottom:1px solid #f5f5f5;
	line-height:33px;
	
}
.overlay .popular-search i {
	color:#000 !important;
	float:right;
	font-size:12px;
	line-height:33px;
}
.overlay .closebtn:hover {
  color: #ccc;
}

.overlay input[type=text] {
  padding: 10px;
  font-size: 13px;
  border: none;
  float: left;
  width: 80%;
  background: transparent;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  border-left:1px solid #ddd;
}

.overlay input[type=text]:hover {
      background: rgb(255 255 255);
  color:#fff;
  outline:none;
}

.overlay button {
 float: left;
    width: 20%;
    padding: 10px;
    background: #ec4649;
    font-size: 21px;
    border: 1px solid #ddd;
    /* border: none; */
    color: #fff;
    cursor: pointer;
}

.overlay button:hover {
  background: #e82a2d;
}
.mobaccountpage li {
	list-style:none;
	border-bottom:1px solid #f2f2f2;
	padding:10px;
}

.mobaccountpage li a {
	color:#000;
	font-size:14px;
	text-transform:uppercase;
}
.mobaccountpage li i {
	float:right;
}
.mob-edit h4 {
	color:#000;
	font-weight:600;
}
.mob-edit a {
	background: #f05244;
    padding: 10px 14px;
    /* height: 12px; */
    font-size: 20px;
    border-radius: 50%;
    box-shadow: 0px 0px 15px #f05245;
}
.cartbg {
    float: right;
    background: transparent;
    padding: 5px 10px 5px 0px;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    margin-left: 10px;
    margin-top: 8px;
}
.cart_img i {
    color: #ec4649;
    font-size: 25px;
}
.wishlist_bg {
    width: 15px;
    height: 15px;
    background: #ec4649;
    /* padding: 0px 10px; */
    position: absolute;
    border-radius: 50%;
    text-align: center;
    font-size: 10px;
    top: 5px;
    line-height: 15px;
    color: #fff;
    font-weight: bold;
    right: 22px;
}
.cart_bg {
    width: 15px;
    height: 15px;
    background: #ec4649;
    /* padding: 0px 10px; */
    position: absolute;
    border-radius: 50%;
    text-align: center;
    font-size: 10px;
    top: 5px;
    line-height: 15px;
    color: #fff;
    font-weight: bold;
    right: 75px;
}
.navbar-brand>img {
    width: 120px;
}
	.copyright-section {
		text-align: center;
	}

	ul.footer-nav {
		display: block;
		float: none !important;
		text-align: center;
		margin-top: 10px;
	}
	
	ul.footer-nav li {
		display: inline-block;
		float: none;
		margin-left: 15px;
	}

	.page-banner {
		text-align: center;
	}

	ul.breadcrumbs {
		float: none;
	}

	ul.breadcrumbs li {
		float: none;
		display: inline-block;
		float: left\0/;
	}
	
	.portfolio-4 .portfolio-item {
		width: 49.99%!important;
		padding-left: 15px;
		padding-right: 15px;
		margin-bottom: 30px;
	}
	
	.projects-carousel {
		width: 100% !important;
	}
	
	.pricing-tables .pricing-table {
		//width: 50% !important;
		margin-bottom: 15px;
	}
	
	.pricing-tables .highlight-plan {
		margin: 0;
	}
	
	.pricing-tables .pricing-table.highlight-plan .plan-name {
		padding: 15px 0;
	}
	
	.pricing-tables .pricing-table.highlight-plan .plan-signup {
		padding:25px 0;
	}
	
	.pricing-tables .pricing-table:hover {
		top: 0;
	}
	
	.milestone-block {
		margin-bottom: 25px;
		margin-right: 40px;
	}
	
	.fittext {
		font-size: 30px;
		line-height: 38px;
	}
	
	.team-member {
		text-align: center;
		margin-bottom: 30px;
	}
	
	.member-photo {
		display: inline-block;
		margin: 0 auto;
	}
	
	.easyPieChart {
		margin: 0 40px 20px 0;
	}
	
	.right-sidebar {
		margin-top: 60px;
		padding-top: 60px;
		border-top: 1px solid #eee;
	}
	
	.sidebar .widget {
		margin-bottom: 35px;
	}
	
}

@media (max-width: 768px) {
  
	.tp-leftarrow,
	.tp-rightarrow {
		display: none!important;
	}
  
    .tp-caption a.btn-system {
		display: none;
	}
	
	.history-box img {
		float: none;
		width: 100%;
	}

	.history-content {
		float: none;
		width: 100% !important;
	}

	.history-box span.history-date {
		right: inherit;
		left: 15px;
	}
	
	.portfolio-filter li {
		margin-bottom: 8px;
	}
	
	.portfolio-4 .portfolio-item {
		width: 100%!important;
		padding-left: 15px;
		padding-right: 15px;
		margin-bottom: 20px;
	}
  
    .milestone-block {
        margin-bottom: 20px;
        margin-right: 45px;
    }

}
@media only screen and (max-width: 479px) { 
  
    .top-bar  {
		text-align: center;
	}
    
	.navbar-default .navbar-nav {
		padding: 15px 0;
	}
	
	.show-search, .search-form {
		display: none;
	}
  
    ul.social-list li {
		margin: 0 3px;
	}
	
	ul.social-list li a i {
		font-size: 0.9em;
		display: block;
		width: auto;
		line-height: 30px;
		border: none!important;
	}
	
	ul.social-list li a:hover {
		background-color: transparent!important;
	}
	
	ul.social-list li a.facebook:hover {
		color: #507CBE;
	}
	
	ul.social-list li a.twitter:hover {
		color: #63CDF1;
	}
	
	ul.social-list li a.google:hover {
		color: #F16261;
	}
	
	ul.social-list li a.dribbble:hover {
		color: #E46387;
	}
	
	ul.social-list li a.linkdin:hover {
		color: #90CADD;
	}
	
	ul.social-list li a.tumblr:hover {
		color: #4D7EA3;
	}
	
	ul.social-list li a.flickr:hover {
		color: #E474AF;
	}
	
	ul.social-list li a.instgram:hover {
		color: #4D4F54;
	}
	
	ul.social-list li a.vimeo:hover {
		color: #87D3E0;
	}
	
	ul.social-list li a.skype:hover {
		color: #36C4F3
	}
	
	.navbar-default .navbar-toggle {
		margin-top: 15px;
		outline: none;
	}

	.navbar-default .navbar-nav > li > a {
		border: none;
		padding: 5px 10px;
		display: block;
		border: none !important;
		padding-right: 0;
	}
	
	.navbar-default .navbar-nav > li > a:after {
		display: none;
	}

	.navbar-default .navbar-nav > li > a:hover {
		opacity: 0.7;
	}
  
    .navbar-default .navbar-nav > li {
		margin-left: 0;
		display: block;
		margin-bottom: 5px;
        width: 100%
	}

	.navbar-default .navbar-nav > li.drop > a {
	    padding-right: 10px;
	}
	
	.navbar-default .navbar-nav > li.drop > a {
		border-radius: 2px;
	}

	ul.dropdown, ul.sup-dropdown {
		opacity: 1!important;
		position: relative !important;
		visibility: visible !important;
		width: 100% !important;
		top: inherit !important;
		left: 0 !important;
		margin-top: 0 !important;
		background: #fff !important;
		padding-left: 20px !important;
		box-shadow: none !important;
	}

	ul.dropdown li, ul.sup-dropdown li {
		border-top: none;
	}
  
    .milestone-block {
        display: block;
        clear: left;
        margin-right: 0;
    }
  
    .btn-system {
        margin-bottom: 10px;
    }
  
    .easyPieChart {
      font-size: 24px;
      font-weight: 400;
      position: relative;
      text-align: center;
      display: inline-block;
      margin: 0 0 20px 0;
      overflow: hidden;
    }
    
}




@media (min-width : 992px) {
    
    #main-slide .slider-content h2{
		font-size: 68px;
	}
}


@media (min-width : 768px) and (max-width: 991px) {
    
    #main-slide .slider-content h2{
		font-size: 52px;
	}
	#main-slide .slider-content h3{
		font-size: 24px;
		margin-top: 12px;
	}

	.slider.btn{
		padding: 5px 25px;
		margin-top: 5px;
		font-size: 16px;
	}
    
}


@media (max-width : 767px) {
    
    #main-slide .slider-content h2{
		font-size: 28px;
		line-height: normal;
		margin-bottom: 0;
	}
	#main-slide .slider-content h3{
		font-size: 14px;
		margin-top: 5px;
	}
	.slider.btn{
		padding: 0 15px;
		margin-top: 0;
		font-size: 12px;
	}
	#main-slide .carousel-indicators{
		display: none;
	}
    
}


@media (max-width : 479px) {
	
	.home_slider {
	background:#fff url(../images/homeslider.jpg);
	height:auto;
}
	#main-slide .item img{
	width: 100%;
	height:auto;
}
	
	#main-slide .slider-content {
    top: 70%;
    margin-top: -70px;
    left: 0;
    padding: 0;
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    color: #fff;
}
  
    
    #main-slide .item .slider-content{
		display: block;
	}
	
	.products .product-grid .prodlinks-mob {
		text-align:center;
		
	}
	
.products .product-grid .prodlinks-mob li  {
	list-style: none;
    display: inline-block;
	margin:10px 0 10px;
    /* margin-right: 10px; */		
}
	
.products .product-grid .prodlinks-mob li a {
	color: #fff;
    background: #e8514b;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    box-shadow: 0 2px 4px rgb(232 81 75 / 60%);
    display: block;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0s;
}
}

@media screen and (max-width: 767px) {
	.navbar-toggle{
	    display: none;
	  }
	  .navbar-header{
	    position: relative;
	  }
	  .margo-logo-wrapper{
	    position: absolute;
	    top: 0;
	  }
	.navbar-brand{
		position: absolute;
	    top: 3px;
		/* left:40px; */
	}
	
	/*******************/
	
	.stickycategorybar {
	width:100%;
	position:fixed;
	height:60px;
	box-shadow: 0px -2px 12px 0px #b7b7b7;
	background:#fff;
	padding:8px;
	bottom:0;
	z-index:1000;
	
}
.backbtn {
	background: transparent;
    outline: none;
    border: none;
	font-size:20px;
}

	.stickycategorybar i {
		font-size: 20px;
    /* color: #e7524a; */
    color: #000;
	}
.stickycategorybar a {
	color:#000;
	font-size: 11px;
}
.stickycategorybar a.selected {
	color: #e7524a;
	font-weight:500;
}
.stickycategorybar a.selected i {
	color: #e7524a;
	/* font-weight:500; */
}
	.categorypage {
		
	}
	.categorypage h5.title {
		background:#f5f5f5;
		font-weight:400;
		text-align:center;
		padding:10px;
		white-space: nowrap;
    /* width: 200px; */
    overflow: hidden;
    text-overflow: ellipsis;
	}
	.categorypage h5.title a {
		color:#000;
	}
	.categorypage .pic-1 {
		height:160px;
	}
	
.video-img .youtube-icon {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    /* background-color: #555; */
    color: #ff0000;
    font-size: 30px;
    /* padding: 12px 24px; */
    border: none;
}
	
	
/* .sidepanel  {
  width: 0;
  position: fixed;
  z-index: 1;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidepanel a {
      padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 12px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidepanel a:hover {
  color: #f1f1f1;
}

.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
}

.openbtn {
  font-size: 20px;
    cursor: pointer;
    background-color: transparent;
    color: black;
    border: none;
}

.openbtn:hover {
  background-color:#444;
} */

	/* #menu is the original menu */
	.js #wpb-mobile-menu {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}
}
/* SlickMenu responsive */
@media screen and (min-width: 768px) {
  .slicknav_menu{
    display: none;
  }
}