/*

Theme Name: 	Scot-ref
Description: 	The Engage base theme
Version: 		1.0
Author: 		Post Creative

*/

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

 	WORDPRESS CORE
	 
=========================================================================================================================
*/

.clear {
	clear:both;
}

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

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

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 20px 0;
}

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



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

 	BASE THEME STYLES
	 
=========================================================================================================================
*/


body {
    background: #f6f6f6;
    color: #3f3f3f;
}

div.container {
    padding: 0 30px;
    background: #fff;
}

a{
	color: #015255;
	text-decoration: underline;
}

a:hover{	
	text-decoration: none;
	border-bottom: 1px dotted #504478;
	color: #504478;
}

header a:hover{
	border:none;
}

h1, h2, h3, h4{
	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
}

div.span8 h2 {
    margin-top: 20px;
}

h2 a{
	text-decoration: none;
}


.profile h3 {
    font-size: 16px;
    margin-top: -20px;
    border-bottom:1px solid #eee;
    margin-bottom:20px
}

h2 {
    font-size: 24px;
    line-height:30px;
}

.charts h3 {
    font-size: 18px;
    margin-top: -20px;
}

.home h2.green {
	padding-left: 20px;
}

strong {
    color: #504478;
}


.green {

    color: #015255;
}


.purple {

    color: #504478;
}

div.well {
    background-color: #fff;
    border-color: #504478;
    padding: 10px;
    font-size: 12px;
}

div.span8 ul li {
    padding-bottom: 10px;
}


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

 	HEADER
	 
=========================================================================================================================
*/

#banner {
    margin-top: 15px;
}

    .search-box.alignright{
    position: relative;
    top: 30px;
    display:block;
      
}

.search-box {
	display:none;
}

header.page-header {
    margin-top: 0;
    border-style: none;
    margin-bottom: 10px;
}

.navbar{
    width: 106.5%;
    margin-left: -30px;
}



div.navbar-inner {
    border-style: none;
}

.navbar-inner {
    min-height: 40px;
    padding-right: 20px;
    padding-left: 20px;
    background-color: #ececec;
    background-image: none;
    background-repeat: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    filter: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.nav > li > a {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 33px 7px !important;
    color: #575755;
}

.navbar li.menu-item-15 a {
    padding-left: 15px;
}

.nav li a:hover, footer a:hover{
	border-bottom: none;
}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
    color: #504478;
    text-decoration: none;
    background-color: #ececec;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border:none;
}




.about-subnav {
    background-color: #504478;
    position: relative;
    bottom: 20px;
    left: -30px;
    width: 40%;
    height:20px;
}

ul#menu-sub-menu li {
    display: inline;
}

ul#menu-sub-menu li a {
    color: #bbb;
    text-transform:uppercase;
    padding-right:40px;
    text-decoration: none;
}

li.menu-item-120 a {
    margin-left: 130px;
}

ul#menu-sub-menu li.current_page_item a, ul#menu-sub-menu li a:hover{
	color:#fff;
	
}


.navbar .btn-navbar {

text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #575755;
background-image: none;
background-image: none;
background-image: none;
background-image: none;
background-image: none;
background-repeat: none;
border-color: #575755;
filter: none;

}

.navbar .btn-navbar:hover,
.navbar .btn-navbar:focus,
.navbar .btn-navbar:active,
.navbar .btn-navbar.active,
.navbar .btn-navbar.disabled,
.navbar .btn-navbar[disabled] {
  background-color: #575755;
  
}

.navbar .btn-navbar:active,
.navbar .btn-navbar.active {
  background-color: #575755 ;
}

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

 	CONTENT AREAS
	 
=========================================================================================================================
*/

div.span6 ul li {
    padding-bottom: 10px;
}

p.lead {
    font-size: 16px;
    line-height: 22px;
    color: #504478;
    font-weight: bold;
}

div.span6.principles p {
    padding-left: 20px;
    padding-right: 20px;
}



div.principles {
    background-color: #f0f1f1;
}

div.principles ul {
    margin-left: 40px;
}




.btn.btn-primary {
    padding: 14px 28px;
    font-size: 18px;
    color: #fff;
    letter-spacing: .5px;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-decoration: none;
}

a.btn.btn-primary.news-background, a.btn.btn-primary.news-background:hover {
    background-color: #02554f;
    background-image: linear-gradient(to bottom,  #02554f, #328e89);
    background-image: -moz-linear-gradient(top, #02554f, #328e89);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#02554f), to(#328e89));
    background-image: -webkit-linear-gradient(top, #02554f, #328e89);
    background-image: -o-linear-gradient(top, #02554f, #328e89);
    padding: 14px 28px 14px 0;
    padding-right: 63px;
    padding-left:0px;
    margin: 10px 0;
}
a.btn.btn-primary.news-background i.warrow {
    background: url(http://web.archive.org/web/20141027141812im_/http://79.170.40.43/scotlandsreferendum.org/wp-content/themes/engage/images/arrow-1.png) left top no-repeat ;
    padding-left:28px;
    padding-top: 2px;
}


a.btn.btn-primary.media-background, a.btn.btn-primary.media-background:hover {
    background-color: #504478;
    background-image: linear-gradient(to bottom,  #504478, #8982a7);
    background-image: -moz-linear-gradient(top, #504478, #8982a7);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#504478), to(#8982a7));
    background-image: -webkit-linear-gradient(top, #504478, #8982a7);
    background-image: -o-linear-gradient(top, #504478, #8982a7);
    padding: 14px 28px 14px 0;
}
a.media-background i.warrow {
    background: url(http://web.archive.org/web/20141027141812im_/http://79.170.40.43/scotlandsreferendum.org/wp-content/themes/engage/images/arrow-1.png) left top no-repeat ;
    padding-left:28px;
    padding-top: 2px;
}




.process-arrow{
    background: url(http://web.archive.org/web/20141027141812im_/http://79.170.40.43/scotlandsreferendum.org/wp-content/themes/engage/images/purple-arrow-1.png) center 0px no-repeat ;
    height:130px;
    display: block;
    padding-top:70px;
    width:101px;
    float:right;
    color:#fff;
    font-weight:bold;
    text-align:center;
    padding-left:9px;
    padding-right:9px;
    font-size: 12px;
    line-height: 18px;
}

.paddingright{
margin-left: 0px;
}
.paddingright .well{
padding-right:20px;
border-radius: 0px 8px 8px 8px;
margin-bottom:20px;
line-height: 18px;
font-weight:bold;
border-width: 2px;
 height: 170px;
}

.paddingright .well li{
	padding-bottom:0;
}

.results-dislcaimer {
  padding: 30px 0 0 0;
}

.scot-ref--authorities-table .wide-label {
  display: inline;
}
.scot-ref--authorities-table .narrow-label {
  display: none;
}

.scot-ref--authorities-table tr > td {
  text-align: center;
}
.scot-ref--authorities-table tr > td:nth-child(1)  {
  text-align: left;
}

.scot-ref--authorities-table .large-label {
  padding: 0;
  text-align: center;
  font-size: 28px;
  text-transform: uppercase;
  vertical-align: middle;
}

.scot-ref--authorities-table tr > td.authority-total {
  background-color: #ccc;
  background: #ccc;
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.scot-ref--authorities-table th {
    line-height: 16px;
}

.scotref-results-content h2 {
    line-height: 24px;
}

.summary-yes {
  background-color: rgba(90, 80, 133, 0.7);
  background: rgba(90, 80, 133, 0.7);
  color: #fff;
}

.summary-no  {
  background-color: rgba(0, 83, 85, 0.7);
  background: rgba(0, 83, 85, 0.7);
  color: #fff;
}

hr {
  margin: 40px 0;
}

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

 	SIDEBAR
	 
=========================================================================================================================
*/

#sidebar h3{
	line-height:28px;
}

#sidebar ul li  {
    list-style: none;
    margin:10px;
}

#sidebar ul{margin-left:-10px;
}


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

 	FOOTER
	 
=========================================================================================================================
*/


footer.content-info{
	margin:40px 0 0 0;
	padding:20px 30px 10px 30px;
	background: #c8cccb;
	font-size: 10px;
	color: #015255;
	
}

footer.content-info a{
	font-size: 10px;
	color: #015255;
	text-decoration: none;
}

footer.content-info {
    width: 100.2%;
    margin-left: -30px;
}

ul.privacy.unstyled li, ul#menu-menu-2 li {
    line-height: 16px;
    font-size: 12px;
}

ul.privacy.unstyled {
    margin-top: 20px;
}

div.span3.offset3 a img {
    margin-left: 60px;
    width: 220px;
}

div.span2.sitemap {
    margin-left: 40px;
}

ul#menu-menu-2 {
	list-style: none;
	margin-left:0;
}



@media (min-width: 768px) and (max-width: 979px) {

  .scot-ref--authorities-table .wide-label {
    display: inline;
  }
  .scot-ref--authorities-table .narrow-label {
    display: none;
  }

  .about-subnav, .navbar {  
    width: 108.2%;
  } 
  
  
  .paddingright .well{
    margin-left:-20px;
    height: 220px;
  }

  .scotref-results-content .span6 {
    width: 100%; 
  }

}


@media (max-width: 767px) {

  body {
    padding-right: 1px !important;
    padding-left: 1px !important;
  }

  div.span3.offset3 a img {
      margin-left: 0;
      margin-top:20px;
      margin-bottom:20px;
      
  }
  
  div.span2.sitemap {
      margin-left: 0;
      margin-top:20px;
  }
  
  .about-subnav, .navbar {  
      width: 109%;
      }
  
  
  ul#menu-sub-menu li a {
     
      padding-right:40px;
      
  }
  
  li.menu-item-120 a {
    margin-left:10px;
  }


}


@media (min-width: 480px) and (max-width: 768px) {
  
  .scot-ref--authorities-table .wide-label {
    display: inline;
  }
  .scot-ref--authorities-table .narrow-label {
    display: none;
  }

.about-subnav, .navbar {  
    width: 113%;
    }
    
    .search-box.alignright {
   display:none;  
}

.search-box{
	display:block;
	margin-top:30px;
}


.process-arrow{
    background: transparent;
    height:30px;
    display: block;
    padding-top:0;
    width:460px;
    float:none;
    color:#504478;
    font-weight:bold;
    text-align:left;
    padding:0;
    font-size: 18px;
    line-height: 26px;
}

.paddingright .well{
border-radius:8px;
height: auto;
}


}

@media (max-width: 480px) {

  body {
    padding-right: 0;
    padding-left: 0;
  }
  
  div.container {
    padding: 0 1px;
    background: #fff;
  }

  .scot-ref--authorities-table .large-label {
    font-size: 18px;
  }

  .scot-ref--authorities-table .wide-label {
    display: none;
  }
  .scot-ref--authorities-table .narrow-label {
    display: inline;
  }

.about-subnav, .navbar {  
    width: 120%;
    }
    


.process-arrow{
    background: transparent;
    height:50px;
    display: block;
    padding-top:0;
    width:360px;
    float:none;
    color:#504478;
    font-weight:bold;
    text-align:left;
    padding:0;
    font-size: 18px;
    line-height: 24px;
}
  
.paddingright .well{
border-radius:8px;
height: auto;
}
}

/*
playback timings (ms):
  RedisCDXSource: 7.365
  captures_list: 250.13
  exclusion.robots.policy: 0.181
  load_resource: 175.807
  esindex: 0.016
  CDXLines.iter: 14.064 (3)
  PetaboxLoader3.datanode: 142.562 (5)
  exclusion.robots: 0.196
  LoadShardBlock: 225.111 (3)
  PetaboxLoader3.resolve: 254.63 (4)
*/