/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Arial, Tahoma, Verdana, Geneva, Helvetica, sans-serif;
   font-size: 82.01%;
   line-height: 1.4em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div, table{
   margin: 0;
   padding: 0;
   font-size: 1em;
   line-height: 1.4em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
   margin: 0;
}

.gallery {
 float: left;
 margin-right: 10px;
 margin-bottom: 5px;
 border: 0px;
}

.social {
 display: inline;
 float: right;
 margin-left: 3px;
 margin-bottom: 0px;
 margin-top: 0px;
}

.photo-left {
 float: left;
 margin-right: 10px;
 margin-bottom: 5px;
 border: 1px #666 solid;;
}

.photo-right {
 float: right;
 margin-left: 10px;
 margin-bottom: 5px;
 border: 1px #666 solid;
}

.photo {
 border: 1px #666 solid;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #000;
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #000;                /* a different color can be used for visited links */
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: transparent;
   color: #CCC;
}
#sidebar .block {
        float: left;
	width: 290px;
	margin: 10px 10px 0 0;
}
#sidebar ul {
	width: auto;
	text-align: left;
	margin-left: 0px;
	color: #333333;
        list-style: none;
}
#sidebar ul ul {
	margin-left: 0px;
}
#sidebar ul li a, #sidebar ul li a:visited {
	color: #990099;
	display: block;
	font-weight: normal;
	margin-bottom: 2px;
        padding-bottom: 3px;
	text-decoration: none;
        border-bottom: 1px #999 dotted;
}

#sidebar ul li a:hover {
	color: #cccccc;
	display: block;
	font-weight: normal;
	margin-bottom: 2px;
        padding-bottom: 3px;
	text-decoration: none;
}

#sidebar a,
#sidebar a:link 
#sidebar a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #000;
}

#sidebar a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #000;                /* a different color can be used for visited links */
}

/* remove underline on hover and change color */
#sidebar a:hover {
   text-decoration: none;
   background-color: transparent;
   color: #CCC;
}


/*****************
basic layout 
*****************/
body {
   color: #666;
   margin: 0; /* gives some air for the pagewrapper */
   background: #FFF url(https://cyferfontein.com/uploads/images/body-background.gif) top center repeat-x;
   
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px;
   margin: 0px auto 0px auto;     /* this centers wrapper */
   width: 960px;
   color: #666;
}

#container {
   position: relative;
   width: 960px;
   margin: 0px auto 0px auto; 
   padding: 0;
   /* background: url(https://cyferfontein.com/uploads/images/content-background.jpg) no-repeat top center; */
}

.body-background {
   background: url(https://cyferfontein.com/uploads/images/topheader.png) repeat-x top center;
}

/* ------------ Footer ------------ */


#footer-wrapper {
        border-top: 1px #ddd solid;
        position: relative;
	min-height: 280px;
	height: auto!important;
	height: 280px;
	width: 100%;
	margin-top: 20px;
	text-align: center;
	margin-right: 0px;
	margin-left: 0px;
        margin-bottom: 0;
        padding: 0px;
        background: #292929;
}
#footer {
        position: relative;
	color: #CCC;
	font-size: 1em;
	min-height: 260px;
	height: auto!important;
	height: 260px;
        width: 960px;
        margin: 10px auto 0 auto;
        padding: 10px 0 0 0;
}
#footer .block {
        float: left;
	width: 290px;
	margin: 10px 10px 0 20px;
        font-size: 90%;
}
#footer .cms {
        float: right;
	text-align: left;
	color: #CCC;
	margin: 10px 0px 0 0;
        border: 0px;
	width: 300px;
}
/* ------------ Footer Links ------------ */
#footer ul {
	width: auto;
	text-align: left;
	margin-left: 0px;
	color: #CCC;
        list-style: none;

}
#footer ul ul {
	margin-left: 0px;
}
#footer ul li a, #footer ul li a:visited {
	color: #CCC;
	display: block;
	font-weight: normal;
	margin-bottom: 2px;
        padding-bottom: 3px;
	text-decoration: none;
        border-bottom: 1px #999 dotted;
}

#footer ul li a:hover {
	color: #FFF;
	display: block;
	font-weight: normal;
	margin-bottom: 2px;
        padding-bottom: 3px;
	text-decoration: none;
}
#footer a {
	color: #CCC;
	text-decoration: none;
	font-weight: bold;
}

#footer .cms a {
	color: #EEE;
}

#footer .cms a:hover {
	color: #FFF;
}

/* ------------ END LAYOUT ---------------*/

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 90px;
   margin: 0px;
}

div#search {
   position: absolute;
   top: 20px ;
   left: 0px;
   width: 280px;     /* enough width for the search input box */
   padding: 0;
   margin: 30px 0;
   z-index: 20;
}

div#search input {
   font-size: 105%;
   width: 300px;     /* enough width for the search input box */
   text-align:left;
   padding: 5px 5px 8px 5px;
   margin: 0;
   color: #333;
   background: transparent;
   border: 1px #999 dotted;
}

div.breadcrumbs {
   padding: 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 10px 0 5px 0 ;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 0px dotted #000;
   height: 10px;
   text-transform: lowercase;
   color: #999;
}

div.breadcrumbs a, div.breadcrumbs a:visited {
   color: #000;
}

div.breadcrumbs a:hover {
   color: #666;
}

 div.breadcrumbs span.lastitem { 
   color: #999; 
 } 

div#content {
   position: relative;
   margin: 0; /* some air above and under menu and content */
   padding-top: 50px;
}

.content-background {
   margin: 0; /* some air above and under menu and content */
   padding-bottom: 0px;
}

div#content-header {
   float: right;
   display: inline;
   margin-right: 0px ; /* some air above and under menu and content */
   height: 50px;
   padding: 0px;
   background: none;
   width: 620px;
   margin-top: 0px;
}

#content-bottom {
  float: left;
  display: inline;
  height: 20px;
  width: 960px;
  margin: 15px 0;
}

#main .block {
  margin: 5px 0 5px 0;
  border: 1px #CCC dotted;
  background: #F2F2F2;
  padding: 10px;
}

div#main {
   float: right;
   display: inline;
   margin: 20px 0px 10px 0px;
   vertical-align: top;
   padding: 0px;
}

div#sidebar {
   position: relative;
   float: left;
   display: inline;
   width: 320px;    /* sidebar width, if you change this please also change #main margins */
   margin-right: 20px;
   margin-left: 0px;
   margin-top: 65px;
   padding: 0px;
   color: #666;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0;
   width: 320px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

{*
#sidebar a,
#sidebar  a:link 
#sidebar a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #000;
}

#sidebar a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #000;                /* a different color can be used for visited links */
}

/* remove underline on hover and change color */
#sidebar a:hover {
   text-decoration: none;
   background-color: transparent;
   color: #CCC;
}
*}

div#footer p a {
   color: #333; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 0;
   border-bottom: 0px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 79%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 19%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {
}

#sidebar strong {color: #333;}

/* HEADINGS */
div#content h1 {
   color: #333; 
   font-size: 24px;  /* font size for h1 */
   line-height: 26px;
   margin: 0;
}
div#content h2 {
   color: #333; 
   font-size: 20px;  /* font size for h2 */
   line-height: 22px;
   margin-bottom: 5px;
   font-weight: normal;
}
div#content h3 {
   color: #333; 
   font-size: 18px;
   line-height: 20px;
   margin: 0 0 5px 0;
   font-weight: normal;
}
div#content h4 {
   color: #333; 
   font-size: 16px;
   line-height: 18px;
   margin: 0 0 5px 0;
   font-weight: normal;
}
div#content h5 {
   color: #333;  
   font-size: 14px;
   line-height: 16px;
   margin: 0 0 5px 0;
   font-weight: normal;
}
h6 {
   color: #333; 
   font-size:12px;
   line-height: 14px;
   margin: 0 0 0.25em 0;
}

div#content .motto h5 {font-size: 0.85em;}
.motto {border-top: 1px #CCC dotted; padding-top: 10px;}
.motto cufon {padding-bottom: 6px;}

/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 0.8em 0;  /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #CCC;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
   list-style: circle;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

#imagefloat {
  position: absolute;
  z-index: 2;
  width: 300px;
  height: 357px;
  top: -87px;
  left: -20px;
}

#logofloat {
  position: absolute;
  z-index: 2;
  width: 300px;
  height: 50px;
  top: 20px;
  left: 0px;
}

#header-image {
   position: relative;
   float: right;
   display: inline;
   width: 960px;
   height: 250px; 
   margin: 0px;
   padding: 0;
}

#imageslide {
  position: absolute;
  width: 960px;
  height: 250px;
  top: 0px;
  left: 0px;
  margin: 0px;
  border: 0px;
  z-index: 10;
  overflow: hidden;
}

.table {
   border-collapse: collapse;
   width: 605px;
}
.table td {
  border-collapse: collapse;
  border: 1px #CCC solid;
  padding: 2px 5px 2px 5px;
}

div[id^='cggm_map_defn'] {border: 1px #999 solid; width: auto; padding: 0; color: #333;}
a.cpModal{}

 /* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    z-index: 1000;
    max-width: 300px;
}

.tooltip:hover .tooltiptext img {
    max-width: 500px;
}


/* Stylesheet: CFLayout Modified On 2017-04-12 14:55:01 */
