/*
Theme Name: Flag Institute
Description: Child theme for the Canvas theme 
Author: Graham Bartram
Template: canvas
*/

@import url("../canvas/style.css");

@import url(https://fonts.googleapis.com/css?family=Fondamento:400italic,400);

body
{
	background-color: #23364e;
	padding: 0 0;
	background-image: url('/wp/wp-content/uploads/template/footer_texture_overflow.jpg');
	position: bottom left;
	background-repeat: repeat;
}

.widget
{
	margin: 0 0 15px 0;
}

#outerwrapper
{
	background-color: #e4eaef;
	background-image: url('/wp/wp-content/uploads/template/background.png');
	background-repeat: repeat-x;
	background-position: top left;
	background-attachment: scroll;
}

#wrapper
{
	padding: 10px 8px 10px 8px;
}

#footerwrapper
{
	background:url('/wp/wp-content/uploads/template/footer_texture.jpg') top left repeat-x,url('/wp/wp-content/uploads/template/footer_texture_overflow.jpg') 0 415px repeat;
	background-color: #23364e;
	padding: 10px 8px 10px 8px;
	height:415px;
}


#header .nav-toggle
{
	margin:1em 0 0 0; 
}

#navigation {margin-bottom:1em;}

@media only screen and (min-width: 768px) {
#navigation #main-nav ul.children,
#navigation #main-nav ul.sub-menu
{
	background-color:white !important;
	border:1px solid #9ab8dd !important;
	border-bottom:2px solid #9ab8dd !important;
	padding:0px !important;
}

#navigation #main-nav ul.children li a,
#navigation #main-nav ul.sub-menu li a
{
	background-color:white !important;
	color:#3a587f !important;
	line-height:15px !important;
}

#navigation #main-nav ul.children li a:hover,
#navigation #main-nav ul.sub-menu li a:hover
{
	background-color:#f0f3f7 !important;
	color:#3a587f !important;
	text-decoration:none;
}
}
@media only screen and (max-width: 767px) {
#navigation #main-nav ul.sub-menu ul.sub-menu li a
{
	padding-left:30px;
}

}

#navigation ul.no-rss-link
{
	display:none;
}

div#layerslider
{
	padding:0px 1px 16px 1px;
}

#content {padding: 0px 1px 20px 1px;}
#footer {padding:8px 1px 0px 1px;}
#footer-widgets {border:0px;}
#footer-widgets .widget 
{
	border:0px !important; 
	margin-bottom: 0px !important;
	background:none;
	color:#c5deeb;
	padding:8px 1px;
}

#footer-widgets .widget p,
#footer-widgets .textwidget
{
	color:#c5deeb;
}

#footer-widgets .widget p a,
#footer-widgets .textwidget a,
#footer-widgets .widget ul#tweets a
{
	color:#97b9e7;
}

#footer-widgets .widget h3
{
	display:none;
}

#footer-widgets .block {padding:15px 0px 0px 0px;}

#connect
{
	display:none;
}

#sidebar .widget 
{
	padding:0px 0px 8px 0px !important;
}

#sidebar .widget h3
{
	border-radius: 5px 5px 0px 0px;
	background-color: #f0f3f7;
	background: -webkit-linear-gradient(top, #f0f3f7 0%, #d5e2f2 100%);
	background: linear-gradient(to bottom, #f0f3f7 0%, #d5e2f2 100%);
	padding:4px 8px 4px 8px;
	border:0px;
	margin-top:0px;
}


#sidebar .widget .textwidget,
#sidebar .widget .search_main,
#sidebar .widget .ai1ec-agenda-widget-view,
#sidebar .widget_woo_flickr .wrap
{
	padding:0px 8px 0px 8px !important;
}

.widget_woo_flickr .wrap
{
	position: relative;
	margin-bottom: 0px;
	padding: 0;
}

.widget_woo_flickr a img 
{
	margin: 0px;
	float: none;
	display: block;
	border: #9cb7d8 1px solid;
	padding: 0px;
}

.widget_woo_flickr .flickr_badge_image
{
	float:none;
	margin: 0px;
	padding: 0px;
}

.post-meta { display:none; }

.wp-table-reloaded
{
	border: 1px solid #7093bf !important;
	border-left:0px !important;
	border-top:0px !important;
	border-collapse: collapse !important;
	border-spacing: 0px !important;
}

.wp-table-reloaded td,
.wp-table-reloaded th
{
	border: 1px solid #7093bf !important;
	border-right:0px !important;
	border-bottom:0px !important;
	font-size:13px;
	line-height:16px;
}

img.trans
{
	border:0px !important;
	background:none !important;
}



table.flagdata
{
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  background: #f5f1d9;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  border-collapse: separate;
}


table.flagdata,
table.flagdata tbody,
table.flagdata tr,
table.flagdata td,
table.flagdata th
{
	background-color: #f5f1d9 !important;
	border:0px !important;
}

table.registry
{
	background: #f5f1d9 !important;
	border:1px solid #c0b99b !important;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

div.flagregistryentry
{
	clear:both;
	padding:8px 12px 0px 12px;
	background: #f5f1d9 !important;
	border:1px solid #c0b99b !important;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
	
}

#flagregistryentrypage .post-entries
{
	margin-top:4px;
	margin-bottom:10px;
}


div.flagregistryentryfooter
{
	clear:both;
}

table.flagdata td,
table.flagdata th,
table.registry td,
table.registry th
{
	background:none;
	border:0 !important;
	padding:0px 10px 5px 0px;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	text-shadow: none;
}

table.registry td,
table.registry th
{
	padding: 5px 0px 5px 0px;
	border-top:1px solid #c0b99b !important;
}

table.registry tr:first-child td,
table.registry tr:first-child th
{
	border-top:0px !important;
	padding: 5px 0px 5px 0px;
}

table.registry td, table.registry td a
{
  background: #e6e2d0 !important;
}

table.registry div.fill
{
	padding-right:10px;
}

table.registry div.fill p
{
	margin-bottom: 0 !important;
}

table.registry td.column-1
{
	width:22%;
}

table.registry td.column-2
{
	width:39%;
}

table.registry td.column-3
{
	width:39%;
}

table.registry img.smallflag
{
	padding:4px 4px 4px 8px;
	background: none;
}

table.registry td.column-1 div.fill
{
	min-width:120px !important;
}

table.registry div.fill p.small
{
	font-size:11px;
}

table.registry div.fill p.large
{
	color:#2F4055;
}


table.registry a
{
	text-decoration:none;
}
table.flagdata th.column-1
{
	width:20%;
	color:#2F4055;
	font-weight:bold;
}

table.flagdata td.column-2
{
	width:80%;
}

div.flagname
{
	padding:0px 0px 10px 0px;
}

h1.flagname,
h2.flagname
{
	font-family: 'Trebuchet MS',arial;
	line-height:100%;
	padding:0px 0px 5px 0px;
	margin:0px;
}

h2.flagname
{
	font-style:italic;
}

.entry #bill1,
.entry #bill2,
.entry #bill3
{
	font-family: Palatino, times, serif !important;
	padding: 8px 12px 8px 12px;
	border: 1px solid #7093bf !important;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: white;
}

.entry #bill1 p,
.entry #bill1 table td,
.entry #bill2 p,
.entry #bill2 table td
{
	font-family: Palatino, times, serif !important;
}

.entry table.bill,
.entry table.bill tbody
{
	background-color: transparent;
	border:0px;
	box-shadow:none;
}

.entry table.bill tbody tr,
.entry table.bill tbody td,
.entry table.bill tbody th
{
	background-color: Transparent !important;
	font-family: Palatino, times, serif !important;
	vertical-align: top;
	margin: 0px;
	padding: 0px 6px 8px 0px;
	border:0px;
}

.entry img,
img.thumbnail {
  height: auto;
  padding: 0px;
  border: 1px solid #7093bf;
  border: 0px;
  border-radius: 0px;
}

.entry img.captioned 
{
	margin: 0px auto 0px auto !important;
	padding: 0px !important;
	display: block;
}

.entry p.captioned 
{
	margin: 0px auto 0px auto !important;
	padding: 0px 0px 4px 0px !important;
	display: block;
}

.entry p.caption
{
	text-align:center;
	font-size:80%;
}

img.trans
{
	border:0px !important;
	background:none !important;
}

.entry span.small
{
	font-size:80%;
}

p.caligraphic
{
	font-family: 'Fondamento', cursive, times, arial !important;
	font-weight: 400 !important;
}

p.indented
{
	padding-left:40%;
}

div.caligraphic
{
	background-color:#f5f1d9;
	border:1px solid #c0b99b;
	margin:0px 20px 15px 20px;
	padding:10px 15px 2px 15px;
	color:#000;
	-moz-box-shadow: 3px 3px 8px #888;
	-webkit-box-shadow: 3px 3px 8px #888;
	box-shadow: 3px 3px 8px #888;
}

.breadcrumb {
padding: 0 0 1em 0 !important;
margin-bottom: 1em !important;
border-bottom: 0px !important;
}

.woocommerce .images
{
width: 35%;
margin-right: 3.8%;
float: left;
}

.woocommerce .summary
{
width: 61%;
float: left;
margin-bottom: 1.5em;
}

.woocommerce .woocommerce_tabs ul.tabs, .woocommerce .woocommerce-tabs ul.tabs 
{
overflow: hidden;
zoom: 1;
list-style: none;
background: #e4eaef;
padding: .5em .5em 0 .5em;
}

.woocommerce .summary p
{
	margin-bottom:.8em;
}

.woocommerce .product-addon
{
	margin-bottom: 0.8em;
	padding-top:15px;
	padding-left: 18px;
	padding-right:18px;
	font-size:91% !important;
	background-color:#edf4fa;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.woocommerce .product-addon h3
{
	font-size:100%;
	font-weight:bold;
	margin-bottom:3px;
}

.woocommerce .product-addon p
{
	font-size:100%;
	font-weight:normal;
}

#special
{
	padding:8px 12px 8px 12px;
	background: white;
	border:1px solid #7093bf !important;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

#special div.clearer
{
	clear:both;
}

#special #bill1,
#special #bill2
{
	font-family: Palatino, Times, Serif; 
	font-size:12px;
}

#special .dropcap
{
	float:left;
	font-size:2.9em;
	line-height:0.92em;
	font-weight:normal;
	margin-right:0.03em;
}

#bill1 .change,
#bill2 .change
{
	color:#A00000;
}

#special p
{
	margin:0px;
	padding:0px 0px 12px 0px;
}

#special ul
{
	list-style: none;
	margin: 0px;
	padding: 0px 0px 12px 0px;
}

#special ul li
{
	list-style: none;
	background-image: url('/wp/wp-content/uploads/template/bullet.gif');
	background-repeat: no-repeat;
	background-position: 0 2px;
	padding: 0px 0px 4px 14px;
	font-weight: bold;
}

#special ul li.secondlevel
{
	background-image: none;
	background-repeat: no-repeat;
	background-position: 0 0;
	padding:0px 0px 4px 28px;
	font-weight:normal;
}



#special div.specialleft
{
	width:74%;
	float:left;
}

#special div.specialleftinner
{
	padding:0px 39px 0px 0px;
}

#special div.specialright
{
	width:26%;
	float:left;
}

#special div.specialboth
{
	width:100%;
}

#special div.specialbothinner
{
	padding:0px 0px 0px 0px;
}

#special div.labelled
{
	text-align:center;
}

#special div.labelled p
{
	font-size:81%;
	padding:5px 0px 10px 0px;
}

#special div.group
{
	float:left;
	text-align:center;
}

#special div.nocentre
{
	text-align:left !important;
}

#special div.group p
{
	font-size:81%;
	padding:5px 0px 10px 0px;
}

#special div.group p.country-list
{
	font-size:100%;
}

#special p.hanging { text-indent: -20px; padding:0px 0px 2px 20px; }

#special p.hanging span.smallgap {font-size:25%;line-height:25%;}

#special div.flagpage
{
	background-color:#f5f1d9;
	border:1px solid #c0b99b;
	padding:12px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

#special div.flagpage div.group
{
	width:270px;
	padding:8px 0px 0px 0px;
}

#special ul li.secondlevel { padding-left: 20px; 
background-image:none;}

#special ul li.secondlevel a { font-weight:normal; }

#special a.footnote-link
{
	font-size: 70%;
	vertical-align: 2pt;
}

#special .underline
{
	text-decoration:underline;
}


#special table.datatable
{
	font-size:100%;
	border-right:1px solid #808080;
	border-bottom:1px solid #808080;
}

#special table.datatable td,
#special table.datatable th
{
	color:#333340;
	border-left:1px solid #808080;
	border-top:1px solid #808080;
	padding:4px 4px 3px 4px;
}

table.tablepress th
{
	background-color:#BACADE;
	color:#333340;
}

table.tablepress a:link, table.tablepress a:hover, table.tablepress a:visited
{
	color:#546e8f;
}

table.tablepress th.sorting:hover, table.tablepress th.sorting_asc, table.tablepress th.sorting_desc
{
	background-color:#a1b3ca;
}

.paginate_button:hover:after,
.paginate_button:hover:before
{
	color:#a1b3ca;
}

.paginate_button:after,
.paginate_button:before
{
	color:#BACADE;
}

.paginate_button.disabled:after,
.paginate_button.disabled:before,
.paginate_button.disabled:hover:after,
.paginate_button.disabled:hover:before
{
	color:#ccc;
}

#header
{
	padding:40px 0 25px 0;
}

#logo
{
	background-image: url('/wp/wp-content/uploads/template/verysmalllogo.png');
	background-repeat: no-repeat;
	background-position: 8px 0px;
	background-attachment: scroll;
}

#logotext
{
	height:110px;
	color:#3a587f;
	margin-top:0px;
	margin-left:160px;
	margin-right:10px;
	max-width:500px;
}

#logotext div.widget
{
	border:0px !important;
	background: none !important;
	padding:0px !important;

}

#logotext p
{
	font-size:10px;
}

#logo h1.site-title,#logo span.site-title,#logo span.site-description
{
	display:none!important;
}

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

#logotext
{
	height:150px;
	margin-left:210px;
}

#logotext p
{
	font-size:16px;
}

#logo
{
	background-image: url('/wp/wp-content/uploads/template/smalllogo.png');
}

}

@media only screen and (max-width: 767px) {
	
	#header
	{
		padding:25px 0 25px 0;
	}
	.hide-for-small 
	{
		display:none;
	}
}

.download-flags img{
width:150px !important;
}
.flag-thumb{
float: left;
    width: 150px;
	margin-right:15px;
}
.flags-summry{
text-align:left;
}
.flags-summry a{
display:inline !important;
}
#flags .add_to_cart_button{
float:left;
background:#0183C1 !important;
clear:both;
padding:10px 16px !important;
color:#000000;
}
#flags{
text-align:left;
}
#flags .added_to_cart{
float: left;
    margin-left: 40px;
    margin-top: 10px;
}

#main .search-results h1.title, #main .search-results h1.title a {
	font: bold 26px/1.1em 'Lato', arial, sans-serif;
	color: #333340; 
}

#main .search-results h1.title {
	margin:0 0 0.5em;
}

.post-entries {
	margin-top:-8px;
}

#comments {
	display:none;
}

#ctf .ctf-header-type-text {
	font-size: 20px;
    font-weight: bold;
}

#ctf .ctf-retweet-icon {
	color: #97b9e7;	

}