* {
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: 'union';
  src: url('fonts/webfontkit-20200220-165208/ddchardware-regular-webfont.eot');
  src: url('fonts/webfontkit-20200220-165208/ddchardware-regular-webfont.eot?#iefix')
      format('embedded-opentype'),
    url('fonts/webfontkit-20200220-165208/ddchardware-regular-webfont.woff')
      format('woff'),
    url('fonts/webfontkit-20200220-165208/ddchardware-regular-webfont.ttf')
      format('truetype'),
    url('fonts/webfontkit-20200220-165208/ddchardware-regular-webfont.svg#webfont')
      format('svg');
}

html {
  padding-top: 35px;
  font-size: 1em;
  height: 100%;
}

body {
  width: 100%;
  color: #222;
  padding-top: 35px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: union, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

footer {
  width: 100%;
  background-color: #0b5394;
  padding: 3% 3% 0% 3%;
  color: #fff;
  margin-top: auto;
}

a {
  color: #0b5394;
}

.fab {
  padding: 15px;
  font-size: 55px;
  color: #fff;
}

.table_buttons {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}
/*  text-shadow: 1px 1px 10px #000 */

/*
.fa-facebook {
  color: #4267B2;
}

.fa-twitter {
  color: #38A1F3;
}

.fa-youtube {
  color: #ED3833;
}
*/

div.dataTables_wrapper {
  margin-bottom: 3em;
}

/* #layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  grid-gap: 4em;
  align-self: end;
  justify-self: center;
} */

/* .storage_item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    '   img       img'
    'delete_btn copy_btn';
  grid-row-gap: 0.5em;
  justify-items: center;
  align-items: end;
} */

/* #storage_img {
  grid-area: img;
} */

/* #delete_btn {
  grid-area: delete_btn;
} */

/* #copy_btn {
  grid-area: copy_btn;
} */

.pos_btn {
  border-radius: 50%;
  color: #fff;
  height: 25px;
  width: 25px;
}

#upBtn {
  text-align: center;
}

#upBtn > a {
  text-align: center;
}

#downBtn {
  text-align: center;
}

.fas {
  width: 15px;
}

.alert {
  padding: 12px;
  border-radius: 3px;
  font-size: 1.2rem;
  border-width: 2px;
  border-style: solid;
  margin-bottom: 0rem !important;
}

.alert-error {
  border-color: darkred;
  background-color: red;
  color: white;
}

.alert-info {
  border-color: orange;
  background-color: yellow;
  color: black;
}

.page-container {
  min-height: 100%;
}

.navbar {
  font-family: union, sans-serif;
  background-color: #0b5394;
  font-size: 1.2em;
}

.navbar-brand {
  font-size: 40px;
  padding: 0;
  margin-top: 0;
  color: #fff;
  /*  color: #f7992c !important;
  text-shadow: 1px 1px 5px #333; */
}

.navbar-default .navbar-nav li a {
  color: #fff;
  text-decoration: none;
}

/*
.navbar-default .navbar-nav li a {
  color: #F7992C;
  text-shadow: 1px 1px 5px #333
}
*/
/*
.navbar-default .navbar-nav li a:hover {
  text-decoration: none;
  color: #F1C232;
}
*/
/*
.navbar-default .navbar-nav li.active a {
  text-shadow: 1px 1px 10px #000;
}
*/
.content {
  flex: 1 0 auto;
}

.content-section {
  padding-top: 1rem;
}

h2.entry-title {
  font-weight: 400;
}

.entry-title a {
  color: #0b5394;
  text-decoration: none;
}

.banner {
  object-fit: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

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

.welcome {
  width: 100%;
  margin: 0 auto;
  padding-top: 2rem;
}

.article-header {
  color: #0b5394;
}

.article-margin {
  margin-top: 2rem;
}

.contact-margin {
  margin-top: 1rem;
}

.contact-padding {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.article-image {
  width: 100%;
  padding-right: 25px;
}

.article-padding {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.padding-small {
  padding-bottom: 0.5rem;
}

.padding {
  padding-bottom: 2rem;
}

.padding-medium {
  padding-bottom: 6rem;
}

.padding-large {
  padding-bottom: 8rem;
}

.meta-entry {
  margin-bottom: 0;
  color: #777;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
  background-color: #0b5394;
  border-color: #0b5394;
}

.btn-warning,
.btn-warning:hover,
.btn-warning:active,
.btn-warning:visited,
.btn-warning:focus {
  color: #0b5394;
  background-color: #f7992c;
  border-color: #f7992c;
}

.btn-white,
.btn-white:hover,
.btn-white:active,
.btn-white:visited,
.btn-white:focus {
  color: #0b5394;
  background-color: #fff;
  border-color: #fff;
}

.page-item.active .page-link {
  background-color: #0b5394 !important;
}

.logo-button {
  padding-top: 1.75rem;
  padding-left: 4.5rem;
}

.cupw-logo {
  width: 300px;
}

.padding-top-medium {
  padding-top: 4rem;
}

/*
.cupw-logo-shadow { 
  width: 250px;
  -webkit-filter: drop-shadow(5px 5px 5px #666666);
  filter: drop-shadow(5px 5px 5px #666666);
} 
*/

.newsletter-padding {
  padding-bottom: 2rem;
}

.carousel-item {
  width: 100%;
  height: 100%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: #fc450d;
  border-radius: 50%;
  top: calc(50% - 2rem);
  opacity: 0.7;
}

.carousel-control-prev {
  left: 5%;
}

.carousel-control-next {
  right: 5%;
}

.cupwNational {
  padding-right: 70px;
}

.candidate {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  grid-template-areas: 'video';
}

.candidate > video {
  grid-area: video;
  justify-self: center;
  align-self: center;
  max-width: 100%;
  height: auto;
  margin: 5rem;
}

p > iframe {
  justify-self: center;
  align-self: center;
  max-width: 100%;
  max-height: 100%;
  top: 0;
  left: 0;
  width: 798px;
  height: 399px;
}

@media (max-width: 1200px) {
  aside {
    margin: auto;
    width: 90%;
    float: none;
  }
}

@media (min-width: 1200px) {
  .cupwNational {
    padding-right: 20px;
  }
}

/* md -> lg */
@media (min-width: 992px) {
  button.hidden-large {
    display: none;
  }

  .content-section {
    padding-top: 4rem;
  }

  button.cupwNational {
    float: right !important;
  }
}

/* md <- lg */
@media (max-width: 991px) {
  #layout {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    grid-gap: 4em;
    align-self: end;
    justify-self: center;
  }

  button.hidden-small {
    display: none;
  }

  .cupwNational {
    text-align: center !important;
    padding: 0px;
  }
  button.cupwNational {
    float: center !important;
  }
}

/* lg -> md transition */
@media (max-width: 767px) {
}

@media (min-width: 767px) {
}
