/*-----------------------------------version 5.1 Start of mobile view css MAX WIDTH 767px------------------------------------------------------*/
/*include @media (max-width: 760px)*/
/*include @media (max-width: 361px)*/

@media (min-width:361px) and (max-width: 760px) { 

	.col-xs-1 {
		width: 100%;
	}
	
	.td-nav-logo-right{
		float:right;
	}
	
	.td-h{
		font-size: 24px;
		font-weight: bold;
		line-height:32px;
	}
	
	.td-sub-h{
		font-size: 14px;
		font-weight: bold;
		line-height:18px;
	}
	
	.td-p{
		font-size: 14px;
		line-height: 18px;
	}
	
	.td-help-container-left{
		margin-top: 4%;    
		margin-left: 0;
		width:100%;
	}
	
	.td-practic-container-left{
		margin-left: 0;
		width:100%;
	}
	
	.td-learn-container-left{
		margin-left: 0;
		width:100%;
	}
	
	.td-nav{
		background-color: #FFFFFF;
		height:45px;
		width:100%;
	}
	
	.td-nav-logo-left{
		float:left;
	}
	
	.td-nav-logo-right{
		float:right;
	}

	.td-nav-R2I{
		height:26px;
		margin-top:9%;
		margin-bottom: 0;
		margin-left: 3%;
	}
	
	.td-nav-R2I-try{
		display:none;
		height:35px;
		margin-top: 2%;
	}
	
	.td-nav-BC{
		height:20px;
		margin-top: 9%;
		margin-bottom: 0;
		margin-right: 0;
	}
	
	.td-nav-btn{
		display: none;
		text-align: center;
		vertical-align:middle;
		border: 1px solid #0096D6;
		border-radius: 10px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		background-color: #0096D6;
			
		width:150px;
		box-sizing: border-box;
		padding: 10px 0px 10px 0px;
		cursor: pointer;
		display:inline-block;
		position:relative;
		margin-top: 2%;
	}
	
	.td-Try-color{
		height: 330px;
		width:100%;
		margin-top: 0;
		margin-bottom: 0;
		background-color: #174A7C;
	}
	
	/*
	.td-Try-color{
		height: 310px;
		width:100%;
		margin-top: 0;
		margin-bottom: 0;
		background-color: #174A7C;
	}
	*/
	
	.td-Try-h{	
		color: #FFFFFF;
		margin-bottom: 1%;
		margin-top: 10%;
		width:100%;
		margin-left: 1%;
	}
	
	.td-Try-p{
		color: #FFFFFF;
		width:100%;
		margin-left: 1%;
	}
	
	.td-Try-btn{
		text-align: center;
		vertical-align:middle;
		border: 1px solid #0096D6;
		border-radius: 10px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		background-color: #0096D6;
			
		width:150px;
		box-sizing: border-box;
		padding: 10px 0px 10px 0px;
		cursor: pointer;
		display:inline-block;
		position:relative;
		margin-top: 2%;
	}
	
	.td-Try-btn-mobile{
		text-align: center;
		vertical-align:middle;
		border: 1px solid #0096D6;
		border-radius: 10px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		background-color: #0096D6;
			
		width:200px;
		box-sizing: border-box;
		padding: 1em;
		cursor: pointer;
		display:inline-block;
		position:relative;
		margin-top: 3%;
	}
	.td-Try-position{
		text-align: center;
		margin-top: 4%;
		margin-bottom: 4%;
	}
	
	.td-Try-a{
		color: #FFFFFF;
	}
	
	.td-Try-device{
		width: 100%;
        height: 190px;
		margin-top: 0;
		margin-bottom: 0;
		background:url(http://www.roadtoielts.com/images/drive/banner-test.png)  no-repeat center;
		background-color: transparent !important;
		background-size: 130%;
	}

	.td-help{
		width: 100%;
	}
	
	.td-help-p{
		margin-bottom:6%;
	}
	
	.td-container-left{
		margin-left: 0;
		width:100%;
	}
	
	.td-container-right{
		margin-right: 0;
		width:100%;
	}
	
	.td-image{
		width: 100%;
	}
	
	ul.td-Help-images, ul.td-Help-images > li {
		margin: 0 0 0 0;
		padding: 0 0 0 0;
	}
		
	ul.td-Help-images > li {
		outline: 0px #FFFFFF solid;
		float:left;
		list-style: none;
		width: 50%;
	}
	
	ul.td-Help-images > li img {
		width: 100%;
	}
	
	.story1{
		background:url(http://www.roadtoielts.com/images/drive/storypic1.png)  no-repeat center;
		background-size:100%;
		height:125px;
	}
	
	.story2{
		background:url(http://www.roadtoielts.com/images/drive/storypic2.png)  no-repeat center;
		background-size:100%;
		height:125px;
	}
	
	.story3{
		background:url(http://www.roadtoielts.com/images/drive/storypic3.png)  no-repeat center;
		background-size:100%;
		height:125px;
	}
	
	.story4{
		background:url(http://www.roadtoielts.com/images/drive/storypic4-new.png)  no-repeat center;
		background-size:100%;
		height:125px;
	}
	
	.story-area{
		position: relative;
		bottom:-103px;
		left: 0;
		width: 70%;
		height: 22px;
		background-color: white;
		text-align: left;
		padding-top: 1%;
	}
	
	.td-story-h{
		font-size: 13px;
		font-weight: bold;
		line-height:18px;
		padding-left: 3%;
	}
	
	
	.td-learn{
		background: rgba(255,255,255,1);
		background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(27%, rgba(255,255,255,1)), color-stop(100%, rgba(219,219,219,1)));
		background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dbdbdb', GradientType=0 );
		
	}
	
	.td-ebook-image{
		width:100%;
		margin-bottom: 0;
	}
	
	.td-Advice-image{
		width:100%;
		margin-bottom: 5%;
	}
	
	.td-Practic-bg{
		background-color: #FFFFFF;
		width:100%;
	}
	
	.td-Practice-p{
		margin-bottom: 7%;
	}
	
	.td-Test-bg{
		background:url(http://www.roadtoielts.com/images/drive/bg-test.png) no-repeat;
		background-size: 100%;
		height:400px;
		position: relative;
		margin-bottom: 0;
		margin-top: 0;
		background-color: #FFFFFF;
		width:100%;
	}
	
	.td-Test-area{
		position: absolute;
		bottom:0;
		left: 0;
		width: 100%;
		background-color: white;
	}
	
	.td-Test-p{
		width:95%;
		margin-left:2.5%;
	
	}
	
	.td-Test-locat{
		margin-bottom: 5%;
	}
	
	.td-full-locat{
		margin-top: 1%;
	} 
	
	.td-full{
		height:100%;
	}
	
	.td-full-color{
		background-color: #174A7C;
	}
	
	.td-full-h{
		color: #FFFFFF;
		margin-bottom: 0;
		margin-top: 5%;
		margin-left: 0;
		margin-bottom: 5%;
		width: 100%;
	}
	
	.td-full-p{
		color: #FFFFFF;
		margin-left:0;
		margin-right: 0;
		width: 100%;
	}
	
	.td-full-a{
		color: #FFFFFF;
	}
	
	.td-full-position{
		text-align: center;
		margin-top: 4%;
		margin-bottom: 4%;
	}
	
	
	.td-full-btn{
		text-align: center;
		vertical-align:middle;
		
		border: 1px solid #0096D6;
		border-radius: 10px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		background-color: #0096D6;
		
		/*border: 1px solid #E19527;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		background-color: #E19527;
		
		webkit-box-shadow: 0px 2px 0px 2px rgba(173,117,42,1);
    -moz-box-shadow: 0px 2px 0px 2px rgba(173,117,42,1);
    box-shadow: 0px 2px 0px 2px rgba(173,117,42,1);*/
		
		
		width:260px;
		box-sizing: border-box;
		padding: 1em;
		cursor: pointer;
		display:inline-block;
		text-align: center;
		margin-top: 2%;
		margin-bottom: 2%;
	}
	
	.td-footer{
		height:60px;
		width:100%;
	}
	
	.td-footer-p{
		font-size: 13px;
		font-weight:normal;
		margin-left: 0;
		margin-top: 3%;
		color:black;
	}
	
	.td-footer-BC{
		height:27px;
	}
	.td-footer-locat{
		margin-top: 5%;

	}
	
}

@media (max-width: 361px) { 
	
	.col-xs-1 {
		width: 100%;
	}
	
	.td-h{
		font-size: 26px;
		font-weight: bold;
		line-height:34px;
	}
	
	.td-sub-h{
		font-size: 13px;
		font-weight: bold;
		line-height:18px;
	}
	
	.td-p{
		font-size: 13px;
		line-height: 18px;
	}

	.td-help-container-left{
		margin-left: 0;
		width:100%;
	}
	
	.td-practic-container-left{
		margin-left: 0;
		width:100%;
		margin-bottom: 30px;
	}
	
	.td-learn-container-left{
		margin-left: 0;
		width:100%;
	}
	
	.td-nav{
		background-color: #FFFFFF;
		height:40px;
		width:100%;
	}
	
	.td-nav-btn{
		display:none;
	}
	
	.td-nav-logo-left{
		float:left;
	}
	
	.td-nav-logo-right{
		float:right;
	}

	.td-nav-R2I{
		height:20px;
		margin-top:14%;
		margin-bottom: 0;
		margin-left: 3%;
	}
	
	.td-nav-R2I-try{
		display:none;
		height:30px;
		margin-top: 2%;
	}
	
	.td-nav-BC{
		height:16px;
		margin-top: 14%;
		margin-bottom: 0;
		margin-right: 0;
	}
	
	.td-Try-btn{
		text-align: center;
		vertical-align:middle;
		border: 1px solid #0096D6;
		border-radius: 10px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		background-color: #0096D6;
			
		width:130px;
		box-sizing: border-box;
		padding: 10px 0px 10px 0px;
		cursor: pointer;
		display:inline-block;
		position:relative;
		margin-top: 2%;
	}
	
	.td-nav-btn{
		display: none;
		text-align: center;
		vertical-align:middle;
		border: 1px solid #0096D6;
		border-radius: 10px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		background-color: #0096D6;
			
		width:130px;
		box-sizing: border-box;
		padding: 10px 0px 10px 0px;
		cursor: pointer;
		display:inline-block;
		position:relative;
		margin-top: 2%;
	}
	
	.td-Try-color{
		width:100%;
		margin-top: 0;
		margin-bottom: 0;
		background-color: #174A7C;
	}
	
	.td-Try-space2{
		margin-top: 6%;
	}
	
	.td-Try-device{
		width: 100%;
        height: 190px;
		margin-top: 0;
		margin-bottom: 0;
		background:url(http://www.roadtoielts.com/images/drive/banner-test.png)  no-repeat center;
		background-color: transparent !important;
		background-size: 130%;
	}
	
	/*
	.td-Try-color{
		width:100%;
		margin-top: 0;
		margin-bottom: 0;
		background-color: #174A7C;
	}
	*/
	
	
	.td-Try-h{	
		color: #FFFFFF;
		margin-bottom: 1%;
		margin-top: 10%;
		width:100%;
		margin-left: 1%;
	}
	
	.td-Try-p{
		color: #FFFFFF;
		width:100%;
		margin-left: 1%;
	}
	
	.td-Try-btn{
		display:block;
	}
	
	.td-Try-btn-mobile{
		text-align: center;
		vertical-align:middle;
		border: 1px solid #0096D6;
		border-radius: 10px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		background-color: #0096D6;
			
		width:200px;
		box-sizing: border-box;
		padding: 1em;
		cursor: pointer;
		display:inline-block;
		position:relative;
		margin-top: 3%;
	}
	.td-Try-position{
		text-align: center;
		margin-top: 4%;
		margin-bottom: 4%;
	}
		
	.td-Try-a{
		color: #FFFFFF;
	}

    .td-container-left{
		margin-left: 0;
		width:100%;
	}
	
	.td-container-right{
		margin-right: 0;
		width:100%;
	}
	
	.td-learn{
		background: rgba(255,255,255,1);
		background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(27%, rgba(255,255,255,1)), color-stop(100%, rgba(219,219,219,1)));
		background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 27%, rgba(219,219,219,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dbdbdb', GradientType=0 );
	}
	
	.td-image{
		width: 100%;
	}
	
	ul.td-Help-images, ul.td-Help-images > li {
		margin: 0 0 0 0;
		padding: 0 0 0 0;
	}
		
	ul.td-Help-images > li {
		outline: 0px #FFFFFF solid;
		float:left;
		list-style: none;
		width: 50%;
	}
	
	ul.td-Help-images > li img {
		width: 100%;
	}
	
	.td-help-p{
		margin-bottom:7%;
	}

	
	.story1{
		background:url(http://www.roadtoielts.com/images/drive/storypic1.png)  no-repeat center;
		background-size:100%;
		height:105px;
	}
	
	.story2{
		background:url(http://www.roadtoielts.com/images/drive/storypic2.png)  no-repeat center;
		background-size:100%;
		height:105px;
	}
	
	.story3{
		background:url(http://www.roadtoielts.com/images/drive/storypic3.png)  no-repeat center;
		background-size:100%;
		height:105px;
	}
	
	.story4{
		background:url(http://www.roadtoielts.com/images/drive/storypic4-new.png)  no-repeat center;
		background-size:100%;
		height:105px;
	}
	
	.story-area{
		position: relative;
		bottom:-79px;
		left: 0;
		width: 80%;
		height: 26px;
		background-color: white;
		text-align: left;
		padding-top: 2%;
	}
	
	.td-story-h{
		font-size: 13px;
		font-weight: bold;
		line-height:18px;
		padding-left: 3%;
	}
	
	
	.td-ebook-image{
		width:100%;
		margin-bottom: 0;
	}
	
	.td-Advice-image{
		width:100%;
		margin-bottom: 5%;
	}
	
	
	.td-Test-bg{
		background:url(http://www.roadtoielts.com/images/drive/bg-test.png) no-repeat;
		background-size: 100%;
		height:370px;
		position: relative;
		margin-bottom: 0;
		margin-top: 0;
		background-color: #FFFFFF;
		width:100%;
	}
	
	.td-Test-area{
		position: absolute;
		bottom:0;
		left: 0;
		width: 100%;
		background-color: white;
	}
	
	.td-Test-p{
		width:90%;
		margin-left:4%;
	}
	
	.td-Test-locat{
		margin-top: 0;
	}
	
	.td-Practic-bg{
		background-color: #FFFFFF;
		width:100%;
	}
	
	.td-Practice-p{
		margin-bottom: 5%;
	}
	
	.td-full-locat{
		margin-top: 5%;
	} 
	
	.td-full{
		height:100%;
	}
	
	.td-full-color{
		background-color: #174A7C;
	}
	
	.td-full-h{
		color: #FFFFFF;
		margin-bottom: 0;
		margin-top: 2%;
		margin-left: 0;
		margin-bottom: 2%;
		width: 100%;
	}
	
	.td-full-p{
		color: #FFFFFF;
		margin-left:0;
		margin-right: 0;
		width: 100%;
	}
	
	.td-full-a{
		color: #FFFFFF;
	}
	
	.td-full-position{
		text-align: center;
		margin-top: 4%;
		margin-bottom: 4%;
	}
	
	
	.td-full-btn{
		text-align: center;
		vertical-align:middle;
		border: 1px solid #0096D6;
		border-radius: 10px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		background-color: #0096D6;
			
		width:260px;
		box-sizing: border-box;
		padding: 1em;
		cursor: pointer;
		display:inline-block;
		text-align: center;
		margin-top: 2%;
		margin-bottom: 2%;
	}
	
	.td-footer{
		height:60px;
		width:100%;
	}
	
	.td-footer-p{
		font-size: 11px;
		font-weight:normal;
		margin-left: 0;
		margin-top: 2%;
		color:black;
	}
	
	.td-footer-BC{
		height:25px;
	}
	.td-footer-locat{
		margin-top: 5%;
	}
}