body.template-com-forms-lomake {
    background-color: #022860;
    min-width: 320px;
}
.template-com-forms-lomake visual-header {
    height: auto;
}
.template-com-forms-lomake header-content {
    display: none !important;
}
.template-com-forms-lomake sections-container .content-row {
    background-color: #faf8f9;
    padding-bottom: 90px;
}
.template-com-forms-lomake h2.top-header,
.template-com-forms-lomake #infosivu_leipateksti h1  {
    letter-spacing: 1px; 
    margin: -3px 0 26px;
    font-weight: normal;
    line-height: 120%;
    font-size: 24px;
    color: #022860;
    border-bottom: 1px solid #3ebfed;
    display: inline-block;
    padding-bottom: 8px;
}
.template-com-forms-lomake #infosivu_leipateksti h1  {
    display: block;

}


/* LOMAKKEEN RAKENNE */
.template-com-forms-lomake .fieldset-tiedot {
    margin-top: 24px;
    background-color: white;
    padding-left: 19px;
    padding-right: 19px;
    padding-top: 17px;
    padding-bottom: 12px;
}
.template-com-forms-lomake fieldset {
    border: 0;
}
.template-com-forms-lomake legend,
.template-com-forms-lomake form h2 {
    font-size: 17px;
    color: #022860;
    margin: 0px 0 2px;
    letter-spacing: 1px;
    font-weight: bold;
}
.template-com-forms-lomake form div {
    vertical-align: middle;
}
.template-com-forms-lomake .customform label {
    margin-top: 20px;
    display: block;
}
.template-com-forms-lomake div input[type="radio"],
.template-com-forms-lomake div input[type="checkbox"]{
    position: relative;
    float: left;
    margin: 0px;
    margin-right: 10px;
    width: 14px;
    height: 13px;
    text-align: center;
    display: inline-block;
    background: none;
    padding: 0;
    margin-top: 4px;
}
.template-com-forms-lomake div input[type="checkbox"]{
    width: 18px;
    height: 17px;
    margin-bottom: 25px;
}
.customform fieldset.radio label, 
.customform fieldset.checkboxes label {
    margin-top: 0px;
    display: inline;
}

/* PALAUTE */
.customform-palaute .fieldset-tiedot div.field {
    overflow: hidden;
    margin-bottom: 7px;
}
.customform-palaute .fieldset-tiedot div.field label {
    color: #231f20;
    margin-right: 9px;
    float: left;
    margin-top: 0 !important;
    line-height: 22px;
}
.customform-palaute input {
    background: #fff;
    border: 1px solid #b1c3d3;
}
.template-com-forms-lomake .field-Puhelin, 
.template-com-forms-lomake .field-Etunimi {
    clear: both;
    float: left;
    margin-right: 16px;
}
.customform-palaute .spacer {
    margin-top: 22px;
    margin-bottom: 18px;
    display: block;
}
.customform-palaute hr {

    border-top: 1px solid #cdd7e6;
    border-bottom: 0px none;
    border-left: 0px none;
    border-right: 0px none;

}
.template-com-forms-lomake .field-cal1, .template-com-forms-lomake .field-cal2, .template-com-forms-lomake .field-Vaihtoehto, .template-com-forms-lomake .field-Lahtopvm {

    float: left;

}
.template-com-forms-lomake .field-Aikuisia, .template-com-forms-lomake .field-Lapsia12-17, .template-com-forms-lomake .field-Lapsia6-11, .template-com-forms-lomake .field-Lapsia3-5, .template-com-forms-lomake .field-Lapsia0-2 {

    float: left;
    width: 105px;
    overflow: visible !important;

}
.template-com-forms-lomake .field-Aikuisia {

    clear: both;

}
.template-com-forms-lomake .field-Bussikuljetus {

    clear: both;

}
.template-com-forms-lomake .field-Matkakohde {

    clear: both;

}
.template-com-forms-lomake .field-Kesto {

    overflow: visible !important;

}
.customform-palaute .fieldset-tiedot div.field {

    overflow: hidden;
    margin-bottom: 12px;

}
.customform-palaute textarea {

    background: #fff;
    border: 1px solid #b1c3d3;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    height: 67px;
    width: 540px;

}
#com_forms_Yhteydenotto label {

    display: block;

}
.customform-palaute .fieldset-tiedot div.field label {

    color: #231f20;
    margin-right: 9px;
    float: left;
    margin-top: 5px !important;
    line-height: 22px;

}
.template-com-forms-lomake .field-Uutiskirje {

    margin-top: 15px;
    margin-bottom: 24px;

}
.customform-palaute p {

    margin-top: 20px;
    margin-bottom: 20px;

}
.customform-palaute h2.kiitos {

    font-size: 14px;

}

/* RYHMÄTARJOUS */
.customform-ryhmatarjous div label {
    width: 250px;
    float: left;
    clear: left;
    margin-top: 0px !important;
    margin-bottom: 20px;
}
.customform-ryhmatarjous .selector, 
.customform-ryhmatarjous div textarea, 
.customform-ryhmatarjous div fieldset, 
.customform-ryhmatarjous div input {
    float: left;
}
.customform-ryhmatarjous div.selector, 
.customform-ryhmatarjous div select, 
.customform-ryhmatarjous input[type="text"], 
.customform-ryhmatarjous textarea {
    width: 250px;
}
.customform-ryhmatarjous .fieldtype-radio fieldset div.radio {
    float: left;
    clear: left;
}
.customform-ryhmatarjous fieldset.radio,
.customform-ryhmatarjous fieldset.checkboxes {
    float: left;
    width: 250px;
    padding: 0;
    margin: 0;
}
.customform-ryhmatarjous fieldset.checkboxes {
    margin-bottom: 15px;
}
.customform-ryhmatarjous fieldset.radio label, 
.customform-ryhmatarjous fieldset.checkbox label {
    float: left;
    clear: none;
    width: 210px;
    margin-top: 0px;
    display: inline;
}

/* UUTTA */
.template-com-forms-lomake label {
    color: #022860 !important;
}
.template-com-forms-lomake input[type="text"],
.template-com-forms-lomake select,
.template-com-forms-lomake textarea {
    border: 1px solid #97ddf6;
    padding: 7px 8px;
    font: 13px/130% "Raleway","Arial",sans-serif;
    color: #464646;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.template-com-forms-lomake textarea {
    margin-bottom: 10px;
}
.template-com-forms-lomake legend {
    margin: 16px 0 22px;
}
.template-com-forms-lomake fieldset {
    margin: 0;
    padding: 0;
}
.template-com-forms-lomake form,
.template-com-forms-lomake .fieldset-tiedot {
    background-color: transparent;
    padding: 0px;
}
.template-com-forms-lomake .destination h2.top-header,
.template-com-forms-lomake .tiedot h2.top-header {
    display:none;
}
.template-com-forms-lomake .destination h2.ryhmatarjous {
    display:inline-block !important;
}
.template-com-forms-lomake .type legend {
    display:none;
}
.template-com-forms-lomake input[type="submit"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
    font-size: 14px;
    color: #ffffff !important;
    cursor: pointer;
    padding: 5px 20px 5px 20px;
    border-radius: 16px;
    float: left;
    text-align: center;
    border:none;
    margin-left: 503px;
    -webkit-appearance: none;
    background: #00b07b;
    font: 14px/150% "Raleway","Arial",sans-serif;
    font-weight: bold;
}
.template-com-forms-lomake input[type="submit"]:hover, 
.template-com-forms-lomake input[type="submit"]:active {
    -webkit-box-shadow: inset 3px 3px 5px -2px rgba(0,0,0,0.60);
    opacity: 0.7;
    color: #ffffff !important;
}
.customform-ryhmatarjous div.selector, 
.customform-ryhmatarjous div select, 
.customform-ryhmatarjous input[type="text"], 
.customform-ryhmatarjous textarea,
.customform-ryhmatarjous fieldset.radio, 
.customform-ryhmatarjous fieldset.checkboxes,
.customform fieldset.radio label, 
.customform fieldset.checkboxes label {
    width: 350px;
}
.customform-ryhmatarjous fieldset.radio label, 
.customform-ryhmatarjous fieldset.checkbox label {
    width: 310px;
}
.template-com-forms-lomake footer {
    margin-top: 0px;
}
.template-com-forms-lomake .customform .adminform label {
    margin-top: 0px;
}
.template-com-forms-lomake #vaihe1-submit {
    display:none;
}
.template-com-forms-lomake legend {
    display: none;
}

/* SELECT - KENTÄT */
.template-com-forms-lomake .select2-container--default .select2-selection--single {
    border: 1px solid #97ddf6;
    border-radius: 1px;
}
.template-com-forms-lomake .select2-container .select2-selection--single {
    height: 33px;
}
.template-com-forms-lomake .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 33px;
    background-position-y: 2px;
}
.template-com-forms-lomake .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
}
.template-com-forms-lomake .destination .field {
    min-height: 45px;
}
.template-com-forms-lomake .destination .field-Lisätietoa {
    min-height: 80px;
}
.customform-palaute .field {
    padding-right: 10px;
}

.customform-palaute .field-Puhelin label, .customform-palaute .field-Etunimi label,
.customform-palaute .field-Sukunimi label, .customform-palaute .field-fish label {
    width: 90px;
}



.customform-palaute .select2-container {

    width: 84px !important;

}

.customform-palaute .fieldset-tiedot div.field-Aikuisia {
    margin-bottom: 22px;
}

.customform-palaute .fieldset-tiedot div.field-Muuta label {
    display: block;
    width: 100%;
    margin-bottom: 5px;

}
.customform-palaute .fieldset-tiedot div.field-Yhteydenotto label {
    padding: 0;
    margin: 0;
}

.customform-palaute .fieldset-tiedot div.field-Uutiskirje {
    width: 100%;
    padding-left: 27px;
    position: relative;
}
.template-com-forms-lomake div.field-Uutiskirje input[type="checkbox"] {
    position: absolute;
    left: 0px;
}
#com_forms_Yhteydenotto label {
    width: 100%;

}
.customform-palaute p {

    margin-top: 10px;

}
.customform-palaute h2.kiitos {
    margin-bottom: 40px;

}

.customform-palaute a.submit-form,
.customform-palaute a.back-button {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
    font-size: 14px;
    color: #ffffff !important;
    cursor: pointer;
    padding: 5px 20px 5px 20px;
    border-radius: 16px;
    float: left;
    text-align: center;
    border:none;
    -webkit-appearance: none;
    background: #022860;
    font: 14px/150% "Raleway","Arial",sans-serif;
    font-weight: bold;
    
    
}
.customform-palaute a.back-button{
	display: none !important;
}
.customform-palaute a.submit-form {
    float: right;
    background: #00b07b;
}
.customform-palaute .field-type .select2-container {

    width: 230px !important;

}
.template-com-forms-lomake .mp-system-message #system-message-container a.close {

    display: none;
}

/* TABLETTIKOOT */
@media all and (max-width: 1200px) {

    .template-com-forms-lomake .select2-container .select2-selection--single .select2-selection__rendered {
    	height: 32px !important;
    	line-height: 32px !important;
    }
    .template-com-forms-lomake .select2-container--default .select2-selection--single .select2-selection__arrow, 
    .template-com-forms-lomake .select2-container .select2-selection--single .select2-selection__rendered, 
    .template-com-forms-lomake .infosivu-muuta-hakua .select2 {
    	height: 32px !important;
    }

}
/* VAIN MOBIILI */
@media all and (max-width: 799px) {

    .customform-palaute .fieldset-tiedot div.field {
    	width: 100%;

    }
    .customform-palaute textarea {

    	width: 90%;

    }
    .customform-palaute .fieldset-tiedot div.field label {
    	min-width: 120px;

    }
    .customform-palaute .fieldset-tiedot div.field label {

	/* width: 100%; */

    }
    #com_forms_Yhteydenotto-lbl {
	display: none;
    }
    .customform-ryhmatarjous div label {
    	margin-bottom: 0px;
    }
    .customform-ryhmatarjous .select2-container, 
    .customform-ryhmatarjous div textarea, 
    .customform-ryhmatarjous div.selector, 
    .customform-ryhmatarjous div select, 
    .customform-ryhmatarjous input[type="text"], 
    .customform-ryhmatarjous textarea, 
    .customform-ryhmatarjous fieldset.radio, 
    .customform-ryhmatarjous fieldset.checkboxes, 
    .customform fieldset.radio label, 
    .customform fieldset.checkboxes label {
    	margin-bottom: 20px;

    }
    .customform-ryhmatarjous fieldset.radio,
    .customform-ryhmatarjous fieldset.checkboxes {
    	margin-top: 20px;
    	margin-bottom: 0px;
    }
    .customform-ryhmatarjous fieldset.checkboxes label {
    	margin-bottom: 10px;
    }
    .template-com-forms-lomake input[type="submit"] {
    	float: left;
    	margin-left: 0px;

    }
}
@media all and (max-width: 449px) {

    .template-com-forms-lomake input[type="text"], 
    .template-com-forms-lomake select, 
     .template-com-forms-lomake textarea {
    	width: 100%;
    }
}