* {
  box-sizing: border-box;
  //transition: all ease-in-out 250ms;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
  color: black;
  background-color: white;
}

h4 {
  font-weight: bold;
  font-size: 25px;
  color: red;
  text-shadow: 1px 1px 5px black;
}

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

.container {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.container2 {
  z-index: 2;
  width: 100%;
  background: transparent;
}

.clearfix::after,
section::after {
  content: '';
  display: block;
  clear: both;
}

.endnote {
  margin:0;
  padding: 0;
}

.add-holder {
  width: 100%;
  min-height: 70vh;
  padding-top: 0px;
  z-index: 45;
  background: transparent;
}

.full-cover {
  width: 100%;
  margin-bottom: 50px;
  padding-top: 25px;
}

.half-cover {
  width: 49.5%;
  margin: 0 auto;
  display: inline-block;
  padding: 25px;
  vertical-align: top;
}

.half-cover-left {
  width: 35%;
  margin: 0 auto;
  display: inline-block;
  padding: 25px;
  vertical-align: top;
}

.half-cover-right {
  width: 64.5%;
  margin: 0 auto;
  display: inline-block;
  padding: 25px;
  vertical-align: top;
}

@media(min-width: 1200px) {
  .add-holder {
    width: 1200px;
    margin: 0 auto;
  }
}

/* typography
======================== */

h1 {
  font-weight: 300;
  font-size: 1.7rem;
  margin-top: 0;
  text-transform: uppercase;
}

p {
  margin-top: 0;
  line-height: 1.5;
}

p:last-of-type {
  margin-bottom: 0;
}

.unstyled-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

@media (min-width: 60rem) {
  p {
    font-size: 1.2rem;
    line-height: 1.6;
  }
}

/* buttons
========================
create buttons app include:
.button
.button-large
.button-small
.button-main
.button-accent
.button a...
+ all hover/focus effects
*/

.button {
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  border-width: 2px;
  border-style: solid;
  padding: 5px;
  width: 100px;
  margin-left: 0;
}

@media (min-width: 60rem) {
  .button {

  }
}

/* form elements
======================== */

input, select {
  width : 170px;
  height: 30px;
  margin: 3px;
  -webkit-box-sizing: border-box; /* For legacy WebKit based browsers */
     -moz-box-sizing: border-box; /* For legacy (Firefox <29) Gecko based browsers */
          box-sizing: border-box;
}
input:focus {
  border: none;
}
textarea {
  vertical-align: top;
  width: 170px;
}

/* code effect thanks to https://codepen.io/maheshambure21/pen/EozKKy */
.hold-3 {
  display: inline-block;
  margin: 3px;
  position: relative;
  width: auto;
}
/* necessary to give position: relative to parent. */
.effect-8 {
  border: 1px solid #ccc;
  padding: 2px 14px 2px;
  color : black;
  background: white;
  transition: 0.4s;
}
.effect-8 ~ .focus-border:before,
.effect-8 ~ .focus-border:after{content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background-color: #fedc23; transition: 0.3s;}
.effect-8 ~ .focus-border:after{top: auto; bottom: 0; left: auto; right: 0;}
.effect-8 ~ .focus-border i:before,
.effect-8 ~ .focus-border i:after{content: ""; position: absolute; top: 0; left: 0; width: 2px; height: 0; background-color: #fedc23;; transition: 0.4s;}
.effect-8 ~ .focus-border i:after{left: auto; right: 0; top: auto; bottom: 0;}
.effect-8:focus ~ .focus-border:before,
.effect-8:focus ~ .focus-border:after{width: 100%; transition: 0.3s;}
.effect-8:focus ~ .focus-border i:before,
.effect-8:focus ~ .focus-border i:after{height: 100%; transition: 0.4s;}

.effect-1 {
  border: 0;
  padding: 7px 0;
  color : #2C9BE0;
  background: #ABFCF9;
}
.effect-1 ~ .focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2C9BE0;
  transition: 0.4s;
}
.effect-1:focus ~ .focus-border {
  width: 100%;
  transition: 0.4s;
}
/* code effect thanks to https://codepen.io/maheshambure21/pen/EozKKy */



/*----------- TERMS PAGE -----------*/

.terms_head {
    margin: 25px auto;
    font-size: 15px;
    font-weight: 900;
    padding: 0 20px;
}

.terms_head2 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0;
    text-align: left;
    padding: 0 20px;
}

.terms_list {
    text-align:left;
    padding: 10px;
    list-style-type: disc;
    padding-left: 30px;
    margin: 0 20px;
}

.terms_p {
    text-align: left;
    font-size: 14px;
    padding: 20px;
}

@media (min-width: 1020px) {
  .terms_head {
    font-size: 22px;
  }

  .terms_head2 {
    font-size: 20px;
  }
}

/* contact-form
======================== */

.contact-form {
  padding: 2em 0 0 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-form input {
  width: auto;
}

.contact-us {
  background-color: rgba(0,0,0, 0.6);
  padding: 1em;
  margin-top: 2em;
  font-size: 1.2em;
  line-height: 1.4em;
}

.contact-us button {
  font-size: 1.2em;
}

@media (min-width: 60rem) {
  .contact-form {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2em;
  }

  .contact-form input {
    width: 20em;
  }

  .contact-us {
    width: 50%;
    float: right;
    margin-top: 5em;
  }
}

/* tables
======================== */
table {
  display: inline-block;
  margin: 0 auto;
  border-collapse: collapse;
  width: auto;
}

td, th {
  height: 40px;
  padding: 5px;
  border: 1px solid rgb(130, 202, 255);
}

th {
  font-weight: bold;
  color: BLACK;
}

.row4 td {
  width: 25%;
}

.row5 td {
  width: 20%;
}

.row6 td {
  width: 15%;
}

.sectioned {
  margin-bottom: 50px;
}

.small-dot-text{
  text-align: right;
  border-right: none;
}
.small-dot{
  border-left: none;
}
.small-dot input{
  width: 50px;
}

.campaigned td {
  min-width: 210px;
}

.campaigned2 td {
  min-width: 70px;
}

/*
#2C9BE0
#fedc23
*/

.main-search td {
  border: none;
  padding: 10px 20px;
  width: 100%;
  text-align: center;
}

.main-search select {
  border: 2px solid black;
  font-weight: 600;
}

.odd {
  background-color: #eaeaea;
}


/* campaign editor
======================== */
.ad-campaign-holder {
  width: 100%;
  margin: 0 auto;
  vertical-align: top;

  padding-left: 10px;
  text-align: left;
}

.ad-campaign-holder-solo {
  vertical-align: top;
  width: 49.5%;
  display: inline-block;
}

.ad-imgs {
  width: 33%;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.ad-imgs img {
  width: 100%;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.ad-desc {
  display: inline-block;
  width: 66%;
  text-align: center;
  vertical-align: top;

  text-align: left;
}

.campaign-img {
  width: 25%;
  float: right;
  margin: 0 70px 0 0;
  padding: 0;
}
.campaign-img img{
  width: 100%;
  display: inline-block;
  margin: 0;
  padding: 0;
}

/* products
======================== */

.products {
  padding-top: 2em;
}

.products h1 {
  color: black;
}

.products figure {
  padding: 3em;
  width: 100%;
}

@media (min-width: 35rem) {
  .products {
    padding-top: 5em;
  }

  .products figure {
    width: 50%;
    box-shadow: initial;
  }
}

@media (min-width: 60rem) {
  .products {
    padding-top: 5em;
  }

  .products figure {
    width: 25%;
    box-shadow: initial;

  }

  .products figure:hover,
  .products figure:focus {
    padding: 0em;
    margin-top: -3.5em;
  }

/*
  .products figure::after {
    content = '';
  }

  .products figure::before {
     content = '';
  }

  .products figure::after:hover,
  .products figure::after:focus {
    transform: rotateX(15deg);
    opacity: 50%
  }

  .products figure::before:hover,
  .products figure::before:focus {
    transform: rotateX(-15deg);
    opacity: 50%;
  }
*/
}

/* ----------AD DISPLAY SETTINGS--------------- */

#all-adz {
  text-align: center;
}

#all-adz h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: rgb(5,39,66);
}

.ag-bix {
  display: inline-block;
  padding: 0;
  width: 95%;
  text-align: center;
  margin: 20px auto;
  vertical-align: top;
}

.ag-bix-filler {
  display: inline-block;
  margin: 20px 0;
  padding: 0;
  width: 49%;
  height: 500px;
  text-align: center;
  vertical-align: middle;
  background: url(../images/flyerz-empty.jpg);
  background-size: cover;
  border-radius: 10px;
  line-height: 40px;
  padding-top: 120px;
  font-weight: 900;
}

.ag-bix h2 {
  font-weight: 900;
  color: #0b99dd;
  margin: 0;
}

.ag-bix-info {
  width: 95%;
  margin: -5px auto;
  padding: 0.5em;
  font-size: 12px;
  line-height: 5px;
  font-weight: 900;
  ibackground-color: rgba(0, 0, 0, 0.1);
  ibox-shadow: 4px 4px 4px rgba(0,0,0,0.4);
}

.ag-bix-info a {
  font-weight: initial;
  color: #0b99dd;
}

.ag-bix-info table {
  border: none;
  width: 100%;
  overflow: hidden;
}

.ag-bix-info td {
  height: 12px;
  text-align: left;
  border: none;
}

.ag-bix-info td:first-child {
  width: 120px;
}

 .ad-info-td2 {
   font-weight: initial;
 }

.ag-bix-info th {
  border:none;
  padding-top: 0;
  padding-bottom: 0;
  text-align: left;
  color: #90f1eb;
  margin: 0 auto;
  padding: 0;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 900;
  max-height: 100px;
  line-height: 30px;
}

.ag-bix img {
  width: 100%;
  margin: 0 auto;
}

.ad-button1 {
	font-size: 15px;
  font-weight: 600;
  color: rgb(5,39,66);
  cursor: pointer;
  background-color: white;
  width: 110px;
  border: 1px solid rgb(5,39,66);
  ibox-shadow: 2px 2px 2px black;
}

.ad-button2 {
	font-size: 15px;
  font-weight: 600;
  color: rgb(5,39,66);
  cursor: pointer;
  background-color: white;
  width: 230px;
  border: 1px solid rgb(5,39,66);
  ibox-shadow: 2px 2px 2px black;
}


@media (min-width: 1020px) {
  #all-adz {
    text-align: left;
  }

  .ag-bix {
    width: 47.5%;
    margin: 40px 1% 0px 1%;
  }

  .ag-bix-info {
    width: 70%;
  }

  .ag-bix-info table {
    width: auto;
    margin: 0 auto;
  }
}
