/************** Coomon Styles************/
/**************iPad Landscape***************/
@media only screen and ( max-width: 1024px ) and (min-width: 986px){
.navbar-nav > li > a {
    height: 70px !important;
    line-height: 55px !important;
    padding: 10px 25px !important;
}
.navbar-brand img{
	height: 60px;
    padding-left: 10px;
}
.navbar{
	height: inherit;
}
.topbar{
    padding: 6px 30px 6px 0;
}
.home .section2 .box{
	margin-left: 20px;
    max-width: 290px;
}
.thumbs a:nth-child(5), .thumbs a:nth-child(10), .thumbs a:nth-child(15), .thumbs a:nth-child(20),
.thumbs a:nth-child(25), .thumbs a:nth-child(30), .thumbs a:nth-child(35), .thumbs a:nth-child(40){
	margin-right: 0 !important;
}
.thumbs a {
    display: inline-block;
    margin: 20px 6% 0 0 !important;
}
}
/********************************************/
/****************iPad Portrait***************/
@media only screen and (max-width: 985px) and (min-width: 768px){
.navbar-brand img{
	height: 50px;
}
.navbar-nav > li > a{
	padding: 15px 12px;
}
.navbar{
	height: 60px;
}
.navbar-nav > li > a{
    height: 60px;
    line-height: 32px;
}

}
/********************************************/
/***************iPhone Landscape*************/
@media only screen and (max-width: 767px) and (min-width: 480px){
.topbar .social{
	margin-left: 20px;
    float: left;
    display: table;
    width: 100%;
}
.topbar{
	overflow: hidden;
}
.topbar .social ul li {
    list-style: none;
	padding-left:0px;
}
.topbar .social ul li:nth-child(2){
	margin-left: 15%;
}
.navbar-brand img{
	height: 60px;
	margin-left: 10px;
}
.navbar{
	height: inherit;
}
.navbar-toggle{
	margin-top: 18px;
}

.copyright .terms a{
	padding-left: inherit;
}
.copyright p{
	margin: 10px 0 0 0;
    line-height: 25px;
    text-align: center;
    float: left;
}
.copyright .terms {
    float: right;
    display: block;
    margin: auto;
    text-align: center;
    line-height: 43px;
    padding-bottom: 10px;
}
.navbar-nav > li > a{
	height: inherit;
	padding: 8px 30px; 
	line-height: 20px;
}
.navbar-nav{
	margin: 0;
}
.navbar-nav li{
	border-right: none;
    border-bottom: #d9dada solid 1px;
}
.navbar-nav li:last-child{
	border-bottom: none;
}
.navbar-nav{
	border:#ccc solid 1px;
	margin-bottom: 20px;
}

}
/********************************************/
/***************iPhone Portrait**************/
@media only screen and (max-width: 479px) and (min-width: 320px){

.navbar-nav > li > a{
	height: inherit;
	padding: 8px 30px; 
	line-height: 20px;
}
.navbar-nav{
	margin: 0;
}
.navbar-nav li{
	border-right: none;
    border-bottom: #d9dada solid 1px;
}
.navbar-nav li:last-child{
	border-bottom: none;
}
.navbar-nav{
	border:#ccc solid 1px;
	margin-bottom: 20px;
}
.topbar .social{
    margin: auto;
    float: inherit;
    display: table;
}
.topbar .social ul li {
    list-style: none;
	float: none;
	padding-left:0px;
}
.navbar-brand img{
	height: 50px;
	margin-left: 10px;
}
.navbar-header{
	padding: 10px 0;
}
.navbar{
	height: inherit;
}

.copyright .terms a{
	padding-left: inherit;
}
.copyright p{
	margin: 10px 0 0 0;
    line-height: 25px;
    text-align: center;
}
.copyright .terms {
    float: inherit;
    display: block;
    margin: auto;
    text-align: center;
    line-height: 35px;
    padding-bottom: 10px;
}
.footer{
	padding: 30px 0 40px 0;
}
}









/***************** Home Page*****************/
/***************iPhone Portrait**************/

@media only screen and (max-width: 479px) and (min-width: 320px){
.home .section2 .box{
	margin-left:0;
}
.home .section2 .box h2{
	padding: 0;
    font-size: 26px;
}
.home .slider-content{
    width: 100%;
    left: 0;
    top: 5%;
    padding: 0 10%;
    display: none;
}
/*.home .slider-content h2{
	font-size: 25px;
	text-align: center;
}
.home .slider-content p{
	font-size: 14px;
    line-height: 16px;
    text-align: center;
}
*/
.home .carousel-indicators{
	display: none;
}
.home .form select, .home .form input{
	width:48%;
    margin-right: 4%;
}
.home .form select:nth-child(even), .home .form input:nth-child(even){
	margin-right: 4%;/*----------change 0-----------------*/
}
.home .form input:nth-child(5){
	width: 100%;
}
.home .section2 .box{
	margin-bottom: 20px !important;
    height: 150px;
}
.home .sidebar .contents .row1, .home .sidebar .contents .row2, .home .sidebar .contents .row3,
.home .sidebar .contents .row4, .home .sidebar .contents .row5{
    min-height: 65px !important;
}
.home .sidebar .contents p{
	padding: 0;
}
.home .section3 .box{
	margin-bottom: 30px;
}
.home .section3 .box h2{
	margin-bottom: 60px;
}
.home .section4 .content-box{
	margin-bottom: 20px;
}
.home .section5 .row{
	margin: 0;
}
.home .thumbs a{
	margin: 30px 20px 0 0;
}
.home .thumbs a:nth-child(even){
	margin-right: 0 !important;
}
.thumbs img, .gallery img{
	width: 160px !important; 
}
.home .section4{
	padding: 30px 0;
}
.home .section5{
	padding: 20px 0 0 0;
}
.home .section2, .home .section3{
	padding: 40px 0;

}
.home .thumbs a:nth-child(even){
	margin-right:0;
}
.home .form-container{
	position: inherit;
}
.home .section2 .box{
	max-width: 100%;
}
.home .sidebar{
	float: left;
	max-width: 100%;
}
.home .sidebar .contents div:nth-child(even){
	width: calc(50% + 1px);
}

}
/********************************************/
/***************iPhone Landscape*************/
@media only screen and (max-width: 767px) and (min-width: 480px){
.home .slider-content h2{
	font-size: 45px;
}
.home .slider-content{
	width: 80%;
}
.home .thumbs img, .home .gallery img{
    width: 182px !important;
}
.home .carousel-indicators{
	display: none;
}
.home .form select, .home .form input{
    width: 32.5%;
}
.home .form select:nth-child(3), .home .form input:nth-child(3){
	margin-right: 4%;/*--------change---------------*/
}
.home .form select:nth-child(5), .home .form input:nth-child(5){
	width: 66.2%;
}

.home .section2 .box{
	margin-left:0;
	width: 49%;
}
.home .section2 .box h2{
	padding: 0;
    font-size: 22px;
}
.home .section2 .box{
	margin-bottom: 20px !important;
    height: 150px;
    margin-left: 10px;
}
.home .sidebar{
	max-width: 100%;
}
.home .sidebar .contents .row1, .home .sidebar .contents .row2, .home .sidebar .contents .row3,
.home .sidebar .contents .row4, .home .sidebar .contents .row5{
    min-height: 65px !important;
}
.home .sidebar .contents p{
	padding: 0;
}
.home .section3 .box img{
	margin-top: 15%;
}
.home .section3 .box{
    width: 100%;
    float: left;
}
.home .section3 .col-md-4:nth-child(even) .box{
	margin-left:2%;
}
.home .section4 .content-box{
	margin-bottom: 20px;
}
.home .thumbs img, .home .gallery img{
	width: 135px !important; 
}
.home .section5 .row{
	margin: 0;
}
.home .thumbs img, .home .gallery img{
	width: 165px !important;
}
.home .section5{
	padding: 20px 0 0px 0;
}
.home .form-container{
	position: inherit;
}
.thumbs a:nth-child(n*3){
	margin-right: 0;
}
.thumbs a {
    margin:3.7% !important;
}

}
/********************************************/
/****************iPad Portrait***************/
@media only screen and (max-width: 985px) and (min-width: 768px){
.home .page-center{
	max-width: 720px;
}
.home .slider-content h2{
	font-size: 45px;
}
.home .slider-content{
	width: 80%;
	top: 15%;
}
.home .sidebar{
	max-width: 100%;
	margin-top: 20px;
	float: left;
}
.home .section2 .box{
	margin-left: 80px;
}
.home .thumbs a:nth-child(4n+1){
	margin-right: 0 !important;
}
.home .thumbs a {
    margin: 20px 0px 0 32px !important;
}
.home .section5 .title{
	padding-left: 30px;
}
}
/********************************************/
/**************iPad Landscape****************/
@media only screen and ( max-width: 1024px ) and (min-width: 986px){}
/********************************************/




