/* 

Advanix Template - CSS File

*/


/*** GLOBAL  ***/
html,body{height:100%;}
body {
  /*font-family:Arial, Helvetica, sans-serif;*/
  font-family:Georgia, "Times New Roman", Times, serif;
  font-size:12px;
  margin:0 auto;
  padding:0;
  color:#535353;
  height:100%;
  line-height:20px;
  background-color:#f2f2f2;
}
* {
  margin:0;
  padding:0;
}
*:focus {
  outline:none; /* removes ugly dotted border but may make template more unsuable, up to you
           if you want to keep it! */
}

.mobile { display:none; }

.clr, .clear{clear:both}
form{margin:0; padding:0;}
hr {
  border: 0;
  color: #e0e0e0;
  background-color: #d4d4d4;
  height: 1px;
  margin:0px 0px 25px 0px;
  padding:0px;
}

/*** END OF GLOBAL  ***/

/*** DEFAULT ELEMENT STYLES ***/
/* heading */
h1, h2{ margin-bottom:20px; font-family:Georgia, "Times New Roman", Times, serif; font-weight:normal;}
h3, h4, h5, h6{margin-bottom:15px; font-family:Georgia, "Times New Roman", Times, serif; font-weight:normal;}
h1 {font-size:30px; line-height:24px;}
h2 {font-size:24px; line-height:26px;}
h3 {font-size:22px; line-height:24px;}
h4 {font-size:16px; line-height:16px;}
h5 {font-size:14px; line-height:15px;}
h6 {font-size:10px; line-height:15px;}

/* links */
a {color:#3076bd; text-decoration:none;}
a:hover{color:#3076bd; text-decoration:underline;}
a img{border:none}

/* float align */
.alignleft,
img.alignleft {
  display: inline;
  float: left;
  margin-right: 21px;
  margin-top: 3px;
}
.alignright,
img.alignright {
  display: inline;
  float: right;
  margin-left: 21px;
  margin-top: 5px;
}
.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignnone,
img.alignnone {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top:3px;
}


img.alignleft, 
img.alignright, 
img.aligncenter,
img.alignnone {
  margin-bottom: 0px;
  border:solid 0px #e0e0e0
}

/* lists, blockquotes and paragraphs */
p, ul, ol, blockquote {
  margin-bottom:15px;
}
ul, ol {
  margin:10px 0 35px 30px;
}
li ol,
li ul
{
  list-style:square;
  margin-bottom:0;
  margin-top:0;
}
li ol {list-style:decimal;}
blockquote {
  margin:0px 0 20px 0px;
  padding:0px 10px 0px 60px;
  background-image:url(/images/quote.png);
  background-repeat:no-repeat;
  background-position:0px 0px;
  clear:both;
  font-style:italic;
  }
  
blockquote.alignleft, blockquote.alignright  {
  float:right;
  letter-spacing:0px;
  margin-bottom:20px;
  margin-left:20px;
  margin-top:0px;
  padding:0px 20px 10px 60px;
  width:43%;
  background-position:0px 0px;
  }
  
blockquote.alignleft{
  float:left;
  margin-left:0px;
  margin-right:20px;}
  
  
blockquote p{ margin:0px;}

/* code */
code {
  font-family:Verdana, Arial;
  letter-spacing:1px;
  margin:25px 0 25px 0px;
  display:block;
  font-size:0.9em;
  border-left:4px solid #e0e0e0;
  padding:15px 10px;
}

/* DROPCAPS */
.dropcap1{
  text-shadow:1px 1px 0 #fff;
  color:#3076bd;
  display:block;
  float:left;
  font-size:34px;
  line-height:34px;
  margin:2px 8px 0 0;
}
.dropcap2{
  background: transparent url(/images/dropcaps.png) top left no-repeat;
  color:#fff;
  display:block;
  float:left;
  font-size:25px;
  line-height:40px;
  width:40px;
  height:40px;
  text-align: center;
  margin:4px 8px 0 0;
}
.dropcap3{
  background: #3076bd;
  color:#fff;
  display:block;
  float:left;
  font-size:25px;
  line-height:40px;
  width:40px;
  height:40px;
  text-align: center;
  margin:6px 8px 0 0;
}

/* HIGHLIGHT */
.highlight1{padding:1px 4px;background-color:yellow;color:#111;}  
.highlight2{padding:1px 4px;background-color:#111;color:#eee;}  


/* TABBLES */
table {border-collapse:separate;border-spacing:0;width:100%;border-top:1px solid #ececec;margin-bottom:18px;}
table,td,th { text-align:center;}
th{padding:10px;color:#666;text-transform:uppercase;}
td{padding:10px;color:#888;}
tfoot td{border:0px;}
th,tr:hover{background-color:#ececec;}
table {
  border: 1px solid #e7e7e7;
  text-align: left;
  margin: 0 -1px 24px 0;
  width: 100%;
}
tr th,
thead th {
  color: #888;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  padding: 9px 24px;
}
tr td {
  border-top: 1px solid #e7e7e7;
  padding: 6px 24px;
}
tr.odd td {
  background: #F2F7FC;
}

.career_date { width: 45px; }

/* column */
.one_half{ width:48%; }
.one_third{ width:30.66%; }
.two_third{ width:65.32%; }
.one_fourth{width:22%; }
.three_fourth{width:74%;}
.one_six{width:14.8%;}
.three_six{width:43.4%;}
.one_half,.one_third,.one_fourth, .three_fourth, .two_third, .one_six, .three_six{ position:relative; margin-right:4%; float:left; }
.last{ margin-right:0 !important; clear:right; }
.one_fourth p{margin-bottom:10px;}

/*** END OF DEFAULT ELEMENT STYLES ***/


/*** CONTAINER ***/
#top_container{ background-image:url(/images/bg_container_top.gif); background-repeat:repeat-x; background-position:top}
#bottom_container{ background-image:url(/images/bg_container_bottom.gif); background-repeat:repeat-x; background-color:#222222; min-height:401px;}
#footer_container{ border-top:1px solid #444343; background-color:#191919;}
/*** END OF CONTAINER ***/

/*** CENTERCOLUMN ***/
.centercolumn{width:940px; margin:0px auto 0px auto;}
/*** END OF CENTERCOLUMN ***/

/*** TOP ***/
#top{height:32px; clear:both; padding-top:10px; color:#fff;}
#top_left{ float:left; font-size:14px;}
#top_right{ float:right; font-size:12px;}
#top_right a{ color:#fff; text-decoration:none;}
#top_right a:hover{ text-decoration:underline;}
/*** END TOP ***/

/*** HEADER ***/
#header{height:130px;}
#logo{
  /*width:288px; */
  float:left;
}
#logo a{ color:#535353;}
#logo a:hover{ text-decoration:none;}
#logo { margin-top:42px; margin-bottom:0px;}

/*** NAVIGATION ***/
#main_nav_mobile {
  display: none;
}

#navigation { margin:0px;  position:relative; z-index:200;}
#nav{margin:50px -0.5em 0 0; padding:0px; list-style-type:none;  float:right;  position:relative; line-height:20px;}
#nav li a.current {color:#3076bd; text-decoration:none}

.sf-menu a:hover, .sfHover a, .sf-menu ul li.sfHover > a {
  color:#3076bd;
}
.sf-menu a {
  color:#535353;  font-family:Georgia, "Times New Roman", Times, serif; text-decoration:none!important;
}
.sf-menu li li {
  border-bottom:1px solid #dfdfdf; 
}
.sf-menu ul a {
  background:#ebebeb;
}
.sf-menu li li:last-child {
  border-bottom:1px solid #fff;
}
.sfHover, .sf-menu li ul {
  background:#d7d7d7;
}
.sf-menu ul a:hover {
  background:#ebebeb;
}
.sf-menu li li {
  background:#ebebeb;
  border-left:1px solid #fff;
  border-right:1px solid #fff;
}
.sf-menu li li:first-child {
  border-top:1px solid #fff;
}


/* Drop down menu */
.sf-menu, .sf-menu * {
  margin:      0;
  padding:    0;
  list-style:    none;
  font-size:18px;
  
}
.sf-menu {
  line-height:100%;
  position:absolute;
  right:0;
  bottom:0;
  float:left;
}
.sf-menu ul {
  position:    absolute;
  top:      -999em;
  width:      20em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
  width:      100%;
}
.sf-menu li:hover {
  visibility:    inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
  float:      left;
  position:    relative;
}
.sf-menu a {
  display:    block;
  position:    relative;
  padding:     .7em 0.5em 0;
  text-decoration:none;
  font-weight:normal;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
  left:      0;
  top:      2.4em; /* match top ul list item height */
  z-index:    99;

}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
  top:      -999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
  left:      10em; /* match ul width */
  top:      -5px;
  margin-left:  2px;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
  top:      -999em;
  
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
  left:      10em; /* match ul width */
  top:      -11px;
  
}
.sf-menu ul li a{
  font-size:12px;
  font-family:Georgia, "Times New Roman", Times, serif;
  font-weight:bold;
}
.sf-menu li ul {
  padding:5px 7px 6px 5px;
}
.sf-menu a.sf-with-ul {
  padding-right:   18px;
  min-width:    1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
  position:    absolute;
  display:    block;
  right:      10px;
  top:      1.05em; /* IE6 only */
  width:      10px;
  height:      10px;
  text-indent:   -999em;
  overflow:    hidden;
}

/* */
/*** END HEADER ***/


/** SLIDER **/
#slider{width:940px; height:430px; position:relative; z-index:0;}
#slideshow{height:430px; background:none; overflow:hidden; background-color:#ececec;}
.slide-text{ z-index:100 !important; position:absolute; padding:20px 40px 0px 0px; width:330px; height:180px; top:220px; left:560px; background-color:#FFFFFF;text-align:right; }
.slide-text h1{ font-size:27px; color:#3076bd; line-height:30px; border-bottom:1px solid #eeeded; margin:0 0 10px 30px; padding-bottom:15px;}
.slide-text p{margin:0 0 0px 50px; font-size:14px; color:#727272; font-style:italic; font-family:Georgia, "Times New Roman", Times, serif;}
#slideshow_navigation{position:absolute; left:880px; top:410px; z-index:300; cursor:pointer}
.cycle img{ z-index:0;}
#prev-slider{
  width:9px;
  height:10px;
  background-image:url(/images/prev-slider.png);
  background-repeat:no-repeat;
  display:block;
  position:absolute;
  bottom:2px;
  right:10px;
  z-index:101
}

#next-slider{
  width:9px;
  height:10px;
  background-image:url(/images/next-slider.png);
  background-repeat:no-repeat;
  display:block;
  position:absolute;
  bottom:2px;
  left:2px;
  z-index:101
}
/**END SLIDER***/

/** SMALL SLIDER **/
#small_slider{width:593px; height:290px; position:relative}
#small_slider h2{ margin-bottom:19px!important;}
#small_slider #slideshow{height:290px; background:none; overflow:hidden; background-color:#ececec;}
.small_slide-text{ z-index:100 !important; position:absolute; padding:18px 17px 0px 0px; width:173px; height:72px; top:190px; left:393px; background-color:#FFFFFF; text-align:right; }
.small_slide-text h1{ font-size:18px; color:#3076bd; line-height:20px; margin:0 0 10px 0px; padding-bottom:15px; font-style:italic;}
#small_slideshow_navigation{position:absolute; left:555px; top:305px; z-index:300; cursor:pointer}
#small_slideshow_navigation #prev-slider{
  width:7px;
  height:8px;
  background-image:url(/images/prev-slider2.png);
  background-repeat:no-repeat;
  display:block;
  position:absolute;
  bottom:2px;
  right:10px;
  z-index:101;
}

#small_slideshow_navigation #next-slider{
  width:7px;
  height:8px;
  background-image:url(/images/next-slider2.png);
  background-repeat:no-repeat;
  display:block;
  position:absolute;
  bottom:2px;
  left:2px;
  z-index:101;
}
/**END SMALL SLIDER***/

/** BEFORE CONTENT ***/
#before_content{ background-image:url(/images/line.gif);  background-position:top;  background-repeat:repeat-x;  padding:25px 0px 0px 0px;}
#upperbox{  background-image:url(/images/line.gif);  background-position:bottom;  background-repeat:repeat-x;  padding-bottom:25px;}

#before_content div.box-title{width:318px; float:left;}
.box-title h1{ margin-bottom:5px;}
#before_content div.box-text{width:593px; float:left; padding-right:10px;  font-size:14px;  font-style:italic;   font-family:Georgia, "Times New Roman", Times, serif; line-height:18px;}

div.breadcrumb{  font-family:Georgia, "Times New Roman", Times, serif;  font-size:10px;  color:#3076bd;}
div.breadcrumb a, div.breadcrumb a:visited{  color:#535353;  text-decoration:none;}
div.breadcrumb a:hover{  text-decoration:underline;}
div.breadcrumb .separator{  color:#535353;}
/** END BEFORE CONTENT***/


/*** CONTENT ***/
#maincontent{padding:30px 0px 40px 0px;  }

/*home page*/
.three_column.frontpage  h2{ line-height:23px; padding-top:8px; margin-bottom:10px; font-size:22px;}
#middle-text{ padding-bottom:90px; margin-bottom:30px; background-image:url(/images/line.gif); background-position:bottom; background-repeat:repeat-x;}
#middle-text h2{ line-height:25px; font-size:22px;}
#content #middle-text h2{margin-bottom:10px;}

.bg_button{ background-image:url(/images/bg_button.png); background-repeat:no-repeat; width:150px; height:40px; font-size:18px; color:#fff; display:block; text-align:center; line-height:38px; margin:15px auto; text-decoration:none;}
.bg_button:hover{color:#fff; text-decoration:none; background-position:0 -40px}
/*end home page*/

#content.full{clear:left; margin-bottom:0px; width:940px!important}
#content{width:593px; float:left; margin-right:26px;}
#content.threecol{ width:460px!important; margin-right:0px!important;}
#content.product { width:700px!important; margin-right:0px!important;}
#content.product_detail{ width:540px!important; margin-right:0px!important; }
#content h2{margin-bottom:20px;}
#content p{  margin-bottom:26px;}


/* COLUMN LIST */
.nomargin{ margin-right:0px !important;}

.four_column{list-style-type:none; margin:0px; padding:0px;}
.four_column li{list-style-type:none;width:22%; margin-right:4%; float:left;}
.four_column p{margin-bottom:18px;}

.three_column{list-style-type:none; margin:0px; padding:0px;}
.three_column li{list-style-type:none;width:30.66%; margin-right:4%; float:left;}
.three_column p{margin-bottom:18px;}

.two_column{list-style-type:none; margin:0px; padding:0px;}
.two_column li{list-style-type:none;width:48%; margin-right:4%; float:left;}
.two_column p{margin-bottom:10px;}

.three_four_column{list-style-type:none; margin:0px; padding:0px;}
.three_four_column li{list-style-type:none;width:74%; margin-right:4%; float:left;}
.three_four_column p{margin-bottom:18px;}

.two_column li li, .three_column li li, .four_column li li, .three_four_column li li{margin:0px; width:auto !important; float:none;}
.two_column .alignleft, .three_column .alignleft, .four_column .alignleft{ margin-right:3px; margin-bottom:0}

/*== list ==*/
ul.display-inline{list-style-type:none; padding:0 ; margin:0;}
ul.display-inline li{display:inline; float:left; list-style-type:none; margin:0 10px 5px 0 ;}

ul.display-item{list-style-type:none; padding:0 ; margin:0 0 20px 8px;}
ul.display-item li{list-style-type:none; padding:0 0 17px 0; background-image:url(/images/list.png); background-repeat:no-repeat; background-position:0 6px;padding-left:20px} 


/*** END CONTENT ***/

/*** SIDEBAR ***/
#sidebar .widget-title{font-size:24px; line-height:26px; margin-bottom:20px;}
#sidebar ul{list-style-type:none; padding:0 ; margin:0; list-style-position:outside}
#sidebar ul li{list-style-type:none; padding:0 ; margin:0;}
#sidebar ul li li{border-bottom:solid 1px #d4d4d4; padding:0 0 5px 0px; margin-bottom:5px;  }
#sidebar ul li.widget-container.widget_categories li, #sidebar ul li.widget-container.widget_archieves li{zoom:1; *display:inline; vertical-align:top; margin-right:20px; /*display:inline-block; width:125px!important */;}
#sidebar ul li a, #sidebar ul li a:visited{color:#535353; font-size:12px; }
#sidebar ul li a:hover{color:#3076bd; text-decoration:none;}
.widget-container{margin-bottom:56px !important;}
.widget-container.widget_recent li{ border:0px!important; margin-bottom:25px!important;}
.widget-container.widget_recent li a{ color:#3076bd!important;}
/*** END SIDEBAR ***/

/*** LEFT SIDEBAR***/
#sideleft{width:300px; float:left; margin-right:20px; color:#535353;}
#left_sidebar{ width:193px; margin-right:47px; float:left;}
/*** END OF LEFT SIDEBAR***/

/*** RIGHT SIDEBAR***/
#sideright{  width:300px; float:left; margin-left:20px; color:#535353;}
#right_sidebar{ width:193px; margin-left:47px; float:left;}
#sideright_pd_detail{ width:353px; margin-left:47px; float:left;}
/*** END OF RIGHT SIDEBAR ***/

/*** FOOTER ***/
#bottom{min-height:401px; width:940px; padding:35px 0px 0px 0px;}
#bottom .widget-title{ padding-bottom:7px; margin-bottom:7px; color:#616060; font-size:26px;}
#bottom ul{ list-style-type:none; padding:0px; margin:0 0 0px 0;}
#bottom ul li li{color:#888888; border-bottom:1px solid #303030; padding-bottom:7px; margin-bottom:7px;}   /*#474646*/
#bottom ul li a, #bottom ul li a:visited{color:#888888 !important;}
#bottom ul li a:hover{text-decoration:none; color:#545353!important;}
#bottom .logos-cert {text-align:right;}
#bottom .widget-container-bottom {margin-bottom:0px !important;}
.l-news img.alignleft { border:2px solid #979797; margin-bottom:10px;}
ul.l-news li { padding-bottom:17px!important; margin-bottom:17px!important;}
ul.l-news li p { margin-bottom: 0;}

#footer_container{ padding:13px 0px 13px 0px;}
#footer_container a, #footer_container a:visited{color:#616060;}
#foot{ padding:0px 0px 0px 0px; font-size:11px;  font-family:Georgia, "Times New Roman", Times, serif; color:#616060; float:left;}

ul#social-icon{text-align:right; float:right; margin:0px; padding:2px 0px 0px 0px;}
#social-icon li{background-image:none !important; display:inline;}

/*** END OF FOOTER ***/



/*** CONTACT FORM ***/
  .form-row {
    margin: 15px 0;
  }
  .field-label {
    float: left;
    padding-right: 10px;
    width: 150px;
  }
  
  .field-label label {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size:14px;
  }
  
  .form-row #dy_node_submit {
    margin-left: 160px;
    margin-top: 15px;
  }
  
  .field-widget input {
    width: 263px;
  }
/*** END CONTACT FORM ***/


/***** Media Queries *****/
/*@media only screen and (max-device-width:760px) and (orientation:portrait){*/
@media only screen and (max-device-width:480px) {

    body { font-size:32px;line-height:40px;}

    h1 {font-size:50px; line-height:50px;}
    h2 {font-size:44px; line-height:54px;}
    h3 {font-size:42px; line-height:44px;}
    h4 {font-size:36px; line-height:36px;}
    h5 {font-size:34px; line-height:35px;}
    h6 {font-size:30px; line-height:35px;}

    table { margin-bottom: 50px;}
    .career_date { width: 125px; }
    .more_link { padding-top:40px;padding-bottom:40px; }

    #top_left{ float:left; font-size:34px;}
    #top_right{ float:right; font-size:32px;}

    .mobile {display:block;}

    #linkContainer { display:none;}
    #main_nav_mobile {
      display:block;
      height: 75px;
      font-size: 30px;
    }
    #nav { width: auto;}
    .secondary_nav_link, .secondary_nav_link a {
      background-color: #3076bd;
      color: #fff;  
      padding-left: 5px;
      margin-top: 40px;
    }

    .sf-menu, .sf-menu * {  font-size:48px; }
    .sf-menu a { font-size:52px; padding: 0 0 0 50px; text-decoration:underline; }

    ul { 
      list-style-type: none; 
      font-size: 38px;
    }
    .career_category {
        color: #3076BD;
        font-weight: bold;
    }

    #before_content div.box-text{ font-size:34px; }
    div.breadcrumb{  font-size:30px; }
    .three_column.frontpage  h2{ font-size:42px;line-height:43px;}
    #middle-text h2{ line-height:45px; font-size:42px;}
    .bg_button{ font-size:28px; margin: 0px 0 40px; background-image: none; background-color: #3076bd; padding:20px;}
    #sidebar .widget-title{font-size:44px; line-height:46px; }
    #sidebar ul li a, #sidebar ul li a:visited{ font-size:32px; }
    #bottom .widget-title{ font-size:46px;}
    #foot{ font-size:31px;}
    .field-label label { font-size:34px; }

    #sideleft, #sideright, #left_sidebar, #right_sidebar { display: none !important; }
    #before_content div.box-title  { float: none; margin-bottom: 15px; width: 100%; }
    #before_content div.box-text  { width: 100%; font-size: 44px; line-height: 54px; }
    #content { width: 100%; }
    #maincontent { padding-top: 30px; }
    #top { padding-top: 0;}
    .topbar_links { display:none; }
    #bottom_container { display:none; }
    .two_third { float:none; width:100%;}
    .three_column { display:none; }
    #slider{display:none; }
    .second_column { margin-top: -70px; }
    #middle-text { margin: 0 0 20px 0; }
    #foot { float:none; width:100%; text-align:center;}
    ul#social-icon { float:left; padding: 20px 0 0 40px;}
    ul#social-icon li { margin: 30px 80px 0 0; }
    ul#social-icon li a img { height:96px; width: 96px; }

    .field-label { width: 300px;}
    .form-row #dy_node_submit { margin-left: 300px; }
    #contact_form .text-input { height: 40px !important; width: 350px !important;}
    #contact_form textarea.text-input { width: 350px !important;}
    #contact_form .select { font-size: 30px !important; padding: 20px !important; }
    #contact_form label { font-size: 30px !important;}
    #contact_form .button { font-size:30px !important; }

    .bg_button { font-size:30px !important; }
}




