/**
 * Theme Name:   Foundation
 * Theme URI:    http://foundation.zurb.com/
 * Author:       ZURB.Foundation
 * Author URI:   http://foundation.zurb.com/
 * Version:      5.5.1
 * License:      GNU General Public License v2
 * License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 * Description:  Fully Responsive WordPress Theme
**/


/* -----------------------------------------
   WordPress Core Classes
----------------------------------------- */
.alignnone {margin: 0 1em 1em 0;}
.alignright {float:right; margin:0 0 1em 1em}
.alignleft {float:left; margin:0 1em 1em 0}
.aligncenter {display: block; margin-left: auto; margin-right: auto}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption.alignnone {margin: 0 1em 1em 0;}
.wp-caption.alignleft {float:left; margin:0 1em 1em 0}
.wp-caption.alignright {float:right; margin:0 0 1em 1em}
.wp-caption-text {  }
.sticky {  }
.gallery-caption {  }
.bypostauthor {  }
body#tinymce.wp-editor {
    font-family: Arial, Helvetica, sans-serif;
    margin: 10px;
}
body#tinymce.wp-editor a {
    color: #4CA6CF;
}
/* -----------------------------------------
   General fixes
----------------------------------------- */
#wpadminbar {
    opacity: 0.3;
    transition: 0.2s opacity linear;
    -webkit-transform: translateZ(0);
}
#wpadminbar:hover, 
#wpadminbar:focus{ opacity: 1; }
body {-webkit-font-smoothing: antialiased;background: #fff;}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=button] {	
    -webkit-appearance: none;
    -moz-appearance:none;
}

/* Placeholder Styling */
::-webkit-input-placeholder { color: #333; }
::-moz-placeholder          { color: #333; }
::-o-placeholder            { color: #333; }
:-ms-input-placeholder      { color: #333; }
input:-moz-placeholder      { color: #333; }

/* Input Styling */
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea { /* STYLES GO THERE */ }
embed, iframe, object { max-width: 100%; }

/* Align Middle */
.align-middle {
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}
/*Centered FlexBox crossbrowser*/
.centered-flexbox {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    text-align: center;
}


/* -----------------------------------------
   Typography
----------------------------------------- */
a:focus {outline:none;}
p:empty {display: none;}
body,h1,h2,h3,h4,h5,h6,p,a {font-family:'Lato';}
h1,h2,h3,h4,h5,h6{font-weight: 400;}
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}


/* -----------------------------------------
    Clearfix
----------------------------------------- */
.clearfix:before, .clearfix:after {
    content: "\0020";
    display: block; 
    height: 0; 
    overflow: hidden;
}
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* ------------------------------------
    Slider
------------------------------------- */
#home-slider .slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 500px;
    text-align: center;
    background: rgba(0, 0, 0, .6);
    
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);

    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;

    padding: 5px 10px;
}
#home-slider .slider-caption p,
#home-slider .slider-caption h3 {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.slider-caption h3 {
    font-size: 24px;
}

@media only screen and (max-width: 40em) {
    #home-slider .slider-caption{
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        background: #000;
        transform: translate(0,0);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        -ms-transform: translate(0,0);
        -o-transform: translate(0,0);
    }
    #home-slider .slick-prev, .slick-next{
        display: none !important;
    }
    #home-slider .slider-caption p{
        font-size: 12px;
        text-shadow: none;
        font-weight: 600;
    }

}
/* ------------------------------------
    Basic Styles
------------------------------------- */
.ordinary_button {
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #fff;
    font-size: 18px;
    width: 55%;
    display: block;
    padding: 1.1em;
    text-align: center;
    border-radius: 5px;
    margin-bottom:3.5em;
}
.ordinary_button_small {
    background-color: #7b7b7b;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    padding: 0.60em 3.5em;
    text-align: center;
    border-radius: 5px;
    display: block;
    width: 68%;
    margin: auto;
}
.ordinary_button_small:hover,
.ordinary_button_small:focus {background-color: #7b7b7b;color:#fff;}
.welcome_part {
    background-image:url("../../uploads/2016/08/welcome_part.jpg");
    height: auto;
    background-size: cover;
    background-attachment: fixed;
}
.welcome_part .text_wrapper {padding: 3em 10em 2em 5em;}
.logo-wrapper {text-align:center;margin-bottom: 3em;}
.white_bg {background-color: #fff;}
.no-padding {padding:0;}
.clear {clear:both;}
.homeurl {
    padding: 20% 20% 10% 20%;
    top: 0;
    position: absolute;
    left: 0;
    right: 0;
}
/* ------------------------------------
    Header Styles
------------------------------------- */
.phone_block {background-color: #48375d;text-align: center;}
.phone_block p {
    font-weight: bold;
    color: #fff !important;
    font-size: 1.125em !important;
    letter-spacing: 0.5px;
    margin-bottom: 0 !important;
    line-height: 1em !important;
    display: inline-block;
    padding:20px 0;
}
.phone_block p a {color: #fff;font-size: 1.425em;}
.phone_block p.consult-btn {
    margin: 0;
    padding: 5px 11px;
    background-color: #00aff0;
}
.phone_block p.consult-btn a {
    font-size: inherit;
}
header .social-icons a {
    width: auto;
    margin-right: 5px;
    line-height: 3.8;
    width: 15%;
}
#mega-menu-wrap-header-menu #mega-menu-header-menu {text-align: center;}
span.mega-toggle-label {display: none;}
.navigation {background-color:#fff;}
.widget_gtranslate .large-7 a.nturl {
    display: inline-block;
    margin: 0 4% 0 0;
    max-width: 20%;
}
.widget_gtranslate{ padding-top:14px}
.widget_gtranslate select { font-size: .8rem;}
.widget_gtranslate select {font-size: .8rem;max-width: 163px;display: inline-block; margin: 0;}
.widget_gtranslate a.glink img{width: 36px;}
.widget_gtranslate a { margin-right: 6px;}
.widget_gtranslate > br {display: none;}
header .languages .wop_wide1 ul{ margin-bottom:5px}
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-flyout ul.mega-sub-menu {width: 22vw;}
#mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-1:before,
#mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-1:after {
    color: #48375d;
}
.lang ul {margin-left:0;}
/* ------------------------------------
    Content Styles
------------------------------------- */

/* Homepage style */
.slide {
        padding: 50px 0 35px 0;
}
.slide .logo-wrapper {
    text-align:center;
    margin-bottom: 3em;
}
.slide .text-wrapper p,.advert_message p {
    font-size: 18px;
    width: 60%;
    line-height: 1.4;
}
.slide .text-wrapper .h1 p,.advert_message .h1 p {
    text-transform: uppercase;
    text-align: left;
    font-size: 1.225em;
    line-height: 1.1;
    width:100%;
}
.slide.white .text-wrapper p,.slide.white .text-wrapper .h1 p {color: #fff;}
.slide.black .text-wrapper p,.slide.black .text-wrapper .h1 p {color: #000;}
.slide .scroll {display: block;text-align: center;}
.member .white_bg {text-align: center;padding: 1em 2em;}
.member .white_bg h3 {font-size: 30px;margin-bottom: 0.25rem;}
.member .white_bg p {text-align: justify;line-height: 1.3;}
.home .welcome_part {padding: 5em 0 11.5em 0;}
.welcome_part .text_wrapper h1 {
    font-weight: 300;
    text-align: justify;
    font-size: 2.725em;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1em;
}
.welcome_part .text_wrapper p {
    color: #505050;
    font-size: 1.225em;
    line-height: 1.8;
    margin-left: 1.5em;
}
.welcome_part .text_wrapper .clients {margin-top: 2em;}
.welcome_part .text_wrapper .clients .large-2 {text-align: center;}
.welcome_part .text_wrapper .clients .large-2:last-of-type {
    float: left;
}
.team .logo-wrapper {margin: 4em 0;}
// .ads {padding: 5em 0 11.5em 0;}
.ads .logo-wrapper {margin:0 0 4em;}
.ads .service {height: 600px;padding: 4em;
}
@media only screen and (max-width: 768px) {
    .ads {
        padding: 5em 0 5em 0;
    }
    .ads .bg-img {
        background-position: 85% center;
    }
    .advert_message p,
    .advert_message .h1 p {
        color: #fff !important;
    }
}
.advert_message p {
    width: 70%;
    color: #000;
    margin: 2em 0;
}
.advert_message .h1 p {
    color: #000;
    margin: 0;
}
.advert_message .ordinary_button {
    width: 65%;
}
.welcome_part .link {
    padding:0;
    height: 175px;
    display:table;
    width: 33.333% !important;
}
.welcome_part .link .ins {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.welcome_part .link .ins .black {
    color: #fff;
    background-color: #000;
    font-size: 1em;
    font-weight: bold;
    width: 41%;
    padding: 0.3em 0;
    margin-top: 1em;
}
.welcome_part .link .ins img {margin-top: 0.4em;}
.welcome_part .widget .ins img {margin-bottom: 0.4em;}
.welcome_part .link .ins .white {
    background-color: #fff;
    font-weight: bold;
    font-size: 1em;
    width: 41%;
    padding: 0.3em 0;
    margin-top: 1em;
}
.welcome_part .widget .white {color:#1439a3;}
.welcome_part .tstm .white {color:#48375d;}
.welcome_part .link h3 {
    text-align: center;
    color:#fff;
    font-weight:300;
    font-size: 1.6vw;
    line-height: 1;
}
.lwl .link h3 {
    text-align: center;
    color:#fff;
    font-weight:300;
    font-size: 1vw;
    line-height: 1;
}
.lwl .link h3 span {font-size: 1.1vw;}
.welcome_part .link h3 span,.lwl .link h3 span {font-weight:bold;}
.page-template-template-interior .welcome_part .link h3 span,
.page-template-template-newsmedia .welcome_part .link h3 span,
.page-template-default .welcome_part .link h3 span {text-transform: uppercase;}
.welcome_part .video {background-color:#000;}
.welcome_part .tstm {background-color:#48375d;}
.welcome_part .widget {background-color:#1439a3;float:left !important;}
.lwl .link {
    padding:0;
    height: 180px;
    display:table;
}
.lwl .link .ins {
    background-size: 90%;
    background-repeat: no-repeat;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 1em;
    background-position: 50%;
}
.lwl .video .ins {background-image:url(../../uploads/2016/08/int_button1_03.jpg);}
.lwl .tstm .ins {background-image:url(../../uploads/2016/08/button_int_03.jpg);}
.lwl .widget .ins {background-image:url(../../uploads/2016/08/button_int_05.jpg);}

/* Interior style */
.page-template-template-interior .title_part,
.page-template-template-newsmedia .title_part,
.page-template-default .title_part {
    background-position: top;
    background-repeat: no-repeat;
}
.title_part .title .page_title {
    text-transform: uppercase;
    text-align: left;
    font-size: 2.2rem;
    line-height: 1.1;
    width: 100%;
    color: #fff;
}
.page-template-template-interior .content_part p,.page-template-template-interior .title_part .large-12 p, .page-template-template-newsmedia .content_part p, .page-template-template-newsmedia .title_part .large-12 p, .page-template-default .content_part p, .page-template-default .title_part .large-12 p, .single-post .archives p,.single-post .archives h6,.archive .art p,.archive .art h6, .media p, .error404 p {
    color: #6e6e6e;
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.single-post .has-post-thumbnail .th {margin-bottom: 1em;}
.title_part p {margin: 1em 0 1em;}
.title_part .title p {
    width: 80%;
    color: #fff;
    font-size: 1.3em;
    line-height: 1.4;
    margin:0;
}
.title_part .title {padding: 4rem 0 0;}
.page-template-template-interior .welcome_part,
.page-template-template-newsmedia .welcome_part,
.page-template-default .welcome_part {
    padding: 6em 0 7em;
    margin-bottom: 4em;
    margin-top: 3em;
}
.page-template-template-interior .welcome_part .text_wrapper h1,
.page-template-template-newsmedia .welcome_part .text_wrapper h1,
.page-template-default .welcome_part .text_wrapper h1 {
    text-align: center;
    font-size: 3.125em;
    letter-spacing: 8px;
}
.page-template-template-interior .welcome_part .text_wrapper, .page-template-template-newsmedia .welcome_part .text_wrapper, .page-template-default .welcome_part .text_wrapper {padding: 3em 6em;}
.page-template-template-interior .welcome_part .text_wrapper p,
.page-template-template-newsmedia .welcome_part .text_wrapper p,
.page-template-default .welcome_part .text_wrapper p {
    font-style: italic;
    width: 90%;
    float: right;
}
.page-template-template-interior .footer-top, .page-template-template-newsmedia .footer-top, .page-template-default .footer-top {margin-top: 4em;}
.content_part h3 {
    color: #000;
    text-transform: uppercase;
    font-size: 1.925rem;
    margin: 0 0 0.8em;
}
.content_part div.bordered {
    border: 2px solid #dbdbdb;
    margin: 0 0 1em;
    padding: 1em 3rem;
    color: #6e6e6e;
    font-size: 1.2em;
    line-height: 1.8;
}
.content_part div.bordered p {
    color: #6e6e6e;
    font-size: 1em;
    line-height: 1.8;
}
.content_part div.bordered ul {
    color: #6e6e6e;
    font-size: 1em;
    line-height: 1.8;
}
.lwl {
    padding-top: 14em;
    background-repeat: no-repeat;
    background-position: center 2vw;
    background-size: 60% auto;
}
.content_part h3 a {color:#000;}
.content_part li a, .ngg-breadcrumb {
    color:#6e6e6e;
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 1rem;
}
/*.content_part li:last-of-type {
    font-size: 1.44em;
    line-height: 1.9;
}*/
.content_part li a i {
    color: #48375d;
    font-size: 0.9rem;
    margin-left: 0.3rem;
}

.content_part p a{ text-decoration: underline; font-weight: bold;}

.content_part p a,.title_part p a {color:#6e6e6e;}
.content_part h3 a:hover,
.content_part li a:hover,
.content_part p a:hover,
.title_part p a:hover {color:#48375d;}
.content_part ol li {
    color: #6e6e6e;
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.page-template-template-interior .welcome_part .text_wrapper ul,
.page-template-template-newsmedia .welcome_part .text_wrapper ul,
.page-template-default .welcome_part .text_wrapper ul {
    font-style: italic;
    width: 90%;
    float: right;
    color: #505050;
    font-size: 1.225em;
    line-height: 1.8;
    margin-left: 1.5em;
}
.page-template-template-interior .welcome_part .text_wrapper ul li, .page-template-template-newsmedia .welcome_part .text_wrapper ul li, .page-template-default .welcome_part .text_wrapper ul li {margin-left: 2em;}
.page-template-template-newsmedia .filtered,.page-template-default .contents,.page-template-default .sidebar, .single .art, .single .sidebar, .archive .art, .archive .sidebar {padding-top: 3em; padding-bottom: 2em;}
.page-template-template-newsmedia #filters {width: 100%;text-align: center;}
.page-template-template-newsmedia #filters li {
    float: none;
    border: none;
    margin: 0 .5em 1em 0;
    display: inline-block;
}
.page-template-template-newsmedia #filters li a:hover {color:#1439a3;}
.header {
	min-height: 340px;
    background-position: top;
    background-repeat: no-repeat;
}
.header .image_logo {
	padding-top: 2em;
    text-align: center;
}
.page-template-default a {color: #1439a3;}
.page-template-default a:hover {color: #48375d;}
.page-template-default .contents p {
    color: #6e6e6e;
    font-size: 1.2em;
    line-height: 1.8;
}
.page-template-default .contents li.single-post {margin-top:1rem;}
.page-template-default .contents li.single-post h4,
.archive h4,
.single h4 {margin-bottom: 0;}
.page-template-default .contents li.single-post .meta,
.archive .art .meta,
.single .meta {
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.single-post .art a,.single-post .art p a,.search a {color: #1439a3;} 
.img-medium {width:100%;}
/* ------------------------------------
    Sidebar Styles
------------------------------------- */
.sidebar h5 {
    color: #000;
    text-transform: uppercase;
    font-size: 1.525rem;
    margin: 0 0 0.8em;
}
.sidebar .widget_search #searchsubmit {
    background: #1439a3;
    color: #fff;
    border: none;
    font-weight: bold;
    font-size: 1em;
    text-transform: uppercase;
}
.sidebar .widget_search #searchsubmit:hover,
.sidebar .widget_search #searchsubmit:focus {background: #48375d;}
.sidebar .widget_search #s {border: 1px solid #1439a3;font-size: 1.2em;}
.sidebar .widget li {font-size: 1.2em;line-height: 1.8;}
.sidebar a,.archive a, .single-media a {color: #1439a3;}
.page-template-template-interior .title_part .lwl .tstm img.img_link, 
.page-template-template-gallery .title_part .lwl .tstm img.img_link, .page-template-template-newsmedia .title_part .lwl .tstm img.img_link, .page-template-default .title_part .lwl .tstm img.img_link, .single .title_part .lwl .tstm img.img_link, .archive .title_part .lwl .tstm img.img_link, .error404 .title_part .lwl .tstm img.img_link, .search .title_part .lwl .tstm img.img_link {width: 1vw;}
/* ------------------------------------
    Form Styles
------------------------------------- */
.wpcf7-form p {margin-bottom:0;}
.wpcf7-form .half {width:48%;}
.wpcf7-form .full {clear: both;}
.wpcf7-form .half.left {float:left;}
.wpcf7-form .half.right {float:right;}
.wpcf7-form label {
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    font-size: 0.8em;
    text-align: left;
    margin-bottom: 1.5em;
}
.wpcf7-form span input,.wpcf7-form span textarea {
    background: #424242;
    border: none;
    height: 3rem;
    margin-bottom: 0;
}
.wpcf7-form span textarea {
    height: 16em;
    resize: none;
}
.wpcf7-form span input:hover,.wpcf7-form span textarea:hover,
.wpcf7-form span input:focus,.wpcf7-form span textarea:focus {
    background: #fff;
    border: none;
    border-radius: 0;
}
.wpcf7-form .wpcf7-submit {
    width: 100%;
    border: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    background-color: #b3b3b3;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2em;
    padding: 0.8em 0;
}
div.wpcf7-response-output {border: none !important;color: #fff !important;}
.math-quiz .wpcf7-quiz-label {display:none;}
.math-quiz label {
    float: left;
    width: 10%;
    margin: 0;
}
.math-quiz label input {
    background-color: #48375d;
    font-size: 1.2em;
    padding: 1.23em 0;
    line-height: normal;
    font-weight: normal;
    height: auto;
    color: #fff;
    text-align: center;
}
.math-quiz label input:hover,
.math-quiz label input:focus {
    background-color: #48375d;
    color: #fff;
    border-radius: 0;
}
.wpcf7-form span.label {
    float: left;
    display: block;
    width: auto;
    text-align: left;
    font-size: 1rem;
    line-height: 1.125;
    padding: 0.6em 0.8em;
    max-width: 50%;
    margin-right: 8%;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}
.wpcf7-form span.label:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    border: 1.75rem solid transparent;
    border-left: 1.7rem solid #48375d;
}
.wpcf7-form .quiz {
    background-color: #48375d;
    color: #fff;
    float: left;
    display: block;
}
.wpcf7-form .num {
    font-size: 1.2em;
    line-height: normal;
    padding: 0.85em 0;
    width: 10%;
}
.wpcf7-form .sign {
    color: #48375d;
    float: left;
    display: block;
    font-size: 1.45em;
    padding: 0.4em 0;
    font-weight: bold;
    width: 6%;
}
span.wpcf7-not-valid-tip {float: left;}
/* ------------------------------------
    Footer Styles
------------------------------------- */
.black-bg {background-color:#000;text-align: center;}
.footer-top {padding: 3.75em 0 5.625em 0;}
.footer-top #Top_footer h2 {
    color:#fff;
    text-transform: uppercase;
    font-weight: 300;
    margin:0;
    padding: 34px 0 50px 0;
    letter-spacing: 1em;
    font-size: 1.98em;
}
.footer-middle .widget-2 {background-color: #48375d;}
.footer-bottom {padding:30px 0;}
.footer-bottom .copyright {text-align: left;}
.footer-bottom .copyright p {
    color: #fff;
    font-size: 1em;
    margin-bottom: 0;
    line-height: 2em;
}
.footer-map {
    height: 100%;
    width: 100%;
    border: 0;
}
.social-icons a {
    display: inline-block;
    width: 18%;
}
footer .widgettitle {
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.6em;
}
footer ul {margin:0;}
footer .widget_text {padding: 1.5em 1em 2em;}
footer #text-3 .widgettitle {color:#031f34;}
footer #text-2 .widgettitle {color:#fff;}
footer #text-2 a {color:#60a6d8;font-size:1rem;}
footer #text-2 a.phone {color:#fff;}
footer #text-3 p {
    margin:0;
    color:#031f34;
    font-size:1.1em;
    display: inline-block;
}
footer #text-3 p:nth-child(odd) {width:40%;}
footer #text-3 p:nth-child(even) {width:60%;}
.footer-middle div.column {height:303px;}
.footer-middle,.footer-middle .widget-1 {padding:0;}
.footer-middle .footer-map {
    background-image:url('/wp-content/themes/foundation/images/tahiri-map.jpg');
    background-position:center center;
}
.footer-middle .footer-map a {
    display:block;
    width:100%;
    height:100%;
}
.blocktype {
    position:relative !important;
    top:0 !important;
    left:0 !important;
    display:inline-block !important;
	margin-bottom:1rem;
}
.block .oneline {display:none;}
.block .oneline.short2 {width:66.666%;}
.block .oneline.short2 .blocktype {width:50%;}
.block .oneline.short1 {width:33.333%;margin: auto;float: none;}
.block .oneline.short1 .blocktype {width:100%;}
.page-template-template-newsmedia .wrapper #filters li a  {
    text-decoration: none;
    display: block;
    font-size: 18px;
    margin: .5em 1em;
    padding: 0;
    color: #000 !important;
}
.page-template-template-newsmedia .block #loadMore {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 2.5rem;
    float: left;
}
.page-template-template-newsmedia .block #loadMore span {
    color: #031f34;
    padding: 0.4rem 2rem !important;
    border: 1px solid #031f34;
    line-height: 1;
    border-radius: 3px;
    text-transform: uppercase;
}
.page-template-template-newsmedia .block #loadMore span:hover,
.page-template-template-newsmedia .block #loadMore span:focus {
    transition: all 0.4s linear;
    color:#fff;
    background-color:#031f34;
}
.page-template-template-newsmedia .block .all .title_post,
.page-template-template-newsmedia .block .all .variety_post {
    text-align: center;
}
.page-template-template-newsmedia .block .all .title_post a {color:#48375d; padding: 0.5rem 0.5rem 0rem 0.5rem;}
.page-template-template-newsmedia .block .all .variety_post a {color:#6e6e6e;padding: 0rem 0.5rem 0.5rem 0.5rem;font-size:small;}
.page-template-template-newsmedia .block .all .image_post {
    text-align: center;
}

/* CMG Form */
#contact-footer input[type="text"],
#contact-footer input[type="email"],
#contact-footer input[type="tel"],
#contact-footer textarea {
    height: 3rem;
    margin-bottom: 0;
    padding: .5rem;
    background: #424242;
    border: 0;
    box-shadow: none;
    color: #fff;
    font-size: 16px;
}

#contact-footer input[type="text"]:focus,
#contact-footer input[type="email"]:focus,
#contact-footer input[type="tel"]:focus,
#contact-footer textarea:focus {
    background: #fff;
    color: #000;
}

#contact-footer input[type="file"] {
    margin: 10px 0 1rem 0;
}

#contact-footer textarea {
    height: 21.5rem;
}

#contact-footer label {
    margin-bottom: 1rem;
    color: #fff;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
}

#contact-footer .mathcaptcha {
    max-width: 540px;
    margin-right: auto;
    margin-left: auto;
}

#contact-footer .arrow {
    font-size: 1rem;
    text-align: center;
    text-transform: none;
}

@media (max-width: 1024px) {
    #contact-footer textarea {
        height: 15.5rem;
    }
}

@media (min-width: 40.063em) {
    #contact-footer .arrow {
        max-width: 242px;
        padding: 0.6em 0.8em;
        background-color: #48375d;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        line-height: 1.125;
        text-align: left;
    }

    #contact-footer .arrow::after {
        content: "";
        position: absolute;
        top: 0;
        left: 250px;
        border: 1.75rem solid transparent;
        border-left: 1.7rem solid #48375d;
    }
}

@media (min-width: 64.063em) and (max-width: 1500px) {
    #contact-footer .arrow {
        max-width: 200px;
        line-height: 1.6;
        font-size: .8rem;
    }

    #contact-footer .arrow::after {
        left: 208px;
    }
}

#contact-footer #mc {
    margin-bottom: 1rem;
}

@media (min-width: 40.063em) {
    #contact-footer #mc {
        padding: .2rem 0;
    }
}

#contact-footer #mc input[type="text"] {
    display: inline-block;
    max-width: 48px;
    background: #48375d;
    color: #fff;
    font-size: 1.7rem;
    text-align: center;
}

#contact-footer #mc span {
    display: inline-block;
    margin: 0 .5rem;
    color: #674697;
    font-size: 1.7rem;
}

#contact-footer #mc input[type="text"]#mc_r:focus {
    background-color: #fff;
    color: #48375d;
}

@media (min-width: 64.063em) and (max-width: 1500px) {
    #contact-footer #mc span {
        margin: 0 .3rem;
    }
}

.contact-subject {
    display: none;
}

.contact-submit {
    width: 100%;
    border: 0;
    height: 4rem;
    background: #B3B3B3;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
}

#contact-footer input[type="submit"] {
    border-radius: 5px;
}

.members h3 + .ordinary_button_small {
    margin-top: 12px;
}

div.nextgen_pro_thumbnail_grid .image-wrapper img {
    background-color: #fff;
    border: 1px solid #a9a9a9 !important;
    display: block;
    margin: 4px 0 4px 4px;
    padding: 4px;
    position: relative;
}

.ngg-pro-album.nextgen_pro_list_album {
    margin: 20px 0;
}

div#npl_button_close {
    font-size: 30px;
}

.page-id-411 .welcome_part h2:first-of-type, .page-id-279 .welcome_part h2:first-of-type, .page-id-292 .welcome_part h2:first-of-type, .page-id-296 .welcome_part h2:first-of-type, .page-id-304 .welcome_part h2:first-of-type, .page-id-316 .welcome_part h2:first-of-type, .page-id-326 .welcome_part h2:first-of-type, .page-id-329 .welcome_part h2:first-of-type, .page-id-337 .welcome_part h2:first-of-type {
    text-align: center;
    font-size: 3.125em;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 1em;
    font-family: 'Lato';
    line-height: 1.4;
    font-weight: 300;
}

