/*
 Theme Name:   Hashi Child
 Theme URI:    http://erpa-group.bg
 Description:  Hashi Child Theme
 Template:     hashi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  hashi-child
*/

@import url("../hashi/style.css");


html{
    background: url('background1.png') no-repeat center center fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    font-size: 13px;

}

/* default behavior when no media query */
body{
    width: 1400px;
    position: relative;
    margin: 0 auto;
    background: white;
}
header#header-main {
    width: 1400px;
    height: 156px;
}

header#header-main #blog-title {
    left: 250px;
    font-size: 40px;
    top: 10px;
}

header#header-main #blog-tagline {
    left: 250px;
    bottom: 38px;
    font-size: 25px;
}
footer {
    background-color: #3e6a9b;
    width: 1375px;
}
main.with-sidebar, main.with-sidebar>article {
    width: 935px;
}

main, main>article, main.only-column, main.only-column>article {
    width: 1135px;
}

footer p{
    color: white;
    font-weight: bolder;
    font-size: 22px;
    font-family: Arial, Tahoma, Verdana, sans-serif;
}

footer a.fb img {
    width: 55px;
    padding: 5px;
    border: 0;
    box-shadow: 0;
    display: inline;
}

a:hover{
    color: firebrick;
}
.erpalogo{
    margin: 1px;
    background: url(logo.png) no-repeat;
    width: 210px;
    height: 99%;
    display: inline-block;
    vertical-align: middle;
    background-size: 100% 100%;
}
ul#mainnav a {
    margin-bottom: 2px;
    padding: 0.6em 25px 0.6em 18px;
    display: block;
    color:white;
    background-color: #337ab7;
    border-radius: 4px;
    background-image: none;
}

ul#mainnav a:hover, ul#mainnav ul.sub-menu a:hover {
    background-image:none;
    background-color:firebrick;
}

ul#mainnav ul li {
    border-bottom: none;
}
ul.sub-menu{
    display:none;
}
ul#mainnav ul.sub-menu a {
    background-color: cadetblue;
    padding: 0.6em 28px 0.6em 8px;
}
.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;

    border-bottom: 5px solid black;
}

.arrow-down {
    position: absolute;
    top: 15px;
    left: 2px;
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;

    border-top: 6px solid #fff;
}
ul#mainnav li{
    position: relative;
}

/*set up the downward arrow for top level items*/
/*ul#mainnav li.page_item_has_children > a:after {
    position: absolute;
    content: '▼';
    left: 0px;
}*/
span.down-arrow {
    top: 8px;
    position: absolute;
    font-size: 15px;
    left: 2px;
}
ul#mainnav li.current_page_item > a:after {
    position: absolute;
    content: '\25b6';
    left: 180px;
}
ul#mainnav li.current_page_item > a{
    background-color:firebrick;
}
article{
    width: auto;
}
.intro .h1image {
    border-radius: 5px;
    background: url('background-slogan-double.jpg') no-repeat;
    background-size: 100% 110%;
}
.intro .products img, .product-wrapper .products img {
    margin-left: 0;
    border-radius: 100px;
    height: 200px;
    width: 200px;

}
.intro .products img, .product-wrapper .products img{
    margin: 13px 0 8px;
}
figure.stelage{
    background-image: url('stelage-circle.jpg');
}
figure.tiles{
    background-image: url('tiles-circle.jpg');
}
.intro .products .product-excerpt, .product-wrapper .products .product-excerpt{
    min-height: 350px;
    padding-bottom: 15px;
    text-align: center;
    display: block;
    float: left;
    border-radius: 40px;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding-right: 15px;
    padding-top: 5px;
    margin: 0px 10px 10px 2px;
    width: 205px;
}
.intro .products .product-excerpt h2.product-link, .product-wrapper .products .product-excerpt h2.product-link{
    text-transform: uppercase;
    font-size: 22px;
    font-family: Arial, sans-serif;
    word-spacing: 9999999px;
    color: inherit;
    text-align: center;
    margin-bottom: 0;
}
.intro .products .product-excerpt a.more, .product-wrapper .product-excerpt a.more{
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #193e83;
    padding: 0 15px;
    height: 30px;
    display: inline-block;
    line-height: 27px;
    font-size: 13px;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 1px #000000;
    filter: dropshadow(color=#000000, offx=1, offy=1);
    margin: 10px 0px 0 0;
    position: relative;
}
.intro .products .product-excerpt a.more:hover, .product-wrapper .product-excerpt a.more:hover{
    color: #b48608;
}
article.intro h1, article.product-wrapper h1 { 

    color: #b48608; 
    font-family: 'Droid serif', serif; 
    font-size: 36px; 
    font-weight: 400; 
    font-style: italic; 
    line-height: 44px; 
    margin: 0 0 12px; 
    text-align: center; 
}
article.intro > h2, article.product-wrapper > h2 {
    color: #b48608; 
    font-family: 'Droid serif', serif; 
    font-size: 24px; 
    font-weight: 200; 
    font-style: oblique; 
    line-height: 44px; 
    margin: 0 0 12px;  
}

article.intro p, article.product-wrapper p, ul.features li, span.caption { font-family: 'Open sans', sans-serif; color: #777777; font-size: 14px; }
ul.features {
    margin: 0.75em 0;
    padding: 0 1em;
    list-style: none;
}
ul.features li{
    font-weight: bold;
}
ul.features li:before { 
    content: "";
    border-color: transparent #337ab7;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 0.9em;
    position: relative;
}
/* 
Generic Styling, for Desktops/Laptops 
*/
table.tiles-table { 
    width: 100%; 
    border-collapse: collapse; 
}
/* Zebra striping */
table.tiles-table tr:nth-of-type(odd) { 
    background: #eee; 
}
table.tiles-table th { 
    background: #333; 
    color: white; 
    font-weight: bold; 
}
table.tiles-table td, table.tiles-table th {
    background-clip: padding-box;
    position: relative;
    padding: 15px; 
    border: 1px solid #ccc; 
    text-align: left; 
}
table.tiles-table td[rowspan="2"], table.tiles-table td[rowspan="4"], table.tiles-table td[rowspan="5"]{
    background-clip: padding-box !important;
    background: ghostwhite;
}

.tile-bone-black { 
    background:url('images/tile-bone-black.png') left top no-repeat;
    left: 110px;
    top: 5px;
    position: absolute;
    width: 50px;
    display: inline-block;
    height: 30px;
}
.tile-bone-color { 
    background:url('images/tile-bone-color.png') left top no-repeat;
    left: 120px;
    top: 5px;
    position: absolute;
    width: 50px;
    display: inline-block;
    height: 30px;
}
.tile-caro-black { 
    background:url('images/tile-caro-black.png') left top no-repeat;
    left: 95px;
    top: 5px;
    position: absolute;
    width: 50px;
    display: inline-block;
    height: 30px;
}
.tile-caro-color { 
    background:url('images/tile-caro-color.png') left top no-repeat;
    left: 110px;
    top: 5px;
    position: absolute;
    width: 50px;
    display: inline-block;
    height: 30px;
}
/* slider styles */
.bxslider li, .bxslider img{
    margin: 0 auto;
}
.bx-wrapper img {
    height: 300px;
    max-width: auto;
    display: inline;
}
.not-found{
    width: auto;
    height: 300px;
    background:url('images/404.jpg') left top no-repeat;
    background-size: 100% 100%;
}
.map-address{
    display: inline-block;
    width: 49%;
    float:left;
}
.contact-form{
    margin-left: 10px;
    display: inline-block;
    width: 40%;
    float: left;
}
.clearfix-c:before,
.clearfix-c:after{
    content: "";
    display: table;

}
.clearfix-c:after{
    clear: both;
}
.footer-links{
    padding-top: 10px;
    border-top: 1px solid white;
    margin: 0 auto;
    display: table;
}
.footer-links a{
    box-sizing: content-box;
    color: #fff;
    display: inline-block;
    border-right: 1px solid white;
    padding-right: 10px;
    padding-left: 10px
}
.footer-links a:last-of-type{
    border-right: none;
}
/* responsive google maps */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* contact form styles */
div#wpcf7-f117-p102-o1{ 
    background-color: #fbefde;
    border: 1px solid #f28f27;
    padding:20px;
}
#wpcf7-f117-p102-o1 label, #wpcf7-f117-p102-o1 label span, #wpcf7-f117-p102-o1 input, #wpcf7-f117-p102-o1 textarea{
    display: inline-block;
    max-width: 100%;
    min-width: 100%;
}
/*#wpcf7-f117-p102-o1 label{
    min-width: 100%;
}*/
#wpcf7-f117-p102-o1 input[type="text"],
#wpcf7-f117-p102-o1 input[type="email"],
#wpcf7-f117-p102-o1 textarea {
    background:#725f4c;
    color:#FFF;
    font-family:lora, "Open Sans", sans-serif; 
    font-style:italic;    
}
#wpcf7-f117-p102-o1 textarea{
    max-width: 100%;
    min-height: 150px;
    max-height: 160px;
    resize: none;
}
#wpcf7-f117-p102-o1 input[type="submit"],
#wpcf7-f117-p102-o1 input[type="button"] { 
    background-color:#725f4c;
    width:100%;
    text-align:center;
    text-transform:uppercase;
}
article.product-wrapper p.write-us{
    text-align: center;
    font-style: italic;
    font-size: 25px;
}
article.product-wrapper div.p-address{
    margin-top: 15px;
}
#wpcf7-f117-p102-o1 input.wpcf7-form-control.wpcf7-captchar.captcha-input {
    display: block;
    width: 80px;
    min-width: auto;
}
#wpcf7-f117-p102-o1 input[type="submit"]{
    background-color: firebrick;
    color: white;
    border-radius: 5px;
    padding: 5px;
}
/* loading img styles */
#loadImg{
    position:absolute;
    z-index:999;
    left: 15px;
    width: 90%;
}
#loadImg div{background:#fff;text-align:center;vertical-align:middle;}
div#loadImg img{
    height: auto;
    max-width: 50%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* racks styles */
.img-center{
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;
    text-align: center;
    margin-bottom: 20px;
}
.img-center span.caption{
    display: block;
    font-size: 1.3em
}
img.small400{
    width: 400px;
    height: 350px
}
/* custom erpa gallery */
.erpa-gallery a {
    float: left;
    margin: 1.3%;
    vertical-align: middle;
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;
    display: inline-block;
    width: 150px;
    height: 150px;
}
.erpa-gallery a img {
    width: 150px;
    height: 150px;
}
.tw-inl{
    display: inline-block;
}
.tw-inl img{
    width: 400px;
    height: 300px;
}
a.tel2{
    padding-left: 40px;
}
/*.erpa-gallery{
    text-align: justify;
    text-align-last: justify
}*/
@media (min-width: 1401px) and (max-width: 1550px){
    body{
        width: 1300px;
        position: relative;
        margin: 0 auto;
    }
    header#header-main {
        width: 1300px;
        height: 156px;
    }

    header#header-main #blog-title {

        font-size: 40px;
    }

    header#header-main #blog-tagline {

        font-size: 25px;
    }
    footer {
        width: 1275px;
    }
    main.with-sidebar, main.with-sidebar>article {
        width: 835px;
    }

    main, main>article, main.only-column, main.only-column>article {
        width: 1035px;
    }
}
/*96.230em == 1251px; 115.384em == 1500px*/ 
@media (min-width: 1251px) and (max-width: 1400px) {

    body {
        /*92.308em* == 1200px*/
        width: 1200px; 
        margin: 0 auto;
    }

    header#header-main {
        width: 1200px;
        height: 156px;
    }

    header#header-main #blog-title {
        font-size: 40px;
    }

    header#header-main #blog-tagline {
        font-size: 19px;
    }
    footer {
        /*90.384em == 1175px*/
        width: 1175px;
    }
    main.with-sidebar, main.with-sidebar>article {
        /*56.538em == 735px*/
        width: 735px;
    }

    main, main>article, main.only-column, main.only-column>article {
        /*71.923em == 935px*/
        width: 935px;
    }
}

@media (min-width: 1151px) and (max-width: 1250px) {

    body {
        width: 1100px;
        margin: 0 auto;
        /*background-image: url('wbg-smaller.png');*/
    }

    header#header-main {
        width: 1100px;
        height: 156px;
    }

    header#header-main #blog-title {
        font-size: 35px;
    }

    header#header-main #blog-tagline {
        font-size: 19px;
    }
    footer {
        width: 1075px;
    }
    main.with-sidebar, main.with-sidebar>article {
        width: 635px;
    }

    main, main>article, main.only-column, main.only-column>article {
        width: 835px;
    }
}

@media (min-width: 1050px) and  (max-width: 1150px) {

    body {
        width: 1000px;
        margin: 0 auto;
        /*background-image: url('wbg-smaller.png');*/
    }

    header#header-main {
        width: 1000px;
        height: 156px;
    }

    header#header-main #blog-title {
        font-size: 35px;
    }

    header#header-main #blog-tagline {
        font-size: 19px;
    }
    footer {
        width: 975px;
    }
    main.with-sidebar, main.with-sidebar>article {
        width: 535px;
    }

    main, main>article, main.only-column, main.only-column>article {
        width: 735px;
    }

}
@media (max-width: 1049px) and (min-width: 915px){
    body {
        width: 900px; 
        margin: 0 auto;
    }

    header#header-main {
        width: 900px;
        height: 156px;
    }

    header#header-main #blog-title {
        font-size: 35px;
    }

    header#header-main #blog-tagline {
        font-size: 19px;
    }
    footer {

        width: 875px;
    }
    main.with-sidebar, main.with-sidebar>article {
        /*56.538em == 735px*/
        width: 385px;
    }

    main, main>article, main.only-column, main.only-column>article {
        /*71.923em == 935px*/
        width: 585px;
    }

}
@media (max-width: 914px){

    ul#mainnav li.current_page_item > a:after {
        content: none;
    }
    span.down-arrow {
        margin-top: -5px;
        display: block;
        height: 27px;
        top: 8px;
        position: absolute;
        font-size: 20px;
        right: 2px;
        width: 25px;
        padding-top: 6px;
        left: auto;
    }

}
@media(min-width: 714px) and (max-width: 914px){
    header#header-main #blog-tagline {
        font-size: 19px;
    }
    article.product-wrapper{
        width: 655px;
    }
}
@media (min-width: 915px){
    ul#mainnav {
        margin-left: 4px;
    }
}
@media (max-width: 914px) {

    body {
        width: 715px;
        margin: 0 auto;
    }
    header#header-main {
        width: 715px;
        height: 156px;
    }
    header#header-main #blog-title {
        font-size: 30px;
    }

    header#header-main #blog-tagline {
        font-size: 19px;
    }

    nav#lcol {
        width: 100%;
        margin-right: 0;
    }

    nav#lcol>* {
        margin-left: 16px; margin-right: 16px;
    }

    aside#rcol {
        background-image: none;
        padding: 10px 7px;
        border: 1px solid #e0e0e0;
    }

    footer {
        width: 691px;
    }

    /* add 1px to all font sizes, excluding menu; the footer only gets half the bonus */

    span.breadcrumbs {
        font-size: 12px;
    }

    span.date, .more-link, .link-to-comments {
        font-size: 13px;
    }

    footer {
        font-size: 12.5px;
    }

    html {
        font-size: 14px;
    }

    blockquote {
        font-size: 15px;
    }

    blockquote cite {
        font-size: 14.5px;
    }

    h6 {
        font-size: 14px;
    }

    h5 {
        font-size: 14.5px;
    }

    h4 {
        font-size: 15px;
    }

    h3 {
        font-size: 15.5px;
    }

    h2 {
        font-size: 16px;
    }

    h1 {
        font-size: 17px;
    }

    /* menu */

    main {
        clear: left;
    }

    nav#lcol>* {
        display: none;
    }

    nav#lcol a.menu-toggle {
        font-size: 15px;
        margin-top: 0; margin-bottom: 4px;
        padding: 0.25em 0.25em 0.25em 1.35em;
        line-height: 150%;
        background-image: url('close_menu.png');
        background-position: left center;
        background-size: auto 1.15em;
        background-repeat: no-repeat;
        border-bottom: 1px solid #848484;
    }

    nav#lcol a.menu-toggle#menu-toggle-open {
        background-image: url('open_menu.png');
        background-size: auto 1.25em;
        display: block;
    }

    nav#lcol span#m1:target~* {
        display: block;
    }

    nav#lcol span#m1:target~a#menu-toggle-open {
        display: none;
    }
    main, main>article, main.only-column, main.only-column>article {
        width: auto;
    }
}
@media (max-width: 714px) {

    /* layout */

    html, body {
        background-image: none;
    }

    body, header#header-main, footer {
        width: 100%;
    }

    body {
        margin: 0;
    }

    header#header-main {
        top: 0;
        height: 120px;
    }

    header#header-main, nav#lcol {
        margin-bottom: 12px;
    }

    header#header-main #blog-title {
        /*top: 24px; left: 16px; right: 16px;*/
        font-size: 20px;
        line-height: 150%;
        font-weight: bold;
        text-shadow: 2px 1px 1px #181818, 3px 2px 4px #333;
        white-space: nowrap;
        overflow: hidden;
    }

    header#header-main #blog-tagline {
        /*bottom: 24px; left: 16px; right: 16px;*/
        font-size: 16px;
        line-height: 150%;
        text-shadow: 2px 1px 1px #181818, 3px 2px 4px #222;
        white-space: nowrap;
        overflow: hidden;
    }

    main {
        clear: both;
        width: 100%;
        /* fix to prevent extra large images and captions divs from inflating the div, if a browser doesn't support box-sizing (very unlikely in a mobile browser), the layout will be slightly disrupted but passable */
        margin-left: 0; margin-right: 0;
        padding-left: 20px; padding-right: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    article {
        width: 100%;
    }

    p, ul, ol, table, dl, address, div.wp-caption {
        margin-left: 0; margin-right: 0;
    }

    dl.gallery-item {
        margin-left: 0;
        margin-right: 0;
        padding-left: 5px;
        padding-right: 5px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        max-width: 33%;
    }

    dl.gallery-item dd {
        padding-left: 3px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    aside#rcol {
        clear: both;
        margin-left: 0; margin-right: 0;
        width: 100%;
        padding-left: 20px; padding-right: 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin-bottom: 48px;
    }

    footer {
        padding-left: 20px; padding-right: 20px; padding-bottom: 20px;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    nav#lcol a.menu-toggle {
        font-size: 16px;
    }

    /* add 2px (total) to all font sizes, excluding menu; the footer only gets half the bonus */

    span.breadcrumbs {
        font-size: 13px;
    }

    span.date .more-link, .link-to-comments {
        font-size: 14px;
    }

    footer {
        font-size: 13px;
    }

    html {
        font-size: 15px;
    }

    blockquote {
        font-size: 16px;
    }

    blockquote cite {
        font-size: 15.5px;
    }

    h6 {
        font-size: 15px;
    }

    h5 {
        font-size: 15.5px;
    }

    h4 {
        font-size: 16px;
    }

    h3 {
        font-size: 16.5px;
    }

    h2 {
        font-size: 17px;
    }

    h1 {
        font-size: 18px;
    }

    /* sidebar tweaks */
    aside#rcol select {
        max-width: 100%;
    }

}

/* header background tweak */
@media (max-width: 549px) {
    header#header-main {
        background-size: auto 100%;
    }
}

/* make room for sidebar if it's enabled, or expand the main section if the menu and sidebar are both gone */
@media (min-width: 715px) {
    main.with-sidebar, main.with-sidebar>article {
        width: 455px;
    }

    main.only-column, main.only-column>article {
        width: 655px;
    }
}
@media (max-width: 514px){
    header#header-main #blog-title {
        left: 10px;
    }

    header#header-main #blog-tagline {
        left: 10px;
    }
}
@media(max-width: 1049px){
    .map-address{
        display: block;
        width: 100%;
        float:none;
    }
    .contact-form{
        margin-left: 0;
        margin-top: 10px;
        border-top: 1px solid #ccc;
        display: block;
        width: 100%;
        float: none;
    }
    form.wpcf7-form{
        text-align: center;
    }
    #wpcf7-f117-p102-o1 input.wpcf7-form-control.wpcf7-captchar.captcha-input{
        margin: 0 auto;
        min-width: auto;
    }
    article.product-wrapper p.write-us{
        margin-top: 10px;
    }
    #wpcf7-f117-p102-o1 label{
        min-width: auto;
    }
}