/****************** GENERAL ******************/
* {
    transition: all 0.3s;
}
body {
    color: #000;
    font-family: "Open Sans";
    padding-top: 134px;
    font-size: 12px;
}
@media(max-width:767px) {
    body {
        padding-top: 70px;
    }
}
h1, h2, h3 {
    font-weight: 300;
}
h1 {
    margin-top: 0;
}
h2, h3 {
    color: #2c3e50;
}
a {
    color: #2c3e50;
}
a:hover {
    color: #2c3e50;
    text-decoration: none;
}
a, a:active, a:focus,
button, button:active, button:focus {
    outline: 0!important;
}
ul {
    list-style-type: square;
}
a p {
    color: #333;
}

/***************** BOOTSTRAP *****************/
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    max-width: 100%;
}
.btn-primary {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
}
.btn-default,
.btn-primary:hover {
    background-color: #aaa;
    border-color: #ddd;
    color: #fff;
}
.form-control {
    height: 42px;
}
.label.label-default {
    margin-right: 5px;
    font-weight: normal;
    font-size: 12px;
    background: #aaa;
    margin-bottom: 5px;
}
blockquote {
    border: none;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 15px;
    padding: 0;
    text-align: left;
    color: #555;
}
blockquote::before {
    content: "";
    font-family: "FontAwesome";
    margin-right: 0.5em;
}
blockquote::after {
    content: "";
    font-family: "FontAwesome";
    margin-left: 0.5em;
}
blockquote p {
    display: inline;
}

/****************** HEADERS ******************/
#preHeader {
    height: 44px;
    line-height: 44px;
    background: #333;
    color: #fff;
}
#mainHeader {
    background: #fff;
}
.navbar-brand {
    height: auto;
    padding: 10px 0;
    position: relative;
    z-index: 10;
}
.navbar-brand img {
	max-height: 70px;
}
@media(max-width:767px) {
	.navbar-brand {
        padding: 10px;
    }
	.navbar-brand img {
		max-height: 50px;
	}
}
.navbar {
    background: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}
.navbar-fixed-top {
    border: none;
}
.navbar-collapse {
    padding: 0;
}
ul.navbar-nav > li.primary > a.firstLevel {
    color: #333;
     border-bottom:5px solid #FFF; 
}
ul.navbar-nav > li.primary > a.firstLevel.active,
ul.navbar-nav > li.primary > a.firstLevel:hover,
ul.navbar-nav > li.primary > a.firstLevel:focus {
    border-bottom: 5px solid #2c3e50;
    color: #2c3e50;
    background: none;
}
.navbar-toggle .icon-bar {
    background: #333;
}
.navbar-toggle {
    border-color: #333;
}
.navbar-default {
    border: none;
}
.navbar-nav {
    margin-left: 0;
    margin-right: 0;
}
.navbar-nav ul li {
    position: relative;
}
.navbar-nav ul {
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.navbar-nav ul ul{
    top:2px;
}
#mainMenu {
    position: relative;
}
@media(max-width:767px) {
    ul.navbar-nav > li.primary > a.firstLevel.active,
    ul.navbar-nav > li.primary > a.firstLevel:hover,
    ul.navbar-nav > li.primary > a.firstLevel:focus {
        border-bottom: none;
    }
    #mainMenu .navbar-nav li {
        border-bottom: 1px solid #eee;
    }
}
@media(min-width:768px) {
    #mainMenu .navbar-nav {
        position: absolute;
        bottom: 0;
        right: 0;
    }
}
#mainMenu .navbar-nav ul li a {
    border-bottom: 1px solid #444;
}
.navbar-nav ul li a {
    color: #999;
}
.navbar-nav ul li a {
    display: block;
    font-size: 12px;
    padding: 11px;
}
.navbar-nav ul li a:hover, .navbar-nav ul li.hover > a {
    background: #F24936;
    color: #fff;
}
@media(min-width:768px) {
    .navbar-nav ul {
		left: 0;
		position: absolute;
		top: 50px;
		z-index: 1024;
        background: #333;
        width: 200px;
    }
}
ul#languages {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul#languages > li {
    float: left;
    margin-left: 10px;
    padding: 0;
}
.info-header {
    margin-right: 20px;
}
.info-header i {
    background: #F24936;
    padding: 6px 4px;
    margin-right: 2px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}
#searchWrapper {
    max-width: 320px;
    color: #888;
    border-left: 1px solid #555;
    border-right: 1px solid #555;
    height: 44px;
    margin-left: 20px;
}
#searchWrapper .form-control, #searchWrapper button {
    background: none;
    border: none;
    height: 44px;
    display: block;
    float: left;
}
#searchWrapper button {
    float: right;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}
#searchWrapper button:hover {
    background: #2c3e50;
}
#searchWrapper .form-control {
    color: #fff;
}
#searchWrapper .form-control:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
}
.page-header {
    background-color: #2c3e50;
    margin: 0;
    padding: 15px 0;
    color: #fff;
    border: none;
}
.page-header a {
    color: #fff;
}
.page-header h1,
.page-header p.main-title {
    margin: 0;
    font-weight: 300;
    font-size: 36px;
}
.breadcrumb {
    text-align: right;
    background: transparent;
    margin: 0;
    padding-right: 0;
}
.breadcrumb a::after {
    font-family: "FontAwesome";
    content: "";
    padding: 0 4px 0 6px;
}

/*************** ROYAL SLIDER ****************/
#slideWrapper {
    height: 520px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
    -o-box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}
#full-width-slider {
    width: 100%;
    color: #000;
}
.coloredBlock {
    padding: 12px;
    background: rgba(255,0,0,0.6);
    color: #FFF;
    width: 200px;
    left: 20%;
    top: 5%;
}
.infoBlock {
    position: absolute;
    top: 30px;
    right: 30px;
    left: auto;
    max-width: 25%;
    padding-bottom: 0;
    background: #FFF;
    background: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    padding: 20px;
}
.infoBlockLeftBlack {
    color: #FFF;
    background: #000;
    background: rgba(0,0,0,0.75);
    left: 30px;
    right: auto;
}
.infoBlock h4 {
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
    padding-bottom: 3px;
}
.infoBlock p {
    font-size: 14px;
    margin: 4px 0 0;
}
.infoBlock a {
    color: #FFF;
    text-decoration: underline;
}
.photosBy {
    position: absolute;
    line-height: 24px;
    font-size: 12px;
    background: #FFF;
    color: #000;
    padding: 0px 10px;
    position: absolute;
    left: 12px;
    bottom: 12px;
    top: auto;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    z-index: 25; 
} 
.photosBy a {
    color: #000;
}
.fullWidth {
    width: 100%;
    margin: 0 auto 24px;
}
.fullWidth.royalSlider {
    width: 100%;
    overflow: hidden;
}
@media screen and (min-width:960px) and (min-height:660px) {
    .heroSlider .rsOverflow,
    .royalSlider.heroSlider {
        height: 520px !important;
    }
}
@media screen and (min-width:960px) and (min-height:1000px) {
    .heroSlider .rsOverflow,
    .royalSlider.heroSlider {
        height: 660px !important;
    }
}
@media screen and (min-width: 0px) and (max-width: 800px) {
    .royalSlider.heroSlider,
    .royalSlider.heroSlider .rsOverflow {
        height: 300px !important;
    }
    .infoBlock {
        padding: 10px;
        height: auto;
        max-height: 100%;
        min-width: 40%;
        left: 5px;
        top: 5px;
        right: auto;
        font-size: 12px;
    }
    .infoBlock h3 {
        font-size: 14px;
        line-height: 17px;
    }
}

/***************** HOMEPAGE ******************/
.iconBlocHome {
    padding-left: 40px;
    position: relative;
}
.iconBlocHome i.fa {
    left: 0;
    position: absolute;
    font-size: 26px;
    color: #2c3e50;
}

/************ ISOTOPE / PORTFOLIO ************/
.isotopeInner {
    max-width: 100%;
    overflow: hidden;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}
.isotopeWrapper {
    padding: 20px 0;
    background: url("../images/loading.gif") no-repeat center 50px;
}
.isotopeWrapper.loaded {
    background: none;
}
.isotopeContent {
    display: block;
    padding: 20px;
    background: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.isotopeContent h3{
    margin-top: 0;
}
.isotopeItem {
    margin-bottom: 20px;
    visibility: hidden;
}
.isotopeWrapper.loaded .isotopeItem {
    visibility: visible;
}
.more-link {
    position: relative;
    display: block;
}
.more-action {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    -ms-opacity: 0;
    -o-opacity: 0;
}
.more-link:hover .more-action {
    background: rgba(242, 73, 55, 0.5);
    opacity: 1;
    -moz-opacity: 1;
    -webkit-opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
}
.more-icon {
    position: absolute;
    bottom: -40px;
    text-align: center;
    width: 100%;
    display: block;
}
.more-icon i {
    color: #2c3e50;
    font-size: 34px;
    background: #fff;
    width: 80px;
    height: 40px;
    margin: 0 auto;
    line-height: 50px;
    display: block;
    border-radius: 40px 40px 0 0;
    -moz-border-radius: 40px 40px 0 0;
    -webkit-border-radius: 40px 40px 0 0;
    -ms-border-radius: 40px 40px 0 0;
    -o-border-radius: 40px 40px 0 0;
}
.more-link:hover .more-action .more-icon {
    bottom: 0;
}
.lazy-more-btn {
    background: #aaa!important;
    color: #fff!important;
}
.lazy-more-btn:hover {
    background: #fff!important;
    color: #333!important;
}
.lazy-more-btn:before {
    font-family: "FontAwesome";
    content: "";
    margin-right: 0.5em;
    font-size: 24px;
    vertical-align: middle;
}

/*************** MISCELLANEOUS ***************/
.owl-item img {
    margin: 0 auto;
}
.hotBox {
    background: #2c3e50;
    padding: 20px;
    color: #fff;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}   
.hotBox h2,
.hotBox a {
    color: #fff;
    margin-top: 0;
}
#mapWrapper {
    height: 300px;
}

/******************* FOOTER ******************/
#footerRights {
    background: #000;
    padding: 10px 0;
}
#mainFooter {
    padding: 20px 0;
}
footer {
    background: #2c3e50;
    color: #fff;
}
footer a, footer a:hover {
    color: #fff;
}
#toTop {
    display: block;
    position: fixed;
    bottom: -40px;
    right: 30px;
    z-index: 10;
    height: 40px;
    background: #fff;
    padding: 0 5px;
    font-size: 26px;
    border: 1px solid #ddd;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
#toTop:hover {
    background: #2c3e50;
    color: #fff;
}
