/*
Theme Name: Melville-Knox
Theme URI: http://www.cloudtencreative.co.uk
Author: Cloud 10
Author URI: https://www.cloudtencreative.co.uk
Developers: Suzanne Lowery
Version: 1.0
*/

/* CSS RESET
---------------------------------------------------------------------------------- */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; height: 0; }
[hidden] { display: none; }
html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #222; -webkit-font-smoothing: antialiased; line-height: 1.4; }
body { margin: 0; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
dfn { font-style: italic; }
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
mark { background: #ff0; color: #000; }
code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; }
pre { white-space: pre-wrap; }
q { quotes: "\201C" "\201D" "\2018" "\2019"; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
legend { border: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; font-size: 100%; margin: 0; }
button, input { line-height: normal; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
button[disabled], html input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
input[type="submit"] { -webkit-transition: 0.2s; transition: 0.2s; }
input, textarea { -webkit-appearance: none; border-radius: 0; outline: none; }
select option[disabled] { display: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
table { border-collapse: collapse; border-spacing: 0; }
a { outline: 0; -webkit-transition: 0.3s; transistion: 0.3s; }
a:focus { outline: none; }



/* GLOBAL
---------------------------------------------------------------------------------- */

body { font-family: 'Lato', sans-serif; letter-spacing: 0.02em; background-color: #000139;}
body#tinymce {  padding: 3% !important; width: 94%; background: #fff !important;}
body#tinymce p { margin-bottom: 25px;}
body#tinymce ul { margin-left: 20px;} 
.clear { clear: both;}
.left, .alignleft { float: left;}
.right, .alignright { float: right;}
.alignleft { margin: 0 30px 30px 0;}
.alignright { margin: 0 0 30px 30px;}
.aligncenter { display: block; margin: 0 auto;}
p, li { margin: 0; padding: 0; font-size: 15px; line-height: 1.7em; color: #231F20; letter-spacing: 0.05em;}
ul { margin: 0; padding: 0;}
li { list-style: none;}
a, textarea, li { color: #25333A; outline: none;}
input { color: #554D4F; border: 1px solid transparent; outline: none; font-size: 15px;line-height: 18px;}
label { font-size: 15px;line-height: 18px;}
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-weight: 400; color: #231F20; font-family: 'Lato', sans-serif; line-height: 1.4em; letter-spacing: 0.05em;}
h1 { font-size: 24px;} 
h2 { font-size: 34px; font-weight: 900; margin-bottom: 20px}
h3 { font-size: 19px;}
h4 { font-size: 16px;}
h5 { font-size: 16px;font-family: Georgia, "Times New Roman", Times, serif; font-style: italic;}
h6 { font-size: 14px;}
strong { font-family: 'Lato', sans-serif; font-weight: 800;}
strong.caps { text-transform: capitalize;}
em { font-style: italic; }
blockquote { font-weight: normal; font-size: 1em; line-height: 1.4; color: #000; width: 100%; padding: 0 0 0 90px; }
::-moz-selection { background-color: #A3D4F9; color: #fff; }
::selection { background-color: #A3D4F9; color: #fff; }
table tr td { padding: 10px;}

.cloudten_cookies { border-radius: 6px; background-color: rgba(43,43,43,0.9); text-align: center; position: fixed; bottom: 20px; left: 20px; width: 180px; padding: 20px; z-index: 9999;}
.cloudten_cookies span { color: #fff; font-size: 16px; font-weight: 700;}
.cloudten_cookies p { color: #fff; font-size: 13px; line-height: 1.4em; margin: 10px 0; font-weight: 300;}
.cloudten_cookies img { width: 12px;}
.cloudten_cookies a { background-color: #DCBB26; padding: 6px 13px; display: inline-block; color: #25333A; font-size: 12px; font-weight: 700;}
.cloudten_cookies a:hover { background-color: #C8AA22;}


/* General Styles */
.site_wrap { transition: 0.5s; background-color: #fff; }
.site_wrap.slide { -webkit-transform: translateX(-240px); transform: translateX(-240px);}
.band { float: left; width: 100%;}
.wrapper { width: 95%; max-width: 1300px; margin: 0 auto;}
.overlay:after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background-color: rgba(0,1,57,0.35);}
.overlay .wrapper { position: relative; z-index: 2;}
img.bg { position: absolute; left: 0; top: 0; width: 100%; height: auto; z-index: 0; transition: 0.3s; -webkit-transition: 0.3s;}


/* Wordpress Styles */
.wp-caption { border: 1px solid #dedede; text-align: center; padding: 10px; margin: 0 0 20px; overflow: hidden; }
.wp-caption a { border: none; }
.wp-caption img { margin: 0 0 10px 0; padding: 0; border: 0 none; display: block; width: 100%; height: auto; -webkit-transition: 0.2s; transition: 0.2s; }
.wp-caption a:hover img { opacity: 0.9; }
.wp-caption p.wp-caption-text { font-size: 12px; margin: 0; padding: 0; }
.alignleft, img.alignleft { float: left; margin: 0 30px 20px 0; }
.alignright, img.alignright { float: right; margin: 0 0 20px 30px; }
.aligncenter, img.aligncenter { display: block; margin: 0 auto 20px; }
.wp-block-spacer { display: inline-block; width: 100%;}


/* Clearfix */
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }


/* Buttons */
.buttons { font-size: 0; margin-top: 30px; float: left; width: 100%;}
.buttons .cta { margin: 0 10px 10px 0;}
a { -webkit-transition: 0.3s; transition: 0.3s; text-decoration: none;}
.cta,
.band div.wpforms-container-full .wpforms-form button[type=submit], 
body .wp-block-button__link, 
body .wp-block-file .wp-block-file__button { display: inline-block; text-decoration: none; padding: 14px 25px; background-color: #000139; color: #fff; text-transform: uppercase; font-size: 13px; letter-spacing: 2px; background-repeat: no-repeat; border-radius: 0;}
.cta:hover, body .wp-block-button__link:hover { background-color: #002A63;}
.cta.yellow { background-color: #DCBB26; color: #000139;}
.cta.yellow:hover { background-color: #C8AA22;}
.cta.blue, .band div.wpforms-container-full .wpforms-form button[type=submit] { background-color: #0053A5;}
.cta.blue:hover, .band div.wpforms-container-full .wpforms-form button[type=submit]:hover { background-color: #00438B;}
.cta.ghost { border: 1px solid; color: #000139; background: none; padding: 13px 24px;}
.cta.ghost:hover { background-color: #000139; color: #fff;}
.cta.ghost_white { background-color: transparent; border: 1px solid; padding: 13px 24px;}
.cta.ghost_white:hover { background-color: #fff; color: #000139;}
.cta.find { background-image: url(images/icon-pin.png); background-size: 16px; background-position: 23px 15px; padding-left: 50px;}

/* Social icons */
.social { display: inline-block; vertical-align: middle; font-size: 0;}
.social a { display: inline-block; width: 18px; height: 20px; vertical-align: middle; margin-left: 14px;}
.social a.facebook { background: url(images/icon-facebook.png) no-repeat 0 0; background-size: 8px; width: 8px;}
.social a.twitter { background: url(images/icon-twitter.png) no-repeat 0 0; background-size: 20px; height: 16px; width: 20px;}
.social a.instagram { background: url(images/icon-instagram.png) no-repeat 0 0; background-size: 18px;}
.social a:hover { opacity: 0.8;}

.email, .tel { letter-spacing: 1px;}
.email { background: url(images/icon-email.png) no-repeat left center; background-size: 17px; padding-left: 27px;}
.tel { background: url(images/icon-tel.png) no-repeat left center; background-size: 15px; padding-left: 24px;}


/* HEADER & HERO
---------------------------------------------------------------------------------- */

.top_bar { float: left; width: 100%; background-color: #0053A5; padding: 10px 0;}
.top_bar .left { margin-top: 10px;}
.top_bar .cta { font-size: 12px;}
.top_bar .email, .top_bar .tel { color: #fff; text-decoration: none; font-size: 14px; display: inline-block; vertical-align: middle; margin-left: 18px;}
.top_bar .tel { border-right: 1px solid #fff; padding-right: 18px; margin-left: 26px;}
.top_bar .tel.noemail { border-right: none; padding-right: 0;}
.top_bar .email:hover, .top_bar .tel:hover { opacity: 0.8;}

.hero { float: left; width: 100%; height: 550px; overflow: hidden; position: relative;}
.home .hero { height: 700px;}
.hero .wrapper { height: 100%;}
.hero img.bg { opacity: 0; transition: opacity 1.0s ease-in-out; -webkit-transition: opacity 1.0s ease-in-out;}
.hero img.loaded { opacity: 1;}
header { float: left; width: 100%; margin-top: 15px; position: relative; z-index: 1;}
header h1, header h2 { float: left; width: 225px;}
header h1 a, header h2 a { display: block; width: 100%; margin: 0;}
header img { width: 100%;}
header ul { float: right; font-size: 0; margin-top: 25px;}
header ul li { display: inline-block; margin-left: 29px; text-transform: uppercase; font-size: 14px; letter-spacing: 2.5px; position: relative;}
header ul li a { color: #fff; text-decoration: none; padding-bottom: 40px;}
header ul li a:after { content: ""; width: 0; height: 2px; background-color: #DCBB26; position: absolute; left: 0; bottom: -2px; transition: 0.3s; -webkit-transition: 0.3s;}
header ul li.current-menu-item a:after, header ul li a:hover:after, header ul li.current_page_ancestor a:after, .category header ul li.menu-item-39 a:after, .date header ul li.menu-item-39 a:after, .single-post header ul li.menu-item-39 a:after { width: 25px;}

header .sub-menu { display: none; position: absolute; margin: 0; left: 0; top: 40px; width: 250px;}
header .sub-menu li { margin: 0; float: left; width: 100%;}
header .sub-menu li a { background-color: rgba(255,255,255,0.8); float: left; width: 100%; color: #000139; padding: 12px 15px; border-bottom: 1px solid #dedede; font-size: 13px; line-height: 1.5em; box-sizing: border-box;}
header .sub-menu li a:hover, header .sub-menu li.current-menu-item > a { background-color: #DCBB26;}
header ul li.menu-item-has-children:hover > .sub-menu { display: block;}
header .sub-menu li a:after { display: none;}
header .sub-menu li .sub-menu { position: absolute; top: 0; left: 100%;}

.menu_toggle { display: none; float: right; margin-top: 40px;}
.menu_toggle h3 { background: url(images/icon-menu.png) no-repeat top right; background-size: 28px; color: #fff; text-transform: uppercase; font-size: 14px; height: 22px; padding-right: 45px; line-height: 1.5em; cursor: pointer;}
.menu_toggle.active h3 { background-position: top -22px right 0; padding-right: 41px;}	

nav { position: fixed; top: 0; right: 0; opacity: 0; -webkit-transform: translateX(40px); transform: translateX(40px); transition: 0.5s; display: none; width: 240px;}
.logged-in nav { top: 32px;}
nav ul { margin-top: 18px; }
nav ul li { font-weight: 400;}
nav ul li a { font-size: 14px; position: relative; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; color: #fff; padding: 11px 35px; display: block; }
nav ul li a:after { content: ""; height: 2px; width: 0; background-color: #DCBB26; position: absolute; bottom: 6px; left: 35px; transition: 0.2s; }
nav ul li a:hover:after,
nav ul li.current-menu-item a:after { width: 25px; }
nav.show { opacity: 1; -webkit-transform: translateX(0); transform: translateX(0); display: block;}

.hero .featured_text { position: absolute; left: 0; bottom: 50px; width: 700px; z-index: 0;}
.hero .featured_text h1 { color: #fff; font-weight: 900; font-size: 44px; line-height: 1.2em; margin-bottom: 13px;}
.hero .featured_text h5 { color: #fff; font-size: 21px;}
.hero .cta { position: absolute; bottom: 0; right: 0; z-index: 2;}
.hero .cta:hover { padding-bottom: 23px;}


/* STANDARD	
---------------------------------------------------------------------------------- */

.landing { text-align: center;}

.find_a_school { float: left; width: 100%; overflow: hidden; text-align: center; padding: 90px 0; position: relative;}
.find_a_school.overlay:after { background-color: rgba(0,1,57,0.7);}
.find_a_school .icon { width: 42px; margin-bottom: 20px;}
.find_a_school h5 { color: #fff; margin-bottom: 9px;}
.find_a_school h3 { color: #fff; font-weight: 900; font-size: 33px; margin-bottom: 30px;}


/* FEATURES
---------------------------------------------------------------------------------- */

.features { background-color: #F1F2F2; text-align: center; padding: 80px 0; font-size: 0;}
.features .feature { display: inline-block; vertical-align: top; width: 33%; padding: 0 30px; box-sizing: border-box;}
.features .feature img { width: 35px; margin-bottom: 17px;}
.features .feature h3 { font-size: 20px; font-weight: 900; margin-bottom: 15px;}
.features .feature p {}


/* CONTENT BOX
---------------------------------------------------------------------------------- */

.content_boxes { height: 690px;}
.content_boxes .left, .content_boxes .right { width: 50%; height: 100%; position: relative;}
.content_boxes .right { overflow: hidden;}
.content_boxes:nth-child(odd) .left { float: right;}
.content_boxes .left .inner { position: absolute; top: 50%; -webkit-transform: translatey(-50%); transform: translatey(-50%); padding: 0 70px;}
.content_boxes h5 { margin-bottom: 5px;}
.content_boxes p { white-space: pre-line;}


/* STANDARD CONTENT
---------------------------------------------------------------------------------- */

.content { padding: 90px 0;}
.main { width: 80%; margin: 0 auto;}
.main h2 { font-size: 34px; font-weight: 800; text-align: center; margin-bottom: 30px; position: relative; padding-bottom: 18px;}
.main h2:after { content: ""; background-color: #DCBB26; position: absolute; left: 0; right: 0; width: 80px; height: 3px; margin: 0 auto; bottom: 0;}
.main h3 { color: #0053A5; font-size: 21px; margin-bottom: 15px; font-weight: 600;}
.main h4 { color: #0053A5; font-weight: 900; margin: 0 0 13px;}
.main h6 { text-align: center; margin-bottom: 33px; font-size: 16px; font-family: 'georgia'; font-style: italic;}
.main ul, ol { padding-left: 20px; margin-bottom: 30px;}
.main ul li, .main ol li { list-style: disc; margin: 0 0 10px;}
.main p { margin-bottom: 30px; line-height: 1.8em; white-space: pre-line;}
.main p:last-child { margin-bottom: 0;}
.main p a { color: #0053A5; border-bottom: 1px dashed;}
.main p a:hover { border-bottom: 1px solid;}
.main .buttons { text-align: center;}
.main .images { float: left; width: 100%; margin-top: 100px;}
.main .images div { overflow: hidden; position: relative; width: calc(50% - 15px);}
.main .images .image_1 { float: left; height: 420px;}
.main .images .image_2 { position: relative; float: right; height: 195px;}
.main .images .image_3 { position: relative; float: right; height: 195px; margin-top: 30px;}


/* NEWS
---------------------------------------------------------------------------------- */

.news_feed { text-align: center; padding: 90px 0;}
.news_feed .posts, .boxes { float: left; width: 100%; font-size: 0; margin: 60px 0 65px;}
.news_feed .post, .boxes .box { position: relative; display: inline-block; width: calc(33% - 20px); vertical-align: middle; height: 415px; overflow: hidden; margin: 10px;}
.news_feed .post:after, .boxes .box:after { background: -moz-linear-gradient(top, rgba(0,1,57,0) 36%, rgba(0,1,57,0.7) 100%); background: -webkit-linear-gradient(top, rgba(0,1,57,0) 36%,rgba(0,1,57,0.7) 100%); background: linear-gradient(to bottom, rgba(0,1,57,0) 36%,rgba(0,1,57,0.7) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000139', endColorstr='#b3000139',GradientType=0 );}
.news_feed .post img, .boxes .box img { transition: 2s; -webkit-transition: 2s;}
.news_feed .post .text, .boxes .box .text { position: absolute; z-index: 2; bottom: 0; padding: 30px 40px; box-sizing: border-box; width: 100%;}
.news_feed .post h3, .boxes .box h3 { color: #fff; margin-bottom: 13px; font-size: 21px;}
.news_feed .post h4 { background-color: #DCBB26; display: inline-block; padding: 8px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;}
.news_feed .post h6 { font-size: 11px; color: #fff; text-transform: uppercase; letter-spacing: 1px; background: url(images/icon-clock-white.png) no-repeat 0 2px; display: inline-block; background-size: 13px; padding-left: 20px;}
.news_feed .post:hover img, .boxes .box:hover img { -webkit-transform: scale(1.1); transform: scale(1.1);}

.news_page .posts { margin: 0;}
.boxes { margin-bottom: 0;}

.wp-pagenavi { text-align: center; float: left; width: 100%; margin-top: 50px;}
.news_page .wp-pagenavi a, .news_page .wp-pagenavi span { color: #284371; padding: 4px 8px; margin: 0 6px; display: inline-block; width: 35px; box-sizing: border-box; font-size: 15px;     font-weight: 900; border: none;}
.news_page .wp-pagenavi .pages, .news_page .wp-pagenavi .last { display: none;}
.wp-pagenavi span.current { border: 2px solid #284371;}

.refine { float: left; width: 100%; padding-bottom: 50px; font-size: 0; text-align: center; position:  relative; z-index:  3;}
.field { display: inline-block; vertical-align: middle; margin: 10px; position: relative; border: 2px solid #000139; font-size: 13px; line-height: 1em; width: 300px; box-sizing: border-box; text-align: left; cursor: pointer; height: 51px; text-transform: uppercase; color: #000139; font-weight: 600; letter-spacing: 2px;}
.field .styled_dropdown .text .arrow { background:url(images/icon-select.png) no-repeat 0 0; background-size: 15px; width: 15px; position: absolute; right: 20px; top: 21px; height: 7px;}
.field .styled_dropdown .text { padding: 18px 20px; box-sizing: border-box;}
.field .styled_dropdown ul { position: absolute; left: -2px; width: 100%; z-index:1; display: none; top: 47px; margin: 0; border: 2px solid #000139;}
.field .styled_dropdown ul li { border-bottom: 1px solid #ABBBC6; margin: 0; background: #fff; float: left; width: 100%}
.field .styled_dropdown ul li:hover { background-color:#0054a4; color:#fff;}
.field .styled_dropdown ul li a,.contact_form .field .styled_dropdown ul li { color: #1A3254; transition: none; -webkit-transition: none; padding: 14px 20px; float: left; width: 100%; box-sizing: border-box; font-size: 13px; font-weight: 500;}
.field .styled_dropdown ul li:hover a,.contact_form .field .styled_dropdown ul li:hover { color:#fff;}

.related { padding: 50px 0; border-top: 1px solid #dedede;}
.related h2 { margin-bottom: 50px;}

.blog_head { float: left; width: 100%;}
.blog_head .sharing { float: left; width: 100%; margin: 0 0 35px; font-size: 0; text-align: center; padding: 0;}
.blog_head .sharing li { display: inline-block; vertical-align: middle; margin: 0 4px; cursor: pointer; transition: 0.3s; -webkit-transition: 0.3s;}
.blog_head .sharing li:hover { opacity: 0.8;}
.blog_head .sharing li a { background: url(images/icons-social.png) no-repeat 0 0; display: block; width: 30px; height: 30px; background-size: 120px; border: none;}
.blog_head .sharing li.twitter a { background-position: -30px;}
.blog_head .sharing li.pinterest a { background-position: -60px;}
.blog_head .sharing li.email_share a { background-position: -90px;}


/* DIRECTORY
---------------------------------------------------------------------------------- */

.directory { text-align: center;}
.school_list { float: left; width: 100%; margin-top: 50px; text-align: left;}
.school_list .row { float: left; width: 100%; border-bottom: 1px solid #dedede; box-sizing: border-box; padding: 35px 30px; position: relative;}
.school_list .row:first-child { border-top: 1px solid #dedede;}
.school_list .row:nth-child(odd) { background-color: #F1F2F2;}
.school_list .row .text { float: left; width: calc(100% - 200px);}
.school_list .row .button { position: absolute; right: 30px; top: 50%; -webkit-transform: translatey(-50%); transform: translatey(-50%);}
.school_list h3 { font-size: 21px; font-weight: 800; margin-bottom: 4px;}
.school_list p { font-weight: 300;}
.school_list p span { background: url(images/icon-pin-small.png) no-repeat 0 2px; background-size: 13px; padding-left: 21px; margin-right: 20px;}
.school_list p a { background: url(images/icon-tel-small.png) no-repeat 0 3px; background-size: 13px; padding-left: 21px;}
.school_list p a:hover { color: #0053A5;}
.map_container { height: 650px;}
#map { height: 100%;}
.infoMap h4 { font-size: 15px; font-weight: 800;}
.infoMap p { font-size: 14px;}


/* CALENDAR PAGE
---------------------------------------------------------------------------------- */

.simcal-default-calendar-grid .simcal-present>div { border: 1px solid #DCBB26 !important;}
.simcal-default-calendar-grid .simcal-day-has-events .simcal-day-number { background-color: #0053A5 !important;}
.simcal-default-calendar-grid .simcal-present .simcal-day-number { background-color: #DCBB26 !important;}
.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-event { font-size: 13px; line-height: 16px;}
.simcal-default-calendar-grid .simcal-calendar-head .simcal-nav { padding: 10px 0 30px !important;}
.main .simcal-calendar ul li { background: none;}

.mobile_cal { display: none;}
.simcal-default-calendar-list .simcal-calendar-head { background: none;}
.simcal-default-calendar-list dt.simcal-day-label>span { background: #0053A5 !important; font-family: 'Lato', sans-serif;}
.simcal-default-calendar-list ul.simcal-events { margin: 0 !important;}
.simcal-default-calendar-list ul.simcal-events li.simcal-event { margin: 0; padding: 0;}
.simcal-default-calendar-list .simcal-event-details h4 { margin: 10px 0 0;}


/* CONTACT PAGE
---------------------------------------------------------------------------------- */

.page-template-template_contact .main { text-align: center;}
form.contact { float: left; width: 100%; margin-top: 20px;}
form.contact .field { float: left; width: calc(50% - 10px); margin: 15px 20px 15px 0; position: relative; text-align: left; border: none;}
form.contact .field:nth-child(2n) { margin-right: 0;}
form.contact .field.full { width: 100%; margin: 15px 0 0; height: 150px;}
form.contact .field .text { float: left; width: 100%; border: 1px solid #000139; background: none; font-size: 13px; line-height: 18px; letter-spacing: 2px; padding: 15px 17px; box-sizing: border-box; color: #000139; font-weight: 500; text-transform: none;}
form.contact .field textarea { height: 100%;}
form.contact .field .text.ErrorField { border-color: #B22026; color: #B22026;}
form.contact .field .text:focus { border-color: #0e253a;}
form.contact .field .styled_dropdown { position: relative; cursor: pointer;}
form.contact .field .styled_dropdown .text { overflow: hidden; position: relative; z-index: 0;}
form.contact .field .styled_dropdown .text .arrow { background: url(images/icon-select.png) no-repeat 0 0; background-size: 16px; width: 16px; position: absolute; right: 15px; top: 20px; height: 14px; }
form.contact .field .styled_dropdown ul { position: absolute; left: 0; top: 47px; background: #fff; border: 1px solid #000139; width: calc(100% - 2px); z-index: 1; padding: 0; display: none;}
form.contact .field .styled_dropdown ul li { padding: 10px 15px; border-bottom: 1px solid #dedede; font-size: 13px; margin: 0; background: none; letter-spacing: 2px; box-sizing: border-box; font-weight: 500; list-style: none; color: #000139; text-transform: none;}
form.contact .field .styled_dropdown ul li:hover { background: #efefef; color: #000139;}
form.contact input[type=submit] { display: block; margin: 0 auto; }
form.contact .field span.error, form.contact label { position: absolute; left: 0; bottom: -4px; font-size: 11px; color: #1B6384; opacity: 0; transition: 0.2s;}
form.contact label { color: #1a3044;}
form.contact .field input.error ~ span,
form.contact .field textarea.error ~ span,
form.contact .field select.error ~ span,
form.contact .field input:focus ~ label,
form.contact .field textarea:focus ~ label { bottom: -21px; opacity: 1; }
form.contact .g-recaptcha { display: inline-block; margin: 20px 0;}

.band div.wpforms-container-full { float: left; width: 100%; margin-top: 20px; text-align: center;}
.band div.wpforms-container-full .wpforms-form .wpforms-field { clear: none; float: left; width: 50%; text-align: left; padding: 15px 0;}
.band div.wpforms-container-full .wpforms-form .wpforms-field input[type=text],
.band div.wpforms-container-full .wpforms-form .wpforms-field input[type=number],
.band div.wpforms-container-full .wpforms-form .wpforms-field input[type=email],
.band div.wpforms-container-full .wpforms-form .wpforms-field select { width: 93%; max-width: none;}
.band div.wpforms-container-full .wpforms-form .wpforms-field-textarea { width: 100%;}
.band div.wpforms-container-full .wpforms-form .wpforms-field-label { font-weight: 300; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; margin-bottom: 6px;}
.band div.wpforms-container-full .g-recaptcha { display: inline-block; vertical-align: middle;}
.band div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium { width: 97%;}

.contact_details { background-color: #F1F2F2;}
.contact_details h4 { font-weight: 700; margin: 10px 0 15px; display: inline-block;}
.contact_details p { margin-bottom: 20px;}
.contact_details p a { background: none; padding: 0;}
.contact_details .social a.facebook { background-image: url(images/icon-facebook-grey.png);}
.contact_details .social a.twitter { background-image: url(images/icon-twitter-grey.png);}
.contact_details .social a.instagram { background-image: url(images/icon-instagram-grey.png);}

.main .mailchimp { display: block; margin: 20px auto; width: 500px;}
.main .mailchimp label { width: 100%; float: left; margin-bottom: 4px; text-transform: uppercase; font-size: 12px;}
.main .mailchimp input { border: 1px solid #dedede; padding: 10px 20px; box-sizing: border-box; width: 100%; margin-bottom: 15px;}


/* FOOTER
---------------------------------------------------------------------------------- */

.twitter_feed { float: left; width: 100%; background-color: #DCBB26; padding: 35px 0;text-align: center;}
.twitter_feed p { font-size: 14px; font-style: italic; background: url(images/icon-twitter_feed.png) no-repeat 0 0; background-size: 36px; display: inline-block; font-family: Georgia, "Times New Roman", Times, serif; padding: 3px 0 3px 54px; letter-spacing: 1px; width: 85%;}
.twitter_feed p a { text-decoration: none; position: relative; padding-bottom: 3px; border-bottom: 1px dashed;}
.twitter_feed p a:after { content: ""; position: absolute; bottom: 0; left: 0; height: 1px; width: 0; background-color: #E9C21E; transition: 0.2s; -webkit-transition: 0.2s;}
.twitter_feed p a:hover:after { width: 20px;}
.twitter_feed p span.time { display: block; text-transform: uppercase; font-size: 10px; font-style: normal; font-family: 'Lato', sans-serif; letter-spacing: 1px; margin-top: 7px;}
.twitter_slider { position: relative;}
.twitter_slider  ul.slides {}
.twitter_slider  ul.slides li {}
.twitter_feed .flex-direction-nav { position: absolute; width: 100%; top: 9px; }
.twitter_feed .flex-direction-nav li {}
.twitter_feed .flex-direction-nav li a { background: url(images/icon-twitter_nav.png) no-repeat 0 0; background-size: 34px; width: 17px; height: 39px; position: absolute; text-indent: -999px; overflow: hidden;}
.twitter_feed .flex-direction-nav li a.flex-next { right: 0; background-position: -17px 0;}
.twitter_feed .flex-direction-nav li a.flex-next:hover { right: -3px;}
.twitter_feed .flex-direction-nav li a.flex-prev { left: 0;}
.twitter_feed .flex-direction-nav li a.flex-prev:hover { left: -3px;}
.flex-disabled { display: none;}

footer { float: left; width: 100%; overflow: hidden; position: relative;}
footer.overlay:after { background-color: rgba(0,1,57,0.8);}
footer .top { float: left; width: 100%; padding: 60px 0;}
footer .col { float: left; width: 33%;}
footer .col2 { padding: 0 50px; box-sizing: border-box;}
footer .col h3 { color: #DCBB26; text-transform: uppercase; font-size: 13px; letter-spacing: 2px; font-weight: 700; margin-bottom: 10px;}
footer a, footer p { color: #fff; text-decoration: none;}
footer a:hover { color: #DCBB26;}
footer ul { float: left; width: 100%;}
footer ul li { float: left; width: 50%; padding-right: 20px; box-sizing: border-box; font-size: 14px; margin-bottom: 2px;}
footer .social { margin-top: 13px; width: 100%; margin-bottom: 15px;}
footer .social a { margin: 0 14px 0 0;}
footer .tel, footer .email { float: left; width: 100%; box-sizing: border-box; margin-bottom: 6px; font-size: 14px;}
footer .col3 p { font-size: 14px; margin-bottom: 20px;}
footer form { float: left; width: 100%; position: relative;}
footer form input[type=text], footer form input[type=email] { border: none; background: rgba(255,255,255,0.3); padding: 17px 75px 17px 20px; width: 100%; box-sizing: border-box; color: #fff; letter-spacing: 1px; font-size: 14px;}
footer form input[type=submit] { background: url(images/icon-submit.png) no-repeat center center #DCBB26; background-size: 9px; position: absolute; right: 0; top: 0; width: 56px; height: 100%;}
footer .bottom { float: left; width: 100%; border-top: 1px solid #DCBB26; padding: 17px 0;}
footer .bottom p { color: #fff; font-size: 12px; letter-spacing: 1px;}
footer .bottom p span { margin: 0 7px;}