/*
Theme Name: 
Theme URI: 
Description: Bespoke Theme developed by Adrian @ AlphaWebServices.net
Author: Adrian Jones
Version: 1.0
License: 
License URI: 
Tags: 
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

@import url('https://fonts.googleapis.com/css2?family=Neuton:ital,wght@0,200;0,300;0,400;0,700;1,400&display=swap');

@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{   }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}

.br-2 {border-right: 5px solid white}
.bl-2 {border-left: 5px solid white}
body {
    font-family: 'Lato', sans-serif;
    height: 100%;
    overflow: hidden;
}
html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.yellowbox-lines {border: black solid 1px!important; }

.animated-icon1 {
    width: 20px;
    height: 20px;
    position: relative;
    margin: 7px 0 3px 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
.animated-icon1 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.animated-icon1 span {
    background: #fff;
}
.animated-icon1 span:nth-child(1) {
    top: 0px;
}
.animated-icon1 span:nth-child(2) {
    top: 7px;
}
.animated-icon1 span:nth-child(3) {
    top: 14px;
}
.animated-icon1.open span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}
.animated-icon1.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}
.animated-icon1.open span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.carousel p {
    font-family: 'Alegreya', serif;
    font-style: italic;
    color: #626B6E;
    letter-spacing: 0.5px;
    font-size: 1.25rem;
    line-height: 1.35rem!important
}
.carousel p {
    margin-bottom: 5px;
    quotes: "\201C""\201D""\2018""\2019";
}
.carousel p:before {
    color: #626B6E;
    content: open-quote;
    font-size: 1.6em;
    line-height: 0.1em;
    margin-right: 0.05em;
    vertical-align: -0.2em;
}
.carousel p:after {
    color: #626B6E;
    content: close-quotex;
    font-size: 1.6em;
    line-height: 0.1em;
    margin-right: 0.05em;
    vertical-align: -0.2em;
}
.main-image {
    position: relative;
}

.topimage {
    width: 39px!important;
    height: auto;
    position: fixed;
    bottom: 30px;
    right: 30px;
	display: none;
}
.overlay-text {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
background: none; 
}
.overlay-text div {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    color: #fff;
}

.text h1, .text h2, .text h3, .text h4 {margin-top: 25px}

h1, h2, h3, h6 {
    font-family: 'Neuton', serif;
    letter-spacing: 0.5px;
  color: #000;
}

h1 {
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 2rem!important; letter-spacing: 0.5px
	
}

.hometext h1 {font-size: 2.05rem!important; line-height: 2.3rem!important;}

/*h1 {font-weight: 500; font-size: 2.3rem; line-height: 3.5rem!important;} */

h2 {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.9rem
}
h3 {
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.3rem;
    margin-bottom: 0.6rem!important
}
h4 {

    font-weight: 700!important;
    font-size: 0.85rem;
    line-height: 1.2rem;
    color: black;
    margin-bottom: 0.3rem
}
h5 {
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    line-height: 1.2rem;
    color: black;
    margin-bottom: 0.2rem
}
h6 {
    
    color: #000;
   
 
    font-weight: 500;
    font-size: 1.8rem;
}
.bluetop h5 {
    background: none;
    margin-bottom: 0.8rem
}
/* h1 span, h2 span {background: rgba(0, 0, 0, 0.65); color: white; box-shadow: 6px 0 0 rgba(0, 0, 0, 0.65), -6px 0 0 rgba(0, 0, 0, 0.65);  padding-bottom: 4px;  }

h2 span {font-family: Lato!important;}

*/

h1 span, h2 span {
    color: #fff;
}
h2 span {
    font-family: Lato!important;
}
.main-container h4 {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4rem;
	margin-top: 10px;
}
.main-container h4 strong {
    font-weight: 700
}
.main h3 {
    margin-bottom: 20px
}
.publications h4, .main h4 {
    margin-top: 1.4rem
}

.yellowbox h4 {font-weight: 400!important}
p {
    font-size: 0.85rem;
    line-height: 1.3rem!important;
    color: #000;
}
p a {
    font-weight: 500;
    color: #01a3e4;
    border-bottom: 1px solid #01a3e4
}
a.btn {
    text-decoration: none
}
p a:hover {
    text-decoration: none;
    border-bottom: none
}
.block p {
    color: #000;
    line-height: 1.7rem
}
.yellow {
    background: #FAF9E5
}
.quote {
    font-family: 'Alegreya', serif;
    font-style: italic;
    color: #626B6E;
    letter-spacing: 1px;
}
.quote h5 {
    font-size: 1.25rem
}
cite {
    color: #9EA7A9;
    margin-top: -50px
}
cite blue {
    font-weight: 700!important; color: #3E4447!important;
}
.yellowbox {
    background: rgba(250, 249, 229, 0.65);
}

.yellowbox blue {
    color: #189fe0!important;
    font-weight: 700
}

.yellowbox cite blue {
    color: #3E4447!important;
    font-weight: 700
}

input, textarea, select {background: rgba(250, 249, 229, 0.65)!important; border: 1px solid #6f7c8d!important; border-radius: 0!important}
label {font-size: 0.95rem; margin-bottom: -2px; margin-top: 10px}


.contactbox {
    background-image: url(images/contact-image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    background-position: 70% 70%
}
img.logo {
    max-width: 250px;
    margin-top: 15px
}
img.logo-small {
    max-width: 200px;
}
.icons img {
    width: 38px
}
.icons img:hover {
    opacity: 0.8
}
.details {
    color: #454B4D;
    font-weight: 700;
    font-size: 0.9rem!important
}
.details p {
    font-size: 0.85rem!important;
    margin-top: 15px
}
.break {
    margin-right: 20px
}
a.nav-link {
    padding-left: 20px!important;
    padding-right: 20px!important
}

.navbar a, .footer a {
    text-decoration: none
}
.button {
    display: inline-block;
    font-weight: 700;
    padding: 0.7rem 1rem 0.6rem 1rem;
    border-radius: 0rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.7rem;
}
.button:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: none;
    border-radius: 0rem;
    z-index: -2;
}
.button:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #0ba0df;
    transition: all 0.3s;
    border-radius: 0rem;
    z-index: -1;
}
.button:hover {
    color: #fff;
}
.button:hover:before {
    width: 100%;
}
.publications img {
    width: 100%;
    max-width: 160px;
    height: auto;
}
.main img {
    margin-bottom: 20px;
    max-width: 700px;
    height: auto;
}
.main p {
    margin-bottom: 0.6rem;
}
.main li, .publications li, li {
    font-size: 0.85rem;
    line-height: 1.3rem!important;
    color: #000;
    padding: 0;
    margin: 0
}
.main ul, .publications ul, ul {
    padding-left: 18px
}
.findoutmore p a, p a {
    color: #189fe0;
    border-bottom: none;
    font-weight: 700
}
.findoutmore p a:hover {
    text-decoration: none
}
.findoutmore .fa {
    transition: .3s transform ease-in-out;
}
.findoutmore .collapsed .fa {
    transform: rotate(-90deg);
}
.bluetop {
    border-top: 3px solid #01a3e4; padding-bottom: 18px;
}
.bluebottom {
    border-bottom: 3px solid #01a3e4;
   
}
.footer li {
    list-style-type: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 7px
}
.footer li a {
    color: #454B4D
}
.footer ul {
    padding: 0
}
.footer .details {
    font-weight: 500
}
.footerbar {
    background: #454B4D;
    color: white;
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.5px
}
.footerbar a {
    color: white;
    margin-right: 4px;
    margin-left: 4px
}
@media only screen and (max-width: 992px) {
    .nav-link {
        padding: 0.5rem 0.6rem!important;
    }
    .dropdown-menu {
        margin-top: 0px;
        text-align: center
    }
    .navbar-nav {
        text-align: center
    }
    img.logo {
        max-width: 200px;
        margin-top: 10px;
        margin-top: 10px
    }
    .icons img {
        width: 38px;
        height: 38px
    }
    .details {
        font-size: 0.95rem!important;
    }
    h1 {
        font-size: 2rem;
        line-height: 2.2rem!important;
    }
}
@media only screen and (max-width: 767px) {
	
	.br-2 {border-right: 0px solid white}
.bl-2 {border-left: 0px solid white}
	
    .mt-6 {
        margin-top: 60px!important
    }
    #testimonial-container {
        width: 90%;
    }
     h1 {
        font-size: 1.6rem;
        line-height: 1.7rem!important;
        margin-bottom: 8px!important
    }
    h2 {
        font-size: 0.95rem;
        line-height: 1.3rem
    }
    .main img {
        max-width: 100%;
    }
}
@media only screen and (max-width: 576px) {
    img.mail {
        margin-top: 2px
    }
    .btn-secondary {
        color: #01a3e4;
        background-color: #fff;
        border-color: #01a3e4;
    }
    .icons img {
        padding-top: 0px!important
    }
    img.logo {
        max-width: 200px;
    }
    .overlay-text {
        position: relative!important;
        top: 15px!important;
        left: 50%;
        transform: translate(-50%, -0%)!important;
        width: 100%!important;
        background: none!important;
		
    }
    .overlay-text div {
        position: relative;
        top: 0%;
        left: 0%;
        transform: translate(00%, 0%);
        color: #fff;
		background: none!important;
    }
    .overlay-text div br {
        display: none
    }
    h1 {
        font-size: 1.6rem;
        line-height: 1.7rem!important;
        margin-bottom: 8px!important
    }
    h2 {
        font-size: 0.95rem;
        line-height: 1.3rem
    }
    h1 span, h2 span {
        background: none;
        color: #000000!important;
        box-shadow: none;
    }
    h2 span br {
        display: none!important
    }
}




.gform_wrapper .gform_body select {
	-webkit-appearance: menulist;
}

.gform_wrapper .gform_footer .button {
	background: transparent!important;
	color: #01a3e4;
	border-color: #01a3e4!important;
}

.gform_wrapper .gform_footer .button:hover {
	background: #01a3e4!important;
	color: #fff;
	border-color: #01a3e4;
}

.gform_wrapper .gform_body .ginput_container_consent {
	display: flex;
}

.gform_wrapper .gform_body .ginput_container_consent > input {
	margin-top: 8px;
}

.gform_wrapper .gform_body .ginput_container_consent > label {
	margin-top: 0;
	padding-left: 10px;
}

.gform_wrapper .gform_body .ginput_container_consent .gfield_required {
	display: none;
}

.publications #speeches > div:nth-of-type(1n+4),
.publications #articles > div:nth-of-type(1n+4) {
	display: none;
}