/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

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

::-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;
}

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


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

body {
    background-image:linear-gradient(0deg, rgba(255,255,255,0.19) 0, rgba(220,220,220,0) 50%, rgba(180,180,180,0.14) 100%),url("https://vivastreet.info/img/map.png");
    background-repeat: no-repeat;
    background-attachment: static;
    background-position: center top; 
    font-family: "Open sans", sans-serif;
}

header {
    margin-top:175px;
}

footer {
    text-align:center;
    margin-top:50px;
}

.countryclickable {
    position: relative;
    cursor: pointer;
    width:310px;
    height:138px;
    margin: 15px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding-top:25px;
    border-radius: 4px;
    box-shadow: 0px 3px 18px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 0px 3px 18px rgba(0, 0, 0, 0.18);
    -webkit-box-shadow: 0px 3px 18px rgba(0, 0, 0, 0.18);
    -webkit-transition: box-shadow 150ms cubic-bezier(0, 0, 0.2, 1);
    -moz-transition: box-shadow 150ms cubic-bezier(0, 0, 0.2, 1);
    -o-transition: box-shadow 150ms cubic-bezier(0, 0, 0.2, 1);
    transition: box-shadow 150ms cubic-bezier(0, 0, 0.2, 1);
}

.countryclickable:hover {
    box-shadow: 0px 2px 18px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 2px 18px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 0px 2px 18px rgba(0, 0, 0, 0.35);
}

#ve-unavailable {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: hsla(40, 100%, 97%, 0.95);
    display: none;
}

#ve-unavailable:target {
    display:block;
}

#ve-unavailable__caption {
    padding: 65px 10px 0;
    color: #6f6f6f;
    font-size: 18px;
    font-weight: 600;
}

.title {
    font-size:46px;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
    color: #fa963e;
    margin:20px 0px 0px;
    letter-spacing: 2px;
    font-weight: 600;
}

.subtitle {
    margin:0px 0px 20px;
    text-align:center;
    font-size:18px;
    color:#5b5b5b;
    font-weight: 300;
    letter-spacing: 2px;
    font-weight: 600;
}

.vslogo {
    display:block;
    margin: 10px auto 170px auto;
}

#countries {
    margin-left:auto; 
    margin-right:auto;
    max-width:1100px;
    text-align:center;
}

.countrytitle {
    color:#333333;
    font-size:22px;
    margin:10px 0px 5px 0px;
    letter-spacing: 1px;
}

.countrydomain {
    color:#6f6f6f;
    font-size:18px;
    margin: 5px 0px;
    font-weight: 600;
}

.footertext {
    font-size:20px;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    color:#333333
}

#UKMobile {
    display:none;
}

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

@media (max-width:768px){
    body {
        background-size:contain;
    }

    header {
        margin-top:35px;
    }



    .title {
        font-size:30px;
        margin:20px 10px 10px 10px;
    }

    .subtitle {
        margin:10px 10px 20px 10px;
        font-size:10px;
    }

    .vslogo {
        width: 130px;
        height: auto;
        margin: 10px auto 20px auto;
    }

    #countries {
        max-width:90%;
    }

    .countryclickable {
        margin: 7.5px 2.5px;
        padding: 10px 5px;
        text-align: center;
        width:155px;
        height:auto;
    }

    #ve-unavailable__caption {
        padding: 35px 10px 0;
        font-size: 12px;
    }

    .countryimg {
        width:55px;
        height:auto;
    }

    .countrytitle {
        margin:5px 0px 0px 0px;
        font-size:13px;
    }

    .countrydomain {
        margin: 0px;
        font-size:11px;
    }

    .footertext {
        font-size:12px;
        width: 75%;
    }

    #UKDesktop {
        display:none;
    }

    #UKMobile {
        display:block;
    }

}

@media (max-width:382px){

    .countryimg {
        float:left;
        width:60px;
        padding-left:5px;
    }

    .countrytitle {
        margin:0;
        font-size:16px;
    }

    .countrydomain {
        font-size:13px;
    }

    .countryclickable {
        width:250px;
    }

    #ve-unavailable__caption {
        padding: 23px 10px 0;
    }

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

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

.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: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

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

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

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