﻿/* ---------- */
/*  Serve Box */
/* ---------- */
@import url('Responsive/Responsive.css');

.ServeBox-Container
{
  display: block;
  margin: 1em auto;
  width: 100%;
  height: auto;
}

.ServeBoxContent-Container
{
  margin: 0 auto;
  display: block;
  float: left;
}

.ServeBox
{
  text-align: center;
  padding: 1em;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid transparent;
  
  float: left;

  transition: border ease-in 200ms;
  -moz-transition: border ease-in 200ms;
  -webkit-transition: border ease-in 200ms;
  -o-transition: border ease-in 200ms;
  -ms-transition: border ease-in 200ms;
}

.ServeBox-Description
{
  width: 100%;
  min-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ServeBox-Description-Link
{
  width: 100%;
  height: auto;
  text-overflow: ellipsis;
  display: block;
}

.ServeBox:hover 
{
  border: 2px solid transparent;
  box-shadow: 0px 0px 5px transparent;
}

.ServeBox:hover .ServeBox-Icon
{
    border: 2px solid #39639a;
    
}

.ServeBox-Icon-Container
{
  height: 100px;
  width: 100px;
  margin: auto;
  
  box-sizing: border-box;

  background-color: #fff;
  border: 3px solid #b22028;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;

  margin-bottom: 1em;  
}

.ServeBox-Icon
{
  background-color: #39639a;
  height: 100%;
  width: 100%;
  margin: auto;
  padding-top: .35em;
  
  display: inline-block;

  border: 2px solid #FFF;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;


  filter: alpha(opacity=30);
  opacity: 0.5;
  
    transition: border ease-in 200ms;
  -moz-transition: border ease-in 200ms;
  -webkit-transition: border ease-in 200ms;
  -o-transition: border ease-in 200ms;
  -ms-transition: border ease-in 200ms;
}

.ServeBox-Font-Icon
{
  color: #fff;  
  font-size: 5em;
  box-sizing: border-box;
  text-align: center;
  display: block;
  
  height: 100%;
  width: 100%;
  line-height: 100%;
}


/* ALTERNATES */
.ServeBox-Alternate.ServeBox-Container
{
  display: block;
  margin: 1em auto;
  width: 100%;
  height: auto;
}

.ServeBox-Alternate .ServeBoxContent-Container
{
  margin: 0 auto;
  display: block;
  float: left;

  /*width: 100%;*/

  padding: .5em !important;
}

.ServeBox-Alternate .ServeBox
{
  text-align: center;
  padding: 1em;

  height: 100%;
  box-sizing: border-box;
  border: 2px solid transparent;

  background-color: #eee;
  

  margin-bottom: .25em;
  margin-top: .25em;
  
  float: left;

  transition: border ease-in 200ms;
  -moz-transition: border ease-in 200ms;
  -webkit-transition: border ease-in 200ms;
  -o-transition: border ease-in 200ms;
  -ms-transition: border ease-in 200ms;
}

.ServeBox-Alternate .ServeBox-Description
{
  width: 100%;
  height: auto;
  overflow: hidden;
  text-overflow: ellipsis;

  min-height: 100px;

  padding-bottom: 1em;
}

.ServeBox-Alternate .ServeBox-Description-Link
{
  width: 100%;
  height: auto;
  text-overflow: ellipsis;
  display: block;
}

.ServeBox-Alternate .ServeBox:hover 
{
  border: 2px solid transparent;
  box-shadow: 0px 0px 5px transparent;
}

.ServeBox-Alternate .ServeBox:hover .ServeBox-Icon
{
    border: 2px solid transparent;
}

.ServeBox-Alternate .ServeBox:hover .ServeBox-Icon .ServeBox-Font-Icon
{
    color: #39639a;
}

.ServeBox-Alternate .ServeBox-Icon-Container
{
  height: 100px;
  width: 100px;
  margin: auto;
  
  box-sizing: border-box;

  background-color: transparent;
  border: 3px solid transparent;

  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;

  margin-bottom: 1em;  
}

.ServeBox-Alternate .ServeBox-Icon
{
  background-color: transparent;
  height: 100%;
  width: 100%;
  margin: auto;
  padding-top: .35em;
  
  display: inline-block;

  border: 2px solid transparent;
  
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;

  /*filter: alpha(opacity=30);
  opacity: 0.5;*/
  
    transition: border ease-in 200ms;
  -moz-transition: border ease-in 200ms;
  -webkit-transition: border ease-in 200ms;
  -o-transition: border ease-in 200ms;
  -ms-transition: border ease-in 200ms;
}

.ServeBox-Alternate .ServeBox-Font-Icon
{
  color: #555;  
  font-size: 5em;
  box-sizing: border-box;
  text-align: center;
  display: block;
  
  height: 100%;
  width: 100%;
  line-height: 100%;
}



.ServeBox-Alternate .ServeBox-Icon-Container > h3
{
    color: #000 !important;
}


/* SERVEBOX-BLOCK */

.ServeBox-Block-Container
{
    display: inline-block;
    margin: 0;
    padding: 0;
    padding-bottom: 1em;

    background-color: #39639a;
    color: #fff;
}

.ServeBox-Block-Container.Alternate {
    background-color: #000;

    background-size: cover;
}

.ServerBox-Block-Container-Image {
    background: url(http://www.naturalhairmag.com/wp-content/uploads/2014/06/Burns-and-whitaker-Professional-Liability-insurance2.jpeg) no-repeat 0 0;
    filter: alpha(opacity=50);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.15);
    opacity: .150;

    width: 100%;
    height: 100%;

    overflow: hidden;
    background-size: 100%;
    position: absolute;
    top: 0;

    display: block;
}

.ServerBox-Block-Header
{
    text-align: center;
    padding: 1em;
    padding-top: 3em;

    margin: 0;
}

.ServerBox-Block-Header h3
{
    color: #fff;
}

.ServerBox-Block-Content
{
    padding-top: 1em;
    padding-bottom: 1em;

    margin: 0;
}

.ServeBox-Block
{
    float: left;
    min-height: 150px;
}

.ServeBox-Block:nth-child(odd)
{
    padding-left: 15%;
}

.ServeBox-Block:nth-child(even)
{
    padding-right: 15%;
}

.ServeBox-Block-Container.Alternate .ServeBox-Block:nth-child(even)
{
    border-left: 1px solid #777;
}


.ServeBox-Block-Left
{
    padding: 0;
}

.ServeBox-Block-Icon-Container
{
    text-align: center;

    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
}

.ServeBox-Block-Icon 
{
    text-align: center;

    border: 1px solid #e7e7e7;

    height: 75px;
    width:  75px;

    border-radius: 50%;
}

.ServeBox-Block-Font-Icon
{
    font-size: 4em;
    margin-top: .06em;
}

.ServeBox-Block-Right
{
    padding: 0;
    padding-left: 1em;
}

.ServeBox-Block-Description {
    font-size: .9em;
}


.ServeBox-Block  h3
{
    color: #fff;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-bottom: .5em;
}

.ServeBox-Block-Description-Link {
    padding-top: 1em;
}

.ServeBox-Block-Description-Link a
{
    text-decoration: none !important;
}

.ServeBox-Block-Description-Link a:hover
{
    color: #910a10;
}

.ServeBox-Block-Container.Alternate .ServeBox-Block-Description-Link a
{
    
}

/*  Alternative Second Serve Boxes - Originally created for SIOP    */
.Servebox-SIOP {
    height: auto;
    display: block;
}

.serviceBox {
    background: #fdfdfd;
    text-align: center;
    padding: 0 0 25px;
    box-shadow: 0 2px 5px 0 #888282;
    border-top: 10px solid #555555;
    margin-top: 55px;
    margin-left: 1em;
    min-height: 610px;
}

.serviceBox .service-icon {
    width: 130px;
    height: 130px;
    line-height: 144px;
    border-radius: 50%;
    background: #fff;
    border: 10px solid #555;
    margin: -65px auto 0;
    position: relative;
}

.serviceBox img {
    margin-top: -4.1em;
}

.serviceBox .service-icon i {
    color: #555;
    font-size: 55px;
}

.serviceBox .service-content {
    padding: 0 25px;
}

.serviceBox .service-content h3 {
    color: #000;
    font: bold 24px/40px 'Montserrat';
    text-transform: uppercase;
    text-align: left;
    margin: 30px 0 10px;
}

.serviceBox .service-content p {
    font-size: 0.750em;
    color: #000;
    margin: 0 0 20px;
}

.serviceBox .read {
    padding: 30px 0;
}

@media screen and (max-width: 990px) {
    .serviceBox {
        margin-top: 80px;
    }
}