/* ExOffender CSS */
#slideshow, #slideshow > div {
    width: 100% !important;
    margin: auto;
    max-width: 1040px;
    height: 400px !important;
    /*background-size: inherit;*/
}

    #slideshow > div {
        background-position: inherit;
        background-repeat: no-repeat;
        /*background-size: inherit;*/
    }

 /*Styles for Local training finder search button and radius dropdown*/
cssV2 .grid {

    padding-top: 10px !important;
}

.res-select
{

border:0px !important;
}

.field-distance
{
margin-top:-5px !important
}


.res-grid {
margin-top: 20px !important;
}
 /*end of styles for radius dpd and search button*/

@media only screen and (min-width : 737px) {
    #slideshow, #slideshow > div > img {
        display: block !important;
    }
}

#pager {
    padding-right: 0px !important;
}

.three-columns {
    margin-top: 15px !important;
}

#sidebar {
    margin-top: 2%;
}

#content-column {
    margin-top: 2%;
}

.three-columns {
    max-width: none !important;
}

#slideshow-pager {
    padding-right: 0px;
}

.topic-box {
    width: 32.4%;
}

@media only screen and (max-width: 665px) {
    #slideshow {
        display: none;
    }

    #content-column {
        padding-left: 11px;
    }

    .VeteransEmploymentTopNavigation {
        height: 0px;
    }
}

@media only screen and (max-width: 1024px) {

    #slideshow-pager {
        padding-right: 0px;
    }

    @media only screen and (max-width: 736px) {

        #slideshow-pager {
            padding-right: 0px;
        }

        .grey-box p a {
            word-wrap: break-word;
        }
    }

    #slideshow, #slideshow > div {
        height: 300px !important;
    }
}

/* Ipad Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .topic-box {
        width: 32%;
    }

    #slideshow-pager {
        padding-right: 8px;
    }

    #slideshow, #slideshow > div {
        background-size: inherit;
        height: 400px !important;
    }

        #slideshow > div {
            background-size: inherit;
        }
}
/*Ipad Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {
    #sidebar {
    }
}

@media only screen and (max-width: 640px)
{
#top-search input[type="text"]
{
font-size: 13px !important;
}
}

/*Exoffender and Business Center Home page Main content boxes styling*/

      .three-columns {
      margin-top: 49px;
      }

      .topic-box .topic-header {
      background-color: #bfd0df;
      color: #004481;
      }

      .topic-box .topic-content {
      background-color: #e5eaed;
      min-height:150px;
      }
      @media only screen and (min-device-width: 375px) and (max-device-width: 667px){
      .three-columns {
      margin-top: 10px;
      }

      }
      @media only screen and (max-width: 640px)
      {
      .three-columns {
      margin-top: 2px;
      }
      }