﻿/*
Theme Name: vantage child
Description: Child theme for vantage theme
Author: Paul Bonish
Template: vantage
*/

.widget_sp_image .widget-title {
   display: none;
}


.login-heading {
    height: 40px;
    padding-top: 10px;
    padding-bottom: 4px;
    box-sizing: border-box;
    background-color: #867348;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}

.box-border {
    padding: 10px;
    border-left: solid 1px #000;
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
    border-top: solid 1px #000;
    margin-bottom: 30px;
}

.searchform {
    height: 40px;
    width: 90%;
}

.easy-table th, .easy-table td {
    border: none!important;
}

/*added by PB */

p.wp-caption-text {
    font-style: italic!important;
}

.wpcf7
{
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 10px!important;
}


#responsive-form{
    max-width:500px /*-- change this to get your desired form width --*/;
    margin:0 auto;
    width:100%;
}
.form-row{
    width: 100%;
}
.column-half, .column-full{
    float: left;
    position: relative;
    padding: 0.65rem;
    width:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.wpcf7 input[type="text"] {
    width: 100%;
}

.wpcf7 input[type="email"] {
    width: 100%;
}

.wpcf7 input[type="tel"] {
    width: 100%;
}

.wpcf7-textarea {
    width: 100%;
}

/* end PB */

    /* Wider than 768 (devices and browsers) */
	@media only screen and (min-width: 1201px) {
        #primary {
            padding-left: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            box-sizing: border-box;
            width: 67%!important;
        }

        #secondary {
            width: 33%;
            margin-top: 10px;
            box-sizing: border-box;
        }

        .nivo-caption {
            top: 0px;
            left: 40px!important;
            width: 200px!important;
            opacity:1!important; 
            text-align: center;
            padding: 20px!important;
            background: transparent url('images/slide-cap-bg.png')!important;
            font-size: 20px;
        }

        .metaslider {
            margin-left: -20px;
        }

    }

    /* Tablet landscape 1024 (devices and browsers) */
	@media only screen and (min-width: 960px) and (max-width: 1200px) {
        #primary {
            padding-left: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            box-sizing: border-box;
            width: 67%!important;
        }

        #secondary {
            width: 33%;
            margin-top: 10px;
            box-sizing: border-box;
        }

        .nivo-caption {
            top: 0px;
            left: 40px!important;
            width: 200px!important;
            opacity:1!important; 
            text-align: center;
            padding: 20px!important;
            background: transparent url('images/slide-cap-bg.png')!important;
            font-size: 20px;
        }

        .metaslider {
            margin-left: -20px;
        }
    }

    /* Tablet Portrait size to standard 960 (devices and browsers) */
    @media only screen and (min-width: 768px) and (max-width: 959px) {
        #primary {
            padding-left: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            box-sizing: border-box;
            width: 67%!important;
        }

        #secondary {
            width: 33%;
            margin-top: 10px;
            box-sizing: border-box;
        }

        .news-page-single .entry-title {
            width: 70%!important;
        }
    
        #switcher-wrap { display: none; }

                .nivo-caption {
            min-height: 52px;
            position: relative!important;
            top: 0px!important;
            color: #222!important;
            left: 0px!important;
            width: 100%!important;
            text-align: left!important;
            padding: 6px!important;
            background: none!important;
            font-size: 14px;
        }

        .metaslider {
            margin-left: 0px;
        }
    }


    /* All Mobile Sizes (devices and browser) 767*/
	@media only screen and (max-width: 767px) {
        
        #primary {
            padding-left: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            box-sizing: border-box;
            width: 100%!important;
        }

        #secondary {
            width: 100%;
            margin-top: 10px;
            box-sizing: border-box;
        }

        #switcher-wrap { display: none; }
        
        .nivo-directionNav a {
            display: none!important;
        }

        .nivo-caption {
            min-height: 52px;
            position: relative!important;
            top: 0px!important;
            color: #222!important;
            left: 0px!important;
            width: 100%!important;
            text-align: left!important;
            padding: 6px!important;
            background: none!important;
            font-size: 14px;
        }

        .metaslider {
            margin-left: 0px;
        }

    }

    /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
    @media only screen and (min-width: 480px) and (max-width: 767px) {
        #primary {
            padding-left: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            box-sizing: border-box;
        }

        #secondary {
            max-width: 340px!important;
            margin-top: 10px;
            box-sizing: border-box;
            margin-left: auto;
            margin-right: auto;
        }

        .news-page-single .entry-title {
            width: 60%!important;
        }
    }


    /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
    @media only screen and (max-width: 479px) {
        #primary {
            padding-left: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            box-sizing: border-box;
        }

        #secondary {
            width: 95%!important;
            margin-top: 10px;
            box-sizing: border-box;
            margin-left: auto;
            margin-right: auto;
        }
        
        .news-page-single .entry-title {
            width: 100%!important;
        }
    }

.entry-content .wp-caption {
    padding: 0px;
}

.entry-content p {
//    margin-top: 0px;
}

.entry-content h4 {
    margin-top: 0px;
}


   
body.responsive #page-wrapper {
  max-width: 1024px;
  width: auto;
  overflow-x: hidden;
}

#bm-main-menu {
    margin-top: 1px;
    padding: 0px 35px 0px 35px;
}

.entry-main {
    padding: 10px;
}

#secondary .widget {
    margin: 0px;
}

#masthead {
    padding: 0px;
}

/*------- padding  - bottom of logo ---------------*/
.hgroup { 
    padding: 0px!important;
}

/*------- footer ---------------*/
#colophon {
    background-color: #407b86;
}



#main {
    padding: 0px;
}


.theme-default .nivo-controlNav a {
    background: url('images/bullets-bm.png') no-repeat scroll 0 0 transparent!important;
    //background: none!important;
    border: 0 none;
    display: block;
    height: 22px;
    margin-right: 6px!important;
   /* text-indent: -9999px; */
   text-indent: 0px!important;
    width: 22px;
}

.nivo-control.active {
    color: #ca8f1b!important;

}

/*------------------------------------ navigation ------------------------------------*/
.main-navigation {
    background-color: #407b86;
}

.main-navigation a {
    font-size: 15px;
    color: #fff;
}

.main-navigation ul li a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 28px;
    padding-right: 28px;
}

.main-navigation ul {
    margin: 0px;
    padding: 0px;
}

.main-navigation ul li {
    margin: 0px;
    padding-left: 0px;
    padding-right: 0px;
    border-right: 1px groove #31616a;    
}


.main-navigation ul li:hover > a {
  background: #9b875b;
  color: #FFFFFF;
}

#search-icon #search-icon-icon:hover {
  background-color: #4ec3e0;
}

#footer-widgets .widget {
    color: #fff;
}


/*-------------------- featured videos ----------------------*/
.featured-videos ul {
    margin-left: 0px;
    margin-top: 0px;
}

.featured-videos ul li {
    list-style: none;
    display: inline-block;
}


/*-------------------- typeography ----------------------*/

.latest-news-front h3, .trade-agreements-front h3, .featured-videos-front h3 {
    border-bottom: dashed 1px #000;
    margin-bottom: 10px;
}

h3 {
font-style:bold;
}


/*-------------------- latest news blog list ----------------------*/

.blog-list {
    padding-top: 10px;
    border-top: dashed 1px #aaa;
    border-bottom: none!important;
    margin-bottom: 0px!important;
    padding-bottom: 8px!important;

}

.blog-list .entry-thumbnail {
    width: 28%!important;
}

.blog-list .entry-main {
    width: 71%!important;
    float: left!important;
    box-sizing: border-box;
}

.blog-list .entry-header {
    margin-bottom: 4px!important;
}

.blog-list .entry-meta {
    margin-top: -10px!important;
    font-size: 14px!important;
    color: #aaa!important;
}

.latest-news-title {
    margin-top: 20px;
    margin-bottom: 8px;
}


/*------------------------------ misc ---------------------------------*/

li {
    list-style-image: url('images/bullet-1.png');
}

.click-for-more {
    margin-top: -20px;
}

ul {
    margin: 0;
}


.news-page-single .entry-title {
    width: 90%;
}

.news-page-single .entry-header {
    margin: 0px!important;
}

.news-page-single .entry-content {
    margin-top: 0px;
}

.entry-content .wp-caption:first-child {
    margin-top: 0px;
    margin-right: 5px;
    margin-bottom: 5px;
}


#post-sep {
    border-bottom: dashed 1px #000;
    margin-bottom: 10px;
}

.entry-content .wp-caption {
    border: none;
    box-shadow: none;
}

.wp-caption-text {
    text-align: left;
    font-style: italic;
}

/*-------------------------------------------- language switcher --------------------------------------------*/
#switcher-wrap {
    position: relative;
    margin-top: -34px;
    float: right;
    z-index: 30000;
}

#switcher-wrap a {
    text-decoration: none;
}

#lang-switcher {
    padding: 6px;
    box-sizing: border-box;
    height: 30px;
    width: 100px;
    background-color: #407b86;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
}

/*--------------------------------------------------------- pagination --------------------------------------------------*/
.pagination span, .entry-content .pagination span, .pagination a, .entry-content .pagination a {
    display: inline-block;
    margin: 2px 2px 2px 0px;
    padding: 6px 9px 5px;
    border-width: 1px;
    border-style: solid;
    /*border-color: #D2D2D2 #C3C3C3 #9F9F9F;*/
    border-color: #aaa;
    /*background: -moz-linear-gradient(center bottom , #DFDFDF 0%, #FFF 100%) repeat scroll 0% 0% transparent;*/
    background: none;
    border-radius: 3px;
    font-weight: bold;
    color: #646464;
   /*box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.125), 0px 1px 0px rgba(255, 255, 255, 0.5) inset;*/
   box-shadow: none;
    width: auto;
    text-decoration: none;
}

.pagination a:hover {
    background: none;
    background-color: #3d7783;
    color: #fff;
}