body {
margin: 0;
padding: 0;
}

/* Small reset */
#headwrap ul, #headwrap ol, #headwrap h1, #headwrap h2, #headwrap h3, #headwrap h4, #headwrap h5, #headwrap h6, #headwrap form, #headwrap li, #headwrap p{ margin:0; padding:0; }
#contentwrap ul, #contentwrap ol, #contentwrap h2, #contentwrap h3, #contentwrap h4, #contentwrap h5, #contentwrap h6, #contentwrap form, #contentwrap li, #contentwrap p{ margin:0; padding:0; }
#footerwrap ul, #footerwrap ol, #footerwrap h1, #footerwrap h2, #footerwrap h3, #footerwrap h4, #footerwrap h5, #footerwrap h6, #footerwrap form, #footerwrap li, #footerwrap p{ margin:0; padding:0; }

/*Structured layout mainpage*/
body{
font-size:14px;
font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
/*background: #fff url(/wordpress/wp-content/themes/avantlink/images/skin1/bg.png) repeat-x 0 0;*/
/*color:#666;*/
}

#headwrap h1, #headwrap h2, #headwrap h3, #headwrap h4, #headwrap h5, #headwraph 6 { font-family:"Trebuchet MS",Arial,Helvetica,sans-serif; font-weight:normal; /*letter-spacing:0.4px;*/ line-height:1.4em; padding-bottom:5px; position:relative; color:#126DB9; }
#contentwrap h1, #contentwrap h2, #contentwrap h3, #contentwrap h4, #contentwrap h5, #contentwrap h6 { font-family:"Trebuchet MS",Arial,Helvetica,sans-serif; font-weight:normal; /*letter-spacing:0.4px;*/ line-height:1.4em; padding-bottom:5px; position:relative; }
#footerwrap h1, #footerwrap h2, #footerwrap h3, #footerwrap h4, #footerwrap h5, #footerwrap h6 { font-family:"Trebuchet MS",Arial,Helvetica,sans-serif; font-weight:normal; /*letter-spacing:0.4px;*/ line-height:1.4em; padding-bottom:5px; position:relative; color:#126DB9; }

h1 {clear:both; font-size:24px;}
h2 {font-size:22px; clear:both; font-weight: 100;}
h3 {font-size:18px; clear:both;font-weight: 300;}
h4 {font-size:12px; clear:both;}
h5 {font-size:11px; clear:both;}
h6 {font-size:10px; clear:both;}

#headwrap h1 a, #headwrap h2 a, #headwrap h3 a, #headwrap h4 a, #headwrap h5 a, #headwrap h6 a { text-decoration:none; border:none; } 
#contentwrap h1 a, #contentwrap h2 a, #contentwrap h3 a, #contentwrap h4 a, #contentwrap h5 a, #contentwrap h6 a { text-decoration:none; border:none; } 
#footerwrap h1 a, #footerwrap h2 a, #footerwrap h3 a, #footerwrap h4 a, #footerwrap h5 a, #footerwrap h6 a { text-decoration:none; border:none; } 

#headwrap p { line-height:18px; padding:0.55em 0; }
#contentwrap p { line-height:18px; padding:0.55em 0; }
#footerwrap p { line-height:18px; padding:0.55em 0; }

a { color:#126DB9; text-decoration: none;}
a:hover { color:#333;}
a:focus { outline: none; }

#contentwrap, #footer{
position:relative;
width:100%;
margin:0 auto;
clear: both;
padding-left:0px !important; /*ie6fix*/
padding-left:20px;
z-index:1;
}


#footer{
padding-top:40px;
clear: both;
width: 947px;
}

#head{
/*z-index: 5;*/
position: relative;
width:960px;
height: 82px;
margin:0px auto;
padding:0;
background: url(https://static.avantlink.com/images/homepage-images/bg_header-sub.jpg) no-repeat -12px 0px;
}
.home #head{
/*z-index: 5;*/
position: relative;
width:960px;
height: 69px;
margin:0px auto;
padding:0;
background: url(/wordpress/wp-content/themes/avantlink/images/skin1/bg_header_b.jpg) no-repeat -12px 0px;
}


/************************************************************************
HEAD AREA
*************************************************************************/

#top .logo, #top .logo a{
display:block;
height:56px;
width:200px;
position:absolute;
left:6px;
top:14px;
border: none;
padding: 0;
margin:0;
z-index: 10;
}

#top .logo a{
top:0px;
left:0;
outline:none;
border: none;
}
#top .logo a img{
border: none;
}

#top .logobg a {
text-indent:-9999px;
}

#headextras{
position: absolute;
right:6px;
padding:0px 0px 0px 0px;
top:-6px;
width:345px;
z-index: 10;
}

#menu-item-101 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -16px -64px;
}
#menu-item-101 a:hover {
    background-position: -16px -93px;
}
#menu-item-101.current_page_item a {
    background-position: -16px -93px;
    color: #ffffff !important;
}
#menu-item-101.current_page_ancestor a {
    background-position: -16px -93px;
    color: #ffffff !important;
}
#menu-item-219 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -300px -64px;
}
#menu-item-219 a:hover {
    background-position: -300px -93px;
}
#menu-item-219.current_page_item a {
    background-position: -300px -93px;
    color: #ffffff !important;
}
#menu-item-219.current_page_ancestor a {
    background-position: -300px -93px;
    color: #ffffff !important;
}
#menu-item-220 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -716px -64px;
}
#menu-item-220 a:hover {
    background-position: -716px -93px;
}
#menu-item-220.current_page_item a {
    background-position: -716px -93px;
    color: #ffffff !important;
}
#menu-item-220.current_page_ancestor a {
    background-position: -716px -93px;
    color: #ffffff !important;
}
#menu-item-102 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -157px -64px;
}
#menu-item-102 a:hover {
    background-position: -157px -93px;
}
#menu-item-102.current_page_item a {
    background-position: -157px -93px;
    color: #ffffff !important;
}
#menu-item-103 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -156px -64px;
}
#menu-item-103 a:hover {
    background-position: -156px -93px;
}
#menu-item-103.current_page_item a {
    background-position: -156px -93px;
    color: #ffffff !important;
}
#menu-item-676 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -156px -64px;
}
#menu-item-676 a:hover {
    background-position: -156px -93px;
}
#menu-item-676.current_page_item a {
    background-position: -156px -93px;
    color: #ffffff !important;
}
#menu-item-1525 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -156px -64px;
}
#menu-item-1525 a:hover {
    background-position: -156px -93px;
}
#menu-item-1525.current_page_item a {
    background-position: -156px -93px;
    color: #ffffff !important;
}
#menu-item-105 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -436px -64px;
}
#menu-item-105 a:hover {
    background-position: -436px -93px;
}
#menu-item-105.current_page_item a {
    background-position: -436px -93px;
    color: #ffffff !important;
}
#menu-item-104 a {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -575px -64px;
}
#menu-item-104 a:hover {
    background-position: -575px -93px;
}
#menu-item-104.current_page_item a {
    background-position: -575px -93px;
    color: #ffffff !important;
}

/*navigation pages*/
.nav_wrapper{
float: right;
position: relative;
height:36px;
width: 590px;
top:30px;
right: 5px;
z-index: 999;
}

#top .nav{
position: relative;
height:36px;
list-style-type: none;
list-style-position: outside;
margin:0;
z-index: 6;
font-size: 1.06em;
float: right;
}

.nav li a{
display:block;
float:left;
padding:5px 5px 6px 34px;
width:auto;
border: none;
text-decoration: none;
line-height: 24px;
outline: none;
font-weight: 300;
}


.nav ul{
margin:0;
padding:0;
list-style-type:none;
list-style-position:outside;
position:relative;
line-height:50px; 
/*z-index:5;*/
}


#top .nav ul a{
line-height:20px;
font-size: 12px;
cursor: pointer;
}

#top .nav li{
float:left;
position:relative;
z-index:20;
}

#top .nav li li{
border-left:none;
margin-top:0;
}

#top .nav ul {
display:none;
position:absolute;
top:35px;
width:172px;
left:10px;
}

#top .nav li ul a{
width:150px;
height:auto;
float:left;
text-align:left;
padding:4px 10px;
}

#top .nav ul ul{
top:auto;
border-top:none;
}	

#top .nav li ul ul {
left:171px;
top:-1px;
}

#top .nav li:hover ul ul, #top .nav li:hover ul ul ul,#top  .nav li:hover ul ul ul ul{
display:none;	
}
#top .nav li:hover ul, #top .nav li li:hover ul, #top .nav li li li:hover ul, #top .nav li li li li:hover ul{
display:block;
}

#top .nav li ul a{
border-top:none;
}

.bottom_right_rounded_corner, .bottom_left_rounded_corner{
position: absolute;
z-index: 50;
display: block;
height:7px;
width:7px;
bottom:0px !important; /* ie6fix */
left:0px;
bottom:-1px;
}

#top .bottom_right_rounded_corner{
right:0px !important; /* ie6fix */
right:-1px;
left:auto;
}

.box h3{
padding:7px 0 4px;
}

.box li a, #recentcomments li{
display:block;
line-height:22px;
padding:0px 0px;
text-decoration: none;
text-align: left;
}

.box li{
list-style-type: none;
list-style-position: outside;
line-height: 19px;
}

/*footer*/

.column {
width:293px;
float:left;
padding-left:0px;
margin-right:38px;
margin-top: 40px;
}

.column .box {
width:100%;
float:left;
overflow:hidden;
padding-bottom:10px;
position:relative;
}

#top #social_icons ul {
clear:both;
float:left;
padding:0 0 10px;
width:100%;
margin:0 0 40px;
}

#social_icons li{
float:left;
list-style-type: none;
list-style-position: outside;
}


#social_icons li a{
float:left;
display:block;
text-indent: -9999px;
height:32px;
width:32px;
border:none;
padding-right:5px;
outline: none;
}

/*generic*/


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

#top h1 a:hover, #top h2 a:hover, #top h3 a:hover, #top h4 a:hover, #top h5 a:hover, #top h6 a:hover{
text-decoration:none;
border:none;
} 

#top .logobg a{
background: transparent url(https://static.avantlink.com/images/network-logos/avantlink-com.png) no-repeat left top;
}

#headwrap{
/*border-bottom:2px solid #333333;*/
background: url(/wordpress/wp-content/themes/avantlink/images/skin1/bg_header_repeat-sub.jpg) repeat-x 0 0;
}

#headextras{
/*background: #131313;
border: 1px solid #333;*/
}
#headextras ul li {
    float: right;
    list-style-type: none !important;
    margin: 0px 0px;
}

/*nav pages*/
.nav li a{
color:#aaa;
}

.nav .current a, .nav li a:hover, .nav .currentli_item a{
color:#fff;
}

#top .nav li ul a{
border:1px solid #484848;
border-top:none;
color:#aaa;
background: #222;
}

#top .nav li ul a:hover{
background:#262626;
color:#fff;
}

#top .nav li ul {
border-top:1px solid #484848;
z-index: 999;
}

/*TITLE BANNER*/
#title_banner_wrap {
    width: 100%;
    height: 74px;
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/bg_banner_sub_repeat.jpg) repeat-x 0 0;
}
#title_banner {
    width: 975px;
    height: 74px;
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/bg_banner_sub.jpg) no-repeat top center;
    margin: 0 auto;
}
.title_banner_h1 {
   color:#999999;
float:left;
font-weight:100;
margin:19px 0px 0 0;
padding:0 17px 0 0;
text-transform:lowercase;
}
.title_banner_description {
  background:url("/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png") no-repeat scroll -16px -858px transparent;
color:#DDDDDD;
float:left;
font-size:15px !important;
margin:25px 0 0;
padding-left:26px;
line-height: 23px !important;
}


.title_banner_h1_account_switch {
margin:-3px 0 0 !important;
}

.title_banner_description_account_switch {
margin:3px 0 0 !important;
}





/* footer */
#footerwrap, #wp-calendar th, #prev, #next{
background: #222;
}
#footerwrap {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/bg_footer_repeat.jpg) repeat-x 0 0;
}

#footer {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/bg_footer.jpg) no-repeat center;
    height: 306px;
    padding: 0 !important;
}
#footer_column_wrap {
	height:246px;
}
#footer .box img{
border:1px solid #333;
}

#footer .box img:hover{
border:1px solid #555;
}

#footer .column1 {
    width: 525px;
}
#footer .column2 {
float:left;
margin-right:0px;
margin-top:40px;
padding-left:0;
width:384px;
}
#footer .column1 ul {
    background: #232323;
    height: 30px;
    padding: 0px;
}
#footer .column1 li {
    float: left;
}
#footer .column1 li a {
    background: none !important;
    border: 0 none !important;
    padding: 4px 11px 3px 12px;
    font-size:14px;
    color:#ffffff;
}

.footer_bottom_content {
    width: 947px;
    padding: 6px 0px;
    height: 43px;
}
.footer_social_links {
    float: left;
    height: 33px;
    width: 300px;
    margin-top: 6px;
}
.footer_social_links ul li {
    float: left;
    list-style-type: none !important;
    margin-right: 12px !important;
}
#facebook, #twitter, #youtube, #rss {
    display: block;
    width: 35px;
    height: 31px;
}
#facebook {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -18px -339px;
}
#facebook:hover {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -18px -385px;

}
#twitter {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -61px -339px;
}
#twitter:hover {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -61px -385px;
}
#youtube {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -103px -339px;
}
#youtube:hover {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -103px -385px;
}
#rss {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -146px -339px;
}
#rss:hover {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png) no-repeat -146px -385px;
}
.footer_copyright {
    float: right;
    height: 33px;
    width: 535px;
    text-align: right;
    margin-top: 10px;
}

/*comments*/

#top #social_icons ul{
border-top:none;
border-bottom:1px solid #e1e1e1;
}

/*generic*/

#top h1 a:hover, #top h2 a:hover, #top h3 a:hover, #top h4 a:hover, #top h5 a:hover, #top h6 a:hover{
color:#888f96;
} 

#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6, #footer legend, #footer h1 a, #footer h2 a, #footer h3 a, #footer h4 a, #footer h5 a, #footer h6 a{
color:#686B6D;
font-size:22px;
font-weight:100;
margin-bottom:10px;
padding-bottom:8px;
}

#top h1 a:hover, #top h2 a:hover, #top h3 a:hover, #top h4 a:hover, #top h5 a:hover, #top h6 a:hover{
color:#888f96;
} 

#footer a{
	color:#fff;
	text-decoration: none;
	}
#footer .footer_copyright a{
	color:#666;
}
#footer a:hover{
	color:#126DB9 !important;
}
	
#footer h3, #top #footer .box_entry {
border-bottom:1px solid #686B6D;
text-align: left;
}

.footer_copyright {
color: #666666;
}

#footer .textwidget { text-align: left; }

h2.big_blue_text {
    color: #126DB9;
    font-size: 31px;
    line-height: 33px;
    margin-bottom: 0px;
    font-weight: 100;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;    
}
h2.big_affiliate_text {
    color: #5d6367;
  	font-size: 31px;
    line-height: 33px;
    margin-bottom: 0px;
    font-weight: 100;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;    
}
h2.big_merchant_text {
    color: #5b5853;
  	font-size: 31px;
    line-height: 33px;
    margin-bottom: 0px;
    font-weight: 100;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;    
}
.big_gray_text {
	font-size: 18px;
	line-h:22px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;    
}



form#contact {
	border: 1px solid #cccccc;
	background: #f5f5f4;
	width: 390px;
	padding: 20px;
}
form#contact input {
	background: #ffffff;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e9e9e9'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e9e9e9)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #ffffff,  #e9e9e9); /* for firefox 3.6+ */
	border: 1px solid #cccccc;
	margin: 5px 5px 5px 0px;
	padding: 5px;
	width: 200px;
	color: #333333;
	font-size: 13px;
}
form#contact select {
	background: #ffffff;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e9e9e9'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e9e9e9)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #ffffff,  #e9e9e9); /* for firefox 3.6+ */
	border: 1px solid #cccccc;
	margin: 5px 5px 5px 0px;
	padding: 5px;
	width: 212px;
	color: #333333;
	font-size: 13px;
}
form#contact textarea {
	background: #ffffff;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e9e9e9'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e9e9e9)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #ffffff,  #e9e9e9); /* for firefox 3.6+ */
	border: 1px solid #cccccc;
	margin: 5px 5px 5px 0px;
	padding: 5px;
	width: 428px;
	color: #333333;
}
form#contact textarea {
	width: 358px;
	height: 150px;
}
form#contact input#gray_submit_button {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: #ffffff;
    background: #666666;
    border: 2px solid #999999;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    padding: 5px;
    text-decoration: none;
	width: 70px;
	filter: none;
}
form#contact input#gray_submit_button:hover {
    background: #333333;
    color: #ffffff;
    filter: none;
}
form#contact ul li {
	list-style-type: none;
}


#gray_submit_button {
    -moz-border-radius:6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
	background:none repeat scroll 0 0 #126DB9 !important;
	border:2px solid #444444 !important;
	color:#FFFFFF;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding:1px 14px !important;
	text-decoration:none;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#595959', endColorstr='#313232')!important; /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#595959), to(#313232))!important; /* for webkit browsers 	*/
	background: -moz-linear-gradient(top,  #595959,  #313232)!important; /* for firefox 3.6+ */
	font-size: 14px;
	text-transform: lowercase;
}
#gray_submit_button:hover {
    background: #333333 !important;
    color: #ffffff;
}
form#contact input#gray_submit_button {
	text-transform: none;
}
form#contact label {
	font-weight: normal;
	font-family:Arial,Helevtica,Verdana,san-serif;
	font-size:14px;
	line-height:23px;
}


#headextras #toggle { line-height: 23px; }
a.client_logout_button#logout {
    display: block;
    width: 100px;
    height: 30px;
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/logout.png) no-repeat 0px 6px;
}
a.client_logout_button#logout:hover {
    background: url(/wordpress/wp-content/themes/avantlink/images/skin1/logout_hover.png) no-repeat 0px 6px;
}


/* Link button styling, to match public pages */
a.affiliates_learn_more, a.affiliates_learn_more:visited {
    background: #6D787A;
    border: 2px solid #4f6165;
    color: #ffffff !important;
    font-family: "Trebuchet MS",Helvetica,sans-serif;
    padding: 3px 10px;
    text-decoration: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#809195', endColorstr='#647579'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#809195), to(#647579)); /* for webkit browsers 	*/
	background: -moz-linear-gradient(top,  #809195,  #647579); /* for firefox 3.6+ */
}
a.affiliates_learn_more:hover {
    background: #666666;
    color: #ffffff;
}

.api_left{
float:left;
padding-right:25px;
width:325px;
}

.api_right{
	float:left;
width:339px;
}

.api_title {
background:url("/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png") no-repeat scroll -22px -217px transparent;
border-bottom:1px solid #E1E0E0;
color:#6D7B7F;
font-size:18px;
margin-bottom:8px;
padding-bottom:5px;
padding-left:21px;
width:320px;
}

.api_title2 {
background:url("/wordpress/wp-content/themes/avantlink/images/skin1/master_buttons.png") no-repeat scroll -22px -172px transparent;
border-bottom:1px solid #E1E0E0;
color:#7B7568;
font-size:18px;
margin-bottom:8px;
padding-bottom:5px;
padding-left:20px;
width:355px;
}

/* Styling for flag login switching in affiliate interface */
.switchLoginFlag { 
	opacity: 0.4; 
	filter: alpha(opacity=40);
}
.switchLoginFlag:hover { 
	opacity: 1;
	filter: alpha(opacity=100);
	cursor: pointer;
}
.switchLoginFlag, .currLoginFlag { 
	padding: 0 3px 0 3px;
}	
