
	
/*******************************************************************************************
section page setup
*******************************************************************************************/


/****************advanced search*********************/

    .logiccontainer {
        display: grid;
        grid-template-columns: 70px 1fr;
        gap: 8px; /* Slightly less space between columns */
    }

    .searchbar {
        width: 97%;
        padding: 10px 0px 10px 10px;
        margin: 6px 0; /* Reduce margin to make it more compact */
        font-size: 16px;
        border-radius: 6px; /* Slightly less rounded corners */
        border: none;
        background-color: #f3f3f3;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s, box-shadow 0.3s;
    }

    .operator {
        width: 100%;
        padding: 10px 0px 10px 10px;
        margin: 6px 0; /* Reduce margin to make it more compact */
        font-size: 12px;
        border-radius: 6px; /* Slightly less rounded corners */
        border: none;
        background-color: #f3f3f3;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s, box-shadow 0.3s;
    }

    .logicbar {
        width: 97%;
        padding: 10px 0px 10px 10px;
        margin: 6px 0; /* Reduce margin to make it more compact */
        font-size: 16px;
        border-radius: 6px; /* Slightly less rounded corners */
        border: none;
        background-color: #f3f3f3;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s, box-shadow 0.3s;
    }

    .searchbar:focus, .operator:focus, .logicbar:focus {
        background-color: #fff;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
        outline: none;

    }

    /* Modern card styling */
    #itemList {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    #itemList li {
        padding: 20px; /* Reduced padding for smaller card size */
        margin: 8px 0; /* Less space between cards */
        background-color: #fff;
        border-bottom: 1px solid #dddddd;
		border-right: 1px solid #dddddd;
        border-radius: 10px;
        box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.08); /* Softer shadow */
        transition: transform 0.3s, box-shadow 0.3s;
    }
 
    #itemList li:hover {
        transform: translateY(-0px); 
        box-shadow: 4px 6px 6px rgba(0, 0, 0, 0.12); 
		
    }
 
    .catTitle {
        font-size: 13px;  
        color: #333;
        text-transform: uppercase;
        letter-spacing: 0.8px;  
        margin-bottom: 3px;  
    }

    .srchName {
        font-size: 20px;  
        font-weight: 600;
        color: #333;
        margin: 1px 0 14px 0;  
    }

    .srchNum {
        font-size: 16px;  
        font-weight: 400;
        color: #333;
        margin: 0px 0 0px 0;  
    }

    .srchDetail {
        font-size: 13px;  
        color: #333;
        margin: 3px 0;  
        line-height: 1.1;  
    }

    .srchTags {
        font-size: 15px;
        color: #007bff;
        font-weight: 500;
        margin-top: 14px;  
    }

	li.adSearch {
		display: none;
	}

 



/****************grammar index*********************/

#page {
	width: 1200px;
	border: 0px solid red;
	background-color: #fff;
}

.grammarpage  {
	width: 600px;
	padding: 0px 0px 0px 0px;
	margin: 54px auto 0px auto;
	background-color: #fff;
	box-shadow: 0px 0px 0px #aaa;	
}


.giTitle {
    color: #fff;
	background-color: #000;
    font-family: Calibri, Helvetica;
    font-size: 16px;
	font-weight: 400;
	margin: 25px 0px 0px 0px;
	padding: 2px 0px 2px 10px;
}
	

.giPoint {
	display: inline-block;	
	border-right: 1px solid #000;
    font-size: 16px;	
	text-align: right;
	width: 160px;
	padding: 0px 12px 0px 0px;

}

.giLink {
	display: inline-block;
	width: 300px;
    color: #333;
    font-family: Calibri, Helvetica;
    font-size: 16px;
	font-weight: normal;
	margin: 3px 0px 3px 12px
	}

.grammarpage a:hover {
	color: #000;
	background-color: #ccc;
	font-weight: 600;
	cursor: pointer;
}	


.contactLogo {	
	display: block; 
	width: 340px; 
	margin: auto;
}
	
	

/****************search page*********************/

.helptitlebox {

	width: 500px;
	padding: 8px 0px 10px 0px;
	margin: auto;
	background-color: #fff;
	box-shadow: 0px 0px 0px #aaa;
}

.category {
	width: 500px;
	padding: 15px 0px 15px 10px;
	margin: auto;
	background-color: #fff;
    border-top: 1px solid #4a6796;
	box-shadow: 0px 0px 0px #aaa;
}

.selector {
	vertical-align: top;
	width: 500px;
	background-color: #fff;
	padding: 10px 10px 10px 10px;
	margin: auto;
	
	color: #4a6796;
    font-family: Calibri, Helvetica;
    font-size: 20px;
	font-weight: normal;
}

.indexlist {
    font-size: 0px;
	list-style: none;
	margin-left: 0px
	}

.item {
    color: #000;
    font-family: Calibri, Helvetica;
    font-size: 16px;
	font-weight: normal;
	margin-bottom: 6px
	}

.itempic {
	vertical-align: middle;
	width: 22px;
	padding-right: 4px;
	}
	
.rlinks	{
	margin: 5px 15px 5px 0px;
    color: #4a6796;
    font-family: Calibri, Helvetica;
    font-size: 20px;
	font-weight: normal;
	text-shadow: 0px 0px 0px #ccc;
	}
	
/****************icon set up*************************/
.icon	{
	float: left;
	width: 50px;
	padding: 5px 10px 0px 5px;
	}

.bigicon	{
	float: left;
	width: 60px;
	padding: 7px 15px 8px 5px;
	}

.flag {
	vertical-align: middle;
	height: 14px;
}

.audioicon {
	height: 16px;
	vertical-align: bottom;
}



	
/****************levels page setup ****************/	




.level-player {
	width: 100%;
	height: 40px;
	margin: auto;
    padding: 0px 0px 0px 0px;
	z-index: 0;
	}

.leveltext {
	width: 486;	
	border: 1px solid #286da8;
	background-color: #fff;
	color: #fff;
    font-family: Calibri, Helvetica;
    font-size: 18px;
	font-weight: normal;
	padding: 4px 8px 4px 8px;
	margin: 3px 0px 5px 0px;
}

.answers {
	padding: 4px 15px;
	font-family: Calibri, Helvetica;
    font-size: 15px;
	font-weight: normal;
}
	
/****************contacts page setup ****************/		

.left-contact {
		float: left;
		width: 600px;
}

.right-contact {
		margin: 0px 0px 0px 600px;
		width: 500px;
}

/****************voices page setup ****************/		

.m-voices {
	width: 500px;
	padding: 8px 0px 8px 10px;
	margin: 8px auto 8px auto;
	background-color: #ddd;
    border-left: 6px solid #fff;
	box-shadow: 3px 3px 2px #aaa;
}

.voices {
	width: 100px;
	border: 0px;
	margin: 2px 16px 0px 2px;
	padding: 0px 0px 0px 0px;
	}



	
/*******************************************************************************************
links and mouseovers
*******************************************************************************************/


a:link  {
	color: #000;
	text-decoration:  none;
  	} 
a:visited {
	color: #000;
	text-decoration:  none;
  	} 
a:hover {
	color: red;
	text-decoration:  none;
  	} 
a:active  {
	color: inherit;
	text-decoration:  none;
  	} 




/******underline for IELTS test***********/		
.ielts {
	color: #fff;
	border-bottom: 1px solid black;
	}
	
	
	





		/*******************************************************************************************
		********************************************************************************************
		TABLET DEVICES
		********************************************************************************************
		*******************************************************************************************/


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


		.pc	{
				display: block;
			}

		.pci	{
				display: inline-block;
			}

		.hand	{
				display: none;
			}

		.handi	{
				display: none;
			}

			
			.left-contact {
					float: left;
					width: 280px;
			}

			.right-contact {
					margin: 0px 0px 0px 300px;
					width: 500px;
			}			
			

			.contactLogo {	
				display: block; 
				width: 260px; 
				margin: 20px auto;
			}	






		}








	


/*******************************************************************************************
********************************************************************************************
HANDHELD DEVICES
********************************************************************************************
*******************************************************************************************/


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





/*******************************************************************************************
Hand browser swaps
*******************************************************************************************/

.pc	{
     	display: none;
   	}

.pci	{
     	display: none;
   	}	
	
.hand	{
     	display: block;
   	}




/****************advanced search*********************/

    .logiccontainer {
        display: grid;
        grid-template-columns: 70px 1fr;
        gap: 2px; /* Slightly less space between columns */
    }

    .searchbar {
        width: 97%;
        padding: 8px 0px 8px 10px;
        margin: 5px 0; /* Reduce margin to make it more compact */
        font-size: 4.0vw;
        border-radius: 6px; /* Slightly less rounded corners */
        border: none;
        background-color: #f3f3f3;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s, box-shadow 0.3s;
    }

    .operator {
        width: 100%;
        padding: 8px 0px 8px 10px;
        margin: 5px 0; /* Reduce margin to make it more compact */
        font-size: 4.0vw;
        border-radius: 6px; /* Slightly less rounded corners */
        border: none;
        background-color: #f3f3f3;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s, box-shadow 0.3s;
    }

    .logicbar {
        width: 97%;
        padding: 8px 0px 8px 10px;
        margin: 5px 0; /* Reduce margin to make it more compact */
        font-size: 4.0vw;
        border-radius: 6px; /* Slightly less rounded corners */
        border: none;
        background-color: #f3f3f3;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s, box-shadow 0.3s;
    }

    .searchbar:focus, .operator:focus, .logicbar:focus {
        background-color: #fff;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
        outline: none;
    }

    /* Modern card styling */
    #itemList {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    #itemList li {
        padding: 20px; /* Reduced padding for smaller card size */
        margin: 8px 0; /* Less space between cards */
        background-color: #fff;
        border-bottom: 1px solid #dddddd;
		border-right: 1px solid #dddddd;
        border-radius: 10px;
        box-shadow: 2px 3px 3px rgba(0, 0, 0, 0.08); /* Softer shadow */
        transition: transform 0.3s, box-shadow 0.3s;
    }
 
    #itemList li:hover {
        transform: translateY(-0px); 
        box-shadow: 4px 6px 6px rgba(0, 0, 0, 0.12);  
    }
 
    .catTitle {
        font-size: 3.3vw;  
        color: #333;
        text-transform: uppercase;
        letter-spacing: 0.8px;  
        margin-bottom: 3px;  
    }

    .srchName {
        font-size: 5.0vw;  
        font-weight: 600;
        color: #333;
        margin: 1px 0 14px 0;  
    }

    .srchNum {
        font-size: 3.5vw;  
        font-weight: 400;
        color: #333;
        margin: 0px 0 0px 0;  
    }

    .srchDetail {
        font-size: 3.5vw;  
        color: #333;
        margin: 3px 0;  
        line-height: 1.1;  
    }

    .srchTags {
        font-size: 3.9vw;
        color: #007bff;
        font-weight: 500;
        margin-top: 14px;  
    }

	li {
		display: none;
	}







/****************search page*********************/

.left {
	
	display: none;	
	
}


.right {
	
	width: 100%;		
	
}

	
/****************search page*********************/

.helptitlebox {
	vertical-align: top;
	width: 96%;
	background-color: #fff;
	padding: 3px 5px 1px 5px;
	margin: 8px 0px 0px 0px;	
}

.category {
	vertical-align: top;
	width: 96%;
	background-color: #fff;
	padding: 10px 5px 10px 5px;
	margin: 8px 0px 0px 0px;
}	
	

.selector {
	vertical-align: top;
	width: 96%;
	background-color: #fff;
	padding: 8px 0px 8px 2px;
	margin: auto;
	
	color: #4a6796;
    font-family: Calibri, Helvetica;
    font-size: 17px;
	font-weight: normal;
}

.rlinks	{
	margin: 5px 8px 5px 2px;
    color: #4a6796;
    font-family: Calibri, Helvetica;
    font-size: 18px;
	font-weight: normal;
	text-shadow: 0px 0px 0px #ccc;
	}

.rlinks:hover {
	color: #4a6796;
	}	
	



/*********************icon set up********************/
	
.icon {
	float: left;
	width: 45px;
	padding-top: 3px;
	padding-bottom: 0px;
	padding-left: 3px;
	padding-right: 10px;
	}

.bigicon {
	float: left;
	width: 55px;
	padding-top: 5px;
	padding-bottom: 6px;
	padding-left: 4px;
	padding-right: 12px;
	}

.handindexicon {
	width: 40px;
	padding-top: 4px;
	padding-bottom: 0px;
	padding-left: 3px;
	padding-right: 5px;
	}

	
	
/****************levels page setup ****************/	

.level-player {
	display: block;
	width: 100%;
	height: 40px;
	margin: auto;
    padding: 0px 0px 0px 0px;
	margin: 9px 0px 3px 0px;
	z-index: 0;
	}

.leveltext {
	display: block;
	width: 97%;
	border: 1px solid #286da8;	
	background-color: #fff;
	color: #fff;
    font-family: Calibri, Helvetica;
    font-size: 15px;
	font-weight: normal;
	padding: 3px 6px 3px 6px;
	margin: 2px 0px 2px 0px;
}

.answers {
	padding: 6px 18px;
	font-family: Calibri, Helvetica;
    font-size: 14px;
	font-weight: normal;	
}

/****************contacts page setup ****************/		

.left-contact {
		width: 600px;
}

.right-contact {
		width: 95%;
		padding: 0px 5px 0px 5px;
		margin: 0px 0px 0px 0px;
}


/****************contacts page setup ****************/	

.m-voices {
	width: 96%;
	padding: 8px 0px 8px 2px;
	margin: 8px auto 8px auto;
	background-color: #ddd;
    border-left: 6px solid #fff;
	box-shadow: 3px 3px 2px #aaa;
}

.voices {
	width: 80px;
	border: 0px;
	margin: 2px 10px 0px 2px;
	padding: 0px 0px 0px 0px;
	}
 






/****************Buy Lessons Page Mobile ****************/		

#page {
	width: 100%;
	border: 0px solid red;
	background-color: #fff;
}

.grammarpage  {
	width: 100%;
	padding: 0px 0px 0px 0px;
	margin: 10px auto 0px auto;
	background-color: #fff;
	box-shadow: 0px 0px 0px #aaa;	
	
}



.giTitle {
    color: #fff;
	background-color: #000;
    font-family: Calibri, Helvetica;
    font-size: 3.6vw;
	font-weight: 400;
	margin: 25px 0px 0px 0px;
	padding: 2px 0px 2px 10px;
}
	
	
.giPoint {
	display: inline-block;	
	border-right: 1px solid #000;
    font-size: 3.4vw;	
	text-align: right;
	width: 39vw;
	padding: 0 1.2vw 0 0;

}

.giLink {
	display: inline-block;
	width: 48vw;
    color: #333;
    font-family: Calibri, Helvetica;
    font-size: 3.0vw;
	font-weight: normal;
	margin: 1.7vw 0 1.7vw 1.0vw;
	}

.grammarpage a:hover {
	color: #000;
	background-color: #ccc;
	font-weight: 600;
	cursor: pointer;
}





.lessonpage {
	width: 100%;
	padding: 0px 0px 0px 0px;
	margin: 0px auto 0px auto;
	background-color: #fff;
	box-shadow: 0px 0px 0px #aaa;
	
}

.lesson {
	width: 99%;
	padding: 6px 0px 10px 10px;
	margin: 0px auto 0px auto;
	background-color: #fff;
	box-shadow: 0px 0px 0px #aaa;
	
    color: #4a6796;
    font-family: Calibri, Helvetica;
    font-size: 14px;
	font-weight: bold;
	text-shadow: 0px 0px 0px #ccc;		
}

	
.lessonright{
	border: 0px solid black;	
	display: inline-block;
	vertical-align: middle;
	width: 98%;
	padding: 0px 0px 0px 0px;
}

.lessonleft {
	border: 0px solid black;
    border-right: 0px solid #4a6796;
	display: inline-block;
	vertical-align: middle;
	width: 0%;
}

.lessonpic {
	width: 100%;
	height: 100%;	
	vertical-align: middle;
	padding: 0px 0px 0px 0px;
}	

.lessondetails {
	color: 000;
    font-family: Calibri, Helvetica;
    font-size: 14px;
	font-weight: normal;
	padding: 0px 0px 0px 0px;
	margin: 3px 0px 10px 0px;
}
	
.lessonlinks {
	color: #000;
    font-family: Calibri, Helvetica;
    font-size: 12px;
	font-weight: normal;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}	

.lessonlinks:hover {
	color: #red;
}

h5	{
    color: #212121;
    font-family: Calibri, Helvetica;
    font-size: 18px;
	font-weight: normal;
	text-shadow: 2px 2px 3px #ccc;
	margin: 0px;
	padding: 0px 0px 5px 0px;
	}

h6	{
    color: grey;
    font-family: Calibri, Helvetica;
    font-size: 13px;
	font-weight: normal;
	text-shadow: 0px 0px 0px white;
	margin: 1px;
}	


}	
