@font-face {
    font-family: "Helvetica Neue";
    src: url(/wp-content/themes/collections_trust/fonts/HelveticaNeue.ttf);
}

@font-face {
    font-family: "Helvetica Neue Light";
    src: url(/wp-content/themes/collections_trust/fonts/HelveticaNeue-Light.ttf);
    font-weight: lighter;
}
@font-face {
    font-family: "Helvetica Neue Bold";
    src: url("/wp-content/themes/collections_trust/fonts/HelveticaNeue-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: "Helvetica Neue Italic";
    src: url("/wp-content/themes/collections_trust/fonts/HelveticaNeue-Italic.ttf");
    font-style: italic;
}

html {
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
  background: #fff;
}

.lg-inner{
	width:80% !important;
}

#scrolltotop{
	position:fixed;
	background-color:#000;
	text-align:center;
	width:40px;
	height:40px;
	right:15px;
	bottom:10px;
	opacity:0.6;
	display:none
}
#scrolltotop a{
	background-color:none;
	color:#FFF;
	line-height:40px;
	font-weight:bold;
}

#spectrum-procedures-container{
	max-height:150px;
	overflow:auto;
	border:1px solid #E1E1E1;
	border-top:none;
	padding-left:10px;
	position:relative;
	top:-0.5em;
}


.lg-sub-html{
	left:80% !important;
	text-align:left !important;
	bottom:0 !important;
	top: 0 !important;
	overflow-y:auto !important;
	background-color:#333 !important;
	padding-top:5% !important;
	z-index:1000 !important;
	background-image:url("../img/EU_made_with.png");
	background-repeat:no-repeat;
	background-position:95% 98%;
	background-size:120px auto;
}

.lg-actions .lg-next{
	right:21% !important;
}

.lg-sub-html a{
	color:#FFF;
	text-decoration:underline;
	font-weight:bold;

}
.software-info{
	background-color: rgba(178, 229, 230, 0.4);
	padding:10px;
	word-break:break-all;
}

.software-thumb{

	background-color:#FFF;

	text-align:center;
}
#sub-categories label{
	color:#51567a;
}
#sub-categories label.selected{
	color:#000;
	font-family: "Helvetica Neue Bold";
	padding-left:30px;
	position:relative;
}

#sub-categories label.selected:before{
	content:"\2713 ";
	color:#01aaad;
	display:block;
	position:absolute;
	left:0px;
	font-size:1.2em;
}
#sub-categories legend h5{
		border-bottom:1px solid #E1E1E1;
}

#sub-categories legend{

	padding-top:2em !important;
	margin-bottom:0.5em !important;
}

fieldset{
	margin:0 !important;
	padding:0;
}

.post-type-archive-software article.type-software .software-thumb{
	margin-left:15px;
	max-width:120px;
}

.post-type-archive-software article.type-software .software-thumb img{
	width:100%;
	height:auto;
}

.software-sidebar h6{
	margin:10px 0 0 0;
	font-family: "Helvetica Neue Bold";
}

.software-category h5{
	margin: 1em 0 0 0;
}

.software-category p{
	margin:0 0 0.5em 0;
}



#widthstrip{
	height:0px;
	width:100%;
	overflow:hidden;
	margin-top:10px;
	background-color:#444;
}
#widthstrip-content{
	width:150%;
	height:120px;
}
#widthstrip img{
	height:120px;
}

#page-promo-list #secondary{
	display:none;
}

.woocommerce #secondary{
	display:none;
}

.resource-promo{
	height:120px;
	background-color:#51567a;
	color:#FFF;
    padding: 10px 10px 10px 20px;
	margin-bottom:10px;
}

.resource-promo a{
	color:#FFF;
}
.resource-promo p {
    font-size: 1.2em;
}
#page-promo-list a:hover {
    text-decoration:none;
}
#page-promo-list a h2:hover {
    color:#01aaad
}

.resource-promo h2{
	margin-bottom:0.3em;
    font-size: 3.8rem;
}

.resource-promo a:hover p{
	text-decoration:none;
}
.resource-promo-image{
	height:120px;
	width:200px;
	float:right;
	overflow:hidden;
    margin-left: 15px;
}
.resource-promo-image img{
	position:relative;
	top:-25%;
	left:-25%;
	width:150%;
	max-width:none;
}

.printlink{
    color: #fff !important;
    font-size: 80%;
    background-color: #51567a !important;
    width: auto !important;
    height: 35px;
    text-indent: 0 !important;
    padding: 0px 20px !important;
    margin: 0 0 10px 0 !important;
    position: relative;
    top: -0.5em;
    display: block;
    /*
	color:transparent !important;
	border-radius:50%;
	width:35px !important;
	text-indent:-9000px !important;
	padding:0px !important;
	margin:0px !important;
	background-image:url(../img/print.png);
	background-repeat:no-repeat;
	background-position:center center;
	background-size:60% 60%;
	*/
}

a.printlink:hover {
    text-decoration:none !important;
}

p > a.printlink{
	float:right;
	top:-3em;
}

.resources-sidebar a, .three.columns a.printlink, p > a.printlink{
	background-color:#51567a !important;
}

.cookie small{
	color:#DDD;
	position:relative;
	top:1.5em;
	display:block;
	margin-left:1em;
}

.textwidget .printlink{
	font-size:100%;
	text-align:right;
}

.woocommerce-ordering,.woocommerce-breadcrumb,.woocommerce-tabs,.wc-tabs,.woocommerce-Tabs-panel{
	display:none !important;
}

.cart_totals h2{
	display:none;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
	height:55px !important;
	line-height:0.8 !important;
}

.related{
	clear:both;
}

.woocommerce img.wp-post-image{
	border:1px solid #AAA;
}

#checkout_accept_terms_field .optional {
  display: none;
}

#emailmodal{
	position:fixed;
	width:500px;
	background-color:#FFF;
	left:40%;
	top:120px;
	box-shadow:2px 2px 5px #000;
	padding:10px;
}

#emailmodal label,#emailmodal p{
	clear:both;
}

#emailmodal p{
	margin:0;
}

#emailmodal small{
	display:block;
}

.mailinglist{
	padding-left:35%;
}

.buttonrow{
	text-align:center;
	padding-top:10px;
}

#emailmodal label input{
	width:65%;
	float:right;
}

#email-signup{
	background-color:#51567a;
	padding:10px 0 0 0;
	color:#FFF;
	text-align:center;
}
#email-signup form{
	position:relative;
	top:5px;
	margin:0;
}
#email-signup label{
	display:inline-block;
}

#email-signup input{
	background-color:transparent;
	padding-bottom:0;
}

.checker{
	position:absolute;
	left:-90000px;
	top:-90000px;
}

#email-signup input[type='submit']{
	border: 1px solid #FFF;
	position:relative;
	left:3px;
	top:-2px;
}

#modalcancel{
	background-color:#AAA;
	margin-left:10px;
}

.gallery-columns-4 figure.gallery-item{
	width:24%;
	margin:0 1% 1% 0;
}

.gallery-item{
	float:left;
}

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

main{
	padding-bottom:2em;
}

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

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

[hidden],
template {
  display: none;
}

.end {
    height:20px;
}

a {
  background-color: transparent;
  text-decoration:none;
}

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

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

b,
strong {
  font-weight: bold;
  font-family: "Helvetica Neue";
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: none !important;
  color: #018183;
}

small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
    max-width:100%;
}

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

figure {
  margin: 1em 40px;
}

figure#accreditation-logo{
	float:right;
	width:100px;
	display:block;
	margin:0 10px 0 20px;
	padding:0;
}
.archive-description #accreditation-logo{
	margin-right:3%;
}
#accreditation-logo img{
	max-width:100%;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  clear:both;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

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; /* 1 */
  padding: 0; /* 2 */
}

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

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
    height: 50px;
    width: 450px;
    padding: 6px 10px 6px 0;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    margin-bottom:0;
    font-size: 20px;
    font-family: "Helvetica Neue Light";
    color: #fff;
}

input[type="search"]:focus {
    border-bottom:1px solid #fff !important;
    border-top:0 !important;
    border-left:0 !important;
    border-right:0 !important;
}

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: 0.35em 0.625em 0.75em;
}

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

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

td,
th {
  padding: 0;
}

.pull-left {
    float:left;
}

.pull-right{
    float:right !important;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box; }
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }

@media (min-width: 400px) {
  .container {
    width: 100%;
    padding: 0; }
}

@media (min-width: 768px) {
    .five.columns                   { width: 39.3333333333%; }
    .six.columns                    { width: 48%;            }
}

@media (max-width: 767px) {
    .five.columns { width: 88%; }
    .six.columns { width: 100%; margin-left:0; margin-bottom:30px; }
    .five.columns .overlay:after { width:70%; }
}

@media (min-width: 550px) {
  .container {
    width: 100%; }
  .column,
  .columns {
    margin-left: 4%; }
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }


  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

  .one-third.column               { width: 30.6666666667%; }
  .two-thirds.column              { width: 65.3333333333%; }

  .one-half.column                { width: 48%; }

  /* Offsets */
  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}

html {
  font-size: 62.5%; }
body {
  font-size: 1.6em;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-family: "Helvetica Neue Light", Helvetica, Arial, sans-serif;
  color: #000; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 300; }
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: 0.5px;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: 0.5px; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: 0.5px; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: 0.5px; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: 0.5px; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0.5px; }

/* Larger than phablet */
@media (min-width: 550px) {
  h1 { font-size: 4.5rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.6rem; }
  h4 { font-size: 3.0rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.6rem; }
}

p {
  margin-top: 0; }


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  /* color: #01aaad; */
	color: #018183; }
a:hover {
  text-decoration:underline; }


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    display: inline-block;
    background-color: #51567a;
    height: 35px;
    padding: 0 30px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: .1rem;
    text-decoration: none;
    border: 0;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 30px; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  /* outline: 0; */
	 }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #fff;
  background-color: #01aaad; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #FFF;
  background-color: #01aaad; }

button.magnify {
    background-color: transparent;
    padding: 0;
    font-size: 50px;
    line-height: 0;
    font-weight: 100;
    height: auto;
    margin-bottom: 0;
    vertical-align: bottom;
}

button.magnify img {
    width: 50px;
}


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px;
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #01aaad;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  /*font-size: 90%;*/
}
li {
  margin-bottom: 1rem; }

.entry-content ul,.entry-content ol{
	margin-left:3rem;
}

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #E1E1E1;
  vertical-align:top;
}



/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.header-logo {
    width:400px;
}

.social {
    margin-top: 18px;
}

.social .icon {
    width: 40px;
    float: right;
    margin: 0 0 0 5px;
}

.contact.pull-right {
    width: 505px;
}

#archival_options{
	margin-top:1em;
	padding-top:1em;
	padding-bottom:1em;
}

.banner{
  padding: 0.5em;
  font-size: 2rem;
  background-color: #fdff79;
  font-weight: bold;
  text-align: center;
  position: relative;
}

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

#masthead {
    position: relative;
    background:#51567a;
    padding: 20px 0 4px 0;
    border-top: 15px solid #01aaad;
}

#site-navigation {
    float: left;
    display:block;
    margin-top: 30px;
}
.main-navigation,
.secondary-navigation {
	clear: both;
	display: block;
	float: left;
}

.main-navigation a,
.secondary-navigation a {
    font-family: "Helvetica Neue Light";
    display: block;
    padding: 0 20px 0 0;
    position: relative;
    text-decoration: none;
    color: #fff;
    font-weight: lighter;
    letter-spacing: 0.3px;
}

.secondary-navigation {
    margin-top: 33px;
}

.secondary-navigation a {
    font-size: 16px;
}

.main-navigation a {
    font-size: 20px;
}

.main-navigation a:hover,
.main-navigation a:focus,
.secondary-navigation a:hover,
.secondary-navigation a:focus {
    color:#01aaad;
}

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

.main-navigation li,
.secondary-navigation li {
	float: left;
	position: relative;
}

.main-navigation ul ul,
.secondary-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul,
.secondary-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a,
.secondary-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

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

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

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a,
.secondary-navigation .current_page_item > a,
.secondary-navigation .current-menu-item > a,
.secondary-navigation .current_page_ancestor > a,
.secondary-navigation .current-menu-ancestor > a {
    font-weight: bold;
    /* color:#01aaad; */
		color: #18bcbf;
}


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul,
.secondary-navigation.toggled ul {
	display: block;
}

button.menu-toggle,
button.magnify {
    border-radius:0;
}

@media screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
    .secondary-navigation ul {
		display: block;
	}
}

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

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

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

input::-webkit-input-placeholder { color:rgba(255, 255, 255, 0.71); }
input::-moz-placeholder { color:rgba(255, 255, 255, 0.71); }
input::-moz-placeholder { color:rgba(255, 255, 255, 0.71); }
input::-ms-input-placeholder { color:rgba(255, 255, 255, 0.71); }
input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus::-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder { color:transparent; }


/*--------------------------------------------------------------
## Breadcrumbs
--------------------------------------------------------------*/

ul.breadcrumbs {
    position: relative;
    background: #f2f2f2;
    margin:0;
}
ul.breadcrumbs a {
    color:#000;
    font-size:14px;
}
ul.breadcrumbs li ul li a,
ul.breadcrumbs li ul li a:hover {
    text-decoration:underline;
}
ul.breadcrumbs a:hover {
    color:#01aaad;
    text-decoration:none;
}
ul.breadcrumbs li {
    display: inline;
    float: left;
    margin-bottom: 0;
    position: relative;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}
ul.breadcrumbs li:after {
    content:"/";
    margin:0 5px;
}
ul.breadcrumbs li ul li:after,
ul.breadcrumbs li ul li ul li:after,
ul.breadcrumbs li:last-child:after,
ul.breadcrumbs li ul li:last-child:after
{
    content:"";
}
ul.breadcrumbs li ul li {
    display:block;
    width:100%;
    float:left;
}
ul.breadcrumbs li ul {
    float: left;
    position: absolute;
    width: 300px;
    top: 29px;
    left: -10px;
    z-index: 99999;
    background: rgba(255,255,255,0.9);
    display: none;
    border-top: 20px solid transparent;
    padding: 0 1000em 30px;
    margin: 0 -999em;
}
ul.breadcrumbs li:hover ul {
    display:block;
}
p.crumb {
    display:inline;
    float:left;
    margin-right:15px;
    margin-bottom:0;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 10px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/*--------------------------------------------------------------
## Post Styles
--------------------------------------------------------------*/

#content {
    padding:30px;
}
#content p a, .entry-content li a {
    color:#0B0080;
    text-decoration:underline;
}
a[href$=jpg], a[href$=jpeg], a[href$=jpe], a[href$=png], a[href$=gif] {
    background-color:transparent !important;
    padding:0;
}
.entry-meta {
	color: #51567a;
   	margin-bottom:0.3em;
}
.entry-content li {
    list-style-position:outside;
}
h1.entry-title {
    font-size:35px;
    border-bottom:1px solid #b7b7b7;
    padding-bottom:15px;
    margin-bottom:15px;
    display: inline-block;
}
h2.entry-title {
    font-size:22px;
}
h2.entry-title a {
    background-color:transparent !important;
}
h2.entry-title a:hover {
    color:#01aaad !important;
}
.nav-link.left a,
.nav-link.right a {
    font-weight:700;
    text-decoration:none;
}
.nav-link.left,
.nav-link.right {
    width:220px;
    border-top:4px solid #000;
    padding:10px 0;
}
.nav-link.left {
    float:left;
    text-align:right;
}
.nav-link.right {
    float:right;
    text-align:left;
}
#sub-categories{
	margin-bottom: 4em;
}
.show-for-sr{
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
:focus{
	outline: dotted thin;
	outline-offset: -2px;
}
.site-branding a:focus,
.panel a:focus{
	opacity: 0.5;
}

/*--------------------------------------------------------------
## Archives
--------------------------------------------------------------*/
.archive-description{
	font-size:110%;
	font-weight:bold;
}
.first-paragraph{
	font-weight:bold;
	font-size:110%;
}
.further-description{
	padding-bottom:0.5em;
	clear:left;
}
.sub-categories-list{
	list-style-type:none;
}
.sub-categories-list li{
	display:block;
    width: 28.6%;
	margin-right:2%;
	float:left;
	/* background-color:#01aaad; */
	background-color: #018183;
	padding:10px;
	font-size:1.4em;
	line-height: 1.3;
}
div[lang="ar"]  .sub-categories-list{
	padding-right:0;
	float:right;
}
div[lang="ar"] .sub-categories-list li{
	float:right;
	margin-right:0;
	margin-left:2%;
}
.category-procedures .sub-categories-list li:nth-child(10),
.category-procedures .sub-categories-list li:nth-child(11),
.category-procedures .sub-categories-list li:nth-child(12),
.category-procedures .sub-categories-list li:nth-child(13),
.category-procedures .sub-categories-list li:nth-child(14),
.category-procedures .sub-categories-list li:nth-child(15),
.category-procedures .sub-categories-list li:nth-child(16),
.category-procedures .sub-categories-list li:nth-child(17),
.category-procedures .sub-categories-list li:nth-child(18),
.category-procedures .sub-categories-list li:nth-child(19),
.category-procedures .sub-categories-list li:nth-child(20),
.category-procedures .sub-categories-list li:nth-child(21) {
    background-color: #666
}
.category-spectrum-resources .sub-categories-list li:nth-child(10),
.category-spectrum-resources .sub-categories-list li:nth-child(11),
.category-spectrum-resources .sub-categories-list li:nth-child(12),
.category-spectrum-resources .sub-categories-list li:nth-child(13),
.category-spectrum-resources .sub-categories-list li:nth-child(14),
.category-spectrum-resources .sub-categories-list li:nth-child(15),
.category-spectrum-resources .sub-categories-list li:nth-child(16),
.category-spectrum-resources .sub-categories-list li:nth-child(17),
.category-spectrum-resources .sub-categories-list li:nth-child(18),
.category-spectrum-resources .sub-categories-list li:nth-child(19),
.category-spectrum-resources .sub-categories-list li:nth-child(20),
.category-spectrum-resources .sub-categories-list li:nth-child(21) {
    background-color: #666
}

.sub-categories-list.row-option-0 li{
	width:20%;
    padding:10px;
	font-size:1.4em;
    line-height: 1.4;
    height: 85px;
}
.sub-categories-list li a{
	color:#FFF;
}
.sub-categories-list li h3{
	font-size:1.4em;
}
.sub-categories-list li h3{

}
.category-news-and-blog .cat-list,.category-news-and-blog .search-result-type,.category-news-and-blog .entry-meta{
	display:none !important;
}
.archive .page-header {


    margin-bottom: 20px;
    text-align: left;
}
.archive .page-header p:not(.restore_bottom_margin) {
    margin-bottom:0;
}
.archive h1.page-title {
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 10px;
}
.archive h2.entry-title {
    margin-bottom:5px;
}
.archive article {
    padding-top: 2.5rem;
    border-bottom: 1px solid #87d7d8;
}
.archive .columns.pull-left{
	margin-left:0;
}
/*
#sub-categories li {
    list-style: none;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 20px;
    font-size: 18px;
    font-weight: bold;
}
#sub-categories h4 a {
    color:#000;
}
#sub-categories li ul li {
    border-bottom: 1px solid #87d7d8;
    padding: 10px 0;
    border-top: 0;
    font-weight: normal;
    margin-bottom: 0;
    font-size: 1.5rem;
}
#sub-categories ul.children {
    margin-top: 0.7em;
    border-top: 4px solid #87d7d8;
}
#sub-categories li ul li.current-cat {
    background: #87d7d8;
    padding: 5px 15px;
}
#sub-categories li ul li.current-cat a {
    color:#fff;
}
#sub-categories h5 {
    border-bottom: 4px solid #87d7d8;
    padding-bottom: 15px;
}
*/
#sub-categories li {
    margin-bottom:0;
}
#sub-categories li a,
#sub-categories li ul li a {
    display:block;
    padding:10px;
    font-size: 16px;
    color:#fff;
    margin-bottom: 5px;
}
#sub-categories li ul li.current-cat {
    border-left: 10px solid #51567a;
}
#sub-categories li a {
    background-color: #51567a !important;
}
#sub-categories li a:after {
    content:"\f103";
    font-family:"FontAwesome";
    color:#fff;
    font-size: 14px;
    margin-left: 10px;
}
#sub-categories li ul li a:after {
    content:""
}
#sub-categories li ul li a {
    /* background-color: #01aaad !important; */
		background-color: #327F86 !important;
}
#sub-categories li a:hover,
#sub-categories li ul li a:hover {
    background-color: #51567a !important;
    text-decoration:none;
}
#sub-categories li {
    list-style: none;
}
#sub-categories ul.children {
    margin-bottom:0;
}


/*--------------------------------------------------------------
## Resources
--------------------------------------------------------------*/
.page .pseudocrumb a{
      font-weight:normal;
    }
    .pseudocrumb {
		margin-bottom:3em;
	}
	.pseudocrumb a{
      display:inline-block;
	  padding: 0 5px;
      font-weight:bold;
    }
    .pseudocrumb a:before{
	   content: '\0276F';
	   display:inline-block;
	   margin-right:10px;
	}
    .pseudocrumb li{
           padding:0;
           margin:0;
	   list-style-type:none;
    }
	.alsofound{
		font-size:80%;
		margin:0;
	}
	.post-categories{
		margin-top:0.5em;
		margin-bottom:3em;
	}
	.category-choice{
		display:inline-block;
		padding:2px 5px;
		margin:0 5px;
		background-color:#EEE;
		border-radius:10px;
		cursor:pointer;
	}
	.category-choice b{
		display:inline-block;
		margin-left:10px;
	}
	.category-choice.selected{
		background-color:#51567a;
		color:#FFF;
	}
#resources {
    margin: -30px;
}
/*
.page-template-page-resources #resources img {
    max-width:300%;
}*/
.row.home {
    position:relative;
    overflow:hidden;
}
.patchwork {
    overflow:hidden;
    position:relative;
}
.patchwork img{
	height: auto;
}
.patchwork.one,
.patchwork.eight {
    /*padding-top:50%;*/
    width:100%;
    height:300px;
}
.patchwork.two {
    /*padding-top:50%;*/
    /*width:67%;*/
    width:100%;
    height:300px;
}
.patchwork.two .subheading {
    width: 61.2%;
    left: 0;
}
.patchwork.three {
    /*padding-top:50%;*/
    width:33.32%;
    height:300px;
}
.patchwork.four {
    /*padding-top:50%;*/
    width:66.65%;
    height:300px;
}
.patchwork.five,
.patchwork.six {
    /*padding-top:50%;*/
    width:50%;
    height:300px;
}
.patchwork.seven {
    height:120px;
    width:100%;
}
.patchwork.nine {
    /*padding-top:50%;*/
    /*width:59%;*/
    width:100%;
    height:300px;
}

.patchwork.ten .subheading {
	width: 50%;
}
.patchwork.nine .subheading {
    width: 50%;
    right: 0;
}
.patchwork.ten {
    width:100%;
    height: 300px;
    height:300px;
}
.patchwork.eleven {
    width:50%;
    height:420px;
}
.patchwork.twelve {
    /*padding-top:70%;*/
    width: 50%;
    height:420px;
}

.subheading {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    width: 100%;
    color: #fff;
    padding: 10px 20px;
    font-size: 30px;
    font-weight:lighter;
    box-sizing: border-box;
}
.subheading h1,
.subheading .h1 {
    margin-bottom:0;
		line-height: 1.3;
}
p.sub {
    margin:0;
}
.home-resources {
    background: #51567a;
    padding: 25px;
    height: 100%;
    position: absolute;
    right: 0;
    width: 38.8%;
    box-sizing: border-box;
    overflow:hidden;
}
.home-resources h2,
.future-collections h2 {
    color: #fff;
    font-size: 3rem;
    padding-bottom: 15px;
    margin-bottom:20px;
    border-bottom: 2px solid #fff;
}
.home-resources a,
.future-collections a {
    font-size:18px;
    color:#fff;
    text-decoration:underline;
    font-weight:lighter;
}
.popular-resource {
    margin-bottom:20px;
}
.future-collections {
    background: #01aaad;
    padding: 25px;
    height: 100%;
    position: absolute;
    left: 0;
    width: 37%;
    z-index: 2;
    box-sizing: border-box;
}

.row button.pull-right {
    margin-bottom:40px;
    font-size: 14px;
    padding: 0 20px;
    height: 26px;
    line-height: 26px;
}

.resource-panel {
    background-color: #87d7d8;
    padding: 15px 15px 15px 0;
}

.resources-sidebar {
    margin-bottom: 20px;
}

.resource-panel a,
.document-pdf a {
    background-color:transparent !important;
    font-size: 16px;
    line-height: 0.6;
}

.resource-title {
    border-left:5px solid #51567a;
    margin-bottom:15px;
    padding-left:10px;
}

.resource-title a {
    color:#000;
}

h3.resources {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding-left:15px;
}

.document-pdf {
    padding: 25px;
    background-color: #87d7d8;
}

button.download {
    position: relative;
}

.resources-sidebar a,
.three.columns a {
    background-color:transparent !important;
}

.last-reviewed {
    margin-bottom: 40px;
    background-color: rgba(178,229,230,0.4);
    padding: 20px;
}

.last-reviewed p {
    font-size:14px;
    margin-bottom: 5px;
}

.fc-sub {
    font-size: 18px;
    color: #fff;
    font-weight: normal;
}

.resource-wrap {
    margin-bottom:30px;
}

.btn-wrap {
    width: 100%;
    text-align: center;
    margin-top: -18px;
}

/*--------------------------------------------------------------
## Comment Form
--------------------------------------------------------------*/

.comment-respond {
    margin-top: 60px;
    background-color: rgba(178,229,230,0.4);
    padding: 30px;
}
h3#reply-title {
    font-size: 3.2rem;
}
input#author,
input#email,
textarea#comment {
    border-radius: 0;
    border: 0;
    width: 100%;
}
.comment-respond .form-submit,
.comment-respond input[type="submit"] {
    margin-bottom:0;
}

/*--------------------------------------------------------------
## FancyBox Lightbox
--------------------------------------------------------------*/

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

/*--------------------------------------------------------------
## Search page
--------------------------------------------------------------*/

ul.search-results-cats li ul,
ul#search-results-types li ul {
    margin-left:0
}

ul#search-results-types li {
    border-bottom: 1px solid #87d7d8;
    padding: 10px 0;
    border-top: 0;
    font-weight: normal;
    margin-bottom: 0;
    font-size: 1.5rem;
}
.woocommerce ul.products li.product .price{
	color: #327F86;
}
.search-result-type{
	/* background-color:#87d7d8; */
	background-color: #327F86;
	color:#FFF;
	display:inline-block;
	font-size:0.8em;
	font-weight:bold;
	padding:0 4px;
}

.search-excerpt p{
	display:inline;
}

.search-excerpt {
	padding-bottom:1.5em;
}
.cat-list{
	color:#666;
	font-size:0.9em;
	padding-top:0.3em;
}
.content-search {
    background-color: #51567a;
    padding: 20px 30px 5px;
    width: 60%;
    margin-top: 40px
}

/* -------------------------------------------------------------
## Sidebars
---------------------------------------------------------------*/

#secondary .widget_nav_menu ul {
    list-style:none;
}
#secondary .widget_nav_menu ul li {
    /* background-color: #01aaad; */
		background-color: #018183;
    margin-bottom:5px;
}
#secondary .widget_nav_menu ul li.current-menu-item,
#secondary .widget_nav_menu ul li a:hover {
    background-color: #51567a;
    text-decoration:none;
}
#secondary .widget_nav_menu ul li a {
    color:#fff;
    padding: 10px;
    display:block;
}



/* -------------------------------------------------------------
## MDA codes
---------------------------------------------------------------*/

.mda-museum{
	margin-bottom:0;
	margin-top: -0.7em;
	font-size:1.5em;
}
.mda-town{
	margin:0;
}
.mda-code{
	margin-bottom:1em;
	font-weight:bold;
	background-color:#51567a;
	color:#FFF;
	display:inline-block;
	font-weight:bold;
	padding:0 4px;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

#footer {
    background:#333333;
    padding:30px;
    overflow: hidden;
}

#footer a {
    font-size:16px;
    color:#fff;
}

#footer a:hover {
    text-decoration:none;
    color:#01aaad;
}
#footer .copyright li a:first-child {
    text-align:left;
    font-size:14px;
    font-family: "Helvetica Neue Light";
}
#footer .copyright li {
    list-style:none;
    margin-bottom: 5px;
}
#footer .partners {
    /* position: absolute; */
    right: 0;
    top: 0;
    width: 320px;
}

#footer .partners img {
    margin-bottom: 10px;
    float:right;
}

body #footer-nav li.menu-item-has-children {
    width:15%;
    float:left;
    list-style:none;
    padding-right: 20px;
    margin-bottom: 2rem;
}

#footer-nav li.menu-item {
    margin-bottom: 5px;
    list-style: none;
}

#footer-nav li.menu-item-has-children li.menu-item {
    float:left;
    list-style:none;
    padding-left:0;
}

#footer-nav li.menu-item-has-children li.menu-item a {
    font-size:16px;
    font-weight:lighter;
    font-family: "Helvetica Neue Light";
}

#footer-nav li ul li.menu-item {
    width:100%;
}

#footer-nav .sub-menu {
    margin: 1.5rem 0 1.5rem 0rem;
}

#footer-nav li a:first-child {
    font-family: "Helvetica Neue Bold";
    font-size:17px;
}
p.social.twitter {
    font-size: 14px;
    height:200px;
    color: #fff;
    margin-top:0 !important;
}
p.social.twitter a {
     font-size: 14px;
    padding: 0 !important;
    text-decoration:underline !important;
    color:#fff !important;
    background-color:transparent !important;
}
.profileimg {
    border-radius: 50%;
    width: 30px;
        float: left;
    margin-right: 14px;
}
span.time {
    display:block;
    float:left;
    margin-top: 7px;
}
span.time a {
    font-size:12px !important;
}
.twitterhead a {
    text-decoration:none !important;
}
.twitterhead {
    width:100%;
    display: inline-block;
}
.twitterhead p {
    display:inline-block;
    float:left;
    font-weight:bold !important;
    font-size: 16px !important;
    margin-top: 2px;
    margin-bottom: 13px;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	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;
}

/*--------------------------------------------------------------
# RTL fixes
--------------------------------------------------------------*/
div[lang="ar"] {
	direction:rtl;
	font-size:1.25em;
}
div[lang="ar"] .sub-categories-list.row-option-0 li {
	font-size:1.2em;
}
.archive div[lang="ar"] .page-header {
	text-align:right;
}
.archive div[lang="ar"] .page-header + * {
	clear:both;
}
div[lang="ar"] .pseudocrumb a {
	padding:0 5px;
}
div[lang="ar"] .pseudocrumb a::before {
	margin:0px 0px 0px 10px
}
div[lang="ar"] .lang_switch {
	float:left;
	clear:both;
	direction:ltr;
	font-size:.8em;
}
div[lang="ar"] .search-result-type {
	float:right;
	margin-left:10px;
}
div[lang="ar"] td, div[lang="ar"] th {
	text-align:right;
}
div[lang="ar"] .pull-right {
	float:left!important;
}
div[lang="ar"] .column:first-child, div[lang="ar"] .columns:first-child {
	/*margin-left:4%;
	margin-right:auto;*/
}
div[lang="ar"] .column, div[lang="ar"] .columns {
	float:right;
}
div[lang="ar"] .three.column, div[lang="ar"] .three.columns {
	margin-left:0%;
	margin-right:4%;
}
div[lang="ar"] ref[rend="bolditalic"] {
	font-style:oblique -15deg;
}

#vat_number_field .optional{
  display: none;
}

#vat_number-description{
  display:inline-block;
}


.home-flex a{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 15rem;
}

.home-flex .subheading{
	font-size: 1.2em;
	bottom: 0;
	right: 0;
	background-color: rgba(0,0,0,0.6);
}
.home-flex img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.home-flex .tweets a{
	display: inline;
}
.home-flex .twitterhead img{
	width: 30px;
	height: auto;
}
.home-flex .contain{
	background-color: #55a6ab;
}
.home-flex .contain img{
	object-fit: contain;
}
.home-flex .tweets{
	position: relative;
	/* max-height: 15rem; */
}
.home-flex .tweets .home-resources{
	padding: 0;
	background: #212330;	
}
.home-flex .home-resources{
	width: 100%;
	overflow-y: scroll;
	max-height: 52rem;
	height: 100%;
}
.home-flex p.social.twitter{
	height: auto;
}
.home main{
	padding-bottom: 0;
}
#footer > .container::after{
	content: none;	
}
#footer > .container{
	display: flex;
	justify-content: space-between;
}
@media screen and (max-width: 40em){
	.home-flex .subheading .h1{
		font-size: 1em;
		word-wrap: break-word;
	}
	/* .home-flex .tweets{
		width: 50%;
	} */
	.home-flex a{
		height: 20rem;
	}
	.home-flex p.social.twitter:not(:first-of-type){
		display: none;
	}
	.home-flex .home-resources{
		overflow: hidden;
		max-height: 100%;
		height: 100% !important;
	}
	.home-flex .tweets .home-resources{
		height: 400px !important;
		overflow-y: scroll;
	}
	#footer > .container{
		display: block;
	}
}
@media screen and (min-width: 40em){
	.home-flex{
		display: flex;
		flex-wrap: wrap;
	}
	.home-flex .row{
		display: flex;
	}
	.home-flex .row .half{
		width: 50%;
	}
	.home-flex .row .third{
		width: 33.3%;
	}
	.home-flex .row .two-thirds{
		width: 66.6%;
	}
}
@media screen and (min-width: 64em){
	.home-flex .half{
		width: 50%;
	}
	.home-flex .third{
		width: 33.3%;
	}
	.home-flex .subheading .h1{
		font-size: 1.4em;
	}
	.home-flex .home-resources{
		max-height: 40rem;
	}
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/

@media (max-width: 1200px) {
    .container {
        padding:0 15px;
    }
    #search-input {
        width:80%;
    }
    .search-box {
        width:45%;
        text-align: right;
    }
    .menu-toggle {
        font-size:36px;
    }
    .subheading h1,
		.subheading .h1 {
        font-size:36px;
    }
    p.sub {
        font-size: 24px;
    }
    #content {
        padding: 20px 0;
    }
    .last-reviewed {
        padding: 20px;
    }
    .end {
        height: 40px;
    }
    .social {
        margin-top: 0;
    }
    .secondary-navigation {
        margin-top: 5px;
    }
    .contact.pull-right {
        width:100%;
    }
    ul.breadcrumbs {
        z-index: 20;
    }
    #resources {
        margin: -20px -15px;
    }
    .patchwork {
        height:auto !important;
        margin-bottom: -7px;
    }
    .subheading {
        bottom: 6px;
    }
}
/*
@media (max-width: 991px) {
    table, thead, tbody, th, td, tr {
		display: block;
	}
    .further-description td {
        width: 44%;
        float: left;
        min-height: 160px;
    }
    table {
        width:100%;
    }
}
*/
@media (min-width: 992px) and (max-width: 1199px) {
    button.download {
        margin-left: 4%;
    }
    .sub-categories-list li {
        font-size: 1.4em;
        width: 28.5%;
    }

}

@media (max-width: 991px) {
    /* #footer .partners {
        position: relative;
        float:left;
        width: 100%;
        display: block;
    } */
    #footer .partners img {
        width: 47%;
        float: left;
        margin-right: 3%;
    }
    #footer-nav li.menu-item-has-children {
        width: 24%;
    }
    .copyright.pull-left {
        width: 100%;
        margin: 20px 0;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    p.sub {
        font-size: 18px;
        line-height: 1.3;
    }
    .subheading {
        padding: 10px;
    }
    .patchwork h1 {
        font-size: 2.6rem !important;
        margin-bottom: 5px;
    }
    .patchwork.nine .subheading,
    .patchwork.two .subheading {
        width: 100%;
    }
    .home-resources, .future-collections {
        width: 100% !important;
        position: relative;
        height: 202px;
    }
    .sub-categories-list li {
        font-size: 1.4em;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .header-logo {
        width: 360px;
        padding-top: 10px;
    }
    .home-resources h2, .future-collections h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .popular-resource {
        margin-bottom: 10px;
    }
    .sub-categories-list li {
        width: 27.5%;
    }
    .sub-categories-list.row-option-0 li {
        width: 43%;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .header-logo {
        width: 400px;
        float: none;
        margin:0 auto;
    }
}

@media (max-width: 767px) {
    .search-box {
        width: 80%;
        float: none !important;
        margin: 0 auto;
        padding: 30px 0 15px 0;
        text-align: center;
    }
    .contact.pull-right {
        width: 50%;
        position: absolute;
        float: none !important;
        right: 10px;
        top: 162px;
    }
    #secondary-nav {
        display:none;
    }
    #site-navigation {
        margin-top:0;
        width: 100%;
    }
    .menu-toggle {
        padding:0;
    }
    button.magnify img {
        width:40px;
    }
    .main-navigation li {
        width:100%;
        padding:5px 0;
        text-align:center;
        background:#3b3f58;
    }
    #footer-nav li.menu-item-has-children {
        width: 34%;
        margin-bottom: 30px;
    }
    .home-resources, .future-collections {
        position: relative;
        left: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .patchwork {
        width: 100% !important;
        float:left;
        /* margin-bottom: -7px; */
				max-height: 25rem;
    }
    .patchwork.three {
        width: 100% !important;
        /* margin-top: -37%; */
    }
    .patchwork.four,
    .patchwork.five,
    .patchwork.six,
    .patchwork.eleven,
    .patchwork.twelve
    {
        width: 100% !important;
    }
    .patchwork.two .subheading,
    .patchwork.nine .subheading {
        width: 100%;
    }
    .nine.columns, .three.columns {
        width: 100%;
        margin-left: 0;
        margin-top: 40px;
    }
    .resource-wrap {
        margin-bottom: 30px;
        width: 50%;
        margin:0 auto;
        padding: 2%;
        float: none;
    }
    button.download {
        position: relative;
        margin-top: 10px;
        margin-left:0;
    }
    .btn-wrap {
        width: 100%;
        display: block;
        text-align: center;
        position: relative;
    }
    img.size-full {
        width: 100%;
        height: auto;
        float: left;
        margin: 20px 0;
    }
    .sub-categories-list li,
    .sub-categories-list.row-option-0 li {
        width: 100%;
        height: auto !important;
        padding: 10px;
        font-size: 1.4em;
        box-sizing: border-box;
    }
    .further-description td {
        width: 41%;
        height: auto !important;
    }
    .resource-promo {
        height: auto;
        overflow: auto;
    }
    .resource-promo-image {
        height: auto;
        width:40%;
        max-height: 250px;
    }
    .pseudocrumb {
        margin-bottom: 1em;
    }
    .nine.columns, .three.columns {
        margin-top:15px;
    }
    .home-resources {
        height: 250px !important;
    }

}

@media (max-width: 650px) {
    #footer-nav li.menu-item-has-children {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .header-logo {
        width: 100%;
        float: none;
    }
    .search-box {
        width: 100%;
    }
    #footer-nav li {
        width: 100% !important;
    }
    .resource-promo-image {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .resource-promo {
        padding: 15px;
        margin-bottom:20px;
    }
}

@media (max-width: 567px) {
    p.sub {
        display:none;
    }
    .subheading h1,
		.subheading .h1 {
        font-size:26px;
    }
    .resource-wrap {
        width: 60%;
        float: none;
        margin: 0 auto;
    }


}

@media (min-width: 375px) and (max-width: 479px) {

}
@media screen and (min-width: 1024px){
	#footer .partners span{
		display: block;
		text-align: right;
	}
	#footer .partners span img{
		width: 225px;	
		margin: 2rem 0 2rem !important;
	}
}
