/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXX                                                                      XXXX
XXXX                      SITEAPEX STARTER TEMPLATE                       XXXX
XXXX                            MARCH 12, 2013                            XXXX
XXXX                          OSM NETWORKS INC.                           XXXX
XXXX                                                                      XXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/


body {
	margin: 0px;
    
}
.page {
	max-width: 1180px !important;
	margin: 0px auto;
	position: relative;
}
.page_small {
	max-width: 900px !important;
	margin: 0px auto;
	position: relative;
}
#wrapper {
	position: relative;
	height: 100%;
	width: 100%;
	background-color: #fff;
	overflow-x: hidden;
}

/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

.header_container {
    position: fixed;
    width: 100%;
    z-index: 900 !important;
}
.header {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    grid-template-areas: "header_logo navigation social_media";
    justify-content: space-between;
    align-content: center;
    align-items: center;
    width: 100%;
    background-color: none;
    transition: .4s;
}
.header-shrink{
    display: inline-grid;
    grid-template-columns: auto auto auto;
    grid-template-areas: "header_logo navigation social_media";
    justify-content: space-between;
    align-content: center;
    align-items: center;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
    transition: .4s;
}
.header_logo {
    padding: 20px;
    height: auto;
    max-width: 250px;
    position: relative;
    z-index: 9100 !important;
    transition: .4s;
    grid-area: header_logo;
} 
.header_logo-shrink {
    max-width: 120px;
} 
.header_logo p {
    margin: 0px;
}
.header_logo img {
    width: 100%;
    height: auto;
}
.navigation {
    display: flex;
    align-items: center;
    z-index: 9000 !important;
    padding: 10px 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
    transition: .4s;
}
.social_media {
    display: flex;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    padding: 10px 20px;
    opacity: 1;
    transition: .4s;
}
.social_media p, .footer_social_media_plugin p {
    margin: 0;
    padding: 0;
}
.social_media img, .footer_social_media_plugin img {
    margin-left: 10px;
    width: 25px;
    height: 25px;
}
.main_image_container {
    background-image: url("../../images/main-image-background-pattern.jpg");
    background-repeat: repeat;
    padding: 210px 100px 100px 100px;
}
.inner_main_image_container {
    background-image: url("../../images/main-image-background-pattern.jpg");
    background-repeat: repeat;
    padding: 100px;
}
.inner_rotator {
    display: grid;
    grid-template-columns: 45% 45%;
    grid-gap: 80px;
    align-content: center;
    align-items: center;
    justify-content: center;
    /*height: calc(100vh - 80px);
    padding: 40px 80px;*/
    padding: 40px;
    background-color: #fff;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
}
.rotator {
    width: 100%;
}
.rotator_text {
    color: #000;
    /*font-size: 1.2em;*/
}
.rotator_text a, .rotator_text a:visited {
    color: #000;
}
.rotator_text a:hover {
    color: #000;
    text-decoration: none;
}
@media (max-width: 768px) {  
.header {
    display: grid;
    grid-template-columns: auto;
    grid-template-areas: "header_logo social_media" "header_logo navigation";
    justify-content: space-between;
    align-content: space-between;
    width: 100%;
    height: auto;
    min-height: 100px;
} 
.header_logo {
    padding: 10px 20px;
    max-width: 200px;
} 
.social_media {
    display: flex;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
    padding: 0px;
    top: 10px;
    right: 20px;
    opacity: 1;
    transition: .4s;
    position: relative;
}   
.navigation {
    display: flex;
    align-items: center;
    z-index: 9000 !important;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    transition: .4s;
    position: absolute;
    width: 100%;
    bottom: 0;
}  
.hnav {
    width: 100%;
}  
.inner_rotator {
    height: auto;
    grid-template-columns: 1fr;
}  
.main_image_container {
    padding: 140px 40px 40px 40px;
}    
}
@media (max-width: 760px) {
.inner_rotator {
    height: auto;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    display: block;
}
.rotator {
    margin-top: 20px;
}
}
@media (max-width: 450px) {
.navigation {
    align-items: center;
}      
}
.quicklinks_container {
    width: 100%;
    margin-top: -200px;
}
.quicklinks {
    display: grid;
    background-color: #fff;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 40px;
    padding: 40px;
    margin: 0px 40px;
    box-shadow: 0px 0px 12px rgba(0,0,0,.2);
}
.quicklinks_one, .quicklinks_two, .quicklinks_three { 
    text-align: center;
}
.quicklinks heading {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 1em;
} 
.content_container {
    background-color: #fff;
}
.container {
    display: flex;
    justify-content: space-between;
    padding: 40px;
}
.content {
    padding: 80px 40px;
    min-height: 200px;
    /*overflow: auto;*/
}
.sign img {
    filter: invert(36%) sepia(37%) saturate(5892%) hue-rotate(354deg) brightness(86%) contrast(94%);
    padding-top: 60px;
    width: 100%;
    height: auto;
}
.content_inner {
    margin-right: 100px;
}
.content_button {
    background-color: #b2d6f1;
    color: #000;
    text-decoration: none;
    padding: 10px 40px;
    display: inline-block;
    transition: .4s;
    text-shadow: 0px 0px 0px #000;
}
.content_button:hover {
    opacity: .75;
    transition: .4s;
}
.sidebar_container {
    min-width: 265px;
    max-width: 265px;
}
.sidebar_space {
    min-width: 265px;
    max-width: 265px;    
}
.sidebar_plugin1, .sidebar_plugin2, .sidebar_plugin3 {
    display: flex;
    margin-bottom: 20px; 
}
@media (max-width: 770px) {
.container {
    flex-wrap: wrap;
    justify-content: center;
}
.content_inner {
    margin-right: 0px;
}    
.sidebar_container {
    padding-top: 40px;
}    
}
.footer_container {
    background-color: #dccfbf;
    background-image: url("../../images/main-image-background-pattern.jpg");
    background-repeat: repeat;
    width: 100%;
}
.footer {
    display: grid;
    grid-template-columns: repeat(2,auto);
    grid-column-gap: 100px;
    justify-content: space-between;
    padding: 40px;
}
.footer_logo {
    max-width: 250px;
    height: auto; 
    padding-bottom: 20px;
}
.footer_logo img {
    width: 100%;
    height: auto;
}
.footer a, .footer a:visited {
    color: #000;
    text-decoration: none
}
.footer a:hover {
    color: #000;
    opacity: .6;
}
.footer_two img {
    max-width: 25px;
    height: auto;
    margin-right: 10px;
}
.footer_button {
    background-color: #fff;
    color: #000;
    text-decoration: none;
    padding: 10px 40px;
    display: inline-block;
    transition: .4s;
    text-shadow: 0px 0px 0px #000;
}
.footer_button:hover {
    opacity: .75;
    transition: .4s;
}
.copyright_container {
    background-color: #693c26;
}
.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    font-size: 12px;
    color: #fff;
}
.copyright_text {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: #fff;
}
.copyright a, .copyright a:visited {
    color: #fff;
    text-decoration: none
}
.copyright a:hover {
    opacity: .6;
}
.copyright p {
    margin: 0;
}
.copyright_social_media {
    text-align: right;
}
.copyright_social_media p {
    margin: 0px;
} 
@media (max-width: 760px){
.footer {
    grid-template-columns: 1fr;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-items: center;
}
}
@media (max-width: 600px) {
.copyright_text {
    flex-wrap: wrap;
    justify-content: center;
}        
.copyright_text span:first-child {
    margin-bottom: 10px;
}    
}