/* Theme Name: TGA Trust
 * Theme URI: https://wordpress.com/themes/sketch/
 * Author: WordPress.com
 * Author URI: https://wordpress.com/themes/
 * Description: A clean, responsive portfolio theme with options for a custom site logo, a featured content slider, and lots of room to share your work.
 * Version: 2.0.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: sketch
 * Tags: one-column, two-columns, right-sidebar, full-width-template, rtl-language-support, theme-options, translation-ready, fixed-layout, responsive-layout, featured-images
 *
 * This theme, like WordPress, is licensed under the GPL.
 * Use it to make something cool, have fun, and share what you've learned with others.
 *
 * Sketch is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine work of
 * Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 * and Blueprint http://www.blueprintcss.org/ */
 *Fonts:2546

/* =Reset
-------------------------------------------------------------- */


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, th {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  font-size: 62.5%;
  /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/4/#c790 */
  overflow-y: scroll;
  /* Keeps page centered in all browsers regardless of content height */
  -webkit-text-size-adjust: 100%;
  /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
  -ms-text-size-adjust: 100%;
  /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after {
  /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
  -webkit-box-sizing: border-box;
  /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
  -moz-box-sizing: border-box;
  /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
  box-sizing: border-box;
}

body {
  background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

ol, ul {
  list-style: none;
}

table {
  /* tables still need 'cellspacing="0"' in the markup */
  border-collapse: separate;
  border-spacing: 0;
}

caption, th, td, th {
  font-weight: normal;
  text-align: left;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
}

blockquote, q {
  quotes: "" "";
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

a img {
  border: 0;
}

/* =Rebuild
----------------------------------------------- */
* html {
  font-size: 100%;
}

html {
  font-size: 16px;
  line-height: 1.5em;
}

body,
button,
input,
select,
textarea {
  color: #000000;
  font-family: 'cera' !important;
  font-size: 12px;
  font-weight: 400;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  clear: both;
}

hr {
  border: 1px solid #ccc;
  border-width: 0 0 1px 0;
  height: 0;
  margin-top: -24px;
  margin-bottom: 24px;
  padding-top: 24px;
}

/* Text elements */
p {
  margin-bottom: 24px;
}

ul, ol {
  margin: 0 0 24px 36px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 24px;
}

dt {
  font-weight: 600;
}

dd {
  margin: 0 24px 24px;
}

b, strong {
  font-weight: 600;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 24px;
}

address {
  margin: 0 0 24px;
}

pre {
  background: rgba(119, 119, 119, 0.5);
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 0.9375em;
  line-height: 1.6em;
  margin-top: -2px;
  margin-bottom: 24px;
  max-width: 100%;
  overflow: auto;
  padding: 24px;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 0.875em;
  line-height: 1.71429em;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}

figure {
  margin: 0;
}

table {
  margin: 0 0 24px;
  width: 100%;
}

th {
  font-weight: bold;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 24px;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 24px;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
  position: relative;
}

.screen-reader-text:focus {
  background-color: #fff;
  border: 1px solid #000;
  -webkit-box-shadow: rgba(0, 0, 0, 0.6) 2px 2px 10px;
  -moz-box-shadow: rgba(0, 0, 0, 0.6) 2px 2px 10px;
  box-shadow: rgba(0, 0, 0, 0.6) 2px 2px 10px;
  clip: auto !important;
  display: inline-block;
  font-weight: 600;
  line-height: 24px;
  padding: 24px;
  z-index: 100000;
  position: absolute !important;
  top: 24px;
  left: 24px;
}

/* Clearing */
.clear:before,
.clear:after {
  content: '';
  display: table;
}

.clear:after {
  clear: both;
}

.entry-content:before,
.entry-content:after {
  content: '';
  display: table;
}

.entry-content:after {
  clear: both;
}

.comment-content:before,
.comment-content:after {
  content: '';
  display: table;
}

.comment-content:after {
  clear: both;
}

.site-header:before,
.site-header:after {
  content: '';
  display: table;
}

.site-header:after {
  clear: both;
}

.site-content:before,
.site-content:after {
  content: '';
  display: table;
}

.site-content:after {
  clear: both;
}

.site-footer:before,
.site-footer:after {
  content: '';
  display: table;
}

.site-footer:after {
  clear: both;
}

/* =Forms
----------------------------------------------- */
button,
input,
select,
textarea {
  margin: 0;
  /* Addresses margins set differently in IE6/7, F3, S5, Chrome */
  vertical-align: baseline;
  /* Improves appearance and consistency in all browsers */
  *vertical-align: middle;
  /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid #ccc;
  border-color: #ccc #ccc #bbb #ccc;
  border-radius: 3px;
  background: #e6e6e6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  /* Improves usability and consistency of cursor style between image-type 'input' and others */
  -webkit-appearance: button;
  /* Corrects inability to style clickable 'input' types in iOS */
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa #bbb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  border-color: #aaa #bbb #bbb #bbb;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
  /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
  -webkit-appearance: textfield;
  /* Addresses appearance set to searchfield in S5, Chrome */
  -webkit-box-sizing: content-box;
  /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  /* Corrects inner padding and border displayed oddly in FF3 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
  border: 0;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 3px;
}

textarea {
  overflow: auto;
  /* Removes default vertical scrollbar in IE6/7/8/9 */
  padding-left: 3px;
  vertical-align: top;
  /* Improves readability and alignment in all browsers */
  width: 98%;
}

* html {
  font-size: 100%;
}

html {
  font-size: 16px;
  line-height: 1.7em;
}

.menu-toggle:before, .format-link .entry-title a:after, .social-links ul a:before, .flex-direction-nav a:before {
  -webkit-font-smoothing: antialiased;
  font-family: "Genericons";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
  vertical-align: text-bottom;
}

.sticky,
.bypostauthor {}

/* =Global */
body {
  background: #eeeeee;
  color: #4c4c4c;
  font-family: Lato, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 27px;
}

/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin: 14px 27px 14px 0;
}

.alignright {
  display: inline;
  float: right;
  margin: 14px 0 14px 27px;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 14px auto;
}

.alignnone {
  margin-top: 14px;
  margin-bottom: 14px;
}

/* Headings */
h1 {
  font-size: 2em;
  font-weight: normal;
  letter-spacing: 1px;
  margin: 27px 0;
  line-height: 1.5em;
  color: #2A2A2A;
}

h2 {
  font-size: 2em;
  font-weight: normal;
  letter-spacing: 1px;
  margin: 27px 0;
line-height: 1.3em;
}

h3 {
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 1px;
line-height: 1.2em;
  margin: 27px 0;
}

h4 {
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 1px;
line-height: 1.1em;
  margin: 27px 0;

}

h5 {
  font-size: 36px;
  font-weight: normal;
  letter-spacing: 1px;
 margin: 27px 0;
}

h6 {
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 1px;
  margin: 27px 0;
  text-transform: uppercase;
  
}

hr {
  background-color: #eeeeee;
  height: 1px;
  margin-bottom: 26px;
  padding: 0;
}

/* Text elements */
p {
  margin-bottom: 27px;
}

ul {
  margin: 0 0 27px 27px;
  list-style: disc;
}
ul ul {
  list-style: square;
}
ul ul ul {
  list-style: circle;
}

ol {
  margin: 0 0 27px 27px;
  list-style: decimal;
}
ol ol {
  list-style: lower-alpha;
}
ol ol ol {
  list-style: lower-roman;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 27px;
}

dt {
  font-weight: 400;
}

dd {
  margin: 14px 0 14px 27px;
}

b, strong {
  font-weight: bold;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  font-size: 1.25em;
  line-height: 1.36em;
  border-left: 3px solid #eeeeee;
  color: #999999;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 27px;
  padding-left: 24px;
}
blockquote blockquote {
  font-size: inherit;
}
blockquote cite {
  display: block;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  text-align: right;
  width: 100%;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background: white;
  border: 3px solid #eeeeee;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  color: #999999;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-family: Lato, Helvetica, Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 14px;
  text-shadow: none;
}
button:hover, button:focus, button:active,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="button"]:active,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="reset"]:active,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:active {
  border-color: #004D00;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  color: #004D00;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  border: 1px solid #eeeeee;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px;
}
input[type="text"]:active, input[type="text"]:focus,
input[type="email"]:active,
input[type="email"]:focus,
input[type="url"]:active,
input[type="url"]:focus,
input[type="password"]:active,
input[type="password"]:focus,
input[type="search"]:active,
input[type="search"]:focus {
  background: white;
  border-color: #d4d4d4;
  outline: none;
}

textarea {
  border: 1px solid #eeeeee;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px;
}
textarea:active, textarea:focus {
  border-color: #d4d4d4;
  outline: none;
}

address {
  font-style: italic;
  margin-bottom: 27px;
}

pre {
  background: rgba(0, 0, 0, 0.03);
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 0.8125em;
  line-height: 2.09231em;
  margin-bottom: 27px;
  padding: 27px;
  overflow: auto;
  max-width: 100%;
}

code, kbd, tt, var {
  font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 0.8125em;
  line-height: 2.09231em;
}

abbr, acronym {
  border-bottom: 1px dotted #eeeeee;
  cursor: help;
  margin-bottom: 26px;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub {
  font-size: 0.8125em;
  line-height: 2.09231em;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: 0.5ex;
}

small {
  font-size: 0.8125em;
  line-height: 2.09231em;
}

big {
  font-size: 1.25em;
  line-height: 1.36em;
}

figure {
  margin: 0;
}

table {
  margin-bottom: 27px;
  width: 100%;
}

td, th {
  border-bottom: 1px solid #eeeeee;
  border-collapse: collapse;
  padding: 7px 3px 6px;
  vertical-align: top;
}

th {
  border-bottom-width: 3px;
  font-weight: bold;
  letter-spacing: 2px;
  padding-bottom: 4px;
  text-transform: uppercase;
}

img {
  height: auto;
  max-width: 100%;
}

img.rightheadphoto {
  display: block;
  float: right;
  margin: 10px 20px 0px 40px;
}

@media screen and ( max-width: 35em ) {

img.rightheadphoto {
  display: block;
  margin: 5% auto;
  float: none;
}

h1 {
  text-align: center;
}

h2 {
  text-align: center;
}
h3 {
  text-align: center;
}
h4 {
  text-align: center;
}
h5 {
  text-align: center;
}
}

/* Links */
a {
  color: #004d00;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  border-bottom: 1px dashed #d3d3d3;

}
a:visited {

}

a:hover, a:focus, a:active {
  color: #004D00;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #004a27;
  border-bottom:1px solid black;
}

/* Button */
.button {
 border-radius: 3px;
 border: 1px solid #bdbfbf;
 color: #bdbfbf;
 background-color: #FFFFFF;
 padding: 0.2% 2.2% 0.2% 2.2%;
 margin: 1% 1% 1% 0%;
 display: inline-block;
 font-size: 12px;
 text-transform: uppercase;
 }

 .button:hover {
  border-radius: 3px;
  background-color: #004D00;
  color: #FFFFFF
}


/* Show or hide a11y text */
/* Clearing */
/* =Layout */
.site {
  background: white;
  margin: 0 auto;
  padding: 27px;
}
.has-site-logo .site {
  padding-top: 14px;
}

.site-footer {
  font-size: 0.8125em;
  line-height: 2.09231em;
  border-top: 0px solid #eeeeee;
  color: #999999;
  clear: both;
  letter-spacing: 1px;
  margin: 24px 0 0;
  padding: 14px 0 0;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  background-color: #EEE;
}
.site-footer a {
  color: #999999;
  text-decoration: none;
}
.site-footer a:hover {
  color: #004d00;
}
.site-footer .sep {
  clear: both;
  display: block;
  margin: 0;
  height: 0;
  visibility: hidden;
}
.footer {
  font-size: 0.8125em;
  line-height: 2.09231em;
  border-top: 0px solid #eeeeee;
  color: #999999;
  clear: both;
  letter-spacing: 1px;
  margin: 0px 0 0;
  padding: 0px 0 0;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  background-color: #EEE;
}
.footer a {
  color: #999999;
  text-decoration: none;
}
.footer a:hover {
  color: #004d00;
}
.footer .sep {
  clear: both;
  display: block;
  margin: 0;
  height: 0;
  visibility: hidden;
}

.site-content .widget-area {
  border-top: 3px solid #eeeeee;
  margin-top: 27px;
  padding-top: 24px;
}

/* =Header */
.site-header {
  margin: 0% -54px -2%;
  padding: 0 0 0px;
  position: relative;
  z-index: 999;
}
.site-logo {
  display: inline-block;
  margin-right: 14px;
  width: auto;
  max-height: 70px;
  vertical-align: middle;
}
.custom-header {
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  margin-bottom: 27px;
}

.site-branding {
  clear: none;
  float: left;
  margin-top: 21px;
  max-width: 60%;
  position: relative;
  z-index: 9999;
  margin-bottom: 21px;
}

.site-title {
  font-size: 1.75em;
  line-height: 1;
  clear: none;
  display: inline-block;
  letter-spacing: 3px;
  margin: 0;
  position: relative;
  z-index: 2;
}
.site-title a {
  color: #333333;
  text-decoration: none;
}

.has-site-logo .site-title {
  vertical-align: middle;
}

.site-description {
  display: none;
}

/* =Menu */
.main-navigation {
  display: block;
  font-weight: normal;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}
.has-site-logo .main-navigation {
  height: 70px;
}
.has-site-logo .main-navigation.toggled {
  height: auto;
}
.main-navigation ul {
  clear: both;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation li {
  display: block;
  position: relative;
}
.main-navigation li:hover > a {
  color: #004D00;
}
.main-navigation a {
  border-bottom: 1px solid #eeeeee;
  color: #6d6f6b;
  display: block;
  padding: 13px 0 14px;
  text-decoration: none;
}
.main-navigation a:hover {
  color: black;
}

.main-navigation ul:first-child > li:last-of-type a {
  border-bottom: 0;
}

.current_page_item a,
.current-menu-item a {
  color: #2A2A2A;
}

/* Small menu */
.menu-toggle,
.main-navigation.toggled .nav-menu {
  display: block;
}

.menu-toggle {
  border: 1px solid #eeeeee;
  clear: none;
  float: right;
  padding: 12px 13px;
  position: relative;
  margin-top: 2em;
}

.menu-toggle:before {
  content: "\f419";
  font-size: 16px;
  margin-right: 5px;
  vertical-align: text-bottom;
}

.toggled .menu-toggle {
  border-color: #004D00;
  color: #004D00;
}

.main-navigation ul:first-child {
  display: none;
}
.main-navigation ul ul li a {
  text-transform: none;
  padding-left: 15px;

}
.main-navigation ul ul ul li a {
  padding-left: 28px;
}
.main-navigation ul ul ul ul li a {
  padding-left: 42px;
}

/* =Content */
.hentry {
  border-bottom: 0px solid #eeeeee;
  margin: 0 0 0px;
  padding: 0 0 0px;
  position: relative;
}

.site-main .hentry:last-of-type {
  border-bottom: 0;
}

.byline,
.updated {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.attachment-sketch-featured {
  border-radius: 3px;
  margin: 14px 0 0;
  opacity: 1;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hentry:hover .attachment-sketch-featured {
  opacity: 0.7;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.entry-footer,
.entry-meta,
.portfolio-entry-meta {
  font-size: 0.8125em;
  line-height: 2.09231em;
  color: #999999;
  font-weight: normal;
  letter-spacing: 1px;
  margin: 0 0 27px;
  text-transform: uppercase;
}
.entry-footer a,
.entry-meta a,
.portfolio-entry-meta a {
  color: #999999;
}
.entry-footer a:hover,
.entry-meta a:hover,
.portfolio-entry-meta a:hover {
  color: #f68060;
}

.entry-title,
.portfolio-entry-title {
  font-size: 1.75em;
  line-height: 1.10em;
  line-height: 1.21429em;
  margin: 7px 0;
  word-wrap: break-word;
  opacity: 0;
}
.entry-title a,
.portfolio-entry-title a {
  color: #999999;
  text-decoration: none;
}
.entry-title a:hover,
.portfolio-entry-title a:hover {
  color: #004D00;
}

.sep {
  margin: 0 3px;
}

.page-links {
  clear: both;
  margin: 27px 0;
  word-spacing: 7px;
}

.page-title {
  border-bottom: 1px solid #eeeeee;
  color: #999999;
  font-size: 1.25em;
  line-height: 1.36em;
  letter-spacing: 2px;
  margin: 0;
  padding-bottom: 13px;
}

.page-header {
  margin-bottom: 27px;
}

.taxonomy-description {
  font-style: italic;
  margin-top: 27px;
}

/* =Portfolio */
.page-template-portfolio-page-php .site-header {
  border-bottom: 0;
  margin-bottom: 0;
}
.page-template-portfolio-page-php.paged .site-header {
  border-bottom: 3px solid #eeeeee;
  margin: 0 0 27px;
}

body[class*="jetpack-portfolio"].archive .site-header {
  margin-bottom: 14px;
}

.page-template-fullwidth-page-php .site-content,
.page-template-fullwidth-page-php .content-area,
.page-template-fullwidth-page-php .site-main,
body[class*="jetpack-portfolio"] .site-content,
body[class*="jetpack-portfolio"] .content-area,
body[class*="jetpack-portfolio"] .site-main,
.no-sidebar .site-content,
.no-sidebar .content-area,
.no-sidebar .site-main {
  margin: 0 auto;
}

.single-jetpack-portfolio .content-area,
.single-jetpack-portfolio .site-main {
  float: none;
  margin: 0 auto;
}
.single-jetpack-portfolio .entry-thumbnail img {
  display: block;
  margin: 0 auto 27px;
}

.page-template-portfolio-page-php .page-content:before,
.page-template-portfolio-page-php .page-content:after,
.project-navigation-wrapper .page-content:before,
.project-navigation-wrapper .page-content:after,
.page-template-portfolio-template-php .page-content:before,
.page-template-portfolio-template-php .page-content:after,
body[class*="jetpack-portfolio"].archive .page-content:before,
body[class*="jetpack-portfolio"].archive .page-content:after {
  content: "";
  display: table;
}
.page-template-portfolio-page-php .page-content:after,
.project-navigation-wrapper .page-content:after,
.page-template-portfolio-template-php .page-content:after,
body[class*="jetpack-portfolio"].archive .page-content:after {
  clear: both;
}
.page-template-portfolio-page-php .page-content,
.project-navigation-wrapper .page-content,
.page-template-portfolio-template-php .page-content,
body[class*="jetpack-portfolio"].archive .page-content {
  border-bottom: 3px solid #eeeeee;
  margin-bottom: 24px;
  padding-bottom: 27px;
}
.page-template-portfolio-page-php .projects,
.project-navigation-wrapper .projects,
.page-template-portfolio-template-php .projects,
body[class*="jetpack-portfolio"].archive .projects {
  clear: both;
  width: 100%;
}
.page-template-portfolio-page-php .entry-thumbnail,
.project-navigation-wrapper .entry-thumbnail,
.page-template-portfolio-template-php .entry-thumbnail,
body[class*="jetpack-portfolio"].archive .entry-thumbnail {
  border-radius: 3px;
  display: block;
  width: 100%;
}
.page-template-portfolio-page-php .entry-thumbnail.no-thumbnail,
.project-navigation-wrapper .entry-thumbnail.no-thumbnail,
.page-template-portfolio-template-php .entry-thumbnail.no-thumbnail,
body[class*="jetpack-portfolio"].archive .entry-thumbnail.no-thumbnail {
  background: #eeeeee;
}
.page-template-portfolio-page-php .entry-thumbnail .edit-link a,
.project-navigation-wrapper .entry-thumbnail .edit-link a,
.page-template-portfolio-template-php .entry-thumbnail .edit-link a,
body[class*="jetpack-portfolio"].archive .entry-thumbnail .edit-link a {
  font-size: 0.8125em;
  line-height: 2.09231em;
  background: white;
  border: 1px solid #eeeeee;
  border-radius: 3px;
  color: #999999;
  display: block;
  font-weight: normal;
  letter-spacing: 1px;
  opacity: 0;
  padding: 0 5px;
  position: absolute;
  top: 14px;
  right: 14px;
  text-transform: uppercase;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
.page-template-portfolio-page-php .site-content,
.page-template-portfolio-page-php .content-area,
.page-template-portfolio-page-php .site-main,
.project-navigation-wrapper .site-content,
.project-navigation-wrapper .content-area,
.project-navigation-wrapper .site-main,
.page-template-portfolio-template-php .site-content,
.page-template-portfolio-template-php .content-area,
.page-template-portfolio-template-php .site-main,
body[class*="jetpack-portfolio"].archive .site-content,
body[class*="jetpack-portfolio"].archive .content-area,
body[class*="jetpack-portfolio"].archive .site-main {
  margin: 0 auto;
}
.page-template-portfolio-page-php .jetpack-portfolio,
.project-navigation-wrapper .jetpack-portfolio,
.page-template-portfolio-template-php .jetpack-portfolio,
body[class*="jetpack-portfolio"].archive .jetpack-portfolio {
  list-style: none;
  margin-bottom: 14px;
  opacity: 1;
  padding: 0;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
.page-template-portfolio-page-php .jetpack-portfolio img,
.project-navigation-wrapper .jetpack-portfolio img,
.page-template-portfolio-template-php .jetpack-portfolio img,
.jetpack-portfolio-shortcode .portfolio-featured-image img,
body[class*="jetpack-portfolio"].archive .jetpack-portfolio img {
  border-radius: 3px;
  display: block;
  margin: 0 auto;
}
.page-template-portfolio-page-php .jetpack-portfolio:hover,
.project-navigation-wrapper .jetpack-portfolio:hover,
.page-template-portfolio-template-php .jetpack-portfolio:hover,
body[class*="jetpack-portfolio"].archive .jetpack-portfolio:hover {
  opacity: 0.7;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
.page-template-portfolio-page-php .jetpack-portfolio:hover a,
.project-navigation-wrapper .jetpack-portfolio:hover a,
.page-template-portfolio-template-php .jetpack-portfolio:hover a,
body[class*="jetpack-portfolio"].archive .jetpack-portfolio:hover a {
  color: #f68060;
}
.page-template-portfolio-page-php .jetpack-portfolio:hover .edit-link a,
.project-navigation-wrapper .jetpack-portfolio:hover .edit-link a,
.page-template-portfolio-template-php .jetpack-portfolio:hover .edit-link a,
body[class*="jetpack-portfolio"].archive .jetpack-portfolio:hover .edit-link a {
  color: #999999;
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}
.page-template-portfolio-page-php .portfolio-entry-title,
.page-template-portfolio-page-php .portfolio-entry-meta,
.page-template-portfolio-page-php .entry-title,
.page-template-portfolio-page-php .entry-meta,
.project-navigation-wrapper .portfolio-entry-title,
.project-navigation-wrapper .portfolio-entry-meta,
.project-navigation-wrapper .entry-title,
.project-navigation-wrapper .entry-meta,
.page-template-portfolio-template-php .portfolio-entry-title,
.page-template-portfolio-template-php .portfolio-entry-meta,
.page-template-portfolio-template-php .entry-title,
.page-template-portfolio-template-php .entry-meta,
body[class*="jetpack-portfolio"].archive .portfolio-entry-title,
body[class*="jetpack-portfolio"].archive .portfolio-entry-meta,
body[class*="jetpack-portfolio"].archive .entry-title,
body[class*="jetpack-portfolio"].archive .entry-meta {
  font-size: 0.8125em;
  line-height: 1.546em;
  letter-spacing: 1px;
  margin: 14px 0;
  text-align: center;
}

.page-template-portfolio-page-php .flexslider .jetpack-portfolio:hover,
.project-navigation-wrapper .flexslider .jetpack-portfolio:hover,
.page-template-portfolio-template-php .flexslider .jetpack-portfolio:hover,
body[class*="jetpack-portfolio"].archive .flexslider .jetpack-portfolio:hover,
.page-template-portfolio-page-php .flexslider .jetpack-portfolio:hover .attachment-sketch-featured,
.project-navigation-wrapper .flexslider .jetpack-portfolio:hover .attachment-sketch-featured,
.page-template-portfolio-template-php .flexslider .jetpack-portfolio:hover .attachment-sketch-featured,
body[class*="jetpack-portfolio"].archive .flexslider .jetpack-portfolio:hover .attachment-sketch-featured {
  opacity: 1;
}
.page-template-portfolio-page-php .flexslider .jetpack-portfolio .entry-meta a,
.project-navigation-wrapper .flexslider .jetpack-portfolio .entry-meta a,
.page-template-portfolio-template-php .flexslider .jetpack-portfolio .entry-meta a,
body[class*="jetpack-portfolio"].archive .flexslider .jetpack-portfolio .entry-meta a,
.page-template-portfolio-page-php .flexslider .jetpack-portfolio:hover .entry-meta a,
.project-navigation-wrapper .flexslider .jetpack-portfolio:hover .entry-meta a,
.page-template-portfolio-template-php .flexslider .jetpack-portfolio:hover .entry-meta a,
body[class*="jetpack-portfolio"].archive .flexslider .jetpack-portfolio:hover .entry-meta a {
  color: rgba(255,255,255,0.7);
}
.project-navigation-wrapper ul,
.project-navigation-wrapper li.previous,
.project-navigation-wrapper li.current,
.project-navigation-wrapper li.next {
  list-style: none;
  margin-left: 0;
  padding: 0;
}
.project-navigation-wrapper li.current {
  display: none;
  opacity: 0.5;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-backface-visibility: hidden;
}
.project-navigation-wrapper li.current a {
  cursor: default;
}
.project-navigation-wrapper li.current .edit-link {
  display: none;
}
.more-projects {
  border-top: 3px solid #eeeeee;
  color: #999999;
  font-size: 1.25em;
  line-height: 1.36em;
  letter-spacing: 2px;
  padding-top: 24px;
}

/* =Post Formats */
.format-link .entry-title a:after {
  content: "\f442";
  font-size: 32px;
  margin-left: 5px;
}

/* =Media */
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.wp-caption {
  margin-bottom: 27px;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.8125em;
  line-height: 1.5675em;
  margin: 14px 0;
  padding: 0 1%;
}

.site-content .gallery {
  margin-bottom: 27px;
}
.site-content .gallery a img {
  height: auto;
  max-width: 90%;
}
.site-content .gallery dd {
  margin: 0;
}

/* Gallery column widths */
.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.site-content .gallery-columns-1.gallery a img {
  max-width: 100%;
}

.gallery-item {
  display: inline-block;
  margin-bottom: 27px;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item img {
  border: 1px solid #eeeeee;
  border-radius: 3px;
  padding: 3px;
}

.gallery-caption {
  font-size: 0.8125em;
  line-height: 2.09231em;
  line-height: 2.09231em;
  margin: 0 auto;
  max-width: 90%;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
  max-width: 100%;
}

/* =Navigation */

.nav-single {
display: none;
}

/* =Comments */
.comments-area {
  border-top: 3px solid #eeeeee;
  margin: 24px auto 0;
}

.comments-title,
.comment-reply-title {
  font-size: 1.25em;
  line-height: 1.36em;
  color: #999999;
  letter-spacing: 1px;
}
.comments-title small,
.comment-reply-title small {
  float: right;
}

.comment-list,
.comment-list .children {
  list-style: none;
}

.comment-list {
  margin: 0;
}

.comment-list > .comment:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.comment {
  border-top: 1px solid #eeeeee;
  margin-top: 26px;
  padding-top: 27px;
}

.comment-meta {
  text-transform: uppercase;
}
.comment-meta a {
  color: #333333;
}
.comment-meta .comment-author img {
  border-radius: 3px;
  float: left;
}
.comment-meta .comment-author .fn {
  display: block;
  letter-spacing: 2px;
  margin-left: 74px;
}
.comment-meta .comment-metadata {
  color: #999999;
  font-size: 0.8125em;
  line-height: 2.09231em;
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 27px;
  margin-left: 74px;
}
.comment-meta .comment-metadata a {
  color: #999999;
}
.comment-meta .comment-metadata a:hover {
  color: #f68060;
}

.comments-area .edit-link:before {
  content: " | ";
  display: inline;
  margin: 0 7px;
}

.comment-form label {
  display: inline-block;
  width: 109px;
}

.required {
  color: #f68060;
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
  margin: 0 0 27px;
  position: relative;
}
.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
  font-size: 0.8125em;
  line-height: 2.09231em;
  font-weight: normal;
  letter-spacing: 1px;
  padding: 7px 14px;
  position: absolute;
  left: 0;
  top: 7px;
  text-transform: uppercase;
}
.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment input {
  display: block;
  margin: 0 0 27px;
  padding-left: 100px;
  width: 100%;
}
.comment-form-author textarea,
.comment-form-email textarea,
.comment-form-url textarea,
.comment-form-comment textarea {
  margin: 0 0 27px;
  padding: 54px 14px 7px;
  clear: both;
  width: 100%;
}

.says {
  display: none;
}

.form-allowed-tags {
  color: #999999;
}

.no-comments {
  color: #999999;
  font-style: italic;
  margin: 27px 0;
  text-align: center;
}

/* =Widgets */
.widget {
  font-size: 0.8125em;
  line-height: 2.09231em;
  border-bottom: 1px solid #eeeeee;
  margin: 0 0 26px;
  padding: 0 0 27px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.widget select {
  max-width: -webkit-calc(100% - 48px);
  max-width: calc(100% - 48px);
  margin-left: 24px;
}
.widget a {
  color: #f68060;
  text-decoration: none;
}
.widget a:hover, .widget a:active, .widget a:focus {
  color: #333333;
}
.widget ul {
  list-style: none;
  margin: 0;
}
.widget li {
  border-top: 1px solid #eeeeee;
  list-style: none;
  margin: 0;
  padding-top: 6px;
  padding-bottom: 7px;
}

.widget-title {
  font-size: 1.25em;
  line-height: 1.36em;
  font-weight: normal;
  margin: 14px 0;
}
.widget-title a {
  color: #333333;
}

/* Calendar widget */
#wp-calendar td, #wp-calendar th,
#wp-calendar th {
  text-align: center;
}
#wp-calendar caption {
  font-weight: 700;
  margin: 14px 0;
  text-align: center;
}
#wp-calendar a {
  color: #f68060;
  text-decoration: none;
}

/* Recent Comments */
.widget_recent_comments td, .widget_recent_comments th {
  border: 0;
}

/* Tags */
.tags-links:before,
.tags-links:after {
  content: "";
  display: table;
}

.tags-links:after {
  clear: both;
}

.wp_widget_tag_cloud a,
.tags-links a,
.tagcloud a {
  border: 1px solid #eeeeee;
  color: #999999;
  display: inline-block;
  font-size: inherit !important;
  letter-spacing: 1px;
  margin: 0 7px 7px 0 !important;
  padding: 0 7px;
  text-transform: uppercase;
}
.wp_widget_tag_cloud a:hover,
.tags-links a:hover,
.tagcloud a:hover {
  border-color: #004D00;
  color: #004D00;
}

/* =Jetpack */
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
  display: block;
}

#infinite-footer {
  z-index: 999;
}
#infinite-footer .container {
  background: white;
  border-top: 0;
  color: #999999;
  font-style: italic;
  position: relative;
}
#infinite-footer .container a {
  color: #999999;
}
#infinite-footer .container a:hover {
  color: #f68060;
}
#infinite-footer .blog-info a,
#infinite-footer .blog-credits {
  font-size: 0.8125em;
  line-height: 2.09231em;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.infinite-loader {
  clear: both;
  margin: 0 auto 14px;
  padding-top: 27px;
  width: 28px;
  height: 43px;
}

#infinite-handle {
  clear: both;
  margin: 0;
  width: 100%;
}

#infinite-handle span {
  background: white;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  color: #004D00;
  font-size: 0.8125em;
  line-height: 2.09231em;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border-radius: 0;
  display: block;
  float: none;
  font-weight: normal;
  letter-spacing: 2px;
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
}
#infinite-handle span:hover {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

div.sharedaddy div.sd-block {
  padding: 13px 0 14px !important;
}

/* =Social Links */
.social-links {
  clear: both;
  margin: 14px auto;
}
.social-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-links ul li {
  display: inline-block;
  list-style: none;
  margin: 0% 7% 3% 2%;
  vertical-align: top;
  text-transform: capitalize;
}

@media screen and (max-width: 1000px) {
.social-links ul li {
  display: inline-block;
  list-style: none;
  margin: 5% 17% 0% 17%;
  vertical-align: top;
  text-transform: capitalize;
}
}

.social-links ul a {
  display: inline-block;
  text-decoration: none;
}
.social-links ul a:before {
  background: #cccccc;
  border-radius: 3px;
  color: white;
  content: "\f415";
  display: block;
  line-height: 1;
  margin-left: 4px;
  position: relative;
  transition: top 0.3s ease-in-out;
  padding: 6px 4px 6px 6px;
  text-align: center;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  opacity: 0;
}
.social-links ul a:hover {
  text-decoration: none;
}
.social-links ul a:hover:before {
  background: #004D00;
  text-decoration: none;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
.social-links ul a[href*="wordpress.org"]:before,
.social-links ul a[href*="wordpress.com"]:before {
  content: "\f205";
}
.social-links ul a[href*="facebook.com"]:before {
  content: "\f204";
}
.social-links ul a[href*="twitter.com"]:before {
  content: "\f202";
}
.social-links ul a[href*="dribbble.com"]:before {
  content: "\f201";
}
.social-links ul a[href*="plus.google.com"]:before {
  content: "\f206";
}
.social-links ul a[href*="pinterest.com"]:before {
  content: "\f209";
}
.social-links ul a[href*="github.com"]:before {
  content: "\f200";
}
.social-links ul a[href*="tumblr.com"]:before {
  content: "\f214";
}
.social-links ul a[href*="youtube.com"]:before {
  content: "\f213";
}
.social-links ul a[href*="flickr.com"]:before {
  content: "\f211";
}
.social-links ul a[href*="vimeo.com"]:before {
  content: "\f212";
}
.social-links ul a[href*="instagram.com"]:before {
  content: "\f215";
}
.social-links ul a[href*="codepen.io"]:before {
  content: "\f216";
}
.social-links ul a[href*="linkedin.com"]:before {
  content: "\f207";
}
.social-links ul a[href*="/feed"]:before {
  content: "\f413";
}
.social-links ul a[href*="mailto"]:before {
  content: "\f410";
}

.flexslider .hentry {
  margin: 0 auto;
  padding: 0;
  position: relative;
  width: 100%;
}
.flexslider .entry-title {
  font-size: 0.8125em;
  line-height: 1.7em;
  margin: 0;
  text-align: left;
}
.flexslider .entry-title a,
.flexslider .entry-title a:hover,
.flexslider:hover .entry-title a {
  color: white;
}
.flexslider:hover .entry-meta a {
  color: rgba(255,255,255,0.7);
}
.flexslider .entry-meta {
  font-size: 0.8125em;
  line-height: 2.09231em;
  color: rgba(255, 255, 255, 0.7);
  display: none;
  letter-spacing: 2px;
  margin: 0;
  text-align: left;
  text-transform: uppercase;
}
.flexslider .entry-meta a,
.flexslider .entry-meta a:hover {
  color: rgba(255,255,255,0.7);
  opacity: 1;
}
.flexslider .entry-header {
  background: rgba(51, 51, 51, 0.7);
  border-bottom-left-radius: 5px;
  max-width: 75%;
  padding: 7px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.page-template-portfolio-page-php .flexslider .entry-thumbnail {
  background: #eeeeee;
  border-radius: 5px;
  display: block;
  padding-top: 36.6636% !important;
  position: relative;
  width: 100%;
  height: 0;
}
.flexslider .entry-thumbnail img {
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* FlexSlider Necessary Styles */
.flexslider {
  border-radius: 5px;
  margin: 0 0 27px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}
.flexslider li, .flexslider ul, .flexslider ol {
  list-style: none;
  margin: 0;
}

.flexslider .slides > li {
  display: none;
  margin: 0;
  -webkit-backface-visibility: hidden;
}

.flexslider .slides img {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.flex-pauseplay span {
  text-transform: capitalize;
}

.slides:before,
.slides:after {
  content: "";
  display: table;
}

.slides:after {
  clear: both;
}

/* No JavaScript Fallback */
.no-js .slides > li:first-child {
  display: block;
}

.flex-viewport-wrapper {
  display: block;
  margin: 0 auto;
}

.flex-viewport {
  border-radius: 5px;
  margin: 0 auto;
  overflow: visible !important;
  position: relative;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  max-width: 100%;
}

.loading .flex-viewport-wrapper {
  max-height: 400px;
}

.flexslider .slides {
  zoom: 1;
}

.carousel li {
  margin-right: 0;
}

/* Direction Nav */
.flex-direction-nav {
  display: none;
}
.flex-direction-nav a {
  background: rgba(51, 51, 51, 0.7);
  border-radius: 5px;
  color: white;
  display: block;
  width: 38px;
  height: 38px;
  margin: -31px 0 0;
  position: absolute;
  bottom: 14px;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.flex-direction-nav .flex-disabled {
  opacity: 0;
  cursor: default;
}

.flex-direction-nav a:before {
  font-size: 36px;
  display: inline-block;
  color: white;
  content: "\f430";
  text-align: center;
}

.flex-direction-nav a.flex-next:before {
  content: "\f429";
}

.flex-direction-nav .flex-prev {
  opacity: 1;
  right: 59px;
}
.flex-direction-nav .flex-next {
  opacity: 1;
  right: 14px;
}

/* Media Queries */
@media screen and (max-width: 50em) {
  .jetpack-portfolio-shortcode .portfolio-entry {
    width: 100% !important;
  }
}
@media screen and (min-width: 80em) {

  img.fullwidth {
  position: relative;
  left:-3.1em;
  max-width: 69em;
  width: 110%;
}

  .site-footer {
left:-5.1em;
max-width: 106em;
width:111%;
position: relative;
margin-bottom: -5%;
  }
}

@media screen and (min-width: 75em) {
  .site {
    margin: 20px auto;
    max-width: 1200px;
    padding: 54px;
  }
  .has-site-logo .site {
  padding-top: 0px;
  }

.site-header {
background-color:#EEE;
  }

}
@media screen and (min-width: 60em) {

  .page-template-portfolio-page-php .entry-thumbnail .edit-link a,
  .project-navigation-wrapper .entry-thumbnail .edit-link a,
  .page-template-portfolio-template-php .entry-thumbnail .edit-link a,
  body[class*="jetpack-portfolio"].archive .entry-thumbnail .edit-link a {
    bottom: 14px;
    top: auto;
  }
}
@media screen and (min-width: 50em) {
  .project-navigation-wrapper li.current {
    display: block;
  }
  .flex-direction-nav {
    display: block;
  }
  .flexslider .entry-header {
    padding: 14px;
  }
  .flexslider .entry-title {
    font-size: 1.25em;
    line-height: 1.36em;
  }
  .flexslider .entry-meta {
    display: block;
  }
  .flexslider .entry-header {
    padding: 27px;
  }

  .flex-direction-nav a {
    bottom: 27px;
  }

  .flex-direction-nav .flex-prev {
    right: -45px;
  }

  .flex-direction-nav .flex-next {
    right: -95px;
    text-align: right;
  }

  .flexslider:hover .flex-prev {
    opacity: 1;
    right: 72px;
  }

  .flexslider:hover .flex-next {
    opacity: 1;
    right: 27px;
  }

  .flexslider:hover .flex-next:hover,
  .flexslider:hover .flex-prev:hover {
    opacity: 1;
  }

  .content-area {
    float: left;
    margin: 0 -30% 0 0;
    width: 100%;
  }

  .site-main {
    margin: 0 30% 0 0;
  }

  .site-content .widget-area {
    border-top: 0;
    float: right;
    margin-top: 0;
    overflow: hidden;
    padding-top: 0;
    width: 25%;
  }

  .site-info {
    float: left;
    line-height: 1.7;
    max-width: 65%;
    text-align: left;
  }

  .social-links {
    clear: none;
    margin: 0;
    max-width: 100%;
    text-align: center;
  }

  .project-navigation-wrapper .jetpack-portfolio,
  .page-template-portfolio-page-php .jetpack-portfolio,
  body[class*="jetpack-portfolio"].archive .jetpack-portfolio {
    border: 0;
    float: left;
    margin-right: 2%;
    width: 32%;
  }
  .project-navigation-wrapper .jetpack-portfolio:nth-of-type(3n),
  .page-template-portfolio-page-php .jetpack-portfolio:nth-of-type(3n),
  body[class*="jetpack-portfolio"].archive .jetpack-portfolio:nth-of-type(3n) {
    clear: right;
    margin-right: 0;
  }
  .project-navigation-wrapper .jetpack-portfolio:nth-of-type(3n+1),
  .page-template-portfolio-page-php .jetpack-portfolio:nth-of-type(3n+1),
  body[class*="jetpack-portfolio"].archive .jetpack-portfolio:nth-of-type(3n+1) {
    clear: left;
  }

  .page-template-portfolio-page-php .featured-posts .jetpack-portfolio:nth-of-type(3n+1),
  .project-navigation-wrapper .more-projects .jetpack-portfolio:nth-of-type(3n),
  .project-navigation-wrapper .jetpack-portfolio:nth-of-type(3n+1) {
    clear: none;
  }
  .project-navigation-wrapper .entry-thumbnail,
  .page-template-portfolio-page-php .entry-thumbnail,
  body[class*="jetpack-portfolio"].archive .entry-thumbnail {
    height: 0;
    overflow: hidden;
    padding-top: 75%;
    position: relative;
  }
  .project-navigation-wrapper .entry-thumbnail img,
  .page-template-portfolio-page-php .entry-thumbnail img,
  body[class*="jetpack-portfolio"].archive .entry-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
  }
  .project-navigation-wrapper .entry-thumbnail.sketch-landscape,
  .page-template-portfolio-page-php .entry-thumbnail.sketch-landscape,
  body[class*="jetpack-portfolio"].archive .entry-thumbnail.sketch-landscape {
    padding-top: 75%;
  }
  .project-navigation-wrapper .entry-thumbnail.sketch-portrait,
  .page-template-portfolio-page-php .entry-thumbnail.sketch-portrait,
  body[class*="jetpack-portfolio"].archive .entry-thumbnail.sketch-portrait {
    padding-top: 133.333%;
  }
  .project-navigation-wrapper .entry-thumbnail.sketch-square,
  .page-template-portfolio-page-php .entry-thumbnail.sketch-square,
  body[class*="jetpack-portfolio"].archive .entry-thumbnail.sketch-square {
    padding-top: 100%;
  }

  .project-navigation-wrapper li {
    clear: none;
  }
  .project-navigation-wrapper li.next .jetpack-portfolio {
    margin-right: 0;
  }

  h1 {
    font-size: 3.5em;
    font-weight: normal;
    letter-spacing: 2px;
    margin: 50 200px;
    line-height: 1.3em;
    color: #2a2a2a;
  }

  h2 {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
 line-height: 1.3em;
    margin: 27px 0;
    text-transform: uppercase;
  }

  h3 {
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 27px 0;
    color:#004D00;
  }

  h4 {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 27px 0;
    text-transform: uppercase;
  }

  h5 {
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 27px 0;
    text-transform: uppercase;
  }

  h6 {
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 27px 0;
    text-transform: uppercase;
  }

  .entry-content {
    font-size: 1.25em;
    line-height: 1.36em;
    line-height: 1.7em;
  }

  /* Search */
  .widget_search .search-submit {
    display: none;
  }
}

@media screen and (min-width: 35em) {
  .site-branding {
    max-width: 80%;
  }
  .has-site-logo .site-title {
  max-width: 60%;
  }
}


@media screen and ( max-width: 1200px ) {
    .site-header { 
  margin: 2% 0px -2%;
  }

}

/* This ensures most tablet-sized devices will see the toggle menu */
@media screen and ( min-width: 1281px ) {

  .menu-toggle {
    display: none;
  }
  .site-logo {
    max-height: 100px;
  }
  .has-site-logo .main-navigation {
    height: 100px;
  }
  .has-site-logo .main-navigation > div,
  .has-site-logo .main-navigation > ul {
  position: relative;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  }
  .main-navigation {
    font-size: 1em;
    line-height: 2.09231em;
    clear: none;
    float: right;
    max-width: 70%;
    font-weight: 100;
    text-align: right;
  }
  .main-navigation ul:first-child {
    display: block;
  }
  .main-navigation ul li {
    display: inline-block;
  }
  .main-navigation ul li:hover > ul,
  .main-navigation ul li.focus > ul {
    display: block;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .main-navigation ul a {
    border-bottom: 0;
    padding: 5px 0 5px 14px;

  }

  
  .main-navigation ul ul {
    background: white;
    border: 1px solid #cccccc;
    display: none;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    float: left;
    opacity: 0;
    padding: 0 0;
    position: absolute;
    top: 46px;
    left: 0;
    text-align: left;
    visibility: hidden;
    z-index: 99999;
  }
  .main-navigation ul ul li:hover,
  .main-navigation ul ul li:hover a{
    background: #004a27;
    color: white;
  }

  .main-navigation ul ul li {
    border-bottom: 1px solid #eeeeee;
    
  }
  .main-navigation ul ul li a{
    padding: 7px 0.75rem ;
  }
  .main-navigation ul ul li:last-of-type {
    border-bottom: 0;
  }
  .main-navigation ul ul li a {
    line-height: 1.5;
    width: 250px;
  }
  .main-navigation ul ul ul {
    left: 100%;
    top: 0;
  }
  .main-navigation ul ul li a,
  .main-navigation ul ul ul li a,
  .main-navigation ul ul ul ul li a {
    padding-left: 0.75rem;
  }
}
@font-face {
    font-family: 'icomoon';
    src:    url('fonts/icomoon.eot?uhe8bj');
    src:    url('fonts/icomoon.eot?uhe8bj#iefix') format('embedded-opentype'),
        url('fonts/icomoon.ttf?uhe8bj') format('truetype'),
        url('fonts/icomoon.woff?uhe8bj') format('woff'),
        url('fonts/icomoon.svg?uhe8bj#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'cera';
    src:    url('cerafonts/cera_gr-webfont.eot?uhe8bj');
    src:    url('cerafonts/cera_gr-webfont.eot?uhe8bj#iefix') format('embedded-opentype'),
        url('cerafonts/cera_gr-webfont.ttf?uhe8bj') format('truetype'),
        url('cerafonts/cera_gr-webfont.woff?uhe8bj') format('woff'),
        url('cerafonts/cera_gr-webfont.svg?uhe8bj#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    padding-left: 10px;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-cog:before {
    content: "\e900";
}
.icon-lantern:before {
    content: "\e901";
}
.icon-stats:before {
    content: "\e902";
}
.icon-sunshine:before {
    content: "\e903";
}
.icon-folder:before {
    content: "\e904";
}
.icon-people:before {
    content: "\e905";
}
.icon-jigsaw:before {
    content: "\e906";
}


@media screen and (min-width: 1281px) {
.main-navigation div > ul > li > a {
    padding: 0.5rem 0.75rem;
    border: 1px solid transparent;

}
.main-navigation div > ul > li.menu-item-has-children > a {
    position: relative;
    z-index: 9999;
}
.main-navigation ul:first-child > li:hover:last-of-type a,
.main-navigation div > ul > li:hover > a {
    border-bottom: 1px solid #000;
}
.main-navigation div > ul > li.menu-item-has-children:hover > a {
    border: 1px solid #cccccc;
    border-bottom: 1px solid white;
    background: #fff;
    color: black;
    z-index: 9999999999;
}
.main-navigation {
    margin-top: 10px;
}
.site {
    padding: 0 54px 54px 54px !important;
}
.main-navigation {
	padding-top: 10px
}
}
.site-title a {
    display: block;
    height: 60px;
    width: 60px;
    background-image: url(//www.tgacademy.org.uk/files/2016/01/TrustLogo72dpi-300x283.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    margin-top: -15px;
    font-family: 'arvo', serif;
    font-size: 0.875em;
    letter-spacing: 0;
    line-height: 1.15em;
    color: #264228;
    text-indent: -9999px;
}
.site-title a span{ 
  font-size: 1.1em;
}
@media screen and (min-width: 1281px) {
  .site-title a {
    text-indent: 0;
    width: 340px;
    padding: 8px 10px 0px 75px;
  }
  .myfixed .site-title a{
    margin-top: 0px;
  }
  .myfixed .menu-home-container {
    padding-top: 10px;
  }
}

.uk-subnav-pill>.uk-active>* {
    background: #1b5d38;
}



#tg-trust-apps .wrapper-app.header {
  width:  1200px;
}
#tg-trust-apps .wrapper-app.header a,
.site-title a { 
  border: none;
}




#page > footer {
  z-index: 0;
  overflow: hidden;
  background: #eee;
  margin-bottom: 1rem;
  border-top: 1px solid #ccc;
}
#page > footer .academy-address {
  background: no-repeat top right;
  background-size: auto 250%;
  background-color: white;
  color: black;
  padding: 1.2rem;
  width: 100%;
  margin: 0 0;
  float: left;
  height: 100%;
  position: relative;
  text-align: center;
  background-repeat: no-repeat;
}
#page > footer .academy-address img {
  padding: 5px;
  background: white;
  border: 1px solid #ccc;
  margin: 0 1rem 0 0;
  height: 120px;
  display: inline;
}
#page > footer .academy-address address {
  float: none;
  margin: 0 0 1rem 0;
  font-size: 0.95em;
  line-height: 1.5em;
  font-style: normal;
}
#page > footer .academy-address p {
  margin: 0;
}
#page > footer .academy-address a {
  color: black;
}
#page > footer .academy-address .widget_text {
  float: left;
  width: 100%;
  margin: 0 20px;
}
#page > footer .academy-address .widget_text:nth-child(even) {
  display: none;
  width: 28%;
  padding: 10px;
  background: green;
}
#page > footer .copyright {
  font-size: 0.9em;
  width: 100%;
  float: none;
  clear: both;
  background: #eee;
  padding: 0.5rem;
  margin: 0%;
  text-align: center;
}
#page > footer .copyright p {
  padding: 0.5rem 1.5rem;
}
#page > footer .copyright .right {
  width: auto;
  float: none;
  padding: 0.5rem 1rem;
}
#page > footer .copyright .right a {
  padding: 0 0.5rem;
  text-align: center;
}
#page > footer .copyright .right a:nth-child(even) {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
@media screen and (min-width: 1200px) {
  #page > footer {
    background: #eee;
    border-top: 1px solid #ccc;
  }
  #page > footer .academy-address {
    background: no-repeat 97.5% center;
    background-size: auto 80%;
    background-color: white;
    color: black;
    text-align: left;
  }
  #page > footer .academy-address img {
    border: 1px solid #ccc;
    float: left;
  }
  #page > footer .academy-address address {
    float: left;
    padding: 10px 0;
    margin: 0;
    padding-right: 2.5rem;
    margin-right: 2.5rem;
  }
  #page > footer .academy-address address:nth-child(even) {
    border-right: 1px solid #eee;
  }
  #page > footer .copyright {
    font-size: 0.9em;
    float: left;
    padding: 1rem 0.5rem 0 0;
    margin: 0%;
    text-align: left;
  }
  #page > footer .copyright p {
    padding: 0 1.5rem;
  }
  #page > footer .copyright .right {
    width: auto;
    float: right;
    padding: 0 1rem;
  }
}
#page > .trust-footer {
  padding: 0 2rem 1rem;
  overflow: hidden;
  font-size: 0.95em;
  background-color: black;
  color: #eee;
  /*margin: 0 -54px;*/
  font-size: 15px;
}
#page > .trust-footer .academies {
  width: 100%;
  font-size: 0.9em;
  background: url(/wp-content/themes/tga-trust/images/trust.png) no-repeat top left;
  background-size: auto 5rem;
}
#page > .trust-footer .academies p, .trust-footer .academies h2 {
  margin-bottom: 0.25rem;
  margin-left: 6rem;
}
#page > .trust-footer .academies p {
  font-size: 15.5px; 
  line-height: 1.5em;
}
#page > .trust-footer .academies h2 {
  font-size: 2em;
  max-width: 300px;
  text-transform: none;
  text-align: left;

}
#page > .trust-footer ul {
  margin: 0 0 0 0;
  margin-top: 1rem;
  padding: 0.5rem 0 0 0;
  list-style: none;
  overflow: hidden;
  font-size: .92em;
}
#page > .trust-footer ul li {
  width: 100%;
  display: block;
}
#page > .trust-footer ul li a {
  color: white;
  padding: 0.75rem .5rem;
  padding-left: 3.5rem;
  margin: 0.5rem 0; 
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .4);
  overflow: hidden;
  display: block;
  width: 100%;
  background-position: 0.65rem center;
  background-repeat: no-repeat;
  background-size: auto 80%;
  background-color: rgba(0, 0, 0, .8);
  transition: all linear 0.15s;
  font-size: 0.9em;
  line-height: 1.5em;
  color: #eee;
}
#page > .trust-footer ul li a.robertsmyth {
  background-size: auto 60%;
}
#page > .trust-footer ul li a span {
  display: block;
  font-size: 1.4em;
}
@media screen and (min-width: 1200px) {
  #page > .trust-footer .academies {
    background: url(https://www.tgacademy.org.uk/files/2016/01/TrustLogo72dpi-300x283.png) no-repeat top left;
    background-size: auto 6rem;
    font-size: 1em;
  }
  #page > .trust-footer .academies p,#page > .trust-footer .academies h2 {
    margin-bottom: 0.25rem;
    margin-left: 7rem;
    max-width: 100%;
  }
  #page > .trust-footer ul {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #page > .trust-footer ul li {
    display: block;
    min-width: 25%;
    width: auto;
    margin: 0;
  }
  #page > .trust-footer ul li a {
    display: block;
    width: auto;
    margin: 0.25rem; 
  }
}
@media screen and (min-width: 1200px) {
   #page > footer .academy-address {
    background-image: url(/wp-content/themes/tga-trust/images/trust.png);
  }
} 
 #page > .trust-footer ul li a {
  background-image: url(/wp-content/themes/tgav2/assets/img/samworth-shield-white.png);
}
 #page > .trust-footer ul li a:hover {
  background-color: white;
  color: black;
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/samworth-shield.png);
}
 #page > .trust-footer ul li a.solihull {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/solihull-shield-white.png);
}
 #page > .trust-footer ul li a.solihull:hover {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/solihull-shield.png);
}
 #page > .trust-footer ul li a.worcs {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/worcs-shield-white.png);
}
 #page > .trust-footer ul li a.worcs:hover {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/worcs-shield.png);
}
 #page > .trust-footer ul li a.redditch {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/redditch-shield-white.png);
}
 #page > .trust-footer ul li a.redditch:hover {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/redditch-shield.png);
}
 #page > .trust-footer ul li a.samworth {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/samworth-shield-white.png);
}
 #page > .trust-footer ul li a.samworth:hover {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/samworth-shield.png);
}
 #page > .trust-footer ul li a.stjames {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/stjames-shield-white.png);
}
 #page > .trust-footer ul li a.stjames:hover {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/stjames-shield.png);
}
 #page > .trust-footer ul li a.haselor {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/haselor-shield-white.png);
}
 #page > .trust-footer ul li a.haselor:hover {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/haselor-shield.png);
}
 #page > .trust-footer ul li a.robertsmyth {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/robertsmyth-shield-white.png);
  font-size: 1em;
  line-height: 1.32em;
}
 #page > .trust-footer ul li a.robertsmyth span {
  font-size: 1.2em;
}
 #page > .trust-footer ul li a.robertsmyth:hover {
  background-image: url(/wp-content/themes/tgav2/assets/img/logos/robertsmyth-shield.png);
}
#page > footer,
#page > .trust-footer {
  margin: auto -27px;
}
@media screen and (min-width: 1281px){
  #page > footer,
  #page > .trust-footer {
    margin: auto -54px;
  }
}

@media screen and (min-width: 1281px){
  .site {
    padding: 0 54px 0 54px !important;
  }
}



/*

////// ICON GRID
*/

.tg-icon-grid {
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  font-family: 'cera' !important;
  margin-bottom: 1rem;
}
.tg-icon-grid.full-width {
  align-self: stretch;
  justify-content: flex-start;
}
.tg-icon-grid.full-width .tg-icon-link {
  width: auto;
  flex: 1 1 auto;
  min-width: 50%;
  max-width: 50%;
}
.tg-icon-grid.full-width .tg-icon-link img {
  width: auto;
  max-width: 90%;
}
.tg-icon-grid .tg-icon-link {
  padding: 1rem 0.5rem 0.75rem;
  position: relative;
  border-radius: 2px;
  border: 0;
  transition: all 0.85s;
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 50%;
  border: 1px solid white;
  z-index: 1;
  overflow: hidden;
  font-family: 'cera' !important

}
.tg-icon-grid .tg-icon-link.fill-bg img {
  background: white;
  border-radius: 25%;

}
.tg-icon-grid .tg-icon-link:after {
  content: "";
  position: absolute;
  top: 100%;
  right: 100%;
  width: 200%;
  height: 200%;
  background: #ededed;
  transform: rotate(45deg);
  z-index: -1;
  transition: all 0.25s linear;
}
.tg-icon-grid .tg-icon-link:hover:after {
  top: -50%;
  right: -50%;
}
.tg-icon-grid .tg-icon-link:hover {
  border-color: #d9d9d9;
}
.tg-icon-grid .tg-icon-link:focus {
  background-color: #e6e6e6;
}
.tg-icon-grid .tg-icon-link img {
  display: inline;
  margin: 0 auto;
  width: 150px;
  height: auto;
  max-height: 150px;

}
.tg-icon-grid .tg-icon-link p {
  font-size: 1.15em;
  display: block;
  text-align: center;
  clear: both;
  margin: 1rem 0 0.5rem 0;
  padding: 0 0.5rem;
  line-height: 1.25em;
  min-height: 2.5em;
}
@media screen and (min-width: 500px) {
  .tg-icon-grid .tg-icon-link {
    width: 33.33%;
  }
}
@media screen and (min-width: 700px) {
  .tg-icon-grid .tg-icon-link {
    width: 25%;
  }
}
@media screen and (min-width: 1200px) {
  .tg-icon-grid .tg-icon-link {
    width: 20%;
  }
}
@media screen and (min-width: 500px) {
  .tg-icon-grid.full-width .tg-icon-link {
    min-width: 33.33%;
    max-width: 33.33%;
  }
}
@media screen and (min-width: 700px) {
  .tg-icon-grid.full-width .tg-icon-link {
    min-width: 25%;
    max-width: 25%;
  }
}
@media screen and (min-width: 1200px) {
  .tg-icon-grid.full-width .tg-icon-link {
    min-width: 20%;
    max-width: auto;
  }
}
@media screen and (max-width: 400px) {
  .tg-icon-grid .tg-icon-link {
    width: 100%;
  }
}








/*//////////*/


  .page-template-page-sidebar #page .site-content .entry-header {
    display: none;
  }
  .page-template-page-sidebar-header #page .site-content .entry-header {
    display: block;
    font-size: 1.25em;
  }
  .page-template-page-sidebar-header #page .site-content .entry-header .entry-title {
    font-size: 3.5em;
    font-weight: normal;
    letter-spacing: 2px;
    opacity: 1;
    margin: 27px 0;
    line-height: 1.3em;
    color: #2a2a2a;
  }

@media screen and (min-width: 1281px){
  .page-template-page-sidebar #page .site-content,
  .page-template-page-sidebar-header #page .site-content{
    margin: 0 -54px !important;
  }


  .with-sidebar.content-area {
      float: right;
      width: 75%;
      padding-top: 0;
      padding-right: 54px;
  }
}

.site-content aside.with-sidebar {
  transition: none;
  width: 100%;
  padding: 2rem 1rem;
  margin: 0 0;
  font-size: 1.2em;
  border-top: 1px solid #eee;
  overflow: visible;
}
.site-content aside.with-sidebar a {
  display: block;
  padding: .2em .5em;
  border: 1px solid transparent;
  transition: background .5s, border .5s;
  color: black;
}
.site-content aside.with-sidebar a:hover {
  border: 1px solid #ddd !important;
  background: #f1f1f1;
  border-radius: 5px 5px;
}
.site-content aside.with-sidebar .widgettitle {
  padding: 0 0rem;
  margin: 0;
  font-size: 1.8em;
  line-height: 1em;
  text-transform: none;
}
.site-content aside.with-sidebar .widgettitle .icon-img {
  display: block;
  float: left;
  height: 34px;
  margin-right: 1rem;
}
.site-content aside.with-sidebar ul {
  list-style: none;
  margin: 0;
}
.site-content aside.with-sidebar ul li {
  padding: 0;
  margin: 0;
}
.site-content aside.with-sidebar ul li.current_page_item > a {
  border: 1px solid #ddd;
  border-right-color: white;
  background: white;
  border-radius: 5px 0 0 5px;
  color: #004a27;
  font-weight: bolder;
}
.site-content aside.with-sidebar ul li ul {
  display: block;
  padding-left: 1rem;
  font-size: 0.85em;
}
.site-content aside.with-sidebar ul li ul ul {
  display: none;
}

@media screen and (min-width: 1281px) {
  .site-content aside.with-sidebar {
    width: 22%;
    min-height: 400px;
    float: left;
    border: 0;
    padding-right: 0;
    border-right: 1px solid #eee;
  }
  .site-content aside.with-sidebar a {
    display: block;
    border: 1px solid transparent;
    margin-right: -1px;
    transition: background .5s, border .5s;
    color: black;
  }
  .site-content aside.with-sidebar a:hover {
    border: 1px solid #ddd;
    background: #f1f1f1;
    border-radius: 5px 0 0 5px;
  }
  .site-content aside.with-sidebar ul {
    list-style: none;
    margin: 0;
  }
  .site-content aside.with-sidebar ul li {
    padding: .1rem 0;
    margin: 0;
  }
  .site-content aside.with-sidebar ul li.active a {
    border: 1px solid #ddd;
    border-right: 1px solid white;
    background: white;
    border-radius: 5px 0 0 5px;
    color: #004a27;
    font-weight: bolder;
  }
}
