﻿
.tabs_accordion {
    display: block;
    margin: 0 auto;
    max-width: 1200px;
}

    .tabs_accordion p {
        margin: 0;
    }

    .tabs_accordion > input {
        display: none;
    }

        .tabs_accordion > input:nth-child(1):checked ~ ul.tabs > li:nth-of-type(1) {
            font-weight: bold;
        }

        .tabs_accordion > input:nth-child(1):checked ~ div.content > label:nth-of-type(1) {
            font-weight: bold;
            margin-bottom: 0;
        }

        .tabs_accordion > input:nth-child(1):checked ~ div.content > div:nth-of-type(1) {
            /*display: block;*/
            border-top: none;
            background-image: url(/globalassets/images/homepage-callcenter-tab.jpg?id=13314);
            min-height: 380px;
            background-repeat: no-repeat;
        }

        .tabs_accordion > input:nth-child(2):checked ~ ul.tabs > li:nth-of-type(2) {
            font-weight: bold;
        }

        .tabs_accordion > input:nth-child(2):checked ~ div.content > label:nth-of-type(2) {
            font-weight: bold;
            margin-bottom: 0;
        }

        .tabs_accordion > input:nth-child(2):checked ~ div.content > div:nth-of-type(2) {
            /*display: block;*/
            border-top: none;
            background-image: url(/globalassets/images/homepage-selfservice-tab.jpg?id=13312);
            min-height: 380px;
            background-repeat: no-repeat;
        }

        .tabs_accordion > input:nth-child(3):checked ~ ul.tabs > li:nth-of-type(3) {
            font-weight: bold;
        }

        .tabs_accordion > input:nth-child(3):checked ~ div.content > label:nth-of-type(3) {
            font-weight: bold;
            margin-bottom: 0;
        }

        .tabs_accordion > input:nth-child(3):checked ~ div.content > div:nth-of-type(3) {
            /*display: block;*/
            border-top: none;
            background-image: url(/globalassets/images/homepage-customeroutreach-tab.jpg?id=13311);
            min-height: 380px;
            background-repeat: no-repeat;
        }

        .tabs_accordion > input:nth-child(4):checked ~ ul.tabs > li:nth-of-type(4) {
            font-weight: bold;
        }

        .tabs_accordion > input:nth-child(4):checked ~ div.content > label:nth-of-type(4) {
            font-weight: bold;
            margin-bottom: 0;
        }

        .tabs_accordion > input:nth-child(4):checked ~ div.content > div:nth-of-type(4) {
            /*display: block;*/
            border-top: none;
            background-image: url(/globalassets/images/homepage-wfo-tab.jpg?id=13313);
            min-height: 380px;
            background-repeat: no-repeat;
        }

        .tabs_accordion > input:nth-child(5):checked ~ ul.tabs > li:nth-of-type(5) {
            font-weight: bold;
        }

        .tabs_accordion > input:nth-child(5):checked ~ div.content > label:nth-of-type(5) {
            font-weight: bold;
            margin-bottom: 0;
        }

        .tabs_accordion > input:nth-child(5):checked ~ div.content > div:nth-of-type(5) {
            /*display: block;*/
            border-top: none;
            background-image: url(/globalassets/images/homepage-cloudinfrastructure-tab.jpg?id=13315);
            min-height: 380px;
            background-repeat: no-repeat;
        }

    .tabs_accordion ul.tabs {
        display: table;
        width: 100%;
        display: none;
        background-color: #deeab4;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        -moz-user-select: -moz-none;
        -ms-user-select: none;
        -webkit-user-select: none;
        user-select: none;
        color: #333333;
        font-size: 16px;
    }

        .tabs_accordion ul.tabs li {
            display: table-cell;
            cursor: pointer;
            width: 238px;
            position: relative;
        }

            .tabs_accordion ul.tabs li label:active {
                background-color: #8cd600;
            }

            .tabs_accordion ul.tabs li label {
                display: block;
                height: 75px;
                padding: 20px;
                text-align: center;
                border-left: 2px solid #c8c8c8;
                margin: 0px 0;
                box-sizing: border-box;
                cursor: pointer;
                font-weight: bold;
            }

                .tabs_accordion ul.tabs li label:focus {
                    background-color: #8cd600;
                }

                .tabs_accordion ul.tabs li label:active {
                    background-color: #8cd600;
                }

            .tabs_accordion ul.tabs li:hover {
                background-color: #8cd600;
                color: #FFFFFF;
            }

            .tabs_accordion ul.tabs li:first-child label {
                border-left-color: transparent;
            }

    .tabs_accordion div.content > label {
        display: block;
        background-color: #deeab4;
        padding: 20px;
        cursor: pointer;
        -moz-user-select: -moz-none;
        -ms-user-select: none;
        -webkit-user-select: none;
        user-select: none;
        text-align: center;
    }

    .tabs_accordion div.content > div {
        display: none;
        padding: 10px;
        margin-bottom: 1em;
    }


/* Boxes */

.box-1-tab {
    width: 70%;
    height: 320px; /*270px;*/
    display: block;
    margin: 0 auto;
    background-color: #FFF;
    background: rgb(255, 255, 255); /* older browsers */
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    position: relative;
    font-size: 16px;
    margin-top: 20px;
}


    .box-1-tab strong {
        font-weight: bolder;
        font-size: 23px;
        color: #333333;
    }

    .box-1-tab p {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -40%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        color: #333333;
    }

input[type="radio"] {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

/* Buttons */

.button2 {
    padding: 10px 15px 10px;
    border-radius: 9px;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    border: 1px solid #95D600;
    background: none;
    color: #95d600 !important;
    max-height: 30px;
    height: 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
}

.button1 {
    background-color: #95D600;
    color: #fff !important;
    padding: 10px 15px 10px;
    border-radius: 9px;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    border: 1px solid #95D600;
    max-height: 30px;
    height: 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
}


/* Arrow Controls */

Controls Active .tabs_accordion [id^="tab"]:checked + label {
    background: blue;
    color: #fff;
}

.activeTab {
    background-color: #95d600;
    color: #fff;
}

.tabs_accordion ul.tabs li label:after {
    content: '';
    width: 0;
    height: 0;
    top: 75px;
    left: 50%;
    bottom: 0;
    margin-left: -20px;
    border-color: #95d600 transparent transparent transparent;
    border-style: solid;
    position: absolute;
    border-width: 20px;
    display: none;
}

.tabs_accordion ul.tabs li:hover label:after,
.tabs_accordion ul.tabs li.activeTab label:after {
    display: block;
}

.tabs_accordion ul.tabs li:hover label {
    border-left-color: transparent;
}

.tabs_accordion ul.tabs li:hover + li > label {
    border-left-color: transparent;
}


@media screen and (min-width: 768px) {
    .tabs_accordion ul.tabs {
        display: table;
    }

    .tabs_accordion div.content > label {
        display: none;
    }

    .tabs_accordion div.content > div {
        margin-bottom: 0;
    }

    .box-1-tab {
        float: left;
        width: 40%;
        height: 300px;
        display: block;
        background-color: #FFF;
        background: rgb(255, 255, 255);
        background: rgba(255, 255, 255, 0.9);
        text-align: center;
        position: relative;
        font-size: 18px;
        margin-top: 34px;
        margin-left: 34px;
    }


        .box-1-tab strong {
            font-weight: bolder;
            font-size: 26px;
            color: #333333;
        }

        .box-1-tab p {
            position: absolute;
            top: 50%;
            left: 50%;
            margin-right: -40%;
            transform: translate(-50%, -50%);
            color: #333333;
        }
}

@media screen and (max-width: 767px) {

    .tabs_accordion {
        margin-top: 450px;
    }
}

@media only screen and (device-width:768px) {

    .box-1-tab p {
        /*position: static;*/
        margin-right: -40%;
        margin-top: -10px;
    }

    .box-1-tab {
        padding-right: 120px;
    }
}



/******** BEGIN Delete this after we have fixed the iphone issue with the tabs not opening. This opens all tabs for mobile ********/


/*@media screen and (max-width: 768px) {

.tabs_accordion > input:nth-child(1) ~ ul.tabs > li:nth-of-type(1) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(1) ~ div.content > label:nth-of-type(1) {
  font-weight: bold;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(1) ~ div.content > div:nth-of-type(1) {
  display: block;
  border-top: none;
  background-image:url(/globalassets/images/homepage-callcenter-tab.jpg?id=13314);
  min-height: 380px;
  background-repeat:no-repeat;
}
.tabs_accordion > input:nth-child(2) ~ ul.tabs > li:nth-of-type(2) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(2) ~ div.content > label:nth-of-type(2) {
  font-weight: bold;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(2) ~ div.content > div:nth-of-type(2) {
  display: block;
  border-top: none;
  background-image:url(/globalassets/images/homepage-selfservice-tab.jpg?id=13312);
  min-height: 380px;
  background-repeat:no-repeat;
}
.tabs_accordion > input:nth-child(3) ~ ul.tabs > li:nth-of-type(3) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(3) ~ div.content > label:nth-of-type(3) {
  font-weight: bold;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(3) ~ div.content > div:nth-of-type(3) {
  display: block;
  border-top: none;
  background-image:url(/globalassets/images/homepage-customeroutreach-tab.jpg?id=13311);
  min-height: 380px;
  background-repeat:no-repeat;

}
.tabs_accordion > input:nth-child(4) ~ ul.tabs > li:nth-of-type(4) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(4) ~ div.content > label:nth-of-type(4) {
  font-weight: bold;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(4) ~ div.content > div:nth-of-type(4) {
  display: block;
  border-top: none;
  background-image:url(/globalassets/images/homepage-wfo-tab.jpg?id=13313);
  min-height: 380px;
  background-repeat:no-repeat;

}

.tabs_accordion > input:nth-child(5): ~ ul.tabs > li:nth-of-type(5) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(5) ~ div.content > label:nth-of-type(5) {
  font-weight: bold;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(5) ~ div.content > div:nth-of-type(5) {
  display: block;
  border-top: none;
  background-image:url(/globalassets/images/homepage-cloudinfrastructure-tab.jpg?id=13315);
  min-height: 380px;
  background-repeat:no-repeat;
}
    
}*/
/******** END Delete this after we have fixed the iphone issue with the tabs not opening ********/

/*Changes made by Adage Technologies*/

@media screen and (max-width: 768px) {
    .tab-label + .tab-content-wrapper {
        display: block !important;
        overflow-y: hidden;
        opacity: 0;
        min-height: 0 !important;
        max-height: 0;
        transition: all .2s ease-in-out;
    }

        .tab-label + .tab-content-wrapper.active-tab {
            opacity: 1;
            max-height: none;
        }

    .tab-label {
        border-bottom: 1px solid #fff;
        z-index: 10;
        position: relative;
    }

        .tab-label:first-child {
            border-top: 1px solid #fff;
        }

        .tab-label:after {
            content: ">";
            position: absolute;
            right: 15px;
            font-size: 20px;
        }

        .tab-label.active-label:after {
            transform: rotate(90deg);
        }

    .tab-content-wrapper {
        margin-bottom: 0 !important;
        padding: 0 !important;
        background-position: center;
        background-size: cover;
        border-bottom: 1px solid #fff;
    }

    .tab_1-content-wrapper {
        padding-top: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .box-1-tab {
        margin-bottom: 20px !important;
    }

    .tab_1-content-wrapper .box-1-tab {
        overflow: hidden;
        margin-top: 0;
        padding: 0;
        margin-bottom: 30px !important;
    }

    .tab-content {
        padding: 10px;
    }
}

.tab_1-content-wrapper .box-1-tab {
    overflow: hidden;
}
