/*!
 * Pueblo Magico Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Helvetica,"Helvetica Neue","Source Sans Pro",Arial,sans-serif;
    font-size: 16px;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.text-vertical-center h3 {
    color: rgba(102, 97, 242, 0.45);
}


a {
  color: #333;
  border-bottom: 2px solid #eee;
}

a:hover {
  color: #ccc;
  text-decoration: none;
}

a:visited, a:active, a:link {
    text-decoration: none;
}

/* ------------------------------------------------- */
/* Image rounded corners (for photos)
/* ------------------------------------------------- */
img.rcorners {
  border-radius: 4px;
}

/* ------------------------------------------------- */
/* Image rounded corners (for slides)
/* ------------------------------------------------- */
img.slides {
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1.5px solid #999;
}


/* ------------------------------------------------- */
/* Color Palette: azul, mamey, turquesa
/* ------------------------------------------------- */
#azul {
    color: #3c78d8;
}

a.azul {
    /* #3c78d8 = rgba(60, 120, 216) */
    border-bottom: 2px solid rgba(60, 120, 216, 0.35);
}

a.azul:hover {
    color: #3c78d8;
    text-decoration: none;
    border-bottom: 2px solid #3c78d8;
}

a.azul:visited, a.azul:active, a.azul:link {
    text-decoration: none;
}


#mamey {
    color: #ff335c;
}

a.mamey {
    /* #ff335c = rgba(255, 51, 92) */
    border-bottom: 2px solid rgba(255, 51, 92, 0.35);
}

a.mamey:hover {
    color: #ff335c;
    text-decoration: none;
    border-bottom: 2px solid #ff335c;
}

a.mamey:visited, a.mamey:active, a.mamey:link {
    text-decoration: none;
}


#turquesa {
    color: #19a8ba;
}

a.turquesa {
    /* #19a8ba = rgba(25, 168, 186) */
    border-bottom: 2px solid rgba(25, 168, 186, 0.35);
}

a.turquesa:hover {
    color: #19a8ba;
    text-decoration: none;
    border-bottom: 2px solid #19a8ba;
}

a.turquesa:visited, a.turquesa:active, a.turquesa:link {
    text-decoration: none;
}

/* ------------------------------------------------- */



#heart {
    color: #FF5050;
}
  
#books {
    /*c color: #FF842C; */
    color: #3c78d8;
}

a.books {
    /* #FFBC44 = rgba(255, 188, 68) */
    /* border-bottom: 2px solid rgba(255, 80, 80, 0.35); */

    /*c color: #FF842C; */
    /*border-bottom: 2px solid rgba(255, 132, 44, 0.35); */
    border-bottom: 2px solid rgba(60, 120, 216, 0.35);
}

a.books:hover {
    /*c color: #FF842C; */
    color: #3c78d8;
    text-decoration: none;
    border-bottom: 2px solid #3c78d8;
}

a.books:visited, a.books:active, a.books:link {
    text-decoration: none;
}

#teaching {
    /*c color: #FF842C; */
    color: #FFBC44;
}

a.teaching {
    /* #FF842C = rgba(255, 132, 44) */
    /* border-bottom: 2px solid rgba(255, 132, 44, 0.35); */
    border-bottom: 2px solid rgba(255, 188, 68, 0.35);
}

a.teaching:hover {
    /*c color: #FF842C; */
    color: #FFBC44;
    text-decoration: none;
    border-bottom: 2px solid #FFBC44;
}

a.teaching:visited, a.teaching:active, a.teaching:link {
    text-decoration: none;
}

#tutorials {
    /*c olor: #FFBC44; */
    color: #f6e53d;
}

a.tutorials {
    /* #FF5050 = rgba(255, 80, 80) */
    /* border-bottom: 2px solid rgba(255, 188, 68, 0.35); */
    border-bottom: 2px solid rgba(246, 229, 61, 0.35);
}

a.tutorials:hover {
    color: #f6e53d;
    text-decoration: none;
    border-bottom: 2px solid #f6e53d;
}

a.tutorials:visited, a.tutorials:active, a.tutorials:link {
    text-decoration: none;
}

#souvenirs {
    color: #8FDB71;
}

a.souvenirs {
    border-bottom: 2px solid rgba(143, 219, 113, 0.35);
}

a.souvenirs:hover {
    color: #8FDB71;
    text-decoration: none;
    border-bottom: 2px solid #8FDB71;
}

a.souvenirs:visited, a.tutorials:active, a.tutorials:link {
    text-decoration: none;
}

#software {
    /*color: #1EAD99; */
    color: #3c78d8;
}

a.software {
    /* #4B79C6 = rgba(30, 173, 153) */
    /* border-bottom: 2px solid rgba(30, 173, 153, 0.35); */
    border-bottom: 2px solid rgba(60, 120, 216, 0.35);
}

a.software:hover {
    /* color: #1EAD99; */
    color: #3c78d8;
    text-decoration: none;
    /* border-bottom: 2px solid #1EAD99; */
    border-bottom: 2px solid #3c78d8;
}

a.software:visited, a.software:active, a.software:link {
    text-decoration: none;
}

#talks {
    color: #229AAD;
}

a.talks {
    border-bottom: 2px solid rgba(34, 154, 173, 0.35);
}

a.talks:hover {
    color: #229AAD;
    text-decoration: none;
    border-bottom: 2px solid #229AAD;
}

a.talks:visited, a.talks:active, a.talks:link {
    text-decoration: none;
}

#exps {
    color: #4B79C6;
}

a.exps {
    /* #A365AB = rgba(160, 90, 221, 0.45) */
    border-bottom: 2px solid rgba(75, 121, 198, 0.35);
}

a.exps:hover {
    color: #4B79C6;
    text-decoration: none;
    border-bottom: 2px solid #4B79C6;
}

a.exps:visited, a.exps:active, a.exps:link {
    text-decoration: none;
}

#blog {
    color: #A365AB;
}

a.blog {
    /* #4B79C6 = rgba(75, 121, 198, 0.45) */
    /* #6D84C1 = rgba(93, 109, 214, 0.35) */
    border-bottom: 2px solid rgba(163, 101, 171, 0.45);
}

a.blog:hover {
    color: #A365AB;
    text-decoration: none;
    border-bottom: 2px solid #A365AB;
}

a.blog:visited, a.blog:active, a.blog:link {
    text-decoration: none;
}

#misc {
    color: #C64B82;
}

a.misc {
    /* #4B79C6 = rgba(75, 121, 198, 0.45) */
    /* #6D84C1 = rgba(93, 109, 214, 0.35) */
    border-bottom: 2px solid rgba(198, 75, 130, 0.35);
}

a.misc:hover {
    color: #C64B82;
    text-decoration: none;
    border-bottom: 2px solid #C64B82;
}

a.misc:visited, a.misc:active, a.misc:link {
    text-decoration: none;
}

#icon {
    border-bottom: 0px solid #eee;
}

/* Custom Button Styles */

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0,0,0,0.7);
}

.btn-light {
    border-radius: 0;
    color: #333;
    background-color: rgb(255,255,255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #333;
    background-color: rgba(255,255,255,0.8);
}

/* Custom Horizontal Rule */
hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 2px solid #eee;
}

hr.small {
    max-width: 100px;
}

/* Custom ul li separated */
ul li.sep1 { 
  /* line-height: 1.5em; */
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

/* Custom ul li separated */
ul li.sep2 { 
  /* line-height: 1.5em; */
  margin-top: 0.5em;
}


/* Side Menu */

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 250px;
    height: 100%;
    margin-right: -250px;
    overflow-y: auto;
    background: #222;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

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

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

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

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

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

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

#menu-toggle {
    z-index: 1;
    position: fixed;
    top: 0;
    right: 0;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}

/* Header */

.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* About */

.about {
    padding: 50px 0;
}

/* Services */

.services {
    padding: 50px 0;
}

.service-item {
    margin-bottom: 30px;
}

/* Callout */

.callout {
    display: table;
    width: 100%;
    height: 400px;
    color: #fff;
    background: url(../img/callout.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* Portfolio */

.portfolio {
    padding: 50px 0;
}

.portfolio-item {
    margin-bottom: 30px;
}

.img-portfolio {
    margin: 0 auto;
}

.img-portfolio:hover {
    opacity: 0.8;
}

.img-centered {
  display: inline-block;
  max-width: 100%;

  margin-left: auto;
  margin-right: auto;

  /*height: auto;
  padding: 4px;
  line-height: 1.42857143;
  background-color: #fff;
  border: 1px solid #fff;*/
  border-radius: 4px;
  -webkit-transition: all .2s ease-in-out;
       -o-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
}

/* Call to Action */

.call-to-action {
    padding: 50px 0;
}

.call-to-action .btn {
    margin: 10px;
}

/* Map */

.map {
    height: 500px;
}

@media(max-width:768px) {
    .map {
        height: 75%;
    }
}

@media(min-width:768px) {
    .lead {
        font-size: 20px;
    }
}


/*disable custom maps scrolling behaviour*/
.scrolloff {
    pointer-events: none;
}

/* Footer */

footer {
    padding: 10px 0;
}


/*responsive google map in footer*/
.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}