/*------------------------------- media section -----------------------------------*/

@media screen and (min-width:0px) and (max-width: 575px){
  .topbar-content {
    text-align: center;
  }
  .right-side-content {
    text-align: center;
  }
  .top_social {
    text-align: center;
    float: none;
  }
  .home.page-template #masthead{
    position: unset;
    padding-top: 15px;
  }
  #masthead {
    background-color: #000 !important;
  }
  #header .logo h1 a {
    color:#fff;
  }
  .toggle-nav {
    top: 28px;
    color: #fff;
  }
  #slider h2 {
    font-size: 25px;
    line-height: 1px;
  }
  #slider h4 {
    font-size: 22px;
    padding: 0;
    margin: 0;
  }
  #slider p {
    font-size: 12px;
    padding: 0;
    margin: 0;
  }
  .slider-btn {
  display: none;  
  }
  #feature .content span.price {
    right: 8px;
  }
  #feature h3 {
    font-size: 32px;
  }
  #feature img.top_img {
    display: none;
  }
  #feature img.bottom_img {
    display: none;
  }
  #feature .content h5:after {
   display: none;
  }
  .about-content {
    width: unset;
    left: unset;
  }
  .about-content h6 {
    font-size: 15px;
  }
  .about-content p {
    font-size: 14px;
  }
  .about-content p.text1 {
    display: none;
  }
  .banner h6.phone {
    font-size: 26px;
  }
  .banner h6 i {
    font-size: 26px;
  }
  .counter {
    width: unset;
  }
  #team h3.heading_title {
    font-size: 32px;
  }
  .news_content {
    width: unset;
  }
  #category img{
    height: unset !important;
  }
  #latest .post-slide .post-date {
    position: unset;
    margin: 10px auto;
  }
  #latest .post-slide .month {
    position: unset;
  }
  #newsletter h3 {
    font-size: 29px;
  }
  .home_contact_form {
    width: unset;
  }
  .slider-box {
    max-width: 100%;
  }
  .feature-content {
    margin-top: 20px;
  }
  #category .tab .nav-tabs li{
    width: 90px;
  }
  #category .tab .nav-tabs li a {
    padding: 15px;
    font-size: 12px;
  }
  .feature-image {
    text-align: center;
  }
  #custom_html-3 {
	  position: unset;
	  background: none; 
	  bottom: unset; 
	  border: unset; 
	  width: unset; 
	  padding-top: unset; 
	  padding-bottom: unset; 
}
  #custom_html-3 h3.widget-title:before {
    display:none;
  }
  #custom_html-3 h3.widget-title:after {
	display:none;
  }
  #newsletter input[type="email"] {
    width: 100%;
  }
  #newsletter input[type="submit"] {
    position: unset;
    width: 100%;
    margin: 10px auto;
  }
  .home_contact_form input[type="submit"] {
    font-size: 12px;
  }
  h3.widget-title {
    text-align: center;
	  font-size:19px;
  }
  #footer .textwidget p {
    text-align: center;
	  font-size:12px;
  }
  #latest .pad {
    padding-right: 15px;
  }
	#our_records h3 {
		font-size: 25px;
	}
	#newsletter .top_social {
		margin-top:0px;
	}

}

@media screen and (min-width:576px) and (max-width: 767px){
 .home.page-template #masthead{
    position: unset;
    padding-top: 15px;
  }
  .right-side-content {
    text-align: center;
  }
  .topbar-content h6 {
    text-align: center;
  }
  #masthead {
    background-color: #000 !important;
    padding-bottom: 20px;
  }
  #header .logo h1 a {
    color:#fff;
  }
  .toggle-nav {
    top: 28px;
    color: #fff;
  }
  #slider h2 {
    font-size: 25px;
    line-height: 1px;
  }
  #slider h4 {
    font-size: 22px;
    padding: 0;
    margin: 0;
  }
  #slider p {
    font-size: 12px;
    padding: 0;
    margin: 0;
  }
  .counter {
    width: unset;
  }
  #feature .content span.price {
    right: 8px;
  }
	#feature .fea_pad {
    padding-left: 0;
	}
  .about-content {
    width: unset;
    left: unset;
  }
  #latest .post-slide .post-date {
    position: unset;
    margin: 10px auto;
  }
  #latest .post-slide .month {
    position: unset;
  }
  .main-navigation ul ul {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  .home_contact_content {
    width: unset;
  }
  #category .tab .nav-tabs li a {
    padding: 11px;
  }
  #feature img.top_img {
    position: absolute;
    display: none;
  }
  #feature img.bottom_img {
    display: none;
  }
  #feature .content h5:after {
   display: none;
  }
  #custom_html-3 {
    position: unset;
  }
  #custom_html-3 h3.widget-title:before {
    left: -2px;
    top: 0px;
  }
  #custom_html-3 h3.widget-title:after {
    right: 12px;
    top: 0px;
  }
  #newsletter input[type="email"] {
    width: 100%;
  }
  #newsletter input[type="submit"] {
    position: unset;
    width: 100%;
    margin: 10px auto;
  }
  .feature-content {
    margin-top: 15px;
  }
  #custom_html-3 {
	  position: unset;
	  background: none; 
	  bottom: unset; 
	  border: unset; 
	  width: unset; 
	  padding-top: unset; 
	  padding-bottom: unset; 
  }
  #custom_html-3 h3.widget-title:before {
    display:none;
  }
  #custom_html-3 h3.widget-title:after {
	display:none;
  }
  h3.widget-title {
    text-align: left!important;
	  font-size:19px;
  }
  #footer .textwidget p {
    text-align: left;
	  font-size:12px;
  }
	#our_records h3 {
		font-size: 25px;
	}
	#newsletter .top_social {
		margin-top:0px;
	}
}
@media screen and (min-width:768px) and (max-width: 991px){
  #header .logo h1 {
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 0;
    margin-bottom: 0px;
    font-size: 19px;
    font-weight: bold;
    margin-top: 0;
    text-align: center;
  }
  #header .nav ul li:hover > ul {
    display: block;
    width: 200px;
    position: unset !important;
    top: 22px;
    left: 0;
    text-align: left;
    padding: 10px 0;
    z-index: 99;
    border: none !important;  
  }
  a.custom-logo-link img {
    width: 180px;
    height: 85px;
  }
  .logo img.custom-logo{
    margin: 0px !important;
  }
  .home .logo img.custom-logo {
    transform: none;
  }
  .nav-next{
    float: left;
  }
  .toggle-nav {
    top: 15px;
    color: #fff;
  }
  #slider h2 {
    font-size: 20px;
    line-height: 22px;
    padding: 0;
  } 
  #slider h4 {
    font-size: 32px;
    padding: 0;
    margin: 0;
  }
  #slider p {
    font-size: 16px;
    margin-top: 1px;
  }
  #feature img.top_img {
    position: absolute;
    display: none;
  }
  #feature img.bottom_img {
    display: none;
  }
  #feature .content h5:after {
   display: none;
  }
  #feature .content p {
    display: none;
  }
	#feature .content span.price {
		right:-2px;
	}
  .home.page-template #header {
   margin-top: unset;
  }
  .rgt-side img {
    display: none;
  }
  #latest span.post-date {
    display: none;
  }
  #newsletter h3 {
    font-size: 34px;
  }
  .home_contact_content {
    width: unset;
  }
  .home_contact_form {
    width: unset;
  }
  .home_contact_form input[type="submit"] {
    font-size: 16px;
  }
  #custom_html-3 {
    bottom: unset;
  }
  #custom_html-3 {
	  position: unset;
	  background: none; 
	  bottom: unset; 
	  border: unset; 
	  width: unset; 
	  padding-top: unset; 
	  padding-bottom: unset; 
}
  #custom_html-3 h3.widget-title:before {
    display:none;
  }
  #custom_html-3 h3.widget-title:after {
	display:none;
  }
  h3.widget-title {
    text-align: left!important;
	  font-size:19px;
  }
  #footer .textwidget p {
    text-align: left;
	  font-size:12px;
  }
}
@media screen and (min-width:991px) and (max-width: 1200px) {
  .toggle-nav {
    top: 15px;
  }
  .socialbox i {
    margin: 0 4px;
  }
  .topbar-content h6 {
    font-size: 11px;
  }
  #slider p {
    font-size:14px;
  }
  #slider h2 {
  font-size: 25px;
  line-height: 30px;
  }
  #slider h4 {
    font-size: 39px;
  }
  #feature .content h5:after {
    width: 95px;
  }
	#custom_html-3 h3.widget-title:before {
		left:-19px;
	}
	#custom_html-3 {
		bottom:26px;
	}
	#custom_html-3 {
		width:200px;
	}
}
@media screen and (max-width: 1024px) {

  #header .nav ul li:hover > ul.sub-menu a:hover { 
  background: transparent;
  }
  #header .nav ul li a{
    padding: 5px;
  }
  #header .main-navigation ul ul{
    background-color: transparent;
  }
  #header .main-navigation ul ul li, .menubar.scrolled .main-navigation ul ul li{
    border-bottom: none;
  }
  #header .main-navigation ul ul {
    position: static !important;
    width: 100%; 
    box-shadow: none;
  }
  #header .nav ul li:hover > ul{
  background-color:transparent;
  }
  #header .toggle-nav {
    display: block;
    position: relative;
    right: 15px;
    height: 30px;
    width: 30px;
    cursor: pointer;
    margin: 8px auto;
    z-index: 999999;
  }
  #header .toggle-nav i {
   font-size: 29px;
    color: #fff
  }
  #header .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  #header .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  #header .sidenav a:hover {
    color: #f1f1f1;
  }
  #header .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    display: block;
    color: #ffffff;
    cursor: pointer;
  }
  #header .nav ul li {
    border-top: 1px #303030 solid;
    display: inline-block;
    text-align: left;
    float: none;
    width: 18rem;
    padding: 5px;
  }
  #header .nav ul li a {
    padding: 5px;
    color: #fff !important;
  }
}