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

@font-face {
    font-family: 'sunshine';
    src: url('../fonts/HelloSunshine.eot');
    src: url('../fonts/HelloSunshine.eot?#iefix') format('embedded-opentype'),
    url('../fonts/HelloSunshine.woff2') format('woff2'),
    url('../fonts/HelloSunshine.woff') format('woff'),
    url('../fonts/HelloSunshine.ttf') format('truetype');

    font-style:   normal;
    font-weight:  normal;
}

@font-face {
    font-family: 'avenir-book';
    src: url('../fonts/AvenirLTStd-Book.eot'); /* IE9 Compat Modes */
    src: url('../fonts/AvenirLTStd-Book.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/AvenirLTStd-Book.woff') format('woff'), /* Modern Browsers */
    url('../fonts/AvenirLTStd-Book.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('../fonts/AvenirLTStd-Book.svg#68ae522795537c9085762656931f5f55') format('svg'); /* Legacy iOS */

    font-style:   normal;
    font-weight:  normal;
}

@font-face {
    font-family: 'avenir-medium';
    src: url('../fonts/AvenirLTStd-Medium.eot'); /* IE9 Compat Modes */
    src: url('../fonts/AvenirLTStd-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/AvenirLTStd-Medium.woff') format('woff'), /* Modern Browsers */
    url('../fonts/AvenirLTStd-Medium.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('../fonts/AvenirLTStd-Medium.svg#ef669aafc9b550b465914779447af056') format('svg'); /* Legacy iOS */

    font-style:   normal;
    font-weight:  normal;
}

@font-face {
    font-family: 'hoefler';
    src: url('../fonts/HoeflerTitling-HTF-LtRoman.eot'); /* IE9 Compat Modes */
    src: url('../fonts/HoeflerTitling-HTF-LtRoman.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/HoeflerTitling-HTF-LtRoman.woff') format('woff'), /* Modern Browsers */
    url('../fonts/HoeflerTitling-HTF-LtRoman.ttf')  format('truetype'), /* Safari, Android, iOS */
    url('../fonts/HoeflerTitling-HTF-LtRoman.svg#HoeflerTitling-HTF-LtRoman') format('svg'); /* Legacy iOS */

    font-style:   normal;
    font-weight:  normal;
}

html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.8em;
}

body {
    background: #f7f7f7;
    color: #000;
    font-family: 'avenir-book', 'arial', serif;
}

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

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

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

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

textarea {
    resize: vertical;
}

button, [type="button"], [type="reset"], [type="submit"] {
    border-radius: 0;
    border: 0 none;
    background: transparent;
}

strong {
    font-weight: normal;
}

img {
    height: auto;
}

a {
  text-decoration: none;
  transition: color 0.2s linear 0s;
  font-size: 14px;
  color: #888888;
}

a.active, a:hover {
  color: #232323;
}

p a {
  background: transparent none repeat scroll 0 0;
  border: 2px solid #232322;
  color: #232322;
  display: inline-block;
  height: 46px;
  line-height: 44px;
  padding: 0 20px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-family: 'avenir-medium', sans-serif;
  transition: all 0.2s linear 0s;
}

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

.hidden {
    display: none !important;
}

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

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

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url(../js/boxsizing.htc);
}

.container {
    margin: 0 auto;
}

.container:after,
.row:after,
.col:after,
.clr:after,
.group:after {
    content: "";
    display: table;
    clear: both;
}

.col {
    display: block;
    float: left;
    width: 100%;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.disabled {
  opacity: 0.5;
}

.wide {
    float: left;
    width: 100%;
}

.stretch {
    height: 100%;
}

.relative {
    position: relative;
}

.mid {
    float: none;
    margin: 0px auto;
    max-width: 1160px;
    position: relative;
}

.mid.s {
    max-width: 920px;
}

.mid.xs {
    max-width: 640px;
}

.mid.xl {
    max-width: 1260px;
}

.full {
    width: 100%;
}

.half {
    float: left;
    width: 50%;
}

.half img {
    width: 100%;
    float: left;
}

.flex-stretch {
    display: flex;
    height: 100%;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.align-center {
    text-align: center;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.margin {
    margin: 60px 0;
}

.margin-small {
    margin: 30px 0;
}

.margin-small-bottom {
    margin-bottom: 30px;
}

.margin-small-top {
    margin-top: 30px;
}

.margin-top {
    margin-top: 60px;
}
.margin-bottom {
    margin-bottom: 60px;
}
.padding {
    padding: 60px 0;
}

.padding-small {
    padding: 30px 0;
}

.padding-xsmall {
    padding: 15px 0;
}

.padding-large-right {
    padding-right: 90px;
}

.padding-large-left {
    padding-left: 90px;
}

.padding-top {
    padding-top: 60px;
}

.padding-bottom {
    padding-bottom: 60px;
}

.grey {
    background: #f6f6f6;
    color: #000000;
}

.black {
    background: #1c1c1c;
    color: #fff;
}

.white {
    background: #fff;
    color: #000;
}


.whitespace {
    padding: 30px 30px 60px;
}

.whitespace-large {
    padding: 60px 90px
}

.overflow {
    margin-left: -30px;
    width: calc(100% + 60px);
}

.overflow-left {
    margin-left: -60px;
    padding-right: 60px;
}

.no-padding {
    padding-right: 0px;
}

.overflow-right {
    margin-right: -60px;
    padding-left: 60px;
    margin-left: 60px;
}

.show_s, .mobile-only {
    display: none;
}

@-webkit-keyframes pulse {
    0%   {-webkit-transform: scale(0);opacity: 0;}
    10%  {-webkit-transform: scale(1);opacity: 0.8;}
    50%  {-webkit-transform: scale(1.75);opacity: 0;}
    100% {-webkit-transform: scale(0);opacity: 0;}
}

@-moz-keyframes pulse {
    0%   {-moz-transform: scale(0);opacity: 0;}
    10%  {-moz-transform: scale(1);opacity: 0.8;}
    50%  {-moz-transform: scale(1.75);opacity: 0;}
    100% {-moz-transform: scale(0);opacity: 0;}
}

@keyframes pulse {
    0%   {transform: scale(0);opacity: 0;}
    10%  {transform: scale(1);opacity: 0.8;}
    50%  {transform: scale(1.75);opacity: 0;}
    100% {transform: scale(0);opacity: 0;}
}

@keyframes bounce {
    0%   {transform: translateY(15px);}
    50%  {transform: translateY(0px);}
    100% {transform: translateY(15px);}
}

.animate-pulse {
    -webkit-animation: pulse 2s ease-out 0s normal none infinite running;
    -moz-animation: pulse 2s ease-out 0s normal none infinite running;
    animation: pulse 2s ease-out 0s normal none infinite running;
    border: 2px solid #235b7c;
    border-radius: 30px;
    box-shadow: 0 0 5px #235b7c;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: scale(0);
    width: 100%;
}

.animate-bounce {
    animation: bounce 2s ease-out 0s normal none infinite running;
}

.animate-bounce:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

ul.no-styling {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.no-styling a {
    border-bottom: 0 none;
    padding-bottom: 0;
}

ul.no-styling img {
    float:left;
}

ul.no-styling .pull-left {
    line-height: 1em;
    text-transform: none;
}

blockquote {
    margin: 30px 0;
    font-size: 30px;
    line-height: 48px;
    padding: 15px 0;
    position: relative;
}


blockquote::before {
    width: 3px;
    background: #a7146e;
    height: 100%;
    content: "";
    left: -60px;
    position: absolute;
    top: 0;
    float: left;
}

blockquote.no-stripe::before {
    display: none
}

.vertical-align-holder {
    height: 100%;
    display: table;
    width: 100%;
}

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

/* ==========================================================================
   Template
   ========================================================================== */


html, body, .container, .pusher {
    height: 100%;
    line-height: 1.8em;
}

body {
    overflow-x: hidden;
}

h2 {
    font-size: 32px;
}
h3 {
    font-size: 18px;
}

.no-js #preloader {
    display: none;
}

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #fff url('../images/preloader.gif') no-repeat center center;
}

#logo {
    text-align: center;
}

#logo a {
    color: #000;
    float: left;
    font-family: "sunshine",serif;
    font-size: 55px;
    letter-spacing: 0;
    line-height: 64px;
    margin: 17px 0 25px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.language ul {
  list-style: none;
  padding: 0;
}

.language ul li {
  display: inline;
  padding: 0 10px;
}

h1 {
    font-family: 'hoefler', serif;
    font-size: 32px;
    line-height: 1.2em;
    text-align: center;
}

.field .checkbox {
    width: 31.3333%;
    float:left;
    margin: 0 1% 1% 1%;
}

label, p {
  font-size: 16px;
  line-height: 1.8em;
}

.styled-checkbox label img {
    float:left;
    width: 100%;
    border: 5px solid #fff;
    cursor: pointer;
    transition: border 0.2s linear 0s;
}

.styled-checkbox :checked + label img {
    border: 5px solid #e6d7d1;
}

input[type=text], input[type=email] {
    height: 50px;
    border: 1px solid #eee;
    background: #ffffff;
    border-radius: 0;
    clear: both;
    font-family: "avenir-book",sans-serif;
    font-size: 16px;
    width: 360px;
    line-height: 1.8em;
    padding: 0 15px;
    -webkit-appearance: none;
    margin-top: 30px;
    text-align: center;
}

.error_msg {
    color: #ff7e7e;
    margin-top: 5px;
}
form input[type=text].error, form input[type=email].error, textarea.error {
    border: 1px solid #ffb7b7;
}

input.btn {
    background: #232322;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    font-family: "avenir-medium",sans-serif;
    color: #fff;
    border: 0 none;
    width: 360px;
    text-align: center;
    height: 50px;
    line-height: 46px;
    transition: background 0.2s linear 0s;
    margin-top: 15px;
}

input.btn:hover {
    background: #000;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Retina */
}

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

}

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

@media ( max-width : 768px ), screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .half {
        width: 100%;
    }

    input[type="text"], input[type="email"], input.btn {
        width: 100%;
    }
}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait) {

}

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: landscape) {

}
@media ( max-width : 480px ), screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .field .checkbox {
        width: 100%;
        float: none;
        margin: 0%;
        display: inline-block;
    }
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

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

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

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

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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

