body{
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  background: #ddd;
}

.nopadding{ padding: 0; }
.roundedtop{ border-radius: 5px 5px 0 0; }

header{ background: #e5e5e5; position: relative; height: 700px; position:relative; }
header .outer{ overflow: hidden; height: 700px; position: relative; }
/*header .container.fullheight{ position: relative; }*/

h1,h2,h3,h4{ font-family: 'Roboto', sans-serif; }
h1{ 
  font-size: 36px; 
  font-weight: 300;
}

h2{ 
  font-size: 26px; 
  font-weight: 300;
}

h4{ font-size: 18px; font-weight: 900; }
ul{ list-style: none; }
p .btn{ margin-left: 20px; }
hgroup{ margin-bottom: 30px; }
.uppercase{ text-transform: uppercase; }
.xbold{ font-weight: 900; }

h1 small{
  font-family: 'Dancing Script', cursive;
  font-size: 16px;
  color: #999;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  text-transform: none;
}
p.lead{ font-weight: 300; }
p.lead a{ margin-left: 10px; }
.dark p.lead{ color: #24386d; }
p.lead em{ 
  font-family: 'Dancing Script', cursive; 
  color: #3498db; 
  font-style: normal;
  font-size: 28px;
}
p.lead small{ font-size: 15px; font-weight: 400; }
p.lead.solo{ margin-bottom: 0; }

a:hover{ text-decoration: none; }
a.btn{ color: #f5f5f5; }

header #logo{ z-index: 210; position: fixed; top: 0; }

header .socials{ position: relative; z-index: 100; }
.socials{ 
  margin: 0; 
  padding: 0; 
  float: right; 
  margin-top: 25px; 
}
#team .thumbnail{ margin-bottom: 50px; }
#team .socials li{
  border-radius: 20px;
  width: 30px;
  height: 30px;
  margin-left: 5px;
}
#team iframe{
  height: 300px;
}
#team .socials li a{ padding-top: 5px; }
.socials li{ 
  float: left; 
  margin-left: 1px;
  width: 40px;
  height: 40px;
  overflow: hidden;
}
.socials li a{
  width: 100%;
  height: 100%;
  text-align: center;
  background: #444;
  background: rgba(0,0,0, .33);
  display: block;
  font-size: 14px;
  color: #f5f5f5;
  padding-top: 10px;
  transition:margin 0.6s ease;
  -webkit-transition:margin 0.6s ease; /* Safari */
}

.socials li a.hover{ background: #3498db; }
.socials li:hover a:first-child{
  margin-top:-40px;
}
#team .socials li:hover a:first-child{
  margin-top: -30px;
}
footer .socials{ margin-top: 0; }
footer .socials li{ height: 24px; width: 24px; }
footer .socials li a{ 
  color: #999; 
  background: #222; 
  padding-top: 0; 
  font-size: 14px;
  transition:margin 0.4s ease;
  -webkit-transition:margin 0.4s ease; /* Safari */
}
footer .socials li a.hover{ color: #3498db; background: #222; }
footer .socials li:hover a:first-child{
  margin-top:-24px;
}

.slidercontainer {
  width:100%;
  position:absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding:0;
}

.slidercontainer2 {
  width:100%;
  position:relative;
  top: 0;
  left: 0;
  height: 'auto';
  padding:0;
}
 
.slider,.popslider{
  width:100%;
  position:relative;
}

section.inner{ padding-top: 0px; padding-bottom: 60px; background: #e5e5e5; }
/*section.inner#pricing .divider{ margin-top: 85px; }*/
section.inner.parallax{ padding-bottom: 0; }
section.inner.parallax .innerpad{ padding-bottom: 60px; }
section.inner#portfolio{ padding-bottom: 0; }
section.inner.no-title{ padding-top:60px; padding-bottom: 0px; }
section.inner h1:first-child{ 
  padding: 25px 30px 30px 30px; 
  height: 99px; 
  margin-top: 0; 
  margin-bottom: 60px; 
  background: #24386d; 
  display: inline-block; 
  color: #f5f5f5;
  border-radius: 0 0 2px 2px; 
}
section.inner.dark h1:first-child{ padding: 0; height: auto; }
section.dark{ background: #3498db; color: #f5f5f5; padding-bottom: 0; padding-top: 60px;  }
section.dark p{ color: #999; padding: 0; }
section.inner .divider{ height: 30px; margin-top: 60px; border-top: rgba(0,0,0,.2) 1px dotted; }
section.dark .divider{ border-top: rgba(255,255,255,.3) 1px dotted; }
section.inner .divider.inline{ margin-top: 30px; }
section.inner.blue{ padding-top: 60px; padding-bottom: 60px; background: #3498db; }
section.inner.blue p.lead{ color: #f5f5f5; font-size: 26px; font-weight: 300; text-align: center; margin-bottom: 0; }
section.inner.blue p strong{ font-size: 700; }
section.inner.blue p a.btn{ background: #222; margin-left: 20px; }

#about p.em{ font-size: 20px; color: #bbb; font-weight: 300; }
#about p img{ float: right; width: 130px; margin-left: 20px; }
#about .features .icon{ 
  font-size: 18px;
  margin: 0 auto;
  margin-top: 20px; 
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  border: #666 1px dotted;
  text-align: center;
  padding-top: 10px;
}

#portfolio{ position: relative; }
#portfolio h1{ position: relative; z-index: 100; }
#portfolio ul.portfolio{ margin: 0; padding: 0; width: 100%; margin-top: -159px; float: left; }
#portfolio ul.portfolio li{ float: left; width: 25%; height: 320px; overflow: hidden; position: relative; background: #000; }
.portfolio img{ 
  width: 120%; 
  margin-left: -10%; 
  margin-top: -10%;
  transition:width 0.4s ease-out, margin 0.4s ease-out, opacity 0.4s ease-out;
  -webkit-transition:width 0.4s ease-out, margin 0.4s ease-out, opacity 0.4s ease-out;
}
.portfolio .external-link,
.portfolio .popup{
  position: absolute;
  z-index: 100;
  font-size: 38px;
  display: block;
  transition:left 0.4s ease, right 0.4s ease, opacity 0.4s ease;
  -webkit-transition:left 0.4s ease, right 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  top: 40%;
}
.portfolio .external-link{ right:-50%; font-size: 36px; margin-top: 1px; }
.portfolio .popup{ left:-50%; }
.portfolio li:hover .external-link{ right: 39%; opacity: 1; }
.portfolio li:hover .popup{ left: 39%; opacity: 1; }
.portfolio li:hover img{ width:100%; margin-left: 0; margin-top: 0; opacity: 0.4; }
.portfolio li p.caption{ 
  position: absolute; 
  bottom: -53px; 
  left: 0; 
  height: 53px; 
  width: 100%; 
  background: #222;
  font-size: 13px;
  color: #999;
  transition:bottom 0.4s ease-out;
  -webkit-transition:bottom 0.4s ease-out;
  z-index: 100;
  margin: 0;
  padding: 10px;
  font-weight: 700;
  text-align: center;
}
.portfolio li:hover p.caption{ bottom: 0; }

.clients img{ opacity: 0.9; border-radius: 2px; }

/*
This is the visible area of you carousel.
Set a width here to define how much items are visible.
The width can be either fixed in px or flexible in %.
Position must be relative!
*/
.jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/*
This is the container of the carousel items.
You must ensure that the position is relative or absolute and
that the width is big enough to contain all items.
*/
.jcarousel ul {
    width: 20000em;
    position: relative;

    /* Optional, required in this case since it's a <ul> element */
    margin: 0;
    padding: 0;
}

/*
These are the item elements. jCarousel works best, if the items
have a fixed width and height (but it's not required).
*/
.jcarousel li {
    /* Required only for block elements like <li>'s */
    float: left;
    margin-right: 30px;
    width: 165px;
}
.jcarousel li img{ width: 100%; }
.jcarousel nav{ clear: both; float: left; margin-top: 20px; width: 100%; text-align: center; }
.jcarousel-prev{ margin-right: 27px; }
.jcarousel-prev, .jcarousel-next{ 
  display:inline-block; 
  /* float: left; */
  font-size: 18px; 
  width: 28px; 
  height: 28px;  
  color: #f5f5f5;
  line-height: 30px;
  text-align: center;
  background: #3498db;
}
.owl-carousel div img{ margin: 0 auto; }
.testimonials nav{ text-align: right; }
.testimonials .jcarousel-prev{ margin-right: 10px; }
.testimonials .jcarousel-prev, .testimonials .jcarousel-next{
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 24px;
}

#contact{ position: relative; }
#contact .container{ position:relative; z-index: 10; }
section.google-map{ 
  height: 100%;
  width: 100%;
  position: absolute; 
  top: 0; 
  left: 0;  
  z-index: 0;
  overflow: hidden;
}
section.google-map #map-canvas{ width: 150%; height: 150%; margin-top: -7% }

#contact .contactbox{ background: #222; color: #f5f5f5; border-radius: 2px; }
#contact .contactinfo{ margin: 30px 0 30px 20px; }
#contact .contactbox h1{ margin-top: 0px; margin-bottom: 30px; font-weight: 700; text-transform: uppercase; }
#contact h2{ margin-top: 0; font-weight: 900; font-size: 24px; text-transform: uppercase; }
#contact h4{ margin-bottom:5px; color: #ccc; margin-top: 15px; }
#contact .contactinfo div{ margin-top: 20px; }
#contact .contactinfo div h4{ margin: 0 0 10px 0; color: #f5f5f5; }
#contact form{ margin: 30px 20px 30px 0; }
#contact form h4{ margin-bottom: 30px; }
form input, form textarea{ font-family: 'Roboto', sans-serif; font-size: 14px; color: #999; padding-left: 10px; }
form div.textfield{ margin-bottom: 20px; }
form input{ width: 100%; border: none; height: 38px; }
form textarea{ width: 100%; border: none;height: 85px; }
form .textarea{ width: 70%; float: left; }
form .btn{ float: right; height: 85px; width: 26.5%; padding:0; border: none; position: relative; }
form .btn input{ 
  background: #3498db; 
  color: #fff; 
  font-weight: 900; 
  height: 85px;
  width: 100%;
  font-size: 24px;
}
form .btn .fa-spin{
  position: absolute;
  top: 42%;
  left: 44%;
  opacity: 0;
}

footer{ background: #222; color: #f5f5f5; padding: 60px 0 0 0; }
footer p{ color: #999; }
footer h1{ margin-bottom: 30px; }
.blog h2{ font-weight: 900; text-transform: uppercase; margin-top: 15px; margin-bottom: 0; }
.blog h5{ font-size: 18px; margin-top: 5px; margin-bottom: 10px; }
.blog p{ font-size: 13px; }
.blog .details{ font-size: 11px; }
.blog .author{ margin-top: 20px; display: block; }

.testimonials .jcarousel li{ width: 360px; }
.testimonials .jcarousel li img{ width: 70px; }
.testimonials p{ padding-left: 24px; margin-bottom: 15px; }
.testimonials .fa-quote-right,
.testimonials .fa-quote-left{  position: relative; font-size: 16px; }
.testimonials .fa-quote-right{ left: 5px; }
.testimonials .fa-quote-left{ margin-left: -20px; margin-right: 3px; }
.testimonials div img{ float: left; margin-right: 12px; margin-left: 20px; }
.testimonials .name, .testimonials .title{ display: block; }
.testimonials .name{ font-weight: 700; font-size: 14px; padding-top: 12px; }
.testimonials .title{ font-size: 13px; color: #999; }

footer .end{ border-top: rgba(255,255,255,.3) 1px dotted; margin-top: 60px; padding: 20px 0; }

.counter strong{ font-size: 60px; font-weight: 400; text-align: center; display: block; }
.counter label{ 
  display: block; 
  text-align: center; 
  font-size: 18px; 
  font-weight: 300; 
  margin-bottom: 15px; 
}


/* Fade-move animation for second dialog */
.my-mfp-slide-bottom .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;

  -webkit-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -moz-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -ms-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  -o-transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
  transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -moz-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -ms-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  -o-transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
  transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
  opacity: 0;
  -webkit-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -moz-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -ms-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  -o-transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
  transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg{
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out; 
  -moz-transition: opacity 0.3s ease-out; 
  -o-transition: opacity 0.3s ease-out; 
  transition: opacity 0.3s ease-out;

}
/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg{ opacity: 0.9; }

/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg{ opacity: 0; }


/* magnific PopUp */
.mfp-bg { background: #fff; }

.white-popup-block {
color: #000 !important;
  width: 60%;
  margin: 0 auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 0px;
  /*background: #f5f5f5;*/
}
.white-popup-block .caption{ position: absolute; bottom: 0; width: 100%; left: 0; padding: 20px; background: #222; background: rgba(0,0,0,0.7); }
.white-popup-block .caption h2{ color: #f5f5f5; margin-top: 0; float: left; }
.white-popup-block .caption p{ color: #999; font-size: 14px; width: 100%; margin: 0; float: left; }
.white-popup-block h2{ color: #222; margin-top: 5px; font-weight: 400; }
.white-popup-block p{ color: #666; font-size: 13px; }
.white-popup-block img{ width: 100%; }
.white-popup-block audio{
  max-width: 80%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  margin-top: 40px;
}
.mfp-close-btn-in .mfp-close{
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: auto;
  height: auto;
  padding: 5px;
  line-height: 18px;
  position: absolute;
  right: 0;
  top: 0;
}

.big-noBg{
  color: #222;
  font-size: 28px;
  font-weight: 300;
  line-height: 30px;
}

.big-dark{
  background: #222;
  color: #f5f5f5;
  font-size: 28px;
  padding: 8px 20px;
  font-weight: 300;
  line-height: 34px;
}
.md-blue{
  background: #3498db;
  color: #f5f5f5;
  font-size: 24px;
  padding: 4px 10px;
  font-family: 'Dancing Script', cursive;
  width: auto;
  text-align: center;
  line-height: 30px;
}
.md-blue span{
  display: block;
  font-size: 30px;
  transform:rotate(-8deg);
  -ms-transform:rotate(-8deg); /* IE 9 */
  -webkit-transform:rotate(-8deg); /* Opera, Chrome, and Safari */
  margin-top: -5px;
}

.sm-blue{
  background: #3498db;
  color: #f5f5f5;
  font-size: 14px;
  padding: 6px 10px;
}

.animated, .appear-animation {
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
}

.bounceIn {
  -webkit-animation-name: bounceIn;
  -moz-animation-name: bounceIn;
  -o-animation-name: bounceIn;
  animation-name: bounceIn;
}

.appear-animation {
  opacity: 0;
}

.appear-animation-visible {
  opacity: 1;
}

@-webkit-keyframes bounceIn {
  0% { opacity: 0; -webkit-transform: scale(.3); }
  50% { opacity: 1; -webkit-transform: scale(1.05); }
  70% { -webkit-transform: scale(.9); }
  100% { -webkit-transform: scale(1); opacity: 1; }
}

@-moz-keyframes bounceIn {
  0% { opacity: 0; -moz-transform: scale(.3); }
  50% { opacity: 1; -moz-transform: scale(1.05); }
  70% { -moz-transform: scale(.9); }
  100% { -moz-transform: scale(1); opacity: 1; }
}

@-o-keyframes bounceIn {
  0% { opacity: 0; -o-transform: scale(.3); }
  50% { opacity: 1; -o-transform: scale(1.05); }
  70% { -o-transform: scale(.9); }
  100% { -o-transform: scale(1); opacity: 1; }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(.9); }
  100% { transform: scale(1); opacity: 1; }
}

@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);opacity: 1;}
  40% {-webkit-transform: translateY(-30px);}
  60% {-webkit-transform: translateY(-15px);}
}

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);opacity: 1;}
  40% {-moz-transform: translateY(-30px);}
  60% {-moz-transform: translateY(-15px);}
}

@-o-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);opacity: 1;}
  40% {-o-transform: translateY(-30px);}
  60% {-o-transform: translateY(-15px);}
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);opacity: 1;}
  40% {transform: translateY(-30px);}
  60% {transform: translateY(-15px);}
}

.bounce {
  -webkit-animation-name: bounce;
  -moz-animation-name: bounce;
  -o-animation-name: bounce;
  animation-name: bounce;
}

.mask{
  position: fixed;
  top: 0;
  left: 0;
  height: 1080px;
  width: 100%;
  background: #444;
  z-index: 1000;
  text-align: center;
}
.maskcontainer { 
  width: 120px;
  height: 114px;
  position: relative;
  perspective: 800px;
  -webkit-perspective: 800px;
  margin: 0 auto;
  margin-top: 20%;
  display: none;
}
.mask .cards{ 
  width: 100%;
  height: 100%;
  position: absolute; 
  transform-style: preserve-3d;
  transition: transform 1s;
  -webkit-transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 1s;
    /*transform: rotateY( 180deg );
    -webkit-transform: rotateY( 180deg );*/
}
.mask .cards.flip{
  -webkit-animation:spin 3s cubic-bezier(0,.56,1,.45)  infinite;
    -moz-animation:spin 3s cubic-bezier(0,.56,1,.45)  infinite;
    animation:spin 3s cubic-bezier(0,.56,1,.45)  infinite;
}
.cards div {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /*background: #3498db;
  opacity:0.1;*/
  color: #e5e5e5;
  font-size: 14px;
}
.cards div span{ width: 64px; height: 18px; margin: 0 auto; margin-top: 40%; display: block; }
.mask img{ width: 100%; opacity:1 !important; }
.mask .logo{
  margin: 0 auto;
  margin-top: 25%;
  display: none;
}
.mask .back{
  transform: rotateY( 180deg );
  -webkit-transform: rotateY( 180deg );
}
@-moz-keyframes spin { 100% { -moz-transform: rotateY(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotateY(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotateY(360deg); transform:rotateY(360deg); } }

.plan{
  background: #f5f5f5;
  border-radius: 2px;
  color: #222;
  text-align: center;
  width: 111.2%;
  margin-left: -5.1%;
  position: relative;
  z-index: 5;
  margin-bottom: 40px;
  margin-top: 10px;
  border-radius: 2px;
}
.plan h2{
  margin: 0;
  background: #3498db;
  color: #f5f5f5;
  border-radius: 2px 2px 0 0;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
  background-image: -moz-linear-gradient(top, #3498db, #2f87c2);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3498db), to(#2f87c2));
  background-image: -webkit-linear-gradient(top, #3498db, #2f87c2);
  background-image: -o-linear-gradient(top, #3498db, #2f87c2);
  background-image: linear-gradient(to bottom, #3498db, #2f87c2);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3498db', endColorstr='#ff2f87c2', GradientType=0);
}
.plan ul{ margin: 20px; padding: 0; }
.plan ul li{ 
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #666;
  border-bottom: #ccc 1px dotted;
  font-size: 14px;
}
.plan .price{
  display: block;
  padding: 20px 0;
  font-size: 18px;
  color: #3498db;
}
.plan .btn{ position: relative; bottom: -22px; }
.plan.popular{ 
  margin-top: 0px; 
  width: 118%; 
  margin-left: -9%; 
  z-index: 10;
  box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
}
.plan.popular h2{ padding: 40px 0; }
.plan .badge{
  position: absolute;
  top: -1px;
  right: -1px;
  background: none;
  overflow: hidden;
  height: 85px;
  width: 85px;
  text-align: center;
  display: block;
}
.plan .badge .ribbon{
  display: block;
  color: #333;
  font-size: 14px;
  text-align: center;
  padding: 10px;
  width: 140px;
  font-weight: 7400;
  position: relative;
  right: 18px;
  top: 8px;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  background-color: #5cb85c;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#69d169), to(#4f9e4f));
  background-image: -webkit-linear-gradient(top, #69d169, #4f9e4f);
  background-image: -moz-linear-gradient(top, #69d169, #4f9e4f);
  background-image: -ms-linear-gradient(top, #69d169, #4f9e4f);
  background-image: -o-linear-gradient(top, #69d169, #4f9e4f);
  text-shadow: rgba(255,255,255,0.3) 1px 1px 0 
}

.twitter ul{ margin-top: 15px; }
.twitter ul li{
  margin-bottom: 15px;
  color: #ccc;
}
.twitter ul li p{
  margin-bottom: 4px;
}
.twitter ul li p i{ font-size: 18px; padding-top: 2px; padding-right: 3px; }


/* Main navigation */
nav.main{ position: relative; z-index: 100; bottom: 82px; right: 0; }
nav.main > ul{ float: right; padding: 0; margin: 0; margin-bottom: 0px; }
nav.main > ul > li{ float: left; position: relative; }
nav.main > ul > li > ul{ 
  position: absolute; 
  bottom: 60px;
  left: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  display: none;
}
nav.main > ul > li > ul li a{
  padding: 10px 20px;
}
nav.main li a{ 
  display: block; 
  background: #444;
  background: rgba(0,0,0,.33);
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  padding: 20px;
  border-left: rgba(255,255,255,.4) 1px dotted;
  transition:background 0.5s ease, color 1s ease;
  -webkit-transition:background 0.5s ease, color 1s ease; /* Safari */
}
nav.main li.sub li a{ background: #222; }
nav.main > ul > li:last-child > a{ border-right:rgba(255,255,255,.4) 1px dotted; }
nav.main >ul > li.selected > a{ background: #222; color: #3498db; font-weight: 900; }
nav.main li a:hover{ background: #222; color: #3498db; }
nav.main li.sub li a:hover{ background: #161616; }

/* responsive navigation */
div.menu-toggle{
  font-size: 18;
  padding: 22px 26px;
  background: #222;
  color: #999;
  text-align: center;
  cursor: pointer;
  float: right;
}
.rsmenu{
  width: 100%;
  display: none;
  background: #222;
  padding: 30px 0;
  position: relative;
  z-index: 300;
}
.rsmenu ul{
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rsmenu > ul{
  border-bottom: rgba(255,255,255,0.33) 1px dotted;
}
.rsmenu > ul > li{
  width: 100%;
  text-align: left;
  border-top: rgba(255,255,255,0.2) 1px dotted;
}
.rsmenu ul li.sub:before{
  content: "\f0ab";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  float: left;
  font-size: 14px;
  color: #999;
  margin-top: 13px;
  margin-left: 20px;
}
.rsmenu ul li.sub ul{ background: #191919; }
.rsmenu ul li.sub ul li a{ 
  color: #888; 
  font-size: 15px;
  border-top: rgba(255,255,255,0.05) 1px dotted;
}
.rsmenu > ul li a{
  display: block;
  width: 100%;
  padding: 10px 50px;
  font-size: 16px;
  color: #ccc;
  transition:all 0.5s ease;
  -webkit-transition:all 0.5s ease; /* Safari */
}
.rsmenu > ul > li.selected a, 
.rsmenu > ul > li a:hover{ color: #3498db; font-weight: 900; background: #292929; }
.rsmenu > ul > li > ul{ display: none; }
.rsmenu ul li.sub ul li a:hover,
.rsmenu ul li.sub ul li.selected a{ background: #111 };