/*!
Theme Name: Alek
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.0
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/








/*General Layout and website width */

#page-container, #main-header {
    max-width: 80% !important;
}

.et_pb_row, header#main-header .container, #top-header .container, #main-footer .container {
    max-width: 100% !important;
    width: 100% !important;
}

p {
    text-align: justify;
}

.articlesection h3 {
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
}


/*.articlesection:nth-child(2n), .et_pb_section.articlesection.homeicons {
    background: #eee;
}*/

#logo {
    width: auto !important;
    max-width: 170px;
    padding: 5px;
}







/*Header*/
header#main-header.et-fixed-header {
    box-shadow: 0px 0px 16px 2px rgb(80,80,140) !important;
}

.et_header_style_left .logo_container {
    position: relative !important;
}

#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
    top: 15px;
}

















.articlesection, .pageheader, #main-footer, .homeicons, .homewelcome {
    padding-left: 20px !important;
    padding-right: 20px !important;
}












.et_pb_section.articlesection.et_pb_section_1 {
    
}













.et_boxed_layout #page-container {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}









/*Custom Header Design */
.logo_container {
    display: block;
    width: 50%;
}

div#et-top-navigation {
    padding: 0 !important;
    display: block;
}

.logo_container a {
    float: left;
}














div#topheaderlogos img {
    max-height: 65px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: -5px;
    width: auto !important;
}

div#topheaderlogos {
    float: right;
    margin: 1px 0;
}

div#topheaderlogos h3 {
    display: inline-block;
    margin: 0 10px -4px 0;
    text-transform: uppercase;
    border-right: 1px solid rgb(200,200,200);
    padding-bottom: 0;
    padding-right: 5px;
    font-size: 1em;
    max-width: 110px;
    text-align: center;
    line-height: 1.2em;
    font-weight: bold;
}



.topfooterlogos img {
    max-height: 50px;
    float: left;
    display: block;
    margin-right: 10px;
    border-radius: 2px;
}

.textwidget.custom-html-widget {
    display: inline-block !important;
    position: relative !important;
    overflow: auto;
    margin: 0 auto;
    width: auto !important;
}

div#custom_html-4 {
    text-align: center;
    width: 100%;
}









/*Menu*/

div#et-top-navigation li a {
    padding-bottom: 0 !important;
    padding: 15px !important;
    font-size: 1em;
    text-transform: uppercase;
}

ul.sub-menu {
    width: auto !important;
}

ul.sub-menu li a {
    white-space: nowrap;
    width: auto !important;
    min-width: 100% !important;
}

#top-menu li li {
    width: 100% !important;
    padding: 0;
}

#top-menu li li a {
    width: 100% !important;
}

div#et-top-navigation .sub-menu {
    padding: 5px 0 !important;
}

div#et-top-navigation .sub-menu li a {
    font-size: 0.85em !important;
    padding: 2px 20px !important;
}



















/*Page Header*/
.et_pb_section.pageheader {
    padding: 0;
    background: #ffffff;
    border-left: 4px solid #c5c5c5;
}

.et_pb_section.pageheader h1 {
    font-size: 1.4em;
    color: #616161;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 4px solid #129b00;
    display: inline-block;
    padding-bottom: 4px;
}

.et_pb_section.pageheader .et_pb_row {
    padding-bottom: 0;
}

















.single .et_pb_post {
    margin-bottom: 0;
    padding-bottom: 0;
}

#left-area {
    padding-bottom: 0;
}











/*Home Slider*/

.et_pb_section.homeslider .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
}

.et_pb_section.homeslider .et_pb_slide_description {
	padding: 50% 0% 2% 10% !important;
}

.et_pb_section.homeslider {
    margin-top: -20px;
    padding-bottom: 0px !important;
}

.homeslider .et_pb_slide_content {
    display: none !important;
}

.homeslider h2.et_pb_slide_title {
    font-size: 1.4em;
    font-weight: normal;
    background: rgba(34, 171, 115, 0.5);
    display: inline-block;
    width: auto;
    margin: 0 auto;
    color: white !important;
    padding: 5px 10px;
    text-shadow: none !important;
    position: absolute;
    bottom: 50%;
    left: 0;
}

.homeslider .et_pb_slider .et_pb_container {
    max-width: 100% !important;
}

.et_pb_slide_content h3 {
    font-size: 1.4em;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 2px;
    width: auto !important;
    display: inline-block;
}

.et_pb_section.homeslider {
    padding: 0px 0;
}

.homeslider .et_pb_row{
    padding: 0px 0;
}


















/*Home Welcome*/

.et_pb_section.articlesection.homewelcome {
    padding-top: 0;
     z-index: 2;
     background: white;
     margin-bottom: 25px;
}

.homewelcome h1 {
    margin-top: -20px;
    margin-bottom: -10px;
    display: block;
    width: auto;
    padding: 28px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 4px 4px 0 0;
    font-size: 2.2em;
    font-weight: bold;
    text-transform: uppercase;
}

.homewelcome h3 {
    margin: 50px auto -15px;
    font-weight: bold;
    text-transform: capitalize;
    font-style: italic;
    color: #0d518f;
    font-size: 1.6em;
}










.aboutus h3 {
    background: rgb(239, 239, 239);
    padding: 8px;
    border: 1px solid rgb(204, 204, 204);
}



















.et_pb_section.articlesection.categorypage.news img, .et_pb_section.articlesection.categorypage.publications img {
    max-width: 200px;
    float: left;
    margin-right: 15px;
    border-radius: 10px;
    border: 1px solid green;
}

.et_pb_section.articlesection.categorypage.news .et_pb_posts a.more-link,
.et_pb_section.articlesection.categorypage.publications .et_pb_posts a.more-link
{
    display: inline-block;
    clear: none;
    float: left;
    text-transform: capitalize;
    font-size: 0.8em;
    background: #0aa712;
    color: white;
    padding: 0 10px;
}

.et_pb_section.articlesection.categorypage .gallery 
.post-content {
    display: none;
}

















/* Footer */
.et_pb_gutters4 .footer-widget {
    margin: 0 10px 10px 0 !important;
}

#footer-widgets {
    padding: 30px 0 0;
}

#footer-widgets .footer-widget li a:hover {
    color: white !important;
    transition: 0.2s;
}

#footer-widgets .footer-widget li {
    padding-left: 0;
}

#footer-widgets .footer-widget li:before {
    background-color: transparent;
    border-width: 0;
}



.et_pb_gutters4 .footer-widget {
    width: 32% !important;
    margin-right: 2% !important;
}

.et_pb_gutters4 .footer-widget:nth-child(3n) {
    margin-right: 0% !important;
}


span.footer-info.left {
    display: block;
    color: rgb(200,200,200);
    width: 50%;
    font-size: 14px;
}

#footer-info {
    padding-bottom: 0px;
    width: 100%;
    text-align: center;
}

#footer-bottom {
    padding: 3px 0;
}

a.ncl {
    font-size: 14px;
    color: rgb(150,150,150);
    float: right;
    display: block;
    transition: 0.2s;
    width: 100%;
    font-weight: normal;
}

a.ncl:hover {
    color: white;
    text-decoration: underline;
}






















/*Inside pages */

.et_pb_section.articlesection.Sectors .et_pb_column_1_3 .et_pb_widget_area,
.et_pb_section.articlesection.practicearea .et_pb_column_1_3 .et_pb_widget_area  {
    border: 1px solid #263d70;
    background: rgb(240,240,240);
    padding: 20px 0 0 20px;

}

.et_pb_section.articlesection.Sectors .et_pb_column_1_3 .et_pb_widget ,
.et_pb_section.articlesection.practicearea .et_pb_column_1_3 .et_pb_widget{
    margin-bottom: 10px;
    width: 100% !important;
}

.et_pb_section.articlesection.Sectors .et_pb_column_1_3 .et_pb_widget h4,
.et_pb_section.articlesection.practicearea .et_pb_column_1_3 .et_pb_widget h4 {
    font-size: 1.4em;
    background: white;
    border-bottom: 1px solid rgb(210,210,210);
    margin: -20px 0px 10px -20px;
    padding: 20px;
}

.et_pb_section.articlesection.Sectors .et_pb_column_1_3 .et_pb_widget ul li,
.et_pb_section.articlesection.practicearea .et_pb_column_1_3 .et_pb_widget ul li {
    margin-bottom: 2px;
}

.et_pb_section.articlesection.Sectors .et_pb_column_1_3 .et_pb_widget ul li:before, 
.et_pb_section.articlesection.practicearea .et_pb_column_1_3 .et_pb_widget ul li:before {
    position: relative;
 margin-right: 4px;
 font-family: 'ETmodules';
 content: "\3d";
 font-size: 0.9em !important;
 color: #263d70;
}

.et_pb_section.articlesection.Sectors .et_pb_column_1_3 .et_pb_widget ul li:hover,
.et_pb_section.articlesection.practicearea .et_pb_column_1_3 .et_pb_widget ul li:hover {
    margin-left: 2px;
    transition: 0.2s;
}

.et_pb_section.articlesection.Sectors .et_pb_column_1_3 .et_pb_widget ul li:hover a,
.et_pb_section.articlesection.practicearea .et_pb_column_1_3 .et_pb_widget ul li:hover a {
    color: #263d70;
    transition: 0.2s;
}

















.et_pb_column.et_pb_column_1_2.newsevents {
    background: rgb(243, 243, 243);
}

.newsevents h2 {
    font-size: 1.1em;
    background: rgb(90,90,90);
    color: white;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0px 0px 0px;
    border-left: 5px solid #129b00;
    border-right: 5px solid #129b00;
}























.homehighlights img {
    max-width: 140px;
    clear: both;
    border-radius: 50%;
}

.homehighlights .iconsrow .et_pb_text {
    width: 32%;
    float: left;
    margin-right: 0;
}

.homehighlights .et_pb_column_2_3 .iconsrow .et_pb_column_4_4 .et_pb_text:nth-child(3n) {
    margin-right: 0;
}

.homehighlights .iconsrow img, .homehighlights .iconsrow p {
    clear: both;
    margin: 0 auto;
    display: block;
    text-align: center;
    float: none;
    margin-bottom: 15px;
    font-weight: bold;
}

.homehighlights .iconsrow {
    padding: 0;
}

.homehighlights .headerrow {
    padding: 0;
}


























/*Home Icons */

.homeicons, .homehighlights {
    margin-bottom: 25px;
    padding-top: 0 !important;
}

.homeicons .et_pb_row, .homehighlights .et_pb_row {
    padding: 0;
}

.homeicons h2, .homehighlights h2 {
    font-size: 1.1em;
    background: rgb(90,90,90);
    color: white;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0px -20px 15px;
    border-left: 5px solid #129b00;
    border-right: 5px solid #129b00;
}

.homeicons .et_pb_column_1_3 {
    width: 31% !important;
    margin-right: 3.5% !important;
    padding: 10px;
}

.homeicons .et_pb_image {
    margin-bottom: 0px !important;
}

.et_pb_section.articlesection.homeicons.white {
    background: white;
}

.et_pb_section.articlesection.homeicons.white .et_pb_image {
    background: rgb(220,220,220);
}

.homeicons .et_pb_text, .homeicons .et_pb_text p {
    text-align: center;
}

/*.homeicons .et_pb_image {
    border-radius: 50%;
    overflow: hidden;
    padding: 30px;
    background: white;
    height: 160px;
    width: 160px;
    border: 2px solid #263d70;
    margin: 0 auto;
}

.homeicons img {
    max-width: 100px;
    text-align: center;
    margin: 0 auto;
    display: block;
    max-height: 100px;
}*/

.homeicons.dark p, .homeicons.dark h3 {
    color: white;
}

.et_pb_section.homeicons h3 {
    text-align: center;
    font-weight: bold;
    color: #0d518f;
    line-height: 1.5em;
    min-height: 75px;
    text-align: center;
    font-size: 1.2em;
}

.homeicons .et_pb_column_1_3 .et_pb_text {
    padding: 15px;
}

.homeicons .et_pb_button_module_wrapper {
    text-align: center;
}

.homeicons .et_pb_column_1_3 .et_pb_image {
    border: 1px solid rgb(200,200,200);
    border-bottom-width: 0;
}

.homeicons .et_pb_column_1_3 .et_pb_text {
    padding: 15px;
    background: white;
    border: 1px solid rgb(200,200,200);
    border-top-width: 0;
}

.homeicons.white .et_pb_column_1_3 .et_pb_text {
    background: #f1f6f8;
    border-top-width: 0;
}

.homeicons a.learnmore {
    border: 1px solid blue !important;
    font-size: 0.9em;
    margin-top: 0px;
    color: black !important;
    padding: 5px 50px;
}

.homeicons a.learnmore:hover {
    padding: 5px 60px;
}

.homeicons.dark a.learnmore {
    border: 1px solid white !important;
    color: white !important;
}

.homeicons .iconsrow.et_pb_row .et_pb_text {
    margin-top: -1px;
    padding: 15px 10px 10px 10px;
    background: transparent;
    border: transparent;
}

.homeicons .et_pb_module.et_pb_image {
    overflow: hidden;
}

.homeicons .et_pb_module.et_pb_image img {
    opacity: 1;
    transition: 0.4s;
}

.homeicons .et_pb_column:hover .et_pb_module.et_pb_image img {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
}

.homeicons a {
    border: 1px solid black;
    border-radius: 2px;
    padding: 1px 10px;
    color: green;
    background: #f5fff5;
}

.homeicons a:hover {
    color: white;
    background: green;
}


















.et_pb_post_slider.et_pb_bg_layout_dark {
    background: white;
}

.et_pb_bg_layout_dark, .et_pb_bg_layout_dark h1, .et_pb_bg_layout_dark h2, .et_pb_bg_layout_dark h3, 
.et_pb_bg_layout_dark h4, .et_pb_bg_layout_dark h5, .et_pb_bg_layout_dark h6 {
    color: rgb(100,100,100) !important;
}

















.allpagebottomcontact h4 {
    color: white;
    font-size: 3em;
    text-shadow: 1px 1px 1px black;
}

.allpagebottomcontact .et_pb_blurb h4 {
    font-size: 1.1em;
    line-height: 1.3em;
}

.allpagebottomcontact .et_pb_blurb {
    margin-bottom: 10px !important;
}

.allpagebottomcontact .et_pb_blurb .et-pb-icon {
background-color:#b0d06b !important;
border:none !important;
}

.allpagebottomcontact .et_pb_contact p input, .allpagebottomcontact .et_pb_contact p textarea {
    background: rgba(0,0,0,0.2) !important;
}

.allpagebottomcontact .et_pb_contact input:-moz-placeholder  { 
    color: rgba(255,255,255,0.8) !important;
}

.allpagebottomcontact .et_pb_contact input:-ms-input-placeholder
{ 
    color: rgba(255,255,255,0.8) !important;
}

.allpagebottomcontact .et_pb_contact input::-moz-placeholder
{ 
    color: rgba(255,255,255,0.8) !important;
}

.allpagebottomcontact .et_pb_contact input::-webkit-input-placeholder
{ 
    color: rgba(255,255,255,0.8) !important;
}

.allpagebottomcontact .et_pb_contact input::placeholder, 
.allpagebottomcontact .et_pb_contact textarea::placeholder
{ 
    color: rgba(255,255,255,0.8) !important;
}

.belowcontactallpages .et_pb_row {
    padding: 10px 0 0px !important;
}

.et_pb_section.allpagebottomcontact {
    padding-bottom: 50px;
}

.et_pb_section.belowcontactallpages {
    margin-top: -50px !important;
    background: rgba(0,0,0,0.5) !important;
}



















.gallery .et_pb_gallery_item:nth-child(4n+1) {
    clear: none !important;
}

.gallery .et_pb_gallery_item {
    width: 31% !important;
    margin: 0 3.5% 3.5% 0 !important;
}

.gallery .et_pb_gallery_item:nth-child(3n) {
    margin-right: 0 !important;
}

















/*Contact Us*/

.et_pb_contact .et_pb_contact_field_half:nth-child(2n) {
    padding: 0 0 0 2%;
}

.et_pb_contact .et_pb_contact_field_half:nth-child(2n+1) {
    padding: 0;
}

.et_pb_contact p input, .et_pb_contact p textarea {
    font-size: 17px;
    background-color: rgb(248,248,248) !important;
    color: white !important;
    border-radius: 0px;
    padding: 10px 15px;
    border: 1px solid rgb(160,160,160);
}

.et_pb_contact p input:active, .et_pb_contact p textarea:active,
.et_pb_contact p input:focus, .et_pb_contact p textarea:focus {
    background: black !important;
    transition: 0.3s;
    border: 1px solid #2f204f;
}

input.wpcf7-form-control.wpcf7-submit.et_pb_contact_submit:hover,
input.wpcf7-form-control.wpcf7-submit.et_pb_contact_submit:active,
input.wpcf7-form-control.wpcf7-submit.et_pb_contact_submit:focus {
    background: rgb(0,0,0) !important;
    color: white !important;
    transition: 0.3s;
}

p.et_pb_contact_field {
    padding: 0px 0 0 0%;
}

div.wpcf7-response-output {
    margin: 10px auto;
    padding: 5px 18px;
    text-align: center;
    background: #ddefdd;
    font-size: 1.2em;
    width: 100%;
    clear: both;
}

.et_contact_bottom_container {
    width: 100% !important;
}

input.et_pb_contact_submit {
    padding: 10px !important;
    margin: 0px -16px 0px auto !important;
    max-width: 240px;
}

p.submitbutton {
    width: 100% !important;
    display: block;
    clear: both;
    margin-bottom: 10px;
    text-align: right;
}

div.wpcf7 .ajax-loader {
    margin: 12px auto;
}

.et_pb_contact .et_pb_contact_field_half:nth-child(2n) {
   clear: none !important;
}

div.wpcf7-validation-errors {
    border: 2px solid red;
}

div.wpcf7-response-output.wpcf7-validation-errors {
    background: #e5c9c9;
    display: block;
}

.et_pb_contact_right {
    display: none;
}















ul.et-social-icons {
    float: none;
    width: 100%;
    text-align: center;
    padding: 5px 0;
}


















/*Mobile Menu*/
.et_mobile_menu {
    padding: 10px;
    width: auto;
    left: auto;
    right: 0;
    border-top: 3px solid #129b00;

}

div#et-top-navigation .et_mobile_menu li a {
    padding: 8px 18px 8px 8px !important;
    color: #129b00 !important;
}

.mobile_menu_bar:before {
    color: white !important;
}

.et_mobile_menu .menu-item-has-children > a, .et_mobile_menu li a {
    font-weight: 600 !important;
}

.et_mobile_menu li li {
    padding-left: 0;
}

.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {
    padding-bottom: 0;
}






















/*Mobile Menu Collapse / Expand */
#main-header .et_mobile_menu .menu-item-has-children > a 
{   background-color: transparent; 
    position: relative; 
}

#main-header .et_mobile_menu .menu-item-has-children > a:after 
{ 
    font-family: 'ETmodules'; 
    text-align: center; 
    speak: none; 
    font-weight: normal; 
    font-variant: normal; 
    text-transform: none; 
    -webkit-font-smoothing: antialiased; 
    position: absolute;
}

#main-header .et_mobile_menu .menu-item-has-children > a:after {
    font-size: 16px;
    content: '\4c';
    top: 7px;
    right: -3px;
}

#main-header .et_mobile_menu .menu-item-has-children.visible > a:after 
{ 
    content: '\4d'; 
}

#main-header .et_mobile_menu ul.sub-menu 
{  
    display: none !important; 
    visibility: hidden !important;  
    transition: all 1s ease-in-out;
}

#main-header .et_mobile_menu .visible > ul.sub-menu 
{ 
    display: block !important;
    visibility: visible !important;
}

















@media (max-width: 980px)
{


#logo {
    max-height: 80% !important;
}

.et_header_style_left #logo, .et_header_style_split #logo {
    max-width: 80%;
}

.et_pb_section {
    padding: 20px 0;
}

.homeicons .et_pb_row {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}


.et_pb_section.pageheader {
    padding: 140px 0 20px;
}

.et_pb_section.articlesection.Sectors .et_pb_column_1_3 .et_pb_widget_area, 
.et_pb_section.articlesection.practicearea .et_pb_column_1_3 .et_pb_widget_area {
    margin-top: 10px;
}

.et_pb_section.articlesection .et_pb_row {
    padding: 0px 0;
}

}

















@media all and (max-width: 767px) {

.et_pb_section.homeslider .et_pb_slide_description {
    padding: 30% 5% !important;
}

.et_pb_section.pageheader {
    padding: 110px 0 20px;
}

a.ncl, span.footer-info.left,  span.footer-info.left p {
    margin: 0 auto !important;
    width: 100% !important;
    text-align: center !important;
    float: none !important;
}

.et_pb_contact .et_pb_contact_field_half:nth-child(2n) {
    padding: 0 0 0 0%;
}

.et_boxed_layout #page-container, header#main-header {
    width: 100% !important;
    max-width: 100% !important;
}

#logo {
    max-width: 45% !important;
}

.logo_container a {
    float: none;
    text-align: center;
    width: 100%;
    display: block;
    margin-top: -20px;
}

div#topheaderlogos {
    float: none;
    margin: 0 auto;
    display: block;
    text-align: center;
}

div#topheaderlogos img {
    max-height: 50px;
    }

    div#et-top-navigation {
    height: 32px;
}




}


















@media all and (max-width: 479px) 
{

.et_pb_section.homeslider .et_pb_slide_description {
    padding: 36% 4% !important;
}

.et_pb_section.pageheader {
    padding: 80px 0 15px;
}


}