/*
Theme Name: AJ Academy
Description: Custom theme for AJ Academy blog, based of Wordpress's twentytwelve theme.
Version: 0.0.1
Template: twentytwelve
*/

@import url('../twentytwelve/style.css');
/*custom styles*/

/* Resets
-------------------------------------------------------------- */
/* Remove Chrome's focus outlining*/
textarea:focus, input:focus{
    outline: 0;
}

/*fonts
-------------------------------------------------------------- */
@font-face {
  font-family: 'Tiki-Island';
  src: url('fonts/Tiki-Island-ext-AH.eot');
  src: url('fonts/Tiki-Island-ext-AH.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
   url('fonts/Tiki-Island-ext-AH.woff') format('woff'), /* Modern Browsers */
   url('fonts/Tiki-Island-ext-AH.svg#svgFontName') format('svg'), /* Legacy iOS */
   url('fonts/Tiki-Island.ttf') format('truetype');/* IE9 Compat Modes */
  /* other */
}
/*@import url('MyFontsWebfontsKit/MyFontsWebfontsKit.css');
 Available CCDigital Delivery Fonts
  font-family: CCDigitalDelivery;
  font-family: CCDigitalDeliveryDisplay;
  font-family: CCDigitalDelivery-Bold;
  font-family: CCDigitalDelivery-BoldItalic;
  font-family: CCDigitalDelivery-Italic;
*/
@font-face {
  font-family:'CCDigitalDelivery';
  src: url('fonts/CCDigitalDeliveryRegular.eot');
  src: url('fonts/CCDigitalDeliveryRegular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/CCDigitalDeliveryRegular.woff') format('woff'), /* Modern Browsers */
url('fonts/CCDigitalDeliveryRegular.ttf') format('truetype');/* IE9 Compat Modes */
}
@font-face {
  font-family:'CCDigitalDelivery-Bold';
  src: url('fonts/CCDigitalDeliveryBold.eot');
  src: url('fonts/CCDigitalDeliveryBold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/CCDigitalDeliveryBold.woff') format('woff'), /* Modern Browsers */
url('fonts/CCDigitalDeliveryBold.ttf') format('truetype');/* IE9 Compat Modes */
}
@font-face {
  font-family:'CCDigitalDelivery-BoldItalic';
  src: url('fonts/CCDigitalDeliveryBoldItalic.eot');
  src: url('fonts/CCDigitalDeliveryBoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/CCDigitalDeliveryBoldItalic.woff') format('woff'), /* Modern Browsers */
url('fonts/CCDigitalDeliveryBoldItalic.ttf') format('truetype');/* IE9 Compat Modes */
}
@font-face {
  font-family:'CCDigitalDelivery-Italic';
  src: url('fonts/CCDigitalDeliveryItalic.eot');
  src: url('fonts/CCDigitalDeliveryItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/CCDigitalDeliveryItalic.woff') format('woff'), /* Modern Browsers */
url('fonts/CCDigitalDeliveryItalic.ttf') format('truetype');/* IE9 Compat Modes */
}

/*Sticky Footer
-------------------------------------------------------------- */
html, body {
  height: 100%;
}
.page-wrap {
  min-height: 100%;
  /* equal to footer height */
  margin-bottom: -170px;
}
.push {
  display: block;
}
footer[role="contentinfo"], .push {
  /* .push must be the same height as footer */
  height: 170px;
}

/* Basic Elements
-------------------------------------------------------------- */

/* fonts */
body.custom-font-enabled {
  font-family: CCDigitalDelivery, Patrick Hand, Arial, sans-serif;
  color:#6d3f12;
}

/* Basics Structure / Layout
-------------------------------------------------------------- */
.page-framing{
  position: relative;
  /*height: 100%;*/
  display: block;
  width: 100%;
  margin: none;
  background-image: url(img/paper_bg.jpg);
}

/* black edges */
.frame-left {
  display: none;
  background: url(img/side_forrest_tile_left.png);
  background-repeat: repeat-y;
  width: 121px;
  height: 100%;
  background-position: 0px 0px;
  position: absolute;
  left: -1px;
  top: 0;
  z-index: 10;
}
.frame-right {
  display: none;
  background: url(img/side_forrest_tile_right.png);
  background-repeat: repeat-y;
  width: 122px;
  height: 100%;
  background-position: -1px 0px;
  position: absolute;
  right: -2px;
  top: 0;
  z-index: 10;
}
.wrapper {
  position:relative;
  width: 926px;
  margin: 10px auto;
}
.site-content p {
  margin: 24px;
}


/* Header
-------------------------------------------------------------- */
.site-header{
  background: url(img/header_img_forrest.png) no-repeat center top;
  height:202px;
}
.menu-container{
  position:relative;
  margin-left:auto;
  margin-right:auto;
  width: 922px;
}
.aja-logo{
  position:absolute;
  top: 9px;
}
.nav-bar{
  position:absolute;
  left:179px;
  top: 20px;
  background-image:url(img/menu_bar.png);
  width: 647px;
  height: 108px;
}
#site-navigation{
  position:absolute;
  left: 33px;
  top: 31px;
}
#menu-main-menu{
  font-family:Tiki-Island, Arial, sans-serif;
  }
.main-navigation li{
  margin: 0px 30px 0px 0px;
}
#menu-main-menu > li > a{
  color: #ffe3c5;
  font-size: 32px;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}
#menu-main-menu > li > a:hover{
  color:#eaa95a;
}
.sub-menu > li > a{
  font-family: CCDigitalDelivery-Bold, Patrick Hand, Arial, sans-serif;
  color:#7a4a12;
  font-size:20px;
  display: block;
  padding: 7px 12px;
  width: 150px;
  white-space: normal;
}
.sub-menu > li > a:hover{
  color:#d16d2a;
}
.main-navigation li ul {
  top: 104%;
  width: 170px;
  background: #fcf7f2;
  box-shadow : 2px 2px 2px rgba(0, 0, 0, 0.4);
   filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#000000') ;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  z-index:1000;
}

/* Widgets
-------------------------------------------------------------- */
.template-front-page .widget-area{
  position:absolute;
  left: 634px;
  background: #f29611;
  border: #e67b10 solid 1px;
  width: 284px;
  border-radius: 10px;
  box-shadow : 1px 1px 2px rgba(0, 0, 0, 0.6);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=1, Color='#000000');
}
.widget-area .front-widgets{
  margin: 12px auto;
  width: 270px;
}
.widget-area .front-widgets .widget{
  margin-bottom: 10px;
}

.front-widgets .widget_search #s,
.front-widgets .widget_search form.gsc-search-box div.gsc-input-box {
  color:#5e3510;
  font-size:16px;
  border: 1px solid #d38c3f;
  width: 88%;
  margin-left: 7px;
  padding: 7px 10px;
  border-radius: 16px;
  background:#FFF;
  -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.35);
  -moz-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.35);
  box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.35);
}
.front-widgets .widget_search #searchsubmit,
.front-widgets .widget_search form.gsc-search-box input.gsc-search-button {
  border: 1px solid #5fd830;
  box-shadow: 0px 0px 0px 2px rgba(82, 124, 31, 1);
  padding: 6px 10px;
  border-radius: 16px;
  background: #6dd441 url(img/green_btn_bg.png) repeat-x;
  background-size: auto 100%;
  color: #1f5900;
  font-family: CCDigitalDelivery;
  font-weight:bold;
  font-size: 15px;
  letter-spacing: 0.5px;
  position: relative;
  top: 1px;
}
.front-widgets img{
  box-shadow:none; /*kill the box shadow on sidebar images*/
  margin: 0px;
}
.front-widgets .sb-divider{
  clear:both;
  height:18px;
  width: 268px;
  margin-top: 10px;
  margin-bottom: 10px;
  background:url(img/sidebar_divider.png) repeat-x;
}
.front-widgets .sb-title{
  font-family: Tiki-Island, Arial, sans-serif;
  font-size: 32px;
  font-weight:normal;
  text-align:center;
  color:#FFF;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
}
.front-widgets .sb-social-icons{
  background: #E67B10;
  border-radius: 20px;
  width: 220px;
  height: 110px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}
.front-widgets .sb-social-icons img{
  position:relative;
  top: 13px;
  left: 19px;
}
/* nav below
-------------------------------------------------------------- */
#nav-below{
  position: relative;
  top: 20px;
  overflow: visible;
}
.nav-previous a , .nav-next a{

  padding: 5px;
  background : #F5F2E1;
  background : rgba(245, 242, 225, 1);
  border-style : Solid;
  border-color : #C6BC9D;
  border-color : rgba(198, 188, 157, 1);
  border-width : 1px;
  box-shadow : 2px 2px 0px rgba(0, 0, 0, 0.3);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#000000');
}
.nav-previous a , .nav-next a {
  color: #d16d2a;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
}
.nav-previous a:hover , .nav-next a:hover {
  text-decoration: underline;
}
/* AJ-link
-------------------------------------------------------------- */
#aj-link{
  position: fixed;
  bottom: 30px;
  left: 0px;
  width: 108px;
  height: 125px;
  background: url('img/aj-link.png') no-repeat;
  z-index: 200;
}
#aj-link a{
  position: absolute;
  top: 12px;
  left: 10px;
  width: 86px;
  height: 104px;
  display: block;
}
/* Footer
-------------------------------------------------------------- */
footer[role="contentinfo"] {
  background:#131313;
  margin-top: 20px;
}
.footer-content{
  color:#819165;
  text-align:center;
  margin: 0px 70px;
}
.footer-links {
  border-bottom: #4f4f4f solid 1px;
  padding-top: 30px;
  padding-bottom: 14px;
}
.footer-links li {
  padding: 0px 1px;
  display: inline;
}
.footer-links li a {
  font-family: CCDigitalDelivery-Bold, Patrick Hand, Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #819165;
  text-decoration:none;
}
.footer-links .footer-divider{
  font-family: Patrick Hand, Arial, sans-serif;
  margin: 0px 4px;
  color: #4f4f4f;
}
.footer-links li a:hover {
  color: #fff;
  text-decoration:underline;
}
.footer-content p {
  margin: 16px auto 0 auto;
  font-size:13px;
  line-height: normal;
  max-width: 580px
}
.footer-content #ww-logo {
  margin-top: 14px;
  float: right;
  background:url(img/ww_logo.png);
  width: 96px;
  height: 70px;
}
.footer-content p:after {
  content: "";
  display: block;
  clear: both;
}

/* Home
-------------------------------------------------------------- */
.home .site-content{
  float:left;
  width: 600px;
  margin-left:4px;
}
.home .entry-header h1{
  display:none; /* hides screen tile*/
}
.home-thumbnail{
  border-radius: 0 !important;
  border: #FFF 8px solid;
  box-shadow : 1px 1px 2px rgba(0, 0, 0, 0.6)!important;
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=1, Color='#000000')!important;
}
.home-featured-item{
  width: 290px;
  float: left;
  margin-left: 5px;
  margin-right: 5px;
}
.home-featured-item h2{
  font-family: Tiki-Island, Arial, sans-serif;
  font-size: 32px;
  color:#7a4a12;
  text-align:center;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
  line-height: 42px;
  letter-spacing: 1px;
  background: #ffd04f;
  border-top:#ffecb9 1px solid;
  margin: 0px auto 12px auto;
  width: 190px;
  box-shadow : 1px 2px 0px rgba(0, 0, 0, 0.2);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=2, Color='#000000');
}
.home-featured-item h2 a{
  color:#7a4a12;
  text-decoration:none;
}
.home-featured-item img{
	display: block;
	width: 216px;
    height: 216px;
    margin-left: auto;
    margin-right: auto;
}
.home-featured-item p {
  margin: 12px 10px 20px 10px;
  text-align:center;
  line-height:20px;
}

/* Categories and Search Results
-------------------------------------------------------------- */
.category .wrapper,
.search-results .wrapper {
  padding-bottom: 12px;
}
.category .archive-title {
  font-family: Tiki-Island, Arial, sans-serif;
  font-size: 44px;
  font-weight: normal;
  color:#704a28;
  text-align:center;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}
.search-results .page-title{
  color:#6d3f12;
}
.category .aja-post,
.category .aja-video,
.search-results .aja-post{
  float: left;
  width: 216px;
  height: 256px;
  margin: 20px 14px 0px 0px;;
}
.category .aja-post img,
.category .aja-video img,
.search-results .aja-post img {
  border:#FFF 8px solid;
  box-shadow : 1px 1px 2px rgba(0, 0, 0, 0.6);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=1, OffY=1, Color='#000000');
}
.category .aja-post .entry-title,
.category .aja-video .entry-title,
.search-results .aja-post .entry-title{
  text-align:center;
  font-size: 18px;
  margin-top: 10px;
}
.category .aja-post .entry-title a,
.category .aja-video .entry-title a,
.search-results .aja-post .entry-title a{
  color:#d16d2a;
  font-weight: bold;
  text-decoration: none;
}
.category .aja-post .entry-title a:hover,
.category .aja-video .entry-title a:hover,
.search-results .aja-post .entry-title a:hover{
  color:#e67b10;
  text-decoration: underline;
}
.category .aja-post .entry-meta,
.category .aja-video .entry-meta,
.search-results .aja-post .entry-meta{
  display:none;
}
/* AJA Posts
-------------------------------------------------------------- */
.single-aja-post .wrapper h1{
  font-family: Tiki-Island, Arial, sans-serif;
  font-size: 52px;
  font-weight: normal;
  color:#704a28;
  text-align:center;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}
.single-aja-post .wrapper img{
  display:block;
  margin-left: auto;
  margin-right:auto;
  margin-top:20px;
  margin-bottom:20px;
  box-shadow : 2px 2px 4px rgba(0, 0, 0, 0.4);
  filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='#000000');
}
.single-aja-post .wrapper a{
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid #5fd830;
  box-shadow: 0px 0px 0px 2px rgba(82, 124, 31, 1), 3px 4px 2px rgba(0, 0, 0, 0.25);
  padding: 4px 0px;
  border-radius: 20px;
  background: #6dd441 url(img/green_btn_bg.png) repeat-x;
  color: #1f5900;
  font-family: Tiki-Island, Arial, sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  background-size: auto 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  width: 160px;
}
.single-aja-post .wrapper select,
.single-aja-post .wrapper .select2{
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid #5fd830;
  box-shadow: 0px 0px 0px 2px rgba(82, 124, 31, 1), 3px 4px 2px rgba(0, 0, 0, 0.25);
  padding: 4px 0px;
  border-radius: 20px;
  background: #6dd441 url(img/green_btn_bg.png) repeat-x;
  color: #1f5900;
  font-family: Tiki-Island, Arial, sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  background-size: auto 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  width: 160px;
}
.single-aja-post .wrapper .select2-selection{
  background-color: inherit;
  border: none;
}
.single-aja-post .wrapper .select2 span:focus{
  outline-style: none;
}
.single-aja-post .wrapper .select2 b{
  border-width: 10px 7px 0 7px !important;
  border-color: #1F5900 transparent transparent transparent !important;
}
.single-aja-post .wrapper .select2-selection__arrow{
  right: 12px !important;
  top: 4px !important;
}

/* AJA Videos
-------------------------------------------------------------- */
.single-aja-video .wrapper .video-content{
  margin-bottom: 20px;
}
.single-aja-video .wrapper h1{
  font-family: Tiki-Island, Arial, sans-serif;
  font-size: 44px;
  font-weight: normal;
  color:#704a28;
  text-align:center;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.single-aja-video .wrapper .video-container{
  text-align:center;
  margin-left: auto;
  margin-right: auto;
}
.single-aja-video .wrapper .video-container p{
  margin-top:20px;
  margin-bottom:20px;

}

/* No Search Results & Empty Category
-------------------------------------------------------------- */
.search-no-results .entry-content, .category .not-found .entry-content{
  text-align:center;
  margin-bottom: 20px;
  line-height: 1;
}
.search-no-results .entry-header, .category .not-found .entry-header{
  display:none;
}
.search-no-results .entry-content .searchform, .category .not-found .entry-content .searchform {
  margin-bottom: 16px;
}
.search-no-results .searchform #s, .category .not-found .entry-content .searchform #s{
  color:#5e3510;
  font-size:16px;
  border: 1px solid #D8BC9F;
  width: 56.5%;
  margin-left: 7px;
  padding: 7px 10px;
  border-radius: 16px;
  width: 220px;
  background:#FFF;
  -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.25);
  box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.25);
}
.search-no-results .searchform #searchsubmit , .category .not-found .entry-content .searchform #searchsubmit{
  border: 1px solid #5fd830;
  box-shadow: 0px 0px 0px 2px rgba(82, 124, 31, 1);
  padding: 6px 10px;
  border-radius: 16px;
  background: #6dd441 url(img/green_btn_bg.png) repeat-x;
  background-size: auto 100%;
  color: #1f5900;
  font-family: CCDigitalDelivery;
  font-weight:bold;
  font-size: 15px;
  letter-spacing: 0.5px;
  position: relative;
  top: 1px;
}

/* Media Queries
-------------------------------------------------------------- */
/*large desktop displays*/
@media (min-width: 1340px) {
  /* turn on the black framing*/
  .page-framing{
    width: 1326px;
    margin-left: auto;
    margin-right: auto;
  }
  .frame-right,
  .frame-left {
    display: block;
  }
  .footer-content {
    color: #819165;
    text-align: center;
    margin: 0px 160px;
  }
}
