/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent; /* For some Androids */
}

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    overflow-x: hidden;
}


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* reset adds */
h1 {
    margin: 0.67em 0px 1.67em;
    padding: 0px;
    font-size: 20px !important;

}

/* ====== WIDTHS ====== */

.w-1080 {
    width: 1080px;
}

.w-all {
    width: 100%;
}

.w-75 {
    width: 75%;
}

.w-25 {
    width: 25%;
}

/* ====== GRIDS ====== */

.grid-2 > * {
    width: 50%;
    float: left;
    padding: 10px 7px 5px 0px;
} 

.team--general .grid-2 > .subgrid-2 {
    width: 50%;
    float: left;
    padding: 10px 13px 5px 13px;
}

.team--general .grid-2 > .subgrid-2:nth-of-type(2n) {
    width: 50%;
    float: left;
    padding: 10px 0px 5px 13px;
}

.team--general .grid-2 > .subgrid-2:nth-of-type(2n-1) {
    width: 50%;
    float: left;
    padding: 10px 13px 5px 0px;
    /* Diego */
    clear:left;
}

.team--general .grid-2 > .subgrid-2:first-of-type {
    clear:left;
}

.team--general__item {
    /* height: 180px; */
    margin-bottom: 20px;
}

.grid-3 > * {
    width: 360px;
    float: left;
    padding: 10px 7px 5px;
}

.grid-4 > * {
    width: 25%;
    float: left;
    padding: 10px 7px 5px;
    height: 220px;
}

.grid-6 > * {
    width: 16.66666667%;
    float: left;
    padding: 10px 7px 5px;
}

.grid-4.grid-margin > * {
    width: 24.25%;
    float: left !important;
    margin: 0px 0.5% 20px;
}

.grid-4.grid-margin > .subgrid-4:nth-of-type(4n) {
    margin: 0px 0 20px 0.5%;
}

.grid-4.grid-margin > .subgrid-4:nth-of-type(4n-3) {
    margin: 0px 0.5% 20px 0px;
}

.grid-4.grid-margin > .subgrid-4:first-of-type {
    margin: 0px 0.5% 20px 0px;
}

.grid-5 > .subgrid-5 {
    width: 216px;
    float: left;
    padding: 10px 7px 5px;
    height: 200px;
}

.grid-5 > .subgrid-5:nth-of-type(5n) {
    padding: 10px;
}

.grid-5 > .subgrid-5:nth-of-type(5n-4) {
    padding: 10px;
}

/* ====== POSITIONING ====== */

.div-center {
    margin: 0px auto;
}

.to-left {
    float: left;
}

.to-right {
    float: right;
}

.bleed-inside {
    padding-left: 7px;
    padding-right: 7px;
}

/* ====== SPACING ====== */

.big-space-before {
    margin-top: 80px;
}

.medium-space-before {
    margin-top: 40px;   
}

.tiny-space-before {
    margin-top: 20px;   
}

.big-space-after {
    margin-bottom: 80px;
}

.medium-space-after {
     margin-bottom: 40px;   

}

.tiny-space-after {
     margin-bottom: 20px;      
}

/* ====== GENERAL TYPO-STYLES ====== */

.title {
    margin: 30px inherit inherit inherit;
    font-size: 1.2em;
    color: #444;
    font-weight: 400;
}

.clear-both {
    clear: both;
}

a.clean_link {
    color:inherit;
    text-decoration: none;
}

.clickable {
    cursor: pointer;
}

.italic {
    font-style: italic;
}

.justified {
    text-align: justify;
}

.encapsulado {
    display: inline-block;
    background: rgba(42,54,62,0.7);
    padding: 1px 5px;
    border-radius: 43%;
    color: #eee;
} 

.active {
    opacity: 1;
}

.muted {
    opacity: 0.6;
    cursor: not-allowed;
}

.hoverable {
    transition: opacity 250ms ease;
        -moz-transition: opacity 250ms ease;
        -webkit-transition: opacity 250ms ease;
    opacity: 1;
}

.hoverable:hover {
    transition: opacity 250ms ease;
        -moz-transition: opacity 250ms ease;
        -webkit-transition: opacity 250ms ease;
    opacity: 0.8;
}

.featured-background {
    background: #FAFAFA;
}

.readable-text {
    font-size: 0.9em;
    color: #000;
}

h5 {
    font-size: 1.1em;
    margin: 0px 0 4px;
}

.gris{
  text-align: right;
}

.gris img{
  margin: 0 0px 10px 0;
  padding-bottom: 10px;
  border-bottom: 0px dotted #ddd;
}

/* ====== Estilos para las DL ====== */
dl.table_single dt{
  font-family: "DINCond-Medium";
  font-size: 1.1em;
  font-weight: normal;
}
dl.table_single dt{
  font-weight: normal;
}



/* ====== CONCRETE TYPO-STYLES ====== */

.proyect_caption,
.proyect_info_caption {
    transition: all 250ms ease;
        -moz-transition: all 250ms ease;
        -webkit-transition: all 250ms ease;
    font-family: arial;
    font-size: 0.80em;
    line-height: 1.20em;
    margin: 7px 0 0 0;
    /*color: #818181;*/
    font-weight: lighter;
    margin: 6px 0 -4px 0;
    /* Diego */
    vertical-align: top; 
}

/* Diego */
.proyect_caption { 
    min-width: 79px; 
}
.uppercase { 
    text-transform: uppercase;
}
.proyect_info_caption { min-width: 250px; }

.strong {
    font-weight: 600;
    color: #000;
}

.black {
    color: #333;
}

.work__grid--item:hover .proyect_caption,
.work__grid--item:hover .proyect_info_caption {
    transition: all 250ms ease;
        -moz-transition: all 250ms ease;
        -webkit-transition: all 250ms ease;
    color: #000;
}

/* ====== DROP-DOWN STYLE ====== */

.dropdown__toggle span {
    position: relative;
    /*border: 1px solid #D8D8D8;*/
    padding: 2px 20px 0 4px;
    line-height: 1em;
    border-radius: 3px;
    /*background: #fafafa;*/
}

.dropdown__toggle span:after {
    content: '';
    position: absolute;
    background: url('../images/language-arrows-01.png') no-repeat 0 -7px;
    background-size: 12px;
    width: 12px;
    height: 8px;
    top: 7px;
    right: 23px;
    overflow: hidden;
}

.dropdown__toggle.open span{
    position: relative;
    /*background: #f5f5f5;*/
}

.dropdown__toggle.open span:after {
    content: '';
    position: absolute;
    background: url('../images/language-arrows-01.png') no-repeat 0 -7px;
    background-size: 12px;
    width: 12px;
    height: 8px;
    top: 7px;
    right: 23px;
    overflow: hidden;
}

.dropdown__toggle ul {
    max-height: 0px;
    overflow: hidden;
    margin: 1px 0 0 0px;
}

.dropdown__toggle.open ul {
    max-height: 100px;
    overflow: hidden;
    position: absolute;
    min-width: 41px;
    margin: 1px 0 0 0px;
}

.dropdown__toggle li {
    padding: 1px 2px;
    font-size: 0.9em;
    text-transform: uppercase;
    color: #555;
    /*border-bottom: 1px solid #ddd;*/
    margin: 0 3px;
}

.dropdown__toggle li:last-of-type {
    border-bottom: 0px solid #ddd;
}


.dropdown__toggle li.active {
    position: relative;   
}

.dropdown__toggle li.active:after {
    content: '';
    position: absolute;
    background: url('../images/language-arrows-02.png') no-repeat 0 0px;
    background-size: 7px;
    width: 12px;
    height: 13px;
    top: 5px;
    right: -5px;
    overflow: hidden;
}

/* ====== MODAL MENU ====== */

.modal {
    background: rgba(255, 255, 255, 1);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 0px;
    left: 0px;
    -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
}

.modal.in {
    animation: modal-in 300ms;
        -moz-animation: modal-in 300ms;
        -webkit-animation: modal-in 300ms;
}

.modal.out {
    animation: modal-out 500ms;
        -moz-animation: modal-out 500ms;
        -webkit-animation: modal-out 500ms; 
}

.modal__holder { 
    position: fixed;
    z-index: 1003;
    top: 0px;
    display: block;
    opacity: inherit;
    /*background: #9f6262;*/
}

.modal__holder.in {
    animation: modal-in 20ms;
        -moz-animation: modal-in 20ms;
        -webkit-animation: modal-in 20ms; 
}

.image__holder {
    position: absolute;
    /*top: 0px;
    left: 0px;*/
    width: 100%;
    height: 100%;
}

.image__holder.in-right {
    animation: modal__holder-in__right 500ms;
        -moz-animation: modal__holder-in__right 500ms;
        -webkit-animation: modal__holder-in__right 500ms; 
}

.image__holder.in-left {
    animation: modal__holder-in__left 500ms;
        -moz-animation: modal__holder-in__left 500ms;
        -webkit-animation: modal__holder-in__left 500ms; 
}

.image__holder.out-right {
    animation: modal__holder-out__right 500ms;
        -moz-animation: modal__holder-out__right 500ms;
        -webkit-animation: modal__holder-out__right 500ms;     
}

.image__holder.out-left {
    animation: modal__holder-out__left 500ms;
        -moz-animation: modal__holder-out__left 500ms;
        -webkit-animation: modal__holder-out__left 500ms;     
}

.modal__btns {
    position: absolute;
    z-index: 1004;
    width: 50px;
    height: 50px;
    opacity: 0.1;
    cursor: pointer;
}

.modal__btns--prev {
    background: url('../images/modal-prev.png') no-repeat 10% 50%;
    top: 4%;
    left: -85px;
    /*border: 1px solid red;*/
    width: 50%;
    height: 96%;
    background-size: 27px;
}

.modal__btns--next {
    background: url('../images/modal-next.png') no-repeat 90% 50%;
    top: 4%;
    right: -85px;
    /*border: 1px solid red;*/
    width: 50%;
    height: 96%;
    background-size: 27px;
}

.modal__btns--close {
    background: url('../images/modal-close.png') no-repeat right 0;
    top: -33px;
    right: -50px;
    background-size: 27px;
}


@media (min-width: 830px) and (max-width: 1200px) {
 
}

@media (min-width: 500px) and (max-width: 829px) {
    .modal__btns--prev {
        opacity: 0;
    }
    
    .modal__btns--next {
        opacity: 0;
    }
    
    .modal__btns--close {
        background: url('../images/modal-close.png') no-repeat right 0;
        top: -33px;
        right: 9px;
        background-size: 27px;
    }
}

@media (min-width: 300px) and (max-width: 499px) {
    .modal__btns--prev {
        opacity: 0;
    }
    
    .modal__btns--next {
        opacity: 0;
    }
    
    .modal__btns--close {
        background: url('../images/modal-close.png') no-repeat right 0;
        top: -33px;
        right: 9px;
        background-size: 27px;
    }
}

.modal__btns--hide {
    display: none;
}

/* menu modal */
#movil-modal {
    display: none;
}

.menu_modal {
    position: fixed;
    z-index: 4;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    top: 0px;
    left: 0px;
}

.menu_modal ul {
    padding: 30px 30px; 
    margin: 0px;
}

.modal-menu-item {
    list-style: none;
    color: #333;
    text-transform: uppercase;
    width: 100%;
    margin: 0px;
    padding: 3px 0 4px;
    border-bottom: 1px solid #aaa;
    cursor: pointer;
}

.modal-menu-item:last-of-type {
    border-bottom: 0px solid #aaa;
}

/* ====== CONCRETE LAYOUT STYLES ====== */

/* Snap menu */


@media (min-width: 500px) {
    div.drawers {
        display: none;
    }   
}

@media (min-width: 300px) and (max-width: 499px) {  
    div.drawers {
        position: absolute; 
    }
    
    div.right-drawer {
        position: absolute;
        background: #E7E7E7;
        box-shadow: 5px 0 6px rgba(0,0,0,0.1) inset;
    }
    
    div.right-drawer ul {
        padding: 0px;
    }
    
    div#snap_content {
        position: absolute; 
        background: white;
        overflow-x: hidden;
    }
}

/* header */

.header {
    position: relative;
    z-index: 3;
    background: #fff;
}

.header__holder {
    position: relative;
    z-index: 4;
    background: #fff;
    margin: 0 0 10px 0;
}

.header__logo {
    /*opacity: 0.8;*/
    margin: 19px 0 0px -2px;
}

.header__logo div.header__menu--schalter {
    display: none;
}

.header__breadcrumb {
    margin: 25px 0px 0px 3px;
}

.header__breadcrumb span {
}

.header__breadcrumb--separator {
    color: #D8D8D8;
    font-weight: bolder;
    display: inline-block;
    margin: 0px 1px 1px 7px;
}

.header__breadcrumb--term {
    color: #C2C2C2;
    font-weight: bold;
    display: inline-block;
    margin: 0px 1px 1px 3px;
}

.header__menu--schalter, 
.header__menu--schalter.js-schalter__on:hover {
    transition: all 250ms ease;
        -moz-transition: all 250ms ease;
        -webkit-transition: all 250ms ease;
    background: url(../images/th-menu-50.png) no-repeat center center;
    width: 30px;
    height: 30px;
    margin: -4px 0 0 -8px;
    background-size: 16px;
    opacity: 0.7;
    /*border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 0 0;*/
}

.header__menu--schalter:hover, 
.header__menu--schalter.js-schalter__on {
    transition: all 250ms ease;
        -moz-transition: all 250ms ease;
        -webkit-transition: all 250ms ease;
    background: url(../images/th-menu-50.png) no-repeat center center;
    width: 30px;
    height: 30px;
    margin: -4px 0 0 -8px;
    background-size: 16px;
    opacity: 0.5 ;
    /*border: 1px solid #CACACA;
    border-radius: 3px;
    box-shadow: 0 1px 2px #ddd inset;*/
}

/* subheader */

.subheader {
    position: relative;
    z-index: 2;
    height: 30px;
    background: #fff;
    /*border-bottom: 0px solid #F5F5F5;*/    
    /*top: -30px;*/
}

.subheader__menu.js-subheader-closed {
    transition: top 250ms ease;
        -moz-transition: top 250ms ease;
        -webkit-transition: top 250ms ease;    
    top: -51px;
    right: 16px;
}

.subheader__menu.js-subheader-opened {
    transition: top 250ms ease;
        -moz-transition: top 250ms ease;
        -webkit-transition: top 250ms ease; 
    top: 56px;
    right: 16px;
}

/* subheader menus -- menu left */

.subheader__holder {
    position: relative;
    top: -2px;
}

.subheader__menu--left {
    height: 46px;
    overflow: hidden;
}

.subheader__menu--left ul {
    padding: 0px; 
    margin: 28px 0 0 28px;    
    -webkit-padding-start: 0px;    
}

.subheader__menu--left--item {
    max-width: 85px;
    display: inline-block;
    float: left;
    overflow: hidden;
    margin: 0 0 0 16px; 
}

.subheader__menu--left--item .dropdown__toggle {}

.subheader__menu--left--item.subheader__menu--left--menuitem {
    margin: 0 0 0 16px;
    display: none;
}

.subheader__menu--left--item span {
    color: #B4B2B2;
    text-transform: uppercase;
    font-weight: 400;
    display: inline-block;
    width: 100%;
    font-size: 14px;
}

/* subheader menus -- button center */

.subheader__menu--center {

}

/* subheader menus -- menu right */

.subheader__menu--right {
    position: absolute;
    top: 4px;
    right: 0px;
}

.subheader__menu--right > ul {
    padding: 0px; 
    margin: 0px; 
    -webkit-padding-start: 0px;
}

/*li*/.subheader__menu--right--item {
    display: inline-block;
    float: left;
    margin: 0 0 0 20px;
    text-align: left ;
    background: rgba(255,255,255,0.9);
    overflow: hidden;
}

.menu-item-closed {
    transition: max-height 250ms ease;
        -moz-transition: max-height 250ms ease;
        -webkit-transition: max-height 250ms ease; 
    max-height: 20px;
}

.menu-item-opened:not(.show-all-filter) {
    transition: max-height 250ms ease;
        -moz-transition: max-height 250ms ease;
        -webkit-transition: max-height 250ms ease;     
    /* Diego
    max-height: 400px; */
}

.subheader__menu--right--item span {
    color: #B4B2B2;
    text-transform: uppercase;
    font-weight: 100;
    display: inline-block;
    font-size: 14px;
}

.filter-item-group {
    padding: 0px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 11px 7px;
}

.filter-item {
    list-style: none;
    margin: 0px;
    text-transform: uppercase;
    padding: 4px 5px;
    font-size: 0.8em;
    color: #888;
    /* Diego */
    max-width: 135px;
}

.filter-item:last-of-type {
    border-bottom: 0px solid #EBEBEB;

}

/*li.subheader__menu--right--item {
    display: inline-block;
    float: left;
    margin: 0 0 0 20px;
    text-align: right;
    position: relative;
}

.menu-item-closed .filter-item-group {
    transition: max-height 250ms ease;
        -moz-transition: max-height 250ms ease;
        -webkit-transition: max-height 250ms ease; 
    max-height: 0px;
}

.menu-item-opened:not(.show-all-filter) .filter-item-group {
    transition: max-height 250ms ease;
        -moz-transition: max-height 250ms ease;
        -webkit-transition: max-height 250ms ease;     
    max-height: 400px;
}

.subheader__menu--right--item span {
    color: #B4B2B2;
    text-transform: uppercase;
    font-weight: 100;
    display: inline-block;
    font-size: 14px;
}

.filter-item-group {
    padding: 0px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 11px 7px;
    position: absolute;
    top: 13px;
    right: -8px;
    min-width: 170px;
    background: rgba(255,255,255,0.9);
    overflow: hidden;
}

.filter-item {
    list-style: none;
    margin: 0px;
    text-transform: uppercase;
    padding: 4px 5px;
    font-size: 0.8em;
    color: #888;
    position: relative;
    z-index: 4;
}*/

/* grid index */

#is-container {
    min-height: 820px;
}

.grid--item__image {
    border: 1px solid #eee;
    height: 170px;
    overflow: hidden;
}

/* archive list */

.archive__main {

}

.archive__main--title {
    width: 100%;
    margin: 10px 1px 5px;
    border-bottom: 0px solid #848484;
    font-size: 0.9em;
    text-transform: uppercase;
    color: #4A4A4A;
    padding: 4px 0;
    font-weight: 600;
}

archive__main--block-year {
    width: 100%;
}

.archive__item {
    display: flex;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
    align-items: stretch;
        -webkit-align-items: stretch;
        -ms-align-items: stretch;
        -moz-align-items: stretch;
    max-height: 110px;
    margin: 5px 0;

}

.archive__item--text {
    padding: 7px 7px 13px 9px;
    width: 68%;
    border-left: 0px solid #eee;
    float: right;
    margin: 0 0 0 2%;
}

.archive__item--title {
    margin: 7px 0 3px 0;
    border-bottom: 0px solid #ddd;
    padding: 0 0 8px 0;
    width: 240px;
}

.archive__item--description {
    line-height: 1.2em;
}

.archive__item--image {
    width: 12.5%;
    border: 1px solid #eee;
    overflow: hidden;
    margin: 10px 0px;
    float:left;
    border-radius: 2px;
    height: 95px;
}

.archive__item--image img {
    height: 100%;
    width: 100%;
}

.archive__sidebar {
    margin: 31px 0 0 0;
    background: #f5f5f5;
    border-radius: 4px;
}

.archive__sidebar--title {
    margin: 0 10px;
    padding: 10px 0 7px 0;
    display: inline-block;
    border-bottom: 1px solid #eee;
    width: 92%;
    font-weight: 600;
    color: #000;
    font-size: 0.85em;
}

.archive__filter-item-group {
    padding: 0 15px 8px;
}

.archive__filter-item-group .filter-item {
    width: 100%;
    max-width: none;
    border-bottom: 1px solid #e1e1e1;
}

.archive__filter-item-group .filter-item:last-child {
    border-bottom: 0px;
}

.filter-item {
    position: relative;
}

.filter-item:after {
    content: ' ';
    top: 8px;
    right: 7px;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D5D5D5;
    
    transform: scale(0);
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        
    transition: transform 300ms ease;
        -webkit-transition: -webkit-transform 300ms ease;
        -moz-transition: transform 300ms ease;
}

.filter-item.list_active {
    position: relative;
}

.filter-item.list_active:after {
    content: ' ';
    top: 8px;
    right: 7px;
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D5D5D5;;
    
    transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        
    transition: transform 300ms ease;
        -webkit-transition: -webkit-transform 300ms ease;
        -moz-transition: transform 300ms ease;
}

.filter-item.list_active:hover:after {
    transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
        
    transition: transform 300ms ease;
        -webkit-transition: -webkit-transform 300ms ease;
        -moz-transition: transform 300ms ease;
}

/* single-porftolio */

.table_single {
    /* width: 410px; */
}

.table_single tbody {
    border: 0px;
}

.bloque_izquierda {
    display:block;
    width:33%;
    float: left;
}
.bloque_derecha {
    display: block;
    width: 64%;
    float: right;
    margin-top: 5px;
}
p.single-pofolio__description {
    float: none !important ;
}

div.single-pofolio--info {
    float: none !important;
}

.single-pofolio__description {
    /* width: 447px; */
    /* text-align: left; */
    /*color: #808080;*/
    margin-top: -23px;
    font-size: 0.8em;
    line-height: 1.5em;
}

.single-pofolio--info {
    margin-top: -9px;
}

.single-pofolio--info table {
    border-radius: 4px;
    margin: 22px 0 0 0;
}

.single-pofolio--info tr {
    /*border-bottom: 1px solid #D3D3D3;*/
}

.single-pofolio--info tr:last-child {
    border-bottom: 0px solid #D3D3D3;
}

.single-pofolio--info td {
    padding: 3px 0px;
}

.single-pofolio--grid {
    margin-top: -14px;
    padding-left: 7px;
    padding-right: 7px;
}

.single-pofolio--grid--item {
    overflow: hidden;
    position: relative;
    height: 146px;
    background-size: cover;
    padding: 0px;
    margin-bottom: 5px;
    margin-right: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    width: calc(16.6666666666% - 5px);
}

.single-pofolio--grid--item:nth-child(6n) {
    margin-right: 0px;
}

.single-pofolio--grid--item img {
    width: 100%;
    height: auto;
}

/* singles */

.studio--image,
.team--image {
    /* Diego 
    height: 360px; */
    max-height: 360px;
    overflow: hidden;
}

.team--highlights__img.w-25 {
    overflow: hidden;
    height: 115px;
    width: 20%;
}

.team--highlights__text.w-75 {
    padding: 0 0 0 30px;
    width: 80%;
}

.team--general__holder.w-75 {
    padding: 0 0 0 30px;
    width: 80%;
}

.team--highlights__text h4.title, 
.team--general__holder h4.title {
    margin: 0 0 4px;
    font-family: arial;
    font-size: 1.0em;
    line-height: 1.0em;
}

.team--highlights__text p.subtitle,
.team--general__holder p.subtitle {
    font-style: italic;
    color: #9b9b9b;
    font-size: 0.9em;
}

.team--highlights__text p.description, 
.team--general__holder p.description {
    margin: 12px 0 0 0;
    font-size: 0.9em;
}

.map-object {
    height: 350px;
}

.map-object__holder {
    height: 100%;
}

/* login page */

.page-user {}

.page-user #content {
    overflow: hidden;
    width: 1080px;
    margin: 40px auto;
    padding: 7px;
    position: relative;
}

.page-user #content-area {
    float: left;
    width: 70%;
}

.page-user #content-header {
    float: right;
    width: 20%;
}

.page-user #content-header ul.tabs {
    border-bottom: 0px;
    margin: 40px 0 0 0;
}

.page-user #content-header ul.tabs li {
    display: block;
    margin: 5px 0 0 0;
}

.page-user #content-header ul.tabs li a {
    background: transparent;
    border: 0px;
}

.page-user #content-header ul.tabs li a span {
    color: #B4B2B2;
    text-transform: uppercase;
    font-weight: 100;
    display: inline-block;
    width: 100%;
    font-size: 14px;
}

.page-user #content-area label {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2em;
    color: rgb(68, 68, 68);
}

.page-user #content-area label .form-required {
    opacity: 0.5;
}

.page-user #content-area input[type=text], 
.page-user #content-area input[type=password] {
    border: 1px solid #888;
    height: 27px;
    margin: 15px 0 5px;
    border-radius: 2px;
}
 
.page-user #content-area input[type=submit] {
    border: 1px solid #A2A2A2;
    height: 27px;
    margin: 15px 0 5px;
    border-radius: 2px;
    padding: 2px 12px;
    color: #DFDADA;
    background: #4D4D4D;
    text-transform: uppercase;
    font-size: 0.9em;
}

.page-user #content-area .description {
    color: rgb(180, 178, 178);
    font-style: italic;
    font-size: 0.9em;
}

.page-user #content .messages {
    width: 99%;
    border-radius: 2px;
    background: url('../images/delete.png') no-repeat 13px center, #FDF8F8;
    border: 2px solid #EED7CE;
}

.page-user #content .messages ul {
    list-style: none;
    color: #858585;
    font-weight: 200;
    font-size: 0.9em;
}

.page-user #content .messages a {
    color: #555;
    font-weight: 400;
    text-decoration: none;
    font-style: italic;
}


/* footer */

.footer {
    /* background: #f1f1f1; */
    border-top: 1px solid #C2C2C2;
}

.footer__contact p {
    font-size: 0.8em;
    margin: 7px 0 0 0;
    color: #646464;
}

.footer__logo {
    /*opacity: 0.8;*/
    margin: 1px 0 0 0;
    display: none;
}

/* responsive ipad - tab */

@media (min-width: 830px) and (max-width: 1200px) {
   
    .w-1080 {
        width: 800px;
    }
    
    .w-75 {
        width: 100%;
    }

    .grid-2 > * {
        width: 100%;
        float: left;
        padding: 10px 0px 5px;
    }

    .grid-4 > * {
        width: 33.3333%;
        float: left;
        padding: 10px 7px 5px;
    }

    .subheader__holder {
        position: static;
    }

    .subheader__menu--left--item, 
    .subheader__menu--right--item {
        font-size: 1em;
    }

    
    .subheader__menu--right, 
    .subheader__menu--right.js-subheader-opened {
        position: absolute;
        width: 100%;
        top: 87px;
        right: -80%;
        left: inherit;
        z-index: 6;
        background: rgba(255,255,255,0.96);
        
        transition: right 250ms ease;
            -moz-transition: right 250ms ease;
            -webkit-transition: right 250ms ease;   
    }
    
    .subheader__menu--right.js-subheader-closed {
        position: absolute;
        top: 87px;
        right: -120%;
        left: inherit;
        z-index: 6;
        background: rgba(255,255,255,0.96);
        
        transition: right 250ms ease;
            -moz-transition: right 250ms ease;
            -webkit-transition: right 250ms ease; 
    }

    .subheader__menu--right ul {
        padding: 2px 0 20px 0px;
        width: 220px;
    }

    .subheader__menu--right--item {
        float: none;
        display: block;
        background: none;
    }

    .subheader__menu--right--item.menu-item-closed {
        /* Diego 
        max-height: 400px; */
        max-height: none;
    }

    .subheader__menu--right--item.menu-item-opened {
        /* Diego 
        max-height: 400px; */
        max-height: none;
    }

    .subheader__menu--right--item span {
        padding: 1px 0px 1px 15px;
    }

    .subheader__menu--right--item ul {
        padding: 1px 5px;
    }
    
    .team--general__holder.w-75 {
        padding: 0 0 0 0;
        width: 100%;
    }

    .footer__logo {
        clear:both;
        float: left;
        margin: 10px 0 0 0;
    }
    
    /*=== archive site ===*/
    .archive__main.w-75 {
        width: 75%;
    }
    
    .archive__sidebar.w-25 {
        width: 25%;
        margin: 35px 0 0 0;     
    }
    
    .archive__main--title {
        width: 94.5%;
    }
    
    .archive__item--text {
        width: 80%;
    }
    
    .archive__item--image {
        width: 20%;
    }

    .bloque_izquierda {
        display: block;
        width: 33%;
    }
    .bloque_derecha {
        display: block;
        width: 66%;
        float: right;
        margin-top: 5px;
    }
    
}

@media (min-width: 500px) and (max-width: 829px) {
    
    body {
       overflow-x: hidden;
    }  

    .w-1080 {
        width: 500px;
    }
    
    .w-75 {
        width: 100%;
    }

    .grid-2 > * {
        width: 100%;
        float: left;
        padding: 10px 0px 5px;
    }

    .grid-4 > * {
        width: 50%;
        float: left;
        padding: 10px 7px 5px;
    }

    .grid-6 > * {
        width: 33.3333333%;
        float: left;
        padding: 10px 7px 5px;
    }

    .single-pofolio--grid--item {
        height: 146px;
        margin-bottom: 5px;
        margin-right: 5px;
        width: calc(33.3333333% - 5px);
    }

    .single-pofolio--grid--item:nth-child(6n) {
        margin-right: 5px;
    }

    .single-pofolio--grid--item:nth-child(3n) {
        margin-right: 0px;
    }
    
    .subheader {
        background: #fff;
        width: 90%;
        /* Diego */
        float: left;
    }

    .subheader__holder {
        position: static;
    }
    
    .header__logo {
        /*opacity: 0.8;*/
        margin: 17px 0 0px -3px;
        width: 100%;
    }
    
    .header__menu--schalter:hover, 
    .header__menu--schalter.js-schalter__on,
    .header__menu--schalter.js-schalter__on:hover,
    .header__menu--schalter {
        margin: 3px -5px 0 0;
    }
    
    .subheader__menu--left {
        position: static;
        width: 100%;
    }
    
    .subheader__menu--left ul {
        padding: 0px;
        margin: 10px 0 0 0;
        -webkit-padding-start: 0px;
    }
    
    .subheader__menu--left--item {
        display: block;
        color: #8a8a8a;
        /* Diego */
        margin-left: 0;
        margin-right: 16px;
    } 

    .subheader__menu--left--item, 
    .subheader__menu--right--item {
        font-size: 1em;
    }
    
    .subheader__menu--right, 
    .subheader__menu--right.js-subheader-opened {
        position: absolute;
        width: 100%;
        top: 115px;
        right: -60%;
        left: inherit;
        z-index: 6;
        background: rgba(255,255,255,0.96);
        
        transition: right 250ms ease;
            -moz-transition: right 250ms ease;
            -webkit-transition: right 250ms ease;   
    }
    
    .subheader__menu--right.js-subheader-closed {
        position: absolute;
        top: 115px;
        right: -130%;
        left: inherit;
        z-index: 6;
        background: rgba(255,255,255,0.96);
        
        transition: right 250ms ease;
            -moz-transition: right 250ms ease;
            -webkit-transition: right 250ms ease; 
    }

    .subheader__menu--right ul {
        padding: 2px 0 20px 0px;
        width: 220px;
    }

    .subheader__menu--right--item {
        float: none;
        display: block;
        background: none;
    }

    .subheader__menu--right--item.menu-item-closed {
        /* Diego 
        max-height: 400px; */
        max-height: none;
    }

    .subheader__menu--right--item.menu-item-opened {
        /* Diego 
        max-height: 400px; */
        max-height: none;
    }

    .subheader__menu--right--item span {
        padding: 1px 0px 1px 15px;
    }

    .subheader__menu--right--item ul {
        padding: 1px 5px;
    }

    .footer__logo {
        clear:both;
        float: left;
        margin: 10px 0 0 0;
    }
    
    .team--general__holder.w-75 {
        padding: 0 0 0 0;
        width: 100%;
    }
    
    /* Diego */
    .archive__main--title {
        margin: -7px 0px 0px 0px ;
    }
    
    /* Diego */  
    .team--general .grid-2 > .subgrid-2:nth-of-type(2n),
    .team--general .grid-2 > .subgrid-2:nth-of-type(2n-1) {
        float:left;
        padding:10px 0 5px;
        width:100%;
     }

     .footer span.separator {
         display: none;
     }

     .footer span.name,
     .footer span.address {
         display: block;
     }

    /*=== archive site ===*/
    .archive__main.w-75 {
        width: 75%;
    }
    
    .archive__sidebar.w-25 {
        width: 25%;
        margin: 35px 0 0 0;     
    }
    
    .archive__main--title {
        width: 94.5%;
    }
    
    .archive__item--text {
        width: 70%;
    }
    
    .archive__item--image {
        width: 30%;
        height: 87px;
    }

    .archive__item--title {
        width: 94%;
    }
    
    .bloque_izquierda {
        display: block;
        width: 100%;
    }
    .bloque_derecha {
        display: block;
        width: 100%;
        float: right;
        margin-top: 5px;
    }
    .bloque_derecha img {
        width: 100%;
    }
    .data_protection {
        float: left !important;
    }


}

@media (min-width: 300px) and (max-width: 499px) {
        
    body {
        overflow-x: hidden;
    }

    .w-1080 {
        width: 300px;
    }
    
    .w-75 {
        width: 100%;
    }

    .grid-2 > * {
        width: 100%;
        float: left;
        padding: 10px 0px 5px;
    }

    .grid-4 > * {
        width: 100%;
        float: left;
        padding: 10px 7px 5px;
    }

    .grid-6 > * {
        width: 50%;
        float: left;
        padding: 10px 7px 5px;
    }

    .single-pofolio--grid--item {
        height: 146px;
        margin-bottom: 5px;
        margin-right: 5px;
        width: calc(50% - 5px);
    }

    .single-pofolio--grid--item:nth-child(3n) {
        margin-right: 5px;
    }

    .single-pofolio--grid--item:nth-child(2n) {
        margin-right: 0px;
    }

    .header__logo {
      width: 100%;
    }
    
    .header__logo a {
      width: 80%;
      display: inline;
      clear: none;
    }
    
    .header__logo div.header__menu--schalter {
      margin: 1px 0 0 0 !Important;
      padding: 0px;
      display: block;
    }


    .header__menu--schalter, 
    .header__menu--schalter:hover, 
    .header__menu--schalter.js-schalter__on, 
    .header__menu--schalter.js-schalter__on:hover {
        margin: -59px 0 8px;
    }

    .header__logo img {
        width: 100%;
        height: auto;
    }
    
    .subheader {
        position: relative;
        z-index: 2;
        height: 30px;
        background: #fff;
        top: 10px;
        width: 100%;
    }

    .subheader__holder {
        position: static;
    }
    
    .subheader__menu--left--item {
        max-width: none;
    }

    .subheader__menu--left--item, 
    .subheader__menu--right--item {
        font-size: 1em;
    }

    .subheader__menu--left {
        float: none;
        clear: both;
        height: 33px;
        overflow: hidden;
        border: 1px solid #D6D5D5;
        border-radius: 3px;
        cursor: pointer;
    } 
    
    .subheader__menu--left ul {
        margin: 4px 0 0 4px;
    }

    .subheader__menu--left--item {
        float: none;
        display: block;
        padding: 2px 12px;
        color: #8a8a8a;
    } 

    .subheader__menu--left--item span {
        color: inherit;
    } 

    .subheader__menu--right, 
    .subheader__menu--right.js-subheader-opened {
        position: absolute;
        width: 100%;
        top: 85px;
        right: -20%;
        left: inherit;
        z-index: 6;
        background: rgba(255,255,255,0.96);
        
        transition: right 250ms ease;
            -moz-transition: right 250ms ease;
            -webkit-transition: right 250ms ease;   
    }
    
    .subheader__menu--right.js-subheader-closed {
        position: absolute;
        top: 85px;
        right: -120%;
        left: inherit;
        z-index: 6;
        background: rgba(255,255,255,0.96);
        
        transition: right 250ms ease;
            -moz-transition: right 250ms ease;
            -webkit-transition: right 250ms ease; 
    }

    .subheader__menu--right ul {
        padding: 2px 0 20px 0px;
        width: 220px;
    }
    .subheader__menu--right--item {
        float: none;
        display: block;
        background: none;
    }

    .subheader__menu--right--item.menu-item-closed {
        /* Diego 
        max-height: 400px; */
        max-height: none;
    }

    .subheader__menu--right--item.menu-item-opened {
        /* Diego 
        max-height: 400px; */
        max-height: none;
    }

    .subheader__menu--right--item span {
        padding: 1px 0px 1px 15px;
    }

    .subheader__menu--right--item ul {
        padding: 1px 5px;
    }

    .archive__item--categories {
        display: none;
    }

    .table_single {
        width: 100%;
    }

    .table_single td:first-of-type {
        width: 51%;
        vertical-align: top;
    }

    .single-pofolio {
        margin: 25px auto 20px;
    }

    .single-pofolio__description {
        width: 100%;
        font-size: 14px;
        line-height: 18.7px;
        margin-top: 25px;
    }
    
    .studio--image, .team--image {
        max-height: 360px;
        overflow: hidden;
        margin: -30px 0 -10px;
    }

    .team--general__holder.w-75 {
        padding: 0 0 0 0;
        width: 100%;
    }
    
    .team--highlights__img.w-25 {
        overflow: hidden;
        height: inherit;
        width: 70%;
        clear: both;
        float: none;
        margin: 0 0 15px;
    }
    
    .team--highlights__text.w-75 {
        padding: 0;
        width: 100%;
        clear: both;
        float: none;
    }

    .footer__logo {
        clear:both;
        float: left;
        margin: 10px 0 0 0;
    }

    /* Diego */    
    .team--general .grid-2 > .subgrid-2:nth-of-type(2n),
    .team--general .grid-2 > .subgrid-2:nth-of-type(2n-1) {
        float:left;
        padding:10px 0 5px;
        width:100%;
     }
     
     .footer span.separator {
         display: none;
     }

     .footer span.name,
     .footer span.address {
         display: block;
     }


         /*=== archive site ===*/
    .archive__main.w-75 {
        width: 100%;
    }
    
    .archive__sidebar.w-25 {
        display: none;    
    }
    
    .archive__main--title {
        width: 100%;
    }
    
    .archive__item--text {
        width: 65%;
    }
    
    .archive__item--image {
        width: 35%;
        height: 91px;  
        margin: 0px;  
    }

    .archive__item--title {
        width: 234px;
    }
    
    .archive__item--text {
        padding: 0px 0px 13px 7px;
        width: 180px;
        border-left: 3px solid #eee;
        min-height: 85px;
    }

    .archive__item--title {
        width: 186px;
    }
    
    .subheader {
        display: none !important;
    }

    .bloque_izquierda {
        display: block;
        width: 100%;
    }
    .bloque_derecha {
        display: block;
        width: 100%;
        float: right;
        margin-top: 5px;
    }
    .bloque_derecha img {
        width: 100%;
    }
    .data_protection {
        float: left !important;
    }


}

/* ==========================================================================
   Animations
   ========================================================================== */

@-webkit-keyframes modal-in {
    0% {
        -webkit-transform: scale(2);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        opacity: 1;
    }
}

@-moz-keyframes modal-in {
    0% {
        -moz-transform: scale(2);
        opacity: 0;
    }

    100% {
        -moz-transform: scale(1);
        opacity: 1;
    }
}

@keyframes modal-in {
    0% {
        transform: scale(2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@-webkit-keyframes modal__holder-in {
    0% {
        -webkit-transform: translateX(-700px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }
}

@-moz-keyframes modal__holder-in {
    0% {
        -moz-transform: translateX(-700px);
        opacity: 0;
    }

    100% {
        -moz-transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes modal__holder-in {
    0% {
        transform: translateX(-700px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


@-webkit-keyframes modal__holder-in__right {
    0% {
        -webkit-transform: translateX(-700px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }
}

@-moz-keyframes modal__holder-in__right {
    0% {
        -moz-transform: translateX(-700px);
        opacity: 0;
    }

    100% {
        -moz-transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes modal__holder-in__right {
    0% {
        transform: translateX(-700px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@-webkit-keyframes modal__holder-in__left {
    0% {
        -webkit-transform: translateX(700px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }
}

@-moz-keyframes modal__holder-in__left {
    0% {
        -moz-transform: translateX(700px);
        opacity: 0;
    }

    100% {
        -moz-transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes modal__holder-in__left {
    0% {
        transform: translateX(700px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


@-webkit-keyframes modal__holder-out__right {
    0% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(700px);
        opacity: 0;
    }
}

@-moz-keyframes modal__holder-out__right {
    0% {
        -moz-transform: translateX(0px);
        opacity: 1;
    }

    100% {
        -moz-transform: translateX(700px);
        opacity: 0;
    }
}

@keyframes modal__holder-out__right {
    0% {
        transform: translateX(0px);
        opacity: 1;
    }

    100% {
        transform: translateX(700px);
        opacity: 0;
    }
}

@-webkit-keyframes modal__holder-out__left {
    0% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(-700px);
        opacity: 0;
    }
}

@-moz-keyframes modal__holder-out__left {
    0% {
        -moz-transform: translateX(0px);
        opacity: 1;
    }

    100% {
        -moz-transform: translateX(-700px);
        opacity: 0;
    }
}

@keyframes modal__holder-out__left {
    0% {
        transform: translateX(0px);
        opacity: 1;
    }

    100% {
        transform: translateX(-700px);
        opacity: 0;
    }
}


@-webkit-keyframes modal-out {
    0% {
        -webkit-transform: scale(1);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(2);
        opacity: 0;
    }
}

@-moz-keyframes modal-out {
    0% {
        -moz-transform: scale(1);
        opacity: 1;
    }

    100% {
        -moz-transform: scale(2);
        opacity: 0;
    }
}

@keyframes modal-out {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================

   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

div#movil-modal { display: none; }

div.subheader__menu--right{ display:none; }

body.page-node-4 div.subheader__menu--right,
body.front div.subheader__menu--right { display: block; }


/* Generated by Glyphter (http://www.glyphter.com) on  Tue May 19 2015*/
@font-face {
    font-family: 'Glyphter';
    src: url('fonts/glyphter/Glyphter.eot');
    src: url('fonts/glyphter/Glyphter.eot?#iefix') format('embedded-opentype'),
         url('fonts/glyphter/Glyphter.woff') format('woff'),
         url('fonts/glyphter/Glyphter.ttf') format('truetype'),
         url('fonts/glyphter/Glyphter.svg#Glyphter') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class*='icon-']:before{
    display: inline-block;
   font-family: 'Glyphter';
   font-style: normal;
   font-weight: normal;
   line-height: 1;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale
}
.icon-modal_close:before{content:'\0041';}
.icon-modal_left:before{content:'\0042';}
.icon-modal_right:before{content:'\0043';}

.BM_modal * {
  box-sizing: initial;
}

.BM_modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: rgba(255, 255, 255, 1);
  z-index: 500;
  display: none;
  border: 0px solid red;
  overflow: hidden;
}


.BM_modal.open {
  display: block;
}

.BM_modal_inner {
  border: 0px solid red;
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: initial;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);


  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

.BM_modal_picture {
  width: 100%;
  height: 100%;
  border: 0px solid blue;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 510;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

.BM_modal_picture_inner {
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
  border: 0px solid blue;
  position: absolute;
  z-index: 515;
  box-shadow: 0px 2px 4px rgba(0,0,0,0);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

.BM_modal_prev {
  height: 100%;
  width: 40%;
  top: 0px;
  left: -60px;
  position: absolute;
  z-index: 520;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);

  -webkit-transition: background-color 350ms ease;
  -moz-transition: background-color 350ms ease;
  -ms-transition: background-color 350ms ease;
  -o-transition: background-color 350ms ease;
  transition: background-color 350ms ease;
}

.BM_modal_prev:hover {
  background-color: rgba(0, 0, 0, 0);
  
  -webkit-transition: background-color 350ms ease;
  -moz-transition: background-color 350ms ease;
  -ms-transition: background-color 350ms ease;
  -o-transition: background-color 350ms ease;
  transition: background-color 350ms ease;
}

.BM_modal_prev::before {
  content:'\0042';
  position: absolute;
  font-family: 'Glyphter';
  font-size: 2.4em;
  top: 50%;
  left: 10px;
  color: #E4E4E4;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 530;

  -webkit-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

.BM_modal_next {
  height: 100%;
  width: 40%;
  top: 0px;
  right: -60px;
  position: absolute;
  border: 0px solid orange;
  z-index: 520;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);

  -webkit-transition: background-color 350ms ease;
  -moz-transition: background-color 350ms ease;
  -ms-transition: background-color 350ms ease;
  -o-transition: background-color 350ms ease;
  transition: background-color 350ms ease;
}

.BM_modal_next:hover {
  background-color: rgba(0, 0, 0, 0);
  
  -webkit-transition: background-color 350ms ease;
  -moz-transition: background-color 350ms ease;
  -ms-transition: background-color 350ms ease;
  -o-transition: background-color 350ms ease;
  transition: background-color 350ms ease;
}

.BM_modal_next::before {
  content:'\0043';
  position: absolute;
  font-family: 'Glyphter';
  font-size: 2.4em;
  top: 50%;
  right: 10px;
  color: #E4E4E4;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 530;

  -webkit-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

.BM_modal_close {
  height: 30px;
  width: 30px;
  top: 1.3em;
  right: 1.3em;
  position: absolute;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 50%;
  z-index: 540;
  -webkit-transform: translate(50%, -50%);
  -moz-transform: translate(50%, -50%);
  -ms-transform: translate(50%, -50%);
  -o-transform: translate(50%, -50%);
  transform: translate(50%, -50%);

  

  -webkit-transition: background-color 350ms ease;
  -moz-transition: background-color 350ms ease;
  -ms-transition: background-color 350ms ease;
  -o-transition: background-color 350ms ease;
  transition: background-color 350ms ease;
}

.BM_modal_close:hover {
  background-color: rgba(0, 0, 0, 0);
  
  -webkit-transition: background-color 350ms ease;
  -moz-transition: background-color 350ms ease;
  -ms-transition: background-color 350ms ease;
  -o-transition: background-color 350ms ease;
  transition: background-color 350ms ease;
}

.BM_modal_close::before {
  content:'\0041';
  position: absolute;
  font-family: 'Glyphter';
  font-size: 1.6em;
  top: 50%;
  right: 50%;
  color: #E4E4E4;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 540;

  -webkit-transform: translate(50%, -50%);
  -moz-transform: translate(50%, -50%);
  -ms-transform: translate(50%, -50%);
  -o-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
}

@media (max-width: 830px) {

}

@media (max-width: 500px) {
    .BM_modal_next::before {
        content: '';
    }
    .BM_modal_prev::before {
        content: '';
    }
}


/*--- ANIMATION CONTROLLERS ---*/
@-webkit-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }
@-moz-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }
@-ms-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }
@-o-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }
@keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 1;} }

@-webkit-keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
@-moz-keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
@-ms-keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
@-o-keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
@keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }

@-webkit-keyframes fadeInLeft { 0% { opacity: 0; -webkit-transform: translate3d(-20%, 0, 0); }100% { opacity: 1; -webkit-transform: translate3d(0%, 0, 0); }}
@-moz-keyframes fadeInLeft { 0% { opacity: 0; -moz-transform: translate3d(-20%, 0, 0); }100% { opacity: 1; -moz-transform: translate3d(0%, 0, 0); }}
@-ms-keyframes fadeInLeft { 0% { opacity: 0; -ms-transform: translate3d(-20%, 0, 0); }100% { opacity: 1; -ms-transform: translate3d(0%, 0, 0); }}
@-o-keyframes fadeInLeft { 0% { opacity: 0; -o-transform: translate3d(-20%, 0, 0); }100% { opacity: 1; -o-transform: translate3d(0%, 0, 0); }}
@keyframes fadeInLeft { 0% { opacity: 0; transform: translate3d(-20%, 0, 0); }100% { opacity: 1; transform: translate3d(0%, 0, 0); }}

@-webkit-keyframes fadeInRight { 0% { opacity: 0; -webkit-transform: translate3d(20%, 0, 0); }100% { opacity: 1; -webkit-transform: translate3d(0%, 0, 0); }}
@-moz-keyframes fadeInRight { 0% { opacity: 0; -moz-transform: translate3d(20%, 0, 0); }100% { opacity: 1; -moz-transform: translate3d(0%, 0, 0); }}
@-ms-keyframes fadeInRight { 0% { opacity: 0; -ms-transform: translate3d(20%, 0, 0); }100% { opacity: 1; -ms-transform: translate3d(0%, 0, 0); }}
@-o-keyframes fadeInRight { 0% { opacity: 0; -o-transform: translate3d(20%, 0, 0); }100% { opacity: 1; -o-transform: translate3d(0%, 0, 0); }}
@keyframes fadeInRight { 0% { opacity: 0; transform: translate3d(20%, 0, 0); }100% { opacity: 1; transform: translate3d(0%, 0, 0); }}

@-webkit-keyframes fadeOutLeft { 0% { opacity: 1; -webkit-transform: translate3d(0%, 0, 0);  }100% { opacity: 0; -webkit-transform: translate3d(-20%, 0, 0); }}
@-moz-keyframes fadeOutLeft { 0% { opacity: 1; -moz-transform: translate3d(0%, 0, 0);  }100% { opacity: 0; -moz-transform: translate3d(-20%, 0, 0); }}
@-ms-keyframes fadeOutLeft { 0% { opacity: 1; -ms-transform: translate3d(0%, 0, 0);  }100% { opacity: 0; -ms-transform: translate3d(-20%, 0, 0); }}
@-o-keyframes fadeOutLeft { 0% { opacity: 1; -o-transform: translate3d(0%, 0, 0);  }100% { opacity: 0; -o-transform: translate3d(-20%, 0, 0); }}
@keyframes fadeOutLeft { 0% { opacity: 1; transform: translate3d(0%, 0, 0);  }100% { opacity: 0; transform: translate3d(-20%, 0, 0); }}

@-webkit-keyframes fadeOutRight { 0% { opacity: 1; -webkit-transform: translate3d(0%, 0, 0);  }100% { opacity: 0; -webkit-transform: translate3d(20%, 0, 0); }}
@-moz-keyframes fadeOutRight { 0% { opacity: 1; -moz-transform: translate3d(0%, 0, 0);  }100% { opacity: 0; -moz-transform: translate3d(20%, 0, 0); }}
@-ms-keyframes fadeOutRight { 0% { opacity: 1; -ms-transform: translate3d(0%, 0, 0);  }100% { opacity: 0; -ms-transform: translate3d(20%, 0, 0); }}
@-o-keyframes fadeOutRight { 0% { opacity: 1; -o-transform: translate3d(0%, 0, 0);  }100% { opacity: 0; -o-transform: translate3d(20%, 0, 0); }}
@keyframes fadeOutRight { 0% { opacity: 1; transform: translate3d(0%, 0, 0);  }100% { opacity: 0; transform: translate3d(20%, 0, 0); }}


.animated {
  -webkit-animation-duration: 250ms;
  -moz-animation-duration: 250ms;
  -ms-animation-duration: 250ms;
  -o-animation-duration: 250ms;
  animation-duration: 250ms;

  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  
  -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
  backface-visibility: hidden;
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  -moz-animation-name: fadeOut;
  -ms-animation-name: fadeOut;
  -o-animation-name: fadeOut;
  animation-name: fadeOut;
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  -moz-animation-name: fadeIn;
  -ms-animation-name: fadeIn;
  -o-animation-name: fadeIn;
  animation-name: fadeIn;
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  -moz-animation-name: fadeInLeft;
  -ms-animation-name: fadeInLeft;
  -o-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  -moz-animation-name: fadeInRight;
  -ms-animation-name: fadeInRight;
  -o-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
  -moz-animation-name: fadeOutLeft;
  -ms-animation-name: fadeOutLeft;
  -o-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  -moz-animation-name: fadeOutRight;
  -ms-animation-name: fadeOutRight;
  -o-animation-name: fadeOutRight;
  animation-name: fadeOutRight;
}

.fadeIn, .fadeOut {
  -webkit-animation-duration: 250ms !important;
  -moz-animation-duration: 250ms !important;
  -ms-animation-duration: 250ms !important;
  -o-animation-duration: 250ms !important;
  animation-duration: 250ms !important;
}

.fadeInLeft,
.fadeInRight,
.fadeOutLeft,
.fadeOutRight {
  -webkit-animation-duration: 200ms !important;
  -moz-animation-duration: 200ms !important;
  -ms-animation-duration: 200ms !important;
  -o-animation-duration: 200ms !important;
  animation-duration: 200ms !important;
}




