@import url('reset.css');


/* COMMENTS  */

*	{
/*  anything in here affects all HTML on page - set master font, padding, margins, etc.  */
}


/*   colors
    #F09656  = orange
    #56B0F0  = complementary blue
    #1E8CBE  = a slightly heavier blue
    #1CCDCA  = teal color 
    #E9E9E9  = light gray
    #FFFFFF  = white
    http://www.workwithcolor.com/hsl-color-schemer-01.htm

*/

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

body,
html {
    width: 100%;   /* added width and overflow lines to fix right white bar in safari ios, but overflow cuts off part of page.. */
    min-width: 1024px;  /* this fixed safari ios right side issues - forces this width instead of default 980px */
    /* overflow-x: hidden;    overflow hidden caused vert scroll bar*/
    font-family: 'Montserrat', Arial, Helvetica, Verdana, sans-serif;
    font-size: 100%;  /* this is default - 1 em = 16px */
    font-weight: 400;
    margin: 0; 
    padding: 0;
    color:#424242;   /*  font color dark gray */
    background: #FFFFFF;    /*  bg color of entire page --  light gray  #E9E9E9 */
}

a {
    color: #1E8CBE;  
    text-decoration: none;  /* don't underline links */
}
a:hover {
    border-bottom: #1E8CBE 1px solid;
}
img a:hover {    /* KEEP!! This one keeps bottom border of images from getting messed up */
    border-bottom: none !important;
}

/*  a:hover .img {          this fixed the underline prob on image link in main - leave out for now 
    text-decoration: none;
}  */

h1 {
    display: inline-block;  /* makes underline only extend to length of text */ 
	color: #4F4F4F;
    font-size: 1.5em;
    font-family: 'Montserrat', Arial, Helvetica, Verdana, sans-serif;
    border-bottom: 3px solid #F09656;   /* orange, was #9E9E9E;  old dark gray */
    text-transform: uppercase;
    font-weight: 700;
    /*  text-decoration: none;   taken out - not needed? */
	margin: 20px 0px 14px 25px;
	padding-bottom: 3px;  /* space between underline and heading */
}
h2 {
    color: #4F4F4F;
    display: inline-block;   /* makes the underline portion of H only extend length of text and not whole page */
    font-size: 1.2em;
    font-family: 'Montserrat', Arial, Helvetica, Verdana, sans-serif;
    font-weight: 700;
    margin: 16px 0px 12px 28px;
    padding: 0px;
    border-bottom: 2px solid #F09656;
    padding-bottom: 2px;
}
h4 {         /* section headings in the sidebar */
	display: inline-block; 
    font-size: 1.2em;
    font-family: 'Montserrat', Arial, Helvetica, Verdana;
    font-weight: 700;
    border-bottom: 2px solid #F09656;  
    color: #000000;
    margin: 2px 5px 5px -3px;
    padding: 2px 0px 3px 2px;
}

img.wrap-right {
   float: right;
   margin: 25px;
}
img.wrap-left  {       /* DIV class to align small images to left with text wrap */
    float: left;
    margin: 0 18px 0 22px;
}
img.photo-look {    /* puts border around photo */
   border: 1px solid #999;
   background-color: #fcfcfc;
   padding: 4px; 
}
img.photo-centered {     /* centers img in container */
	display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;   /* padding until next DIV below  */
}
img.sized {
	height: auto;	
	width: 280px;     /* you can set this so all images appear same width on page */
}

.wrapper {     /* wrappers contain various components and fix their width  */
    width: 1024px;  /* ios safari seems to cutoff screen wider than ++980px++  */
	margin-left: auto;
	margin-right: auto;
}

#header {
	clear: both;
	margin: 0;
	padding: 0;
	height: 70px; 
	background-color: #0F385F;  /* ADDED  #0F385F for dark blue, FFFFFF for white bg */
}

#header p {
	text-align: right;
	margin: 0 0px 0 0; /* was 0 30 0 0 - phone layout prob */
	font-size: 20px;
	font-weight: 700;
	color: #D6D6D6;  /* orange F09656 */
    padding-top: 22px;
    padding-right: 30px;   /* added instead of margin above, trying to fix */
}

#header img {
	float: left;
    margin: 5px 0px 5px 30px;   
    border: 1px #5E7285 solid;
}

#nav-menu {
	clear: both;
     /*  width: 100%;  ?? on mobile, extra space at right edge? */
	color: #1E8CBE;
	display: block;   /* not sure if needed, or inline-block? */
	font-size: 14px;
	font-weight: bold;
	background: #F5F5F5;
	border-top: 1px solid #E3E3E3;
    border-bottom: 2px solid #E3E3E3;  /*  #000;  black */
    text-align: center;
    line-height: 1.35em;
}
#nav-menu li {
	display:inline-block;
    padding: 0px 45px 0px 10px;
    vertical-align: middle;
}
#nav-menu li a:hover {
    color: #F09656;
    border-bottom: none;   /* taking this out causes menu text and soc button underline on hover */
    /*  border-bottom: 1px solid #000;  THIS WAS CAUSING UNDERLINE OF SOCIAL BUTTONS */  
}

#nav-menu li img {  /* spacing and border highlight for social buttons */
	border: 2px #F09656 solid;
	margin-top: 3px;
}
#nav-menu li.social-link {    /* puts last menu FOLLOW US closer to social buttons */
    padding-right: 0px;
}
#nav-menu li a:hover img {   /* highlights social button borders */
    border: 2px solid #DBDBDB;
}



#breadcrumb {
    color: #9E9E9E;
    font-size: 12px;
    /*width:  730px;    not needed?  730px */
    margin: 5px 0px 0px 12px;
}

#byline {
    font-family: 'Montserrat', Arial, Helvetica, Verdana, sans-serif;
	color: #BABABA;
    font-size: 11px;
    margin: -8px 20px 0px 20px;   /* this creates the spacing between one box and the one below it */
}
.byline-box {    /* this is the formatted and outlined box that contains the byline */
	padding: 3px 12px;         /* sets general space of text in box from sides of box */
	background-color: #F5F5F5;  /* F5F5F5 */
	border: 1px solid #E3E3E3;
	border-radius: 1px;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05) inset;
}

#main {
	float: left;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 16px;
	width:  732px;  /* 732 */
	padding: 8px;
	border-left: 1px solid;
    border-color: #E3E3E3;  /* E3E3E3  */
}
#main p {
	color: #424242;
    line-height: 1.5em;
	padding: 2px 18px 18px 33px;
}

.videobox {                 /* holder for embedded youtube clip - center in column */
    width:560px;
    margin-left: auto;
    margin-right: auto;
}

.main-pagination    {
    text-align: center;
    /*width: 100%;    this margin and width required for centering UL type menu */
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 40px;  /* space to footer */
}
.main-pagination ul {
    list-style:none;
}
.main-pagination li {
    display:inline;
    font-size: 12px;
    font-family: Arial, Helvetica, Verdana, sans-serif;
    font-weight: bold;
    padding: 0px 16px;
}

.amazon-box-ad  {       /* holder for amazon box ad on right side, slide down 25px to align with paragraph to left..  */
    float: right;
    margin: 25px;
}

#sidebar {
    float: right;
	font-size: .8em;
	line-height: 1.3em;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	width: 248px; 
	padding: 8px;
}

#sidebar a:hover {   /* text link vs img link prob - this underlines text links from ul */
    border-bottom: 1px #1E8CBE solid;   /* removing this removes underlines from img and txt -- strange, applying wrap-right or wrap-left to image removes the underline error */
}

#sidebar .wrap-right {   /* formatting thumbnail in sidebar box */
    margin: 5px;
}

#sidebar .sidebar-box {    /* this is the formatted and outlined box that contains the sidebar sections */
	padding: 12px;          /* sets general space of text in box from sides of box */
	margin-bottom: 12px;   /* this creates the spacing between one box and the one below it */
	background-color: #F5F5F5;
	border: 1px solid #E3E3E3;
	border-radius: 4px;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05) inset;
}

#sidebar .sidebar-video img {
    margin: 6px 0px 8px 25px;
}

.side-amazon-box-ad  {       /* holder for amazon box ad on sidebar */
    margin: 0 0 6px 35px;
}

/* these are the UL lists of related or recent articles in sidebar */
#related-stories ul {
    padding-left: 14px;
    list-style: square outside none;
} 
#related-stories li {
    font-family: Verdana, sans-serif;
    font-size: 13px;
    color: #F09656;   /* this sets font color to orange to force UL bullet to orange, see next.. */
	padding-top: 8px;
}
/*
#sidebar li:last-child {   affects entire sidebar including related-stories
  border-bottom: 0;    stops underline on last item in list */
}

#related-stories li span {
  color: #424242;     /* this uses SPAN to encode the intro/summary text and change back to black, keeping bullet orange  */
}
#related-stories li a {
    color: #1E8CBE;  
    text-decoration: none;  /* don't underline links */
    line-height: 1.2em;
}
#related-stories li a:hover {   /* text link vs img link prob - this underlines text links from ul */
    border-bottom: 1px #1E8CBE solid;  /* underlines just li txt links */
}


#bottom-box {    /* this is the formatted area that contains the bottom section - has KEEP READING etc.*/
    clear:both;
    font-family: Verdana, sans-serif;
    font-size: 13px;
    line-height: 1.2em;
    padding: 8px 0 12px 12px;
    margin: 15px 0 -8px -8px;   /* to overcome padding built into the MAIN container, push left and down */
    /* border: 1px solid #E3E3E3;  */
    background-color: #F5F5F5;
    border: 1px solid #E3E3E3;
    border-radius: 2px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05) inset;
}
#bottom-box ul {
    padding: 0 0px 0 2px;
    list-style: none;
} 
#bottom-box li {
    line-height: 1.3em;
    margin-top: 4px;
    margin-bottom: 4px;
}

#footer {
	clear:both;
    height: 90px;
	padding:0px 10px 0 10px;
    color: white;
    background: #3A3A3A;
    background-image: url("http://www.galttech.com/images/footbg_black.png"); 
}
#footer.search {height: 100px;}

.footer-menu {
    /* width: 100%; */
    color: #1E8CBE;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2em;
}

.footer-menu li {
    display:inline-block;
    padding: 15px 0px 10px 20px;
    vertical-align: middle;
}
.footer-menu li a:hover {
    color: #F09656;
}
p.copyright {
    font-size: 12px;
    text-align: center;
    color: #9E9E9E;
    padding: 10px 0 10px 0;
}

/*  ++++++++++++++++++++++++++++++++++++++++++++++++++++++  */
/*  ++++++    SPECIFIC CODE FOR RESEARCH INDEX PAGES  ++++  */

.headline {color: #F09656;font-size: 42px;padding: 25px 40px 30px 40px;text-align: left;}
p.welcome {padding-bottom: 8px;}
/* open para on research index page */
p.intro {font-size: 16px; font-family: Arial, Helvetica, sans-serif; color: #424242; text-align: left; line-height: 1.5em; padding-left: 8px;}
/* keeps search field at top from being too wide  */
.search-wrap {width: 400px; margin: 10px 0 -15px 10px;}
/* wrapper at bottom to give space before footer */
#spacer {clear: both; margin-bottom: 60px;}  /* took out  width=100% trying to fix safari error */

.INDEXsidebar-box {    /* this is the formatted and outlined box used on the topic index pages in MAIN window, diff size */
    padding: 18px;          /* sets general space of text in box from sides of box */
    margin-bottom: 12px;   /* this creates the spacing between one box and the one below it */
    margin-right: 5px;
    margin-left: 30px;
    background-color: #F5F5F5;
    border: 1px solid #E3E3E3;
    border-radius: 4px;
    width: 430px;
    float: left;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05) inset;
}

.INDEXsidebar-box h2 {
    margin: 2px 5px 5px -3px;
}