/*
Theme Name: International Mapping	
Theme URI: 
Description: Custom theme for International Mapping
Version: 1.0
Author: Tim & Christie
Author URI: http://www.christiemade.com
*/
body {
	background: #cccccc;
}

#container {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#305065+1,01233e+83,01233e+99 */
	position:absolute;
	padding-left:28px;
	padding-top:28px;
	left:35px;
	top: 135px;
	width: 550px;
  overflow-y: scroll;
	background: #305065; /* Old browsers */
	background: -moz-linear-gradient(top, #305065 1%, #01233e 83%, #01233e 99%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #305065 1%,#01233e 83%,#01233e 99%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #305065 1%,#01233e 83%,#01233e 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#305065', endColorstr='#01233e',GradientType=0 ); /* IE6-9 */
	z-index:9;
  overflow: auto;
}
@media (max-width: 650px) {
	#container { 
		width: 100%;
		position:relative;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}
h1 { 
  font-size: 1.9em;
  margin: 0 0 .67em 0;
  font-weight: 600;
  line-height: 1.15em;
  font-family: "Lato";
}
header {
  background: #305065;
  background: -moz-linear-gradient(top, #305065 1%, #01233e 83%, #01233e 99%);
  background: -webkit-linear-gradient(top, #305065 1%,#01233e 83%,#01233e 99%);
  background: linear-gradient(to bottom, #305065 1%,#01233e 83%,#01233e 99%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#305065', endColorstr='#01233e',GradientType=0 );
}
#hamburger {
  display: none;
  float: right;
  padding: 0px 20px;
  line-height: 100px;
  font-size: 30px;
}
#logo {
  margin-right:40px;
}
a {
	color:#ffffff;
}
.button {
  border: 1px #fff solid;
  padding: 15px 20px;
  margin: 15px auto 0px auto;
  display: inline-block;
  font-size: 23px;
  text-decoration: none;
}
#menu {
  margin-left: 290px;
	transition: .3s all;
}
#menu ul {
}
#menu li {
	float:none;
  display: inline-block;
	padding-right: 38px;
	font-weight:600;
	line-height: 100px;
}
#menu a {
	text-transform:uppercase;
	color:#ffffff;
	text-decoration:none;
}
#menu a:hover, #menu a.active {
	opacity:0.4;
}
#menu li.sll {
	float:right;
  display: block;
  max-width: 181px;
  background: orange;
  height: 100px;
  padding: 0px 20px;    
  background: #ffb400;
  background: -moz-linear-gradient(left, #ffb400 15%, #ff6400 100%);
  background: -webkit-linear-gradient(left, #ffb400 15%,#ff6400 100%);
  background: linear-gradient(to right, #ffb400 15%,#ff6400 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb400', endColorstr='#ff6400',GradientType=1 );
}
#menu li.sll a {
	background:url(https://sovereignlimits.com/wp-content/themes/sovereign/images/logo.png) center no-repeat;
	display:block;
	width: 110px;
	height:100px;
	background-size:contain;
	text-indent:-9999px;
}
#sl-l {
	display: block;
  float: right;
  margin-right: 4%;
}
#menu-menu-1, #menu-menu-1 * {
	margin: 0;
	padding: 0;
	list-style: none;
}
#menu-menu-1 li {
	position: relative;
}
#menu-menu-1 ul {
	position: absolute;
	display: none;
	top: 70%;
	left: 0;
	z-index: 99;
	background: #01233e;
  padding: 13px 0px;
  min-width: 200px;
}
#menu-menu-1 li:hover > ul,
#menu-menu-1 li.sfHover > ul {
	display: block;
}

#menu-menu-1 a {
	display: block;
	position: relative;
}
#menu-menu-1 ul ul {
	top: 0;
	left: 100%;
}
#menu-menu-1 a {
	text-decoration: none;
	zoom: 1; /* IE7 */
}
#menu-menu-1 ul a {
  color:#ffffff;
}
#menu-menu-1 ul a:hover {
  opacity:1;
}
#menu-menu-1 li {

	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}
#menu-menu-1 ul li {
	background: #01233e;
  padding:0px;
  text-align: left;
  float: none;
  display: block;
}
#menu-menu-1 ul li a {
  padding: 5px 20px;
  line-height: 1.2em;
  font-weight: normal;
}
#menu-menu-1 ul li:hover,
#menu-menu-1 ul li.sfHover {
	background: #305065;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}



#content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
	overflow:hidden;
	padding-right:4%;
}
.scrollable {
	padding: 1% 2% 30px 0%;
	overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.scrollable::-webkit-scrollbar-track
{
	background-color: transparent;
}

.scrollable::-webkit-scrollbar
{
	width: 8px;
	background-color: transparemt;
}

.scrollable::-webkit-scrollbar-thumb
{
	background-color: rgba(255, 255, 255, .4);
	cursor:pointer;
}
#content .page {
	display:none;
	line-height:1.3em;
}
#page-item-20 .scrollable {
  padding-bottom: 10px;
}
#content .page p {
	padding-bottom: 18px;
  line-height: 1.5em;
}
#content #page-item-2 {
	display:block;
}
#content .page.services h1 {
  padding-top: 20px;
}
#content .page > .scrollable > div {
  line-height:1.5em;
}
#content .page ul {
	padding-left:30px;
	padding-top: 20px;
}
#content .page li {
  line-height: 1.5em;
	list-style:disc;
}
#content .page a {
	color:#8ed4af;
}
#content .page .back {
  position:absolute;
  top: 15px;
  left: 14px;
  font-size: 0.9em;
}
#content .page .back a {
  color:#ffffff;
  opacity: .4;
  text-decoration:none;
}
#content .page a.button {
  color:#ffffff;
}

@media (min-width: 948px) and (max-width: 1090px) {
  #menu li {
     padding-right: 25px; 
  }
}
@media (max-width: 947px) {
  header {
    height:auto;
    min-height:100px;
    z-index:99;
	transition: .3s all;
  }
  #menu { 
  	display: none;
    right: 0px;
    float: right;
    margin:0px;
  }
  #menu.open {
    display:block;
    float:none;
    clear:both;
  }
  #menu li {
    padding-right:23px;
  }
  #hamburger {
    display:block;
    cursor:pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 99;
  }
  #hamburger.open {
  }
}
/*
  #menu li {
    display:block;
    line-height: 40px;
    
    */
@media (max-width: 767px) {
	#container {
		padding-right: 7%;
    padding-left: 7%;
	}
	#content {
		padding-right: 0px;
	}
  #logo {
    width: 80%;
    padding: 10px;
    max-width: 380px;
  }
  #menu {
    clear:left;
  }
}

@media (max-width: 675px) {
  #menu li.sll {
    height:69px;
    padding:0px 10px;
  }
  #menu li.sll a {
    width: 94px;
    height: 69px;
  }
  #menu li {
    line-height:69px;
  }
}
@media (max-width: 650px) {
	#container {
		position:relative;
		top:80px;
    left:0px;
		width:100%;
	}
}
@media (max-width: 500px) {
  #menu {
    padding-bottom:10px;
  }
  #menu li {
    padding-right:17px;
    line-height: 25px;
    font-size: 14px;
    display: block;
    float: left;
    clear: left;
    padding-left: 11px;
  }
  #menu li.sll {
    position: absolute;
    right:0px;
    bottom:0px;
  }
  #menu:after {
    content:"";
    display:table;
    clear:both;
  }
}
@media (max-width: 479px) {
	#content {
		padding-top:15px;
	}
}



/* CONTACT */
#page-item-20:after {
	display:table;
	clear:both;
	content:"";
}
#page-item-20 > .scrollable > div {
	width:40%;
	float:left;
	padding-bottom: 7px;
}
#page-item-20 > .scrollable > div + div:not(.wpcf7) {
  float: none;
  margin-left: 45%;
  width: auto;
}
#page-item-20 > div p {
	padding-bottom:18px;
}
#page-item-20 > .scrollable > div.wpcf7 {
	float:none;
	width:100%;
	clear:both;
}
#page-item-20 > div .wpcf7 p {
  padding-bottom:10px;
}



/* BLOG */
body.single-post, body.archive { 
  overflow: scroll;    
  background: #213647;
}
body.blog {
  background: #213647;
  /*
  background: #305065; 
	background: -moz-linear-gradient(top, #305065 1%, #01233e 83%, #01233e 99%); 
	background: -webkit-linear-gradient(top, #305065 1%,#01233e 83%,#01233e 99%);
	background: linear-gradient(to bottom, #305065 1%,#01233e 83%,#01233e 99%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#305065', endColorstr='#01233e',GradientType=0 );*/
}
body.blog #blog {
  display: flex;
  justify-content: space-between;
}
body.blog #blog > #sidebar {
  float: none; 
}
body.blog #blog > #content {
  width: 74%;
  float: none;
}
body.single-post #container,
body.single-portfolio #container,
body.blog #container,
body.archive #container {
	width:auto;
	min-width: inherit;
  overflow: auto;
	position:relative;
	top:auto;
	max-height:none !important;
	background: transparent;
	padding:0px 0px 30px 0px;
  left: 0px;
  z-index:1;
}
body.single-post .content_wrapper .entry iframe {
  height: 500px;
}
body.single-post #container img.logo,
body.single-portfolio #container img.logo,
body.blog #container img.logo,
body.archive #container img.logo {
  padding: 25px;
  max-width: 500px;
}
body.single-post #container > a,
body.archive #container > a,
body.blog #container > a {
  display: block;
  width: 100%;
  position: fixed;
  background: rgba(0,35,67,0.50);
	z-index:9;
}
#container #blog:after {
	content:"";
	display:table;
	clear:both;
}
body.single-portfolio #container #menu,
body.blog #container #menu,
body.archive #container #menu {
	display:none;
}
@media (max-width: 650px) {
	body.single-portfolio #container img.logo,
	body.blog #container img.logo,
	body.archive #container img.logo {
		width: 90%;
	}
	body.single-portfolio #portfolio img {
		max-width:100%;
		height:auto;
	}
	body.single-portfolio #wrapper,
	body.blog #wrapper,
	body.archive #wrapper {
		background: #002343
	}
	body.archive.date #wrapper {
    background-color:transparent;
  }
}

body.archive.date h4.pagetitle {
  text-align:left; 
  line-height: 38px;
}
#blog #content h2 {
	font-weight:300;
  text-align:left;
  margin-bottom:40px;
}
@media (min-width:1076px) {
  #blog {
    display: flex; 
  }
}
@media (max-width:1075px) {
  body.blog #blog > #content {
    width: 67%;
  }
	#blog > #content {
		margin-right: 0px;
    float: none;
	}
	#sidebar {
		padding-top: 17px;
	}
}

@media (max-width:1075px) and (min-width: 768px) {
	#blog > #content {
    margin-left: 230px;
    max-width: 73%;
  }
}
@media (max-width:767px) {
	body.blog #container img.logo, body.archive #container img.logo {
		max-width:100%;
	}
  body.blog #blog {
    display:block;
  }
  body.blog #blog > #content {
    width:90%;
  }
}


/* RECENT BLOG */
#content .page .recent_posts_header a.more {
	float:right;
	color:#ffffff;
}
.recent_posts_header {
	padding-bottom:4%;
	font-style:italic;
	padding: 30px 3% 20px 0%;
}
#page-item-30 .scrollable {
	padding-top:1%;
}
#blog > #content > h2 {
  text-align:left;
  float:left;
	font-size:55px;
  letter-spacing:8px;
	line-height: 50px;
}
#sorter {
  float:right; 
}
#sorter label {
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 12px;
  line-height: 3.2em;
  padding-right: 29px;
}
#sorter select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #ffffff;
  background-image: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 0 0 1em;
  color:#305065;
  cursor: pointer;
  font-size:13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
}
#sorter .select {
  position: relative;
  display: block;
  width: 12em;
  height: 2.4em;
  line-height: 2.4;
  background: #ffffff;
  overflow: hidden;
  color:#305065;
  float: right;
}
#sorter select option {
  font-weight:bold;
  letter-spacing:2px;
}
select::-ms-expand {
  display: none;
}
/* Arrow */
.select::after {
  content: '\25E2';
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  padding: 0 1em;
  background: #ffffff;
  pointer-events: none;
  transform: rotate(45deg);
  margin-top:-4px;
}
.select::after {
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
}
.plug {
  text-align:left;
	margin-bottom:20px;
  clear:both;
}
.plug:after {
  content:"";
  display:table;
  clear:both;
}
body.blog .blog_grid { 
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 30px -2% 30px -1%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  clear:both;
}
body.blog .blog_grid .post {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    width: 31%;
    margin: 0% 1%;
    margin-bottom: 2%;
    position:relative;
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    min-height: 200px;
}

body.blog .blog_grid .post > div {
  background:rgba(30,185,158,.70);
  position:absolute;
  top:0px;
  left:0px;
  height:100%;
  width:100%;
  padding:20px;
  box-sizing:border-box;
}
body.blog .blog_grid .post:hover > div {
  background:rgba(255,255,255,0.5);
}
body.blog .blog_grid .post > div > div {
  display:table;
  width:100%;
  height:100%;
  vertical-align:middle;
}
body.blog .blog_grid .post > div > div > div {
  display:table-cell;
  width:100%;
  height:100%;
  vertical-align:middle;
}
#blog > #content .date {
  background:#000;
  max-width:90%;
  margin:0px auto;
  padding: 5px 5px 4px 5px;
  line-height: 17px;
  text-transform:uppercase;
  letter-spacing:3px;
  color:#fff;
  font-weight:500;
  font-size:12px;
}
#blog > #content h3,
.post h2, .services h2 {
	font-size:25px;
	line-height:29px;
	font-weight:600;
	padding-bottom:1px;
  padding-top:12px;
}
.services h3 {
  color:#ffffff;
  font-size: 21px;
  padding-top: 20px;
  line-height: 1.4em;
  padding-bottom: 5px;
}
#content .services h3+ul {
  padding-top: 8px;
}
#blog #content .post h3 {
  color:#000000;
}
#blog > #content h3 a {
  color:#000000;
  text-decoration: none;
}
@media all and (max-width: 1024px) {
 body.blog .blog_grid .post {
    width: 48%;
 }
}
@media all and (max-width: 767px) {
	#blog > #content {
		margin:0px auto;
		width:93%;
		float:none;
		padding:0px;
	}
  #blog #sidebar .mobile_posts {
    padding-left: 10px;
    padding-right: 10px; 
  }
}
@media all and (max-width: 590px) {
 body.blog .blog_grid .post {
    width: 98%;
 }
 #sorter {
   float:none;
   max-width: 287px;
 }
 #blog > #content > h2 {
   float:none; 
   margin-bottom: 30px;
 }
}
@media all and (max-width: 360px) {
  #sorter label {
    padding-right:0px;
  }
  #sorter .select {
    width:10em;
  }
}


/* SINGLE BLOG ENTRY */
body.archive.date #content > .post,
body.single-post #content > .post {
  text-align:left;
}
body.single-post #blog #content h2,
body.archive.date #blog #content h2 {
  font-weight: 500;
}
body.archive.date h2 a,
body.single-post h2 a {
  text-decoration:none;
}
body.archive.date .post .entry .wp-caption,
body.single-post .post .entry .wp-caption {
  max-width:100%; 
  margin: 0px auto;
}



/* SOVEREIGN LIMITS */
#page-item-33 {
  padding-bottom: 1%;
}





/* PORTFOLIO ITEM */
#portfolio {
	font-family: 'Prompt', sans-serif;
	color:#ffffff;
	position:relative;
}
#portfolio img {
	display:block;
	margin:0px auto;
}
#portfolio_items {
	display: none;
}
body.single-portfolio #portfolio img {
	display:block;
	margin:0px auto;
}
#portfolio .caption {
	max-width:1600px;
	margin:0px auto;
	padding:10px;
	font-size:17px;
	line-height:20px;
}
#portfolio .caption h2 {
	font-size:19px;
	line-height:22px;
	font-weight:600;
}
#portfolio .caption h2 a {
	text-decoration: none;
  position: relative;
  display: inline-block;
}
#portfolio .caption > div {
	font-size: 15px;
	padding-top:15px;
  color: #fff;
}
#portfolio > a {
	position:relative;
	display:block;
	max-width:1600px;
	margin:0px auto;
}
#portfolio > a {
	display:block;
	width:75px;
	height: 75px;
	margin-left: 5px;
	background:url('images/Link_icon.svg') no-repeat;
	float:none;
  position: absolute;
  top: 0;
	margin-left:-37px;
  left: 50%;
}
#portfolio .caption h2 a:after {
	content: " ";
	display:block;
	float:right;
	width:20px;
	height: 20px;
	margin-left: 5px;
	background-repeat: no-repeat;
  background-color: #ffffff;
	-webkit-mask-size: contain;
	mask-size: contain;
  -webkit-mask-image:url('images/Link_icon.svg');
    mask-image: url('images/Link_icon.svg');
}

@media (max-width: 650px) {
	#portfolio_items {
		display:block;
	}
	#portfolio_items img {
		max-width:100%;
		height:auto;
	}
}

/* SOCIAL MEDIA */
#social_media {
  background: transparent;
}

/* SUBSCRIBE */
#subscribe {
  background:#01233e;
}
#subscribe a.ajax {
  border-color: #ffffff;
  color:#ffffff;
}
body.page-template-hubspot #wrapper > #container {
  position: relative;
  bottom: auto;
  right: auto;
  width: 100%;
  box-sizing: border-box;
  max-width: none;
  left: 0;
  top: 0;
  padding:0px;
}
body.page-template-hubspot #wrapper > #container #post-thanks {
  padding:30px;
}
body.page-template-hubspot #wrapper > #container #post-thanks p {
  padding-bottom:0px;
  margin-bottom: 0px;
}