/*
Theme Name: Avi Jorisch
Theme URI: https://romancreative.com/project/avi-jorisch
Author: Roman Creative
Author URI: https://romancreative.com
Description: A modern custom responsive theme for Avi Jorisch.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: avijorisch
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*==============================================================

•• TABLE OF CONTENTS ••
----------------------------------------------------------------
┬
├─╸Normalize
├─╸Typography
├─╸Elements
├─╸Forms
├─╸Accessibility
├─╸Alignments
├─╸Clearings
├─╸Utility Classes
├─╸Grid Layout
│  ├─╸Site Structure
│  └─╸Items Grid
├─╸Site Header
├─╸Navigation
│  ├─╸Links
│  └─╸Menus
├─╸Page Header
├─╸Front Page
├─╸Main Content
│	 ├─╸Posts & Pages
│	 └─╸Comments
├─╸Widgets
├─╸Footer
├─╸Media
│  ├─╸Captions
│  └─╸Galleries
└─╸Plugins
   ├─╸Jetpack
   ├─╸Yoast SEO
   ├─╸Simple Social Icons
   ├─╸Smart Slider 3
   ├─╸Twitter Feed
   ├─╸Ninja Forms
   └─╸MailChimp for WP


•• FONT STACKS ••
----------------------------------------------------------------

font-family: 'Arvo', Georgia, Times, 'Times New Roman', serif;
font-family: 'Josefin Sans', 'Trebuchet MS', Tahoma, sans-serif;
font-family: 'Noto Sans', cursive;
font-family: 'Open Sans', Verdana, Geneva, sans-serif;


•• COLORS AND VARIATIONS ••
----------------------------------------------------------------

DARK GRAY

   Original: #343434 | rgba(52, 52, 52, 1)
  6% Darker: #252525 | rgba(37, 37, 37, 1)
 12% Darker: #151515 | rgba(21, 21, 21, 1)
 18% Darker: #060606 | rgba(6, 6, 6, 1)
 6% Lighter: #434343 | rgba(67, 67, 67, 1)
12% Lighter: #535353 | rgba(83, 83, 83, 1)
18% Lighter: #626262 | rgba(98, 98, 98, 1)

`````````````````````````````````````````````````````````````

MUTED TEAL

   Original: #5991a6 | rgba(89, 145, 166, 1)
  6% Darker: #4a8297 | rgba(74, 130, 151, 1)
 12% Darker: #3a7287 | rgba(58, 114, 135, 1)
 18% Darker: #2b6378 | rgba(43, 99, 120, 1)
 6% Lighter: #68a0b5 | rgba(104, 160, 181, 1)
12% Lighter: #78b0c5 | rgba(120, 176, 197, 1)
18% Lighter: #87bfd4 | rgba(135, 191, 212, 1)

`````````````````````````````````````````````````````````````

ROYAL BLUE

   Original: #0c4e97 | rgba(12, 78, 151, 1)
  6% Darker: #003f88 | rgba(0, 63, 136, 1)
 12% Darker: #002f78 | rgba(0, 47, 120, 1)
 18% Darker: #002069 | rgba(0, 32, 105, 1)
 6% Lighter: #1b5da6 | rgba(27, 93, 166, 1)
12% Lighter: #2b6db6 | rgba(43, 109, 182, 1)
18% Lighter: #3a7cc5 | rgba(58, 124, 197, 1)

==============================================================*/


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Normalize
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

html {
	font-family: sans-serif;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

* {
	margin: 0;
	padding: 0;
}

*:focus {
  outline: 0 !important;
}

figure {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -8px;
}

sub {
	bottom: -4px;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 16px;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 6px 12px 12px;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Typography
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

body,
button,
input,
select,
optgroup,
textarea {
	color: #343434;
	font-family: 'Open Sans', Verdana, Geneva, sans-serif;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 400;
	line-height: 1.636; /* 36px */
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	margin-bottom: 20px;
	font-family: 'Arvo', Georgia, Times, 'Times New Roman', serif;
	font-weight: 400;
	line-height: 1.27;
	color: #0c4e97;
}

h1 { font-size: 30px; font-size: 3rem; }
h2 { font-size: 28px; font-size: 2.8rem; }
h3 { font-size: 26px; font-size: 2.6rem; }
h4 { font-size: 24px; font-size: 2.4rem; }
h5 { font-size: 22px; font-size: 2.2rem; }
h6 { font-size: 22px; font-size: 2.2rem; }

p {
	margin-bottom: 20px;
}

b,
strong {
	font-weight: 700;
}

i,
em {
	font-style: italic;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 40px 0;
	font-family: 'Arvo', Georgia, Times, 'Times New Roman', serif;
	font-style: italic;
	text-align: center;
	color: #5991a6;
}

address {
	margin: 0 0 30px;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 20px;
	max-width: 100%;
	overflow: auto;
	padding: 20px;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 1.5rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Elements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 20px;
}

ul, ol {
	margin: 40px 0 40px 40px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 20px 20px;
}

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

table {
	margin: 0 0 20px;
	width: 100%;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Forms
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

label {
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 600;
}

a.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-block;
	background: #5991a6;
	border: none;
	border-radius: 0 !important;
	color: #fff;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	padding: 18px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  		-ms-transition: all 0.3s ease-in-out;
  				transition: all 0.3s ease-in-out;
}

a.button:visited,
button:visited,
input[type="button"]:visited,
input[type="reset"]:visited,
input[type="submit"]:visited {
	color: #fff;
}

a.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #68a0b5;
	color: #fff;
}

a.button:active,
a.button:focus,
button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	background: #68a0b5;
	color: #fff;
}

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"],
textarea {
	background: #f9f9f9;
	color: #666;
	border: 1px solid #ccc;
	padding: 7px 15px;
  -webkit-transition: all 0.3s ease-in-out;
  		-ms-transition: all 0.3s ease-in-out;
  				transition: all 0.3s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	background: #f6f6f6;
	color: #343434;
	border-color: #aaa;
}

input[type="checkbox"] {
	border: 1px solid #aaa;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Accessibility
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

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

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Alignments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.alignleft {
	display: inline;
	float: left;
	margin-right: 20px;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Clearings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.before-footer:before,
.before-footer:after,
.site-footer:before,
.site-footer:after,
.wrap:before,
.wrap:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.before-footer:after,
.site-footer:after,
.wrap:after {
	clear: both;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Utility Classes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.rtl {
	direction: rtl!important;
}

.hidden {
	display: none;
}

.icon-left-arrow {
	margin-right: 10px;
}

.icon-right-arrow {
	margin-left: 10px;
}

.footnote {
	margin-left: 5px;
	top: -8px;
	font-size: 75%;
	font-weight: 700;
	font-style: normal;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

/* Tabbed Content (Innovators / Available Languages)
--------------------------------------------------------------*/

.tab-wrap {
	max-width: 100%;
	position: relative;
	overflow: hidden;
	list-style: none;
	margin-top: 20px;
}

.tab {
	display: none;
}

.tab:checked:nth-of-type(1) ~ .tab__content:nth-of-type(1) {
	opacity: 1;
	-webkit-transition: 0.5s opacity ease-in, 0.2s transform ease;
	transition: 0.5s opacity ease-in, 0.2s transform ease;
	position: relative;
	top: 0;
	z-index: 100;
	-webkit-transform: translateY(0px);
		  transform: translateY(0px);
	text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(2) ~ .tab__content:nth-of-type(2) {
	opacity: 1;
	-webkit-transition: 0.5s opacity ease-in, 0.2s transform ease;
	transition: 0.5s opacity ease-in, 0.2s transform ease;
	position: relative;
	top: 0;
	z-index: 100;
	-webkit-transform: translateY(0px);
		  transform: translateY(0px);
	text-shadow: 0 0 0;
}
.tab:checked:nth-of-type(3) ~ .tab__content:nth-of-type(3) {
	opacity: 1;
	-webkit-transition: 0.5s opacity ease-in, 0.2s transform ease;
	transition: 0.5s opacity ease-in, 0.2s transform ease;
	position: relative;
	top: 0;
	z-index: 100;
	-webkit-transform: translateY(0px);
		  transform: translateY(0px);
	text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(4) ~ .tab__content:nth-of-type(4) {
	opacity: 1;
	-webkit-transition: 0.5s opacity ease-in, 0.2s transform ease;
	transition: 0.5s opacity ease-in, 0.2s transform ease;
	position: relative;
	top: 0;
	z-index: 100;
	-webkit-transform: translateY(0px);
		  transform: translateY(0px);
	text-shadow: 0 0 0;
}

.tab:checked + label {
	color: #0c4e97;
	font-weight: 700;
	cursor: default;
}

.tab:checked + label:hover {
	color: #0c4e97;
}

.tab + label {
	cursor: pointer;
	text-decoration: none;
	font-size: 26px;
	font-size: 2.6rem;
	color: rgba(12, 78, 151, 0.75);
	-webkit-user-select: none;
	 -moz-user-select: none;
	  -ms-user-select: none;
		  user-select: none;
	-webkit-transition: 0.3s background-color ease, 0.3s box-shadow ease;
	transition: 0.3s background-color ease, 0.3s box-shadow ease;
	box-sizing: border-box;
}

.tab + label:hover {
	color: #78b0c5;
}

.tab-seperator {
	font-size: 26px;
	font-size: 2.6rem;
	font-weight: 700;
	color: rgba(12, 78, 151, 0.75);
}

.tab__content {
	margin-top: 20px;
	position: absolute;
	width: 100%;
	z-index: -1;
	opacity: 0;
	left: 0;
	-webkit-transform: translateY(-3px);
		  transform: translateY(-3px);	
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Grid Layout
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/* Site Structure
--------------------------------------------------------------*/

.wrap {
	margin: 0 auto;
	width: 90%;
	max-width: 1280px;
}

.site-content {
	padding: 110px 0 7.5%;
  -webkit-transition: all 0.4s ease-in-out;
  		-ms-transition: all 0.4s ease-in-out;
  				transition: all 0.4s ease-in-out;
}

.site-main,
.sidebar-left .sidebar,
.sidebar-right .sidebar {
	display: block;
	margin: 0 auto;
	max-width: 840px;
	float: none;
}

.sidebar {
	display: none;
}

.medium-width .site-main {
	max-width: 1060px;
}

.full-width .site-main {
	max-width: 100%;
}


@media only screen and (min-width: 681px) {

	.site-content {
		padding-top: 212px;
	}

}

@media only screen and (min-width: 1024px) {

	.sidebar-right .site-main {
		float: left;
		width: 65.625%;
	}

	.sidebar-right .sidebar {
		margin-left: 3.125%;
		float: right;
		width: 31.25%
	}

	.sidebar-left .site-main {
		float: right;
		width: 65.625%;
	}

	.sidebar-left .sidebar{
		margin-right: 3.125%;
		float: left;
		width: 31.25%
	}

}

/* Items Grid
-------------------------------------------------------------- */

[class*="items-"] {
  display: block;
  padding: 0;
  margin: 0 -20px;
  *zoom: 1;
}

[class*="items-"]:before,
[class*="items-"]:after {
  content: " ";
  display: table;
}

[class*="items-"]:after {
  clear: both;
}

[class*="items-"] > * {
	position: relative;
  display: inline-block;
  height: auto;
  float: left;
  padding: 20px;
  list-style: none;
}

/* X-Small Screen Block Grid Media Query */
@media only screen and (min-width: 480px) {

  .xs-items-1 > * {width: 100%;}
  .xs-items-1 > *:nth-of-type(n) {clear: none;}
  .xs-items-1 > *:nth-of-type(1n+1) {clear: both;}

  .xs-items-2 > * {width: 50%;}
  .xs-items-2 > *:nth-of-type(n) {clear: none;}
  .xs-items-2 > *:nth-of-type(2n+1) {clear: both;}

  .xs-items-3 > * {width: 33.33333%;}
  .xs-items-3 > *:nth-of-type(n) {clear: none;}
  .xs-items-3 > *:nth-of-type(3n+1) {clear: both;}

  .xs-items-4 > * {width: 25%;}
  .xs-items-4 > *:nth-of-type(n) {clear: none;}
  .xs-items-4 > *:nth-of-type(4n+1) {clear: both;}

  .xs-items-5 > * {width: 20%;}
  .xs-items-5 > *:nth-of-type(n) {clear: none;}
  .xs-items-5 > *:nth-of-type(5n+1) {clear: both;}

  .xs-items-6 > * {width: 16.66667%;}
  .xs-items-6 > *:nth-of-type(n) {clear: none;}
  .xs-items-6 > *:nth-of-type(6n+1) {clear: both;}

  .xs-items-7 > * {width: 14.28571%;}
  .xs-items-7 > *:nth-of-type(n) {clear: none;}
  .xs-items-7 > *:nth-of-type(7n+1) {clear: both;}

  .xs-items-8 > * {width: 12.5%;}
  .xs-items-8 > *:nth-of-type(n) {clear: none;}
  .xs-items-8 > *:nth-of-type(8n+1) {clear: both;}

  .xs-items-9 > * {width: 11.11111%;}
  .xs-items-9 > *:nth-of-type(n) {clear: none;}
  .xs-items-9 > *:nth-of-type(9n+1) {clear: both;}

  .xs-items-10 > * {width: 10%;}
  .xs-items-10 > *:nth-of-type(n) {clear: none;}
  .xs-items-10 > *:nth-of-type(10n+1) {clear: both;}

  .xs-items-11 > * {width: 9.09091%;}
  .xs-items-11 > *:nth-of-type(n) {clear: none;}
  .xs-items-11 > *:nth-of-type(11n+1) {clear: both;}

  .xs-items-12 > * {width: 8.33333%;}
  .xs-items-12 > *:nth-of-type(n) {clear: none;}
  .xs-items-12 > *:nth-of-type(12n+1) {clear: both;}

 }

/* Small Screen Block Grid Media Query */
@media only screen and (min-width: 640px) {

  .sm-items-1 > * {width: 100%;}
  .sm-items-1 > *:nth-of-type(n) {clear: none;}
  .sm-items-1 > *:nth-of-type(1n+1) {clear: both;}

  .sm-items-2 > * {width: 50%;}
  .sm-items-2 > *:nth-of-type(n) {clear: none;}
  .sm-items-2 > *:nth-of-type(2n+1) {clear: both;}

  .sm-items-3 > * {width: 33.33333%;}
  .sm-items-3 > *:nth-of-type(n) {clear: none;}
  .sm-items-3 > *:nth-of-type(3n+1) {clear: both;}

  .sm-items-4 > * {width: 25%;}
  .sm-items-4 > *:nth-of-type(n) {clear: none;}
  .sm-items-4 > *:nth-of-type(4n+1) {clear: both;}

  .sm-items-5 > * {width: 20%;}
  .sm-items-5 > *:nth-of-type(n) {clear: none;}
  .sm-items-5 > *:nth-of-type(5n+1) {clear: both;}

  .sm-items-6 > * {width: 16.66667%;}
  .sm-items-6 > *:nth-of-type(n) {clear: none;}
  .sm-items-6 > *:nth-of-type(6n+1) {clear: both;}

  .sm-items-7 > * {width: 14.28571%;}
  .sm-items-7 > *:nth-of-type(n) {clear: none;}
  .sm-items-7 > *:nth-of-type(7n+1) {clear: both;}

  .sm-items-8 > * {width: 12.5%;}
  .sm-items-8 > *:nth-of-type(n) {clear: none;}
  .sm-items-8 > *:nth-of-type(8n+1) {clear: both;}

  .sm-items-9 > * {width: 11.11111%;}
  .sm-items-9 > *:nth-of-type(n) {clear: none;}
  .sm-items-9 > *:nth-of-type(9n+1) {clear: both;}

  .sm-items-10 > * {width: 10%;}
  .sm-items-10 > *:nth-of-type(n) {clear: none;}
  .sm-items-10 > *:nth-of-type(10n+1) {clear: both;}

  .sm-items-11 > * {width: 9.09091%;}
  .sm-items-11 > *:nth-of-type(n) {clear: none;}
  .sm-items-11 > *:nth-of-type(11n+1) {clear: both;}

  .sm-items-12 > * {width: 8.33333%;}
  .sm-items-12 > *:nth-of-type(n) {clear: none;}
  .sm-items-12 > *:nth-of-type(12n+1) {clear: both;}

 }

/* Medium Screen Block Grid Media Query */
@media only screen and (min-width: 768px) {

  .md-items-1 > * {width: 100%;}
  .md-items-1 > *:nth-of-type(n) {clear: none;}
  .md-items-1 > *:nth-of-type(1n+1) {clear: both;}

  .md-items-2 > * {width: 50%;}
  .md-items-2 > *:nth-of-type(n) {clear: none;}
  .md-items-2 > *:nth-of-type(2n+1) {clear: both;}

  .md-items-3 > * {width: 33.33333%;}
  .md-items-3 > *:nth-of-type(n) {clear: none;}
  .md-items-3 > *:nth-of-type(3n+1) {clear: both;}

  .md-items-4 > * {width: 25%;}
  .md-items-4 > *:nth-of-type(n) {clear: none;}
  .md-items-4 > *:nth-of-type(4n+1) {clear: both;}

  .md-items-5 > * {width: 20%;}
  .md-items-5 > *:nth-of-type(n) {clear: none;}
  .md-items-5 > *:nth-of-type(5n+1) {clear: both;}

  .md-items-6 > * {width: 16.66667%;}
  .md-items-6 > *:nth-of-type(n) {clear: none;}
  .md-items-6 > *:nth-of-type(6n+1) {clear: both;}

  .md-items-7 > * {width: 14.28571%;}
  .md-items-7 > *:nth-of-type(n) {clear: none;}
  .md-items-7 > *:nth-of-type(7n+1) {clear: both;}

  .md-items-8 > * {width: 12.5%;}
  .md-items-8 > *:nth-of-type(n) {clear: none;}
  .md-items-8 > *:nth-of-type(8n+1) {clear: both;}

  .md-items-9 > * {width: 11.11111%;}
  .md-items-9 > *:nth-of-type(n) {clear: none;}
  .md-items-9 > *:nth-of-type(9n+1) {clear: both;}

  .md-items-10 > * {width: 10%;}
  .md-items-10 > *:nth-of-type(n) {clear: none;}
  .md-items-10 > *:nth-of-type(10n+1) {clear: both;}

  .md-items-11 > * {width: 9.09091%;}
  .md-items-11 > *:nth-of-type(n) {clear: none;}
  .md-items-11 > *:nth-of-type(11n+1) {clear: both;}

  .md-items-12 > * {width: 8.33333%;}
  .md-items-12 > *:nth-of-type(n) {clear: none;}
  .md-items-12 > *:nth-of-type(12n+1) {clear: both;}

}

/* Large Screen Block Grid Media Query */
@media only screen and (min-width: 1024px) {

  .lg-items-1 > * {width: 100%;}
  .lg-items-1 > *:nth-of-type(n) {clear: none;}
  .lg-items-1 > *:nth-of-type(1n+1) {clear: both;}

  .lg-items-2 > * {width: 50%;}
  .lg-items-2 > *:nth-of-type(n) {clear: none;}
  .lg-items-2 > *:nth-of-type(2n+1) {clear: both;}

  .lg-items-3 > * {width: 33.33333%;}
  .lg-items-3 > *:nth-of-type(n) {clear: none;}
  .lg-items-3 > *:nth-of-type(3n+1) {clear: both;}

  .lg-items-4 > * {width: 25%;}
  .lg-items-4 > *:nth-of-type(n) {clear: none;}
  .lg-items-4 > *:nth-of-type(4n+1) {clear: both;}

  .lg-items-5 > * {width: 20%;}
  .lg-items-5 > *:nth-of-type(n) {clear: none;}
  .lg-items-5 > *:nth-of-type(5n+1) {clear: both;}

  .lg-items-6 > * {width: 16.66667%;}
  .lg-items-6 > *:nth-of-type(n) {clear: none;}
  .lg-items-6 > *:nth-of-type(6n+1) {clear: both;}

  .lg-items-7 > * {width: 14.28571%;}
  .lg-items-7 > *:nth-of-type(n) {clear: none;}
  .lg-items-7 > *:nth-of-type(7n+1) {clear: both;}

  .lg-items-8 > * {width: 12.5%;}
  .lg-items-8 > *:nth-of-type(n) {clear: none;}
  .lg-items-8 > *:nth-of-type(8n+1) {clear: both;}

  .lg-items-9 > * {width: 11.11111%;}
  .lg-items-9 > *:nth-of-type(n) {clear: none;}
  .lg-items-9 > *:nth-of-type(9n+1) {clear: both;}

  .lg-items-10 > * {width: 10%;}
  .lg-items-10 > *:nth-of-type(n) {clear: none;}
  .lg-items-10 > *:nth-of-type(10n+1) {clear: both;}

  .lg-items-11 > * {width: 9.09091%;}
  .lg-items-11 > *:nth-of-type(n) {clear: none;}
  .lg-items-11 > *:nth-of-type(11n+1) {clear: both;}

  .lg-items-12 > * {width: 8.33333%;}
  .lg-items-12 > *:nth-of-type(n) {clear: none;}
  .lg-items-12 > *:nth-of-type(12n+1) {clear: both;}

}

/* X-Large Screen Block Grid Media Query */
@media only screen and (min-width: 1200px) {

  .xl-items-1 > * {width: 100%;}
  .xl-items-1 > *:nth-of-type(n) {clear: none;}
  .xl-items-1 > *:nth-of-type(1n+1) {clear: both;}

  .xl-items-2 > * {width: 50%;}
  .xl-items-2 > *:nth-of-type(n) {clear: none;}
  .xl-items-2 > *:nth-of-type(2n+1) {clear: both;}

  .xl-items-3 > * {width: 33.33333%;}
  .xl-items-3 > *:nth-of-type(n) {clear: none;}
  .xl-items-3 > *:nth-of-type(3n+1) {clear: both;}

  .xl-items-4 > * {width: 25%;}
  .xl-items-4 > *:nth-of-type(n) {clear: none;}
  .xl-items-4 > *:nth-of-type(4n+1) {clear: both;}

  .xl-items-5 > * {width: 20%;}
  .xl-items-5 > *:nth-of-type(n) {clear: none;}
  .xl-items-5 > *:nth-of-type(5n+1) {clear: both;}

  .xl-items-6 > * {width: 16.66667%;}
  .xl-items-6 > *:nth-of-type(n) {clear: none;}
  .xl-items-6 > *:nth-of-type(6n+1) {clear: both;}

  .xl-items-7 > * {width: 14.28571%;}
  .xl-items-7 > *:nth-of-type(n) {clear: none;}
  .xl-items-7 > *:nth-of-type(7n+1) {clear: both;}

  .xl-items-8 > * {width: 12.5%;}
  .xl-items-8 > *:nth-of-type(n) {clear: none;}
  .xl-items-8 > *:nth-of-type(8n+1) {clear: both;}

  .xl-items-9 > * {width: 11.11111%;}
  .xl-items-9 > *:nth-of-type(n) {clear: none;}
  .xl-items-9 > *:nth-of-type(9n+1) {clear: both;}

  .xl-items-10 > * {width: 10%;}
  .xl-items-10 > *:nth-of-type(n) {clear: none;}
  .xl-items-10 > *:nth-of-type(10n+1) {clear: both;}

  .xl-items-11 > * {width: 9.09091%;}
  .xl-items-11 > *:nth-of-type(n) {clear: none;}
  .xl-items-11 > *:nth-of-type(11n+1) {clear: both;}

  .xl-items-12 > * {width: 8.33333%;}
  .xl-items-12 > *:nth-of-type(n) {clear: none;}
  .xl-items-12 > *:nth-of-type(12n+1) {clear: both;}
}

/* Column Classes
--------------------------------------------------------------*/

	.one-half,
	.one-third,
	.one-fourth,
	.one-fifth,
	.one-sixth,
	.two-thirds,
	.two-fourths,
	.two-fifths,
	.two-sixths,
	.three-fourths,
	.three-fifths,
	.three-sixths,
	.four-fifths,
	.four-sixths,
	.five-sixths {
		float: none;
		margin: 0;
		width: 100%;
	}

@media only screen and (min-width: 640px) {

	.one-half,
	.one-third,
	.one-fourth,
	.one-fifth,
	.one-sixth,
	.two-thirds,
	.two-fourths,
	.two-fifths,
	.two-sixths,
	.three-fourths,
	.three-fifths,
	.three-sixths,
	.four-fifths,
	.four-sixths,
	.five-sixths {
		float: left;
		margin-right: 3.125%;
	}
	.one-half,
	.three-sixths,
	.two-fourths {
		width: 48.4375%;
	}
	.one-third,
	.two-sixths,
	.gallery-columns-3 .gallery-item {
		width: 31.25%;
	}
	.four-sixths,
	.two-thirds {
		width: 65.625%;
	}
	.one-fourth,
	.gallery-columns-4 .gallery-item {
		width: 22.65625%;
	}
	.three-fourths {
		width: 74.21875%;
	}
	.one-fifth,
	.gallery-columns-5 .gallery-item {
		width: 17.5%;
	}
	.two-fifths {
		width: 38.125%;
	}
	.three-fifths {
		width: 58.75%;
	}
	.four-fifths {
		width: 79.375%;
	}
	.one-sixth,
	.gallery-columns-6 .gallery-item {
		width: 14.0625%;
	}
	.five-sixths {
		width: 82.8125%;
	}
	.last {
		margin-right: 0;
	}

}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Site Header
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#header-wrap {
	width: 95%;
	max-width: 1520px;
}

.site-branding {
	float: left;
	max-width: 320px;
}

.site-header {
	padding: 2px 0;
	position: fixed;
	width: 100%;
	background: #fff;
	z-index: 10000;
	-webkit-transition: background 0.4s ease-in-out, box-shadow 0.6s ease-in-out;
  		-ms-transition: background 0.4s ease-in-out, box-shadow 0.6s ease-in-out;
  				transition: background 0.4s ease-in-out, box-shadow 0.6s ease-in-out;
}

.site-header,
.site-header.shrink {
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.home .site-header,
.home .site-header.shrink {
	background: #000b21;
}

.site-title {
	margin: 15px 0 0;
	font-size: 40px;
	font-size: 4.0rem;
	font-family: 'Josefin Sans', 'Trebuchet MS', Tahoma, sans-serif;
	font-weight: 600; 
	line-height: 1;
}

.site-title img {
	display: block;
	width: 198px;
	max-width: 198px;
  -webkit-transition: all 0.4s ease-in-out;
  		-ms-transition: all 0.4s ease-in-out;
  				transition: all 0.4s ease-in-out;
}

.shrink .site-title img {
	width: 198px;
	max-width: 198px;
}

@media screen and (min-width: 681px) {

	.site-header {
		box-shadow: none;
	}

	.home .site-header {
		background: transparent;
	}
	
	.site-title img {
		width: 304px;
		max-width: 304px;
	}

}

.site-title a,
.site-title a:visited {
	display: block;
	text-decoration: none;
	color: #fff
}

.site-title a:hover,
.site-title a:focus {
	color: #78b0c5;
}

.site-description {
	margin-bottom: 10px;
	color: #999;
}

.wp-custom-logo .site-title {
	margin: 0;	
}

.wp-custom-logo .site-description,
.shrink .site-description {
	margin: 0;
	text-indent: -9999px;
	font-size: 0;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Navigation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/* Links
--------------------------------------------------------------*/

a,
a:visited {
	color: #5991a6;
	text-decoration: none;
  -webkit-transition: color 0.25s ease-in-out;
  		-ms-transition: color 0.25s ease-in-out;
  				transition: color 0.25s ease-in-out;
}

a:hover, 
a:focus, 
a:active {
	color: #78b0c5;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/* Menus
--------------------------------------------------------------*/

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation #primary-menu {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	padding: 100px 5%;
	background: #fff;
	z-index: -1;
	opacity: 0;
	visibility: hidden;
	overflow-y: scroll;
	-webkit-font-smoothing: antialiased;
	-webkit-transform: translateY(-100%);
					transform: translateY(-100%);
	-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.1s 0.5s, visibility 0s 0.5s;
					transition: transform 0.5s ease-in-out, opacity 0.1s 0.5s, visibility 0s 0.5s;
}

.home .main-navigation #primary-menu {
	background: #000b21;
}

.main-navigation li {
	position: relative;
}

.main-navigation ul a,
.main-navigation ul a:visited {
	display: block;
	padding: 15px 0;
	font-family: 'Arvo', Georgia, Times, 'Times New Roman', serif;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 400;
/*	font-size: 13px;
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: uppercase; */
	text-decoration: none;
	text-align: center;
	line-height: 1;
	color: #0c4e97;
	opacity: 0;
  -webkit-transition: all 0.25s ease-in-out;
		  -ms-transition: all 0.25s ease-in-out;
				  transition: all 0.25s ease-in-out;
}

.main-navigation ul .rtl,
.widget_nav_menu ul .rtl {
	margin-top: -4px;
	direction: rtl;
}

.main-navigation ul .rtl a,
.widget_nav_menu ul .rtl a {
	font-family: 'Noto Sans', cursive;
	font-weight: 400;
	font-size: 22px;
	font-size: 2.2rem;
}


.main-navigation ul .current-menu-item > a,
.main-navigation ul a:hover,
.main-navigation ul a:focus {
	color: #5991a6;
}

.home .main-navigation ul a,
.home .main-navigation ul a:visited {
	color: #fff;
}

.home .main-navigation ul .current-menu-item > a,
.home .main-navigation ul a:hover,
.home .main-navigation ul a:focus {
	color: #87bfd4;
}

.main-navigation ul ul,
.main-navigation ul ul li > a,
.main-navigation ul ul li > button,
.main-navigation ul ul ul,
.main-navigation ul ul ul > li > a,
.main-navigation ul ul ul > li > button {
	display: none;
}

.main-navigation ul ul.toggled-on,
.main-navigation ul ul.toggled-on > li > a,
.main-navigation ul ul.toggled-on > li > button,
.main-navigation ul ul ul.toggled-on,
.main-navigation ul ul ul.toggled-on > li > a,
.main-navigation ul ul ul.toggled-on > li > button {
	display: block;
}

/* Small Menu Toggles */

.main-navigation.toggled-on {
	margin-right: 30px;
}

.menu-toggle {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	border-radius: 0;
	padding: 0;
	background: #5991a6;
	animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {

  0% {
    opacity: .4;
  }
  100% {
    opacity: 1;
  }
  
/*  0% {
    background-color: rgba(115, 171, 192, .2);
  }
  100% {
    background-color: rgba(115, 171, 192, .7);
  }
*/
}

.menu-toggle,
.shrink .menu-toggle {
	width: 70px;
	height: 70px;
  -webkit-transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
  		-ms-transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
  				transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
}

.menu-toggle span {
  display: block;
  width: 41px;
  height: 4px;
  margin: 7px auto;
  position: relative;
  background: #fff; /* #0c4e97 */
  border-radius: 0;
  z-index: 1;
  transform-origin: 7px 0px;
  -webkit-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease, margin 0.1s ease-in-out;
	    -ms-transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease, margin 0.1s ease-in-out;
			    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease, margin 0.1s ease-in-out;
}

.menu-toggle:hover span,
.main-navigation.toggled-on .menu-toggle span {
  margin: 10px auto;
}

.home .menu-toggle {
	background: #5991a6; /* #000b21 */
}

.home .menu-toggle span {
	background: #fff;
}

.menu-toggle span.top {
  transform-origin: 0% 0%;
}

.menu-toggle span.bottom {
  transform-origin: 0% 100%;
}

.main-navigation.toggled-on .menu-toggle span.top {
  opacity: 1;
  transform: rotate(45deg) translate(5px, -5px); /* 3px, -7px */
}

.main-navigation.toggled-on .menu-toggle span.middle {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

.main-navigation.toggled-on .menu-toggle span.bottom {
  transform: rotate(-45deg) translate(5px, 5px); /* 3px, 7px */
}

.main-navigation.toggled-on #primary-menu {
	background: #fff;
	opacity: 1;
	visibility: visible;
	-webkit-transform: translateY(0%);
					transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.5s ease-in-out;
					transition: transform 0.5s ease-in-out;
}

.home .main-navigation.toggled-on #primary-menu {
	background: #000b21;
}

.dropdown-toggle {
  position: absolute;
  background: transparent;
  border: none;
  border-radius: 0;
  top: 0;
  right: 0;
  color: #0c4e97;
  font-weight: 700;
  font-size: 18px;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  line-height: 48px;
}

.home .dropdown-toggle {
  color: #fff;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	color: #5991a6;	
}

.home .dropdown-toggle:hover,
.home .dropdown-toggle:focus  {
	color: #87bfd4;
}

.main-navigation.toggled-on > div > ul a {
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 500;
	opacity: 1;
}

.main-navigation.toggled-on > div > ul .sub-menu a {
	font-size: 18px;
	font-size: 1.8rem;
}

@media screen and (min-width: 681px) {

	.menu-toggle {
		width: 105px;
		height: 105px;
	}

	.main-navigation.toggled-on > div > ul a {
		font-size: 30px;
		font-size: 3.0rem;
	}

	.dropdown-toggle,
	.main-navigation.toggled-on > div > ul .sub-menu a {
		font-size: 24px;
		font-size: 2.4rem;
	}

	.dropdown-toggle {
		width: 54px;
	  height: 54px;
	  line-height: 54px;
	}

}

@media screen and (min-width: 769px) {

	.main-navigation.toggled-on > div > ul a {
		font-size: 40px;
		font-size: 4.0rem;
	}

	.dropdown-toggle,
	.main-navigation.toggled-on > div > ul .sub-menu a {
		font-size: 32px;
		font-size: 3.2rem;
	}

	.dropdown-toggle {
		width: 62px;
	  height: 62px;
	  line-height: 62px;
	}

}

/* Full Sized Menu */
@media screen and (min-width: 1280px) {

	.menu-toggle,
	.dropdown-toggle,
	.main-navigation ul ul.toggled-on > li > button,
	.main-navigation ul ul ul.toggled-on > li > button {
		display: none;
	}

	.main-navigation {
		clear: none;
		float: right;
		width: auto;
	}

	.main-navigation #primary-menu {
		display: block;
		position: relative;
		width: auto;
		height: auto;
		padding: 0;
		background: transparent;
		z-index: +1;
		opacity: 1;
		visibility: visible;
		overflow-y: visible;
	}

	.main-navigation li {
		float: left;
	}

	.main-navigation ul a,
	.main-navigation ul a:visited {
		padding: 0 15px;
		text-align: left;
		opacity: 1;
	}

	#primary-menu > li > a {
		line-height: 120px; /* Middle: 101px | Baseline: 120px (was 140px for TSI Logo) */
		height: 101px;
	  -webkit-transition: all 0.4s ease-in-out;
	  		-ms-transition: all 0.4s ease-in-out;
	  				transition: all 0.4s ease-in-out;
		
	}

	.shrink #primary-menu > li > a {
		line-height: 66px; /* Middle: 66px | Baseline: 88px */
		height: 66px;		
	}

	.main-navigation ul ul li > a,
	.main-navigation ul ul ul > li > a {
		display: block;
	}
	.main-navigation ul ul {
		display: block;
		position: absolute;
		top: 100%;
		left: -9999px;
		float: left;
		padding: 5px 0;
		width: 170px;
		background: #fff;
		border-radius: 3px;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
		z-index: 99999;
	}

	.main-navigation ul ul:before {
		display: block;
		position: absolute;
	  left: 25px;
	  top: -5px;
	  content: " ";
	  width: 10px;
	  height: 10px;
	  background: #fff;
	  -webkit-transform: rotate(45deg);
	  		-ms-transform: rotate(45deg);
	  				transform: rotate(45deg);
	}

	.main-navigation ul ul a {
		width: 170px;
		padding: 15px;
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li:focus > ul {
		left: 0;
	}

	.main-navigation ul ul ul {
		display: block;
		position: absolute;
		width: 171px;
		left: -9999px;
		top: -5px;
	}

	.main-navigation ul ul ul:before {
	  left: -5px;
	  top: 22px;
	  border-left: 1px solid rgba(0, 0, 0, 0.1);
	  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li:focus > ul {
		left: 170px;
	}

	.home .main-navigation ul ul a,
	.home .main-navigation ul ul a:visited,
	.home .main-navigation ul ul ul a,
	.home .main-navigation ul ul ul a:visited,
	.main-navigation ul ul a,
	.main-navigation ul ul a:visited,
	.main-navigation ul ul ul a,
	.main-navigation ul ul ul a:visited {
		color: #0c4e97;
	}

	.home .main-navigation ul ul a:hover,
	.home .main-navigation ul ul a:focus,
	.home .main-navigation ul ul ul a:hover,
	.home .main-navigation ul ul ul a:focus,
	.main-navigation ul ul a:hover,
	.main-navigation ul ul a:focus,
	.main-navigation ul ul ul a:hover,
	.main-navigation ul ul ul a:focus {
		color: #5991a6;
	}

}

@media screen and (min-width: 1348px) {

	.main-navigation ul a,
	.main-navigation ul a:visited {
		padding: 0 20px;
	}

}

/* --- Post Navigation --- */
 
.posts-navigation,
.post-navigation {
	margin: 30px 0;
	padding-top: 45px;
	overflow: hidden;
}

.post-navigation {
	border-top: 1px solid #b6b6b6;
}

.previous-post,
.next-post {
	margin-bottom: 20px;
	text-align: center;
}

.nav-label {
	position: relative;
	font-size: 14px;
	font-size: 1.4rem;
	text-transform: uppercase;
	color: #343434;
}

.nav-link {
	position: relative;
	font-size: 18px;
	font-size: 1.8rem;
	font-family: 'Arvo', Georgia, Times, 'Times New Roman', serif;
	color: #0c4e97;
}

.nav-link:hover,
.nav-link:active,
.nav-link:focus {
	color: #68a0b5;
}

@media only screen and (min-width: 768px) {
	
	.previous-post  {
		margin-bottom: 0;
		float: left;
		text-align: left;
		width: 50%;
	}

	.next-post {
		margin-bottom: 0;
		float: right;
		text-align: right;
		width: 50%;
	}

}


/* --- Comment Navigation --- */

.site-main .comment-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Page Header
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.page-header {
/*	padding-top: 101px;
	background: url('assets/images/page-header-02.jpg') top center no-repeat;
	min-height: 100vh;
	max-width: 1600px;*/
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Front Page
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.home .site-content {
	padding: 0;
}

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

.frontpage-01 .widget-title,
.frontpage-02 .widget-title,
.frontpage-04 .widget-title,
.frontpage-05 .widget-title,
.frontpage-06 .widget-title {
	margin-bottom: 25px;
	font-family: 'Josefin Sans', 'Trebuchet MS', Tahoma, sans-serif;
	font-size: 36px;
	font-size: 3.6rem;
	text-align: center;
	text-transform: uppercase;
	line-height: 1;
}

.frontpage-02 {
	background: #fff;
	padding: 116px 0 48px;	
}

#frontpage-02-wrap,
#frontpage-03-wrap {
	max-width: 1060px;
}

.frontpage-02 .meet-innovators,
.frontpage-02 .meet-innovators:visited {
	display: block;
	margin-top: 34px;
	text-align: center;
	font-family: 'Josefin Sans', 'Trebuchet MS', Tahoma, sans-serif;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #0c4e97;
}

.frontpage-02 .meet-innovators:hover,
.frontpage-02 .meet-innovators:focus,
.frontpage-02 .meet-innovators:active {
		color: #78b0c5;
}

@media only screen and (min-width: 768px) {
	
	.frontpage-02 .meet-innovators {
		text-align: right;
	}

}

.frontpage-03 {
	background: #fff;
	padding: 62px 0 105px;	
}

.frontpage-03 .widget-title {
	margin-bottom: 28px;
	text-align: center;
	font-size: 24px;
	font-size: 2.4rem;
}

.frontpage-04 {
	
}

.frontpage-05 {
	padding: 75px 0;
}

.frontpage-06 {
	padding: 75px 0;
	background: rgba(89, 145, 166, .16);
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Main Content
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/* Posts & Pages
--------------------------------------------------------------*/

.error404 ul {
	margin: 0 0 0 25px;
}

.page .entry-title,
.archive h1.entry-title,
.book-page-title {
	margin-bottom: 30px;
	font-family: 'Josefin Sans', 'Trebuchet MS', Tahoma, sans-serif;
	font-size: 36px;
	font-size: 3.6rem;
	font-weight: 600;
	text-transform: uppercase;
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 30px;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 40px 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* Author 
--------------------------------------------------------------*/

.author-photo {
	margin-bottom: 30px;
}

.author-photo img {
	display: block;
}

.author-credit {
	font-size: 10px;
	font-size: 1.0rem;
	text-align: right;
}

.author-download {
	display: block;
	margin-top: 15px;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 700;
}

@media only screen and (min-width: 950px) {
	
	.author-photo {
		float: left;
		width: 31.25%;
	}

	.author-bio {
		float: left;
		margin-top: -9px;
		margin-left: 3.125%;
		width: 65.625%;
	}

}


/* Innovators 
--------------------------------------------------------------*/

.innovator-card {
}

.innovator-card-content {
	position: relative;
	overflow: hidden;
	color: #fff;
}

.innovator-image img {
	display: block;
}

.innovator-overlay {
	position: absolute;
	overflow-y: scroll;
	top: 60%;
	left: 0;
	width: 105.75%;
	height: 100%;
	background: rgba(89, 145, 166, .87);
	padding: 0 14.625% 11.75% 11.75%; /* 47px */
	-webkit-transition: all 0.4s ease-in-out;
  		-ms-transition: all 0.4s ease-in-out;
  				transition: all 0.4s ease-in-out;
}

.innovator-card-content:hover .innovator-overlay,
.innovator-overlay:hover {
	top: 0;
}

.innovator-header {
	display: table;
	width: 100%;
	height: 45%;
}

.header-group {
	display: table-cell;
	vertical-align: middle;
}

.inventor {
	margin-bottom: 8px;
	font-family: 'Open Sans', Verdana, Geneva, sans-serif;
	font-size: 14px;
	font-size: 1.4rem;
	color: #fff;
	text-align: center;
}

.inventor:after {
	content: "";
	margin: 8px auto 0;
	display: block;
	width: 220px;
	height:1px;
	border-bottom: 1px solid #fff;
}

.invention {
	margin-bottom: 0;
	font-size: 18px;
	font-size: 1.8rem;
	color: #fff;
	text-align: center;
}

.innovator-description {
	font-size: 14.1px;
	font-size: 1.41rem;
}

.innovator-links {
	margin: 45px auto 0;
	width: 100%;
}

.view-video {
	float: left;
	margin-left: 0 7.2%;
	text-align: right;
}

.view-video .icon {
	margin-right: 7px;
	font-size: 15px;
	font-size: 1.5rem;
}

.read-article .icon {
	margin-right: 5px;
}

.read-article {
	float: right;
	margin-left: 0 7.2%;
}

.view-video,
.read-article,
.view-video:visited,
.read-article:visited {
	width: 42.8%;
	display: block;
	font-size: 12px;
	font-size: 1.2rem;
	color: #eee;
}

.view-video:hover,
.read-article:hover,
.view-video:active,
.read-article:active,
.view-video:focus,
.read-article:focus {
	color: #fff;
}

.innovator-photo-credit {
	font-size: 10px;
	font-size: 1.0rem;
	text-align: right;
}


@media only screen and (min-width: 370px) {

	.invention {
		font-size: 22px;
		font-size: 2.2rem;
	}

	.view-video,
	.read-article,
	.view-video:visited,
	.read-article:visited {
		font-size: 14px;
		font-size: 1.4rem;
	}

}

@media only screen and (min-width: 480px) {

	.innovator-overlay {
		top: 65%;
	}

	.innovator-header {
		height: 39%;
	}

}

@media only screen and (min-width: 768px) {

	.invention {
		font-size: 18px;
		font-size: 1.8rem;
	}

}

@media only screen and (min-width: 1024px) {

	.innovator-overlay {
		top: 60%;
	}

	.innovator-header {
		height: 46%;
	}

	.view-video,
	.read-article,
	.view-video:visited,
	.read-article:visited {
		font-size: 12px;
		font-size: 1.2rem;
	}

}

@media only screen and (min-width: 1280px) {

	.invention {
		font-size: 22px;
		font-size: 2.2rem;
	}

	.innovator-overlay {
		top: 65%;
	}

	.innovator-header {
		height: 39%;
	}

	.view-video,
	.read-article,
	.view-video:visited,
	.read-article:visited {
		font-size: 14px;
		font-size: 1.4rem;
	}

}


/* Press
--------------------------------------------------------------*/

.press-image {
	margin-bottom: 20px;
	position: relative;
}

.press-image img,
.home-press-image img {
	display: block;
}

.press-image:after {
	position: absolute;
	top: 0;
	left: 0;
	content: "Featured";
	font-family: 'Open Sans', Verdana, Geneva, sans-serif;
	font-size: 14px;
	font-size: 1.4rem;
	text-transform: uppercase;
	background: #5991a6;
	color: #fff;
	padding: 0 32px;
}

.featured-press-item .press-meta {
	margin-bottom: 14px;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 1;
	color: #0c4e97;
}

.press-title,
.press-title a {
	margin-bottom: 17px;
	font-size: 26px;
  font-size: 2.6rem;
  color: #0c4e97;
}

.press-title a:hover,
.press-title a:active,
.press-title a:focus {
	color: #78b0c5;
}

.press-item .press-title,
.press-item .press-title a {
	font-size: 22px;
  font-size: 2.2rem;
  line-height: 1.28;
}

.press-read-more {
	display: block;
	text-align: right;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 600;
}

.more-coverage {
	margin-top: 40px;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 300;
	text-transform: uppercase;
	color: #5991a6;
	padding-bottom: 12px;
	border-bottom: 1px solid #b6b6b6;
}

.press-item {
	margin-top: 35px;
	padding-bottom: 25px;
	border-bottom: 1px solid #b6b6b6;
}

.press-item .press-title a .icon {
	margin-left: 20px;
}

.press-item .press-meta {
	margin-bottom: 5px;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1.28;
}

.press-item .press-name:after {
	content: " | ";
}

.home-press-image img {
	margin: 0 auto;
	max-width: 60%;
}

.home-press-details,
.home-press-details .press-read-more {
	text-align: center;
}

.home-press-title {
	margin-bottom: 30px;
	font-family: 'Open Sans', Verdana, Geneva, sans-serif;
	font-size: 19px;
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1.35;
	color: #343434;
}

a.more-press-coverage {
	margin-top: 45px;
	display: block;
	font-family: 'Josefin Sans', 'Trebuchet MS', Tahoma, sans-serif;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
	color: #0c4e97;
}

a.more-press-coverage:visited {
	color: #0c4e97;
}

a.more-press-coverage:hover,
a.more-press-coverage:active,
a.more-press-coverage:focus {
	color: #78b0c5;
}

@media only screen and (min-width: 768px) {
	
	a.more-press-coverage {
		text-align: right;
	}

}

@media only screen and (min-width: 950px) {
	
	.press-image {
		float: left;
		width: 39.84375%;
	}

	.more-coverage {
		margin-top: 88px;
	}

	.press-details.has-image {
		float: left;
		margin-left: 3.125%;
		width: 57.03125%;
	}


	.press-title-area {
		float: left;
		width: 74.21875%;
	}

	.press-item {
		margin-top: 52px;
		padding-bottom: 85px;
	}

	.press-item .press-meta {
		margin-left: 3.125%;
		margin-top:;
		/*margin-bottom: 14px;*/
		float: right;
		width: 22.65625%;
		font-size: 22px;
		font-size: 2.2rem;
	}

	.press-item .press-name,
	.press-item .press-date {
		display: block;
	}

	.press-item .press-name:after {
		content: none;
	}

}


/* Available Languages
--------------------------------------------------------------*/

.available-language {
	margin-top: 20px;
	padding-bottom: 20px;
  border-bottom: 1px solid #b6b6b6;
}

.language-image,
.language-image img {
	position: relative;
	display: block;
}

.language-image {
	margin-bottom: 10px;
	vertical-align: top;
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

@media only screen and (min-width: 640px) {
	.language-image {
		margin-bottom: 0;
	}
}

.language-label {
	position: relative;
	font-size: 14px;
	font-size: 1.4rem;
	text-transform: uppercase;
	color: #343434;
}

.language-title {
	margin-bottom: 0;
}

.language-publisher {
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
}

.language-title,
.language-publisher {
	margin-top: -5px;
}

.language-publisher .icon-right-arrow {
	font-size: 16px;
	font-size: 1.6rem;
}

.language-overlay {
	position: absolute;
	overflow: hidden;
	opacity: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	-webkit-transition: all 0.4s ease-in-out;
  		-ms-transition: all 0.4s ease-in-out;
  				transition: all 0.4s ease-in-out;
}

.zoom-icon {
	position: absolute;
	width: 64px;
	height: 64px;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	background:rgba(89, 145, 166, .5);
	background-position: center center;
	background-repeat: no-repeat;
	color: #ffffff;
	text-align: center;
	line-height: 56px;
	border: 2px solid #ffffff;
	border-radius: 50%;
}

.zoom-icon .dashicons {
	display: initial;
	font-size: 30px;
	width: 30px;
	height: 30px;
	vertical-align: middle;
}

.language-overlay:hover {
	opacity: 1;
}



/* Articles
--------------------------------------------------------------*/

/* Article Archive */

.authors-articles {
	margin-top: 37px;
}

.archive .article {
	margin-top: 35px;
	padding-bottom: 25px;
	border-bottom: 1px solid #b6b6b6;	
}

.archive .article-meta {
	margin-bottom: 5px;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1.28;
}

.article-meta .article-publication:after {
	content: " | ";
}

.archive .article .entry-title,
.archive .article .entry-title a {
	margin-bottom: 17px;
	font-size: 22px;
  font-size: 2.2rem;
  line-height: 1.28;
  color: #0c4e97;
}

.archive .article .entry-title a:hover,
.archive .article .entry-title a:active,
.archive .article .entry-title a:focus {
	color: #78b0c5;
}


.archive .article .entry-subtitle {
    font-size: 20px;
    font-size: 2.0rem;
    line-height: 1.27;
}

.archive .article .entry-title a .icon {
    margin-left: 20px;
}

@media only screen and (min-width: 950px) {

	.archive .article {
		margin-top: 52px;
		padding-bottom: 85px;
	}

	.archive .article .article-meta {
		margin-left: 3.125%;
		float: right;
		width: 22.65625%;
		font-size: 22px;
		font-size: 2.2rem;
	}

	.article-meta .article-publication,
	.article-meta .article-date {
		display: block;
	}

	.article-meta .article-publication:after {
		content: none;
	}

	.archive .article .entry-header {
		float: left;
		width: 74.21875%;
	}

}

/* Single Article */

.article .featured-image {
	margin-bottom: 16px;
}

.article .featured-image img {
	display: none;
}

.article .entry-meta {
	margin-bottom: 8px;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 300;
	color: #0c4e97;
}

.article .publication-name {
	font-weight: 400;
}

.article h1 .entry-title {
	margin-bottom: 17px;
	font-size: 36px;
	font-size: 3.6rem;
}

.article .entry-subtitle {
	margin-top: -17px;
	margin-bottom: 20px;
	font-size: 26px;
	font-size: 2.6rem;
	line-height: 1.27;
  color: #517ba9;
}

.article .entry-author {
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 700;
	color: #0c4e97;
}

.article .entry-content {
	letter-spacing: -1.15px;
}


/* Books
--------------------------------------------------------------*/

/* Books Archive */

.authors-books {
	margin-top: 55px;
}

.authors-books .entry-header {
	text-align: center;
}

.authors-books .entry-title {
	margin-bottom: 22px;
	height: 36px;
	font-family: 'Open Sans', Verdana, Geneva, sans-serif;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 600;
	color: #343434;
}

.authors-books .book-cover img {
	display: block;
	margin-left: -20px;
	margin-bottom: 45px;
}

.authors-books .book-more-info {
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
}

/* Single Book */

.single-book .book {
	margin-top: 34px;
}

.book-subtitle {
  font-size: 26px;
  font-size: 2.6rem;
  color: #517ba9;
}

.book-image-button {
	margin-bottom: 56px;
	text-align: center;
}

.book-details {

}

.book-image {
	margin-bottom: 63px;
}

.book-image img {
	display: block;
	margin-left: -12%;
}

@media only screen and (min-width: 950px) {
	
	.book-image-button {
		float: right;
		width: 33.3333%;
	}

	.book-details {
		float: left;
		width: 66.6666%;
	}

}


/* Arabic Page
--------------------------------------------------------------*/

	.page-template-page_arabic .site-content {
		padding: 0;
	}
	
	.page-template-page_arabic #content-wrap {
		width: 100%;
		max-width: 100%;
	}
	
	.arabic-page-01 .widget-title,
	.arabic-page-02 .widget-title,
	.arabic-page-04 .widget-title,
	.arabic-page-05 .widget-title,
	.arabic-page-06 .widget-title {
		margin-bottom: 25px;
		font-family: 'Noto Sans', cursive;
		font-size: 36px;
		font-size: 3.6rem;
		text-align: center;
		text-transform: uppercase;
		line-height: 1;
	}
	
	.arabic-page-01 .mc-email-label {
		display: none !important;
	}

	.arabic-page-02 {
		direction: rtl;
		font-family: 'Noto Sans', cursive;
		background: #fff;
		padding: 80px 0 55px;
	}
	
	#arabic-page-02-wrap,
	#arabic-page-03-wrap {
		max-width: 1060px;
	}
	
	.arabic-page-02 .meet-innovators,
	.arabic-page-02 .meet-innovators:visited {
		display: block;
		margin-top: 34px;
		text-align: left;
		font-size: 22px;
		font-size: 2.2rem;
		font-weight: 600;
		color: #0c4e97;
	}
	
	.arabic-page-02 .meet-innovators:hover,
	.arabic-page-02 .meet-innovators:focus,
	.arabic-page-02 .meet-innovators:active {
			color: #78b0c5;
	}
	
	.arabic-page-03 {
		background: #fff;
		padding: 55px 0 105px;	
	}
	
	.arabic-page-03 .widget-title {
		margin-bottom: 28px;
		text-align: center;
		font-size: 30px;
		font-size: 3.0rem;
	}
	
	.arabic-page-04 {
		
	}
	
	.arabic-page-05 {
		padding: 75px 0;
	}
	
	.arabic-page-06 {
		padding: 75px 0;
		background: rgba(89, 145, 166, .16);
	}


/* Comments
--------------------------------------------------------------*/

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Widgets
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.widget {

}

.widget ul, ol {
	margin: 0;
	list-style: none;
}

.widget li > ul,
.widget li > ol {
	margin-bottom: 0;
	margin-left: 10px;
}

.widget li {
	margin-left: 10px;
	margin-bottom: 5.8px;
}

.widget li:last-child {
	margin-bottom: 0;
}

.widget select {
	max-width: 100%;
}

.widget-title {
	font-size: 28px;
	font-size: 2.8rem;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Footer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.before-footer {
	padding: 80px 0;
	background: #5991a6;
	color: #fff;
}

.site-footer {
	padding: 55px 0;
	background: #fff;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: 600;
	text-transform: uppercase;
}

.site-footer a, 
.site-footer a:visited {
	color: #343434;
}

.site-footer a:hover,
.site-footer a:focus, 
.site-footer a:active {
	color: #78b0c5;
}

.footer-widgets {
	margin: 0 auto;
	width: 100%;
	max-width: 400px;
}

.footer-01,
.footer-02,
.footer-03,
.site-info {
	margin-bottom: 40px;
	float: left;
	width: 100%;
	text-align: center;
}

.footer-01 p {
	margin: 0 0 0 30px;
}

.footer-01 img {
	margin: 0 auto;
	display: block;
}

.footer-02 {
	font-weight: 700;
}

.footer-02 li {
	margin-left: 0;
}

.mobile-break {
	display: block;
}


@media only screen and (min-width: 461px) {

	.footer-01 {
		width: 193px;
	}

	.footer-01 p {
		margin: 0;
	}

	/* .footer-02 {
		margin-left: 27px;
		width: 180px;
		text-align: left;
	} */

	.mobile-break {
		display: inline-block;
	}

}

@media only screen and (min-width: 691px) {

	.footer-widgets {
		width: 100%;
		max-width: 440px;
	}

	.footer-02 {
		float: left;
		width: 200px;
	}

	.footer-03 {
		margin-top: 186px;
		float: left;
		width: 200px;
	}

}

@media only screen and (min-width: 1161px) {

	.footer-widgets {
		margin: 0;
		float: left;
	}

	.footer-02 {
		text-align: left;
	}

	.site-info {
		margin-left: 40px;
		float: right;
		width: auto;
		/* max-height: 188px; */
	}

	.copyright {
		margin-top: 200px;
		text-align: right;
	}

}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Media
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------------------------*/

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.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%;
}

.gallery-caption {
	display: block;
}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
•• Plugins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/* Jetpack
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	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;
}

div.sharedaddy:before {
	margin-top: 46px;
	display: block;
	content: "";
	border-top: 1px solid #b6b6b6;
	width: 138px;
}

div.sharedaddy h3.sd-title {
  margin: 50px 20px 10px 0;
  float: left;
  font-family: 'Open Sans', Verdana, Geneva, sans-serif;
  font-size: 22px;
  font-size: 2.2rem;
	font-weight: 400;
}

div.sharedaddy h3.sd-title:before {
  display: none;
}

div.sharedaddy .sd-content {
	margin-top: 37px;
	float: left;
}


/* Yoast SEO
--------------------------------------------------------------*/


/* ARI Fancybox
--------------------------------------------------------------*/

.fancybox-slide>video {
	padding: 0;
	max-width: 80vw;
	background-color: #000;
}


/* Simple Social Icons
--------------------------------------------------------------*/

.footer-widgets .simple-social-icons ul li {
  margin: 0 7.5px !important;
}


/* Media Player
--------------------------------------------------------------*/

.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body {
	background: #010c20 !important;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
	background: #6590a4 !important;
}


/* Twitter Feed
--------------------------------------------------------------*/

.twitter-feed {
	padding-top: 40px;
}

.latest-tweets {
	display: block;
}

.twitter-profile {
	margin-top: 40px;
	text-align: center;
}

.twitter-image {
  border-radius: 50%;
}

.twitter-image img {
  border-radius: 50%;
}

a.twitter-handle {
	margin-top: 5px;
	display: block;
  font-size: 18px;
  font-size: 1.8rem;
  color: #343434;
}

a.twitter-follow {
	margin-top: 4px;
	display: block;
	font-family: 'Josefin Sans', 'Trebuchet MS', Tahoma, sans-serif;
  font-size: 22px;
  font-size: 2.2rem;
  text-transform: uppercase;
}

a.twitter-follow,
a.twitter-follow:visited {
  color: #0c4e97;
}

a.twitter-follow:hover,
a.twitter-follow:active,
a.twitter-follow:focus {
  color: #78b0c5;
}

a.twitter-follow .icon {
	margin-left: 10px;
}

@media only screen and (min-width: 768px) {
	
	.latest-tweets {
		float: left;
		width: 48.4375%;
	}

	.twitter-profile {
		margin-top: 0;
		margin-left: 3.125%;
		float: left;
		width: 48.4375%;
	}

}

@media only screen and (min-width: 1220px) {

	.twitter-profile {
		margin-top: 40px;
		text-align: left;
	}

	.twitter-image {
	  float: left;
	  margin-right: 30px;
	}

	.twitter-info {
	  float: left;
	}

}

blockquote.twitter-tweet {
  color: #34344C;
  font-family: 'Open Sans', Verdana, Geneva, sans-serif;
  font-size: 18px;
  font-size: 1.8rem;
  /*text-align: left;*/
}


/* Ninja Forms
--------------------------------------------------------------*/

.nf-form-fields-required,
.nf-after-field .nf-error-msg {
	font-size: 14px;
	font-size: 1.4rem;
}

.nf-form-fields-required {
	margin-bottom: 10px;
}

.nf-error-field-errors {
	font-size: 18px;
	font-size: 1.8rem;
}

.nf-field-label label {
  font-weight: 600 !important;
}

.label-above .nf-field-label {
  margin-bottom: 5px !important;
}


/* MailChimp for WP
--------------------------------------------------------------*/

.mc-email-form {
	margin: 0 auto;
	width: 100%;
	max-width: 350px;
	font-family: 'Open Sans', Verdana, Geneva, sans-serif;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 400;
	line-height: 1;
	text-align: center;
}

.mc-email-label {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.6;
}

.mc-email-label span.arabic-label {
	display: none;
}

.page-template-page_arabic .mc-email-label span.english-label {
	display: none;
}

.page-template-page_arabic .mc-email-label span.arabic-label {
	display: block;
	direction: rtl;
	font-family: 'Noto Sans', cursive;
}

.arabic-page-01 .mc-email-label,
.frontpage-01 .mc-email-label {
	display: none!important;
}

.mc-email-input {
	display: block;
	margin: 20px auto 0;
	position: relative;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
	width: 288px;
}

/* Small labels beneath form */

/* .mc-email-input:after {
	display: block;
	content: "Enter Your Email";
	color: rgba(255,255,255,.75);
	margin-top: 6px;
	text-align: center;
	font-size: 14px;
	text-transform: uppercase;
}

.page-template-page_arabic .mc-email-input:after {
	direction: rtl;
	font-family: 'Noto Sans', cursive;
	content: "أدخل بريدك الإلكتروني";
} */

.mc-email-input input[type="email"] {
	background: transparent;
	border: 1px solid #ebebeb;
	border-radius: 0;
	padding: 12px 48px 12px 12px;
	color: #fff;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 400;
	line-height: 1;
	width: 100%;
	-webkit-transition: all 0.3s ease-in-out;
  		-ms-transition: all 0.3s ease-in-out;
  				transition: all 0.3s ease-in-out;
}

.mc-email-input input.arabic-input[type="email"] {
	display: none;
}

.page-template-page_arabic .mc-email-input input.english-input[type="email"] {
	display: none;
}

.page-template-page_arabic .mc-email-input input.arabic-input[type="email"] {
	display: block;
	direction: rtl;
	font-family: 'Noto Sans', cursive;
	padding: 12px 12px 12px 48px;
}

.arabic-page-01 .mc-email-input,
.frontpage-01 .mc-email-input {
	margin: 0 !important;
	width: 100%;
}

.mc-email-input input[type="email"]:focus {
	background: rgba(0, 0, 0, .5);
	border-color: #fff;
}

.mc-email-input input[type="email"]::placeholder {
	color: #fff;
}

.mc-email-button {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 0;
	background: transparent;
	border: none;
	font-size: 30px;
	font-size: 3.0rem;
	color: #ebebeb;
}

.page-template-page_arabic .mc-email-button {
	left: 10px;
	right: auto;
}

.page-template-page_arabic .icon-circle-right-arrow:before {
	content: "\e909";
}

.mc-email-button:hover  {
	background: transparent;
	color: #fff;
}

.mc4wp-response {
  clear: both;
  display: block;
  padding-top: 10px;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
}

@media only screen and (min-width: 461px) { 

	.mc-email-form {
		max-width: 480px;
	}

	.mc-email-label {
		font-size: 18px;
		font-size: 1.8rem;
	}

	.mc-email-label span {
		display: inline-block;
	}

	.before-footer .mc-email-input {
		width: 410px;
	}

}

@media only screen and (min-width: 900px) { 

	.mc-email-form {
		margin: 0;
		max-width: 100%;
	}

	.before-footer .mc-email-label {
		float: left;
		padding-right: 40px;
		line-height: 50px;
		font-size: 18px;
		font-size: 1.8rem;
	}

	.page-template-page_arabic .before-footer .mc-email-label {
		float: right;
		padding-right: 0;
		padding-left: 40px;
	}

	.before-footer .mc-email-input {
		margin: 0;
		float: left;
		width: 354px;
	}

	.page-template-page_arabic .before-footer .mc-email-input {
		float: right;
	}

	.arabic-page-01 .mc-email-input,
	.frontpage-01 .mc-email-input {
		margin: 0 !important;
		width: 354px;
	}

}
