/*
Theme Name: orbit-media
Theme URI: http://www.orbitmedia.com
Description: A wordpress 4.0+ theme built on Bootstrap 3
Author: Orbit Media Studios
Author URI: http://www.orbitmedia.com
Author Email: andi@orbitmedia.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 2.0
Tags: fluid-layout, responsive-layout
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.sticky {

}

.gallery-caption {

}

.bypostauthor {

}

/* Coat of arms styles */

.coat-wrapper #coat.desktop{
    width:552px;
    height:522px;
    display:block;
    background:url('images/coat-of-arms/base.png') center center no-repeat;
    background-size: contain;
    position:relative;
    margin:0 auto 0 auto;
}
.coat-wrapper #coat.mobile{
    display:none;
}
.coat-wrapper #coat.desktop .image{
    width:552px;
    height:522px;
    position:absolute;
    top:0;
    left:0;
}
.coat-wrapper #info {
    position: relative;
}
.coat-wrapper .info-nav{
    width:270px;
    height:40px;
    display:block;
    margin:0 auto 20px auto;
    padding:0;
    list-style:none;
}
.coat-wrapper .info-nav li{
    display:inline;
    float:left;
}
.coat-wrapper .info-nav li a.button{
    background:url('images/plus-minus.png') 0 0 no-repeat;
    text-indent:-24000px;
    text-decoration:none;
    display:block;
    width:37px;
    height:39px;
}
.coat-wrapper .info-nav li a.button.open{
    background-position:0px -39px;
}
.coat-wrapper .div-wrapper{
    width:900px;
    margin:0 auto;
}
.coat-wrapper .description{
    background:#fff;
    width:750px;
    height:auto;
    margin: 0 auto;
    max-height:183px;
    padding:1px 1.5%;
    box-shadow:0px 0px 4px #d0d1d1;
    -moz-box-shadow:0px 0px 4px #d0d1d1;
    -webkit-box-shadow:0px 0px 4px #d0d1d1;
    -ms-box-shadow:0px 0px 4px #d0d1d1;
    border-radius:3px 3px;
    -moz-border-radius:3px 3px;
    -webkit-border-radius:3px 3px;
    -ms-border-radius:3px 3px;
    text-align:left;
    position:relative;
}
.coat-wrapper .description p{
    font-size:14px;
    color:#5d5d5d;
    margin-top:0;
}
.coat-wrapper .description h3{
    text-align:center;
    font-weight:bold;
    font-size:16px;
    color:#3c8a4c;
    margin:10px 0 0 0;
}
.coat-wrapper .description span{
    display:block;
    width:34px;
    height:25px;
    background:url('images/arrow-tip.png') 0 0 no-repeat;
    position:absolute;
    top:-25px;
}
.coat-wrapper .description span.dexter{left:260px;}
.coat-wrapper .description span.sinister{left:298px;}
.coat-wrapper .description span.silver{left:335px;}
.coat-wrapper .description span.chevrons{left:362px;}
.coat-wrapper .description span.garbs{left:408px;}
.coat-wrapper .description span.motto{left:445px;}
.coat-wrapper .description span.external{left:482px;}

@media screen and (max-width:500px){
    .coat-wrapper #coat.desktop{
        display:none;
    }
    .coat-wrapper #coat.desktop .image{
        display:none !important;
    }
    .coat-wrapper #coat.mobile{
        width:320px;
        height:306px;
        display:block;
        background:url('images/coat-of-arms/base.png') center center no-repeat;
        background-size: contain;
        position:relative;
        margin:0 auto;
    }
    .coat-wrapper #coat.mobile .image{
        width:320px;
        height:306px;
        position:absolute;
        top:0;
        left:0;
    }
    .coat-wrapper .div-wrapper{
        width:100%;
    }
    .coat-wrapper .description{
        width: 92%;
        max-height:100%;
    }
    .coat-wrapper .description span{
        display:none !important;
    }
}
