@media only screen and (min-width: 1024px) { 
	
	/*-------------------------------------------------------------- blur gallery ----------------------------------------------------------*/
#featured{ 
	width:100%; 
	overflow:hidden;
	*position:absolute; 

	background:transparent;
}
}  
     
#featured ul.ui-tabs-nav{ 
	position:absolute; 
	bottom:0; 
	list-style:none;
    color: Black;
    padding: 10px;
    width: 0%;
    background: transparent;
    font-size: 10px;
    height: auto;
    margin: 0;
	display:none !important;
}
#featured ul.ui-tabs-nav li{ 
    background: transparent;
	font-size:10px; 
	color:gray; 
    text-decoration: none;
    display:inline-block; 
}

#featured ul.ui-tabs-nav li span{ 
	font-family: arial, helvetica, sans-serif;
    text-decoration: none !important;
 
}
#featured li.ui-tabs-nav-item a{ 
	display:inline-block; 
	height:10px; 
	color:gray;  background: transparent; 
    	padding: 5px;
        text-decoration: none !important;
}
#featured li.ui-tabs-nav-item a:hover{ 
	background: transparent; 
}
#featured li.ui-tabs-selected{ 
	color: black; 
    } 
#featured ul.ui-tabs-nav li.ui-tabs-selected a{ 
	background: transparent; 
        color: Black;
        font-weight: bold;
}
#featured .ui-tabs-panel{ 
	width:100%; 
	height: 100% !important;
    left: 0; top: 0px;
	background:transparent; position:absolute;
}

#featured img {
    height: 100%;
    width: auto;
    position: absolute;
	max-width:none !important;
	min-width: 100% !important;
}

#featured .ui-tabs-panel .info{ 
	position:absolute; 
	bottom:5% !important; left:5%; 
	height:auto; 
	background: transparent; 
    width: 55%;

}
#featured .info h2{ 
	font-size:1em; font-family:'Times New Roman', serif; 
	color:black; padding:16px; margin-top: 20px;
	overflow:hidden; 
    font-style: italic;
    font-weight: normal;
    display: none !important;
}
#featured .info p{ 
	margin:0 5px; 
	font-family:Arial,helvetica, sans-serif; font-size:0.5em; 
	padding:15px; 
    color: #335A8E;
    font-style: italic;
    line-height: 1em;
}
#featured .info a{ 
	text-decoration:none; 
	color:black; 
    	font-size:28px; font-family:'Times New Roman', serif; 
        font-style: italic;
}

.readmore { 
	text-decoration:none; 
	color:black; 
    	font-size:14px !important; font-family:'Times New Roman', serif; 
        font-style: italic;
}

#featured .info a:hover{ 
	text-decoration: none; 
}
#featured .ui-tabs-hide{ 
	display:none; 
}
	
			#banner {
			background: gray;
			width: 100%;
			height: auto;
			text-align: center;
			display: block;
			padding: 0;	
		}
		
		#banner *, #banner p, #banner img, #banner a {
			font-size: 1.2em;
			margin:1% 0;
			padding:0 2px;
			height: auto;
			vertical-align:middle;
			text-align:center;
			display:inline;
			width: auto !important;
			max-width: 100% !important;
			color: white;
			text-decoration: none;
		}
	

/* -- fix for wide screens --*/

@media only screen and (min-device-width: 1024px) and (min-device-height: 1360px) {  

	#featured .ui-tabs-panel .info p{ 
	font-size: 1em !important;
		line-height: 1.2em !important;
}
}

@media only screen and (min-device-width: 1100px) {  
#featured .ui-tabs-panel .info{ 
	bottom:10% !important;	
}
	
	#featured .ui-tabs-panel .info p{ 
	font-size: 1.2em !important;
		line-height: 1.5em !important;
}
}

/*-------------------------------------------------------------- slider gallery ----------------------------------------------------------* /

#carousel {
    width: 100%;
    height: 1px;
    padding-bottom: 30%;
    position: relative;
    overflow: hidden !important;
    display: block;
    border: 0px solid black;
    margin-left: auto;
    margin-right: auto;
}

#carousel li {
    width: 100%;
    position: absolute;
    height: auto;
    background: white;
    list-style-type: none;
}

#carousel li a {
    width: 100%;
    position: relative;
    height: auto;
    background: white;
    list-style-type: none;
    display: moz-inline-block;
display: inline-block;
*display: inline;
zoom: 1;    
}

#carousel li a > img {
    width: 100%;
    height: auto;
    position: relative;
}

#carousel li a #slidertext {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0%;
    text-align: center;
    top: 20%;
}

#carousel li a #slidertext > img {
    width: 35%;
    height: auto;
margin: 0 0 30px 0;
}

#result, #setmargin {
display: none;
visibility:  hidden;
}

#slidertext h1, #slidertext p {
color: white;
background: transparent url(https://simas-accounts.co.uk/wp-content/uploads/sites/7/2017/11/black-transparent.png) repeat;
width: 100%;
height: auto;
display: block;
margin: 0 0 0 0;
padding: 10px 0;
}
