/* ESTILOS PERSONALIZADOS */

.banner1 {
    margin-top: 50px;
    border-radius: 20px;
}

.banner2 {
    margin-top: 10px;
    border-radius: 20px;
}  

@media(min-width:768px) {

    .banner1 {
        margin-top: 150px;
        border-radius: 20px;
    }

    .banner2 {
        margin-top: 150px;
        border-radius: 20px;
    }   

}

.tax-box {
    border: solid 2px black;
    border-radius: 5px;
    background-color: white;
    padding: 1px;
    color: black;
    font-size: 14px;
    margin: 5px;
}

.tax-file {
    background-color: transparent;
    padding: 1px;
    color: black;
    font-size: 14px;
    margin: 5px;
}

.modal { overflow: auto !important; }

/*
.modal-open {
    overflow: hidden !important;
}
*/


/*Estilos de las ventanas modales de Servicios*/

.services .modal-body {
    height: auto;
    min-height: 550px;
}

.services .description {
    background-color: rgba(0,0,0,.9);
    border-radius: 5px;
    margin-top: 10px;
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    max-height: 500px;
    overflow: auto;
}

.services .description p {
    font-size: 18px;
}

/*  Estilos de la ventana modal para el reporte de pagos */

.companies .modal-dialog {
    width: auto;
    max-width: 75%;
    min-width: 450px;

    -webkit-animation-duration: .5s;
    -webkit-animation-delay: 0s;
    -moz-animation-duration: .5s;
    -moz-animation-delay: 0s;    
}

.payments .modal-dialog {
    width: auto;
    max-width: 96%;
    min-width: 450px;

    -webkit-animation-duration: .5s;
    -webkit-animation-delay: 0s;
    -moz-animation-duration: .5s;
    -moz-animation-delay: 0s;    
}

.services .modal-dialog {
    width: auto;
    max-width: 1200px;
    min-width: 450px;

    -webkit-animation-duration: .5s;
    -webkit-animation-delay: 0s;
    -moz-animation-duration: .5s;
    -moz-animation-delay: 0s;
}

.invoices .modal-dialog {
    min-width: 450px;

    -webkit-animation-duration: .5s;
    -webkit-animation-delay: 0s;
    -moz-animation-duration: .5s;
    -moz-animation-delay: 0s;
}

.bootbox .modal-dialog {
    min-width: 450px;

    -webkit-animation-duration: .5s;
    -webkit-animation-delay: 0s;
    -moz-animation-duration: .5s;
    -moz-animation-delay: 0s;    
}

.bootbox .modal-header {
    background-color: #0d47a1; /* DARK BLUE */
    color: #fff;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;  
}

.bootbox .modal-body {
    background-color: #ddd; /* GRAY */
    color: #000;
}

.bootbox .modal-footer {
    background-color: #0d47a1; /* DARK BLUE */
    color: #fff;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

/* VENTANAS MODALES CENTRADAS */

    .modal-center .modal-header {
        background-color: #0d47a1; /* DARK BLUE */
        color: #fff;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }

	.modal-center .modal-body {
		background-color: #ddd; /* GRAY */
		color: #fff;
	}

	.modal-center .modal-footer {
		background-color: #0d47a1; /* DARK BLUE */
		color: #fff;
	    border-bottom-right-radius: 5px;
	    border-bottom-left-radius: 5px;	
	}

/* VENTANAS MODALES LADO DERECHO E IZQUIERDO */

/*******************************
* MODAL AS LEFT/RIGHT SIDEBAR
* Add "left" or "right" in modal parent div, after class="modal".
* Get free snippets on bootpen.com
*******************************/

	.modal.left .modal-dialog,
    .modal.right .modal-dialog {
        position: fixed;
        margin: auto;
        width: 320px;
        height: auto;
        overflow-y: scroll;
        -webkit-transform: translate3d(0%, 0, 0);
            -ms-transform: translate3d(0%, 0, 0);
             -o-transform: translate3d(0%, 0, 0);
                transform: translate3d(0%, 0, 0);
    }

    .modal.left .modal-content,
    .modal.right .modal-content {
        background-color: rgba(255,255,255,0);
        margin-top: 25%;
        height: auto;
        overflow-y: auto;
    }

    .modal.left .modal-body,
    .modal.right .modal-body {
        padding-top: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        padding-left: 15px;
        border-bottom-color: #EEEEEE;
        background-color: #0d47a1;
        height: 60%;        
    }

    .modal.left .modal-header,
    .modal.right .modal-header {
        background-color: #0d47a1; /* DARK BLUE */
        color: #fff;
        padding-right: 30px;
        border-bottom-color: #EEEEEE;
        height: 20%;
    }

    .modal.left .modal-footer,
    .modal.right .modal-footer {
        border-bottom-color: #EEEEEE;
        background-color: #0d47a1;
        height: 15%;
    }         

/*Left*/
    .modal.left.fade .modal-dialog{
        position: absolute;
        overflow: auto;        
        left: -320px;
        -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
           -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
             -o-transition: opacity 0.3s linear, left 0.3s ease-out;
                transition: opacity 0.3s linear, left 0.3s ease-out;
    }

	.modal.left .modal-content {
		border-top-left-radius: 0px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 20px;
	}

    .modal.left .modal-header {
    	border-top-left-radius: 0px;
        border-top-right-radius: 20px;
    }

    .modal.left .modal-footer {
    	border-top-left-radius: 0px;
        border-top-right-radius: 20px;
    }    	    
    
    .modal.left.fade.in .modal-dialog{
        left: 0;
    }
        
/*Right*/
    .modal.right.fade .modal-dialog {
        position: absolute;
        overflow: auto;
        right: -320px;
        -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
           -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
             -o-transition: opacity 0.3s linear, right 0.3s ease-out;
                transition: opacity 0.3s linear, right 0.3s ease-out;
    }

	.modal.right .modal-content {
		border-top-left-radius: 20px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 0px;
	}

    .modal.right .modal-header {
    	border-top-left-radius: 20px;
        border-top-right-radius: 0px;
    }

    .modal.right .modal-footer {
    	border-top-left-radius: 20px;
        border-top-right-radius: 0px;
    }    	     
    
    .modal.right.fade.in .modal-dialog {
        right: 0;
    }

/*********************************************************************************/



.about-section p {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.5;
}

@media(min-width:768px) {
    .about-section p {
        margin: 0 0 35px;
        font-size: 20px;
        line-height: 1.6;
    }
}