/* 	Kingdom of Calontir Cascading Stylesheet
	calontir.org Copyright 2020
	by Lord Giovanni Loredan, Deputy Webminister
	
	Based on Bootstrap v4.0: "http://v4-alpha.getbootstrap.com"
*/

/*Global Style Elements*/
body {
	background-color: #f8f3e2;
}

a {
	color: #2d1155;
}

.rolls {
	margin-top: 1rem;
}

.entry-content a {
	color: #2d1155;
	text-decoration: none;
	font-weight: bold;
}

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.clear {
	clear: both;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

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

.page-badge {
	margin-right: .5rem;
	height: 3rem;
}

	/* Top Header Style Elements */
	.row.calon-header {
		background-color: #2d1155;
		border-bottom: 3px solid #ffcc00;
	}
	img.calon-header {
		width: 135px;
		margin-left: 30%;
		margin-top: 5px;
	}
	p.calon-header1 {
		font-size: 2.5rem;
		margin: 0;
		font-family: 'Trebuchet MS', Verdana, sans;
		color: #FFCC00;
	}
	p.calon-header1 a {
		text-decoration: none;
		color: #ffcc00;
		padding-left: 2%;
	}
	p.calon-header2 {
		font-size: 1.2rem;
		font-family: 'Trebuchet MS', Verdana, sans;
		color: #FFCC00;
		font-style: italic;
	}
	p.calon-header2 a {
		text-decoration: none;
		color: #ffcc00;
		padding-left: 10%;
	}
	p.calon-header3 {
		font-size: 1.4rem;
		font-family: 'Trebuchet MS', Verdana, sans;
		color: #FFCC00;
	}
	p.calon-header a {
		text-decoration: none;
		color: #ffcc00;
		font-family: 'Trebuchet MS', Verdana, sans;
		font-size: 1.5em;
		font-weight: bolder;
		font-style: italic;
	
	}
	span.calon-header {
		color: #ffcc00;
		font-size: 1.5em;
		text-align: left!important;
	}

	/* TableList Style Elements */
.TableListItem {
	border-bottom: 1px solid #ffcc00;
	margin-top: 1%;
}
.TableListStrong {
	font-weight: bold;
} 
.TableListEmphasis {
	background-color: rgb(255,204,0);
	font-style: italic;
	font-weight: bold;
}
.TableListHeader {
	background-color: #2d1155;
	color: #ffcc00;
	font-weight: bold;
	padding: 0.5% 0;
	margin: 0.5% 0;
}

	/* Navigation Style Elements */

	.calon-navbar {
		padding-left: 20%;
	}
	ul.dropdown-menu {
		background-color: #2d1155;
	}
	a.nav-link {
    		color: #ffcc00;
    		text-decoration: none;
    		font-style: normal;
    		font-weight: bold;
	}
	a.nav-link:hover {
    		background-color: #ffcc00;
    		color: #2d1155;
		text-decoration: none;
	}
	.calon-nav {
		display: inline-block;
	}
	a.dropdown-item {
    	color: #ffcc00;
    	text-decoration: none;
    	font-style: normal;
    	font-weight: bold;
	}
	a.dropdown-item:hover {
    	background-color: #ffcc00;
    	color: #2d1155;
		text-decoration: none;
	}
	a.sidebar-nav {
		color: #2d1155;
		text-decoration: none;
	}
	

    /* Body Style Elements */
	.blocks-gallery-item a {
		color: #ffcc00;
	}
	.blocks-gallery-item {
		color: #ffcc00;
	}
	.gallery-link a {
		color: #ffcc00;
	}
	.gallery-link {
		color: #ffcc00;
	}
	h1.entry-title !important {
		padding-bottom: 1.0rem
		margin-bottom: 0
	}


	/* Footer Style Elements */
	p.calon-footer {
		color: #ffcc00;
	}
	.calon-footer a {
		color: #ffcc00;
		text-decoration: none;
	}
	div.calon-footer {
		background-color: #2d1155; 
		border-top: 3px solid #ffcc00;
		text-align: center;
		padding-top: 5px;
	}
	img.calon-footer {
		width: 5%;
		height: auto;
	}
	
	a div#primary {
		color: #2d1155;
	}
.btn-primary {
	color: #2d1155;
}

/* Collapsible Buttons for Expanding Text*/
/* Accordion styles */
.tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.tab {
  width: 100%;
  color: white;
  overflow: hidden;
}
.tab-label {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  padding: 1em;
  background: #2c3e50;
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}
.tab-label:hover {
  background: #1a252f;
}
.tab-label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  -webkit-transition: all .35s;
  transition: all .35s;
}
.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #2c3e50;
  background: white;
  -webkit-transition: all .35s;
  transition: all .35s;
}
.tab-close {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: end;
          justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}
.tab-close:hover {
  background: #1a252f;
}

input:checked + .tab-label {
  background: #1a252f;
}
input:checked + .tab-label::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 1em;
}

/* Rolls Styles */

.img-rolls-armory {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.5rem;
}

div.calon_roll_nav {
	position: relative;
    display: flex;
}

ul.calon_roll_menu {
	list-style: none;
	display: block;
	padding-left: 0px;
}

.calon_roll_menu a {
	display: block;
    padding: 0.5em 0.5em;
	color: #fece00;
	background-color: #2d1155;
	border: #fece00 solid 1px;
}

.calon_information {
	background-color: initial;
	color: initial;
}

.calon_information_fail {
	background-color: red;
	color: white;
}

.calon_information_success {
	background-color: green;
	color: white;
}
