@import url('reset.css');
.CleanFloat {
  display: table;
  content: "";
  clear: both;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(../Fonts/OpenSans.woff) format('woff');
}
@media screen {
  html,
  body {
    min-height: 100%;
    /* min-height FF y Safari */
    height: 100%;
    /* min-height IE Windows */
    margin: 0;
    padding: 0;
    border: 0;
  }
  body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    color: #333333;
    margin: 0;
    padding: 0;
    text-align: justify;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: 1%;
    padding-bottom: 0;
    color: #a5519e;
  }
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.75em;
  }
  h3 {
    font-size: 1.2em;
  }
  h4 {
    font-size: 1.1em;
  }
  h5,
  h6 {
    font-size: 1em;
  }
  h5 a:link,
  h5 a:visited,
  h5 a:active {
    padding: 0;
    text-decoration: none;
  }
  p {
    margin-bottom: 1em;
    line-height: 1em;
  }
  img {
    border: none;
  }
  a {
    text-decoration: none;
    color: #a5519e;
  }
  a:hover {
    text-decoration: underline;
  }
  hr {
    border: solid #efeff2;
    border-width: 1px 0 0;
    clear: both;
    margin: 5px 0;
    height: 0;
  }
  form {
    border: solid 1px #efeff2;
    box-shadow: 0 0 5px 5px #efeff2;
    padding: 10px 4px;
    margin-bottom: 20px;
  }
  /*input[type="text"]:invalid,
    input[type="email"]:invalid,
    textarea:invalid,*/
  .field-error {
    border: solid 1px #ff0000;
    background-color: #fe7676;
  }
  input[type="text"],
  input[type="email"] {
    width: 70%;
  }
  textarea {
    width: 85%;
  }
  input[type="text"],
  input[type="email"],
  textarea {
    resize: none;
    color: #333333;
    padding: 4px;
    background-color: #ffffff;
    border: 1px solid #efeff2;
    margin-top: 4px;
  }
  input[type="text"]:focus,
  input[type="email"]:focus,
  textarea:focus {
    border: 1px solid #333333;
  }
  input[type="submit"],
  input[type="reset"] {
    cursor: pointer;
    color: #ffffff;
    padding: 4px;
    background-color: #a5519e;
    border: 1px solid #efeff2;
    transition: background-color linear 0.5s;
    min-width: 100px;
    margin-right: 5px;
  }
  input[type="reset"]:hover,
  input[type="submit"]:hover {
    background-color: #ff8500;
  }
  /*-------------------------------
        LAYOUT GENERAL
    -------------------------------*/
  .item-row {
    margin: 0 auto;
    zoom: 1;
    padding: 10px 0;
    vertical-align: middle;
  }
  .item-row .one {
    width: 4.3%;
  }
  .item-row .two {
    width: 13%;
  }
  .item-row .three {
    width: 21.679%;
  }
  .item-row .four {
    width: 30.37%;
  }
  .item-row .five {
    width: 39.1%;
  }
  .item-row .six {
    width: 47.8%;
  }
  .item-row .seven {
    width: 56.5%;
  }
  .item-row .eight {
    width: 65.2%;
  }
  .item-row .nine {
    width: 73.9%;
  }
  .item-row .ten {
    width: 82.6%;
  }
  .item-row .eleven {
    width: 91.3%;
  }
  .item-row .twelve {
    width: 100%;
  }
  /* To fix the grid into a certain size, set max-width to width */
  .item-row .item-row {
    min-width: 0;
  }
  .item-row:before,
  .item-row:after {
    content: "";
    display: table;
  }
  .item-row:after {
    clear: both;
  }
  .item-column {
    margin-left: 2%;
    float: left;
    min-height: 1px;
    position: relative;
  }
  .item-column:first-child {
    margin-left: 5px;
  }
  #page {
    height: auto;
    /* this hack hide IE min-height   */
    width: 940px;
    margin: 0 auto;
  }
  /*-------------------------------
        CLASES
    -------------------------------*/
  .title {
    background-color: #a5519e;
    color: #ffffff;
    margin-bottom: 3px;
    padding: 4px;
    width: 60%;
  }
  .float-left {
    float: left;
  }
  .float-right {
    float: right;
  }
  .centered {
    text-align: center;
  }
  .right {
    text-align: right;
  }
  .bold {
    font-weight: bold;
  }
  .bottom-sep {
    border-bottom: dotted 1px #ccc;
  }
  .page-title {
    font-weight: lighter;
    margin-bottom: 40px;
  }
  .list {
    margin: 10px 20px;
  }
  .list li {
    list-style: circle;
    padding-left: 15px;
    margin-left: 10px;
  }
  /*--------------------------------
        TOP PAGE
    ----------------------------------*/
  #top-page {
    width: 100%;
    background-color: #a5519e;
    border-bottom: solid 3px #ff8500;
    height: 40px;
    line-height: 40px;
  }
  #top-page > div {
    width: 940px;
    text-align: right;
    margin: 0 auto;
  }
  #top-page > div a {
    color: #ffffff;
  }
  /*#top-page > div a:first-child {
                    border-right: solid 1px @colorFondo;
                    padding-right: 5px;
                }*/
  /*-------------------------------
        HEADER
     -------------------------------*/
  #header {
    margin: 1% 0;
  }
  #header:before,
  #header:after {
    display: table;
    content: "";
    clear: both;
  }
  #logo {
    float: left;
  }
  #contact-info {
    float: right;
    background-color: #efeff2;
    font-size: 0.8em;
    height: 110px;
    padding: 4px;
  }
  #contact-info a {
    color: #a5519e;
  }
  /*-------------------------------
        MENU
     -------------------------------*/
  #menu {
    height: 50px;
    line-height: 50px;
    margin: 0 auto 1%;
    padding: 0;
    width: 100%;
  }
  #menu ul li {
    float: left;
    margin-right: 2px;
    width: 155px;
  }
  #menu ul li:last-child {
    margin-right: 0;
  }
  #menu a {
    background-color: #a5519e;
    color: #ffffff;
    text-decoration: none;
    display: block;
    letter-spacing: 0;
    line-height: 50px;
    text-align: center;
    width: 100%;
    transition: background-color 0.5s ease 0s;
  }
  #menu a:hover {
    background-color: #ff8500;
  }
  /*-------------------------------
        BREADCRUMB
    ------------------------------*/
  #breadcrumb {
    padding: 5px;
    border-bottom: dotted 1px #ccc;
    margin-bottom: 20px;
  }
  /*-------------------------------
        BANNER
    ------------------------------*/
  #banner {
    position: relative;
    display: block;
    width: 940px;
    height: 419px;
    margin-bottom: 1%;
    overflow: hidden;
    font-size: 14px;
  }
  #banner h2 {
    margin-bottom: 30px;
    font-size: 20px;
    font-style: oblique;
  }
  #banner a {
    color: #ffffff;
  }
  #banner img {
    width: 940px;
    display: none;
  }
  #banner .item {
    position: absolute;
    top: 0;
    left: 0;
  }
  #item-text-container {
    position: absolute;
    bottom: -135px;
    right: 0;
    height: 135px;
    width: 100%;
    display: block;
    background-color: #ff8500;
    opacity: 0.9;
    text-shadow: none;
  }
  #item-text-container .item-text {
    color: #ffffff;
    padding: 15px 8px;
    z-index: 100;
  }
  #item-text-container .item-text h2 {
    color: #ffffff;
  }
  #item-menu-container {
    position: absolute;
    bottom: 0;
    left: 5px;
    height: 30px;
  }
  #banner .item-menu {
    z-index: 100;
    float: left;
    margin: 0 4px;
    padding: 5px;
    background-color: #fdae57;
    color: #333333;
    font-weight: bold;
    cursor: pointer;
  }
  #banner .selected {
    background-color: #ffffff;
    color: #333333;
  }
  /*-------------------------------
        CONTAIN
    ------------------------------*/
  .wrapper {
    width: 100%;
    display: table;
    content: "";
    clear: both;
  }
  .panel {
    background-color: #efeff2;
    width: 98%;
    font-size: 12px;
    padding: 5px 3px;
    margin-bottom: 2%;
  }
  #main-contain-topic,
  #main-contain {
    float: left;
    width: 637px;
  }
  #main-contain-topic {
    width: 630px;
  }
  #main-contain > div {
    background-color: #efeff2;
    min-height: 500px;
    width: 100%;
    display: table;
    content: "";
    clear: both;
  }
  .services-photo {
    padding-right: 6px;
  }
  .services-text {
    padding: 0 5px;
    font-size: 0.8em;
    width: 305px;
    margin: 10px 0 20px 0;
  }
  .services-text h4 {
    color: #a5519e;
    font-weight: lighter;
    margin-bottom: 5px;
    font-size: 1.4em;
  }
  #category-panel,
  #social-panel {
    float: right;
    width: 300px;
  }
  #category-panel > div:first-child,
  #social-panel > div:first-child {
    margin-bottom: 3px;
  }
  .highlight-panel {
    width: 49%;
    margin: 1% 0;
  }
  .highlight-panel a {
    color: #333333;
  }
  .highlight-panel div {
    background-color: #efeff2;
    height: 180px;
  }
  .highlight-panel article {
    font-size: 0.9em;
    padding: 1%;
    display: table;
    content: "";
    clear: both;
    width: 98%;
  }
  .highlight-panel header {
    margin-bottom: 5px;
  }
  .highlight-panel h1 {
    font-size: 1em;
  }
  .highlight-panel article > header > h1 {
    font-weight: normal;
  }
  .highlight-panel aside {
    color: #a5519e;
    padding-left: 20px;
  }
  .highlight-panel video {
    width: 55%;
    height: 170px;
    background-color: #333333;
    text-align: center;
  }
  .highlight-panel video span,
  .highlight-panel video a {
    display: block;
    color: #ffffff;
    padding: 10px 0;
  }
  .highlight-panel section {
    width: 43%;
  }
  .highlight-panel p {
    margin-top: 30px;
  }
  /*-------------------------------
        FOOTER
    ------------------------------*/
  #footer {
    background-color: #a5519e;
    color: #ffffff;
    padding: 10px 5px 5px;
    display: table;
    content: "";
    clear: both;
    width: 930px;
    margin: 2% 0 1%;
  }
  #footer h4 {
    margin-bottom: 8px;
    font-size: 1em;
    color: #ffffff;
  }
  #footer ul {
    margin-left: 4px;
    margin-right: 20px;
    font-size: 0.8em;
  }
  #footer ul li {
    margin-bottom: 4px;
  }
  #footer a {
    color: #ffffff;
  }
  #copyright {
    display: block;
    font-size: 0.8em;
    margin-bottom: 10px;
  }
  /*---------------------------
        BLOG
    ----------------------------*/
  .blog-section {
    background-color: #333333;
  }
  .blog-section #page {
    background-color: #ffffff;
    padding: 0 1% 1%;
  }
  #blog-header {
    margin-bottom: 2%;
    background-color: #a5519e;
  }
  #blog-header h1,
  #blog-header h2 {
    padding: 0;
    margin: 0;
    color: #ffffff;
  }
  #blog-header h2 {
    font-size: 1.3em;
    line-height: 1.5em;
    padding: 0 5px;
  }
  article header .additional {
    display: block;
    font-style: oblique;
    margin: 2% 0;
    color: #ff8500;
    font-weight: bold;
  }
  article section img {
    display: block;
    margin: 2% 0;
  }
  #blog-footer {
    height: 40px;
    line-height: 40px;
    padding: 0 5px;
    width: 930px;
    margin: 2% 0 1%;
    background-color: #a5519e;
    display: table;
    content: "";
    clear: both;
    color: #ffffff;
  }
  #blog-footer a {
    color: #ffffff;
  }
  /*---------------------------
        CARRUSEL
    ----------------------------*/
  .carrusel {
    display: block;
    background-color: #ffffff;
    width: 300px;
    height: 230px;
    margin: 20px auto 10px auto;
    padding: 10px 10px 30px 10px;
    border: solid 1px #ccc;
    position: relative;
    text-align: center;
    box-shadow: 0 0 10px 5px #ccc;
  }
  .carrusel input[type=button] {
    display: block;
    position: absolute;
    bottom: 0;
    padding: 4px;
    margin: 0;
    background-color: #a5519e;
    color: #ffffff;
    transition: background-color linear 0.5s;
    border: none;
    cursor: pointer;
  }
  .carrusel input[type=button].previous {
    left: 0;
    border-top-right-radius: 4px;
  }
  .carrusel input[type=button].next {
    right: 0;
    border-top-left-radius: 4px;
  }
  .carrusel input[type=button]:hover {
    background-color: #ff8500;
  }
  .carrusel img {
    width: 300px;
    height: 200px;
    display: none;
    margin: 0 auto;
  }
  .carrusel img:first-child {
    display: block;
  }
  /*---------------------------
        GOOGLE MAPS
    ----------------------------*/
  #map-mode {
    position: absolute;
    width: 300px;
    top: 20px;
    left: 40%;
    margin-left: -150px;
    padding: 5px;
    z-index: 1;
    background-color: #ffffff;
    border: solid 1px #efeff2;
  }
  #map-mode a {
    width: 100%;
    text-align: center;
    display: block;
  }
  #map-mode select {
    border: solid 1px #efeff2;
    width: 100%;
  }
  #map-mode select:focus {
    border: solid 1px #efeff2;
  }
  #map-canvas,
  #map-directions {
    height: 100%;
    margin: 0px;
  }
  #map-canvas {
    float: left;
    width: 70%;
    padding: 0px;
  }
  #map-directions {
    float: right;
    width: 29%;
    padding: 0 0.5%;
    overflow-y: scroll;
  }
}
@media screen and (max-width: 940px) {
  #social-panel,
  #banner {
    display: none;
  }
  .total-width-mobile {
    width: 99% !important;
    margin: 0 auto !important;
  }
  .center-in-mobile {
    text-align: center;
  }
  .wrapper * {
    height: auto !important;
    overflow: hidden;
  }
  #page {
    width: 100%;
    margin-top: 60px;
  }
  #top-page > div,
  #main-contain,
  #main-contain-topic,
  .highlight-panel,
  #footer,
  article,
  #category-panel,
  .panel {
    width: 99% !important;
    margin-left: 0.5%;
    margin-right: 0.5%;
    padding: 0;
  }
  #top-page {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 5px 5px 5px #ccc;
    z-index: 2;
  }
  #menu {
    position: fixed;
    top: 0;
    left: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background-image: url('../Images/menu-icon.gif');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    z-index: 2;
  }
  #menu ul {
    display: none;
    position: fixed;
    top: 43px;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 5px 5px #ccc;
    z-index: 1;
  }
  #menu ul li {
    float: none !important;
    width: 100%;
  }
  #menu ul li a {
    background-color: #808080;
    border-bottom: dotted 1px #efeff2;
    line-height: 40px;
  }
  #menu ul li:last-child a {
    border-bottom: solid 1px #efeff2;
  }
  #main-contain > div > div {
    width: 47%;
    margin: 1%;
  }
  #main-contain > div > div > img,
  #main-contain .services-text {
    width: 100% !important;
    padding: 0;
  }
  #main-contain-topic img,
  #main-contain img {
    max-width: 100%;
    width: 100%;
  }
  .carrusel {
    height: 230px !important;
  }
  .carrusel img {
    max-width: 300px !important;
    width: 300px !important;
    height: 200px !important;
  }
  .center-in-mobile img {
    width: initial !important;
  }
  /*---------------------------
        BLOG
    ----------------------------*/
  .blog-section #page {
    width: 98% !important;
    margin-top: 40px;
  }
  #blog-header {
    text-align: center;
  }
  #blog-header img {
    width: 100%;
  }
  #blog-footer {
    width: 99%;
    margin: 0 auto;
    padding: 0;
  }
  #blog-footer div {
    width: 100%;
    float: none !important;
    text-align: center;
  }
  /*---------------------------
        GOOGLE MAPS
    ----------------------------*/
  #map-mode {
    position: static !important;
    width: 100% !important;
    margin: 0;
  }
  #map-canvas,
  #map-directions {
    float: none !important;
    height: 300px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
}
@media screen and (max-width: 500px) {
  #logo,
  #contact-info,
  .highlight-panel video,
  .highlight-panel section {
    float: none !important;
    margin: 1% auto;
    width: 98%;
  }
  #logo {
    text-align: center;
  }
}
