
/*    Default Layout: 992px. 
    Gutters: 24px.
    Outer margins: 48px.
    Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

@media (min-width: 768px) {


.navbar-header {
    float: none; 
}
}


@media only screen and (max-width: 1199px) {
	#home {
    margin-top: 170px;
	}
}

@media only screen and (max-width: 991px) {
	.logo-in {
		display:none;
	}
}

/*    Tablet Layout: 768px.
    Gutters: 24px.
    Outer margins: 28px.
    Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {

.navigation .navbar-nav > li > a{
  text-transform: initial;
}

.animated-nav .navigation .navbar-nav > li > a{
  padding: 20px 15px;
}
.animated-nav .navbar-header {
	display:none;
}
#service .media{
  padding-left: 0;
}

.mobile-device .black{
  left: 0px;
}

.mobile-device .white{
  left: -98px;
}

figcaption.mask{
  padding: 10px;
}

figcaption.mask h3{
  font-size: 15px;
}

figcaption.mask span{
  font-size: 12px;
}

.plus{
    height: 30%;
    width: 30%;
    margin-left: -15%;
}

.portfolio-item:hover .plus{
  top: 40%;
}

.fact-item{
  padding-bottom: 30px;
}

.subtitle{
  padding-top: 50px;
}

.pricing-table{
  padding-bottom: 20px;
  min-height:460px;
  margin-bottom: 20px;
}

figure {
  padding-top: 30px;
}

	.subtitle {
		margin-top: -40px;
        width: 237%;
	}
	
	.contact-form {
        width: 237%!important;
	}
	
	.plus {
		margin: -28px 0 0 -40px;
	}
	
	.footer-widget .ql {
    margin-left: 0px;
	margin-top: 35px;
	}
	
	.footer-widget .ls {
	margin-top: 35px;
	}
	
	.footer-widget .co {
    margin-left: 0px;
	margin-top: 35px;
	}
	
	.footer-widget ul.navigation {
    margin-left: 0px;
	}
	
	ul {
		margin-left: 20px;
	}


}


/*    Mobile Layout: 320px.
    Gutters: 24px.
    Outer margins: 34px.
    Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {
#nav ul {
	position: relative;
    border: none;
    visibility: visible;
    opacity: 1;
    display: block;
	padding-left: 30px;
}
#nav ul:before {
    display: none;
}
.navbar-toggle {
  border: 1px solid rgba(224, 25, 32, 0.8);
  margin-top: 37px;
}

.navbar-toggle .icon-bar {
  background-color: rgba(224, 25, 32, 0.8);
}

.animated-nav .navbar-toggle {
  border: 1px solid #e01920;
  margin-top: 21px;
}

.animated-nav .navbar-toggle .icon-bar {
  background-color: #e01920;
}

.animated-nav .navigation .navbar-nav > li > a,
.navigation .navbar-nav > li > a {
  padding: 15px 25px;
}

.navigation .navbar-nav > li > a {
  background-color: #fff;
}

.navigation .navbar-nav > li > a:hover {
  background-color: #f8c224;
}
.navigation .navbar-nav > li.current > a {
  color: #fff;
}


.carousel-caption > div{
  width: 100%;
  text-align: center;
  padding: 20px 0;
}
#home {
    margin-top: 70px;
}
#home-carousel .carousel-inner h2{
    font-size: 20px;
    line-height: 31px;
}

.carousel-caption{
  right: 0;
}

.section-title{
  width: 100%;
}

#service .media{
  padding-left: 0px;
}

#service .media > .pull-left{
  margin-right: 15px;
}

.mobile-device img{
  float: none;
}

.mobile-device .black{
  left: 0;
}

.mobile-device .white{
  bottom: 336px;
  left: 83px;
}

#service-bottom{
  
}

.service-features{
  padding: 40px 0 0 20px;
  width: 100%;
  top: 60%;
  min-height: 319px;
}

.service-features h3{
  margin-bottom: 0px;
}



.tst-content{
  margin: 10px 0;
}

.subtitle{
  padding-top: 50px;
}

.call-to-action p{
  font-size: 14px;
}

.pricing-table{  
  padding-bottom: 20px;
  min-height:360px;
  margin-bottom: 20px;
}

figure {
  padding-top: 30px;
}

.special-plan p{
  line-height: 30px;
}

.contact-details{
  margin-bottom: 0px;
}

.contact-details > span{
  padding-top: 100px;
}


.portfolio-item:hover .plus1 .fa{
    top: 55%;
	left:55%;
}
.navbar-nav > li > .dropdown {
		margin-left: 15px;
		left:10% !important;
		position:relative !important;
		width:100%;
		opacity: 1 !important;
    visibility: visible !important;
	}
	.navbar-collapse.in {
    overflow-y: visible;
}
.navbar ul ul
{
	display:block;
}
.navbar-collapse {
    overflow-x: auto;
	}
	
.top-line p {
		text-align: center;
		float: none;
	}
	#home-carousel .carousel-inner .item {
		max-height: 300px;
	}
	.carousel-caption > div {
		display: none;
	}
	.subtitle {
		margin-top: -40px;
        width: 158%;
	}
	
	.contact-form {
        width: 150%!important;
	}
	
	.footer-widget .ql {
    margin-left: 0px;
	margin-top: 35px;
	}
	
	.footer-widget .ls {
	margin-top: 35px;
	}
	
	.footer-widget .co {
    margin-left: 0px;
	margin-top: 35px;
	}
	
	.footer-widget ul.navigation {
    margin-left: 0px;
	}
	
	.box1 {
		background-size: 715px 215px;
	}
	
	.box2 {
		background-size: 715px 215px;
	}
	
	.box3 {
		background-size: 715px 215px;
	}
	
	.box4 {
		background-size: 715px 215px;
	}
	
	.box5 {
		background-size: 715px 215px;
	}
	
	.box6 {
		background-size: 715px 215px;
	}
	.logo {
    width: 50%;
	margin-left: 15px;
    margin-top: -80px;
	}
	ul {
		margin-left: 20px;
	}
}
@media only screen and (max-width: 490px) {
	.contactbox {
    width: 100%;
	}
	.linetobox {
    border-left: none;
	padding-top:10px;
}
	.top-line p {
		text-align: center;
		float: none;
	}
	.logo {
    width: 80%;
    margin-top: -80px;
}
	#home-carousel .carousel-inner .item {
		max-height: 300px;
	}
	.carousel-caption > div {
		display: none;
	}
	
	.subtitle {
		margin-top: -40px;
        width: 132%;
	}
	
	.contact-form {
        width: 132%!important;
	}
	
	.footer-widget .ql {
    margin-left: 0px;
	}
	
	.footer-widget .co {
    margin-left: 0px;
	}
	
	.footer-widget ul.navigation {
    margin-left: 0px;
	}
	
	.box1 {
		background-size: 400px 215px;
	}
	
	.box2 {
		background-size: 400px 215px;
	}
	
	.box3 {
		background-size: 400px 215px;
	}
	
	.box4 {
		background-size: 400px 215px;
	}
	
	.box5 {
		background-size: 400px 215px;
	}
	
	.box6 {
		background-size: 400px 215px;
	}

}


/*    Wide Mobile Layout: 480px.
    Gutters: 24px.
    Outer margins: 22px.
    Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {

}


/*  Retina media query.
  Overrides styles for devices with a 
  device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

}
@media 
  only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-device-pixel-ratio: 2) {

  
  
}