﻿/* Styles which are shared across all screen sizes */
body {
    margin: 0;
    padding: 0;
}
.content-inner {
    border-top-width: 0;
    border-top-style: none;
}
.screen-reader-only {
    position: absolute; 
    left: -10000px;
    height: 0;
    width: 0;
}
input, select {          
    padding: 10px;
}
input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="tel"] {
    border-width: 2px;
    border-style: solid;
}
input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="email"]:focus, 
input[type="tel"]:focus {
    border-width: 2px;
}
select {
    padding: 6px 30px 6px 10px;
    border-width: 2px;
    border-style: solid;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: ellipsis;
}
select::-ms-expand {
    display: none;
}

.select-wrapper {
    overflow:hidden;
    width: 100%;
    background: url("../../../Images/Views/Register/dropdown-arrow.svg") no-repeat 98% 14px;
    background-size: 20px;
}

.warning-icon {
    display: inline-block;
    line-height: 20px;
    overflow:hidden;
    width: 100%;
    background: url("../../../Images/Shared/warning-icon.svg") no-repeat 98% 14px;
    background-size: 20px;
    background-position: left;
    padding-left: 30px;
}
input[type="checkbox"] {
    display: block;
}
input[type="checkbox"] + label span,
input[type="checkbox"] + input[type="hidden"] + label span,
input[type="checkbox"] + input[type="hidden"] + i span {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(../../../Images/Views/Register/circle.svg);
    background-size: 100%;
    margin-top: 20px;
}
input[type="checkbox"] + label span:hover,
input[type="checkbox"] + input[type="hidden"] + label span:hover,
input[type="checkbox"] + input[type="hidden"] + i span:hover {
    cursor: pointer;
}
input[type="checkbox"]:focus + label span,
input[type="checkbox"]:focus + input[type="hidden"] + label span,
input[type="checkbox"]:focus + input[type="hidden"] + i span {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(../../../Images/Views/Register/circle-focus.svg);
    background-size: 100%;
    margin-top: 20px;
}
input[type="checkbox"]:checked + label span,
input[type="checkbox"]:checked + input[type="hidden"] + label span,
input[type="checkbox"]:checked + input[type="hidden"] + i span {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(../../../Images/Views/Register/tick.svg);
    background-size: 100%;
    margin-top: 20px;
}

.validation {
    margin: 10px 0;
    padding: 2%;
    width: 56%;
    display: none;
}

.validation-summary {
    margin: 10px 0;
    width: 100%;
}

.validation-summary ul {
    -webkit-padding-start: 0;
    -moz-padding-start: 0;
    padding-left: 0;
}

.validation-summary li {
    display: block;
    text-align: left;
    padding: 10px;

    background: url("../../../Images/Shared/warning-icon.svg") no-repeat 98%;
    background-size: 20px;
    background-position-y: center;
    background-position-x: 10px;
    padding-left: 36px;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner-wrapper {
    position: absolute;
}

.loading-spinner {
    border-radius: 15px;
    width: 15px;
    height: 15px;
    border-style: solid;
    border-width: 3px;

    -moz-animation-name: spin;
    -moz-animation-duration: 1s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;

    -webkit-animation-name: spin;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    
    animation: spin 1s infinite linear;
}

.loading-spinner-container span, .loading-spinner-container .wizard-button-submit {
    background-image: url("../../../Images/Shared/empty-icon.png") !important;
    background: none !important;
}

textarea {
    border-style: solid;
}

.hidden {
    visibility: hidden;
}

.modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    opacity: 0.8;
    pointer-events: none;
}

/* New layouts */
.root-container {
    width: 100%;
    margin: 0;
}

.content-container {
    width: 80%;
    margin: auto;
}

.content-heading {
    text-align: left;
    margin-left: 0px !important;
    margin-top: 30px;
}

.content-panel-header-with-step  {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.content-panel-step {
    margin-top: 10px;
    margin-bottom: 20px;
    flex: 1;
    text-align: right;
}

.content-panel {
    margin-top: 24px;
    padding: 24px;
}

.content-panel-description {
    margin-top: 10px;
    margin-bottom: 20px;
}

.content-panel-action-list {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

.content-panel-action-list > * {
    margin-left: 0 !important;
    margin-right: 8px !important;
    margin-top: 0 !important;
}

