/*
Theme Name: Science Vale
Author: Whistle Agency
Text Domain: sciencevale
Version: 1.0.0
*/

@font-face {
	font-family: 'formata';
	src: url('assets/fonts/Formata-Bold.eot');
	src: url('assets/fonts/Formata-Bold.woff') format('woff'), url('assets/fonts/Formata-Bold.ttf') format('truetype'), url('assets/fonts/Formata-Bold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'formata-regular';
	src: url('assets/fonts/Formata-Regular.eot');
	src: url('assets/fonts/Formata-Regular.woff') format('woff'), url('assets/fonts/Formata-Regular.ttf') format('truetype'), url('assets/fonts/Formata-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.5;
    color: #002e52;
    background-color: #fff;
}

.mr4 {
	margin-right: 4%;
}

.col25 {
    width: 25%;
    float: left;
}

.col30,
.col30er {
    width: 30%;
    float: left;
}

.col33 {
    width: 33.333333333%;
    float: left;
}

.col40 {
    width: 40%;
    float: left;
}

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

.col60 {
    width: 60%;
    float: left;
}

.col66er {
	width: 66%;
	float: left;
}

.col30er,
.col66er {
	margin-top: 80px;
	margin-bottom: 80px;
}

.col66 {
    width: 66.666666666%;
    float: left;
}

.col70 {
    width: 70%;
    float: left;
}

.col75 {
    width: 75%;
    float: left;
}

.block,
.clear,
.row {
    clear: both;
}

.wrap {
    max-width: 1010px;
    margin: 0 auto;
}

header .wrap {
	max-width: 1170px;
}

h1,
h2,
h3,
h4 {
	font-family: 'formata';
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 52px;
    line-height: 1;
}

h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
}

h3 {
    font-size: 25px;
    line-height: 1.2;
}

h4 {
    font-size: 21px;
    line-height: 1.2;
}

h2 span,
h3 span {
    display: block;
}

ul,
ol,
p {
    font-size: 21px;
    line-height: 1.4;
}

ul a,
p a {
    text-decoration: none;
    border-bottom: 1px solid #002e52;
    transition: 0.3s border ease;
    color: #002e52;
}

p a:hover {
    border-bottom-color: transparent;
}

p a[href^="tel"] {
    border-bottom-color: transparent;
}

p a[href^="tel"]:hover {
    border-bottom-color: #002e52;
}

a:focus {
    outline: none;
}

#primary .social-navigation a,
#footer-menus .social-navigation a {
	background-color: #fff;
    border: none;
	border-radius: 60px;
	color: #002e52;
	display: inline-block;
	height: 40px;
	text-align: center;
	width: 40px;
    transition: 0.3s all ease;
    position: relative;
}

#primary .social-navigation a {
	background-color: #002e52;
	color: #fff;
}

#primary .social-navigation svg,
#footer-menus .social-navigation svg {
    fill: #002e52;
}

#primary .social-navigation svg {
	fill: #fff;
}

#primary .social-navigation a:hover,
#primary .social-navigation a:focus,
#footer-menus .social-navigation a:hover,
#footer-menus .social-navigation a:focus {
	background-color: #74b83c;
}

#primary .social-navigation .icon,
#footer-menus .social-navigation .icon {
	height: 25px;
	top: 7.5px;
	width: 25px;
    left: 7.5px;
	vertical-align: top;
    position: absolute;
}

header nav li.menu-search {
	width: 22px;
}

header nav li.menu-search a {
	padding-top: 10px;
	height: auto;
	display: block;
	color: transparent;
	background-image: url('assets/images/search.png');
	background-size: 22px 24px;
	background-repeat: no-repeat;
	background-position: center;
}

/* Social Menu fallbacks */

.no-svg .social-navigation a {
	background: transparent;
	color: #222;
	height: auto;
	width: auto;
}

/* Show screen reader text in some cases */

.no-svg .next.page-numbers .screen-reader-text,
.no-svg .prev.page-numbers .screen-reader-text,
.no-svg .social-navigation li a .screen-reader-text,
.no-svg .search-submit .screen-reader-text {
	clip: auto;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	height: auto;
	position: relative !important; /* overrides previous !important styles */
	width: auto;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

#header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

#nav {
    display: none;
    background-color: #002e52;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1001;
}

header {
    z-index: 10;
	background: #002e52;
	padding: 20px 0;
	position: relative;
}

header .logo img {
	height: 96px;
	width: auto;
}

header nav {
    float: right;
    position: relative;
    display: inline-block;
	margin-top: 40px;
}

header nav .opener {
    display: none;
}

header nav.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav.main-navigation ul li {
    float: left;
    margin-left: 35px;
}

header nav.main-navigation ul ul {
    margin: 0 0 0 -20px;
    padding: 20px;
    display: none;
    position: absolute;
    max-width: 100%;
    z-index: 2;
    list-style: none;
	background: #002e52;
}

header nav.main-navigation ul ul li {
    float: none;
    margin: 0;
}

header nav li.menu-item-has-children:hover ul {
    display: block;
}

header nav li.menu-item-has-children:hover a {
    color: #74b83c;
}

header nav li.menu-item-has-children:hover li a {
    color: #fff;
}

header nav li.menu-item-has-children:hover li a:hover {
    color: #74b83c;
}

header nav a,
#nav nav a {
    font-size: 15px;
	line-height: 1.2;
    text-decoration: none;
    color: #fff;
    transition: 0.3s color ease;
	font-family: 'formata';
	border-bottom: none;
}

header nav li.menu-item-has-children:hover li.current-menu-item a,
header nav li.current_page_parent a,
header nav .current-page-ancestor a,
header nav .current-menu-item a,
header nav a:hover {
    color: #74b83c;
}

.nav-icon {
    display: none;
    width: 35px;
    height: 20px;
    position: absolute;
    transform: rotate(0deg);
    cursor: pointer;
    top: 20px;
    right: 20px;
}

.nav-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.nav-icon:hover span,
.nav-icon.open span {
    background: #fff;
}

.nav-icon span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
}

.nav-icon span:nth-child(2) {
    top: 9px;
    transform-origin: left center;
}

.nav-icon span:nth-child(3) {
    top: 18px;
    transform-origin: left center;
}

.nav-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: -1px;
    left: 4px;
}

.nav-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.nav-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 22px;
    left: 4px;
}

.over {
	clear: both;
}

#nav .search {
	width: calc(100% - 40px);
	padding: 20px;
}

#nav .search form {
	text-align: left;
}

#primary .search input[type=text],
#nav input[type=text] {
	background: transparent;
	border: none;
	border-bottom: 1px solid #74b83c;
	padding: 5px 5px 0 5px;
	width: 70%;
	color: #fff;
	font-size: 19px;
	line-height: 19px;
	font-family: 'Open Sans', sans-serif;
}

#primary .search input[type=text]:focus,
#nav input[type=text]:focus {
	outline: none;
}

#nav input[type=text] {
	width: calc(100% - 10px);
	border-bottom: 1px solid #fff;
	padding-bottom: 5px;
	line-height: 1.5;
}

#primary .search input[type=text] {
	color: #002e52;
	width: calc(100% - 56px);
}

#primary .search input[type=submit],
#nav input[type=submit] {
	border: none;
	background-color: transparent;
	color: transparent;
	background-image: url('assets/images/search.png');
	background-size: 22px 24px;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}

#nav .search input[type=submit],
#primary .search input[type=submit] {
	float: right;
}

#nav input[type=submit] {
	position: absolute;
	right: 20px;
}

section {
    width: 100%;
    display: block;
}

section#header {
	background-color: #b8b8bc;
	background-position: bottom center;
	background-size: cover;
	min-height: 380px;
}

.wrapper {
	background: #fff;
	padding: 70px 80px 0 80px;
	max-width: 1010px;
	margin: 0 auto;
	margin-top: -150px;
}

.wrapper h1 {
	font-size: 52px;
	margin-bottom: 0;
	padding-bottom: 0;
}

.wrapper h2 {
	font-size: 38px;
	color: #0071b1;
	line-height: 45px;
	margin-top: 26px;
	margin-bottom: 19px;
}

section#content {
	padding-bottom: 30px;
}

#features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 0;
	margin: 60px 0;
}

.feature {
	background: #0071b1;
	color: #fff;
	position: relative;
	min-height: 250px;
}

.feature a {
	color: #fff;
	text-decoration: none;
	display: block;
	padding: 20px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.feature a strong {
	font-family: 'formata';
	font-weight: normal;
	font-size: 26px;
}

.feature a span {
	display: block;
	font-size: 17px;
	font-weight: bold;
	position: absolute;
	bottom: 20px;
}

#slider {
	height: 650px;
	position: relative;
}

#slider .title {
	position: absolute;
	left: 0;
	right: 0;
	top: 30px;
	z-index: 1;
}

#slider .title h1 {
	text-transform: uppercase;
	color: #0065a0;
	line-height: 0.5;
	font-size: 90px;
	text-align: center;
}

#slider .title h1 span.back {
	display: inline-block;
	background: #0065a0;
	color: #fff;
	padding: 30px 10px 15px 10px;
}

#slider .title h1 span.grad {
	display: inline-block;
	background-image: linear-gradient(to right, #01a5c1, #03a9a0, #43b077, #6eb655);
	color: #fff;
	padding: 30px 10px 15px 10px;
}

#slider .title h1 div {
	margin-top: 10px;
}

.slick-dots {
	bottom: 20px;
	z-index: 1000;
}

.slick-dots li {
	margin: 0;
}

.slick-dots li button:before {
	font-size: 16px;
	color: #b8b8bc;
	opacity: 1;
}

.slick-dots li.slick-active button:before {
	border: none;
	color: #fff;
	opacity: 1;
}

.wave {
	z-index: 1;
	height: 98px;
	background-image: url('assets/images/slider.png');
	background-position: bottom center;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.slides div {
	height: 650px;
	background-position: bottom center;
	background-repeat: no-repeat;
	position: relative;
}

.slides div.credit {
	position: absolute;
	bottom: 50px;
	left: 0;
	right: 0;
	text-align: center;
	height: auto;
}

.slides div.credit span {
	background: #fff;
	padding: 5px;
	font-size: 12px;
}

#main h1 {
	text-align: center;
	margin: 70px 0 20px 0;
	line-height: 62px;
}

#panels .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin: 60px auto 25px auto;
}

#panels .wrap .feature {
	width: calc(50% - 17.5px);
	margin-bottom: 35px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: 0.3s all ease;
	min-height: 300px;
}

.page-template-template-collaborative #panels .wrap .feature,
.page-template-template-case #panels .wrap .feature,
.page-template-template-partners #panels .wrap .feature,
.page-template-template-studies #panels .wrap .feature {
	width: 100%;
	min-height: 560px;
}

.page-template-template-local #panels .wrap .feature {
	min-height: 370px;
}

#panels .wrap .feature a {
	padding: 40px;
	color: #fff;
}

#panels .wrap .feature strong {
	color: #fff;
}

#panels .wrap .feature a p {
	font-size: 16px;
	display: none;
	max-width: 100%;
}

.page-template-template-study #panels .wrap .feature a p {
	font-size: 14px;
}

#panels .wrap .feature:hover {
	background-image: none !important;
}

#panels .wrap .feature:hover a p {
	display: block;
}

#panels .wrap .feature a strong {
	font-size: 38px;
	line-height: 1.2;
}

#panels .wrap .feature a strong em {
	font-style: normal;
	display: block;
	font-size: 26px;
	line-height: 26px;
}

#panels .wrap .feature a span {
	bottom: 40px;
}

#panels .wrap .feature.learn a:hover span {
	display: none;
}

#divider {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 500px;
	position: relative;
}

#divider .wrap {
	max-width: 1170px;
}

#divider div.content {
	background-color: rgba(0, 46, 82, 0.85);
	padding: 40px;
	color: #fff;
	font-size: 38px;
	line-height: 45px;
	font-family: 'formata-regular';
	font-weight: normal;
	width: 50%;
	float: right;
	min-height: 320px;
	margin-top: 50px;
	position: relative;
}

#divider div strong {
	font-family: 'formata';
	font-weight: bold;
}

#divider div a {
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 21px;
	display: block;
	position: absolute;
	bottom: 40px;
}

#primary iframe {
	width: 100% !important;
	margin: 30px 0;
}

#primary img {
	width: 100%;
	height: auto;
	margin: 30px 0;
}

#primary .zoom {
	position: relative;
}

#primary h2 {
	margin-top: 80px;
}

#primary h2,
#primary strong {
	color: #0071b1;
}

#primary a {
	border-bottom-color: transparent;
	color: #0071b1;
}

#primary a:hover {
	border-bottom-color: #0071b1;
}

.img-magnifier-glass {
	position: absolute;
	border: 3px solid #000;
	border-radius: 50%;
	cursor: none;
	width: 200px;
	height: 200px;
}

#primary .zoom img {
	margin: 60px auto;
	display: block;
}

#partners {
	padding: 80px 0;
}

#partners h2 {
	color: #0071b1;
	font-size: 38px;
	margin-bottom: 10px;
}

#partners img {
	filter: grayscale(100%);
	transition: 0.3s filter ease;
	display: block;
	margin: 0 auto;
}

#partners img:hover {
	filter: grayscale(0);
}

.partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.partners div {
	width: 25%;
	justify-content: center;
	align-items: center;
	margin-top: 60px;
}

.partners div.narrow {
	width: 20%;
}

#external {
	background-color: #f6f6f7;
	padding: 60px 0;
}

#external #tweets {
	display: grid;
	grid-template-columns: calc(66.666666666% - 30px) calc(33.333333333% - 30px);
	grid-template-rows: 1fr;
	grid-column-gap: 60px;
	grid-row-gap: 0;
}

.twitter {
	background: #fff;
}

#external #newsletter,
#foot #newsletter {
	background-color: #0071b1;
	background-image: url('assets/images/newsletter.png');
	background-position: center right;
	background-size: cover;
	color: #fff;
	margin: 60px 0;
	padding: 20px;
}

#external .latest {
	background: #002e52;
	color: #fff;
	position: relative;
}

#external .latest h3 {
	font-size: 38px;
}

#external .latest a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 30px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#external .latest a strong,
#external .latest a span {
	display: block;
}

#external .latest a strong {
	font-weight: normal;
	font-size: 19px;
}

#external .latest a span {
	position: absolute;
	bottom: 30px;
	font-size: 17px;
	font-weight: bold;
}

#external #newsletter {
	margin: 60px 0 0 0;
	padding-bottom: 0;
}

footer {
    clear: both;
}

#footer-menus {
    background-color: #002e52;
    color: #fff;
    padding: 60px 0 30px 0;
}

#newsletter h4 {
	margin-bottom: 10px;
}

#footer-menus #links {
	padding-top: 60px;
}

#footer-menus .col33 {
    float: right;
    width: 19%;
    text-align: left;
}

#menu-social {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
}

#menu-social li {
	float: right;
	margin-right: 15px;
}

#footer-menus .col33 #menu-social {
	float: right;
}

#footer-menus .col33 #menu-social li {
    float: right;
    margin-left: 15px;
	margin-right: 0;
}

#menu-social li:last-of-type,
#footer-menus .col33 #menu-social li:last-of-type {
    margin-left: 0;
}

#footer-menus .rights,
#footer-menus .navigation-footer {
    float: left;
    font-size: 14px;
	padding-top: 12px;
}

#footer-menus .rights {
	font-weight: bold;
	font-size: 16px;
}

#footer-menus .navigation-footer {
	padding-top: 16px;
}

#footer-menus #menu-social,
#footer-menus #footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

#footer-menus a {
    color: #fff;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
    transition: 0.3s border ease;
}

#footer-menus a:hover {
    border-bottom-color: #fff;
}

#footer-menus #footer-menu li {
    float: left;
    margin-left: 25px;
}

#footer-menus #footer-menu li.current_page_item a {
	border-bottom-color: #fff;
}

.grecaptcha-badge {
	display: none !important;
	box-shadow: none !important;
}

.wpcf7 .col50 {
	width: 48%;
	margin-right: 4%;
}

.wpcf7 .col50:nth-of-type(odd) {
	float: right;
	margin-right: 0;
}

.wpcf7 label {
	font-size: 17px;
	padding-bottom: 10px;
}

.wpcf7 label span {
	color: red;
}

.wpcf7 input,
.wpcf7 textarea {
	max-width: 100%;
	padding: 5px;
	width: calc(100% - 12px);
	border: 1px solid #0071b1;
	margin-top: 5px;
	margin-bottom: 5px;
}

.wpcf7 input[type=checkbox] {
	width: auto;
	padding: 0;
}

span.wpcf7-list-item {
	margin: 0 20px 0 0;
}

span.wpcf7-acceptance span.wpcf7-list-item {
	margin: 0 5px 0 0;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: #002e52;
}

.wpcf7 p {
	clear: both;
}

.wpcf7 p.info {
	font-size: 17px;
	width: 66%;
}

#primary .wpcf7 p.submit {
	width: 100%;
	max-width: 100%;
}

.wpcf7 input[type=submit] {
	margin-top: -70px;
	width: auto;
	background: #75b93a;
	border: none;
	float: right;
	color: #fff;
	font-size: 15px;
	padding: 20px 40px;
	font-weight: bold;
	cursor: pointer;
}

form #partners {
	padding: 40px 0;
}

form .partners div {
	margin-top: 30px;
}

.labels label {
	width: 25%;
	display: block;
	float: left;
	margin-bottom: 10px;
}

form .partners {
	clear: both;
}

.wrapper h2,
#primary h3,
#primary h4,
#primary p,
#primary li {
	max-width: 85%;
}

#primary p.full {
	max-width: 100%;
}

.post-navigation {
	max-width: 85%;
	border-top: 1px solid #002e52;
	margin: 40px 0 0 0;
	padding: 40px 0 0 0;
}

.site-main::after,
.post-navigation::after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    font-size: 0;
    content: " ";
}

.nav-subtitle {
	display: block;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 10px;
	font-weight: bold;
	color: #002e52;
}

.nav-title-icon-wrapper {
	display: block;
	position: absolute;
}

.nav-previous .nav-title-icon-wrapper {
	left: -30px;
	top: 32px;
}

.nav-next .nav-title-icon-wrapper {
	right: -30px;
	top: 32px;
}

.nav-title-icon-wrapper svg {
	width: 20px;
	height: 20px;
	fill: #002e52;
}

.nav-previous,
.nav-next {
	width: 50%;
	float: left;
	position: relative;
}

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

#primary .post-navigation a {
	text-decoration: none;
	color: #75b93a;
	border-bottom: 1px solid transparent;
	transition: 0.3s border ease;
}

#primary .post-navigation a:hover {
	border-bottom-color: #75b93a;
}

article {
	padding-bottom: 40px;
}

article header {
	background: none;
	padding: 0;
}

#primary article header .entry-meta {
	line-height: 13px;
	margin-bottom: 10px;
}

#primary article header .entry-meta a {
	border-bottom: none;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 13px;
}

#primary article header h2.entry-title {
	line-height: 1.2;
	max-width: 85%;
}

#primary article header .entry-title a {
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: 0.3s border ease;
}

#primary article header .entry-title a:hover {
	border-bottom-color: #002e52;
}

.edit-link,
#primary article header a time.updated {
	display: none;
}

#primary article h2 {
	margin: 0;
}

.cc-cookies {
	text-align: center;
	font-size: 15px;
	padding: 10px;
	background: #b8b8bc;
}

.cc-cookies a {
	color: #0065a0;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: 0.3s border ease;
}

.cc-cookies a:hover {
	border-bottom-color: #0065a0;
}

a.cc-cookie-accept {
	font-size: 13px;
	background: #b93a3a;
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
	margin: 0 10px 0 5px;
	border: none;
}

a.cc-cookie-decline {
	font-size: 13px;
	background: #75b93a;
	color: #fff;
	text-decoration: none;
	padding: 5px 10px;
	margin: 0;
	border: none;
}

#founders {
	float: right;
}

#founders img {
	margin: -25px 0 0 10px;
}

#footer-menus #founders a {
	border: none;
}

@media (max-width: 1200px) {

    .wrap {
        max-width: calc(100% - 40px);
    }

}

@media (max-width: 768px) {

	.wrapper h2,
	#primary h3,
	#primary h4,
	#primary p,
	#primary li {
		max-width: 100%;
	}

    header .wrap {
        max-width: calc(100% - 40px);
    }

	#nav .logo {
		width: 100%;
		float: left;
		padding: 20px 0 0 20px;
	}

	#nav .logo img,
	header .logo img {
		height: 48px;
	}

	.col25,
	.col33,
	.col40,
	.col50,
	.col60,
	.col66,
	.col75,
	#footer-menus .col66,
	#footer-menus .col33,
	.col66er,
	.col30er {
		width: 100%;
		float: none;
	}

	.mr4 {
		margin-right: 0;
	}

	.wpcf7 .col50 {
		width: 100%;
		margin-right: 0;
	}

	.wpcf7 p.info {
		width: 100%;
	}

	.wpcf7 input[type=submit] {
		float: none;
		margin: 0;
	}

	header .col25,
	header .col75 {
		float: left;
	}

    header nav {
        display: none;
    }

    header .nav-icon {
        display: block;
        top: 38px;
    }

    #nav,
    #nav nav {
        display: none;
        height: 100%;
    }

    #nav.open,
    #nav.open .nav-icon,
    #nav.open nav {
        display: block;
		clear: both;
    }

    #nav .nav-icon {
        position: absolute;
        top: 36px;
        right: 20px;
		display: block;
    }

    #nav ul {
        margin: 0 0 0 20px;
        padding: 0;
        list-style: none;
    }

	#nav li {
		padding-bottom: 20px;
	}

	#nav ul ul {
		margin: 0;
	}

	#nav li li {
		padding: 10px 0 0 10px;
	}

	#nav ul li.menu-search {
		display: none;
	}

    #nav nav a {
        font-size: 25px;
    }

    #nav nav a:hover {
        color: #75b93a;
    }

    #nav nav li li a {
        font-size: 17px;
    }

    .nav-icon:hover span,
    .nav-icon.open:hover span {
        background: #75b93a;
    }

    .nav-icon.open span {
        background: #fff;
    }

    #nav nav li.menu-item-has-children:hover li.current-menu-item a,
    #nav nav .current-page-ancestor a,
    #nav nav .current-menu-item a,
    #nav nav a:hover {
        color: #75b93a;
    }

    #nav nav li li a {
        color: #fff !important;
    }

    #nav nav li li.current-menu-item a {
        color: #75b93a !important;
    }

	#nav ul a {
		border-bottom: 0;
	}

	.col60 img {
		max-width: 100%;
		height: auto;
	}

	.wrapper {
		max-width: calc(100% - 20px);
		padding: 20px 20px 0 20px;
	}

	.wrapper h1,
	#slider .title h1,
	h1 {
		font-size: 34px;
	}

	.wrapper h2,
	#partners h2,
	h2 {
		font-size: 28px;
		line-height: 32px;
	}

	#external .latest h3 {
		font-size: 25px;
	}

	#external .latest a strong {
		font-size: 17px;
	}

	h4 {
		font-size: 19px;
	}

	#slider .title h1 span.grad,
	#slider .title h1 span.back {
		padding: 20px 10px 11px 10px;
	}

	#main h1 {
		line-height: 40px;
	}

	#slider,
	.slides div {
		height: 550px;
	}

	.slides div {
		background-size: auto 460px;
	}

	#slider .title {
		top: 10px;
	}

	#panels .wrap {
		display: block;
	}

	#panels .wrap .feature {
		width: 100%;
		margin-bottom: 20px;
	}

	#panels .wrap .feature a {
		padding: 20px;
	}

	#panels .wrap .feature a strong {
		font-size: 28px;
	}

	#panels .wrap .feature a span {
		bottom: 20px;
	}

	#panels .wrap .feature a p {
		display: block;
	}

	#panels .wrap .feature {
		background-image: none !important;
	}

	#panels .wrap .feature.learn span {
		display: none;
	}

	#divider {
		padding: 20px;
	}

	#divider div.content {
		width: calc(100% - 40px);
		float: none;
		min-height: 460px;
		margin: 0;
		padding: 20px;
		font-size: 30px;
		line-height: 36px;
	}

	.partners div.narrow,
	.partners div {
		width: 50%;
	}

	#partners img {
		max-width: 90%;
	}

	#external {
		padding: 20px;
	}

	#external .wrap {
		max-width: 100%;
	}

	#external #tweets {
		display: block;
	}

	#external .twitter {
		margin-bottom: 20px;
	}

	#external .latest a {
		position: relative;
		min-height: 268px;
		padding: 20px;
	}

	#external #newsletter {
		margin: 20px 0 0 0;
	}

	#partners .wrap,
	#panels .wrap {
		max-width: 100%;
	}

	body.page-template-template-home #partners .wrap,
	body.page-template-template-home #panels .wrap  {
		max-width: calc(100% - 40px);
	}

	.labels label {
		width: 50%;
		font-size: 17px;
	}

	section#content {
		padding-bottom: 20px;
	}

	#features {
		display: block;
		margin: 20px 0;
	}

	.feature {
		margin-bottom: 20px;
	}

	#footer-menus {
		padding: 20px 0 0 0;
	}

	#footer-menus .rights,
	#footer-menus .navigation-footer {
		width: 100%;
		float: none;
	}

	#footer-menus #footer-menu li {
		float: none;
		margin-left: 0;
		margin-bottom: 5px;
	}

	#footer-menus .col33 #menu-social {
		float: left;
		margin: 20px 0;
	}

	#primary ul, ol, p, td {
		font-size: 17px;
		line-height: 1.3;
	}

	#founders {
		float: none;
		margin-bottom: -50px;
	}

	#founders img {
		margin: 0 10px 0 0;
	}

}

@media (max-width: 400px) {

	ul, ol, p, td {
		font-size: 17px;
		line-height: 1.3;
	}

}

@media (max-width: 320px) {

	#nav nav a {
		font-size: 17px;
	}

	#nav nav li li a {
		font-size: 15px;
	}

	#nav li {
		padding-bottom: 10px;
	}

	#nav li li {
		padding: 5px 0 0 5spx;
	}

	.wrapper h1, #slider .title h1, h1 {
		font-size: 30px;
	}

	#panels .wrap .feature a strong {
		font-size: 26px;
	}

	.wrapper h2, #partners h2, h2 {
		font-size: 24px;
		line-height: 28px;
	}

	#panels .wrap .feature a p {
		font-size: 15px;
	}

}
