.animation{
    position: fixed;
    width: 100%;
    height: 104%;
    z-index: 1000;
    background: #fff;
    top: -30px;
    display: none;
    -webkit-transition: opacity 0.15s ease-in-out;
    -moz-transition: opacity 0.15s ease-in-out;
    -o-transition: opacity 0.15s ease-in-out;
    transition: opacity 0.15s ease-in-out;
}

.animation video{
    max-height: 100%;
    margin: 0 auto;
    display: block;
}

.animation button{
    position: absolute;
    bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    background-color: #2BA4DB;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    width: 280px;
    height: 60px;
    -webkit-transition: background-color 0.15s ease-in-out;
    -moz-transition: background-color 0.15s ease-in-out;
    -o-transition: background-color 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out;
}

.animation button:hover{
    background-color: #2489B7;
}

.hideAnimation{
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;
}

/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
*,
*:after,
*:before {
    box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

*::selection {
    background: #0096d7;
    color: #ffffff;
}
*::-moz-selection {
    background: #0096d7;
    color: #ffffff;
}
*::-webkit-selection {
    background: #0096d7;
    color: #ffffff;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

#pp{
    display: hidden;
}

#banner .tom p{
    text-align: center;
    color: white;
    font-size: 25px;
}




/*
 * 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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}




/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}
html {
    font-size: 62.5%;
}
body {

    font-size: 1.6rem;
    line-height: 1.4;
}
a {
    color:#737373;
}

body, h1, h2, h3, h4, h5, h6, p, ul, li {
    font-family: 'Open Sans', sans-serif;
    color: #747474;
}


h1 {
    font-weight: 300;
    overflow: hidden;
    text-align: center;
    font-size: 3.4rem;
    text-transform: uppercase;
    font-size: 32px;
}

b {
    font-weight: 500;
}

.about-text{


}

.about-text p {
    text-align: justify;
    -webkit-column-count:3; /* Chrome, Safari, Opera */
    -moz-column-count:3; /* Firefox */
    column-count:3;
    -webkit-column-gap:40px; /* Chrome, Safari, Opera */
    -moz-column-gap:40px; /* Firefox */
    column-gap:40px;
    /* height: 500px; */
    overflow: hidden;
    height:250px;
}

#event h1 {
    text-align: left;
}

.line-break {
    background: url('../img/logo-icon-sml.png') center bottom no-repeat;
    overflow: hidden;
    margin: 40px 0 15px;
}

.line-break::before, .line-break::after {
    background-color: #f6f6f6 !important;
    content: '';
    display: inline-block;
    height: 1px;
    position: relative !important;
    vertical-align: middle !important;
    width: 100% !important;
}

.line-break:before {
    right: 4em !important;;
    margin-left: -50% !important;;
}

.line-break:after {
    left: 4em !important;;
    margin-right: -50% !important;;
}


/*
section h1::before,
h1::after {
    background-color: #e4e4e4 !important;;
    content: "" !important;;
    display: inline-block !important;;
    height: 1px !important;;
    position: relative !important;;
    vertical-align: middle !important;;
    width: 50% !important;;
}

section h1:before {
    right: 2em !important;;
    margin-left: -50% !important;;
}

section h1:after {
    left: 2em !important;;
    margin-right: -50% !important;;
}
*/
h2 {
    font-weight: 300;
    font-size: 2.4rem;
    font-size: 24px;
}

h3 {
    font-weight: 300;
    font-size: 2.0rem;
    font-size: 20px;
}

h4 {
    font-weight: 300;
    font-size: 1.8rem;
    font-size: 18px;
}

p {
    font-weight: 300;
    font-size: 1.6rem;
    font-size: 16px
}

/* ==========================================================================
   Custom styles
   ========================================================================== */
.global-text-bg {
    background: rgba(20, 20, 20, 0.8);
}


/* ==========================================================================
   Header
   ========================================================================== */
.header {
    padding-top: 13px;
}

.mobile{
    width: 100%;
    background-color: #333;

}


.logo {
    margin-top:-3px;
}



.header.stuck {
    position: fixed;
    top: 0;
}


.mainNav {
    float:right;
    font-weight: 300;
}
.mainNav ul {
    display: inline;


}
.mainNav li {
    float:left;
    text-transform:uppercase;
    padding-right: 32px;
    padding-left: 32px;

}


.mainNav li a {
    display:block;
    display: block;
    height: 80px;
    padding-top: 24px;

}

.active {
    background: url('../img/active.png') center bottom no-repeat;
}

.active-contact {
    background: url('../img/active-contact.png') center bottom no-repeat;
}




#whatWeDo {
    text-align: center;
    position: relative;
    padding-bottom: 60px;
    background-color: white;
    z-index: 9;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;

}

#box1 {
    background-color:red;
    width:300px;
    height:200px;
    position: relative;
}

#banner {

    overflow: hidden;
    background-color: #eeeeee;
    color: white;
    height: 530px;
    margin: 0 auto;
    padding: 0;
    background: url(../img/bg-temp3.jpg) no-repeat center center fixed; 
    -webkit-background-size: 100%; 
    -moz-background-size: 100%; 
    -o-background-size: 100%; 
    background-size: 100%; 
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover; 
    background-size: cover; 
}

.fade-out-header {
    position: fixed;
    margin: auto;
    width:100%;

}

#banner .opc {
    width:100%;
    height:530px;
    /*    background: rgba(6, 72, 126, 0.7);*/
    background: rgba(7, 7, 7, 0.43);

}

.header-logo {
    position:fixed;
    height:57px;
}


#banner h1 {
    line-height: 82px;
    color:white;
    font-size: 65px;
    text-align: center;
    text-transform: none;
    margin-top:87px;
}

#banner p {
    text-align: center;
    color: white;
    font-size: 25px;
}

.button {

    background: rgb(3, 150, 213);
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 22px;
    font-weight: 200;
    line-height: 13px;
    margin: 0;
    padding: 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    -webkit-transition: background-color 0.15s ease-in-out;
    -moz-transition: background-color 0.15s ease-in-out;
    -o-transition: background-color 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out;
    width:100%;
    z-index: 1;
}

.button:hover, .button:focus { color: white; background-color: #0286be; }



.button-more {

    background: rgb(3, 150, 213);
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 18px;
    font-weight: 100;
    line-height: 13px;
    margin: 0;
    padding: 15px;
    position: relative;
    text-align: center;
    text-decoration: none;
    -webkit-transition: background-color 0.15s ease-in-out;
    -moz-transition: background-color 0.15s ease-in-out;
    -o-transition: background-color 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out;
    width:100%;
    color: white;
    height:50px;
}

.button-more:hover, .button:focus { color: white; background-color: #0286be; }



.hide {
    display:none;
}

#connect {
    background-color: white;
    position: relative;
}
/* ==========================================================================
    Margins
   ========================================================================== */

/*
        Margins Top Bottom
*/

.margin-10{
    margin-top: 10px;
    margin-bottom: 10px;
}

.margin-20{
    margin-top: 20px;
    margin-bottom: 20px;
}

.margin-30{
    margin-top: 30px;
    margin-bottom: 30px;
}

.margin-40{
    margin-top: 40px;
    margin-bottom: 40px;
}

.margin-50{
    margin-top: 50px;
    margin-bottom: 50px;
}

.margin-60{
    margin-top: 60px;
    margin-bottom: 60px;
}

.padding-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}
/*
        Margins Left
*/

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-20 {
    margin-left: 20px;
}

.margin-left-30 {
    margin-left: 30px;
}

.margin-left-40 {
    margin-left: 40px;
}



/*
        Margins Right
*/

.margin-right-10 {
    margin-right: 10px;
}

.margin-right-20 {
    margin-right: 20px;
}

.margin-right-30 {
    margin-right: 30px;
}

.margin-right-40 {
    margin-right: 40px;
}

/*
        Margins Top
*/

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-top-60 {
    margin-top: 60px;
}

.margin-top-70 {
    margin-top: 70px;
}

.margin-top-80 {
    margin-top: 80px;
}


/*
        Margins Bottom
*/

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}
.margin-bottom-50 {
    margin-bottom: 50px;
}
.margin-bottom-60 {
    margin-bottom: 60px;
}
.margin-bottom-70 {
    margin-bottom: 70px;
}
.margin-bottom-80 {
    margin-bottom: 80px;
}

/*
        Padding Bottom
*/
.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.padding-bottom-40 {
    padding-bottom: 40px;
}

.padding-bottom-50 {
    padding-bottom: 50px;
}

/*
        Padding Top
*/

.padding-top-20 {
    padding-top: 20px;
}

.padding-top-30 {
    padding-top: 30px;
}

.padding-top-40 {
    padding-bottom: 40px;
}


.text-center {
    text-align: center;
}

.text-toupper {
    text-transform: uppercase;
}

.text-bold {
    font-weight: 400;
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */
.sticky-nav li a:hover,
.sticky-nav li a.selected {
    color: #737373;
    font-size: 16px;
    border-bottom: 6px solid #00a1ea;
    padding-bottom: 14px;
}

.sticky-nav {
    background-color: #e3e3e3;
    height:65px;
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 9998;
    -webkit-box-shadow: 0px 21px 21px -21px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 21px 21px -21px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 21px 21px -21px rgba(0, 0, 0, 0.5);

}

.sticky-nav ul {

    display: inline;
    list-style: none;
    line-height: 68px;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
}

.sticky-nav li {
    float: left;
    color: white;
    padding: 0 30px 0 30px;
}

.sticky-nav.stuck {
    position: fixed;
    top: 0;
    float:left;

}
.logo-iconstuck{
    float:left;
    width:47px;
    height:34px;
    background-image: url('../img/logo-icon.png');
    position:fixed;
    top:0;
    z-index: 9999;


}
/* ==========================================================================
   Home - Work
   ========================================================================== */
#work {
    background: #f8f8f8 url('../img/overlay.jpg') no-repeat center top !important;

}
.grey-section {
    width: 100%;
    position: relative;
    background-color: #fcfcfc;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;


}


#map-index {
    width: 100%;
    height: 400px
}

.circle {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    background-color: #eeeeee;
    margin: auto;
    /* width and height can be anything, as long as they're equal */
}
.marginTop5{
    margin-top:15px;
}


/*
    Work Section
*/

.hex-bg {
    position: relative;
    height: 475px;
    background: url('../img/hex-bg.png') center top no-repeat;
    width:1103px;
    margin-top: 30px;

}

.hex-blue {
    position: absolute;
    top:30px;
    left:451px;
    width: 200px;
    height:230px;
    background: url('../img/hex-blue.png');

}

.hex-logo {
    position: absolute;
    width: 73px;
    height: 54px;
    top: 90px;
    left: 60px;
    background: url('../img/hex-logo-icon.png') center;
}

/* HEXEGON RELATIVE CLASSES */

.hex {
    position: absolute;
    width:196px;
    height:114px;
}

.hex-top {
    top: 87px;
}

.hex-bottom {
    top: 270px;
}

.hex-text {
    color: grey;
    padding: 0 30px 0 30px;
    line-height: 16px;
    font-size: 16px;
    text-align: center;
    height:40px;
    top: 140px;
}

.hex-icon{
    top:40px;
    height:80px;
}

/* EVENT CLASS*/

#event {
    position:relative;

}

.hex-event {
    left: 559px;
}

.blue-box-medical {
    position: absolute;
    top: -57px;
    left: -2px;
    width: 200px;
    height: 230px;
    background: url('../img/hex-blue.png');
    z-index: 1;
    opacity: 0;
}

.blue-box-medical:hover  {
    opacity: 1;
    cursor: pointer;
}

.blue-box-medical2 {
    position: absolute;
    top: -59px;
    left: -2px;
    width: 200px;
    height: 230px;
    background: url('../img/hex-blue.png');
    z-index: 1;
    opacity: 0;
}

.blue-box-medical2:hover  {
    opacity: 1;
    cursor: pointer;
}



.ppp {
    position: absolute;
    top: -57px;
    left: -2px;
    width: 200px;
    height: 230px;
    background: url('../img/hex-blue.png');
    z-index: 1;
    opacity: 0;

}
.ppp:hover .event-icon {
    background: url('../img/hex-event-hover.png') center no-repeat;

}
/*.hex-event:hover .hex-text {
    color:#0097d6;
}*/
.ppp:hover  {
    opacity: 1;
    cursor: pointer;
}

.event-icon {
    background: url('../img/hex-event.png') center no-repeat;
}


/* MEDICAL CLASS*/

.hex-medical {
    left: 33px;

}
.medical-icon {
    background: url('../img/hex-marketing.png') center no-repeat;
}

/* E_DETAIL CLASS*/

.hex-detail {
    left: 663px;

}
.detail-icon {
    background: url('../img/hex-detail.png') center no-repeat;
}

/* INTERNAL CLASS*/

.hex-internal {
    left: 769px;

}
.internal-icon {
    background: url('../img/hex-internal.png') center no-repeat;
}

/* Concept & brand identity */

.hex-eye {
    left: 873px;

}
.eye-icon {
    background: url('../img/hex-eye.png') center no-repeat;
}

/* Web */

.hex-web {
    left: 243px;

}
.web-icon {
    background: url('../img/hex-web.png') center no-repeat;
}

/* Design */

.hex-design {
    left: 349px;

}
.design-icon {
    background: url('../img/hex-design.png') center no-repeat;
}

/* Publications */

.pub-wrapper {
    box-shadow: 0 1px 5px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.25);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.25);
    transition: all .2s ease-in-out; 
    -webkit-transition: all .2s ease-in-out; 
    -moz-transition: all .2s ease-in-out; 
    cursor: pointer;

}
.pub-wrapper:hover { 
    transform: scale(1.1); 
    -webkit-transform: scale(1.1); 
    -moz-transform: scale(1.1); 
}

.pub-img{
    text-align: center; padding:20px 0;
}

.pub-name{
    background: #f0f0f0; text-align: center; font-size: 16px; color: #747474; padding:10px 0 ;
}

.single {
    padding:20px 0 ;
}

.pub-forum {
    background: #00559e;
}

.pub-hosDoc {
    background: #0098d3;
}

.pub-win {
    background: rgb(238,240,248); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(238,240,248,1) 0%, rgba(207,217,237,1) 52%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(238,240,248,1) 0%,rgba(207,217,237,1) 52%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(238,240,248,1) 0%,rgba(207,217,237,1) 52%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eef0f8', endColorstr='#cfd9ed',GradientType=0 ); /* IE6-9 */
}

.hex-publications {
    left: 139px;

}
.publications-icon {
    background: url('../img/hex-publications.png') center no-repeat;
}


input[type="text"].newsletter-input {
    background: url('../img/textbox-mail.png') no-repeat 5% 50% #f6f6f6;
    padding:23px;
    padding-left: 40px;
    display: inline;
    width: 75%;
    float:left;
    box-shadow: none;
}
input[type="submit"].sub{
    margin-left:-1px;
    display: inline;
    padding: 13.5px;
    float:left;
    font-size: 14px;
    font-weight: 200;
    width: 25%;
    background-color: #0097d6;
    color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    -webkit-transition: background-color 0.15s ease-in-out;
    -moz-transition: background-color 0.15s ease-in-out;
    -o-transition: background-color 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out;
}
input[type="submit"].sub:hover {
    color: white; background-color: #0286be;
}



/* ==========================================================================
   About Page
   ========================================================================== */
#about-callout {
    height:360px;
    background: url(../img/about-callout.jpg);
    background-position: center center;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

.founder {
    border-radius: 50%;
    width: 220px;
    height: 220px;
    background-color: #eeeeee;
    margin: auto;
}

#history{
    -webkit-box-shadow: 0px 6px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow:    0px 6px 7px rgba(0, 0, 0, 0.3);
    box-shadow:         0px 6px 7px rgba(0, 0, 0, 0.3);
    z-index:1;
    position: relative;
}

#team {
    -webkit-box-shadow: 0px -6px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow:    0px -6px 7px rgba(0, 0, 0, 0.3);
    box-shadow:         0px -6px 7px rgba(0, 0, 0, 0.3);
    z-index:1;
    position: relative;
}
#our-story{
    z-index:2;
    height:100px;
    position: relative;
    -webkit-box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.5);
    box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.5);
    height: auto;
    overflow: hidden;

}
/*
        Awards
*/
#awards {

    background: url("../img/wall.jpg");
    background-position: center;
    padding-bottom: 20px;
    margin: 0 auto;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: black;
}

#awards h3 {
    color: black;
}

#awards h1 {
    font-size: 50px;
}


.theimg img{
    -webkit-transform:scale(1); /*Webkit: Scale down image to 0.8x original size*/
    -moz-transform:scale(1); /*Mozilla scale version*/
    -o-transform:scale(1); /*Opera scale version*/
    -webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/
    -moz-transition-duration: 0.5s; /*Mozilla duration version*/
    -o-transition-duration: 0.5s; /*Opera duration version*/
    -webkit-box-shadow: -6px 3px 14px rgba(0, 0, 0, 0.59);
    -moz-box-shadow:    -6px 3px 14px rgba(0, 0, 0, 0.59);
    box-shadow:         -6px 3px 14px rgba(0, 0, 0, 0.59);

    /*margin: 0 10px 5px 0; margin between images*/
}
.theimg img:hover {
    -webkit-transform:scale(1.5); /*Webkit: Scale up image to 1.2x original size*/
    -moz-transform:scale(1.5); /*Mozilla scale version*/
    -o-transform:scale(1.5); /*Opera scale version*/
    box-shadow:0px 0px 30px gray; /*CSS3 shadow: 30px blurred shadow all around image*/
    -webkit-box-shadow:0px 0px 30px gray; /*Safari shadow version*/
    -moz-box-shadow:0px 0px 30px gray; /*Mozilla shadow version*/
    -webkit-box-shadow: -6px 3px 14px rgba(0, 0, 0, 0.59);
    -moz-box-shadow:    -6px 3px 14px rgba(0, 0, 0, 0.59);
    box-shadow:         -6px 3px 14px rgba(0, 0, 0, 0.59);
    z-index: 999;

}


.award-frame {
    display: block;
    margin:auto;
    position:relative;
}
.award-wsa {
    top:0px;
    position:absolute;
    display: block;
    margin:auto;
}


/*
        Profile Expander
*/

.og-grid {
    list-style: none;
    padding: 20px 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.og-grid li {
    display: inline-block;
    margin: 10px 5px 0 5px;
    vertical-align: top;
    height: 250px;
    overflow: hidden;
}

.founders{
    height:340px !important;
}




.og-grid li > a,
.og-grid li > a img {
    border: none;
    outline: none;
    display: block;
    position: relative;

}

.og-grid li.og-expanded > a::after {
    top: auto;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #e7e7e7;
    border-width: 15px;
    left: 50%;
    margin: -20px 0 0 -15px;
    position: absolute;
    z-index: 99999;
}

.og-expander {
    position: absolute;
    background: #E7E7E7;
    top: auto;
    left: 0;
    width: 100%;
    margin-top: 10px;
    text-align: left;
    height: 0;
    overflow: hidden;
}

.og-expander-inner {
    padding-top: 10px;
    height: 100%;
}

.og-close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 99;
}

.og-close::before,
.og-close::after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #888;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.og-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.og-close:hover::before,
.og-close:hover::after {
    background: #333;
}

.og-fullimg,
.og-details {

    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.og-details {
    padding: 0 60px 0 20px;
    width: 70%;
}

.og-fullimg {
    width: 30%;
    text-align: center;
}

.og-fullimg img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
}

.og-details h3 {
    font-weight: 600;
    font-size: 30px;
    padding: 40px 0 0px;
    margin-bottom: 0px;
    color: rgb(95, 95, 95);

}
.og-details h4 {
    font-weight: 300;
    font-size: 20px;
    padding: 0px 0 10px;
    margin-bottom: 0px;
    color: rgb(95, 95, 95);
}

.og-details p {
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: rgb(95, 95, 95);
}

.og-details a {
    font-weight: 300;
    font-size: 16px;
    color: #333;


}

/*.og-details a::before {
    content: '\2192';
    display: inline-block;
    margin-right: 10px;
}*/

.og-details a:hover {

    color: #0195d5;
}

.og-loading {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    -webkit-animation: loader 0.5s infinite ease-in-out both;
    -moz-animation: loader 0.5s infinite ease-in-out both;
    animation: loader 0.5s infinite ease-in-out both;
}

@-webkit-keyframes loader {
    0% { background: #ddd; }
    33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
    66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@-moz-keyframes loader {
    0% { background: #ddd; }
    33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
    66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@keyframes loader {
    0% { background: #ddd; }
    33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
    66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@media screen and (max-width: 830px) {

    .og-expander h3 { font-size: 32px; }
    .og-expander p { font-size: 13px; }
    .og-expander a { font-size: 12px; }

}

@media screen and (max-width: 650px) {

    .og-fullimg { display: none; }
    .og-details { float: none; width: 100%; }

}




/* ==========================================================================
   Services Page
   ========================================================================== */

#services-callout {
    height:408px;
    background: url('../img/callout-services.jpg') center no-repeat fixed #282e28;
    position: relative;
}

#banner-c {

    overflow: hidden;
    /*background: url('../img/MMC_artwork.png') no-repeat 75% 0 ;*/
    background: url('../img/blooming-bg.jpg') no-repeat 75% 0 ;
    background-color: #eeeeee;
    color: white;
    height: 350px;
    margin: 0 auto;
    padding: 0;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.blooming{
    max-width: 340px;
}

.blooming-btn{
    max-width: 358px;
}

.play_video{
    margin-top: -55px;
}

#banner-c .opc1 {
    width:100%;
    height:430px;
    background: rgba(6, 72, 126, 0.7);
    position: fixed;
}

#banner-d {

    overflow: hidden;
    background: url('../img/publicationsFlat.jpg') no-repeat 50% 0 ;
    background-color: #eeeeee;
    color: white;
    height: 350px;
    margin: 0 auto;
    padding: 0;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#banner-e {

    overflow: hidden;
    background: url('../img/jobs-callout.png') no-repeat 50% 0 ;
    background-color: #eeeeee;
    color: white;
    height: 350px;
    margin: 0 auto;
    padding: 0;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#medical {
    -webkit-box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.3);
    -moz-box-shadow:    0px 0px 21px rgba(0, 0, 0, 0.3);
    box-shadow:         0px 0px 21px rgba(0, 0, 0, 0.3);
    z-index:1;
    position: relative;
}

.marketing-circle {
    background-color: #d2d2d2;
    height:200px;
    width:200px;
    border-radius: 50%;
    margin: auto;


}
#video-container video {
    width:100%;
    height: 450px;
}

.callout {
    width:100%;
    overflow: hidden;
}

#digital {
    /*    -webkit-box-shadow: 0px -9px 14px rgba(0, 0, 0, .0);
        -moz-box-shadow:    0px -9px 14px rgba(0, 0, 0, .0);
        box-shadow:         0px -9px 14px rgba(0, 0, 0, .0);*/
    z-index:1;
    position: relative;
}

#digital-callout {
    height:360px;
    background: url('../img/digital-test.gif') no-repeat #282e28;
    background-position: center center;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

#responsive-design-callout {
    height:360px;
    background: url('../img/responsive-design-bg2.jpg') no-repeat #282e28;
    background-position: center center;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

.responsive-design-btn{
    text-align: center;
    text-transform: uppercase;
    color: #3BA6DE;
    font-weight: 600;
    font-size: 22px;
    -webkit-transition: color, 0.2s;
    -moz-transition: color, 0.2s;
    transition: color, 0.2s;
    margin: 80px auto;
    display: block;
    width: 290px;
    border-radius: 12px;
    border: 3px solid #3EA6DD;
    padding: 10px;
    background: #FCFCFC;
}

.responsive-design-btn:hover{
    background: #3EA6DD;
    color: #fff;
}

.on {
    position: absolute;
    top: 107px;
    left: 176px;
    width: 30px;
    height: 30px;
    z-index: 3;
    background: url('../img/on-off.png');
    display: none;
}

.on2 {
    position: absolute;
    top: 150px;
    left: 176px;
    width: 30px;
    height: 30px;
    z-index: 3;
    background: url('../img/on-off.png');
    display: none;
}

.on3 {
    position: absolute;
    top: 154px;
    left: 136px;
    width: 30px;
    height: 30px;
    z-index: 3;
    background: url('../img/on-off.png');
    display: none;
}

.on4 {
    position: absolute;
    top: 110px;
    left: 96px;
    width: 30px;
    height: 30px;
    z-index: 3;
    background: url('../img/on-off.png');
    display: none;
}

.digital-txt-opc {
    background: rgba(0, 0, 0, 0.5);
}

.digital-p-opc {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    margin-top: -13px;
}

.digital-txt-opc.dark, .digital-p-opc.dark {
    background: rgba(0, 0, 0, 0.6);
}

.global-callout {

    position: relative;
}

.toggle {
    height:360px;
    background: url('../img/global-faces-paint.png') no-repeat;

}
.img1 {
    /*    position: absolute;*/
    z-index: 1;
    top:0;
    display:block;
    margin:auto;
    max-width:100%;
}

.img2 {
    position: absolute;
    top:0;
    z-index: 2;
    display: none;
    margin:auto;
    max-width:100%;
    margin-top: 0 !important;

}

.opacity {
    width:100%;
    height: 360px;
    /* background: rgba(0, 0, 0, 0.4); */
    z-index: 4;
    position: absolute;
    top:0;
}

.callout-text{
    margin-top: 4%;
}

.callout-digital-text{
    margin-top: 100px;
}

.callout-digital-text h2, .callout-text h2 {
    color: white;
    font-size:50px;
    padding: 10px;
}

.callout-digital-text p, .callout-text p {
    color: white;
    font-size:18px;

}

#global h3 {
    font-size:50px;
    color:white;
}

#global p {

    line-height:30px;
}

.image-center {
    display:block;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}


/* ==========================================================================
   Clients Page
   ========================================================================== */

.item img {
    display:none;
}


/* ==========================================================================
   Publications Page
   ========================================================================== */

/*
        advertising
*/

.pie-text {
    position:  relative;
    top:-150px;
    left:5px;
}
.pie-text h2 {
    font-size: 34px;
    font-weight: 300;
    line-height: 34px;
}

.pie-text p {
    text-transform: uppercase;
}

button {
    width: 350px;
    height: 67px;
    background-color: #afafaf;
    display: block;
    border: 0px;
    cursor: pointer;
    font-weight: 300;
    font-family: inherit;
    font-weight: 300;
    font-size:20px;

}



/*
        Bookshelf General Settings
*/


#medmedia_bookshelf {
    background-image: url(../img/shelf.png);
    background-repeat: no-repeat;
    background-position: -6px 186px;
    margin: 0 auto;
    width:940px;
}

#medmedia_bookshelf .break {
    clear: both;
}

#medmedia_bookshelf a:link {
    color: white;
    text-decoration: none;
}

#medmedia_bookshelf a:visited {
    color: white;
}

#medmedia_bookshelf a:hover {
    color: white;
}

#medmedia_bookshelf a:active {
    color: white;
}

#medmedia_bookshelf ol, #medmedia_bookshelf ul {
    list-style: none;
}

#medmedia_bookshelf p {
    margin-top: 0.8em;
}

/* COVERS */
#covers {
    list-style: none;
    margin-top: 10px;
    height: 380px;

    margin-left: 62px;
}

#covers li {
    display: block;
    float: left;
    padding: 65px 0px;
    position: relative;
    z-index: 1;
    width: 55px;
    margin-left: 15px;

    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-perspective: 190; /* Safari and Chrome */

    -webkit-transition-property: perspective;
    -moz-transition-property: perspective;
    -o-transition-property: perspective;
    -ms-transition-property: perspective;
    transition-property: perspective;

    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

#covers li img {
    border: 3px solid #fff;
    /*counteract the Foundation.css max-width on all images */
    max-width: none;

    -webkit-transform: rotateY(30deg);
    -moz-transform: rotateY(30deg);
    -o-transform: rotateY(30deg);
    -ms-transform: rotateY(30deg);
    transform: rotateY(30deg);

    -webkit-box-shadow: -3px 0px 3px rgba(0,0,0,0.25);
    box-shadow: -3px 0px 3px rgba(0,0,0,0.25);

    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition: transform;
    transition-property:transform;

    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

#covers li:hover {
    -webkit-transform: rotateY(0deg) scale(1.1);
    -moz-transform: rotateY(0deg) scale(1.1);
    -o-transform: rotateY(0deg) scale(1.1);
    -ms-transform: rotateY(0deg) scale(1.1);
    transform: rotateY(0deg) scale(1.1);

    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -ms-transition-delay: 0s;
    transition-delay: 0s;

    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    transition-duration: 0.5s;
    margin-right: 15px;
    z-index: 4;
    top: -10px;
}

#covers li:hover img {
    z-index: 4;

    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition: transform;
    transition-property:  transform;
    text-decoration: none;

    -webkit-transform: scale(1.8);
    -moz-transform: scale(1.8);
    -o-transform: scale(1.8);
    -ms-transform: scale(1.8);
    transform: scale(1.8);

    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -ms-transition-delay: 0.5s;
    transition-delay: 0.5s;

    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    -ms-transition-duration: 1s;
    transition-duration: 1s;

    -webkit-transform-origin: 0% 15%;
    -moz-transform-origin: 0% 15%;
    -o-transform-origin: 0% 15%;
    -ms-transform-origin: 0% 15%;
    transform-origin: 0% 15%; /* Safari and Chrome */
}

/*Individual Styling*/
.bookmark {
    background-image: url(../img/bookshelf/bookmark.png);
    background-repeat: no-repeat;
    background-position: 30px 214px;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

/* !indivudual adjustments =================== */
.branding span {
    background-position: -100px -385px;
}

h1 a:hover span {
    background-position: -140px -385px;
}

/* The loaded publication =================== */
#publication {
    margin: -80px 0;
    padding: 0;
    text-align: left;
}

#publication aside {
    float: left;
    font-family: Arial, Helvetica, sans-serif;
}

#publication aside img {
    width: 140px;
    margin: 0 0 0 40px;
}

#publication aside p {
    width: 220px;
    border-bottom: 6px solid #666;
}

#publication aside dl {
    float: left;
    width: 220px;
    border-bottom: 1px solid #999;
}

#publication aside dt {
    font: normal 15px/18px Arial, Helvetica, sans-serif;
    clear: left;
    float: left;
    text-align: right;
    width: 80px;
    padding: 5px;
    border-top: 1px solid #999;
    color: rgba(245,130,49,1);
}

#publication aside dd {
    float: left;
    width: 120px;
    margin: 0;
    padding: 5px;
    border-top: 1px solid #999;
    font-style: italic;
}

#publication aside dt:first-child,#publication aside dd:nth-child(2) {
    border-top: none;
}

/*Artcile stuff///////////////*/
#entry {
    float: left;
    width: 680px;
    margin-left: 45px;
    height:203px;

}

#entry h2 {
    font-size: 1.4em;
    color: #F58231;
    font-weight: 400;

}

#entry .details {
    color: #000;
    font-size: 1.1em;
    vertical-align: middle;
    font-weight: 200;

}

.bookshelf-content-wrapper {
    width:auto;
    height:320px;
}


/*      pies    */


/* ==========================================================================
   Contact - Page
   ========================================================================== */
#map-contact {
    width: 100%;
    height: 600px;
    overflow: hidden;

}
.map-layer {
    width:600px;
    height:400px;
    position: absolute;
    top: 250px;
    left: 650px;
    z-index: 99;
    background-color: white;
    padding:30px;
}
#map-wrapper { position: relative; overflow: hidden; }

.contact-bg {
    width:470px;
    height:100px;
    position: absolute;
    right:10px;
    background: white;
    margin-bottom:7px;
    z-index: 9;
    padding:14px 20px;
}

.contact-sml {
    width:470px;
}

.contact-lrg {
    height:194px;
}

.contact-phone {
    top:-500px;

}
.contact-email {
    top:-393px;

}
.contact-add {
    top:-286px;
}

.contact-circle {
    width:73px;
    height:73px;
    border-radius: 50%;
    background-color:#0f97da;
    z-index: 100;
    float:left;
}

.contact-text {
    color:black;
    font-size: 24px;
    width:260px;
    float:left;
    font-weight:200;
    padding: 18px 30px;
}

.contact-form-bg {
    background: #f2f2f2;
    border-radius: 6px;
    position: relative;
}
.contact-form-arrow {
    background: url(../img/contact-form-arrow.png);
    width: 23px;
    height: 48px;
    position: absolute;
    left: -23px;
    top: 56px;
}

.contact-form-input{

    height: 46px !important;
    box-shadow: none !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 6px !important;
    padding-left: 55px !important;
    margin: 0 0 15px 0 !important;
}

.contact-form-textbox {
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    height:211px;
    border: 1px solid #e4e4e4 !important;
    margin: 0 0 15px 0 !important;
    vertical-align: top !important;

}


::-webkit-input-placeholder {
    color: #aaa9a9;
    font-weight: 100;
}

:-moz-placeholder { /* Firefox 18- */
    color: #aaa9a9;
    font-weight: 100;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #aaa9a9;
    font-weight: 100;
}

:-ms-input-placeholder {
    color: #aaa9a9;
    font-weight: 100;
}
.contact-form-padding {
    padding: 25px 0 40px 0;
}

#contact-form-name {
    background: url(../img/contact-form-name.png) 4% 50% no-repeat #fff;

}

#contact-form-comapny {
    background: url(../img/contact-form-company.png) 4% 50% no-repeat #fff;
    color: #aaa9a9;
}

#contact-form-email {
    background: url(../img/contact-form-email.png) 4% 50% no-repeat #fff;
}

#contact-form-key {
    background: url(../img/contact-form-key.png) 4% 50% no-repeat #fff;
}

#contact-form-message {
    background: url(../img/contact-form-message.png) 4% 7% no-repeat #fff;
    vertical-align:top;
    padding: 3% 13%;
}

.contact-form-lebel{
    font-size: 18px;
    font-weight: 100;
    color: #aaa9a9;
    /*    padding: 10px 0 10px 5px;
        margin-bottom: 5px;*/
    line-height: 30px;
}

.contact-form-button {
    width: 100% !important;
    font-size: 18px !important;
}

.jobs-form-button {
    background-color: #5dd229 !important;
    /*    font-weight: bold;*/
}

.jobs-form-button:hover {
    background-color: #71b543 !important;
    /*    font-weight: bold;*/
}

.loader{
    display:none;
    position:absolute;
    top:0;
    left:0;
    z-index: 100;
}

.sum-box{
    width:10% !important;
    display: inline-block !important;
}

#contact_results .error{
    padding: 10px;
    background-color: #FFC3C3;
    color: #A31717;
}

#contact_results .success {
    background-color: #E0F8D5;
    color: #579E38;
    padding: 10px;
}

.jbutton{
    margin-top: 191px;
    margin-left: 47px;
}

.contact-form-button-upload {
    background-color: #727272;
}

.contact-form-button-upload p{
    color: #fff;
}

.contact-form-button-upload:hover {
    background-color: #5A5A5A;
}

.contact-form h1 {
    text-align: left !important;
    text-transform: none !important;
    color:#0f97da;
    font-size: 40px;
}


#contact-form #loading {
    width:32px;
    height:32px;
    background-image:url(../img/loading.gif);
    display:block;
    position:absolute;
    right:130px;
    bottom:16px;
    display:none;
}

#errors {
    border:solid 1px #E58E8E;
    padding:10px;
    margin:25px 0px;
    display:block;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    background:#FFE6E6 url(../img/cancel_48.png) no-repeat  94%;
    display:none;
}

#errors li {
    padding:2px;
    list-style:none;
    width: 80%;
}

#errors li:before {
    content: ' - '; 
}

#errors #info {

    font-weight:bold;
    width: 80%;
}

#errors #info:before {
    content: '';    
}

#success {
    border:solid 1px #83D186;
    padding:25px 10px;
    margin:25px 0px;
    display:block;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
    background:#D3EDD3 url(../img/accepted_48.png) no-repeat 94%;
    display:none;
    width:100%;
}

.job-form-header{color:#71b543 !important}

.left {
    float: left;
}
.both {
    clear: both;
}
.file-upload-container {
    border: 1px solid #efefef;
    padding:10px;
    background: #fbfbfa;
    box-shadow: none !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 6px !important;
}
.file-upload-override-button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #727272;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.15s ease-in-out;
}
.file-upload-override-button:hover {
    background-color:#5a5a5a;
}
.file-upload-override-button:active {
    position:relative; top:1px;
}
.file-upload-button {
    position: absolute;
    height: 50px;
    top: -10px;
    left: -10px;
    cursor: pointer;
    opacity: 0;
    filter:alpha(opacity=0);
}
.file-upload-filename {
    margin-left: 10px;
    height: auto;
    padding: 8px;
}

.info {
    width:80%;
    font-weight:bold;
}


#errors.visible, #success.visible {
    display:block;  
}

#req-field-desc {
    font-style:italic;
}

select {
    cursor: pointer;
}


/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    width:100%;
    height:150px;
    background-color:#eeeeee;
    z-index: 0;
    position: relative;
}

/* ==========================================================================
   Scroll To - jQuery Plugin
   ========================================================================== */

#scrollUp {
    bottom: 20px;
    right: 20px;
    height: 38px;  /* Height of image */
    width: 38px; /* Width of image */
    background: url(../img/top.png) no-repeat;
}



/* ==========================================================================
   Timeline
   ========================================================================== */

.sociales {
    text-align: center;
    margin-bottom: 20px;
}

#timeline {
    width: 1040px;
    height: 350px;
    overflow: hidden;
    margin: 45px auto 20px auto;
    position: relative;
    background: url('../img/timeline/dot.png') left 55px repeat-x;
}

#dates {
    width: 1500px;
    height: 70px;
    overflow: hidden;
}
#dates li {
    list-style: none;
    float: left;
    width: 100px;
    height: 70px;
    font-size: 24px;
    text-align: center;
    background: url('../img/timeline/biggerdot2.png') center 130% no-repeat;
}
#dates a {
    line-height: 40px;
    color: #b0b0b0;
    font-weight: 100;
}
#dates .selected {
    font-size: 28px;
    color:#1e9ad6;
}

#issues {
    width: 1500px;
    height: 350px;
    overflow: hidden;
}
#issues li {
    width: 1500px;
    height: 350px;
    list-style: none;
    float: left;
}
#issues li.selected img {
    -webkit-transform: scale(1.1,1.1);
    -moz-transform: scale(1.1,1.1);
    -o-transform: scale(1.1,1.1);
    -ms-transform: scale(1.1,1.1);
    transform: scale(1.1,1.1);
}
#issues li img {
    float: left;
    margin: 15px 30px 10px 50px;
    background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */
    zoom: 1;
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all 2s ease-in-out;
    -o-transition: all 2s ease-in-out;
    -ms-transition: all 2s ease-in-out;
    transition: all 2s ease-in-out;
    -webkit-transform: scale(0.7,0.7);
    -moz-transform: scale(0.7,0.7);
    -o-transform: scale(0.7,0.7);
    -ms-transform: scale(0.7,0.7);
    transform: scale(0.7,0.7);
}

#issues li h1 {
    color: #747474;
    font-size: 28px;
    line-height: 60px;
    text-align: left;
    margin-top:-10px;
    text-transform: none;


}

#issues li p {
    font-size: 16px;

    line-height: 24px;
    font-weight: 100;
}

#next,
#prev {
    position: absolute;
    top: 0;
    font-size: 70px;
    top: 170px;
    width: 25px;
    height: 48px;
    background-position: 0 0;
    background-repeat: no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

#next:hover,
#prev:hover {
    opacity: 0.5;
}

#next {
    right: 0;
    background-image: url('../img/timeline/arrow-next.png');
}

#prev {
    left: 0;
    background-image: url('../img/timeline/arrow-prev.png');
}

#next.disabled,
#prev.disabled {
    opacity: 0.2;
}

.text-box {
    background: #f5f5f5 !important;
    margin-left: 350px;
    padding: 20px;
    margin-top: 40px;
    width: 640px;
}

.textbox-arrow {
    position: absolute;
    width: 39px;
    height: 19px;
    background: url(../img/timeline/timeline-box-arrow.png);
    left: 380px;
    bottom: 240px;
}

/* ==========================================================================
   FlexSlider
   ========================================================================== */


/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0 60px; position: relative; zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 63px; height: 100px; display: block; background: url(../img/sliderArrow.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: .4; }
.flex-direction-nav .flex-next {background-position: 100% 0; right: -90px;}
.flex-direction-nav .flex-prev {left: -90px;}




.flexslider:hover .flex-next {opacity: 0.8; }
.flexslider:hover .flex-prev {opacity: 0.8; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .1!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
    .flex-direction-nav .flex-next {opacity: 1; right: 0;}

}

/* ==========================================================================
   Media Query's
   ========================================================================== */

@media only screen and (max-width: 1079px) {
    .mainNav {
        float:right;
        font-weight: 300;
    }
    .mainNav ul {
        display: inline;


    }
    .mainNav li {
        float:left;
        text-transform:uppercase;
        padding-right: 12px;
        padding-left: 12px;
    }
}
.contact-select {
    overflow:hidden;
    width:100%;

}
select {
    border:0;
    background:#ffffff;
    height:46px;
    border:1px solid #e4e4e4;
    width:100%;
    -webkit-appearance: none;
    font-size: 14px;
    border-radius: 6px;
    padding-left: 55px;
    font-family: inherit;
    margin-bottom: 15px;
}

#department {
    background: url(../img/contact-form-department.jpg) 4% 50% no-repeat #fff;
    color: #aaa9a9;
}

#publications-form, #campaign, #irishhealth{
    background: url(../img/contact-form-person.png) 4% 50% no-repeat #fff;
    color: #aaa9a9;

}

#publications {
    /*    0px -7px 7px -7px #333*/
    -webkit-box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.5);
    box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.5);
}




.contact-select:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    right: 35px;

    margin-top: -40px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #e0e0e0 transparent;
}



figcaption, .occupation {
    position: absolute;
    color: white;
    opacity: 1;
    left: -100%;
    -webkit-transition: all 0.6s ease;
    -moz-transition:    all 0.6s ease;
    -o-transition:      all 0.6s ease;
}

figcaption {
    bottom: 25px;
    background: #00a2e7;
    padding: 4px 10px;

}

.occupation {
    background: rgba(255,255,255,0.8);
    bottom: 5px;
    padding: 0px 10px;
    color:black;
    font-size: 13px;
}


.og-grid li > a:hover figcaption,.og-grid li > a:hover .occupation {
    opacity: 1;
    left: 0;
}


/*
.og-grid li > a img:hover {
    filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);

}
*/
.profile-logo {
    background: url('../img/profile-logo.jpg');
    width:37px;
    height: 37px;
    position: absolute;
    display: block;
    top:-30%;
    -webkit-transition: all 0.6s ease;
    -moz-transition:    all 0.6s ease;
    -o-transition:      all 0.6s ease;
    transition-delay: 0.2s;
    -webkit-transition-delay: 0.2s;
}

.og-grid li > a:hover .profile-logo{
    top: 0;
}

.menu-logo {
    position:absolute;
    left:0;
    padding:9px;
    display:none;
    cursor: pointer;
}

.sticky-text-right {
    position: absolute;
    right:0;
}




.head-line {
    padding-top:30px;
    margin-top:30px;
    display: block;
    background: url('../img/head-line.png') no-repeat 50% 50%;
}




/* ==========================================================================
   Dev Widget
   ========================================================================== */
.dev-phone {
    position:absolute;
}
.phone1 {
    left:50px;
    top:80px;


}

.phone2 {
    left:83px;
    top:60px;
    display: none;
}

.phone-menu {
    left:83px;
    top:60px;
    display: none;
}

.phone3 {
    left:116px;
    top:40px;
    display: none;
}

.phone4 {
    left:149px;
    top:20px;
    display: none;
}

.phone5 {
    left:182px;
    display: none;
}

.pocket-logo {
    position: absolute;
    left: 115px;
    top: 150px;
}

.research, .test, .plan, .deploy, .design, .develop   {
    position: absolute;
    left:160px;
    top:195px;
}

/*.test {
    position: absolute;
    left:220px;
    top:320px;
}

.plan {
    position: absolute;
    left:220px;
    top:70px;
}

.deploy {
    position: absolute;
    left:120px;
    top:320px;
}

.design {
    position: absolute;
    left:290px;
    top:140px;
}

.develop {
    position: absolute;
    left:290px;
    top:240px;
}*/


.advertise {
    background: url(../img/advertise.jpg);
}

.talk {
    background: url(../img/talk.png) no-repeat center center;
    height:206px;
}
.talk:hover {
    background: url(../img/talk-overlay.png) no-repeat center center;
}

.team{
    background: url(../img/team.png) no-repeat center center;
    height:206px;
}

.team:hover {
    background: url(../img/team-overlay.png) no-repeat center center;
}

.insider{
    background: url(../img/insider.png) no-repeat center center;
    height:206px;
}

.insider:hover {
    background: url(../img/insider-overlay.png) no-repeat center center;
}

.bg-white {
    background: white;
    height: 100px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

#client {
    background-color: #eeeeee;
    padding-bottom: 60px;

}

.top-bar ul li:first-child {
    background: #0097d7;
}

.top-bar > ul .name img {
    margin-top: 0;
    vertical-align: middle;
}

.text-blue {
    color:#0096d7;
}


.event-images {
    position: absolute;
    top:-20px;
    left:0;
    float:left;
    width: 100%;
}

.event-images img {
    margin: auto;
}

.awards-text {
    height:100%;
    background: rgba(255,255,255,0.8);
    padding: 28px;
}

.center-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.indigenus-img {
    margin: 40px 0 40px 0;
}

.indigenus-text {
    margin-top:35px;
}

.publications-slider-text {
    margin-top: 80px;
}




#banner-c h1 {
    background: rgba(108, 179, 62, 0.97);
    color: white;
    font-size: 45px;
    border-bottom: 6px solid #5d9637;
    text-align: center;
    padding: 17px 10px 20px;
    float: right;
    text-transform: none;
    font-weight: 400;
    line-height: 48px;
}

#banner-c .campaign-icon {
    background: rgba(108, 179, 62, 0.97);
    color: white;
    border-bottom: 4px solid #5d9637;
    text-align: center;
    padding: 12px 12px 11px 11px;
    float: left;
    margin: 61px 0 2px 0;
}

.play_video{
    opacity: 1;
/*    -webkit-animation: pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite; */
}

.play_video:hover{
    opacity: 1;
    cursor: pointer;
}

/*@-webkit-keyframes pulsate {
    0% {-webkit-transform: scale(1, 1); opacity: .98;}
    50% {-webkit-transform: scale(1.02, 1.02); opacity: 1;}
    100% {-webkit-transform: scale(1, 1); opacity: .98;}
}*/

.showcase_button{
/*    width: 160px;
    padding-top: 43px;*/
    opacity: .96;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.showcase_button:hover{
}

.play_showcase{
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    background-color: #1C69A7;
    padding: 6px;
    text-align: center;
    border-bottom: 6px solid #115185;
    -webkit-animation: change 2s ease-out;
    -webkit-animation-iteration-count: infinite; 
}

@-webkit-keyframes change {
    0% {background-color:#1C69A7;}
    50% {background-color:#115185;}
    100% {background-color:#1C69A7;}
}

@-webkit-keyframes wobble {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes wobble {
  16.65% {
    -webkit-transform: translateX(8px);
    -ms-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    -ms-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    -ms-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    -ms-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    -ms-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.wobble {
  display: inline-block;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.wobble {
  -webkit-animation-name: wobble;
  animation-name: wobble;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-delay: 2s; /* Chrome, Safari, Opera */
   animation-delay: 2s;
}


.indv-showcase-container {
    position:relative;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
    background: url('../img/timeline-bg.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
}

.indv-showcase-container iframe, .indv-showcase-container object, .indv-showcase-container embed {
    position:absolute;
    top:-12%;
    left:0;
    right:0;
    bottom:0;
    margin: auto auto;
    width:70%;
    height:70%;
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 480px) {

    .theimg img:hover {
        -webkit-transform:scale(1); /*Webkit: Scale up image to 1.2x original size*/
        -moz-transform:scale(1); /*Mozilla scale version*/
        -o-transform:scale(1); /*Opera scale version*/


    }


    #banner h1 {
        font-size:35px;
        line-height: 42px;
        padding-bottom: 5px;
        margin-top: 0;
    }
    #banner {
        background: url(../img/temp3-iphone.jpg) no-repeat top center fixed;
        height: 350px;
    }

    .flex-direction-nav {display:none;}
    .line-break {
        margin: 20px 0 15px;
    }

    .margin-mobile{
        margin-bottom: 15px;
    }

    .padding-50 {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .mobile-padding-awards {
        padding-bottom:10px;
    }

    .button-padding-m {
        padding-bottom: 30px;
    }

    .sticky-wrapper {
        height:0 !important;
    }

    .margin-top-70 {
        margin-top: 0px;
    } 

    .margin-bottom-70 {
        margin-bottom: 20px;
    }

    .center-mobile {
        display: block;
        margin: auto;
    }

    .indigenus-text {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #global p {
        line-height: 20px;
    }

    .publications-slider-text {
        margin-top: 10px;
    }

    .header {
        padding-top: 0;
        background-color: transparent;
    }

    .contact-bg {
        width:300px;
        height:100px;
        position: absolute;
        right:10px;
        background: white;
        margin-bottom:7px;
        z-index: 9;
        padding:14px 20px;
    }

    .small-font-footer {
        font-size: 12px;
        text-align: center;
    }

    footer {
        height: 60px;
    }

    .contact-sml {
        width:300px;
    }

    .contact-lrg {
        height: 125px;
    }

    .contact-phone {
        top: -400px;

    }
    .contact-email {
        top: -293px;

    }
    .contact-add {
        top: -186px
    }

    .contact-circle {
        margin: 0;
    }

    #map-contact {
        height: 450px;
    }

    .contact-form h1 {
        text-align: center !important;
    }

    .mobile-center-img {
        margin:auto;
        display: block;
    }

    .contact-text {
        color: black;
        font-size: 18px;
        width: 180px;
        font-weight: 200;
        padding: 25px 0 0 20px;
        float:left;
    }

    .contact-text-mobile {
        padding: 0px 0 0 20px !important;
    }

    .callout-digital-text {
        margin-top: 70px;
    }

    video {
        height: 100%;
    }

    #global {

        background-color: #fcfcfc;
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
    }

    .indigenus-img-mobile {
        margin: auto !important;
        display: block;
        padding-top: 30px;
    }

    .fade-out-header {
        position: absolute;
    }

    #banner-e {
        background: url('../img/jobs-callout.png') no-repeat 11% 0;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .jbutton {
        margin-top: 0px;
        margin-left: 0px;
    }

}



/* ==========================================================================
   iPad
   ========================================================================== */


@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    #whatWeDo {
        display: none;
    }

    .fade-out-header {
        position: absolute;
    }

    #banner-e {
        background: url('../img/jobs-callout.png') no-repeat 11% 0;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
    .mainNav {
        margin: 0;

    }

    #banner {
        background: url(../img/ipad-bg.jpg) no-repeat center center fixed;
    }

    .header-logo {
        position: absolute;
    }

    .fade-out-header {
        position: absolute;
    }

    .header-logo {
        position: absolute;
    }
}



@media all and (max-width: 768px) {
    .about-text p {
        text-align: justify;
        -webkit-column-count:1; /* Chrome, Safari, Opera */
        -moz-column-count:1; /* Firefox */
        column-count:1;
        -webkit-column-gap:0; /* Chrome, Safari, Opera */
        -moz-column-gap:0; /* Firefox */
        column-gap:0;
        /* height: 500px; */
        overflow: hidden;
        height:250px;
    }
    .pub-wrapper {
        margin:0 auto;
        max-width:300px;
        margin-bottom: 20px;
    }
}

/* -------------------------------- 

Testimonials

-------------------------------- */

.cd-container .flex-direction-nav .flex-next {
    right: 0;
    top: 20px;
    width: 18px;
    background-position: 100% 50%;
}

.cd-container .flex-direction-nav .flex-prev {
    left: auto;
    top: 20px;
    width: 18px;
    background-position: 0% 50%;
}

.cd-testimonials-wrapper {
    position: relative;
    width: 100%;
    margin: 10px auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0 90px 10px;
    z-index: 1;
}

.cd-testimonials-wrapper hr {
    border-color: #6db340;
}

.cd-testimonials-wrapper .flex-direction-nav a {
    background: url(../img/testimonial-arrow.png) no-repeat 0 0;
}

.cd-testimonials-wrapper::after {
    /* quotation mark */
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 0;
    width: 50px;
    height: 50px;
    padding-top: 8px;
    margin-left: -25px;
    background: rgba(32, 32, 34, 0.9);
    font-family: "Georgia", serif;
    color: #ffffff;
    font-size: 70px;
    font-size: 4.375rem;
    text-align: center;
    /* visible on big devices only */
    display: none;
}

@media only screen and (min-width: 1170px) {
    .cd-testimonials-wrapper::after {
        /* quotation mark visible */
        display: none;
    }
}

.cd-testimonials {
    color: #ffffff;
    text-align: center;
}

.cd-testimonials::after {
    clear: both;
    content: "";
    display: table;
}

.cd-testimonials > li {
    position: absolute;
    opacity: 0;
}

.cd-testimonials > li:first-child {
    position: relative;
    opacity: 1;
}

.cd-testimonials p {
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1em;
    padding: 0 14px;
}

@media only screen and (min-width: 768px) {
    .cd-testimonials p {
        font-size: 22px;
        font-size: 1.375rem;
    }
}

@media only screen and (min-width: 1170px) {

    /*.animation{
            display: block;
        }*/

    .cd-testimonials p {
        font-size: 18px;
        line-height: 1.6;
    }
}

.cd-author img, .cd-author .cd-author-info {
    display: inline-block;
    vertical-align: middle;
}

.cd-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.cd-author .cd-author-info {
    text-align: left;
    line-height: 1.2;
    text-align: center;
}

.cd-author .cd-author-info li:first-child {
    font-size: 14px;
    font-size: 0.875rem;
}

.cd-author .cd-author-info li:last-child {
    font-size: 12px;
    font-size: 0.75rem;
    color: #6b6b70;
}

@media only screen and (min-width: 768px) {
    .cd-author img {
        width: 50px;
        height: 50px;
    }
    .cd-author .cd-author-info {
        line-height: 1.4;
    }
    .cd-author .cd-author-info li:first-child {
        font-size: 16px;
        text-transform: uppercase;
        font-weight: 600;
    }
    .cd-author .cd-author-info li:last-child {
        font-size: 16px;
        color:#6db340;
    }
}

#testimonials .flex-direction-nav li {
    position: absolute;
    height: 100%;
    width: 40px;
    top: 0;
}

#testimonials .flex-direction-nav li:first-child {
    left: 0;
}

#testimonials .flex-direction-nav li:last-child {
    right: 0;
}

.no-touch .flex-direction-nav li a:hover {
    opacity: 1;
}

#testimonials > .flex-direction-nav li a::before {
    -webkit-transform: translateY(-35px) rotate(45deg);
    -moz-transform: translateY(-35px) rotate(45deg);
    -ms-transform: translateY(-35px) rotate(45deg);
    -o-transform: translateY(-35px) rotate(45deg);
    transform: translateY(-35px) rotate(45deg);
}

#testimonials > .flex-direction-nav li a::after {
    -webkit-transform: translateY(-27px) rotate(-45deg);
    -moz-transform: translateY(-27px) rotate(-45deg);
    -ms-transform: translateY(-27px) rotate(-45deg);
    -o-transform: translateY(-27px) rotate(-45deg);
    transform: translateY(-27px) rotate(-45deg);
}

#testimonials > .flex-direction-nav li:last-child a::before {
    -webkit-transform: translateY(-35px) rotate(-45deg);
    -moz-transform: translateY(-35px) rotate(-45deg);
    -ms-transform: translateY(-35px) rotate(-45deg);
    -o-transform: translateY(-35px) rotate(-45deg);
    transform: translateY(-35px) rotate(-45deg);
}

#testimonials > .flex-direction-nav li:last-child a::after {
    -webkit-transform: translateY(-27px) rotate(45deg);
    -moz-transform: translateY(-27px) rotate(45deg);
    -ms-transform: translateY(-27px) rotate(45deg);
    -o-transform: translateY(-27px) rotate(45deg);
    transform: translateY(-27px) rotate(45deg);
}

@media only screen and (min-width: 768px) {
    .flex-direction-nav li {
        width: 50px;
    }

}

@media only screen and (min-width: 1170px) {
    .flex-direction-nav li a::before, .flex-direction-nav li a::after {
        background-color: #5e5e63;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
        transition: background-color 0.2s;
    }
    .flex-direction-nav li a:hover::before, .flex-direction-nav li a:hover::after {
        background-color: #ffffff;
    }
}

.cd-see-all {
    height: 35px;
    line-height: 32px;
    text-align: center;
    text-transform: uppercase;
    color: #6db340;
    font-weight: 700;
    font-size: 12px;
    -webkit-transition: color, 0.2s;
    -moz-transition: color, 0.2s;
    transition: color, 0.2s;
    margin: 0 auto;
    display: block;
    width: 150px;
    margin-bottom: 60px;
    margin-top: 29px;
    border-radius: 55px;
    border: 2px solid #6db340;
}

.no-touch .cd-see-all:hover {
    color: white;
    background: #6db340;

}

.cd-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.74);
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
/*    border-top: 10px solid #70B543;
    border-bottom: 10px solid #70B543;*/
}

.cd-video-modal .container{
    width: 100%;
    height: 100%;
    position: relative;
}

.cd-video-modal iframe{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Safari */
    width: 1000px;
    height: 560px;
}

.cd-testimonials-all {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-testimonials-all .cd-testimonials-all-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
}

.cd-testimonials-all .cd-testimonials-all-wrapper > ul {
    width: 90%;
    max-width: 1170px;
    margin: 4em auto;
    top: 60px;
}

.cd-testimonials-all .cd-testimonials-all-wrapper > ul::after {
    clear: both;
    content: "";
    display: table;
}

.cd-testimonials-all .cd-testimonials-item {
    margin-bottom: 2em;
    opacity: 0;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translate3d(0, 0, 0) scale(0.4);
    -moz-transform: translate3d(0, 0, 0) scale(0.4);
    -ms-transform: translate3d(0, 0, 0) scale(0.4);
    -o-transform: translate3d(0, 0, 0) scale(0.4);
    transform: translate3d(0, 0, 0) scale(0.4);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform .3s, opacity .3s;
    -moz-transition: -moz-transform .3s, opacity .3s;
    transition: transform .3s, opacity .3s;
}

.cd-testimonials-all p {
    position: relative;
    background: #6db340;
    color: #ffffff;
    padding: 2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.4;
    border-radius: 0.25em;
    margin-bottom: 1em;
}

.cd-testimonials-all p::after {
    /* creating the triangle in css */
    content: '';
    position: absolute;
    top: 100%;
    left: 2em;
    height: 0;
    width: 0;
    border: 8px solid transparent;
    border-top-color: #6db340;
}

.cd-testimonials-all .cd-author {
    text-align: left;
    margin-left: 1.5em;
}

.cd-testimonials-all .cd-author img {
    box-shadow: 0 0 0 transparent;
}

.cd-testimonials-all.is-visible, .cd-video-modal.is-visible  {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-testimonials-all.is-visible .cd-testimonials-all-wrapper {
    -webkit-overflow-scrolling: touch;
}

.cd-testimonials-all.is-visible .cd-testimonials-item {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    -moz-transform: translate3d(0, 0, 0) scale(1);
    -ms-transform: translate3d(0, 0, 0) scale(1);
    -o-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
}

.cd-testimonials-all .cd-author .cd-author-info {
    text-align: left;
}

.cd-testimonials-all ul.cd-author-info {
    margin-left:0;
}

@media only screen and (min-width: 768px) {
    .cd-testimonials-all .cd-testimonials-item {
        width: 46%;
        margin: 0 2% 3em;
    }
    .cd-testimonials-all .cd-author {
        margin-left: 1em;
    }

}

@media only screen and (max-width: 1000px) {

    .indv-showcase-container {
        margin-top: 20%;
    }

    .indv-showcase-container iframe, .indv-showcase-container object, .indv-showcase-container embed {
        width: 100%;
        height: 100%;
        top:0;
    }
}


@media only screen and (min-width: 1170px) {
    .cd-testimonials-all .cd-testimonials-item {
        width: 30%;
        margin: 0 1.6666% 3em;
    }
}

.close-btn {
    position: fixed;
    display: block;
    width: 40px;
    height: 40px;
    top: 75px;
    right: 5%;
    /* image replacement */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

.close-video-btn {
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    top: 47px;
    right: 3%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    color: #fff;
    z-index: 100000000;
}

.close-btn::before, .close-btn::after, .close-video-btn::before, .close-video-btn::after {
    /* close icon in css */
    content: '';
    position: absolute;
    display: inline-block;
    width: 2px;
    height: 24px;
    top: 8px;
    left: 19px;
    background-color: #39393c;
}

.close-video-btn::before, .close-video-btn::after{
    background-color: #fff;
    width: 5px;
    height: 45px;
}

.close-btn::before, .close-video-btn::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.close-btn::after, .close-video-btn::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.line-break-testimonial {
    background: url('../img/testimonial-circle.png') center bottom no-repeat;
    overflow: hidden;
    margin: 20px 0 15px;
    height: 41px;
}

.line-break-testimonial::before, .line-break-testimonial::after {
    background-color: #6db340 !important;
    content: '';
    display: inline-block;
    height: 1px;
    position: relative !important;
    vertical-align: middle !important;
    width: 100% !important;
    top:10px;
}

.line-break-testimonial:before {
    right: 4em !important;;
    margin-left: -50% !important;;
}

.line-break-testimonial:after {
    left: 4em !important;;
    margin-right: -50% !important;;
}

.green-hr {
    border-top-color:#6db340;
}

@media only screen and (max-width: 1000px) {
    #responsive-design-callout{
        height: 450px;
    }

    #responsive-design-callout .eight, #responsive-design-callout .four{
        width:100%;
    }

    .responsive-design-btn{
        margin: 30px auto;
    }

    .cd-video-modal iframe{
        width: 700px;
        height: 400px;
    }
}

@media only screen and (max-width: 1000px) and (orientation:landscape){
    .indv-showcase-container {
        margin-top: 0;
    }

    .header {
        padding-top: 0px;
    }
}


@media only screen and (max-width: 480px) {

    .header {
        padding-top: 0;
    }

    .hide-for-mobile {
        display:none;
    }

    .cd-testimonials-wrapper {
        padding: 0 10px 10px;
    }

    #responsive-design-callout{
        height: 700px;
    }

    #client {

        padding-bottom: 30px;
    }
    #banner-c .campaign-icon {
        background: rgba(108, 179, 62, 0.97);
        color: white;
        border-bottom: 4px solid #5d9637;
        text-align: center;
        padding: 12px 12px 11px 11px;
        float: none;
        margin: 0 auto;
        margin-top: 28px;
        margin-bottom: 3px;
    }

    #banner-c h1 {
        font-size: 35px;
        border-bottom: 4px solid #5d9637;
        line-height: 38px;
    }

    #event h1, #event p {
        text-align: center;
    }
}