/*

 Theme Name:     Divi Child Theme

 Theme URI:      http://www.elegantthemes.com

 Description:    Child Theme for Divi Theme by Elegant Themes

 Author:         Divi.world

 Author URI:     http://divi.world

 Template:       Divi

 Version:        1.0.0

*/

:root {
  --font-logo: "Times New Roman", Times, serif;
	--font-std: "Lato", sans-serif;
	--font-text: "Lato", sans-serif;

	--font-sz-base: 12pt;
	--font-sz-base-mobile: 9pt;
	
	--font-sz-p: var(--font-sz-base);
  --font-sz-p-mobile: var(--font-sz-base-mobile);
	
	--font-sz-h1-mobile: calc(2*var(--font-sz-base-mobile));
	--font-sz-h2-mobile: calc(1.6*var(--font-sz-base-mobile));
	--font-sz-h3-mobile: calc(1.4*var(--font-sz-base-mobile));
	--font-sz-h4-mobile: calc(1.2*var(--font-sz-base-mobile));
	--font-sz-h5-mobile: calc(1.1*var(--font-sz-base-mobile));
	
	--font-sz-h1: calc(2*var(--font-sz-base));
	--font-sz-h2: calc(1.6*var(--font-sz-base));
	--font-sz-h3: calc(1.4*var(--font-sz-base));
	--font-sz-h4: calc(1.2*var(--font-sz-base));
	--font-sz-h5: calc(1.1*var(--font-sz-base));
	
	--font-wgt-bold: 700;
	--font-wgt-semi-bold: 500;
	--font-wgt-reg: 400;
	
	--col-white: #f0f0f0;
	--col-black: #202020;

  --col-main: #1f2a44; 
  --col-main-dark: #060E21;
  --col-bg: #F3F3F3;
  --col-highlight: #3C7A89;
  --col-highlight-2:#64E9EE;
  --col-hl-3:#D9C794;
	
	--gold-mean-1: 1.618;
	--gold-mean-2: calc(1.618*1.618);
	--gold-mean-3: calc(1.618*1.618*1.618);

  --std-radius: 2px;

  --std-transition: all .25s ease-in-out;;
}

/************************************************************************************************************************/
/*Reset*/

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    font-size: var(--font-sz-base);
		font-family: var(--font-text);
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4, h5,
button, input, label {
  line-height: 1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/*DIVI Reset*/
h1,h2,h3,h4,h5,h6,p,li,ul,ol,a {
	padding: 0;
	margin: 0;
}

/*******************************************************************************************************/
/*END RESET*/

/*Helper Classes*/
.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
  
  .stop-scrolling {
    height: 100%;
    overflow: hidden;
  }

/*Text*/
h1 {
	font-size: var(--font-sz-h1);
}

h2 {
	font-size: var(--font-sz-h2);
}

h3 {
	font-size: var(--font-sz-h3);
}

h4 {
	font-size: var(--font-sz-h4);
}

h5 {
	font-size: var(--font-sz-h5);
}

p,a,li,ul,ol {
	font-size: var(--font-sz-base);
}

h1, h2, h3, h4, h5, h6, p, a, tr, td, th, ul, li {
	color: var(--col-black);
	font-family: var(--font-text);
}

h1, .et_pb_text_inner h1 {
	font-size: var(--font-sz-h1);
	font-weight: var(--font-wgt-bold);
}

h2, .et_pb_text_inner h2{
	font-size: var(--font-sz-h2);
	font-weight: var(--font-wgt-bold);
}


h3, .et_pb_text_inner h3 {
	font-size: var(--font-sz-h3);
	font-weight: var(--font-wgt-reg);
}

h4, .et_pb_text_inner h4 {
	font-size: var(--font-sz-h4);
	font-weight: var(--font-wgt-reg);
}

h5, .et_pb_text_inner h5 {
	font-size: var(--font-sz-h5);
	font-weight: var(--font-wgt-reg);
}

p, a, .et_pb_text_inner p, .et_pb_text_inner a, tr, td, th, ul, li {
	font-size: var(--font-sz-p);
	font-weight: var(--font-wgt-reg);
}

th {
	font-weight: var(--font-wgt-bold) !important;
}

a {
	text-decoration: none !important;
}
.et_pb_text_inner ol {
	padding-bottom: 0;
}

@media all and (max-width: 980px) {
    h1, .et_pb_text_inner h1 {
        font-size: var(--font-sz-h1-mobile);
    }

    h2, .et_pb_text_inner h2{
        font-size: var(--font-sz-h2-mobile);
    }

    h3, .et_pb_text_inner h3 {
        font-size: var(--font-sz-h3-mobile);
    }

    h4, .et_pb_text_inner h4 {
        font-size: var(--font-sz-h4-mobile);
    }

    h5, .et_pb_text_inner h5 {
        font-size: var(--font-sz-h5-mobile);
    }
}

@media all and (max-width: 480px) {
  p, a, .et_pb_text_inner p, .et_pb_text_inner a, ul, li {
        font-size: var(--font-sz-p-mobile);
    }
}

/*Text Colors*/
.text-white p, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white ul, .text-white li, .text-white a {
	color: var(--col-white) !important;
}

.text-black p, .text-black h1, .text-black h2, .text-black h3, .text-black h4, .text-black h5, .text-black ul, .text-black li, .text-black a {
	color: var(--col-black) !important;
}
/*END Text*/