/*
 Theme Name:   Storefront Child
 Theme URI:    http://crestshop.com.ua/storefront-child/
 Description:  Storefront Child Theme
 Author:       Aleksey Kibinovskiy 
 Template:     storefront
 Version:      1.0.0 
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  storefront-child
*/

body, input, textarea {
    font-family: 'PT Sans', sans-serif;
}

p {
    margin: 0;
    text-indent: 20px;
}

/* Стили плагин хедер */
@media screen and (min-width: 768px) {
.woa-top-bar {
    padding-top: 0;
    }
}

@media screen and (min-width: 768px) {
.woa-top-bar.col-2 .block .widget {
    margin-bottom: 0;
    }
}

.storefront-product-section .section-title {
    text-align: center;
    margin-top: 0.809em;
    margin-bottom: 0.809em;
}

.page-template-template-homepage-php 
.site-main .columns-3 ul.products li.product {
    margin-bottom: 0.809em;
}

.site-footer .totop {
    color: #ffffff !important;
    font-size: 24px;
    padding: 0 10px;
    background: #1D76D8;   
    /* background: #006599; */
    /* border-radius: 5px; */
    /* padding: 10px; */    
}

.site-footer .totop{        
    position: fixed;
    bottom: 5px;
    right: 5px;
    display: none;    
}

.callback-button {
    /* float: right; */
}

/* #callback {
    display: block;
    color: #ffffff !important;
    padding: .368em 1.387em;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;    
    background: #1D76D8;    
    position: fixed;
    top: 50%;
    right: -57px;    
    z-index: 999;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
} */

/* Стили форма заказать звонок*/

.wpcf7-form h3 {
    text-align: center;
}

.wpcf7-form p {
    text-indent: 0;
}

.wpcf7-form-control-wrap input {
    padding: .312em .618em;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #43454b;
    -webkit-appearance: none;
    border-radius: 2px;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    margin-bottom: 10px;
}

.wpcf7-form input[type="submit"] {
    width: 100%;
}

.wpcf7-form h3 {
    font-size: 16px;
}

@media (max-width: 768px) {
    .site-footer .totop{        
        position: fixed;
        bottom: 65px;
        right: 5px;
        display: none;
    }
}

.site-header {
    padding-top: 1.368em;
    padding-bottom: 0;
}

.site-header .custom-logo-link {    
    float: none;
    margin: 0 auto 1.368em auto;    
}

/* Стили поиска */
.woocommerce-active .site-header .site-search {
    display: none;
}

.site-search .widget_product_search input[type=search] {
    padding: 0.625em 1.618em 0.625em 3.631em;
    line-height: 1;     
}

.site-search .widget_product_search form:before {
    top: 0.625em;
    left: 1.618em;
    font-size: 17px;
    font-weight: 400;    
}

/* Secondary-menu */

.secondary-navigation {
    display: none;
}

/* Стили главного меню */

@media (min-width: 768px) {
    .main-navigation ul.menu>li>a, 
    .main-navigation ul.nav-menu>li>a {
    padding: 0.625em 0.625em;
	}
}
@media (min-width: 768px){
    .site-header-cart .cart-contents {
    padding: 0.625em 0;    
	}
}

@media (min-width: 768px) {
    .woocommerce-breadcrumb {
    background-color: #ffffff;
    padding: 0.387em 99em;
    margin-left: -99em;
    margin-right: -99em;
    margin-bottom: 1.500em;
	}
}

@media (min-width: 768px){
    .storefront-primary-navigation {    
    /* background: #0185CA; */
    background: #ffffff; 
    /* border-top: 2px #006599 solid; */  
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.06);
    /* box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06),0 4px 5px 0 rgba(0,0,0,0.06),0 1px 10px 0 rgba(0,0,0,0.08); */
    }   
}

.storefront-primary-navigation 
.main-navigation ul li a, 
.site-title a, ul.menu li a, 
.site-branding h1 a, .site-footer .storefront-handheld-footer-bar a:not(.button), 
button.menu-toggle, button.menu-toggle:hover {   
    color: #43454b; /* #006599 #43454b*/
    font-size: 13px;
    text-transform: uppercase;
    font-weight: normal;
}

.storefront-primary-navigation 
.main-navigation ul.menu ul.sub-menu li.menu-item a {
    color: #43454b; /*#43454b #006599 */
}

.storefront-primary-navigation 
.main-navigation ul.menu ul.sub-menu li.menu-item a:hover {
    border: none;      
}

@media (min-width: 768px){
    .menufix {     
        position: fixed;
        width: 100%;          
        top: 0;   
        left: 0;    
        z-index: 10000; 
        opacity: 1;                    
    }
}

.storefront-primary-navigation 
.main-navigation ul li a:hover, 
.main-navigation ul li:hover > a,
ul.menu li.current-menu-item > a {
    border: none;
    color: #006599; /* #43454b #006599*/     
}

a.cart-contents:hover, 
.site-header-cart:hover > li > a {
    /* color: #006599; */
    color: #006599;
}

.site-header-cart .cart-contents {
    text-align: right;
}

.site-header-cart .cart-contents:after {
    display: inline-block;
    font: normal normal normal 1em/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    padding-right: 10px;    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 1em;
    float: left;
    content: "";
    line-height: 1.618;
}

.site-header-cart .cart-contents:before {
    display: inline-block;
    font: normal normal normal 1em/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    padding-right: 10px;    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 1em;
    /* float: left; */
    content: "\f291";
    line-height: 1.618;
}

/* Стили суб меню */

.site-header-cart .widget_shopping_cart, 
.main-navigation ul.menu ul.sub-menu, 
.main-navigation ul.nav-menu ul.children {
    /* background-color: #ffffff; */
    /* border: 1px solid #006599;
    border-top: none; */
}

.storefront-primary-navigation 
.main-navigation ul.menu ul.sub-menu li.menu-item:hover a {
    color: #006599;
   /*  background-color: #ffffff;   */
   background-color: transparent;
}

.callback-button a {
    position: absolute;
    top: 1em;
    left: 4em;
    background: #095f9b;
    color: #ffffff;
    font-size: 10px;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;      
}

.callback-button:hover a {
    background: #1D76D8;
}

@media (max-width: 768px) {
    .callback-button a {     
    top: -20px;
    left: -7.5%;          
    }
}

.alpha, h1, h2 {	
    font-size: 22px;
    text-transform: uppercase;
    font-weight: normal;
    line-height: 1.214;
    letter-spacing: -1px;
    color: #43454b; /* #0185CA */
}

h1 a {
    font-size: 22px;
    font-weight: normal;
}

/* h2 {
    font-size: 28px;
    text-transform: uppercase;
    line-height: 1.214;
    letter-spacing: -1px;
    color: #43454b; #0185CA
} */

ul.products li.product h3 {
    font-size: 1.1em;
    color: #43454b; /* #006599 */
}

ul.products li.product.product-category img {
    transition: 0.25s;  
}

ul.products li.product.product-category img:hover {
    -webkit-transform: scale(1.05,1.05);
    -moz-transform: scale(1.05,1.05);
    -ms-transform: scale(1.05,1.05);
    -o-transform: scale(1.05,1.05);
    transform: scale(1.05,1.05);      
}

ul.products:hover li.product {
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

ul.products:hover li.product:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,.16);    
}

ul.products li.product .button {
    margin-bottom: .236em;
}

ul.products li.product {
    padding-bottom: .5em;
}

.widget h2.widgettitle, 
.widget h3.widget-title {
    font-size: 1.387em;
    letter-spacing: 0;
    border-bottom-color: rgba(0, 0, 0, 0.0470588);
    padding: 0 0 0 0.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: #43454b;
}

.product_list_widget li, 
.widget_shopping_cart p.total {
    /* color: #fff; */
    border-bottom-color: rgba(0, 0, 0, 0.0470588);
}

@media screen and (min-width: 768px){
.site-header-cart .widget_shopping_cart, 
.site-header .product_list_widget li .quantity, 
.site-header-cart .widget_shopping_cart a {
    color: #43454b;
    }
}

.site-header .product_list_widget li:hover a {
    color: #43454b;
}

.site-header-cart .widget_shopping_cart_content a.button {
   font-size: 10px;
}

.woocommerce-error, .woocommerce-info, 
.woocommerce-message, .woocommerce-noreviews, 
p.no-comments {
    padding: 0.5em 1em;
    margin-bottom: 1.618em;
    background-color: #ffffff;
    color: #43454b;
    margin-left: 0;
    border-radius: 2px;    
    clear: both;
    border-left: none;
}

.woocommerce-message .button {
    display: none;
    float: right;
    padding: 0 0 0 1em;
    background: 0 0;
    color: #fff;
    box-shadow: none;
    line-height: 1.618;
    border-width: 0 0 0 1px;
    border-left-style: solid;
    border-left-color: rgba(255,255,255,.25)!important;
    border-radius: 0;
}

.site-content>.col-full>.woocommerce>.woocommerce-message:first-child {
    margin-top: 1.618em;
}

.woocommerce-breadcrumb, 
#reviews .commentlist li 
.comment_container {
    /* background-color: #CBDDEA; */
}

.woocommerce-tabs ul.tabs li.active a, 
ul.products li.product .price, .onsale, 
.widget_search form:before, 
.widget_product_search form:before {
    font-size: 17px;
    font-weight: 600;
}

/* Стили кнопок */

button, input[type="button"], 
input[type="reset"], 
input[type="submit"], .button, 
.added_to_cart, .widget a.button, 
.site-header-cart .widget_shopping_cart a.button, .widget a.button.checkout {    
    background-color: #095F9B;
    border: 1px solid #095F9B !important;
    color: #ffffff;
    text-transform: uppercase;     
    font-size: 13px;
    font-weight: normal;
    box-shadow: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

button:hover, input[type="button"]:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover, 
.button:hover, .added_to_cart:hover, 
.widget a.button:hover, 
.site-header-cart .widget_shopping_cart a.button:hover {
    background-color: #1D76D8;
    border: 1px solid #1D76D8 !important;
    color: #ffffff;    
}

button.alt:hover, input[type="button"].alt:hover, 
input[type="reset"].alt:hover, 
input[type="submit"].alt:hover, 
.button.alt:hover, .added_to_cart.alt:hover, 
.widget-area .widget a.button.alt:hover, 
.added_to_cart:hover, .widget a.button.checkout:hover {
    background-color: #1D76D8;
    border: 1px solid #1D76D8 !important;
    color: #ffffff;
}

.onsale {    
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
    background-color: red;
    border: none;    
    border-radius: 0;
}

.price .woocommerce-Price-amount .amount {
    color: red;
}

.widget-area .widget a.button {
    color: #ffffff;
    font-size: 13px;
    font-weight: normal !important;
}

.widget-area .widget a.button:hover {
    background-color: #1D76D8;
    color: #ffffff;
}

.added_to_cart:focus, 
.button:focus, button:focus, 
input[type=button]:focus, 
input[type=reset]:focus, 
input[type=submit]:focus {
    outline: #43454b solid 0;
}

/*a {
    color: transparent;
}*/

a:focus, .button:focus, 
.button.alt:focus, 
.button.added_to_cart:focus, 
.button.wc-forward:focus, button:focus, 
input[type="button"]:focus, 
input[type="reset"]:focus, input[type="submit"]:focus {
   outline-color: transparent;
}

@media (min-width: 768px){
.right-sidebar .widget-area {
    width: 21.7391304348%;
    float: right;
    margin-right: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.0470588);
    padding: 5px;
    }
}

/* Стили футера */

.site-footer {    
    padding: 0.809em 0;    
}

.site-footer p {
    text-indent: 0; 
    color: #ffffff;   
}

@media (min-width: 768px){
.footer-widgets {
    padding-top: 0.625em;
    border-bottom: 1px solid rgba(255,255,255, 0.5);
    }
}

.widget {
    margin: 0 0 1.25em;
}

.site-info {
    padding: 0.625em 0;
}

.site-footer h3 {    
    text-transform: uppercase;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255, 0.5);
}

.footer-widgets .menu .menu-item:hover a{
    color: #ffffff;
}

footer ul.menu li.current-menu-item > a {
    color: #ffffff;      
}

@media (min-width: 768px){
.hentry.type-post .entry-content {
    width: 100%;
    float: right;
    margin-right: 0;
    }
}

.widget_nav_menu ul li:before {
    /* content: "\f0f6"; */
    content: "";
}

.home.blog .site-header, 
.home.page:not(.page-template-template-homepage) .site-header, 
.home.post-type-archive-product .site-header, 
.no-wc-breadcrumb .site-header {
    margin-bottom: 1.25em;
}

.page-template-template-homepage .site-main {
    padding-top: 1.25em;
}

a {
    color: #43454b;
}

.site-content .woocommerce-Tabs-panel 
.woocommerce-Tabs-panel--description 
.panel .entry-content .wc-tab a{
    text-decoration: underline !important;
}

@media (max-width: 768px){
.site-header .custom-logo-link img, 
.site-header .site-branding img, 
.site-header .site-logo-anchor img, 
.site-header .site-logo-link img {
    height: auto;
    max-width: 100%;
    max-height: none;
    /* display: none; */ /*Прячем логотип сайта*/
    }
}

@media screen and (min-width: 768px){
.woa-top-bar.col-2 .woa-top-bar-2 {
    float: right;
    margin-right: 0;
    text-align: right;
    }
}

/* .woocommerce-shipping-fields {
    display: none;
} */

/* Стили страницы single-product */

.single-product div.product .summary {
    margin-bottom: 0.75em;
}

.single-product div.product .summary p {
    text-indent: 0;
}

.single-product div.product form.cart .button {
    font-family: 'PT Sans', sans-serif;
}

@media (min-width: 768px) {
.woocommerce-tabs {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    }
}

@media (min-width: 768px) {
.content-area, .widget-area {
    margin-bottom: 0.75em;
    }
}

ul.products li.product {
    list-style: none;
    margin-left: 0;
    margin-bottom: 4.236em;
    text-align: center;
    position: relative;
}

/* Стили страницы оформить заказ */

.woocommerce-shipping-fields h3 {
    display: none;
}

table thead th {
    text-transform: uppercase;
    padding: 0.625em;
    vertical-align: middle;
    font-weight: 900;
}

table td, table th {
    padding: 0.5em 0.5em;
    text-align: left;
    vertical-align: top;
}

.form-row label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: normal;
}

.input-text, input[type=text], 
input[type=email], 
input[type=url], 
input[type=password], 
input[type=search], textarea {
    padding: .312em .618em;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #43454b;    
    -webkit-appearance: none;
    border-radius: 2px;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}

.form-row.woocommerce-validated input.input-text {
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);    
}

#payment .payment_methods li label {
    display: block;
    padding: 0.625em;
    cursor: pointer;
}

.create-account {
    display: none;
}

#payment .payment_methods li input[type=radio]:first-child:checked+label:before {
    color: #43454b;
}

table thead th {
    padding: 0.5em 1.618em;
    font-size: 14px;   
    background-color: #ffffff;   
    border-bottom: 2px solid rgba(0, 0, 0, 0.0470588);
}

table tbody td {
    background-color: #ffffff; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.0470588);
}

table th, table td {
    background-color: #ffffff; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.0470588);
}

#payment .payment_methods li label {
    background-color: #ffffff;
    border-bottom: 2px solid rgba(0, 0, 0, 0.0470588);
}

/* Стили корзины */

table.cart {
    /* border: 1px solid rgba(0, 0, 0, 0.0470588); */
}

table.cart th {
    padding: 0.5em 1.618em;
    font-size: 14px;    
    background-color: #ffffff;   
    border-bottom: 2px solid rgba(0, 0, 0, 0.0470588);
}

table.cart tr:first-child td {
    border-top-width: 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.0470588);
}

table tbody tr:nth-child(2n) td {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.0470588);
}

table.cart tr td:first-child {   
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.0470588);
}

table.cart tr td {   
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.0470588);
}

table.cart tr:last-child td {   
    background-color: #ffffff;
    border-bottom: none;
}

/* Страница thank you */

ul.order_details {
    display: none;
}

.woocommerce p {
    text-indent: 0;
    margin-bottom: 1.618em;
}



