/* Step all
   ========================================================================== */
.article_left {
    float: left;

    width: 180px;
    height: auto;

    line-height: 2.15;
}

.article_left img {
    float: left;

    width: 15px;
    height: auto;

    margin: 8px 15px 25px 0px;
}

.article_left span:first-of-type {
    position: relative;
    top: 5px;
}

.article_left span:last-of-type {
    position: relative;
    top: 10px;
}

.article_right {
    float: right;

    width: calc(100% - 180px);
    height: auto;
}

.article_full img {
    float: left;

    width: 17px;
    height: auto;

    margin: 18px 15px 0px 0px;
}

.article_full span {
    position: relative;
    top: 10px;
}

.article_full input {
    width: 60px;

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

    text-align: center;
}

.article_full div {
    margin-bottom: 15px;
}


/* Step 1
   ========================================================================== */
.box_container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box_radio {
    width: 33%;

    margin-bottom: 25px;
}

.box_radio:nth-child(2), .box_radio:nth-child(5) {
    text-align: center;
}

.box_radio:nth-child(3n+0) {
    text-align: right;
}

.box_radio_align {
    display: inline-block; /* for text align */

    width: 100px;
    text-align: center;
}

.box_radio img {
    width: 50px;
    height: auto;

    margin-bottom: 3px;
}

.box_radio img:hover {
    cursor: pointer;
}

.label_small {
    font-size: 0.8em;
}

#section_daddad, #section_dad, #section_adoption {
    display: none;
}

/* Step 2
   ========================================================================== */
#icon_calendar {
    position: relative;
    top: 3px;
    margin-right: 6px;
    margin-left: 0px;

    font-size: 25px;
}

#date_maternity {
    width: 250px;
}

#step_2_stork {
    width: 213px;
    height: auto;

	margin-left: auto;
	margin-right: auto;
	display: block;
}

/* Step 3
   ========================================================================== */
#warning_box_maternity_fund_mom, #warning_box_maternity_fund_dad, #warning_box_selfemployed_mom, #warning_box_selfemployed_dad, #warning_box_student_dad, #warning_box_student_dad {
    display: none;

    margin-bottom: 25px;
}

/* Step 4
   ========================================================================== */
#warning_box_servant_mom, #warning_box_servant_dad {
    display: none;
}

#parental_splitfull_error, #parental_splitfull_error2,
#parental_splitpart_error, #parental_splitpart_error2,
#parental_splitmat_leftover_error, #parental_splitmat_leftover_error2,
#parental_splitpart_leftover_error, #parental_splitpart_leftover_error2 {
    display: none;
    margin-top: 10px;
    margin-bottom: 25px;
}

#mom_selection_agreement, #dad_selection_agreement {
    margin-bottom: 50px;
}

.overview_full {
    float: left;

    width: 92%;
    height: auto;
}

.overview_full input {
    width: 60px;

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

    text-align: center;
}

.overview_image {
    float: left;

    width: 5%;
    height: auto;
}

.overview_image img {
    width: 17px;
    height: auto;

    margin-top: 6px;
}

.overview_title {
    float: left;

    width: 35%;
    height: auto;
}

.overview_content {
    float: left;

    width: 60%;
    height: auto;
}

/* Maternity flow - Overview
   ========================================================================== */
.overview_box_third {
    float: left;
    
    width: 33%;
    height: auto;

    padding-bottom: 10px;
}

#overview_dad, #overview_child {
    /*border-left-style: solid;
    border-left-width: 1px;
    border-left-color: rgba(225, 225, 225, 1.0); /* hr line color */
}

#overview_mom b {
    color: rgba(255, 75, 75, 1.0); /* DM Red */
}

#overview_dad b {
    color: rgba(140, 20, 45, 1.0); /* DM Bordeaux Red */
}

#overview_child b {
    /*color: rgba(255, 120, 95, 1.0); /* DM Coral */
}

/* Maternity flow - Common
   ========================================================================== */
.article_flow {
    width: 975px;
    height: auto;
}

.article_flow i {
    position: relative;
    top: -1px;

    color: rgba(255, 75, 75, 1.0); /* DM Red */
    font-size: 0.95em;
}

.article_flow i:hover {
    color: rgba(205, 50, 70, 1.0); /* DM Medium Red */
}

.maternity_flow_dad i {
    color: rgba(140, 20, 45, 1.0); /* DM Bordeaux Red */
}

.maternity_flow_dad i:hover {
    color: rgba(90, 0, 20, 1.0); /* DM Brown Red */
}

.info_box_small {
    padding: 0px !important;

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

.pre_maternity_pushbox, .pre_maternity_dad_pushbox, .pregnancy_leave_pushbox, .pregnancy_leave_pushbox_2, .parental_pushbox {
    height: 92px !important;

    margin: 0px !important;
    padding: 0px !important;

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

.pre_maternity_dad_pushbox {
    height: 84px !important;
}

.pregnancy_leave_pushbox {
    height: 0px !important;
}

.pregnancy_leave_pushbox_2 {
    height: 3px !important;
}

.parental_pushbox {
    height: 133px !important;
}

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

    padding: 15px 0px;

    font-size: 0.9em;
    text-transform: uppercase;
    color: rgba(120, 120, 120, 1.0); /* DM Grey */
}

.article_headline div {
    width: 210px;
    margin: 0 auto;
}

.article_headline img {
    float: left;

    width: 35px;
    height: auto;

    margin-right: 10px;
    margin-top: 5px;
}

/* Maternity flow - mom
   ========================================================================== */
.maternity_flow_mom {
    float: left;

    width: calc(50% - 12.5px);
    height: 100%;

    border-right-style: solid;
    border-right-width: 10px;
    border-right-color: rgba(255, 75, 75, 1.0); /* DM Red */
}

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

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

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

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

    width: 295px;
    height: auto;

    background-color: rgba(230, 230, 230, 0.75); /* DM Background Grey */

    padding: 10px;
    margin-bottom: 25px;
}

.maternity_flow_mom_text span {
    color: rgba(255, 75, 75, 1.0); /* DM Red */
}

.leave_info_mom {
    float: left;

    width: 210px;

    font-size: 0.9em;
    line-height: 1.33;
}

.leave_info_mom span {
    font-size: 1.1em;
}

.leave_info_mom_spacer {
    width: 100%;
    height: 5px;
}

.leave_weeks_mom {
    float: right;

    width: auto;
    height: auto;

    text-align: center;
}

.leave_weeks_mom span {
    font-size: 2.5em;
    line-height: 1;
}

/* Reminders */
#pre_maternity_leave_mom_reminder_info {
    font-size: 0.9em;
    padding: 0px;

    width: 285px;
    margin-bottom: 0px;

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

#maternity_leave_mom_reminder_info {
    font-size: 0.9em;
    padding: 0px;

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

#maternity_leave_mom_reminder_info_extra {
    display: none;
}

#pregnancy_leave_info {
    margin-bottom: 0px;
}

/* Box container */
.maternity_flow_mom_boxes {
    float: right;
    width: 10px;

    background-color: rgba(255, 75, 75, 1.0); /* DM Red */
}

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

    border-left-style: solid;
    border-left-width: 10px;
    border-left-color: rgba(140, 20, 45, 1.0); /* DM Bordeaux Red */
}

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

    line-height: 1.3;
}

.maternity_flow_dad_text div {
    position: relative; /* for info boxes */
    float: left;

    width: 295px;
    height: auto;

    background-color: rgba(230, 230, 230, 0.75); /* DM Background Grey */

    padding: 10px;
    margin-bottom: 25px;
}

.maternity_flow_dad_text span {
    color: rgba(140, 20, 45, 1.0); /* DM Bordeaux Red */
}

.leave_info_dad {
    float: right;

    width: 210px;

    font-size: 0.9em;
    line-height: 1.33;
}

.leave_info_dad span {
    font-size: 1.1em;
}

.leave_info_dad_spacer {
    width: 100%;
    height: 5px;
}

.leave_weeks_dad {
    float: left;

    width: auto;
    height: auto;

    text-align: center;
}

.leave_weeks_dad span {
    font-size: 2.5em;
    line-height: 1;
}

/* Reminders */
#pre_maternity_leave_dad_reminder_info_1 {
    width: 285px;

    font-size: 0.9em;

    padding: 0px;
    margin-top: 50px;
    margin-bottom: 0px;

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

#pre_maternity_leave_dad_reminder_info_2 {
    font-size: 0.9em;
    padding: 0px;

    margin-bottom: 0px;

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

#maternity_leave_dad_reminder_info {
    font-size: 0.9em;
    padding: 0px;

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

#maternity_leave_dad_reminder_info_extra {
    display: none;
}

/* Box container */
.maternity_flow_dad_boxes {
    float: left;
    width: 10px;

    background-color: rgba(140, 20, 45, 1.0); /* DM Bordeaux Red */
}

/* Maternity flow - add/remove/help icons
   ========================================================================== */
#pre_maternity_leave_mom_reminder_info div, #maternity_leave_mom_reminder_info div, #pre_maternity_leave_dad_reminder_info div, #maternity_leave_dad_reminder_info div {
    z-index: 10;

    position: absolute;

    width: 275px;
    height: auto;

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

	-webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.35);
	-moz-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.35);
	-o-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.35);
	box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.35);

    border: 1px solid;
	border-color: rgba(227, 227, 226, 1.0); /* 20% black */
}

#pre_maternity_leave_mom_reminder_info div, #maternity_leave_mom_reminder_info div {
    top: 50px;
    right: 0px;
}


#pre_maternity_leave_dad_reminder_info div, #maternity_leave_dad_reminder_info div {
    top: 50px;
    left: 0px;
}

#pre_maternity_leave_mom_reminder_info img, #maternity_leave_mom_reminder_info img, #maternity_leave_dad_reminder_info img, #pre_maternity_leave_dad_reminder_info img {
    cursor: pointer;
}

/* Help and reminder boxes
   ========================================================================== */
.maternity_warning {
	z-index: 25;
	position: absolute !important;
	top: 40px;
	right: 0px;

	width: 300px;
	height: auto;
	padding: 10px;

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

	-webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.35);
	-moz-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.35);
	-o-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.35);
	box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.35);
    border: 1px solid;
	border-color: rgba(227, 227, 226, 1.0); /* 20% black */

	display: none;
}

/* Cookie overlay
   ========================================================================== */
#overlay {
    z-index: 50 !important;

    position: absolute;

    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;

    background-color: rgba(0, 0, 0, 0.25); /* Opacity Black */

    display: none;
}

#overlay_content {
    position: relative;
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto;
    margin-top: 8vh;

    width: 600px;
    height: auto;

    padding: 25px;

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

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

/* Modal overlay
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 25;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15); /* Black opacity */
}

.modal-content {
    width: 840px;

    margin: 5vw auto;
    padding: 20px;

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

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

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

    color: rgba(120, 120, 120, 1.0); /* DM Grey */
    font-size: 28px;
    font-weight: bold;

    margin-top: -10px;

    transition: color 0.25s ease;
}

.modal-content .close:focus, .modal-content .close:hover {
    color: rgba(205, 50, 70, 1.0); /* DM Medium Red */

    text-decoration: none;
    cursor: pointer;
}
