
/* 1. Style Overrides
================================================== */

body { rgb(255,254,248);
}
a, a i {
	transition: all 0.2s cubic-bezier(.85,.19,.34,1.5);
	}
	
/*.slicknav_nav ul li.page-item-757 a, .menu ul li.page-item-757 a {
		display: none;
	}*/

/* Max width */

.headwrapper, .site-header, .wrapper, .footerWrapper, .overlay-wrapper{
    max-width: 1000px;
}
.overlay-wrapper{ margin: 0 auto; position:relative;}
/* Page - Content */
.wrapper {
    padding-top: 30px;
    margin-top: 20px;
    font-size: 110%;
    min-height: 500px;
}

h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited {
    text-decoration: none;
}

hr {
    border: 0 rgb(80,80,80) solid ;
    border-top-width: 1px;
    clear: both;
    height:0;
    margin: 14px 0 28px;
    box-shadow: 0 0 1px rgb(0,0,0);
}

.gm-style .gm-style-iw{
 color: rgb(60, 60, 60);
 }
 
 /*************** SCROLLBAR BASE CSS ***************/
 
.scroll-wrapper {
    overflow: hidden !important;
    padding: 0 !important;
    position: relative;
    padding-left: 3px !important;
}
 
.scroll-wrapper > .scroll-content {
    border: none !important;
    box-sizing: content-box !important;
    height: auto;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none !important;
    overflow: scroll !important;
    padding: 0;
    position: relative !important;
    top: 0;
    width: auto !important;
}
 
.scroll-wrapper > .scroll-content::-webkit-scrollbar {
    height: 0;
    width: 0;
}
 
.scroll-element {
    display: none;
}
.scroll-element, .scroll-element div {
    box-sizing: content-box;
}
 
.scroll-element.scroll-x.scroll-scrollx_visible,
.scroll-element.scroll-y.scroll-scrolly_visible {
    display: block;
}
 
.scroll-element .scroll-bar,
.scroll-element .scroll-arrow {
    cursor: default;
}
 
.scroll-textarea {
    border: 1px solid #cccccc;
    border-top-color: #999999;
}
.scroll-textarea > .scroll-content {
    overflow: hidden !important;
}
.scroll-textarea > .scroll-content > textarea {
    border: none !important;
    box-sizing: border-box;
    height: 100% !important;
    margin: 0;
    max-height: none !important;
    max-width: none !important;
    overflow: scroll !important;
    outline: none;
    padding: 2px;
    position: relative !important;
    top: 0;
    width: 100% !important;
}
.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {
    height: 0;
    width: 0;
}
 
 
 
 
/*************** SIMPLE OUTER SCROLLBAR ***************/
 
.scrollbar-outer > .scroll-element,
.scrollbar-outer > .scroll-element div
{
    border: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 10;
}
 
.scrollbar-outer > .scroll-element {
    background-color: #ffffff;
}
 
.scrollbar-outer > .scroll-element div {
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}
 
.scrollbar-outer > .scroll-element.scroll-x {
    bottom: 0;
    height: 12px;
    left: 0;
    width: 100%;
}
 
.scrollbar-outer > .scroll-element.scroll-y {
    height: 100%;
    right: 0;
    top: 0;
    width: 12px;
}
 
.scrollbar-outer > .scroll-element.scroll-x .scroll-element_outer { height: 8px; top: 2px; }
.scrollbar-outer > .scroll-element.scroll-y .scroll-element_outer { left: 2px; width: 8px; }
 
.scrollbar-outer > .scroll-element .scroll-element_outer { overflow: hidden; }
.scrollbar-outer > .scroll-element .scroll-element_track { background-color: #eeeeee; }
 
.scrollbar-outer > .scroll-element .scroll-element_outer,
.scrollbar-outer > .scroll-element .scroll-element_track,
.scrollbar-outer > .scroll-element .scroll-bar {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
 
.scrollbar-outer > .scroll-element .scroll-bar { background-color: #d9d9d9; }
.scrollbar-outer > .scroll-element .scroll-bar:hover { background-color: #c2c2c2; }
.scrollbar-outer > .scroll-element.scroll-draggable .scroll-bar { background-color: #919191; }
 
 
/* scrollbar height/width & offset from container borders */
 
.scrollbar-outer > .scroll-content.scroll-scrolly_visible { left: -12px; margin-left: 12px; }
.scrollbar-outer > .scroll-content.scroll-scrollx_visible { top:  -12px; margin-top:  12px; }
 
.scrollbar-outer > .scroll-element.scroll-x .scroll-bar { min-width: 10px; }
.scrollbar-outer > .scroll-element.scroll-y .scroll-bar { min-height: 10px; }
 
 
/* update scrollbar offset if both scrolls are visible */
 
.scrollbar-outer > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -14px; }
.scrollbar-outer > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -14px; }
 
.scrollbar-outer > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -14px; }
.scrollbar-outer > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -14px; }

/* 2. Header Section
================================================== */

.head { background-color: rgba(255,254,248,0.95); position: fixed; z-index: 40; width: 100%; border-bottom: solid 1px rgb(166,214,174);  }

.headwrapper, .site-header {
    margin: 0 auto;
    height: 80px;
	padding: 12px 20px;

}
.mast-bg {
	width: 100%;
}
.site-header {
	margin-top: 80px;
	height: 126px;
}
.pos {
    top: 0;
}

.logo-place {position:relative;}
p.site-title { margin-bottom: 0px;}
p.site-title a { text-decoration: none; background: url(../g/cas-logo.png) no-repeat; width:189px; height:98px; display:block;}
div.site-description {white-space: nowrap; position:absolute; right:0px; top: 34%; font-size:103%; font-family: 'open_sansbold'; color: rgb(87,72,106); letter-spacing: -0.040em;}

/* Search */

.search-form input.search-input {
    background-color: rgba(241, 241, 241, 0.18);
    color: rgb(255, 255, 255);
    margin: 0 0 0 0;
    padding: 10px;
    vertical-align: 14px;
    width: 100%;
    border: 0;
}
.search-form input.search-btn {
    border: 0 none;
    margin: -4px 0 0 -45px;
    vertical-align: top;
    background-color: transparent;
}


/* 3. Navigation
================================================== */

/* Primary Navigation */

.topnav ul, .footer #secondary ul { float: right; list-style: none; margin: 6px 30px 0 0; padding: 28px 0 0 0; text-transform: uppercase;
}
.footer #secondary ul { margin: 0; padding: 0; }
.topnav li, #secordary-menu li {
    display: inline;
}
.topnav li a, #secordary-menu li a { font-family: 'open_sansbold'; margin: 0 14px; text-decoration: none; letter-spacing: 0.140em; font-size: 85%; font-weight: bold; padding-bottom:4px;}
#secordary-menu li a {font-size: 95%}
.main-navigation {
    position: relative;
}
span#search {
    position: absolute;
    color: rgb(87,72,106);
    top: 25px;
    right: 0;
    font-weight: bold;
    z-index: 500;
    background-color: transparent;
    padding: 9px 0 10px 10px;
    cursor: pointer;
}
span#search:hover {
	color: rgb(166,214,174);
}
li.page-item-223 {
	display: none;
}

/* Fixed Nav offset for Named Anchor */

:target:before {
content:"";
display:block;
height:100px; /* fixed header height*/
margin:-100px 0 0; /* negative fixed header height */
}


/* slickNav */

.slicknav_nav .children {
	padding-left: 6px;
}
.slicknav_nav a {
	font-family: 'open_sansbold';
	text-transform: uppercase;
}

/* Search Overlay */
#overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
    max-height: 82px;
    z-index: 500;
}
#overlay #close {
    position: absolute;
    top: 15px;
    right: 27px;
    font-weight: bold;
    color: #e3e5e8;
    cursor: pointer;
    padding: 12px;
    border-radius: 3px;
}
#overlay .search-field {
    padding: 12px;
    border: 0;
    margin: 10px 20px;
    width: 70.6%;
    font-size: 110%;
}
#overlay .search-submit {
    padding: 16px 15px;
    border: 0;
    margin: 15px 10px;
    width: 15%;
    text-align: center;
    font-size: 100%;
    text-transform: uppercase;
    letter-spacing: 0.110em;
}

/* Sub Navigation */
.span_4 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.span_4 aside.widget-area {
   margin-top: 0.8em;
}
/* Sub Nav Links */
li.page_item.page-item-61,  li.page_item.page-item-981{
    display: none;
}
.span_4 ul li a {
    display: block;
    margin: 0;
    padding: 8px 0 8px 0;
    text-decoration: none;
    font-size: 84%;
    text-transform: uppercase;
    font-family: 'open_sansbold';
    letter-spacing: 0.060em;
}

.span_4 ul li li a {
    margin: 0;
    padding: 6px 0 6px 0;
    font-size: 72%;
    margin-left: 12px;
}
.span_4 ul li li li a {
    margin: 0;
    padding: 11px 0 11px 0;
    font-size: 74%;
    margin-left: 12px;
}

.children
{ display: none; }

.current_page_item .children,
.current_page_ancestor .children,
.current_page_parent .children

{ display: block; }

/* 4. Page
================================================== */

/* Advice Icons Home Page */

.content-area {
	margin-top:4px;
}

div.advice-icons {
	margin-bottom : 16px;
}

div.advice-icons a  div {
	text-align: center;
	height: 120px;
	margin-bottom: 16px;
	padding-bottom: 12px;
}

div.advice-icons a  div i{
	font-size: 500%;
	color: rgb(166,214,174);
	padding-top: 12px;
}
div.advice-icons a:hover  div i{
	color: rgb(87,72,106);
	font-size: 550%;
}
div.advice-icons a {
	text-transform: uppercase;
	font-family: 'open_sansbold';
	text-decoration: none;
    letter-spacing: 0.140em;
    font-size: 85%;
    font-weight: bold;
    color: rgb(87,72,106);
}
div.advice-icons a:hover {
	color: rgb(166,214,174);
}
/* google maps */

.gm-style .place-card-large {
    display: none !important;
}

/* homepage latest */

h4.green-header {
	background-color: rgb(166,214,174);
	padding: 8px 12px;
	font-size: 90%;
	border-bottom: 1px solid rgb(200,200,200);
	margin-bottom: 8px;
}
div.home-latest, div.home-maps {
	height: 300px;
	overflow-y: auto;
	margin-bottom: 20px;
}
div.location-maps {
    height: 382px;
    margin-bottom: 38px;
    border: rgb(221, 217, 220) 1px solid;
}

ul.session-dates {margin-bottom: 30px;}

.pw_map_canvas {
	border: 1px solid rgb(200,200,200);
}
.home-news h3 {
	margin-top: 8px;
}
/* twitter */
#ctf p.ctf-tweet-text, #ctf p.ctf-media-link, .home-news p, #ctf #ctf-more {
	font-size: 80%;
	line-height: 1.650em;
}
#ctf a.ctf-author-name[style] {
		font-size: 90%;
    font-weight: normal !important;
		text-decoration: none;
		text-transform: uppercase;
		color: rgb(87,72,106);
		padding-bottom: 8px;
}

#ctf .ctf-header-name {
	text-transform: uppercase;
}
.content-area li {
	margin-bottom: 14px;
	letter-spacing: 0.06em;
	color: rgb(60,60,60);
	border-left: 6px solid rgb(174, 214, 174);
        list-style: none;
        padding-left: 12px;
        font-size: 90%;
        font-weight: bold;
}

	/* Advice Page Formatting */

	.advice-page h1, .vacancies h4 {
	border-bottom: 1px solid rgba(166,214,174,0.8);
	padding-bottom: 8px;
	margin-top: 60px;
	}
	h4 {
	letter-spacing: 0.065em;
	}
	.drop-in, .Rtable-cell, .home-map-text p {
	text-transform: uppercase;
	font-weight: bold;
	}
	.home-map-text p {
		font-size: 88%;
	}
	.drop-in p, .Rtable-cell  {
	font-size: 80%;
	padding-bottom: 10px;
	margin-bottom: 10px;
	}
	.Rtable-cell h4 {
	font-size: 136%;
	margin-bottom: 4px;
	}
	.drop-in p span, .Rtable-cell span, .home-map-text p span{
	color: rgb(87,72,106);
	}
	.home-news {
		padding-left: 5px;
		padding-top: 12px;
	}
	/*  FlexBox Table-Like (for Advice page)
================================== */
	.Rtable {
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -ms-flex-wrap: wrap;
	  flex-wrap: wrap;
	  margin: 0 0 2em 4px;
	  max-width: 100%;
	}
	.Rtable-cell {
	  box-sizing: border-box;
	  -webkit-box-flex: 1;
	  -ms-flex-positive: 1;
	  flex-grow: 1;
	  width: 100%;
	  padding: 0.7em .05em;
	  overflow: hidden;
	  list-style: none;
	  border-bottom: 1px solid rgba(0,0,0,0.07);

    }
    .Rtable-cell--foot {
        margin-bottom: 30px;
    }
    .Rtable-cell.advice-drop{
        font-size: 100%;
    }
    .gt-flex {
        display: flex;
    }
    .gt-flex > div {
        padding-right: 8px;
    }
	/* Table column sizing
	================================== */
	.Rtable--2cols > .Rtable-cell {
	  width: 50%;
	}

	/* Apply styles
	================================== */
	/* .Rtable-cell {
	  margin: -1px 0 0 -1px;
	} */

	/* Responsive
	==================================== */
	@media all and (max-width: 500px) {
	  .Rtable--collapse {
	    display: block;
	  }
	  .Rtable--collapse > .Rtable-cell {
	    width: 100% !important;
	  }
	  .Rtable--collapse > .Rtable-cell--foot {
	    margin-bottom: 1em;
	  }
	  .Rtable {
	   margin-left:0;
	  }
	  .Rtable-cell {
	  margin: -1px 0 0 -0px;
	}
	}
	/* Responsive END
	==================================== */

	.no-flexbox .Rtable {
	  display: block;
	}
	.no-flexbox .Rtable > .Rtable-cell {
	  width: 100%;
	}
	.no-flexbox .Rtable > .Rtable-cell--foot {
	  margin-bottom: 1em;
	}

	/* Vacancies
	================================================== */

	div.vacancies {
		margin-top:-32px;
	}
	div.vacancy {
		padding-bottom: 4px;
		margin-bottom: 28px;
	}
	div.vacancy h4 {
		margin-top: 8px;
	}
	.fa.fa-handshake-o {
		font-size: 140%;
		margin-right: 12px;
	}
	img.fund-logo {
		max-height: 45px;
		padding-right: 12px;
		vertical-align: middle;
	}

/* 5. Footer
================================================== */

.footerWrapper {
    margin: 0 auto;
    padding: 15px 0 0 0;
}
.footer {
    font-size: 80%;
    padding-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.4em;
    font-weight: bold;
    margin-top: 46px;
}
.footer .site-title {
    margin-top: 0;
}
.footer p {
    margin: 0;
    padding: 0;
    margin-top: 18px;
}
.footer a i{
   font-size: 200%;
	 margin-left: 5px;
}
.footer .align_right > * {
   margin-right: 14px;
}
.footer #text-8 {
   margin-top: 70px;
}
/* Footer Links */

.footer a, .footer a:visited, .footer a:hover, .footer a:focus {
    text-decoration: none;
    outline: 0;
}

/* .7 Forms Styles
================================================== */

 label {
    padding: 0;
    font-size: 86%;
    color: rgb(87,72,106);
}
 input {
    border: 1px solid rgb(120, 120, 120);
    color: #fff;
    margin: 0 0 5px 0;
    width: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 90%;
    -webkit-appearance: none;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"] {
    border: 1px solid rgb(54, 54, 54);
    padding: 5px;
}
input:focus {
    background: #fff;
    border: 1px #a8baba solid;
    color: #424242;
}
textarea {
    border: 1px solid rgb(54, 54, 54);
    color: #c7c7c7;
    padding: 15px;
    margin: 0 0 5px 0;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-appearance: none;
    font-size: 95%;
}
 textarea:focus {
    background: #FAFAFA;
    border: 1px #a8baba solid;
    color: #424242;
}
 legend {
    display: none;
}
.caldera-grid .help-block {
	font-size: 80%;
	line-height: 1.3em;
}
.caldera-grid .form-control:focus {
    border-color: rgb(87,72,106) !important;
		box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(87,72,106,.6) !important;
}
.caldera-grid .row {
	margin-bottom: 4px;
}
.cf-toggle-switch .btn-success, .caldera-grid .btn-success {
	background-color: rgb(87,72,106) !important;
  border-color: rgb(97,82,116) !important;
}
.caldera-grid p {
	font-size: 85%;
	line-height: 1.3em;
  margin-bottom: 16px;
}
.intl-tel-input .country-list {
	    white-space: normal !important;
}

/* 9. Blog
================================================== */

.posted {
    color: #7e7c7c;
    font-size: 75%;
    margin: -20px 0 22px;
    border-bottom: 1px dotted rgb(200, 200, 200);
}
.article-teaser {
    margin-bottom: 42px;
    padding-top: 12px;
}

  p a.more-link {
    display: block;
    width: 120px;
    text-align: center;
    margin-top: 16px;
}
body.single div.entry-content p span {
  margin-top: -200px;        /* Size of fixed header */
  padding-bottom: 200px;
  display: block;
}
body.single div#comments h2{
  margin-top: -90px; /* Size of fixed header */
  padding-top: 100px;
  display: block;
}
body.blog .entry-footer, body.archive .entry-footer, body.single .entry-footer {
    font-size: 75%;
    border-top: 1px dotted rgb(200, 200, 200);
    border-bottom: 1px dotted rgb(200, 200, 200);
    padding: 0 5px;
    width: 100%;
    color: rgb(139, 139, 139);
}
.cat-links::after, .tags-links::after, .comments-link::after {
    content: " | ";
    color: rgb(80, 80, 80) ;
    margin-left: 0.2em;
    margin-right: 0.2em;
}
.posted-on a, .author a {
   text-decoration: none;
}
h2.comments-title, h3.comment-reply-title {
    font-size: 115%;
}
.comment_count {
    font-size: 75%;
    color: #ccc;
}
.comment_count span {
    padding: 4px 6px;
    margin-left: 10px;
    color: #fff;
}
.comments {
    margin: 22px 0;
}
.blog_comment {
   background: rgb(38, 40, 42);
    border: 1px solid rgb(54, 54, 54);
    border-radius: 3px;
    margin: 20px 0;
    padding: 100px 40px 20px 40px;
    position: relative;
}
.comment-author, .comment-metadata {
    font-size: 85%;
    color: #ccc;
    padding-bottom: 0.4em;
}
.comment-author img{
    opacity: 0.5;
    border-radius: 100%;
    padding: 3px;
    margin: 0 3px;
    border: 2px solid rgb(120, 120, 120);
    vertical-align:middle;
}
.comment-body {
    border-bottom: 1px solid rgb(54, 54, 54);
    padding-bottom: 12px;
    margin-bottom: 26px;
}
.nav-text {
    font-size: 95%;
}
.blog_comment span {
    background-color: rgb(230, 236, 240);
    padding: 8px;
    margin-left: 10px;
}
.site-main .post-navigation {
    font-size: 85%;
}
    /* Blog Homepage */
div.flexi {
    display: flex;
    justify-content: space-between;
}
div.flexi-child {
    margin: 4px;
    padding: 18px;
    border-radius: 3px;
}

/* 10. Typography
================================================== */

p {
    margin: 0 0 24px 0;
}

/*	Styled Block-quotes  */

blockquote {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 110%;
    font-style: italic;
}



/* 11. Font face
================================================== */

@font-face {
    font-family: 'open_sansregular';
    src: url('../font/OpenSans-Regular-webfont.eot');
    src: url('../font/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../font/OpenSans-Regular-webfont.woff') format('woff'), url('../font/OpenSans-Regular-webfont.ttf') format('truetype'), url('../font/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sansbold';
    src: url('../font/OpenSans-Bold-webfont.eot');
    src: url('../font/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('../font/OpenSans-Bold-webfont.woff') format('woff'), url('../font/OpenSans-Bold-webfont.ttf') format('truetype'), url('../font/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* 12.Media Queries
================================================== */

/* For  desktops */
@media only screen and (min-width: 768px) {
.slicknav_menu {display: none; }
}


/* Tablet Portrait size  */
@media only screen and (min-width: 768px) and (max-width: 959px) {

    .page {
        font-size: 100%;
    }
}

/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 767px) {
    html, body {
        font-size: 105%;
        line-height: 1.7em
    }
	.headwrapper {
	padding-left: 0;
	}
	.mobile-advice {
	display: none;
	}
	ul#advice-menu li {
    display:  inline-block;
    margin-right:  8px;
    margin-top: -7px;
    margin-bottom: 20px;
	}
    .brando-page {
		padding-top: 20px;
	}
    p.site-description {white-space: nowrap; margin-left: 38px; font-size: 65%; margin-top:-6px}

    /* Fixed Header fixes  */
    .head {
        position: relative;
        padding-left: 20px;
        z-index: 0;
        display:none;
    }
    .site-header {
    margin-top: 0px;
    }
    div.site-description {
	top: 29%;
    }
    .page {
        padding: 30;
        margin: 0;
    }
    body.blog .entry-content, body.archive .entry-content  {
    /* margin-bottom: 6.5em; */
    }
    p a.more-link {
        position: relative;
        bottom: 0;
        left:0;
        margin-top: 12px;
        padding: 6px 8px;
        display: block;
        text-align: center;
      }
    .search-form {
        float: none;
        margin: 0 5px 0 10px;
    }
    .search-form input.search-input {
        background-color: rgba(255, 255, 255, 0.17);
        color: rgb(255, 255, 255);
        margin: 10px 0;
        padding: 10px;
        width: 99%;
        font-size: 95%;
        border: 1px solid rgba(255, 255, 255, 0.23);
    }
	.footer.row {
    	margin: 0;
      padding:20px;
    }
    .footerWrapper span.tel {
        position: absolute;
        top: 0;
		left:22px;
        font-size: 20px;
        margin-top: 16px;
        color: rgb(255, 255, 255);
    }
    .footer .align_right {
        text-align: left;
    }
    .footer div {
        margin-bottom: 20px;
    }
    div.flexi {
        display: block;

    }
      div.flexi-child {
        margin-bottom: 12px;
      }
      .slicknav_nav .current_page_ancestor a {
    border-bottom: none;
        padding-top: 6px;
    }
    #secordary-menu li {
    	display: block;
    }
    .footer #secondary ul {
    	float: left;
    }
    .footer #text-8 {
    margin-top: 0px;
    }
}
@media only screen and (max-width: 680px) {

   .site-header {
    height: 170px;
    }
    div.site-description {
	top: 118%;
	left:0;
    }
}