/* =============================================================================
1. CONFIGURATION
============================================================================= */

@import 'partials/reset.css';
@import 'partials/blueprint-grid.css';
@import 'partials/typography.css';
@import 'partials/forms.css';
@import 'partials/patterns.css';

/* =============================================================================
2. COMMON
============================================================================= */

/* 2.1 General page layout
------------------------------------------------------------------------------*/

body{
  background:#e9e9e9 url(../images/layout/body-pattern.jpg);
}
#topbar{
  background:#171717 url(../images/layout/topbar-pattern.jpg);
  height:3em;
}
#header{
  background:#242424 url(../images/layout/header-pattern.jpg);
  border-top:1px solid #323232;
}
#content-wrap{
  padding-top:3em;
}
#top-services{
  background:#FFF;
  border-top:1px solid rgba(0,0,0,0.2);
  padding:1em 0 2em 0;
}
#doormat{
  background:#e9e9e9 url(../images/layout/body-pattern.jpg);
  border-top:1px solid rgba(0,0,0,0.2);
  padding-top:1em;
}
#footer{
  background:#242424 url(../images/layout/header-pattern.jpg);
  border-top:5px solid #151515;
}

/* 2.2 Topbar
------------------------------------------------------------------------------*/

#topbar ul{
  margin:0;
}
#topbar a{
  color:#555555;
  float:left;
  font-size:90%;
  text-transform:uppercase;
  line-height:3em;
}
#topbar a:hover, #topbar li.current a{
  color:#FFF;
  border-bottom:none;
}

#nav-lang{
  float:left;
}
#nav-lang li{
  float:left;
  padding-right:1.5em;
}

#nav-extra{
  position:absolute;
  right:0;
  float:left;
}
#nav-extra li{
  float:left;
  padding-left:1.5em;
}

/* 2.3 Header
------------------------------------------------------------------------------*/

/* Logo */
#logo{
  margin:0;
  font-size:3em; /*36px*/
  float:left;
  line-height:1em; /*36px*/
  padding: 0.5em 0; /*18px*/
}
#logo a{
  background:url(../images/layout/logo.png) no-repeat 0 center;
  color:#FFF;
  display:block;
  font-weight:700;
  float:left;
  height:3em;
  line-height:3em;
  height:100px;
  width:400px;
  text-indent:-10000px;
  border-bottom:none;
}
  
/* Main navigation */
#nav-main{
  position:absolute;
  right:0;
  top:3.5em;
  margin:0;
}
#nav-main li{
  float:left;
  padding-left:1.5em;
}
#nav-main a{
  color:#737373;
  float:left;
  font-size:1.3em;
  font-weight:normal;
  line-height:2em;
  padding:0.1em 1em;
  text-transform:uppercase;
  /* Rounded corners */
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  -khtml-border-radius:10px;
  border-radius:10px;
}
#nav-main a:hover{
  color:#d1d1d1;
  border-bottom:none;  
}
#nav-main li.current a{
  background:#141414;
  color:#FFF;
  /* Box shadow */
  -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.5), 1px 1px 0 rgba(255, 255, 255, 0.1);
  -khtml-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.5), 1px 1px 0 rgba(255, 255, 255, 0.1);
  -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.5), 1px 1px 0 rgba(255, 255, 255, 0.1);
  box-shadow: inset 1px 1px 1px rgba(0,0,0,0.5), 1px 1px 0 rgba(255, 255, 255, 0.1);
}

/* 2.3 Breadcrumb
------------------------------------------------------------------------------*/
#breadcrumb{
  text-align:right;
  margin-bottom:1em;
  padding-bottom:1em;
  background:url(../images/layout/gutter.gif) repeat-x 0 100%;
}
#breadcrumb p{
  margin:0;
}
#breadcrumb strong{
  font-size:12px;
  text-transform:uppercase;;
}
#breadcrumb a{
  color:#000;
}

/* 2.3 Sidebar
------------------------------------------------------------------------------*/
.subnav{
  background:#f1f1f1;
  border:1px solid #d1d1d1;
  margin-bottom:1.5em;
}
.subnav h3{
  font-weight:normal;
  padding:0.5em 1em;  
  text-transform:uppercase;
  margin-bottom:0;
}
.subnav ul{
  margin:0;
}
.subnav ul li ul{

}
.subnav a{
  background:url(../images/layout/subnav-bullet.gif) no-repeat 1em center;
  border-top:1px solid #d1d1d1;
  display:block;
  padding:0.5em 1em 0.5em 2em;
  text-shadow:0 1px 1px #fff;
  
}
.subnav ul li li a{
  background:url(../images/layout/subnav-bullet-2nd.png) no-repeat 2em center;
  border-top:1px solid #d1d1d1;
  display:block;
  padding:0.5em 1em 0.5em 3em;
}
.subnav a:hover{
  border-bottom:none;
}
.subnav li.current{
  border-top:1px solid #fff;
  border-bottom:1px solid #fff;
}
.subnav li.current li.current{
  border:none;
}
.subnav .current a{
  color:#000;
  background-color:#ededed;
}
.subnav .current .current a{
  color:#333;
}
.subnav .current ul li a{
  color:#666;
  font-size:90%;
  line-height:1.8em;
}
.subnav .current ul li a:hover{
  color:#333;
}

/* 2.3 Top services
------------------------------------------------------------------------------*/
#top-services h2{
  border-bottom:1px solid #d1d1d1;
  font-weight:normal;
  font-size:1.142em;/* 16px */
  padding:1em 0;
  margin:0 0 1.5em 0;
  text-transform:uppercase;
  text-align:center;
}
#top-services ul{
  margin:0;
}
#top-services li{
  height:170px;
  position:relative;
}
  #server-management{
    background:url(../images/layout/service-server-management.jpg) no-repeat 100% 100%;
  }
  #premium-numbers{
    background:url(../images/layout/service-premium-numbers.jpg) no-repeat 100% 100%;
  }
  #virtual-fax{
    background:url(../images/layout/service-virtual-fax.jpg) no-repeat 100% 100%;
  }

#top-services h3, #top-services p{
  padding-left:10px;
}
#top-services h3{
  color:#e45124;
  font-weight:normal;
  font-size:1.285em;/* 18px */
  padding-top:1em;
  margin:0;
  text-transform:uppercase;
}
#top-services p.service-description{
  color:#0b62ac;
  font-size:1.142em;/* 16px */
  width:160px;
  margin-bottom:10px;
}
#top-services .button{
  font-size:90%!important;
  position:absolute;
  bottom:1em;
  left:1.5em;
}

/* 2.3 Doormat
------------------------------------------------------------------------------*/
#doormat h2{
  font-weight:normal;
  font-size:1.142em;/* 16px */
  background:url(../images/layout/gutter.gif) repeat-x 0 100%;
  padding:1em 0;
  margin-right:0;
  text-transform:uppercase;
}

/* Latest news */
#latest-news li{
  border-top:1px dotted #8b8b8b;
  float:left;
  width:100%;
  padding-top:1em;
}
#latest-news li.first{
  border-top:none;
  padding-top:0;
}
#latest-news a{
  color:#767676;
}
#latest-news h3{
  background:#FFF;
  float:left;
  font-weight:normal;
  margin:0 12px 1.5em 0;
  height:54px;
  width:50px;
  /* Rounded corners */
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  -khtml-border-radius:10px;
  border-radius:10px;
  /* Box shadow */
  -webkit-box-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  -khtml-box-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  -moz-box-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}
#latest-news p{
  float:left;
  margin:0 0 1.5em 0;
  width:80%;
}
#latest-news h3 .month{
  color:#0b62ac;
  font-size:14px;
  display:block;
  line-height:1em;
  padding:8px 0 3px;
  text-align:center;
  text-transform:uppercase;
}
#latest-news h3 .day{
  display:block;
  text-align:center;
  font-size:20px;
  line-height:1em;
}

/* Clients */
#clients li{
  float:left;
  width:50%;
}

/* 2.3 Footer
------------------------------------------------------------------------------*/
#footer p{
  margin:0;
  padding:1.5em 0 3em;
}
#footer p, #footer a{
  color:#acacac;
}
#footer a:hover{
  color:#FFF;
}

/* 2.4 Main content
------------------------------------------------------------------------------*/

/* =============================================================================
 3. PAGES
============================================================================= */

/* 3.1 Homepage
------------------------------------------------------------------------------*/
/* Slider */
#slider-shadow{
  overflow:hidden;
  padding-bottom:13px;
  background:url(../images/layout/slider-box-shadow.png) no-repeat center 100%;
  margin-bottom:1.5em;
  position:relative;
  z-index:9;
}
#slider-wrap{
  background:#FFF;
  border:10px solid #FFF;
  overflow:hidden;
  height:300px;
}
#slider .slide{
  background:url(../images/layout/slide-bg.jpg);
  height:300px;
  width:100%;
}

#slider h2, #slider p{
  margin-left:51%;
  width:40%;
  text-align:center;
  position: relative;
  z-index: 2;
}
#slider h2{
  font-size:2.143em;/* 30 px*/
  font-weight:normal;
  margin-bottom:0.5em;
  padding-top:1.6em;
  text-transform:uppercase;
  color:#0e6cb3;
}
#slider p{
  font-size:1.071em; /* 15px */
  margin-bottom:1.75em;
}
.slide img{
  position:absolute;
  top:0;
  z-index:0;
}
/* Slider navigation */
#slider-nav{
  overflow:hidden;
  position:absolute;
  right:1em;
  top:1em;
  z-index:10;
}
#slider-nav a {
  display: inline; 
  float: left; 
  text-indent: -119988px;
  overflow: hidden; 
  text-align: left; 
  background-image: url(../images/layout/slideshow-nav.png); 
  background-repeat: no-repeat;
  background-position: 0 0;
  height: 20px;
  margin-left: 5px;
  width: 20px;
}
#slider-nav a:hover{
  border:none;
}
#slider-nav a:active{
  position:relative;
  bottom:-1px;
}
#slider-nav a.activeSlide {
  background-position: left bottom;
}

/* Activities */
#activities div{
  float:left;
  width:30%;
}
#activities h3{
  color:#373737;
  font-weight:normal;
  font-size:1.142em;/* 16px */
  line-height:46px;
  margin-right:0;
  text-transform:uppercase;
}
#activities h3 a{
  color:#373737; 
  display:block;
  padding-left:52px;
}
#activities h3 a:hover{
  border:none;
}
#activity-voice h3 a{
  background:url(../images/layout/icon-voice.png) no-repeat 0 center;
}
#activity-data h3 a{
  background:url(../images/layout/icon-data.png) no-repeat 0 center;
}
#activity-managed h3 a{
  background:url(../images/layout/icon-managed.png) no-repeat 0 center;
}
#activities li a{
  display:block;
  padding:2px 0 4px 0;
}
#activities li a:hover{
  border:none;
}
