/*
schermbreedte < 620 px
*/
html {
    -webkit-text-size-adjust: 100%;
}
body {
    padding-top: 70px;
}
#page-content > .inner, #page-footer > .inner, #page-before-footer > .inner {
    padding: 15px;
}
body.page-search #page-main {
    min-height: 100px;
}

/* =Header
-------------------------------------------------------------- */
#page-header {
    height: 70px;
}
#page-header #site-logo {
    background: url("../css/img/logo-small.png") no-repeat scroll left center transparent;
    height: 50px;
    margin: -3px auto;
    width: 140px;
}

/* =Navigatie
-------------------------------------------------------------- */
#page-header #oc-toggle {
    left: 15px;
    top: 15px;
}
#page-oc .mydog-badge {
    background: none repeat scroll 0 0 #76bc47;
    overflow: hidden;
    padding: 20px 10px;
}
#page-oc-content {
    background: none repeat scroll 0 0 #76bc47;
}
#page-oc .mydog-badge h3 {
    padding-bottom: 0;
    margin-bottom: 15px;
}
#page-oc .mydog-badge {
    padding-bottom: 5px;
}
#page-oc .mydog-badge .mydog-badge-actions li a {
    background: none repeat scroll 0 0 #0088cf;
    border-radius: 0;
    display: block;
    margin: 4px 8px 4px 0;
    padding: 8px;
    text-align: center;
    height: 20px;
    line-height: 22px;
}
.md-profile-profile h4{
    margin-bottom: 10px;
}
#page-oc .block-mdprofile .block-content h3 {
    margin-bottom: 10px;
    margin-top: 15px;
}
#page-oc .block-mdprofile header#mdprofile-pages-header a.button {
    background-color: #ebebeb !important;
}
#page-oc .block-mdprofile header#mdprofile-pages-header a.button span.button-inner{
    color: #0088cf !important;
}
#page-oc .block-menu li {
    border-bottom: 1px solid #b1d996;
    display: block;
    padding: 0 10px;
}
#page-oc .block-menu li:last-child {
    border-bottom: none;
}
#page-oc .block-menu {
    border-top: none;
}
#page-oc .mydog-badge .mydog-badge-actions li a {
    color: #fffff;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Noto Sans', sans-serif;
}
#page-oc .block-menu li a {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}
#page-oc h3 {
    color: #fff;
}
#mydog-fold {
    margin-bottom: 15px !important;
}
#mydog-fold ul {
    position: relative;
    z-index: 100;
}
.button.btn-add-pup {
    margin-top: -45px;
}
a.btn-add-page {
    background-color: #ebebeb !important;
    color: #0088cf !important;
}
#mdprofile-pages-header {
    margin-top: 15px !important;
}

/* =Structuur
-------------------------------------------------------------- */
#page-main {
    overflow: hidden;
}
#page-main .block {
    margin-bottom: 23px;
}
#page-main h2 {
    margin-bottom: 10px;
}

.btn-to-top {
    margin: 15px 0;
}
.block {
    clear: both;
}
#page-main .block-num-2 {
    margin-right: 0 !important;
}

.page-home #page-content .block-dogs_info, .page-home #page-content .block-cmp_search {
    display: none;

}

/* =Home
-------------------------------------------------------------- */
#page-header > .inner {
    padding: 15px;
}
form .form-fields .form-field label#dog-url{
    display: none;
}
#header-menu form label#dog-url, form label#search-type, form label#search-breed {
    display: none !important;
}
.page-home .block-num-1.block-cmp_search {
    border-top: 2px solid #ebebeb;
    margin-bottom: 35px !important;
}
.page-home .block-num-2.block-cmp_search h2{
    padding-top: 20px;
}
.page-home .block-num-1.block-cmp_search{
    padding-top: 20px;
}
#page-main .block-content figure img {
    width: 100%;
} 
#page-main .block-image  {
    float: left;
} 
#page-main .block-num-2 {
    margin-right: 20px;
} 
.block-news {
    clear: both;
}
#page-main .news-block-stream {
    padding: 15px 0 !important;
}
.news-block-item {
    padding-top: 15px;
    padding-bottom:15px;
}
.news-block-item-header h3, .news-block-item-content {
    margin-bottom: 15px;
} 
.news-block-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
#page-before-footer .block-pups {
    display: none;
}

/* =Ideale rashond
-------------------------------------------------------------- */

/* =Detail hond
-------------------------------------------------------------- */
figure.breed-hero-img {
    border: 4px solid #ffffff;
    -webkit-box-shadow: 1px 2px 3px 2px rgba(0,0,0,0.25);
    -moz-box-shadow: 1px 2px 3px 2px rgba(0,0,0,0.25);
    box-shadow: 1px 2px 3px 2px rgba(0,0,0,0.25);
    padding: 0;
}
#breed-breadcrumb {
    color: #51b3e6;
    font-size: 18px;
    margin: -15px 0 20px;
}
#breed-data.photo #breed-hero {
    float: left;
    margin-bottom: 2em;
    width: 100%;
}
.breed-breeders a.button {
    float: left !important;
}
.breed-breeders {
    padding-bottom: 15px !important;
}
#breed-hero {
    width: 100%;
    position: relative;
}
a.breed-hero-video {
    background-color:none;
    width: 100%;
    height: auto;
}
a.breed-hero-video {
    background: url("img/video.png") no-repeat scroll center center transparent !important;
    left: 0;
    top: 0;
    display: block;
    position: absolute;
    text-indent: -9999px;
    max-width: 100%;
    height: 100% !important;
}
a.breed-hero-video:hover {
    background-color: rgba(0, 0, 0, 0.4) !important;
    transition: background 0.2s ease 0s;
    overflow: hidden !important;
}
#breed-photos figure.breed-photo:nth-child(1n) {
    clear: none;
}
#breed-photos figure.breed-photo, #breed-photos figure.breed-photo:nth-child(4n) {
    margin: 0 3% 10px 0;
}
#breed-photos figure.breed-photo:nth-child(3n) {
    margin: 0 0 10px 0;
}
#breed-photos figure.breed-photo {
    width: 31%;
}
.breed-photo:hover {
    opacity: 0.7;
}
p.breed-parameter {
    margin-bottom: 5px;
}
.breed-info-panel {
    margin-bottom: 15px;
}
#breed-parameters span.label {
    background: url("img/arr_green.png") no-repeat scroll 0 0.25em transparent;
    margin-left: -25px;
    padding-left: 25px;
    margin-bottom: 5px;
}
#breed-parameters  {
    margin-left: 28px;
}
#breed-scores {
    width: 270px;
    margin-bottom: 30px;
}
#breed-scores .breed-score value {
    max-width: 100%;
}
#breed-scores p.breed-score {
    height: auto;
    margin-bottom: 15px;
}
#breed-breeders a img {
    max-width: 100% !important;
}

/* =Fokkers
-------------------------------------------------------------- */
.search-results .search-result {
    height: auto;
}
#page-main .search-results .search-result:first-child, #page-main .search-results .search-result:nth-child(2) {
    margin-top: 25px;
}
.search-result-full figure img, .search-result-pro figure img {
    padding-bottom: 10px;
}

/* =Mydog
-------------------------------------------------------------- */
.mydog-company #page-main .form-fields .form-field .editor textarea {
    width: 100%;
}
.img-browser-wrap figure.img-editable img {
    display: block;
}
.img-browser-wrap {
    margin-top: 50px !important;
}
#mydog-hero {
    height: auto;
}
#mydog-hero-info .inner {
    clear: both;
    display: block;
    float: none;
}
#mydog-hero-info > .inner h2 {
    padding: 15px 10px;
}
#mydog-hero-info .md-graph-action, #mydog-hero-info .md-actions {
    height: auto;
}
#mydog-fold  {
    margin-top: 35px !important;
}
.fold-open {
    margin-bottom: 20px !important;
}

.md-contract-order div.md-contract h3 {
    font-size: 18px;
    padding: 10px 15px 3px;
    line-height: 100%;
}
.md-contract-inner p {
    margin-bottom: 10px;
}
.md-contract-order div.md-contract {
    border: 1px solid #ebebeb;
}
.md-contract-order div.md-contract {
    margin-bottom: 20px;
}	

#mydog-hero-info {
    overflow: hidden;
    padding: 15px 0;
}
#mydog-hero-info #mydog-hero-avatar figure {
    max-width: 50%;
    height: auto !important;
    margin: 0 15px;
}
#mydog-hero-info .inner {
    float: left;
    max-width: 60%;
    clear: none;
}


.dog-inner .thumbnail-reel img {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}
.dog-inner .photo-reel figure:nth-child(2n) a img {
    margin-right: 0;
}


/* =Homepage 
-------------------------------------------------------------- */
.stream-post header, .stream-post-data {
    padding: 10px !important;
}
.stream-post-comment {
    margin: 0 5px !important;
    padding: 10px 0 !important;
}
/* =Fotoalbum 
-------------------------------------------------------------- */
.md-album, .album-photos figure, .media-album {
    display: inline-block;
    padding-right: 3%;
    margin-bottom: 19px;
    width: 48%;
}
.md-album:nth-child(2n), .album-photos figure:nth-child(2n) {
    padding-right: 0;
}
.md-album img {
    padding: 7px;
    border: 2px solid #ebebeb;
}
.md-album img {
    margin-bottom: 10px;
}
.album-photos img {
    border: 1px solid #ebebeb;
}

/* =Forms
-------------------------------------------------------------- */
form select {
    font-size: 14px;
}

#idr-categories {
    padding-left: 10px;
}

/* =Footer
-------------------------------------------------------------- */
#page-footer .block {
    margin-bottom: 15px;
}
#page-footer h2 {
    margin-bottom: 0 !important;
    font-size: 17px !important;
}
#page-footer .navigation {
    padding-right: 0;
}

.hidden-lg {
    display: none !important;
}

@media(max-width:450px){
    .stream-post .user-info {
        clear: both;
        margin-top: 5px;
    }
    .md-contract-order table.md-contract-pricing.page td {
        display: block !important;
    }
    .md-contract-order table.md-contract-pricing.page th {
        display: block !important;
        width: 100%;
    }
    .hidden-xs {
        display: none !important;
    }

    button, a.button {
        height: 25px;
        line-height: 27px !important;
        padding: 0 7px;
    }

    .dogs .dog .dog-thumbnail {
        float: none;
        width: 60%;
        margin: 10px 0;
    }
    .dogs .dog .dog-inner {
        width: 100%;
    }
    .dogs .dog {
        padding: 25px 0 15px;
    }

    .md-graph-panel .mydog-user-graph {
        width: 100% !important;
        float: none;
        margin-right: 0;
    }
    .md-graph-friends figure, .md-graph-following figure, .md-graph-requesting figure {
        width: 50px !important;
    }

    #mydog-hero-info > .inner h2 {
        padding: 15px 15px 0;
        margin-bottom: 0;
    }
    #mydog-hero-info .inner {
        float: none;
        max-width: 100%;
        clear: both;
    }

    .dog .dog-thumbnail {
        display: none;
    }
}
#page-main .md-postbox form.postbox-user a.md-post-privacy, 
#page-main .md-postbox form.postbox-pro a.md-post-privacy
{
    clear: right;
}


#page-oc .block-mdprofile .md-profile-profile a.button{
    margin-bottom:  8px

}
table#ideal-dog {
    display: none;
}

#ideal-dog-mobile{
    display: block;
}
#ideal-dog-mobile #breed-scores span.score-holder{
    margin-left: 70px;
}