/*
Theme Name: Ansteorra Home Page
Theme URI: https://ansteorra.org
Author: Kingdom WebMinister
Author URI: https://ansteorra.org
Description: Kingdom root website theme, very specific, with static navigation because the site UX is static.
Version: 1.0
*/

body {
  /* Margin bottom by footer height */
  background-image:   url(./img/black_top_small.jpg);
  color: #333333;
}

a {
    color: #991414;
}

a:hover, a:focus {
    color: #333;
}

blockquote {
    padding: 10px 0px;
}

nav{
  background-image:none;
  min-width:1106px;
}

.nav_top{
  background-color:black;
  background-image:url(./img/black_top_small.jpg);
  height:41px;
}

.nav_top_links

{
  float:right;
  margin-top:7px;
}

.nav_top_links ul{
  list-style:none;
}

.nav_top_links li{
      display:inline;
      margin-right:27px;
      font-size:12px;
}

.nav_top_links img{
  margin-right:6px;
  vertical-align:auto;
}

nav a, nav a:visited {
  font-variant: small-caps;
  color:white;
}

nav a:hover{
  color:white;
  text-decoration: none;
}

.nav_middle{
  background-image:url(./img/yellow_bkgrnd_small.jpg);
  height:99px;
  padding-left:20px;
  clear:both;
}

.nav_bottom{
  background-image:none;
  background-color:black;
  background-image:url(./img/black_and_yellow_top_nav_small.jpg);
  height:62px
}

.nav_main_logo{
  width:280px;
  display:inline-block;
}

.nav_main_logo img{
  position:absolute;
  height:243px;
  top:0;
  z-index: 2000;
}

.nav_kingdom_name{
  width:405px;
  padding-top:15px;
  margin-left:-26px;
  display:inline-block;
}

img.ansteorra{
  margin-left:-14px;
}

img.left_img{
    float: left;
    margin-right: 10px;
}

img.left_img + p{
    margin: 10px 0px;
}

.nav_search_box{
  margin-top:21px;
  float:right;
  margin-right:15px;
}

.nav_search_box form{
  display:inline-block;
  margin-right:24px;
}

.nav_search_box input[type="text"] {
  color:white;
  background-color:black;
  border:white;
  border-width:1px;
  box-sizing: border-box;
  border-style: solid;
  margin-left:3px;
}

.nav_search_box input[type="submit"] {
  padding: 2px 4px;
  margin-left: 5px;
  cursor: pointer;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.nav_search_box a{
  margin-right:12px;
}

.main_nav{

  display: inline-block;
  width: 100%;
  position: relative;
  padding-left:260px;
  font-variant: small-caps;
  cursor: default;
  z-index: 500;
}

.main_nav ul{
  list-style:none;
}

.main_nav li{
  display: block;
  float: left;
  list-style: none;
  width:10%;
  margin-top:20px;
  font-size:18px; 
  text-align:center;
}
@media (min-width: 768px){
    li.dropdown.open { 
    position: static; 
    background: #e7bf73;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color:black;
    padding-bottom:15px;
    }

    li.dropdown.open a { 
    color: #991414;
    }

    li.dropdown.open .dropdown-menu {
    display:table; 
    width: 100%; 
    text-align: center; 
    left:0; 
    right:0;
    height:200px; 
    margin-top:0px;
    border-top-color: white;
    background-image: url(./img/dropdown_img/background.png);
    }

    li.dropdown.open .dropdown-menu div.left {
    margin-left: 20%;
    }

    li.dropdown.open .dropdown-menu div.right {
    margin-right: 20%;
    }

    .dropdown-menu>li { 
    display: table-cell; 
    }
}

img.animal {
    margin-bottom: -5px;
  }
.site_content{
    padding-top : 50px;
    padding-bottom : 50px;
    min-height:300px;
    background-color: transparent;
    background-image:   url(./img/small_body_background.jpg);
}

.btn-default {
   background-color: #5cb85c;
   border: 1px solid #ccc;
   color: #fff; 
}

h3.well {
    background-color: #f0e2c7;
    border: 2px solid #eaca8c;
    color: #000;
}

ul.nav-stacked {
    float: left;
    border-bottom: none;
    font-size: 16px;
}

.nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
    border-left: 5px solid #991414;
    border-radius: 4px 4px 0 0;
    line-height: 1.42857;
    margin-right: 2px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #fff;
    background-color: #fff;
    border-image: none;
    color: #333;
    cursor: default;
}

.nav-stacked > li.active > a, .nav-stacked > li.active > a:hover, .nav-stacked > li.active > a:focus {
    border-left: 5px solid #991414;
}

div.tab-content {
    background-color: #fff; 
    min-height: 500px;
}

div.calendar {
    float: right; 
    width: 150px;
}

.main-margin {
    margin-left: 200px;
}

div.page-adj {
    padding: 20px;
    min-height: 300px;
}

div.wedo {
    background-color: #fff;
    margin-left: 0px;
    min-height: 0px;
    padding-top: 0px;
    margin-top: -150px;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background-color: #991414;
    color: #fff;
}

div.social_adj {
    margin-bottom: 12px;
}

.site_table{
    background-color: white;
    border-radius: 15px;
    padding:5px;
}

.site_table table{
    width: 100%;
}

.site_table th, td{
    padding: 20px 10px;
    border-bottom: 2px solid #999;
}

.site_table .noborder{
    border: none;
}

div.stacked {
    min-height:100px;
    max-height:200px;
    margin-top:10px;
}

.dropdown-menu-wedo {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #fff;
}

section.small {
    margin-top: 10px;
}

.image_scroller{
  padding-top:20px;
  width: 100%;
  background-image:   url(./img/footer_small.jpg);
  background-repeat: repeat-x;
  height:221px;
  color:white;
}

footer.container-fluid{
  padding-top:20px;
  min-height:100px;
  background-color:black;
  color: white;
  background-image:url(./img/black_top_small.jpg);
}

/* [Start] Styling for Welcome content on home page */

div#intro {
    background-color: #fff; 
    border-radius: 15px; 
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
    height: auto; 
    margin-left: 10%; 
    padding: 25px 5px 5px 0px; 
    width: 1165px !important;
}
div#welcome_content {
    padding-top: 20px; 
    margin-left:250px; 
    background-color: #fff; 
    min-height: 500px;
}
#welcome_content h2 {
    padding-bottom: 20px;
}
.standard_table {
    width: 900px;
}
.standard_table td {
    width: 300px; 
    vertical-align: top; 
    padding: 10px 5px;
}
.center {text-align: center;
}

/* [End] styling for Welcome content on home page */

.body_content{
    margin-left: 12%;
    width: 78%;
    min-height: 400px;    
}

 /* Style the buttons that are used to open and close the accordion panel */

button.accordion {

    font-size: 16px;
    background-color: #eee;
    color: #337ab7;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;

}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */

button.accordion.active, button.accordion:hover {
    background-color: #ddd;
}

/* Style the accordion panel. Note: hidden by default */

div.panel {
    padding: 18px;
    background-color: white;
    display: none;
    width: 100%;
}

button.accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}

button.accordion.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}

 /* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.3;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #fff;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    opacity: 0.4;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


#formsresults ul {
    padding: 0;
    list-style-type: none;
}

.formstable{
	border: none;
	padding: 0 0 !important;
}

.formstable th, .formstable td {
	border-bottom: 0 !important;
}

.formstable, .formstable tr {
	width: 100%;
}

.formstable th, .formstable td {
    margin: 10px;
    padding: 10px;
}

.FormSection{
	padding: 10px;
}

.Description{
	width: 80%;
}

.Linkspace{

	width: 10%;

}


/* 100% Image Width on Smaller Screens */
@media (max-width: 767px){
    .modal-content {
        width: 100%;
    }
}
@media (max-width: 767px){
    nav {
        min-width: 0;
    }
    .navbar{
        margin-bottom:0;
    }
    .site_content{
        padding-top:10px;
    }
    div#intro {
        background-color: #fff; 
        border-radius: 15px; 
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
        height: auto; 
        margin: 0; 
        padding: 25px 5px 5px 0px; 
        width: auto !important;
        clear:both;
    }
    .main-margin{
        margin:5px;
    }
    div.wedo{
        margin:0;
    }
    div#welcome_content {
        padding-top: 20px; 
        background-color: #fff; 
        min-height: 500px;
    }
    
    #welcome_content h2 {
        padding-bottom: 20px;
    }
    div#intro .nav-stacked{
        float:none;

    }
    .nav-stacked > li{
        display:inline-block;
    }
    .body_content{
        margin-left: 0%;
        min-height: 400px;   
        width:auto; 
    }
}
