figure {
    margin-bottom: 2.5em;
    float: left;
    width: 100%;
}

figure figcaption {
    font-size: 16px;
    width: 80%;
    margin: 20px auto 0px auto;
    color: #b3b3b3;
    font-style: italic;
    font-family: "Quicksand", Arial, sans-serif;
}

#page {
    width: 100%;
    overflow: hidden;
    position: relative;
    top: -26px;
}

/** Gestionamos el aside **/
#aside {
    padding-top: 1em;
    padding-bottom: 50px;
    padding-left: 1em;
    padding-right: 1em;
    width: 15%;
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1001;
    background: var(--main);
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    border: none !important;
    background-image: url(../images/pattner.gif);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    top: -1px;
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0px; /* Height of navbar */
    height: calc(100vh - 0px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

#aside span {
    width: 100%;
    height: 100px;
    display: block;
    position: relative;
    right: -20px;
    bottom: 0;
    margin-bottom: 3em;
    background-image: url(../images/svg/logo.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

#aside #main-menu ul {
    text-align: right;
    margin: 0 -20px 0 0;
    padding: 0;
}

#aside #main-menu ul li {
    margin: 0 0 10px 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#aside #main-menu ul li a {
    color: white;
    text-decoration: none;
    position: relative;
    padding: 5px 20px;
    margin: -3px 0;
    display: inline-block;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

#aside #main-menu ul li a:hover {
    text-decoration: none;
    color: var(--main);
    -webkit-border-radius: 100px 0 0 100px;
    border-radius: 100px 0 0 100px;
    background-color: white;
    padding-right: 60px;

}

#aside #main-menu ul li.active a {
    color: var(--main);
    padding-right: 60px;
    -webkit-border-radius: 100px 0 0 100px;
    border-radius: 100px 0 0 100px;
    background-color: white;
}

#aside #main-menu ul li.active a:after {
    visibility: visible;
}

#aside .footer {
    position: absolute;
    bottom: 40px;
    right: -0.5em;
    left: 1.5em;
    font-size: 12px;
    text-align: right;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    padding: 0 20px;
}

#aside .footer span {
    display: block;
}

#aside .footer ul {
    padding: 0;
    margin: 0;
}

#aside .footer ul li {
    padding: 0;
    margin: 0;
    display: inline;
    list-style: none;
}

#aside .footer ul li a {
    color: rgba(0, 0, 0, 0.7);
    padding: 4px;
}

#aside .footer ul li a:hover,
#aside .footer ul li a:active,
#aside .footer ul li a:focus {
    text-decoration: none;
    outline: none;
    color: var(--main);
}

/** gestiomanos el hero **/
#hero {

    min-height: 400px;
    background: #fff url(../images/loader.gif) no-repeat center center;
    width: 100%;
    float: left;
    clear: both;
}

#hero .btn {
    font-size: 24px;
}

#hero .btn.btn-primary {
    padding: 14px 30px !important;
}

#hero .flexslider {
    border: none;
    z-index: 1;
    margin-bottom: 0;
}

#hero .flexslider .slides {
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--main);
    height: auto !important;
}

#hero .flexslider .slides li {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    position: relative;
    background-position: top center;
}

#hero .flexslider .flex-control-nav {
    bottom: 50%;
    z-index: 1000;
    right: 20px;
    float: right;
    width: auto;
}

#hero .flexslider .flex-control-nav li {
    display: block;
    margin-bottom: 10px;
}

#hero .flexslider .flex-control-nav li a {
    background: rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 12px;
    height: 12px;
    cursor: pointer;
}

#hero .flexslider .flex-control-nav li a.flex-active {
    cursor: pointer;
    background: var(--main);
    border: 2px solid var(--main);
}

#hero .flexslider .flex-direction-nav {
    display: none;
}

#hero .flexslider .slider-text {
    display: table;
    opacity: 0;
    min-height: 400px;
    z-index: 9;
}

#hero .flexslider .slider-text > .slider-text-inner {
    display: table-cell;
    vertical-align: middle;
    min-height: 600px;
    padding: 2em;
    position: relative;
}

#hero .flexslider .slider-text > .slider-text-inner .desc {
    position: absolute;
    bottom: 25%;
    left: 0;
    padding: 30px;
    background: #fff;
    border-bottom: 10px solid var(--main);
}

#hero .flexslider .slider-text > .slider-text-inner h1,
#hero .flexslider .slider-text > .slider-text-inner h2 {
    margin: 0;
    padding: 0;
    color: black;
    font-family: "Quicksand", Arial, sans-serif;
}

#hero .flexslider .slider-text > .slider-text-inner h1 {
    margin-bottom: 20px;
    font-size: 44px;
    line-height: 0;
    font-weight: 300;
}

#hero .flexslider .slider-text > .slider-text-inner h2 {
    font-size: 2em;
    font-weight: 700;
    font-family: "Quicksand", Arial, sans-serif;
    line-height: 3;
}

#hero .flexslider .slider-text > .slider-text-inner h2 a {
    color: rgba(247, 89, 64, 0.8);
    border-bottom: 1px solid rgba(247, 89, 64, 0.7);
}

#hero .flexslider .slider-text > .slider-text-inner .heading-section {
    font-size: 50px;
}

#hero .flexslider .slider-text > .slider-text-inner s .lead {
    font-size: 20px;
    color: #fff;
}

#hero .flexslider .slider-text > .slider-text-inner p {
    margin-bottom: 0;
}

#hero .flexslider .slider-text > .slider-text-inner .btn {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    padding: 10px 15px !important;
    border: none;
    font-weight: 400;
}

#hero .flexslider .slider-text > .slider-text-inner .btn.btn-learn {
    background: transparent;
    color: #000;
    border: 1px solid #000;
}

#hero .flexslider .slider-text > .slider-text-inner .btn.btn-learn:hover {
    background: transparent !important;
    border: 1px solid #000 !important;
}


aside#hero {
    /* background-color: cadetblue; */
    height: 440px;
}

/** Gestionamos el offcamvas **/
body.offcanvas {
    overflow-x: hidden;
}

body.offcanvas #aside {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    width: 30%;
    z-index: 999;
    position: fixed;
}

body.offcanvas #aside span {
    position: relative;
    left: 0;
}

body.offcanvas #aside #main-menu ul li {
    color: white;
    width: 100%;
    text-align: center;
    height: auto;
    line-height: 3;
    border-radius: 0px;
    padding-right: 0px;
}

body.offcanvas #aside #main-menu ul li:hover {
    color: var(--main);
    background-color: white;
}

body.offcanvas #aside #main-menu ul li a:hover {
    color: var(--main);
    padding-right: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    background-color: transparent;
    text-align: center;

}

body.offcanvas #aside #main-menu ul li.active a {
    color: var(--main);
    background-color: white;
    width: 100%;
    text-align: center;
    height: auto;
    line-height: 3;
    border-radius: 0px;
    padding-right: 20px;
}

body.offcanvas #main,
body.offcanvas .nav-toggle {
    top: 0;
    -moz-transform: translateX(170px);
    -webkit-transform: translateX(170px);
    -ms-transform: translateX(170px);
    -o-transform: translateX(170px);
    transform: translateX(170px);
}

/** Gestionamos el main **/
#main {
    width: 85%;
    float: right;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.blog,
.work,
.about,
.clei,
.contact {
    padding: 4em 0;
    clear: both;
    width: 100%;
    display: block;
}

.about-desc h3,
.clei h2,
.blog-entry h2,
.heading {
    font-size: 2.2em;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

/*** Section About ***/
.about-img,
.about-img-2 {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px;
}

.about-img {
    width: 80%;
    height: 550px;
    background-image: url(../images/img-1.jpg);
}

.about-img-2 {
    background-image: url(../images/img-2.jpg);
}

.about-img .about-img-2 {
    width: 100% !important;
    height: 390px;
    position: absolute;
    top: 80px;
    right: -100px;
    width: 80%;
    -webkit-box-shadow: 0px 35px 78px -23px rgba(0, 0, 0, 0.33);
    -moz-box-shadow: 0px 35px 78px -23px rgba(0, 0, 0, 0.33);
    box-shadow: 0px 35px 78px -23px rgba(0, 0, 0, 0.33);
}

.heading span {
    display: block;
}

.heading-meta {
    margin-bottom: 15px;
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #999999;
    font-weight: 500;
    letter-spacing: 5px;
    text-align: center;
}

/*** Gestionamos el acordeon ***/
.panel-heading a {
    padding: 15px 25px;
    display: block;
    width: 100%;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: var(--main);
    color: #fff;
    position: relative;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-box-shadow: none !important;
    -o-box-shadow: none !important;
    box-shadow: none !important;
}

.panel {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-box-shadow: none !important;
    -o-box-shadow: none !important;
    box-shadow: none !important;
    border: none;
}

.collapse.in {
    display: block;
    background-color: #fafafa;
}

.panel-heading a:after {
    font-family: "icomoon";
    content: "\ea0e";
    position: absolute;
    right: 20px;
    font-size: 20px;
    font-weight: 400;
    top: 50%;
    line-height: 1;
    margin-top: -10px;
}

.panel-heading a.collapsed:after {
    content: "\ea1c";
}

.panel-heading a.collapsed {
    background: #fafafa;
    border: 1px solid #e6e6e6 !important;
    color: #333333;
}

.panel-body {
    padding: 1.5em;
    margin: 15px;
    margin-top: 5px;
    border: 1px solid #e6e6e6 !important;
}

.fancy-collapse-panel .panel-default > .panel-heading {
    padding: 0;
}

/*** Article CLEI ***/
#logo_clei{
    background-image: url(../images/svg/logo.svg);
    background-repeat: no-repeat;
    background-position: center right 5%;
    background-size: contain;
padding-right: 3em;
}

.clei-list li{
    margin-top: 1%;
}

.feature .icon i {
    display: table-cell;
    vertical-align: middle;
    color: var(--main);
    font-size: 40px;
    height: 100px;
}

.feature {
    text-align: left;
    width: 100%;
    float: left;
    margin-bottom: 60px;
    position: relative;
}

.feature a {
    color:var(--main);
    text-decoration: none;
}

.feature .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    display: table;
    text-align: center;
    background: rgba(0, 0, 0, 0.03);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

.feature .icon i {
    display: table-cell;
    vertical-align: middle;
    color: var(--main);
    font-size: 40px;
    height: 100px;
}

.feature .text {
    padding-left: 120px;
    width: 100%;
}

.feature .text h2,
.feature .text h3 {
    margin: 0;
    padding: 0;
}

.feature.feature-sm .feature-text {
    margin-top: 30px;
}

.feature .feature-text {
    padding-left: 120px;
    width: 100%;
}

.feature .feature-sm .icon i {
    color: #F75940;
    font-size: 40px;
}

/** Gestionamos el blog **/
.blog {
    background-color: #f8f9fa;
    padding-bottom: 0;
    ;
}

.blog-entry {
    width: 100%;
    float: left;
    margin-bottom: 3em;
    padding: 10px;
    border-radius: 0.8rem;
    ;
    border: ipx solid var(--dark-border);
}

.blog-entry .blog-img {
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
    border-radius: 1em;
}

.blog-entry .blog-img img {
    position: relative;
    max-width: 100%;
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -ms-transform: scale(1.3);
    -o-transform: scale(1.3);
    transform: scale(1.3);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.blog-entry .desc h3 {
    font-size: 1em;
    margin-bottom: 25px;
    line-height: auto;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-entry .desc h3 a {
    color: #000;
    text-decoration: none;
}

.blog-entry .desc span {
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5) !important;
}

.blog-entry .desc span small i {
    color: #999999;
}

.blog-entry .desc .lead {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--main);
    font-weight: 600;
}

.blog-entry:hover .blog-img img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

/** el banner **/
#get-in-touch {
    padding: 2em;
    background-color: var(--dark);
    color: white;
}

#get-in-touch .btn-learn {
    padding: 15px 30px !important;
    font-size: 13px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    border-radius: 30px;
}

/*** Gestionamos la paginación ***/
.pagination {
    padding: 0;
}

.pagination li {
    margin: 2px;
}

.pagination li a {
    color: #000;
    background: transparent;
    color: #000;
    margin: 2px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
}

.pagination li a:first-child {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}

.pagination li a:hover,
.pagination li a:focus {
    background: var(--main);
    color: #fff;
    border: 1px solid var(--main);
}


.pagination li.active a {
    background: var(--main);
    border: 1px solid var(--main) !important;
}

.pagination li.active a:hover,
.pagination li.active a:focus {
    background: var(--main);
    color: #fff;
    border: 1px solid var(--main) !important;
}

/*** Gestionamos el mapa ***/
#map {
    width: 100%;
    height: 450px;
}

/** Gestionamos el toggle **/
.nav-toggle {
    cursor: pointer;
    text-decoration: none;
}

.nav-toggle.active i::before,
.nav-toggle.active i::after {
    background: #000;
}

.nav-toggle.dark.active i::before,
.nav-toggle.dark.active i::after {
    background: #000;
}

.nav-toggle:hover,
.nav-toggle:focus,
.nav-toggle:active {
    outline: none;
    border-bottom: none !important;
}

.nav-toggle i {
    position: relative;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 30px;
    height: 2px;
    color: #000;
    font: bold 14px/.4 Helvetica;
    text-transform: uppercase;
    text-indent: -55px;
    background: #000;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.nav-toggle i::before,
.nav-toggle i::after {
    content: '';
    width: 30px;
    height: 2px;
    background: #000;
    position: absolute;
    left: 0;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.nav-toggle.dark i {
    position: relative;
    color: #000;
    background: #000;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.nav-toggle.dark i::before,
.nav-toggle.dark i::after {
    background: #000;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.nav-toggle i::before {
    top: -7px;
}

.nav-toggle i::after {
    bottom: -7px;
}

.nav-toggle:hover i::before {
    top: -10px;
}

.nav-toggle:hover i::after {
    bottom: -10px;
}

.nav-toggle.active i {
    background: transparent;
}

.nav-toggle.active i::before {
    top: 0;
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.nav-toggle.active i::after {
    bottom: 0;
    -webkit-transform: rotateZ(-45deg);
    -moz-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
    -o-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg);
}

.nav-toggle {
    position: fixed;
    left: -4px;
    top: 0px;
    z-index: 9999;
    cursor: pointer;
    opacity: 1;
    visibility: hidden;
    padding: 20px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.js .animate-box {
    opacity: 0;
}

#sticky_item {
    overflow: hidden;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

#sticky_item.is_stuck {
    margin-top: 10px;
}