/* Generic button text block */
.vertical-list.generic-btn-text-list {
    float: left;
    width: 100%;
}

#locationDetail {
    float: left;
    width: 100%;
    margin-top: 20px;
}

.vertical-list .generic-btn-text-item {
    border: 1px solid #CCC;
    float: left;
    height: auto;
    padding: 18px;
    margin-right: 40px;
    margin-bottom: 10px;
    width: 324px;
    overflow: hidden;
    border-radius: 10px;
}

    .vertical-list .generic-btn-text-item h3 {
        margin-top: 0px;
        font-family: arial, helvetica;
        font-size: 18px;
        font-weight: bold;
        min-height: 44px;
    }

    .vertical-list .generic-btn-text-item.last {
        margin-right: 0px;
    }

    .vertical-list .generic-btn-text-item .black-button {
        background-image: none;
        padding-left: 10px;
        display: block;
        text-align: center;
    }

    /* Scroll bar style */
::-webkit-scrollbar {
    -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
    width: 12px;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    /*border: 2px solid #ffffff;*/
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

    /* Link style with Image */
a.link-img {
  padding-right: 22px;
  background: url(/images/icon-link-img.png) no-repeat center right;
  background-size: 18px 18px;
}

/* select box styled */
.styled-select-box {
    display: inline-block;
    width: 313px;
    height: 35px;
    overflow: hidden;
}

    .styled-select-box select {
        background: transparent;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: 1px solid #CCC;
        width: 100%;
        height: 35px;
    }

/* Generic Text Block */
.generic-text-list {
    display: inline-block;
    /*margin-bottom: 15px;*/
}

    .generic-text-list .generic-text-item {
        float: left;
        width: 30%;
        margin-right: 3%;
    }

        .generic-text-list .generic-text-item p:last-child {
            font-style:italic;
        }

/* Refine Results Block */
.refine-results-panel {
    background: #f1f2ed;
    padding: 10px 10px 7px 10px;
}

    .refine-results-panel label {
        float: left;
        margin: 5px 25px 0 5px;
        font-family: 'PFCentroSlabPro';
        font-size: 20px;
    }

    .refine-results-panel .styled-select-box {
        width: 237px;
    }

        .refine-results-panel .styled-select-box.first {
            margin-right: 35px;
        }

        /* Search Panle Style */
.search-panel {
  display: block;
  padding: 10px 0 30px 0px;
  text-align: center;
}

.red-button {
  background:#dd0920 url('/images/white-arrow.png') no-repeat 10px 5px;
  padding: 3px 10px 3px 40px;
  display: inline-block;
  vertical-align: middle;
}
.search-panel label {
  display: inline-block;
  vertical-align: middle;
}
.search-panel .text-box {
  display: inline-block;  
  margin-right: 10px;
  /*width:290px;*/
  color: #666;
}
#errormessage {
  display: block;
  color: red;
  padding-left: 35px;
}

#errorcountrymessage {
  display: block;
  color: red;
}
.ro-search-page ul.horizontal-list li {
    line-height: normal;
}


/* Test Centre List Table */
table.test-centre-listing {
    width: 100%;
}

    table.test-centre-listing th {
        background: #f1f1ed;
        padding: 25px 12px;
        border-top: 1px solid #CCC;
        font-family: 'PFCentroSlabPro';
    }

    table.test-centre-listing td {
        padding: 15px;
        border-top: 1px solid #CCC;
        font-weight: bold;
    }

        table.test-centre-listing td a:hover {
            text-decoration: underline;
        }

        table.test-centre-listing td .mobile-view {
            display: none;
            font-family: 'PFCentroSlabPro';
        }

        table.test-centre-listing td .black-button {
            float: right;
        }

.centre-information-list {
    display: block;
}

    .centre-information-list .centre-information-item-left {
        display: inline-block;
        width: 62%;
        padding-right: 2%;
        vertical-align: top;
    }

    .centre-information-list .centre-information-item-right {
        display: inline-block;
        width: 35%;
        vertical-align: top;
    }

        .centre-information-list .centre-information-item-right .black-button {
            display: block;
        }

/* Pagination Style */
.paging-block {
  display: inline-block;
  width: 100%;
  padding: 20px;
  text-align: center;
}
.paging-block a{
  display: inline-block;
  margin: 0 5px;
  color: #DC0B22;
  text-decoration: none;
}
.paging-block a.prev{
  margin-right: 10px;
}
.paging-block a.next{
  margin-left: 10px;
}
.paging-block a.current {
  color: #000;
}

/* Link Text Block */
.link-txt-block {
  display: block;
  padding: 20px;
  background: #F1F1ED;
}
.link-txt-block a{
  color: #000;
  background: url(/images/arrow.png) no-repeat 0px 2px;
  padding-left: 30px;
}

/* Filter Arrow Style */
.filter-arrow {
  display: inline-block;
  border: 1px solid #000;
  vertical-align: middle;
  padding: 2px;
  width: 8px;
  height: 7px;
  text-decoration: none;
  cursor: pointer;
}
.filter-arrow.down {
  background: url(/images/redArrowS.png) no-repeat 2px 3px;
}
.filter-arrow.up {
  background: url(/images/redArrowU.png) no-repeat 2px 2px;
}
.rosearchresult .table-row{
   display:table;
   width:100%;
}
.ro-results-sort-by{
        display: none;
    }

/* Tablet Media Query Portrait */
@media only screen and (min-width :768px) and (max-width :1023px) {
    .vertical-list .generic-btn-text-item {
        width: 283px;
    }

    .refine-results-panel .styled-select-box {
        width: 216px;
    }

   .search-panel {
    padding: 0px 0 20px 20px;
  }
   #errormessage {
      padding-left: 8px;
    }
}

/* Mobile Media Query */
@media only screen and (max-width :767px) {
    .whole-page-width.content-div-gray {
        margin-top: 20px;
    }

    #locationDetail {
        margin-top: 0;
    }

    #testlocation .height-30 {
        display: none;
    }

    .vertical-list .generic-btn-text-item {
        display: inline-block;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .generic-text-list .generic-text-item {
        float: none;
        width: auto;
    }

    .refine-results-panel {
        padding: 0 0 20px 0;
    }

        .refine-results-panel label {
            float: none;
            margin: 0 0 10px 0;
            padding: 15px;
            display: block;
            background: #dc0b22 url(../images/white-up-arrow.png) no-repeat 96% 15px;
            color: #FFF;
        }

        .refine-results-panel .styled-select-box {
            width: 250px;
            margin: 10px 15px 0 15px;
        }

    table.test-centre-listing tr.first {
        display: none;
    }

    table.test-centre-listing tr {
        display: block;
        margin-bottom: 20px;
        background: #f1f1ed;
        border: 1px solid #CCC;
        padding: 0px 15px;
    }

        table.test-centre-listing tr td:first-child {
            border-bottom: 1px solid #CCC;
        }

    table.test-centre-listing td {
        display: block;
        border: none;
        padding: 15px 0px;
        width: 100%;
    }

        table.test-centre-listing td .mobile-view {
            display: block;
        }

        table.test-centre-listing td .black-button {
            float: none;
        }

    .centre-information-list .centre-information-item-left {
        display: block;
        width: 98%;
    }

    .centre-information-list .centre-information-item-right {
        display: block;
        width: 100%;
    }

    .tc-details .centre-information-item-right {
        float: left;
    }
    /* Tabular data */
    .table-wrap {
        /*max-height: 380px;*/
        overflow: auto;
    }
      .table-wrap table {
    min-width: 760px;
  }
        .table-wrap.column-fixed {
            border: 1px solid gray;
            margin-left: 8.2em;
        }

    table.tabular-data {
        border: none;
        margin-top: -1px;
         min-width: 320px;
    }

    .tabular-data td, .tabular-data th {
        white-space: nowrap;
        border: none;
        border-top: 1px solid gray;
        border-right: 1px solid gray;
         height: 18px;
    }

    .tabular-data tr td:last-child, .tabular-data tr th:last-child {
        border-right: none;
    }
      .tabular-data tr:first-child td.mobile-column {
            border-top: 1px solid gray;
        }

    .tabular-data tr:last-child td.mobile-column {
        border-bottom: 1px solid gray;
    }

    .tabular-data .mobile-column {
        position: absolute;
        min-width: 7em;
        left: 20px;
        top: auto;
        background: #FFF;
        border-left: 1px solid gray;
        height: 28px;
    }
     .search-panel label {
        margin-right:0px;
    }
    .search-panel .text-box {
        width:232px;
        display:block;
        margin:0 auto;
    }
    .search-panel .text-box, .search-panel .red-button {
        margin-top:10px;
    }
    .red-button{
        padding:3px 10px 2px 40px;
    }
    #errormessage {
      padding-left: 0px;
    }
    .rosearchresult .table-row.header{
       display:none;
    }
    .ro-results-sort-by{
        display: block;
        padding-top: 15px;
    }
    .ro-results-sort-by label{
        display: block;
        margin-bottom: 10px;
    }
    /*.tabular-data .mobile-view-head:before {content: ' ';}*/
}

/* Mobile Media Query Portrait */
@media only screen and (max-width :479px) {
    .vertical-list .generic-btn-text-item {
        width: 240px;
        padding: 15px;
    }

    .styled-select-box {
        width: 280px;
    }

    .facebook-footer iframe {
        width: 195px !important;
    }

    .vertical-list .generic-btn-text-item.last {
        /*margin-bottom: 10px;*/
    }

    .tc-details .centre-information-item-right {
        width: auto;
    }

    /* Search Panle Style */
  .search-panel {
    padding: 0px;
  }
  .search-panel label, .search-panel .text-box,  .search-panel .red-button{
    float: none;
    margin-right: 0;
  }
  .search-panel .text-box {
    margin: 10px auto 0px auto;
    width: 230px;
  }
  .search-panel .red-button {
    margin-top: 10px;
    padding: 3px 10px 2px 40px; 
  }
}
/* syle change for andriod only */
@media screen and (min-resolution: 192dpi) {
  .tabular-data .mobile-column {
    height: 27px;
  }
}