/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      1.0
*/

/* Nested lomakkeiden kilpikuvien yläpuolelta tyhjää pois */
.nested-kuva-margin-30 {
	margin-top:-50px !important;
}

/* Lohko -otsikko ja border-viiva pois nested -lomakkeista */
.lohko-nested h3 {
	display:none !important;
}
.lohko-nested.gsection {
	border-bottom: 0px !important;
    padding: 0 0px 0px 0 !important;
	padding-bottom: -20px !important;
}


/* Poistetaan More Information otsikko profiili -sivulta, koska kääntäminen ei jostain syystä toimi */
.pmpro_checkout_box-checkout_boxes h3 {
	display:none;
}

/* Sidebar margin korjaus kuvan yläpuolelta */
.sidebar .widget {
    margin-bottom: 0px;
}

/* Sivun ulkoasuun varjostusta */
.site-main, .site-header, .inside-right-sidebar, .site-footer {
    box-shadow: 1px 1px 7px #cccccc;
}

/* Gravity Forms readonly field with white background and border */
.readonly-white input.small, .readonly-white input.large {
    background-color: white;
    border-color: white;
}
input#input_1_50.small {
    background-color: white;
    border-color: white;
}
.gv-edit-entry-wrapper button.gpnf-add-entry {
	display:none;
}

/* Piilotetaan admin salasana Attendo-lomakkeella */
.admin-passu input.small, .admin-passu input.large { 
	/* Hide the text. */
    color: transparent;
      caret-color: lightgrey;
}

/* Nested forms fontti pienemmäksi */

.gpnf-nested-entries th {
    font-size: 14px;
	padding: 4px !important;
}

.gpnf-nested-entries td {
    font-size: 13px;
	padding: 4px !important;
}

/*Gravity view Monimerkinnät taulukon fonttikoko */
.gv-table-view {
    font-size: 13px;
}
.gv-datatables {
	font-size: 13px;
}

/* Sivupalkin leveys */
/* Set the width of the right sidebar in GeneratePress to 340px */
@media (min-width: 769px) {
    #right-sidebar {
        width: 240px;
    }
    #primary {
        width: calc(100% - 240px);
    }
   }

@media (max-width: 1024px) and (min-width: 768px) {
    .content-area.tablet-grid-70 {
        width: 80%;
    }
    .sidebar.grid-15 {
        width: 10%;
    }
}
.widget-area .widget {
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 20px;
    padding-left: 15px;
}



/* Gravityview taulun tilauksen tila -muotoilu ettei näy listana bulletteina */
.gv-table-view ul {
	list-style:none;
	margin:0px;
}

/* poistetaan näkyvistä tiettyjä kenttiä */
#input_1_57 {
	display: none !important;
}

/* Order summary -taulukon sarakkeiden leveydet 
*/


/* tilaushistorian taulukon ja yhteenveto -taulukon sarakeleveydet */
.gv-table-view-content th {
    width: 20% !important;
}
.gv-table-view-content .gpecf-order-summary th:nth-child(1) {
    width: 35% !important;
}
.gv-table-view-content .gpecf-order-summary th:nth-child(2) {
    width: 10% !important;
}
.gv-table-view-content .gpecf-order-summary th:nth-child(3) {
    width: 15% !important;
}
.gv-table-view-content .gpecf-order-summary th:nth-child(4) {
    width: 18% !important;
}
.gv-table-view-content .gpecf-order-summary th:nth-child(5) {
    width: 18% !important;
}

/* tilauslomakkeen yhteenveto -taulukon sarakeleveydet */
.gpecf-order-summary tr:nth-child(1) {
	text-align:left !important;
	width:35%;
}
.gpecf-order-summary tr:nth-child(2) {
	text-align:left !important;
	width:15%;
}
.gpecf-order-summary tr:nth-child(3) {
	text-align:left !important;
	width:15%;
}
.gpecf-order-summary tr:nth-child(4) {
	text-align:left !important;
	width:15%;
}
.gpecf-order-summary tr:nth-child(5) {
	text-align:left !important;
	width:15%;
}

.gpnf-nested-entries td:nth-child(1) {
	width:30% !important;
}
.gpnf-nested-entries td:nth-child(2) {
	width:35% !important;
}
.gpnf-nested-entries td:nth-child(3) {
	width:35% !important;
}

/* Gravity Forms -lomakkeiden Multiple columns -sarakkeiden asetukset */
.gform_wrapper.gravity-theme .gfield {
    padding: 5px;
}

/*
.gfield.gfmc-column.gfmc-field {
    background-color: #f9f9f9;
}
*/

@media (max-width: 768px)
.main-navigation ul, .gen-sidebar-nav, .main-navigation:not(.slideout-navigation):not(.toggled) .main-nav > ul, .has-inline-mobile-toggle #site-navigation .inside-navigation > *:not(.navigation-search):not(.main-nav) {
    display: block !important;
}

@media screen and (max-width: 782px)
html #wpadminbar {
    height: 46px;
    min-width: 240px;
    display: none !important;
}

.site-header {
    margin-top: -5px !important;
}

.inside-header grid-container {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Gravity Forms text field non editable */
.text-non-editable {
            pointer-events: none; 
        }

.gform_wrapper.gravity-theme .ginput_shipping_price {
    display: none !important;
}

.gform_wrapper.gravity-theme .ginput_total {
    display: none !important;
}