/*
Theme Name: psmALS
Description: This theme was coded for American Language School
Author: PierwszaStronaMedalu.pl
Author URI: http://pierwszastronamedalu.pl/
*/

/* -------------------------------------------------------------- 
	 Reset
-------------------------------------------------------------- */

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
dialog,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
meter,
nav,
object,
ol,
output,
p,
pre,
progress,
q,
rp,
rt,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video,
xmp {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 100%;
}
html,
body {
  height: 100%;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
b,
strong {
  font-weight: bold;
}
img {
  color: transparent;
  font-size: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}
li {
  display: list-item;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th,
td,
caption {
  font-weight: normal;
  vertical-align: top;
  text-align: left;
}
q {
  quotes: none;
}
q:before,
q:after {
  content: '';
  content: none;
}
sub,
sup,
small {
  font-size: 75%;
}
sub,
sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
svg {
  overflow: hidden;
}
.wrapper {
  width: 100%;
}
.inner {
  max-width: 966px;
  margin: 0 auto;
  position: relative;
}
.clear {
  clear: both;
}
.clearfix:after {
  content: '';
  display: block;
  clear: both;
}
.no-select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.text-center, .text-center * {
  text-align: center !important;
}
/* ustawienia do grafik w contencie */

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  display: block;
  float: left;
}
.alignright {
  display: block;
  float: right;
}
@font-face {
  font-family: 'chunkfive_exregular';
  src: url('./fonts/chunkfive_ex-webfont.eot');
  src: url('./fonts/chunkfive_ex-webfont.eot?#iefix') format('embedded-opentype'), url('./fonts/chunkfive_ex-webfont.woff') format('woff'), url('./fonts/chunkfive_ex-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* -------------------------------------------------------------- 
	 Typography
-------------------------------------------------------------- */

body {
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  color: #777777;
  line-height: 180%;
  /*font-family: 'Sanchez', serif;*/

}
label {
  font-size: 16px;
}
ul,
ol {
  margin: 0 0 10px 0;
}
ul {
  padding: 0;
  list-style-type: disc;
  padding: 0 0 0 17px;
}
ol {
  padding: 0 0 0 17px;
}
.body ul,
.body ol {
  margin-left: 20px;
}
.nav ul,
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
p {
  margin: 0 0 20px 0;
}
/* Headings
-------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 10px 0 0 0;
  padding: 0;
  font-weight: normal;
  font-style: normal;
  line-height: 120%;
}
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  color: #2a3a53;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 16px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 12px;
}
/* Text elements
-------------------------------------------------------------- */

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #5fa2e7;
  /*text-decoration:underline;*/

}
a:visited {
  color: inherit;
  text-decoration: none;
}
.content a:hover {
  color: #5fa2e7 !important;
}
select,
textarea,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"] {
  zoom: 1;
  margin: 0 0 10px 0;
  border: 1px solid #ededed;
  padding: 0 2%;
  font-family: 'Titillium Web', sans-serif;
  font-size: 14px;
  line-height: 26px;
  color: #949494;
  display: block;
  box-sizing: border-box;
  width: 100%;
}
input[type='submit'] {
  height: 33px;
  border: 0;
  line-height: 33px;
  background: url('./images/bg-button.png') repeat-x scroll 0 0 transparent;
  color: white;
  padding: 0 25px 0 25px;
  cursor: pointer;
  border-radius: 17px;
  position: relative;
  margin: 0 0 10px 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
input[type='submit']:hover {
  -moz-transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
  -webkit-transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
  -o-transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
  -ms-transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
  transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
}
textarea {
  height: auto;
}
input[type="email"]:hover,
input[type="email"]:active,
input[type="email"]:focus,
input[type="number"]:hover,
input[type="number"]:active,
input[type="number"]:focus,
input[type="password"]:hover,
input[type="password"]:active,
input[type="password"]:focus,
input[type="text"]:hover,
input[type="text"]:active,
input[type="text"]:focus,
select:hover,
select:active,
select:focus,
textarea:hover,
textarea:active,
textarea:focus {
  border: 1px solid #5fa2e7;
  outline: none;
}
a.button,
a.sign-button {
  display: inline-block;
  height: 33px;
  line-height: 33px;
  background: url('./images/bg-button.png') repeat-x scroll 0 0 transparent;
  color: white !important;
  padding: 0 25px 0 38px;
  border-radius: 17px;
  position: relative;
}
a.button:hover,
a.sign-button:hover {
  color: white !important;
  opacity: 0.7;
}
a.button:before,
a.sign-button:before {
  content: '';
  display: block;
  height: 33px;
  width: 25px;
  top: 0;
  left: 5px;
  position: absolute;
  background: url('./images/bg-arrow_left.png') no-repeat scroll 0 50% transparent;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
main .body table {
  width: 100%;
}
/* TemplateStylesheet
-------------------------------------------------------------- */

.menu-bg {
  background: #314360;
  background: -moz-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(49%, #314360), color-stop(51%, #2a3a53), color-stop(51%, #2a3a53));
  background: -webkit-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -o-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -ms-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: linear-gradient(to bottom, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#314360', endColorstr='#2a3a53', GradientType=0);
}
.red-bg {
  background: #ce2b4c !important;
  background: -moz-linear-gradient(top, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(49%, #ce2b4c), color-stop(51%, #bb082f), color-stop(51%, #bb082f)) !important;
  background: -webkit-linear-gradient(top, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  background: -o-linear-gradient(top, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  background: -ms-linear-gradient(top, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  background: linear-gradient(to bottom, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce2b4c', endColorstr='#bb082f', GradientType=0) !important;
}
i.icon {
  display: inline-block;
  *display: inline;
  zoom: 1;
  vertical-align: text-top;
}
header {
  padding: 0px 0 11px 0;
}
header .logo {
  display: block;
  margin: 10px 0px 0 0px;
  float: left;
}
header nav {
  float: right;
  margin: 14px 0 0 0;
  line-height: 48px;
}
header nav div > ul {
  background: #314360;
  background: -moz-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(49%, #314360), color-stop(51%, #2a3a53), color-stop(51%, #2a3a53));
  background: -webkit-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -o-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -ms-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: linear-gradient(to bottom, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#314360', endColorstr='#2a3a53', GradientType=0);
  border-bottom: 4px solid #7ebbf3;
}
header nav div > ul > li {
  float: left;
  position: relative;
  margin: 0 7px;
}
header nav div > ul > li > a {
  display: block;
  line-height: 48px;
  color: #5ea0e5 !important;
  font-family: 'Sanchez', serif;
  font-size: 14px;
  padding: 0 14px 0 14px;
}
header nav div > ul > li.current-menu-item > a,
header nav div > ul > li:hover > a {
  position: relative;
  background: url('./images/bg-menu_hover.png') no-repeat scroll 0 0 transparent;
  background-size: 100% 100%;
  color: white !important;
}
header nav div > ul > li.current-menu-parent > a {
  color: white !important;
  position: relative;
  background: url('./images/bg-menu_hover.png') no-repeat scroll 0 0 transparent;
  background-size: 100% 100%;
}
header nav div > ul > li li.current-menu-item > a {
  font-weight: 700 !important;
}
header nav div > ul > li:hover .sub-menu {
  display: block;
}
header nav div > ul .sub-menu {
  display: none;
  position: absolute;
  z-index: 1001;
  background: #7ebbf3;
  color: white;
  top: 100%;
  left: 0px;
  padding: 0 0 0 0;
  text-align: left;
}
header nav div > ul .sub-menu li {
  background: none;
  padding: 0 !important;
  float: none;
  height: auto;
  white-space: nowrap;
}
header nav div > ul .sub-menu li a {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 32px;
  padding: 0px 20px 0px 20px;
  font-size: 15px;
  color: white !important;
}
header nav div > ul .sub-menu li a:hover {
  background: white;
  color: #7ebbf3 !important;
}
header nav ul:after {
  content: "";
  display: block;
  clear: both !important;
}
.slider-wrapper {
  background: url('./images/bg-slider.png') repeat-y scroll center 0 transparent;
  margin: 6px 0 0px 0;
  height: 320px;
}
.slider-wrapper .inner {
  position: relative;
  top: -7px;
}
.slider-wrapper .inner .da-bg {
  position: relative;
  z-index: 1;
}
.boxes {
  margin: 20px 0 20px 0;
}
.boxes .box {
  width: 18%;
  padding: 0 1%;
  float: left;
  min-height: 55px;
  color: white;
  text-align: center;
  font-family: 'Sanchez', serif;
  position: relative;
  padding-bottom: 0px !important;
  padding-top: 10px;
}
.boxes .box h2 {
  font-size: 18px;
  margin: 0;
  display: block;
  border-bottom: none !important;
  color: white !important;
}
.boxes .box h2 a {
  line-height: 20px;
  min-height: 40px;
  display: block;
  padding: 18px 10px 18px 10px;
}
.boxes .box h2 a:hover {
  color: white !important;
}
.boxes .box p {
  line-height: 17px;
  color: #a2c2f3;
  margin: 6px 0;
}
.boxes .box .read-more {
  position: relative;
  display: block;
  width: 70px;
  height: 48px;
  padding: 22px 0 0 0;
  background: url('./images/bg-circle.png') no-repeat scroll 0 0 transparent;
  margin-bottom: -35px;
  left: 50%;
  margin-left: -35px;
  line-height: 18px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: white !important;
  cursor: pointer;
}
.boxes .box .subform {
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  max-height: 0;
  overflow: hidden;
}
.boxes .box input[type="submit"] {
  margin-top: 10px !important;
}
.boxes3 .box {
  width: 31% !important;
  padding-left: 1% !important;
  padding-right: 1% !important;
  min-height: 0 !important;
}
.boxes3 .box h2 {
  min-height: 0 !important;
  border-bottom: none !important;
}
.boxes3 .box .read-more {
  padding-top: 12px !important;
  padding-bottom: 8px !important;
}
.boxes2 .box {
  width: 46% !important;
  padding-left: 2% !important;
  padding-right: 2% !important;
  min-height: 0 !important;
}
.boxes2 .box h2 {
  min-height: 0 !important;
  border-bottom: none !important;
}
.boxes2 .box .read-more {
  padding-top: 12px !important;
  padding-bottom: 8px !important;
}
.box.expanded .subform {
  max-height: 3000px !important;
}
.box.expanded a {
  color: #a9dbff;
  text-decoration: underline;
}
.boxes .box i.icon-arrow_b {
  background: url('./images/icon-arrow_down.png') no-repeat scroll 0 0 transparent;
  width: 10px;
  height: 7px;
}
.box:nth-child(1) {
  background: #2a3a53;
}
.box:nth-child(2) {
  background: #354968;
}
.box:nth-child(3) {
  background: #445d84;
}
.box:nth-child(4) {
  background: #4f6b96;
}
.box:nth-child(5) {
  background: #788eaf;
}
.footer {
  border-top: 2px solid #ededed;
  padding: 0 0 20px 0;
  margin-top: 30px;
}
.footer p {
  line-height: 64px;
  font-size: 10px;
  margin: 16px 0;
}
.page {
  padding: 30px 0;
}
.page aside {
  width: 22%;
  float: right;
}
.page aside .top {
  background: #5fa2e7;
  color: white;
  font-size: 18px;
  padding: 2px 0 2px 20px;
  margin: 0 0 10px 0;
}
.page aside img {
  max-width: 100%;
}
.page aside .widget-box > div {
  border: 1px solid #314360;
  padding: 5px;
  border-radius: 5px;
}
.page aside .widget {
  margin-bottom: 35px;
}
.page aside .widget ul {
  list-style-type: none;
  padding: 0 !important;
}
.page aside .widget ul li {
  border-bottom: 1px solid #ededed;
  position: relative;
  font-weight: 700;
  border-radius: 5px;
  margin: 5px 0px 10px 0;
  font-size: 15px;
  background: #314360;
  background: -moz-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(49%, #314360), color-stop(51%, #2a3a53), color-stop(51%, #2a3a53));
  background: -webkit-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -o-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -ms-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: linear-gradient(to bottom, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#314360', endColorstr='#2a3a53', GradientType=0);
  box-shadow: 1px 1px 1px 1px;
}
.page aside .widget ul li a {
  display: block;
  padding: 5px 10px 5px 39px;
  background: url('./images/icon-arrow-left.png') no-repeat scroll 22px center;
  color: white;
  line-height: 25px;
  font-family: 'Sanchez', serif;
}
.page aside .widget ul li a:hover {
  color: #5ea0e5;
}
.page aside .widget ul li.redbg {
  background: #ce2b4c !important;
  background: -moz-linear-gradient(top, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(49%, #ce2b4c), color-stop(51%, #bb082f), color-stop(51%, #bb082f)) !important;
  background: -webkit-linear-gradient(top, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  background: -o-linear-gradient(top, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  background: -ms-linear-gradient(top, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  background: linear-gradient(to bottom, #ce2b4c 49%, #bb082f 51%, #bb082f 51%) !important;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce2b4c', endColorstr='#bb082f', GradientType=0) !important;
}
.page aside .widget ul li.redbg a:hover {
  color: white !important;
  opacity: 0.6;
}
.page aside .textwidget p {
  padding: 0 !important;
  margin: 0 !important;
}
.page main {
  float: left;
  width: 75%;
}
.page main article {
  margin: 0 0 25px 0;
}
.page main.content-full {
  width: 100% !important;
}
.page h1.page-title {
  font-size: 26px;
  color: #2a3a53;
  font-family: 'Sanchez', serif;
  padding: 0 0 20px 0 !important;
  margin: 0px 0 20px;
  text-align: center;
  font-weight: 700;
  padding: 0 0px;
  position: relative;
}
.page h1.page-title:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 6px;
  left: 50%;
  margin-left: -30px;
  background: #5fa2e7;
}
.content ul {
  list-style-type: none;
  margin-left: 0px;
}
.content ul li {
  background: url("./images/bg-ul.png") 0px 3px no-repeat;
  padding: 0 0 0 25px;
  margin: 10px 0;
}
.content img.alignleft {
  margin: 0 15px 0px 0;
}
.border {
  height: 2px;
  background: #ededed;
}
.header .sub-menu .current-page-item a {
  color: #314360 !important;
}
#psmmap {
  width: 100%;
  height: 300px;
}
.half {
  float: left;
  width: 48%;
  padding: 0 1%;
}
table td {
  border: 1px solid #777777;
  padding: 0 5px;
}
table input {
  margin-top: 20px !important;
}
.test h3 {
  margin: 40px 0 0 0;
}
.test textarea {
  width: 100%;
  height: 100px;
  font-size: 16px;
  background: #f5f9fc;
  margin: 5px 0;
}
.test input[type="text"] {
  background: #f5f9fc;
}
.content {
  min-height: 400px;
}
#test-submit:disabled {
  opacity: 0.4;
  filter: alpha(opacity=40);
  cursor: default;
}
.wpcf7-list-item {
  display: block;
  font-size: 13px;
  line-height: 100%;
}
hr {
  width: 100%;
  height: 1px;
  border-bottom: 1px solid #ededed;
}
.terminmiejsce {
  height: 90px;
}
.hiddendiv {
  display: none;
}
.fwta {
  width: 100% !important;
  height: 100px !important;
}
div.wpcf7-mail-sent-ok {
  border: 2px solid #5fa2e7 !important;
}

.boxes-alt ul {
  list-style-type: none;
  padding: 20px 0 0 0;
  margin: 0;
}

.boxes-alt ul li {
  border-bottom: 1px solid #ededed;
  max-width: 300px;
  position: relative;
  font-weight: 700;
  border-radius: 5px;
  margin: 5px auto 10px auto;
  font-size: 15px;
  background: #314360;
  background: -moz-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(49%, #314360), color-stop(51%, #2a3a53), color-stop(51%, #2a3a53));
  background: -webkit-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -o-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: -ms-linear-gradient(top, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  background: linear-gradient(to bottom, #314360 49%, #2a3a53 51%, #2a3a53 51%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#314360', endColorstr='#2a3a53', GradientType=0);
  box-shadow: 1px 1px 1px 1px;
}
.boxes-alt ul li a {
  display: block;
  padding: 5px 10px 5px 39px;
  background: url('./images/icon-arrow-left.png') no-repeat scroll 22px center;
  color: white;
  line-height: 25px;
  font-family: 'Sanchez', serif;
}
.boxes-alt ul li a:hover {
  color: #5ea0e5;
}
















@media (max-width: 966px) {
  .slider-wrapper {
    display: none !important;
  }
}
@media (min-width: 1010px) {
  .hide-max {
    display: none !important;
  }
  .boxes-bar .boxes:hover .box p {
    color: transparent;
  }
  .boxes-bar .boxes:hover .box h2 {
    color: transparent !important;
    text-shadow: 0px 0px 10px white;
  }
  .boxes-bar .boxes:hover .box:hover h2 {
    color: white !important;
    text-shadow: none;
  }
  .boxes-bar .boxes:hover .box a.read-more {
    opacity: 0;
  }
  .boxes-bar .boxes:hover .box:hover a.read-more {
    opacity: 1;
  }
  .boxes-bar .boxes:hover .box h2 {
    border-bottom: 1px dashed transparent;
  }
  .boxes-bar .boxes:hover .box:hover {
    color: white;
    text-shadow: none;
    -moz-transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -webkit-transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -o-transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -ms-transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    transform: scale(1.1) rotate(0deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    z-index: 99;
  }
  .boxes-bar .boxes:hover .box:hover p {
    color: #a2c2f3;
  }
  .boxes-bar .boxes:hover .box {
    color: transparent;
    text-shadow: 0px 0px 10px white;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  header nav div > ul > li {
    margin: 0 14px !important;
  }
  header nav div > ul > li > a {
    padding: 0 20px !important;
  }
}
@media (min-width: 780px) and (max-width: 1180px) {
  .hide-780 {
    display: none !important;
  }
  .clear-780 {
    clear: both;
  }
  .inner {
    padding: 0 10px;
  }
}
@media (max-width: 779px) and (min-width: 480px) {
  .hide-480 {
    display: none !important;
  }
  .clear-480 {
    clear: both;
  }
  .inner {
    padding: 0 10px;
  }
  .page-head {
    background: #a0d2fd;
    background: -moz-linear-gradient(left, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    background: -webkit-linear-gradient(left, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    background: linear-gradient(to right, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a0d2fd', endColorstr='#a0d2fd', GradientType=1);
  }
  header {
    background: #a0d2fd;
    background: -moz-linear-gradient(left, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    background: -webkit-linear-gradient(left, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    background: linear-gradient(to right, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a0d2fd', endColorstr='#a0d2fd', GradientType=1);
    padding-bottom: 0 !important;
  }
  header .logo {
    float: none !important;
    text-align: center !important;
  }
  header nav {
    float: none !important;
    text-align: center !important;
  }
  header nav div {
    display: inline-block;
  }
  header nav div > ul > li {
    margin: 0 6px !important;
  }
  header nav div > ul > li > a {
    padding: 0 6px !important;
  }
  .boxes .box {
    width: 46% !important;
    margin-bottom: 40px !important;
  }
  .boxes .box:nth-child(2n+1) {
    clear: both !important;
  }
  .boxes3 .box:nth-child(3) {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }
  .boxes3 .box {
    width: 48% !important;
  }
  .page main {
    float: none !important;
    width: 100% !important;
    padding-bottom: 40px !important;
  }
  .page aside {
    float: none !important;
    width: 100% !important;
  }
  .page aside .widget {
    float: left;
    width: 48% !important;
    margin-left: 1% !important;
    margin-right: 1% !important;
  }
}
@media (max-width: 479px) {
  .clear-0 {
    clear: both !important;
  }
  .hide-0 {
    display: none !important;
  }
  .inner {
    padding: 0 5px;
  }
  .page-head {
    background: #a0d2fd;
    background: -moz-linear-gradient(left, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    background: -webkit-linear-gradient(left, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    background: linear-gradient(to right, #a0d2fd 0%, #f2f7fc 50%, #a0d2fd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a0d2fd', endColorstr='#a0d2fd', GradientType=1);
  }
  header {
    padding-bottom: 10px !important;
  }
  header .logo {
    float: none !important;
    text-align: center !important;
    padding-left: 50px;
    padding-right: 50px;
  }
  header nav {
    display: none;
    float: none !important;
    text-align: center !important;
  }
  header nav li:hover a {
    background: none !important;
  }
  header nav div {
    display: block;
  }
  header nav div > ul {
    background: #314360 !important;
  }
  header nav div > ul > li {
    float: none !important;
    margin: 0 !important;
  }
  header nav div > ul > li > a {
    padding: 0 15px !important;
    text-align: left !important;
    color: white !important;
    text-transform: uppercase !important;
  }
  header nav div > ul > li a:hover {
    background: none !important;
  }
  header nav div > ul > li ul {
    display: block !important;
    position: relative !important;
    top: 0 !important;
    background: none !important;
  }
  header nav div > ul > li ul li a {
    color: #5fa2e7 !important;
    text-align: left !important;
  }
  header nav div > ul > li ul li a:hover {
    background: none !important;
  }
  header nav div > ul > li ul li:hover a {
    background: none !important;
  }
  .boxes {
    padding-top: 10px !important;
  }
  .boxes .box {
    float: none !important;
    width: 96% !important;
    margin: 0 0 40px 0 !important;
    min-height: 0 !important;
  }
  .boxes .box h2 {
    min-height: 0 !important;
    padding: 3px !important;
  }
  .boxes .box p br {
    display: none !important;
  }
  .boxes .box:nth-child(2n+1) {
    clear: both !important;
  }
  .boxes3 .box {
    width: 98% !important;
  }
  .page {
    padding: 0 !important;
    padding-top: 10px !important;
  }
  .page main {
    float: none !important;
    width: 100% !important;
    padding-bottom: 0px !important;
  }
  .page main .half {
    float: none !important;
    width: 100% !important;
    padding: 20px 0 !important;
    margin: 0 !important;
  }
  .page aside {
    float: none !important;
    width: 100% !important;
  }
}
img {
  max-width: 100%;
}
.nav-trigger {
  position: fixed;
  top: 57px;
  right: 10px;
  padding: 6px 9px 2px 9px;
  border: 1px solid white;
  border-radius: 6px;
  cursor: pointer;
  background: #314360;
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  z-index: 1005;
}
.nav-trigger span {
  display: block;
  width: 18px;
  height: 3px;
  background: white;
  margin: 0 0 4px 0;
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.wpcf7 h3 {
  margin: 0 0 10px 0;
}
.content-table {
  width: 100%;
  overflow-x: scroll;
  position: relative;
}
.mobcont {
  /*padding-top: 5px !important;
	padding-bottom: 5px !important;
	background: rgb(160,210,253);
	background: -moz-linear-gradient(left,  rgba(160,210,253,1) 0%, rgba(242,247,252,1) 50%, rgba(160,210,253,1) 100%);
	background: -webkit-linear-gradient(left,  rgba(160,210,253,1) 0%,rgba(242,247,252,1) 50%,rgba(160,210,253,1) 100%);
	background: linear-gradient(to right,  rgba(160,210,253,1) 0%,rgba(242,247,252,1) 50%,rgba(160,210,253,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0d2fd', endColorstr='#a0d2fd',GradientType=1 );
	//margin: 0 0 5px 0;
	*/
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1004;
  background: white;
}
.mob-buttons {
  text-align: center;
  margin: 0 auto;
}
.mob-buttons a {
  float: left;
  width: calc(50% - 1px);
  text-align: center;
  display: block;
  padding: 3px 0px;
  font-size: 20px;
  line-height: 22px;
  font-weight: 700;
  color: white !important;
  background: #bb082f;
  height: 24px;
}
.mob-buttons a img {
  position: relative;
  top: -3px;
}
.mob-buttons a:nth-child(2) {
  float: right;
}
.fb-page {
  transform-origin: 0 0;
  -webkit-transform-origin: 0px 0px;
  -moz-transform-origin: 0px 0px;
}
.wpcf7 {
  max-width: 400px;
  margin: 0 auto !important;
}
#u_0_0 > div {
  margin: 0 auto !important;
}
.fb-page,
.fb-page span,
.fb-page span iframe[style] {
  margin: 0 auto;
  max-width: 100% !important;
}
.ajax-loader {
  display: block;
}
.reversed90 {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.ocen .subform {
  text-align: left;
}

.content-table td { word-break: normal; }


.excerpt p {
  margin: 0 !important;
}

form.test table input[type="radio"] {
  margin-top: 0 !important;
}
form.test table input[type="checkbox"] {
  margin-top: 0 !important;
}

form.test fieldset {
  padding: 10px 15px;
  border: 1px solid rgba(0,0,0, 0.1);
  border-radius: 15px;
  margin: 0 auto 30px auto;
  box-shadow: 0 0 5px 0 rgba(0,0,0,0.3);
  max-width: 600px;

}
form.test fieldset h3 {
  margin: 0 0 10px 0 !important;
}
form.test h4 {
  font-weight: 600;
}


.single_post .content img {
  height: auto;
}