/*
 Theme Name: Devon Archaeological Society
 Description: The custom theme DAS using the parent theme Twenty Seventeen.
 Author: WNW Digital
 Author URI: https://www.wnwdigital.co.uk
 Template: twentyseventeen
 Version: 1
 */

body {
font-family: 'Raleway', sans-serif;
font-size: 18px;
color: #333;
}

h1, h2, h3 {
margin-top: 30px;
margin-bottom: 20px;
}

h1 {
text-align: center;
font-size: 50px;
font-weight: 200;
color: #333;
margin: 30px 0 60px 0;
}

p {
font-weight: 400;
margin-bottom: 40px;
line-height: 2.3em;
}

a {
font-weight: 400;
}

img {
max-width: 100%;
}

button {
background: rgba(0,0,0,0);
border: none;
padding: 0;
text-align: left;
}

.nopadding {
    padding: 0;
}

.rel-back-btn {
    position: relative!important;
    margin-bottom: 30px;
}

.alignleft {
float: left;
margin: 0 30px 30px 0;
}

.alignright {
float: right;
margin: 0 0 30px 30px;
}

.banner {
background: url('/images/banner.jpg') 40% 40%;
width: 100%;
height: 100vh;
-webkit-height: 100vh;
-moz-height: 100vh;
-ms-height: 100vh;
-o-height: 100vh;
/* Set a specific height */
min-height: 700px; 
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;
}

.banner-strap {
margin-top: 200px;
}

header.head {
background: #bcf7ff;
/* background: rgba(158, 232, 255, 0.58); */
height: 94px;
overflow: visible;
border-bottom: solid 2px #fff;
position: fixed;
width:100%;
z-index: 9;
}

nav.header-nav {
float: right;
}

    nav.header-nav ul {
    float: left;
    margin: 0;
    padding: 32px 0;
    }

        nav.header-nav ul li {
        float: left;
        list-style: none;
        padding: 0;
        margin-right: 60px;
        }

            nav.header-nav ul li a {
            color: #000;
            font-size:16px;
            }

                nav.header-nav ul li a:hover {
                text-decoration: none;
                }

.logo img {
float: left;
}

.welcome h1 {
text-align: left;
text-transform: uppercase;
color: #fff;
font-size: 50px;
line-height: 54px;
font-weight: 300;
margin-bottom: 30px;
}

.welcome p {
color: #fff;
font-size: 21px;
font-weight: 400;
}

a.yellow-cta-rounded {
color: #000;
background: #f5f501;
border-radius: 20px;
padding: 10px 10px;
text-transform: uppercase;
min-width: 250px;
padding: 10px 20px;
float: left;
font-size: 17px;
font-weight: 500;
}

    a.yellow-cta-rounded:hover {
    text-decoration: none;
    }

a.yellow-cta-sharp {
color: #000;
background: #f5f501;
padding: 10px 10px;
text-transform: uppercase;
min-width: 250px;
padding: 10px 20px;
float: left;
font-size: 17px;
font-weight: 500;
}

    a.yellow-cta-sharp:hover {
    text-decoration: none;
    }

a.blue-cta-rounded {
color: #fff;
background: #5b90d5;
border-radius: 20px;
padding: 10px 10px;
text-transform: uppercase;
min-width: 250px;
padding: 10px 20px;
float: left;
font-size: 17px;
font-weight: 500;
}

    a.blue-cta-rounded:hover {
    text-decoration: none;
    }

a.blue-cta-sharp {
color: #fff;
background: #5b90d5;
padding: 10px 10px;
text-transform: uppercase;
min-width: 250px;
padding: 10px 20px;
float: left;
font-size: 17px;
line-height: 17px;
font-weight: 500;
}

    a.blue-cta-sharp:hover {
    text-decoration: none;
    }

.fa-caret-right:before {
content: "\f0da";
}

.fa-caret-right {
float: right;
font-size: x-large!important;
}

.fa-caret-left:before {
content: "\f0d9";
}

.fa-caret-left {
    margin-right: 20px;
}

.fa {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.scroll-down {
position: absolute;
bottom: 55px;
width: 100%;
text-align: center;
}

    .scroll-down img {
    opacity: 0.7;
    }

    a.scroll {
    -webkit-transition-duration: 5s; /* Safari */
    transition-duration: 5s;
    }

section.content {
padding: 30px 0;
}

.home-box {
color: #fff;
position: relative;
background-size: cover;
}

    .home-box h2 {
    font-size: 34px;
    text-transform: uppercase;
    font-weight: 700;
    }

    .home-box p {
    line-height: 1.6em;
    font-size: 18px;
    font-weight: 400;
    }






    .button-slide {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 44px;
    overflow: hidden;
    }

    

    .button-slide a.yellow-cta-sharp {
    width: 250px;
    position: absolute;
    bottom: 0;
    right: 0;
    }

    a.black-border {
    border-bottom: solid 2px black;
    text-transform: uppercase;
    min-width: 250px;
    padding: 10px 20px;
    float: left;
    font-size: 17px;
    font-weight: 500;
    z-index: 999;
    position: absolute;
    right: 250px;
    bottom: 0;
    width: 250px;
    height: 44px;
    transition: all 0.3s ease-in-out;
    }

.shadow{
    text-shadow: 1px 1px 2px #000;
}


.lectures {
background-image: url('/images/20180612_Guildhall-2-1024x576.jpg');
height: 448px;
background-position: 50% 68%;
margin: 1%;
background-size: cover;
}

.courses {
background-image: url('/images/courses.jpg');
background-size: cover;
background-position: 50% 60%;
height: 448px;
margin: 1%;
}

.publications {
background-image: url('/images/publications.jpg');
height: 380px;
margin: 1%;
}

.visits {
background-image: url('/images/field-visits.jpg');
height: 380px;
margin: 1%;
}

footer {
background: #1d3f5a;
border-top: solid 4px black;
margin-top: 50px;
padding: 25px 0 5px 0;
}

    footer p {
    text-align: center;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 20px;
    }

ul.social-icons {
width: 360px;
float: none;
margin: 40px auto;
padding: 0;
list-style: none;
overflow: auto;
}

    ul.social-icons li {
    float :left;
    margin: 0 20px;
    }

footer a {
font-weight: 500;
color:#f5f501;
}

footer a:hover {
color:#f5f501;
}

body.admin-bar .datepicker {
    z-index: 1500!important;
}

@media(min-width:991px) {

.lectures {
width: 64.66666667%;
}

.courses {
width: 31.33333333%;
}

.publications {
width: 31.33333333%;
}

.visits {
width: 64.66666667%;
}

}

#mega-menu-wrap-top .mega-menu-toggle .mega-toggle-block-1:before {
    font-size: 39px;
}

.icon {
    display: none;
}

@media(max-width: 480px) {
    
    h1 {
    font-size: 34px;
    }
    
    p {
    line-height: 1.8em;
    }
    
    .logo img {
    width: 110px;
    }
    
    header.head {
    height: 80px;
    }
    
    .mega-menu-toggle {
        margin-top: 0!important;
    }
    
    .welcome h1 {
    font-size: 34px;
    }
    
    .banner-strap {
    margin-top: 75px;
    }
    
    .scroll-down {
    display: none;
    }
    
    ul.social-icons {
    width: 270px;
    }
    
    ul.social-icons li img {
    width: 50px!important;
    height: 50px!important;
    }
    
}

.ngg-gallery-thumbnail {
    text-align: center;
    max-width: 100%!important;
    background-color: #FFF;
    margin: 5px;
    border:none!important;
}

@media(max-width: 1200px) {
    nav.header-nav {
    margin: 14px 0;
    width: 100%;
    }
    .rmv-pad-lft {
    padding-left: 0;
    }
    
    .rmv-mgn {
    margin-right: 0;
    margin-left: 0;
    }
    
    header.head {
    position: relative;
    }
    
    .banner-strap {
    margin-top: 100px;
    }
    
    .mega-menu-toggle {
    margin-top: 15px;
    }
}

@media(min-width:1200px) {
    .mega-sub-menu {
    margin-top: 25px!important;
    }
}

hr {
width: 100%;
}

.mega-menu-toggle {
margin-bottom: 25px!important;
}

table {
    width: 100%;
    box-sizing: border-box;
}

tr:first-child {
    background: #1d3f5a;
    color: #fff;
    font-weight: 700;
}

tr:nth-child(even) {
    background: #f1f1f1;
}

td {
    padding: 6px;
    border: solid 1px #1d3f5a;
}

@media(max-width: 560px) {
    
    table {
    font-size: 14px!important;
    line-height: 18px!important;
    font-weight: 500!important;
    }
    
    table p {
    font-size: 14px!important;
    line-height: 18px!important;
    margin-bottom: 15px!important;
    font-weight: 500!important;
    }
    
}

#tribe-events {
    margin-top: 50px;
}

aside {
    display: none;
}

.archive-boxes {
    
}

.archive-section {
    text-align: center;
    border: solid 2px #1d3f5a;
    border-radius: 6px;
    margin: 30px 0;
}

.archive-section .entry-header {
    background: #1d3f5a;
}

.archive-section .entry-header a {
    color: #fff;
}

.archive-section .entry-header a:hover {
    color: #f5f501;
    text-decoration: none;
}

.archive-section h2 {
    padding: 25px 20px;
    margin: 0;
}

.archive-details {
    overflow: auto;
    padding: 30px;
}

.archive-details p {
    line-height: 20px;
    margin-bottom: 20px;
}

.dr {
    text-align: left;
}

.dr p {
    font-weight: 500;
}

.single-left {
    padding: 20px;
    border: solid 1px #1d3f5a;
    border-radius: 6px;
    margin-bottom: 40px;
    background: #fafafa;
}

.single-right {
    padding: 0 30px;
}

.single-left p {
    line-height: 20px;
    margin-bottom: 0;
}

.entry-footer {
    display: none;
}

.det-row {
    padding: 8px 0;
}

@media(max-width:600px) {
    .archive-section h2 {
        font-size: 22px;
    }
}

.tribe-events-ical,
.tribe-events-gcal {
    display: none!important;
}