body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    font-family: "Josefin Sans", sans-serif !important;
    background-color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

*, *::before, *::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.header {
    background: #fff;
    padding: 20px 0;
}

.logo {
  width: 33.33%;
  display: table-cell;
  vertical-align: middle;
}

.nav {
  width: 66.66%;
  display: table-cell;
  vertical-align: middle;
  text-align: right;
}

.nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul li a {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  transition: .3s color;
}

.nav ul li {
    display: inline-block;
    margin: 0 15px;
}

.nav ul li a:hover {
    color: #ceb966;
}

.rotator {
    height: 500px;
    overflow: hidden;
    position: relative;
    background: rgba(0,0,0,.7);

}

.rotator .elem {
    background-size: cover;
    background-position: center 15%;
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 1s opacity, 1s visibility;
    opacity: 0;
}

.elem.show {
    visibility: visible;
    opacity: 1;
    transition: 1s opacity;
}

.text_wrapper {
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 40px 60px;
    bottom: 100%;
    font-size: 40px;
    background: rgba(0,0,0,.7);
    color: #fff;
}

.container::after {
    content: "";
    clear: both;
    display: table;
}

.widget_wrapper::after {
    content: "";
    clear: both;
    display: table;
}

.widget {
    float: left;
    width: 30%;
    padding: 20px;
    text-align: center;
    border: 5px solid #fff;
    border-radius: 10px;
    background-color: #ccc7aa;
    margin-right: 5%;
}

.widget i {
    font-size: 60px;
    color: #9db083;
    text-shadow: 0px 0px 4px rgba(255,255,255,.7);
}

.widget:last-child {
    margin: 0;
}

.main_content {
    padding: 30px 0;
    margin-top: 82.5px;
    min-height: calc(100vh - 122.5px);
}

.footer {
    background-color: #ccc7aa;
    padding: 30px 0;
}




/* homepage change*/
.rotator {
    height: 100%;
}

.header {
    background: none;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 10;
    top: 0;
}

.text_wrapper {
    z-index: 9;
}

.elem::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0,0,0,.3);
}

.footer {
    line-height: 20px;
    position: absolute;
    width: 100%;
    z-index: 10;
    bottom: 0;
    left: 0;
    background: #fff;
}

.rotator_wrapper {
    height: 100%;
}

.rotator .text_wrapper {
    display: none;
}

.footer {
    background-color: rgba(204,199,170,.5);
    padding: 30px 0;
}

.forward_trigger {
    position: absolute;
    right: 10px;
    height: 24px;
    width: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    z-index: 10;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    text-align: center;
    padding: 0;
    color: #fff;
    font-size: 24px;
    opacity: .6;
}

.back_trigger {
    position: absolute;
    left: 10px;
    height: 24px;
    width: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    z-index: 10;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    text-align: center;
    padding: 0;
    color: #fff;
    font-size: 24px;
    opacity: .6;
}

.nav ul li a {
    color: #fff;
}

.elem::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(rgba(0,0,0,.5) 10%, rgba(0,0,0,.2));
}

.nav ul {
    width: 100%;
}

.nav.col-md-9 {
    padding-left: 15px;
}

.rotator_nav_wrapper {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.rotator_nav_wrapper_inner {
    position: relative;
}

.rotator_nav {
    padding: 30px 40px;
}

.elem_nav {
    width: 30px;
    height: 5px;
    display: inline-block;
    margin: 0 15px;
    background: rgba(255,255,255,.6);
    cursor: pointer;
}

.nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: .3s color;
    line-height: 62.5px;
    text-transform: none;
}

.nav ul li a:hover {
    color: #009681;
}
 
.header {
    background: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.rotator_wrapper::before {
    content: "";
    display: table;
}

.rotator {
    height: calc(100% - 82.5px);
    margin-top: 82.5px;
}

.footer {
    padding: 10px 0;
    background: rgba(0,0,0,1);
    color: #fff;
    position: relative;
}

.load_wrapper img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.load_wrapper {
    z-index: 100;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #fff;
}

.elem_nav:hover {
    background: #fff;
}

.back_trigger:hover, .forward_trigger:hover {
    opacity: 1;
}

.elem_nav.highlighted {
    background: #fff;
}

.copyright {
    float: left;
}

.privacy {
    float: right;
}

.privacy a {
    color: #fff;
    text-decoration: underline;
}

.privacy a:hover {
    color: #009681;
    text-decoration: none;
}

.gallery_wrapper {
    font-size: 0;
    position: relative;
    left: 0;
    transition: left .5s;
    width: 100%;
}

.gallery_elem {
    display: inline-block;
    width: calc(33.33% - 30px);
    margin: 15px;
    min-height: 250px;
    font-size: 16px;
    position: relative;
    cursor: pointer;
}

.header {
    background: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    z-index: 90;
    box-shadow: 0px 0px 5px #aaa;
}

.pg_title {
    padding-bottom: 30px;
    text-align: center;
}

body::before {
    content: "";
    display: table;
}

.gallery_img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.gallery_text {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 0;
    color: #fff;
    background: rgba(0,0,0,.5);
    text-transform: uppercase;
    transition: height .5s;
    bottom: 0;
    overflow: hidden;
}

.gallery_elem:hover .gallery_text {
    height: 100%;
}

.elem_content {
    display: none
}

.back_gallery {
    position: absolute;
    right: 0;
    padding: 5px;
    z-index: 10;
    top: 0;
    cursor: pointer;
}

.inner_gallery {
    min-height: 600px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.half_width_col {
    float: left;
    width: 50%;
    padding: 0 15px;
}

a {
    color: #009681;
    transition: .3s color;
}

a:hover {
    color: #000;
}

.gallery_text span {
    display: block;
    padding: 15px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.previous, .next {
    cursor: pointer;
    position: absolute;
    height: 100%;
    width: 10%;
    transition: background .5s;
    top: 0;
    text-align: center;
    background: rgba(255,255,255,0);
}

.previous {
    left: 0;
}

.next {
    right: 0;
}

.previous:hover, 
.next:hover {
    background: rgba(255,255,255,.2);
}

.previous i, .next i {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    width: 50px;
    height: 50px;
    background: 
    #fff;
    text-align: center;
    border-radius: 50%;
    padding-top: 10px;
}

.inner_gallery::before {
    z-index: -1;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background-image: url('/imgs/loading.gif');
    background-position: center;
    background-repeat: no-repeat;
}

.main_content .container {
    overflow: hidden;
    position: relative;
}

.wrapper_toggled {
    display: none;
}

.toggled {
    display: block;
}

.main_content {
    overflow: hidden;
    position: relative;
}

.gallery_elem::before {
    z-index: -1;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background-image: url('/imgs/loading.gif');
    background-position: center;
    background-repeat: no-repeat;
    left: 0;
}

.project {
    padding: 40px 20px 20px;
}