/*
 Theme Name:   SpanSoft Flash Child
 Theme URI:    https://www.spansoft.org/wpdev/flash-child/
 Description:  SpanSoft Flash Child Theme
 Author:       Nick Hunter
 Author URI:   https://www.spansoft.org
 Template:     flash
 Version:      1.0.0
*/

/* Fix woocommerce / bootstrap basket conflict */
.woocommerce-billing-fields .form-row, .woocommerce-shipping-fields .form-row,.woocommerce form .form-row {
    display: block;
}    
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    max-width: unset;
}

/********** My changes ****************/
/* WooCommerce product pages */
.woocommerce div.product div.images .flex-control-thumbs {
    margin-top: 8px;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    padding: 8px;
}
.woocommerce div.product div.images .flex-control-nav {
    background-color: #5c5cfd;
}

/* WooCommerce basket */
table.cart .product-thumbnail, .woocommerce-checkout table.cart .product-thumbnail {
  max-width: 140px;
}
table.cart th, .woocommerce-checkout table.cart th {
    white-space: nowrap;
}
table.cart td, .woocommerce-checkout table.cart td {
    white-space: nowrap;
}
table.shop_table th, table.shop_table td {
     white-space: nowrap;
}

/* Footer features */
#top-footer .widget-title {
	border-left: 3px solid #8888f3 !important; 
}
#top-footer .widget-title:first-letter {
	color: #8888f3 !important;
}
#top-footer .menu-important-links-container ul li{
    padding: 0 0 4px 0 !important;
}
#top-footer .widget ul li a:hover {
    color: #8888f3 !important;
}
#top-footer .widget ul li a {
    font-size: 12px !important;
}
#top-footer .widget ul li a {
    padding: 0 0 8px 20px !important;
}

/* Footer height */
#top-footer {
    padding: 30px 0 0px;
}
/* Footer Copyright text */
.copyright-text a:hover {
	color: #8888f3 !important;
}

/* Header */
.header-bottom {
    background-color: #eff7fff1 !important;
}
/* Header sticky */
.header-sticky .is-sticky .header-bottom {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4) !important;
}

/* Home page lower text block */
#ss-home-text div{
    background-color:  #eff7ff; 
    margin-top: 10px;
    padding: 20px 10px 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #4a4af7;
    border-collapse: collapse; 
}
#ss-home-text h4{
    margin-bottom: 30px;
}

/* Contact button */
.cntctfrm_contact_submit {
	margin-top: 12px !important;
	background-color: #4a4af7 !important;
	border-radius: 4px !important;
	font-weight: bold !important;
}

/* Default button */
.spansoft_button {
	background-color: #4a4af7;
	border-radius: 4px;
	font-weight: bold;
}

/* Site builder row */
.spansoft_row {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Basket icon spacing */
.cart-wrap {
    padding-right: 6px  !important;
}

/* Content heading spacing */
.entry-content h1, h2, h3, h4, h5, h6 {
    margin-top: 6px;
    margin-bottom: 6px;
}

/* Hide sidebar on shop page */
.woocommerce div#primary {
    width: 100% !important;
}
.woocommerce aside#secondary {
    display: none;
}

/* Cookie popup */
.cookie_button {
    background-color: #ffff00 !important;
    border: none !important;
    border-radius: 2px !important;
    color: black !important;
    padding: 2px 10px !important;
    text-align: center !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-left: 20px !important;
}
#cn-notice-text a {
    color: #949494;
}
#cn-notice-text a:hover {
    color: #ffffff;
}

/* Forum widget */
.widget_phpbb_widget {
    padding-left: 6px;
    border-left-style: solid;
    border-width: 1px;
    border-color: #d7d7d7;
}
.forum_widget_post {
    width: 100%;
    color: #606060;
    margin: 0 0 20px;
}
.forum_widget_details {
    width: 100%;
    margin-left: 20px;
    font-size: 90%;
    line-height: 1.4;
}
.forum_widget_subject {
    font-size: 100%;
    color: #4a4af7;
    font-weight: bold;
}
.forum_widget_subject a{
    color: #4a4af7;
}
.forum_widget_subject a:hover{
    color: #8888f3;
}

/* Upgrades order form */

#ss-form-content1 {
    padding-bottom: 10px;
}

#ss-form-container {
    background-color: #f5faff;
    border-style: solid;
    border-width: 1px;
    border-color: #a3a2a8;
    margin-bottom: 10px;
    padding: 10px 6px 0;
}

label.form-check-label {
    margin-left: 8px !important;
}

#snInput, #formTot{
    font-size: 14px !important;
}

.btn-primary {
    font-size:  16px !important;
    font-weight: bold !important;
    margin-bottom: 0 !important;
}
.search-btn {
    font-size:  16px !important;
    font-weight: bold !important;
    margin-bottom: 0 !important;
}

.ss-invalid-fdbk {
    color: #ff0000;
    font-size: 0.875em;
}

.ss-paypal-logo {
    border-style: none;
    margin-left: auto; 
    margin-right: auto;
}
.ss-paypal-logo td {
    border-style: none;
    margin-left: auto; 
    margin-right: auto;
}
.ss-paypal-logo td a img {
    display: block;
    width: 100%;
    max-width:319px;
    margin-left: auto; 
    margin-right: auto;
}

/* ----------------------------------- */
/* Ported from original SpanSoft site  */
/* ===== Tables ===================== */
.ss_product_table table {
    width: 100%;
    margin: 10px;
}
.ss_product_table td {
   padding: 4px 4px 4px 8px;
   border-width: 1px;
   border-style: solid;
}
.div_news_logo {
    float: left;
    margin: 2px 10px 0px 6px !important;
    border-style: none;
}
.div_nowrap_td {
    font-size: 12px;
    padding-top: 9px;
}

table.ss-bord-td {
    font-size: 80%;
    margin: 10px 0 10px;
    border-collapse: collapse;
}
table.ss-bord-td th {
    font-weight: bold;
    padding: 4px 4px 4px 8px;
    background-color: #EFF7FF;
    border-width: 1px;
    border-style: solid;
    border-color: #BBBFED;
    text-align: left
}
table.ss-bord-td td {
    padding: 4px 4px 4px 8px;
    border-width: 1px;
    border-style: solid;
    border-color: #BBBFED;
    text-align: left
}
.ss-highlight-text {
    color: #800000
}

/* For mobiles */
.ss_table_col1 { 
    width: 200px;       
}

/* For large devices */ 
@media (min-width: 549px) {
    .ss_table_col1 { 
        width: 300px; 
    }
    table.ss-bord-td {
        margin: 10px;
}

/* For mobile devices */
@media (max-width: 576px) {
    .header-bottom {
        height: 76px !important;
    }
    .widget_phpbb_widget {
        display: none;
    }
}
