/* Introduction
   ========================================================================== */
#introduction {
    width: 100%;

    text-align: center;

    display: none; /* iframe setting */ 
}

#introduction hr {
    width: 35px;
    height: 3px;

    border-top: 3px solid;
    color: rgba(222, 185, 44, 1.0); /* DFT Yellow */

    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 40px;
}

#introduction article {
    font-size: 1.25em;
    
    margin: 0 auto;
    margin-bottom: 75px;
}


/* Step 1 - Parent Combo
   ========================================================================== */
.parentcombo_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    width: 100%;
}

.parentcombo_box {
    display: flex;
    flex-direction: column;
    justify-content: center; /* H */
    align-items: center; /* V */
    flex-wrap: wrap;

    width: calc(33.33% - 15px);
    height: 175px;

    margin-bottom: 25px;

    background-color: rgba(245, 243, 240, 1.0); /* DFT Background */

	-webkit-transition: color 0.25s ease;
	-moz-transition: color 0.25s ease;
	-o-transition: color 0.25s ease;
	transition: color 0.25s ease;

	-webkit-transition: background-color 0.25s ease;
	-moz-transition: background-color 0.25s ease;
	-o-transition: background-color 0.25s ease;
	transition: background-color 0.25s ease;

}

.parentcombo_box_active {
    color: rgba(196, 17, 48, 1.0); /* DFT Red */
}

.parentcombo_box_image {
    display: flex;
    justify-content: center; /* H */
    align-items: center; /* V */

    width: 100%;
    height: auto;
}

.parentcombo_box_text {
    width: 100%;
    height: auto;

    padding-top: 10px;

    text-align: center;
}

.parentcombo_box img {
    width: 95px;
    height: auto;
}

.parentcombo_box:hover {
    cursor: pointer;
}

/* Step 1 - Maternity Date
   ========================================================================== */
#maternity_date_picker {
    width: 700px;
    height: auto;

    margin-top: 25px;
    margin-bottom: 25px;

    display: none;
}

#maternity_date_picker section {
    padding: 75px;

    background-color: rgba(245, 243, 240, 1.0); /* DFT Background */
}

#maternity_date_decoration {
    float: right;

    width: 115px;
    height: auto;

    margin-right: 10%;
}

#maternity_date {
    width: 200px;
}

#maternity_date_icon {
    position: relative;
    top: -4px;

    width: 42px;
    height: auto;

    margin-right: 25px;
}

#flow_family {
    position: absolute;
    top: 50px;
    right: 75px;

    width: 90px;
    height: auto;
}

/* Step 1 - Error text
   ========================================================================== */
#error_daddad, #error_dad, #error_adoption {
    width: 700px;
    height: auto;

    margin-top: 25px;
    margin-bottom: 25px;

    display: none;
}

#error_daddad section, #error_dad section, #error_adoption section {
    padding: 50px;

    background-color: rgba(245, 243, 240, 1.0); /* DFT Background */
}

/* Step 2 - Agreement selection
   ========================================================================== */
.agreement_selection_image, .agreement_selection_spacer, .agreement_selection_text, .agreement_selection_input {
    position: relative;
    float: left;

    margin-bottom: 25px;
}

.agreement_selection_container {
    position: relative;
    float: left;
}

.agreement_selection_image {
    width: 75px;
    height: auto;

    margin-right: 25px;
    margin-bottom: 0px;
}

.agreement_selection_image img {
    position: relative;
    top: 15px;

    width: 45px;
    height: auto;
}

.agreement_selection_container {
    width: calc(100% - 100px);
}

.agreement_selection_text {
    display: flex;
    align-items: center; /* Vertical */

    width: 150px;
    height: 50px;
}

.agreement_selection_input {
    width: calc(100% - 150px);
    height: 50px;
}

.agreement_selection_spacer {
    width: calc(100% - 650px);
    height: 50px;

    display: none;
}

.icon_modal_sector {
    position: absolute;
    top: 25px;
    right: 25px;

    width: 30px;
    height: auto;
}

.icon_modal_sector:hover {
    cursor: pointer;
}

#warning_box_unemployed_mom, #warning_box_selfemployed_mom, #warning_box_student_mom, #warning_box_unemployed_dad, #warning_box_selfemployed_dad, #warning_box_student_dad {
    padding-top: 25px;
    padding-left: 100px;

    display: none;
}

#warning_box_unemployed_mom h2, #warning_box_selfemployed_mom h2, #warning_box_student_mom h2, #warning_box_unemployed_dad h2, #warning_box_selfemployed_dad h2, #warning_box_student_dad h2 {
    margin-bottom: 12.5px;
}

/* Step 3 - Agreement overview
   ========================================================================== */
.agreement_overview_image, .agreement_overview_name {
    position: relative;
    float: left;
}

.agreement_overview_image {
    width: 75px;
    height: 85px;

    margin-right: 25px;
    margin-bottom: 0px;
}

.agreement_overview_image img {
    width: 45px;
    height: auto;
}

.agreement_overview_headline {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    width: calc(100% - 125px);
    height: 85px;

    margin-bottom: 0px;
}

.agreement_overview_name {
    width: calc(100% - 70px);
    height: 50px;
}

.agreement_overview_type, .agreement_overview_text, .agreement_overview_info, .agreement_overview_using, .agreement_overview_amount, .agreement_overview_chosen {
    float: left;

    display: flex;
    align-items: center; /* Vertical */

    width: 25%;
    height: 50px;
    padding: 5px;

    line-height: 1.0;

    border-bottom-style: dotted;
    border-bottom-width: 1px;
    border-bottom-color: rgba(98, 0, 12, 0.25); /* DFT Red Search Input */
}

.agreement_overview_info, .agreement_overview_using {
    font-weight: 600;
}

.agreement_overview_chosen input {
    height: 35px;
    width: 35px;

    padding: 5px;
    margin-right: 5px;

    text-align: center;
}

.agreement_overview_last {
    border-bottom-width: 0px;
}

/* Step 3 + 4 - Agreement distribution and extend
   ========================================================================== */
.agreement_extend_image, .agreement_extend_input, .agreement_extend_name {
    position: relative;
    float: left;
}

.agreement_extend_image {
    width: 40px;
    height: 50px;
}

.agreement_extend_image img {
    position: relative;
    top: 10px;

    width: 17px;
    height: auto;
}

.agreement_extend_input, .agreement_extend_name {
    float: left;

    display: flex;
    align-items: center; /* V */

    height: 50px;

    border-top-style: solid;
    border-top-width: 0px;
    border-top-color: rgba(255, 255, 255, 1.0); /* White */
}

.agreement_extend_input {
    width: 55px;
}

.agreement_extend_input input {
    height: 35px;
    width: 35px;

    padding: 5px;
    margin-right: 5px;

    text-align: center;
}

.agreement_extend_name {
    width: 275px;
}

.agreement_extend_spacer {
    width: calc(100% - 385px);
}

#parental_leave_share_box {
    width: auto;
    height: auto;
}

#parental_leave_share_box .agreement_extend_input, #parental_leave_share_box .agreement_extend_name {
    border-bottom-style: solid;
    border-bottom-width: 0px;
    border-bottom-color: rgba(255, 255, 255, 1.0); /* White */
}

.agreement_extend_bottom_border {
    border-bottom-style: solid;
    border-bottom-width: 0px;
    border-bottom-color: rgba(255, 255, 255, 1.0); /* White */
}

/* Step 3 - Error text
   ========================================================================== */
#parental_splitfull_error, #parental_splitpart_error {
    margin-top: 25px;

    display: none;
}

/* Step 4
   ========================================================================== */
#section_maternity_extend_input {
    width: 100%;
    height: auto;

    display: none;
}

#flow_umbrella {
    position: absolute;
    bottom: 50px;
    right: 50px;

    width: 125px;
    height: auto;
}

/* Maternity flow - Overview
   ========================================================================== */
#overview_section {
    margin-bottom: 50px;
    padding-bottom: 0px;
}

.overview_box_third {
    float: left;
    
    width: 33%;
    height: auto;
    min-height: 50px;

    /*font-size: 0.85em;*/

    /*margin-bottom: 35px;*/
}

.overview_box_third img {
    float: left;

    width: auto;
    height: 50px;
    
    margin-right: 15px;
    margin-bottom: 0px;
}

#overview_mom {
    width: calc(33% - 10px);
}

#overview_dad {
    width: calc(33% + 20px);
}

#overview_child {
    width: calc(33% - 10px);
}

#overview_dad, #overview_child {
    padding-left: 25px;

    border-left-style: dotted;
    border-left-width: 1px;
    border-left-color: rgba(98, 0, 12, 0.25); /* DFT Red Search Input */
}

/* Maternity flow - Colorbox
   ========================================================================== */
#color_section {
    padding: 0px 50px 50px;
}

.color_box_container {
    display: flex;
    justify-content: space-between;

    padding: 35px 0px 0px;

    border-top-style: dotted;
    border-top-width: 1px;
    border-top-color: rgba(98, 0, 12, 0.25); /* DFT Red Search Input */
}

.color_box {
    width: auto;
    height: auto;

    /*font-size: 0.85em;*/
}

.color_section_position {
    /*
    z-index: 50;

    position: fixed;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    left: 0;
    right: 0;

    max-width: 1124px;

    background-color: rgba(255, 255, 255, 1.0); /* White */
}

.maternity_box_explained {
    float: left;

    width: 30px;
    min-height: 30px;

    background-color: rgba(245, 243, 240, 1.0); /* DFT Background */

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
}

.maternity_box_text {
    float: left;

    width: calc(100% - 30px);
    min-height: 30px;

    padding: 4px 0px 0px 15px;
}

/* Maternity flow - section/articles
   ========================================================================== */
#maternity_section {
    padding: 50px 0px;
}

#maternity_section article {
    padding: 0px;
    background-color: transparent;
}

/* Maternity flow - Asides
   ========================================================================== */
aside div {
    position: relative;

    width: 100%;
    height: auto;

    padding: 15px 40px 15px 15px;
    margin-bottom: 25px;

    font-size: 0.85em;
    line-height: 1.25rem;

    border-width: 1px;
    border-style: solid;
    border-color: rgba(245, 243, 240, 1.0); /* DFT Background */

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

aside div b {
    font-weight: 700;
}

aside div img {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 25px;
    height: auto;
}

#responsive_spacer {
    height: 125px;
    width: 100%;

    display: none;
}

/* Maternity flow - Colors
   ========================================================================== */
.maternity_box_color_0 {
    background-color: rgba(255, 255, 255, 1.0) !important; /* White */
}

.maternity_box_color_1 {
    background-color: rgba(196, 17, 48, 1.0) !important; /* DFT Red */
}

.maternity_box_color_2 {
    background-color: rgba(98, 0, 12, 1.0) !important; /* DFT Red Search Input */
}

.maternity_box_color_3 {
    background-color: rgba(222, 185, 44, 1.0) !important; /* DFT Yellow */
}

.maternity_box_color_4 {
    background-color: rgba(168, 135, 2, 1.0) !important; /* DFT Gold (DM) */
}

.maternity_box_color_error {
    background-color: rgba(255, 255, 255, 1.0) !important; /* White */

    background-image: url('/images/placement_error.png');
    background-position: center center;
    background-repeat: no-repeat;
}

/* Maternity flow - Common
   ========================================================================== */
.maternity_box {
    width: 30px;
    height: 30px;

    background-color: rgba(255, 255, 255, 1); /* White */

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;

    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(245, 243, 240, 1.0); /* DFT Background */
}

.maternity_flow_mom_boxes img, .maternity_flow_dad_boxes img {
    width: 100%;
}

.box_navigation_up {
    background-image: url('/images/placement_arrow_up.png');
    background-position: center center;
    background-repeat: no-repeat;
}

.box_navigation_down {
    background-image: url('/images/placement_arrow_down.png');
    background-position: center center;
    background-repeat: no-repeat;
}

.box_navigation_up_disabled {
    background-image: url('/images/placement_arrow_up_disabled.png');
    background-position: center center;
    background-repeat: no-repeat;
}

.box_navigation_down_disabled {
    background-image: url('/images/placement_arrow_down_disabled.png');
    background-position: center center;
    background-repeat: no-repeat;
}

.box_navigation_up, .box_navigation_down {
    cursor: pointer;
}

.article_headline {
    width: 100%;
    height: 45px;

    margin: 0 auto;

    margin-top: 25px;
    margin-bottom: 25px;

    text-align: center;
    line-height: 1.25rem;
}

.article_headline time {
    font-weight: 700;
}

.article_image {
    width: 100%;
    height: 100px;

    margin: 0 auto;

    margin-top: 25px;
    margin-bottom: 25px;

    text-align: center;
}

.article_image img {
    width: auto;
    height: 100%;
}

.maternity_box_image {
    width: 30px;
    height: 70px;
}

.maternity_error_info {
    width: 100%;
    height: 30px;

    font-size: 0.75em;
}

.maternity_error_info p {
    display: inline;

    color: rgba(100, 100, 100, 1.0); /* DFT Text */
    font-weight: 700;
    line-height: 2.5em;
}

/* Maternity flow - mom
   ========================================================================== */
.maternity_flow_mom {
    float: left;
    width: calc(50% - 12.5px);
}

.maternity_flow_mom_text {
    position: relative; /* for info boxes */

    float: left;
    width: calc(100% - 45px);
    height: auto;

    line-height: 1.3;
    text-align: right;
}

.maternity_flow_mom_text div {
    position: absolute;

    top: 0; /* Overwritten by JS placement */
    right: 0;

    background-color: rgba(245, 243, 240, 1.0); /* DFT Background */
}

.maternity_flow_mom_text span {
    float: left;
    width: 45px;
    height: 40px;

    text-align: center;
}

.maternity_flow_mom_text span img {
    width: 25px;
    height: auto;
}

.maternity_flow_mom_text span div {
    margin: 0 auto;
}

.maternity_flow_mom_boxes {
    float: right;
    width: 30px;
}

/* Maternity flow - dad
   ========================================================================== */
.maternity_flow_dad {
    float: right;
    width: calc(50% - 12.5px);
}

.maternity_flow_dad_text {
    position: relative; /* for info boxes */
    
    float: right;
    width: calc(100% - 45px);
    height: auto;

    line-height: 1.3;
}

.maternity_flow_dad_text div {
    position: absolute;

    top: 0; /* Overwritten by JS placement */
    left: 0;

    background-color: rgba(245, 243, 240, 1.0); /* DFT Background */
}

.maternity_flow_dad_text span {
    float: right;
    width: 45px;
    height: 40px;

    text-align: center;
}

.maternity_flow_dad_text span img {
    width: 25px;
    height: auto;
}

.maternity_flow_dad_text span div {
    margin: 0 auto;
}

.maternity_flow_dad_boxes {
    float: left;
    width: 30px;
}

/* Maternity flow - Warnings / Reminders
   ========================================================================== */
.warning_flow_mom_text {
    position: relative; /* for info boxes */

    float: left;
    width: 100%;
    height: auto;

    padding: 0px;

    /*background-color: rgba(255, 255, 255, 1.0); /* White */
}

.warning_flow_mom_text img {
    position: relative;
    top: -2px;

    width: 30px;
    height: auto;

    margin-right: 3px;
}

.warning_flow_mom_text img:hover {
    cursor: pointer;
}

#pretermin_mom_reminder_placement {
    top: 73px;
}

#maternity_date_mom_reminder_placement {
    top: 210px;
}

.warning_flow_dad_text {
    position: relative; /* for info boxes */

    float: right;
    width: 100%;
    height: auto;

    padding: 0px;

    /*background-color: rgba(255, 255, 255, 1.0); /* White */
}

.warning_flow_dad_text img {
    position: relative;
    top: -2px;

    width: 30px;
    height: auto;

    margin-left: 3px;
}

.warning_flow_dad_text img:hover {
    cursor: pointer;
}

#pretermin_dad_reminder {
    margin-top: 90px;
}

#maternity_date_dad_reminder_placement {
    top: 210px;
}

.reminder_box {
    position: absolute;
    top: 35px !important;

    width: 300px;
    height: auto;

    padding: 10px;


    background-color: rgba(255, 255, 255, 1.0) !important; /* White */

    border-style: solid;
    border-width: 1px;
    border-color: rgba(245, 243, 240, 1.0); /* DFT Background */

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;

    display: none;
}

/* Steps
   ========================================================================== */
#step_progress {
    display: flex;
    justify-content:center;

	width: 100%;
	height: auto;

    margin-top: 25px;
    padding: 25px; /* non-iframe setting */
}

#step_progress div {
    width: 10px;
    height: 10px;

    margin: 0px 10px;

    background-color: rgba(168, 190, 196, 1.0); /* DFT Blue Grey */

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

.nav_active {
    background-color: rgba(222, 185, 44, 1.0) !important; /* DFT Yellow */
}

/* Maternity flow - add/remove/help icons
   ========================================================================== */
#flow_carriage {
    height: 80%;
}

#section_contact div {
    float: left;

    width: 50%;
    height: auto;
}

/* Print overview
   ========================================================================== */
.printbox {
    float: left;

    width: 50%;
    height: auto;
}

.printbox_headline {
    float: left;

    width: 100%;
    height: auto;
}

.printbox_text {
    float: left;

    width: 70%;
    height: auto;
}

.printbox_value {
    float: left;

    width: 30%;
    height: auto;
}

/* Modal overlays
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 50 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.75); /* White 75% opacity */
}

.modal-content {
    width: 840px;

    margin: 5% auto;
    padding: 20px;

    font-size: 1.0em;

    background-color: rgba(245, 243, 240, 1.0); /* DFT Background */

    border-style: solid;
    border-width: 1px;
    border-color: rgba(245, 243, 240, 1.0); /* DFT Background */

    -webkit-border-radius: 12.5px;
    -moz-border-radius: 12.5px;
    -o-border-radius: 12.5px;
    border-radius: 12.5px;
}

.modal-content .close {
    float: right;
    height: 20px;

    color: rgba(51, 51, 51, 1.0); /* DFT Headline */
    font-size: 28px;
    font-weight: 700;

    margin-top: -10px;

    transition: color 0.25s ease;
}

.modal-content .close:focus, .modal-content .close:hover {
    color: rgba(98, 0, 12, 1.0); /* DFT Red Search Input */

    text-decoration: none;
    cursor: pointer;
}