:root,p,span,li {
  font-family: Segoe UI,Tahoma,Verdana,Arial,Helvetica,sans-serif !important;
  font-size: 11pt !important;
  line-height: 140%;
}

body {
  margin: 0;
  background: url("bkg.png") center repeat-y;
  background-size: 100% auto;
  background-attachment: fixed;
}

a {
  color: black;
}

a:visited {
  color: black;
}

a:hover {
  color: #E60068;
}

.title>span {
  font-size: 20pt !important;
}

h1,.title {
  margin: 0 0 24px 0 !important;
  font-size: 20pt !important;
}

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

#nav {
  font-size: 13pt;  
  font-weight: bold;
  background-color: #F8F8F8;
}

.topnav,.subnav,.nav {
  margin-bottom: 10px;
}

.topnav>a {
  text-decoration: none;
}

.topnav>a:hover {
  text-decoration: underline;
}

.subnav>.nav>.active {
  margin-left: 12px;
  margin-top: -8px;
  font-weight: normal;
}

#search {
  background-color: white;
  margin-right: 12px;
}

#content {
  background-color: white;
}

#narrow {
  display: table;
  width: 100%;
}

#logocontainer,#headersearchcontainer {
  display: table-cell;
}

#headersearchcontainer {
  vertical-align: top;
}

#logocontainer {
  vertical-align: middle;
}

#logo {
  text-align: center;
  padding: 12px 12px 0 12px;
}

#logoimage {
  max-height: 160px;
}

#header {
  text-align: right;
  margin-right: 16px;
  padding: 12px;
}

#copyright {
  margin-top: 24px;
}

.ad {
  _display: none;
  max-width: 869px;
}

#ad1 {
  margin-bottom: 24px;
}

#ad2 {
  margin-top: 24px;
}

.cp {
  padding: 12px 16px 16px 16px;
}

.gsc-control-cse {
  border: 0 !important;
  padding: 2px !important;
}

.gsc-search-box {
  margin: 0 !important;
}

.gsc-search-button,.gsc-search-button-v2 {
  margin: 0 !important;
}

.gsc-input {
  padding: 0 !important;
}

@media screen and (min-width: 1024px)
{

  #narrow {
    display: none;
  }

  #columns {
    display: table;
    width: 100%;
    max-width: 1280px;
    margin: auto;
  }

  #columnleft,#columnright {
    vertical-align: top;
    display: table-cell;
  }

  #columnleft {
    min-width: 350px;
    width: 350px;
  }

  #content,#search,#nav {
    box-shadow: 0 0 20px black;
  }

  #nav {
    background-color: white;
  }

  #nav,#search {
    margin: 12px;
  }

  #content {
    margin-right: 12px;
    margin-bottom: 12px;
  }

  #logoimage {
    max-height: initial;
  }

}