/*!
 * Start Bootstrap - Simple Sidebar HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Toggle Styles MENU LATERAL RESPONSIVE */

body{
    margin: 0;
}

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;

}

#wrapper.toggled {
    padding-left: 300px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 300px;
    width: 0;
    height: 100%;
    margin-left: -300px;
    overflow-y: auto;
    background: #ffffff;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;

}

#wrapper.toggled #sidebar-wrapper {
    width: 300px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 0px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -300px;
}

/* Sidebar Styles */

#sidebar-wrapper{
     box-shadow: 4px 0px 15px -5px rgba(0,0,0,0.4);
     border-right: 1px solid #c3c3c3;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 300px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menunavega{
    list-style: none;
    margin: 0;
    padding: 0;
    width: 300px;
}


/* social icons home */
.social-icons{
  height: 40px;
  margin-top: 0px;
}


.sidebar-nav > .social-icons li {
    float: left;
    padding: 0px 5px;
    border:0px;
    list-style: none;
    display: inline;
    text-indent: 0px;
}

.sidebar-nav > .social-icons li a:hover {
    background: transparent;
}

.social-icons li a:active, 
.social-icons li a:focus {
    background: transparent;
    border-right: 0px !important;
    text-decoration: none;
}

.others{
    padding: 10px 10px;
    margin: 0 auto;
    margin-top: 0px;
    text-align: center;
}

.logos{
    display: inline-block;
    width: 125px;
    margin-left: -80px;
    float: none;
}

.logos:hover{
    opacity: 0.8;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}

.selloashua {
    width: 186px;
}

.telefono{
    margin-left: 40px;
    font-size: 12px;
}


.sidebar-nav li {
    text-indent: 50px;
    line-height: 40px;
    border-bottom: 1px solid #ededed;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #000000;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #d53c34;
    background: transparent;
}

.sidebar-nav li a:active, .sidebar-nav li a:focus {
    text-decoration: none;
    border-right: 4px solid #d53c34;
    color: #d53c34;
}



/* SECTIONS */
.section-a {
    padding: 50px 30px;
    background-color: rgba(245,245,245,.8);
}

.section-pulsera {
    padding: 20px 0px;
    background-color: rgba(245,245,245,.8);
}

.section-colaboradores {
    padding-top: 100px;
}

.section-noticias {
    padding-top: 20px;
    margin: 0 auto;
}

.section-noticia-simple {
    padding-top: 100px;
}

.vspacio {
    padding-bottom: 30px;
}

.vspaciofamosos {
    margin-bottom: 10px;
}

.fondogris {
    background-color: rgba(245,245,245,.8);
}


/* NOTICIAS */
.noticiasmax{
    max-width: 330px;
    min-width: 330px;
    margin: 0 auto;
    height: 600px;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.noticiamax{
    max-width: 700px;
}

.thumbnail a>img, .thumbnail>img {
    margin-right: auto;
    margin-left: auto;
    width: 99%;
    height: auto;
    overflow: hidden;
    clip: rect(0px,290px,200px,0px);
    position: absolute;
}

.thumbnail .caption {
    padding: 9px;
    color: #333;
    margin-top: 160px;
}

.botonnews{
    margin-bottom: 5px !important;
    vertical-align: bottom !important;
}

.centranews{
    margin: 0 auto;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination .actual{
    color: white;
    background-color:#d53c34;
}


/* Banners */

#hero2{
    margin-bottom: 50px;
}

.portada{
    background-size: cover;
    width: 100%;
    height: 100%;
}

.sept {
    padding-top: 40px;
}

.pulsera{
    width: 300px;
    text-align: center;
    margin: 0 auto;
    padding-top: 50px;
}


/* LOGOS */
.sidebar-nav > .menunavega >.sidebar-brand img {
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0 auto;
    text-align: center;
    float: none;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}


.decor {
    width: 160px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 20px;
}

.colabora {
    width: 300px;
    height: 200px;
}

.colabora img{
    vertical-align: middle;
}




/* BUTTON TOP + FA ICONS */
.fa {
    display: inline;
    color:#d53c34;
    font: normal normal normal 16px/1 FontAwesome;
    font-size: 20px;
    padding-right: 5px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa:hover {
    color:#000000;
}


#botontop{
    z-index: 100000;
    position: fixed;
    float: right;
    top: 10px;
    right: 5px;
}
.btn {
    display: inline-block;
    padding: 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-primary {
    color: #ffffff;
    background-color: #d53c34;
    border-color: #ccc;
}

.btn-primary:hover {
    color: #ffffff;
    background-color: rgba(213, 60, 52, 0.8);
    border-color: #ccc;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}




/* GLOBALS */

.rojotit{
    color: #d53c34;
}

.rojoashua {
    color: #d53c34;
}

.rojotitular {
    color: #d53c34;
    line-height: 26px;
}


.rojoashua:hover, .rojoashua:focus, .rojoashua:active{
    text-decoration: none;
    color: rgba(213, 60, 52, 0.8);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.emailashua {
    color: #d53c34;
    font-size: 12px;
}

.emailashua:hover, .rojoashua:focus, .rojoashua:active{
    text-decoration: none;
    color: rgba(213, 60, 52, 0.8);
}


h2{
   font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700; 
    margin-bottom: 20px;
}

h3{
   font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700; 
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 18px;
}

p {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    text-align: justify;
    padding-bottom: 20px;
}

.phome {
    padding-top: 40px;
    padding-left: 40px;
}

.descripcion {
    text-align: left;
}

.fecha {
    font-size: 1em;
    padding-bottom: 0px;
}

.parrafoespecial{
    margin: 0 auto;
    text-align: center;
}

a {
    text-decoration: none;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

a:hover {
    text-decoration: none;
    color: rgba(213, 60, 52, 0.8);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

ul {
    list-style: none;
}

/**** Carousel styles *************/
.carousel-control.right,
.carousel-control.left {
  background-image: none;
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img {
        display: block;
        height: auto;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        line-height: 1;
}


/*** Estilos PANELES DOCUMENTACION ****/
.panel-group {
    margin-bottom: 20px;
    margin:20px 50px;
}


.panel-group .panel {
    margin-bottom: 0px;
    border-radius: 4px;
}

.panel-default {
    border-color: #ddd;
    
}

.panel-default ul{
    padding-left: 10px;
}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}



/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/

.hamburger {
  position: fixed;
  top: 10px;
  right:10px;
  z-index: 999;
  display: block;
  width: 32px;
  height: 32px;
  margin-left: 15px;
  background: transparent;
  border: none;
}
.hamburger:hover,
.hamburger:focus,
.hamburger:active {
  outline: none;
}
.hamburger.is-closed:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom,
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  position: absolute;
  left: 0;
  height: 4px;
  width: 100%;
}
.hamburger.is-closed .hamb-top,
.hamburger.is-closed .hamb-middle,
.hamburger.is-closed .hamb-bottom {
  background-color: #1a1a1a;
}
.hamburger.is-closed .hamb-top { 
  top: 5px; 
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed .hamb-middle {
  top: 50%;
  margin-top: -2px;
}
.hamburger.is-closed .hamb-bottom {
  bottom: 5px;  
  -webkit-transition: all .35s ease-in-out;
}

.hamburger.is-closed:hover .hamb-top {
  top: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-closed:hover .hamb-bottom {
  bottom: 0;
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-middle,
.hamburger.is-open .hamb-bottom {
  background-color: #1a1a1a;
}
.hamburger.is-open .hamb-top,
.hamburger.is-open .hamb-bottom {
  top: 50%;
  margin-top: -2px;  
}
.hamburger.is-open .hamb-top { 
  -webkit-transform: rotate(45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open .hamb-middle { display: none; }
.hamburger.is-open .hamb-bottom {
  -webkit-transform: rotate(-45deg);
  -webkit-transition: -webkit-transform .2s cubic-bezier(.73,1,.28,.08);
}
.hamburger.is-open:before {
  content: '';
  display: block;
  width: 100px;
  font-size: 14px;
  color: #fff;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: all .35s ease-in-out;
}
.hamburger.is-open:hover:before {
  opacity: 1;
  display: block;
  -webkit-transform: translate3d(-100px,0,0);
  -webkit-transition: all .35s ease-in-out;
}




/*------- MEDIA QUERIES FOR SMALL DEVICES --------------------*/
@media(min-width:768px) {
    #wrapper {
        padding-left: 300px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 300px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 0px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
    
}


/*------- MEDIA QUERIES FOR MEDIUM DEVICES --------------------*/
/*These instructions will be applied if the size is 1200px or less*/
@media screen and (max-width: 1200px) {
    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 16px;
        line-height: 20px;
    }

    .panel-group .panel {
        margin-right: 0px;
        margin-left: 0px;
    }

    .panel-group {
        margin-bottom: 20px;
        margin: 20px 10px;
    }

    .section-a {
        padding: 30px 10px;
        background-color: rgba(245, 245, 245, .8);
    }

    .caption {
        padding: 5px 20px;
    }

    .rojotitular {
        line-height: 22px;
    }

    .phome {
        padding: 20px;
    }

    .pulsera {
        width: 300px;
        text-align: center;
        margin: 0 auto;
        padding-top: 0px;
        padding-bottom: 20px;
    }

    .centranews {
        margin: 0 5%;
    }

}

.actual{
    color: white; !important;
    background-color:#d53c34; !important;
}




