body, h1, h2, h3, h4, h5, p, span, table, td, th, input, button, li, a{
    font-family: NonBreakingSpaceOverride, "Hoefler Text", Garamond, "Times New Roman", serif;
    letter-spacing: normal;
}

input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    /*border: 0px;*/
} 

.header-logo-left .responsive-header #site-branding{
    width: auto;
}

div#featured{
    padding-top: 40px;
    padding-bottom: 0px;
    margin-top: 0px;
}

.image-manager-container{
  padding: .5em;
}

.delete-pedigree-image-button{
   /*position: absolute;
   top: 0px !important;
   left: 0px !important;*/ 
}

#sortable-ped-images, #pedigee-image-list{
	   width: 100%;
       list-style: none;
       list-style-type: none;
       padding-left: 0px;
       margin-left :0px;
}
    
#sortable-ped-images li, #pedigee-image-list li{
	   float: left;
       margin: .2em; 
       padding: .5em; 
       border: 1px solid #C0C0C0; 
       width: 100px;
}

.sortable-ped-images-placeholder{
    min-height: 80px;
    height: 80px;
    min-width: 100px;
    width: 100px;
    background-color: #F0F0F0;
    border: 1px dashed #C0C0C0;
    margin: .2em;
    float: left;
}

.center-text{
    text-align: center !important;
}

.pedigree-image-list li{
    display: inline;
    list-style: none !important;
    list-style-type: none !important;
}

.pedigree-image-list{
    list-style: none !important;
    list-style-type: none !important;
    
}

@media only screen and (max-width: 600px) {
  div.ped-container{
    overflow-x: auto;
    -webkit-overflow-x-scrolling: touch;
    padding: 0px auto 0px auto !important;
    margin: 0px auto 0px auto !important;
  }
  
  table.featured-pedigree-table, table.random-pedigree-table, table.pedigree-list{
    margin: 0px auto 0px auto;
  }
}

table.pedigree a{
    display: block;
}

table.pedigree td, table.options-table td, table.options-table td label{
    word-break: keep-all;
}

table.horizontal tr.generations td, table.pedigree-editor tr.generations td{
    width: 25% !important;
    max-width: 25% !important;
   }

.nowrap{
    word-break: keep-all;
    white-space: nowrap;
}

.position-relative{
   position: relative;
}

.blank {
position: absolute;
top: 0px;
left: 0px;
width: 100% !important;
max-width: 300px;
height: 100% !important;
max-height: 300px;
z-index: 1000 !important;
}

.slideshow-container{
    position: relative;
   margin-left: auto;
    margin-right: auto;
width: 100%;
max-width: 300px;
}

.image img {
display: block;
width: 100%;
max-width: 300px;
}

.featured-title, .home-widgets{
display: none !important;
}

 .pedigree-container{
    position: relative;
        text-align: center;
        background-color: #FFFFFF;
        padding: .5em;
        border: 1px solid #C0C0C0;
        box-shadow: 5px 5px 5px #EEEEEE;
    }
    
    p.pedigree-title{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-weight: 700;
        font-size: 3em;
        letter-spacing: 1px;
        margin: 0px !important;
    }
    
    p.pedigree-for{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 2em;
        margin-top: 4vh;
        font-weight: bold;
    }
    
    .pedigree_result{
	   vertical-align: middle;
       text-align: center;
	}
    
    .pedigree{
        background-color: #C0C0C0;
    }

	.pedigree td{
	   vertical-align: middle;
       text-align: center;
       border: 2px solid #C0C0C0 !important;
	}

    .pedigree-list td{
	   vertical-align: middle;
	}
    
    .pedigree-image{
        max-width: 300px;
        vertical-align: middle;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pedigree-image-t{
        max-width: 80px;
        vertical-align: middle;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pedigree-image img, .pedigree-image-t-t{
        width: 100%;
    }
    
    td.dog-1, th.dog-1{
        background-color: #FFFFFF;
    }
    
    td.male{
        background-color: #FFFFFF;
    }
    
    td.female{
       background-color: #FFFFFF; 
    }
    
    table.pedigree-editor td.dog-1, th.dog-1{
        background-color: #F8F8F8;
    }
    
    table.pedigree-editor td.male{
        background-color: #e9f5ff;
    }
    
    table.pedigree-editor td.female{
       background-color: #f1e0eb; 
    }
    
    .ped-footer{
        background-color: #EFEFEF;
    }

.error{
border: 1px solid #C80505;
color: #212121;
background-color: rgba(255, 0, 0, 0.22);
}

.tip{
border: 1px solid #555555;
color: #555555;
background-color: #FFFFF0;
}
    
.success, .error, .tip{
        margin:  .5em 0 .5em 0 !important;
        padding:  .5em !important;
        -moz-border-radius: 4px;
        -khtml-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
}

.success a, .error a, .tip a, .success a:visited, .error a:visited, .tip a:visited, .success a:active, .error a:active, .tip a:active{
    color: white;
}

.uppercase{
   text-transform: uppercase !important;
}

button.mobile-nav-toggle, button.mobile-nav-toggle:visited, button.mobile-nav-toggle:hover, button.mobile-nav-toggle:active{
    border: 0px !important;
}

/*
 * jQuery FlexSlider v2.2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets
*********************************/
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0 !important; padding: 0 !important; list-style: none !important;}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('/custom/fonts/flexslider-icon.eot');
	src:url('/custom/fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('/custom/fonts/flexslider-icon.woff') format('woff'),
		url('/custom/fonts/flexslider-icon.ttf') format('truetype'),
		url('/custom/fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { margin: 0 0 60px; background: #fff; border: 4px solid #fff; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; }
.flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a  { text-decoration:none; display: block; width: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 90; overflow: hidden; opacity: 100; cursor: pointer; color: #555; text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.flex-direction-nav .flex-prev { left: -50px; }
.flex-direction-nav .flex-next { right: -50px; text-align: right; }
.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
.flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 40px; line-height:1; display: inline-block; content: '\f001'; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {width: 100%; position: relative; bottom: -10px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 0; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 0; right: 10px;}
}

/* Bug fix */
div#responsive_current_menu_item{
    min-height: 20px !important;
}

a.blue {
border: 1px solid #043059;
color: #fff;
background-color: #004890;
background-image: -webkit-gradient(linear, left top, left bottom, from(#4f9eea), to(#004890));
background-image: -webkit-linear-gradient(top, #4f9eea, #004890);
background-image: -moz-linear-gradient(top, #4f9eea, #004890);
background-image: -ms-linear-gradient(top, #4f9eea, #004890);
background-image: -o-linear-gradient(top, #4f9eea, #004890);
background-image: linear-gradient(top, #4f9eea, #004890);
text-shadow: 0 -1px 0 #043059;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4f9eea, endColorstr=#043059);
}

.ui-autocomplete-loading {
    background: white url("/custom/images/ui-anim_basic_16x16.gif") right center no-repeat;
}

.admin-pedigrees-image-thumb{
    display: inline-grid;
    padding: 5px 5px 5px 5px;
    border: 1px solid #EEEEEE;
    margin: 5px;
}

.admin-pedigrees-images{
    display: block;
}

.admin-pedigrees-list input[type='submit']{
	color:#474747;
	border:solid 1px #B6B6B6;
	padding: 0px 2px 0px 2px;
	background:#E6E6E6;
	background:-moz-linear-gradient(top,#FFFFFF 1px,#F3F3F3 1px,#E6E6E6);
	background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#FFFFFF),color-stop(0.02,#F3F3F3),color-stop(1,#E6E6E6));
    font-size: .9em;
    font-weight: normal;
}

.pro-button-on{
    padding-left: .5rem;
    padding-right: .5rem;
    padding-top: .2rem;
    padding-bottom: .2rem;
    text-decoration: none;
    color: white;
    background-color: #008000;
    font-weight: bold;
    font-size: x-small;
    border: 0px solid lime;
    vertical-align: middle;
}

.pro-button-off{
    padding-left: .5rem;
    padding-right: .5rem;
    padding-top: .2rem;
    padding-bottom: .2rem;
    text-decoration: none;
    color: white;
    background-color: #4F4F4F;
    font-weight: bold;
    font-size: x-small;
    border: 0px solid #FFFF00;
    vertical-align: middle;
}

.dog-image-container{
        display: block;
        position: relative;
        border: 0px solid black;
        margin: 5px auto 5px auto;
    }
    
    .dog-bg-image {
        position: relative;
        filter: blur(1px);
        -webkit-filter: blur(1px);
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border: 1px solid white;
        
    }
    
    .dog-inside-image {
        position: absolute;
        top: 0px;
        margin: 0px auto 0px auto;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        border: 0px solid black;
    }
    
    
    .dog-image-container.self, .dog-inside-image.self{     
        width: 158px;
        height: 158px;
    }
    
    .dog-image-container.parent, .dog-inside-image.parent{     
        width: 124px;
        height: 124px;
    }
    
    .dog-image-container.grandparent, .dog-inside-image.grandparent{     
        width: 104px;
        height: 104px;
    }
    
    .dog-image-container.greatgrandparent, .dog-inside-image.greatgrandparent{     
        width: 84px;
        height: 84px;
    }
    
    table.pedigree i.fa-mars, table.pedigree i.fa-venus{
        display: block;
    }
    
    .hidden{
        display: none;
    }
    
    div.pedigree-div{
        text-align: center;
    }
    
    button.pro-upgrade-button{
        position: absolute;
        top: .2vh;
        right: .2vh;
        padding: 5px;
        font-size: .7em;
        z-index: 1001;
    }
    
    /* style.css overrides 
    @media (min-width: 700px){
        .post-inner {
            padding-top: 0;
       } 
    }
    
    .post-inner {
        padding-top: 0;
    }
    */
             