/*!
Theme Name: skyton
Theme URI: http:// wordpress.org/
Author: wordpress.org
Author URI: http://wordpress.org/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: skyton
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

skyton is based on Underscores https://wordpress.org/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust:     none
}
body {
    background-color: #ffffff;
    font-weight: 400;
    color: #939598;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.2em;
    overflow-wrap: break-word;
    overflow-x:hidden; 
    overflow-x:hidden; 
    margin: 0;
    padding: 0;
}
h1,h2,h3,h4,h5,h6,
div,
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
    background-repeat: no-repeat;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
[hidden],
.row_toggle
{
    display: none;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b {
  font-weight: 600;
}
strong {
    font-weight: 700;
}
dfn {
    font-style: italic;
}
mark {
    background: #ff0;
    color: #000;
}
small {
    font-size: 70%;
}
sub,
sup {
    font-size: 0.6em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
img {
    border: 0;
    max-width: 100%;
    max-height: 100%;
}
figure {
   
}
hr {
    background-color: #e9e8e8;
    height: 1px;
    margin-top: 40px;
    margin-bottom: 40px;
    border: none;
}
pre {
    overflow: auto;
}
code,
kbd,
pre,
samp {
    font-size: 1em;
}

/*FONTS*/
.awesome:before,
.flex-prev:after,
.flex-next:after,
.owl-prev:before,
.owl-next:before,
 {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  color: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/*------------------------------------
CONTAINERS
------------------------------------*/
@media all and (min-width: 992px) {
  .container {width: 960px;}
}
.cf:after,
.cf:before {
    clear: both;
    display: table;
    content: "";
}
.cf {
    clear: both;
    display: block;
}
.relv {
  position: relative;
}
.alignright {
  float: right;
  margin-left: 30px;
}
.alignleft {
  float: left;
  margin-right: 30px;
}
.clear {
    clear: both;
}
main {
 
}
body .m_t_none[class] {
  margin-top: 0;
}
body .m_b_none[class] {
  margin-bottom: 0;
}
.p_b_none[class] {
  padding-bottom: 0;
}
.m_b_lg {
  margin-bottom: 50px;
}
/*TABLE*/
table {
  width: 100%;
}

/*------------------------------------
TYPES
------------------------------------*/
a,
h1,h2,h3,h4,h5,h6,
span,
i,
p,
ul,
li,
img,
*:before,
*:after,
input,
button,
select,
textarea,
.thumb ,
img,
header,
section,
footer
 {
    transition:all 0.2s linear 0s;
    -webkit-transition:all 0.2s linear 0s;
}

h1,h2,h3,h4,h5,h6 {
    margin-top: 0;
    line-height: 1.2em;
    outline: none;
    color: #076682;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
}
h1 {
  font-size: 24px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.title {
  background-color: #046582;
  font-size: 50px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.80em;
  padding-top: 0.65em;
  padding-bottom: 0.65em;
  font-weight: 500;
}
.title a:hover {
  color: inherit;
  opacity: 0.8;
}
.subtitle {
  padding-top: 20px;
  clear: both;
}
h2 {
  font-size: 56px;
  margin-bottom: 0.15em;
  font-style: italic;
}
h3 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 5px;
  font-style: italic;
}
h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom:2px;
  font-style: italic;
}
h5 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    font-weight: 400;
    margin-bottom: 5px;
}
.cf_footer h5{
  margin-bottom: 2em;
  font-weight: 400;
}
h6{
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 400;
}
ul,li {
    list-style: none;
    padding: 0;
    margin: 0;
}
p {
  font-size: 1em;
  font-weight: 300;
  line-height: 1.6em;
  margin-bottom: 0;
}
p + p ,
p + ul,
p + ol ,
p + h3 ,
p + h4 ,

ul + p ,
ul + h3 ,
ul + h4 ,
ul + h5 ,
ol + p,
ol + h3, 
ol + h4,
ol + h5 
{
  margin-top: 1em;
}
#page p small {
  font-size: .65em;
}
p span,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span
 {  
  color: #076682;
}

/*LINKS*/
a                 { color: #076682; text-decoration: none; cursor: pointer;}
a:hover          { text-decoration: none; color: #222222; }

a:focus           { text-decoration: none; outline: none;color: inherit;}
a:active          { text-decoration: none;}
a:visited         { text-decoration: none;}

/*BUTTONS*/
.btns.btns {
  background-color: #ffc335;
  border: medium none;
  border-radius: 0;
  font-family: 'Lato';
  color: #ffffff;
  display: inline-block;
  line-height: 1.25em;
  margin: 0;
  text-align: center;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}


/*-----------------------------------
FORM COMMAN
-----------------------------------*/
::-webkit-input-placeholder {
  color: #046582; opacity: 1 !important;
}
::-moz-placeholder {
  color: #046582; opacity: 1 !important;
}
:-ms-input-placeholder {
  color: #046582; opacity: 1 !important;
}
:-moz-placeholder {
  color: #046582; opacity: 1 !important;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="submit"],
input[type="button"],
button,
select,
textarea {
  font-family: inherit;
  font-weight: 300;
  border: none;
  background-image: none;
  border-radius: 0;
  display: inline-block;
  -webkit-border-radius:0;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  -webkit-box-shadow: none;
  max-width: 100%;
  transition:all 0.2s ease-in 0s;
  -webkit-transition:all 0.2s ease-in 0s;
}
input.wpcf7-text, 
textarea.wpcf7-textarea
{
  font-family: inherit;
  font-weight: 300;
  color: #939598;
  border: 2px solid #dddce2;
  background-image: none;
  border-radius: 5px;
  background-color: #ffffff;
  box-shadow: none;
  font-size: 16px;
  height: 45px;
  max-width: 100%;
  padding: 0 15px;
  width: 100%;
}
textarea.wpcf7-textarea {
  padding-top: 10px;
  height: 80px;
}

input.wpcf7-text:hover, 
textarea.wpcf7-textarea:hover
 {
  border-color: #a30000;
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(163, 0, 0, 0.5);
} 
input.wpcf7-text:hover, 
textarea.wpcf7-textarea:hover {
  border-color: #046582;
  background-color: #ffffff;
  box-shadow: 0 0 5px #04658299;
}
.wpcf7-form-control.wpcf7-submit {
  background-color: #046582;
  font-size: 1.4em;
  padding: 1em 3.5em;
  color: #ffffff;
  font-weight: 400;
  text-transform: uppercase;
  display: table;
  margin: 0 auto;
  border-radius: 4px;
}
.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #a30000;
}

/*--------------------------
THUMBS
---------------------------*/
img,iframe {
  max-width: 100%;
}
.thumb {
    line-height: 0;
    position: relative;
    overflow: hidden;
}
.thumb_half {
  float: left;
  width: 50%;
}
.thumb_caption > a  {
  display: block;
  width: 100%;
}
.thumb_caption img {
    transform: scale(1.01);
    -webkit-transform: scale(1.01)  ;
}
.thumb_caption > a > span {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.thumb_caption > a > span > span {
  display: table;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
.thumb_caption > a  > span > span > span {
  display: table-cell;
  width: 100%;
  vertical-align: middle;
}
.thumb_caption h3 {
  color: #ffffff;
  margin-bottom: 0;
  text-align: center;
  text-shadow: 0px 1px 2px rgba(0,0,0,0.20);
}
.thumb_caption > a:hover > span {
  background-color: #032630b3;
}
.thumb_resize a:hover img {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  opacity: 1;
} 
.thumb_staff {
  float: left;
  margin-right: 10px;
  z-index: 1;
  margin-bottom: 15px;
}
.thumb_info {
  margin-top: 2em;
  margin-bottom: 2em;
}
@media all and (max-width: 1024px) {
  .thumb_caption {background-color: #121212}
  .thumb_caption img {opacity: 0.90}
}

/*------------------------------------
HEADER
------------------------------------*/
.cf.cf_header {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 100;
}
.site-header {
 /* background-color: #046582;*/
  background-color: #ffffff;
  height: 90px;
  padding-right: 55px;
  padding-left: 100px;
}
.site-branding {
  float: left;
  margin-top: 14px;
}
.site-title {
  margin-bottom: 0;
}
.phones {
  color: #ffffff;
  float: right;
  margin-top: 37px;
  margin-left: 18px;
  display: none;
}

/*STICKY*/
.sticky .site-header {
  background-color: rgba(255,255,255,0.90);
}



/*NAV*/
#site-navigation {
  float: right;
}
#primary-menu > li {
  display: inline-block;
}
#primary-menu > li + li {
  margin-left: 18px;
}
#primary-menu a {
  color: #076682;
  display: inline-block;
  padding: 1px;
  text-transform: lowercase;
  font-weight: 300;
}
#site-navigation {
  float: right;
  margin-top: 35px;
}


/*------------------------------------
SLIDER
------------------------------------*/
.cf_slider {
  padding-top: 90px;
}
.slider {
/*  min-height: 250px;*/
}
.slider img ,
.banner img {
  width: 100%;
}
.loader {
    left: 0;
    margin-top: -30px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 50%;
}
.loading{
    background-image: url("images/loading.gif");
    background-position: center center;
    background-color: #0465821a;
    background-repeat: no-repeat;
    min-height: 350px;
    height: 250px;
    z-index: 99;
} 
  @media all and (max-width: 767px) {
    .loading {min-height: 120px;background-size: 50px auto;}
  }
.cf_slider img {
  width: 100%;
}


/*SLIDER NAVS*/
.flex-control-paging {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  margin: 0;
  padding: 0;
  z-index: 11;
}
.white-popup .flex-control-paging {
  display: none;
}
.flex-control-paging li {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
}
.flex-control-paging li a {
  display: inline-block;
  font-size: 0;
  background-color: #ffffff;
  height: 21px;
  width: 21px;
  border-radius: 50%;
  position: relative;
}
.flex-control-paging li a.flex-active {
   background-color: #046582;
}
.flex-direction-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
}
.flex-nav-prev {
  float: left;
  height: 100%;
  width: 115px;
}
.flex-nav-next {
  float: right;
  height: 100%;
  width: 115px;
}
.flex-direction-nav li a {
  height: 100%;
  width: 100%;
  display: block;
  font-size: 0;
  background-repeat: no-repeat;
}
.flex-direction-nav .flex-prev {
    background-image: url("images/arrow_left.png");
    background-position: center center;
}
.flex-direction-nav .flex-next {
    background-image: url("images/arrow_right.png");
    background-position: center center;
}
.white-popup [class^="flexslider"] {
    display: table;
    width: 100%;
    position: relative;
}
/*CAPTION*/
.caption {
  color: #fff;
  left: 0;
  position: absolute;
  text-align: center;
  top: 40%;
  right: 0;
  z-index: 10;
}
.caption p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 60px;
  text-shadow: 0px 2px 2px  rgba(0,0,0,0.20); 
}
.white-popup .caption p {
    font-size: 36px;
    font-weight: 400;
}


/*INFO*/
.cf_info {
  text-align: center;
}
.cf_info p {
  margin-bottom: 2.2em;
}

/*STAFF*/
.staff-cat {
  margin-left: 12.2em;
  margin-bottom: 1.2em;
  margin-right: 6em;
}
.staff {
  margin-left: 12.2em;
  margin-bottom: 3.2em;
  margin-right: 6em;
}

.staff h4 {
  margin-top: 15px;
}
.staff p + p {
  margin-top: 0;
}
.staff p span {
  font-weight: 400;
}

/*CONTACTS*/
.wpcf7-form {
  float: left;
  width: 100%;
  padding-left: 25px;
  padding-right: 25px;
}
.wpcf7-form .row {
  margin-bottom: 2em;
}
div.wpcf7-validation-errors {
  background-color: #90191d;
  border: medium none;
  color: #fff;
  font-size: 0.95em;
  line-height: 1.2em;
  margin: 10px 0;
  padding: 15px 10px;
  text-align: center;
}
div.wpcf7-validation-success {
  background-color: green;
  border: medium none;
  color: #fff;
  font-size: 0.95em;
  line-height: 1.2em;
  margin: 10px 0;
  padding: 15px 10px;
  text-align: center;
}
span.wpcf7-not-valid-tip {
  background-color: rgba(145, 25, 65, 0.15);
  border-radius: 4px;
  color: #901940;
  display: block;
  font-size: 0.8em;
  font-weight: normal;
  margin-top: 4px;
  padding: 2px 10px;
  text-align: center;
}



/*-------------------------
FOOTER
-------------------------*/
.cf_footer {
  background-color: #3d3d3d;
  color: #ffffff;
  font-size: 15px;
  padding-bottom: 30px;
  padding-top: 30px;
  text-align: center;
  padding-left: 60px;
  padding-right: 60px;
}
.cf_footer * {
  color: inherit;
  font-size: inherit;
  font-weight: 300;
}
footer .menu {
  padding-top: 0px;
}
.cf_footer li + li {
  margin-top: 10px;
}
.cf_footer p {
  line-height: 1.4em;
}


/*-------------------------
POP UPS
-------------------------*/
.white-popup {
  background-color: #ffffff;
  display: table;
  height: auto;
  margin: 20px auto;
  position: relative;
  width: 650px;
  padding-top: 30px;
  padding-bottom: 45px;
  font-weight: 400;
  font-size: 13px;
}
.cf_padder {
  padding-left: 80px;
  padding-right: 80px;
}
body .mfp-bg {
  background-color: rgba(0,0,0,0.85);
  opacity: 0.90;
}
body .mfp-close-btn-in button.mfp-close {
  background-image: url("images/pop_close.png");
  background-repeat: no-repeat;
  height: 24px;
  right: 12px;
  top: 12px;
  width: 24px;
  padding: 0;
  font-size: 0;
}
.white-popup p span {
  font-weight: 400;
}
.white-popup p + p {
  margin-top: 0.75em;
}
.white-popup .thumb_caption h3 {
    font-size: 18px;
}

/*COPY*/
.cf_copy {
  padding-top: 20px;
  padding-bottom: 15px;
}
.cf_copy img {
  margin-bottom: 4px;
}
.cf_copy p {
  color: #076682;
  font-weight: 400;
  font-size: 1.1em;
}

.thumb_staff .open-popup-info {
    display: block;
    height: auto;
    width: 100%;
}
.thumb_staff .overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(4, 101, 130, 0.7);
    height: 0;
    width: 100%;
    transition: .5s ease;
    right: 0;
    bottom: 0;
    overflow: hidden;
	text-align: center;
}
.thumb_staff .text {
  color: #fff;
  font-size: 16px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  display: inline-block;
  width: 100%;
}
.thumb_staff:hover .overlay {
  height: 100%;
}
body[class] div.wpcf7 .ajax-loader{
	display: none;
}