/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */


/* BUTTONS */

a.button {
  background: #0d275f;
  color: #fbfbfb;
  font-size: 1rem;
  border-radius: .5rem;
  padding: 0.5rem 1rem;
  border: 2px solid #002f93;
  font-weight: 200;
}

a.button:HOVER {
  background: #002f93;
  color: #fff;
  border: 2px solid #157fec;
  box-shadow: inset 0 0 5px #111;
}

a.button.secondary {
  background: none;
  color: #157fec;
  font-size: 1rem;
  border-radius: .5rem;
  padding: 1rem;
  border: 2px solid #157fec;
  font-weight: 300;
}

a.button.secondary:HOVER {
  background: #222;
  box-shadow: inset 0 0 5px #111;
}

#ddos-bandwidth-selection {
  max-width: 1000px;
  margin: 3rem auto;
}

#ddos-bandwidth-selection .emptybar {
  height: 10px;
  background: #232a2f;
  z-index: 1;
}

#ddos-bandwidth-selection label {
  position: relative;
  color: #c9e2fd;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  z-index: 10;
  margin-top: 30px;
  cursor: pointer;
}

#ddos-bandwidth-selection label span {
  display: block;
  padding-top: 5px;
  font-size: 1rem;
  font-weight: 400;
}

#ddos-bandwidth-selection input[type="radio"] {
  display: none !important;
}

#ddos-bandwidth-selection input[type="radio"] + label:before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 40px;
  left: 50%;
  top: -55px;
  margin-left: -20px;
  background: #20262b;
  border-radius: 40px;
  border: 5px solid #232a2f;
}

#ddos-bandwidth-selection input[type="radio"]:checked + label:before {
  background: #157fec;
}


/* Base for label styling */

#ddosserverselect input[type="checkbox"]:not(:checked),
#ddosserverselect input[type="checkbox"]:checked {
  position: absolute;
  opacity: 0;
}

#ddosserverselect input[type="checkbox"]:not(:checked) + label,
#ddosserverselect input[type="checkbox"]:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}


/* checkbox aspect */

#ddosserverselect input[type="checkbox"]:not(:checked) + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5em;
  height: 1.5em;
  background: #232a2f;
  border-radius: 4px;
}

#ddosserverselect input[type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5em;
  height: 1.5em;
  background: #ffffff;
  border-radius: 4px;
}


/* checked mark aspect */

#ddosserverselect input[type="checkbox"]:not(:checked) + label:after,
#ddosserverselect input[type="checkbox"]:checked + label:after {
  content: '✔';
  position: absolute;
  top: .35em;
  left: .25em;
  font-size: 1.1rem;
  line-height: 0.8;
  color: #157fec;
  font-weight: bold;
  transition: all .2s;
}


/* checked mark aspect changes */

#ddosserverselect input[type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}

#ddosserverselect input[type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}


/* disabled checkbox */

#ddosserverselect input[type="checkbox"]:disabled:not(:checked) + label:before,
#ddosserverselect input[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

#ddosserverselect input[type="checkbox"]:disabled:checked + label:after {
  color: #999;
}

#ddosserverselect input[type="checkbox"]:disabled + label {
  color: #aaa;
}


/* accessibility */

#ddosserverselect input[type="checkbox"]:checked:focus + label:before {
  background: #ffffff;
}

#ddosserverselect input[type="checkbox"]:not(:checked):focus + label:before {
  background: #232a2f;
}

#ddosserverselect input[type="checkbox"]:not(:checked):hover + label:before {
  border: 2px solid #157fec !important;
}


fieldset {
    display: block;
    margin-inline-start: 2px;
    margin-inline-end: 2px;
    padding-block-start: 0.35em;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    padding-block-end: 0.625em;
    min-inline-size: min-content;
    
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}
fieldset {
    min-width: 0;
    padding: 0 23px 0;
    margin: 0;
    border: 0;
}

body.specialbody hr {
    width: 100%;
    border-bottom: 1px dashed #ddd;
    margin: 0 0 2rem 0;
    max-width: 100%;
}
hr {
    max-width: 75rem;
    height: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #cacaca;
    border-left: 0;
    margin: 1.25rem auto;
    clear: both;
}
hr {
    box-sizing: content-box;
    height: 0;
}
hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}
hr {
    height: 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

body.specialbody .content#subpage .body .filters {
    background: url(../images/white/boxed.png);
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    margin: 2rem 0;
    box-shadow: 0 1px 0 #ccc;
}