@font-face {
  font-family: 'Arial-Black';
  src: url('../fonts/Arial-Black.eot?#iefix') format('embedded-opentype'),  url('../fonts/Arial-Black.woff') format('woff'), url('../fonts/Arial-Black.ttf')  format('truetype'), url('../fonts/Arial-Black.svg#Arial-Black') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-Bold';
  src: url('../fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-Bold.woff') format('woff'), url('../fonts/OpenSans-Bold.ttf')  format('truetype'), url('../fonts/OpenSans-Bold.svg#OpenSans-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-BoldItalic';
  src: url('../fonts/OpenSans-BoldItalic.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-BoldItalic.woff') format('woff'), url('../fonts/OpenSans-BoldItalic.ttf')  format('truetype'), url('../fonts/OpenSans-BoldItalic.OpenSans-BoldItalic') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-ExtraBold';
  src: url('../fonts/OpenSans-ExtraBold.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-ExtraBold.woff') format('woff'), url('../fonts/OpenSans-ExtraBold.ttf')  format('truetype'), url('../fonts/OpenSans-ExtraBold.OpenSans-ExtraBold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-ExtraBoldItalic';
  src: url('../fonts/OpenSans-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-ExtraBoldItalic.woff') format('woff'), url('../fonts/OpenSans-ExtraBoldItalic.ttf')  format('truetype'), url('../fonts/OpenSans-ExtraBoldItalic.OpenSans-ExtraBoldItalic') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-Italic';
  src: url('../fonts/OpenSans-Italic.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-Italic.woff') format('woff'), url('../fonts/OpenSans-Italic.ttf')  format('truetype'), url('../fonts/OpenSans-Italic.OpenSans-Italic') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-Light';
  src: url('../fonts/OpenSans-Light.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-Light.woff') format('woff'), url('../fonts/OpenSans-Light.ttf')  format('truetype'), url('../fonts/OpenSans-Light.OpenSans-Light') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-LightItalic';
  src: url('../fonts/OpenSans-LightItalic.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-LightItalic.woff') format('woff'), url('../fonts/OpenSans-LightItalic.ttf')  format('truetype'), url('../fonts/OpenSans-LightItalic.OpenSans-LightItalic') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-Regular';
  src: url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-Regular.woff') format('woff'), url('../fonts/OpenSans-Regular.ttf')  format('truetype'), url('../fonts/OpenSans-Regular.OpenSans-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-SemiBold';
  src: url('../fonts/OpenSans-SemiBold.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-SemiBold.woff') format('woff'), url('../fonts/OpenSans-SemiBold.ttf')  format('truetype'), url('../fonts/OpenSans-SemiBold.OpenSans-SemiBold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans-SemiBoldItalic';
  src: url('../fonts/OpenSans-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),  url('../fonts/OpenSans-SemiBoldItalic.woff') format('woff'), url('../fonts/OpenSans-SemiBoldItalic.ttf')  format('truetype'), url('../fonts/OpenSans-SemiBoldItalic.OpenSans-SemiBoldItalic') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: "OpenSans-Regular";
    line-height: 1.3em;
}

a:hover {
    text-decoration: none;
}

#content-main {
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0;
    overflow: auto;
    padding: 0;
    padding-top: 100px;

    /*
    background: url('../img/frontend/background.png') no-repeat center 100px;
    background-attachment: fixed;
    background-size: auto;
    */
}

#content-main.position-fixed {
    padding-top: 0;
}

.bg-uc {
    background: url('../img/frontend/background.png') repeat-y center top;
    background-size: auto;
}

.menu-header {
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px;
    padding-top: 15px;
    padding-left: 50px;
    padding-right: 30px;
    overflow: hidden;

    background-color: #fff;
    color: #01a7e1;
    border-bottom: solid 1px #01a7e1;
}

.menu-header-home {
    background-color: #01a7e1;
    color: #fff;
}

@media screen and (min-width: 576px) {
    .menu-header {
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }
}

.menu-show .menu-header {
    padding-right: 430px;
}

.menu-header a.logo {
    float: left;
    margin-right: 8px;
}

.menu-header h1 {
    font-family: 'Arial-Black';
    font-size: 20px;
    padding-top: 5px;
    margin-bottom: 0;
    letter-spacing: 1px;
    display: inline-block;
}

.menu-header span {
    font-family: "Arial";
    font-size: 11px;
    font-weight: normal;
    display: block;
    margin-top: 0;
}

.menu-header-separator {
    height: 26px;
    width: 1px;
    margin: 0;
    padding: 0;
    display: inline-block;
    position: absolute;
    top: 36px;
    background-color: #01a7e1;
}

.menu-header-home .menu-header-separator {
    background-color: #fff;
}

#menu-header-search {
    display: inline-block;
    visibility: hidden;
    width: 0px;
    opacity: 0.1;
    -webkit-transition: width 0.4s ease-in;
    transition: width 0.4s ease-in;
}

#formSearch {
    display: inline-block;
    width: 100px;
    box-sizing: border-box;
    margin-left: 5px;
    width: 100%;
}

#formSearch input {
    width: 100%;
}

#menu-header-search form {
    display: inline-block;
}

#menu-header-search-btn {
    margin: 0 0 0 4px;
}

.menu-header-buttons {
    text-align: right;
    float: right;
    padding-top: 20px;
    height: 50px;
    overflow: hidden;
}

.menu-header-buttons a {
    font-size: 22px;
    padding: 0 10px;
    margin-left: 5px;
    color: #01a7e1;
}

.menu-header-home .menu-header-buttons a {
    color: #fff;
}

.menu-header a:hover,
.menu-main a:hover
{
    color: #7dd3f4;
}

.menu-header-h1 {
    width: 130px;
    overflow: hidden;
}

@media screen and (max-width: 620px) {
    .menu-show .menu-header-buttons a.btn-menu
    {
        display: none;
    }
    .menu-main-buttons a.btn-menu
    {
        display: inline !important;
    }
}
@media screen and (max-width: 767px) {
    .menu-show .menu-header-buttons a.btn-fb,
    .menu-show .menu-header-buttons a.btn-insta
    {
        display: none;
    }
    .menu-show .menu-main-buttons a.btn-fb,
    .menu-show .menu-main-buttons a.btn-insta,
    .menu-show .menu-main-buttons a.btn-search
    {
        display: block;
    }
    .menu-header-h1 {
        position: absolute;
    }
    .menu-header {
        padding-left: 15px;
    }
}
@media screen and (max-width: 400px) {
    .menu-header-buttons a.btn-fb,
    .menu-header-buttons a.btn-insta
    {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .menu-main {
        width: 300px !important;
        -webkit-transform: translateX(310px);
        transform: translateX(310px);
    }
    #menu-main-footer {
        width: 220px !important;
    }
    .menu-show .menu-header {
        padding-right: 330px;
    }
    .menu-main ul li.menu-main-item a {
        font-size: 36px !important;
    }

}



.menu-main {
    width: 400px;
    background-color: #01a7e1;
    top: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 9001;
    margin: 0;
    box-shadow: -1px 0 10px rgba(0,0,0,0.1);
    padding: 25px 25px 25px 35px;
    -webkit-transform: translateX(410px);
    transform: translateX(410px);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.menu-show .menu-main {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.menu-main ul {
    border-top: solid 1px #9fd9f1;
    margin: 0;
    padding: 0;
    list-style-type: none;
    padding-top: 40px;
}

.menu-main ul li {
    padding: 13px 0;
}

.menu-main ul li a {
    color: #fff;
    font-family: "OpenSans-ExtraBold";
    font-size: 46px;
}


.menu-main ul li.menu-main-buttons {
    border-top: solid 1px #9fd9f1;
    margin-top: 20px;
    padding-top: 20px;
}

.menu-main ul li.menu-main-buttons a {
    font-family: "Arial";
    font-size: 20px;
    font-weight: normal;
}

#menu-main-footer {
    border-top: solid 1px #9fd9f1;
    font-size: 16px;
    color: #fff;
    padding-top: 3px;
    position: absolute;
    bottom: 25px;
    width: 320px;
    margin-left: 10px;
    font-family: "OpenSans-SemiBold";
}

#slide-home,
#slide-work {
    margin: 0;
    padding: 0;
    height: 100%;
}

#slide-home .carousel-inner,
#slide-work .carousel-inner{
    height: 100%;
}

#slide-home .carousel-inner .carousel-item,
#slide-work .carousel-inner .carousel-item{
    height: 100%;
}

#slide-home .carousel-inner .carousel-item div,
#slide-work .carousel-inner .carousel-item div {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

h2 {
    color: #01a7e1;
    font-size: 86px;
    font-family: "OpenSans-ExtraBold";
    text-transform: uppercase;
}

@media screen and (max-width: 700px) {
    h2 {
        font-size: 48px;
    }
}


.bg-blue {
    background-color: #01a7e1;
}

.text-blue {
    color: #01a7e1;
}

.news-text {
    color: #e4e4e4 !important;
    padding: 20px;
}

.news-text h2 {
    color: #e4e4e4 !important;
    font-size: 26px;
    text-transform: none;
    font-family: "OpenSans-Bold";
    margin-bottom: 20px;
    line-height: 1.3em;
}

.news-text p {
    font-family: "OpenSans-Light";
    font-size: 18px;
    line-height: 1.3em;
}

.news-text a {
    font-size: 26px;
    font-family: "OpenSans-Bold";
    color: #e4e4e4;
    letter-spacing: 1px;
}

.news-text a:hover {
    color: #7dd3f4;
}

.news-text p.date {
    font-size: 14px;
}

.news-photo img {
    width: 100%;
}






.to-top a {
    font-family: "OpenSans-Regular";
    font-size: 1rem;
    background: url('../img/frontend/arrow_up.png') no-repeat right 1px ;
    color: #0099da;
    min-height: 27px;
    width: 270px;
    display: inline-block;
    padding-right: 35px;
}

.to-top a:hover {
    color: #7dd3f4;
    background-position-y: -99px;
}

.to-top hr {
    border-color: #0099da;
}

@media screen and (max-width: 767px) {
    .news-item {
        margin-left: 0;
    }
}

.office-text {
    color: #01a7e1;
    font-family: "OpenSans-Regular" /* "OpenSans-SemiBold" */ ;
    font-size: 18px;
    line-height: 1.5em;
    background-color: #fff;
}

.office-text p {
    margin-top: 20px;
}

#office {
    background-color: #fff;
}

#office-photo-wrapper {
    border-bottom: solid 1px #01a7e1;
    overflow: hidden;
    padding-bottom: 0 !important;
}

#slide-office {
    overflow: hidden;
    /* height: 300px; */
}

#slide-office .carousel-inner {
    height: 100%;
}

#slide-office .carousel-inner .carousel-item {
    height: 100%;
}

#slide-office .carousel-inner .carousel-item div {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#planner {
    margin-top: 80px;
}

#planner img {
    width: 100%;
}

.planner-text {
    color: #fff;
    padding: 20px;
}

.planner-text h3 {
    font-family: "OpenSans-Bold";
    font-size: 26px;
    margin-bottom: 20px;
}

.planner-text p {
    font-family: "OpenSans-Light";
    font-size: 18px;
    line-height: 1.4em;
}

.planner-text table {
    font-family: "OpenSans-Light";
    font-size: 18px;
    line-height: 1.1em;
    margin-top: 10px;
}

.planner-text table strong {
    font-family: "OpenSans-Bold";
    font-size: 18px;
    line-height: 1.1em;
    font-weight: normal;
}

.planner-text table td:first-child {
    padding-right: 10px;
}

.planner-item:nth-child(2) .planner-photo {
    border-left: solid 1px #01a7e1;
    padding-top: 80px;
}

.planner-item .planner-text {
    color: #01a7e1;
    padding: 10px 0 0 0;
}

.planner-item .planner-text h3 {
    margin-bottom: 5px;
}

.planner-item .planner-text p {
    font-family: "OpenSans-Regular";
}

@media screen and (max-width: 991px) {
    .planner-item {
        margin-top: 30px;
    }

    .planner-item:nth-child(2) .planner-photo {
        border: none;
        padding-top: 0;
    }
}

#contact h3 {
    font-family: "OpenSans-Bold";
    font-size: 26px;
    font-weight: normal;
    color: #01a7e1;
}

#contact h3:after {
    content: ""; /* This is necessary for the pseudo element to work. */
    display: block; /* This will put the pseudo element on its own line. */
    margin: 0 auto 0 0; /* This will center the border. */
    width: 25px; /* Change this to whatever width you want. */
    padding-top: 10px; /* This creates some space between the element and the border. */
    border-bottom: 1px solid #01a7e1; /* This creates the border. Replace black with whatever color you want. */
}





#contact p {
    font-family: "OpenSans-Regular";
    color: #01a7e1;
    line-height: 1.4em;
    font-size: 18px;
}

#contact p strong {
    font-family: "OpenSans-Bold";
    font-weight: normal;
}

#contact a {
    color: #01a7e1;
}

#contact a:hover {
    color: #7dd3f4;
}

#contact {
    border-bottom: solid 1px #01a7e1;
}

#contact a.btn-fb { font-size: 28px; }
#contact a.btn-insta { font-size: 28px; }

#contact input,
#contact textarea{
    font-size: 14px;
    color: #01a7e1;
    border: none;
    border-bottom: solid 1px #01a7e1;
    border-radius: 0;
    outline: none;
    padding-left: 0;
}

#contact button {
    border-radius: 0;
    font-size: 14px;
    font-family: "OpenSans-SemiBold";
    font-weight: normal;
    min-width: 140px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#contact input::placeholder,
#contact textarea::placeholder {
    color: #01a7e1;
}
#contact input:-ms-input-placeholder,
#contact textarea:-ms-input-placeholder {
    color: #01a7e1;
}
#contact input::-ms-input-placeholder,
#contact textarea::-ms-input-placeholder {
    color: #01a7e1;
}




.grid-item {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.grid-sizer,
.grid-item { width: 25%; }  /* 20 */
.grid-item--width2 { width: 50%; } /* 40 */
.grid-item--width3 { width: 50%; } /* 40 */

.grid-item { overflow: hidden; height: 400px; } /* 300 */
.grid-item--height2 { height: 500px; } /* 400 */
.grid-item--height3 { height: 600px; } /* 500 */

@media screen and (max-width: 1299px) {
    .grid-sizer,
    .grid-item { width: 50%; }
    .grid-item--width2 { width: 100%; }
    .grid-item--width3 { width: 100%; }

    .grid-item { height: 300px; }
    .grid-item--height2 { height: 450px; }
    .grid-item--height3 { height: 450px; }
}

@media screen and (max-width: 1000px) {
    .grid-sizer,
    .grid-item { width: 50%; }
    .grid-item--width2 { width: 100%; }
    .grid-item--width3 { width: 100%; }

    .grid-item { height: 400px; }
    .grid-item--height2 { height: 400px; }
    .grid-item--height3 { height: 400px; }
}

@media screen and (max-width: 700px) {
    .grid-sizer,
    .grid-item { width: 100%; }
    .grid-item--width2 { width: 100%; }
    .grid-item--width3 { width: 100%; }

    .grid-item { height: 300px; }
    .grid-item--height2 { height: 300px; }
    .grid-item--height3 { height: 300px; }
}

#works .works-grid-data {
    position: relative;
    transition: all .3s ease-out;
    height: 90px;
    bottom: -90px;
}

#works .works-grid-data table {
    width: 100%;
}

#works .grid-item a {
    height: 100%;
    width: 100%;
    /* cursor: default; */
}

/*
#works select {
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    outline: none;
    background: transparent;
    font-family: "OpenSans-Bold";
    color: #01a7e1;
    border-radius: 0;
    padding: 0;
    border-bottom: solid 1px #01a7e1;
    background-image: url(../img/frontend/arrow.gif);
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 15px;
}

#works select:focus {
    box-shadow: none;
}

#works select option {
    font-family: "OpenSans-Regular";
    padding: 1px 5px;
}
*/

@media screen and (min-width: 701px) {
    #works .grid-item a:hover div.works-grid-data {
        bottom: 0;
    }
}
@media screen and (max-width: 700px) {
    #works .grid-item a.active div.works-grid-data {
        bottom: 0;
        height: 50%;
    }
}



#works .works-grid-data h3 {
    font-family: "OpenSans-Bold";
    font-size: 28px;
    margin-bottom: 0;
}

#works .works-grid-data table tr td {
    vertical-align: top;
}

#works .works-grid-data table tr:first-child td {
    font-family: "OpenSans-Bold";
    font-size: 18px;
    padding: 0;
}

#works .works-grid-data table tr:first-child td {
    font-family: "OpenSans-Light";
    font-size: 13px;
}

#works .works-grid-data table tr td:nth-child(2) {
    padding-left: 5px;
    padding-right: 5px;
}


@media screen and (min-width: 1500px) {
    #slide-office{ flex: 0 0 70%; max-width: 70%; }
    #office .office-text{ flex: 0 0 30%; max-width: 30%; }
}

@media screen and (min-width: 1700px) {
    #slide-office{ flex: 0 0 80%; max-width: 80%; }
    #office .office-text{ flex: 0 0 20%; max-width: 20%; }
}


.work-prevnext {
    position: absolute;
    z-index: 2;
    left: 50px;
    padding: 3px 10px;
}

.work-prevnext a {
    color: #fff;
    font-family: "OpenSans-Bold";
    font-size: 14px;
    text-transform: uppercase;
}

.work-prevnext a:hover {
    color: #7dd3f4;
}

@media screen and (max-width: 700px) {
    .work-prevnext {
        left: 0;
    }
}

.work-info {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    width: 350px;
    max-width: 100%;
    padding: 7px 40px 7px 30px;
    overflow: hidden;
    max-height: 48px;
    cursor: default;
    transition: max-height 0.15s ease-out;
}

.work-info a {
    color: #fff;
    cursor: default;
}

.work-info h3 {
    font-family: "OpenSans-Bold";
    font-size: 28px;
    margin-bottom: 10px;
}

.work-info table {

}

.work-info table tr td {
    padding: 0;
    display: block;
}

.work-info table tr td:first-child {
    font-family: "OpenSans-Light";
    font-size: 13px;
}

.work-info table tr td:last-child {
    font-family: "OpenSans-Bold";
    font-size: 16px;
    margin-bottom: 10px;
}

@media screen and (min-width: 701px) {
    .work-info:hover {
        max-height: 100%;
        /* overflow-y: auto; */
        transition: max-height 0.25s ease-in;
    }
}

@media screen and (max-width: 700px) {
    .work-info.active {
        max-height: 100%;
    }
}

#flashMessage {
    font-family: "OpenSans-Bold";
    margin-bottom: 10px;
}

/* CUSTOM-SELECT */

/*the container must be positioned relative:*/
.uc-select {
  position: relative;
  font-family: Arial;
  padding-left: 3px;
}

.uc-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  background-color: #fff;
  padding-left: 0;
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #01a7e1 transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #01a7e1 transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #ffffff;
  padding: 6px 16px;
  cursor: pointer;
  user-select: none;
}

.select-selected {
  padding-left: 0;
  color: #01a7e1;
  font-family: "OpenSans-Bold";
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: #01a7e1;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  font-family: "OpenSans-Regular";
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

#SearchSearch {
    border: solid 1px #01a7e1;
}

#SearchSearch:focus {
    outline-color: rgb(1,167,225);
}

#overlay {
    background-color: #fff;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999;
    /* display: none; */
}
