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

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

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

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

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

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

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

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

/*
 * A better looking default horizontal rule
 */

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

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

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

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

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



/* RESPONSIVE GRID */

[class*='col-'] { float: left; padding-right: 20px; }
[class*='col-']:last-of-type { padding-right: 0px; }
.grid { width: 100%; max-width: 1180px; margin: 0 auto; }
.grid:after { content: ""; display: table; clear: both; }
.grid-pad { padding: 0 20px; }
.grid-pad > [class*='col-']:last-of-type { padding-right: 20px; }
.grid-large { width: 100%; max-width: 1400px; margin: 0 auto; }
.grid-large:after { content: ""; display: table; clear: both; }
.grid-small { width: 100%; max-width: 980px; margin: 0 auto; }
.grid-small:after { content: ""; display: table; clear: both; }
.push-left { float: left; }
.push-right { float: right; }
.push-center { text-align:center; }
/* Content Columns */
.col-1-1 { width: 100%; }
.col-2-3, .col-8-12 { width: 66.66%; }
.col-1-2, .col-6-12 { width: 50%; }
.col-1-3, .col-4-12 { width: 33.33%; }
.col-1-4, .col-3-12 { width: 25%; }
.col-1-5 { width: 20%; }
.col-1-6, .col-2-12 { width: 16.667%; }
.col-1-7 { width: 14.28%; }
.col-1-8 { width: 12.5%; }
.col-1-9 { width: 11.1%; }
.col-1-10 { width: 10%; }
.col-1-11 { width: 9.09%; }
.col-1-12 { width: 8.33%; }
/* Layout Columns */
.col-11-12 { width: 91.66%; }
.col-10-12 { width: 83.333%; }
.col-9-12 { width: 75%; }
.col-5-12 { width: 41.66%; }
.col-7-12 { width: 58.33%; }

@media handheld, only screen and (max-width: 767px) {
  .grid {
      width: 100%; margin-left: 0px; margin-right: 0px; min-width: 0;
      padding-left: 0px; padding-right: 0px;
  }
  .grid-pad { padding: 0 20px; }
  .grid-pad-mobile { width: 94%; margin-left: 3%; margin-right: 3%; }
  [class*='col-'] {
      width: auto; float: none;
      margin-left: 0px; margin-right: 0px; margin-top: 10px; margin-bottom: 10px;
      padding-left: 20px; padding-right: 20px;
  }
}




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




/* BASE STYLES */

*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
body { 
  background-color:#3b4144;font-family:'Varela Round';font-weight:100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site-wrap {  }
h1 { color:#818a8d;text-align:center;font-family:'Fredoka One'; }
h2 { font-size:3em;color:#fff;font-family:'Fredoka One';margin-top:100px;margin-bottom:0; }
h3 { font-size:1.6em;color:#fff;font-family:'Fredoka One'; }
p { color:#818a8d;font-weight:100;font-size:1.2em;/*font-style:italic;*/ }
a { color:#fff;text-decoration:none;padding-bottom:6px;transition:all 0.3s; }
a:hover { border-bottom:solid 2px #fff;padding-bottom:0px; }
hr {
    display: block;height: 2px;width:240px;
    border: 0;border-top: 2px solid #fff;
    margin: 1em auto;padding: 0;
}
.button { 
  padding:10px 20px;color:#fff;border:solid 4px #fff;border-radius:60px; 
  margin:0 auto;transition:all 0.3s;text-transform:uppercase;font-weight:bold;
  font-size:1.2em;margin:1em auto;display:block;max-width:200px;
  text-align:center;
}
.button:hover { padding:10px 20px;color:#3b4144;background-color:#fff;border:solid 4px #fff; }
.site-content .hero { color:#fff;font-size:1.6em;font-style:italic;margin:2em auto 0; }



/* SITE HEADER */

.site-header { text-align:center;margin:60px 0 0;transition:all 0.3s; }
.site-header p { overflow:hidden;transition:all 0.3s;max-width:800px;margin:20px auto; }
.site-logo { text-decoration:none;border-bottom:none; }
.site-logo:hover { text-decoration:none;border-bottom:none; }
.site-logo-stamp { 
  display:inline;border-bottom:none;margin-right: 40px;
  margin-top: -10px;width: 60px;text-decoration:none; margin-bottom:50px; 
}
.site-logo h1 { font-size:6em;margin:10px auto;transition:all 1s;display:inline; }
.site-logo span { display:inline-block;transition:all 0.3s; }
.site-logo:hover .f { color:#e55a5c;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .l { color:#5b8ccf;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .i { color:#7dab65;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .c { color:#cab947;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .k { color:#8272ac;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .r { color:#b68250;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .d { color:#e55a5c;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .o { color:#5b8ccf;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .t { color:#7dab65;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
.site-logo:hover .s { color:#cab947;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }

.header-collapsed { margin-top:20px; }
.header-collapsed .site-logo h1 { font-size:2em;margin:0 auto; }
.header-collapsed p { height:0; }

.header-small .site-logo h1 { font-size:2em;margin:0 auto; }

.site-logo .logo-mini { font-size:4em; }

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

  .site-logo h1 { font-size:2.4em;margin-bottom:20px; }
  .site-logo .f { color:#e55a5c;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .l { color:#5b8ccf;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .i { color:#7dab65;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .c { color:#cab947;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .k { color:#8272ac;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .r { color:#b68250;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .d { color:#e55a5c;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .o { color:#5b8ccf;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .t { color:#7dab65;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo .s { color:#cab947;-webkit-transform: rotate(-5deg);-moz-transform: rotate(-5deg); }
  .site-logo-stamp { margin-right: 20px;margin-top: 30px;width: 30px; }

}



/* MAP & CONTINENTS */

.dot-map { width:1180px;height:554px;position:absolute;margin-top:20px;display:none;text-align:center; }
.dot-continent { position:absolute;margin-bottom:80px; }
.dot-northamerica { top:0;left:0; }
.dot-southamerica { left:267px;top:318px; }
.dot-africa { top:238px;left:521px; }
.dot-europe { top:49px;left:550px;z-index:1; }
.dot-asia { top:19px;right:0;z-index:0; }
.dot-australia { top:368px;right:110px; }
.dot-img { transition:all 0.3s; }
.dot-img-active {
    position:absolute;opacity:0;cursor:pointer;
    z-index:1;transition:all 0.3s;
}
.dot-continent { transition:all 0.3s; }
.dot-continent:hover .dot-img-active { opacity:1; }
.continent-popbox { 
    width:160px;color:#3b4144;text-align:center;padding:10px 20px;
    z-index:2;border-radius:20px;opacity:0;transition:all 0.3s;
    position:absolute;left:50%;margin-left:-80px;top:60px;cursor:pointer;
}
.dot-continent:hover .continent-popbox { opacity:1; }
.dot-continent.notselected { opacity:0;top:-100px; }
.dot-continent.selected { display:block;position:static;margin:0 auto;text-align:center; }
.dot-continent.selected .continent-popbox { opacity:1;left:50%;margin-left:-80px;top:0px; }
.dot-continent.selected .dot-img-active { opacity:1; }
.dot-continent.selected .dot-img { margin-top:50px;max-width:300px; }
.dot-northamerica .continent-popbox { background-color:#e55a5c;top:140px; }
.dot-southamerica .continent-popbox { background-color:#7dab65; }
.dot-africa .continent-popbox { background-color:#cab942;}
.dot-europe .continent-popbox { background-color:#5b8ccf;top:90px; }
.dot-asia .continent-popbox { background-color:#8272ac;top:120px; }
.dot-australia .continent-popbox { background-color:#b68250;top:30px;}
.btn-galleryclose { display:block; }

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

    .dot-map { width:100%;height:auto;text-align:center;left:0;}
    .dot-continent { position:static; }
    .dot-continent img { max-width:92%;margin:20px 4%; }
    .dot-continent.selected { position:absolute;top:0;left:20px; }
    .continent-popbox { display:none;opacity:1;position:absolute;top:0; }

}



/* PHOTOS */

.dot-photos { margin-top:360px;top:0; }
.photos-continent { position:absolute;opacity:0;pointer-events: none;width:100%;left:0; }
.photos-continent.active { opacity:1;pointer-events: auto; }
.dot-photolist { list-style:none;text-align:center;padding:0;max-width:900px;width:100%;margin:0 auto; }
.dot-photolist li { display:inline-block;margin:5px; }
.dot-photolist img { width:60px;/*max-width:100%;*/height:60px;border-radius:50%;opacity:0.8;/*transition:all 0.3s;*//*border:solid 4px #818a8d;*/ }
.dot-photolist img:hover { opacity:1;border-color:#e55a5c; }
.photos-northamerica img {  }
.photo-item { cursor:pointer;float:left;position:relative; }
.photo-item.large img { /*max-width:100%;*/width:300px;height:300px;border-radius:15px; }



/* FEATURES */

.features { margin-bottom:100px; }
.feature { float:left;width:29.333333%;margin:0 2%;text-align:center; }
.feature img { max-width:100%; }
.site-content .feature p { max-width:300px; }

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

  .feature { float:left;width:100%;margin:50px 0; }

}



/* CONTENT */

.site-content { text-align:center;position:absolute;width:100%;margin-bottom:100px; }
.site-content p { max-width:760px;margin:0 auto; }

.map-top { position:relative; }
.map-bottom { position:relative;  }



/* SITE FOOTER */


.site-footer { text-align:center;margin-top: 100px; }






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

/*
 * Image replacement
 */

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

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

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

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

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

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

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

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

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

.invisible {
    visibility: hidden;
}

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

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

.clearfix:after {
    clear: both;
}

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

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

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

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

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

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

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

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

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

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

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

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

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

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

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

    @page {
        margin: 0.5cm;
    }

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

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