
html {
    min-width: 310px;
}

body {
    background-color: #1A1A1A;
    background-image: url('../images/bg-eshop-xa.jpg');
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Cardo', Arial;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
}

a {
    text-decoration: none;
}

a:focus {
    outline: 0;
}

#order-form fieldset input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #1A1A1A inset;
    -webkit-text-fill-color: #FFFFFF !important;
}


/*mobily - najmenšie obrazovky od 310px (min-width html) do 500px*/

hgroup {
    max-width: 100%;
    padding: 50px 0;
    text-align: center;
    line-height: 1.6;
    /*background-image: url("assets/images/eshop-hgroup4.jpg");*/
    background-position: center;
    background-repeat: no-repeat;
}

h1 {
    font-size: 140%; 
    font-weight: 400;
}

h2 {
    font-size: 95%; 
    font-weight: 400;
    color: #CCCCCC;
}


#shopping-cart {
    margin: 0 2%;
    padding: 30px 2%;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #262626;
}

.txt-heading h3 {
    margin-bottom: 25px;
    font-size: 150%;
    font-weight: 400;
    font-variant: small-caps;
    color: #CCCCCC;
    text-align: center;
}

.txt-heading a:link, .txt-heading a:visited {
    padding: 3px 15px;
    font-size: 110%;
    font-weight: 400;
    font-variant: small-caps;
    color: #A0010B;
    border: 1px solid #680007;
}

.txt-heading a:focus, .txt-heading a:hover, .txt-heading a:active {
    background-color: #281517;
}

#shopping-cart table {
    margin: 50px auto 20px auto;
}

table .mobile-no {
    display: none;
}

#shopping-cart table th {
    padding: 8px 42px;
    font-weight: 400;
    font-size: 110%;
    font-variant: small-caps;
}

#shopping-cart table td {
    padding: 3px 0;
    font-weight: 400;
    text-align: center;
    font-size: 95%;
}

#shopping-cart table strong{
    font-weight: 700;
}

#shopping-cart table td a:link, #shopping-cart table td a:visited {
    color: #A0010B;
}

#shopping-cart table td a:focus, #shopping-cart table td a:hover, #shopping-cart table td a:active {
    color: #C2010D;
}

#shopping-cart #total-td {
    font-variant: small-caps;
    font-size: 130%;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #262626;
    padding: 13px 0;
}

#shopping-cart #total-td a:link, #shopping-cart #total-td a:visited {
    margin-right: 20%;
    padding: 1px 18px;
    border: 1px solid #F0D04A;
    color: #D0B226;
}

#shopping-cart #total-td a:focus, #shopping-cart #total-td a:hover, #shopping-cart #total-td a:active {
    background-color: #322E1C;
}


/*!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!*/

#product-grid {
    margin: 0 2%;
    padding: 30px 2%;
}

.product-item {
    display: block;
    margin: 30px auto 30px auto;
    width: 250px;
    height: auto;
    padding: 15px;
    border: 1px solid #262626;
}

#product-select {
    width: inherit;
}

.product-image {
    max-width: 250px;
    height: 328px;
    margin: 0 0 15px 0;
}

.product-image div {					/*zarovnanie obrázka vertikálne!!!!!!!!!!!*/
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}
.product-image img {
    height: auto; 
    width: auto; 
    max-width: 220px; 
    max-height: 300px;
}

.product-name {
    line-height: 1.1;
    font-variant: small-caps;
    font-size: 130%;
}

.product-price {
    color: #CCCCCC;
    padding-bottom: 10px;
    font-size: 110%;
}

.btnAddAction {
    padding: 3px 15px;
    font-family: 'Cardo', Arial;
    font-size: 100%;
    color: #D0B226;
    border: 1px solid #F0D04A;
    background-color: #1A1A1A;
    cursor: pointer;
}

.btnAddAction:focus, .btnAddAction:hover, .btnAddAction:active {
    outline: 0;
    background-color: #322E1C;
}

.amount {
    margin-right: 3px;
    padding: 3px;
    font-family: 'Cardo', Arial;
    font-size: 100%;
    color: #FFFFFF;
    background-color: #1A1A1A;
    border: 1px solid #CCCCCC;
}

.amount:focus, .amount:hover, .amount:active {
    outline: 0;
    background-color: #2A2A2A;
}

/*!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!§!*/

.succ1 {
    padding: 30px 4% 0 4%;
    text-align: center;
    font-family: 'Cardo', Arial;
    font-size: 110%;
    color: #D0B226;
}

.err1 {
    padding: 30px 4% 0 4%;
    text-align: center;
    font-family: 'Cardo', Arial;
    font-size: 110%;
    color: #A0010B;
}

/* tieto triedy prideľuje jQuery*/

.invisible {
    visibility: hidden;	
}

.skip {
    display: none;
}

/* tieto triedy prideľuje jQuery*/

#order-form {
    margin: 0 2%;
    padding: 30px 2%;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #262626;
    text-align: center;
}

#order-form p {
    padding: 10px 0;
}

#order-form form {
    font-size: 110%;
}

#order-form fieldset input {
    display: block;
    width: 85%;
    margin: 7px auto 0 auto;
    padding: 3px;
    font-family: 'Cardo', Arial;
    font-size: 95%;
    color: #FFFFFF;
    background-color: #1A1A1A;
    border: 1px solid #CCCCCC;
}

#order-form fieldset textarea {
    display: block;
    width: 85%;
    resize: none;
    margin: 7px auto 0 auto;
    padding: 3px;
    font-family: 'Cardo', Arial;
    font-size: 95%;
    color: #FFFFFF;
    background-color: #1A1A1A;
    border: 1px solid #CCCCCC;
}

#order-form fieldset input:focus, #order-form fieldset input:hover, #order-form fieldset input:active {
    outline: 0;
    background-color: #2A2A2A;
}

#order-form fieldset textarea:focus, #order-form fieldset textarea:hover, #order-form fieldset textarea:active {
    outline: 0;
    background-color: #2A2A2A;
}

#order-form form .btnAddAction {
    margin: 10px 0;
    font-size: 110%;
}


footer {
    padding: 30px 20px 20px 20px;
    background-color: #141414;
    text-align: center;
    font-family: 'Cardo', Arial;
    line-height: 1.3;
    font-size: 95%;
    color: #CCCCCC;
}

footer p {
    padding-top: 7px;
}

.shop-overlay {
    background: rgba(28, 28, 28, 0.9);
}

.fraction {
    font-size: 115pt;
    display: block;
    color: #303030;
}

.fraction .top {
    margin-top: 0pt;
    display: block;
    float: left;
}

.fraction .slash {
    margin-top: 29pt;
    display: block;
    float: left;
}

.fraction .bottom {
    margin-top: 58pt;
    display: block;
    float: left;
}

.product-box {
    padding: 30px;
    background: rgba(20,20,20,1);
}

/*mobily - najmenšie obrazovky od 310px (min-width html) do 500px*/

@media only screen and (max-width: 600px) {
    hgroup {
        padding: 0;
    }

    .fraction {
        font-size: 400%;
        display: block;
        color: #303030;
    }

    .fraction .top {
        margin-top: 0pt;
        display: block;
        float: left;
    }

    .fraction .slash {
        margin-top: 0.3em;
        display: block;
        float: left;
    }

    .fraction .bottom {
        margin-top: 0.6em;
        display: block;
        float: left;
    }

    .product-box h4 {
        font-size: 140%;
        margin-bottom: 30px;
    }

    .btnAddAction {
        width: 100%;
    }

    .product-select {
        padding-top: 15px;
        /*padding-bottom: 15px;*/
    }

    #product-select {
        width: 100%;
    }

    .product-price-addbtn-wrapper {
        width: 100%;
        margin-top: 15px;
    }

    .product-price {
        width: 100%;
        text-align: right;
    }

    .btnAddAction {
        width: 100%;
    }

    .product-row {
        background: rgba(20,20,20,1);
        margin-bottom: 30px;
        padding: 30px 0;
    }
}

@media only screen and (min-width: 601px) {

    h1 {
        font-size: 150%;
    }


    .txt-heading h3 {
        font-size: 160%;
    }

    #shopping-cart table th {
        padding: 8px 47px;
        font-size: 130%;
    }

    #shopping-cart table td {
        font-size: 105%;
    }

    #shopping-cart #total-td {
        padding: 25px 0;
    }


    #order-form fieldset input {
        width: 72%;
    }

    #order-form fieldset textarea {
        width: 72%;
    }

    footer {
        font-size: 105%;
    }

}



@media only screen and (min-width: 730px) {

    hgroup {
        padding: 70px 0;
        /*background-image: url("assets/images/eshop-hgroup5.jpg");*/
    }

    h1 {
        font-size: 190%;
    }

    .txt-heading h3 {
        font-size: 170%;
    }

    table .mobile-no {
        display: table-cell;
    }

    table .tablet-no {
        display: none;
    }


    #shopping-cart table td {
        padding: 5px 0;
    }


    #shopping-cart #total-td a:link {
        margin-right: 40%;
    }


    .product-item:nth-of-type(odd) {
        margin: 0 auto 30px 5%;
        float: left;
    }

    .product-item:nth-of-type(even) {
        margin: 30px 5% 30px auto;
    }

    .product-name {
        font-size: 130%;
    }


    #order-form .left {
        margin-left: 5%;
        float: left;
    }

    #order-form .right {
        margin-right: 5%;
        float: right;
    }

    #order-form fieldset > p {
        clear: both;
    }

    #order-form fieldset input {
        width: 80%;
    }

    #order-form fieldset textarea {
        width: 58%;
    }

    footer{
        clear: both;
        padding: 35px 20px;
    }

}



@media only screen and (min-width: 1100px) {

    hgroup {
        margin: 0 2%;
        padding: 30px 2%;

        /*background-image: url("assets/images/eshop-hgroup6.jpg");*/
    }

    h1 {
        /*font-size: 230%;*/
        font-size: 69pt;
        margin-left: -65px;
    }

    h2 {
        font-size: 30pt;
        margin-bottom: 60px;
    }

    h4 {
        font-size: 30px;
        letter-spacing: 0.2em;
        margin-bottom: 30px;
    }

    .txt-heading h3 {
        font-size: 180%;
        padding: 20px 0;
    }

    .txt-heading a:link {
        padding: 3px 20px;
        font-size: 130%;
    }

    table .tablet-no {
        display: table-cell;
    }

    #shopping-cart table th {
        padding: 11px 50px;
        border: 1px solid #262626;
    }

    #shopping-cart table td {
        padding: 9px 5px;
        border: 1px solid #262626;
    }

    #shopping-cart #total-td {
        font-size: 140%;
    }

    #shopping-cart #total-td a:link {
        margin-right: 50%;
    }

    .product-item:nth-of-type(odd) {
        display: inline-block;
        /*
        margin: 0 0 50px 0;
        float: none;*/
    }

    .product-item:nth-of-type(even) {
        display: inline-block;
        /*
                        margin: 0 0 50px 0;
        */
    }

    .product-item:nth-of-type(3n+2) {
        margin: 0 50px 50px 50px;
    }

    .product-item-packing {
        width: 960px;
        margin: 50px auto 10px auto;
    }


    .err1, .succ1 {
        padding: 50px 4% 0 4%;
        font-size: 120%;
    }

    #order-form p {
        padding: 13px 0;
    }

    #order-form fieldset input {
        width: 100%;
    }

    #order-form fieldset textarea {
        width: 48%;
    }

    #product-grid p {
        line-height: 1.8em;
        margin-bottom: 30px;
    }

    #product-grid p:last-of-type {
        margin-bottom: 60px;
    }

    #product-grid .product-price, #product-grid .btnAddAction {
        float: right;
    }

    #product-grid .product-price {
        padding-top: 2px;
        margin-right: 49px;
    }

    #product-grid .product-row {
        margin-bottom: 60px;
    }

    .product-box {
        padding: 30px;
        background: rgba(20,20,20,1);
    }
}