@import "bootstrap";

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

// vars

$primary: #272b35;
$white: #ffffff;
$secondary: #2cd1dd;
$tertiary: #efefef;
$text: #929292;
$footer: darken( $primary, 10% );

// Set up our basic colour scheme
$lightest: #e8e8e8;
$light:    white;
$default:  #f7f7f7;
$darker:   #efefef;
$darkest:  #161616;

// Accents
$accent:    $secondary;
// $accent_secondary:  black;

// Text colours
$title:    $primary;

/* GENRAL STYLES */

body {
	background-color: $tertiary;
	color: $text;
	//font-size: 1rem !important;
	padding: 0;
	
	* {
		font-family: 'Open Sans', sans-serif !important;
	}
	
}

h3 {
	margin-top: 15px;
	margin-bottom: 15px;
}

p {
	margin-top: 1rem;
}

//
// Notification Bar
//
.jquery-notify-bar {
  color: #fff;
  text-shadow: none;
  border: none;
  opacity: 1;
  box-shadow: none;
  font-size: 1rem;
  font-weight: normal;
  position: static;
  margin-top: 126px;
  //margin-bottom: -80px;
  padding: 10px;

  a, a:link, a:active, a:visited {
    color: white;
  }
}

.jquery-notify-bar.error,
.jquery-notify-bar.fail {
  background-color: #FF9800;
  color: white;
}

.jquery-notify-bar.success {
  color: white;
  background-color: #4CAF50;
}

input {
	outline: none !important;
	padding: 10px;
	background: $white !important;
	max-width: 100% !important;
}

input.text {
    width: 270px !important;
	border: 1px solid transparent !important;
  }

input.button {
	font-weight: normal;
	color: $white;
	padding: 10px 25px;
	margin-top: 15px !important;
	background: $secondary !important;
	border: none;
	text-transform: uppercase;
	border-radius: 0;
}

input.button:hover {
	background: darken($secondary, 10%) !important;
	border: none;
}


select {
	width: 150px;
	padding: 5px 35px 5px 10px;
	// font-size: 0.9em;
	border: none;
	border-radius: 0;
	height: 26px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	color: $text;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAeCAYAAADZ7LXbAAAACXBIWXMAAAsTAAAL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+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAKRJREFUeNrs1TEKwkAQheEvIoI2nsk7qFdIq1hoJ3gCC5sUVpY23sDKXnvrYOUBbGITG0kQjQriPlgYhmF/3ryFjbIs82nVfEEBEiAB8k+Q+q1IkqSDNVq4lMy3scIkjuP0FSdbjNHMLys6OwyQVlnXEsOS2QP6OL8jkzlmd70jus86eBT8FIu8PqGXg6oFX6ARGthgX+V1ReFnDJAACZAfhFwHAJI7HF2lZGQaAAAAAElFTkSuQmCC) 96% / 15% no-repeat $white;
	margin: 5px 10px;
  transition: 0.4s all;
  outline: none;
}

select:hover {
  	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAeCAYAAADZ7LXbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGA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GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAKRJREFUeNrs1TEKwkAQheEvIoI2nsk7qFdIq1hoJ3gCC5sUVpY23sDKXnvrYOUBbGITG0kQjQriPlgYhmF/3ryFjbIs82nVfEEBEiAB8k+Q+q1IkqSDNVq4lMy3scIkjuP0FSdbjNHMLys6OwyQVlnXEsOS2QP6OL8jkzlmd70jus86eBT8FIu8PqGXg6oFX6ARGthgX+V1ReFnDJAACZAfhFwHAJI7HF2lZGQaAAAAAElFTkSuQmCC) 96% / 15% no-repeat $white;
}


// 
// Login page
// 
.login {
	
	.site-header {
		display: none;
	}
  #wrap {
    margin: auto;
	  min-height: calc(100vh - 100px);
  }

  label {
    font-size: 1em;
    font-weight: 600;
	}

  img {
    width: 150px;
    margin: 30px auto;
    display: flex;
  }

  input.text {
    width: 100% !important;
  }

  input.button {
    font-weight: normal;
    padding: 10px 25px;
    margin-top: 15px !important;
    background: $secondary !important;
    }

  input.button:hover {
    background: darken($secondary, 10%) !important;
  }

  .error {
    padding: 10px;
    background: $primary;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: center;
  }
}

/* HEADER */

.site-header {
	background: $primary;
	z-index: 9;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: grid;
	z-index: 11;
	grid-template-columns: auto 1fr;
	align-items: center;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 20px;
	padding-right: 20px;
	height: 60px;
	.air66-logo-wrap {
		text-align: right;
	}
	
	.air66-logo {
		width: 100px;
		max-width: 100%;
	}
}

.form-wrap {
	position: fixed;
	top: 60px;
	left: 0;
	width: 100%;
	z-index: 8;
	background: lighten($primary, 10%);
	padding: 5px 20px;
	
	#new_url_form {
		display: flex;
		flex-flow: row wrap;
		align-items: center;
		justify-content: center;
		
		label {
			margin: 5px 10px 5px 0;
			color: white;
		}
		
		input {
			vertical-align: middle;
			margin: 5px 10px 5px 0;
			border-radius: 0;
			//width: 250px;
		}
		
		#add-button {
			padding: 10px 20px;
		  	background-color: $secondary !important;
			text-transform: uppercase;
			outline: none !important;
		  	border: none;
		  	color: white;
			border-radius: 0;
		  	cursor: pointer;
			
			&:hover, &:active, &:focus {
				background-color: darken($secondary, 10%);
			}
		}
	}
	
	.button {
		margin-top: 0 !important;
	}
}


/* MENU ICON */
#menu-icon {
  width: 34px; // 60px
  height: 27px; // 40px
  position: relative;
  //margin: 50px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#menu-icon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: $white;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#menu-icon span:nth-child(1) {
  top: 0px;
}

#menu-icon span:nth-child(2),#menu-icon span:nth-child(3) {
  top: 11px;
}

#menu-icon span:nth-child(4) {
  top: 22px;
}

#menu-icon.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#menu-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#menu-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#menu-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}


/* PAGE STYLES */

header[role=banner] {
	display: none;
}

#wrap {
	background: none;
	padding-top: 70px;
    //margin-left: 270px;
    border: none;
    max-width: 100%;
	 min-height: calc(100vh - 100px);
}

.index #wrap {
	padding-top: 126px;
}

#new_url {
	display: none;
}

.notice {
  width: calc(100% - 22px);
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: $accent;
  border: 1px solid $accent;
  padding: 10px;

  p {
    color: white;
  }
}

#shareboxes {
  margin-top: -10px;
}

#sharebox {
  width: auto;
  margin-right: 0px;
}

#copybox {
	width: auto;
}

div.share {
  background: $default;
  border-radius: 0;
  border: none;
  padding: 0px 20px 10px;
  margin-top: 10px;
	min-height: 170px;
	height: auto;
	
	input {
		width: 100% !important;
	}

  textarea {
    background: $light;
    color: $text;
    border: none;
    padding: 3px;
    outline: none;
    margin: 1px !important;
	  box-sizing: border-box;
	  max-width: 100% !important;
  }

  #charcount {
    padding-left: 5px;
    color: $text;
  }

  #share_links a {
    color: $text;
  }
}

.tab-scroll {
	display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
	width: 100%;
	background: $white;
}

#stat_tab_stats, #stat_tab_location, #stat_tab_sources, #stat_tab_share {
	flex: 0 0 auto;
    
}


/* NAVIGATION */


nav {
    background: $primary;
	color: $white;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
	transform: translateX(-100%);
    padding: 90px 30px;
    width: 280px;
	max-width: 85%;
    z-index: 10;
	transition: all 0.4s ease-in-out;
	
	&.nav-open {
		transform: translateX(0%);
		box-shadow: 5px 0px 12px 0px rgba($primary, 0.6);
	}
	
	a, a:link, a:active, a:visited {
		color: $white;
		text-decoration: none;
		font-size: 1rem;
		transition: 0.4s all ease-in-out;
	}
}

nav a:active:hover, nav a:hover, nav a:link:hover, nav a:visited:hover {
    color: $secondary !important;
}

ul#admin_menu li {
    color: $white;
	font-size: 1rem;
    padding: 1px 0;
}

ul#admin_menu li:hover {
    list-style-type: none;
    color: $white;
}

.nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba($primary, 0.4);
	z-index: 9;
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s ease-in-out;
	
	&.nav-open {
		visibility: visible;
		opacity: 1;
	}
}

//
// Information
// 
.infos {
  #tabs {
    //min-width: 580px;
	  max-width: 100%;

    .tab {
      background: $light !important;
    }

    .wrap_unfloat {
      margin-bottom: -10px;
    }

    ul#headers {
      border: none;
      padding: 0px;
		display: flex !important;
		flex-wrap: wrap;
    }

    li {
      color: $text;
    }

    #historical_clicks li:hover {
      background: #5f5f5f !important;
    }

    ul#headers li a,
    #stats_lines li a {
      outline: none;
      border: none;
      border-radius: 0;
      background: $light;
      color: $text;
      padding: 10px 15px 7px 25px;
	display: inline-block;
	margin-top: 5px;
    margin-bottom: 5px;

      &:hover {
        background: darken($default, 10%);
      }

      h2 {
        font-weight: 400;
        font-size: 1em;
      }

      &.selected {
        background: $lightest;
        border-bottom: 2px solid $accent;

        &:hover {
          background: darken($default, 15%);
        }
      }
    }

    #stats_lines li a {
      padding: 7px 15px;
    }

    ul.toggle_display {
      border: none;
    }

    svg {
      ellipse {
        fill: $accent;
      }
    }
  }
}


// TABLE

  table.tblSorter {
    background-color: $default;
    color: $text;

    a {
      color: $text;
    }

    small a {
      color: darken($white, 50%)
    }

    thead tr .tablesorter-header {
      padding: 10px;
    }

    tfoot tr {
      background-color: $default;
    }

    thead tr th,
    tfoot tr th,
    th.header {
      background-color: transparent;
      border: none;
      /* font-size: 8pt; */
      padding: 4px;
    }

    thead tr .tablesorter-headerAsc,
    thead tr .tablesorter-headerDesc {
      background-color: $lightest !important;
    }

    tbody td {
      color: $text;
      padding: 5px;
      background-color: $light;
      vertical-align: middle;
      transition: 0.4s all;
    }

    tbody tr:hover td {
      background-color: $lightest !important;
    }

    tbody tr.normal-row td {
      background: $light;
    }

    .keyword {
      border-left: 8px solid $accent;
    }

    input.text {
      padding: 5px;
      margin: 8px 5px !important;
    }

    .navigation .nav_link a {
        background: $light;
        border: none;

        &:hover {
          background: $lightest;
        }
    }

    tr.edit-row td {
      background: $default !important;
    }
	  
	  td.actions .button {
		  margin-top: 5px;
	  }
	  
	// Icons
    $icons-list: stats, share, edit, delete;
    @each $icon in $icons-list {
      @if $icon == delete {
        td.actions .button_#{$icon} { 
          background: red url(images/#{$icon}.png) 0px center no-repeat;
          background-size: 23px;
          background-position: center;
          border: none;
          padding: 3px;
          border-radius: 2px;
			visibility: visible;

          &:hover { 
            background: darken(red, 10%) url(images/#{$icon}.png) 0px center no-repeat;
            background-size: 23px;
            background-position: center;
          }
        }
      } @else {
        td.actions .button_#{$icon} { 
          background: $secondary url(images/#{$icon}.png) 0px center no-repeat;
          background-size: 23px;
          background-position: center;
          border: none;
          padding: 3px;
          border-radius: 2px;
			visibility: visible;

          &:hover { 
            background: darken($secondary, 10%) url(images/#{$icon}.png) 0px center no-repeat;
            background-size: 23px;
            background-position: center;
          }
        }
      }
    }
}

// calander

.close {
	font-size: 1rem;
}



// 
// Footer
// 

#footer {
  bottom: 0;
  //width: 230px;
  color: #828282;
	font-size: 0.8rem;
  padding: 10px;
  text-align: right;

  p {
  background: none;
  border: none;
	  max-width: 100%;
  font-size: 1em;

    a {
      background: none;
      padding-left: 0;
      color: $text;

      &:hover {
        color: #828282;
      }
    }
  }
}

/* OTHER TIDY UPS */

// hide help page

#admin_menu_help_link {
	display: none;
}

/* MEDIA QUERIES */

@media (max-width: 800px) {
	
	.index #wrap {
		padding-top: 70px;
	}
	
	.form-wrap {
		
		position: relative;
	
	  #new_url_form input {
		margin: 10px 0;
		  width: 100% !important;
	  }

	  #new_url_form {
		flex-direction: column;
		align-items: stretch;
	  }
	}
}

    
