/* custom styles */


.title1 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: normal;
	font-size: 1.6em;
	line-height: 1.15;
	margin-bottom: 0.10em;
	margin-top:0px;
	text-rendering: optimizeLegibility;
	padding: 0.0em;
  }
  
  
.p2 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: normal;
	font-size: .95em;
	line-height: 1.25;
	margin-bottom: 0.10em;
	margin-top:.3em;
	text-rendering: optimizeLegibility;
	padding: 0.0em;
  }
  

/* Lists */
#content ul,
#content ol,
#content dl {
  margin-bottom: 1.25em;
  list-style-position: outside;
  font-family: inherit; }




/* Ordered Lists */
#content ol li,
#content ol li ol li {
  margin-left: 1.25em;
  margin-bottom: .6em;
list-style-type: decimal;
list-style-position: outside;
 }

/* Unordered Lists */
#content ul li,
#content ul li ul li {
  margin-left: 1.25em;
  margin-bottom: .6em;
list-style-type: disc;
list-style-position: outside;
 }

/* CONTENT */
#content777{ align: center;}
#content {margin-bottom:25px;}


/* SPECIAL BOXES WITH DROP SHADOW */
#specialbox { list-style:none; margin:10px 0; }
.specialbox { list-style:none; margin:10px 0; }
#specialbox li img { border:10px solid #fcfafa;
	-moz-box-shadow:0 3px 10px #888; -webkit-box-shadow:0 3px 10px #888;}

.specialbox li img { border:10px solid #fcfafa;
	-moz-box-shadow:0 3px 10px #888; -webkit-box-shadow:0 3px 10px #888;}

#specialbox2 { list-style:none; margin:10px 0; }

#specialbox2 li img { border:10px solid #fcfafa;
	-moz-box-shadow:0 3px 10px #888; -webkit-box-shadow:0 3px 10px #888;}


.specialinfo { border:	10px solid #fcfafa; padding:10px; background-color:#eeeddd; margin:5px 0px 0px 0px; position:relative;
	-moz-box-shadow:0 5px 10px #888; -webkit-box-shadow:0 5px 10px #888; }
	
/* .specialinfo h3 { color:#7a3f3a; font-variant: small-caps; font-family:Georgia,serif,Times; text-align:center; padding-bottom:15px; }
.specialinfo p { padding-bottom:0px; } */


#assynewsfront {background-color:#d3d3d3;}
@media print {
	#assynewsfront {display:none;}
}

.row { max-width: 1120px; margin: 0 auto; }
  
.greybutton { background-color: #666666; border-width: 0px; box-shadow: none; margin-top: 1.5em; margin-bottom: 1.0em; font-size: 0.8em; }

.helpbutton { background-color: #2e9805; border-width: 0px; box-shadow: none; margin-top: 1.5em; margin-bottom: 1.0em; font-size: 0.8em; width: 50%; }

.greybutton2 { background-color: #666666; border-width: 0px; box-shadow: none; margin-top: 1.5em; margin-bottom: 1.0em; font-size: 0.8em;}

.orangebutton { background-color: #f60; border-width: 0px; box-shadow: none; margin-top: 1.5em; margin-bottom: 1.0em; font-size: 0.8em; }

.rr { background-color: #ff0000; border-width: 0px; box-shadow: none; margin-top: 1.5em; margin-bottom: 1.0em; font-size: 0.8em; }

.reset { background-color: #ffda44; border-width: 0px; box-shadow: none; margin-top: 1.5em; margin-bottom: 1.0em; font-size: 0.8em; color: #000000; width: 100%; font-size: 1.8em; }


.buybutton { background-color: #26a53f; border-width: 0px; box-shadow: none; margin-top: 1.5em; margin-bottom: 1.0em; font-size: 0.8em; }


		
		
.tag1 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: normal;
	font-size: 1.25em;
	line-height: 1.55;
	margin-bottom: 0.10em;
	text-rendering: optimizeLegibility;
	padding: 0.0em;
  }	
  
  
.tag2 {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: normal;
	font-size: 0.75em;
	line-height: 1.55;
	margin-bottom: 0.10em;
	text-rendering: optimizeLegibility;
	padding: 0.0em;
  }		
  
.footerlinks {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: normal;
	font-size: 0.9em;
	line-height: 1.55;
	margin-bottom: 0.10em;
	text-rendering: optimizeLegibility;
	padding: 0.0em;
  }	


/* Side Nav */
.side-nav {
  display: block;
  margin: 0;
  padding: 0.875em 0;
  list-style-type: none;
  list-style-position: inside; }
  .side-nav li {
    margin: 0 0 0.4375em 0;
    font-size: 0.875em; }
    .side-nav li a {
      display: block;
      color: #2ba6cb; }
    .side-nav li.active > a:first-child {
      color: #4d4d4d;
      font-weight: bold; }
    .side-nav li.divider {
      border-top: 1px solid;
      height: 0;
      padding: 0;
      list-style: none;
      border-top-color: #e6e6e6; }

/* Side Nav */
.sub-nav {
  display: block;
  width: auto;
  overflow: hidden;
  margin: -0.25em 0 1.125em;
  padding-top: 0.25em;
  margin-right: 0;
  margin-left: -0.5625em; }
  .sub-nav dt,
  .sub-nav dd {
    float: left;
    display: inline;
    margin-left: 0.5625em;
    margin-bottom: 0.625em;
    font-weight: normal;
    font-size: 0.875em; }
    .sub-nav dt a,
    .sub-nav dd a {
      color: #999999;
      text-decoration: none; }
    .sub-nav dt.active a,
    .sub-nav dd.active a {
      -webkit-border-radius: 1000px;
      border-radius: 1000px;
      font-weight: bold;
      background: #2ba6cb;
      padding: 0.1875em 0.5625em;
      cursor: default;
      color: white; }
	  
	  



	  .filterbox {
  text-align:center;
  border-style: solid;
  border-width: 0px;
  border-color: #d9d9d9;
  margin-bottom: 0.1em;
  padding: 1.25em;
  background: #546668;
  color: #ffffff; }
  
  	  .filterbox2 {
  text-align:center;
  border-style: solid;
  border-width: 0px;
  border-color: #d9d9d9;
  margin-bottom: 0.1em;
  padding: 1.25em;
  background: #6a5153;
  color: #ffffff; }
  
   .resultsbox {
  border-style: solid;
  border-width: 0px;
  border-color: #d9d9d9;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding: 1em;
  background: #ebf0f3;
  color: #000000;
  height: 100%; }
  
  
   .whitebox {
  border-style: solid;
  border-width: 0px;
  border-color: #d9d9d9;
  margin-top: 1em;
  margin-bottom: .25em;
  margin-left: 1.25em;
  margin-right: 1.25em;
  padding: 2.25em 2.25em 1em 2.25em;
  background: #ffffff;
  color: #000000; 
}  
  
  
.onoffswitch {
    position: relative; width: 100%;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 0px solid #999999; border-radius: 0px;
}
.onoffswitch-inner {
    width: 200%; margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner > div {
    float: left; position: relative; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.onoffswitch-inner .onoffswitch-active {
    padding-left: 10px;
    background-color: #C2C2C2; color: #FFFFFF;
}
.onoffswitch-inner .onoffswitch-inactive {
    padding-right: 10px;
    background-color: #C2C2C2; color: #FFFFFF;
    text-align: right;
}
.onoffswitch-switch {
    width:  100%; margin: 0px; text-align: center; 
    border: 0px solid #999999;border-radius: 0px; 
    position: absolute; top: 0; bottom: 0;
}
.onoffswitch-active .onoffswitch-switch {
    background: #27A1CA; left: 0;
}
.onoffswitch-inactive .onoffswitch-switch {
    background: #A1A1A1; right: 0;
}
.onoffswitch-active .onoffswitch-switch:before {
    content: " "; position: absolute; top: 0; left:  100%; 
    border-style: solid; border-color: #27A1CA transparent transparent #27A1CA; border-width: 15px 20px;
}
.onoffswitch-inactive .onoffswitch-switch:before {
    content: " "; position: absolute; top: 0; right:  100%; 
    border-style: solid; border-color: transparent #A1A1A1 #A1A1A1 transparent; border-width: 15px 20px;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}



/* MCB settings */
.img_thumb {background-color:#ddeeff; color:#000033; padding:8px 8px 2px 8px;}
.img_thumb p {margin:0px 0px 3px 0px;}

div.docbox {background-color:#ddeeff; color:#000033; padding:6px; min-height:212px;}
div.docbox_link {padding:20px 10px 10px 20px;}
div.docbox_img {float:left; margin-right:20px;}

table.assylist {width:100%; margin:0px; padding:0px; border:1px solid white; border-collapse:collapse;}
th.assylist {padding:5px; border:1px solid white; background-color:#eeefe0; text-align:left; font-size:1.2em;}
td.assylist {padding:5px; border:1px solid white; background-color:#eeefe0; font-size:1.2em;}
th.assylist_cul {padding:5px; border:1px solid white; background-color:#ffe9dd; text-align:left; font-size:1.2em;}
td.assylist_cul {padding:5px; border:1px solid white; background-color:#ffe9dd; font-size:1.2em;}
div.culcol {background-color:#ffa869;}
h5.assylist {margin-bottom:2px;}
/* .specialinfo a {color:#d8e8ff;}  MCB */
.specialinfo a:hover {text-decoration:underline;}
p.closedup {margin:0px 0px 2px 0px;}
p.closedup99 {margin:0px 0px 12px 0px;}
p.assylist {font-size:1.1em;}
p.assyblurb {font-size:1.2em;}

div.a22 a {color:#ffffff; font-size:.75em;}
div.a22 a:hover {color:#eeeeee;}
span.a23 {font-size:.55em; display:block; margin: 2px 0px 2px 0px;}

div.resitem {overflow:hidden;}
div.resitem img {float:right; margin-right:10px; border:1px solid black;}
hr.reslist {clear:both; color:#207d9c; background-color:#207d9c; height:2px; margin:5px; }

p.rrnews {font-size:.9em; line-height:115%; margin:10px 0px 4px 0px;}
a.rrnews {margin:0px;}
h5.rrnews {margin-top:12px;}

label.fbf {display:block; width:200px; text-align:left; float:none;}
.ksopaque {opacity: 0.6;}

.substhankyoubox {z-index:100; opacity:0.8;
  width:150px; height:190px; position:absolute; left:70px; top:210px;
  background-color:#f8f8f8; padding:10px; text-align:center;
  -webkit-border-radius:10px; -moz-border-radius:10px; border-radius:10px;
  font-weight:bold; border:1px solid #666666; display:none;}

.searchiconsbox{z-index:100; opacity:0.8;
  width:150px; height:320px; position:absolute; left:0px; top:-260px;
  background-color:#f8f8f8; padding:10px; text-align:center;
  -webkit-border-radius:10px; -moz-border-radius:10px; border-radius:10px;
  font-weight:bold; border:1px solid #666666; display:none;}
.searchiconsbox-sml{z-index:100; opacity:1.0;
  width:150px; height:180px; position:absolute; left:0px; top:-145px;
  background-color:#f8f8f8; padding:10px; text-align:center;
  -webkit-border-radius:10px; -moz-border-radius:10px; border-radius:10px;
  font-weight:bold; border:1px solid #666666; margin-left:50px; display:none;}

#searchiconskey p {text-align:left;}
#searchiconskey-sml p {text-align:left; font-size:.8em;}
#searchiconskey img, #searchiconskey-sml img {margin:0px 5px 5px 0px;}

#socmedexp {float:left; margin-left:-3000px; margin-right:auto;} //hiding method that is fb-friendly
.socmediainf {padding:2px; border-top:1px solid #fcfafa; border-bottom:1px solid #fcfafa; text-align:center;}

.dberror {font-weight:bold; color:#990000;}

.textright {text-align:right;}
.textcenter {text-align:center;}
.imgright {float:right;} /*for footer images */

#searchme_results_front {z-index:100; opacity:0.95;
  width:100%; position:absolute; left:0px; top:-30px; margin:0px;
  background-color:#f8f8f8; padding:10px;
  -webkit-border-bottom-leftradius:3px; -moz-border-radius-bottomleft:3px; border-bottom-left-radius:3px;
  -webkit-border-bottom-rightradius:3px; -moz-border-radius-bottomright:3px; border-bottom-right-radius:3px;
  font-weight:bold; border:1px solid #d9d9d9; display:none; border-top:none;}
#searchme_results_front p.result {color:#000000; margin:1px; padding:2px 0px 5px 0px; line-height:115%; font-size:.9em; border-bottom:1px solid #cccccc;}
img.result {margin:10px 5px 0px 0px;}
img.resultfront {margin:1px 1px 0px 4px; float:right;}


.emailalink {background-color:#cdc82c; padding:0px;}

a.plainlink, a.plainlink:hover {color:#000000; text-decoration:none;}

#printme {float:right; margin-left:20px;}
#welshlink {clear:both; float:right; display:block; margin:20px 0px 10px 0px; font-size:.8em;}


@media screen {
 #print_copyright {display:none;}
 #assyblock {font-size:.9em;} /* Additional font size changes */
}

#top_upper_nav, #upper_nav {font-family:Arial, Helvetica, san-serif; margin-top:15px;} /* if abnormal promo banner, increase e.g. to 30px */

#assypubnote {font-size:.75em; color:#666666; margin-top:20px;}

/*restore*/
div.select-container {height: 2.3125em; background-color: white; border: 1px solid #cccccc; padding:.25em 0 .25em 0;}
select {background-color: white;
  font-family: inherit;
  border: 1px solid white;
  color: rgba(0, 0, 0, 0.75);
  display: block;
  font-size: 0.875em;
  margin: 0 0 1em 0;
  min-height: 1.3125em;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }
option {padding:.25em 0 .25em 0;}





/* AME - styles added on 03.07.13 */
/* ----------------------------------------------------------------------------------------------------------------------------
== FOLDED CORNERS
** ---------------------------------------------------------------------------------------------------------------------------- */

.note {
    position:relative;
    width:100%;
    padding:1em 1.5em;
    margin:2em auto;
    color:#fff;
    background:#97C02F;
    overflow:hidden;
}

.note:before {
    content:"";
    position:absolute;
    top:0;
    right:0;
    border-width:0 16px 16px 0; /* This trick side-steps a webkit bug */
    border-style:solid;
    border-color:#fff #fff #658E15 #658E15; /* A bit more verbose to work with .rounded too */
    background:#658E15; /* For Opera when also applying a border-radius */
    display:block; width:0; /* Only for Firefox 3.0 damage limitation */
    /* Optional: shadow */
    -webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
       -moz-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
            box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
}

.note.red {background:#C93213;}
.note.red:before {border-color:#fff #fff #97010A #97010A; background:#97010A;}

.note.blue {background:#53A3B4;}
.note.blue:before {border-color:#fff #fff transparent transparent; background:transparent;}

.note.taupe {background:#999868;}
.note.taupe:before {border-color:#fff #fff #BDBB8B #BDBB8B; background:#BDBB8B;}

 
.note.rounded {
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
}

.note.rounded:before {
    border-width:8px; /* Triggers a 1px 'step' along the diagonal in Safari 5 (and Chrome 10) */
    border-color:#fff #fff transparent transparent; /* Avoids the 1px 'step' in webkit. Background colour shows through */
    -webkit-border-bottom-left-radius:5px;
    -moz-border-radius:0 0 0 5px;
    border-radius:0 0 0 5px;
}

.note p {margin:0;}
.note p + p {margin:1.5em 0 0;}



.titlespecial {
	font-size: 2.5em;
	line-height: 1.4;
	padding: 0.3em 0.5em;
	font-family: "Avenir Next Pro Regular","Avenir Next", "OpenSans", "sans-serif", Helvetica;
   }
 .titlespecial2 {
	font-size: 1.4em;
	line-height: 1.2;
	padding: 0.0em 1.0em;
	font-family: "Avenir Next Pro Regular","Avenir Next", "OpenSans", "sans-serif", Helvetica;
   } 
 .titlespecial3 {
	font-size: 1.0em;
	line-height: 1.3;
	padding: 0.0em 1.5em;
	font-family: "Avenir Next Pro Regular","Avenir Next", "OpenSans", "sans-serif", Helvetica;
   } 
   
 .titlespecial4 {
	font-size: 0.8em;
	line-height: 1.3;
	padding: 0.0em 2.2em;
	font-family: "Avenir Next Pro Regular","Avenir Next", "OpenSans", "sans-serif", Helvetica;
   }  

 .titlespecial5 {
	font-size: 1.0em;
	line-height: 1.3;
	padding: 0.0em 1.5em;
	font-family: "Avenir Next Pro Regular","Avenir Next", "OpenSans", "sans-serif", Helvetica;
	color: #8e0715;
   }  
   
   
 .speciala {
	font-size: .9em;
	text-align:center;
	line-height: 1.15;
	padding: 0.1em 0.1em;
	background-color:#f3f9ff;
	width:50%;
	font-family: "Avenir Next Pro Regular","Avenir Next", "OpenSans", "sans-serif", Helvetica;
   } 
   
 .specialb {
	font-size: 2.5em;
	line-height: 1.6;
	padding: 0.5em 0.0em;
	font-family: "Avenir Next Pro Regular","Avenir Next", "OpenSans", "sans-serif", Helvetica;
   } 

   
/* ============================================================================================================================
== BUBBLE WITH A BORDER AND TRIANGLE
** ============================================================================================================================ */

/* THE SPEECH BUBBLE
------------------------------------------------------------------------------------------------------------------------------- */

.triangle-border {
	position:relative;
	padding:15px;
	margin:1em 0 3em;
	border:5px solid #2aa9e0;
	color:#333;
	background:#fff;
	/* css3 */
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	font-family: "Avenir Next Pro Regular","Avenir Next", "OpenSans", "sans-serif", Helvetica;
	font-size: 0.8em;
}



/* THE TRIANGLE
------------------------------------------------------------------------------------------------------------------------------- */

.triangle-border:before {
	content:"";
	position:absolute;
	bottom:-20px; /* value = - border-top-width - border-bottom-width */
	left:40px; /* controls horizontal position */
    border-width:20px 20px 0;
	border-style:solid;
    border-color:#2aa9e0 transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}

/* creates the smaller  triangle */
.triangle-border:after {
	content:"";
	position:absolute;
	bottom:-13px; /* value = - border-top-width - border-bottom-width */
	left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
	border-width:13px 13px 0;
	border-style:solid;
	border-color:#fff transparent;
    /* reduce the damage in FF3.0 */
    display:block; 
    width:0;
}


/* Lists */
ul,
ol,
dl {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 1.25em;
  list-style-position: outside;
  font-family: inherit; }

ul, ol {
  margin-left: 1.25em; }

/* Unordered Lists */
ul li ul,
ul li ol {
  margin-left: 1.25em;
  margin-bottom: 0;
  font-size: 1em;
  /* Override nested font-size change */ }
ul.square li ul, ul.circle li ul, ul.disc li ul {
  list-style: inherit; }
ul.square {
  list-style-type: square; }
ul.circle {
  list-style-type: circle; }
ul.disc {
  list-style-type: disc; }
ul.no-bullet {
  list-style: none; }

/* Ordered Lists */
ol li ul,
ol li ol {
  margin-left: 1.25em;
  margin-bottom: 0; }



		
hr.style-seven {
    height: 15px;
    border-style: solid;
    border-color: #0079fe;
    border-width: 1px 0 0 0;
    border-radius: 20px;
}

hr.style-seven:before { 
    display: block;
    content: "";
    height: 15px;
    margin-top: -16px;    
    border-style: solid;
    border-color: #0079fe;
    border-width: 0 0 1px 0;
    border-radius: 20px;
}



#extra_advert_banner {display:block; margin-bottom:20px;}
@media print {
 #extra_advert_banner {display:none;}
 #front_page_search_bar {display:none;}
 #topical_tags {display:none;}
}

#advert-topbar-inhouse {float:left; z-index:20; position:absolute; top:0px; left:15px;}

/*3rd party adverts */
#advert-genpage {float:right; margin:0px 0px 25px 30px;}
#advert-assy {float:right; margin:0px 0px 25px 30px;}
#advert-topbar {display:inline-block; float:left; max-width:728px; width:100%; height:auto; margin:0px;}
#advert-topbar ins {width:728px !important; height:90px !important;}
#abovebar-container {margin:0px; padding:0px; display:inline-block;}
div.abovebar {display:block; margin:0px 10px 15px 0px; padding:0px;}
div.abovebar a {display:inline-block;  min-width:80px; margin-left:15px;}
#assyad_link {font-size:.9em; padding:4px; float:right; position:relative; top:260px; left:300px;}
#assyad_blurb {background-color:#e2e2e2; padding:12px; margin-left:auto; margin-right:auto;}
#assyad_blurb .adbutton {display:block; margin:15px auto 10px auto; padding:5px; width:100%; height:100%; text-decoration:none; text-align:center; background-color:#2aa6cb; color:#ffffff;}
@media print {
#advert-genpage, #advert-assy, #advert-topbar {display:none;}	
}

@media only screen  and (max-width:1033px) {
	#advert-topbar {display:block; float:none;}
	#abovebar-container {display:block; text-align:right; width:100%; margin-top:15px;}
	div.abovebar {display:inline-block;}
	div.abovebar a {min-width:0px; margin-left:25px;}
	#advert-topbar-inhouse {float:none;}
}

@media only screen  and (max-width:728px) {
 #advert-topbar ins {width:100% !important; height:auto !important;}
}
@media only screen  and (max-width:544px) {
 #assyad_link {top:20px; left:0px;}
}

	
@media only screen  and (max-width:480px) {
 #advert-genpage {float:none; margin:10px 0px 10px 0px; width:100%; text-align:center;}
 #advert-genpage ins {float:none !important;}
 #advert-assy {float:none; margin:10px 0px 10px 0px; width:100%; text-align:center;} 
 #advert-assy ins {float:none !important;}
 #assyad_blurb {width:90% !important; top:0px !important;}
}
