﻿/* Responsive Tabs - menucool.com/jquery-tabs */
.tabs_box p{
	font-family: 'Maven Pro', sans-serif;
	font-size:13px;
	color:#000;
	font-weight:400;
	text-align:left;
	padding:0 0 2% 2%;
	}
ul.rtabs
{
    text-align:left; /*set to left, center, or right to align the tabs as desired*/
    font-size:0; 
    margin:0;
    padding:0; 
   /* padding-left:20px; offset of the first tab when text-align is left.*/
    list-style-type:none;
}
        
ul.rtabs li
{
    margin:0;
    margin-right:2px; /*gap between tabs. Set it to -1px for no gap.*/
    padding:0;
    display:inline;
}
        
ul.rtabs li a
{
    padding:1px 10px; /* It determines tab width */
    display:inline-block;    
    font-weight:400;
    font-size:15px;
    font-family: 'Maven Pro', sans-serif;
    line-height:32px;/* height of tabs */
    text-decoration: none;
    color:#333;
    background:white;
    outline:none;
    border:2px solid transparent;
    border-bottom:none;
    border-radius:5px 5px 0 0;
    position:relative;
    transition: border-color .3s linear;
	text-transform:capitalize;
}
        
ul.rtabs li a:link, ul.rtabs li a:visited
{
    color:#333;
}
        
ul.rtabs li a:hover
{
    border-color: transparent;
    background:white; /*color #2*/
    color:#333;
}
  
/*selected tab style */
ul.rtabs li.selected a
{
    color:#333;
    font-weight:500;
    border-color:#CCC; /*color #1*/
    background:white; /*color #2*/
    z-index:3;
} 
        
/*selected tab style on hover */
ul.rtabs li.selected a:hover
{
    text-decoration:none;
    color:black;
}

/* container of content panels */
div.panel-container
{
    border:none;
    border-top:2px solid #CCC; /*color #1*/
    border-radius:0px; 
    background-color:white; /*color #2*/
    position:relative;    
    padding:0px; margin:0px;
    outline:none;
    margin-top:-2px;
}

/* content panel */       
div.panel-container > div
{
    padding:20px 10px; /*update it to: padding:30px; if you want the content to have a left and padding within the content panel. */
    
    /* The two settings below should not be changed. */
    display: block;
    margin:0px;
} 
div.panel-container div.inactive
{
    display: none;
}    

/* loading image before ajax content is retrieved. Only applicable when Ajax is used.*/
div.ajaxLoading {background:transparent url(loading.gif) no-repeat center center; height:150px; width:20px; font-size:0;padding:0; margin:0 auto; }


/* For mobiles */
@media only screen and (max-width:560px){
    ul.rtabs{
        padding-left:0;
        box-sizing:border-box;
        border-left:2px solid #ccc;
        border-top:2px solid #ccc;
        min-width:260px;
    }

    ul.rtabs li{
        display:inline-block;
        box-sizing:border-box;
        margin-right:0;
        width:50%; /* set it to 100% for one column, 33.33% for three-column */
    }

    ul.rtabs li:last-child:nth-child(odd){
        width:100%;
    }

    ul.rtabs li a {
        background-color:#eee;
        border-top:none;
        border-left:none;
        border-right:2px solid #ccc;
        border-bottom:2px solid #ccc;
        display:block;
        padding:0;
        text-align:center;
        border-radius:0;
    }

    ul.rtabs li a:hover {
        border-color: #ccc;
        background-color:#f6f6f6;
    }

    ul.rtabs li.selected a {
        background-color:#fff;
    }

    div.panel-container {
        border-radius:0;
        min-width:260px;
        box-sizing:border-box;
        border:2px solid #ccc;
        padding:14px;
        width:auto;
    }
}