/* CSS Document */

/* ************************** MAIN CONTAINERS *********************** */
/* ************************** MAIN CONTAINERS *********************** */
/* ************************** MAIN CONTAINERS *********************** */

div#OI_WebPage {
	position:relative;
	min-width:100%;
	min-height:100%;
	vertical-align:top; 
    padding:0 0 0 0;
    margin:0 auto;
}

div#OI_HeaderMain {
	min-height:100%;
	display:block;
	background-color:#FFF;
	position:relative;
	width:100%;
	/*min-height:1200px;*/
	margin:0 auto;
	float:left;
	padding-top:200px; /* height of fixed/foating header (see OI_Header below) */
}

div#OI_Header {  /* MAIN FLOATING HEADER CONTAINER */
	position:fixed; 
	height:200px;  /* see OI_HeaderMain above, for padding-top, height of this div  */
	width:100%;  /* testing:  change this to 100% for final */
	top:0px;
	left:0px;
	/*background-color:#FEFEFA;*/
	background-color:#FFF;
	z-index:1000;  /* to keep this on-top of other elements */
	border-bottom:1px solid #17468F;
	margin:0;
	padding:5px 0;
}

tr.breadcrumb td, div.breadcrumb { 
	font-size:8px; 
	border-bottom:1px solid #999;
}

div.BreadcrumbsMain {
	width:100%;
	text-align:right;
    margin:10px auto 10px;
    padding:3px 10px;
	/*border-top:thin solid #D9D6C4;*/
}

div.BreadcrumbTitle { 
	width:100%;
	color:#17468F;
	font-size:8pt;
    padding:0 10px 0 0;
}

div.BreadcrumbTitle-mq { 
	width: 100%;
	height: 15px;
    margin: 0 auto;
    padding: 0 auto;
	color:#17468F;
	text-align:right;
	font-size:8pt;
}

div.MainFormBodyTop {
	width:100%;
	text-align:center;
    margin:0 auto;
    padding:10px;
}



div#OI_Slider {
	max-height:800px;
}


#OI_Main { 
	background-color:#FFF;
	vertical-align:top; 
	width:100%;
    margin:0;
    padding:0;
	left:0px;
}

div#OI_MainFormContent {
	width: 100%;
	/*height: 100%;*/
	float:left;
    margin:0 auto;  /* margin: top right bottom left */
    padding: 10px 10px 10px 10px;
    background: #FFFFFF; 
	vertical-align:top; 
}


.mobile_logoholder a img {
	/*max-height:160px;*/
}



/* --- footer --- */
#OI_Footer {
	display:block;
	position:relative;
	float:left;
	color:#000;
	background-color:#F9F9F8;
	border-top:thin solid #D7D2CB;
	min-width:100%;
	vertical-align:middle;
	margin:5px 0 0 0;
	padding:15px 20px 15px 20px;
}

/* https://css-tricks.com/couple-takes-sticky-footer/ */
#OI_HeaderMain {
	padding-bottom:111px; /* for floating footer at bottom of page */
}
#OI_Footer {
	/* height:111px;  /* for floating footer at bottom of page */
	margin-top:-111px; /* for floating footer at bottom of page (151px when social-media icons falls to next line) */
}


#OI_Footer .CopyRight {
	display:block;
	position:relative;
	float:left;
	width:auto;
	height:80px;
	background-image: url(../png/57x57_oi.png);
	background-repeat:no-repeat;
	background-position:5px 10px;
	background-size:57px 57px;
	text-align:left;
	margin-left:0;
	padding:15px 10px 0 5px;
}

#OI_Footer .CopyRight span.text {
	display:inline-block;
	position:relative;
	float:left;
	width:auto;
	font-weight:bold;
	text-align:left;
	vertical-align:middle;
	padding-left:70px;
}

#OI_Footer .SocialMedia {
	float:right;
	width:auto;
	text-align:center;
	width:auto;
	margin-right:20px;
}

#OI_Footer .CopyRight #SecureIcons {
	display:block;
	position:relative;
	float:left;
}

/*
#OI_Footer .CopyRight span.logo {
	display:block;
	position:relative;
	float:left;
	width:auto;
	text-align:right;
	vertical-align:middle;
}
*/

div#SubNotes {
	font-size:7pt;
	font-style:italic;
	color:#51534A;
	border-top:solid thin #D7D2CB;
	padding:5px 10px 5px 5px;
	margin-top:10px;
}




div.MainFormBodyProgress {  /* Tidbit */
	display: block;
	position: relative;
	width: 0 auto;
	height: 56px;
    margin: 0px;
    padding: 0px;
	vertical-align:top; 
	left: -13px;
	float:left;
	/* border:1.0px solid #00FF00; */
}

div#cse-search-results {
	display:block;
	width:100%;
	height:100%;
	
}

.searchBox {
	text-align:right;
	float:right;
}




div.MainContent {
    margin: 0px;
    padding: 0px;
	width: 100%;
	text-align: center;
    background: #FFFFFF; 
}

#MainContent-left {
	display: block;
	width: 55%;
	
}

#MainContent-right {
	display: block;
	width: 45%;
	
}










div#MainForm {
	position: relative;
	min-height: 100%;
	/*max-width: 1050px;*/ /* Left + Spacer + Content */
    min-width: 100%;
	margin: 0 auto;  /* allows to center on window */
    padding: 0;
	text-align: left;
	/*display: none;*/
	/* hide MAIN content on-load; show later with javascript (at bottom of: /include/footer.inc */
	/* display: block;  */  /* use to show again */
}

div#Content {
	width:100%;
	/*height:100%;*/
	min-height:100%;	
}

div.HeaderLinks {
	width: 100%;
	min-height: 50px;
	text-align: center;
    margin: 0 auto;
    padding: 10px;	
}

div.RowContainer {
	position:relative;
	width:100%;
	margin:0 auto;
	text-align:center;
	padding:12px;
}

div.OIColumn {
	padding:10px;	
}

.ColumnOne {
	clear:left;
	float:left;
	text-align:left;
	width:33%;
	padding:10px;
}

.ColumnTwo {
	float:left;
	text-align:left;
	width:34%;
	padding:10px;
}

.ColumnThree {
	float:left;
	text-align:left;
	width:33%;
	padding:10px;
}

div.BBone {
	float:left;
	width:14%;
	text-align:center;
}

div.BBtwo {
	float:left;
	width:21%;
	text-align:center;
}

div.BBthree {
	float:left;
	width:30%;
	text-align:center;
}

div.BBfour {
	float:left;
	width:35%;
	text-align:center;
}

#ContactList {
	float:left;
	text-align:left;
	width:33%;
	padding:10px;
}

div.OptiFaces {
	float:left;
	text-align:left;
	width:67%;
	padding:10px;
}

.FloatLeft {
	float:left;
}

.FloatRight {
	float:right;
}

div#OptiFace1 {
	min-width:106px;
	height:100%;
	float:left;
}

div#OptiFace2 {	
	margin-left:110px;
	height:100%;
}

div.SmallImg {
	float:left;
	width:17%;
	padding:10px;
}

div.BigImg {
	float:left;
	width:67%;
	text-align:center;
	padding:10px;
}

div.BlockDiv {
	float:left;
	width:67%;
	text-align:left;
	padding:10px;
}

div.PluginColumn {
	float:left;
	text-align:left;
	max-width: 375px;
	width:33%;
	padding:10px;
}

.pluginSize {
	min-width:100%;
	width:100px;
	height:575px;
}

.fluidJW {
	width:70%;	
}

.VidFloat {
	width:50%;
	padding-bottom:10px;
}

.embed-container {   
    position: relative;   
    padding-bottom: 56.25%; /* 16/9 ratio */   
    padding-top: 30px; /* IE6 workaround*/   
    height: 0;   
    overflow: hidden;
}
 
.embed-container iframe, embed-container .jwplayer {   
    position: absolute;   
    top: 0;   
    left: 0;   
    width: 100%;   
    height: 100%;
}





/* ************************** MAIN CONTAINERS *********************** */



div.Content-SideBar {
    display: block;
	
}


/* ************************** MAIN MASTHEAD/HEADER *********************** */
/* ************************** MAIN MASTHEAD/HEADER *********************** */
/* ************************** MAIN MASTHEAD/HEADER *********************** */

div.Ruler {
	background-image: url(../png/ruler.png);
	background-repeat: no-repeat;
	width: 100%;
	height: 15px;
	float:left;
	padding: 0 0 0 0;
}

/* ************************** MAIN MASTHEAD/HEADER *********************** */



/* ************************** MAIN MASTHEAD/HEADER : MAP *********************** */
/* ************************** MAIN MASTHEAD/HEADER : MAP *********************** */
/* ************************** MAIN MASTHEAD/HEADER : MAP *********************** */
#MainFormLogoTopMap {
	/*background-image: url(/logos/Friends_of_Youth_Blue-01.png);*/
	margin: auto;
	/*float: none;
	width: 108px;
	height: 124px;*/
}

#MainFormLogoTopMapFren {
	background-image: url(../png/friends_of_youth_f_blue-01.png);
	margin: auto;
	float: none;
	width: 120px;
	height: 128px;
}

#MainFormLogoTopMapOIJGC {
	margin: auto;
	float: none;
	width: 99px;
	height: 106px;
	margin-left: 834px;
	margin-top: 17px;
}
/* ************************** MAIN MASTHEAD/HEADER : MAP *********************** */



/* ************************** LEFT SIDEBAR - SOCIAL ICONS : MAP *********************** */
/* ************************** LEFT SIDEBAR - SOCIAL ICONS : MAP *********************** */
/* ************************** LEFT SIDEBAR - SOCIAL ICONS : MAP *********************** */
#SocialMaps a {
	position: absolute;
	bottom: 221px; 
	left: 32px;
	width: 30px;
	height: 31px;
	text-decoration: none;
}

a#Map_Facebook {
	bottom: 191px; 
	left: 32px;
	width: 29px;
	height: 29px;
	border: 1px dashed #444444;
}

a#Map_Twitter {
	bottom: 191px; 
	left: 79px;
	width: 29px;
	height: 29px;
	border: 1px dashed #444444;
}

a#Map_YouTube {
	bottom: 153px; 
	left: 35px;
	width: 68px;
	height: 23px;
	border: 1px dashed #444444;
}
/* ************************** LEFT SIDEBAR - SOCIAL ICONS : MAP *********************** */



/* ************************** LEFT SIDEBAR *********************** */
/* ************************** LEFT SIDEBAR *********************** */
/* ************************** LEFT SIDEBAR *********************** */
div.BottomSocial {
	display:block;
	margin-left: auto;
	margin-right: auto;
	width: 90px;
}



/* ************************** LEFT SIDEBAR *********************** */



/* ************************** SPACER *********************** */
/* ************************** SPACER *********************** */
/* ************************** SPACER *********************** */
div.MainFormSpacer {
	display: block;
	width: 10px;
}
/* ************************** SPACER *********************** */




.MainTidbitDaysLeft_en {
	display: block;
	position: relative;
	/*background: url(http://static.optimist.org/logos/days_left.png) 0 0 no-repeat; */
	width: 116px;
	height: 149px;
    margin: 0 0 0 59px;  /*  [234 (30% of 780) - 116 (image width)] / 2  {to center} */
    padding: 0px 0px 0px 0px;
	float: left;
	/* border: 1px solid #0000FF; */
}

.MainTidbitDaysLeft_fr {
	display: block;
	position: relative;
	background: url(../png/days_left_fr.png) 0 0 no-repeat; 
	width: 116px;
	height: 149px;
    margin: 0 0 0 00px;  /*  [234 (30% of 780) - 116 (image width)] / 2  {to center} */
    padding: 0px 0px 0px 0px;
	float: left;
	/* border: 1px solid #0000FF; */
}

.MainTidbitDaysLeftText_en {
	display: block;
	position: relative;
	font: normal 12px;
	text-align: center;
	float: left;
	width: 66px;
	height: 20px;
	margin: 80px 0 0 19px;
	padding: 4px 0 0 0;
	/* border: 1px solid #00FF00; */
}

.MainTidbitDaysLeftText_fr {
	display: block;
	position: relative;
	font: normal 12px;
	text-align: center;
	float: left;
	width: 66px;
	height: 20px;
	margin: 22px 0 0 19px;
	padding: 4px 0 0 0;
	/* border: 1px solid #00FF00; */
}

div.MainFormBodyBottom {
	background-color:#FFFFFF; 
	background-image: url(../png/body_bkgrd_bottom.png);
	background-repeat: no-repeat;
	width: 800px;
	height: 33px;
    margin: 0px;
    padding: 0px;
	background-position: 0px 21px; /* move image down 21px */
}

.dropmenudiv{
	position:absolute;
	top: 30px;
	line-height:18px;
	z-index:100;
	width: 150px;
	visibility: hidden;
}

div.MainBackTopOI {
	background-image: url(../main-top-oi.html);
	background-repeat: no-repeat;
	width: 702px;
	height: 63px;
	float:left;
}

div.MainBackBottomOI {
	background-image: url(../main-bottom-oi.html);
	background-repeat: no-repeat;
	width: 702px;
	height: 63px;
	float:left;
}

div.MainBackVisitors {
	width: 701px;
	height: 572px;
	margin-left: 30px;
	margin-top: 30px;
	padding: 0px 0px 0px 0px;
	float: left;
}

div.MainBackMembers {
	width: 700px;
	height: 647px;
	margin-left: 30px;
	margin-top: 30px;
	padding: 0px 0px 0px 0px;
	float: left;
}

div.MainBackGolfers {
	width: 701px;
	height: 572px;
	margin-left: 20px;
	margin-top: 30px;
	padding: 0px 0px 0px 0px;
	float:left;
}

.clearboth { clear: both; }



img.floatRight { 
    float: right; 
    margin-right: 40px; 
    margin-top: 50px; 
}

img.floatRightOijgc { 
    float: right; 
    margin-right: 0px; 
    margin-top: -40px; 
}

img.mainpageButton {
	display:block;
	margin-left:auto;
	margin-right:auto;
	max-width: 250px;
}

LI.area { 
    color: black;                /* text color is black */ 
    background: gray;            /* Content, padding will be gray */
    margin: 12px 12px 12px 12px;
    padding: 12px 0px 12px 12px; /* Note 0px padding right */
    list-style: none             /* no glyphs before a list item */
                                 /* No borders set */
}
LI.withborder {
    border-style: dashed;
    border-width: medium thin thick;        /* sets border width on all sides */
    border-color: yellow red blue green;
}

div.Border {
    border-style: dashed;
	border-width: thin;
    border-color: #795970;
}







.gallerycontainer{
	position: relative;
	/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
	border: 1px solid blue;
	margin: 0 5px 5px 0;
}

.thumbnail:hover{
	background-color: transparent;
}

.thumbnail:hover img{
	border: 1px solid red;
}

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	background-color: lightyellow;
	padding: 5px;
	left: -1000px;
	border: 1px dashed gray;
	visibility: hidden;
	color: black;
	text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
	border-width: 0;
	padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
	visibility: visible;
	top: 0;
	left: 230px; /*position where enlarged image should offset horizontally */
	z-index: 50;
}


div.TableDiv { display:table; }
div.RowDiv { display: table-row; }
div.CellDiv { display: table-cell; }

tr.TableRow td {
	font-size:9pt;
	font-weight:bold;
	text-align:left;
	border-top:2px solid #039;
	border-bottom:2px solid #039;
	margin:2px 0;
	padding:4px 0;
	background-color:#F0F3F9;
}

tr.TableRowHeader td {
	font-size:8pt;
	font-weight:bold;
	font-style:italic;
	text-align:left;
	border-bottom:2px solid #496DB6;
	margin:5px 0 2px 0;
	padding:5px 0 3px 0;
	vertical-align:bottom;
	background-color:#FAFBFD;
}

tr.TableRowDetail td {
	font-size:8pt;
	font-weight:normal;
	text-align:left;
	border-bottom:1px solid #496DB6;
	margin:2px 0;
	padding:2px 0;
	vertical-align:top;
}

button.menu_button {
	font-size:12pt;
	background-color: #ffffff;
    border: none;
    color: #0032a0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
	/*font-family: Calibri;*/
}

button.menu_button:hover {
	text-decoration: underline;
}

button.menu_button:focus {
	outline:0;
}

button.mobile_ham {
	background-color: #ffffff;
    border: none;
    color: #0032a0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

button.mobile_ham:hover {
	background-color: #ffffff;
    color: #0032a0;
}

button.mobile_ham,:focus {
	outline:0;
}

a.flip_choice, button.flip_choice, a.flip_choice:focus, button.flip_choice:focus, a.flip_choice:active, button.flip_choice:active {
	font-size: 18px;
	/*font-family: Calibri;*/
	font-weight: bold;
	color: #ffffff;
	background-color: #0032a0;
	border-color: #0032a0;
}

a.flip_choice:hover, button.flip_choice:hover {
	color: #0032a0;
	background-color: #ffffff;
}

ul.flip_links {
	font-size: 15px;
	text-align: center;
	/*font-family: Calibri;	*/
	padding: 0;
	margin: 0;
}

ul.flip_links li {
	list-style-type: none;
}

ul.flip_links a {
	color: #0032a0;
}

.list-group-item-half {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid #ddd;
  width:50%;
}
/*
ul.flip_links a:hover {
	color: #0032a0;
	text-decoration: underline;
}

*/

.WordWrap {
	word-wrap:break-word; 
	overflow-wrap:break-word; 
	word-break:break-all; 
}
