/*@media (max-width: 768px){
  .content {
	padding: 40% 0 0;
	}
}

@media (max-width: 603px){
#tf-menu.navbar-default {
	background-color: rgba(0, 0, 0, 0.79);
	}
#tf-works li.pull-right, #tf-works li.pull-left {
    margin-top: 10px;
    float: none !important;
    text-align: center;
    display: block;
}
label{
    float: none !important
}
.pull-left.fnav,
.pull-right.fnav {
    float: none !important;
    text-align: center;
}

.hover-bg .hover-text {
    padding: 12% 10%;
}
}
@media (max-width: 360px){
.hover-bg .hover-text {
    padding: 22% 10%;
}
}
*/

@media (min-device-width : 768px) and (max-device-width : 1024px)  { 
    #tf-home, #tf-testimonials, #tf-team {
        background-attachment: scroll;
        /* default height landscape*/
        /*height: 768px;*/
    }

    .ipadfix{
        height: 300px !important;
    }
    img.ipadfix{
        width:100% !important; 
        height:auto !important;
    }
}
/* fix for the ipad */
@media (min-device-width : 768px) and (max-device-width : 1024px) and (orientation: portrait) {
    #tf-home, #tf-testimonials, #tf-team {
        /* default height landscape*/
        /*height: 1024px;*/
    }
} 

/* fix for the iphone */
@media (min-device-width : 320px) and (max-device-width : 568px)  { 
    #tf-home, #tf-testimonials, #tf-team {
        background-attachment: scroll;
        /* default height landscape*/
        /*height: 320px;*/
    }

    .ipadfix{
        height: 150px !important;
    }
    img.ipadfix{
        width:100% !important; 
        height:auto !important;
    }
}
/* fix for the iphone */
@media (min-device-width : 320px) and (max-device-width : 568px) and (orientation: portrait) {
    #tf-home, #tf-testimonials, #tf-team {
        /* default height landscape*/
        /*height: 568px;*/
    }
} 