@media only screen and (max-width: 700px) {
    td,th {
        font-size:90%;
    }
	th{width:40%;}
	
	h3{font-size:90%;}
	
	#portfolio .portfolio-item {
	
  width: 100%;}
	
	
}













/*============================================================
	For Small Desktop
==============================================================*/

@media (min-width: 980px) and (max-width: 1150px) {

/* slider */
.carousel-caption h3 {
  font-size: 45px;
}
h3{font-size:110%;}
/* works */

	p{font-size:120%;}
/* team */

.member-thumb {
  width: auto;
}

}


/*============================================================
	Tablet (Portrait) Design for a width of 768px
==============================================================*/

@media (min-width: 768px) and (max-width: 979px) {


/* slider */

.carousel-caption h2 {
  font-size: 55px;
}

.carousel-caption h3 {
  font-size: 36px;
}
h3{font-size:105%;}
/* services */

.service-item {
  margin: 0 auto 30px;
  text-align: center;
  width: 325px;
}

.service-icon {
  float: none;
  margin: 0 auto 15px;
  text-align: center;
  width: 50px;
}

.service-desc {
  margin-left: 0;
  position: relative;
  top: 0;
}

/* works */

.work-item {
  width: 33%;
}

/* team */

.member-thumb .overlay h5 {
  margin: 25px 0;
}

.member-thumb {
  margin: 0 auto;
}

/* fatcs */

#facts {
background-position: center top !important;
}
.counters-item {
  margin-bottom: 30px;
}

.counters-item i {
  margin: 0 0 15px;
}

.counters-item strong {
  font-size: 45px;
}

/* contact */

.contact-form .name-email input {
  margin-right: 0;
  width: 100%;
}

.footer-social {
  margin-top: 45px;
}

/* footer */

.footer-single {
  margin-bottom: 30px;
}

}


/*============================================================
	Mobile (Portrait) Design for a width of 320px
==============================================================*/

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

.sec-sub-title p {
  font-size: 14px;
}

/* slider */
.carousel-caption h2 {
  font-size: 35px;
}
h3{font-size:100%;}
.carousel-caption h3 {
  font-size: 22px;
}

.carousel-caption p {
  font-size: 14px;
}

.social-links {
  margin-top: 20%;
}

/* services */

.service-item {
  margin: 0 auto 30px;
  text-align: center;
  width: 280px;
}

.service-icon {
  float: none;
  margin: 0 auto 15px;
  text-align: center;
  width: 50px;
}

.service-desc {
  margin-left: 0;
  position: relative;
  top: 0;
}

/* works */

.work-item {
  left: 5% !important;
  width: 90%;
}

/* team */

.team-member {
  margin-bottom: 30px;
}

.team-member:last-child {
  margin-bottom: 0;
}

.member-thumb {
  margin: 0 auto;
}

/* facts */

#facts {
background-position: center top !important;
}

.counters-item {
  margin-bottom: 30px;
}

/* contact */
.contact-address {
  margin-bottom: 30px;
}

.footer-social {
  margin-top: 20px;
  text-align: center;
}

.footer-social li {
  display: inline-block;
}

.footer-social li a {
  margin: 0 10px;
}

/* footer */

.footer-single {
  margin-bottom: 30px;
}

}


/*============================================================
	Mobile (Landscape) Design for a width of 480px
==============================================================*/

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


/* services */

.service-item {
  margin: 0 auto 30px;
  text-align: center;
  width: 325px;
}

.service-icon {
  float: none;
  margin: 0 auto 15px;
  text-align: center;
  width: 50px;
}

.service-desc {
  margin-left: 0;
  position: relative;
  top: 0;
}

/* works */

.work-item {
  left: inherit !important;
  width: 50%;
}

}



@import "bourbon";

// variables - colors

$main-text: #2d313f; // main text
$link: #d36868; // anchor tags
$background: #e7eaf0; // body background color

$color-1: #2d313f; // blue
$color-2: #000; // red
$color-3: #ffffff; // white

// variables - fonts 

$primary-font: 'Lora', serif;

// rem fallback - credits: http://zerosixthree.se/

@function calculateRem($size) {
  $remSize: $size / 16px;
  @return $remSize * 1rem;
}






/* -------------------------------- 

Primary style

-------------------------------- */




/* -------------------------------- 

Main components 

-------------------------------- */





.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
} 
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
} 
.carousel-caption {
    text-shadow: 0 1px 4px rgba(0,0,0,.9);
  font-size:17px
}
.carousel-caption h3 {
  font-size: 30px;
  font-family: 'Lato', sans-serif;
}
    html,
    body,
    .carousel,
    .carousel-inner,
    .carousel-inner .item {
      height: 100%;
    } 
    .item:nth-child(1) {
      background: url("../images/gallery/1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }

    .item:nth-child(2) {
      background: url('../images/gallery/2.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }

    .item:nth-child(3) {
      background: url('../images/gallery/3.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
 .item:nth-child(4) {
      background: url('../images/gallery/4.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(5) {
      background: url('../images/gallery/5.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(6) {
      background: url('../images/gallery/6.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(7) {
      background: url('../images/gallery/7.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(8) {
      background: url('../images/gallery/8.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(9) {
      background: url('../images/gallery/9.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(10) {
      background: url('../images/gallery/10.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(11) {
      background: url('../images/gallery/11.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(12) {
      background: url('../images/gallery/12.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(13) {
      background: url('../images/gallery/13.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(14) {
      background: url('../images/gallery/14.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(15) {
      background: url('../images/gallery/15.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(16) {
      background: url('../images/gallery/16.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }
.item:nth-child(17) {
      background: url('../images/gallery/17.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
    }


