﻿
* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'cbp-tmicons';
    src:url('../fonts/tmicons/cbp-tmicons.eot');
    src:url('../fonts/tmicons/cbp-tmicons.eot?#iefix') format('embedded-opentype'),
        url('../fonts/tmicons/cbp-tmicons.woff') format('woff'),
        url('../fonts/tmicons/cbp-tmicons.ttf') format('truetype'),
        url('../fonts/tmicons/cbp-tmicons.svg#cbp-tmicons') format('svg');
    font-weight: normal;
    font-style: normal;
}

#responsive-menu{
    display: none;
}

@media screen and (max-width: 991px) {

#responsive-menu{
    display: block;
}

#desktop-mn{
    display: none;
}

header, #central-content {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 991px;
    width: 100%;
}

#logo{
    margin: -50px auto 0 auto;
    padding-left: 40px;
    display: block;
    width: 170px;
}

#responsive-menu {
   background-color:#496aad;
   box-shadow: 1px 1px 23px #0000001c;
   padding: 0.8em 0 0;
   position: fixed;
   margin: 0 auto;
   z-index: 1000;
   height: 60px;
}

#responsive-menu h1 {
    float: left;
    padding: 0 0 0.2em;
}

#responsive-menu h1#logo img {
    height: 50px;
    margin-left: 0.5em;
}

.control-menu {
    background-color: transparent;
    background-position: center center;
    /*border: 1px solid #fff;*/
    display: block;
    float: right;
    height: 40px;
    margin-right: 1.3em;
    margin-top: -34px;
    width: 30px;
}
.control-menu a span {
    display: inline-block;
    height: 19px;
    text-indent: -9999px;
    width: 25px;
}
.control-menu .close {
    background-image: url("../img/close.png");
    background-position: center center;
    background-repeat: no-repeat;
    display: none;
}
.control-menu .open {
    background-image: url("../img/open.png");
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
}

ul.nav-items {
    clear: both;
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease-in-out 0s, background-color 2s ease 0s; /*El menú cambia su altura y su color de fondo mediante una transición suavizada al voover a su estado unicial*/
}

#navigation:target ul.nav-items {
    background:rgba(73,106,173,0.9) none repeat scroll 0 0;
    height:auto;
    transition: height 0.4s ease-in-out 0s, background-color 0.9s ease 0s; /*El menú cambia su altura y su color de fondo mediante una transición suavizada al abrirse*/
    margin: 0;
}


/*Al hacer clic sobre el enlace que abre el menú éste desaparece*/

.close { 
   display:none;
}
        
#navigation:target .open {
      display: none;
}

/* Al hacer clic sobre el enlace que abre el menú aparece el enlace .close que previamente estaba oculto*/

#navigation:target .close {
        display: block;
}
  
/*Estilos menu*/

ul.nav-items li {
    display: block;
}
ul.nav-items a {
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #FAB207;
    display: block;
    font-size: 11px;
    height: 3em;
    line-height: 3em;
    margin: 1em 1.3em;
    transition: all 0.3s ease 0s;
}

ul.nav-items li:hover {
    background-color: rgba(253,253,253,0.2);
}

ul.nav-items a:hover {
    color: #fff;
    text-decoration: none;
}

ul.nav-items li:first-child a {
    border-top: 2px solid transparent;
}
ul.nav-items li a span {
   
    height: 3.2em;
    padding: 0.4em 0.5em;
}
#Web-Dev a span {
    border-color: #ff6633;
}
#Mobile a span {
    border-color: #bda94d;
}
#Data a span {
    border-color: #5887bc;
}
#Net-VS a span {
    border-color: #00a2b7;
}
#SharePoint a span {
    border-color: #639bf2;
}

}


@media screen and (max-width: 480px){
    #logo{
        /*padding-left: 0px;*/
        width: 160px;
        margin: -50px auto 0 auto;
    }
}

/*@media screen and (max-width: 360px){
    #logo{
        padding-left: 0px;
    }
}*/