.alert {
	color: #ff0000;
}

.container {
	position: relative;
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 10px;
	box-sizing: border-box;
}

div.gestcal-grid, div.gestcal-grid-duration {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	grid-auto-rows: 1fr;
	column-gap: 4%;
	row-gap: 55px;
	justify-items: stretch;
	justify-content: space-around;
	max-width: inherit;
}

div.gestcal-grid-duration {
	grid-template-columns: repeat(4, 1fr);
}
	
div.gestcal-grid div.row-inline {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px 20px;
    padding: 0;
}

div.gestcal-grid .column, div.gestcal-grid .columns {
	height: 100%;
} 

div.gestcal-grid .view {
    height: 100%;
}
    
div.gestcal-small-12, div.gestcal-medium-12, div.gestcal-large-12 {
    width: 100%;   
}

div.gestcal-small-11, div.gestcal-medium-11, div.gestcal-large-11 {
    width: calc(91.666% - 20px);   
}

div.gestcal-small-10, div.gestcal-medium-10, div.gestcal-large-10 {
    width: calc(83.333% - 20px);
}

div.gestcal-small-9, div.gestcal-medium-9, div.gestcal-large-9 {
    width: calc(75% - 20px);
}

div.gestcal-small-8, div.gestcal-medium-8, div.gestcal-large-8 {
    width: calc(66.666% - 20px);   
}

div.gestcal-small-7, div.gestcal-medium-7, div.gestcal-large-7 {
    width: calc(58.333% - 20px);
}

div.gestcal-small-6, div.gestcal-medium-6, div.gestcal-large-6 {
    width: calc(50% - 20px);
}

div.gestcal-small-5, div.gestcal-medium-5, div.gestcal-large-5 {
    width: calc(41.666% - 20px);
}

div.gestcal-small-4, div.gestcal-medium-4, div.gestcal-large-4 {
    width: calc(33.333% - 20px);
}

div.gestcal-small-3, div.gestcal-medium-3, div.gestcal-large-3 {
    width: calc(25% - 20px);
}

div.gestcal-small-2, div.gestcal-medium-2, div.gestcal-large-2 {
    width: calc(16.666% - 20px);
}

div.gestcal-small-1, div.gestcal-medium-1, div.gestcal-large-1 {
    width: calc(8.333% - 20px);
}

div.gestcal-grid table.box {
	height: 100%;
}

div.gestcal-grid table.box td {
    font-size: 110%;
}

div.gestcal-grid table.box h2 {
	padding: 0;
	margin: 0;
	color: #fff;
}

div.gestcal-grid table.box td.box_description {
    padding: 25px;
    height: max-content;
}

div.gestcal-grid table.box td.price {
    font-size: 150%;
}

div.gestcal-grid table.box td.color_button {
	font-size: 130%;
	text-transform: uppercase;
} 

div.gestcal-grid th, td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #e1e1e1;
}

div.gestcal-grid thead tr th {
	font-weight: bold;
	font-size: 200%;
}

div.gestcal-grid .column, div.gestcal-grid .columns,
div.gestcal-grid-duration .column, div.gestcal-grid-duration .columns {
    margin-left: 0;
}
  
@media only screen and (max-width: 1023px) {
	div.gestcal-grid, div.gestcal-grid-duration {
        grid-template-columns: repeat(2, 1fr);   
	}
    .show-medium {
       display: block !important;
    }
    .hide-medium {
        display: none !important;
    }
        
    div.gestcal-medium-12 {
        width: 100%;   
    }

    div.gestcal-medium-11 {
        width: calc(91.666% - 20px);   
    }

    div.gestcal-medium-10 {
        width: calc(83.333% - 20px);
    }

    div.gestcal-medium-9 {
        width: calc(75% - 20px);
    }

    div.gestcal-medium-8 {
        width: calc(66.666% - 20px);   
    }

    div.gestcal-medium-7 {
        width: calc(58.333% - 20px);
    }

    div.gestcal-medium-6 {
        width: calc(50% - 20px);
    }

    div.gestcal-medium-5 {
        width: calc(41.666% - 20px);
    }

    div.gestcal-medium-4 {
        width: calc(33.333% - 20px);
    }

    div.gestcal-medium-3 {
        width: calc(25% - 20px);
    }

    div.gestcal-medium-2 {
        width: calc(16.666% - 20px);
    }

    div.gestcal-medium-1 {
        width: calc(8.333% - 20px);
    }

}
@media only screen and (max-width: 759px) {
	
    .show-small {
       display: block !important;
    }
    
    .hide-small {
        display: none !important;
    }
    
    div.gestcal-grid div.row {
        flex-direction: column;
        gap: 0;
    }

    div.gestcal-medium-1, div.gestcal-medium-2, div.gestcal-medium-3, div.gestcal-medium-4, div.gestcal-medium-5, div.gestcal-medium-6, div.gestcal-medium-7, div.gestcal-medium-8, div.gestcal-medium-9, div.gestcal-medium-10, div.gestcal-medium-11, div.gestcal-medium-12 {
        width: 100%;
        margin-bottom: 45px;
    }
        
    div.gestcal-small-12 {
        width: 100%;   
    }

    div.gestcal-small-11 {
        width: calc(91.666% - 20px);   
    }

    div.gestcal-small-10 {
        width: calc(83.333% - 20px);
    }

    div.gestcal-small-9 {
        width: calc(75% - 20px);
    }

    div.gestcal-small-8 {
        width: calc(66.666% - 20px);   
    }

    div.gestcal-small-7 {
        width: calc(58.333% - 20px);
    }

    div.gestcal-small-6 {
        width: calc(50% - 20px);
    }

    div.gestcal-small-5 {
        width: calc(41.666% - 20px);
    }

    div.gestcal-small-4 {
        width: calc(33.333% - 20px);
    }

    div.gestcal-small-3 {
        width: calc(25% - 20px);
    }

    div.gestcal-small-2 {
        width: calc(16.666% - 20px);
    }

    div.gestcal-small-1 {
        width: calc(8.333% - 20px);
    }

    div.gestcal-grid .nomargin {
        margin-bottom: 0 !important;
    }

}

@media only screen and (max-width: 469px) {
	div.gestcal-grid, div.gestcal-grid-duration {
        grid-template-columns: repeat(1, 1fr);   
    }
    .show-narrow {
       display: block !important;
    }
    .hide-narrow {
        display: none !important;
    }

}
