#overlay {
     display: none;
     position: fixed;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     background: #fff;
}
#overlay .close {
    position: absolute;
    display: block;;
    width: 30px;
    height: 30px;
    left: 50%;
    margin-left: 420px;
    top: 70px;
}

#overlay .close::before,
#overlay .close::after {
   content: ' ';
   display: block;
   position: absolute;
   width: 7px;
   height: 30px;
   left: 10px;
   top: 0;
   background-color: #b3b2b3;
}

#overlay .close::before {
     transform: rotate(-45deg);
}

#overlay .close::after {
     transform: rotate(45deg);
}

#overlay .overlay-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 100px auto;
}

#overlay .overlay-container  a {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    top: calc(50% - 15px);
}

#overlay .overlay-container  a::before,
#overlay .overlay-container  a::after {
    content: ' ';
    display: block;
    position: absolute;
    height: 26px;
    width: 7px;
    background-color: #b3b2b3;
}

#overlay .overlay-container  a::before {
    top: 0;
    transform: rotate(45deg);
}

#overlay .overlay-container  a::after {
    top: 15px;
    transform: rotate(-45deg);
}

#overlay .overlay-container  a.prev {
    left: -30px;
}

#overlay .overlay-container  a.next {
    right: -30px;
    transform: rotate(180deg);
}

#overlay img {
    width: 100%;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

/*
 * 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;
}

input {
	vertical-align: top;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's default styles -- ALL 
   ========================================================================== */
body, html {
    width: 100%; 
    height: 100%;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
}

h1 {
    font-size: 34px;
    line-height: 36px;
    padding-bottom: 15px;
    margin: 0 0 16px 0;
    border-bottom: 2px solid #000;
}

p + h1  {
	margin-top: 28px;
}

h1 span:last-child {
    display: none;
}

h2 {
    font-size: 18px;
    line-height: 22px;
    margin: 0 0 10px 0;
}

a {
    text-decoration: none;
    color: #d60051;
}

a:hover {
    text-decoration: underline;
}

p {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 18px;
}

ul { 
	list-style: none; 
}

ul li {
	position: relative;
}

ul li:before { 
    position: absolute;
	content:"•"; 
    font-size: 10pt; 
    left: -25px;
    top: 1px;
}

span.gray {
    color: #9c9e9f;
}
 
/* ==========================================================================
   Author's custom styles -- ALL 
   ========================================================================== */ 	

#container {
    width: 840px;
    min-height: 100%;
    margin: 0 auto;
    background: #fff;
}

#bg #container {
    width: 910px;
    background: none;
}

#header {
    height: 42px;
    width: 800px; 
    margin: 0 20px 60px 20px; 
    padding: 39px 0 17px 0;
    border-bottom: 5px solid #000;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

#header a {
    color: #000;   
}

#bg #header a {
    color: #fff;
}

#header a:hover,
#header a.current {
    text-decoration: none; 
    color: #ee8b95 !important;
}

#bg #header {
    margin: 0 55px;
    border-bottom: 5px solid #fff;   
}

#home {
    display: block;
    float: left;
    width: 610px;   
}

#home span {
    float: left;
    margin-top: 16px;
}

#home img {
    height: 42px; 
    float: right;
}

#lang-switch {
    display: block;
    text-align:right;
    margin-top: 16px;
    color: #000;
}

#bg #lang-switch {
	color: #fff;
}
   
#contact {
    display: block;
    float: right;
    text-align:right;
}

#footer {
    clear: both;
    width: 800px;
    line-height: 20px;
    padding: 10px 0;
    margin: 0 55px;
    margin-top: 40px;
    border-top: 1px solid #fff;
    color: #fff;
    font-size: 11px;
    text-align: center;
}

#footer a {
    color: #fff;
    border-bottom: 1px dashed #fff;
}

#footer a:hover {
    text-decoration: none;
}

#intro p,
.intro_text {
    font-size: 24px;
    line-height: 29px;
}

.intro_text {
    position: relative;
    margin-bottom: 36px;   
}

.extraimg {
    position: absolute;
    left: 570px;
    top: -18px;
    width: 230px;
}

.extraimg img {
    width: 100% !important;
   margin-bottom: 12px;
    cursor: pointer;
}

.item {
    display: block;
    float: left;
    width: 230px;
    height: 160px;
    margin: 50px 0 0 55px;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
}

.item h1 {
    display: table-cell;
    vertical-align: bottom;
    height: 75px;
    width: 230px;
    font-size: 30px;
    line-height: 30px;
    padding-bottom: 10px;
    border-bottom: 5px solid #fff;
}

.item span {
    display: block;
    height: 60px;
    margin-top: 10px;
}

.item span.hover {
    display: none;   
    color: #ee8b95;
    font-weight: bold;
}

.item:hover {
    text-decoration: none;   
}
	
.item:hover span {
    display: none;   
}

.item:hover span.hover {
    display: block;   
}

.col1_3 {
    width: 230px;   
}

.col2_3 {
    width: 535px;   
}

.col2_3.left iframe {
	width: 535px;
    height: 301px;
}

.relative {
    position: relative;
}

.left {
    float: left; 
    margin-left: 20px;
}

.right {
    float: right; 
    margin-right: 20px;  
}

.subitem {
    margin-bottom: 20px;   
}

.subitem img {
    width: 115px;
    margin: 0 12px 0 0;
}

.info h2,
.info p,
.info .gray {
    position: relative;
    z-index: 1001;
}

.subitem .info {
    display: block;
    width: 388px;
    color: #000;
}

.click {
    cursor: pointer;   
}

.subitem .info:hover {
    text-decoration: none;
}

.clear {
    clear: both;   
}

.back_btn {
    color: #9c9e9f;
    float: right;
    margin-right: 20px;
    margin-top: -40px;
    text-transform: lowercase;
}

blockquote p {
    font-size: 20px;
    line-height: 24px;
    color: #d60051;
    border-top: 2px solid #d60051;
    width: 210px;
    padding-top: 10px;
    padding-bottom: 0;
}

blockquote.left { 
    margin: 5px 20px 0 0;
}

blockquote.right { 
    margin: 5px 0 0 20px;
    text-align: right;
}

.review {
    clear: both;
    padding-bottom: 10px;
}

.review img {
	margin-bottom: 18px;
}

.hyphenate {
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

span.pink {color:#d60051;}

/* ==========================================================================
   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;
}


/* ==========================================================================
   Firefox remove dotted lines
   ========================================================================== */

a:focus { 
    outline: none; 
}

button::-moz-focus-inner {
  border: 0;
}




/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   ========================================================================== */

@media only screen and (max-width: 900px) {
   
    #overlay .close {
        margin-left: 42%;
    }

}

@media only screen and (max-width: 840px) {

    iframe {
       width: 100% !important;
       height: 51.25vw !important;
    }

    #container {
          width: 100% !important;
          margin-left: 0;
          margin-right: 0;
    }
    #header, 
    #footer{
          width: calc(100% - 40px);
    }

    #bg #header, 
    #bg #footer{
          width: calc(100% - 110px);
    }
    #home {
          width: 80%;
    }
    #home img {
          height: 36px;
    }
    .item {
          width: calc(50% - 55px);
    }
    .item span {
          width: 230px;
    }
    .col1_3, .col2_3 {
          width: calc(100% - 40px);
          margin-left: 20px;
          float: none !important;
    }
    .subitem img {
         width: 90px;
    }

    .subitem .info {
          width: calc(100% - 122px);
    }
    .subitem .info iframe{
          width: 100%
    }

    .hyphenate {
          border-bottom: 0;
          padding-bottom: 0;
          word-wrap: normal;
          -webkit-hyphens: none;
           -moz-hyphens: none;
           -ms-hyphens: none;
          -o-hyphens: none;
          hyphens: none;
    }

    .hyphenate br {
          display: none;
    }

    .col2_3:not(.noborder) {
          margin-top: 30px;
          padding-top: 40px;
          border-top: 2px solid #000;
    }

    .col1_3.right img {
          width: 100%;
    }

    h1 span:last-child {
        display: inline;
    }

    h1 span:first-child {
        display: none;
    }
   .extraimg {
          position: static;
          width: 100%;
    }

   .extraimg img {
          float: left;
          width: calc(50% - 8px) !important;
    }
   .extraimg img:nth-child(2n) {
          float: right;
    }

   .extraimg::after {
          content: '';
          display: block;
          clear: both;
    }

}
@media only screen and (max-width: 640px) {
   
    #overlay .close {
        top: 65px;
        margin-left: calc(40% - 18px);
        transform: scale(0.6);
    }

     #overlay .overlay-container  a.prev {
          left: -20px;
          transform: scale(0.6);
     }

     #overlay .overlay-container  a.next {
          right: -20px;
          transform: scale(0.6) rotate(180deg);
     }

    #header, 
    #footer{
          width: 90% !important;
          margin-left: 5% !important;
    }

    #header {
           position: relative;
           height: auto;
           font-size: 11px;
     }

    #home {
        width: 100%;
        float: none;
    }

    #home  span {
        position: absolute;
        top: 0;
        display: block;
        float: none;
 
    }

    #home  img {
        display: block;
        width: 100%;
        float: none;
        height: auto;
    }

    #contact {
        float: none;
        position: absolute;
        top: 0;
        right: 0;
    }

    #home br,
    #contact br {
        display: none;
    }

    .col1_3, .col2_3 {
          width: 90%;
          margin-left: 5%;
          margin-right: 5%;
    }

    .item {
        display: block;
        width: 230px !important; 
        height: auto;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}