﻿/** 
    * html elements 
    */

body {
    font-family: Montserrat;
}

h1 {
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 0px;
}

ul { list-style-type:inherit; }

sup {
    vertical-align: top;
    position: relative;
    top: .5em;
}

/** 
    * helper classes 
    */
.img-responsive {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}

.img-responsive img {
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%
}

.thick-text {
	font-weight: 900;
}

.discount-banner {
    /*background: url('//images.goodsam.com/goodsamtravelassist/banners/2019-scary-good-savings/ta-discount-bg.gif');*/
    background-color: white;
    color: black;
    text-decoration: none;
    padding: 14px;
    font-size: .9em;
    letter-spacing: 1px;
}

.hero-icon {
    height: 45px;
}

.homepage-plan-icon {
    height:105px;
}

.red-black-header span:first-child {
    color: black;
}

.black-header { color: black; }

.hero-desktop
{
    width:100%;
}

/** 
    * popup 
    */
.popHeadline {
    text-align: center;
    font-size: 20px;
    padding: 10px;
}

.popDiv {
    display: block; 
    margin: auto; 
    text-align: center; 
    background-color: #CD0000;
    padding-top: 10px;
}

.popupPerm {
    color: #fff;
    padding-bottom: 10px;
    width: 90%;
    margin: auto;
    text-align: left; 
}

.popupPerm input[type="checkbox"] {
    margin: 0 5px;
}
            
.popupPerm a {
    color: #fff;
    font-weight: bold;
}

#affiliateBox {
    font-size: 11px;
    width: 100%;
    margin: auto;
    display: none;
}

/** 
    * services box 
    */
.services {
    margin: 0;
    padding: 0;
    /*background: url('//images.goodsam.com/goodsamtravelassist/banners/2020-pres-day/ta-2020-pres-day-benefits-bg.png');*/
    color: black;
}
.services .row {
    margin-top: 15px;
    margin-bottom: 15px;
}
.services .row .span6 {
    padding-left: 25px;
    font-size: 12px;
}
.services .row .span6:after {
    content: " ";
    display: block;
    clear: both;
}
.services .row .span6:first-child {
    padding-left: 70px;
}
.services .row .span6:last-child {
    padding-right: 70px;
}
.services .row .span6 img {
    float: left;
    margin-right: 25px;
}
.services .row .span6 h4 {
    margin: 0 0 0 70px;
    font-size: 16px;
}
.services .row .span6 h4.no-subtitle {
    position: relative;
    top: 10px;
}
.services .row .span6 h4 small {
    font-size: 12px;
    color: white;
    line-height: 20px;
    display: block;
}

/*
    plan cards
*/
.plan-card-container {
    display: -ms-grid;
    display: grid;
    grid-gap: 30px 30px;
    margin-bottom: 30px;
}

@media (min-width: 1200px){
    .plan-card-container {
        -ms-grid-columns: 1fr (30px 1fr)[3];
        grid-template-columns: repeat(4, 1fr);
    }
    .plan-card:nth-child(1) {
        -ms-grid-column: 1;
        -ms-grid-row: 1;
    }
    .plan-card:nth-child(2) {
        -ms-grid-column: 3;
        -ms-grid-row: 1;
    }
    .plan-card:nth-child(3) {
        -ms-grid-column: 5;
        -ms-grid-row: 1;
    }
    .plan-card:nth-child(4) {
        -ms-grid-column: 7;
        -ms-grid-row: 1;
    }
}
@media (min-width: 620px) and (max-width: 1199px){
    .plan-card-container {
        -ms-grid-columns: 1fr 30px 1fr;
        grid-template-columns: repeat(2, 1fr);
        -ms-grid-rows: 1fr 30px 1fr;
    }
    .plan-card:nth-child(1) {
        -ms-grid-column: 1;
        -ms-grid-row: 1;
    }
    .plan-card:nth-child(2) {
        -ms-grid-column: 3;
        -ms-grid-row: 1;
    }
    .plan-card:nth-child(3) {
        -ms-grid-column: 1;
        -ms-grid-row: 3;
    }
    .plan-card:nth-child(4) {
        -ms-grid-column: 3;
        -ms-grid-row: 3;
    }
}

@media (max-width: 619px){
    .plan-card-container {
        -ms-grid-columns: 1fr;
        -ms-grid-rows: 1fr (30px 1fr)[3];
    }
    .plan-card:nth-child(1) {
        -ms-grid-column: 1;
        -ms-grid-row: 1;
    }
    .plan-card:nth-child(2) {
        -ms-grid-column: 1;
        -ms-grid-row: 3;
    }
    .plan-card:nth-child(3) {
        -ms-grid-column: 1;
        -ms-grid-row: 5;
    }
    .plan-card:nth-child(4) {
        -ms-grid-column: 1;
        -ms-grid-row: 7;
    }
}

.plan-card {
    background-color: #EEE;
    padding: 20px;
    margin: 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: 100%;
    border-radius:10px;
}

.plan-card-top {
    position: relative;
    /*padding-bottom: 30px;*/
}

.plan-card-top .price-circle {
    position: absolute;
    top: 0;
    right: 0;
    font-family: Montserrat;
}

.plan-card-top svg {
    margin-top: 50px;
}

.plan-card a.enroll-now-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #06466A;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.plan-card a.enroll-now-btn:hover,
.plan-card a.enroll-now-btn:active,
.plan-card a.enroll-now-btn:visited {
    color: #fff;
    text-decoration: none;
}

.plan-card .compare-plans-link {
    color: #CD0000;
    text-decoration: underline;
}

.plan-card > img {
    position: absolute; 
    top: -5px; 
    left: -5px;
}

.reg-price {
    line-height: 1; 
    margin-bottom: 20px;
}
.reg-price > div:first-child {
    font-size: .7em;
}
.reg-price > div:nth-child(2) {
    position: relative;
    display: flex;
    justify-content: center;
}
.reg-price > div:nth-child(2) > img {
    position: absolute;
    top: calc(50% - 3px);
    left: calc(50% - 31px);
    transform: rotate(-20deg);
}
.reg-price-symbol {
    margin-top: 4px;
}
.reg-price-dollars {
    font-size: 2.4em;
}
.reg-price-right {
    display: flex;
    align-content: flex-end;
    flex-direction: column;
}
.reg-price-dollars {
    font-size: 2.4em;
}
.reg-price-cents {
    margin-top: 3px;
}


/** 
    * price circles
    */
.price-circle {
    align-content: center;
    align-items: center;
    background: url('//images.goodsam.com/goodsamtravelassist/banners/fall-2019/ta-price-circle-bg.gif');
    border-radius: 50%;
    color: #FFF;
    display: flex;
    flex-direction: column;
    height: 95px;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 95px;
    font-size: 1.2em;
    line-height: 1;
}

.price-circle > div:first-child > div:nth-child(2) {
    font-size: 1.2em;
}

.price-circle .big-price {
    display: flex;
    font-weight: bold;
    letter-spacing: 1px;
}

.price-circle-dollars {
    font-size: 2em;
}

.price-circle-symbol {
    line-height: 1.5em;
}

.price-circle-cents {
    line-height: 1.2em;
}

.slashed-price {
  position: relative;
}
.slashed-price:before {
  border-top: 2px solid;
  border-color: #000;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;

  -webkit-transform:rotate(-10deg);
  -moz-transform:rotate(-10deg);
  -ms-transform:rotate(-10deg);
  -o-transform:rotate(-10deg);
  transform:rotate(-10deg);
}

.save-amount {
    font-size: .9em;
    font-weight: 600;
}

.pkg-code-txt {
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: #cd0000;
    margin-bottom: 20px;
}

.pad-top-10{
    padding-top:10px;
}

.pad-top-25 {
    padding-top: 25px;
}

.fifty-off {
    color: #C30B25 !important;
    font-size:1.2em;
    font-weight:bold;
    margin-top:20px;
}

@media (max-width: 768px) and (min-width: 979px) {
    .plan-btm-box {
        margin-top:0px;
    }
}
/**
    * countdown timer
    */

#countdown img {
    border-top: 4px solid #F0C100;
}

#counterPos {
    position: absolute;
    right: 3.5%;
    top: -5px;
    width: 23.5%;
    height: 94%;
}

#counterPos .defaultCountdown {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#counterPos .defaultCountdown div {
    color: white !important;
    font-family: "Calibri",Arial,sans-serif;
    font-size: 1.8vw;
    font-weight: 700;
    text-align: center;
    width: 17.4%;
}

@media screen and (max-width: 767px) {
    #counterPos {
        position: absolute;
        right: 3.5%;
        width: 23.4%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .plan-box div.bg-grey {
        height: 570px;
    }
}

@media screen and (min-width: 992px){
	#counterPos .defaultCountdown div { font-size: 28px; }
}
@media screen and (min-width: 1200px) {
	#counterPos .defaultCountdown div { font-size: 36px; }
}
@media screen and (max-width: 550px) {
	#counterPos .defaultCountdown div { font-size: 10px; }

	.discount-banner {
		padding: 8px;
		letter-spacing: 0;
	}
}
@media screen and (max-width: 400px) {
	.discount-banner {
		font-size: .8em;
		padding: 4px;
	}
}
.display-none {
    display:none;
}

/* bootstrap tablet-portrait size */
@media (max-width: 767px) {
    .services .row .span6:first-child {
        margin-bottom: 15px;
        padding-left: 25px;
        padding-right: 25px;
    }
    .services .row .span6 h4 {
        font-size: 14px;
    }
    .hero {
        display:none;
    }
    .hero-mobile {
        display:block;
    }
    .services .row .span6:last-child {
        padding-right: 25px;
    }
    .plan-box-container.row {
        margin-bottom: 0;
    }
    .plan-box {
        margin: 25px 0;
        padding-bottom: 15px;
        min-height: 0;
    }
    .plan-box .plan-btm-box { 
        position: relative; 
        top: 0;
        left: 0;
    }
}
@media (max-width: 768px) {
    .side-padding {
        padding: 0 10px;
    }
    .plan-box div.bg-grey {
        height: auto;
    }
}
@media (max-width: 739px) {
        /* Disable newsletter signup signup in mobile */
    .ModalPopupBG {
        display:none;
    }
    #emailPopup {
        display:none;
    }
}
        
@media (max-width: 519px) and (min-width: 480px) {
    nav ul {
        margin-left: 0px !important;
    }
}

.bg-red {
    background-color: #a52d32!important;
    color: white;
    text-decoration: none;
}

.bg-red:hover, .bg-red:visited {
    color: white;
    text-decoration:none;
}
.text-red {
    color: #c30b25;
}

@media (min-width: 1224px)
{
    .mlb-btn
    {
        padding:10px 70px;
    }
}

@media (max-width: 1223px) and (min-width: 960px)
{

    .mlb-btn
    {
        padding: 10px 20px;
    }
}

@media (max-width: 959px) {
    .mlb-btn
    {
        padding:10px 20px;
    }
}

@media (max-width: 979px) {
    .plan-box .plan-btm-box
    {
        bottom: 0px;
    }
    .best-coverage {
        line-height: 1.2;
    }
}