:root {

    --containerwidth:90vw;
    --loader-bg:#CA1414;

    --query-text:#D6D8DE;
    --query-bg:#3F454F;

    --query-hover-bg:#A8A8A8;
    --query-hover-text:#fff;
    --query-result-hover:#F8B526;


    --map-list-text:#1e1e1f;
    --map-list-text-selected:#08090c;
    --map-list-text-hover:#A8A8A8;
    


    --btn-text:#3D4750;
    --btn-bg:#fff;

    --btn-bg-hover: #DF0024;
    --btn-text-hover:#fff;

    --info-day-label:#929DA8;

    
  --mainmenubg: #ffffff;
  --submenubg: #f7f8f8;
  --lightgrey: #e7e7e7;
  --lightgray: #e7e7e7;
  --labels: #95a5a6;
  --arrow: #797979;
  --darkergrey: #d7dade;
  --greyish-brown: #444444;
  --black: #000000;
  --bposttextblack:#191C1D;
  --bpostred: #DD1829;
  --bpostdarkred: #B11321;
  --bpostgreen:#448344;
  --bpostblue:#347794;
  --bpostbordertop:#E1E3E3;
  --bpostborderhr:#ECEEEE;
  --bposttopbtnotactive:#F2F4F4;
  --bposttopbttextnotactive:#576062;
  --bpostfieldsborder:#BFC8CA;
  --bpostloginbg:#DEDEDF;
  --azure: #DD1829;
  --azure2: #2980b9;
  --mango: #febe10;
  --pumpkin: #dc002e;
  --pumpkin2: #dc002e;
  --battleship-grey: #666666;
  --white: #ffffff;
  --cerulean-status-info: #0099cc;
  --coral-status-error: #DD1829;
  --brown-grey: #999999;
  --dark-sky-blue-infolabelbar: #33b5e5;
  --switchwidth:30px;
  --switchbuttonwidth:15px;
  --switchlabelheight:3px;
  --switchlabelborderwidth:2px;
  --switchswitchborderwidth:2px;
  --app-error-blue: #347794;
  --app-error-red: #DD1829;
  --alazarin: #e74c3c;
  --emerald: #2ecc71;
  --toggleon: #DD1829;
  --toggleoff: #E1E3E3;
}

#sw {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    display: none;
    font-size: 14px;
    color: #3D4750;
}

#sw.open {
    display: block;
}

#sw__container {
    width: var(--containerwidth);
    z-index: 99991;
    position: absolute;
    top: 30px;
    left: 7%;
    width: 86%;
    min-height: 50%;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    -webkit-box-shadow: 0px 0px 40px 20px rgba(222,222,222,1);
    -moz-box-shadow: 0px 0px 40px 20px rgba(222,222,222,1);
    box-shadow: 0px 0px 40px 20px rgba(222,222,222,1);
}

#sw__overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 9999;
    background: #fff;
    top: 0;
    left: 0
}


#sw-query-wrapper, #sw-display-options {
    display: flex;
    flex-direction: row;
}

#sw-query {
    flex-grow: 1;
    line-height: 50px;
    border: solid thin #F2F0F3;
    padding-left: 15px;
    outline:#010101;
}

#sw-query-btn {
  background: var(--query-bg);
  border: none;
  color: var(--query-text);
  padding: 15px;
  cursor: pointer;
  display: inline-block;
  width: auto;
  height: 50px;
  border-radius: 0;
}

#sw-query-btn:hover {
    background: var(--query-hover-bg);
    color:var(--query-text-hover);
    transition: all .5s;
}

#sw-query-results { 
    position: absolute;
    z-index: 999999999;
    background: #fff;
    padding-left: 10px;
    padding-top: 15px;
    width: 100%;
    box-sizing: border-box;
}

.sw-query-result {
    line-height: 2em;
    cursor: pointer;
}

.sw-query-result:hover {
    color:var(--query-result-hover);
}

#sw-query-options {
    margin-top: 15px; 
    margin-bottom:30px;
}

.sw-query-results-description {
    font-size: 16px;
    padding: 20px;
}

.sw-display-option {
    color:var(--map-list-text);
    font-size:20px;
    flex-grow: 1;
    text-align: center;
    border-bottom: solid #F2F0F3;
    cursor: pointer;
    line-height: 50px;
    height: 50px;
    margin-top:20px;
}

#sw__container.searching .sw-display-option {
    display: none;
}

.sw-display-option.selected {
    color:var(--map-list-text-selected);
    border-bottom: solid var(--map-list-text-selected);
}

.sw-display-option:hover {
    color: var(--map-list-text-hover);
    border-color: var(--map-list-text-hover);
}   

.sw-tab { 
    display: none;
    position: relative;
}

.sw-tab.selected {
    display: block;
} 

#sw__container.searching .sw-tab.selected {
    display: none;
}

#sw-map-wrapper.loading #sw-map {
    display: none;
}

#sw-map {
    width: 100%;
    height: calc(100vh - 230px);
}

#sw-map-error {
    position: absolute;
    top:50%;
    left: 0;
    width: 100%;
    text-align: center;
}

#sw-map-selected-point {
    position: relative;
    bottom: -38vh;
    left: 27%;
    transform: translateX(-50%);
    z-index: 99999;
    width: 30vw;
    min-width: 400px;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

#sw-map-selected-point .sw-point-info {
    width: 100%;
    margin-bottom: 0;
    padding: 20px;
    line-height: 1.5em;
}

#sw-search-status {
    display: none;
    line-height: 100px;
    position: absolute;
    top:calc(50vh - 148px);
    left: calc(50% - 40px); 
    z-index: 99999; 
}

#sw__container.searching #sw-search-status {
    display: block;
}

#sw-search-summary {
    line-height: 2em;
    margin:20px 0;
}
 
#sw-map-message {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    text-align: center;
    display: none;
    justify-content: center;
    align-content: center;
    height: calc(100vh - 218px);
    background: white;
    z-index: 9999999;
    padding-top: 30px;
}

#sw-map-message.open {
    display: flex;
} 

#sw-list-points { 
    padding:20px 0px 20px 1%;
}

.sw-point-info {
    width: 49%;
    /*min-height: 150px; */ 
    min-height: 208px; /** 4 different day groups **/
    float: left;
    padding: 20px;
    box-sizing:border-box;
    margin-right: 1%;
    margin-bottom: 10px;
    position: relative;
    background: white;
    -webkit-box-shadow: 7px 7px 15px -3px rgba(186,186,186,1);
    -moz-box-shadow: 7px 7px 15px -3px rgba(186,186,186,1);
    box-shadow: 7px 7px 15px -3px rgba(186,186,186,1);
}

.sw-point-info-name {
    font-weight: bold;
    font-size: 18px; 
    margin-bottom: 15px;
}

.sw-point-info-open { 
    min-height: 55px;
}

.sw-point-info-addr {
    margin-bottom: 15px;
}

.sw-point-info-btn {
    background: var(--btn-bg);
    border: solid thin var(--btn-text);
    color: var(--btn-text);
    text-align: center;
    padding:9px 16px 9px 16px;
     
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: auto;
    height: auto;
    border-radius: 0;
}


.sw-point-info-btn:hover,
.sw-point-info-btn.selected {
    cursor: pointer;
    color: var(--btn-text-hover); 
    background: var(--btn-bg-hover);
    border: solid thin var(--btn-bg-hover);
}

.sw-point-info-day {
    display: flex;
    flex-direction: row;
}

.sw-point-info-day label { 
    display: inline-block;
    margin-right: 5px;
    color:var(--info-day-label);
    vertical-align: top;
}

.sw-point-info-additional input {
    max-width: 400px;
}

@media(max-width:1024px) {
    .sw-point-info {
        width: 100%;
    }

    #sw-map { 
        height: calc(100vw);
    }

    .sw-tab {
        padding:10px;
    }

    #sw-map-selected-point {
        width:93%;
    }
}



.sw-loader {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.sw-loader div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: var(--loader-bg);
  animation: sw-loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.sw-loader div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}
.sw-loader div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}
.sw-loader div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes sw-loader {
  0% {
    top: 8px;
    height: 64px;
  }
  50%, 100% {
    top: 24px;
    height: 32px;
  }
}


#Bpost_pickup_button
 {
    display: block !important;
    float: none !important;
    clear: both !important;
}
.Bpost-pick-location{
    display: block;
    float: none !important;
    clear: both !important;
}
#Bpost-pickup__description {
    display: block;
    float: none !important;
    clear: both !important;
}

#Bpost_pickup_button,
.Bpost-pick-location{
font: inherit !important;
min-width: auto !important;
height: 48px !important;
border-radius: 0.25rem !important;
background-color: var(--bpostred) !important;
color: var(--white) !important;
padding: 0.75rem 1.5rem !important;
margin: 0px 0px 40px 0px !important;
cursor: pointer !important;
text-align: center !important;
-webkit-appearance: none !important;
border: 0 !important;
transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s !important;
}


.hidden{
    display: none !important;
}

#Bpost_pickup_button,.Bpost-pick-location:hover {
    font: inherit !important;
    background-color: var(--bpostdarkred) !important;
    border-color: var(--bpostdarkred) !important;
    color: var(--white) !important;
}

button.Bpost-pickup__validate {
    background-color: var(--bpostdarkred);
    border-color: var(--bpostdarkred);
    color: var(--bposttextblack);
}

.Bpost-loader div,
button.Bpost-pickup__validate:hover {
    background-color: var(--bpostdarkred);
}
